text: function onDeviceReady(){navigator.splashscreen.hide()}function back(){mainCtrl.back()}function getTimeString(e){var t=e,n=t/60|0,r=t%60|0;return n=10>n?"0"+n:n,r=10>r?"0"+r:r,n+":"+r}!function(e,t,n){"use strict";function r(e,t){return t=t||Error,function(){var n,r,i=2,o=arguments,s=o[0],a="["+(e?e+":":"")+s+"] ",u=o[1];for(a+=u.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1),n=t+i;return n<o.length?yt(o[n]):e}),a+="\nhttp://errors.angularjs.org/1.5.3/"+(e?e+"/":"")+s,r=i,n="?";r<o.length;r++,n="&")a+=n+"p"+(r-i)+"="+encodeURIComponent(yt(o[r]));return new t(a)}}function i(e){if(null==e||k(e))return!1;if(_i(e)||q(e)||Di&&e instanceof Di)return!0;var t="length"in Object(e)&&e.length;return x(t)&&(t>=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function o(e,t,n){var r,s;if(e)if(E(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(_i(e)||i(e)){var a="object"!=typeof e;for(r=0,s=e.length;s>r;r++)(a||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else if(C(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)Ti.call(e,r)&&t.call(n,e[r],r,e);return e}function s(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function a(e){return function(t,n){e(n,t)}}function u(){return++Qi}function l(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function c(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;o>i;++i){var s=t[i];if(b(s)||E(s))for(var a=Object.keys(s),u=0,d=a.length;d>u;u++){var h=a[u],f=s[h];n&&b(f)?A(f)?e[h]=new Date(f.valueOf()):S(f)?e[h]=new RegExp(f):f.nodeName?e[h]=f.cloneNode(!0):V(f)?e[h]=f.clone():(b(e[h])||(e[h]=_i(f)?[]:{}),c(e[h],[f],!0)):e[h]=f}}return l(e,r),e}function d(e){return c(e,Pi.call(arguments,1),!1)}function h(e){return c(e,Pi.call(arguments,1),!0)}function f(e){return parseInt(e,10)}function p(e,t){return d(Object.create(e),t)}function m(){}function g(e){return e}function v(e){return function(){return e}}function $(e){return E(e.toString)&&e.toString!==ji}function w(e){return"undefined"==typeof e}function y(e){return"undefined"!=typeof e}function b(e){return null!==e&&"object"==typeof e}function C(e){return null!==e&&"object"==typeof e&&!Hi(e)}function q(e){return"string"==typeof e}function x(e){return"number"==typeof e}function A(e){return"[object Date]"===ji.call(e)}function E(e){return"function"==typeof e}function S(e){return"[object RegExp]"===ji.call(e)}function k(e){return e&&e.window===e}function T(e){return e&&e.$evalAsync&&e.$watch}function I(e){return"[object File]"===ji.call(e)}function N(e){return"[object FormData]"===ji.call(e)}function O(e){return"[object Blob]"===ji.call(e)}function M(e){return"boolean"==typeof e}function F(e){return e&&E(e.then)}function D(e){return e&&x(e.length)&&Gi.test(ji.call(e))}function L(e){return"[object ArrayBuffer]"===ji.call(e)}function V(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function R(e){return Ii(e.nodeName||e[0]&&e[0].nodeName)}function B(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function j(e,t){function r(e,t){var n,r=t.$$hashKey;if(_i(e))for(var o=0,s=e.length;s>o;o++)t.push(i(e[o]));else if(C(e))for(n in e)t[n]=i(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=i(e[n]));else for(n in e)Ti.call(e,n)&&(t[n]=i(e[n]));return l(t,r),t}function i(e){if(!b(e))return e;var t=a.indexOf(e);if(-1!==t)return u[t];if(k(e)||T(e))throw Ui("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var i=!1,o=s(e);return o===n&&(o=_i(e)?[]:Object.create(Hi(e)),i=!0),a.push(e),u.push(o),i?r(e,o):o}function s(e){switch(ji.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(i(e.buffer));case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}return E(e.cloneNode)?e.cloneNode(!0):void 0}var a=[],u=[];if(t){if(D(t)||L(t))throw Ui("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Ui("cpi","Can't copy! Source and destination are identical.");return _i(t)?t.length=0:o(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),a.push(e),u.push(t),r(e,t)}return i(e)}function H(e,t){if(_i(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(b(e)){t=t||{};for(var i in e)("$"!==i.charAt(0)||"$"!==i.charAt(1))&&(t[i]=e[i])}return t||e}function U(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,s=typeof t;if(o==s&&"object"==o){if(!_i(e)){if(A(e))return A(t)?U(e.getTime(),t.getTime()):!1;if(S(e))return S(t)?e.toString()==t.toString():!1;if(T(e)||T(t)||k(e)||k(t)||_i(t)||A(t)||S(t))return!1;i=vt();for(r in e)if("$"!==r.charAt(0)&&!E(e[r])){if(!U(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&y(t[r])&&!E(t[r]))return!1;return!0}if(!_i(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!U(e[r],t[r]))return!1;return!0}}return!1}function X(e,t,n){return e.concat(Pi.call(t,n))}function Q(e,t){return Pi.call(e,t||0)}function _(e,t){var n=arguments.length>2?Q(arguments,2):[];return!E(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,X(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function G(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=n:k(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":T(r)&&(i="$SCOPE"),i}function W(e,t){return w(e)?n:(x(t)||(t=t?2:null),JSON.stringify(e,G,t))}function Y(e){return q(e)?JSON.parse(e):e}function J(e,t){e=e.replace(zi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function z(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=J(t,r);return Z(e,n*(i-r))}function K(e){e=Di(e).clone();try{e.empty()}catch(t){}var n=Di("<div>").append(e).html();try{return e[0].nodeType===io?Ii(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Ii(t)})}catch(t){return Ii(n)}}function et(e){try{return decodeURIComponent(e)}catch(t){}}function tt(e){var t={};return o((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=et(r),y(r)&&(i=y(i)?et(i):!0,Ti.call(t,r)?_i(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function nt(e){var t=[];return o(e,function(e,n){_i(e)?o(e,function(e){t.push(it(n,!0)+(e===!0?"":"="+it(e,!0)))}):t.push(it(n,!0)+(e===!0?"":"="+it(e,!0)))}),t.length?t.join("&"):""}function rt(e){return it(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function it(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function ot(e,t){var n,r,i=Ki.length;for(r=0;i>r;++r)if(n=Ki[r]+t,q(n=e.getAttribute(n)))return n;return null}function st(e,t){var n,r,i={};o(Ki,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),o(Ki,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(i.strictDi=null!==ot(n,"strict-di"),t(n,r?[r]:[],i))}function at(n,r,i){b(i)||(i={});var s={strictDi:!1};i=d(s,i);var a=function(){if(n=Di(n),n.injector()){var e=n[0]===t?"document":K(n);throw Ui("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(/</,"&lt;").replace(/>/,"&gt;"))}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var o=on(r,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},u=/^NG_ENABLE_DEBUG_INFO!/,l=/^NG_DEFER_BOOTSTRAP!/;return e&&u.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(u,"")),e&&!l.test(e.name)?a():(e.name=e.name.replace(l,""),Xi.resumeBootstrap=function(e){return o(e,function(e){r.push(e)}),a()},E(Xi.resumeDeferredBootstrap)&&Xi.resumeDeferredBootstrap(),void 0)}function ut(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function lt(e){var t=Xi.element(e).injector();if(!t)throw Ui("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ct(e,t){return t=t||"_",e.replace(eo,function(e,n){return(n?t:"")+e.toLowerCase()})}function dt(){var t;if(!to){var r=Zi();Li=w(r)?e.jQuery:r?e[r]:n,Li&&Li.fn.on?(Di=Li,d(Li.fn,{scope:xo.scope,isolateScope:xo.isolateScope,controller:xo.controller,injector:xo.injector,inheritedData:xo.inheritedData}),t=Li.cleanData,Li.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Li._data(r,"events"),n&&n.$destroy&&Li(r).triggerHandler("$destroy");t(e)}):Di=Nt,Xi.element=Di,to=!0}}function ht(e,t,n){if(!e)throw Ui("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ft(e,t,n){return n&&_i(e)&&(e=e[e.length-1]),ht(E(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function pt(e,t){if("hasOwnProperty"===e)throw Ui("badname","hasOwnProperty is not a valid {0} name",t)}function mt(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,s=i.length,a=0;s>a;a++)r=i[a],e&&(e=(o=e)[r]);return!n&&E(e)?_(o,e):e}function gt(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Di(Pi.call(e,0,i))),t.push(n));return t||e}function vt(){return Object.create(null)}function $t(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||r,t(o,"module",function(){var e={};return function(r,o,s){var a=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return a(r,"module"),o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function t(e,t){return function(n,o){return o&&E(o)&&(o.$$moduleName=r),i.push([e,t,arguments]),c}}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 i=[],a=[],u=[],l=e("$injector","invoke","push",a),c={_invokeQueue:i,_configBlocks:a,_runBlocks:u,requires:o,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),component:t("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return s&&l(s),c})}})}function wt(e){var t=[];return JSON.stringify(e,function(e,n){if(n=G(e,n),b(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function yt(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):w(e)?"undefined":"string"!=typeof e?wt(e):e}function bt(t){d(t,{bootstrap:at,copy:j,extend:d,merge:h,equals:U,element:Di,forEach:o,injector:on,noop:m,bind:_,toJson:W,fromJson:Y,identity:g,isUndefined:w,isDefined:y,isString:q,isFunction:E,isObject:b,isNumber:x,isElement:V,isArray:_i,version:uo,isDate:A,lowercase:Ii,uppercase:Ni,callbacks:{counter:0},getTestability:lt,$$minErr:r,$$csp:Ji,reloadWithDebugInfo:ut}),Vi=$t(e),Vi("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:qr}),e.provider("$compile",mn).directive({a:Is,input:Ys,textarea:Ys,form:Ds,script:Xa,select:Ga,style:Ya,option:Wa,ngBind:zs,ngBindHtml:ea,ngBindTemplate:Ks,ngClass:na,ngClassEven:ia,ngClassOdd:ra,ngCloak:oa,ngController:sa,ngForm:Ls,ngHide:Va,ngIf:la,ngInclude:ca,ngInit:ha,ngNonBindable:ka,ngPluralize:Oa,ngRepeat:Ma,ngShow:La,ngStyle:Pa,ngSwitch:Ra,ngSwitchWhen:Ba,ngSwitchDefault:ja,ngOptions:Na,ngTransclude:Ua,ngModel:Aa,ngList:fa,ngChange:ta,pattern:Za,ngPattern:Za,required:Ja,ngRequired:Ja,minlength:Ka,ngMinlength:Ka,maxlength:za,ngMaxlength:za,ngValue:Zs,ngModelOptions:Sa}).directive({ngInclude:da}).directive(Ns).directive(aa),e.provider({$anchorScroll:sn,$animate:Bo,$animateCss:Uo,$$animateJs:Po,$$animateQueue:Ro,$$AnimateRunner:Ho,$$animateAsyncRun:jo,$browser:hn,$cacheFactory:fn,$controller:yn,$document:bn,$exceptionHandler:Cn,$filter:Vr,$$forceReflow:Wo,$interpolate:Ln,$interval:Vn,$http:On,$httpParamSerializer:xn,$httpParamSerializerJQLike:An,$httpBackend:Fn,$xhrFactory:Mn,$location:Zn,$log:zn,$parse:vr,$rootScope:Cr,$q:$r,$$q:wr,$sce:Sr,$sceDelegate:Er,$sniffer:kr,$templateCache:pn,$templateRequest:Tr,$$testability:Ir,$timeout:Nr,$window:Fr,$$rAF:br,$$jqLite:zt,$$HashMap:ko,$$cookieReader:Lr})}])}function Ct(){return++co}function qt(e){return e.replace(po,function(e,t,n,r){return r?n.toUpperCase():n}).replace(mo,"Moz$1")}function xt(e){return!wo.test(e)}function At(e){var t=e.nodeType;return t===no||!t||t===so}function Et(e){for(var t in lo[e.ng339])return!0;return!1}function St(e){for(var t=0,n=e.length;n>t;t++)Dt(e[t])}function kt(e,t){var n,r,i,s,a=t.createDocumentFragment(),u=[];if(xt(e))u.push(t.createTextNode(e));else{for(n=n||a.appendChild(t.createElement("div")),r=(yo.exec(e)||["",""])[1].toLowerCase(),i=Co[r]||Co._default,n.innerHTML=i[1]+e.replace(bo,"<$1></$2>")+i[2],s=i[0];s--;)n=n.lastChild;u=X(u,n.childNodes),n=a.firstChild,n.textContent=""}return a.textContent="",a.innerHTML="",o(u,function(e){a.appendChild(e)}),a}function Tt(e,n){n=n||t;var r;return(r=$o.exec(e))?[n.createElement(r[1])]:(r=kt(e,n))?r.childNodes:[]}function It(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Nt(e){if(e instanceof Nt)return e;var t;if(q(e)&&(e=Wi(e),t=!0),!(this instanceof Nt)){if(t&&"<"!=e.charAt(0))throw vo("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Nt(e)}t?jt(this,Tt(e)):jt(this,e)}function Ot(e){return e.cloneNode(!0)}function Mt(e,t){if(t||Dt(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Dt(n[r])}function Ft(e,t,n,r){if(y(r))throw vo("offargs","jqLite#off() does not support the `selector` argument");var i=Lt(e),s=i&&i.events,a=i&&i.handle;if(a)if(t){var u=function(t){var r=s[t];y(n)&&B(r||[],n),y(n)&&r&&r.length>0||(fo(e,t,a),delete s[t])};o(t.split(" "),function(e){u(e),go[e]&&u(go[e])})}else for(t in s)"$destroy"!==t&&fo(e,t,a),delete s[t]}function Dt(e,t){var r=e.ng339,i=r&&lo[r];if(i){if(t)return delete i.data[t],void 0;i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),Ft(e)),delete lo[r],e.ng339=n}}function Lt(e,t){var r=e.ng339,i=r&&lo[r];return t&&!i&&(e.ng339=r=Ct(),i=lo[r]={events:{},data:{},handle:n}),i}function Vt(e,t,n){if(At(e)){var r=y(n),i=!r&&t&&!b(t),o=!t,s=Lt(e,!i),a=s&&s.data;if(r)a[t]=n;else{if(o)return a;if(i)return a&&a[t];d(a,t)}}}function Pt(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Rt(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",Wi((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Wi(t)+" "," ")))})}function Bt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=Wi(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Wi(n))}}function jt(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ht(e,t){return Ut(e,"$"+(t||"ngController")+"Controller")}function Ut(e,t,n){e.nodeType==so&&(e=e.documentElement);for(var r=_i(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if(y(n=Di.data(e,r[i])))return n;e=e.parentNode||e.nodeType===ao&&e.host}}function Xt(e){for(Mt(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Qt(e,t){t||Mt(e);var n=e.parentNode;n&&n.removeChild(e)}function _t(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Di(n).on("load",t)}function Gt(e,t){var n=Ao[t.toLowerCase()];return n&&Eo[R(e)]&&n}function Wt(e){return So[e]}function Yt(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(w(n.immediatePropagationStopped)){var s=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),s&&s.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var a=i.specialHandlerWrapper||Jt;o>1&&(i=H(i));for(var u=0;o>u;u++)n.isImmediatePropagationStopped()||a(e,n,i[u])}};return n.elem=e,n}function Jt(e,t,n){n.call(e,t)}function Zt(e,t,n){var r=t.relatedTarget;(!r||r!==e&&!qo.call(e,r))&&n.call(e,t)}function zt(){this.$get=function(){return d(Nt,{hasClass:function(e,t){return e.attr&&(e=e[0]),Pt(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Bt(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Rt(e,t)}})}}function Kt(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||u)():r+":"+e}function en(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function tn(e){var t=e.toString().replace(Mo,""),n=t.match(To)||t.match(Io);return n}function nn(e){var t=tn(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function rn(e,t,n){var r,i,s;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw q(n)&&n||(n=e.name||nn(e)),Fo("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=tn(e),o(i[1].split(No),function(e){e.replace(Oo,function(e,t,n){r.push(n)})})}e.$inject=r}}else _i(e)?(s=e.length-1,ft(e[s],"fn"),r=e.slice(0,s)):ft(e,"fn",!0);return r}function on(e,t){function r(e){return function(t,n){return b(t)?(o(t,a(e)),void 0):e(t,n)}}function i(e,t){if(pt(e,"service"),(E(t)||_i(t))&&(t=x.instantiate(t)),!t.$get)throw Fo("pget","Provider '{0}' must define $get factory method.",e);return C[e+g]=t}function s(e,t){return function(){var n=k.invoke(t,this);if(w(n))throw Fo("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function u(e,t,n){return i(e,{$get:n!==!1?s(e,t):t})}function l(e,t){return u(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return u(e,v(t),!1)}function d(e,t){pt(e,"constant"),C[e]=t,A[e]=t}function h(e,t){var n=x.get(e+g),r=n.$get;n.$get=function(){var e=k.invoke(r,n);return k.invoke(t,null,{$delegate:e})}}function f(e){ht(w(e)||_i(e),"modulesToLoad","not an array");var t,n=[];return o(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=x.get(r[0]);i[r[1]].apply(i,r[2])}}if(!y.get(e)){y.put(e,!0);try{q(e)?(t=Vi(e),n=n.concat(f(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):E(e)?n.push(x.invoke(e)):_i(e)?n.push(x.invoke(e)):ft(e,"module")}catch(i){throw _i(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Fo("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function p(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===m)throw Fo("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=m,e[t]=n(t,r)}catch(i){throw e[t]===m&&delete e[t],i}finally{$.shift()}}function i(e,n,i){for(var o=[],s=on.$$annotate(e,t,i),a=0,u=s.length;u>a;a++){var l=s[a];if("string"!=typeof l)throw Fo("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){return 11>=Fi?!1:"function"==typeof e&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(e))}function s(e,t,n,r){"string"==typeof n&&(r=n,n=null);var s=i(e,n,r);return _i(e)&&(e=e[e.length-1]),o(e)?(s.unshift(null),new(Function.prototype.bind.apply(e,s))):e.apply(t,s)}function a(e,t,n){var r=_i(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:s,instantiate:a,get:r,annotate:on.$$annotate,has:function(t){return C.hasOwnProperty(t+g)||e.hasOwnProperty(t)}}}t=t===!0;var m={},g="Provider",$=[],y=new en([],!0),C={$provide:{provider:r(i),factory:r(u),service:r(l),value:r(c),constant:r(d),decorator:h}},x=C.$injector=p(C,function(e,t){throw Xi.isString(t)&&$.push(t),Fo("unpr","Unknown provider: {0}",$.join(" <- "))}),A={},S=p(A,function(e,t){var r=x.get(e+g,t);return k.invoke(r.$get,r,n,e)}),k=S;C["$injector"+g]={$get:v(S)};var T=f(e);return k=S.get("$injector"),k.strictDi=t,o(T,function(e){e&&k.invoke(e)}),k}function sn(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===R(e)?(t=e,!0):void 0}),t}function o(){var e=a.yOffset;if(E(e))e=e();else if(V(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else x(e)||(e=0);return e}function s(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function a(e){e=q(e)?e:n.hash();var t;e?(t=u.getElementById(e))?s(t):(t=i(u.getElementsByName(e)))?s(t):"top"===e&&s(null):s(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){(e!==t||""!==e)&&_t(function(){r.$evalAsync(a)})}),a}]}function an(e,t){return e||t?e?t?(_i(e)&&(e=e.join(" ")),_i(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function un(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Lo)return n}}function ln(e){q(e)&&(e=e.split(" "));var t=vt();return o(e,function(e){e.length&&(t[e]=!0)}),t}function cn(e){return b(e)?e:{}}function dn(e,t,n,r){function i(e){try{e.apply(null,Q(arguments,1))}finally{if(v--,0===v)for(;$.length;)try{$.pop()()}catch(t){n.error(t)}}}function s(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}function a(){x=null,u(),l()}function u(){y=A(),y=w(y)?null:y,U(y,k)&&(y=k),k=y}function l(){(C!==c.url()||b!==y)&&(C=c.url(),b=y,o(E,function(e){e(c.url(),y)}))}var c=this,d=e.location,h=e.history,f=e.setTimeout,p=e.clearTimeout,g={};c.isMock=!1;var v=0,$=[];c.$$completeOutstandingRequest=i,c.$$incOutstandingRequestCount=function(){v++},c.notifyWhenNoOutstandingRequests=function(e){0===v?e():$.push(e)};var y,b,C=d.href,q=t.find("base"),x=null,A=r.history?function(){try{return h.state}catch(e){}}:m;u(),b=y,c.url=function(t,n,i){if(w(i)&&(i=null),d!==e.location&&(d=e.location),h!==e.history&&(h=e.history),t){var o=b===i;if(C===t&&(!r.history||o))return c;var a=C&&Hn(C)===Hn(t);return C=t,b=i,!r.history||a&&o?((!a||x)&&(x=t),n?d.replace(t):a?d.hash=s(t):d.href=t,d.href!==t&&(x=t)):(h[n?"replaceState":"pushState"](i,"",t),u(),b=y),c}return x||d.href.replace(/%27/g,"'")},c.state=function(){return y};var E=[],S=!1,k=null;c.onUrlChange=function(t){return S||(r.history&&Di(e).on("popstate",a),Di(e).on("hashchange",a),S=!0),E.push(t),t},c.$$applicationDestroyed=function(){Di(e).off("hashchange popstate",a)},c.$$checkUrlChange=l,c.baseHref=function(){var e=q.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},c.defer=function(e,t){var n;return v++,n=f(function(){delete g[n],i(e)},t||0),g[n]=!0,n},c.defer.cancel=function(e){return g[e]?(delete g[e],p(e),i(m),!0):!1}}function hn(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new dn(e,r,t,n)}]}function fn(){this.$get=function(){function e(e,n){function i(e){e!=h&&(f?f==e&&(f=e.n):f=e,o(e.n,e.p),o(e,h),h=e,h.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var s=0,a=d({},n,{id:e}),u=vt(),l=n&&n.capacity||Number.MAX_VALUE,c=vt(),h=null,f=null;return t[e]={put:function(e,t){if(!w(t)){if(l<Number.MAX_VALUE){var n=c[e]||(c[e]={key:e});i(n)}return e in u||s++,u[e]=t,s>l&&this.remove(f.key),t}},get:function(e){if(l<Number.MAX_VALUE){var t=c[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(l<Number.MAX_VALUE){var t=c[e];if(!t)return;t==h&&(h=t.p),t==f&&(f=t.n),o(t.n,t.p),delete c[e]}e in u&&(delete u[e],s--)},removeAll:function(){u=vt(),s=0,c=vt(),h=f=null},destroy:function(){u=null,a=null,c=null,delete t[e]},info:function(){return d({},a,{size:s})}}}var t={};return e.info=function(){var e={};return o(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function pn(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function mn(e,r){function i(e,t,n){var r=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,i={};return o(e,function(e,o){if(e in A)return i[o]=A[e],void 0;var s=e.match(r);if(!s)throw Xo("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,o,e,n?"controller bindings definition":"isolate scope definition");i[o]={mode:s[1][0],collection:"*"===s[2],optional:"?"===s[3],attrName:s[4]||o},s[4]&&(A[e]=i[o])}),i}function s(e,t){var n={isolateScope:null,bindToController:null};if(b(e.scope)&&(e.bindToController===!0?(n.bindToController=i(e.scope,t,!0),n.isolateScope={}):n.isolateScope=i(e.scope,t,!1)),b(e.bindToController)&&(n.bindToController=i(e.bindToController,t,!0)),b(n.bindToController)){var r=e.controller,o=e.controllerAs;if(!r)throw Xo("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);if(!wn(r,o))throw Xo("noident","Cannot bind to controller without identifier for directive '{0}'.",t)}return n}function u(e){var t=e.charAt(0);if(!t||t!==Ii(t))throw Xo("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Xo("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}var l={},c="Directive",h=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,f=/(([\w\-]+)(?:\:([^;]+))?;?)/,$=P("ngSrc,ngSrcset,src,srcset"),C=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,x=/^(on[a-z]+|formaction)$/,A=vt();this.directive=function I(t,n){return pt(t,"directive"),q(t)?(u(t),ht(n,"directiveFactory"),l.hasOwnProperty(t)||(l[t]=[],e.factory(t+c,["$injector","$exceptionHandler",function(e,n){var r=[];return o(l[t],function(i,o){try{var s=e.invoke(i);E(s)?s={compile:v(s)}:!s.compile&&s.link&&(s.compile=v(s.link)),s.priority=s.priority||0,s.index=o,s.name=s.name||t,s.require=s.require||s.controller&&s.name,s.restrict=s.restrict||"EA",s.$$moduleName=i.$$moduleName,r.push(s)}catch(a){n(a)}}),r}])),l[t].push(n)):o(t,a(I)),this},this.component=function(e,t){function n(e){function n(t){return E(t)||_i(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var i=t.template||t.templateUrl?t.template:"";return{controller:r,controllerAs:wn(t.controller)||t.controllerAs||"$ctrl",template:n(i),templateUrl:n(t.templateUrl),transclude:t.transclude,scope:{},bindToController:t.bindings||{},restrict:"E",require:t.require}}var r=t.controller||m;return o(t,function(e,t){"$"===t.charAt(0)&&(n[t]=e,r[t]=e)}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return y(e)?(r.aHrefSanitizationWhitelist(e),this):r.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(r.imgSrcSanitizationWhitelist(e),this):r.imgSrcSanitizationWhitelist()};var S=!0;this.debugInfoEnabled=function(e){return y(e)?(S=e,this):S};var k=10;this.onChangesTtl=function(e){return arguments.length?(k=e,this):k},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(e,r,i,a,u,v,y,A,I,N){function O(){try{if(!--yt)throw gt=n,Xo("infchng","{0} $onChanges() iterations reached. Aborting!\n",k);y.$apply(function(){for(var e=0,t=gt.length;t>e;++e)gt[e]();gt=n})}finally{yt++}}function F(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function D(e,t,n){wt.innerHTML="<span "+t+">";var r=wt.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function L(e,t){try{e.addClass(t)}catch(n){}}function V(e,n,r,i,o){e instanceof Di||(e=Di(e));for(var s=/\S+/,a=0,u=e.length;u>a;a++){var l=e[a];l.nodeType===io&&l.nodeValue.match(s)&&It(l,e[a]=t.createElement("span"))}var c=j(e,n,e,r,i,o);V.$$addScopeClass(e);var d=null;return function(t,n,r){ht(t,"scope"),o&&o.needsNewScope&&(t=t.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,s=r.transcludeControllers,a=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),d||(d=P(a));var u;if(u="html"!==d?Di(at(d,Di("<div>").append(e).html())):n?xo.clone.call(e):e,s)for(var l in s)u.data("$"+l+"Controller",s[l].instance);return V.$$addScopeInfo(u,t),n&&n(u,t),c&&c(t,u,u,i),u}}function P(e){var t=e&&e[0];return t?"foreignobject"!==R(t)&&ji.call(t).match(/SVG/)?"svg":"html":"html"}function j(e,t,r,i,o,s){function a(e,r,i,o){var s,a,u,l,c,d,h,f,g;if(p){var v=r.length;for(g=new Array(v),c=0;c<m.length;c+=3)h=m[c],g[h]=r[h]}else g=r;for(c=0,d=m.length;d>c;)u=g[m[c++]],s=m[c++],a=m[c++],s?(s.scope?(l=e.$new(),V.$$addScopeInfo(Di(u),l)):l=e,f=s.transcludeOnThisElement?H(e,s.transclude,o):!s.templateOnThisElement&&o?o:!o&&t?H(e,t):null,s(a,l,u,i,f)):a&&a(e,u.childNodes,n,o)}for(var u,l,c,d,h,f,p,m=[],g=0;g<e.length;g++)u=new F,l=X(e[g],[],u,0===g?i:n,o),c=l.length?Y(l,e[g],u,t,r,null,[],[],s):null,c&&c.scope&&V.$$addScopeClass(u.$$element),h=c&&c.terminal||!(d=e[g].childNodes)||!d.length?null:j(d,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:t),(c||h)&&(m.push(g,c,h),f=!0,p=p||c),s=null;return f?a:null}function H(e,t,n){function r(r,i,o,s,a){return r||(r=e.$new(!1,a),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:s})}var i=r.$$slots=vt();for(var o in t.$$slots)i[o]=t.$$slots[o]?H(e,t.$$slots[o],n):null;return r}function X(e,t,n,r,i){var o,s,a=e.nodeType,u=n.$attr;switch(a){case no:et(t,gn(R(e)),"E",r,i);for(var l,c,d,p,m,g,v=e.attributes,$=0,w=v&&v.length;w>$;$++){var y=!1,C=!1;l=v[$],c=l.name,m=Wi(l.value),p=gn(c),(g=At.test(p))&&(c=c.replace(Qo,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var x=p.match(Et);x&&tt(x[1])&&(y=c,C=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),d=gn(c.toLowerCase()),u[d]=c,(g||!n.hasOwnProperty(d))&&(n[d]=m,Gt(e,d)&&(n[d]=!0)),lt(e,t,m,d,g),et(t,d,"A",r,i,y,C)}if(s=e.className,b(s)&&(s=s.animVal),q(s)&&""!==s)for(;o=f.exec(s);)d=gn(o[2]),et(t,d,"C",r,i)&&(n[d]=Wi(o[3])),s=s.substr(o.index+o[0].length);break;case io:if(11===Fi)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===io;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);st(t,e.nodeValue);break;case oo:try{o=h.exec(e.nodeValue),o&&(d=gn(o[1]),et(t,d,"M",r,i)&&(n[d]=Wi(o[2])))}catch(A){}}return t.sort(it),t}function _(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Xo("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==no&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling
  }while(i>0)}else r.push(e);return Di(r)}function G(e,t,n){return function(r,i,o,s,a){return i=_(i[0],t,n),e(r,i,o,s,a)}}function W(e,t,n,r,i,o){var s;return e?V(t,n,r,i,o):function(){return s||(s=V(t,n,r,i,o),t=n=o=null),s.apply(this,arguments)}}function Y(e,t,r,s,a,u,l,c,h){function f(e,t,n,r){e&&(n&&(e=G(e,n,r)),e.require=m.require,e.directiveName=g,(A===m||m.$$isolateScope)&&(e=ft(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=G(t,n,r)),t.require=m.require,t.directiveName=g,(A===m||m.$$isolateScope)&&(t=ft(t,{isolateScope:!0})),c.push(t))}function p(e,i,s,a,u){function h(e,t,r,i){var o;if(T(e)||(i=r,r=t,t=e,e=n),O&&(o=$),r||(r=O?C.parent():C),!i)return u(e,t,o,r,B);var s=u.$$slots[i];if(s)return s(e,t,o,r,B);if(w(s))throw Xo("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,K(C))}var f,p,m,g,v,$,y,C,k,I,N;t===s?(k=r,C=r.$$element):(C=Di(s),k=new F(C,r)),v=i,A?g=i.$new(!0):q&&(v=i.$parent),u&&(y=h,y.$$boundTransclude=u,y.isSlotFilled=function(e){return!!u.$$slots[e]}),x&&($=Z(C,k,y,x,g,i,A)),A&&(V.$$addScopeInfo(C,g,!0,!(S&&(S===A||S===A.$$originalDirective))),V.$$addScopeClass(C,!0),g.$$isolateBindings=A.$$isolateBindings,I=mt(i,k,g,g.$$isolateBindings,A),I&&g.$on("$destroy",I));for(var M in $){var D=x[M],L=$[M],P=D.$$bindings.bindToController;L.identifier&&P&&(N=mt(v,k,L.instance,P,D));var R=L();R!==L.instance&&(L.instance=R,C.data("$"+D.name+"Controller",R),N&&N(),N=mt(v,k,L.instance,P,D))}for(o(x,function(e,t){var n=e.require;e.bindToController&&!_i(n)&&b(n)&&d($[t].instance,J(t,n,C,$))}),o($,function(e){var t=e.instance;E(t.$onInit)&&t.$onInit(),E(t.$onDestroy)&&v.$on("$destroy",function(){t.$onDestroy()})}),f=0,p=l.length;p>f;f++)m=l[f],pt(m,m.isolateScope?g:i,C,k,m.require&&J(m.directiveName,m.require,C,$),y);var B=i;for(A&&(A.template||null===A.templateUrl)&&(B=g),e&&e(B,s.childNodes,n,u),f=c.length-1;f>=0;f--)m=c[f],pt(m,m.isolateScope?g:i,C,k,m.require&&J(m.directiveName,m.require,C,$),y);o($,function(e){var t=e.instance;E(t.$postLink)&&t.$postLink()})}h=h||{};for(var m,g,v,$,y,C=-Number.MAX_VALUE,q=h.newScopeDirective,x=h.controllerDirectives,A=h.newIsolateScopeDirective,S=h.templateDirective,k=h.nonTlbTranscludeDirective,I=!1,N=!1,O=h.hasElementTranscludeDirective,M=r.$$element=Di(t),D=u,L=s,P=!1,B=!1,j=0,H=e.length;H>j;j++){m=e[j];var U=m.$$start,Y=m.$$end;if(U&&(M=_(t,U,Y)),v=n,C>m.priority)break;if((y=m.scope)&&(m.templateUrl||(b(y)?(ot("new/isolated scope",A||q,m,M),A=m):ot("new/isolated scope",A,m,M)),q=q||m),g=m.name,!P&&(m.replace&&(m.templateUrl||m.template)||m.transclude&&!m.$$tlb)){for(var et,tt=j+1;et=e[tt++];)if(et.transclude&&!et.$$tlb||et.replace&&(et.templateUrl||et.template)){B=!0;break}P=!0}if(!m.templateUrl&&m.controller&&(y=m.controller,x=x||vt(),ot("'"+g+"' controller",x[g],m,M),x[g]=m),y=m.transclude)if(I=!0,m.$$tlb||(ot("transclusion",k,m,M),k=m),"element"==y)O=!0,C=m.priority,v=M,M=r.$$element=Di(V.$$createComment(g,r[g])),t=M[0],dt(a,Q(v),t),v[0].$$parentNode=v[0].parentNode,L=W(B,v,s,C,D&&D.name,{nonTlbTranscludeDirective:k});else{var it=vt();if(v=Di(Ot(t)).contents(),b(y)){v=[];var st=vt(),ut=vt();o(y,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,st[e]=t,it[t]=null,ut[t]=n}),o(M.contents(),function(e){var t=st[gn(R(e))];t?(ut[t]=!0,it[t]=it[t]||[],it[t].push(e)):v.push(e)}),o(ut,function(e,t){if(!e)throw Xo("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var lt in it)it[lt]&&(it[lt]=W(B,it[lt],s))}M.empty(),L=W(B,v,s,n,n,{needsNewScope:m.$$isolateScope||m.$$newScope}),L.$$slots=it}if(m.template)if(N=!0,ot("template",S,m,M),S=m,y=E(m.template)?m.template(M,r):m.template,y=qt(y),m.replace){if(D=m,v=xt(y)?[]:$n(at(m.templateNamespace,Wi(y))),t=v[0],1!=v.length||t.nodeType!==no)throw Xo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g,"");dt(a,M,t);var ct={$attr:{}},ht=X(t,[],ct),gt=e.splice(j+1,e.length-(j+1));(A||q)&&z(ht,A,q),e=e.concat(ht).concat(gt),nt(r,ct),H=e.length}else M.html(y);if(m.templateUrl)N=!0,ot("template",S,m,M),S=m,m.replace&&(D=m),p=rt(e.splice(j,e.length-j),M,r,a,I&&L,l,c,{controllerDirectives:x,newScopeDirective:q!==m&&q,newIsolateScopeDirective:A,templateDirective:S,nonTlbTranscludeDirective:k}),H=e.length;else if(m.compile)try{$=m.compile(M,r,L),E($)?f(null,$,U,Y):$&&f($.pre,$.post,U,Y)}catch($t){i($t,K(M))}m.terminal&&(p.terminal=!0,C=Math.max(C,m.priority))}return p.scope=q&&q.scope===!0,p.transcludeOnThisElement=I,p.templateOnThisElement=N,p.transclude=L,h.hasElementTranscludeDirective=O,p}function J(e,t,n,r){var i;if(q(t)){var s=t.match(C),a=t.substring(s[0].length),u=s[1]||s[3],l="?"===s[2];if("^^"===u?n=n.parent():(i=r&&r[a],i=i&&i.instance),!i){var c="$"+a+"Controller";i=u?n.inheritedData(c):n.data(c)}if(!i&&!l)throw Xo("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,e)}else if(_i(t)){i=[];for(var d=0,h=t.length;h>d;d++)i[d]=J(e,t[d],n,r)}else b(t)&&(i={},o(t,function(t,o){i[o]=J(e,t,n,r)}));return i||null}function Z(e,t,n,r,i,o,s){var a=vt();for(var u in r){var l=r[u],c={$scope:l===s||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},d=l.controller;"@"==d&&(d=t[l.name]);var h=v(d,c,!0,l.controllerAs);a[l.name]=h,e.data("$"+l.name+"Controller",h.instance)}return a}function z(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=p(e[r],{$$isolateScope:t,$$newScope:n})}function et(t,n,r,o,a,u,d){if(n===a)return null;var h=null;if(l.hasOwnProperty(n))for(var f,m=e.get(n+c),g=0,v=m.length;v>g;g++)try{if(f=m[g],(w(o)||o>f.priority)&&-1!=f.restrict.indexOf(r)){if(u&&(f=p(f,{$$start:u,$$end:d})),!f.$$bindings){var $=f.$$bindings=s(f,f.name);b($.isolateScope)&&(f.$$isolateBindings=$.isolateScope)}t.push(f),h=f}}catch(y){i(y)}return h}function tt(t){if(l.hasOwnProperty(t))for(var n,r=e.get(t+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function nt(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(L(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function rt(e,t,n,r,i,s,u,l){var c,d,h=[],f=t[0],m=e.shift(),g=p(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),v=E(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),a(v).then(function(a){var p,w,y,C;if(a=qt(a),m.replace){if(y=xt(a)?[]:$n(at($,Wi(a))),p=y[0],1!=y.length||p.nodeType!==no)throw Xo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,v);w={$attr:{}},dt(r,t,p);var q=X(p,[],w);b(m.scope)&&z(q,!0),e=q.concat(e),nt(n,w)}else p=f,t.html(a);for(e.unshift(g),c=Y(e,p,n,i,t,m,s,u,l),o(r,function(e,n){e==p&&(r[n]=t[0])}),d=j(t[0].childNodes,i);h.length;){var x=h.shift(),A=h.shift(),E=h.shift(),S=h.shift(),k=t[0];if(!x.$$destroyed){if(A!==f){var T=A.className;l.hasElementTranscludeDirective&&m.replace||(k=Ot(p)),dt(E,Di(A),k),L(Di(k),T)}C=c.transcludeOnThisElement?H(x,c.transclude,S):S,c(d,x,k,r,C)}}h=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(h?h.push(t,n,r,o):(c.transcludeOnThisElement&&(o=H(t,c.transclude,i)),c(d,t,n,r,o)))}}function it(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function ot(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw Xo("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,K(r))}function st(e,t){var n=r(t,!0);n&&e.push({priority:0,compile:function(e){var t=e.parent(),r=!!t.length;return r&&V.$$addBindingClass(t),function(e,t){var i=t.parent();r||V.$$addBindingClass(i),V.$$addBindingInfo(i,n.expressions),e.$watch(n,function(e){t[0].nodeValue=e})}}})}function at(e,n){switch(e=Ii(e||"html")){case"svg":case"math":var r=t.createElement("div");return r.innerHTML="<"+e+">"+n+"</"+e+">",r.childNodes[0].childNodes;default:return n}}function ut(e,t){if("srcdoc"==t)return A.HTML;var n=R(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?A.RESOURCE_URL:void 0}function lt(e,t,n,i,o){var s=ut(e,i);o=$[i]||o;var a=r(n,!0,s,o);if(a){if("multiple"===i&&"select"===R(e))throw Xo("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",K(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=vt());if(x.test(i))throw Xo("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==n&&(a=c&&r(c,!0,s,o),n=c),a&&(u[i]=a(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(a,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function dt(e,n,r){var i,o,s=n[0],a=n.length,u=s.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==s){e[i++]=r;for(var l=i,c=l+a-1,d=e.length;d>l;l++,c++)d>c?e[l]=e[c]:delete e[l];e.length-=a-1,e.context===s&&(e.context=r);break}u&&u.replaceChild(r,s);var h=t.createDocumentFragment();for(i=0;a>i;i++)h.appendChild(n[i]);for(Di.hasData(s)&&(Di.data(r,Di.data(s)),Di(s).off("$destroy")),Di.cleanData(h.querySelectorAll("*")),i=1;a>i;i++)delete n[i];n[0]=r,n.length=1}function ft(e,t){return d(function(){return e.apply(null,arguments)},e,t)}function pt(e,t,n,r,o,s){try{e(t,n,r,o,s)}catch(a){i(a,K(n))}}function mt(e,t,i,s,a){function l(t,n,r){E(i.$onChanges)&&n!==r&&(gt||(e.$$postDigest(O),gt=[]),d||(d={},gt.push(c)),d[t]&&(r=d[t].previousValue),d[t]={previousValue:r,currentValue:n})}function c(){i.$onChanges(d),d=n}var d,h=[];return o(s,function(n,o){var s,c,d,f,p,g=n.attrName,v=n.optional,$=n.mode;switch($){case"@":v||Ti.call(t,g)||(i[o]=t[g]=void 0),t.$observe(g,function(e){if(q(e)){var t=i[o];l(o,e,t),i[o]=e}}),t.$$observers[g].$$scope=e,s=t[g],q(s)?i[o]=r(s)(e):M(s)&&(i[o]=s);break;case"=":if(!Ti.call(t,g)){if(v)break;t[g]=void 0}if(v&&!t[g])break;c=u(t[g]),f=c.literal?U:function(e,t){return e===t||e!==e&&t!==t},d=c.assign||function(){throw s=i[o]=c(e),Xo("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[g],g,a.name)},s=i[o]=c(e);var w=function(t){return f(t,i[o])||(f(t,s)?d(e,t=i[o]):i[o]=t),s=t};w.$stateful=!0,p=n.collection?e.$watchCollection(t[g],w):e.$watch(u(t[g],w),null,c.literal),h.push(p);break;case"<":if(!Ti.call(t,g)){if(v)break;t[g]=void 0}if(v&&!t[g])break;c=u(t[g]),i[o]=c(e),p=e.$watch(c,function(e){var t=i[o];l(o,e,t),i[o]=e},c.literal),h.push(p);break;case"&":if(c=t.hasOwnProperty(g)?u(t[g]):m,c===m&&v)break;i[o]=function(t){return c(e,t)}}}),h.length&&function(){for(var e=0,t=h.length;t>e;++e)h[e]()}}var gt,$t=/^\w/,wt=t.createElement("div"),yt=k;F.prototype={$normalize:gn,$addClass:function(e){e&&e.length>0&&I.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&I.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=vn(e,t);n&&n.length&&I.addClass(this.$$element,n);var r=vn(t,e);r&&r.length&&I.removeClass(this.$$element,r)},$set:function(e,t,n,r){var s,a=this.$$element[0],u=Gt(a,e),l=Wt(e),c=e;if(u?(this.$$element.prop(e,t),r=u):l&&(this[l]=t,c=l),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e],r||(this.$attr[e]=r=ct(e,"-"))),s=R(this.$$element),"a"===s&&("href"===e||"xlinkHref"===e)||"img"===s&&"src"===e)this[e]=t=N(t,"src"===e);else if("img"===s&&"srcset"===e){for(var d="",h=Wi(t),f=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(h)?f:/(,)/,m=h.split(p),g=Math.floor(m.length/2),v=0;g>v;v++){var $=2*v;d+=N(Wi(m[$]),!0),d+=" "+Wi(m[$+1])}var y=Wi(m[2*v]).split(/\s/);d+=N(Wi(y[0]),!0),2===y.length&&(d+=" "+Wi(y[1])),this[e]=t=d}n!==!1&&(null===t||w(t)?this.$$element.removeAttr(r):$t.test(r)?this.$$element.attr(r,t):D(this.$$element[0],r,t));var b=this.$$observers;b&&o(b[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=vt()),i=r[e]||(r[e]=[]);return i.push(t),y.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||w(n[e])||t(n[e])}),function(){B(i,t)}}};var bt=r.startSymbol(),Ct=r.endSymbol(),qt="{{"==bt&&"}}"==Ct?g:function(e){return e.replace(/\{\{/g,bt).replace(/}}/g,Ct)},At=/^ngAttr[A-Z]/,Et=/^(.+)Start$/;return V.$$addBindingInfo=S?function(e,t){var n=e.data("$binding")||[];_i(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:m,V.$$addBindingClass=S?function(e){L(e,"ng-binding")}:m,V.$$addScopeInfo=S?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:m,V.$$addScopeClass=S?function(e,t){L(e,t?"ng-isolate-scope":"ng-scope")}:m,V.$$createComment=function(e,n){var r="";return S&&(r=" "+(e||"")+": "+(n||"")+" "),t.createComment(r)},V}]}function gn(e){return qt(e.replace(Qo,""))}function vn(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var s=r[o],a=0;a<i.length;a++)if(s==i[a])continue e;n+=(n.length>0?" ":"")+s}return n}function $n(e){e=Di(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===oo&&Ri.call(e,t,1)}return e}function wn(e,t){if(t&&q(t))return t;if(q(e)){var n=Go.exec(e);if(n)return n[3]}}function yn(){var e={},t=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){pt(t,"controller"),b(t)?d(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(i,o){function s(e,t,n,i){if(!e||!b(e.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=n}return function(r,a,u,l){var c,h,f,p;if(u=u===!0,l&&q(l)&&(p=l),q(r)){if(h=r.match(Go),!h)throw _o("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);f=h[1],p=p||h[3],r=e.hasOwnProperty(f)?e[f]:mt(a.$scope,f,!0)||(t?mt(o,f,!0):n),ft(r,f,!0)}if(u){var m=(_i(r)?r[r.length-1]:r).prototype;c=Object.create(m||null),p&&s(a,p,c,f||r.name);var g;return g=d(function(){var e=i.invoke(r,c,a,f);return e!==c&&(b(e)||E(e))&&(c=e,p&&s(a,p,c,f||r.name)),c},{instance:c,identifier:p})}return c=i.instantiate(r,a,f),p&&s(a,p,c,f||r.name),c}}]}function bn(){this.$get=["$window",function(e){return Di(e.document)}]}function Cn(){this.$get=["$log",function(e){return function(){e.error.apply(e,arguments)}}]}function qn(e){return b(e)?A(e)?e.toISOString():W(e):e}function xn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return s(e,function(e,n){null===e||w(e)||(_i(e)?o(e,function(e){t.push(it(n)+"="+it(qn(e)))}):t.push(it(n)+"="+it(qn(e))))}),t.join("&")}}}function An(){this.$get=function(){return function(e){function t(e,r,i){null===e||w(e)||(_i(e)?o(e,function(e,n){t(e,r+"["+(b(e)?n:"")+"]")}):b(e)&&!A(e)?s(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):n.push(it(r)+"="+it(qn(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function En(e,t){if(q(e)){var n=e.replace(Ko,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Yo)||Sn(n))&&(e=Y(n))}}return e}function Sn(e){var t=e.match(Zo);return t&&zo[t[0]].test(e)}function kn(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=vt();return q(e)?o(e.split("\n"),function(e){n=e.indexOf(":"),t(Ii(Wi(e.substr(0,n))),Wi(e.substr(n+1)))}):b(e)&&o(e,function(e,n){t(Ii(n),Wi(e))}),r}function Tn(e){var t;return function(n){if(t||(t=kn(e)),n){var r=t[Ii(n)];return void 0===r&&(r=null),r}return t}}function In(e,t,n,r){return E(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function Nn(e){return e>=200&&300>e}function On(){var e=this.defaults={transformResponse:[En],transformRequest:[function(e){return!b(e)||I(e)||O(e)||N(e)?e:W(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:H(Jo),put:H(Jo),patch:H(Jo)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},t=!1;this.useApplyAsync=function(e){return y(e)?(t=!!e,this):t};var i=!0;this.useLegacyPromiseExtensions=function(e){return y(e)?(i=!!e,this):i};var s=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,u,l,c,h,f){function p(t){function s(e){var t=d({},e);return t.data=In(e.data,e.headers,e.status,l.transformResponse),Nn(e.status)?t:h.reject(t)}function a(e,t){var n,r={};return o(e,function(e,i){E(e)?(n=e(t),null!=n&&(r[i]=n)):r[i]=e}),r}function u(t){var n,r,i,o=e.headers,s=d({},t.headers);o=d({},o.common,o[Ii(t.method)]);e:for(n in o){r=Ii(n);for(i in s)if(Ii(i)===r)continue e;s[n]=o[n]}return a(s,H(t))}if(!b(t))throw r("$http")("badreq","Http request configuration must be an object.  Received: {0}",t);if(!q(t.url))throw r("$http")("badreq","Http request configuration url must be a string.  Received: {0}",t.url);var l=d({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},t);l.headers=u(t),l.method=Ni(l.method),l.paramSerializer=q(l.paramSerializer)?f.get(l.paramSerializer):l.paramSerializer;var c=function(t){var r=t.headers,i=In(t.data,Tn(r),n,t.transformRequest);return w(i)&&o(r,function(e,t){"content-type"===Ii(t)&&delete r[t]}),w(t.withCredentials)&&!w(e.withCredentials)&&(t.withCredentials=e.withCredentials),v(t,i).then(s,s)},p=[c,n],m=h.when(l);for(o(x,function(e){(e.request||e.requestError)&&p.unshift(e.request,e.requestError),(e.response||e.responseError)&&p.push(e.response,e.responseError)});p.length;){var g=p.shift(),$=p.shift();m=m.then(g,$)}return i?(m.success=function(e){return ft(e,"fn"),m.then(function(t){e(t.data,t.status,t.headers,l)}),m},m.error=function(e){return ft(e,"fn"),m.then(null,function(t){e(t.data,t.status,t.headers,l)}),m}):(m.success=ts("success"),m.error=ts("error")),m}function m(){o(arguments,function(e){p[e]=function(t,n){return p(d({},n||{},{method:e,url:t}))}})}function g(){o(arguments,function(e){p[e]=function(t,n,r){return p(d({},r||{},{method:e,url:t,data:n}))}})}function v(r,i){function o(e,n,r,i){function o(){s(n,e,r,i)}f&&(Nn(e)?f.put(x,[e,n,kn(r),i]):f.remove(x)),t?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function s(e,t,n,i){t=t>=-1?t:0,(Nn(t)?g.resolve:g.reject)({data:e,status:t,headers:Tn(n),config:r,statusText:i})}function l(e){s(e.data,e.status,H(e.headers()),e.statusText)}function d(){var e=p.pendingRequests.indexOf(r);-1!==e&&p.pendingRequests.splice(e,1)}var f,m,g=h.defer(),v=g.promise,q=r.headers,x=$(r.url,r.paramSerializer(r.params));if(p.pendingRequests.push(r),v.then(d,d),!r.cache&&!e.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(f=b(r.cache)?r.cache:b(e.cache)?e.cache:C),f&&(m=f.get(x),y(m)?F(m)?m.then(l,l):_i(m)?s(m[1],m[0],H(m[2]),m[3]):s(m,200,{},"OK"):f.put(x,v)),w(m)){var A=Mr(r.url)?u()[r.xsrfCookieName||e.xsrfCookieName]:n;A&&(q[r.xsrfHeaderName||e.xsrfHeaderName]=A),a(r.method,x,i,o,q,r.timeout,r.withCredentials,r.responseType)}return v}function $(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var C=l("$http");e.paramSerializer=q(e.paramSerializer)?f.get(e.paramSerializer):e.paramSerializer;var x=[];return o(s,function(e){x.unshift(q(e)?f.get(e):f.invoke(e))}),p.pendingRequests=[],m("get","delete","head","jsonp"),g("post","put","patch"),p.defaults=e,p}]}function Mn(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Fn(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Dn(e,r,e.defer,t.angular.callbacks,n[0])}]}function Dn(e,t,n,r,i){function s(e,t,n){var o=i.createElement("script"),s=null;return o.type="text/javascript",o.src=e,o.async=!0,s=function(e){fo(o,"load",s),fo(o,"error",s),i.body.removeChild(o),o=null;var a=-1,u="unknown";e&&("load"!==e.type||r[t].called||(e={type:"error"}),u=e.type,a="error"===e.type?404:200),n&&n(a,u)},ho(o,"load",s),ho(o,"error",s),i.body.appendChild(o),s}return function(i,a,u,l,c,d,h,f){function p(){$&&$(),b&&b.abort()}function g(t,r,i,o,s){y(x)&&n.cancel(x),$=b=null,t(r,i,o,s),e.$$completeOutstandingRequest(m)}if(e.$$incOutstandingRequestCount(),a=a||e.url(),"jsonp"==Ii(i)){var v="_"+(r.counter++).toString(36);r[v]=function(e){r[v].data=e,r[v].called=!0};var $=s(a.replace("JSON_CALLBACK","angular.callbacks."+v),v,function(e,t){g(l,e,r[v].data,"",t),r[v]=m})}else{var b=t(i,a);b.open(i,a,!0),o(c,function(e,t){y(e)&&b.setRequestHeader(t,e)}),b.onload=function(){var e=b.statusText||"",t="response"in b?b.response:b.responseText,n=1223===b.status?204:b.status;0===n&&(n=t?200:"file"==Or(a).protocol?404:0),g(l,n,t,b.getAllResponseHeaders(),e)};var C=function(){g(l,-1,null,null,"")};if(b.onerror=C,b.onabort=C,h&&(b.withCredentials=!0),f)try{b.responseType=f}catch(q){if("json"!==f)throw q}b.send(w(u)?null:u)}if(d>0)var x=n(p,d);else F(d)&&d.then(p)}}function Ln(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function s(n){return n.replace(f,e).replace(p,t)}function a(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=W(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function l(o,l,f,p){function m(e){try{return e=O(e),p&&!y(e)?e:a(e)}catch(t){r(ns.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var g;if(!l){var $=s(o);g=v($),g.exp=o,g.expressions=[],g.$$watchDelegate=u}return g}p=!!p;for(var b,C,q,x=0,A=[],S=[],k=o.length,T=[],I=[];k>x;){if(-1==(b=o.indexOf(e,x))||-1==(C=o.indexOf(t,b+c))){x!==k&&T.push(s(o.substring(x)));break}x!==b&&T.push(s(o.substring(x,b))),q=o.substring(b+c,C),A.push(q),S.push(n(q,m)),x=C+h,I.push(T.length),T.push("")}if(f&&T.length>1&&ns.throwNoconcat(o),!l||A.length){var N=function(e){for(var t=0,n=A.length;n>t;t++){if(p&&w(e[t]))return;T[I[t]]=e[t]}return T.join("")},O=function(e){return f?i.getTrusted(f,e):i.valueOf(e)};return d(function(e){var t=0,n=A.length,i=new Array(n);try{for(;n>t;t++)i[t]=S[t](e);return N(i)}catch(s){r(ns.interr(o,s))}},{exp:o,expressions:A,$$watchDelegate:function(e,t){var n;return e.$watchGroup(S,function(r,i){var o=N(r);E(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var c=e.length,h=t.length,f=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return l.startSymbol=function(){return e},l.endSymbol=function(){return t},l}]}function Vn(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,a,u,l){function c(){d?o.apply(null,h):o(m)}var d=arguments.length>4,h=d?Q(arguments,4):[],f=t.setInterval,p=t.clearInterval,m=0,g=y(l)&&!l,v=(g?r:n).defer(),$=v.promise;return u=y(u)?u:0,$.$$intervalId=f(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p($.$$intervalId),delete s[$.$$intervalId]),g||e.$apply()},a),s[$.$$intervalId]=v,$}var s={};return o.cancel=function(e){return e&&e.$$intervalId in s?(s[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete s[e.$$intervalId],!0):!1},o}]}function Pn(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=rt(t[n]);return t.join("/")}function Rn(e,t){var n=Or(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||is[n.protocol]||null}function Bn(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=Or(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=tt(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function jn(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Hn(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function Un(e){return e.replace(/(#.+)|#$/,"$1")}function Xn(e){return e.substr(0,Hn(e).lastIndexOf("/")+1)}function Qn(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function _n(e,t,n){this.$$html5=!0,n=n||"",Rn(e,this),this.$$parse=function(e){var n=jn(t,e);if(!q(n))throw os("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Bn(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=nt(this.$$search),n=this.$$hash?"#"+rt(this.$$hash):"";this.$$url=Pn(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,s,a;return y(o=jn(e,r))?(s=o,a=y(o=jn(n,o))?t+(jn("/",o)||o):e+s):y(o=jn(t,r))?a=t+o:t==r+"/"&&(a=t),a&&this.$$parse(a),!!a}}function Gn(e,t,n){Rn(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,s=jn(e,r)||jn(t,r);w(s)||"#"!==s.charAt(0)?this.$$html5?o=s:(o="",w(s)&&(e=r,this.replace())):(o=jn(n,s),w(o)&&(o=s)),Bn(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=nt(this.$$search),r=this.$$hash?"#"+rt(this.$$hash):"";this.$$url=Pn(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t){return Hn(e)==Hn(t)?(this.$$parse(t),!0):!1}}function Wn(e,t,n){this.$$html5=!0,Gn.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,s;return e==Hn(r)?o=r:(s=jn(t,r))?o=e+n+s:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=nt(this.$$search),r=this.$$hash?"#"+rt(this.$$hash):"";this.$$url=Pn(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Yn(e){return function(){return this[e]}}function Jn(e,t){return function(n){return w(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Zn(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return M(e)?(t.enabled=e,this):b(e)?(M(e.enabled)&&(t.enabled=e.enabled),M(e.requireBase)&&(t.requireBase=e.requireBase),M(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,s){function a(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(s){throw l.url(i),l.$$state=o,s}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,d,h=r.baseHref(),f=r.url();if(t.enabled){if(!h&&t.requireBase)throw os("nobase","$location in HTML5 mode requires a <base> tag to be present!");d=Qn(f)+(h||"/"),c=i.history?_n:Wn}else d=Hn(f),c=Gn;var p=Xn(d);l=new c(d,p,"#"+e),l.$$parseLinkUrl(f,f),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Di(e.target);"a"!==R(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var a=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");b(a)&&"[object SVGAnimatedString]"===a.toString()&&(a=Or(a.animVal).href),m.test(a)||!a||i.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(a,u)&&(e.preventDefault(),l.absUrl()!=r.url()&&(n.$apply(),s.angular["ff-684208-preventDefault"]=!0))}}),Un(l.absUrl())!=Un(f)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return w(jn(p,e))?(s.location.href=e,void 0):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Un(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,a(i,!1,o)):(g=!1,u(i,o)))}),n.$$phase||n.$digest(),void 0)}),n.$watch(function(){var e=Un(r.url()),t=Un(l.absUrl()),o=r.state(),s=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(g||c)&&(g=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&a(t,s,o===l.$$state?null:l.$$state),u(e,o)))})),l.$$replace=!1}),l}]}function zn(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||m,s=!1;try{s=!!i.apply}catch(a){}return s?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Kn(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw as("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function er(e){return e+""}function tr(e,t){if(e){if(e.constructor===e)throw as("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw as("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw as("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw as("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function nr(e,t){if(e){if(e.constructor===e)throw as("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===us||e===ls||e===cs)throw as("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function rr(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw as("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function ir(e,t){return"undefined"!=typeof e?e:t}function or(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function sr(e,t){var n=e(t);return!n.$stateful}function ar(e,t){var n,r;switch(e.type){case ps.Program:n=!0,o(e.body,function(e){ar(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case ps.Literal:e.constant=!0,e.toWatch=[];break;case ps.UnaryExpression:ar(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case ps.BinaryExpression:ar(e.left,t),ar(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case ps.LogicalExpression:ar(e.left,t),ar(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case ps.ConditionalExpression:ar(e.test,t),ar(e.alternate,t),ar(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case ps.Identifier:e.constant=!1,e.toWatch=[e];break;case ps.MemberExpression:ar(e.object,t),e.computed&&ar(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case ps.CallExpression:n=e.filter?sr(t,e.callee.name):!1,r=[],o(e.arguments,function(e){ar(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&sr(t,e.callee.name)?r:[e];break;case ps.AssignmentExpression:ar(e.left,t),ar(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case ps.ArrayExpression:n=!0,r=[],o(e.elements,function(e){ar(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case ps.ObjectExpression:n=!0,r=[],o(e.properties,function(e){ar(e.value,t),n=n&&e.value.constant,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case ps.ThisExpression:e.constant=!1,e.toWatch=[];break;case ps.LocalsExpression:e.constant=!1,e.toWatch=[]}}function ur(e){if(1==e.length){var t=e[0].expression,r=t.toWatch;return 1!==r.length?r:r[0]!==t?r:n}}function lr(e){return e.type===ps.Identifier||e.type===ps.MemberExpression}function cr(e){return 1===e.body.length&&lr(e.body[0].expression)?{type:ps.AssignmentExpression,left:e.body[0].expression,right:{type:ps.NGValueParameter},operator:"="}:void 0
  }function dr(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===ps.Literal||e.body[0].expression.type===ps.ArrayExpression||e.body[0].expression.type===ps.ObjectExpression)}function hr(e){return e.constant}function fr(e,t){this.astBuilder=e,this.$filter=t}function pr(e,t){this.astBuilder=e,this.$filter=t}function mr(e){return"constructor"==e}function gr(e){return E(e.valueOf)?e.valueOf():gs.call(e)}function vr(){var e=vt(),t=vt(),r={"true":!0,"false":!1,"null":null,undefined:n};this.addLiteral=function(e,t){r[e]=t},this.$get=["$filter",function(i){function s(n,r,o){var s,u,p;switch(o=o||$,typeof n){case"string":n=n.trim(),p=n;var w=o?t:e;if(s=w[p],!s){":"===n.charAt(0)&&":"===n.charAt(1)&&(u=!0,n=n.substring(2));var y=o?v:g,b=new fs(y),C=new ms(b,i,y);s=C.parse(n),s.constant?s.$$watchDelegate=h:u?s.$$watchDelegate=s.literal?d:c:s.inputs&&(s.$$watchDelegate=l),o&&(s=a(s)),w[p]=s}return f(s,r);case"function":return f(n,r);default:return f(m,r)}}function a(e){function t(t,n,r,i){var o=$;$=!0;try{return e(t,n,r,i)}finally{$=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=a(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&n<e.inputs.length;++n)e.inputs[n]=a(e.inputs[n]);return t.inputs=e.inputs,t}function u(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=gr(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function l(e,t,r,i,o){var s,a=i.inputs;if(1===a.length){var l=u;return a=a[0],e.$watch(function(e){var t=a(e);return u(t,l)||(s=i(e,n,n,[t]),l=t&&gr(t)),s},t,r,o)}for(var c=[],d=[],h=0,f=a.length;f>h;h++)c[h]=u,d[h]=null;return e.$watch(function(e){for(var t=!1,r=0,o=a.length;o>r;r++){var l=a[r](e);(t||(t=!u(l,c[r])))&&(d[r]=l,c[r]=l&&gr(l))}return t&&(s=i(e,n,n,d)),s},t,r,o)}function c(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,E(t)&&t.apply(this,arguments),y(e)&&r.$$postDigest(function(){y(o)&&i()})},n)}function d(e,t,n,r){function i(e){var t=!0;return o(e,function(e){y(e)||(t=!1)}),t}var s,a;return s=e.$watch(function(e){return r(e)},function(e,n,r){a=e,E(t)&&t.call(this,e,n,r),i(e)&&r.$$postDigest(function(){i(a)&&s()})},n)}function h(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function f(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==d&&n!==c,o=i?function(n,i,o,s){var a=r&&s?s[0]:e(n,i,o,s);return t(a,n,i)}:function(n,r,i,o){var s=e(n,r,i,o),a=t(s,n,r);return y(s)?a:s};return e.$$watchDelegate&&e.$$watchDelegate!==l?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=l,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var p=Ji().noUnsafeEval,g={csp:p,expensiveChecks:!1,literals:j(r)},v={csp:p,expensiveChecks:!0,literals:j(r)},$=!1;return s.$$runningExpensiveChecks=function(){return $},s}]}function $r(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return yr(function(t){e.$evalAsync(t)},t)}]}function wr(){this.$get=["$browser","$exceptionHandler",function(e,t){return yr(function(t){e.defer(t)},t)}]}function yr(e,t){function i(){this.$$state={status:0}}function s(e,t){return function(n){t.call(e,n)}}function a(e){var r,i,o;o=e.pending,e.processScheduled=!1,e.pending=n;for(var s=0,a=o.length;a>s;++s){i=o[s][0],r=o[s][e.status];try{E(r)?i.resolve(r(e.value)):1===e.status?i.resolve(e.value):i.reject(e.value)}catch(u){i.reject(u),t(u)}}}function u(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){a(t)}))}function l(){this.promise=new i}function c(e){var t=new l,n=0,r=_i(e)?[]:{};return o(e,function(e,i){n++,v(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var h=r("$q",TypeError),f=function(){var e=new l;return e.resolve=s(e,e.resolve),e.reject=s(e,e.reject),e.notify=s(e,e.notify),e};d(i.prototype,{then:function(e,t,n){if(w(e)&&w(t)&&w(n))return this;var r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&u(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return g(t,!0,e)},function(t){return g(t,!1,e)},t)}}),d(l.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(h("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function n(e){a||(a=!0,o.$$resolve(e))}function r(e){a||(a=!0,o.$$reject(e))}var i,o=this,a=!1;try{(b(e)||E(e))&&(i=e&&e.then),E(i)?(this.promise.$$state.status=-1,i.call(e,n,r,s(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,u(this.promise.$$state))}catch(l){r(l),t(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,u(this.promise.$$state)},notify:function(n){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,s=r.length;s>o;o++){i=r[o][0],e=r[o][3];try{i.notify(E(e)?e(n):n)}catch(a){t(a)}}})}});var p=function(e){var t=new l;return t.reject(e),t.promise},m=function(e,t){var n=new l;return t?n.resolve(e):n.reject(e),n.promise},g=function(e,t,n){var r=null;try{E(n)&&(r=n())}catch(i){return m(i,!1)}return F(r)?r.then(function(){return m(e,t)},function(e){return m(e,!1)}):m(e,t)},v=function(e,t,n,r){var i=new l;return i.resolve(e),i.promise.then(t,n,r)},$=v,y=function(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!E(e))throw h("norslvr","Expected resolverFn, got '{0}'",e);var r=new l;return e(t,n),r.promise};return y.prototype=i.prototype,y.defer=f,y.reject=p,y.when=v,y.resolve=$,y.all=c,y}function br(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function Cr(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=u(),this.$$ChildScope=null}return t.prototype=e,t}var t=10,n=r("$rootScope"),s=null,a=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$exceptionHandler","$parse","$browser",function(r,l,c){function d(e){e.currentScope.$$destroyed=!0}function h(e){9===Fi&&(e.$$childHead&&h(e.$$childHead),e.$$nextSibling&&h(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function f(){this.$id=u(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function p(e){if(x.$$phase)throw n("inprog","{0} already in progress",x.$$phase);x.$$phase=e}function g(){x.$$phase=null}function v(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function $(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function y(){}function C(){for(;k.length;)try{k.shift()()}catch(e){r(e)}a=null}function q(){null===a&&(a=c.defer(function(){x.$apply(C)}))}f.prototype={constructor:f,$new:function(t,n){var r;return n=n||this,t?(r=new f,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",d),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:y,get:i,exp:r||e,eq:!!n};return s=null,E(t)||(u.fn=m),a||(a=o.$$watchers=[]),a.unshift(u),v(this,1),function(){B(a,u)>=0&&v(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(i,i,a)):t(i,r,a)}var r=new Array(e.length),i=new Array(e.length),s=[],a=this,u=!1,l=!0;if(!e.length){var c=!0;return a.$evalAsync(function(){c&&t(i,i,a)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){i[0]=e,r[0]=n,t(i,e===n?i:r,o)}):(o(e,function(e,t){var o=a.$watch(e,function(e,o){i[t]=e,r[t]=o,u||(u=!0,a.$evalAsync(n))});s.push(o)}),function(){for(;s.length;)s.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,r,a,u;if(!w(o)){if(b(o))if(i(o)){s!==f&&(s=f,g=s.length=0,d++),t=o.length,g!==t&&(d++,s.length=g=t);for(var l=0;t>l;l++)u=s[l],a=o[l],r=u!==u&&a!==a,r||u===a||(d++,s[l]=a)}else{s!==p&&(s=p={},g=0,d++),t=0;for(n in o)Ti.call(o,n)&&(t++,a=o[n],u=s[n],n in s?(r=u!==u&&a!==a,r||u===a||(d++,s[n]=a)):(g++,s[n]=a,d++));if(g>t){d++;for(n in s)Ti.call(o,n)||(g--,delete s[n])}}else s!==o&&(s=o,d++);return d}}function r(){if(m?(m=!1,t(o,o,u)):t(o,a,u),c)if(b(o))if(i(o)){a=new Array(o.length);for(var e=0;e<o.length;e++)a[e]=o[e]}else{a={};for(var n in o)Ti.call(o,n)&&(a[n]=o[n])}else a=o}n.$stateful=!0;var o,s,a,u=this,c=t.length>1,d=0,h=l(e,n),f=[],p={},m=!0,g=0;return this.$watch(h,r)},$digest:function(){var e,i,o,u,l,d,h,f,m,v,$,w,b=t,q=this,k=[];p("$digest"),c.$$checkUrlChange(),this===x&&null!==a&&(c.defer.cancel(a),C()),s=null;do{for(f=!1,v=q;A.length;){try{w=A.shift(),w.scope.$eval(w.expression,w.locals)}catch(T){r(T)}s=null}e:do{if(d=v.$$watchers)for(h=d.length;h--;)try{if(e=d[h])if(l=e.get,(i=l(v))===(o=e.last)||(e.eq?U(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(e===s){f=!1;break e}}else f=!0,s=e,e.last=e.eq?j(i,null):i,u=e.fn,u(i,o===y?i:o,v),5>b&&($=4-b,k[$]||(k[$]=[]),k[$].push({msg:E(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:i,oldVal:o}))}catch(T){r(T)}if(!(m=v.$$watchersCount&&v.$$childHead||v!==q&&v.$$nextSibling))for(;v!==q&&!(m=v.$$nextSibling);)v=v.$parent}while(v=m);if((f||A.length)&&!b--)throw g(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,k)}while(f||A.length);for(g();S.length;)try{S.shift()()}catch(T){r(T)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===x&&c.$$applicationDestroyed(),v(this,-this.$$watchersCount);for(var t in this.$$listenerCount)$(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=m,this.$on=this.$watch=this.$watchGroup=function(){return m},this.$$listeners={},this.$$nextSibling=null,h(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){x.$$phase||A.length||c.defer(function(){A.length&&x.$digest()}),A.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){S.push(e)},$apply:function(e){try{p("$apply");try{return this.$eval(e)}finally{g()}}catch(t){r(t)}finally{try{x.$digest()}catch(t){throw r(t),t}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&k.push(t),e=l(e),q()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,$(i,1,e))}},$emit:function(e){var t,n,i,o=[],s=this,a=!1,u={name:e,targetScope:s,stopPropagation:function(){a=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},l=X([u],arguments,1);do{for(t=s.$$listeners[e]||o,u.currentScope=s,n=0,i=t.length;i>n;n++)if(t[n])try{t[n].apply(null,l)}catch(c){r(c)}else t.splice(n,1),n--,i--;if(a)return u.currentScope=null,u;s=s.$parent}while(s);return u.currentScope=null,u},$broadcast:function(e){var t=this,n=t,i=t,o={name:e,targetScope:t,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!t.$$listenerCount[e])return o;for(var s,a,u,l=X([o],arguments,1);n=i;){for(o.currentScope=n,s=n.$$listeners[e]||[],a=0,u=s.length;u>a;a++)if(s[a])try{s[a].apply(null,l)}catch(c){r(c)}else s.splice(a,1),a--,u--;if(!(i=n.$$listenerCount[e]&&n.$$childHead||n!==t&&n.$$nextSibling))for(;n!==t&&!(i=n.$$nextSibling);)n=n.$parent}return o.currentScope=null,o}};var x=new f,A=x.$$asyncQueue=[],S=x.$$postDigestQueue=[],k=x.$$applyAsyncQueue=[];return x}]}function qr(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=Or(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function xr(e){if("self"===e)return e;if(q(e)){if(e.indexOf("***")>-1)throw vs("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=Yi(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw vs("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Ar(e){var t=[];return y(e)&&o(e,function(e){t.push(xr(e))}),t}function Er(){this.SCE_CONTEXTS=$s;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Ar(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Ar(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Mr(t):!!e.exec(t.href)}function i(n){var i,o,s=Or(n.toString()),a=!1;for(i=0,o=e.length;o>i;i++)if(r(e[i],s)){a=!0;break}if(a)for(i=0,o=t.length;o>i;i++)if(r(t[i],s)){a=!1;break}return a}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function s(e,t){var n=d.hasOwnProperty(e)?d[e]:null;if(!n)throw vs("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||w(t)||""===t)return t;if("string"!=typeof t)throw vs("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function a(e){return e instanceof c?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||w(t)||""===t)return t;var n=d.hasOwnProperty(e)?d[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===$s.RESOURCE_URL){if(i(t))return t;throw vs("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",t.toString())}if(e===$s.HTML)return l(t);throw vs("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(){throw vs("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),d={};return d[$s.HTML]=o(c),d[$s.CSS]=o(c),d[$s.URL]=o(c),d[$s.JS]=o(c),d[$s.RESOURCE_URL]=o(d[$s.URL]),{trustAs:s,getTrusted:u,valueOf:a}}]}function Sr(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Fi)throw vs("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var r=H($s);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=g),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,s=r.getTrusted,a=r.trustAs;return o($s,function(e,t){var n=Ii(t);r[qt("parse_as_"+n)]=function(t){return i(e,t)},r[qt("get_trusted_"+n)]=function(t){return s(e,t)},r[qt("trust_as_"+n)]=function(t){return a(e,t)}}),r}]}function kr(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,s=!o&&e.history&&e.history.pushState,a=f((/android (\d+)/.exec(Ii((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!a||h&&p||(h=q(d.webkitTransition),p=q(d.webkitAnimation))}return{history:!(!s||4>a||u),hasEvent:function(e){if("input"===e&&11>=Fi)return!1;if(w(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Ji(),vendorPrefix:n,transitions:h,animations:p,android:a}}]}function Tr(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(s,a){function u(e){if(!a)throw ws("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,q(s)&&t.get(s)||(s=i.getTrustedResourceUrl(s));var l=n.defaults&&n.defaults.transformResponse;return _i(l)?l=l.filter(function(e){return e!==En}):l===En&&(l=null),n.get(s,d({cache:t,transformResponse:l},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(s,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function Ir(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return o(r,function(e){var r=Xi.element(e).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+Yi(t)+"(\\s|\\||$)");o.test(r)&&i.push(e)}else-1!=r.indexOf(t)&&i.push(e)})}),i},r.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",s="["+r[i]+"model"+o+'"'+t+'"]',a=e.querySelectorAll(s);if(a.length)return a}},r.getLocation=function(){return n.url()},r.setLocation=function(t){t!==n.url()&&(n.url(t),e.$digest())},r.whenStable=function(e){t.notifyWhenNoOutstandingRequests(e)},r}]}function Nr(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,a,u){E(o)||(u=a,a=o,o=m);var l,c=Q(arguments,3),d=y(u)&&!u,h=(d?r:n).defer(),f=h.promise;return l=t.defer(function(){try{h.resolve(o.apply(null,c))}catch(t){h.reject(t),i(t)}finally{delete s[f.$$timeoutId]}d||e.$apply()},a),f.$$timeoutId=l,s[l]=h,f}var s={};return o.cancel=function(e){return e&&e.$$timeoutId in s?(s[e.$$timeoutId].reject("canceled"),delete s[e.$$timeoutId],t.defer.cancel(e.$$timeoutId)):!1},o}]}function Or(e){var t=e;return Fi&&(ys.setAttribute("href",t),t=ys.href),ys.setAttribute("href",t),{href:ys.href,protocol:ys.protocol?ys.protocol.replace(/:$/,""):"",host:ys.host,search:ys.search?ys.search.replace(/^\?/,""):"",hash:ys.hash?ys.hash.replace(/^#/,""):"",hostname:ys.hostname,port:ys.port,pathname:"/"===ys.pathname.charAt(0)?ys.pathname:"/"+ys.pathname}}function Mr(e){var t=q(e)?Or(e):e;return t.protocol===bs.protocol&&t.host===bs.host}function Fr(){this.$get=v(e)}function Dr(e){function t(e){try{return decodeURIComponent(e)}catch(t){return e}}var n=e[0]||{},r={},i="";return function(){var e,o,s,a,u,l=n.cookie||"";if(l!==i)for(i=l,e=i.split("; "),r={},s=0;s<e.length;s++)o=e[s],a=o.indexOf("="),a>0&&(u=t(o.substring(0,a)),w(r[u])&&(r[u]=t(o.substring(a+1))));return r}}function Lr(){this.$get=Dr}function Vr(e){function t(r,i){if(b(r)){var s={};return o(r,function(e,n){s[n]=t(n,e)}),s}return e.factory(r+n,i)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Hr),t("date",ri),t("filter",Pr),t("json",ii),t("limitTo",oi),t("lowercase",ks),t("number",Ur),t("orderBy",si),t("uppercase",Ts)}function Pr(){return function(e,t,n){if(!i(e)){if(null==e)return e;throw r("filter")("notarray","Expected array but received: {0}",e)}var o,s,a=jr(t);switch(a){case"function":o=t;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":o=Rr(t,n,s);break;default:return e}return Array.prototype.filter.call(e,o)}}function Rr(e,t,n){var r,i=b(e)&&"$"in e;return t===!0?t=U:E(t)||(t=function(e,t){return w(e)?!1:null===e||null===t?e===t:b(t)||b(e)&&!$(e)?!1:(e=Ii(""+e),t=Ii(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!b(r)?Br(r,e.$,t,!1):Br(r,e,t,n)}}function Br(e,t,n,r,i){var o=jr(e),s=jr(t);if("string"===s&&"!"===t.charAt(0))return!Br(e,t.substring(1),n,r);if(_i(e))return e.some(function(e){return Br(e,t,n,r)});switch(o){case"object":var a;if(r){for(a in e)if("$"!==a.charAt(0)&&Br(e[a],t,n,!0))return!0;return i?!1:Br(e,t,n,!1)}if("object"===s){for(a in t){var u=t[a];if(!E(u)&&!w(u)){var l="$"===a,c=l?e:e[a];if(!Br(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function jr(e){return null===e?"null":typeof e}function Hr(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return w(n)&&(n=t.CURRENCY_SYM),w(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:_r(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Ur(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:_r(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Xr(e){var t,n,r,i,o,s=0;for((n=e.indexOf(qs))>-1&&(e=e.replace(qs,"")),(r=e.search(/e/i))>0?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)==xs;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==xs;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>Cs&&(t=t.splice(0,Cs-1),s=n-1,n=1),{d:t,e:s,i:n}}function Qr(e,t,n,r){var i=e.d,o=i.length-e.i;t=w(t)?Math.min(Math.max(n,o),r):+t;var s=t+e.i,a=i[s];if(s>0){i.splice(Math.max(e.i,s));for(var u=s;u<i.length;u++)i[u]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,s=t+1),i[0]=0;for(var l=1;s>l;l++)i[l]=0}if(a>=5)if(0>s-1){for(var c=0;c>s;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[s-1]++;for(;o<Math.max(0,t);o++)i.push(0);var d=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);d&&(i.unshift(d),e.i++)}function _r(e,t,n,r,i){if(!q(e)&&!x(e)||isNaN(e))return"";var o,s=!isFinite(e),a=!1,u=Math.abs(e)+"",l="";if(s)l="∞";else{o=Xr(u),Qr(o,i,t.minFrac,t.maxFrac);var c=o.d,d=o.i,h=o.e,f=[];for(a=c.reduce(function(e,t){return e&&!t},!0);0>d;)c.unshift(0),d++;d>0?f=c.splice(d):(f=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),f.length&&(l+=r+f.join("")),h&&(l+="e+"+h)}return 0>e&&!a?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Gr(e,t,n,r){var i="";for((0>e||r&&0>=e)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length<t;)e=xs+e;return n&&(e=e.substr(e.length-t)),i+e}function Wr(e,t,n,r,i){return n=n||0,function(o){var s=o["get"+e]();return(n>0||s>-n)&&(s+=n),0===s&&-12==n&&(s=12),Gr(s,t,r,i)}}function Yr(e,t,n){return function(r,i){var o=r["get"+e](),s=(n?"STANDALONE":"")+(t?"SHORT":""),a=Ni(s+e);return i[a][o]}}function Jr(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Gr(Math[r>0?"floor":"ceil"](r/60),2)+Gr(Math.abs(r%60),2)}function Zr(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function zr(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Kr(e){return function(t){var n=Zr(t.getFullYear()),r=zr(t),i=+r-+n,o=1+Math.round(i/6048e5);return Gr(o,e)}}function ei(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function ti(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function ni(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function ri(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,s=t[8]?r.setUTCFullYear:r.setFullYear,a=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),s.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return a.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var s,a,u="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,q(n)&&(n=Ss.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!A(n)||!isFinite(n.getTime()))return n;for(;r;)a=Es.exec(r),a?(l=X(l,a,1),r=l.pop()):(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=J(i,c),n=z(n,i,!0)),o(l,function(t){s=As[t],u+=s?s(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ii(){return function(e,t){return w(t)&&(t=2),W(e,t)}}function oi(){return function(e,t,n){return t=1/0===Math.abs(Number(t))?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),_i(e)||q(e)?(n=!n||isNaN(n)?0:f(n),n=0>n?Math.max(0,e.length+n):n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function si(e){function t(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=g;if(E(t))i=t;else if(q(t)&&(("+"==t.charAt(0)||"-"==t.charAt(0))&&(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant))){var o=i();i=function(e){return e[o]}}return{get:i,descending:r*n}})}function n(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){return"function"==typeof e.valueOf&&(e=e.valueOf(),n(e))?e:$(e)&&(e=e.toString(),n(e))?e:t}function s(e,t){var n=typeof e;return null===e?(n="string",e="null"):"string"===n?e=e.toLowerCase():"object"===n&&(e=o(e,t)),{value:e,type:n}}function a(e,t){var n=0;return e.type===t.type?e.value!==t.value&&(n=e.value<t.value?-1:1):n=e.type<t.type?-1:1,n}return function(e,n,o){function u(e,t){return{value:e,predicateValues:c.map(function(n){return s(n.get(e),t)})}}function l(e,t){for(var n=0,r=0,i=c.length;i>r&&!(n=a(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!i(e))throw r("orderBy")("notarray","Expected array but received: {0}",e);_i(n)||(n=[n]),0===n.length&&(n=["+"]);var c=t(n,o);c.push({get:function(){return{}},descending:o?-1:1});var d=Array.prototype.map.call(e,u);return d.sort(l),e=d.map(function(e){return e.value})}}function ai(e){return E(e)&&(e={link:e}),e.restrict=e.restrict||"AC",v(e)}function ui(e,t){e.$name=t}function li(e,t,r,i,s){var a=this,u=[];a.$error={},a.$$success={},a.$pending=n,a.$name=s(t.name||t.ngForm||"")(r),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,a.$$parentForm=Os,a.$rollbackViewValue=function(){o(u,function(e){e.$rollbackViewValue()})},a.$commitViewValue=function(){o(u,function(e){e.$commitViewValue()})},a.$addControl=function(e){pt(e.$name,"input"),u.push(e),e.$name&&(a[e.$name]=e),e.$$parentForm=a},a.$$renameControl=function(e,t){var n=e.$name;a[n]===e&&delete a[n],a[t]=e,e.$name=t},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],o(a.$pending,function(t,n){a.$setValidity(n,null,e)}),o(a.$error,function(t,n){a.$setValidity(n,null,e)}),o(a.$$success,function(t,n){a.$setValidity(n,null,e)}),B(u,e),e.$$parentForm=Os},xi({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(B(r,n),0===r.length&&delete e[t])},$animate:i}),a.$setDirty=function(){i.removeClass(e,ga),i.addClass(e,va),a.$dirty=!0,a.$pristine=!1,a.$$parentForm.$setDirty()},a.$setPristine=function(){i.setClass(e,ga,va+" "+Ms),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,o(u,function(e){e.$setPristine()})},a.$setUntouched=function(){o(u,function(e){e.$setUntouched()})},a.$setSubmitted=function(){i.addClass(e,Ms),a.$submitted=!0,a.$$parentForm.$setSubmitted()}}function ci(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function di(e,t,n,r,i,o){hi(e,t,n,r,i,o),ci(r)}function hi(e,t,n,r,i,o){var s=Ii(t[0].type);if(!i.android){var a=!1;t.on("compositionstart",function(){a=!0}),t.on("compositionend",function(){a=!1,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!a){var i=t.val(),l=e&&e.type;"password"===s||n.ngTrim&&"false"===n.ngTrim||(i=Wi(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),Gs[s]&&r.$$hasNativeValidators&&s===n.type&&t.on(_s,function(e){if(!u){var t=this[ki],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,(t.badInput!==n||t.typeMismatch!==r)&&l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function fi(e,t){if(A(e))return e;if(q(e)){Us.lastIndex=0;var n=Us.exec(e);if(n){var r=+n[1],i=+n[2],o=0,s=0,a=0,u=0,l=Zr(r),c=7*(i-1);return t&&(o=t.getHours(),s=t.getMinutes(),a=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,s,a,u)}}return 0/0}function pi(e,t){return function(n,r){var i,s;if(A(n))return n;if(q(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Vs.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),s=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(e,n){n<t.length&&(s[t[n]]=+e)}),new Date(s.yyyy,s.MM-1,s.dd,s.HH,s.mm,s.ss||0,1e3*s.sss||0)}return 0/0}}function mi(e,t,r,i){return function(o,s,a,u,l,c,d){function h(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function f(e){return y(e)&&!A(e)?r(e)||n:e}gi(o,s,a,u),hi(o,s,a,u,l,c);var p,m=u&&u.$options&&u.$options.timezone;if(u.$$parserName=e,u.$parsers.push(function(e){if(u.$isEmpty(e))return null;if(t.test(e)){var i=r(e,p);return m&&(i=z(i,m)),i}return n}),u.$formatters.push(function(e){if(e&&!A(e))throw qa("datefmt","Expected `{0}` to be a date",e);return h(e)?(p=e,p&&m&&(p=z(p,m,!0)),d("date")(e,i,m)):(p=null,"")}),y(a.min)||a.ngMin){var g;u.$validators.min=function(e){return!h(e)||w(g)||r(e)>=g},a.$observe("min",function(e){g=f(e),u.$validate()})}if(y(a.max)||a.ngMax){var v;u.$validators.max=function(e){return!h(e)||w(v)||r(e)<=v},a.$observe("max",function(e){v=f(e),u.$validate()})}}}function gi(e,t,r,i){var o=t[0],s=i.$$hasNativeValidators=b(o.validity);s&&i.$parsers.push(function(e){var r=t.prop(ki)||{};return r.badInput||r.typeMismatch?n:e})}function vi(e,t,r,i,o,s){if(gi(e,t,r,i),hi(e,t,r,i,o,s),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:Bs.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!x(e))throw qa("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),y(r.min)||r.ngMin){var a;i.$validators.min=function(e){return i.$isEmpty(e)||w(a)||e>=a},r.$observe("min",function(e){y(e)&&!x(e)&&(e=parseFloat(e,10)),a=x(e)&&!isNaN(e)?e:n,i.$validate()})}if(y(r.max)||r.ngMax){var u;i.$validators.max=function(e){return i.$isEmpty(e)||w(u)||u>=e},r.$observe("max",function(e){y(e)&&!x(e)&&(e=parseFloat(e,10)),u=x(e)&&!isNaN(e)?e:n,i.$validate()})}}function $i(e,t,n,r,i,o){hi(e,t,n,r,i,o),ci(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ps.test(n)}}function wi(e,t,n,r,i,o){hi(e,t,n,r,i,o),ci(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Rs.test(n)}}function yi(e,t,n,r){w(n.name)&&t.attr("name",u());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function bi(e,t,n,r,i){var o;if(y(r)){if(o=e(r),!o.constant)throw qa("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);
  return o(t)}return i}function Ci(e,t,n,r,i,o,s,a){var u=bi(a,e,"ngTrueValue",n.ngTrueValue,!0),l=bi(a,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return U(e,u)}),r.$parsers.push(function(e){return e?u:l})}function qi(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i==t[o])continue e;n.push(i)}return n}function i(e){var t=[];return _i(e)?(o(e,function(e){t=t.concat(i(e))}),t):q(e)?e.split(" "):b(e)?(o(e,function(e,n){e&&(t=t.concat(n.split(" ")))}),t):e}return{restrict:"AC",link:function(s,a,u){function l(e){var t=d(e,1);u.$addClass(t)}function c(e){var t=d(e,-1);u.$removeClass(t)}function d(e,t){var n=a.data("$classCounts")||vt(),r=[];return o(e,function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),a.data("$classCounts",n),r.join(" ")}function h(e,t){var i=r(t,e),o=r(e,t);i=d(i,1),o=d(o,-1),i&&i.length&&n.addClass(a,i),o&&o.length&&n.removeClass(a,o)}function f(e){if(t===!0||s.$index%2===t){var n=i(e||[]);if(p){if(!U(e,p)){var r=i(p);h(r,n)}}else l(n)}p=H(e)}var p;s.$watch(u[e],f,!0),u.$observe("class",function(){f(s.$eval(u[e]))}),"ngClass"!==e&&s.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var a=i(s.$eval(u[e]));o===t?l(a):c(a)}})}}}]}function xi(e){function t(e,t,u){w(t)?r("$pending",e,u):i("$pending",e,u),M(t)?t?(d(a.$error,e,u),c(a.$$success,e,u)):(c(a.$error,e,u),d(a.$$success,e,u)):(d(a.$error,e,u),d(a.$$success,e,u)),a.$pending?(o(ya,!0),a.$valid=a.$invalid=n,s("",null)):(o(ya,!1),a.$valid=Ai(a.$error),a.$invalid=!a.$valid,s("",a.$valid));var l;l=a.$pending&&a.$pending[e]?n:a.$error[e]?!1:a.$$success[e]?!0:null,s(e,l),a.$$parentForm.$setValidity(e,l,a)}function r(e,t,n){a[e]||(a[e]={}),c(a[e],t,n)}function i(e,t,r){a[e]&&d(a[e],t,r),Ai(a[e])&&(a[e]=n)}function o(e,t){t&&!l[e]?(h.addClass(u,e),l[e]=!0):!t&&l[e]&&(h.removeClass(u,e),l[e]=!1)}function s(e,t){e=e?"-"+ct(e,"-"):"",o(pa+e,t===!0),o(ma+e,t===!1)}var a=e.ctrl,u=e.$element,l={},c=e.set,d=e.unset,h=e.$animate;l[ma]=!(l[pa]=u.hasClass(pa)),a.$setValidity=t}function Ai(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Ei(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Si=/^\/(.+)\/([a-z]*)$/,ki="validity",Ti=Object.prototype.hasOwnProperty,Ii=function(e){return q(e)?e.toLowerCase():e},Ni=function(e){return q(e)?e.toUpperCase():e},Oi=function(e){return q(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Mi=function(e){return q(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Ii=Oi,Ni=Mi);var Fi,Di,Li,Vi,Pi=[].slice,Ri=[].splice,Bi=[].push,ji=Object.prototype.toString,Hi=Object.getPrototypeOf,Ui=r("ng"),Xi=e.angular||(e.angular={}),Qi=0;Fi=t.documentMode,m.$inject=[],g.$inject=[];var _i=Array.isArray,Gi=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Wi=function(e){return q(e)?e.trim():e},Yi=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Ji=function(){function e(){try{return new Function(""),!1}catch(e){return!0}}if(!y(Ji.rules)){var n=t.querySelector("[ng-csp]")||t.querySelector("[data-ng-csp]");if(n){var r=n.getAttribute("ng-csp")||n.getAttribute("data-ng-csp");Ji.rules={noUnsafeEval:!r||-1!==r.indexOf("no-unsafe-eval"),noInlineStyle:!r||-1!==r.indexOf("no-inline-style")}}else Ji.rules={noUnsafeEval:e(),noInlineStyle:!1}}return Ji.rules},Zi=function(){if(y(Zi.name_))return Zi.name_;var e,n,r,i,o=Ki.length;for(n=0;o>n;++n)if(r=Ki[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return Zi.name_=i},zi=/:/g,Ki=["ng-","data-ng-","ng:","x-ng-"],eo=/[A-Z]/g,to=!1,no=1,ro=2,io=3,oo=8,so=9,ao=11,uo={full:"1.5.3",major:1,minor:5,dot:3,codeName:"diplohaplontic-meiosis"};Nt.expando="ng339";var lo=Nt.cache={},co=1,ho=function(e,t,n){e.addEventListener(t,n,!1)},fo=function(e,t,n){e.removeEventListener(t,n,!1)};Nt._data=function(e){return this.cache[e[this.expando]]||{}};var po=/([\:\-\_]+(.))/g,mo=/^moz([A-Z])/,go={mouseleave:"mouseout",mouseenter:"mouseover"},vo=r("jqLite"),$o=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,wo=/<|&#?\w+;/,yo=/<([\w:-]+)/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Co={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Co.optgroup=Co.option,Co.tbody=Co.tfoot=Co.colgroup=Co.caption=Co.thead,Co.th=Co.td;var qo=Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},xo=Nt.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),Nt(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return e>=0?Di(this[e]):Di(this[this.length+e])},length:0,push:Bi,sort:[].sort,splice:[].splice},Ao={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ao[Ii(e)]=e});var Eo={};o("input,select,option,textarea,button,form,details".split(","),function(e){Eo[e]=!0});var So={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:Vt,removeData:Dt,hasData:Et,cleanData:St},function(e,t){Nt[t]=e}),o({data:Vt,inheritedData:Ut,scope:function(e){return Di.data(e,"$scope")||Ut(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Di.data(e,"$isolateScope")||Di.data(e,"$isolateScopeNoTemplate")},controller:Ht,injector:function(e){return Ut(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pt,css:function(e,t,n){return t=qt(t),y(n)?(e.style[t]=n,void 0):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==io&&i!==ro&&i!==oo){var o=Ii(t);if(Ao[o]){if(!y(r))return e[t]||(e.attributes.getNamedItem(t)||m).specified?o:n;r?(e[t]=!0,e.setAttribute(t,o)):(e[t]=!1,e.removeAttribute(o))}else if(y(r))e.setAttribute(t,r);else if(e.getAttribute){var s=e.getAttribute(t,2);return null===s?n:s}}},prop:function(e,t,n){return y(n)?(e[t]=n,void 0):e[t]},text:function(){function e(e,t){if(w(t)){var n=e.nodeType;return n===no||n===io?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(w(t)){if(e.multiple&&"select"===R(e)){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return w(t)?e.innerHTML:(Mt(e,!0),e.innerHTML=t,void 0)},empty:Xt},function(e,t){Nt.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Xt&&w(2==e.length&&e!==Pt&&e!==Ht?t:n)){if(b(t)){for(r=0;o>r;r++)if(e===Vt)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var s=e.$dv,a=w(s)?Math.min(o,1):o,u=0;a>u;u++){var l=e(this[u],t,n);s=s?s+l:l}return s}for(r=0;o>r;r++)e(this[r],t,n);return this}}),o({removeData:Dt,on:function(e,t,r,i){if(y(i))throw vo("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(At(e)){var o=Lt(e,!0),s=o.events,a=o.handle;a||(a=o.handle=Yt(e,s));for(var u=t.indexOf(" ")>=0?t.split(" "):[t],l=u.length,c=function(t,n,i){var o=s[t];o||(o=s[t]=[],o.specialHandlerWrapper=n,"$destroy"===t||i||ho(e,t,a)),o.push(r)};l--;)t=u[l],go[t]?(c(go[t],Zt),c(t,n,!0)):c(t)}},off:Ft,one:function(e,t,n){e=Di(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;Mt(e),o(new Nt(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){e.nodeType===no&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===no||n===ao){t=new Nt(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===no){var n=e.firstChild;o(new Nt(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){It(e,Di(t).eq(0).clone()[0])},remove:Qt,detach:function(e){Qt(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new Nt(t);for(var i=0,o=t.length;o>i;i++){var s=t[i];r.insertBefore(s,n.nextSibling),n=s}},addClass:Bt,removeClass:Rt,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;w(r)&&(r=!Pt(e,t)),(r?Bt:Rt)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==ao?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Ot,triggerHandler:function(e,t,n){var r,i,s,a=t.type||t,u=Lt(e),l=u&&u.events,c=l&&l[a];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:m,type:a,target:e},t.type&&(r=d(r,t)),i=H(c),s=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,s)}))}},function(e,t){Nt.prototype[t]=function(t,n,r){for(var i,o=0,s=this.length;s>o;o++)w(i)?(i=e(this[o],t,n,r),y(i)&&(i=Di(i))):jt(i,e(this[o],t,n,r));return y(i)?i:this},Nt.prototype.bind=Nt.prototype.on,Nt.prototype.unbind=Nt.prototype.off}),en.prototype={put:function(e,t){this[Kt(e,this.nextUid)]=t},get:function(e){return this[Kt(e,this.nextUid)]},remove:function(e){var t=this[e=Kt(e,this.nextUid)];return delete this[e],t}};var ko=[function(){this.$get=[function(){return en}]}],To=/^([^\(]+?)=>/,Io=/^[^\(]*\(\s*([^\)]*)\)/m,No=/,/,Oo=/^\s*(_?)(\S+?)\1\s*$/,Mo=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Fo=r("$injector");on.$$annotate=rn;var Do=r("$animate"),Lo=1,Vo="ng-animate",Po=function(){this.$get=m},Ro=function(){var e=new en,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=q(t)?t.split(" "):_i(t)?t:[],o(t,function(t){t&&(r=!0,e[t]=n)})),r}function s(){o(t,function(t){var n=e.get(t);if(n){var r=ln(t.attr("class")),i="",s="";o(n,function(e,t){var n=!!r[t];e!==n&&(e?i+=(i.length?" ":"")+t:s+=(s.length?" ":"")+t)}),o(t,function(e){i&&Bt(e,i),s&&Rt(e,s)}),e.remove(t)}}),t.length=0}function a(n,o,a){var u=e.get(n)||{},l=i(u,o,!0),c=i(u,a,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&r.$$postDigest(s))}return{enabled:m,on:m,off:m,pin:m,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&a(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Bo=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Do("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)"+Vo+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Do("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Vo)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=un(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Di(r),i=i&&Di(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",cn(o))},move:function(n,r,i,o){return r=r&&Di(r),i=i&&Di(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",cn(o))},leave:function(t,n){return e.push(t,"leave",cn(n),function(){t.remove()})},addClass:function(t,n,r){return r=cn(r),r.addClass=an(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=cn(r),r.removeClass=an(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=cn(i),i.addClass=an(i.addClass,n),i.removeClass=an(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=cn(o),o.from=o.from?d(o.from,n):n,o.to=o.to?d(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=an(o.tempClasses,i),e.push(t,"animate",o)}}}]}],jo=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}var n=[];return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}]},Ho=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(e,t,n,r,i){function s(e){this.setHost(e);var t=n(),o=function(e){i(e,0,!1)};this._doneCallbacks=[],this._tick=function(e){var n=r[0];n&&n.hidden?o(e):t(e)},this._state=0}var a=0,u=1,l=2;return s.chain=function(e,t){function n(){return r===e.length?(t(!0),void 0):(e[r](function(e){return e===!1?(t(!1),void 0):(r++,n(),void 0)}),void 0)}var r=0;n()},s.all=function(e,t){function n(n){i=i&&n,++r===e.length&&t(i)}var r=0,i=!0;o(e,function(e){e.done(n)})},s.prototype={setHost:function(e){this.host=e||{}},done:function(e){this._state===l?e():this._doneCallbacks.push(e)},progress:m,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){t===!1?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},"catch":function(e){return this.getPromise()["catch"](e)},"finally":function(e){return this.getPromise()["finally"](e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;t._state===a&&(t._state=u,t._tick(function(){t._resolve(e)}))},_resolve:function(e){this._state!==l&&(o(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=l)}},s}]},Uo=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){function i(){return e(function(){o(),a||u.complete(),a=!0}),u}function o(){s.addClass&&(t.addClass(s.addClass),s.addClass=null),s.removeClass&&(t.removeClass(s.removeClass),s.removeClass=null),s.to&&(t.css(s.to),s.to=null)}var s=r||{};s.$$prepared||(s=j(s)),s.cleanupStyles&&(s.from=s.to=null),s.from&&(t.css(s.from),s.from=null);var a,u=new n;return{start:i,end:i}}}]},Xo=r("$compile");mn.$inject=["$provide","$$sanitizeUriProvider"];var Qo=/^((?:x|data)[\:\-_])/i,_o=r("$controller"),Go=/^(\S+)(\s+as\s+([\w$]+))?$/,Wo=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof Di&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Yo="application/json",Jo={"Content-Type":Yo+";charset=utf-8"},Zo=/^\[|^\{(?!\{)/,zo={"[":/]$/,"{":/}$/},Ko=/^\)\]\}',?\n/,es=r("$http"),ts=function(e){return function(){throw es("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",e)}},ns=Xi.$interpolateMinErr=r("$interpolate");ns.throwNoconcat=function(e){throw ns("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",e)},ns.interr=function(e,t){return ns("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var rs=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,is={http:80,https:443,ftp:21},os=r("$location"),ss={$$html5:!1,$$replace:!1,absUrl:Yn("$$absUrl"),url:function(e){if(w(e))return this.$$url;var t=rs.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Yn("$$protocol"),host:Yn("$$host"),port:Yn("$$port"),path:Jn("$$path",function(e){return e=null!==e?e.toString():"","/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(q(e)||x(e))e=e.toString(),this.$$search=tt(e);else{if(!b(e))throw os("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=j(e,{}),o(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:w(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:Jn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};o([Wn,Gn,_n],function(e){e.prototype=Object.create(ss),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==_n||!this.$$html5)throw os("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=w(t)?null:t,this}});var as=r("$parse"),us=Function.prototype.call,ls=Function.prototype.apply,cs=Function.prototype.bind,ds=vt();o("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){ds[e]=!0});var hs={n:"\n",f:"\f",r:"\r",t:"	",v:"","'":"'",'"':'"'},fs=function(e){this.options=e};fs.prototype={constructor:fs,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(t))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=ds[t],o=ds[n],s=ds[r];if(i||o||s){var a=s?r:o?n:t;this.tokens.push({index:this.index,text:a,operator:!0}),this.index+=a.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return e>="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"	"===e||"\n"===e||""===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw as("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=Ii(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){for(var e=this.index;this.index<this.text.length;){var t=this.text.charAt(this.index);if(!this.isIdent(t)&&!this.isNumber(t))break;this.index++}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var s=this.text.substring(this.index+1,this.index+5);s.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+s+"]"),this.index+=4,n+=String.fromCharCode(parseInt(s,16))}else{var a=hs[o];n+=a||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,this.tokens.push({index:t,text:r,constant:!0,value:n}),void 0;n+=o}this.index++}this.throwError("Unterminated quote",t)}};var ps=function(e,t){this.lexer=e,this.options=t};ps.Program="Program",ps.ExpressionStatement="ExpressionStatement",ps.AssignmentExpression="AssignmentExpression",ps.ConditionalExpression="ConditionalExpression",ps.LogicalExpression="LogicalExpression",ps.BinaryExpression="BinaryExpression",ps.UnaryExpression="UnaryExpression",ps.CallExpression="CallExpression",ps.MemberExpression="MemberExpression",ps.Identifier="Identifier",ps.Literal="Literal",ps.ArrayExpression="ArrayExpression",ps.Property="Property",ps.ObjectExpression="ObjectExpression",ps.ThisExpression="ThisExpression",ps.LocalsExpression="LocalsExpression",ps.NGValueParameter="NGValueParameter",ps.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:ps.Program,body:e}},expressionStatement:function(){return{type:ps.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:ps.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:ps.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:ps.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:ps.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:ps.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:ps.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:ps.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:ps.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:ps.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=j(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:ps.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:ps.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:ps.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:ps.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:ps.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:ps.Identifier,name:e.text}},constant:function(){return{type:ps.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:ps.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:ps.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:ps.ObjectExpression,properties:t}},throwError:function(e,t){throw as("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw as("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw as("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],s=o.text;if(s===t||s===n||s===r||s===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},selfReferential:{"this":{type:ps.ThisExpression},$locals:{type:ps.LocalsExpression}}},fr.prototype={compile:function(e,t){var r=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ar(i,r.$filter);var s,a="";if(this.stage="assign",s=cr(i)){this.state.computing="assign";var u=this.nextId();this.recurse(s,u),this.return_(u),a="fn.assign="+this.generateFunction("assign","s,v,l")}var l=ur(i.body);r.stage="inputs",o(l,function(e,t){var n="fn"+t;r.state[n]={vars:[],body:[],own:{}},r.state.computing=n;var i=r.nextId();r.recurse(e,i),r.return_(i),r.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",d=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",c)(this.$filter,Kn,tr,nr,er,rr,ir,or,e);return this.state=this.stage=n,d.literal=dr(i),d.constant=hr(i),d},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return o(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return o(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,r,i,s,a){var u,l,c,d,h=this;if(i=i||m,!a&&y(e.watchId))return t=t||this.nextId(),this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,r,i,s,!0)),void 0;switch(e.type){case ps.Program:o(e.body,function(t,r){h.recurse(t.expression,n,n,function(e){l=e}),r!==e.body.length-1?h.current().body.push(l,";"):h.return_(l)});break;case ps.Literal:d=this.escape(e.value),this.assign(t,d),i(d);break;case ps.UnaryExpression:this.recurse(e.argument,n,n,function(e){l=e}),d=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,d),i(d);break;case ps.BinaryExpression:this.recurse(e.left,n,n,function(e){u=e}),this.recurse(e.right,n,n,function(e){l=e}),d="+"===e.operator?this.plus(u,l):"-"===e.operator?this.ifDefined(u,0)+e.operator+this.ifDefined(l,0):"("+u+")"+e.operator+"("+l+")",this.assign(t,d),i(d);break;case ps.LogicalExpression:t=t||this.nextId(),h.recurse(e.left,t),h.if_("&&"===e.operator?t:h.not(t),h.lazyRecurse(e.right,t)),i(t);break;case ps.ConditionalExpression:t=t||this.nextId(),h.recurse(e.test,t),h.if_(t,h.lazyRecurse(e.alternate,t),h.lazyRecurse(e.consequent,t)),i(t);break;case ps.Identifier:t=t||this.nextId(),r&&(r.context="inputs"===h.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),r.computed=!1,r.name=e.name),Kn(e.name),h.if_("inputs"===h.stage||h.not(h.getHasOwnProperty("l",e.name)),function(){h.if_("inputs"===h.stage||"s",function(){s&&1!==s&&h.if_(h.not(h.nonComputedMember("s",e.name)),h.lazyAssign(h.nonComputedMember("s",e.name),"{}")),h.assign(t,h.nonComputedMember("s",e.name))})},t&&h.lazyAssign(t,h.nonComputedMember("l",e.name))),(h.state.expensiveChecks||mr(e.name))&&h.addEnsureSafeObject(t),i(t);break;case ps.MemberExpression:u=r&&(r.context=this.nextId())||this.nextId(),t=t||this.nextId(),h.recurse(e.object,u,n,function(){h.if_(h.notNull(u),function(){s&&1!==s&&h.addEnsureSafeAssignContext(u),e.computed?(l=h.nextId(),h.recurse(e.property,l),h.getStringValue(l),h.addEnsureSafeMemberName(l),s&&1!==s&&h.if_(h.not(h.computedMember(u,l)),h.lazyAssign(h.computedMember(u,l),"{}")),d=h.ensureSafeObject(h.computedMember(u,l)),h.assign(t,d),r&&(r.computed=!0,r.name=l)):(Kn(e.property.name),s&&1!==s&&h.if_(h.not(h.nonComputedMember(u,e.property.name)),h.lazyAssign(h.nonComputedMember(u,e.property.name),"{}")),d=h.nonComputedMember(u,e.property.name),(h.state.expensiveChecks||mr(e.property.name))&&(d=h.ensureSafeObject(d)),h.assign(t,d),r&&(r.computed=!1,r.name=e.property.name))},function(){h.assign(t,"undefined")}),i(t)},!!s);break;case ps.CallExpression:t=t||this.nextId(),e.filter?(l=h.filter(e.callee.name),c=[],o(e.arguments,function(e){var t=h.nextId();h.recurse(e,t),c.push(t)}),d=l+"("+c.join(",")+")",h.assign(t,d),i(t)):(l=h.nextId(),u={},c=[],h.recurse(e.callee,l,u,function(){h.if_(h.notNull(l),function(){h.addEnsureSafeFunction(l),o(e.arguments,function(e){h.recurse(e,h.nextId(),n,function(e){c.push(h.ensureSafeObject(e))})}),u.name?(h.state.expensiveChecks||h.addEnsureSafeObject(u.context),d=h.member(u.context,u.name,u.computed)+"("+c.join(",")+")"):d=l+"("+c.join(",")+")",d=h.ensureSafeObject(d),h.assign(t,d)},function(){h.assign(t,"undefined")}),i(t)}));break;case ps.AssignmentExpression:if(l=this.nextId(),u={},!lr(e.left))throw as("lval","Trying to assign a value to a non l-value");this.recurse(e.left,n,u,function(){h.if_(h.notNull(u.context),function(){h.recurse(e.right,l),h.addEnsureSafeObject(h.member(u.context,u.name,u.computed)),h.addEnsureSafeAssignContext(u.context),d=h.member(u.context,u.name,u.computed)+e.operator+l,h.assign(t,d),i(t||d)})},1);break;case ps.ArrayExpression:c=[],o(e.elements,function(e){h.recurse(e,h.nextId(),n,function(e){c.push(e)})}),d="["+c.join(",")+"]",this.assign(t,d),i(d);break;case ps.ObjectExpression:c=[],o(e.properties,function(e){h.recurse(e.value,h.nextId(),n,function(t){c.push(h.escape(e.key.type===ps.Identifier?e.key.name:""+e.key.value)+":"+t)})}),d="{"+c.join(",")+"}",this.assign(t,d),i(d);break;case ps.ThisExpression:this.assign(t,"s"),i("s");break;case ps.LocalsExpression:this.assign(t,"l"),i("l");break;case ps.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;
  r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return e+"."+t},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var s=this;return function(){s.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(q(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw as("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},pr.prototype={compile:function(e,t){var n=this,r=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,ar(r,n.$filter);var i,s;(i=cr(r))&&(s=this.recurse(i));var a,u=ur(r.body);u&&(a=[],o(u,function(e,t){var r=n.recurse(e);e.input=r,a.push(r),e.watchId=t}));var l=[];o(r.body,function(e){l.push(n.recurse(e.expression))});var c=0===r.body.length?m:1===r.body.length?l[0]:function(e,t){var n;return o(l,function(r){n=r(e,t)}),n};return s&&(c.assign=function(e,t,n){return s(e,n,t)}),a&&(c.inputs=a),c.literal=dr(r),c.constant=hr(r),c},recurse:function(e,t,r){var i,s,a,u=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case ps.Literal:return this.value(e.value,t);case ps.UnaryExpression:return s=this.recurse(e.argument),this["unary"+e.operator](s,t);case ps.BinaryExpression:return i=this.recurse(e.left),s=this.recurse(e.right),this["binary"+e.operator](i,s,t);case ps.LogicalExpression:return i=this.recurse(e.left),s=this.recurse(e.right),this["binary"+e.operator](i,s,t);case ps.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case ps.Identifier:return Kn(e.name,u.expression),u.identifier(e.name,u.expensiveChecks||mr(e.name),t,r,u.expression);case ps.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Kn(e.property.name,u.expression),s=e.property.name),e.computed&&(s=this.recurse(e.property)),e.computed?this.computedMember(i,s,t,r,u.expression):this.nonComputedMember(i,s,u.expensiveChecks,t,r,u.expression);case ps.CallExpression:return a=[],o(e.arguments,function(e){a.push(u.recurse(e))}),e.filter&&(s=this.$filter(e.callee.name)),e.filter||(s=this.recurse(e.callee,!0)),e.filter?function(e,r,i,o){for(var u=[],l=0;l<a.length;++l)u.push(a[l](e,r,i,o));var c=s.apply(n,u,o);return t?{context:n,name:n,value:c}:c}:function(e,n,r,i){var o,l=s(e,n,r,i);if(null!=l.value){tr(l.context,u.expression),nr(l.value,u.expression);for(var c=[],d=0;d<a.length;++d)c.push(tr(a[d](e,n,r,i),u.expression));o=tr(l.value.apply(l.context,c),u.expression)}return t?{value:o}:o};case ps.AssignmentExpression:return i=this.recurse(e.left,!0,1),s=this.recurse(e.right),function(e,n,r,o){var a=i(e,n,r,o),l=s(e,n,r,o);return tr(a.value,u.expression),rr(a.context),a.context[a.name]=l,t?{value:l}:l};case ps.ArrayExpression:return a=[],o(e.elements,function(e){a.push(u.recurse(e))}),function(e,n,r,i){for(var o=[],s=0;s<a.length;++s)o.push(a[s](e,n,r,i));return t?{value:o}:o};case ps.ObjectExpression:return a=[],o(e.properties,function(e){a.push({key:e.key.type===ps.Identifier?e.key.name:""+e.key.value,value:u.recurse(e.value)})}),function(e,n,r,i){for(var o={},s=0;s<a.length;++s)o[a[s].key]=a[s].value(e,n,r,i);return t?{value:o}:o};case ps.ThisExpression:return function(e){return t?{value:e}:e};case ps.LocalsExpression:return function(e,n){return t?{value:n}:n};case ps.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var s=e(n,r,i,o);return s=y(s)?+s:0,t?{value:s}:s}},"unary-":function(e,t){return function(n,r,i,o){var s=e(n,r,i,o);return s=y(s)?-s:0,t?{value:s}:s}},"unary!":function(e,t){return function(n,r,i,o){var s=!e(n,r,i,o);return t?{value:s}:s}},"binary+":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s),u=t(r,i,o,s),l=or(a,u);return n?{value:l}:l}},"binary-":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s),u=t(r,i,o,s),l=(y(a)?a:0)-(y(u)?u:0);return n?{value:l}:l}},"binary*":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)*t(r,i,o,s);return n?{value:a}:a}},"binary/":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)/t(r,i,o,s);return n?{value:a}:a}},"binary%":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)%t(r,i,o,s);return n?{value:a}:a}},"binary===":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)===t(r,i,o,s);return n?{value:a}:a}},"binary!==":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)!==t(r,i,o,s);return n?{value:a}:a}},"binary==":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)==t(r,i,o,s);return n?{value:a}:a}},"binary!=":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)!=t(r,i,o,s);return n?{value:a}:a}},"binary<":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)<t(r,i,o,s);return n?{value:a}:a}},"binary>":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)>t(r,i,o,s);return n?{value:a}:a}},"binary<=":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)<=t(r,i,o,s);return n?{value:a}:a}},"binary>=":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)>=t(r,i,o,s);return n?{value:a}:a}},"binary&&":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)&&t(r,i,o,s);return n?{value:a}:a}},"binary||":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)||t(r,i,o,s);return n?{value:a}:a}},"ternary?:":function(e,t,n,r){return function(i,o,s,a){var u=e(i,o,s,a)?t(i,o,s,a):n(i,o,s,a);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:n,name:n,value:e}:e}},identifier:function(e,t,r,i,o){return function(s,a){var u=a&&e in a?a:s;i&&1!==i&&u&&!u[e]&&(u[e]={});var l=u?u[e]:n;return t&&tr(l,o),r?{context:u,name:e,value:l}:l}},computedMember:function(e,t,n,r,i){return function(o,s,a,u){var l,c,d=e(o,s,a,u);return null!=d&&(l=t(o,s,a,u),l=er(l),Kn(l,i),r&&1!==r&&(rr(d),d&&!d[l]&&(d[l]={})),c=d[l],tr(c,i)),n?{context:d,name:l,value:c}:c}},nonComputedMember:function(e,t,r,i,o,s){return function(a,u,l,c){var d=e(a,u,l,c);o&&1!==o&&(rr(d),d&&!d[t]&&(d[t]={}));var h=null!=d?d[t]:n;return(r||mr(t))&&tr(h,s),i?{context:d,name:t,value:h}:h}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var ms=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new ps(e,n),this.astCompiler=n.csp?new pr(this.ast,t):new fr(this.ast,t)};ms.prototype={constructor:ms,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var gs=Object.prototype.valueOf,vs=r("$sce"),$s={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},ws=r("$compile"),ys=t.createElement("a"),bs=Or(e.location.href);Dr.$inject=["$document"],Vr.$inject=["$provide"];var Cs=22,qs=".",xs="0";Hr.$inject=["$locale"],Ur.$inject=["$locale"];var As={yyyy:Wr("FullYear",4,0,!1,!0),yy:Wr("FullYear",2,0,!0,!0),y:Wr("FullYear",1,0,!1,!0),MMMM:Yr("Month"),MMM:Yr("Month",!0),MM:Wr("Month",2,1),M:Wr("Month",1,1),LLLL:Yr("Month",!1,!0),dd:Wr("Date",2),d:Wr("Date",1),HH:Wr("Hours",2),H:Wr("Hours",1),hh:Wr("Hours",2,-12),h:Wr("Hours",1,-12),mm:Wr("Minutes",2),m:Wr("Minutes",1),ss:Wr("Seconds",2),s:Wr("Seconds",1),sss:Wr("Milliseconds",3),EEEE:Yr("Day"),EEE:Yr("Day",!0),a:ei,Z:Jr,ww:Kr(2),w:Kr(1),G:ti,GG:ti,GGG:ti,GGGG:ni},Es=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Ss=/^\-?\d+$/;ri.$inject=["$locale"];var ks=v(Ii),Ts=v(Ni);si.$inject=["$parse"];var Is=v({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===ji.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Ns={};o(Ao,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=gn("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Ns[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(So,function(e,t){Ns[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Si);if(i)return r.$set("ngPattern",new RegExp(i[1],i[2])),void 0}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),o(["src","srcset","href"],function(e){var t=gn("ng-"+e);Ns[t]=function(){return{priority:99,link:function(n,r,i){var o=e,s=e;"href"===e&&"[object SVGAnimatedString]"===ji.call(r.prop("href"))&&(s="xlinkHref",i.$attr[s]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(s,t),Fi&&o&&r.prop(o,i[s]),void 0):("href"===e&&i.$set(s,null),void 0)})}}}});var Os={$addControl:m,$$renameControl:ui,$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m},Ms="ng-submitted";li.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Fs=function(e){return["$timeout","$parse",function(t,r){function i(e){return""===e?r('this[""]').assign:r(e).assign||m}var o={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:li,compile:function(r,o){r.addClass(ga).addClass(pa);var s=o.name?"name":e&&o.ngForm?"ngForm":!1;return{pre:function(e,r,o,a){var u=a[0];if(!("action"in o)){var l=function(t){e.$apply(function(){u.$commitViewValue(),u.$setSubmitted()}),t.preventDefault()};ho(r[0],"submit",l),r.on("$destroy",function(){t(function(){fo(r[0],"submit",l)},0,!1)})}var c=a[1]||u.$$parentForm;c.$addControl(u);var h=s?i(u.$name):m;s&&(h(e,u),o.$observe(s,function(t){u.$name!==t&&(h(e,n),u.$$parentForm.$$renameControl(u,t),h=i(u.$name),h(e,u))})),r.on("$destroy",function(){u.$$parentForm.$removeControl(u),h(e,n),d(u,Os)})}}}};return o}]},Ds=Fs(),Ls=Fs(!0),Vs=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ps=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Rs=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Bs=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,js=/^(\d{4,})-(\d{2})-(\d{2})$/,Hs=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Us=/^(\d{4,})-W(\d\d)$/,Xs=/^(\d{4,})-(\d\d)$/,Qs=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,_s="keydown wheel mousedown",Gs=vt();o("date,datetime-local,month,time,week".split(","),function(e){Gs[e]=!0});var Ws={text:di,date:mi("date",js,pi(js,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mi("datetimelocal",Hs,pi(Hs,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mi("time",Qs,pi(Qs,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mi("week",Us,fi,"yyyy-Www"),month:mi("month",Xs,pi(Xs,["yyyy","MM"]),"yyyy-MM"),number:vi,url:$i,email:wi,radio:yi,checkbox:Ci,hidden:m,button:m,submit:m,reset:m,file:m},Ys=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,s,a){a[0]&&(Ws[Ii(s.type)]||Ws.text)(i,o,s,a[0],t,e,n,r)}}}}],Js=/^(true|false|\d+)$/,Zs=function(){return{restrict:"A",priority:100,compile:function(e,t){return Js.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},zs=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=w(e)?"":e})}}}}],Ks=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=w(e)?"":e})}}}}],ea=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),s=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(s,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],ta=v({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),na=qi("",!0),ra=qi("Odd",0),ia=qi("Even",1),oa=ai({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),sa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],aa={},ua={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=gn("ng-"+e);aa[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var s=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){s(t,{$event:n})};ua[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var la=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,s){var a,u,l;n.$watch(i.ngIf,function(n){n?u||s(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),a={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),a&&(l=gt(a.clone),e.leave(l).then(function(){l=null}),a=null))})}}}],ca=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Xi.noop,compile:function(r,i){var o=i.ngInclude||i.src,s=i.onload||"",a=i.autoscroll;return function(r,i,u,l,c){var d,h,f,p=0,m=function(){h&&(h.remove(),h=null),d&&(d.$destroy(),d=null),f&&(n.leave(f).then(function(){h=null}),h=f,f=null)};r.$watch(o,function(o){var u=function(){!y(a)||a&&!r.$eval(a)||t()},h=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&h===p){var t=r.$new();l.template=e;var a=c(t,function(e){m(),n.enter(e,null,i).then(u)});d=t,f=a,d.$emit("$includeContentLoaded",o),r.$eval(s)}},function(){r.$$destroyed||h===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],da=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return ji.call(r[0]).match(/SVG/)?(r.empty(),e(kt(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r}),void 0):(r.html(o.template),e(r.contents())(n),void 0)}}}],ha=ai({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),fa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var s=t.attr(r.$attr.ngList)||", ",a="false"!==r.ngTrim,u=a?Wi(s):s,l=function(e){if(!w(e)){var t=[];return e&&o(e.split(u),function(e){e&&t.push(a?Wi(e):e)}),t}};i.$parsers.push(l),i.$formatters.push(function(e){return _i(e)?e.join(s):n}),i.$isEmpty=function(e){return!e||!e.length}}}},pa="ng-valid",ma="ng-invalid",ga="ng-pristine",va="ng-dirty",$a="ng-untouched",wa="ng-touched",ya="ng-pending",ba="ng-empty",Ca="ng-not-empty",qa=r("ngModel"),xa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,s,a,u,l,c,d){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=n,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=n,this.$name=d(r.name||"",!1)(e),this.$$parentForm=Os;var h,f=s(r.ngModel),p=f.assign,g=f,v=p,$=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=s(r.ngModel+"()"),n=s(r.ngModel+"($$$p)");g=function(e){var n=f(e);return E(n)&&(n=t(e)),n},v=function(e,t){E(f(e))?n(e,{$$$p:t}):p(e,t)}}else if(!f.assign)throw qa("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,K(i))},this.$render=m,this.$isEmpty=function(e){return w(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,Ca),a.addClass(i,ba)):(a.removeClass(i,ba),a.addClass(i,Ca))};var C=0;xi({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,va),a.addClass(i,ga)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,ga),a.addClass(i,va),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,$a,wa)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,wa,$a)},this.$rollbackViewValue=function(){u.cancel($),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,r=b.$valid,i=b.$modelValue,o=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){o||r===e||(b.$modelValue=e?t:n,b.$modelValue!==i&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r){function i(){var e=b.$$parserName||"parse";return w(h)?(u(e,null),!0):(h||(o(b.$validators,function(e,t){u(t,null)}),o(b.$asyncValidators,function(e,t){u(t,null)})),u(e,h),h)}function s(){var n=!0;return o(b.$validators,function(r,i){var o=r(e,t);n=n&&o,u(i,o)}),n?!0:(o(b.$asyncValidators,function(e,t){u(t,null)}),!1)}function a(){var r=[],i=!0;o(b.$asyncValidators,function(o,s){var a=o(e,t);if(!F(a))throw qa("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);u(s,n),r.push(a.then(function(){u(s,!0)},function(){i=!1,u(s,!1)}))}),r.length?c.all(r).then(function(){l(i)},m):l(!0)}function u(e,t){d===C&&b.$setValidity(e,t)}function l(e){d===C&&r(e)}C++;var d=C;return i()?s()?(a(),void 0):(l(!1),void 0):(l(!1),void 0)},this.$commitViewValue=function(){var e=b.$viewValue;u.cancel($),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==s&&b.$$writeModelToScope()}var r=b.$$lastCommittedViewValue,i=r;if(h=w(i)?n:!0)for(var o=0;o<b.$parsers.length;o++)if(i=b.$parsers[o](i),w(i)){h=!1;break}x(b.$modelValue)&&isNaN(b.$modelValue)&&(b.$modelValue=g(e));var s=b.$modelValue,a=b.$options&&b.$options.allowInvalid;b.$$rawModelValue=i,a&&(b.$modelValue=i,t()),b.$$runValidators(i,b.$$lastCommittedViewValue,function(e){a||(b.$modelValue=e?i:n,t())})},this.$$writeModelToScope=function(){v(e,b.$modelValue),o(b.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}})},this.$setViewValue=function(e,t){b.$viewValue=e,(!b.$options||b.$options.updateOnDefault)&&b.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(t){var n,r=0,i=b.$options;i&&y(i.debounce)&&(n=i.debounce,x(n)?r=n:x(n[t])?r=n[t]:x(n["default"])&&(r=n["default"])),u.cancel($),r?$=u(function(){b.$commitViewValue()},r):l.$$phase?b.$commitViewValue():e.$apply(function(){b.$commitViewValue()})},e.$watch(function(){var t=g(e);if(t!==b.$modelValue&&(b.$modelValue===b.$modelValue||t===t)){b.$modelValue=b.$$rawModelValue=t,h=n;for(var r=b.$formatters,i=r.length,o=t;i--;)o=r[i](o);b.$viewValue!==o&&(b.$$updateEmptyClasses(o),b.$viewValue=b.$$lastCommittedViewValue=o,b.$render(),b.$$runValidators(t,o,m))}return t})}],Aa=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:xa,priority:1,compile:function(t){return t.addClass(ga).addClass($a).addClass(pa),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm;i.$$setOptions(r[2]&&r[2].$options),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){var o=i[0];o.$options&&o.$options.updateOn&&n.on(o.$options.updateOn,function(e){o.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){o.$touched||(e.$$phase?t.$evalAsync(o.$setTouched):t.$apply(o.$setTouched))})}}}}}],Ea=/(\s+|^)default(\s+|$)/,Sa=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var n=this;this.$options=j(e.$eval(t.ngModelOptions)),y(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=Wi(this.$options.updateOn.replace(Ea,function(){return n.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}},ka=ai({terminal:!0,priority:1e3}),Ta=r("ngOptions"),Ia=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\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]+?))?$/,Na=["$compile","$parse",function(e,n){function r(e,t,r){function o(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function s(e){var t;if(!l&&i(e))t=e;else{t=[];for(var n in e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n)}return t}var a=e.match(Ia);if(!a)throw Ta("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,K(t));var u=a[5]||a[7],l=a[6],c=/ as /.test(a[0])&&a[1],d=a[9],h=n(a[2]?a[1]:u),f=c&&n(c),p=f||h,m=d&&n(d),g=d?function(e,t){return m(r,t)}:function(e){return Kt(e)},v=function(e,t){return g(e,q(e,t))},$=n(a[2]||a[1]),w=n(a[3]||""),y=n(a[4]||""),b=n(a[8]),C={},q=l?function(e,t){return C[l]=t,C[u]=e,C}:function(e){return C[u]=e,C};return{trackBy:d,getTrackByValue:v,getWatchables:n(b,function(e){var t=[];e=e||[];for(var n=s(e),i=n.length,o=0;i>o;o++){var u=e===n?o:n[o],l=e[u],c=q(l,u),d=g(l,c);if(t.push(d),a[2]||a[1]){var h=$(r,c);t.push(h)}if(a[4]){var f=y(r,c);t.push(f)}}return t}),getOptions:function(){for(var e=[],t={},n=b(r)||[],i=s(n),a=i.length,u=0;a>u;u++){var l=n===i?u:i[u],c=n[l],h=q(c,l),f=p(r,h),m=g(f,h),C=$(r,h),x=w(r,h),A=y(r,h),E=new o(m,f,C,x,A);e.push(E),t[m]=E}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[v(e)]},getViewValueFromOption:function(e){return d?Xi.copy(e.viewValue):e.viewValue}}}}}function s(t,n,i,s){function l(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),e.value!==t.value&&(t.value=e.selectValue)}function c(e,t,n,r){var i;return t&&Ii(t.nodeName)===n?i=t:(i=r.cloneNode(!1),t?e.insertBefore(i,t):e.appendChild(i)),i}function d(e){for(var t;e;)t=e.nextSibling,Qt(e),e=t}function h(e){var t=p&&p[0],n=q&&q[0];if(t||n)for(;e&&(e===t||e===n||e.nodeType===oo||"option"===R(e)&&""===e.value);)e=e.nextSibling;return e}function f(){var e=x&&m.readValue();x=A.getOptions();var t={},r=n[0].firstChild;if(C&&n.prepend(p),r=h(r),x.items.forEach(function(e){var i,o,s;y(e.group)?(i=t[e.group],i||(o=c(n[0],r,"optgroup",u),r=o.nextSibling,o.label=e.group,i=t[e.group]={groupElement:o,currentOptionElement:o.firstChild}),s=c(i.groupElement,i.currentOptionElement,"option",a),l(e,s),i.currentOptionElement=s.nextSibling):(s=c(n[0],r,"option",a),l(e,s),r=s.nextSibling)}),Object.keys(t).forEach(function(e){d(t[e].currentOptionElement)}),d(r),g.$render(),!g.$isEmpty(e)){var i=m.readValue(),o=A.trackBy||v;(o?U(e,i):e===i)||(g.$setViewValue(i),g.$render())}}for(var p,m=s[0],g=s[1],v=i.multiple,$=0,w=n.children(),b=w.length;b>$;$++)if(""===w[$].value){p=w.eq($);break}var C=!!p,q=Di(a.cloneNode(!1));q.val("?");var x,A=r(i.ngOptions,n,t),E=function(){C||n.prepend(p),n.val(""),p.prop("selected",!0),p.attr("selected",!0)},S=function(){C||p.remove()},k=function(){n.prepend(q),n.val("?"),q.prop("selected",!0),q.attr("selected",!0)},T=function(){q.remove()};v?(g.$isEmpty=function(e){return!e||0===e.length},m.writeValue=function(e){x.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=x.getOptionFromViewValue(e);t&&!t.disabled&&(t.element.selected=!0)})},m.readValue=function(){var e=n.val()||[],t=[];return o(e,function(e){var n=x.selectValueMap[e];n&&!n.disabled&&t.push(x.getViewValueFromOption(n))}),t},A.trackBy&&t.$watchCollection(function(){return _i(g.$viewValue)?g.$viewValue.map(function(e){return A.getTrackByValue(e)}):void 0},function(){g.$render()})):(m.writeValue=function(e){var t=x.getOptionFromViewValue(e);t&&!t.disabled?(n[0].value!==t.selectValue&&(T(),S(),n[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):null===e||C?(T(),E()):(S(),k())},m.readValue=function(){var e=x.selectValueMap[n.val()];return e&&!e.disabled?(S(),T(),x.getViewValueFromOption(e)):null},A.trackBy&&t.$watch(function(){return A.getTrackByValue(g.$viewValue)},function(){g.$render()})),C?(p.remove(),e(p)(t),p.removeClass("ng-scope")):p=Di(a.cloneNode(!1)),f(),t.$watchCollection(A.getWatchables,f)}var a=t.createElement("option"),u=t.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=m},post:s}}}],Oa=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(s,a,u){function l(e){a.text(e||"")}var c,d=u.count,h=u.$attr.when&&a.attr(u.$attr.when),f=u.offset||0,p=s.$eval(h)||{},g={},v=t.startSymbol(),$=t.endSymbol(),y=v+d+"-"+f+$,b=Xi.noop;o(u,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+Ii(n[2]);p[r]=a.attr(u.$attr[t])}}),o(p,function(e,n){g[n]=t(e.replace(r,y))}),s.$watch(d,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in p||(r=e.pluralCat(r-f)),r!==c&&!(i&&x(c)&&isNaN(c))){b();var o=g[r];w(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+h),b=m,l()):b=s.$watch(o,l),c=r}})}}}],Ma=["$parse","$animate","$compile",function(e,t,s){var a="$$NG_REMOVED",u=r("ngRepeat"),l=function(e,t,n,r,i,o,s){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===s-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},c=function(e){return e.clone[0]},d=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,h){var f=h.ngRepeat,p=s.$$createComment("end ngRepeat",f),m=f.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!m)throw u("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",f);var g=m[1],v=m[2],$=m[3],w=m[4];if(m=g.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!m)throw u("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",g);var y=m[3]||m[1],b=m[2];if($&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test($)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test($)))throw u("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",$);var C,q,x,A,E={$id:Kt};return w?C=e(w):(x=function(e,t){return Kt(t)},A=function(e){return e}),function(e,r,s,h,m){C&&(q=function(t,n,r){return b&&(E[b]=t),E[y]=n,E.$index=r,C(e,E)});var g=vt();e.$watchCollection(v,function(s){var h,v,w,C,E,S,k,T,I,N,O,M,F=r[0],D=vt();if($&&(e[$]=s),i(s))I=s,T=q||x;else{T=q||A,I=[];for(var L in s)Ti.call(s,L)&&"$"!==L.charAt(0)&&I.push(L)}for(C=I.length,O=new Array(C),h=0;C>h;h++)if(E=s===I?h:I[h],S=s[E],k=T(E,S,h),g[k])N=g[k],delete g[k],D[k]=N,O[h]=N;else{if(D[k])throw o(O,function(e){e&&e.scope&&(g[e.id]=e)}),u("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",f,k,S);O[h]={id:k,scope:n,clone:n},D[k]=!0}for(var V in g){if(N=g[V],M=gt(N.clone),t.leave(M),M[0].parentNode)for(h=0,v=M.length;v>h;h++)M[h][a]=!0;N.scope.$destroy()}for(h=0;C>h;h++)if(E=s===I?h:I[h],S=s[E],N=O[h],N.scope){w=F;do w=w.nextSibling;while(w&&w[a]);c(N)!=w&&t.move(gt(N.clone),null,F),F=d(N),l(N.scope,h,y,S,b,E,C)}else m(function(e,n){N.scope=n;var r=p.cloneNode(!1);e[e.length++]=r,t.enter(e,null,F),F=r,N.clone=e,D[N.id]=N,l(N.scope,h,y,S,b,E,C)});g=D})}}}}],Fa="ng-hide",Da="ng-hide-animate",La=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Fa,{tempClasses:Da})})}}}],Va=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Fa,{tempClasses:Da})})}}}],Pa=ai(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Ra=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,s){var a=i.ngSwitch||i.on,u=[],l=[],c=[],d=[],h=function(e,t){return function(){e.splice(t,1)}};n.$watch(a,function(n){var r,i;for(r=0,i=c.length;i>r;++r)e.cancel(c[r]);for(c.length=0,r=0,i=d.length;i>r;++r){var a=gt(l[r].clone);d[r].$destroy();var f=c[r]=e.leave(a);f.then(h(c,r))}l.length=0,d.length=0,(u=s.cases["!"+n]||s.cases["?"])&&o(u,function(n){n.transclude(function(r,i){d.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var s={clone:r};l.push(s),e.enter(r,o.parent(),o)})})})}}}],Ba=ai({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),ja=ai({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ha=r("ngTransclude"),Ua=ai({restrict:"EAC",link:function(e,t,n,r,i){function o(e){e.length&&(t.empty(),t.append(e))}if(n.ngTransclude===n.$attr.ngTransclude&&(n.ngTransclude=""),!i)throw Ha("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",K(t));var s=n.ngTransclude||n.ngTranscludeSlot;i(o,null,s)}}),Xa=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Qa={$setViewValue:m,$render:m},_a=["$element","$scope",function(e,r){var i=this,o=new en;i.ngModelCtrl=Qa,i.unknownOption=Di(t.createElement("option")),i.renderUnknownOption=function(t){var n="? "+Kt(t)+" ?";i.unknownOption.val(n),e.prepend(i.unknownOption),e.val(n)},r.$on("$destroy",function(){i.renderUnknownOption=m}),i.removeUnknownOption=function(){i.unknownOption.parent()&&i.unknownOption.remove()},i.readValue=function(){return i.removeUnknownOption(),e.val()},i.writeValue=function(t){i.hasOption(t)?(i.removeUnknownOption(),e.val(t),""===t&&i.emptyOption.prop("selected",!0)):null==t&&i.emptyOption?(i.removeUnknownOption(),e.val("")):i.renderUnknownOption(t)},i.addOption=function(e,t){if(t[0].nodeType!==oo){pt(e,'"option value"'),""===e&&(i.emptyOption=t);var n=o.get(e)||0;o.put(e,n+1),i.ngModelCtrl.$render(),Ei(t)
  }},i.removeOption=function(e){var t=o.get(e);t&&(1===t?(o.remove(e),""===e&&(i.emptyOption=n)):o.put(e,t-1))},i.hasOption=function(e){return!!o.get(e)},i.registerOption=function(e,t,n,r,o){if(r){var s;n.$observe("value",function(e){y(s)&&i.removeOption(s),s=e,i.addOption(e,t)})}else o?e.$watch(o,function(e,r){n.$set("value",e),r!==e&&i.removeOption(r),i.addOption(e,t)}):i.addOption(n.value,t);t.on("$destroy",function(){i.removeOption(n.value),i.ngModelCtrl.$render()})}}],Ga=function(){function e(e,t,n,r){var i=r[1];if(i){var s=r[0];if(s.ngModelCtrl=i,t.on("change",function(){e.$apply(function(){i.$setViewValue(s.readValue())})}),n.multiple){s.readValue=function(){var e=[];return o(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},s.writeValue=function(e){var n=new en(e);o(t.find("option"),function(e){e.selected=y(n.get(e.value))})};var a,u=0/0;e.$watch(function(){u!==i.$viewValue||U(a,i.$viewValue)||(a=H(i.$viewValue),i.$render()),u=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:_a,priority:1,link:{pre:e,post:t}}},Wa=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if(y(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){var o="$selectController",s=t.parent(),a=s.data(o)||s.parent().data(o);a&&a.registerOption(e,t,n,r,i)}}}}],Ya=v({restrict:"E",terminal:!1}),Ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Za=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,o){if(o){var s,a=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(q(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,K(t));s=e||n,o.$validate()}),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||w(s)||s.test(t)}}}}},za=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?(e.console&&console.log("WARNING: Tried to load angular more than once."),void 0):(dt(),bt(Xi),Xi.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function r(e,r){var i=r;n===i&&(i=Math.min(t(e),3));var o=Math.pow(10,i),s=(e*o|0)%o;return{v:i,f:s}}var i={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var n=0|e,o=r(e,t);return 1==n&&0==o.v?i.ONE:i.OTHER}})}]),Di(t).ready(function(){st(t,at)}),void 0)}(window,document),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),function(e,t){"use strict";function n(){function e(e,n){return t.extend(Object.create(e),n)}function n(e,t){var n=t.caseInsensitiveMatch,r={originalPath:e,regexp:e},i=r.keys=[];return e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[\?\*])?/g,function(e,t,n,r){var o="?"===r||"*?"===r?"?":null,s="*"===r||"*?"===r?"*":null;return i.push({name:n,optional:!!o}),t=t||"",""+(o?"":t)+"(?:"+(o?t:"")+(s&&"(.+?)"||"([^/]+)")+(o||"")+")"+(o||"")}).replace(/([\/$\*])/g,"\\$1"),r.regexp=new RegExp("^"+e+"$",n?"i":""),r}var r={};this.when=function(e,i){var o=t.copy(i);if(t.isUndefined(o.reloadOnSearch)&&(o.reloadOnSearch=!0),t.isUndefined(o.caseInsensitiveMatch)&&(o.caseInsensitiveMatch=this.caseInsensitiveMatch),r[e]=t.extend(o,e&&n(e,o)),e){var s="/"==e[e.length-1]?e.substr(0,e.length-1):e+"/";r[s]=t.extend({redirectTo:e},n(s,o))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(e){return"string"==typeof e&&(e={redirectTo:e}),this.when(null,e),this},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(n,i,o,s,u,l,c){function d(e,t){var n=t.keys,r={};if(!t.regexp)return null;var i=t.regexp.exec(e);if(!i)return null;for(var o=1,s=i.length;s>o;++o){var a=n[o-1],u=i[o];a&&u&&(r[a.name]=u)}return r}function h(e){var r=w.current;g=p(),v=g&&r&&g.$$route===r.$$route&&t.equals(g.pathParams,r.pathParams)&&!g.reloadOnSearch&&!$,v||!r&&!g||n.$broadcast("$routeChangeStart",g,r).defaultPrevented&&e&&e.preventDefault()}function f(){var e=w.current,r=g;v?(e.params=r.params,t.copy(e.params,o),n.$broadcast("$routeUpdate",e)):(r||e)&&($=!1,w.current=r,r&&r.redirectTo&&(t.isString(r.redirectTo)?i.path(m(r.redirectTo,r.params)).search(r.params).replace():i.url(r.redirectTo(r.pathParams,i.path(),i.search())).replace()),s.when(r).then(function(){if(r){var e,n,i=t.extend({},r.resolve);return t.forEach(i,function(e,n){i[n]=t.isString(e)?u.get(e):u.invoke(e,null,null,n)}),t.isDefined(e=r.template)?t.isFunction(e)&&(e=e(r.params)):t.isDefined(n=r.templateUrl)&&(t.isFunction(n)&&(n=n(r.params)),t.isDefined(n)&&(r.loadedTemplateUrl=c.valueOf(n),e=l(n))),t.isDefined(e)&&(i.$template=e),s.all(i)}}).then(function(i){r==w.current&&(r&&(r.locals=i,t.copy(r.params,o)),n.$broadcast("$routeChangeSuccess",r,e))},function(t){r==w.current&&n.$broadcast("$routeChangeError",r,e,t)}))}function p(){var n,o;return t.forEach(r,function(r){!o&&(n=d(i.path(),r))&&(o=e(r,{params:t.extend({},i.search(),n),pathParams:n}),o.$$route=r)}),o||r[null]&&e(r[null],{params:{},pathParams:{}})}function m(e,n){var r=[];return t.forEach((e||"").split(":"),function(e,t){if(0===t)r.push(e);else{var i=e.match(/(\w+)(?:[?*])?(.*)/),o=i[1];r.push(n[o]),r.push(i[2]||""),delete n[o]}}),r.join("")}var g,v,$=!1,w={routes:r,reload:function(){$=!0;var e={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,$=!1}};n.$evalAsync(function(){h(e),e.defaultPrevented||f()})},updateParams:function(e){if(!this.current||!this.current.$$route)throw a("norout","Tried updating route when with no current route");e=t.extend({},this.current.params,e),i.path(m(this.current.$$route.originalPath,e)),i.search(e)}};return n.$on("$locationChangeStart",h),n.$on("$locationChangeSuccess",f),w}]}function r(){this.$get=function(){return{}}}function i(e,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,o,s,a,u){function l(){f&&(r.cancel(f),f=null),d&&(d.$destroy(),d=null),h&&(f=r.leave(h),f.then(function(){f=null}),h=null)}function c(){var s=e.current&&e.current.locals,a=s&&s.$template;if(t.isDefined(a)){var c=i.$new(),f=e.current,g=u(c,function(e){r.enter(e,null,h||o).then(function(){!t.isDefined(p)||p&&!i.$eval(p)||n()}),l()});h=g,d=f.scope=c,d.$emit("$viewContentLoaded"),d.$eval(m)}else l()}var d,h,f,p=s.autoscroll,m=s.onload||"";i.$on("$routeChangeSuccess",c),c()}}}function o(e,t,n){return{restrict:"ECA",priority:-400,link:function(r,i){var o=n.current,s=o.locals;i.html(s.$template);var a=e(i.contents());if(o.controller){s.$scope=r;var u=t(o.controller,s);o.controllerAs&&(r[o.controllerAs]=u),i.data("$ngControllerController",u),i.children().data("$ngControllerController",u)}r[o.resolveAs||"$resolve"]=s,a(r)}}}var s=t.module("ngRoute",["ng"]).provider("$route",n).run(["$route",t.noop]),a=t.$$minErr("ngRoute");s.provider("$routeParams",r),s.directive("ngView",i),s.directive("ngView",o),i.$inject=["$route","$anchorScroll","$animate"],o.$inject=["$compile","$controller","$route"]}(window,window.angular),function(){"use strict";function e(t,r){function i(e,t){return function(){return e.apply(t,arguments)}}var o;if(r=r||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=r.touchBoundary||10,this.layer=t,this.tapDelay=r.tapDelay||200,this.tapTimeout=r.tapTimeout||700,!e.notNeeded(t)){for(var s=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],a=this,u=0,l=s.length;l>u;u++)a[s[u]]=i(a[s[u]],a);n&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0)),t.addEventListener("click",this.onClick,!0),t.addEventListener("touchstart",this.onTouchStart,!1),t.addEventListener("touchmove",this.onTouchMove,!1),t.addEventListener("touchend",this.onTouchEnd,!1),t.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(e,n,r){var i=Node.prototype.removeEventListener;"click"===e?i.call(t,e,n.hijacked||n,r):i.call(t,e,n,r)},t.addEventListener=function(e,n,r){var i=Node.prototype.addEventListener;"click"===e?i.call(t,e,n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}),r):i.call(t,e,n,r)}),"function"==typeof t.onclick&&(o=t.onclick,t.addEventListener("click",function(e){o(e)},!1),t.onclick=null)}}var t=navigator.userAgent.indexOf("Windows Phone")>=0,n=navigator.userAgent.indexOf("Android")>0&&!t,r=/iP(ad|hone|od)/.test(navigator.userAgent)&&!t,i=r&&/OS 4_\d(_\d)?/.test(navigator.userAgent),o=r&&/OS [6-7]_\d/.test(navigator.userAgent),s=navigator.userAgent.indexOf("BB10")>0;e.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(r&&"file"===e.type||e.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(e.className)},e.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},e.prototype.sendClick=function(e,t){var n,r;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),r=t.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(e),!0,!0,window,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},e.prototype.determineEventType=function(e){return n&&"select"===e.tagName.toLowerCase()?"mousedown":"click"},e.prototype.focus=function(e){var t;r&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.setSelectionRange(t,t)):e.focus()},e.prototype.updateScrollParent=function(e){var t,n;if(t=e.fastClickScrollParent,!t||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},e.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},e.prototype.onTouchStart=function(e){var t,n,o;if(e.targetTouches.length>1)return!0;if(t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0],r){if(o=window.getSelection(),o.rangeCount&&!o.isCollapsed)return!0;if(!i){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,e.timeStamp-this.lastClickTime<this.tapDelay&&e.preventDefault(),!0},e.prototype.touchHasMoved=function(e){var t=e.changedTouches[0],n=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>n||Math.abs(t.pageY-this.touchStartY)>n?!0:!1},e.prototype.onTouchMove=function(e){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},e.prototype.findControl=function(e){return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},e.prototype.onTouchEnd=function(e){var t,s,a,u,l,c=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(e.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,s=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,o&&(l=e.changedTouches[0],c=document.elementFromPoint(l.pageX-window.pageXOffset,l.pageY-window.pageYOffset)||c,c.fastClickScrollParent=this.targetElement.fastClickScrollParent),a=c.tagName.toLowerCase(),"label"===a){if(t=this.findControl(c)){if(this.focus(c),n)return!1;c=t}}else if(this.needsFocus(c))return e.timeStamp-s>100||r&&window.top!==window&&"input"===a?(this.targetElement=null,!1):(this.focus(c),this.sendClick(c,e),r&&"select"===a||(this.targetElement=null,e.preventDefault()),!1);return r&&!i&&(u=c.fastClickScrollParent,u&&u.fastClickLastScrollTop!==u.scrollTop)?!0:(this.needsClick(c)||(e.preventDefault(),this.sendClick(c,e)),!1)},e.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},e.prototype.onMouse=function(e){return this.targetElement?e.forwardedTouchEvent?!0:e.cancelable?!this.needsClick(this.targetElement)||this.cancelNextClick?(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),!1):!0:!0:!0},e.prototype.onClick=function(e){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===e.target.type&&0===e.detail?!0:(t=this.onMouse(e),t||(this.targetElement=null),t)},e.prototype.destroy=function(){var e=this.layer;n&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},e.notNeeded=function(e){var t,r,i,o;if("undefined"==typeof window.ontouchstart)return!0;if(r=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(t=document.querySelector("meta[name=viewport]")){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(r>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(s&&(i=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),i[1]>=10&&i[2]>=3&&(t=document.querySelector("meta[name=viewport]")))){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===e.style.msTouchAction||"manipulation"===e.style.touchAction?!0:(o=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],o>=27&&(t=document.querySelector("meta[name=viewport]"),t&&(-1!==t.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))?!0:"none"===e.style.touchAction||"manipulation"===e.style.touchAction?!0:!1)},e.attach=function(t,n){return new e(t,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return e}):"undefined"!=typeof module&&module.exports?(module.exports=e.attach,module.exports.FastClick=e):window.FastClick=e}(),function(){"use strict";angular.module("mobile-angular-ui.core.activeLinks",[]).run(["$rootScope","$window","$document","$location",function(e,t,n,r){var i=function(){var e,i=r.url(),o=i.indexOf("#"),s=i.indexOf("?"),a=t.location.href,u=a.indexOf(i);-1===o&&-1===s?e=a:-1!==o&&o>s?e=a.slice(0,u+o):-1!==s&&s>o&&(e=a.slice(0,u+s));for(var l=n[0].links,c=0;c<l.length;c++){var d=l[c],h=angular.element(d);h.attr("href")&&""!==h.attr("href")&&d.href===e?h.addClass("active"):h.attr("href")&&""!==h.attr("href")&&d.href&&d.href.length&&h.removeClass("active")}};e.$on("$locationChangeSuccess",i),e.$on("$includeContentLoaded",i)}])}(),function(){"use strict";angular.module("mobile-angular-ui.core.capture",[]).run(["Capture","$rootScope",function(e,t){t.$on("$routeChangeSuccess",function(){e.resetAll()})}]).factory("Capture",["$compile",function(e){var t={};return{resetAll:function(){for(var e in t)t.hasOwnProperty(e)&&this.resetYielder(e)},resetYielder:function(e){var n=t[e];this.setContentFor(e,n.defaultContent,n.defaultScope)},putYielder:function(e,n,r,i){var o={};o.name=e,o.element=n,o.defaultContent=i||"",o.defaultScope=r,t[e]=o},getYielder:function(e){return t[e]},removeYielder:function(e){delete t[e]},setContentFor:function(n,r,i){var o=t[n];o&&(o.element.html(r),e(o.element.contents())(i))}}}]).directive("uiContentFor",["Capture",function(e){return{compile:function(t,n){var r=t.html();return(null===n.uiDuplicate||void 0===n.uiDuplicate)&&(t.html(""),t.remove()),function(t,n,i){e.setContentFor(i.uiContentFor,r,t)}}}}]).directive("uiYieldTo",["$compile","Capture",function(e,t){return{link:function(e,n,r){t.putYielder(r.uiYieldTo,n,e,n.html()),n.on("$destroy",function(){t.removeYielder(r.uiYieldTo)}),e.$on("$destroy",function(){t.removeYielder(r.uiYieldTo)})}}}])}(),function(){"use strict";var e=angular.module("mobile-angular-ui.core.fastclick",[]);e.run(["$window",function(e){function t(e,t){return function(){return e.apply(t,arguments)}}var n=FastClick.prototype.onTouchEnd;FastClick.prototype.onTouchEnd=function(e){e.changedTouches||(e.changedTouches=[{}]),n=t(n,this),n(e)},FastClick.attach(e.document.body)}]),angular.forEach(["select","input","textarea"],function(t){e.directive(t,function(){return{restrict:"E",compile:function(e){e.addClass("needsclick")}}})})}(),function(){"use strict";var e=function(e,t){for(var n=e;n.length>0;){if(n[0]===t[0])return n=null,!0;n=n.parent()}return n=null,!1};angular.module("mobile-angular-ui.core.outerClick",[]).factory("bindOuterClick",["$document","$timeout",function(t,n){return function(r,i,o,s){var a=function(t){e(angular.element(t.target),i)||r.$apply(function(){o(r,{$event:t})})},u=angular.noop,l=null;s?u=r.$watch(s,function(e){n.cancel(l),e?l=n(function(){t.on("click tap",a)},0):t.unbind("click tap",a)}):(n.cancel(l),t.on("click tap",a)),r.$on("$destroy",function(){u(),t.unbind("click tap",a)})}}]).directive("uiOuterClick",["bindOuterClick","$parse",function(e,t){return{restrict:"A",compile:function(n,r){var i=t(r.uiOuterClick),o=r.uiOuterClickIf;return function(t,n){e(t,n,i,o)}}}}])}(),function(){"use strict";var e=angular.module("mobile-angular-ui.core.sharedState",[]);e.factory("SharedState",["$rootScope",function(e){var t={},n={},r={},i={};return{initialize:function(o,s,a){a=a||{};var u=void 0===r[o],l=a.defaultValue,c=a.exclusionGroup;r[o.$id]=r[o.$id]||[],r[o.$id].push(s),n[s]?u&&n[s].references++:(n[s]=angular.extend({},a,{references:1}),e.$broadcast("mobile-angular-ui.state.initialized."+s,l),void 0!==l&&this.setOne(s,l),c&&(i[c]=i[c]||{},i[c][s]=!0)),o.$on("$destroy",function(){for(var a=r[o.$id]||[],u=0;u<a.length;u++){var l=n[a[u]];l.exclusionGroup&&(delete i[l.exclusionGroup][a[u]],0===Object.keys(i[l.exclusionGroup]).length&&delete i[l.exclusionGroup]),l.references--,l.references<=0&&(delete n[a[u]],delete t[a[u]],e.$broadcast("mobile-angular-ui.state.destroyed."+s))}delete r[o.$id]})},setOne:function(r,i){if(void 0!==n[r]){var o=t[r];return t[r]=i,o!==i&&e.$broadcast("mobile-angular-ui.state.changed."+r,i,o),i}console&&console.warn("Warning: Attempt to set uninitialized shared state:",r)},setMany:function(e){angular.forEach(e,function(e,t){this.setOne(t,e)},this)},set:function(e,t){angular.isObject(e)&&angular.isUndefined(t)?this.setMany(e):this.setOne(e,t)},turnOn:function(e){var t=n[e]&&n[e].exclusionGroup;if(t)for(var r=Object.keys(i[t]),o=0;o<r.length;o++){var s=r[o];s!==e&&this.turnOff(s)}return this.setOne(e,!0)},turnOff:function(e){return this.setOne(e,!1)},toggle:function(e){return this.get(e)?this.turnOff(e):this.turnOn(e)},get:function(e){return n[e]&&t[e]},isActive:function(e){return!!this.get(e)},active:function(e){return this.isActive(e)},isUndefined:function(e){return void 0===n[e]||void 0===this.get(e)},has:function(e){return void 0!==n[e]},referenceCount:function(e){var t=n[e];return void 0===t?0:t.references},equals:function(e,t){return this.get(e)===t},eq:function(e,t){return this.equals(e,t)},values:function(){return t}}}]);var t=function(e,t,n,r){n=n||"click tap",t.on(n,function(t){e.$apply(function(){r(e,{$event:t})})})};e.directive("uiState",["SharedState",function(e){return{restrict:"EA",priority:601,link:function(t,n,r){var i=r.uiState||r.id,o=r.uiDefault||r["default"],s=o?t.$eval(o):void 0;e.initialize(t,i,{defaultValue:s,exclusionGroup:r.uiExclusionGroup})}}}]),angular.forEach(["toggle","turnOn","turnOff","set"],function(n){var r="ui"+n[0].toUpperCase()+n.slice(1);e.directive(r,["$parse","$interpolate","SharedState",function(e,i,o){var s=o[n];return{restrict:"A",priority:1,compile:function(a,u){var l=u[r],c=l.match(/\{\{/),d=function(t){var r=l;if(c){var o=i(r);r=o(t)}return"set"===n&&(r=e(r)(t)),r};return function(e,n,r){var i=function(){var t=d(e);return s.call(o,t)};t(e,n,r.uiTriggers,i)}}}}])});var n=function(e){if(!e||""===e)return[];for(var t=e?e.trim().split(/ *, */):[],n=[],r=0;r<t.length;r++){var i=t[r].split(/ *as */);if(i.length>2||i.length<1)throw new Error('Error parsing uiScopeContext="'+e+'"');n.push(i)}return n},r=function(e,t,n){for(var r=0;r<t.length;r++){var i=t[r][0],o=t[r][1]||i;e[o]=i.split(".").reduce(function(e,t){return e[t]},n)}},i=function(e,t,i,o,s,a){var u,l=t[e],c=l.match(/\{\{/);u=c?function(e){var t=a(l),n=s(t(i));return n(e)}:s(l);var d=n(t.uiScopeContext);return function(){var e;return d.length?(e=angular.extend({},o.values()),r(e,d,i)):e=o.values(),u(e)}};e.directive("uiIf",["$animate","SharedState","$parse","$interpolate",function(e,t,n,r){function o(e){var t=e[0],n=e[e.length-1],r=[t];do{if(t=t.nextSibling,!t)break;r.push(t)}while(t!==n);return angular.element(r)}return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(s,a,u,l,c){var d,h,f,p=i("uiIf",u,s,t,n,r);s.$watch(p,function(t){if(t)h||c(function(t,n){h=n,t[t.length++]=document.createComment(" end uiIf: "+u.uiIf+" "),d={clone:t},e.enter(t,a.parent(),a)});else if(f&&(f.remove(),f=null),h&&(h.$destroy(),h=null),d){f=o(d.clone);var n=function(){f=null},r=e.leave(f,n);r&&r.then(n),d=null}})}}}]),e.directive("uiHide",["$animate","SharedState","$parse","$interpolate",function(e,t,n,r){var o="ng-hide",s="ng-hide-animate";return{restrict:"A",multiElement:!0,link:function(a,u,l){var c=i("uiHide",l,a,t,n,r);a.$watch(c,function(t){e[t?"addClass":"removeClass"](u,o,{tempClasses:s})})}}}]),e.directive("uiShow",["$animate","SharedState","$parse","$interpolate",function(e,t,n){var r="ng-hide",o="ng-hide-animate";return{restrict:"A",multiElement:!0,link:function(s,a,u){var l=i("uiShow",u,s,t,n);s.$watch(l,function(t){e[t?"removeClass":"addClass"](a,r,{tempClasses:o})})}}}]),e.directive("uiClass",["SharedState","$parse","$interpolate",function(e,t){return{restrict:"A",link:function(n,r,o){var s=i("uiClass",o,n,e,t);n.$watch(s,function(e){var t="",n="";angular.forEach(e,function(e,i){e?t+=" "+i:n+=" "+i,t=t.trim(),n=n.trim(),t.length&&r.addClass(t),n.length&&r.removeClass(n)})},!0)}}}]),e.run(["$rootScope","SharedState",function(e,t){e.Ui=t}])}(),function(){"use strict";var e=angular.module("mobile-angular-ui.core.touchmoveDefaults",[]);e.directive("uiPreventTouchmoveDefaults",function(){var e=function(e){e.allowTouchmoveDefault!==!0&&e.preventDefault()};return{compile:function(t){"ontouchmove"in document&&t.on("touchmove",e)}}}),e.factory("allowTouchmoveDefault",function(){var e=function(){return!0};return"ontouchmove"in document?function(t,n){n=n||e;var r=function(e){n(e)&&(e.allowTouchmoveDefault=!0)};return t=angular.element(t),t.on("touchmove",r),t.on("$destroy",function(){t.off("touchmove",r),t=null}),function(){t&&t.off("touchmove",r)}}:angular.noop})}(),function(){"use strict";angular.module("mobile-angular-ui.core",["mobile-angular-ui.core.fastclick","mobile-angular-ui.core.activeLinks","mobile-angular-ui.core.capture","mobile-angular-ui.core.outerClick","mobile-angular-ui.core.sharedState","mobile-angular-ui.core.touchmoveDefaults"])}(),function(e){var t=e.document,n=t.documentElement,r="overthrow-enabled",i="ontouchmove"in t,o="WebkitOverflowScrolling"in n.style||"msOverflowStyle"in n.style||!i&&e.screen.width>800||function(){var t=e.navigator.userAgent,n=t.match(/AppleWebKit\/([0-9]+)/),r=n&&n[1],i=n&&r>=534;return t.match(/Android ([0-9]+)/)&&RegExp.$1>=3&&i||t.match(/ Version\/([0-9]+)/)&&RegExp.$1>=0&&e.blackberry&&i||t.indexOf("PlayBook")>-1&&i&&-1===!t.indexOf("Android 2")||t.match(/Firefox\/([0-9]+)/)&&RegExp.$1>=4||t.match(/wOSBrowser\/([0-9]+)/)&&RegExp.$1>=233&&i||t.match(/NokiaBrowser\/([0-9\.]+)/)&&7.3===parseFloat(RegExp.$1)&&n&&r>=533}();e.overthrow={},e.overthrow.enabledClassName=r,e.overthrow.addClass=function(){-1===n.className.indexOf(e.overthrow.enabledClassName)&&(n.className+=" "+e.overthrow.enabledClassName)},e.overthrow.removeClass=function(){n.className=n.className.replace(e.overthrow.enabledClassName,"")},e.overthrow.set=function(){o&&e.overthrow.addClass()},e.overthrow.canBeFilledWithPoly=i,e.overthrow.forget=function(){e.overthrow.removeClass()},e.overthrow.support=o?"native":"none"}(this),function(e){e.overthrow.set()}(this),function(e,t,n){if(t!==n){t.scrollIndicatorClassName="overthrow";var r=e.document,i=r.documentElement,o="native"===t.support,s=t.canBeFilledWithPoly,a=(t.configure,t.set),u=t.forget,l=t.scrollIndicatorClassName;t.closest=function(e,n){return!n&&e.className&&e.className.indexOf(l)>-1&&e||t.closest(e.parentNode)};var c=!1;t.set=function(){if(a(),!c&&!o&&s){e.overthrow.addClass(),c=!0,t.support="polyfilled",t.forget=function(){u(),c=!1,r.removeEventListener&&r.removeEventListener("touchstart",y,!1)};var l,d,h,f,p=[],m=[],g=function(){p=[],d=null},v=function(){m=[],h=null},$=function(e){f=l.querySelectorAll("textarea, input");for(var t=0,n=f.length;n>t;t++)f[t].style.pointerEvents=e},w=function(e,t){if(r.createEvent){var i,o=(!t||t===n)&&l.parentNode||l.touchchild||l;o!==l&&(i=r.createEvent("HTMLEvents"),i.initEvent("touchend",!0,!0),l.dispatchEvent(i),o.touchchild=l,l=o,o.dispatchEvent(e))}},y=function(e){if(t.intercept&&t.intercept(),g(),v(),l=t.closest(e.target),l&&l!==i&&!(e.touches.length>1)){$("none");var n=e,r=l.scrollTop,o=l.scrollLeft,s=l.offsetHeight,a=l.offsetWidth,u=e.touches[0].pageY,c=e.touches[0].pageX,f=l.scrollHeight,y=l.scrollWidth,b=function(e){var t=r+u-e.touches[0].pageY,i=o+c-e.touches[0].pageX,$=t>=(p.length?p[0]:0),b=i>=(m.length?m[0]:0);t>0&&f-s>t||i>0&&y-a>i?e.preventDefault():w(n),d&&$!==d&&g(),h&&b!==h&&v(),d=$,h=b,l.scrollTop=t,l.scrollLeft=i,p.unshift(t),m.unshift(i),p.length>3&&p.pop(),m.length>3&&m.pop()},C=function(){$("auto"),setTimeout(function(){$("none")},450),l.removeEventListener("touchmove",b,!1),l.removeEventListener("touchend",C,!1)};l.addEventListener("touchmove",b,!1),l.addEventListener("touchend",C,!1)}};r.addEventListener("touchstart",y,!1)}}}}(this,this.overthrow),function(){"use strict";angular.module("mobile-angular-ui.components.modals",[]).directive("modal",["$rootElement",function(e){return{restrict:"C",link:function(t,n){e.addClass("has-modal"),n.on("$destroy",function(){e.removeClass("has-modal")}),t.$on("$destroy",function(){e.removeClass("has-modal")}),n.hasClass("modal-overlay")&&(e.addClass("has-modal-overlay"),n.on("$destroy",function(){e.removeClass("has-modal-overlay")}),t.$on("$destroy",function(){e.removeClass("has-modal-overlay")}))}}}])}(),function(){"use strict";var e=angular.module("mobile-angular-ui.components.navbars",[]);angular.forEach(["top","bottom"],function(t){var n="navbarAbsolute"+t.charAt(0).toUpperCase()+t.slice(1);e.directive(n,["$rootElement",function(e){return{restrict:"C",link:function(n){e.addClass("has-navbar-"+t),n.$on("$destroy",function(){e.removeClass("has-navbar-"+t)})}}}])})}(),function(){"use strict";var e=angular.module("mobile-angular-ui.components.scrollable",["mobile-angular-ui.core.touchmoveDefaults"]),t=function(e){var t=e.touches&&e.touches.length?e.touches:[e],n=e.changedTouches&&e.changedTouches[0]||e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]||t[0].originalEvent||t[0];return n.clientY};e.directive("scrollableContent",function(){return{restrict:"C",controller:["$element","allowTouchmoveDefault",function(e,n){var r=e[0],i=e.parent()[0];if("ontouchmove"in document){var o,s,a,u,l,c=function(e){o=r.scrollTop>0,s=r.scrollTop<r.scrollHeight-r.clientHeight,a=null,u=null,l=t(e)};e.on("touchstart",c),e.on("$destroy",function(){e.off("touchstart")}),n(e,function(e){var n=t(e),r=n>l,i=!r;return l=n,r&&o||i&&s})}this.scrollableContent=r,this.scrollTo=function(e,t){if(t=t||0,angular.isNumber(e))r.scrollTop=e-t;else{var n=angular.element(e)[0];n.offsetParent&&n.offsetParent!==i?this.scrollTo(n.offsetParent,t-n.offsetTop):r.scrollTop=n.offsetTop-t}}}],link:function(e,t){"native"!==overthrow.support&&(t.addClass("overthrow"),overthrow.forget(),overthrow.set())}}}),angular.forEach(["input","textarea"],function(t){e.directive(t,["$rootScope","$timeout",function(e,t){return{require:"?^^scrollableContent",link:function(e,n,r,i){n.on("focus",function(){if(i&&i.scrollableContent){var e=i.scrollableContent.offsetHeight;t(function(){var t=i.scrollableContent.offsetHeight;e>t&&i.scrollTo(n,10)},500)}})}}}])}),angular.forEach({uiScrollTop:function(e){return 0===e.scrollTop},uiScrollBottom:function(e){return e.scrollHeight===e.scrollTop+e.clientHeight}},function(t,n){e.directive(n,[function(){return{restrict:"A",link:function(e,r,i){r.on("scroll",function(){t(r[0])&&e.$apply(function(){e.$eval(i[n])})})}}}])}),angular.forEach({Top:"scrollableHeader",Bottom:"scrollableFooter"},function(t,n){e.directive(t,["$window",function(e){return{restrict:"C",link:function(t,r){var i=r[0],o=r.parent()[0].style,s=function(){var t=e.getComputedStyle(i),r=parseInt(t.marginTop,10)+parseInt(t.marginBottom,10);o["padding"+n]=i.offsetHeight+r+"px"},a=setInterval(s,30);r.on("$destroy",function(){o["padding"+n]=null,clearInterval(a),a=s=r=null})}}}])})}(),function(){"use strict";var e=angular.module("mobile-angular-ui.components.sidebars",["mobile-angular-ui.core.sharedState","mobile-angular-ui.core.outerClick"]);angular.forEach(["left","right"],function(t){var n="sidebar"+t.charAt(0).toUpperCase()+t.slice(1),r="ui"+n.charAt(0).toUpperCase()+n.slice(1);
  e.directive(n,["$rootElement","SharedState","bindOuterClick","$location",function(e,n,i,o){return{restrict:"C",link:function(s,a,u){var l="has-sidebar-"+t,c="sidebar-"+t+"-visible",d="sidebar-"+t+"-in";u.id&&(r=u.id);var h=function(){n.turnOff(r)},f=function(){return n.isActive(r)};e.addClass(l),s.$on("$destroy",function(){e.removeClass(l),e.removeClass(c),e.removeClass(d)});var p=void 0!==u.active&&"false"!==u.active;n.initialize(s,r,{defaultValue:p}),s.$on("mobile-angular-ui.state.changed."+r,function(t,n){(""===u.uiTrackAsSearchParam||u.uiTrackAsSearchParam)&&o.search(r,n||null),n?(e.addClass(c),e.addClass(d)):e.removeClass(d)}),s.$on("$routeChangeSuccess",function(){n.turnOff(r)}),s.$on("$routeUpdate",function(){u.uiTrackAsSearchParam&&(o.search()[r]?n.turnOn(r):n.turnOff(r))}),s.$on("mobile-angular-ui.app.transitionend",function(){n.isActive(r)||e.removeClass(c)}),"false"!==u.closeOnOuterClicks&&i(s,a,h,f)}}}])}),e.directive("app",["$rootScope",function(e){return{restrict:"C",link:function(t,n){n.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend",function(){e.$broadcast("mobile-angular-ui.app.transitionend")})}}}])}(),function(){"use strict";angular.module("mobile-angular-ui.components.switch",[]).directive("uiSwitch",["$injector",function(e){var t=e.has("$drag")&&e.get("$drag");return{restrict:"EA",scope:{model:"=ngModel",changeExpr:"@ngChange"},link:function(e,n,r){n.addClass("switch");var i=r.disabled||n.attr("disabled"),o=e.$watch(function(){return r.disabled||n.attr("disabled")},function(e){i=e&&"false"!==e&&"0"!==e?!0:!1}),s=angular.element('<div class="switch-handle"></div>');n.append(s),e.model&&n.addClass("active"),n.addClass("switch-transition-enabled");var a=e.$watch("model",function(e){e?n.addClass("active"):n.removeClass("active")}),u=function(){return!i},l=function(t){u()&&t!==e.model&&(e.model=t,e.$apply(),null!==e.changeExpr&&void 0!==e.changeExpr&&e.$parent.$eval(e.changeExpr))},c=function(){l(!e.model)};n.on("click tap",c);var d=angular.noop;t&&(d=t.bind(s,{transform:t.TRANSLATE_INSIDE(n),start:function(){n.off("click tap",c)},cancel:function(){s.removeAttr("style"),n.off("click tap",c),n.on("click tap",c)},end:function(){var e=s[0].getBoundingClientRect(),t=n[0].getBoundingClientRect();e.left-t.left<e.width/3?(l(!1),s.removeAttr("style")):t.right-e.right<e.width/3?(l(!0),s.removeAttr("style")):s.removeAttr("style"),n.on("click tap",c)}})),n.on("$destroy",function(){d(),o(),a(),u=l=d=a=o=c=null})}}}])}(),function(){"use strict";angular.module("mobile-angular-ui.components",["mobile-angular-ui.components.modals","mobile-angular-ui.components.navbars","mobile-angular-ui.components.sidebars","mobile-angular-ui.components.scrollable","mobile-angular-ui.components.switch"])}(),function(){"use strict";angular.module("mobile-angular-ui",["mobile-angular-ui.core","mobile-angular-ui.components"])}(),function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("angular")):"function"==typeof define&&define.amd?define(["angular"],t):t(e.angular)}(this,function(e){"use strict";var t,n=e.module("ngDialog",[]),r=e.element,i=e.isDefined,o=(document.body||document.documentElement).style,s=i(o.animation)||i(o.WebkitAnimation)||i(o.MozAnimation)||i(o.MsAnimation)||i(o.OAnimation),a="animationend webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend",u=!1;return n.provider("ngDialog",function(){var n=this.defaults={className:"ngdialog-theme-default",plain:!1,showClose:!0,closeByDocument:!0,closeByEscape:!0,closeByNavigation:!1,appendTo:!1,preCloseCallback:!1,overlay:!0,cache:!0};this.setForceBodyReload=function(e){u=e||!1},this.setDefaults=function(t){e.extend(n,t)};var i,o=0,l=0,c={};this.$get=["$document","$templateCache","$compile","$q","$http","$rootScope","$timeout","$window","$controller",function(d,h,f,p,m,g,v,$,w){var y=d.find("body");u&&g.$on("$locationChangeSuccess",function(){y=d.find("body")});var b={onDocumentKeydown:function(e){27===e.keyCode&&C.close("$escape")},setBodyPadding:function(e){var t=parseInt(y.css("padding-right")||0,10);y.css("padding-right",t+e+"px"),y.data("ng-dialog-original-padding",t)},resetBodyPadding:function(){var e=y.data("ng-dialog-original-padding");e?y.css("padding-right",e+"px"):y.css("padding-right","")},performCloseDialog:function(e,n){var r=e.attr("id");if("undefined"!=typeof $.Hammer){var o=t.hammerTime;o.off("tap",i),o.destroy&&o.destroy(),delete t.hammerTime}else e.unbind("click");1===l&&y.unbind("keydown"),e.hasClass("ngdialog-closing")||(l-=1),g.$broadcast("ngDialog.closing",e),l=0>l?0:l,s?(t.$destroy(),e.unbind(a).bind(a,function(){e.remove(),0===l&&(y.removeClass("ngdialog-open"),b.resetBodyPadding()),g.$broadcast("ngDialog.closed",e)}).addClass("ngdialog-closing")):(t.$destroy(),e.remove(),0===l&&(y.removeClass("ngdialog-open"),b.resetBodyPadding()),g.$broadcast("ngDialog.closed",e)),c[r]&&(c[r].resolve({id:r,value:n,$dialog:e,remainingDialogs:l}),delete c[r])},closeDialog:function(t,n){var r=t.data("$ngDialogPreCloseCallback");if(r&&e.isFunction(r)){var i=r.call(t,n);e.isObject(i)?i.closePromise?i.closePromise.then(function(){b.performCloseDialog(t,n)}):i.then(function(){b.performCloseDialog(t,n)},function(){}):i!==!1&&b.performCloseDialog(t,n)}else b.performCloseDialog(t,n)}},C={open:function(s){function a(e,t){return m.get(e,t||{}).then(function(e){return e.data||""})}function u(t){return t?e.isString(t)&&q.plain?t:"boolean"!=typeof q.cache||q.cache?h.get(t)||a(t,{cache:!0}):a(t,{cache:!1}):"Empty template"}var d=this,q=e.copy(n);s=s||{},e.extend(q,s),o+=1,d.latestID="ngdialog"+o;var x;c[d.latestID]=x=p.defer(),t=e.isObject(q.scope)?q.scope.$new():g.$new();var A,E;return p.when(u(q.template||q.templateUrl)).then(function(n){if(h.put(q.template||q.templateUrl,n),q.showClose&&(n+='<div class="ngdialog-close"></div>'),d.$result=A=r('<div id="ngdialog'+o+'" class="ngdialog"></div>'),A.html(q.overlay?'<div class="ngdialog-overlay"></div><div class="ngdialog-content">'+n+"</div>":'<div class="ngdialog-content">'+n+"</div>"),q.data&&e.isString(q.data)){var s=q.data.replace(/^\s*/,"")[0];t.ngDialogData="{"===s||"["===s?e.fromJson(q.data):q.data}else q.data&&e.isObject(q.data)&&(t.ngDialogData=q.data);if(q.controller&&(e.isString(q.controller)||e.isArray(q.controller)||e.isFunction(q.controller))){var a=w(q.controller,{$scope:t,$element:A});A.data("$ngDialogControllerController",a)}if(q.className&&A.addClass(q.className),E=q.appendTo&&e.isString(q.appendTo)?e.element(document.querySelector(q.appendTo)):y,q.preCloseCallback){var u;e.isFunction(q.preCloseCallback)?u=q.preCloseCallback:e.isString(q.preCloseCallback)&&t&&(e.isFunction(t[q.preCloseCallback])?u=t[q.preCloseCallback]:t.$parent&&e.isFunction(t.$parent[q.preCloseCallback])?u=t.$parent[q.preCloseCallback]:g&&e.isFunction(g[q.preCloseCallback])&&(u=g[q.preCloseCallback])),u&&A.data("$ngDialogPreCloseCallback",u)}if(t.closeThisDialog=function(e){b.closeDialog(A,e)},v(function(){f(A)(t);var e=$.innerWidth-y.prop("clientWidth");y.addClass("ngdialog-open");var n=e-($.innerWidth-y.prop("clientWidth"));n>0&&b.setBodyPadding(n),E.append(A),q.name?g.$broadcast("ngDialog.opened",{dialog:A,name:q.name}):g.$broadcast("ngDialog.opened",A)}),q.closeByEscape&&y.bind("keydown",b.onDocumentKeydown),q.closeByNavigation&&g.$on("$locationChangeSuccess",function(){b.closeDialog(A)}),i=function(e){var t=q.closeByDocument?r(e.target).hasClass("ngdialog-overlay"):!1,n=r(e.target).hasClass("ngdialog-close");(t||n)&&C.close(A.attr("id"),n?"$closeButton":"$document")},"undefined"!=typeof $.Hammer){var c=t.hammerTime=$.Hammer(A[0]);c.on("tap",i)}else A.bind("click",i);return l+=1,C}),{id:"ngdialog"+o,closePromise:x.promise,close:function(e){b.closeDialog(A,e)}}},openConfirm:function(t){var n=p.defer(),i={closeByEscape:!1,closeByDocument:!1};e.extend(i,t),i.scope=e.isObject(i.scope)?i.scope.$new():g.$new(),i.scope.confirm=function(e){n.resolve(e);var t=r(document.getElementById(o.id));b.performCloseDialog(t,e)};var o=C.open(i);return o.closePromise.then(function(e){return e?n.reject(e.value):n.reject()}),n.promise},close:function(e,t){var n=r(document.getElementById(e));return n.length?b.closeDialog(n,t):C.closeAll(t),C},closeAll:function(t){var n=document.querySelectorAll(".ngdialog");e.forEach(n,function(e){b.closeDialog(r(e),t)})},getDefaults:function(){return n}};return C}]}),n.directive("ngDialog",["ngDialog",function(t){return{restrict:"A",scope:{ngDialogScope:"="},link:function(n,r,i){r.on("click",function(r){r.preventDefault();var o=e.isDefined(n.ngDialogScope)?n.ngDialogScope:"noScope";e.isDefined(i.ngDialogClosePrevious)&&t.close(i.ngDialogClosePrevious);var s=t.getDefaults();t.open({template:i.ngDialog,className:i.ngDialogClass||s.className,controller:i.ngDialogController,scope:o,data:i.ngDialogData,showClose:"false"===i.ngDialogShowClose?!1:"true"===i.ngDialogShowClose?!0:s.showClose,closeByDocument:"false"===i.ngDialogCloseByDocument?!1:"true"===i.ngDialogCloseByDocument?!0:s.closeByDocument,closeByEscape:"false"===i.ngDialogCloseByEscape?!1:"true"===i.ngDialogCloseByEscape?!0:s.closeByEscape,preCloseCallback:i.ngDialogPreCloseCallback||s.preCloseCallback})})}}}]),n});var mainCtrl,testCtrl,interviewCtrl,manualCtrl;Array.prototype.shuffle=function(){var e,t,n=this.length;if(0==n)return this;for(;--n;)e=Math.floor(Math.random()*(n+1)),t=this[n],this[n]=this[e],this[e]=t;return this},angular.module("JLRAssessment.controllers.Main",[]).controller("MainController",["$route","$scope","$rootScope","ngDialog",function(e,t){mainCtrl=this,mainCtrl.showBack=!1,t.$on("$routeChangeStart",function(e,t){mainCtrl.showBack="home.html"===t.templateUrl?!1:!0}),mainCtrl.showTest1PageLinks=!1,mainCtrl.showTest2PageLinks=!1,mainCtrl.showInterview=!1,hideExit=!1,mainCtrl.back=function(){mainCtrl.showBack||navigator.app.exitApp(),window.history.go(-1),mainCtrl.showPrevious=!1,mainCtrl.showStart=!1,mainCtrl.showNext=!1,mainCtrl.showEnd=!1,mainCtrl.showButtonNav=!1,mainCtrl.showTest1PageLinks=!1,mainCtrl.showTest2PageLinks=!1},mainCtrl.exit=function(){navigator.app.exitApp()},mainCtrl.gotoPage=function(e){testCtrl.pageid=e,mainCtrl.showPrevious=testCtrl.pageid>1,mainCtrl.showStart=0==testCtrl.pageid,mainCtrl.showNext=testCtrl.pageid>0&&testCtrl.pageid<testCtrl.questions.length,mainCtrl.showEnd=testCtrl.pageid==testCtrl.questions.length,testCtrl.showStart=mainCtrl.showStart},mainCtrl.showPrevious=!1,mainCtrl.showStart=!1,mainCtrl.showNext=!1,mainCtrl.showEnd=!1,document.addEventListener("deviceready",onDeviceReady,!1),document.addEventListener("backbutton",back,!1)}]).controller("TestController",["$scope","$rootScope","$routeParams","ngDialog","$timeout",function(e,t,n,r,i){mainCtrl.showButtonNav=!0,testCtrl=this,testCtrl.showModal1=!1,mainCtrl.showBack=!0,testCtrl.closeTimeUpModal=function(){testCtrl.timeUpModal=!1},testCtrl.testid=parseInt(n.testid,10),testCtrl.pageid=parseInt(n.pageid,10),testCtrl.timed="true"===n.timed,testCtrl.tests=[{id:1,name:"Assessment 1",timed:!0,description:"This assessment is our way to determine your ability to pay attention to details which JLR champions on all its workers.\n\nAll you required to do is identify if the two set of characters presented are similar or not.\n\nYou simple choose 'Identical' or 'Not Identical' on the set of characters given.\n\nYou must work quickly and accurately.",questions:assessment1questions},{id:2,name:"Review Assessment 1",timed:!1,description:"This assessment is our way to determine your ability to pay attention to details which JLR champions on all its workers.\n\nAll you required to do is identify if the two set of characters presented are similar or not.\n\nYou simple choose 'Identical' or 'Not Identical' on the set of characters given.\n\nThis test is not timed.",questions:assessment1questions},{id:3,name:"Assessment 2",description:"This assessment test is our way to determine a person's behaviour under a situation where s/he will be given a set of instructions to fulfil. JLR would like the right people who are capable of following a set of instructions.\n\nThis assessment is broken down in two parts. You will be asked to follow a set of instructions to locate letters and numbers on a specific place or order and may require basic arithmetics. The second part of the assessment are random set of questions that are still relevant to measure your ability to follow instructions.\n\nPlease give your answer on the box provided, the app is designed to ensure the least interference.\n\nYou must work quickly and accurately.",timed:!0,questions:assessment2questions},{id:4,name:"Review Assessment 2",description:"This assessment test is our way to determine a person's behaviour under a situation where s/he will be given a set of instructions to fulfil. JLR would like the right people who are capable of following a set of instructions.\n\nThis assessment is broken down in two parts. You will be asked to follow a set of instructions to locate letters and numbers on a specific place or order and may require basic arithmetics. The second part of the assessment are random set of questions that are still relevant to measure your ability to follow instructions.\n\nPlease give your answer on the box provided, the app is designed to ensure the least interference.\n\nThis test is not timed.",timed:!1,questions:assessment2questions}];var o=testCtrl.tests[testCtrl.testid-1].id;testCtrl.testname=testCtrl.tests[testCtrl.testid-1].name;var s=testCtrl.tests[testCtrl.testid-1].questions;testCtrl.questions=new Array;var a=0;if(1===o&&(a=240),3===o&&(a=570),3>o){s.shuffle();for(var u=0;61>u;u++)s[u].selected="none",testCtrl.questions.push(s[u]);mainCtrl.showTest1PageLinks=!0}else{for(var u=0;29>u;u++){var l=s[u].questions[Math.floor(Math.random()*s[u].questions.length)];l.answer="",testCtrl.questions.push(l)}mainCtrl.showTest2PageLinks=!0}testCtrl.description=testCtrl.tests[testCtrl.testid-1].description,testCtrl.showResult=!1,mainCtrl.showPrevious=testCtrl.pageid>1,mainCtrl.showStart=0==testCtrl.pageid,mainCtrl.showNext=testCtrl.pageid>0&&testCtrl.pageid<testCtrl.questions.length,mainCtrl.showEnd=testCtrl.pageid==testCtrl.questions.length,testCtrl.showStart=mainCtrl.showStart,testCtrl.showResult=!1,testCtrl.results={correctAnswers:0,totalScore:0,passed:!1},testCtrl.getResult=function(){testCtrl.results.totalScore=testCtrl.questions.length;var e=0,t=!1;if(3>o){for(var n=0;n<testCtrl.results.totalScore;n++){var r=new String(testCtrl.questions[n].Ans),i=new String(testCtrl.questions[n].selected);r.toLowerCase()===i.toLowerCase()&&(e+=1)}e>=50&&(t=!0)}else{for(var n=0;n<testCtrl.results.totalScore;n++){var s=new String(testCtrl.questions[n].CorrectAnswer),a=new String(testCtrl.questions[n].answer);s.toLowerCase()===a.toLowerCase()&&(e+=1)}e>=18&&(t=!0)}testCtrl.results.correctAnswers=e,testCtrl.results.passed=t},testCtrl.testTime=a,testCtrl.timerCount=0,testCtrl.getTimeElapsed=function(){return getTimeString(testCtrl.timerCount)},testCtrl.getTimeRemaining=function(){return getTimeString(testCtrl.testTime-testCtrl.timerCount)},testCtrl.startTimer=function(){testCtrl.continueCount=!0;var e=function(){testCtrl.continueCount&&(testCtrl.timerCount===testCtrl.testTime?testCtrl.timeUpModal=!0:(testCtrl.timerCount++,testCtrl.timedown=testCtrl.getTimeRemaining(),i(e,1e3)))};testCtrl.timedown=testCtrl.getTimeRemaining(),e()},mainCtrl.previous=function(){mainCtrl.gotoPage(testCtrl.pageid-1)},mainCtrl.start=function(){mainCtrl.gotoPage(testCtrl.pageid+1),testCtrl.showTimer=!1,testCtrl.testTime>0&&(testCtrl.timerDisplay="",testCtrl.startTimer(testCtrl.testTime),testCtrl.showTimer=!0)},mainCtrl.next=function(){mainCtrl.gotoPage(testCtrl.pageid+1)},mainCtrl.submit=function(){testCtrl.showResult=!0,mainCtrl.showPrevious=!1,mainCtrl.showStart=!1,mainCtrl.showNext=!1,mainCtrl.showEnd=!1,testCtrl.continueCount=!1,testCtrl.getResult()},testCtrl.submit=function(){testCtrl.showTimer=!1,testCtrl.closeTimeUpModal(),mainCtrl.submit()}}]).controller("InterviewController",["$scope","$rootScope","$routeParams","ngDialog","$timeout",function(){interviewCtrl=this,interviewCtrl.questions=interviewquestions,interviewCtrl.showQuestion=!1,mainCtrl.showBack=!0,mainCtrl.showPrevious=!1,mainCtrl.showNext=!0,mainCtrl.next=function(){interviewCtrl.showQuestion=!0,mainCtrl.showPrevious=!0,mainCtrl.showNext=!1},mainCtrl.previous=function(){interviewCtrl.showQuestion=!1,mainCtrl.showPrevious=!1,mainCtrl.showNext=!0}}]).controller("ManualController",["$scope","$rootScope","$routeParams","ngDialog","$timeout",function(){manualCtrl=this,manualCtrl.showCylinderImage=!1,manualCtrl.page=1,manualCtrl.showTitle=!1,manualCtrl.title="",manualCtrl.pageBody="",manualCtrl.gotoPage=function(e){manualCtrl.page=e,mainCtrl.showPrevious=manualCtrl.page>1,mainCtrl.showNext=manualCtrl.page>0&&manualCtrl.page<3},mainCtrl.showBack=!0,mainCtrl.showPrevious=!1,mainCtrl.showNext=!0,manualCtrl.gotoPage(manualCtrl.page),manualCtrl.showCylynder=function(){manualCtrl.showCylinderImage=!0},manualCtrl.hideCylinder=function(){manualCtrl.showCylinderImage=!1},mainCtrl.next=function(){manualCtrl.gotoPage(manualCtrl.page+1)},mainCtrl.previous=function(){manualCtrl.gotoPage(manualCtrl.page-1)}}]);var assessment2questions=[{category:1,questions:[{patternquestion:"C B V H G K Y O P N A H G K L M Z X C W Q U G N B \n1 2 5 8 7 4 1 2 0 3 0 9 8 5 6 3 2 1 0 2 5 4 1 5 9",question:"Find the second digit (from the right). Look at the letter above that digit. Find the same letter along the row and enter the digit that appears below it.",type:"pattern",CorrectAnswer:"3",answer:""},{patternquestion:"A C V G F Y T Q A Z X D S L M K J N V B D G T S D\n1 2 0 9 7 5 6 3 5 4 8 1 0 2 9 7 5 6 1 2 5 4 7 8 9",question:"Find the second digit (from the right). Look at the letter above that digit. Find the same letter along the row and enter the digit that appears below it.",type:"pattern",CorrectAnswer:"0",answer:""},{patternquestion:"Z X B C H G T R E W Q P L M N H B V G T F D S X P\n1 0 9 8 7 6 4 8 5 7 2 7 4 0 9 1 2 8 3 7 4 8 4 2 3",question:"Find the second digit (from the right). Look at the letter above that digit. Find the same letter along the row and enter the digit that appears below it.",type:"pattern",CorrectAnswer:"0",answer:""},{patternquestion:"P O K G H B V C Z R D T S D H G K M N L P W E R Y\n9 8 7 5 2 1 0 2 3 2 0 1 5 4 7 8 9 6 3 0 2 1 5 8 7",question:"Find the second digit (from the right). Look at the letter above that digit. Find the same letter along the row and enter the digit that appears below it.",type:"pattern",CorrectAnswer:"2",answer:""},{patternquestion:"P L M N K O I J Z V H U Y G C F T R E W Q A S Z X\n5 9 8 7 4 6 3 0 1 2 9 8 7 4 5 2 1 4 8 9 6 3 2 0 1",question:"Find the second digit (from the right). Look at the letter above that digit. Find the same letter along the row and enter the digit that appears below it.",type:"pattern",CorrectAnswer:"1",answer:""}]},{category:2,questions:[{patternquestion:"Q P W L D N B J G Y A F U D H W Y B M D L X Z Q R\n6 5 9 8 7 4 5 6 2 3 0 1 4 8 9 6 3 0 2 1 5 8 7 9 5",question:"Find the ninth letter (from the left), enter the digit that appears below it.",type:"pattern",CorrectAnswer:"2",answer:""},{patternquestion:"Q P G J N C V Z H F M Q O G H S C Z F Q J B L M D\n5 9 8 7 9 5 2 1 0 1 2 3 6 5 2 0 1 4 8 9 7 5 2 0 3",question:"Find the ninth letter (from the left), enter the digit that appears below it.",type:"pattern",CorrectAnswer:"0",answer:""},{patternquestion:"H D C Z X Q P L M J N V H B Y T R F K B X C M L S\n6 0 1 7 1 2 4 5 2 3 8 4 3 6 6 8 8 2 2 4 8 2 6 6 8",question:"Find the ninth letter (from the left), enter the digit that appears below it.",type:"pattern",CorrectAnswer:"2",answer:""},{patternquestion:"N N G Z Q M L S L A D E G K E C B Q U Q S O B H T\n2 7 9 4 5 9 0 2 8 2 1 4 8 7 9 2 2 8 0 2 8 9 5 7 2",question:"Find the ninth letter (from the left), enter the digit that appears below it.",type:"pattern",CorrectAnswer:"8",answer:""},{patternquestion:"M G S I L E G C Q Z U M N V L R I U K X A O I L V\n4 2 9 6 9 4 2 4 4 9 0 7 0 8 5 9 3 5 1 8 1 3 6 8 7",question:"Find the ninth letter (from the left), enter the digit that appears below it.",type:"pattern",CorrectAnswer:"4",answer:""}]},{category:3,questions:[{patternquestion:"Q P W L D N B J G Y A F U D H W Y B M D L X Z Q R\n6 5 9 8 7 4 5 6 2 3 0 1 4 8 9 6 3 0 2 1 5 8 7 9 5",question:'If the first and the last digits are the same, enter "500"; if they are different, enter "10".',type:"pattern",CorrectAnswer:"10",answer:""},{patternquestion:"Q P G J N C V Z H F M Q O G H S C Z F Q J B L M D\n5 9 8 7 9 5 2 1 0 1 2 3 6 5 2 0 1 4 8 9 7 5 2 0 5",question:'If the first and the last digits are the same, enter "500"; if they are different, enter "10".',type:"pattern",CorrectAnswer:"500",answer:""},{patternquestion:"H D C Z X Q P L M J N V H B Y T R F K B X C M L S\n6 0 1 7 1 2 4 5 2 3 8 4 3 6 6 8 8 2 2 4 8 2 6 6 8",question:'If the first and the last digits are the same, enter "500"; if they are different, enter "10".',type:"pattern",CorrectAnswer:"10",answer:""},{patternquestion:"N N G Z Q M L S L A D E G K E C B Q U Q S O B H T\n2 7 9 4 5 9 0 2 8 2 1 4 8 7 9 2 2 8 0 2 8 9 5 7 2",question:'If the first and the last digits are the same, enter "500"; if they are different, enter "10".',type:"pattern",CorrectAnswer:"500",answer:""},{patternquestion:"M G S I L E G C Q Z U M N V L R I U K X A O I L V\n4 2 9 6 9 4 2 4 4 9 0 7 0 8 5 9 3 5 1 8 1 3 6 8 7",question:'If the first and the last digits are the same, enter "500"; if they are different, enter "10".',type:"pattern",CorrectAnswer:"10",answer:""}]},{category:4,questions:[{patternquestion:"Q P W L D N B J G Y A F U D H W Y W M D L X Z Q R\n6 5 9 8 7 4 5 6 2 3 0 1 4 8 9 6 3 0 2 1 5 8 7 9 5",question:"Enter the number that is under the letter, which appears between two Ws.",type:"pattern",CorrectAnswer:"3",answer:""},{patternquestion:"Q P G J N C V Z H F M Q O G H S C Z C Q J B L M D\n5 9 8 7 9 5 2 1 0 1 2 3 6 5 2 0 1 4 8 9 7 5 2 0 5",question:"Enter the number that is under the letter, which appears between two Cs.",type:"pattern",CorrectAnswer:"4",answer:""},{patternquestion:"H D C Z X Q P L M J N V H B Y T R T K B X C M L S\n6 0 1 7 1 2 4 5 2 3 8 4 3 6 6 8 8 2 2 4 8 2 6 6 8",question:"Enter the number that is under the letter, which appears between two Ts.",type:"pattern",CorrectAnswer:"8",answer:""},{patternquestion:"N N G Z Q M L S L A D E G K E C B Q B Q S O B H T\n2 7 9 4 5 9 0 2 8 2 1 4 8 7 9 2 2 8 0 2 8 9 5 7 2",question:"Enter the number that is under the letter, which appears between two Bs.",type:"pattern",CorrectAnswer:"8",answer:""},{patternquestion:"M G S I L E G C Q Z U M N V L R I R K X A O I L V\n4 2 9 6 9 4 2 4 4 9 0 7 0 8 5 9 3 5 1 8 1 3 6 8 7",question:"Enter the number that is under the letter, which appears between two Rs.",type:"pattern",CorrectAnswer:"3",answer:""}]},{category:5,questions:[{patternquestion:"Q P W L D N B J G Y A F U D H W Y W M D L X Z Q R\n6 5 9 8 7 4 5 6 2 3 0 1 4 8 9 6 3 0 2 1 5 8 7 9 5",question:"Enter the digit that appears below L and immediately to the right of digit 7.",type:"pattern",CorrectAnswer:"84",answer:""},{patternquestion:"Q P G J N C V Z H F M Q O G H S C Z C Q J B L M D\n5 9 8 7 9 5 2 1 0 1 2 3 6 5 2 0 1 4 8 9 7 5 2 0 5",question:"Enter the digit that appears below Z and immediately to the right of digit 0.",type:"pattern",CorrectAnswer:"11",answer:""},{patternquestion:"H D C Z X Q P L M J N V H B Y T R T K B X C M L S\n6 0 1 7 1 2 4 5 2 3 8 4 3 6 6 8 8 2 2 4 8 2 6 6 8",question:"Enter the digit that appears below P and immediately to the right of digit 5.",type:"pattern",CorrectAnswer:"42",answer:""},{patternquestion:"N N G Z Q M L S L A D E G K E C B Q B Q S O B H T\n2 7 9 4 5 9 0 2 8 2 1 4 8 7 9 2 2 8 0 2 8 9 5 7 2",question:"Enter the digit that appears below Q and immediately to the right of digit 9.",type:"pattern",CorrectAnswer:"50",answer:""},{patternquestion:"M G S I L E G C Q Z U M N V L R I R K X A O I L V\n4 2 9 6 9 4 2 4 4 9 0 7 0 8 5 9 3 5 1 8 1 3 6 8 7",question:"Enter the digit that appears below G and immediately to the right of digit 4.",type:"pattern",CorrectAnswer:"20",answer:""}]},{category:6,questions:[{patternquestion:"Q P W L D N B J G Y A F U D H W Y W M D L X Z Q R\n6 5 9 8 7 4 5 6 2 3 0 1 4 8 9 6 3 0 2 1 5 8 7 9 5",question:'Find the digits under "WMD". If there is a digit among them larger than 5, enter that digit. If there is no digit larger than 5, enter 8.',type:"pattern",CorrectAnswer:"8",answer:""},{patternquestion:"Q P G J N C V Z H F M Q O G H S C Z C Q J B L M D\n5 9 8 7 9 5 2 1 0 1 2 3 6 5 2 0 1 4 8 9 7 5 2 0 5",question:'Find the digits under "MQO". If there is a digit among them larger than 5, enter that digit. If there is no digit larger than 5, enter 9.',type:"pattern",CorrectAnswer:"6",answer:""},{patternquestion:"H D C Z X Q P L M J N V H B Y T R T K B X C M L S\n6 0 1 7 1 2 4 5 2 3 8 4 3 6 6 8 8 2 2 4 8 2 6 6 8",question:'Find the digits under "TRT". If there is a digit among them larger than 5, enter that digit. If there is no digit larger than 5, enter 4.',type:"pattern",CorrectAnswer:"8",answer:""},{patternquestion:"N N G Z Q M L S L A D E G K E C B Q B Q S O B H T\n2 7 9 4 5 9 0 2 8 2 1 4 8 7 9 2 2 4 0 2 8 9 5 7 2",question:'Find the digits under "CBQ". If there is a digit among them larger than 5, enter that digit. If there is no digit larger than 5, enter 9.',type:"pattern",CorrectAnswer:"9",answer:""},{patternquestion:"M G S I L E G C Q Z U M N V L R I R K X A O I L V\n4 2 9 6 9 4 2 4 4 9 0 7 0 8 5 9 3 5 1 8 1 3 6 8 7",question:'Find the digits under "GCQ". If there is a digit among them larger than 5, enter that digit. If there is no digit larger than 5, enter 6.',type:"pattern",CorrectAnswer:"6",answer:""}]},{category:7,questions:[{patternquestion:"Q P W L D N B J G Y A F U D H W Y B M D L X Z Q R\n6 5 9 8 7 4 5 6 2 3 0 1 4 8 9 6 3 0 2 1 5 8 7 9 5",question:"Find the 4th digit (from the left side), look at the letter that is above that digit. Find the second letter to the left of it. Enter the digit that appears under it.",type:"pattern",CorrectAnswer:"5",answer:""},{patternquestion:"Q P G J N C V Z H F M Q O G H S C Z F Q J B L M D\n5 9 8 7 9 5 2 1 0 1 2 3 6 5 2 0 1 4 8 9 7 5 2 0 3",question:"Find the 4th digit (from the left side), look at the letter that is above that digit. Find the second letter to the left of it. Enter the digit that appears under it.",type:"pattern",CorrectAnswer:"9",answer:""},{patternquestion:"H D C Z X Q P L M J N V H B Y T R F K B X C M L S\n6 0 1 7 1 2 4 5 2 3 8 4 3 6 6 8 8 2 2 4 8 2 6 6 8",question:"Find the 4th digit (from the left side), look at the letter that is above that digit. Find the second letter to the left of it. Enter the digit that appears under it.",type:"pattern",CorrectAnswer:"0",answer:""},{patternquestion:"N N G Z Q M L S L A D E G K E C B Q U Q S O B H T\n2 7 9 4 5 9 0 2 8 2 1 4 8 7 9 2 2 8 0 2 8 9 5 7 2",question:"Find the 4th digit (from the left side), look at the letter that is above that digit. Find the second letter to the left of it. Enter the digit that appears under it.",type:"pattern",CorrectAnswer:"7",answer:""},{patternquestion:"M G S I L E G C Q Z U M N V L R I U K X A O I L V\n4 2 9 6 9 4 2 4 4 9 0 7 0 8 5 9 3 5 1 8 1 3 6 8 7",question:"Find the 4th digit (from the left side), look at the letter that is above that digit. Find the second letter to the left of it. Enter the digit that appears under it.",type:"pattern",CorrectAnswer:"2",answer:""}]},{category:8,questions:[{patternquestion:"Q P W L D N B J G Y A F U D H W Y B M D L X Z Q R\n6 5 9 8 7 4 5 6 2 3 0 1 4 8 9 6 3 0 2 1 5 8 7 8 5",question:"Find the digit that appears between the 8s. Find the fifth letter to the left of the letter above that digit, and enter the digit that appears under it.",type:"pattern",CorrectAnswer:"0",answer:""},{patternquestion:"Q P G J N C V Z H F M Q O G H S C Z F Q J B L M D\n5 9 8 7 9 5 2 1 0 1 2 3 6 5 2 0 1 4 8 9 7 5 2 0 2",question:"Find the digit that appears between the 2s. Find the fifth letter to the left of the letter above that digit, and enter the digit that appears under it.",type:"pattern",CorrectAnswer:"8",answer:""},{patternquestion:"H D C Z X Q P L M J N V H B Y T R F K B X C M L S\n6 0 1 7 1 2 4 5 2 3 8 4 3 6 1 8 8 2 2 4 8 2 6 5 6",question:"Find the digit that appears between the 6s. Find the fifth letter to the left of the letter above that digit, and enter the digit that appears under it.",type:"pattern",CorrectAnswer:"2",answer:""},{patternquestion:"N N G Z Q M L S L A D E G K E C B Q U Q S O B H T\n2 7 9 4 5 9 0 2 8 2 1 4 8 7 9 2 2 8 0 2 8 9 5 7 5",question:"Find the digit that appears between the 5s. Find the fifth letter to the left of the letter above that digit, and enter the digit that appears under it.",type:"pattern",CorrectAnswer:"0",answer:""},{patternquestion:"M G S I L E G C Q Z U M N V L R I U K X A O I L V\n4 2 9 6 9 4 2 4 4 9 0 7 0 8 5 9 3 5 1 8 1 3 7 8 7",question:"Find the digit that appears between the 7s. Find the fifth letter to the left of the letter above that digit, and enter the digit that appears under it.",type:"pattern",CorrectAnswer:"1",answer:""}]},{category:9,questions:[{patternquestion:"Q P W L D N B J G Y A F U D H W Y B M D L X Z Q R\n6 5 9 8 7 4 5 6 2 3 0 1 4 8 9 6 3 0 2 1 5 8 7 8 5",question:'Find the word "FUD", add the digits that appear under this word, and enter the outcome.',type:"pattern",CorrectAnswer:"13",answer:""},{patternquestion:"Q P G J N C V Z H F M Q O G O S C Z F Q J B L M D\n5 9 8 7 9 5 2 1 0 1 2 3 6 5 2 0 1 4 8 9 7 5 2 0 2",question:'Find the word "GOS", add the digits that appear under this word, and enter the outcome.',type:"pattern",CorrectAnswer:"7",answer:""},{patternquestion:"H D C Z X Q P L M J N V H B Y E R F K B X C M L S\n6 0 1 7 1 2 4 5 2 3 8 4 3 6 1 8 8 2 2 4 8 2 6 5 6",question:'Find the word "BYE", add the digits that appear under this word, and enter the outcome.',type:"pattern",CorrectAnswer:"15",answer:""},{patternquestion:"N N G Z Q M L S L A D E G K E C B Q U Q S O B H T\n2 7 9 4 5 9 0 2 8 2 1 4 8 7 9 2 2 8 0 2 8 9 5 7 5",question:'Find the word "LAD", add the digits that appear under this word, and enter the outcome.',type:"pattern",CorrectAnswer:"11",answer:""},{patternquestion:"M G S I L E G C Q Z U M N V L R I U K X A O I L V\n4 2 9 6 9 4 2 4 4 9 0 7 0 8 5 9 3 5 1 8 1 3 7 8 7",question:'Find the word "OIL", add the digits that appear under this word, and enter the outcome.',type:"pattern",CorrectAnswer:"18",answer:""}]},{category:10,questions:[{patternquestion:"Q P W L P N B J G P A F U D P W Y B M D P X Z Q R\n6 5 9 8 7 4 5 6 2 3 0 1 4 8 9 6 3 0 2 1 5 8 7 8 5",question:"Count how many times P appears just after L. Multiply the outcome by 9 and enter the result.",type:"pattern",CorrectAnswer:"36",answer:""},{patternquestion:"J P G J N C V Z H F M Q J G O S C Z F Q J B L M D\n5 9 8 7 9 5 2 1 0 1 2 3 6 5 2 0 1 4 8 9 7 5 2 0 2",question:"Count how many times J appears just after G. Multiply the outcome by 6 and enter the result.",type:"pattern",CorrectAnswer:"18",answer:""},{patternquestion:"H D C Z X H P L M J N V H B Y E R H K B X C H L S\n6 0 1 7 1 2 4 5 2 3 8 4 3 6 1 8 8 2 2 4 8 2 6 5 6",question:"Count how many times H appears just after Z. Multiply the outcome by 8 and enter the result.",type:"pattern",CorrectAnswer:"32",answer:""},{patternquestion:"N N G Z Q M L N L A D E G K E C N Q U Q S O B H N\n2 7 9 4 5 9 0 2 8 2 1 4 8 7 9 2 2 8 0 2 8 9 5 7 5",question:"Count how many times N appears just after Q. Multiply the outcome by 4 and enter the result.",type:"pattern",CorrectAnswer:"12",answer:""},{patternquestion:"L G S I L E G C Q L U M N V L R I U K X A O I L V\n4 2 9 6 9 4 2 4 4 9 0 7 0 8 5 9 3 5 1 8 1 3 7 8 7",question:"Count how many times L appears just after S. Multiply the outcome by 7 and enter the result.",type:"pattern",CorrectAnswer:"28",answer:""}]},{category:11,questions:[{patternquestion:"D T R B N I Z P A I H L A Q I H D T V L W Y E B U\n2 0 5 1 8 3 6 2 4 3 7 9 2 7 2 0 1 3 5 8 4 8 4 9 3",question:"Add up the digits that appear under “ I“ and then add up the digits that appear under “ L“. If the first sum is larger that the second, enter the sum of the second. If the second is larger that the first, enter the sum of the first, if they are equal, enter 33.",type:"pattern",CorrectAnswer:"8",answer:""},{patternquestion:"A F R E H N Y E C U E K X L X A G K P S Q V J T M\n1 5 6 7 0 5 3 2 8 4 5 9 2 3 4 5 0 2 1 7 5 3 6 8 4",question:"Add up the digits that appear under “ A“ and then add up the digits that appear under “ X“. If the first sum is larger that the second, enter the sum of the second. If the second is larger that the first, enter the sum of the first, if they are equal, enter 11.",type:"pattern",CorrectAnswer:"11",answer:""},{patternquestion:"T G N E C B S J C M W I S L Z R K V S P A C Y Q U \n1 5 3 2 8 5 7 3 9 0 2 3 6 8 3 7 3 2 4 6 9 7 1 2 5",question:"Add up the digits that appear under “S “ and then add up the digits that appear under “ C“. If the first sum is larger that the second, enter the sum of the second. If the second is larger that the first, enter the sum of the first, if they are equal, enter 76.",type:"pattern",CorrectAnswer:"17",answer:""},{patternquestion:"X J W R C U C O P T Q Y V X A N K N L X N H Q B Z\n3 5 7 1 7 4 3 4 5 9 0 6 4 1 5 3 8 6 5 4 1 2 7 8 0",question:"Add up the digits that appear under “N“ and then add up the digits that appear under “ Q“. If the first sum is larger that the second, enter the sum of the second. If the second is larger that the first, enter the sum of the first, if they are equal, enter 27.",type:"pattern",CorrectAnswer:"7",answer:""},{patternquestion:"W I C B A G W R F B J L D F E U P Q K H D N V M X\n4 8 9 4 2 0 6 3 5 7 9 6 3 2 1 3 0 8 9 5 7 1 5 9 2",question:"Add up the digits that appear under “C“ and then add up the digits that appear under “Q“. If the first sum is larger that the second, enter the sum of the second. If the second is larger that the first, enter the sum of the first, if they are equal, enter 53.",type:"pattern",CorrectAnswer:"8",answer:""}]},{category:12,questions:[{patternquestion:"P Q W E T V X N O I A F G D F T Y C W E P V Z L O\n0 1 4 6 5 3 9 3 7 8 2 1 5 3 7 4 8 5 0 7 2 8 4 7 3",question:"Look at the eight right most digits. Find the digit among these that stands to the left of the digit that is below the letter W. Enter that digit.",type:"pattern",CorrectAnswer:"0",answer:""},{patternquestion:"E C A B Y V Z P Q U V E H K F S V S B W U M Q L R\n8 9 5 4 2 3 1 0 1 7 5 8 6 4 9 5 2 3 7 9 5 8 1 3 4",question:"Look at the eleven right most digits. Find the digit among these that stands to the left of the digit that is below the letter S. Enter that digit.",type:"pattern",CorrectAnswer:"5",answer:""},{patternquestion:"T S V T M W X M G D J W H X L P U B C A F A G R H\n3 8 9 1 4 2 0 4 7 8 6 0 3 1 5 8 3 2 4 6 3 8 7 0 1",question:"Look at the seven right most digits. Find the digit among these that stands to the left of the digit that is below the letter A. Enter that digit.",type:"pattern",CorrectAnswer:"6",answer:""},{patternquestion:"A R B T D N A J H D X F G D P Q Y B G D G X Z Q G\n6 5 9 8 7 4 5 6 2 3 0 1 4 8 9 6 3 0 2 1 5 8 7 8 5",question:"Look at the nine right most digits.Find the digits among these that stands to the left of the digit that is below the D. Enter that digit.",type:"pattern",CorrectAnswer:"1",answer:""},{patternquestion:"X V N T D X E J H P X F R T X Q Y B T L G L T M Y\n9 3 5 7 9 3 2 6 9 4 0 1 2 8 4 3 7 8 2 7 5 8 4 1 2",question:"Look at the ten left most digits.Find the digits among these that stands to the left of the digit that is below the T. Enter that digit.",type:"pattern",CorrectAnswer:"7",answer:""}]},{category:13,questions:[{question:"Enter the first digit of the largest number and the middle digit of the smallest number of the following list of numbers: (enter from left to right without space)",patternquestion:"1203041200 200103 102301150340 200864 00125 0403120",type:"pattern2",CorrectAnswer:"11",answer:""},{question:"Enter the first digit of the largest number and the middle digit of the smallest number of the following list of numbers: (enter from left to right without space)",patternquestion:"200210325004 0015632 201450002 00213 00122301 001233",type:"pattern2",CorrectAnswer:"22",answer:""},{question:"Enter the first digit of the largest number and the middle digit of the smallest number of the following list of numbers: (enter from left to right without space)",patternquestion:"500310 12003201 102510032  10023 2004130120 200134002300",type:"pattern2",CorrectAnswer:"20",answer:""},{question:"Enter the first digit of the largest number and the middle digit of the smallest number of the following list of numbers: (enter from left to right without space)",patternquestion:"200310 02310 0053301204 02260403100 102103204200 00123014",type:"pattern2",CorrectAnswer:"13",answer:""},{question:"Enter the first digit of the largest number and the middle digit of the smallest number of the following list of numbers: (enter from left to right without space)",patternquestion:"100320123005 25165161 121021",type:"pattern2",CorrectAnswer:"11",answer:""}]},{category:14,questions:[{question:"If the following list of numbers, if the sum of the even numbers is larger than the sum of the odd numbers, enter 250. If the sum of the odd numbers is larger, enter 150, and if they are equal, enter 50.",patternquestion:"5, 9, 4, 2, 1, 8, 3, 5",type:"pattern2",CorrectAnswer:"150",answer:""},{question:"If the following list of numbers, if the sum of the even numbers is larger than the sum of the odd numbers, enter 250. If the sum of the odd numbers is larger, enter 150, and if they are equal, enter 50.",patternquestion:"8, 9, 2, 7, 6, 1, 5, 6",type:"pattern2",CorrectAnswer:"50",answer:""},{question:"If the following list of numbers, if the sum of the even numbers is larger than the sum of the odd numbers, enter 250. If the sum of the odd numbers is larger, enter 150, and if they are equal, enter 50.",patternquestion:"9, 4, 1, 2, 1, 8, 7, 2",type:"pattern2",CorrectAnswer:"150",answer:""},{question:"If the following list of numbers, if the sum of the even numbers is larger than the sum of the odd numbers, enter 250. If the sum of the odd numbers is larger, enter 150, and if they are equal, enter 50.",patternquestion:"8, 9, 6, 7, 6, 1, 4, 3",type:"pattern2",CorrectAnswer:"250",answer:""},{question:"If the following list of numbers, if the sum of the even numbers is larger than the sum of the odd numbers, enter 250. If the sum of the odd numbers is larger, enter 150, and if they are equal, enter 50.",patternquestion:"3, 5, 2, 4, 6, 0, 1, 3",type:"pattern2",CorrectAnswer:"50",answer:""}]},{category:15,questions:[{question:"If it is shorter than 5 cm, enter 5. If it is longer that 12 cm, enter 2, and if it is between 5 cm and 12, enter 512.",patternquestion:"|--------------------------------------------------|",type:"pattern",CorrectAnswer:"512",answer:""},{question:"If it is shorter than 7 cm, enter 7. If it is longer that 13 cm, enter 3, and if it is between 7 cm and 13, enter 713.",patternquestion:"|--------------------------------------------------------------|",type:"pattern",CorrectAnswer:"7",answer:""},{question:"If it is shorter than 8 cm, enter 8. If it is longer that 15 cm, enter 5, and if it is between 8 cm and 15, enter 815.",patternquestion:"|--------------------------------------------------------------------|",type:"pattern",CorrectAnswer:"8",answer:""},{question:"If it is shorter than 9 cm, enter 9. If it is longer that 12 cm, enter 2, and if it is between 9 cm and 12, enter 912.",patternquestion:"|---------------------------------------------------------------------------------------------------------------|",type:"pattern",CorrectAnswer:"2",answer:""},{question:"If it is shorter than 8 cm, enter 8. If it is longer that 14 cm, enter 4, and if it is between 8 cm and 14, enter 814.",patternquestion:"|---------------------------------------------------------------------------------|",type:"pattern2",CorrectAnswer:"814",answer:""}]},{category:16,questions:[{question:"Enter the number that appears to the left of the list of letters that is the same as: 1X11V1VX1X",patternquestion:"1)  1X11VXV11X	2)  1X11VVX11X	3)  1X1VXV11X1\n	4)  1X1V1XV11X	5)  1X11V1VX1X",type:"pattern2",CorrectAnswer:"5",answer:""},{question:"Enter the number that appears to the left of the list of letters that is the same as: 1XV1X1VX1X",patternquestion:"1)  1VX1X1VX1X	2)  1XV1X1VX1X	3)  1XV1X1V1X1\n	4)  1XV1X1XX1X	5)  1XV1V1VX1X",type:"pattern2",CorrectAnswer:"2",answer:""},{question:"Enter the number that appears to the left of the list of letters that is the same as: V1X1X1VX1X",patternquestion:"1)  V1X1X1XV1X	2)  VX1X1XVX1X	3)  V1X1X1VV1X\n	4)  V1X1X1VX1X	5)  V1X1XV1X1X",type:"pattern2",CorrectAnswer:"4",answer:""},{question:"Enter the number that appears to the left of the list of letters that is the same as: X1XV1VX11X",patternquestion:"1)  X1XV1VX11V	2)  X1XV1VX11X	3)  X1XVX1X11X\n	4)  X1XV1XV11X	5)  X1VV1VX11X",type:"pattern2",CorrectAnswer:"2",answer:""},{question:"Enter the number that appears to the left of the list of letters that is the same as: X1VXV1VX1V",patternquestion:"1)  X1VXV1VX1V	2)  X1VXV1XV1V	3)  X1XVX1X11X\n	4)  X1VX1VVX1V	5)  X1VV1VX11X",type:"pattern2",CorrectAnswer:"1",answer:""}]},{category:17,questions:[{question:"If the following two numbers are the same, enter 23. If the right number is two times the left enter 8. If the right number is smaller than the left, enter 2.",patternquestion1:"52341164",patternquestion2:"52341162",type:"pattern3",CorrectAnswer:"2",answer:""},{question:"If the following two numbers are the same, enter 88. If the right number is three times the left enter 6. If the right number is smaller than the left, enter 0.",patternquestion1:"23541231",patternquestion2:"70623693",type:"pattern3",CorrectAnswer:"6",answer:""},{question:"If the following two numbers are the same, enter 14. If the right number is ten times the left enter 0. If the right number is smaller than the left, enter 5.",patternquestion1:"11000000",patternquestion2:"110000000",type:"pattern3",CorrectAnswer:"0",answer:""},{question:"If the following two numbers are the same, enter 86. If the right number is four times the left enter 4. If the right number is smaller than the left, enter 7.",patternquestion1:"78221684",patternquestion2:"78221684",type:"pattern3",CorrectAnswer:"86",answer:""},{question:"If the following two numbers are the same, enter 30. If the right number is six times the left enter 1. If the right number is smaller than the left, enter 3.",patternquestion1:"21364557",patternquestion2:"21364575",type:"pattern3",CorrectAnswer:"3",answer:""}]},{category:18,questions:[{question:"Enter the number of the group of letters that differs from the others:",patternquestion:"1)  KKLM    2)  QQRS    3)  NNOP    4)  HHIK",type:"pattern2",CorrectAnswer:"4",answer:""},{question:"Enter the number of the group of letters that differs from the others:",patternquestion:"1)  WWXZ   2)  RRST   3)  CCDE   4)  MMNO",type:"pattern2",CorrectAnswer:"1",answer:""},{question:"Enter the number of the group of letters that differs from the others:",patternquestion:"1)  LMMN   2)  ABBC   3)  PQQR   4)  IKKL",type:"pattern2",CorrectAnswer:"4",answer:""},{question:"Enter the number of the group of letters that differs from the others:",patternquestion:"1)  HIJJ   2)  MNOO   3)  DEGG   4)  STUU",type:"pattern2",CorrectAnswer:"3",answer:""},{question:"Enter the number of the group of letters that differs from the others:",patternquestion:"1)  KKLM   2)  FFGJ   3)  VVWX   4)  OOPQ",type:"pattern2",CorrectAnswer:"2",answer:""}]},{category:19,questions:[{question:"Enter how many times the digit 4 appears just after an odd number (go from left to right):",patternquestion:"2 4 1 5 4 5 9 7 1 5 7 4 0 8 9 4 4",type:"pattern2",CorrectAnswer:"4",answer:""},{question:"Enter how many times the digit 0 appears just after an odd number (go from left to right):",patternquestion:"2 4 0 6 0 7 0 9 0 0 2 3 0 4 8 0 4",type:"pattern2",CorrectAnswer:"5",answer:""},{question:"Enter how many times the digit 7 appears just after an odd number (go from left to right):",patternquestion:"2 7 3 1 7 0 2 7 0 9 7 8 3 5 6 1 4",type:"pattern2",CorrectAnswer:"3",answer:""},{question:"Enter how many times the digit 5 appears just after an odd number (go from left to right):",patternquestion:"0 1 2 6 4 5 9 7 0 5 0 6 0 4 0 3 6",type:"pattern2",CorrectAnswer:"2",answer:""},{question:"Enter how many times the digit 3 appears just after an odd number (go from left to right):",patternquestion:"7 3 1 3 6 4 0 3 8 7 2 4 9 0 3 6 3",type:"pattern2",CorrectAnswer:"5",answer:""}]},{category:20,questions:[{question:"Enter the second digit (from right) of the number that appears under the word that is different from the other words in the function it serves:",patternquestion:"SNAKE   BEAR   LIZARD   CROCODIL   TURTLE\n3456    5648   3360     5679       4563",type:"pattern2",CorrectAnswer:"4",answer:""},{question:"Enter the third digit (from right) of the number that appears under the word that is different from the other words in the function it serves:",patternquestion:"BOOK   FLOWER   DESK   CHAIR   LAMP\n1345   3125     4213   3123    1234",type:"pattern2",CorrectAnswer:"1",answer:""},{question:"Enter the third digit (from left) of the number that appears under the word that is different from the other words in the function it serves:",patternquestion:"JUICE   WATER   WINE   MILK   ICE\n6547    7548    6887   7404   6197",type:"pattern2",CorrectAnswer:"9",answer:""},{question:"Enter the second digit (from left) of the number that appears under the word that is different from the other words in the function it serves:",patternquestion:"BRICK   ROCK   OXYGEN   STEEL   GOLD\n2764    4466   1793     2476    1837",type:"pattern2",CorrectAnswer:"7",answer:""},{question:"Enter the first digit (from right) of the number that appears under the word that is different from the other words in the function it serves:",patternquestion:"ORANGE   APPLE   TOMATO   BANANA   MANGO\n2921     4563    4312     2201     4176",type:"pattern2",CorrectAnswer:"2",answer:""}]},{category:21,questions:[{question:"Look at the following two numbers. If the right number has larger number of digits and it is also larger value, enter 444. If the left number has a larger number of digits and is smaller in value enter 111, and if the left number has a fewer number of digits and its value is larger, enter 333.",patternquestion1:"51214.825",patternquestion2:"71648.27",type:"pattern3",CorrectAnswer:"111",answer:""},{question:"Look at the following two numbers. If the right number has larger number of digits and it is also larger value, enter 555. If the left number has a larger number of digits and is smaller in value enter 999, and if the left number has a fewer number of digits and its value is larger, enter 222.",patternquestion1:"5124.32",patternquestion2:"1715.345",type:"pattern3",CorrectAnswer:"222",answer:""},{question:"Look at the following two numbers. If the right number has larger number of digits and it is also larger value, enter 777. If the left number has a larger number of digits and is smaller in value enter 555, and if the left number has a fewer number of digits and its value is larger, enter 111.",patternquestion1:"74256.21",patternquestion2:"845124.48",type:"pattern3",CorrectAnswer:"555",answer:""},{question:"Look at the following two numbers. If the right number has larger number of digits and it is also larger value, enter 888. If the left number has a larger number of digits and is smaller in value enter 333, and if the left number has a fewer number of digits and its value is larger, enter 999.",patternquestion1:"544587.94",patternquestion2:"54487.9437",type:"pattern3",CorrectAnswer:"999",answer:""},{question:"Look at the following two numbers. If the right number has larger number of digits and it is also larger value, enter 222. If the left number has a larger number of digits and is smaller in value enter 555, and if the left number has a fewer number of digits and its value is larger, enter 333.",patternquestion1:"894317.23",patternquestion2:"998251.223",type:"pattern3",CorrectAnswer:"222",answer:""}]},{category:22,questions:[{question:"Subtract from the number of months in a year the number of days in a week and enter the result.",type:"nopattern",CorrectAnswer:"5",answer:""},{question:"Add the number of hours in a day to  the number of days in a week and enter the result.",type:"nopattern",CorrectAnswer:"31",answer:""},{question:"Add the number of hours in two days to  the number of minutes in an hour and enter the result.",type:"nopattern",CorrectAnswer:"108",answer:""}]},{category:23,questions:[{question:"Enter the largest number of these numbers backwards:",patternquestion:"22    43    73    54    97    16    94    58",type:"pattern2",CorrectAnswer:"79",answer:""},{question:"Enter the largest number of these numbers backwards:",patternquestion:"64    47    11    34    55    67    72    38",type:"pattern2",CorrectAnswer:"27",answer:""},{question:"Enter the largest number of these numbers backwards:",patternquestion:"73    19    91    54    34    29    95    43",type:"pattern2",CorrectAnswer:"59",answer:""},{question:"Enter the largest number of these numbers backwards:",patternquestion:"67    53    41    81    73    45    62    33",type:"pattern2",CorrectAnswer:"18",answer:""},{question:"Enter the largest number of these numbers backwards:",patternquestion:"32    13    27    39    19    11    33    25",type:"pattern2",CorrectAnswer:"93",answer:""}]},{category:24,questions:[{question:"Enter the second digit of the largest of these numbers:",patternquestion:"7564     7834     8654     8963     7954",type:"pattern2",CorrectAnswer:"9",answer:""},{question:"Enter the third digit of the largest of these numbers:",patternquestion:"1756     2754     1035     1999     2023",type:"pattern2",CorrectAnswer:"5",answer:""},{question:"Enter the second digit of the largest of these numbers:",patternquestion:"3712     5100     5033     3911     5101",type:"pattern2",CorrectAnswer:"1",answer:""},{question:"Enter the fourth digit of the largest of these numbers:",patternquestion:"8245     8241     5421     8263     2456",type:"pattern2",CorrectAnswer:"3",answer:""},{question:"Enter the second digit of the smallest of these numbers:",patternquestion:"7659     1211     6477     7652     7021",type:"pattern2",CorrectAnswer:"2",answer:""}]},{category:25,questions:[{question:"Enter the digit that appears to the left of the shortest word :",patternquestion:"1)Happy  2)Wood  3)Hospital  4)Number  5)Light",type:"pattern2",CorrectAnswer:"2",answer:""},{question:"Enter the digit that appears to the left of the shortest word :",patternquestion:"1)Pineapple  2)Strawberry  3)Country  4)Cucumber  5)Reference",type:"pattern2",CorrectAnswer:"3",answer:""},{question:"Enter the digit that appears to the left of the shortest word :",patternquestion:"1)Gold  2)Horse  3)Screen  4)Oil  5)Division",type:"pattern2",CorrectAnswer:"4",answer:""},{question:"Enter the digit that appears to the left of the shortest word :",patternquestion:"1)Water  2)Glasses  3)Illness  4)Styles  5)Tomato",type:"pattern2",CorrectAnswer:"1",answer:""},{question:"Enter the digit that appears to the left of the shortest word :",patternquestion:"1)Telephone  2)Keyboard  3)Beautiful  4)Control  5)Router",type:"pattern2",CorrectAnswer:"5",answer:""}]},{category:26,questions:[{question:"Enter the total number of letters that exists in the second, third , and sixth words in this sentence:",type:"nopattern",CorrectAnswer:"15",answer:""},{question:"Enter the total number of letters that exists in the first, fourth , and seventh words in this sentence:",type:"nopattern",CorrectAnswer:"15",answer:""},{question:"Enter the total number of letters that exists in the first, second, fifth, and sixth words in this sentence:",type:"nopattern",CorrectAnswer:"17",answer:""},{question:"Enter the total number of letters that exists in the first, third, and ninth words in this sentence:",type:"nopattern",CorrectAnswer:"12",answer:""},{question:"Enter the total number of letters that exists in the second, third, fifth, and sixth words in this sentence:",type:"nopattern",CorrectAnswer:"17",answer:""}]},{category:27,questions:[{question:'How many times does the word "simple" appear after the word "season" in the list below? Enter the answer:',patternquestion:"PEOPLE  SIMPLE  SEASON  SIMPLE  AUTUMN  SIMPLE  WINTER  PEOPLE  PEOPLE  SEASON",type:"pattern2",CorrectAnswer:"2",answer:""},{question:'How many times does the word "wood" appear after the word "mood" in the list below? Enter the answer:',patternquestion:"MOOD  ROUTE  LESS  MOOD  WOOD  COOL  MOOD  WOOD  WOOD  LESS",type:"pattern2",CorrectAnswer:"3",answer:""},{question:'How many times does the word "two" appear after the word "ten" in the list below? Enter the answer:',patternquestion:"TEN  WIN  EXIT  TEN  TWO  TEN  TEN  TWO  ONE  TONE  TWO  END  TEN  TWO  MINE",type:"pattern2",CorrectAnswer:"4",answer:""},{question:'How many times does the word "past" appear after the word "meal" in the list below? Enter the answer:',patternquestion:"GREEN  MEAL  PAST  MINT  PAST  MEAL  GRILL  RED  PAST  PINK  PAST  MEAL  PAST",type:"pattern2",CorrectAnswer:"5",answer:""},{question:'How many times does the word "oil" appear after the word "owl" in the list below? Enter the answer:',patternquestion:"OWN  OIL  OWL  OWN  ONE  OIL  OWN  UNDER  OWNER  OIL  OWN  ONE  OIL  OWNER  OWL",type:"pattern2",CorrectAnswer:"3",answer:""}]},{category:28,questions:[{question:"If the sum of the two numbers 41 and 54 is greater than the difference between the two numbers 512 and 329, enter the difference between the sum and the difference.If it is greater than the sum, enter the difference between the difference and the sum.",type:"nopattern",CorrectAnswer:"88",answer:""},{question:"If the sum of the two numbers 69 and 32 is greater than the difference between the two numbers 441 and 390, enter the difference between the sum and the difference.If it is greater than the sum, enter the difference between the difference and the sum.",type:"nopattern",CorrectAnswer:"50",answer:""},{question:"If the sum of the two numbers 19 and 54 is greater than the difference between the two numbers 137 and 67, enter the difference between the sum and the difference.If it is greater than the sum, enter the difference between the difference and the sum.",type:"nopattern",CorrectAnswer:"3",answer:""},{question:"If the sum of the two numbers 49 and 57 is greater than the difference between the two numbers 429 and 380, enter the difference between the sum and the difference.If it is greater than the sum, enter the difference between the difference and the sum.",type:"nopattern",CorrectAnswer:"57",answer:""},{question:"If the sum of the two numbers 24 and 63 is greater than the difference between the two numbers 245 and 163, enter the difference between the sum and the difference.If it is greater than the sum, enter the difference between the difference and the sum.",type:"nopattern",CorrectAnswer:"5",answer:""}]},{category:29,questions:[{question:"Find the third digit of the next-to-smallest number in this series,add 3 to it, and enter the outcome :",patternquestion:"89423    56743    48630    12479    10226",type:"pattern2",CorrectAnswer:"7",answer:""},{question:"Find the third digit of the next-to-smallest number in this series,add 7 to it, and enter the outcome :",patternquestion:"98123    82347    98137    81123    71235",type:"pattern2",CorrectAnswer:"8",answer:""},{question:"Find the third digit of the next-to-smallest number in this series,add 5 to it, and enter the outcome :",patternquestion:"11340    12004    20015    18664    12076",type:"pattern2",CorrectAnswer:"5",answer:""},{question:"Find the third digit of the next-to-smallest number in this series,add 7 to it, and enter the outcome :",patternquestion:"81123    64752    62213    51137    70879",type:"pattern2",CorrectAnswer:"9",answer:""},{question:"Find the third digit of the next-to-smallest number in this series,add 1 to it, and enter the outcome :",patternquestion:"52235    56641    42250    52709    56624",type:"pattern2",CorrectAnswer:"3",answer:""}]}],assessment1questions=[{question:"Find whether two sets are identical:",patternquestion:"4824",patternquestion1:"4842",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"89472",patternquestion1:"89472",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"62958",patternquestion1:"622",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"101000",patternquestion1:"10100",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"671242",patternquestion1:"671249",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"12%89",patternquestion1:"12%88",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"ntb/3701",patternquestion1:"ntb/3701",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"459(9+2)",patternquestion1:"459(9+2)",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"5643|72",patternquestion1:"5643/72",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"912?45",patternquestion1:"912345",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"*32890*",patternquestion1:"*32899*",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"86+ABC÷009",patternquestion1:"86+ABC÷009",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"746#586&9",patternquestion1:"746#586&9",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"(5838+78)_258",patternquestion1:"(5838+78_258",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"‘9/6*9/9’",patternquestion1:"‘9/6*9/9’",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"(q1-s2)+(q1-82)",patternquestion1:"(q1-s2)+(q1-92)",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"(-3+5)i–(2-7)j",patternquestion1:"(-3+5)i–(2-7)j",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"A x b x b",patternquestion1:"A x b x d",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"sina+sinD",patternquestion1:"sina+sinB",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"L.(di/dt) + Ri",patternquestion1:"L.(di/dt) +R",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"Ylogydx + (x-logy)",patternquestion1:"Ylogydx + (x-logy)",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"(xsec2y – x2cosy)dy",patternquestion1:"(xsec2y – x2cosx)dy",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"(a.b) X (b.c) X (c.b)",patternquestion1:"(a.b) X (b.c) X (c.d)",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"4.687-2.689=0.290",patternquestion1:"4.867-2.689=0.290",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"[{6*p}- 4g&192d]",patternquestion1:"[{6*p}-4g&192a]",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"θβα£≤÷×ϳ©",patternquestion1:"θβα£≤÷×ϳ©",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"(20.46a@bb)-53",patternquestion1:"(20.46a@bb-53",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"#a0b9#c31",patternquestion1:"#a0b9#c3!",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"(α+β)2 = α20 + β83",patternquestion1:"(α+β)2 = α20 + β83",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"(a.bcosθ)  x (c.dcosθ)",patternquestion1:"(a.bcosφ)  x (c.dcosθ)",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"//piyr///*(2+}a{feuw)",patternquestion1:"//piyr///*(2+}a{feuw)",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"seca.cosecg/=tanb*cotd",patternquestion1:"seca.cosecg/=tanb*cotd",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"192.168:184.160",patternquestion1:"192.168.184.160",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"{9/3 + 4a +4.a",patternquestion1:"{9/3 + 4a +4a",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"9-6+abc @d5++",patternquestion1:"9-6+abc @d5++",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"5689Xiuyt+X",patternquestion1:"5689Xiuyt+X",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"6756-(6789 x 9878]",patternquestion1:"6756-(6789 x 9878",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"ab<cdefg>2+ef/5896",patternquestion1:"ab<cdefg2+ef/5896",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"98262489745698",patternquestion1:"98262499745698",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"6+9.7:2069589",patternquestion1:"6+9.7;2069589",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"FFHH6644",patternquestion1:"FFHH6644",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"*cotangent<<09455685*",patternquestion1:"*cotangent<<09455685",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"2÷3+7.80235/90/",patternquestion1:"2÷3+7.80.235/90",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"&adgjl||5735&",patternquestion1:"&adgjl||5735&",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"%8975g_opi+489%",patternquestion1:"%8975g_opi+489%",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"d5f4g8h9j",patternquestion1:"d5f4g8hu4",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"D8F7G6H5J4",patternquestion1:"D8F7G6H5J4",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"74859595",patternquestion1:"74859595",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"77FF66G",patternquestion1:"77FF8G9H0J",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"1F2G3H4N5J",patternquestion1:"1F2G3H4N5J",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"÷ë©®®।॥",patternquestion1:"÷ë©®©।॥",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"896*30-[08]",patternquestion1:"896*30-[08]",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"(9/8)-5!86++",patternquestion1:"(9/8)-5!86+",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"{530}28#24",patternquestion1:"}530{28#24",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"$$555/$$555",patternquestion1:"$$555/$$555",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"65265974:",patternquestion1:"65265974:",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"(8146/26-10)",patternquestion1:"(8146/26-10)",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"-(afg-i56)+(291)",patternquestion1:"(afg-i56)+(291)",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"k|k|//?{-",patternquestion1:"k|k|//?{-",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"!*491:-~(y",patternquestion1:"!*591:-~(y",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"Bng52!!h8",patternquestion1:"Bng52||h8",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"@68^xc_00",patternquestion1:"@68^xc_00",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"47852013",patternquestion1:"47695325",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"*.*@gtj*.*",patternquestion1:"*.*@gtj*.*",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"@qdh2110@",patternquestion1:"@qdh2110@",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"H49p52/>7.s*",patternquestion1:"H49p52/>7*s*",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"w-w=(e-#290)",patternquestion1:"w-w=(e-#290)",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"/538/~fd6",patternquestion1:"/538/~fd8",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"604÷560=24",patternquestion1:"604÷560=24",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"5682#df>l.l",patternquestion1:"5682=df>l.l",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"-7hy0%+517@$",patternquestion1:"+7hy0%+517@$",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"+[5247-9824]?",patternquestion1:"+[5274-9824]?",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"5868]*[5868",patternquestion1:"5868[*]5868",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"$$555/$$555",patternquestion1:"$$555/$$555",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"741/83=901",patternquestion1:"741-83=901",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"$$d1.$$$",patternquestion1:"$$d1.$$8",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:":5170:2380:",patternquestion1:":5170:2380:",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"826 x 526 = 2356",patternquestion1:"826 * 526 = 2356",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"Z+.*926*/3$",patternquestion1:"Z+.*926*/3$",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"?{47}.{tyg}\\\\",patternquestion1:"?{47}.{tgy}\\\\",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"abc>dvh+91",patternquestion1:"obc>dvh+91",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"(&).(*).(3).(@)",patternquestion1:"(&).(*).(8).(@)",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"(@)3794(@)",patternquestion1:"(@)3794(@}",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"<1839>~vrpm~",patternquestion1:"<1830>~vrpm~",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"+{070<<_>uko",patternquestion1:"+{070<<_>uko",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"6^3x4&10%",patternquestion1:"6^3x4&10%9",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"6xz*6pm&40&",patternquestion1:"681034796",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"37147@45+z",patternquestion1:"37147@45+z",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"99877655",patternquestion1:"998II655",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"*$”<g>?/",patternquestion1:"*$”<g>?/",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"vejk>09))",patternquestion1:"vejk>09))",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"AH60MZ91",patternquestion1:"AH60MZ91",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"{690&6#$8}",patternquestion1:"{690&6#$8}",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"2-9%3/1+0*5",patternquestion1:"2-9%3/1+0*5",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"9.256*6.23=?",patternquestion1:"9.256*6.23=8",type:"trueorfalse",Ans:"Not Identical"},{question:"Find whether two sets are identical:",patternquestion:"a@b#c$d%e",patternquestion1:"a@b#c$d%e",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"k9/6c-sz+v8",patternquestion1:"k9/6c-sz+v8",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"0{+81%)032(",patternquestion1:"0{+81%)032(",type:"trueorfalse",Ans:"Identical"},{question:"Find whether two sets are identical:",patternquestion:"B+.*956*|3$",patternquestion1:"B+.*956*|3$",type:"trueorfalse",Ans:"Identical"}],interviewquestions=[{index:1,questions:"What are your strengths and weaknesses?"},{index:2,questions:"Tell me of an opportunity where you have had to improve a situation? How you did, what you did, any problems and outcome?"},{index:3,questions:"Tell me when you have had to teach and train someone else at work? How you did, what you did, any problems and outcome?"},{index:4,questions:"Why should we hire you? or What can you do for us that other candidates can't?"},{index:5,questions:"Tell me when you have had to deal with a complex project, situation or problem and how you solved it?"},{index:6,questions:"Tell me when you have had to do a repetitive task? How did you ensure quality was kept, how did you keep focused and motivated?"},{index:7,questions:"Tell me you have built a relationship with someone from a different background?"},{index:8,questions:"Tell me when you have identified a problem with the level of service quality? How you did, what you did, any problems and outcome?"},{index:9,questions:"How would you describe yourself?"},{index:10,questions:"What are your goals? Where do you see yourself in five years time?"},{index:11,questions:"Tell me when you have had to do a repetitive task? How did you ensure quality was kept, how did you keep focused and motivated?"},{index:12,questions:"What do you know about JLR?"},{index:13,questions:"Tell me of a time when you have had to motivate a colleague? How you did, what you did, any problems and outcome?"},{index:14,questions:"What do you think the main challenges will be with the job?"},{index:15,questions:"Which tasks do you get the most satisfaction from?"},{index:16,questions:"Tell me of a time when you were introduced a change at work? How you did, what you did, any problems and outcome?"},{index:17,questions:"What makes a good team member?"},{index:18,questions:"Tell me of a time when you have sort to develop yourself?"},{index:19,questions:"Do you/can you work/have you worked? shift work, overtime, repetitive work environment?"},{index:20,questions:"Why do you want to work for JLR?"},{index:21,questions:" How will you travel to JLR?"},{index:22,questions:"Tell me of skills you bring & transferrable from previous employment?"},{index:23,questions:"Tell me of a time when you made a mistake? How did you correct it?"}];
  angular.module("JLRAssessment",["ngRoute","mobile-angular-ui","ngDialog","JLRAssessment.controllers.Main"]).config(["$routeProvider",function(e){e.when("/",{templateUrl:"home.html",reloadOnSearch:!1}),e.when("/onlineassessment",{templateUrl:"onlineassessment.html",reloadOnSearch:!1}),e.when("/manualassessment",{templateUrl:"manualassessment.html",reloadOnSearch:!1}),e.when("/interview",{templateUrl:"interview.html",reloadOnSearch:!1}),e.when("/test/:testid/:pageid",{templateUrl:"test.html",controller:"TestController"}),e.when("/test2/:testid/:pageid",{templateUrl:"test2.html",controller:"TestController"})}]),angular.module("JLRAssessment").run(["$templateCache",function(e){e.put("home.html",'<section class="section">\n    <div class="scrollable" style="background-color: #FFFFFF;background-image: url(images/background.jpg)">\n        <div class="scrollable-content">\n            <div class="container">\n                <div class="row">\n                    <div class="col-xs-12">\n                        <div class="thumbnail" style="background-color:transparent;border: 0px solid #ddd">\n                            <div class="">\n                                <p>\n                                    <!--<a class="btn btn-primary btn-block" href="#/onlineassessment"><i class="fa fa-globe"></i> Online Assessment</a>-->\n                                    <a class="" href="#/onlineassessment"><img class="img-responsive img-rounded" src="images/onlineassessment.jpg" /></a>\n                                </p>\n                            </div>\n                        </div>\n                    </div>\n                    <div class="col-xs-12">\n                        <div class="thumbnail" style="background-color:transparent;border: 0px solid #ddd">\n                            <div class="">\n                                <p>\n                                    <!--<a class="btn btn-primary btn-block" href="#/manualassessment"><i class="fa fa-calendar-check-o"></i> Manual Assessment</a>-->\n                                    <a class="" href="#/manualassessment"><img class="img-responsive img-rounded" src="images/manualassessment.jpg" /></a>\n                                </p>\n                            </div>\n                        </div>\n                    </div>\n                    <div class="col-xs-12">\n                        <div class="thumbnail" style="background-color:transparent;border: 0px solid #ddd">\n                            <div class="">\n                                <p>\n                                    <!--<a class="btn btn-primary btn-block" href="#/interview">Interview</a>-->\n                                    <a class="" href="#/interview"><img class="img-responsive img-rounded" src="images/Interview.jpg" /></a>\n                                </p>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>  \n</section>'),e.put("interview.html",'<section class="section container-fluid" ng-controller="InterviewController as interview">\n    <div  class="scrollable">\n        <div class="container-fluid scrollable-content">\n            <h3 class="page-header">JLR Interview</h3>\n            <div ng-hide="interview.showQuestion">\n                <p class="test2Question" style="text-indent: 0px;white-space: pre-wrap;text-align: justify">During the interview process you will be asked no more than 20 different kind of questions. The purpose of these varied questions is to assess your logical reasoning, your problem solving skills, attitude, teamwork and cultural fit. You will also be asked very basic and typical job interview questions. I’ve listed similar questions below which will give you good preparation by answering it in your own time and not get caught off guard during the interview process.\n                </p>\n            </div>\n            <div ng-show="interview.showQuestion" class="panel-group" ui-state="myAccordion" ui-default="-1">\n                <div class="panel panel-default" ng-repeat="i in interview.questions">\n                    <div class="panel-heading" ui-set="{\'myAccordion\': i.index}">        \n                        <h4 class="panel-title">\n                            Question #{{i.index}}\n                        </h4>\n                    </div>\n                    <div ui-if="myAccordion == i.index" ui-scope-context=\'i\'>\n                        <div class="panel-body">\n                            <p style="text-indent: 0px;white-space: pre-wrap">{{i.questions}}</p>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n\n</section>'),e.put("manualassessment.html",'<section class="section container-fluid" ng-controller="ManualController as manual">\n  <div  class="scrollable" style="background-color: #FFFFFF">\n      <div class="container-fluid scrollable-content">\n          <h2 class="page-header">Manual Assessment</h2>\n          <div ng-show="manual.page==1">\n              <h3>Jaguar Land Rover EMC (Wolverhampton)</h3>\n              <p style="text-indent: 0px;white-space: pre-wrap">\nThe purpose of the Manual Assessment is to determine a person’s ability to follow instructions and also assess a person’s hand-eye coordination and manual dexterity. The assessment itself is not hard if followed properly using the given instruction sheet. At first, everyone will be gathered together and be shown properly of how they want the manual assessment (car cylinder head, click on this link to view <a ng-click="manual.showCylynder()">cylinder.png</a>) to be done. It will be shown by the instructor, manually putting things together and another instructor reading out the instructions, this is to show everyone clearly what to do.\n\nYou will be given 20 minutes to complete the assessment.\n\nYou do not have to complete the exercise but it will give you better points if you do. The most important part is you follow step by step as per instruction sheet given.\n\nBefore you begin putting things together, you will be asked to measure one of the cylinder’s circumference - outside and inside, with a measuring tool, which will be placed on top of the head cylinder. Again, you will be shown how to do this.\n              </p>\n          </div>\n          <div ng-show="manual.page==2">\n              <h3>Tips</h3>\n              <ul>\n                  <li>\n                      Ensure you’ve had a good rest the night before without any alcohol consumption so that your concentration level is not affected.\n                  </li>\n                  <li>\n                      Be calm and relax, this is the biggest culprit on why people fail due to their increased level of anxiety. They’re thinking about the £14 per hour and all the nice lads holidays they will be going to etc. I have seen it time and time again. If you’re more relax, the less your hands are all over the place and the better your coordination will be.\n                  </li>\n              </ul>\nSo, the overall instruction will be about 20 sentences and numbered 1-20. Each one is a set of instruction. I will give simpler instruction to give you an overview so you don’t panic during the manual assessment.\n<br/>\n              <ul>\n                  <li>\n                      Take the cylinder and measure the 4 points as shown earlier and write down the reading.\n                  </li>\n                  <li>\n                      Take the gasket, place on threads (side of head cylinder) as shown earlier, take 4 bolts and hand tighten.\n                  </li>\n                  <li>\n                      Place the cylinder on the bay with the ‘red mark’ facing 3 o’clock. Put the cap on.\n                  </li>\n                  <li>\n                      Take the red cylinder brackets & place on in number order with the number facing outward (towards you)\n                  </li>\n                  <li>\n                      Get 10 screws with a white end and screw in cylinder cap and brackets finger tight.\n                  </li>\n                  <li>\n                      Place the cylinder on the bay with the ‘yellow mark’ facing 9 o’clock. Put the cap on.\n                  </li>\n                  <li>\n                      Take the yellow cylinder brackets & place on in number order with the number facing outward (towards you)\n                  </li>\n                  <li>\n                      Get 10 screws with a white end and screw in cylinder cap and brackets, finger tight.\n                  </li>\n                  <li>\n                      Take torque wrench and correct socket and tighten the bolts on cap and brackets in the order specified.\n                  </li>\n                  <li>\n                      Take the other torque wrench provided and correct socket and turn the cylinders.\n                  </li>\n                  <li>\n                      Turn the ‘red mark’ from 3 o’clock to 9 o’clock\n                  </li>\n                  <li>\n                      Turn the ‘yellow mark’ from 9 o’clock to 9 o’clock\n                  </li>\n                  <li>\n                      Using a socket wrench tighten all bolts and brackets.\n                  </li>\n              </ul>\nThe above is not the exact step by step instruction but that should give you a good overview and insight into how they would like everyone to conduct their manual assessment.\n\nAt the end of the assessment, you will be asked to either answer a question or write down 5 things that would improve procedures in terms of speed. The question they will ask is: you’ll be shown pictures of the tools you was asked to use during the manual assessment and your job is to identify them. Again, you do not have to remember everything but try your best to answer a few simple ones, such as torque wrench, socket wrench, measuring tool meter etc.\n          </div>\n          <div ng-show="manual.page==3">\n              <h3>Jaguar Land Rover (Solihull & Castle Bromwich)</h3>\n              <p style="text-indent: 0px;white-space: pre-wrap">\nThere are two parts to the assessment, you can\'t really prepare for them, but I\'ll give you an idea of what happens.\n\nOne of the assessments will require you to place a cushion and magnets around the shell of the car, but you\'ve have to do it in a certain order in a certain way and you will have to remove and place them several times. The only thing I can say is keep calm, pay attention to what the instructor says. He goes through what you have to do and someone shows you as well. Just pay attention and don\'t let anyone distract you.\n\nThe second part is putting together a clutch pedal. Again the instructor goes through everything, all you have to do is follow what he does. Pay attention and if you don\'t understand ask. They give you gloves as well, they tell you to make sure they are snug fitting and they aren\'t lying. Wear the tightest possible as the clutch part is fiddly. In hindsight it is quite easy and the only thing that puts you back is nerves. \n              </p>\n          </div>\n      </div>\n  </div>\n  <div ng-show="manual.showCylinderImage" class="modal" >\n        <div class="modal-backdrop in"></div>\n        <div class="modal-dialog">\n            <div class="modal-content">\n<!--                <div class="modal-header">\n                </div>-->\n                <div class="modal-body">\n                    <img class="img-responsive img-rounded" style="max-height: 50%;max-width: 50%" src="images/cylinder.png" />\n                </div>\n                <div class="modal-footer">\n                    <button ng-click="manual.hideCylinder()" class="btn btn-primary" >Close</button>\n                </div>\n            </div>\n        </div>\n    </div>  \n</section>'),e.put("modal1.html",'<div class="modal" ui-if=\'modal1\' ui-state=\'modal1\'>\n  <div class="modal-backdrop in"></div>\n  <div class="modal-dialog">\n    <div class="modal-content">\n      <div class="modal-header">\n        <button class="close" \n                ui-turn-off="modal1">&times;</button>\n        <h4 class="modal-title">Modal title</h4>\n      </div>\n      <div class="modal-body">\n        <p>{{lorem}}</p>\n      </div>\n      <div class="modal-footer">\n        <button ui-turn-off="modal1" class="btn btn-default">Close</button>\n        <button ui-turn-off="modal1" class="btn btn-primary">Save changes</button>\n      </div>\n    </div>\n  </div>\n</div>\n'),e.put("onlineassessment.html",'<section class="section">\n    <div class="scrollable" style="background-color: #FFFFFF;background-image: url(images/background.jpg)">\n        <div class="scrollable-content">\n            <div class="container">\n                <div class="row">\n                    <div class="col-xs-12">\n                        <div class="thumbnail"  style="background-color:transparent;border: 0px solid #ddd">\n                            <!--<img class="img-responsive img-rounded" src="images/onlineassessment.jpg" />-->\n                            <div class="">\n                                <p>\n                                    <a class="btn btn-primary btn-block" href="#/test/2/0?timed=false">Assessment 1<br>Practice mode</a>\n                                </p>\n                            </div>\n                        </div>\n                    </div>\n                    <div class="col-xs-12">\n                        <div class="thumbnail" style="background-color:transparent;border: 0px solid #ddd">\n                            <!--<img class="img-responsive img-rounded" src="images/manualassessment.jpg" />-->\n                            <div class="">\n                                <p>\n                                    <a class="btn btn-primary btn-block" href="#/test/1/0?timed=true">Assessment 1<br>Test</a>\n                                </p>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class="row">\n                    <div class="col-xs-12">\n                        <div class="thumbnail" style="background-color:transparent;border: 0px solid #ddd">\n                            <!--<img class="img-responsive img-rounded" src="images/Interview.jpg" />-->\n                            <div class="">\n                                <p>\n                                    <a class="btn btn-primary btn-block" href="#/test2/4/0?timed=false">Assessment 2<br>Practice mode</a>\n                                </p>\n                            </div>\n                        </div>\n                    </div>\n                    <div class="col-xs-12">\n                        <div class="thumbnail" style="background-color:transparent;border: 0px solid #ddd">\n                            <!--<img class="img-responsive img-rounded" src="images/Interview.jpg" />-->\n                            <div class="">\n                                <p>\n                                    <a class="btn btn-primary btn-block" href="#/test2/3/0?timed=true">Assessment 2<br>Test</a>\n                                </p>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</section>'),e.put("sidebar.html",'<h1 class="app-name">JLR Assessment</h1>\n\n<div class="scrollable">\n  <h1 class="scrollable-header app-name">JLR Assessment</h1>  \n  <div class="scrollable-content">\n    <div class="list-group" ui-turn-off=\'uiSidebarLeft\'>\n      <a class="list-group-item" href="#/">Home <i class="fa fa-chevron-right pull-right"></i></a>\n    </div>\n  </div>\n</div>'),e.put("test.html",'<section class="section" ng-controller="TestController as test">\r\n    <div  class="scrollable" style="background-color: #FFFFFF;">\r\n        <div class="container-fluid scrollable-content">\r\n            <div ng-hide="test.showResult">\r\n                <!--                \r\n                <div class="row">\r\n                    <div ng-show="test.showTimer">\r\n                        <div class="col-xs-8">\r\n                            <h3 class="page-header test2Question">{{test.testname}}</h3>\r\n                        </div>\r\n                        <div class="col-xs-4">\r\n                            <h3 class="page-header test2Question" style="text-align: right">{{test.timedown}}</h3>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div ng-hide="test.showTimer" class="row">\r\n                    <div class="col-sm-12">\r\n                        <h3 class="page-header test2Question">{{test.testname}}</h3>\r\n                    </div>\r\n                </div>\r\n                -->\r\n                <div class="row testtitle">\r\n                    <div class="col-sm-12">\r\n                        <h3 class="page-header">{{test.testname}}</h3>\r\n                    </div>\r\n                </div>\r\n                <div ng-show="test.showStart" class="row">\r\n                    <div class="col-sm-12">\r\n                        <p class="test2Question" style="text-indent: 0px;white-space: pre-wrap;text-align: justify">{{test.description}}</p>\r\n                        <h4 class="test2Question" ng-show="test.timed" >Timed: 4 min</h4>\r\n                        <h4 class="test2Question">Total Items: 61</h4>\r\n                    </div>\r\n                </div>\r\n                <div ng-hide="test.showStart">\r\n                    <div ng-show="test.showTimer" class="row">\r\n                        <br/>\r\n                        <div class="col-xs-8">\r\n                            <p class="test2Question" style="text-indent: 0px;white-space: pre">Question {{test.pageid}}</p>\r\n                        </div>\r\n                        <div class="col-xs-3">\r\n                            <h3 style="text-align: right;color: red;font-weight: bold" class="test2Question">{{test.timedown}}</h3>\r\n                        </div>\r\n                        <div class="col-xs-1"></div>\r\n                    </div>\r\n                    <div ng-hide="test.showTimer" class="row">\r\n                        <br/>\r\n                        <div class="col-sm-12">\r\n                            <p class="test2Question" style="text-indent: 0px;white-space: pre">Question {{test.pageid}}</p>\r\n                        </div>\r\n                    </div>\r\n                    <div class="row">\r\n                        <div class="col-sm-12">\r\n                            <p class="test2Question" style="text-indent: 0px;white-space: pre-wrap">{{test.questions[test.pageid - 1].question}}</p>\r\n                        </div>\r\n                    </div>\r\n                    <div class="row">\r\n                        <div class="col-xs-1 col-sm-2"></div>\r\n                        <div class="col-xs-5 col-sm-4">\r\n                            <p class="test2pattern" style="text-indent: 0px;white-space: pre">{{test.questions[test.pageid - 1].patternquestion}}</p>\r\n                        </div>\r\n                        <div class="col-xs-5 col-sm-4">\r\n                            <p class="test2pattern" style="text-indent: 0px;white-space: pre;text-align: right">{{test.questions[test.pageid - 1].patternquestion1}}</p>\r\n                        </div>\r\n                        <div class="col-xs-1 col-sm-2"></div>\r\n                    </div>\r\n                    <div class="row">\r\n                        <div class="col-sm-12">\r\n                            <form role="form">\r\n                                <div class="radio">\r\n                                    <label class="test2Question"><input class="test2Question" type="radio" value="Identical" ng-model="test.questions[test.pageid - 1].selected" name="optradio">Identical</label>\r\n                                </div>\r\n                                <div class="radio">\r\n                                    <label class="test2Question"><input class="test2Question" type="radio" value="Not Identical" ng-model="test.questions[test.pageid - 1].selected" name="optradio">Not Identical</label>\r\n                                </div>\r\n                                <br>\r\n                            </form>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div ng-show="test.showResult">\r\n                <div class="row">\r\n                    <div class="col-sm-12">\r\n                        <h3  class="page-header test2Question">{{test.testname}}</h3> \r\n                    </div>\r\n                </div>\r\n                <div ng-show="test.showTimer" class="row">\r\n                    <div  ng-show="test.results.passed" class="col-sm-12 test2Question">\r\n                        Congratulation you passed the test.\r\n                    </div>\r\n                    <div ng-hide="test.results.passed" class="col-sm-12 test2Question">\r\n                        Sorry you failed the test. Please try again.\r\n                    </div>\r\n                    <br/>\r\n                </div>\r\n                <div class="row">\r\n                    <div class="col-sm-12">\r\n                        Your Score is:\r\n                        <br/>\r\n                        <h1 class="test2Question">{{test.results.correctAnswers}}/{{test.results.totalScore}}</h1>\r\n                    </div>\r\n                </div>\r\n                <div ng-show="test.showTimer" class="row">\r\n                    <div class="col-sm-12 test2Question">\r\n                        Time Elapsed:\r\n                        <br/>\r\n                        <h1 class="test2Question">{{test.getTimeElapsed()}}</h1>\r\n                    </div>\r\n                </div>\r\n                <div ng-show="test.showTimer" class="row">\r\n                    <div class="col-sm-12 test2Question">\r\n                        Time Remaining:\r\n                        <br/>\r\n                        <h1 class="test2Question">{{test.getTimeRemaining()}}</h1>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div ng-show="test.timeUpModal" class="modal" >\r\n        <div class="modal-backdrop in"></div>\r\n        <div class="modal-dialog">\r\n            <div class="modal-content">\r\n<!--                <div class="modal-header">\r\n                </div>-->\r\n                <div class="modal-body">\r\n                    <p class="test2Question">Sorry you have run out of time!</p>\r\n                    <br/>\r\n                    <p class="test2Question">Please proceed to the result page.</p>\r\n                </div>\r\n                <div class="modal-footer">\r\n                    <button ng-click="test.submit()" class="btn btn-primary test2Question" >Continue</button>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</section>\r\n'),e.put("test2.html",'<section class="section" ng-controller="TestController as test">\r\n    <div  class="scrollable" style="background-color: #FFFFFF;">\r\n        <div class="container-fluid scrollable-content">\r\n            <div ng-hide="test.showResult">\r\n                <!--                \r\n                <div class="row">\r\n                    <div ng-show="test.showTimer">\r\n                        <div class="col-xs-8">\r\n                            <h3 class="page-header test2Question">{{test.testname}}</h3>\r\n                        </div>\r\n                        <div class="col-xs-4">\r\n                            <h3 style="text-align: right" class="page-header test2Question">{{test.timedown}}</h3>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div ng-hide="test.showTimer" class="row">\r\n                    <div class="col-sm-12">\r\n                        <h3 class="page-header test2Question">{{test.testname}}</h3>\r\n                    </div>\r\n                </div>\r\n                -->\r\n                <div class="row testtitle">\r\n                    <div class="col-sm-12">\r\n                        <h3 class="page-header">{{test.testname}}</h3>\r\n                    </div>\r\n                </div>\r\n                <div ng-show="test.showStart" class="row">\r\n                    <div class="col-sm-12">\r\n                        <p class="test2Question" style="text-indent: 0px;white-space: pre-wrap;text-align: justify">{{test.description}}</p>\r\n                        <h4 ng-show="test.timed" class="test2Question">Timed: 9.5 min</h4>\r\n                        <h4 class="test2Question">Total Items: 29</h4>\r\n                    </div>\r\n                </div>\r\n                <div ng-hide="test.showStart">\r\n                    <div ng-show="test.showTimer" class="row">\r\n                        <br/>\r\n                        <div class="col-xs-8">\r\n                            <p class="test2Question" style="text-indent: 0px;white-space: pre">Question {{test.pageid}}</p>\r\n                        </div>\r\n                        <div class="col-xs-3">\r\n                            <h3 style="text-align: right;color: red;font-weight: bold" class="test2Question" >{{test.timedown}}</h3>\r\n                        </div>\r\n                        <div class="col-xs-1"></div>\r\n                    </div>\r\n                    <div ng-hide="test.showTimer" class="row">\r\n                        <br/>\r\n                        <div class="col-sm-12">\r\n                            <p class="test2Question" style="text-indent: 0px;white-space: pre">Question {{test.pageid}}</p>\r\n                        </div>\r\n                    </div>\r\n                    <div class="row" ng-show="test.questions[test.pageid - 1].type == \'pattern\'">\r\n                        <div class="col-sm-12">\r\n                            <p style="white-space: pre"><tt class="test2pattern" >{{test.questions[test.pageid - 1].patternquestion}}</tt></p>\r\n                        </div>\r\n                    </div>\r\n                    <div class="row">\r\n                        <div class="col-sm-12">\r\n                            <p class="test2Question" style="text-indent: 0px;white-space: pre-wrap;text-align: justify">{{test.questions[test.pageid - 1].question}}</p>\r\n                        </div>\r\n                    </div>\r\n                    <div class="row" ng-show="test.questions[test.pageid - 1].type == \'pattern2\'">\r\n                        <div class="col-sm-12">\r\n                            <p style="white-space: pre"><tt class="test2pattern" >{{test.questions[test.pageid - 1].patternquestion}}</tt></p>\r\n                        </div>\r\n                    </div>\r\n                    <div class="row" ng-show="test.questions[test.pageid - 1].type == \'pattern3\'">\r\n                        <div class="row">\r\n                            <div class="col-xs-1 col-sm-2"></div>\r\n                            <div class="col-xs-5 col-sm-4">\r\n                                <p class="test2pattern" style="text-indent: 0px;white-space: pre">{{test.questions[test.pageid - 1].patternquestion1}}</p>\r\n                            </div>\r\n                            <div class="col-xs-5 col-sm-4">\r\n                                <p class="test2pattern" style="text-indent: 0px;white-space: pre;text-align: right">{{test.questions[test.pageid - 1].patternquestion2}}</p>\r\n                            </div>\r\n                            <div class="col-xs-1 col-sm-2"></div>\r\n                        </div>\r\n                    </div>\r\n                    \r\n                    <div class="row">\r\n                        <div class="col-sm-12">\r\n                            <form role="form">\r\n                                <div class="text-editor">\r\n                                    <label class="test2Question">Answer: <input class="test2Question" type="number" value="Identical" ng-model="test.questions[test.pageid - 1].answer" name="answer"/></label>\r\n                                </div>\r\n                            </form>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n\r\n            </div>\r\n            <div ng-show="test.showResult">\r\n                <div class="row">\r\n                    <div class="col-sm-12">\r\n                        <h3 class="page-header test2Question">{{test.testname}}</h3> \r\n                    </div>\r\n                </div>\r\n                <div ng-show="test.showTimer" class="row">\r\n                    <div ng-show="test.results.passed" class="col-sm-12 test2Question">\r\n                        Congratulation you passed the test.\r\n                    </div>\r\n                    <div ng-hide="test.results.passed" class="col-sm-12 test2Question">\r\n                        Sorry you failed the test. Please try again.\r\n                    </div>\r\n                    <br/>\r\n                </div>\r\n                <div class="row">\r\n                    <div class="col-sm-12 test2Question">\r\n                        Your Score is:\r\n                        <br/>\r\n                        <h1 class="test2Question">{{test.results.correctAnswers}}/{{test.results.totalScore}}</h1>\r\n                    </div>\r\n                </div>\r\n                <div ng-show="test.showTimer" class="row">\r\n                    <div class="col-sm-12">\r\n                        Time Elapsed:\r\n                        <br/>\r\n                        <h1 class="test2Question">{{test.getTimeElapsed()}}</h1>\r\n                    </div>\r\n                </div>\r\n                <div ng-show="test.showTimer" class="row">\r\n                    <div class="col-sm-12 test2Question">\r\n                        Time Remaining:\r\n                        <br/>\r\n                        <h1 class="test2Question">{{test.getTimeRemaining()}}</h1>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n    <div ng-show="test.timeUpModal" class="modal" >\r\n        <div class="modal-backdrop in"></div>\r\n        <div class="modal-dialog">\r\n            <div class="modal-content">\r\n                <!--                <div class="modal-header">\r\n                                    <button class="close" ng-click="test.closeTimeUpModal()">&times;</button>\r\n                                    <h4 class="modal-title">Modal title</h4>\r\n                                </div>-->\r\n                <div class="modal-body">\r\n                    <p class="test2Question">Sorry Time is up!</p>\r\n                    <br/>\r\n                    <p class="test2Question">Please proceed to the result page.</p>\r\n                </div>\r\n                <div class="modal-footer">\r\n                    <button ng-click="test.submit()" class="btn btn-primary test2Question">Continue</button>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n</section>\r\n')}]);
  //# sourceMappingURL=app.min.js.map
  