%PDF- %PDF-
Direktori : /var/www/html/news/public/bower_components/angular-file-saver/docs/dist/ |
Current File : /var/www/html/news/public/bower_components/angular-file-saver/docs/dist/examples.min.js |
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t,e,n){var r=this;r.val={text:"Hey ho lets go!"},r.download=function(r){var i=new e([r],{type:"text/plain;charset=utf-8"});n(t.saveAs.bind(t,i,"text.txt"),100)}}var i=n(1);n(3),i.module("fileSaverExample",["ngFileSaver"]).controller("DownloadText",["FileSaver","Blob","$timeout",r])},function(t,e,n){n(2),t.exports=angular},function(t,e){!function(t){"use strict";function e(t,e){return e=e||Error,function(){var n,r,i=2,o=arguments,a=o[0],s="["+(t?t+":":"")+a+"] ",u=o[1];for(s+=u.replace(/\{\d+\}/g,function(t){var e=+t.slice(1,-1),n=e+i;return n<o.length?wt(o[n]):t}),s+="\nhttp://errors.angularjs.org/1.6.1/"+(t?t+"/":"")+a,r=i,n="?";r<o.length;r++,n="&")s+=n+"p"+(r-i)+"="+encodeURIComponent(wt(o[r]));return new e(s)}}function n(t){if(null==t||k(t))return!1;if(ci(t)||w(t)||Kr&&t instanceof Kr)return!0;var e="length"in Object(t)&&t.length;return x(e)&&(e>=0&&(e-1 in t||t instanceof Array)||"function"==typeof t.item)}function r(t,e,i){var o,a;if(t)if(S(t))for(o in t)"prototype"!==o&&"length"!==o&&"name"!==o&&t.hasOwnProperty(o)&&e.call(i,t[o],o,t);else if(ci(t)||n(t)){var s="object"!=typeof t;for(o=0,a=t.length;o<a;o++)(s||o in t)&&e.call(i,t[o],o,t)}else if(t.forEach&&t.forEach!==r)t.forEach(e,i,t);else if(b(t))for(o in t)e.call(i,t[o],o,t);else if("function"==typeof t.hasOwnProperty)for(o in t)t.hasOwnProperty(o)&&e.call(i,t[o],o,t);else for(o in t)zr.call(t,o)&&e.call(i,t[o],o,t);return t}function i(t,e,n){for(var r=Object.keys(t).sort(),i=0;i<r.length;i++)e.call(n,t[r[i]],r[i]);return r}function o(t){return function(e,n){t(n,e)}}function a(){return++si}function s(t,e){e?t.$$hashKey=e:delete t.$$hashKey}function u(t,e,n){for(var r=t.$$hashKey,i=0,o=e.length;i<o;++i){var a=e[i];if(y(a)||S(a))for(var c=Object.keys(a),l=0,f=c.length;l<f;l++){var h=c[l],p=a[h];n&&y(p)?C(p)?t[h]=new Date(p.valueOf()):E(p)?t[h]=new RegExp(p):p.nodeName?t[h]=p.cloneNode(!0):j(p)?t[h]=p.clone():(y(t[h])||(t[h]=ci(p)?[]:{}),u(t[h],[p],!0)):t[h]=p}}return s(t,r),t}function c(t){return u(t,ti.call(arguments,1),!1)}function l(t){return u(t,ti.call(arguments,1),!0)}function f(t){return parseInt(t,10)}function h(t,e){return c(Object.create(t),e)}function p(){}function d(t){return t}function $(t){return function(){return t}}function v(t){return S(t.toString)&&t.toString!==ri}function m(t){return"undefined"==typeof t}function g(t){return"undefined"!=typeof t}function y(t){return null!==t&&"object"==typeof t}function b(t){return null!==t&&"object"==typeof t&&!ii(t)}function w(t){return"string"==typeof t}function x(t){return"number"==typeof t}function C(t){return"[object Date]"===ri.call(t)}function S(t){return"function"==typeof t}function E(t){return"[object RegExp]"===ri.call(t)}function k(t){return t&&t.window===t}function A(t){return t&&t.$evalAsync&&t.$watch}function O(t){return"[object File]"===ri.call(t)}function M(t){return"[object FormData]"===ri.call(t)}function V(t){return"[object Blob]"===ri.call(t)}function T(t){return"boolean"==typeof t}function N(t){return t&&S(t.then)}function I(t){return t&&x(t.length)&&li.test(ri.call(t))}function R(t){return"[object ArrayBuffer]"===ri.call(t)}function j(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function D(t){var e,n={},r=t.split(",");for(e=0;e<r.length;e++)n[r[e]]=!0;return n}function U(t){return Wr(t.nodeName||t[0]&&t[0].nodeName)}function _(t,e){return Array.prototype.indexOf.call(t,e)!==-1}function P(t,e){var n=t.indexOf(e);return n>=0&&t.splice(n,1),n}function L(t,e){function n(t,e){var n,r=e.$$hashKey;if(ci(t))for(var o=0,a=t.length;o<a;o++)e.push(i(t[o]));else if(b(t))for(n in t)e[n]=i(t[n]);else if(t&&"function"==typeof t.hasOwnProperty)for(n in t)t.hasOwnProperty(n)&&(e[n]=i(t[n]));else for(n in t)zr.call(t,n)&&(e[n]=i(t[n]));return s(e,r),e}function i(t){if(!y(t))return t;var e=a.indexOf(t);if(e!==-1)return u[e];if(k(t)||A(t))throw oi("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=o(t);return void 0===i&&(i=ci(t)?[]:Object.create(ii(t)),r=!0),a.push(t),u.push(i),r?n(t,i):i}function o(t){switch(ri.call(t)){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 t.constructor(i(t.buffer),t.byteOffset,t.length);case"[object ArrayBuffer]":if(!t.slice){var e=new ArrayBuffer(t.byteLength);return new Uint8Array(e).set(new Uint8Array(t)),e}return t.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new t.constructor(t.valueOf());case"[object RegExp]":var n=new RegExp(t.source,t.toString().match(/[^\/]*$/)[0]);return n.lastIndex=t.lastIndex,n;case"[object Blob]":return new t.constructor([t],{type:t.type})}if(S(t.cloneNode))return t.cloneNode(!0)}var a=[],u=[];if(e){if(I(e)||R(e))throw oi("cpta","Can't copy! TypedArray destination cannot be mutated.");if(t===e)throw oi("cpi","Can't copy! Source and destination are identical.");return ci(e)?e.length=0:r(e,function(t,n){"$$hashKey"!==n&&delete e[n]}),a.push(t),u.push(e),n(t,e)}return i(t)}function B(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!==t&&e!==e)return!0;var n,r,i,o=typeof t,a=typeof e;if(o===a&&"object"===o){if(!ci(t)){if(C(t))return!!C(e)&&B(t.getTime(),e.getTime());if(E(t))return!!E(e)&&t.toString()===e.toString();if(A(t)||A(e)||k(t)||k(e)||ci(e)||C(e)||E(e))return!1;i=vt();for(r in t)if("$"!==r.charAt(0)&&!S(t[r])){if(!B(t[r],e[r]))return!1;i[r]=!0}for(r in e)if(!(r in i)&&"$"!==r.charAt(0)&&g(e[r])&&!S(e[r]))return!1;return!0}if(!ci(e))return!1;if((n=t.length)===e.length){for(r=0;r<n;r++)if(!B(t[r],e[r]))return!1;return!0}}return!1}function q(t,e,n){return t.concat(ti.call(e,n))}function F(t,e){return ti.call(t,e||0)}function H(t,e){var n=arguments.length>2?F(arguments,2):[];return!S(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,q(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function z(e,n){var r=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?r=void 0:k(n)?r="$WINDOW":n&&t.document===n?r="$DOCUMENT":A(n)&&(r="$SCOPE"),r}function W(t,e){if(!m(t))return x(e)||(e=e?2:null),JSON.stringify(t,z,e)}function G(t){return w(t)?JSON.parse(t):t}function J(t,e){t=t.replace($i,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return ui(n)?e:n}function Z(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function Y(t,e,n){n=n?-1:1;var r=t.getTimezoneOffset(),i=J(e,r);return Z(t,n*(i-r))}function K(t){t=Kr(t).clone();try{t.empty()}catch(e){}var n=Kr("<div>").append(t).html();try{return t[0].nodeType===xi?Wr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(t,e){return"<"+Wr(e)})}catch(e){return Wr(n)}}function X(t){try{return decodeURIComponent(t)}catch(e){}}function Q(t){var e={};return r((t||"").split("&"),function(t){var n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),n=t.indexOf("="),n!==-1&&(r=t.substring(0,n),i=t.substring(n+1)),r=X(r),g(r)&&(i=!g(i)||X(i),zr.call(e,r)?ci(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))}),e}function tt(t){var e=[];return r(t,function(t,n){ci(t)?r(t,function(t){e.push(nt(n,!0)+(t===!0?"":"="+nt(t,!0)))}):e.push(nt(n,!0)+(t===!0?"":"="+nt(t,!0)))}),e.length?e.join("&"):""}function et(t){return nt(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function nt(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}function rt(t,e){var n,r,i=vi.length;for(r=0;r<i;++r)if(n=vi[r]+e,w(n=t.getAttribute(n)))return n;return null}function it(t){if(!t.currentScript)return!0;var e=t.currentScript.getAttribute("src"),n=t.createElement("a");if(n.href=e,t.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}function ot(e,n){var i,o,a={};if(r(vi,function(t){var n=t+"app";!i&&e.hasAttribute&&e.hasAttribute(n)&&(i=e,o=e.getAttribute(n))}),r(vi,function(t){var n,r=t+"app";!i&&(n=e.querySelector("["+r.replace(":","\\:")+"]"))&&(i=n,o=n.getAttribute(r))}),i){if(!mi)return void t.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");a.strictDi=null!==rt(i,"strict-di"),n(i,o?[o]:[],a)}}function at(e,n,i){y(i)||(i={});var o={strictDi:!1};i=c(o,i);var a=function(){if(e=Kr(e),e.injector()){var r=e[0]===t.document?"document":K(e);throw oi("btstrpd","App already bootstrapped with this element '{0}'",r.replace(/</,"<").replace(/>/,">"))}n=n||[],n.unshift(["$provide",function(t){t.value("$rootElement",e)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng");var o=ce(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return t&&s.test(t.name)&&(i.debugInfoEnabled=!0,t.name=t.name.replace(s,"")),t&&!u.test(t.name)?a():(t.name=t.name.replace(u,""),ai.resumeBootstrap=function(t){return r(t,function(t){n.push(t)}),a()},void(S(ai.resumeDeferredBootstrap)&&ai.resumeDeferredBootstrap()))}function st(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function ut(t){var e=ai.element(t).injector();if(!e)throw oi("test","no injector found for element argument to getTestability");return e.get("$$testability")}function ct(t,e){return e=e||"_",t.replace(gi,function(t,n){return(n?e:"")+t.toLowerCase()})}function lt(){var e;if(!yi){var n=di();Xr=m(n)?t.jQuery:n?t[n]:void 0,Xr&&Xr.fn.on?(Kr=Xr,c(Xr.fn,{scope:Pi.scope,isolateScope:Pi.isolateScope,controller:Pi.controller,injector:Pi.injector,inheritedData:Pi.inheritedData}),e=Xr.cleanData,Xr.cleanData=function(t){for(var n,r,i=0;null!=(r=t[i]);i++)n=Xr._data(r,"events"),n&&n.$destroy&&Xr(r).triggerHandler("$destroy");e(t)}):Kr=Rt,ai.element=Kr,yi=!0}}function ft(t,e,n){if(!t)throw oi("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function ht(t,e,n){return n&&ci(t)&&(t=t[t.length-1]),ft(S(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function pt(t,e){if("hasOwnProperty"===t)throw oi("badname","hasOwnProperty is not a valid {0} name",e)}function dt(t,e,n){if(!e)return t;for(var r,i=e.split("."),o=t,a=i.length,s=0;s<a;s++)r=i[s],t&&(t=(o=t)[r]);return!n&&S(t)?H(o,t):t}function $t(t){for(var e,n=t[0],r=t[t.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(e||t[i]!==n)&&(e||(e=Kr(ti.call(t,0,i))),e.push(n));return e||t}function vt(){return Object.create(null)}function mt(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=!v(t)||ci(t)||C(t)?W(t):t.toString()}return t}function gt(t){function n(t,e,n){return t[e]||(t[e]=n())}var r=e("$injector"),i=e("ng"),o=n(t,"angular",Object);return o.$$minErr=o.$$minErr||e,n(o,"module",function(){var t={};return function(e,o,a){var s=function(t,e){if("hasOwnProperty"===t)throw i("badname","hasOwnProperty is not a valid {0} name",e)};return s(e,"module"),o&&t.hasOwnProperty(e)&&(t[e]=null),n(t,e,function(){function t(t,e,n,r){return r||(r=i),function(){return r[n||"push"]([t,e,arguments]),l}}function n(t,n,r){return r||(r=i),function(i,o){return o&&S(o)&&(o.$$moduleName=e),r.push([t,n,arguments]),l}}if(!o)throw r("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.",e);var i=[],s=[],u=[],c=t("$injector","invoke","push",s),l={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:e,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),decorator:n("$provide","decorator",s),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:c,run:function(t){return u.push(t),this}};return a&&c(a),l})}})}function yt(t,e){if(ci(t)){e=e||[];for(var n=0,r=t.length;n<r;n++)e[n]=t[n]}else if(y(t)){e=e||{};for(var i in t)"$"===i.charAt(0)&&"$"===i.charAt(1)||(e[i]=t[i])}return e||t}function bt(t){var e=[];return JSON.stringify(t,function(t,n){if(n=z(t,n),y(n)){if(e.indexOf(n)>=0)return"...";e.push(n)}return n})}function wt(t){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):m(t)?"undefined":"string"!=typeof t?bt(t):t}function xt(n){c(n,{bootstrap:at,copy:L,extend:c,merge:l,equals:B,element:Kr,forEach:r,injector:ce,noop:p,bind:H,toJson:W,fromJson:G,identity:d,isUndefined:m,isDefined:g,isString:w,isFunction:S,isObject:y,isNumber:x,isElement:j,isArray:ci,version:ki,isDate:C,lowercase:Wr,uppercase:Gr,callbacks:{$$counter:0},getTestability:ut,reloadWithDebugInfo:st,$$minErr:e,$$csp:pi,$$encodeUriSegment:et,$$encodeUriQuery:nt,$$stringify:mt}),(Qr=gt(t))("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:An}),t.provider("$compile",be).directive({a:Go,input:pa,textarea:pa,form:Qo,script:ss,select:ls,option:fs,ngBind:va,ngBindHtml:ga,ngBindTemplate:ma,ngClass:ba,ngClassEven:xa,ngClassOdd:wa,ngCloak:Ca,ngController:Sa,ngForm:ta,ngHide:ts,ngIf:Aa,ngInclude:Oa,ngInit:Va,ngNonBindable:za,ngPluralize:Za,ngRepeat:Ya,ngShow:Qa,ngStyle:es,ngSwitch:ns,ngSwitchWhen:rs,ngSwitchDefault:is,ngOptions:Ja,ngTransclude:as,ngModel:qa,ngList:Ta,ngChange:ya,pattern:ps,ngPattern:ps,required:hs,ngRequired:hs,minlength:$s,ngMinlength:$s,maxlength:ds,ngMaxlength:ds,ngValue:$a,ngModelOptions:Ha}).directive({ngInclude:Ma}).directive(Jo).directive(Ea),t.provider({$anchorScroll:le,$animate:eo,$animateCss:io,$$animateJs:Qi,$$animateQueue:to,$$AnimateRunner:ro,$$animateAsyncRun:no,$browser:ve,$cacheFactory:me,$controller:ke,$document:Ae,$$isDocumentHidden:Oe,$exceptionHandler:Me,$filter:qn,$$forceReflow:fo,$interpolate:Fe,$interval:He,$http:Pe,$httpParamSerializer:Te,$httpParamSerializerJQLike:Ne,$httpBackend:Be,$xhrFactory:Le,$jsonpCallbacks:bo,$location:an,$log:sn,$parse:wn,$rootScope:kn,$q:xn,$$q:Cn,$sce:Nn,$sceDelegate:Tn,$sniffer:In,$templateCache:ge,$templateRequest:Rn,$$testability:jn,$timeout:Dn,$window:Pn,$$rAF:En,$$jqLite:ne,$$HashMap:Fi,$$cookieReader:Bn})}])}function Ct(){return++Oi}function St(t){return kt(t.replace(Vi,"ms-"))}function Et(t,e){return e.toUpperCase()}function kt(t){return t.replace(Mi,Et)}function At(t){return!Ri.test(t)}function Ot(t){var e=t.nodeType;return e===bi||!e||e===Si}function Mt(t){for(var e in Ai[t.ng339])return!0;return!1}function Vt(t){for(var e=0,n=t.length;e<n;e++)_t(t[e])}function Tt(t,e){var n,i,o,a,s=e.createDocumentFragment(),u=[];if(At(t))u.push(e.createTextNode(t));else{for(n=s.appendChild(e.createElement("div")),i=(ji.exec(t)||["",""])[1].toLowerCase(),o=Ui[i]||Ui._default,n.innerHTML=o[1]+t.replace(Di,"<$1></$2>")+o[2],a=o[0];a--;)n=n.lastChild;u=q(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(t){s.appendChild(t)}),s}function Nt(e,n){n=n||t.document;var r;return(r=Ii.exec(e))?[n.createElement(r[1])]:(r=Tt(e,n))?r.childNodes:[]}function It(t,e){var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)}function Rt(t){if(t instanceof Rt)return t;var e;if(w(t)&&(t=fi(t),e=!0),!(this instanceof Rt)){if(e&&"<"!==t.charAt(0))throw Ni("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Rt(t)}e?Ht(this,Nt(t)):S(t)?Yt(t):Ht(this,t)}function jt(t){return t.cloneNode(!0)}function Dt(t,e){if(e||_t(t),t.querySelectorAll)for(var n=t.querySelectorAll("*"),r=0,i=n.length;r<i;r++)_t(n[r])}function Ut(t,e,n,i){if(g(i))throw Ni("offargs","jqLite#off() does not support the `selector` argument");var o=Pt(t),a=o&&o.events,s=o&&o.handle;if(s)if(e){var u=function(e){var r=a[e];g(n)&&P(r||[],n),g(n)&&r&&r.length>0||(t.removeEventListener(e,s),delete a[e])};r(e.split(" "),function(t){u(t),Ti[t]&&u(Ti[t])})}else for(e in a)"$destroy"!==e&&t.removeEventListener(e,s),delete a[e]}function _t(t,e){var n=t.ng339,r=n&&Ai[n];if(r){if(e)return void delete r.data[e];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Ut(t)),delete Ai[n],t.ng339=void 0}}function Pt(t,e){var n=t.ng339,r=n&&Ai[n];return e&&!r&&(t.ng339=n=Ct(),r=Ai[n]={events:{},data:{},handle:void 0}),r}function Lt(t,e,n){if(Ot(t)){var r,i=g(n),o=!i&&e&&!y(e),a=!e,s=Pt(t,!o),u=s&&s.data;if(i)u[kt(e)]=n;else{if(a)return u;if(o)return u&&u[kt(e)];for(r in e)u[kt(r)]=e[r]}}}function Bt(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function qt(t,e){e&&t.setAttribute&&r(e.split(" "),function(e){t.setAttribute("class",fi((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+fi(e)+" "," ")))})}function Ft(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(e.split(" "),function(t){t=fi(t),n.indexOf(" "+t+" ")===-1&&(n+=t+" ")}),t.setAttribute("class",fi(n))}}function Ht(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var r=0;r<n;r++)t[t.length++]=e[r]}else t[t.length++]=e}}function zt(t,e){return Wt(t,"$"+(e||"ngController")+"Controller")}function Wt(t,e,n){t.nodeType===Si&&(t=t.documentElement);for(var r=ci(e)?e:[e];t;){for(var i=0,o=r.length;i<o;i++)if(g(n=Kr.data(t,r[i])))return n;t=t.parentNode||t.nodeType===Ei&&t.host}}function Gt(t){for(Dt(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Jt(t,e){e||Dt(t);var n=t.parentNode;n&&n.removeChild(t)}function Zt(e,n){n=n||t,"complete"===n.document.readyState?n.setTimeout(e):Kr(n).on("load",e)}function Yt(e){function n(){t.document.removeEventListener("DOMContentLoaded",n),t.removeEventListener("load",n),e()}"complete"===t.document.readyState?t.setTimeout(e):(t.document.addEventListener("DOMContentLoaded",n),t.addEventListener("load",n))}function Kt(t,e){var n=Li[e.toLowerCase()];return n&&Bi[U(t)]&&n}function Xt(t){return qi[t]}function Qt(t,e){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=e[r||n.type],o=i?i.length:0;if(o){if(m(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var s=i.specialHandlerWrapper||te;o>1&&(i=yt(i));for(var u=0;u<o;u++)n.isImmediatePropagationStopped()||s(t,n,i[u])}};return n.elem=t,n}function te(t,e,n){n.call(t,e)}function ee(t,e,n){var r=e.relatedTarget;r&&(r===t||_i.call(t,r))||n.call(t,e)}function ne(){this.$get=function(){return c(Rt,{hasClass:function(t,e){return t.attr&&(t=t[0]),Bt(t,e)},addClass:function(t,e){return t.attr&&(t=t[0]),Ft(t,e)},removeClass:function(t,e){return t.attr&&(t=t[0]),qt(t,e)}})}}function re(t,e){var n=t&&t.$$hashKey;if(n)return"function"==typeof n&&(n=t.$$hashKey()),n;var r=typeof t;return n="function"===r||"object"===r&&null!==t?t.$$hashKey=r+":"+(e||a)():r+":"+t}function ie(t,e){if(e){var n=0;this.nextUid=function(){return++n}}r(t,this.put,this)}function oe(t){return Function.prototype.toString.call(t)+" "}function ae(t){var e=oe(t).replace(Ji,""),n=e.match(Hi)||e.match(zi);return n}function se(t){var e=ae(t);return e?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function ue(t,e,n){var i,o,a;if("function"==typeof t){if(!(i=t.$inject)){if(i=[],t.length){if(e)throw w(n)&&n||(n=t.name||se(t)),Zi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);o=ae(t),r(o[1].split(Wi),function(t){t.replace(Gi,function(t,e,n){i.push(n)})})}t.$inject=i}}else ci(t)?(a=t.length-1,ht(t[a],"fn"),i=t.slice(0,a)):ht(t,"fn",!0);return i}function ce(t,e){function n(t){return function(e,n){return y(e)?void r(e,o(t)):t(e,n)}}function i(t,e){if(pt(t,"service"),(S(e)||ci(e))&&(e=C.instantiate(e)),!e.$get)throw Zi("pget","Provider '{0}' must define $get factory method.",t);return x[t+v]=e}function a(t,e){return function(){var n=A.invoke(e,this);if(m(n))throw Zi("undef","Provider '{0}' must return a value from $get factory method.",t);return n}}function s(t,e,n){return i(t,{$get:n!==!1?a(t,e):e})}function u(t,e){return s(t,["$injector",function(t){return t.instantiate(e)}])}function c(t,e){return s(t,$(e),!1)}function l(t,e){pt(t,"constant"),x[t]=e,E[t]=e}function f(t,e){var n=C.get(t+v),r=n.$get;n.$get=function(){var t=A.invoke(r,n);return A.invoke(e,null,{$delegate:t})}}function h(t){ft(m(t)||ci(t),"modulesToLoad","not an array");var e,n=[];return r(t,function(t){function r(t){var e,n;for(e=0,n=t.length;e<n;e++){var r=t[e],i=C.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(t)){b.put(t,!0);try{w(t)?(e=Qr(t),n=n.concat(h(e.requires)).concat(e._runBlocks),r(e._invokeQueue),r(e._configBlocks)):S(t)?n.push(C.invoke(t)):ci(t)?n.push(C.invoke(t)):ht(t,"module")}catch(i){throw ci(t)&&(t=t[t.length-1]),i.message&&i.stack&&i.stack.indexOf(i.message)===-1&&(i=i.message+"\n"+i.stack),Zi("modulerr","Failed to instantiate module {0} due to:\n{1}",t,i.stack||i.message||i)}}}),n}function p(t,n){function r(e,r){if(t.hasOwnProperty(e)){if(t[e]===d)throw Zi("cdep","Circular dependency found: {0}",e+" <- "+g.join(" <- "));return t[e]}try{return g.unshift(e),t[e]=d,t[e]=n(e,r),t[e]}catch(i){throw t[e]===d&&delete t[e],i}finally{g.shift()}}function i(t,n,i){for(var o=[],a=ce.$$annotate(t,e,i),s=0,u=a.length;s<u;s++){var c=a[s];if("string"!=typeof c)throw Zi("itkn","Incorrect injection token! Expected service name as string, got {0}",c);o.push(n&&n.hasOwnProperty(c)?n[c]:r(c,i))}return o}function o(t){if(Yr||"function"!=typeof t)return!1;var e=t.$$ngIsClass;return T(e)||(e=t.$$ngIsClass=/^(?:class\b|constructor\()/.test(oe(t))),e}function a(t,e,n,r){"string"==typeof n&&(r=n,n=null);var a=i(t,n,r);return ci(t)&&(t=t[t.length-1]),o(t)?(a.unshift(null),new(Function.prototype.bind.apply(t,a))):t.apply(e,a)}function s(t,e,n){var r=ci(t)?t[t.length-1]:t,o=i(t,e,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:ce.$$annotate,has:function(e){return x.hasOwnProperty(e+v)||t.hasOwnProperty(e)}}}e=e===!0;var d={},v="Provider",g=[],b=new ie([],(!0)),x={$provide:{provider:n(i),factory:n(s),service:n(u),value:n(c),constant:n(l),decorator:f}},C=x.$injector=p(x,function(t,e){throw ai.isString(e)&&g.push(e),Zi("unpr","Unknown provider: {0}",g.join(" <- "))}),E={},k=p(E,function(t,e){var n=C.get(t+v,e);return A.invoke(n.$get,n,void 0,t)}),A=k;x["$injector"+v]={$get:$(k)};var O=h(t);return A=k.get("$injector"),A.strictDi=e,r(O,function(t){t&&A.invoke(t)}),A}function le(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(e,n,r){function i(t){var e=null;return Array.prototype.some.call(t,function(t){if("a"===U(t))return e=t,!0}),e}function o(){var t=s.yOffset;if(S(t))t=t();else if(j(t)){var n=t[0],r=e.getComputedStyle(n);t="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else x(t)||(t=0);return t}function a(t){if(t){t.scrollIntoView();var n=o();if(n){var r=t.getBoundingClientRect().top;e.scrollBy(0,r-n)}}else e.scrollTo(0,0)}function s(t){t=w(t)?t:x(t)?t.toString():n.hash();var e;t?(e=u.getElementById(t))?a(e):(e=i(u.getElementsByName(t)))?a(e):"top"===t&&a(null):a(null)}var u=e.document;return t&&r.$watch(function(){return n.hash()},function(t,e){t===e&&""===t||Zt(function(){r.$evalAsync(s)})}),s}]}function fe(t,e){return t||e?t?e?(ci(t)&&(t=t.join(" ")),ci(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function he(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.nodeType===Ki)return n}}function pe(t){w(t)&&(t=t.split(" "));var e=vt();return r(t,function(t){t.length&&(e[t]=!0)}),e}function de(t){return y(t)?t:{}}function $e(t,e,n,i){function o(t){try{t.apply(null,F(arguments,1))}finally{if(g--,0===g)for(;y.length;)try{y.pop()()}catch(e){n.error(e)}}}function a(t){var e=t.indexOf("#");return e===-1?"":t.substr(e)}function s(){S=null,u(),c()}function u(){b=E(),b=m(b)?null:b,B(b,O)&&(b=O),O=b}function c(){x===l.url()&&w===b||(x=l.url(),w=b,r(k,function(t){t(l.url(),b)}))}var l=this,f=t.location,h=t.history,d=t.setTimeout,$=t.clearTimeout,v={};l.isMock=!1;var g=0,y=[];l.$$completeOutstandingRequest=o,l.$$incOutstandingRequestCount=function(){g++},l.notifyWhenNoOutstandingRequests=function(t){0===g?t():y.push(t)};var b,w,x=f.href,C=e.find("base"),S=null,E=i.history?function(){try{return h.state}catch(t){}}:p;u(),w=b,l.url=function(e,n,r){if(m(r)&&(r=null),f!==t.location&&(f=t.location),h!==t.history&&(h=t.history),e){var o=w===r;if(x===e&&(!i.history||o))return l;var s=x&&Ye(x)===Ye(e);return x=e,w=r,!i.history||s&&o?(s||(S=e),n?f.replace(e):s?f.hash=a(e):f.href=e,f.href!==e&&(S=e)):(h[n?"replaceState":"pushState"](r,"",e),u(),w=b),S&&(S=e),l}return S||f.href.replace(/%27/g,"'")},l.state=function(){return b};var k=[],A=!1,O=null;l.onUrlChange=function(e){return A||(i.history&&Kr(t).on("popstate",s),Kr(t).on("hashchange",s),A=!0),k.push(e),e},l.$$applicationDestroyed=function(){Kr(t).off("hashchange popstate",s)},l.$$checkUrlChange=c,l.baseHref=function(){var t=C.attr("href");return t?t.replace(/^(https?:)?\/\/[^\/]*/,""):""},l.defer=function(t,e){var n;return g++,n=d(function(){delete v[n],o(t)},e||0),v[n]=!0,n},l.defer.cancel=function(t){return!!v[t]&&(delete v[t],$(t),o(p),!0)}}function ve(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,r){return new $e(t,r,e,n)}]}function me(){this.$get=function(){function t(t,r){function i(t){t!==h&&(p?p===t&&(p=t.n):p=t,o(t.n,t.p),o(t,h),h=t,h.n=null)}function o(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}if(t in n)throw e("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var a=0,s=c({},r,{id:t}),u=vt(),l=r&&r.capacity||Number.MAX_VALUE,f=vt(),h=null,p=null;return n[t]={put:function(t,e){if(!m(e)){if(l<Number.MAX_VALUE){var n=f[t]||(f[t]={key:t});i(n)}return t in u||a++,u[t]=e,a>l&&this.remove(p.key),e}},get:function(t){if(l<Number.MAX_VALUE){var e=f[t];if(!e)return;i(e)}return u[t]},remove:function(t){if(l<Number.MAX_VALUE){var e=f[t];if(!e)return;e===h&&(h=e.p),e===p&&(p=e.n),o(e.n,e.p),delete f[t]}t in u&&(delete u[t],a--)},removeAll:function(){u=vt(),a=0,f=vt(),h=p=null},destroy:function(){u=null,s=null,f=null,delete n[t]},info:function(){return c({},s,{size:a})}}}var n={};return t.info=function(){var t={};return r(n,function(e,n){t[n]=e.info()}),t},t.get=function(t){return n[t]},t}}function ge(){this.$get=["$cacheFactory",function(t){return t("templates")}]}function ye(){}function be(e,n){function i(t,e,n){var i=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,o=vt();return r(t,function(t,r){if(t in O)return void(o[r]=O[t]);var a=t.match(i);if(!a)throw oo("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",e,r,t,n?"controller bindings definition":"isolate scope definition");o[r]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||r},a[4]&&(O[t]=o[r])}),o}function a(t,e){var n={isolateScope:null,bindToController:null};if(y(t.scope)&&(t.bindToController===!0?(n.bindToController=i(t.scope,e,!0),n.isolateScope={}):n.isolateScope=i(t.scope,e,!1)),y(t.bindToController)&&(n.bindToController=i(t.bindToController,e,!0)),n.bindToController&&!t.controller)throw oo("noctrl","Cannot bind to controller without directive '{0}'s controller.",e);return n}function s(t){var e=t.charAt(0);if(!e||e!==Wr(e))throw oo("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",t);if(t!==t.trim())throw oo("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",t)}function u(t){var e=t.require||t.controller&&t.name;return!ci(e)&&y(e)&&r(e,function(t,n){var r=t.match(E),i=t.substring(r[0].length);i||(e[n]=r[0]+n)}),e}function l(t,e){if(t&&(!w(t)||!/[EACM]/.test(t)))throw oo("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",t,e);return t||"EA"}var f={},v="Directive",b=/^\s*directive:\s*([\w-]+)\s+(.*)$/,x=/(([\w-]+)(?::([^;]+))?;?)/,C=D("ngSrc,ngSrcset,src,srcset"),E=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,k=/^(on[a-z]+|formaction)$/,O=vt();this.directive=function j(t,n){return ft(t,"name"),pt(t,"directive"),w(t)?(s(t),ft(n,"directiveFactory"),f.hasOwnProperty(t)||(f[t]=[],e.factory(t+v,["$injector","$exceptionHandler",function(e,n){var i=[];return r(f[t],function(r,o){try{var a=e.invoke(r);S(a)?a={compile:$(a)}:!a.compile&&a.link&&(a.compile=$(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||t,a.require=u(a),a.restrict=l(a.restrict,t),a.$$moduleName=r.$$moduleName,i.push(a)}catch(s){n(s)}}),i}])),f[t].push(n)):r(t,o(j)),this},this.component=function(t,e){function n(t){function n(e){return S(e)||ci(e)?function(n,r){return t.invoke(e,this,{$element:n,$attrs:r})}:e}var o=e.template||e.templateUrl?e.template:"",a={controller:i,controllerAs:Ee(e.controller)||e.controllerAs||"$ctrl",template:n(o),templateUrl:n(e.templateUrl),transclude:e.transclude,scope:{},bindToController:e.bindings||{},restrict:"E",require:e.require};return r(e,function(t,e){"$"===e.charAt(0)&&(a[e]=t)}),a}var i=e.controller||function(){};return r(e,function(t,e){"$"===e.charAt(0)&&(n[e]=t,S(i)&&(i[e]=t))}),n.$inject=["$injector"],this.directive(t,n)},this.aHrefSanitizationWhitelist=function(t){return g(t)?(n.aHrefSanitizationWhitelist(t),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(t){return g(t)?(n.imgSrcSanitizationWhitelist(t),this):n.imgSrcSanitizationWhitelist()};var M=!0;this.debugInfoEnabled=function(t){return g(t)?(M=t,this):M};var V=!1;this.preAssignBindingsEnabled=function(t){return g(t)?(V=t,this):V};var N=10;this.onChangesTtl=function(t){return arguments.length?(N=t,this):N};var I=!0;this.commentDirectivesEnabled=function(t){return arguments.length?(I=t,this):I};var R=!0;this.cssClassDirectivesEnabled=function(t){return arguments.length?(R=t,this):R},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(e,n,i,o,s,u,l,$,O,j){function D(){try{if(!--Mt)throw Ct=void 0,oo("infchng","{0} $onChanges() iterations reached. Aborting!\n",N);l.$apply(function(){for(var t=[],e=0,n=Ct.length;e<n;++e)try{Ct[e]()}catch(r){t.push(r)}if(Ct=void 0,t.length)throw t})}finally{Mt++}}function _(t,e){if(e){var n,r,i,o=Object.keys(e);for(n=0,r=o.length;n<r;n++)i=o[n],this[i]=e[i]}else this.$attr={};this.$$element=t}function L(t,e,n){Et.innerHTML="<span "+e+">";var r=Et.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,t.attributes.setNamedItem(i)}function q(t,e){try{t.addClass(e)}catch(n){}}function z(t,e,n,r,i){t instanceof Kr||(t=Kr(t));var o=G(t,e,t,n,r,i);z.$$addScopeClass(t);var a=null;return function(e,n,r){if(!t)throw oo("multilink","This element has already been linked.");ft(e,"scope"),i&&i.needsNewScope&&(e=e.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,u=r.transcludeControllers,c=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=W(c));var l;if(l="html"!==a?Kr($t(a,Kr("<div>").append(t).html())):n?Pi.clone.call(t):t,u)for(var f in u)l.data("$"+f+"Controller",u[f].instance); return z.$$addScopeInfo(l,e),n&&n(l,e),o&&o(e,l,l,s),n||(t=o=null),l}}function W(t){var e=t&&t[0];return e&&"foreignobject"!==U(e)&&ri.call(e).match(/SVG/)?"svg":"html"}function G(t,e,n,r,i,o){function a(t,n,r,i){var o,a,s,u,c,l,f,h,$;if(p){var v=n.length;for($=new Array(v),c=0;c<d.length;c+=3)f=d[c],$[f]=n[f]}else $=n;for(c=0,l=d.length;c<l;)s=$[d[c++]],o=d[c++],a=d[c++],o?(o.scope?(u=t.$new(),z.$$addScopeInfo(Kr(s),u)):u=t,h=o.transcludeOnThisElement?Z(t,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&e?Z(t,e):null,o(a,u,s,r,h)):a&&a(t,s.childNodes,void 0,i)}for(var s,u,c,l,f,h,p,d=[],$=ci(t)||t instanceof Kr,v=0;v<t.length;v++)s=new _,11===Yr&&J(t,v,$),u=Y(t[v],[],s,0===v?r:void 0,i),c=u.length?nt(u,t[v],s,e,n,null,[],[],o):null,c&&c.scope&&z.$$addScopeClass(s.$$element),f=c&&c.terminal||!(l=t[v].childNodes)||!l.length?null:G(l,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:e),(c||f)&&(d.push(v,c,f),h=!0,p=p||c),o=null;return h?a:null}function J(t,e,n){var r,i=t[e],o=i.parentNode;if(i.nodeType===xi)for(;;){if(r=o?i.nextSibling:t[e+1],!r||r.nodeType!==xi)break;i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===t[e+1]&&t.splice(e+1,1)}}function Z(t,e,n){function r(r,i,o,a,s){return r||(r=t.$new(!1,s),r.$$transcluded=!0),e(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=vt();for(var o in e.$$slots)e.$$slots[o]?i[o]=Z(t,e.$$slots[o],n):i[o]=null;return r}function Y(t,e,n,r,i){var o,a,s,u=t.nodeType,c=n.$attr;switch(u){case bi:a=U(t),at(e,xe(a),"E",r,i);for(var l,f,h,p,d,$,v=t.attributes,m=0,g=v&&v.length;m<g;m++){var b=!1,C=!1;l=v[m],f=l.name,d=l.value,p=xe(f),$=It.test(p),$&&(f=f.replace(so,"").substr(8).replace(/_(.)/g,function(t,e){return e.toUpperCase()}));var S=p.match(Rt);S&&st(S[1])&&(b=f,C=f.substr(0,f.length-5)+"end",f=f.substr(0,f.length-6)),h=xe(f.toLowerCase()),c[h]=f,!$&&n.hasOwnProperty(h)||(n[h]=d,Kt(t,h)&&(n[h]=!0)),gt(t,e,d,h,$),at(e,h,"A",r,i,b,C)}if("input"===a&&"hidden"===t.getAttribute("type")&&t.setAttribute("autocomplete","off"),!Ot)break;if(s=t.className,y(s)&&(s=s.animVal),w(s)&&""!==s)for(;o=x.exec(s);)h=xe(o[2]),at(e,h,"C",r,i)&&(n[h]=fi(o[3])),s=s.substr(o.index+o[0].length);break;case xi:dt(e,t.nodeValue);break;case Ci:if(!kt)break;X(t,e,n,r,i)}return e.sort(ht),e}function X(t,e,n,r,i){try{var o=b.exec(t.nodeValue);if(o){var a=xe(o[1]);at(e,a,"M",r,i)&&(n[a]=fi(o[2]))}}catch(s){}}function Q(t,e,n){var r=[],i=0;if(e&&t.hasAttribute&&t.hasAttribute(e)){do{if(!t)throw oo("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);t.nodeType===bi&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(i>0)}else r.push(t);return Kr(r)}function tt(t,e,n){return function(r,i,o,a,s){return i=Q(i[0],e,n),t(r,i,o,a,s)}}function et(t,e,n,r,i,o){var a;return t?z(e,n,r,i,o):function(){return a||(a=z(e,n,r,i,o),e=n=o=null),a.apply(this,arguments)}}function nt(t,e,n,o,a,s,u,l,f){function h(t,e,n,r){t&&(n&&(t=tt(t,n,r)),t.require=d.require,t.directiveName=$,(E===d||d.$$isolateScope)&&(t=bt(t,{isolateScope:!0})),u.push(t)),e&&(n&&(e=tt(e,n,r)),e.require=d.require,e.directiveName=$,(E===d||d.$$isolateScope)&&(e=bt(e,{isolateScope:!0})),l.push(e))}function p(t,o,a,s,f){function h(t,e,n,r){var i;if(A(t)||(r=n,n=e,e=t,t=void 0),N&&(i=b),n||(n=N?O.parent():O),!r)return f(t,e,i,n,P);var o=f.$$slots[r];if(o)return o(t,e,i,n,P);if(m(o))throw oo("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,K(O))}var p,d,$,v,g,b,w,O,M,T;e===a?(M=n,O=n.$$element):(O=Kr(a),M=new _(O,n)),g=o,E?v=o.$new(!0):x&&(g=o.$parent),f&&(w=h,w.$$boundTransclude=f,w.isSlotFilled=function(t){return!!f.$$slots[t]}),C&&(b=it(O,M,w,C,v,o,E)),E&&(z.$$addScopeInfo(O,v,!0,!(k&&(k===E||k===E.$$originalDirective))),z.$$addScopeClass(O,!0),v.$$isolateBindings=E.$$isolateBindings,T=xt(o,M,v,v.$$isolateBindings,E),T.removeWatches&&v.$on("$destroy",T.removeWatches));for(var I in b){var R=C[I],j=b[I],D=R.$$bindings.bindToController;if(V){D?j.bindingInfo=xt(g,M,j.instance,D,R):j.bindingInfo={};var U=j();U!==j.instance&&(j.instance=U,O.data("$"+R.name+"Controller",U),j.bindingInfo.removeWatches&&j.bindingInfo.removeWatches(),j.bindingInfo=xt(g,M,j.instance,D,R))}else j.instance=j(),O.data("$"+R.name+"Controller",j.instance),j.bindingInfo=xt(g,M,j.instance,D,R)}for(r(C,function(t,e){var n=t.require;t.bindToController&&!ci(n)&&y(n)&&c(b[e].instance,rt(e,n,O,b))}),r(b,function(t){var e=t.instance;if(S(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(n){i(n)}if(S(e.$onInit))try{e.$onInit()}catch(n){i(n)}S(e.$doCheck)&&(g.$watch(function(){e.$doCheck()}),e.$doCheck()),S(e.$onDestroy)&&g.$on("$destroy",function(){e.$onDestroy()})}),p=0,d=u.length;p<d;p++)$=u[p],wt($,$.isolateScope?v:o,O,M,$.require&&rt($.directiveName,$.require,O,b),w);var P=o;for(E&&(E.template||null===E.templateUrl)&&(P=v),t&&t(P,a.childNodes,void 0,f),p=l.length-1;p>=0;p--)$=l[p],wt($,$.isolateScope?v:o,O,M,$.require&&rt($.directiveName,$.require,O,b),w);r(b,function(t){var e=t.instance;S(e.$postLink)&&e.$postLink()})}f=f||{};for(var d,$,v,g,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,C=f.controllerDirectives,E=f.newIsolateScopeDirective,k=f.templateDirective,O=f.nonTlbTranscludeDirective,M=!1,T=!1,N=f.hasElementTranscludeDirective,I=n.$$element=Kr(e),R=s,j=o,D=!1,P=!1,L=0,B=t.length;L<B;L++){d=t[L];var q=d.$$start,W=d.$$end;if(q&&(I=Q(e,q,W)),v=void 0,w>d.priority)break;if(b=d.scope,b&&(d.templateUrl||(y(b)?(pt("new/isolated scope",E||x,d,I),E=d):pt("new/isolated scope",E,d,I)),x=x||d),$=d.name,!D&&(d.replace&&(d.templateUrl||d.template)||d.transclude&&!d.$$tlb)){for(var G,J=L+1;G=t[J++];)if(G.transclude&&!G.$$tlb||G.replace&&(G.templateUrl||G.template)){P=!0;break}D=!0}if(!d.templateUrl&&d.controller&&(C=C||vt(),pt("'"+$+"' controller",C[$],d,I),C[$]=d),b=d.transclude)if(M=!0,d.$$tlb||(pt("transclusion",O,d,I),O=d),"element"===b)N=!0,w=d.priority,v=I,I=n.$$element=Kr(z.$$createComment($,n[$])),e=I[0],yt(a,F(v),e),v[0].$$parentNode=v[0].parentNode,j=et(P,v,o,w,R&&R.name,{nonTlbTranscludeDirective:O});else{var Z=vt();if(y(b)){v=[];var X=vt(),nt=vt();r(b,function(t,e){var n="?"===t.charAt(0);t=n?t.substring(1):t,X[t]=e,Z[e]=null,nt[e]=n}),r(I.contents(),function(t){var e=X[xe(U(t))];e?(nt[e]=!0,Z[e]=Z[e]||[],Z[e].push(t)):v.push(t)}),r(nt,function(t,e){if(!t)throw oo("reqslot","Required transclusion slot `{0}` was not filled.",e)});for(var at in Z)Z[at]&&(Z[at]=et(P,Z[at],o))}else v=Kr(jt(e)).contents();I.empty(),j=et(P,v,o,void 0,void 0,{needsNewScope:d.$$isolateScope||d.$$newScope}),j.$$slots=Z}if(d.template)if(T=!0,pt("template",k,d,I),k=d,b=S(d.template)?d.template(I,n):d.template,b=Nt(b),d.replace){if(R=d,v=At(b)?[]:Se($t(d.templateNamespace,fi(b))),e=v[0],1!==v.length||e.nodeType!==bi)throw oo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",$,"");yt(a,I,e);var st={$attr:{}},ct=Y(e,[],st),ft=t.splice(L+1,t.length-(L+1));(E||x)&&ot(ct,E,x),t=t.concat(ct).concat(ft),ut(n,st),B=t.length}else I.html(b);if(d.templateUrl)T=!0,pt("template",k,d,I),k=d,d.replace&&(R=d),p=lt(t.splice(L,t.length-L),I,n,a,M&&j,u,l,{controllerDirectives:C,newScopeDirective:x!==d&&x,newIsolateScopeDirective:E,templateDirective:k,nonTlbTranscludeDirective:O}),B=t.length;else if(d.compile)try{g=d.compile(I,n,j);var ht=d.$$originalDirective||d;S(g)?h(null,H(ht,g),q,W):g&&h(H(ht,g.pre),H(ht,g.post),q,W)}catch(dt){i(dt,K(I))}d.terminal&&(p.terminal=!0,w=Math.max(w,d.priority))}return p.scope=x&&x.scope===!0,p.transcludeOnThisElement=M,p.templateOnThisElement=T,p.transclude=j,f.hasElementTranscludeDirective=N,p}function rt(t,e,n,i){var o;if(w(e)){var a=e.match(E),s=e.substring(a[0].length),u=a[1]||a[3],c="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var l="$"+s+"Controller";o=u?n.inheritedData(l):n.data(l)}if(!o&&!c)throw oo("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,t)}else if(ci(e)){o=[];for(var f=0,h=e.length;f<h;f++)o[f]=rt(t,e[f],n,i)}else y(e)&&(o={},r(e,function(e,r){o[r]=rt(t,e,n,i)}));return o||null}function it(t,e,n,r,i,o,a){var s=vt();for(var c in r){var l=r[c],f={$scope:l===a||l.$$isolateScope?i:o,$element:t,$attrs:e,$transclude:n},h=l.controller;"@"===h&&(h=e[l.name]);var p=u(h,f,!0,l.controllerAs);s[l.name]=p,t.data("$"+l.name+"Controller",p.instance)}return s}function ot(t,e,n){for(var r=0,i=t.length;r<i;r++)t[r]=h(t[r],{$$isolateScope:e,$$newScope:n})}function at(t,n,r,i,o,s,u){if(n===o)return null;var c=null;if(f.hasOwnProperty(n))for(var l,p=e.get(n+v),d=0,$=p.length;d<$;d++)if(l=p[d],(m(i)||i>l.priority)&&l.restrict.indexOf(r)!==-1){if(s&&(l=h(l,{$$start:s,$$end:u})),!l.$$bindings){var g=l.$$bindings=a(l,l.name);y(g.isolateScope)&&(l.$$isolateBindings=g.isolateScope)}t.push(l),c=l}return c}function st(t){if(f.hasOwnProperty(t))for(var n,r=e.get(t+v),i=0,o=r.length;i<o;i++)if(n=r[i],n.multiElement)return!0;return!1}function ut(t,e){var n=e.$attr,i=t.$attr;r(t,function(r,i){"$"!==i.charAt(0)&&(e[i]&&e[i]!==r&&(r.length?r+=("style"===i?";":" ")+e[i]:r=e[i]),t.$set(i,r,!0,n[i]))}),r(e,function(e,r){t.hasOwnProperty(r)||"$"===r.charAt(0)||(t[r]=e,"class"!==r&&"style"!==r&&(i[r]=n[r]))})}function lt(t,e,n,a,s,u,c,l){var f,d,$=[],v=e[0],m=t.shift(),g=h(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),b=S(m.templateUrl)?m.templateUrl(e,n):m.templateUrl,w=m.templateNamespace;return e.empty(),o(b).then(function(i){var o,h,p,x;if(i=Nt(i),m.replace){if(p=At(i)?[]:Se($t(w,fi(i))),o=p[0],1!==p.length||o.nodeType!==bi)throw oo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,b);h={$attr:{}},yt(a,e,o);var C=Y(o,[],h);y(m.scope)&&ot(C,!0),t=C.concat(t),ut(n,h)}else o=v,e.html(i);for(t.unshift(g),f=nt(t,o,n,s,e,m,u,c,l),r(a,function(t,n){t===o&&(a[n]=e[0])}),d=G(e[0].childNodes,s);$.length;){var S=$.shift(),E=$.shift(),k=$.shift(),A=$.shift(),O=e[0];if(!S.$$destroyed){if(E!==v){var M=E.className;l.hasElementTranscludeDirective&&m.replace||(O=jt(o)),yt(k,Kr(E),O),q(Kr(O),M)}x=f.transcludeOnThisElement?Z(S,f.transclude,A):A,f(d,S,O,a,x)}}$=null})["catch"](function(t){t instanceof Error&&i(t)})["catch"](p),function(t,e,n,r,i){var o=i;e.$$destroyed||($?$.push(e,n,r,o):(f.transcludeOnThisElement&&(o=Z(e,f.transclude,i)),f(d,e,n,r,o)))}}function ht(t,e){var n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.name<e.name?-1:1:t.index-e.index}function pt(t,e,n,r){function i(t){return t?" (module: "+t+")":""}if(e)throw oo("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",e.name,i(e.$$moduleName),n.name,i(n.$$moduleName),t,K(r))}function dt(t,e){var r=n(e,!0);r&&t.push({priority:0,compile:function(t){var e=t.parent(),n=!!e.length;return n&&z.$$addBindingClass(e),function(t,e){var i=e.parent();n||z.$$addBindingClass(i),z.$$addBindingInfo(i,r.expressions),t.$watch(r,function(t){e[0].nodeValue=t})}}})}function $t(e,n){switch(e=Wr(e||"html")){case"svg":case"math":var r=t.document.createElement("div");return r.innerHTML="<"+e+">"+n+"</"+e+">",r.childNodes[0].childNodes;default:return n}}function mt(t,e){if("srcdoc"===e)return $.HTML;var n=U(t);if("src"===e||"ngSrc"===e){if(["img","video","audio","source","track"].indexOf(n)===-1)return $.RESOURCE_URL}else if("xlinkHref"===e||"form"===n&&"action"===e||"link"===n&&"href"===e)return $.RESOURCE_URL}function gt(t,e,r,i,o){var a=mt(t,i),s=!o,u=C[i]||o,c=n(r,s,a,u);if(c){if("multiple"===i&&"select"===U(t))throw oo("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",K(t));if(k.test(i))throw oo("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");e.push({priority:100,compile:function(){return{pre:function(t,e,o){var s=o.$$observers||(o.$$observers=vt()),l=o[i];l!==r&&(c=l&&n(l,!0,a,u),r=l),c&&(o[i]=c(t),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||t).$watch(c,function(t,e){"class"===i&&t!==e?o.$updateClass(t,e):o.$set(i,t)}))}}}})}}function yt(e,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(i=0,o=e.length;i<o;i++)if(e[i]===a){e[i++]=r;for(var c=i,l=c+s-1,f=e.length;c<f;c++,l++)l<f?e[c]=e[l]:delete e[c];e.length-=s-1,e.context===a&&(e.context=r);break}u&&u.replaceChild(r,a);var h=t.document.createDocumentFragment();for(i=0;i<s;i++)h.appendChild(n[i]);for(Kr.hasData(a)&&(Kr.data(r,Kr.data(a)),Kr(a).off("$destroy")),Kr.cleanData(h.querySelectorAll("*")),i=1;i<s;i++)delete n[i];n[0]=r,n.length=1}function bt(t,e){return c(function(){return t.apply(null,arguments)},t,e)}function wt(t,e,n,r,o,a){try{t(e,n,r,o,a)}catch(s){i(s,K(n))}}function xt(t,e,i,o,a){function u(e,n,r){!S(i.$onChanges)||n===r||n!==n&&r!==r||(Ct||(t.$$postDigest(D),Ct=[]),l||(l={},Ct.push(c)),l[e]&&(r=l[e].previousValue),l[e]=new we(r,n))}function c(){i.$onChanges(l),l=void 0}var l,f=[],h={};return r(o,function(r,o){var c,l,d,$,v,m=r.attrName,g=r.optional,y=r.mode;switch(y){case"@":g||zr.call(e,m)||(i[o]=e[m]=void 0),v=e.$observe(m,function(t){if(w(t)||T(t)){var e=i[o];u(o,t,e),i[o]=t}}),e.$$observers[m].$$scope=t,c=e[m],w(c)?i[o]=n(c)(t):T(c)&&(i[o]=c),h[o]=new we(ao,i[o]),f.push(v);break;case"=":if(!zr.call(e,m)){if(g)break;e[m]=void 0}if(g&&!e[m])break;l=s(e[m]),$=l.literal?B:function(t,e){return t===e||t!==t&&e!==e},d=l.assign||function(){throw c=i[o]=l(t),oo("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",e[m],m,a.name)},c=i[o]=l(t);var b=function(e){return $(e,i[o])||($(e,c)?d(t,e=i[o]):i[o]=e),c=e};b.$stateful=!0,v=r.collection?t.$watchCollection(e[m],b):t.$watch(s(e[m],b),null,l.literal),f.push(v);break;case"<":if(!zr.call(e,m)){if(g)break;e[m]=void 0}if(g&&!e[m])break;l=s(e[m]);var x=l.literal,C=i[o]=l(t);h[o]=new we(ao,i[o]),v=t.$watch(l,function(t,e){if(e===t){if(e===C||x&&B(e,C))return;e=C}u(o,t,e),i[o]=t},x),f.push(v);break;case"&":if(l=e.hasOwnProperty(m)?s(e[m]):p,l===p&&g)break;i[o]=function(e){return l(t,e)}}}),{initialChanges:h,removeWatches:f.length&&function(){for(var t=0,e=f.length;t<e;++t)f[t]()}}}var Ct,St=/^\w/,Et=t.document.createElement("div"),kt=I,Ot=R,Mt=N;_.prototype={$normalize:xe,$addClass:function(t){t&&t.length>0&&O.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&O.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=Ce(t,e);n&&n.length&&O.addClass(this.$$element,n);var r=Ce(e,t);r&&r.length&&O.removeClass(this.$$element,r)},$set:function(t,e,n,o){var a,s=this.$$element[0],u=Kt(s,t),c=Xt(t),l=t;if(u?(this.$$element.prop(t,e),o=u):c&&(this[c]=e,l=c),this[t]=e,o?this.$attr[t]=o:(o=this.$attr[t],o||(this.$attr[t]=o=ct(t,"-"))),a=U(this.$$element),"a"===a&&("href"===t||"xlinkHref"===t)||"img"===a&&"src"===t)this[t]=e=j(e,"src"===t);else if("img"===a&&"srcset"===t&&g(e)){for(var f="",h=fi(e),p=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,d=/\s/.test(h)?p:/(,)/,$=h.split(d),v=Math.floor($.length/2),y=0;y<v;y++){var b=2*y;f+=j(fi($[b]),!0),f+=" "+fi($[b+1])}var w=fi($[2*y]).split(/\s/);f+=j(fi(w[0]),!0),2===w.length&&(f+=" "+fi(w[1])),this[t]=e=f}n!==!1&&(null===e||m(e)?this.$$element.removeAttr(o):St.test(o)?this.$$element.attr(o,e):L(this.$$element[0],o,e));var x=this.$$observers;x&&r(x[l],function(t){try{t(e)}catch(n){i(n)}})},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers=vt()),i=r[t]||(r[t]=[]);return i.push(e),l.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(t)||m(n[t])||e(n[t])}),function(){P(i,e)}}};var Vt=n.startSymbol(),Tt=n.endSymbol(),Nt="{{"===Vt&&"}}"===Tt?d:function(t){return t.replace(/\{\{/g,Vt).replace(/}}/g,Tt)},It=/^ngAttr[A-Z]/,Rt=/^(.+)Start$/;return z.$$addBindingInfo=M?function(t,e){var n=t.data("$binding")||[];ci(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:p,z.$$addBindingClass=M?function(t){q(t,"ng-binding")}:p,z.$$addScopeInfo=M?function(t,e,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";t.data(i,e)}:p,z.$$addScopeClass=M?function(t,e){q(t,e?"ng-isolate-scope":"ng-scope")}:p,z.$$createComment=function(e,n){var r="";return M&&(r=" "+(e||"")+": ",n&&(r+=n+" ")),t.document.createComment(r)},z}]}function we(t,e){this.previousValue=t,this.currentValue=e}function xe(t){return t.replace(so,"").replace(uo,Et)}function Ce(t,e){var n="",r=t.split(/\s+/),i=e.split(/\s+/);t:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue t;n+=(n.length>0?" ":"")+a}return n}function Se(t){t=Kr(t);var e=t.length;if(e<=1)return t;for(;e--;){var n=t[e];(n.nodeType===Ci||n.nodeType===xi&&""===n.nodeValue.trim())&&ei.call(t,e,1)}return t}function Ee(t,e){if(e&&w(e))return e;if(w(t)){var n=lo.exec(t);if(n)return n[3]}}function ke(){var t={},n=!1;this.has=function(e){return t.hasOwnProperty(e)},this.register=function(e,n){pt(e,"controller"),y(e)?c(t,e):t[e]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(t,n,r,i){if(!t||!y(t.$scope))throw e("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);t.$scope[n]=r}return function(e,a,s,u){var l,f,h,p;if(s=s===!0,u&&w(u)&&(p=u),w(e)){if(f=e.match(lo),!f)throw co("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",e);if(h=f[1],p=p||f[3],e=t.hasOwnProperty(h)?t[h]:dt(a.$scope,h,!0)||(n?dt(i,h,!0):void 0),!e)throw co("ctrlreg","The controller with the name '{0}' is not registered.",h);ht(e,h,!0)}if(s){var d=(ci(e)?e[e.length-1]:e).prototype;return l=Object.create(d||null),p&&o(a,p,l,h||e.name),c(function(){var t=r.invoke(e,l,a,h);return t!==l&&(y(t)||S(t))&&(l=t,p&&o(a,p,l,h||e.name)),l},{instance:l,identifier:p})}return l=r.instantiate(e,a,h),p&&o(a,p,l,h||e.name),l}}]}function Ae(){this.$get=["$window",function(t){return Kr(t.document)}]}function Oe(){this.$get=["$document","$rootScope",function(t,e){function n(){i=r.hidden}var r=t[0],i=r&&r.hidden;return t.on("visibilitychange",n),e.$on("$destroy",function(){t.off("visibilitychange",n)}),function(){return i}}]}function Me(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}function Ve(t){return y(t)?C(t)?t.toISOString():W(t):t}function Te(){this.$get=function(){return function(t){if(!t)return"";var e=[];return i(t,function(t,n){null===t||m(t)||(ci(t)?r(t,function(t){e.push(nt(n)+"="+nt(Ve(t)))}):e.push(nt(n)+"="+nt(Ve(t))))}),e.join("&")}}}function Ne(){this.$get=function(){return function(t){function e(t,o,a){null===t||m(t)||(ci(t)?r(t,function(t,n){e(t,o+"["+(y(t)?n:"")+"]")}):y(t)&&!C(t)?i(t,function(t,n){e(t,o+(a?"":"[")+n+(a?"":"]"))}):n.push(nt(o)+"="+nt(Ve(t))))}if(!t)return"";var n=[];return e(t,"",!0),n.join("&")}}}function Ie(t,e){if(w(t)){var n=t.replace(mo,"").trim();if(n){var r=e("Content-Type");(r&&0===r.indexOf(ho)||Re(n))&&(t=G(n))}}return t}function Re(t){var e=t.match($o);return e&&vo[e[0]].test(t)}function je(t){function e(t,e){t&&(i[t]=i[t]?i[t]+", "+e:e)}var n,i=vt();return w(t)?r(t.split("\n"),function(t){n=t.indexOf(":"),e(Wr(fi(t.substr(0,n))),fi(t.substr(n+1)))}):y(t)&&r(t,function(t,n){e(Wr(n),fi(t))}),i}function De(t){var e;return function(n){if(e||(e=je(t)),n){var r=e[Wr(n)];return void 0===r&&(r=null),r}return e}}function Ue(t,e,n,i){return S(i)?i(t,e,n):(r(i,function(r){t=r(t,e,n)}),t)}function _e(t){return 200<=t&&t<300}function Pe(){var t=this.defaults={transformResponse:[Ie],transformRequest:[function(t){return!y(t)||O(t)||V(t)||M(t)?t:W(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:yt(po),put:yt(po),patch:yt(po)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(t){return g(t)?(n=!!t,this):n};var i=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,u,l,f,h,d){function $(n){function i(t,e){for(var n=0,r=e.length;n<r;){var i=e[n++],o=e[n++];t=t.then(i,o)}return e.length=0,t}function a(){o.$$completeOutstandingRequest(p)}function s(t,e){var n,i={};return r(t,function(t,r){S(t)?(n=t(e),null!=n&&(i[r]=n)):i[r]=t}),i}function u(e){var n,r,i,o=t.headers,a=c({},e.headers);o=c({},o.common,o[Wr(e.method)]);t:for(n in o){r=Wr(n);for(i in a)if(Wr(i)===r)continue t;a[n]=o[n]}return s(a,yt(e))}function l(e){var n=e.headers,i=Ue(e.data,De(n),void 0,e.transformRequest);return m(i)&&r(n,function(t,e){"content-type"===Wr(e)&&delete n[e]}),m(e.withCredentials)&&!m(t.withCredentials)&&(e.withCredentials=t.withCredentials),x(e,i).then($,$)}function $(t){var e=c({},t);return e.data=Ue(t.data,t.headers,t.status,v.transformResponse),_e(t.status)?e:f.reject(e)}if(!y(n))throw e("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!w(d.valueOf(n.url)))throw e("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",n.url);var v=c({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer,jsonpCallbackParam:t.jsonpCallbackParam},n);v.headers=u(n),v.method=Gr(v.method),v.paramSerializer=w(v.paramSerializer)?h.get(v.paramSerializer):v.paramSerializer,o.$$incOutstandingRequestCount();var g=[],b=[],C=f.resolve(v);return r(A,function(t){(t.request||t.requestError)&&g.unshift(t.request,t.requestError),(t.response||t.responseError)&&b.push(t.response,t.responseError)}),C=i(C,g),C=C.then(l),C=i(C,b),C=C["finally"](a)}function v(t){r(arguments,function(t){$[t]=function(e,n){return $(c({},n||{},{method:t,url:e}))}})}function b(t){r(arguments,function(t){$[t]=function(e,n,r){return $(c({},r||{},{method:t,url:e,data:n}))}})}function x(e,i){function o(t){if(t){var e={};return r(t,function(t,r){e[r]=function(e){function r(){t(e)}n?l.$applyAsync(r):l.$$phase?r():l.$apply(r)}}),e}}function u(t,e,r,i){function o(){c(e,t,r,i)}v&&(_e(t)?v.put(M,[t,e,je(r),i]):v.remove(M)),n?l.$applyAsync(o):(o(),l.$$phase||l.$apply())}function c(t,n,r,i){n=n>=-1?n:0,(_e(n)?x.resolve:x.reject)({data:t,status:n,headers:De(r),config:e,statusText:i})}function h(t){c(t.data,t.status,yt(t.headers()),t.statusText)}function p(){var t=$.pendingRequests.indexOf(e);t!==-1&&$.pendingRequests.splice(t,1)}var v,b,x=f.defer(),S=x.promise,A=e.headers,O="jsonp"===Wr(e.method),M=e.url;if(O?M=d.getTrustedResourceUrl(M):w(M)||(M=d.valueOf(M)),M=C(M,e.paramSerializer(e.params)),O&&(M=E(M,e.jsonpCallbackParam)),$.pendingRequests.push(e),S.then(p,p),!e.cache&&!t.cache||e.cache===!1||"GET"!==e.method&&"JSONP"!==e.method||(v=y(e.cache)?e.cache:y(t.cache)?t.cache:k),v&&(b=v.get(M),g(b)?N(b)?b.then(h,h):ci(b)?c(b[1],b[0],yt(b[2]),b[3]):c(b,200,{},"OK"):v.put(M,S)),m(b)){var V=_n(e.url)?s()[e.xsrfCookieName||t.xsrfCookieName]:void 0;V&&(A[e.xsrfHeaderName||t.xsrfHeaderName]=V),a(e.method,M,i,u,A,e.timeout,e.withCredentials,e.responseType,o(e.eventHandlers),o(e.uploadEventHandlers))}return S}function C(t,e){return e.length>0&&(t+=(t.indexOf("?")===-1?"?":"&")+e),t}function E(t,e){if(/[&?][^=]+=JSON_CALLBACK/.test(t))throw go("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',t);var n=new RegExp("[&?]"+e+"=");if(n.test(t))throw go("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',e,t);return t+=(t.indexOf("?")===-1?"?":"&")+e+"=JSON_CALLBACK"}var k=u("$http");t.paramSerializer=w(t.paramSerializer)?h.get(t.paramSerializer):t.paramSerializer;var A=[];return r(i,function(t){A.unshift(w(t)?h.get(t):h.invoke(t))}),$.pendingRequests=[],v("get","delete","head","jsonp"),b("post","put","patch"),$.defaults=t,$}]}function Le(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function Be(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(t,e,n,r){return qe(t,r,t.defer,e,n[0])}]}function qe(t,e,n,i,o){function a(t,e,n){t=t.replace("JSON_CALLBACK",e);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=t,r.async=!0,a=function(t){r.removeEventListener("load",a),r.removeEventListener("error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";t&&("load"!==t.type||i.wasCalled(e)||(t={type:"error"}),u=t.type,s="error"===t.type?404:200),n&&n(s,u)},r.addEventListener("load",a),r.addEventListener("error",a),o.body.appendChild(r),a}return function(o,s,u,c,l,f,h,p,d,$){function v(){w&&w(),x&&x.abort()}function y(t,e,r,i,o){g(E)&&n.cancel(E),w=x=null,t(e,r,i,o)}if(s=s||t.url(),"jsonp"===Wr(o))var b=i.createCallback(s),w=a(s,b,function(t,e){var n=200===t&&i.getResponse(b);y(c,t,n,"",e),i.removeCallback(b)});else{var x=e(o,s);x.open(o,s,!0),r(l,function(t,e){g(t)&&x.setRequestHeader(e,t)}),x.onload=function(){var t=x.statusText||"",e="response"in x?x.response:x.responseText,n=1223===x.status?204:x.status;0===n&&(n=e?200:"file"===Un(s).protocol?404:0),y(c,n,e,x.getAllResponseHeaders(),t)};var C=function(){y(c,-1,null,null,"")};if(x.onerror=C,x.onabort=C,x.ontimeout=C,r(d,function(t,e){x.addEventListener(e,t)}),r($,function(t,e){x.upload.addEventListener(e,t)}),h&&(x.withCredentials=!0),p)try{x.responseType=p}catch(S){if("json"!==p)throw S}x.send(m(u)?null:u)}if(f>0)var E=n(v,f);else N(f)&&f.then(v)}}function Fe(){var t="{{",e="}}";this.startSymbol=function(e){return e?(t=e,this):t},this.endSymbol=function(t){return t?(e=t,this):e},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(t){return"\\\\\\"+t}function a(n){return n.replace(h,t).replace(p,e)}function s(t,e,n,r){var i=t.$watch(function(t){return i(),r(t)},e,n);return i}function u(o,u,h,p){function d(t){try{return t=T(t),p&&!g(t)?t:mt(t)}catch(e){r(yo.interr(o,e))}}if(!o.length||o.indexOf(t)===-1){var v;if(!u){var y=a(o);v=$(y),v.exp=o,v.expressions=[],v.$$watchDelegate=s}return v}p=!!p;for(var b,w,x,C=0,E=[],k=[],A=o.length,O=[],M=[];C<A;){if((b=o.indexOf(t,C))===-1||(w=o.indexOf(e,b+l))===-1){C!==A&&O.push(a(o.substring(C)));break}C!==b&&O.push(a(o.substring(C,b))),x=o.substring(b+l,w),E.push(x),k.push(n(x,d)),C=w+f,M.push(O.length),O.push("")}if(h&&O.length>1&&yo.throwNoconcat(o),!u||E.length){var V=function(t){for(var e=0,n=E.length;e<n;e++){if(p&&m(t[e]))return;O[M[e]]=t[e]}return O.join("")},T=function(t){return h?i.getTrusted(h,t):i.valueOf(t)};return c(function(t){var e=0,n=E.length,i=new Array(n);try{for(;e<n;e++)i[e]=k[e](t);return V(i)}catch(a){r(yo.interr(o,a))}},{exp:o,expressions:E,$$watchDelegate:function(t,e){var n;return t.$watchGroup(k,function(r,i){var o=V(r);S(e)&&e.call(this,o,r!==i?n:o,t),n=o})}})}}var l=t.length,f=e.length,h=new RegExp(t.replace(/./g,o),"g"),p=new RegExp(e.replace(/./g,o),"g");return u.startSymbol=function(){return t},u.endSymbol=function(){return e},u}]}function He(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(t,e,n,r,i){function o(o,s,u,c){function l(){f?o.apply(null,h):o($)}var f=arguments.length>4,h=f?F(arguments,4):[],p=e.setInterval,d=e.clearInterval,$=0,v=g(c)&&!c,m=(v?r:n).defer(),y=m.promise;return u=g(u)?u:0,y.$$intervalId=p(function(){v?i.defer(l):t.$evalAsync(l),m.notify($++),u>0&&$>=u&&(m.resolve($),d(y.$$intervalId),delete a[y.$$intervalId]),v||t.$apply()},s),a[y.$$intervalId]=m,y}var a={};return o.cancel=function(t){return!!(t&&t.$$intervalId in a)&&(a[t.$$intervalId].promise["catch"](p),a[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete a[t.$$intervalId],!0)},o}]}function ze(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=et(e[n]);return e.join("/")}function We(t,e){var n=Un(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=f(n.port)||xo[n.protocol]||null}function Ge(t,e){if(So.test(t))throw Co("badpath",'Invalid url "{0}".',t);var n="/"!==t.charAt(0);n&&(t="/"+t);var r=Un(t);e.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),e.$$search=Q(r.search),e.$$hash=decodeURIComponent(r.hash),e.$$path&&"/"!==e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function Je(t,e){return t.slice(0,e.length)===e}function Ze(t,e){if(Je(e,t))return e.substr(t.length)}function Ye(t){var e=t.indexOf("#");return e===-1?t:t.substr(0,e)}function Ke(t){return t.replace(/(#.+)|#$/,"$1")}function Xe(t){return t.substr(0,Ye(t).lastIndexOf("/")+1)}function Qe(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function tn(t,e,n){this.$$html5=!0,n=n||"",We(t,this),this.$$parse=function(t){var n=Ze(e,t);if(!w(n))throw Co("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);Ge(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=tt(this.$$search),n=this.$$hash?"#"+et(this.$$hash):"";this.$$url=ze(this.$$path)+(t?"?"+t:"")+n,this.$$absUrl=e+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return g(o=Ze(t,r))?(a=o,s=n&&g(o=Ze(n,o))?e+(Ze("/",o)||o):t+a):g(o=Ze(e,r))?s=e+o:e===r+"/"&&(s=e),s&&this.$$parse(s),!!s}}function en(t,e,n){We(t,this),this.$$parse=function(r){function i(t,e,n){var r,i=/^\/[A-Z]:(\/.*)/;return Je(e,n)&&(e=e.replace(n,"")),i.exec(e)?t:(r=i.exec(t),r?r[1]:t)}var o,a=Ze(t,r)||Ze(e,r);m(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",m(a)&&(t=r,this.replace())):(o=Ze(n,a),m(o)&&(o=a)),Ge(o,this),this.$$path=i(this.$$path,o,t),this.$$compose()},this.$$compose=function(){var e=tt(this.$$search),r=this.$$hash?"#"+et(this.$$hash):"";this.$$url=ze(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(e,n){return Ye(t)===Ye(e)&&(this.$$parse(e),!0)}}function nn(t,e,n){this.$$html5=!0,en.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return t===Ye(r)?o=r:(a=Ze(e,r))?o=t+n+a:e===r+"/"&&(o=e),o&&this.$$parse(o),!!o},this.$$compose=function(){var e=tt(this.$$search),r=this.$$hash?"#"+et(this.$$hash):"";this.$$url=ze(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+n+this.$$url}}function rn(t){return function(){return this[t]}}function on(t,e){return function(n){return m(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function an(){var t="!",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return g(e)?(t=e,this):t},this.html5Mode=function(t){return T(t)?(e.enabled=t,this):y(t)?(T(t.enabled)&&(e.enabled=t.enabled),T(t.requireBase)&&(e.requireBase=t.requireBase),(T(t.rewriteLinks)||w(t.rewriteLinks))&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(t,e,n){var i=c.url(),o=c.$$state;try{r.url(t,e,n),c.$$state=r.state()}catch(a){throw c.url(i),c.$$state=o,a}}function u(t,e){n.$broadcast("$locationChangeSuccess",c.absUrl(),t,c.$$state,e)}var c,l,f,h=r.baseHref(),p=r.url();if(e.enabled){if(!h&&e.requireBase)throw Co("nobase","$location in HTML5 mode requires a <base> tag to be present!");f=Qe(p)+(h||"/"),l=i.history?tn:nn}else f=Ye(p),l=en;var d=Xe(f);c=new l(f,d,"#"+t),c.$$parseLinkUrl(p,p),c.$$state=r.state();var $=/^\s*(javascript|mailto):/i;o.on("click",function(t){var i=e.rewriteLinks;if(i&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!==t.which&&2!==t.button){for(var s=Kr(t.target);"a"!==U(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!w(i)||!m(s.attr(i))){var u=s.prop("href"),l=s.attr("href")||s.attr("xlink:href");y(u)&&"[object SVGAnimatedString]"===u.toString()&&(u=Un(u.animVal).href),$.test(u)||!u||s.attr("target")||t.isDefaultPrevented()||c.$$parseLinkUrl(u,l)&&(t.preventDefault(),c.absUrl()!==r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),Ke(c.absUrl())!==Ke(p)&&r.url(c.absUrl(),!0);var v=!0;return r.onUrlChange(function(t,e){return Je(t,d)?(n.$evalAsync(function(){var r,i=c.absUrl(),o=c.$$state;t=Ke(t),c.$$parse(t),c.$$state=e,r=n.$broadcast("$locationChangeStart",t,i,e,o).defaultPrevented,c.absUrl()===t&&(r?(c.$$parse(i),c.$$state=o,s(i,!1,o)):(v=!1,u(i,o)))}),void(n.$$phase||n.$digest())):void(a.location.href=t)}),n.$watch(function(){var t=Ke(r.url()),e=Ke(c.absUrl()),o=r.state(),a=c.$$replace,l=t!==e||c.$$html5&&i.history&&o!==c.$$state; (v||l)&&(v=!1,n.$evalAsync(function(){var e=c.absUrl(),r=n.$broadcast("$locationChangeStart",e,t,c.$$state,o).defaultPrevented;c.absUrl()===e&&(r?(c.$$parse(t),c.$$state=o):(l&&s(e,a,o===c.$$state?null:c.$$state),u(t,o)))})),c.$$replace=!1}),c}]}function sn(){var t=!0,e=this;this.debugEnabled=function(e){return g(e)?(t=e,this):t},this.$get=["$window",function(n){function i(t){return t instanceof Error&&(t.stack?t=t.message&&t.stack.indexOf(t.message)===-1?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}function o(t){var e=n.console||{},o=e[t]||e.log||p,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var t=[];return r(arguments,function(e){t.push(i(e))}),o.apply(e,t)}:function(t,e){o(t,null==e?"":e)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){t&&n.apply(e,arguments)}}()}}]}function un(t){return t+""}function cn(t,e){return"undefined"!=typeof t?t:e}function ln(t,e){return"undefined"==typeof t?e:"undefined"==typeof e?t:t+e}function fn(t,e){var n=t(e);return!n.$stateful}function hn(t,e){var n,i,o;switch(t.type){case To.Program:n=!0,r(t.body,function(t){hn(t.expression,e),n=n&&t.expression.constant}),t.constant=n;break;case To.Literal:t.constant=!0,t.toWatch=[];break;case To.UnaryExpression:hn(t.argument,e),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case To.BinaryExpression:hn(t.left,e),hn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case To.LogicalExpression:hn(t.left,e),hn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case To.ConditionalExpression:hn(t.test,e),hn(t.alternate,e),hn(t.consequent,e),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case To.Identifier:t.constant=!1,t.toWatch=[t];break;case To.MemberExpression:hn(t.object,e),t.computed&&hn(t.property,e),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=[t];break;case To.CallExpression:o=!!t.filter&&fn(e,t.callee.name),n=o,i=[],r(t.arguments,function(t){hn(t,e),n=n&&t.constant,t.constant||i.push.apply(i,t.toWatch)}),t.constant=n,t.toWatch=o?i:[t];break;case To.AssignmentExpression:hn(t.left,e),hn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case To.ArrayExpression:n=!0,i=[],r(t.elements,function(t){hn(t,e),n=n&&t.constant,t.constant||i.push.apply(i,t.toWatch)}),t.constant=n,t.toWatch=i;break;case To.ObjectExpression:n=!0,i=[],r(t.properties,function(t){hn(t.value,e),n=n&&t.value.constant&&!t.computed,t.value.constant||i.push.apply(i,t.value.toWatch)}),t.constant=n,t.toWatch=i;break;case To.ThisExpression:t.constant=!1,t.toWatch=[];break;case To.LocalsExpression:t.constant=!1,t.toWatch=[]}}function pn(t){if(1===t.length){var e=t[0].expression,n=e.toWatch;return 1!==n.length?n:n[0]!==e?n:void 0}}function dn(t){return t.type===To.Identifier||t.type===To.MemberExpression}function $n(t){if(1===t.body.length&&dn(t.body[0].expression))return{type:To.AssignmentExpression,left:t.body[0].expression,right:{type:To.NGValueParameter},operator:"="}}function vn(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===To.Literal||t.body[0].expression.type===To.ArrayExpression||t.body[0].expression.type===To.ObjectExpression)}function mn(t){return t.constant}function gn(t,e){this.astBuilder=t,this.$filter=e}function yn(t,e){this.astBuilder=t,this.$filter=e}function bn(t){return S(t.valueOf)?t.valueOf():Ao.call(t)}function wn(){var t,e,n=vt(),i={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(t,e){i[t]=e},this.setIdentifierFns=function(n,r){return t=n,e=r,this},this.$get=["$filter",function(o){function a(t,e){var r,i,a;switch(typeof t){case"string":if(t=t.trim(),a=t,r=n[a],!r){":"===t.charAt(0)&&":"===t.charAt(1)&&(i=!0,t=t.substring(2));var s=new Vo($),d=new No(s,o,$);r=d.parse(t),r.constant?r.$$watchDelegate=f:i?r.$$watchDelegate=r.literal?l:c:r.inputs&&(r.$$watchDelegate=u),n[a]=r}return h(r,e);case"function":return h(t,e);default:return h(p,e)}}function s(t,e){return null==t||null==e?t===e:("object"!=typeof t||(t=bn(t),"object"!=typeof t))&&(t===e||t!==t&&e!==e)}function u(t,e,n,r,i){var o,a=r.inputs;if(1===a.length){var u=s;return a=a[0],t.$watch(function(t){var e=a(t);return s(e,u)||(o=r(t,void 0,void 0,[e]),u=e&&bn(e)),o},e,n,i)}for(var c=[],l=[],f=0,h=a.length;f<h;f++)c[f]=s,l[f]=null;return t.$watch(function(t){for(var e=!1,n=0,i=a.length;n<i;n++){var u=a[n](t);(e||(e=!s(u,c[n])))&&(l[n]=u,c[n]=u&&bn(u))}return e&&(o=r(t,void 0,void 0,l)),o},e,n,i)}function c(t,e,n,r,i){function o(t){return r(t)}function a(t,n,r){c=t,S(e)&&e(t,n,r),g(t)&&r.$$postDigest(function(){g(c)&&s()})}var s,c;return s=r.inputs?u(t,a,n,r,i):t.$watch(o,a,n)}function l(t,e,n,i){function o(t){var e=!0;return r(t,function(t){g(t)||(e=!1)}),e}var a,s;return a=t.$watch(function(t){return i(t)},function(t,n,r){s=t,S(e)&&e(t,n,r),o(t)&&r.$$postDigest(function(){o(s)&&a()})},n)}function f(t,e,n,r){var i=t.$watch(function(t){return i(),r(t)},e,n);return i}function h(t,e){if(!e)return t;var n=t.$$watchDelegate,r=!1,i=n!==l&&n!==c,o=i?function(n,i,o,a){var s=r&&a?a[0]:t(n,i,o,a);return e(s,n,i)}:function(n,r,i,o){var a=t(n,r,i,o),s=e(a,n,r);return g(a)?s:a};return r=!t.inputs,t.$$watchDelegate&&t.$$watchDelegate!==u?(o.$$watchDelegate=t.$$watchDelegate,o.inputs=t.inputs):e.$stateful||(o.$$watchDelegate=u,o.inputs=t.inputs?t.inputs:[t]),o}var d=pi().noUnsafeEval,$={csp:d,literals:L(i),isIdentifierStart:S(t)&&t,isIdentifierContinue:S(e)&&e};return a}]}function xn(){var t=!0;this.$get=["$rootScope","$exceptionHandler",function(e,n){return Sn(function(t){e.$evalAsync(t)},n,t)}],this.errorOnUnhandledRejections=function(e){return g(e)?(t=e,this):t}}function Cn(){var t=!0;this.$get=["$browser","$exceptionHandler",function(e,n){return Sn(function(t){e.defer(t)},n,t)}],this.errorOnUnhandledRejections=function(e){return g(e)?(t=e,this):t}}function Sn(t,n,i){function o(){return new a}function a(){var t=this.promise=new s;this.resolve=function(e){h(t,e)},this.reject=function(e){d(t,e)},this.notify=function(e){v(t,e)}}function s(){this.$$state={status:0}}function u(e){var n,r,o;o=e.pending,e.processScheduled=!1,e.pending=void 0;try{for(var a=0,s=o.length;a<s;++a){e.pur=!0,r=o[a][0],n=o[a][e.status];try{S(n)?h(r,n(e.value)):1===e.status?h(r,e.value):d(r,e.value)}catch(u){d(r,u)}}}finally{--A,i&&0===A&&t(l)}}function l(){for(;!A&&O.length;){var t=O.shift();if(!t.pur){t.pur=!0;var e="Possibly unhandled rejection: "+wt(t.value);t.value instanceof Error?n(t.value,e):n(e)}}}function f(e){!i||e.pending||2!==e.status||e.pur||(0===A&&0===O.length&&t(l),O.push(e)),!e.processScheduled&&e.pending&&(e.processScheduled=!0,++A,t(function(){u(e)}))}function h(t,e){t.$$state.status||(e===t?$(t,k("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):p(t,e))}function p(t,e){function n(e){a||(a=!0,p(t,e))}function r(e){a||(a=!0,$(t,e))}function i(e){v(t,e)}var o,a=!1;try{(y(e)||S(e))&&(o=e.then),S(o)?(t.$$state.status=-1,o.call(e,n,r,i)):(t.$$state.value=e,t.$$state.status=1,f(t.$$state))}catch(s){r(s)}}function d(t,e){t.$$state.status||$(t,e)}function $(t,e){t.$$state.value=e,t.$$state.status=2,f(t.$$state)}function v(e,r){var i=e.$$state.pending;e.$$state.status<=0&&i&&i.length&&t(function(){for(var t,e,o=0,a=i.length;o<a;o++){e=i[o][0],t=i[o][3];try{v(e,S(t)?t(r):r)}catch(s){n(s)}}})}function g(t){var e=new s;return d(e,t),e}function b(t,e,n){var r=null;try{S(n)&&(r=n())}catch(i){return g(i)}return N(r)?r.then(function(){return e(t)},g):e(t)}function w(t,e,n,r){var i=new s;return h(i,t),i.then(e,n,r)}function x(t){var e=new s,n=0,i=ci(t)?[]:{};return r(t,function(t,r){n++,w(t).then(function(t){i[r]=t,--n||h(e,i)},function(t){d(e,t)})}),0===n&&h(e,i),e}function C(t){var e=o();return r(t,function(t){w(t).then(e.resolve,e.reject)}),e.promise}function E(t){function e(t){h(r,t)}function n(t){d(r,t)}if(!S(t))throw k("norslvr","Expected resolverFn, got '{0}'",t);var r=new s;return t(e,n),r}var k=e("$q",TypeError),A=0,O=[];c(s.prototype,{then:function(t,e,n){if(m(t)&&m(e)&&m(n))return this;var r=new s;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,t,e,n]),this.$$state.status>0&&f(this.$$state),r},"catch":function(t){return this.then(null,t)},"finally":function(t,e){return this.then(function(e){return b(e,M,t)},function(e){return b(e,g,t)},e)}});var M=w;return E.prototype=s.prototype,E.defer=o,E.reject=g,E.when=w,E.resolve=M,E.all=x,E.race=C,E}function En(){this.$get=["$window","$timeout",function(t,e){var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame,r=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(t){var e=n(t);return function(){r(e)}}:function(t){var n=e(t,16.66,!1);return function(){e.cancel(n)}};return o.supported=i,o}]}function kn(){function t(t){function e(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return e.prototype=t,e}var i=10,o=e("$rootScope"),s=null,u=null;this.digestTtl=function(t){return arguments.length&&(i=t),i},this.$get=["$exceptionHandler","$parse","$browser",function(e,c,l){function f(t){t.currentScope.$$destroyed=!0}function h(t){9===Yr&&(t.$$childHead&&h(t.$$childHead),t.$$nextSibling&&h(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}function d(){this.$id=a(),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 $(t){if(E.$$phase)throw o("inprog","{0} already in progress",E.$$phase);E.$$phase=t}function v(){E.$$phase=null}function g(t,e){do t.$$watchersCount+=e;while(t=t.$parent)}function b(t,e,n){do t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n];while(t=t.$parent)}function w(){}function x(){for(;O.length;)try{O.shift()()}catch(t){e(t)}u=null}function C(){null===u&&(u=l.defer(function(){E.$apply(x)}))}d.prototype={constructor:d,$new:function(e,n){var r;return n=n||this,e?(r=new d,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=t(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,(e||n!==this)&&r.$on("$destroy",f),r},$watch:function(t,e,n,r){var i=c(t);if(i.$$watchDelegate)return i.$$watchDelegate(this,e,n,i,t);var o=this,a=o.$$watchers,u={fn:e,last:w,get:i,exp:r||t,eq:!!n};return s=null,S(e)||(u.fn=p),a||(a=o.$$watchers=[],a.$$digestWatchIndex=-1),a.unshift(u),a.$$digestWatchIndex++,g(this,1),function(){var t=P(a,u);t>=0&&(g(o,-1),t<a.$$digestWatchIndex&&a.$$digestWatchIndex--),s=null}},$watchGroup:function(t,e){function n(){u=!1,c?(c=!1,e(o,o,s)):e(o,i,s)}var i=new Array(t.length),o=new Array(t.length),a=[],s=this,u=!1,c=!0;if(!t.length){var l=!0;return s.$evalAsync(function(){l&&e(o,o,s)}),function(){l=!1}}return 1===t.length?this.$watch(t[0],function(t,n,r){o[0]=t,i[0]=n,e(o,t===n?o:i,r)}):(r(t,function(t,e){var r=s.$watch(t,function(t,r){o[e]=t,i[e]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(t,e){function r(t){o=t;var e,r,i,s,u;if(!m(o)){if(y(o))if(n(o)){a!==p&&(a=p,v=a.length=0,f++),e=o.length,v!==e&&(f++,a.length=v=e);for(var c=0;c<e;c++)u=a[c],s=o[c],i=u!==u&&s!==s,i||u===s||(f++,a[c]=s)}else{a!==d&&(a=d={},v=0,f++),e=0;for(r in o)zr.call(o,r)&&(e++,s=o[r],u=a[r],r in a?(i=u!==u&&s!==s,i||u===s||(f++,a[r]=s)):(v++,a[r]=s,f++));if(v>e){f++;for(r in a)zr.call(o,r)||(v--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if($?($=!1,e(o,o,u)):e(o,s,u),l)if(y(o))if(n(o)){s=new Array(o.length);for(var t=0;t<o.length;t++)s[t]=o[t]}else{s={};for(var r in o)zr.call(o,r)&&(s[r]=o[r])}else s=o}r.$stateful=!0;var o,a,s,u=this,l=e.length>1,f=0,h=c(t,r),p=[],d={},$=!0,v=0;return this.$watch(h,i)},$digest:function(){var t,n,r,a,c,f,h,p,d,m,g,y=i,b=this,C=[];$("$digest"),l.$$checkUrlChange(),this===E&&null!==u&&(l.defer.cancel(u),x()),s=null;do{h=!1,d=b;for(var O=0;O<k.length;O++){try{g=k[O],g.scope.$eval(g.expression,g.locals)}catch(V){e(V)}s=null}k.length=0;t:do{if(f=d.$$watchers)for(f.$$digestWatchIndex=f.length;f.$$digestWatchIndex--;)try{if(t=f[f.$$digestWatchIndex])if(c=t.get,(n=c(d))===(r=t.last)||(t.eq?B(n,r):ui(n)&&ui(r))){if(t===s){h=!1;break t}}else h=!0,s=t,t.last=t.eq?L(n,null):n,a=t.fn,a(n,r===w?n:r,d),y<5&&(m=4-y,C[m]||(C[m]=[]),C[m].push({msg:S(t.exp)?"fn: "+(t.exp.name||t.exp.toString()):t.exp,newVal:n,oldVal:r}))}catch(V){e(V)}if(!(p=d.$$watchersCount&&d.$$childHead||d!==b&&d.$$nextSibling))for(;d!==b&&!(p=d.$$nextSibling);)d=d.$parent}while(d=p);if((h||k.length)&&!y--)throw v(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,C)}while(h||k.length);for(v();M<A.length;)try{A[M++]()}catch(V){e(V)}A.length=M=0},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===E&&l.$$applicationDestroyed(),g(this,-this.$$watchersCount);for(var e in this.$$listenerCount)b(this,this.$$listenerCount[e],e);t&&t.$$childHead===this&&(t.$$childHead=this.$$nextSibling),t&&t.$$childTail===this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=p,this.$on=this.$watch=this.$watchGroup=function(){return p},this.$$listeners={},this.$$nextSibling=null,h(this)}},$eval:function(t,e){return c(t)(this,e)},$evalAsync:function(t,e){E.$$phase||k.length||l.defer(function(){k.length&&E.$digest()}),k.push({scope:this,expression:c(t),locals:e})},$$postDigest:function(t){A.push(t)},$apply:function(t){try{$("$apply");try{return this.$eval(t)}finally{v()}}catch(n){e(n)}finally{try{E.$digest()}catch(n){throw e(n),n}}},$applyAsync:function(t){function e(){n.$eval(t)}var n=this;t&&O.push(e),t=c(t),C()},$on:function(t,e){var n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);var r=this;do r.$$listenerCount[t]||(r.$$listenerCount[t]=0),r.$$listenerCount[t]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(e);r!==-1&&(n[r]=null,b(i,1,t))}},$emit:function(t,n){var r,i,o,a=[],s=this,u=!1,c={name:t,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},l=q([c],arguments,1);do{for(r=s.$$listeners[t]||a,c.currentScope=s,i=0,o=r.length;i<o;i++)if(r[i])try{r[i].apply(null,l)}catch(f){e(f)}else r.splice(i,1),i--,o--;if(u)return c.currentScope=null,c;s=s.$parent}while(s);return c.currentScope=null,c},$broadcast:function(t,n){var r=this,i=r,o=r,a={name:t,targetScope:r,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!r.$$listenerCount[t])return a;for(var s,u,c,l=q([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[t]||[],u=0,c=s.length;u<c;u++)if(s[u])try{s[u].apply(null,l)}catch(f){e(f)}else s.splice(u,1),u--,c--;if(!(o=i.$$listenerCount[t]&&i.$$childHead||i!==r&&i.$$nextSibling))for(;i!==r&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var E=new d,k=E.$$asyncQueue=[],A=E.$$postDigestQueue=[],O=E.$$applyAsyncQueue=[],M=0;return E}]}function An(){var t=/^\s*(https?|ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return g(e)?(t=e,this):t},this.imgSrcSanitizationWhitelist=function(t){return g(t)?(e=t,this):e},this.$get=function(){return function(n,r){var i,o=r?e:t;return i=Un(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function On(t){return t.replace(jo,Et)}function Mn(t){if("self"===t)return t;if(w(t)){if(t.indexOf("***")>-1)throw Io("iwcard","Illegal sequence *** in string matcher. String: {0}",t);return t=hi(t).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+t+"$")}if(E(t))return new RegExp("^"+t.source+"$");throw Io("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Vn(t){var e=[];return g(t)&&r(t,function(t){e.push(Mn(t))}),e}function Tn(){this.SCE_CONTEXTS=Ro;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=Vn(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=Vn(t)),e},this.$get=["$injector",function(n){function r(t,e){return"self"===t?_n(e):!!t.exec(e.href)}function i(n){var i,o,a=Un(n.toString()),s=!1;for(i=0,o=t.length;i<o;i++)if(r(t[i],a)){s=!0;break}if(s)for(i=0,o=e.length;i<o;i++)if(r(e[i],a)){s=!1;break}return s}function o(t){var e=function(t){this.$$unwrapTrustedValue=function(){return t}};return t&&(e.prototype=new t),e.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},e.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},e}function a(t,e){var n=f.hasOwnProperty(t)?f[t]:null;if(!n)throw Io("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||m(e)||""===e)return e;if("string"!=typeof e)throw Io("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new n(e)}function s(t){return t instanceof l?t.$$unwrapTrustedValue():t}function u(t,e){if(null===e||m(e)||""===e)return e;var n=f.hasOwnProperty(t)?f[t]:null;if(n&&e instanceof n)return e.$$unwrapTrustedValue();if(t===Ro.RESOURCE_URL){if(i(e))return e;throw Io("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",e.toString())}if(t===Ro.HTML)return c(e);throw Io("unsafe","Attempting to use an unsafe value in a safe context.")}var c=function(t){throw Io("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(c=n.get("$sanitize"));var l=o(),f={};return f[Ro.HTML]=o(l),f[Ro.CSS]=o(l),f[Ro.URL]=o(l),f[Ro.JS]=o(l),f[Ro.RESOURCE_URL]=o(f[Ro.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function Nn(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(e,n){if(t&&Yr<8)throw Io("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 i=yt(Ro);i.isEnabled=function(){return t},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,t||(i.trustAs=i.getTrusted=function(t,e){return e},i.valueOf=d),i.parseAs=function(t,n){var r=e(n);return r.literal&&r.constant?r:e(n,function(e){return i.getTrusted(t,e)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(Ro,function(t,e){var n=Wr(e);i[On("parse_as_"+n)]=function(e){return o(t,e)},i[On("get_trusted_"+n)]=function(e){return a(t,e)},i[On("trust_as_"+n)]=function(e){return s(t,e)}}),i}]}function In(){this.$get=["$window","$document",function(t,e){var n={},r=t.chrome&&(t.chrome.app&&t.chrome.app.runtime||!t.chrome.app&&t.chrome.runtime&&t.chrome.runtime.id),i=!r&&t.history&&t.history.pushState,o=f((/android (\d+)/.exec(Wr((t.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((t.navigator||{}).userAgent),s=e[0]||{},u=s.body&&s.body.style,c=!1,l=!1;return u&&(c=!!("transition"in u||"webkitTransition"in u),l=!!("animation"in u||"webkitAnimation"in u)),{history:!(!i||o<4||a),hasEvent:function(t){if("input"===t&&Yr)return!1;if(m(n[t])){var e=s.createElement("div");n[t]="on"+t in e}return n[t]},csp:pi(),transitions:c,animations:l,android:o}}]}function Rn(){var t;this.httpOptions=function(e){return e?(t=e,this):t},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(e,n,r,i,o){function a(s,u){function l(t){return u||(t=Do("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,t.status,t.statusText),e(t)),i.reject(t)}a.totalPendingRequests++,w(s)&&!m(n.get(s))||(s=o.getTrustedResourceUrl(s));var f=r.defaults&&r.defaults.transformResponse;return ci(f)?f=f.filter(function(t){return t!==Ie}):f===Ie&&(f=null),r.get(s,c({cache:n,transformResponse:f},t))["finally"](function(){a.totalPendingRequests--}).then(function(t){return n.put(s,t.data),t.data},l)}return a.totalPendingRequests=0,a}]}function jn(){this.$get=["$rootScope","$browser","$location",function(t,e,n){var i={};return i.findBindings=function(t,e,n){var i=t.getElementsByClassName("ng-binding"),o=[];return r(i,function(t){var i=ai.element(t).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+hi(e)+"(\\s|\\||$)");i.test(r)&&o.push(t)}else r.indexOf(e)!==-1&&o.push(t)})}),o},i.findModels=function(t,e,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",a="["+r[i]+"model"+o+'"'+e+'"]',s=t.querySelectorAll(a);if(s.length)return s}},i.getLocation=function(){return n.url()},i.setLocation=function(e){e!==n.url()&&(n.url(e),t.$digest())},i.whenStable=function(t){e.notifyWhenNoOutstandingRequests(t)},i}]}function Dn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(t,e,n,r,i){function o(o,s,u){S(o)||(u=s,s=o,o=p);var c,l=F(arguments,3),f=g(u)&&!u,h=(f?r:n).defer(),d=h.promise;return c=e.defer(function(){try{h.resolve(o.apply(null,l))}catch(e){h.reject(e),i(e)}finally{delete a[d.$$timeoutId]}f||t.$apply()},s),d.$$timeoutId=c,a[c]=h,d}var a={};return o.cancel=function(t){return!!(t&&t.$$timeoutId in a)&&(a[t.$$timeoutId].promise["catch"](p),a[t.$$timeoutId].reject("canceled"),delete a[t.$$timeoutId],e.defer.cancel(t.$$timeoutId))},o}]}function Un(t){var e=t;return Yr&&(Uo.setAttribute("href",e),e=Uo.href),Uo.setAttribute("href",e),{href:Uo.href,protocol:Uo.protocol?Uo.protocol.replace(/:$/,""):"",host:Uo.host,search:Uo.search?Uo.search.replace(/^\?/,""):"",hash:Uo.hash?Uo.hash.replace(/^#/,""):"",hostname:Uo.hostname,port:Uo.port,pathname:"/"===Uo.pathname.charAt(0)?Uo.pathname:"/"+Uo.pathname}}function _n(t){var e=w(t)?Un(t):t;return e.protocol===_o.protocol&&e.host===_o.host}function Pn(){this.$get=$(t)}function Ln(t){function e(t){try{return t.cookie||""}catch(e){return""}}function n(t){try{return decodeURIComponent(t)}catch(e){return t}}var r=t[0]||{},i={},o="";return function(){var t,a,s,u,c,l=e(r);if(l!==o)for(o=l,t=o.split("; "),i={},s=0;s<t.length;s++)a=t[s],u=a.indexOf("="),u>0&&(c=n(a.substring(0,u)),m(i[c])&&(i[c]=n(a.substring(u+1))));return i}}function Bn(){this.$get=Ln}function qn(t){function e(i,o){if(y(i)){var a={};return r(i,function(t,n){a[n]=e(n,t)}),a}return t.factory(i+n,o)}var n="Filter";this.register=e,this.$get=["$injector",function(t){return function(e){return t.get(e+n)}}],e("currency",Gn),e("date",ur),e("filter",Fn),e("json",cr),e("limitTo",lr),e("lowercase",zo),e("number",Jn),e("orderBy",hr),e("uppercase",Wo)}function Fn(){return function(t,r,i,o){if(!n(t)){if(null==t)return t;throw e("filter")("notarray","Expected array but received: {0}",t)}o=o||"$";var a,s,u=Wn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Hn(r,i,o,s);break;default:return t}return Array.prototype.filter.call(t,a)}}function Hn(t,e,n,r){var i,o=y(t)&&n in t;return e===!0?e=B:S(e)||(e=function(t,e){return!m(t)&&(null===t||null===e?t===e:!(y(e)||y(t)&&!v(t))&&(t=Wr(""+t),e=Wr(""+e),t.indexOf(e)!==-1))}),i=function(i){return o&&!y(i)?zn(i,t[n],e,n,!1):zn(i,t,e,n,r)}}function zn(t,e,n,r,i,o){var a=Wn(t),s=Wn(e);if("string"===s&&"!"===e.charAt(0))return!zn(t,e.substring(1),n,r,i);if(ci(t))return t.some(function(t){return zn(t,e,n,r,i)});switch(a){case"object":var u;if(i){for(u in t)if("$"!==u.charAt(0)&&zn(t[u],e,n,r,!0))return!0;return!o&&zn(t,e,n,r,!1)}if("object"===s){for(u in e){var c=e[u];if(!S(c)&&!m(c)){var l=u===r,f=l?t:t[u];if(!zn(f,c,n,r,l,l))return!1}}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function Wn(t){return null===t?"null":typeof t}function Gn(t){var e=t.NUMBER_FORMATS;return function(t,n,r){return m(n)&&(n=e.CURRENCY_SYM),m(r)&&(r=e.PATTERNS[1].maxFrac),null==t?t:Kn(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Jn(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:Kn(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function Zn(t){var e,n,r,i,o,a=0;for((n=t.indexOf(Lo))>-1&&(t=t.replace(Lo,"")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charAt(r)===Bo;r++);if(r===(o=t.length))e=[0],n=1;else{for(o--;t.charAt(o)===Bo;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+t.charAt(r)}return n>Po&&(e=e.splice(0,Po-1),a=n-1,n=1),{d:e,e:a,i:n}}function Yn(t,e,n,r){var i=t.d,o=i.length-t.i;e=m(e)?Math.min(Math.max(n,o),r):+e;var a=e+t.i,s=i[a];if(a>0){i.splice(Math.max(t.i,a));for(var u=a;u<i.length;u++)i[u]=0}else{o=Math.max(0,o),t.i=1,i.length=Math.max(1,a=e+1),i[0]=0;for(var c=1;c<a;c++)i[c]=0}if(s>=5)if(a-1<0){for(var l=0;l>a;l--)i.unshift(0),t.i++;i.unshift(1),t.i++}else i[a-1]++;for(;o<Math.max(0,e);o++)i.push(0);var f=i.reduceRight(function(t,e,n,r){return e+=t,r[n]=e%10,Math.floor(e/10)},0);f&&(i.unshift(f),t.i++)}function Kn(t,e,n,r,i){if(!w(t)&&!x(t)||isNaN(t))return"";var o,a=!isFinite(t),s=!1,u=Math.abs(t)+"",c="";if(a)c="∞";else{o=Zn(u),Yn(o,i,e.minFrac,e.maxFrac);var l=o.d,f=o.i,h=o.e,p=[];for(s=l.reduce(function(t,e){return t&&!e},!0);f<0;)l.unshift(0),f++;f>0?p=l.splice(f,l.length):(p=l,l=[0]);var d=[];for(l.length>=e.lgSize&&d.unshift(l.splice(-e.lgSize,l.length).join(""));l.length>e.gSize;)d.unshift(l.splice(-e.gSize,l.length).join(""));l.length&&d.unshift(l.join("")),c=d.join(n),p.length&&(c+=r+p.join("")),h&&(c+="e+"+h)}return t<0&&!s?e.negPre+c+e.negSuf:e.posPre+c+e.posSuf}function Xn(t,e,n,r){var i="";for((t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,i="-")),t=""+t;t.length<e;)t=Bo+t;return n&&(t=t.substr(t.length-e)),i+t}function Qn(t,e,n,r,i){return n=n||0,function(o){var a=o["get"+t]();return(n>0||a>-n)&&(a+=n),0===a&&n===-12&&(a=12),Xn(a,e,r,i)}}function tr(t,e,n){return function(r,i){var o=r["get"+t](),a=(n?"STANDALONE":"")+(e?"SHORT":""),s=Gr(a+t);return i[s][o]}}function er(t,e,n){var r=-1*n,i=r>=0?"+":"";return i+=Xn(Math[r>0?"floor":"ceil"](r/60),2)+Xn(Math.abs(r%60),2)}function nr(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}function rr(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function ir(t){return function(e){var n=nr(e.getFullYear()),r=rr(e),i=+r-+n,o=1+Math.round(i/6048e5);return Xn(o,t)}}function or(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function ar(t,e){return t.getFullYear()<=0?e.ERAS[0]:e.ERAS[1]}function sr(t,e){return t.getFullYear()<=0?e.ERANAMES[0]:e.ERANAMES[1]}function ur(t){function e(t){var e;if(e=t.match(n)){var r=new Date(0),i=0,o=0,a=e[8]?r.setUTCFullYear:r.setFullYear,s=e[8]?r.setUTCHours:r.setHours;e[9]&&(i=f(e[9]+e[10]),o=f(e[9]+e[11])),a.call(r,f(e[1]),f(e[2])-1,f(e[3]));var u=f(e[4]||0)-i,c=f(e[5]||0)-o,l=f(e[6]||0),h=Math.round(1e3*parseFloat("0."+(e[7]||0)));return s.call(r,u,c,l,h),r}return t}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",c=[];if(i=i||"mediumDate",i=t.DATETIME_FORMATS[i]||i,w(n)&&(n=Ho.test(n)?f(n):e(n)),x(n)&&(n=new Date(n)),!C(n)||!isFinite(n.getTime()))return n;for(;i;)s=Fo.exec(i),s?(c=q(c,s,1),i=c.pop()):(c.push(i),i=null);var l=n.getTimezoneOffset();return o&&(l=J(o,l),n=Y(n,o,!0)),r(c,function(e){a=qo[e],u+=a?a(n,t.DATETIME_FORMATS,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function cr(){return function(t,e){return m(e)&&(e=2),W(t,e)}}function lr(){return function(t,e,r){return e=Math.abs(Number(e))===1/0?Number(e):f(e),ui(e)?t:(x(t)&&(t=t.toString()),n(t)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,t.length+r):r,e>=0?fr(t,r,r+e):0===r?fr(t,e,t.length):fr(t,Math.max(0,r+e),r)):t)}}function fr(t,e,n){return w(t)?t.slice(e,n):ti.call(t,e,n)}function hr(t){function r(e){return e.map(function(e){var n=1,r=d;if(S(e))r=e;else if(w(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(n="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(r=t(e),r.constant))){var i=r();r=function(t){return t[i]}}return{get:r,descending:n}})}function i(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function o(t){return S(t.valueOf)&&(t=t.valueOf(),i(t))?t:v(t)&&(t=t.toString(),i(t))?t:t}function a(t,e){var n=typeof t;return null===t?(n="string",t="null"):"object"===n&&(t=o(t)),{value:t,type:n,index:e}}function s(t,e){var n=0,r=t.type,i=e.type;if(r===i){var o=t.value,a=e.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(y(o)&&(o=t.index),y(a)&&(a=e.index)),o!==a&&(n=o<a?-1:1)}else n=r<i?-1:1;return n}return function(t,i,o,u){function c(t,e){return{value:t,tieBreaker:{value:e,type:"number",index:e},predicateValues:f.map(function(n){return a(n.get(t),e)})}}function l(t,e){for(var n=0,r=f.length;n<r;n++){var i=p(t.predicateValues[n],e.predicateValues[n]);if(i)return i*f[n].descending*h}return p(t.tieBreaker,e.tieBreaker)*h}if(null==t)return t;if(!n(t))throw e("orderBy")("notarray","Expected array but received: {0}",t);ci(i)||(i=[i]),0===i.length&&(i=["+"]);var f=r(i),h=o?-1:1,p=S(u)?u:s,d=Array.prototype.map.call(t,c);return d.sort(l),t=d.map(function(t){return t.value})}}function pr(t){return S(t)&&(t={link:t}),t.restrict=t.restrict||"AC",$(t)}function dr(t,e){t.$name=e}function $r(t,e,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(e.name||e.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Zo,this.$$element=t,this.$$animate=r,vr(this)}function vr(t){t.$$classCache={},t.$$classCache[Ia]=!(t.$$classCache[Na]=t.$$element.hasClass(Na))}function mr(t){function e(t,e,n,r){t[e]||(t[e]={}),a(t[e],n,r)}function n(t,e,n,r){t[e]&&s(t[e],n,r),gr(t[e])&&(t[e]=void 0)}function r(t,e,n){n&&!t.$$classCache[e]?(t.$$animate.addClass(t.$$element,e),t.$$classCache[e]=!0):!n&&t.$$classCache[e]&&(t.$$animate.removeClass(t.$$element,e),t.$$classCache[e]=!1)}function i(t,e,n){e=e?"-"+ct(e,"-"):"",r(t,Na+e,n===!0),r(t,Ia+e,n===!1)}var o=t.clazz,a=t.set,s=t.unset;o.prototype.$setValidity=function(t,o,u){m(o)?e(this,"$pending",t,u):n(this,"$pending",t,u),T(o)?o?(s(this.$error,t,u),a(this.$$success,t,u)):(a(this.$error,t,u),s(this.$$success,t,u)):(s(this.$error,t,u),s(this.$$success,t,u)),this.$pending?(r(this,Yo,!0),this.$valid=this.$invalid=void 0,i(this,"",null)):(r(this,Yo,!1),this.$valid=gr(this.$error),this.$invalid=!this.$valid,i(this,"",this.$valid));var c;c=this.$pending&&this.$pending[t]?void 0:!this.$error[t]&&(!!this.$$success[t]||null),i(this,t,c),this.$$parentForm.$setValidity(t,c,this)}}function gr(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function yr(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function br(t,e,n,r,i,o){wr(t,e,n,r,i,o),yr(r)}function wr(t,e,n,r,i,o){var a=Wr(e[0].type);if(!i.android){var s=!1;e.on("compositionstart",function(){s=!0}),e.on("compositionend",function(){s=!1,c()})}var u,c=function(t){if(u&&(o.defer.cancel(u),u=null),!s){var i=e.val(),c=t&&t.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=fi(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,c)}};if(i.hasEvent("input"))e.on("input",c);else{var l=function(t,e,n){u||(u=o.defer(function(){u=null,e&&e.value===n||c(t)}))};e.on("keydown",function(t){var e=t.keyCode;91===e||15<e&&e<19||37<=e&&e<=40||l(t,this,this.value)}),i.hasEvent("paste")&&e.on("paste cut",l)}e.on("change",c),fa[a]&&r.$$hasNativeValidators&&a===n.type&&e.on(la,function(t){ if(!u){var e=this[Hr],n=e.badInput,r=e.typeMismatch;u=o.defer(function(){u=null,e.badInput===n&&e.typeMismatch===r||c(t)})}}),r.$render=function(){var t=r.$isEmpty(r.$viewValue)?"":r.$viewValue;e.val()!==t&&e.val(t)}}function xr(t,e){if(C(t))return t;if(w(t)){sa.lastIndex=0;var n=sa.exec(t);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,c=nr(r),l=7*(i-1);return e&&(o=e.getHours(),a=e.getMinutes(),s=e.getSeconds(),u=e.getMilliseconds()),new Date(r,0,c.getDate()+l,o,a,s,u)}}return NaN}function Cr(t,e){return function(n,i){var o,a;if(C(n))return n;if(w(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),ea.test(n))return new Date(n);if(t.lastIndex=0,o=t.exec(n))return o.shift(),a=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},r(o,function(t,n){n<e.length&&(a[e[n]]=+t)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function Sr(t,e,n,r){return function(i,o,a,s,u,c,l){function f(t){return t&&!(t.getTime&&t.getTime()!==t.getTime())}function h(t){return g(t)&&!C(t)?n(t)||void 0:t}Er(i,o,a,s),wr(i,o,a,s,u,c);var p,d=s&&s.$options.getOption("timezone");if(s.$$parserName=t,s.$parsers.push(function(t){if(s.$isEmpty(t))return null;if(e.test(t)){var r=n(t,p);return d&&(r=Y(r,d)),r}}),s.$formatters.push(function(t){if(t&&!C(t))throw La("datefmt","Expected `{0}` to be a date",t);return f(t)?(p=t,p&&d&&(p=Y(p,d,!0)),l("date")(t,r,d)):(p=null,"")}),g(a.min)||a.ngMin){var $;s.$validators.min=function(t){return!f(t)||m($)||n(t)>=$},a.$observe("min",function(t){$=h(t),s.$validate()})}if(g(a.max)||a.ngMax){var v;s.$validators.max=function(t){return!f(t)||m(v)||n(t)<=v},a.$observe("max",function(t){v=h(t),s.$validate()})}}}function Er(t,e,n,r){var i=e[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(t){var n=e.prop(Hr)||{};return n.badInput||n.typeMismatch?void 0:t})}function kr(t){t.$$parserName="number",t.$parsers.push(function(e){return t.$isEmpty(e)?null:ia.test(e)?parseFloat(e):void 0}),t.$formatters.push(function(e){if(!t.$isEmpty(e)){if(!x(e))throw La("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e})}function Ar(t){return g(t)&&!x(t)&&(t=parseFloat(t)),ui(t)?void 0:t}function Or(t){return(0|t)===t}function Mr(t){var e=t.toString(),n=e.indexOf(".");if(n===-1){if(-1<t&&t<1){var r=/e-(\d+)$/.exec(e);if(r)return Number(r[1])}return 0}return e.length-n-1}function Vr(t,e,n){var r=Number(t);if(!Or(r)||!Or(e)||!Or(n)){var i=Math.max(Mr(r),Mr(e),Mr(n)),o=Math.pow(10,i);r*=o,e*=o,n*=o}return(r-e)%n===0}function Tr(t,e,n,r,i,o){Er(t,e,n,r),kr(r),wr(t,e,n,r,i,o);var a,s;if((g(n.min)||n.ngMin)&&(r.$validators.min=function(t){return r.$isEmpty(t)||m(a)||t>=a},n.$observe("min",function(t){a=Ar(t),r.$validate()})),(g(n.max)||n.ngMax)&&(r.$validators.max=function(t){return r.$isEmpty(t)||m(s)||t<=s},n.$observe("max",function(t){s=Ar(t),r.$validate()})),g(n.step)||n.ngStep){var u;r.$validators.step=function(t,e){return r.$isEmpty(e)||m(u)||Vr(e,a||0,u)},n.$observe("step",function(t){u=Ar(t),r.$validate()})}}function Nr(t,e,n,r,i,o){function a(t,r){e.attr(t,n[t]),n.$observe(t,r)}function s(t){if(f=Ar(t),!ui(r.$modelValue))if(l){var n=e.val();f>n&&(n=f,e.val(n)),r.$setViewValue(n)}else r.$validate()}function u(t){if(h=Ar(t),!ui(r.$modelValue))if(l){var n=e.val();h<n&&(e.val(h),n=h<f?f:h),r.$setViewValue(n)}else r.$validate()}function c(t){p=Ar(t),ui(r.$modelValue)||(l&&r.$viewValue!==e.val()?r.$setViewValue(e.val()):r.$validate())}Er(t,e,n,r),kr(r),wr(t,e,n,r,i,o);var l=r.$$hasNativeValidators&&"range"===e[0].type,f=l?0:void 0,h=l?100:void 0,p=l?1:void 0,d=e[0].validity,$=g(n.min),v=g(n.max),y=g(n.step),b=r.$render;r.$render=l&&g(d.rangeUnderflow)&&g(d.rangeOverflow)?function(){b(),r.$setViewValue(e.val())}:b,$&&(r.$validators.min=l?function(){return!0}:function(t,e){return r.$isEmpty(e)||m(f)||e>=f},a("min",s)),v&&(r.$validators.max=l?function(){return!0}:function(t,e){return r.$isEmpty(e)||m(h)||e<=h},a("max",u)),y&&(r.$validators.step=l?function(){return!d.stepMismatch}:function(t,e){return r.$isEmpty(e)||m(p)||Vr(e,f||0,p)},a("step",c))}function Ir(t,e,n,r,i,o){wr(t,e,n,r,i,o),yr(r),r.$$parserName="url",r.$validators.url=function(t,e){var n=t||e;return r.$isEmpty(n)||na.test(n)}}function Rr(t,e,n,r,i,o){wr(t,e,n,r,i,o),yr(r),r.$$parserName="email",r.$validators.email=function(t,e){var n=t||e;return r.$isEmpty(n)||ra.test(n)}}function jr(t,e,n,r){var i=!n.ngTrim||"false"!==fi(n.ngTrim);m(n.name)&&e.attr("name",a());var o=function(t){var o;e[0].checked&&(o=n.value,i&&(o=fi(o)),r.$setViewValue(o,t&&t.type))};e.on("click",o),r.$render=function(){var t=n.value;i&&(t=fi(t)),e[0].checked=t===r.$viewValue},n.$observe("value",r.$render)}function Dr(t,e,n,r,i){var o;if(g(r)){if(o=t(r),!o.constant)throw La("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(e)}return i}function Ur(t,e,n,r,i,o,a,s){var u=Dr(s,t,"ngTrueValue",n.ngTrueValue,!0),c=Dr(s,t,"ngFalseValue",n.ngFalseValue,!1),l=function(t){r.$setViewValue(e[0].checked,t&&t.type)};e.on("click",l),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return t===!1},r.$formatters.push(function(t){return B(t,u)}),r.$parsers.push(function(t){return t?u:c})}function _r(t,e){function n(t,e){if(!t||!t.length)return[];if(!e||!e.length)return t;var n=[];t:for(var r=0;r<t.length;r++){for(var i=t[r],o=0;o<e.length;o++)if(i===e[o])continue t;n.push(i)}return n}function i(t){return t&&t.split(" ")}function o(t){var e=t;return ci(t)?e=t.map(o).join(" "):y(t)&&(e=Object.keys(t).filter(function(e){return t[e]}).join(" ")),e}function a(t){var e=t;if(ci(t))e=t.map(a);else if(y(t)){var n=!1;e=Object.keys(t).filter(function(e){var r=t[e];return!n&&m(r)&&(n=!0),r}),n&&e.push(void 0)}return e}t="ngClass"+t;var s;return["$parse",function(u){return{restrict:"AC",link:function(c,l,f){function h(t){t=$(i(t),1),f.$addClass(t)}function p(t){t=$(i(t),-1),f.$removeClass(t)}function d(t,e){var r=i(t),o=i(e),a=n(r,o),s=n(o,r),u=$(a,-1),c=$(s,1);f.$addClass(c),f.$removeClass(u)}function $(t,e){var n=[];return r(t,function(t){(e>0||E[t])&&(E[t]=(E[t]||0)+e,E[t]===+(e>0)&&n.push(t))}),n.join(" ")}function v(t){t===e?h(y):p(y),k=t}function m(t){var e=o(t);e!==y&&g(e)}function g(t){k===e&&d(y,t),y=t}var y,b=f[t].trim(),w=":"===b.charAt(0)&&":"===b.charAt(1),x=w?a:o,C=u(b,x),S=w?m:g,E=l.data("$classCounts"),k=!0;E||(E=vt(),l.data("$classCounts",E)),"ngClass"!==t&&(s||(s=u("$index",function(t){return 1&t})),c.$watch(s,v)),c.$watch(C,S,w)}}}]}function Pr(t,e,n,r,i,o,a,s,u){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,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=void 0,this.$name=u(n.name||"",!1)(t),this.$$parentForm=Zo,this.$options=Ba,this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,this.$$scope=t,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=e,vr(this),Lr(this)}function Lr(t){t.$$scope.$watch(function(){var e=t.$$ngModelGet(t.$$scope);if(e!==t.$modelValue&&(t.$modelValue===t.$modelValue||e===e)){t.$modelValue=t.$$rawModelValue=e,t.$$parserValid=void 0;for(var n=t.$formatters,r=n.length,i=e;r--;)i=n[r](i);t.$viewValue!==i&&(t.$$updateEmptyClasses(i),t.$viewValue=t.$$lastCommittedViewValue=i,t.$render(),t.$$runValidators(t.$modelValue,t.$viewValue,p))}return e})}function Br(t){this.$$options=t}function qr(t,e){r(e,function(e,n){g(t[n])||(t[n]=e)})}var Fr=/^\/(.+)\/([a-z]*)$/,Hr="validity",zr=Object.prototype.hasOwnProperty,Wr=function(t){return w(t)?t.toLowerCase():t},Gr=function(t){return w(t)?t.toUpperCase():t},Jr=function(t){return w(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},Zr=function(t){return w(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(t.charCodeAt(0)&-33)}):t};"i"!=="I".toLowerCase()&&(Wr=Jr,Gr=Zr);var Yr,Kr,Xr,Qr,ti=[].slice,ei=[].splice,ni=[].push,ri=Object.prototype.toString,ii=Object.getPrototypeOf,oi=e("ng"),ai=t.angular||(t.angular={}),si=0;Yr=t.document.documentMode;var ui=Number.isNaN||function(t){return t!==t};p.$inject=[],d.$inject=[];var ci=Array.isArray,li=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,fi=function(t){return w(t)?t.trim():t},hi=function(t){return t.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},pi=function(){function e(){try{return new Function(""),!1}catch(t){return!0}}if(!g(pi.rules)){var n=t.document.querySelector("[ng-csp]")||t.document.querySelector("[data-ng-csp]");if(n){var r=n.getAttribute("ng-csp")||n.getAttribute("data-ng-csp");pi.rules={noUnsafeEval:!r||r.indexOf("no-unsafe-eval")!==-1,noInlineStyle:!r||r.indexOf("no-inline-style")!==-1}}else pi.rules={noUnsafeEval:e(),noInlineStyle:!1}}return pi.rules},di=function(){if(g(di.name_))return di.name_;var e,n,r,i,o=vi.length;for(n=0;n<o;++n)if(r=vi[n],e=t.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return di.name_=i},$i=/:/g,vi=["ng-","data-ng-","ng:","x-ng-"],mi=it(t.document),gi=/[A-Z]/g,yi=!1,bi=1,wi=2,xi=3,Ci=8,Si=9,Ei=11,ki={full:"1.6.1",major:1,minor:6,dot:1,codeName:"promise-rectification"};Rt.expando="ng339";var Ai=Rt.cache={},Oi=1;Rt._data=function(t){return this.cache[t[this.expando]]||{}};var Mi=/-([a-z])/g,Vi=/^-ms-/,Ti={mouseleave:"mouseout",mouseenter:"mouseover"},Ni=e("jqLite"),Ii=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ri=/<|&#?\w+;/,ji=/<([\w:-]+)/,Di=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ui={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,"",""]};Ui.optgroup=Ui.option,Ui.tbody=Ui.tfoot=Ui.colgroup=Ui.caption=Ui.thead,Ui.th=Ui.td;var _i=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))},Pi=Rt.prototype={ready:Yt,toString:function(){var t=[];return r(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return Kr(t>=0?this[t]:this[this.length+t])},length:0,push:ni,sort:[].sort,splice:[].splice},Li={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){Li[Wr(t)]=t});var Bi={};r("input,select,option,textarea,button,form,details".split(","),function(t){Bi[t]=!0});var qi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};r({data:Lt,removeData:_t,hasData:Mt,cleanData:Vt},function(t,e){Rt[e]=t}),r({data:Lt,inheritedData:Wt,scope:function(t){return Kr.data(t,"$scope")||Wt(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return Kr.data(t,"$isolateScope")||Kr.data(t,"$isolateScopeNoTemplate")},controller:zt,injector:function(t){return Wt(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Bt,css:function(t,e,n){return e=St(e),g(n)?void(t.style[e]=n):t.style[e]},attr:function(t,e,n){var r,i=t.nodeType;if(i!==xi&&i!==wi&&i!==Ci&&t.getAttribute){var o=Wr(e),a=Li[o];return g(n)?void(null===n||n===!1&&a?t.removeAttribute(e):t.setAttribute(e,a?o:n)):(r=t.getAttribute(e),a&&null!==r&&(r=o),null===r?void 0:r)}},prop:function(t,e,n){return g(n)?void(t[e]=n):t[e]},text:function(){function t(t,e){if(m(e)){var n=t.nodeType;return n===bi||n===xi?t.textContent:""}t.textContent=e}return t.$dv="",t}(),val:function(t,e){if(m(e)){if(t.multiple&&"select"===U(t)){var n=[];return r(t.options,function(t){t.selected&&n.push(t.value||t.text)}),n}return t.value}t.value=e},html:function(t,e){return m(e)?t.innerHTML:(Dt(t,!0),void(t.innerHTML=e))},empty:Gt},function(t,e){Rt.prototype[e]=function(e,n){var r,i,o=this.length;if(t!==Gt&&m(2===t.length&&t!==Bt&&t!==zt?e:n)){if(y(e)){for(r=0;r<o;r++)if(t===Lt)t(this[r],e);else for(i in e)t(this[r],i,e[i]);return this}for(var a=t.$dv,s=m(a)?Math.min(o,1):o,u=0;u<s;u++){var c=t(this[u],e,n);a=a?a+c:c}return a}for(r=0;r<o;r++)t(this[r],e,n);return this}}),r({removeData:_t,on:function(t,e,n,r){if(g(r))throw Ni("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Ot(t)){var i=Pt(t,!0),o=i.events,a=i.handle;a||(a=i.handle=Qt(t,o));for(var s=e.indexOf(" ")>=0?e.split(" "):[e],u=s.length,c=function(e,r,i){var s=o[e];s||(s=o[e]=[],s.specialHandlerWrapper=r,"$destroy"===e||i||t.addEventListener(e,a)),s.push(n)};u--;)e=s[u],Ti[e]?(c(Ti[e],ee),c(e,void 0,!0)):c(e)}},off:Ut,one:function(t,e,n){t=Kr(t),t.on(e,function r(){t.off(e,n),t.off(e,r)}),t.on(e,n)},replaceWith:function(t,e){var n,i=t.parentNode;Dt(t),r(new Rt(e),function(e){n?i.insertBefore(e,n.nextSibling):i.replaceChild(e,t),n=e})},children:function(t){var e=[];return r(t.childNodes,function(t){t.nodeType===bi&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(n===bi||n===Ei){e=new Rt(e);for(var r=0,i=e.length;r<i;r++){var o=e[r];t.appendChild(o)}}},prepend:function(t,e){if(t.nodeType===bi){var n=t.firstChild;r(new Rt(e),function(e){t.insertBefore(e,n)})}},wrap:function(t,e){It(t,Kr(e).eq(0).clone()[0])},remove:Jt,detach:function(t){Jt(t,!0)},after:function(t,e){var n=t,r=t.parentNode;if(r){e=new Rt(e);for(var i=0,o=e.length;i<o;i++){var a=e[i];r.insertBefore(a,n.nextSibling),n=a}}},addClass:Ft,removeClass:qt,toggleClass:function(t,e,n){e&&r(e.split(" "),function(e){var r=n;m(r)&&(r=!Bt(t,e)),(r?Ft:qt)(t,e)})},parent:function(t){var e=t.parentNode;return e&&e.nodeType!==Ei?e:null},next:function(t){return t.nextElementSibling},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:jt,triggerHandler:function(t,e,n){var i,o,a,s=e.type||e,u=Pt(t),l=u&&u.events,f=l&&l[s];f&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:p,type:s,target:t},e.type&&(i=c(i,e)),o=yt(f),a=n?[i].concat(n):[i],r(o,function(e){i.isImmediatePropagationStopped()||e.apply(t,a)}))}},function(t,e){Rt.prototype[e]=function(e,n,r){for(var i,o=0,a=this.length;o<a;o++)m(i)?(i=t(this[o],e,n,r),g(i)&&(i=Kr(i))):Ht(i,t(this[o],e,n,r));return g(i)?i:this}}),Rt.prototype.bind=Rt.prototype.on,Rt.prototype.unbind=Rt.prototype.off,ie.prototype={put:function(t,e){this[re(t,this.nextUid)]=e},get:function(t){return this[re(t,this.nextUid)]},remove:function(t){var e=this[t=re(t,this.nextUid)];return delete this[t],e}};var Fi=[function(){this.$get=[function(){return ie}]}],Hi=/^([^(]+?)=>/,zi=/^[^(]*\(\s*([^)]*)\)/m,Wi=/,/,Gi=/^\s*(_?)(\S+?)\1\s*$/,Ji=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Zi=e("$injector");ce.$$annotate=ue;var Yi=e("$animate"),Ki=1,Xi="ng-animate",Qi=function(){this.$get=p},to=function(){var t=new ie,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(t,e,n){var i=!1;return e&&(e=w(e)?e.split(" "):ci(e)?e:[],r(e,function(e){e&&(i=!0,t[e]=n)})),i}function a(){r(e,function(e){var n=t.get(e);if(n){var i=pe(e.attr("class")),o="",a="";r(n,function(t,e){var n=!!i[e];t!==n&&(t?o+=(o.length?" ":"")+e:a+=(a.length?" ":"")+e)}),r(e,function(t){o&&Ft(t,o),a&&qt(t,a)}),t.remove(e)}}),e.length=0}function s(n,r,s){var u=t.get(n)||{},c=o(u,r,!0),l=o(u,s,!1);(c||l)&&(t.put(n,u),e.push(n),1===e.length&&i.$$postDigest(a))}return{enabled:p,on:p,off:p,pin:p,push:function(t,e,r,i){i&&i(),r=r||{},r.from&&t.css(r.from),r.to&&t.css(r.to),(r.addClass||r.removeClass)&&s(t,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},eo=["$provide",function(t){var e=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Yi("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";e.$$registeredAnimations[n.substr(1)]=i,t.factory(i,r)},this.classNameFilter=function(t){if(1===arguments.length&&(this.$$classNameFilter=t instanceof RegExp?t:null,this.$$classNameFilter)){var e=new RegExp("(\\s+|\\/)"+Xi+"(\\s+|\\/)");if(e.test(this.$$classNameFilter.toString()))throw Yi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Xi)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var r=he(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel:function(t){t.end&&t.end()},enter:function(n,r,i,o){return r=r&&Kr(r),i=i&&Kr(i),r=r||i.parent(),e(n,r,i),t.push(n,"enter",de(o))},move:function(n,r,i,o){return r=r&&Kr(r),i=i&&Kr(i),r=r||i.parent(),e(n,r,i),t.push(n,"move",de(o))},leave:function(e,n){return t.push(e,"leave",de(n),function(){e.remove()})},addClass:function(e,n,r){return r=de(r),r.addClass=fe(r.addclass,n),t.push(e,"addClass",r)},removeClass:function(e,n,r){return r=de(r),r.removeClass=fe(r.removeClass,n),t.push(e,"removeClass",r)},setClass:function(e,n,r,i){return i=de(i),i.addClass=fe(i.addClass,n),i.removeClass=fe(i.removeClass,r),t.push(e,"setClass",i)},animate:function(e,n,r,i,o){return o=de(o),o.from=o.from?c(o.from,n):n,o.to=o.to?c(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=fe(o.tempClasses,i),t.push(e,"animate",o)}}}]}],no=function(){this.$get=["$$rAF",function(t){function e(e){n.push(e),n.length>1||t(function(){for(var t=0;t<n.length;t++)n[t]();n=[]})}var n=[];return function(){var t=!1;return e(function(){t=!0}),function(n){t?n():e(n)}}}]},ro=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,i,o){function a(t){this.setHost(t);var e=n(),r=function(t){o(t,0,!1)};this._doneCallbacks=[],this._tick=function(t){i()?r(t):e(t)},this._state=0}var s=0,u=1,c=2;return a.chain=function(t,e){function n(){return r===t.length?void e(!0):void t[r](function(t){return t===!1?void e(!1):(r++,void n())})}var r=0;n()},a.all=function(t,e){function n(n){o=o&&n,++i===t.length&&e(o)}var i=0,o=!0;r(t,function(t){t.done(n)})},a.prototype={setHost:function(t){this.host=t||{}},done:function(t){this._state===c?t():this._doneCallbacks.push(t)},progress:p,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){e===!1?n():t()})})}return this.promise},then:function(t,e){return this.getPromise().then(t,e)},"catch":function(t){return this.getPromise()["catch"](t)},"finally":function(t){return this.getPromise()["finally"](t)},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(t){var e=this;e._state===s&&(e._state=u,e._tick(function(){e._resolve(t)}))},_resolve:function(t){this._state!==c&&(r(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=c)}},a}]},io=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(t,e,n){return function(e,r){function i(){return t(function(){o(),s||u.complete(),s=!0}),u}function o(){a.addClass&&(e.addClass(a.addClass),a.addClass=null),a.removeClass&&(e.removeClass(a.removeClass),a.removeClass=null),a.to&&(e.css(a.to),a.to=null)}var a=r||{};a.$$prepared||(a=L(a)),a.cleanupStyles&&(a.from=a.to=null),a.from&&(e.css(a.from),a.from=null);var s,u=new n;return{start:i,end:i}}}]},oo=e("$compile"),ao=new ye;be.$inject=["$provide","$$sanitizeUriProvider"],we.prototype.isFirstChange=function(){return this.previousValue===ao};var so=/^((?:x|data)[:\-_])/i,uo=/[:\-_]+(.)/g,co=e("$controller"),lo=/^(\S+)(\s+as\s+([\w$]+))?$/,fo=function(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof Kr&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]},ho="application/json",po={"Content-Type":ho+";charset=utf-8"},$o=/^\[|^\{(?!\{)/,vo={"[":/]$/,"{":/}$/},mo=/^\)]\}',?\n/,go=e("$http"),yo=ai.$interpolateMinErr=e("$interpolate");yo.throwNoconcat=function(t){throw yo("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",t)},yo.interr=function(t,e){return yo("interr","Can't interpolate: {0}\n{1}",t,e.toString())};var bo=function(){this.$get=["$window",function(t){function e(t){var e=function(t){e.data=t,e.called=!0};return e.id=t,e}var n=t.angular.callbacks,r={};return{createCallback:function(t){var i="_"+(n.$$counter++).toString(36),o="angular.callbacks."+i,a=e(i);return r[o]=n[i]=a,o},wasCalled:function(t){return r[t].called},getResponse:function(t){return r[t].data},removeCallback:function(t){var e=r[t];delete n[e.id],delete r[t]}}}]},wo=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,xo={http:80,https:443,ftp:21},Co=e("$location"),So=/^\s*[\\\/]{2,}/,Eo={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:rn("$$absUrl"),url:function(t){if(m(t))return this.$$url;var e=wo.exec(t);return(e[1]||""===t)&&this.path(decodeURIComponent(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this},protocol:rn("$$protocol"),host:rn("$$host"),port:rn("$$port"),path:on("$$path",function(t){return t=null!==t?t.toString():"","/"===t.charAt(0)?t:"/"+t}),search:function(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if(w(t)||x(t))t=t.toString(),this.$$search=Q(t);else{if(!y(t))throw Co("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");t=L(t,{}),r(t,function(e,n){null==e&&delete t[n]}),this.$$search=t}break;default:m(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:on("$$hash",function(t){return null!==t?t.toString():""}),replace:function(){return this.$$replace=!0,this}};r([nn,en,tn],function(t){t.prototype=Object.create(Eo),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==tn||!this.$$html5)throw Co("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=m(e)?null:e,this}});var ko=e("$parse"),Ao={}.constructor.prototype.valueOf,Oo=vt();r("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(t){Oo[t]=!0});var Mo={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},Vo=function(t){this.options=t};Vo.prototype={constructor:Vo,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.index<this.text.length;){var e=this.text.charAt(this.index);if('"'===e||"'"===e)this.readString(e);else if(this.isNumber(e)||"."===e&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(e,"(){}[].,;:?"))this.tokens.push({index:this.index,text:e}),this.index++;else if(this.isWhitespace(e))this.index++;else{var n=e+this.peek(),r=n+this.peek(2),i=Oo[e],o=Oo[n],a=Oo[r];if(i||o||a){var s=a?r:o?n:e;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(t,e){return e.indexOf(t)!==-1},peek:function(t){var e=t||1;return this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(t){return"0"<=t&&t<="9"&&"string"==typeof t},isWhitespace:function(t){return" "===t||"\r"===t||"\t"===t||"\n"===t||"\x0B"===t||" "===t},isIdentifierStart:function(t){return this.options.isIdentifierStart?this.options.isIdentifierStart(t,this.codePointAt(t)):this.isValidIdentifierStart(t)},isValidIdentifierStart:function(t){return"a"<=t&&t<="z"||"A"<=t&&t<="Z"||"_"===t||"$"===t},isIdentifierContinue:function(t){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(t,this.codePointAt(t)):this.isValidIdentifierContinue(t)},isValidIdentifierContinue:function(t,e){return this.isValidIdentifierStart(t,e)||this.isNumber(t)},codePointAt:function(t){return 1===t.length?t.charCodeAt(0):(t.charCodeAt(0)<<10)+t.charCodeAt(1)-56613888},peekMultichar:function(){var t=this.text.charAt(this.index),e=this.peek();if(!e)return t;var n=t.charCodeAt(0),r=e.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?t+e:t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){n=n||this.index;var r=g(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw ko("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,r,this.text)},readNumber:function(){for(var t="",e=this.index;this.index<this.text.length;){var n=Wr(this.text.charAt(this.index));if("."===n||this.isNumber(n))t+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))t+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===t.charAt(t.length-1))t+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==t.charAt(t.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:e,text:t,constant:!0,value:Number(t)})},readIdent:function(){var t=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var e=this.peekMultichar();if(!this.isIdentifierContinue(e))break;this.index+=e.length}this.tokens.push({index:t,text:this.text.slice(t,this.index),identifier:!0})},readString:function(t){var e=this.index;this.index++;for(var n="",r=t,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{var s=Mo[o];n+=s||o}i=!1}else if("\\"===o)i=!0;else{if(o===t)return this.index++,void this.tokens.push({index:e,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",e)}};var To=function(t,e){this.lexer=t,this.options=e};To.Program="Program",To.ExpressionStatement="ExpressionStatement",To.AssignmentExpression="AssignmentExpression",To.ConditionalExpression="ConditionalExpression",To.LogicalExpression="LogicalExpression",To.BinaryExpression="BinaryExpression",To.UnaryExpression="UnaryExpression",To.CallExpression="CallExpression",To.MemberExpression="MemberExpression",To.Identifier="Identifier",To.Literal="Literal",To.ArrayExpression="ArrayExpression",To.Property="Property",To.ObjectExpression="ObjectExpression",To.ThisExpression="ThisExpression",To.LocalsExpression="LocalsExpression",To.NGValueParameter="NGValueParameter",To.prototype={ast:function(t){this.text=t,this.tokens=this.lexer.lex(t);var e=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program:function(){for(var t=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:To.Program,body:t}},expressionStatement:function(){return{type:To.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var t=this.expression();this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var t=this.ternary();if(this.expect("=")){if(!dn(t))throw ko("lval","Trying to assign a value to a non l-value");t={type:To.AssignmentExpression,left:t,right:this.assignment(),operator:"="}}return t},ternary:function(){var t,e,n=this.logicalOR();return this.expect("?")&&(t=this.expression(),this.consume(":"))?(e=this.expression(),{type:To.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:To.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:To.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:To.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:To.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:To.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:To.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:To.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var t;this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?t=L(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?t={type:To.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?t=this.identifier():this.peek().constant?t=this.constant():this.throwError("not a primary expression",this.peek());for(var e;e=this.expect("(","[",".");)"("===e.text?(t={type:To.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:To.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:To.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){for(var e=[t],n={type:To.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return n},parseArguments:function(){var t=[];if(")"!==this.peekToken().text)do t.push(this.filterChain());while(this.expect(","));return t},identifier:function(){var t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:To.Identifier,name:t.text}},constant:function(){return{type:To.Literal,value:this.consume().value}},arrayDeclaration:function(){var t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:To.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:To.Property,kind:"init"},this.peek().constant?(t.key=this.constant(),t.computed=!1,this.consume(":"),t.value=this.expression()):this.peek().identifier?(t.key=this.identifier(),t.computed=!1,this.peek(":")?(this.consume(":"),t.value=this.expression()):t.value=t.key):this.peek("[")?(this.consume("["),t.key=this.expression(),this.consume("]"),t.computed=!0,this.consume(":"),t.value=this.expression()):this.throwError("invalid key",this.peek()),e.push(t)}while(this.expect(","));return this.consume("}"),{type:To.ObjectExpression,properties:e}},throwError:function(t,e){throw ko("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume:function(t){if(0===this.tokens.length)throw ko("ueoe","Unexpected end of expression: {0}",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},peekToken:function(){if(0===this.tokens.length)throw ko("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(t,e,n,r){ return this.peekAhead(0,t,e,n,r)},peekAhead:function(t,e,n,r,i){if(this.tokens.length>t){var o=this.tokens[t],a=o.text;if(a===e||a===n||a===r||a===i||!e&&!n&&!r&&!i)return o}return!1},expect:function(t,e,n,r){var i=this.peek(t,e,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{"this":{type:To.ThisExpression},$locals:{type:To.LocalsExpression}}},gn.prototype={compile:function(t){var e=this,n=this.astBuilder.ast(t);this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},hn(n,e.$filter);var i,o="";if(this.stage="assign",i=$n(n)){this.state.computing="assign";var a=this.nextId();this.recurse(i,a),this.return_(a),o="fn.assign="+this.generateFunction("assign","s,v,l")}var s=pn(n.body);e.stage="inputs",r(s,function(t,n){var r="fn"+n;e.state[r]={vars:[],body:[],own:{}},e.state.computing=r;var i=e.nextId();e.recurse(t,i),e.return_(i),e.state.inputs.push(r),t.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(n);var u='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+o+this.watchFns()+"return fn;",c=new Function("$filter","getStringValue","ifDefined","plus",u)(this.$filter,un,cn,ln);return this.state=this.stage=void 0,c.literal=vn(n),c.constant=mn(n),c},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return r(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},filterPrefix:function(){var t=[],e=this;return r(this.state.filters,function(n,r){t.push(n+"=$filter("+e.escape(r)+")")}),t.length?"var "+t.join(",")+";":""},varsPrefix:function(t){return this.state[t].vars.length?"var "+this.state[t].vars.join(",")+";":""},body:function(t){return this.state[t].body.join("")},recurse:function(t,e,n,i,o,a){var s,u,c,l,f,h=this;if(i=i||p,!a&&g(t.watchId))return e=e||this.nextId(),void this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,n,i,o,!0));switch(t.type){case To.Program:r(t.body,function(e,n){h.recurse(e.expression,void 0,void 0,function(t){u=t}),n!==t.body.length-1?h.current().body.push(u,";"):h.return_(u)});break;case To.Literal:l=this.escape(t.value),this.assign(e,l),i(e||l);break;case To.UnaryExpression:this.recurse(t.argument,void 0,void 0,function(t){u=t}),l=t.operator+"("+this.ifDefined(u,0)+")",this.assign(e,l),i(l);break;case To.BinaryExpression:this.recurse(t.left,void 0,void 0,function(t){s=t}),this.recurse(t.right,void 0,void 0,function(t){u=t}),l="+"===t.operator?this.plus(s,u):"-"===t.operator?this.ifDefined(s,0)+t.operator+this.ifDefined(u,0):"("+s+")"+t.operator+"("+u+")",this.assign(e,l),i(l);break;case To.LogicalExpression:e=e||this.nextId(),h.recurse(t.left,e),h.if_("&&"===t.operator?e:h.not(e),h.lazyRecurse(t.right,e)),i(e);break;case To.ConditionalExpression:e=e||this.nextId(),h.recurse(t.test,e),h.if_(e,h.lazyRecurse(t.alternate,e),h.lazyRecurse(t.consequent,e)),i(e);break;case To.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===h.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),n.computed=!1,n.name=t.name),h.if_("inputs"===h.stage||h.not(h.getHasOwnProperty("l",t.name)),function(){h.if_("inputs"===h.stage||"s",function(){o&&1!==o&&h.if_(h.isNull(h.nonComputedMember("s",t.name)),h.lazyAssign(h.nonComputedMember("s",t.name),"{}")),h.assign(e,h.nonComputedMember("s",t.name))})},e&&h.lazyAssign(e,h.nonComputedMember("l",t.name))),i(e);break;case To.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),h.recurse(t.object,s,void 0,function(){h.if_(h.notNull(s),function(){t.computed?(u=h.nextId(),h.recurse(t.property,u),h.getStringValue(u),o&&1!==o&&h.if_(h.not(h.computedMember(s,u)),h.lazyAssign(h.computedMember(s,u),"{}")),l=h.computedMember(s,u),h.assign(e,l),n&&(n.computed=!0,n.name=u)):(o&&1!==o&&h.if_(h.isNull(h.nonComputedMember(s,t.property.name)),h.lazyAssign(h.nonComputedMember(s,t.property.name),"{}")),l=h.nonComputedMember(s,t.property.name),h.assign(e,l),n&&(n.computed=!1,n.name=t.property.name))},function(){h.assign(e,"undefined")}),i(e)},!!o);break;case To.CallExpression:e=e||this.nextId(),t.filter?(u=h.filter(t.callee.name),c=[],r(t.arguments,function(t){var e=h.nextId();h.recurse(t,e),c.push(e)}),l=u+"("+c.join(",")+")",h.assign(e,l),i(e)):(u=h.nextId(),s={},c=[],h.recurse(t.callee,u,s,function(){h.if_(h.notNull(u),function(){r(t.arguments,function(e){h.recurse(e,t.constant?void 0:h.nextId(),void 0,function(t){c.push(t)})}),l=s.name?h.member(s.context,s.name,s.computed)+"("+c.join(",")+")":u+"("+c.join(",")+")",h.assign(e,l)},function(){h.assign(e,"undefined")}),i(e)}));break;case To.AssignmentExpression:u=this.nextId(),s={},this.recurse(t.left,void 0,s,function(){h.if_(h.notNull(s.context),function(){h.recurse(t.right,u),l=h.member(s.context,s.name,s.computed)+t.operator+u,h.assign(e,l),i(e||l)})},1);break;case To.ArrayExpression:c=[],r(t.elements,function(e){h.recurse(e,t.constant?void 0:h.nextId(),void 0,function(t){c.push(t)})}),l="["+c.join(",")+"]",this.assign(e,l),i(e||l);break;case To.ObjectExpression:c=[],f=!1,r(t.properties,function(t){t.computed&&(f=!0)}),f?(e=e||this.nextId(),this.assign(e,"{}"),r(t.properties,function(t){t.computed?(s=h.nextId(),h.recurse(t.key,s)):s=t.key.type===To.Identifier?t.key.name:""+t.key.value,u=h.nextId(),h.recurse(t.value,u),h.assign(h.member(e,s,t.computed),u)})):(r(t.properties,function(e){h.recurse(e.value,t.constant?void 0:h.nextId(),void 0,function(t){c.push(h.escape(e.key.type===To.Identifier?e.key.name:""+e.key.value)+":"+t)})}),l="{"+c.join(",")+"}",this.assign(e,l)),i(e||l);break;case To.ThisExpression:this.assign(e,"s"),i(e||"s");break;case To.LocalsExpression:this.assign(e,"l"),i(e||"l");break;case To.NGValueParameter:this.assign(e,"v"),i(e||"v")}},getHasOwnProperty:function(t,e){var n=t+"."+e,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,t+"&&("+this.escape(e)+" in "+t+")")),r[n]},assign:function(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter:function(t){return this.state.filters.hasOwnProperty(t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined:function(t,e){return"ifDefined("+t+","+this.escape(e)+")"},plus:function(t,e){return"plus("+t+","+e+")"},return_:function(t){this.current().body.push("return ",t,";")},if_:function(t,e,n){if(t===!0)e();else{var r=this.current().body;r.push("if(",t,"){"),e(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(t){return"!("+t+")"},isNull:function(t){return t+"==null"},notNull:function(t){return t+"!=null"},nonComputedMember:function(t,e){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/,r=/[^$_a-zA-Z0-9]/g;return n.test(e)?t+"."+e:t+'["'+e.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(t,e){return t+"["+e+"]"},member:function(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},getStringValue:function(t){this.assign(t,"getStringValue("+t+")")},lazyRecurse:function(t,e,n,r,i,o){var a=this;return function(){a.recurse(t,e,n,r,i,o)}},lazyAssign:function(t,e){var n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)},escape:function(t){if(w(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(t))return t.toString();if(t===!0)return"true";if(t===!1)return"false";if(null===t)return"null";if("undefined"==typeof t)return"undefined";throw ko("esc","IMPOSSIBLE")},nextId:function(t,e){var n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?"="+e:"")),n},current:function(){return this.state[this.state.computing]}},yn.prototype={compile:function(t){var e=this,n=this.astBuilder.ast(t);hn(n,e.$filter);var i,o;(i=$n(n))&&(o=this.recurse(i));var a,s=pn(n.body);s&&(a=[],r(s,function(t,n){var r=e.recurse(t);t.input=r,a.push(r),t.watchId=n}));var u=[];r(n.body,function(t){u.push(e.recurse(t.expression))});var c=0===n.body.length?p:1===n.body.length?u[0]:function(t,e){var n;return r(u,function(r){n=r(t,e)}),n};return o&&(c.assign=function(t,e,n){return o(t,n,e)}),a&&(c.inputs=a),c.literal=vn(n),c.constant=mn(n),c},recurse:function(t,e,n){var i,o,a,s=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case To.Literal:return this.value(t.value,e);case To.UnaryExpression:return o=this.recurse(t.argument),this["unary"+t.operator](o,e);case To.BinaryExpression:return i=this.recurse(t.left),o=this.recurse(t.right),this["binary"+t.operator](i,o,e);case To.LogicalExpression:return i=this.recurse(t.left),o=this.recurse(t.right),this["binary"+t.operator](i,o,e);case To.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case To.Identifier:return s.identifier(t.name,e,n);case To.MemberExpression:return i=this.recurse(t.object,!1,!!n),t.computed||(o=t.property.name),t.computed&&(o=this.recurse(t.property)),t.computed?this.computedMember(i,o,e,n):this.nonComputedMember(i,o,e,n);case To.CallExpression:return a=[],r(t.arguments,function(t){a.push(s.recurse(t))}),t.filter&&(o=this.$filter(t.callee.name)),t.filter||(o=this.recurse(t.callee,!0)),t.filter?function(t,n,r,i){for(var s=[],u=0;u<a.length;++u)s.push(a[u](t,n,r,i));var c=o.apply(void 0,s,i);return e?{context:void 0,name:void 0,value:c}:c}:function(t,n,r,i){var s,u=o(t,n,r,i);if(null!=u.value){for(var c=[],l=0;l<a.length;++l)c.push(a[l](t,n,r,i));s=u.value.apply(u.context,c)}return e?{value:s}:s};case To.AssignmentExpression:return i=this.recurse(t.left,!0,1),o=this.recurse(t.right),function(t,n,r,a){var s=i(t,n,r,a),u=o(t,n,r,a);return s.context[s.name]=u,e?{value:u}:u};case To.ArrayExpression:return a=[],r(t.elements,function(t){a.push(s.recurse(t))}),function(t,n,r,i){for(var o=[],s=0;s<a.length;++s)o.push(a[s](t,n,r,i));return e?{value:o}:o};case To.ObjectExpression:return a=[],r(t.properties,function(t){t.computed?a.push({key:s.recurse(t.key),computed:!0,value:s.recurse(t.value)}):a.push({key:t.key.type===To.Identifier?t.key.name:""+t.key.value,computed:!1,value:s.recurse(t.value)})}),function(t,n,r,i){for(var o={},s=0;s<a.length;++s)a[s].computed?o[a[s].key(t,n,r,i)]=a[s].value(t,n,r,i):o[a[s].key]=a[s].value(t,n,r,i);return e?{value:o}:o};case To.ThisExpression:return function(t){return e?{value:t}:t};case To.LocalsExpression:return function(t,n){return e?{value:n}:n};case To.NGValueParameter:return function(t,n,r){return e?{value:r}:r}}},"unary+":function(t,e){return function(n,r,i,o){var a=t(n,r,i,o);return a=g(a)?+a:0,e?{value:a}:a}},"unary-":function(t,e){return function(n,r,i,o){var a=t(n,r,i,o);return a=g(a)?-a:-0,e?{value:a}:a}},"unary!":function(t,e){return function(n,r,i,o){var a=!t(n,r,i,o);return e?{value:a}:a}},"binary+":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a),u=e(r,i,o,a),c=ln(s,u);return n?{value:c}:c}},"binary-":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a),u=e(r,i,o,a),c=(g(s)?s:0)-(g(u)?u:0);return n?{value:c}:c}},"binary*":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)*e(r,i,o,a);return n?{value:s}:s}},"binary/":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)/e(r,i,o,a);return n?{value:s}:s}},"binary%":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)%e(r,i,o,a);return n?{value:s}:s}},"binary===":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)===e(r,i,o,a);return n?{value:s}:s}},"binary!==":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)!==e(r,i,o,a);return n?{value:s}:s}},"binary==":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)==e(r,i,o,a);return n?{value:s}:s}},"binary!=":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)!=e(r,i,o,a);return n?{value:s}:s}},"binary<":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)<e(r,i,o,a);return n?{value:s}:s}},"binary>":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)>e(r,i,o,a);return n?{value:s}:s}},"binary<=":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)<=e(r,i,o,a);return n?{value:s}:s}},"binary>=":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)>=e(r,i,o,a);return n?{value:s}:s}},"binary&&":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)&&e(r,i,o,a);return n?{value:s}:s}},"binary||":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)||e(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(t,e,n,r){return function(i,o,a,s){var u=t(i,o,a,s)?e(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(t,e){return function(){return e?{context:void 0,name:void 0,value:t}:t}},identifier:function(t,e,n){return function(r,i,o,a){var s=i&&t in i?i:r;n&&1!==n&&s&&null==s[t]&&(s[t]={});var u=s?s[t]:void 0;return e?{context:s,name:t,value:u}:u}},computedMember:function(t,e,n,r){return function(i,o,a,s){var u,c,l=t(i,o,a,s);return null!=l&&(u=e(i,o,a,s),u=un(u),r&&1!==r&&l&&!l[u]&&(l[u]={}),c=l[u]),n?{context:l,name:u,value:c}:c}},nonComputedMember:function(t,e,n,r){return function(i,o,a,s){var u=t(i,o,a,s);r&&1!==r&&u&&null==u[e]&&(u[e]={});var c=null!=u?u[e]:void 0;return n?{context:u,name:e,value:c}:c}},inputs:function(t,e){return function(n,r,i,o){return o?o[e]:t(n,r,i)}}};var No=function(t,e,n){this.lexer=t,this.$filter=e,this.options=n,this.ast=new To(t,n),this.astCompiler=n.csp?new yn(this.ast,e):new gn(this.ast,e)};No.prototype={constructor:No,parse:function(t){return this.astCompiler.compile(t)}};var Io=e("$sce"),Ro={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},jo=/_([a-z])/g,Do=e("$compile"),Uo=t.document.createElement("a"),_o=Un(t.location.href);Ln.$inject=["$document"],qn.$inject=["$provide"];var Po=22,Lo=".",Bo="0";Gn.$inject=["$locale"],Jn.$inject=["$locale"];var qo={yyyy:Qn("FullYear",4,0,!1,!0),yy:Qn("FullYear",2,0,!0,!0),y:Qn("FullYear",1,0,!1,!0),MMMM:tr("Month"),MMM:tr("Month",!0),MM:Qn("Month",2,1),M:Qn("Month",1,1),LLLL:tr("Month",!1,!0),dd:Qn("Date",2),d:Qn("Date",1),HH:Qn("Hours",2),H:Qn("Hours",1),hh:Qn("Hours",2,-12),h:Qn("Hours",1,-12),mm:Qn("Minutes",2),m:Qn("Minutes",1),ss:Qn("Seconds",2),s:Qn("Seconds",1),sss:Qn("Milliseconds",3),EEEE:tr("Day"),EEE:tr("Day",!0),a:or,Z:er,ww:ir(2),w:ir(1),G:ar,GG:ar,GGG:ar,GGGG:sr},Fo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Ho=/^-?\d+$/;ur.$inject=["$locale"];var zo=$(Wr),Wo=$(Gr);hr.$inject=["$parse"];var Go=$({restrict:"E",compile:function(t,e){if(!e.href&&!e.xlinkHref)return function(t,e){if("a"===e[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===ri.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}}),Jo={};r(Li,function(t,e){function n(t,n,i){t.$watch(i[r],function(t){i.$set(e,!!t)})}if("multiple"!==t){var r=xe("ng-"+e),i=n;"checked"===t&&(i=function(t,e,i){i.ngModel!==i[r]&&n(t,e,i)}),Jo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(qi,function(t,e){Jo[e]=function(){return{priority:100,link:function(t,n,r){if("ngPattern"===e&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(Fr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}t.$watch(r[e],function(t){r.$set(e,t)})}}}}),r(["src","srcset","href"],function(t){var e=xe("ng-"+t);Jo[e]=function(){return{priority:99,link:function(n,r,i){var o=t,a=t;"href"===t&&"[object SVGAnimatedString]"===ri.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(e,function(e){return e?(i.$set(a,e),void(Yr&&o&&r.prop(o,i[a]))):void("href"===t&&i.$set(a,null))})}}}});var Zo={$addControl:p,$$renameControl:dr,$removeControl:p,$setValidity:p,$setDirty:p,$setPristine:p,$setSubmitted:p},Yo="ng-pending",Ko="ng-submitted";$r.$inject=["$element","$attrs","$scope","$animate","$interpolate"],$r.prototype={$rollbackViewValue:function(){r(this.$$controls,function(t){t.$rollbackViewValue()})},$commitViewValue:function(){r(this.$$controls,function(t){t.$commitViewValue()})},$addControl:function(t){pt(t.$name,"input"),this.$$controls.push(t),t.$name&&(this[t.$name]=t),t.$$parentForm=this},$$renameControl:function(t,e){var n=t.$name;this[n]===t&&delete this[n],this[e]=t,t.$name=e},$removeControl:function(t){t.$name&&this[t.$name]===t&&delete this[t.$name],r(this.$pending,function(e,n){this.$setValidity(n,null,t)},this),r(this.$error,function(e,n){this.$setValidity(n,null,t)},this),r(this.$$success,function(e,n){this.$setValidity(n,null,t)},this),P(this.$$controls,t),t.$$parentForm=Zo},$setDirty:function(){this.$$animate.removeClass(this.$$element,Ra),this.$$animate.addClass(this.$$element,ja),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Ra,ja+" "+Ko),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,r(this.$$controls,function(t){t.$setPristine()})},$setUntouched:function(){r(this.$$controls,function(t){t.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,Ko),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},mr({clazz:$r,set:function(t,e,n){var r=t[e];if(r){var i=r.indexOf(n);i===-1&&r.push(n)}else t[e]=[n]},unset:function(t,e,n){var r=t[e];r&&(P(r,n),0===r.length&&delete t[e])}});var Xo=function(t){return["$timeout","$parse",function(e,n){function r(t){return""===t?n('this[""]').assign:n(t).assign||p}var i={name:"form",restrict:t?"EAC":"E",require:["form","^^?form"],controller:$r,compile:function(n,i){n.addClass(Ra).addClass(Na);var o=i.name?"name":!(!t||!i.ngForm)&&"ngForm";return{pre:function(t,n,i,a){var s=a[0];if(!("action"in i)){var u=function(e){t.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),e.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",function(){e(function(){n[0].removeEventListener("submit",u)},0,!1)})}var l=a[1]||s.$$parentForm;l.$addControl(s);var f=o?r(s.$name):p;o&&(f(t,s),i.$observe(o,function(e){s.$name!==e&&(f(t,void 0),s.$$parentForm.$$renameControl(s,e),(f=r(s.$name))(t,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(t,void 0),c(s,Zo)})}}}};return i}]},Qo=Xo(),ta=Xo(!0),ea=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,na=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,ra=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ia=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,oa=/^(\d{4,})-(\d{2})-(\d{2})$/,aa=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,sa=/^(\d{4,})-W(\d\d)$/,ua=/^(\d{4,})-(\d\d)$/,ca=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,la="keydown wheel mousedown",fa=vt();r("date,datetime-local,month,time,week".split(","),function(t){fa[t]=!0});var ha={text:br,date:Sr("date",oa,Cr(oa,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Sr("datetimelocal",aa,Cr(aa,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Sr("time",ca,Cr(ca,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Sr("week",sa,xr,"yyyy-Www"),month:Sr("month",ua,Cr(ua,["yyyy","MM"]),"yyyy-MM"),number:Tr,url:Ir,email:Rr,radio:jr,range:Nr,checkbox:Ur,hidden:p,button:p,submit:p,reset:p,file:p},pa=["$browser","$sniffer","$filter","$parse",function(t,e,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(ha[Wr(a.type)]||ha.text)(i,o,a,s[0],e,t,n,r)}}}}],da=/^(true|false|\d+)$/,$a=function(){function t(t,e,n){t.prop("value",n),e.$set("value",n)}return{restrict:"A",priority:100,compile:function(e,n){return da.test(n.ngValue)?function(e,n,r){var i=e.$eval(r.ngValue);t(n,r,i)}:function(e,n,r){e.$watch(r.ngValue,function(e){t(n,r,e)})}}}},va=["$compile",function(t){return{restrict:"AC",compile:function(e){return t.$$addBindingClass(e),function(e,n,r){t.$$addBindingInfo(n,r.ngBind),n=n[0],e.$watch(r.ngBind,function(t){n.textContent=mt(t)})}}}}],ma=["$interpolate","$compile",function(t,e){return{compile:function(n){return e.$$addBindingClass(n),function(n,r,i){var o=t(r.attr(i.$attr.ngBindTemplate));e.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(t){r.textContent=m(t)?"":t})}}}}],ga=["$sce","$parse","$compile",function(t,e,n){return{restrict:"A",compile:function(r,i){var o=e(i.ngBindHtml),a=e(i.ngBindHtml,function(e){return t.valueOf(e)});return n.$$addBindingClass(r),function(e,r,i){n.$$addBindingInfo(r,i.ngBindHtml),e.$watch(a,function(){var n=o(e);r.html(t.getTrustedHtml(n)||"")})}}}}],ya=$({restrict:"A",require:"ngModel",link:function(t,e,n,r){r.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),ba=_r("",!0),wa=_r("Odd",0),xa=_r("Even",1),Ca=pr({compile:function(t,e){e.$set("ngCloak",void 0),t.removeClass("ng-cloak")}}),Sa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ea={},ka={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(t){var e=xe("ng-"+t);Ea[e]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[e],null,!0);return function(e,n){n.on(t,function(n){var i=function(){a(e,{$event:n})};ka[t]&&r.$$phase?e.$evalAsync(i):e.$apply(i)})}}}}]});var Aa=["$animate","$compile",function(t,e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,c;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=e.$$createComment("end ngIf",i.ngIf),s={clone:n},t.enter(n,r.parent(),r)}):(c&&(c.remove(),c=null),u&&(u.$destroy(),u=null),s&&(c=$t(s.clone),t.leave(c).done(function(t){t!==!1&&(c=null)}),s=null))})}}}],Oa=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ai.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,c,l){var f,h,p,d=0,$=function(){h&&(h.remove(),h=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).done(function(t){t!==!1&&(h=null)}),h=p,p=null)};r.$watch(o,function(o){var u=function(t){t===!1||!g(s)||s&&!r.$eval(s)||e()},h=++d;o?(t(o,!0).then(function(t){if(!r.$$destroyed&&h===d){var e=r.$new();c.template=t;var s=l(e,function(t){$(),n.enter(t,null,i).done(u)});f=e,p=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||h===d&&($(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):($(),c.template=null)})}}}}],Ma=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return ri.call(r[0]).match(/SVG/)?(r.empty(),void e(Tt(o.template,t.document).childNodes)(n,function(t){r.append(t)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],Va=pr({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),Ta=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,n,i){var o=n.ngList||", ",a="false"!==n.ngTrim,s=a?fi(o):o,u=function(t){if(!m(t)){var e=[];return t&&r(t.split(s),function(t){t&&e.push(a?fi(t):t)}),e}};i.$parsers.push(u),i.$formatters.push(function(t){if(ci(t))return t.join(o)}),i.$isEmpty=function(t){return!t||!t.length}}}},Na="ng-valid",Ia="ng-invalid",Ra="ng-pristine",ja="ng-dirty",Da="ng-untouched",Ua="ng-touched",_a="ng-empty",Pa="ng-not-empty",La=e("ngModel");Pr.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Pr.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var t=this.$$parse(this.$$attr.ngModel+"()"),e=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(e){var n=this.$$parsedNgModel(e);return S(n)&&(n=t(e)),n},this.$$ngModelSet=function(t,n){S(this.$$parsedNgModel(t))?e(t,{$$$p:n}):this.$$parsedNgModelAssign(t,n)}}else if(!this.$$parsedNgModel.assign)throw La("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,K(this.$$element))},$render:p,$isEmpty:function(t){return m(t)||""===t||null===t||t!==t},$$updateEmptyClasses:function(t){this.$isEmpty(t)?(this.$$animate.removeClass(this.$$element,Pa),this.$$animate.addClass(this.$$element,_a)):(this.$$animate.removeClass(this.$$element,_a),this.$$animate.addClass(this.$$element,Pa))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,ja),this.$$animate.addClass(this.$$element,Ra)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Ra),this.$$animate.addClass(this.$$element,ja),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,Da,Ua)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,Ua,Da)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!ui(this.$modelValue)){var t=this.$$lastCommittedViewValue,e=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(e,t,function(t){i||n===t||(o.$modelValue=t?e:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(t,e,n){function i(){var t=l.$$parserName||"parse";return m(l.$$parserValid)?(s(t,null),!0):(l.$$parserValid||(r(l.$validators,function(t,e){s(e,null)}),r(l.$asyncValidators,function(t,e){s(e,null)})),s(t,l.$$parserValid),l.$$parserValid)}function o(){var n=!0;return r(l.$validators,function(r,i){var o=Boolean(r(t,e));n=n&&o,s(i,o)}),!!n||(r(l.$asyncValidators,function(t,e){s(e,null)}),!1)}function a(){var n=[],i=!0;r(l.$asyncValidators,function(r,o){var a=r(t,e);if(!N(a))throw La("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.$$q.all(n).then(function(){u(i)},p):u(!0)}function s(t,e){c===l.$$currentValidationRunId&&l.$setValidity(t,e)}function u(t){c===l.$$currentValidationRunId&&n(t)}this.$$currentValidationRunId++;var c=this.$$currentValidationRunId,l=this;return i()&&o()?void a():void u(!1)},$commitViewValue:function(){var t=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==t||""===t&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(t),this.$$lastCommittedViewValue=t,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function t(){r.$modelValue!==o&&r.$$writeModelToScope()}var e=this.$$lastCommittedViewValue,n=e,r=this;if(this.$$parserValid=!m(n)||void 0,this.$$parserValid)for(var i=0;i<this.$parsers.length;i++)if(n=this.$parsers[i](n),m(n)){this.$$parserValid=!1;break}ui(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var o=this.$modelValue,a=this.$options.getOption("allowInvalid");this.$$rawModelValue=n,a&&(this.$modelValue=n,t()),this.$$runValidators(n,this.$$lastCommittedViewValue,function(e){a||(r.$modelValue=e?n:void 0,t())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),r(this.$viewChangeListeners,function(t){try{t()}catch(e){this.$$exceptionHandler(e)}},this)},$setViewValue:function(t,e){this.$viewValue=t,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(e)},$$debounceViewValueCommit:function(t){var e=this.$options.getOption("debounce");x(e[t])?e=e[t]:x(e["default"])&&(e=e["default"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;e>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},e):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})}},mr({clazz:Pr,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]}});var Ba,qa=["$rootScope",function(t){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Pr,priority:1,compile:function(e){return e.addClass(Ra).addClass(Da).addClass(Na),{pre:function(t,e,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(t){i.$name!==t&&i.$$parentForm.$$renameControl(i,t)}),t.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(e,n,r,i){function o(){a.$setTouched()}var a=i[0];a.$options.getOption("updateOn")&&n.on(a.$options.getOption("updateOn"),function(t){a.$$debounceViewValueCommit(t&&t.type)}),n.on("blur",function(){a.$touched||(t.$$phase?e.$evalAsync(o):e.$apply(o))})}}}}}],Fa=/(\s+|^)default(\s+|$)/;Br.prototype={getOption:function(t){return this.$$options[t]},createChild:function(t){var e=!1;return t=c({},t),r(t,function(n,r){"$inherit"===n?"*"===r?e=!0:(t[r]=this.$$options[r],"updateOn"===r&&(t.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(t.updateOnDefault=!1,t[r]=fi(n.replace(Fa,function(){return t.updateOnDefault=!0," "})))},this),e&&(delete t["*"],qr(t,this.$$options)),qr(t,Ba.$$options),new Br(t)}},Ba=new Br({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Ha=function(){function t(t,e){this.$$attrs=t,this.$$scope=e}return t.$inject=["$attrs","$scope"],t.prototype={$onInit:function(){var t=this.parentCtrl?this.parentCtrl.$options:Ba,e=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(e)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:t}},za=pr({terminal:!0,priority:1e3}),Wa=e("ngOptions"),Ga=/^\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]+?))?$/,Ja=["$compile","$document","$parse",function(e,i,o){function a(t,e,r){function i(t,e,n,r,i){this.selectValue=t,this.viewValue=e,this.label=n,this.group=r,this.disabled=i}function a(t){var e;if(!c&&n(t))e=t;else{e=[];for(var r in t)t.hasOwnProperty(r)&&"$"!==r.charAt(0)&&e.push(r)}return e}var s=t.match(Ga);if(!s)throw Wa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",t,K(e));var u=s[5]||s[7],c=s[6],l=/ as /.test(s[0])&&s[1],f=s[9],h=o(s[2]?s[1]:u),p=l&&o(l),d=p||h,$=f&&o(f),v=f?function(t,e){return $(r,e)}:function(t){return re(t)},m=function(t,e){return v(t,C(t,e))},g=o(s[2]||s[1]),y=o(s[3]||""),b=o(s[4]||""),w=o(s[8]),x={},C=c?function(t,e){return x[c]=e,x[u]=t,x}:function(t){return x[u]=t,x};return{trackBy:f,getTrackByValue:m,getWatchables:o(w,function(t){var e=[];t=t||[];for(var n=a(t),i=n.length,o=0;o<i;o++){var u=t===n?o:n[o],c=t[u],l=C(c,u),f=v(c,l);if(e.push(f),s[2]||s[1]){var h=g(r,l);e.push(h)}if(s[4]){var p=b(r,l);e.push(p)}}return e}),getOptions:function(){for(var t=[],e={},n=w(r)||[],o=a(n),s=o.length,u=0;u<s;u++){var c=n===o?u:o[u],l=n[c],h=C(l,c),p=d(r,h),$=v(p,h),x=g(r,h),S=y(r,h),E=b(r,h),k=new i($,p,x,S,E);t.push(k),e[$]=k}return{items:t,selectValueMap:e,getOptionFromViewValue:function(t){return e[m(t)]},getViewValueFromOption:function(t){return f?L(t.viewValue):t.viewValue}}}}}function s(t,n,o,s){function l(t,e){var n=u.cloneNode(!1);e.appendChild(n),h(t,n)}function f(t){var e=C.getOptionFromViewValue(t),n=e&&e.element;return n&&!n.selected&&(n.selected=!0),e}function h(t,e){t.element=e,e.disabled=t.disabled,t.label!==e.label&&(e.label=t.label,e.textContent=t.label),e.value=t.selectValue}function p(){var t=C&&d.readValue();if(C)for(var e=C.items.length-1;e>=0;e--){var r=C.items[e];Jt(g(r.group)?r.element.parentNode:r.element)}C=S.getOptions();var i={};if(w&&n.prepend(d.emptyOption),C.items.forEach(function(t){var e;g(t.group)?(e=i[t.group],e||(e=c.cloneNode(!1),E.appendChild(e), e.label=null===t.group?"null":t.group,i[t.group]=e),l(t,e)):l(t,E)}),n[0].appendChild(E),$.$render(),!$.$isEmpty(t)){var o=d.readValue(),a=S.trackBy||v;(a?B(t,o):t===o)||($.$setViewValue(o),$.$render())}}for(var d=s[0],$=s[1],v=o.multiple,m=0,y=n.children(),b=y.length;m<b;m++)if(""===y[m].value){d.hasEmptyOption=!0,d.emptyOption=y.eq(m);break}var w=!!d.emptyOption,x=Kr(u.cloneNode(!1));x.val("?");var C,S=a(o.ngOptions,n,t),E=i[0].createDocumentFragment();d.generateUnknownOptionValue=function(t){return"?"},v?(d.writeValue=function(t){var e=t&&t.map(f)||[];C.items.forEach(function(t){t.element.selected&&!_(e,t)&&(t.element.selected=!1)})},d.readValue=function(){var t=n.val()||[],e=[];return r(t,function(t){var n=C.selectValueMap[t];n&&!n.disabled&&e.push(C.getViewValueFromOption(n))}),e},S.trackBy&&t.$watchCollection(function(){if(ci($.$viewValue))return $.$viewValue.map(function(t){return S.getTrackByValue(t)})},function(){$.$render()})):(d.writeValue=function(t){var e=C.selectValueMap[n.val()],r=C.getOptionFromViewValue(t);e&&e.element.removeAttribute("selected"),r?(n[0].value!==r.selectValue&&(d.removeUnknownOption(),d.unselectEmptyOption(),n[0].value=r.selectValue,r.element.selected=!0),r.element.setAttribute("selected","selected")):w?d.selectEmptyOption():d.unknownOption.parent().length?d.updateUnknownOption(t):d.renderUnknownOption(t)},d.readValue=function(){var t=C.selectValueMap[n.val()];return t&&!t.disabled?(d.unselectEmptyOption(),d.removeUnknownOption(),C.getViewValueFromOption(t)):null},S.trackBy&&t.$watch(function(){return S.getTrackByValue($.$viewValue)},function(){$.$render()})),w&&(d.emptyOption.remove(),e(d.emptyOption)(t),d.emptyOption[0].nodeType===Ci?(d.hasEmptyOption=!1,d.registerOption=function(t,e){""===e.val()&&(d.hasEmptyOption=!0,d.emptyOption=e,d.emptyOption.removeClass("ng-scope"),$.$render(),e.on("$destroy",function(){d.hasEmptyOption=!1,d.emptyOption=void 0}))}):d.emptyOption.removeClass("ng-scope")),n.empty(),p(),t.$watchCollection(S.getWatchables,p)}var u=t.document.createElement("option"),c=t.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(t,e,n,r){r[0].registerOption=p},post:s}}}],Za=["$locale","$interpolate","$log",function(t,e,n){var i=/{}/g,o=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function c(t){s.text(t||"")}var l,f=u.count,h=u.$attr.when&&s.attr(u.$attr.when),d=u.offset||0,$=a.$eval(h)||{},v={},g=e.startSymbol(),y=e.endSymbol(),b=g+f+"-"+d+y,w=ai.noop;r(u,function(t,e){var n=o.exec(e);if(n){var r=(n[1]?"-":"")+Wr(n[2]);$[r]=s.attr(u.$attr[e])}}),r($,function(t,n){v[n]=e(t.replace(i,b))}),a.$watch(f,function(e){var r=parseFloat(e),i=ui(r);if(i||r in $||(r=t.pluralCat(r-d)),!(r===l||i&&ui(l))){w();var o=v[r];m(o)?(null!=e&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+h),w=p,c()):w=a.$watch(o,c),l=r}})}}}],Ya=["$parse","$animate","$compile",function(t,i,o){var a="$$NG_REMOVED",s=e("ngRepeat"),u=function(t,e,n,r,i,o,a){t[n]=r,i&&(t[i]=o),t.$index=e,t.$first=0===e,t.$last=e===a-1,t.$middle=!(t.$first||t.$last),t.$odd=!(t.$even=0===(1&e))},c=function(t){return t.clone[0]},l=function(t){return t.clone[t.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(e,f){var h=f.ngRepeat,p=o.$$createComment("end ngRepeat",h),d=h.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!d)throw s("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",h);var $=d[1],v=d[2],m=d[3],g=d[4];if(d=$.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/),!d)throw s("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",$);var y=d[3]||d[1],b=d[2];if(m&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(m)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(m)))throw s("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",m);var w,x,C,S,E={$id:re};return g?w=t(g):(C=function(t,e){return re(e)},S=function(t){return t}),function(t,e,o,f,d){w&&(x=function(e,n,r){return b&&(E[b]=e),E[y]=n,E.$index=r,w(t,E)});var $=vt();t.$watchCollection(v,function(o){var f,v,g,w,E,k,A,O,M,V,T,N,I=e[0],R=vt();if(m&&(t[m]=o),n(o))M=o,O=x||C;else{O=x||S,M=[];for(var j in o)zr.call(o,j)&&"$"!==j.charAt(0)&&M.push(j)}for(w=M.length,T=new Array(w),f=0;f<w;f++)if(E=o===M?f:M[f],k=o[E],A=O(E,k,f),$[A])V=$[A],delete $[A],R[A]=V,T[f]=V;else{if(R[A])throw r(T,function(t){t&&t.scope&&($[t.id]=t)}),s("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",h,A,k);T[f]={id:A,scope:void 0,clone:void 0},R[A]=!0}for(var D in $){if(V=$[D],N=$t(V.clone),i.leave(N),N[0].parentNode)for(f=0,v=N.length;f<v;f++)N[f][a]=!0;V.scope.$destroy()}for(f=0;f<w;f++)if(E=o===M?f:M[f],k=o[E],V=T[f],V.scope){g=I;do g=g.nextSibling;while(g&&g[a]);c(V)!==g&&i.move($t(V.clone),null,I),I=l(V),u(V.scope,f,y,k,b,E,w)}else d(function(t,e){V.scope=e;var n=p.cloneNode(!1);t[t.length++]=n,i.enter(t,null,I),I=n,V.clone=t,R[V.id]=V,u(V.scope,f,y,k,b,E,w)});$=R})}}}}],Ka="ng-hide",Xa="ng-hide-animate",Qa=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,r){e.$watch(r.ngShow,function(e){t[e?"removeClass":"addClass"](n,Ka,{tempClasses:Xa})})}}}],ts=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,r){e.$watch(r.ngHide,function(e){t[e?"addClass":"removeClass"](n,Ka,{tempClasses:Xa})})}}}],es=pr(function(t,e,n){t.$watch(n.ngStyle,function(t,n){n&&t!==n&&r(n,function(t,n){e.css(n,"")}),t&&e.css(t)},!0)}),ns=["$animate","$compile",function(t,e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,o,a){var s=o.ngSwitch||o.on,u=[],c=[],l=[],f=[],h=function(t,e){return function(n){n!==!1&&t.splice(e,1)}};n.$watch(s,function(n){for(var i,o;l.length;)t.cancel(l.pop());for(i=0,o=f.length;i<o;++i){var s=$t(c[i].clone);f[i].$destroy();var p=l[i]=t.leave(s);p.done(h(l,i))}c.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&r(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=e.$$createComment("end ngSwitchWhen");var a={clone:r};c.push(a),t.enter(r,o.parent(),o)})})})}}}],rs=pr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,i,o){var a=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(t,e,n){return n[e-1]!==t});r(a,function(t){i.cases["!"+t]=i.cases["!"+t]||[],i.cases["!"+t].push({transclude:o,element:e})})}}),is=pr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:e})}}),os=e("ngTransclude"),as=["$compile",function(t){return{restrict:"EAC",terminal:!0,compile:function(e){var n=t(e.contents());return e.empty(),function(t,e,r,i,o){function a(t,n){t.length&&u(t)?e.append(t):(s(),n.$destroy())}function s(){n(t,function(t){e.append(t)})}function u(t){for(var e=0,n=t.length;e<n;e++){var r=t[e];if(r.nodeType!==xi||r.nodeValue.trim())return!0}}if(!o)throw os("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",K(e));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var c=r.ngTransclude||r.ngTranscludeSlot;o(a,null,c),c&&!o.isSlotFilled(c)&&s()}}}}],ss=["$templateCache",function(t){return{restrict:"E",terminal:!0,compile:function(e,n){if("text/ng-template"===n.type){var r=n.id,i=e[0].text;t.put(r,i)}}}}],us={$setViewValue:p,$render:p},cs=["$element","$scope",function(e,n){function r(){u||(u=!0,n.$$postDigest(function(){u=!1,a.ngModelCtrl.$render()}))}function i(t){c||(c=!0,n.$$postDigest(function(){n.$$destroyed||(c=!1,a.ngModelCtrl.$setViewValue(a.readValue()),t&&a.ngModelCtrl.$render())}))}function o(t){t.prop("selected",!0),t.attr("selected",!0)}var a=this,s=new ie;a.selectValueMap={},a.ngModelCtrl=us,a.multiple=!1,a.unknownOption=Kr(t.document.createElement("option")),a.hasEmptyOption=!1,a.emptyOption=void 0,a.renderUnknownOption=function(t){var n=a.generateUnknownOptionValue(t);a.unknownOption.val(n),e.prepend(a.unknownOption),o(a.unknownOption),e.val(n)},a.updateUnknownOption=function(t){var n=a.generateUnknownOptionValue(t);a.unknownOption.val(n),o(a.unknownOption),e.val(n)},a.generateUnknownOptionValue=function(t){return"? "+re(t)+" ?"},a.removeUnknownOption=function(){a.unknownOption.parent()&&a.unknownOption.remove()},a.selectEmptyOption=function(){a.emptyOption&&(e.val(""),o(a.emptyOption))},a.unselectEmptyOption=function(){a.hasEmptyOption&&a.emptyOption.removeAttr("selected")},n.$on("$destroy",function(){a.renderUnknownOption=p}),a.readValue=function(){var t=e.val(),n=t in a.selectValueMap?a.selectValueMap[t]:t;return a.hasOption(n)?n:null},a.writeValue=function(t){var n=e[0].options[e[0].selectedIndex];if(n&&n.removeAttribute("selected"),a.hasOption(t)){a.removeUnknownOption();var r=re(t);e.val(r in a.selectValueMap?r:t);var i=e[0].options[e[0].selectedIndex];o(Kr(i))}else null==t&&a.emptyOption?(a.removeUnknownOption(),a.selectEmptyOption()):a.unknownOption.parent().length?a.updateUnknownOption(t):a.renderUnknownOption(t)},a.addOption=function(t,e){if(e[0].nodeType!==Ci){pt(t,'"option value"'),""===t&&(a.hasEmptyOption=!0,a.emptyOption=e);var n=s.get(t)||0;s.put(t,n+1),r()}},a.removeOption=function(t){var e=s.get(t);e&&(1===e?(s.remove(t),""===t&&(a.hasEmptyOption=!1,a.emptyOption=void 0)):s.put(t,e-1))},a.hasOption=function(t){return!!s.get(t)};var u=!1,c=!1;a.registerOption=function(t,e,n,r,o){if(n.$attr.ngValue){var s,u=NaN;n.$observe("value",function(t){var n,r=e.prop("selected");g(u)&&(a.removeOption(s),delete a.selectValueMap[u],n=!0),u=re(t),s=t,a.selectValueMap[u]=t,a.addOption(t,e),e.attr("value",u),n&&r&&i()})}else r?n.$observe("value",function(t){a.readValue();var n,r=e.prop("selected");g(s)&&(a.removeOption(s),n=!0),s=t,a.addOption(t,e),n&&r&&i()}):o?t.$watch(o,function(t,r){n.$set("value",t);var o=e.prop("selected");r!==t&&a.removeOption(r),a.addOption(t,e),r&&o&&i()}):a.addOption(n.value,e);n.$observe("disabled",function(t){("true"===t||t&&e.prop("selected"))&&(a.multiple?i(!0):(a.ngModelCtrl.$setViewValue(null),a.ngModelCtrl.$render()))}),e.on("$destroy",function(){var t=a.readValue(),e=n.value;a.removeOption(e),a.ngModelCtrl.$render(),(a.multiple&&t&&t.indexOf(e)!==-1||t===e)&&i(!0)})}}],ls=function(){function t(t,e,n,i){var o=i[0],a=i[1];if(!a)return void(o.registerOption=p);if(o.ngModelCtrl=a,e.on("change",function(){o.removeUnknownOption(),t.$apply(function(){a.$setViewValue(o.readValue())})}),n.multiple){o.multiple=!0,o.readValue=function(){var t=[];return r(e.find("option"),function(e){if(e.selected&&!e.disabled){var n=e.value;t.push(n in o.selectValueMap?o.selectValueMap[n]:n)}}),t},o.writeValue=function(t){var n=new ie(t);r(e.find("option"),function(t){t.selected=g(n.get(t.value))||g(n.get(o.selectValueMap[t.value]))})};var s,u=NaN;t.$watch(function(){u!==a.$viewValue||B(s,a.$viewValue)||(s=yt(a.$viewValue),a.$render()),u=a.$viewValue}),a.$isEmpty=function(t){return!t||0===t.length}}}function e(t,e,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:cs,priority:1,link:{pre:t,post:e}}},fs=["$interpolate",function(t){return{restrict:"E",priority:100,compile:function(e,n){var r,i;return g(n.ngValue)||(g(n.value)?r=t(n.value,!0):(i=t(e.text(),!0),i||n.$set("value",e.text()))),function(t,e,n){var o="$selectController",a=e.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(t,e,n,r,i)}}}}],hs=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){r&&(n.required=!0,r.$validators.required=function(t,e){return!n.required||!r.$isEmpty(e)},n.$observe("required",function(){r.$validate()}))}}},ps=function(){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(t){if(w(t)&&t.length>0&&(t=new RegExp("^"+t+"$")),t&&!t.test)throw e("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,t,K(n));o=t||void 0,i.$validate()}),i.$validators.pattern=function(t,e){return i.$isEmpty(e)||m(o)||o.test(e)}}}}},ds=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=-1;n.$observe("maxlength",function(t){var e=f(t);i=ui(e)?-1:e,r.$validate()}),r.$validators.maxlength=function(t,e){return i<0||r.$isEmpty(e)||e.length<=i}}}}},$s=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=0;n.$observe("minlength",function(t){i=f(t)||0,r.$validate()}),r.$validators.minlength=function(t,e){return r.$isEmpty(e)||e.length>=i}}}}};return t.angular.bootstrap?void t.console:(lt(),xt(ai),ai.module("ngLocale",[],["$provide",function(t){function e(t){t+="";var e=t.indexOf(".");return e==-1?0:t.length-e-1}function n(t,n){var r=n;void 0===r&&(r=Math.min(e(t),3));var i=Math.pow(10,r),o=(t*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};t.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(t,e){var i=0|t,o=n(t,e);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Kr(function(){ot(t.document,at)}))}(window),!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(t,e,n){"use strict";t.exports="ngFileSaver",angular.module("ngFileSaver",[]).factory("FileSaver",["Blob","SaveAs","FileSaverUtils",n(4)]).factory("FileSaverUtils",[n(5)]).factory("Blob",["$window",n(6)]).factory("SaveAs",[n(8)])},function(t,e){"use strict";t.exports=function(t,e,n){function r(t,r,i){try{e(t,r,i)}catch(o){n.handleErrors(o.message)}}return{saveAs:function(t,e,i){return n.isBlobInstance(t)||n.handleErrors("Data argument should be a blob instance"),n.isString(e)||n.handleErrors("Filename argument should be a string"),r(t,e,i)}}}},function(t,e){"use strict";t.exports=function(){return{handleErrors:function(t){throw new Error(t)},isString:function(t){return"string"==typeof t||t instanceof String},isUndefined:function(t){return"undefined"==typeof t},isBlobInstance:function(t){return t instanceof Blob}}}},function(t,e,n){"use strict";n(7),t.exports=function(t){return t.Blob}},function(t,e){!function(t){"use strict";if(t.URL=t.URL||t.webkitURL,t.Blob&&t.URL)try{return void new Blob}catch(e){}var n=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||function(t){var e=function(t){return Object.prototype.toString.call(t).match(/^\[object\s(.*)\]$/)[1]},n=function(){this.data=[]},r=function(t,e,n){this.data=t,this.size=t.length,this.type=e,this.encoding=n},i=n.prototype,o=r.prototype,a=t.FileReaderSync,s=function(t){this.code=this[this.name=t]},u="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),c=u.length,l=t.URL||t.webkitURL||t,f=l.createObjectURL,h=l.revokeObjectURL,p=l,d=t.btoa,$=t.atob,v=t.ArrayBuffer,m=t.Uint8Array,g=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(r.fake=o.fake=!0;c--;)s.prototype[u[c]]=c+1;return l.createObjectURL||(p=t.URL=function(t){var e,n=document.createElementNS("http://www.w3.org/1999/xhtml","a");return n.href=t,"origin"in n||("data:"===n.protocol.toLowerCase()?n.origin=null:(e=t.match(g),n.origin=e&&e[1])),n}),p.createObjectURL=function(t){var e,n=t.type;return null===n&&(n="application/octet-stream"),t instanceof r?(e="data:"+n,"base64"===t.encoding?e+";base64,"+t.data:"URI"===t.encoding?e+","+decodeURIComponent(t.data):d?e+";base64,"+d(t.data):e+","+encodeURIComponent(t.data)):f?f.call(l,t):void 0},p.revokeObjectURL=function(t){"data:"!==t.substring(0,5)&&h&&h.call(l,t)},i.append=function(t){var n=this.data;if(m&&(t instanceof v||t instanceof m)){for(var i="",o=new m(t),u=0,c=o.length;u<c;u++)i+=String.fromCharCode(o[u]);n.push(i)}else if("Blob"===e(t)||"File"===e(t)){if(!a)throw new s("NOT_READABLE_ERR");var l=new a;n.push(l.readAsBinaryString(t))}else t instanceof r?"base64"===t.encoding&&$?n.push($(t.data)):"URI"===t.encoding?n.push(decodeURIComponent(t.data)):"raw"===t.encoding&&n.push(t.data):("string"!=typeof t&&(t+=""),n.push(unescape(encodeURIComponent(t))))},i.getBlob=function(t){return arguments.length||(t=null),new r(this.data.join(""),t,"raw")},i.toString=function(){return"[object BlobBuilder]"},o.slice=function(t,e,n){var i=arguments.length;return i<3&&(n=null),new r(this.data.slice(t,i>1?e:this.data.length),n,this.encoding)},o.toString=function(){return"[object Blob]"},o.close=function(){this.size=0,delete this.data},n}(t);t.Blob=function(t,e){var r=e?e.type||"":"",i=new n;if(t)for(var o=0,a=t.length;o<a;o++)Uint8Array&&t[o]instanceof Uint8Array?i.append(t[o].buffer):i.append(t[o]);var s=i.getBlob(r);return!s.slice&&s.webkitSlice&&(s.slice=s.webkitSlice),s};var r=Object.getPrototypeOf||function(t){return t.__proto__};t.Blob.prototype=r(new t.Blob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},function(t,e,n){"use strict";t.exports=function(){return n(9).saveAs||function(){}}},function(t,e,n){var r,i=i||function(t){"use strict";if(!("undefined"==typeof t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var e=t.document,n=function(){return t.URL||t.webkitURL||t},r=e.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in r,o=function(t){var e=new MouseEvent("click");t.dispatchEvent(e)},a=/constructor/i.test(t.HTMLElement)||t.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent),u=function(e){(t.setImmediate||t.setTimeout)(function(){throw e},0)},c="application/octet-stream",l=4e4,f=function(t){var e=function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()};setTimeout(e,l)},h=function(t,e,n){e=[].concat(e);for(var r=e.length;r--;){var i=t["on"+e[r]];if("function"==typeof i)try{i.call(t,n||t)}catch(o){u(o)}}},p=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},d=function(e,u,l){l||(e=p(e));var d,$=this,v=e.type,m=v===c,g=function(){h($,"writestart progress write writeend".split(" "))},y=function(){if((s||m&&a)&&t.FileReader){var r=new FileReader;return r.onloadend=function(){var e=s?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;"),n=t.open(e,"_blank");n||(t.location.href=e),e=void 0,$.readyState=$.DONE,g()},r.readAsDataURL(e),void($.readyState=$.INIT)}if(d||(d=n().createObjectURL(e)),m)t.location.href=d;else{var i=t.open(d,"_blank");i||(t.location.href=d)}$.readyState=$.DONE,g(),f(d)};return $.readyState=$.INIT,i?(d=n().createObjectURL(e),void setTimeout(function(){r.href=d,r.download=u,o(r),g(),f(d),$.readyState=$.DONE})):void y()},$=d.prototype,v=function(t,e,n){return new d(t,e||t.name||"download",n)};return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return e=e||t.name||"download",n||(t=p(t)),navigator.msSaveOrOpenBlob(t,e)}:($.abort=function(){},$.readyState=$.INIT=0,$.WRITING=1,$.DONE=2,$.error=$.onwritestart=$.onprogress=$.onwrite=$.onabort=$.onerror=$.onwriteend=null,v)}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof t&&t.exports?t.exports.saveAs=i:null!==n(10)&&null!==n(11)&&(r=function(){return i}.call(e,n,e,t),!(void 0!==r&&(t.exports=r)))},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,e){(function(e){t.exports=e}).call(e,{})}])});