function _toConsumableArray(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function _defineProperty(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _sliceIterator(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}function _slicedToArray(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return _sliceIterator(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}!function(t){"use strict";function e(t){if(!$(t))return sr;b(t.objectMaxDepth)&&(sr.objectMaxDepth=n(t.objectMaxDepth)?t.objectMaxDepth:NaN)}function n(t){return _(t)&&0<t}function r(t,e){return e=e||Error,function(){var n,r=arguments[0];for(n="["+(t?t+":":"")+r+"] http://errors.angularjs.org/1.6.9/"+(t?t+"/":"")+r,r=1;r<arguments.length;r++){n=n+(1==r?"?":"&")+"p"+(r-1)+"=";var i,o=encodeURIComponent;i=arguments[r],i="function"==typeof i?i.toString().replace(/ \{[\s\S]*$/,""):void 0===i?"undefined":"string"!=typeof i?JSON.stringify(i):i,n+=o(i)}return new e(n)}}function i(t){if(null==t||D(t))return!1;if(wr(t)||k(t)||ir&&t instanceof ir)return!0;var e="length"in Object(t)&&t.length;return _(e)&&(0<=e&&(e-1 in t||t instanceof Array)||"function"==typeof t.item)}function o(t,e,n){var r,a;if(t)if(S(t))for(r in t)"prototype"!==r&&"length"!==r&&"name"!==r&&t.hasOwnProperty(r)&&e.call(n,t[r],r,t);else if(wr(t)||i(t)){var s="object"!=typeof t;for(r=0,a=t.length;r<a;r++)(s||r in t)&&e.call(n,t[r],r,t)}else if(t.forEach&&t.forEach!==o)t.forEach(e,n,t);else if(w(t))for(r in t)e.call(n,t[r],r,t);else if("function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t);else for(r in t)lr.call(t,r)&&e.call(n,t[r],r,t);return t}function a(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 s(t){return function(e,n){t(n,e)}}function u(){return++br}function l(t,e,n){for(var r=t.$$hashKey,i=0,o=e.length;i<o;++i){var a=e[i];if($(a)||S(a))for(var s=Object.keys(a),u=0,c=s.length;u<c;u++){var d=s[u],f=a[d];n&&$(f)?C(f)?t[d]=new Date(f.valueOf()):E(f)?t[d]=new RegExp(f):f.nodeName?t[d]=f.cloneNode(!0):O(f)?t[d]=f.clone():($(t[d])||(t[d]=wr(f)?[]:{}),l(t[d],[f],!0)):t[d]=f}}return r?t.$$hashKey=r:delete t.$$hashKey,t}function c(t){return l(t,fr.call(arguments,1),!1)}function d(t){return l(t,fr.call(arguments,1),!0)}function f(t){return parseInt(t,10)}function h(t,e){return c(Object.create(t),e)}function p(){}function m(t){return t}function g(t){return function(){return t}}function v(t){return S(t.toString)&&t.toString!==mr}function y(t){return void 0===t}function b(t){return void 0!==t}function $(t){return null!==t&&"object"==typeof t}function w(t){return null!==t&&"object"==typeof t&&!gr(t)}function k(t){return"string"==typeof t}function _(t){return"number"==typeof t}function C(t){return"[object Date]"===mr.call(t)}function x(t){switch(mr.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function S(t){return"function"==typeof t}function E(t){return"[object RegExp]"===mr.call(t)}function D(t){return t&&t.window===t}function A(t){return t&&t.$evalAsync&&t.$watch}function M(t){return"boolean"==typeof t}function T(t){return t&&_(t.length)&&kr.test(mr.call(t))}function O(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function P(t){var e={};t=t.split(",");var n;for(n=0;n<t.length;n++)e[t[n]]=!0;return e}function F(t){return cr(t.nodeName||t[0]&&t[0].nodeName)}function R(t,e){var n=t.indexOf(e);return 0<=n&&t.splice(n,1),n}function V(t,e,r){function i(t,e,n){if(0>--n)return"...";var r,i=e.$$hashKey;if(wr(t)){r=0;for(var o=t.length;r<o;r++)e.push(a(t[r],n))}else if(w(t))for(r in t)e[r]=a(t[r],n);else if(t&&"function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&(e[r]=a(t[r],n));else for(r in t)lr.call(t,r)&&(e[r]=a(t[r],n));return i?e.$$hashKey=i:delete e.$$hashKey,e}function a(t,e){if(!$(t))return t;var n=u.indexOf(t);if(-1!==n)return l[n];if(D(t)||A(t))throw vr("cpws");var n=!1,r=s(t);return void 0===r&&(r=wr(t)?[]:Object.create(gr(t)),n=!0),u.push(t),l.push(r),n?i(t,r,e):r}function s(t){switch(mr.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(a(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]":return e=new RegExp(t.source,t.toString().match(/[^\/]*$/)[0]),e.lastIndex=t.lastIndex,e;case"[object Blob]":return new t.constructor([t],{type:t.type})}if(S(t.cloneNode))return t.cloneNode(!0)}var u=[],l=[];if(r=n(r)?r:NaN,e){if(T(e)||"[object ArrayBuffer]"===mr.call(e))throw vr("cpta");if(t===e)throw vr("cpi");return wr(e)?e.length=0:o(e,function(t,n){"$$hashKey"!==n&&delete e[n]}),u.push(t),l.push(e),i(t,e,r)}return a(t,r)}function N(t,e){return t===e||t!==t&&e!==e}function L(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!==t&&e!==e)return!0;var n,r=typeof t;if(r===typeof e&&"object"===r){if(!wr(t)){if(C(t))return!!C(e)&&N(t.getTime(),e.getTime());if(E(t))return!!E(e)&&t.toString()===e.toString();if(A(t)||A(e)||D(t)||D(e)||wr(e)||C(e)||E(e))return!1;r=lt();for(n in t)if("$"!==n.charAt(0)&&!S(t[n])){if(!L(t[n],e[n]))return!1;r[n]=!0}for(n in e)if(!(n in r)&&"$"!==n.charAt(0)&&b(e[n])&&!S(e[n]))return!1;return!0}if(!wr(e))return!1;if((r=t.length)===e.length){for(n=0;n<r;n++)if(!L(t[n],e[n]))return!1;return!0}}return!1}function I(t,e,n){return t.concat(fr.call(e,n))}function j(t,e){var n=2<arguments.length?fr.call(arguments,2):[];return!S(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,I(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function B(e,n){var r=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?r=void 0:D(n)?r="$WINDOW":n&&t.document===n?r="$DOCUMENT":A(n)&&(r="$SCOPE"),r}function H(t,e){if(!y(t))return _(e)||(e=e?2:null),JSON.stringify(t,B,e)}function U(t){return k(t)?JSON.parse(t):t}function Y(t,e){t=t.replace(Er,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return $r(n)?e:n}function z(t,e,n){n=n?-1:1;var r=t.getTimezoneOffset();return e=Y(e,r),n*=e-r,t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function q(t){t=ir(t).clone().empty();var e=ir("<div>").append(t).html();try{return t[0].nodeType===Or?cr(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(t,e){return"<"+cr(e)})}catch(t){return cr(e)}}function W(t){try{return decodeURIComponent(t)}catch(t){}}function G(t){var e={};return o((t||"").split("&"),function(t){var n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),n=t.indexOf("="),-1!==n&&(r=t.substring(0,n),i=t.substring(n+1)),r=W(r),b(r)&&(i=!b(i)||W(i),lr.call(e,r)?wr(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))}),e}function Z(t){var e=[];return o(t,function(t,n){wr(t)?o(t,function(t){e.push(J(n,!0)+(!0===t?"":"="+J(t,!0)))}):e.push(J(n,!0)+(!0===t?"":"="+J(t,!0)))}),e.length?e.join("&"):""}function K(t){return J(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function J(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 X(t,e){var n,r,i=Dr.length;for(r=0;r<i;++r)if(n=Dr[r]+e,k(n=t.getAttribute(n)))return n;return null}function Q(e,n){var r,i,a={};o(Dr,function(t){t+="app",!r&&e.hasAttribute&&e.hasAttribute(t)&&(r=e,i=e.getAttribute(t))}),o(Dr,function(t){t+="app";var n;!r&&(n=e.querySelector("["+t.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(t))}),r&&(Ar?(a.strictDi=null!==X(r,"strict-di"),n(r,i?[i]:[],a)):t.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match."))}function tt(e,n,r){$(r)||(r={}),r=c({strictDi:!1},r);var i=function(){if(e=ir(e),e.injector()){var i=e[0]===t.document?"document":q(e);throw vr("btstrpd",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}return n=n||[],n.unshift(["$provide",function(t){t.value("$rootElement",e)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng"),i=Yt(n,r.strictDi),i.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),i},a=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(t&&a.test(t.name)&&(r.debugInfoEnabled=!0,t.name=t.name.replace(a,"")),t&&!s.test(t.name))return i();t.name=t.name.replace(s,""),yr.resumeBootstrap=function(t){return o(t,function(t){n.push(t)}),i()},S(yr.resumeDeferredBootstrap)&&yr.resumeDeferredBootstrap()}function et(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function nt(t){if(!(t=yr.element(t).injector()))throw vr("test");return t.get("$$testability")}function rt(t,e){return e=e||"_",t.replace(Mr,function(t,n){return(n?e:"")+t.toLowerCase()})}function it(t,e,n){if(!t)throw vr("areq",e||"?",n||"required");return t}function ot(t,e,n){return n&&wr(t)&&(t=t[t.length-1]),it(S(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function at(t,e){if("hasOwnProperty"===t)throw vr("badname",e)}function st(t,e,n){if(!e)return t;e=e.split(".");for(var r,i=t,o=e.length,a=0;a<o;a++)r=e[a],t&&(t=(i=t)[r]);return!n&&S(t)?j(i,t):t}function ut(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=ir(fr.call(t,0,i))),e.push(n));return e||t}function lt(){return Object.create(null)}function ct(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=!v(t)||wr(t)||C(t)?H(t):t.toString()}return t}function dt(t){function e(t,e,n){return t[e]||(t[e]=n())}var n=r("$injector"),i=r("ng");return t=e(t,"angular",Object),t.$$minErr=t.$$minErr||r,e(t,"module",function(){var t={};return function(r,o,a){var s={};if("hasOwnProperty"===r)throw i("badname","module");return o&&t.hasOwnProperty(r)&&(t[r]=null),e(t,r,function(){function t(t,e,n,r){return r||(r=u),function(){return r[n||"push"]([t,e,arguments]),f}}function e(t,e,n){return n||(n=u),function(i,o){return o&&S(o)&&(o.$$moduleName=r),n.push([t,e,arguments]),f}}if(!o)throw n("nomod",r);var u=[],l=[],c=[],d=t("$injector","invoke","push",l),f={_invokeQueue:u,_configBlocks:l,_runBlocks:c,info:function(t){if(b(t)){if(!$(t))throw i("aobj","value");return s=t,this}return s},requires:o,name:r,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),decorator:e("$provide","decorator",l),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),component:e("$compileProvider","component"),config:d,run:function(t){return c.push(t),this}};return a&&d(a),f})}})}function ft(t,e){if(wr(t)){e=e||[];for(var n=0,r=t.length;n<r;n++)e[n]=t[n]}else if($(t))for(n in e=e||{},t)"$"===n.charAt(0)&&"$"===n.charAt(1)||(e[n]=t[n]);return e||t}function ht(t,e){var r=[];return n(e)&&(t=yr.copy(t,null,e)),JSON.stringify(t,function(t,e){if(e=B(t,e),$(e)){if(0<=r.indexOf(e))return"...";r.push(e)}return e})}function pt(t,e){return e.toUpperCase()}function mt(t){return t.replace(Vr,pt)}function gt(t){return 1===(t=t.nodeType)||!t||9===t}function vt(t,e){var n,r,i=e.createDocumentFragment(),a=[];if(Br.test(t)){for(n=i.appendChild(e.createElement("div")),r=(Hr.exec(t)||["",""])[1].toLowerCase(),r=Yr[r]||Yr._default,n.innerHTML=r[1]+t.replace(Ur,"<$1></$2>")+r[2],r=r[0];r--;)n=n.lastChild;a=I(a,n.childNodes),n=i.firstChild,n.textContent=""}else a.push(e.createTextNode(t));return i.textContent="",i.innerHTML="",o(a,function(t){i.appendChild(t)}),i}function yt(e){if(e instanceof yt)return e;var n;if(k(e)&&(e=_r(e),n=!0),!(this instanceof yt)){if(n&&"<"!==e.charAt(0))throw Ir("nosel");return new yt(e)}if(n){n=t.document;var r;e=(r=jr.exec(e))?[n.createElement(r[1])]:(r=vt(e,n))?r.childNodes:[],Dt(this,e)}else S(e)?Ft(e):Dt(this,e)}function bt(t){return t.cloneNode(!0)}function $t(t,e){!e&&gt(t)&&ir.cleanData([t]),t.querySelectorAll&&ir.cleanData(t.querySelectorAll("*"))}function wt(t,e,n,r){if(b(r))throw Ir("offargs");var i=(r=_t(t))&&r.events,a=r&&r.handle;if(a)if(e){var s=function(e){var r=i[e];b(n)&&R(r||[],n),b(n)&&r&&0<r.length||(t.removeEventListener(e,a),delete i[e])};o(e.split(" "),function(t){s(t),Lr[t]&&s(Lr[t])})}else for(e in i)"$destroy"!==e&&t.removeEventListener(e,a),delete i[e]}function kt(t,e){var n=t.ng339,r=n&&Fr[n];r&&(e?delete r.data[e]:(r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),wt(t)),delete Fr[n],t.ng339=void 0))}function _t(t,e){var n=t.ng339,n=n&&Fr[n];return e&&!n&&(t.ng339=n=++Rr,n=Fr[n]={events:{},data:{},handle:void 0}),n}function Ct(t,e,n){if(gt(t)){var r,i=b(n),o=!i&&e&&!$(e),a=!e;if(t=(t=_t(t,!o))&&t.data,i)t[mt(e)]=n;else{if(a)return t;if(o)return t&&t[mt(e)];for(r in e)t[mt(r)]=e[r]}}}function xt(t,e){return!!t.getAttribute&&-1<(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")}function St(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;o(e.split(" "),function(t){t=_r(t),r=r.replace(" "+t+" "," ")}),r!==n&&t.setAttribute("class",_r(r))}}function Et(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;o(e.split(" "),function(t){t=_r(t),-1===r.indexOf(" "+t+" ")&&(r+=t+" ")}),r!==n&&t.setAttribute("class",_r(r))}}function Dt(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 At(t,e){return Mt(t,"$"+(e||"ngController")+"Controller")}function Mt(t,e,n){for(9===t.nodeType&&(t=t.documentElement),e=wr(e)?e:[e];t;){for(var r=0,i=e.length;r<i;r++)if(b(n=ir.data(t,e[r])))return n;t=t.parentNode||11===t.nodeType&&t.host}}function Tt(t){for($t(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Ot(t,e){e||$t(t);var n=t.parentNode;n&&n.removeChild(t)}function Pt(e,n){n=n||t,"complete"===n.document.readyState?n.setTimeout(e):ir(n).on("load",e)}function Ft(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 Rt(t,e){var n=Wr[e.toLowerCase()];return n&&Gr[F(t)]&&n}function Vt(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(y(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||Nt;1<o&&(i=ft(i));for(var u=0;u<o;u++)n.isImmediatePropagationStopped()||s(t,n,i[u])}};return n.elem=t,n}function Nt(t,e,n){n.call(t,e)}function Lt(t,e,n){var r=e.relatedTarget;r&&(r===t||zr.call(t,r))||n.call(t,e)}function It(){this.$get=function(){return c(yt,{hasClass:function(t,e){return t.attr&&(t=t[0]),xt(t,e)},addClass:function(t,e){return t.attr&&(t=t[0]),Et(t,e)},removeClass:function(t,e){return t.attr&&(t=t[0]),St(t,e)}})}}function jt(t,e){var n=t&&t.$$hashKey;return n?("function"==typeof n&&(n=t.$$hashKey()),n):(n=typeof t,n="function"===n||"object"===n&&null!==t?t.$$hashKey=n+":"+(e||u)():n+":"+t)}function Bt(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function Ht(t){return t=Function.prototype.toString.call(t).replace(ri,""),t.match(Qr)||t.match(ti)}function Ut(t){return(t=Ht(t))?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Yt(t,e){function n(t){return function(e,n){if(!$(e))return t(e,n);o(e,s(t))}}function r(t,e){if(at(t,"service"),(S(e)||wr(e))&&(e=p.instantiate(e)),!e.$get)throw ii("pget",t);return h[t+"Provider"]=e}function i(t,e){return function(){var n=b.invoke(e,this);if(y(n))throw ii("undef",t);return n}}function a(t,e,n){return r(t,{$get:!1!==n?i(t,e):e})}function u(t){it(y(t)||wr(t),"modulesToLoad","not an array");var e,n=[];return o(t,function(t){function r(t){var e,n;for(e=0,n=t.length;e<n;e++){var r=t[e],i=p.get(r[0]);i[r[1]].apply(i,r[2])}}if(!f.get(t)){f.set(t,!0);try{k(t)?(e=ar(t),b.modules[t]=e,n=n.concat(u(e.requires)).concat(e._runBlocks),r(e._invokeQueue),r(e._configBlocks)):S(t)?n.push(p.invoke(t)):wr(t)?n.push(p.invoke(t)):ot(t,"module")}catch(e){throw wr(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),ii("modulerr",t,e.stack||e.message||e)}}}),n}function l(t,n){function r(e,r){if(t.hasOwnProperty(e)){if(t[e]===c)throw ii("cdep",e+" <- "+d.join(" <- "));return t[e]}try{return d.unshift(e),t[e]=c,t[e]=n(e,r),t[e]}catch(n){throw t[e]===c&&delete t[e],n}finally{d.shift()}}function i(t,n,i){var o=[];t=Yt.$$annotate(t,e,i);for(var a=0,s=t.length;a<s;a++){var u=t[a];if("string"!=typeof u)throw ii("itkn",u);o.push(n&&n.hasOwnProperty(u)?n[u]:r(u,i))}return o}return{invoke:function(t,e,n,r){if("string"==typeof n&&(r=n,n=null),n=i(t,n,r),wr(t)&&(t=t[t.length-1]),r=t,rr||"function"!=typeof r)r=!1;else{var o=r.$$ngIsClass;M(o)||(o=r.$$ngIsClass=/^(?:class\b|constructor\()/.test(Function.prototype.toString.call(r))),r=o}return r?(n.unshift(null),new(Function.prototype.bind.apply(t,n))):t.apply(e,n)},instantiate:function(t,e,n){var r=wr(t)?t[t.length-1]:t;return t=i(t,e,n),t.unshift(null),new(Function.prototype.bind.apply(r,t))},get:r,annotate:Yt.$$annotate,has:function(e){return h.hasOwnProperty(e+"Provider")||t.hasOwnProperty(e)}}}e=!0===e;var c={},d=[],f=new Jr,h={$provide:{provider:n(r),factory:n(a),service:n(function(t,e){return a(t,["$injector",function(t){return t.instantiate(e)}])}),value:n(function(t,e){return a(t,g(e),!1)}),constant:n(function(t,e){at(t,"constant"),h[t]=e,m[t]=e}),decorator:function(t,e){var n=p.get(t+"Provider"),r=n.$get;n.$get=function(){var t=b.invoke(r,n);return b.invoke(e,null,{$delegate:t})}}}},p=h.$injector=l(h,function(t,e){throw yr.isString(e)&&d.push(e),ii("unpr",d.join(" <- "))}),m={},v=l(m,function(t,e){var n=p.get(t+"Provider",e);return b.invoke(n.$get,n,void 0,t)}),b=v;h.$injectorProvider={$get:g(v)},b.modules=p.modules=lt();var w=u(t),b=v.get("$injector");return b.strictDi=e,o(w,function(t){t&&b.invoke(t)}),b.loadNewModules=function(t){o(u(t),function(t){t&&b.invoke(t)})},b}function zt(){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"===F(t))return e=t,!0}),e}function o(t){if(t){t.scrollIntoView();var n;n=a.yOffset,S(n)?n=n():O(n)?(n=n[0],n="fixed"!==e.getComputedStyle(n).position?0:n.getBoundingClientRect().bottom):_(n)||(n=0),n&&(t=t.getBoundingClientRect().top,e.scrollBy(0,t-n))}else e.scrollTo(0,0)}function a(t){t=k(t)?t:_(t)?t.toString():n.hash();var e;t?(e=s.getElementById(t))?o(e):(e=i(s.getElementsByName(t)))?o(e):"top"===t&&o(null):o(null)}var s=e.document;return t&&r.$watch(function(){return n.hash()},function(t,e){t===e&&""===t||Pt(function(){r.$evalAsync(a)})}),a}]}function qt(t,e){return t||e?t?e?(wr(t)&&(t=t.join(" ")),wr(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function Wt(t){k(t)&&(t=t.split(" "));var e=lt();return o(t,function(t){t.length&&(e[t]=!0)}),e}function Gt(t){return $(t)?t:{}}function Zt(t,e,n,r){function i(t){try{t.apply(null,fr.call(arguments,1))}finally{if(0===--g)for(;v.length;)try{v.pop()()}catch(t){n.error(t)}}}function a(){_=null,u()}function s(){b=C(),b=y(b)?null:b,L(b,E)&&(b=E),$=E=b}function u(){var t=$;s(),w===l.url()&&t===b||(w=l.url(),$=b,o(x,function(t){t(l.url(),b)}))}var l=this,c=t.location,d=t.history,f=t.setTimeout,h=t.clearTimeout,m={};l.isMock=!1;var g=0,v=[];l.$$completeOutstandingRequest=i,l.$$incOutstandingRequestCount=function(){g++},l.notifyWhenNoOutstandingRequests=function(t){0===g?t():v.push(t)};var b,$,w=c.href,k=e.find("base"),_=null,C=r.history?function(){try{return d.state}catch(t){}}:p;s(),l.url=function(e,n,i){if(y(i)&&(i=null),c!==t.location&&(c=t.location),d!==t.history&&(d=t.history),e){var o=$===i;if(w===e&&(!r.history||o))return l;var a=w&&Ee(w)===Ee(e);return w=e,$=i,!r.history||a&&o?(a||(_=e),n?c.replace(e):a?(n=c,i=e.indexOf("#"),i=-1===i?"":e.substr(i),n.hash=i):c.href=e,c.href!==e&&(_=e)):(d[n?"replaceState":"pushState"](i,"",e),s()),_&&(_=e),l}return _||c.href.replace(/%27/g,"'")},l.state=function(){return b};var x=[],S=!1,E=null;l.onUrlChange=function(e){return S||(r.history&&ir(t).on("popstate",a),ir(t).on("hashchange",a),S=!0),x.push(e),e},l.$$applicationDestroyed=function(){ir(t).off("hashchange popstate",a)},l.$$checkUrlChange=u,l.baseHref=function(){var t=k.attr("href");return t?t.replace(/^(https?:)?\/\/[^\/]*/,""):""},l.defer=function(t,e){var n;return g++,n=f(function(){delete m[n],i(t)},e||0),m[n]=!0,n},l.defer.cancel=function(t){return!!m[t]&&(delete m[t],h(t),i(p),!0)}}function Kt(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,r){return new Zt(t,r,e,n)}]}function Jt(){this.$get=function(){function t(t,n){function i(t){t!==f&&(h?h===t&&(h=t.n):h=t,o(t.n,t.p),o(t,f),f=t,f.n=null)}function o(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}if(t in e)throw r("$cacheFactory")("iid",t);var a=0,s=c({},n,{id:t}),u=lt(),l=n&&n.capacity||Number.MAX_VALUE,d=lt(),f=null,h=null;return e[t]={put:function(t,e){if(!y(e)){if(l<Number.MAX_VALUE){i(d[t]||(d[t]={key:t}))}return t in u||a++,u[t]=e,a>l&&this.remove(h.key),e}},get:function(t){if(l<Number.MAX_VALUE){var e=d[t];if(!e)return;i(e)}return u[t]},remove:function(t){if(l<Number.MAX_VALUE){var e=d[t];if(!e)return;e===f&&(f=e.p),e===h&&(h=e.n),o(e.n,e.p),delete d[t]}t in u&&(delete u[t],a--)},removeAll:function(){u=lt(),a=0,d=lt(),f=h=null},destroy:function(){d=s=u=null,delete e[t]},info:function(){return c({},s,{size:a})}}}var e={};return t.info=function(){var t={};return o(e,function(e,n){t[n]=e.info()}),t},t.get=function(t){return e[t]},t}}function Xt(){this.$get=["$cacheFactory",function(t){return t("templates")}]}function Qt(e,n){function r(t,e,n){var r=/^\s*([@&<]|=(\*?))(\??)\s*([\w$]*)\s*$/,i=lt();return o(t,function(t,o){if(t in _)i[o]=_[t];else{var a=t.match(r);if(!a)throw fi("iscp",e,o,t,n?"controller bindings definition":"isolate scope definition");i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(_[t]=i[o])}}),i}function i(t){var e=t.charAt(0);if(!e||e!==cr(e))throw fi("baddir",t);if(t!==t.trim())throw fi("baddir",t)}function a(t){var e=t.require||t.controller&&t.name;return!wr(e)&&$(e)&&o(e,function(t,n){var r=t.match(v);t.substring(r[0].length)||(e[n]=r[0]+n)}),e}var u={},l=/^\s*directive:\s*([\w-]+)\s+(.*)$/,d=/(([\w-]+)(?::([^;]+))?;?)/,f=P("ngSrc,ngSrcset,src,srcset"),v=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,w=/^(on[a-z]+|formaction)$/,_=lt();this.directive=function t(n,r){return it(n,"name"),at(n,"directive"),k(n)?(i(n),it(r,"directiveFactory"),u.hasOwnProperty(n)||(u[n]=[],e.factory(n+"Directive",["$injector","$exceptionHandler",function(t,e){var r=[];return o(u[n],function(i,o){try{var s=t.invoke(i);S(s)?s={compile:g(s)}:!s.compile&&s.link&&(s.compile=g(s.link)),s.priority=s.priority||0,s.index=o,s.name=s.name||n,s.require=a(s);var u=s,l=s.restrict;if(l&&(!k(l)||!/[EACM]/.test(l)))throw fi("badrestrict",l,n);u.restrict=l||"EA",s.$$moduleName=i.$$moduleName,r.push(s)}catch(t){e(t)}}),r}])),u[n].push(r)):o(n,s(t)),this},this.component=function t(e,n){function r(t){function e(e){return S(e)||wr(e)?function(n,r){return t.invoke(e,this,{$element:n,$attrs:r})}:e}var r=n.template||n.templateUrl?n.template:"",a={controller:i,controllerAs:ie(n.controller)||n.controllerAs||"$ctrl",template:e(r),templateUrl:e(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return o(n,function(t,e){"$"===e.charAt(0)&&(a[e]=t)}),a}if(!k(e))return o(e,s(j(this,t))),this;var i=n.controller||function(){};return o(n,function(t,e){"$"===e.charAt(0)&&(r[e]=t,S(i)&&(i[e]=t))}),r.$inject=["$injector"],this.directive(e,r)},this.aHrefSanitizationWhitelist=function(t){return b(t)?(n.aHrefSanitizationWhitelist(t),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(t){return b(t)?(n.imgSrcSanitizationWhitelist(t),this):n.imgSrcSanitizationWhitelist()};var C=!0;this.debugInfoEnabled=function(t){return b(t)?(C=t,this):C};var E=!1;this.preAssignBindingsEnabled=function(t){return b(t)?(E=t,this):E};var D=!1;this.strictComponentBindingsEnabled=function(t){return b(t)?(D=t,this):D};var T=10;this.onChangesTtl=function(t){return arguments.length?(T=t,this):T};var O=!0;this.commentDirectivesEnabled=function(t){return arguments.length?(O=t,this):O};var V=!0;this.cssClassDirectivesEnabled=function(t){return arguments.length?(V=t,this):V},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(e,n,i,a,s,g,_,P,I,B){function H(){try{if(!--Mt)throw xt=void 0,fi("infchng",T);_.$apply(function(){for(var t=[],e=0,n=xt.length;e<n;++e)try{xt[e]()}catch(e){t.push(e)}if(xt=void 0,t.length)throw t})}finally{Mt++}}function U(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 Y(t,e,n){Et.innerHTML="<span "+e+">",e=Et.firstChild.attributes;var r=e[0];e.removeNamedItem(r.name),r.value=n,t.attributes.setNamedItem(r)}function z(t,e){try{t.addClass(e)}catch(t){}}function W(t,e,n,r,i){t instanceof ir||(t=ir(t));var o=G(t,e,t,n,r,i);W.$$addScopeClass(t);var a=null;return function(e,n,r){if(!t)throw fi("multilink");it(e,"scope"),i&&i.needsNewScope&&(e=e.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,u=r.transcludeControllers;if(r=r.futureParentElement,s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=(r=r&&r[0])&&"foreignobject"!==F(r)&&mr.call(r).match(/SVG/)?"svg":"html"),r="html"!==a?ir(gt(a,ir("<div>").append(t).html())):n?qr.clone.call(t):t,u)for(var l in u)r.data("$"+l+"Controller",u[l].instance);return W.$$addScopeInfo(r,e),n&&n(r,e),o&&o(e,r,r,s),n||(t=o=null),r}}function G(t,e,n,r,i,o){function a(t,n,r,i){var o,a,s,u,l,c,h;if(d)for(h=Array(n.length),u=0;u<f.length;u+=3)o=f[u],h[o]=n[o];else h=n;for(u=0,l=f.length;u<l;)a=h[f[u++]],n=f[u++],o=f[u++],n?(n.scope?(s=t.$new(),W.$$addScopeInfo(ir(a),s)):s=t,c=n.transcludeOnThisElement?K(t,n.transclude,i):!n.templateOnThisElement&&i?i:!i&&e?K(t,e):null,n(o,s,a,r,c)):o&&o(t,a.childNodes,void 0,i)}for(var s,u,l,c,d,f=[],h=wr(t)||t instanceof ir,p=0;p<t.length;p++)s=new U,11===rr&&Z(t,p,h),u=J(t[p],[],s,0===p?r:void 0,i),(o=u.length?nt(u,t[p],s,e,n,null,[],[],o):null)&&o.scope&&W.$$addScopeClass(s.$$element),s=o&&o.terminal||!(l=t[p].childNodes)||!l.length?null:G(l,o?(o.transcludeOnThisElement||!o.templateOnThisElement)&&o.transclude:e),(o||s)&&(f.push(p,o,s),c=!0,d=d||o),o=null;return c?a:null}function Z(t,e,n){var r,i=t[e],o=i.parentNode;if(i.nodeType===Or)for(;(r=o?i.nextSibling:t[e+1])&&r.nodeType===Or;)i.nodeValue+=r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===t[e+1]&&t.splice(e+1,1)}function K(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,o=r.$$slots=lt();for(i in e.$$slots)o[i]=e.$$slots[i]?K(t,e.$$slots[i],n):null;return r}function J(t,e,n,r,i){var o,a=n.$attr;switch(t.nodeType){case 1:o=F(t),ut(e,ee(o),"E",r,i);for(var s,u,l,c,f=t.attributes,h=0,p=f&&f.length;h<p;h++){var m=!1,g=!1;s=f[h],u=s.name,l=s.value,s=ee(u),(c=Ft.test(s))&&(u=u.replace(pi,"").substr(8).replace(/_(.)/g,function(t,e){return e.toUpperCase()})),(s=s.match(Vt))&&ct(s[1])&&(m=u,g=u.substr(0,u.length-5)+"end",u=u.substr(0,u.length-6)),s=ee(u.toLowerCase()),a[s]=u,!c&&n.hasOwnProperty(s)||(n[s]=l,Rt(t,s)&&(n[s]=!0)),yt(t,e,l,s,c),ut(e,s,"A",r,i,m,g)}if("input"===o&&"hidden"===t.getAttribute("type")&&t.setAttribute("autocomplete","off"),!At)break;if(a=t.className,$(a)&&(a=a.animVal),k(a)&&""!==a)for(;t=d.exec(a);)s=ee(t[2]),ut(e,s,"C",r,i)&&(n[s]=_r(t[3])),a=a.substr(t.index+t[0].length);break;case Or:mt(e,t.nodeValue);break;case 8:if(!Dt)break;X(t,e,n,r,i)}return e.sort(ht),e}function X(t,e,n,r,i){try{var o=l.exec(t.nodeValue);if(o){var a=ee(o[1]);ut(e,a,"M",r,i)&&(n[a]=_r(o[2]))}}catch(t){}}function Q(t,e,n){var r=[],i=0;if(e&&t.hasAttribute&&t.hasAttribute(e))do{if(!t)throw fi("uterdir",e,n);1===t.nodeType&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(0<i);else r.push(t);return ir(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?W(e,n,r,i,o):function(){return a||(a=W(e,n,r,i,o),e=n=o=null),a.apply(this,arguments)}}function nt(t,e,n,r,a,s,u,l,d){function f(t,e,n,r){t&&(n&&(t=tt(t,n,r)),t.require=p.require,t.directiveName=m,(C===p||p.$$isolateScope)&&(t=wt(t,{isolateScope:!0})),u.push(t)),e&&(n&&(e=tt(e,n,r)),e.require=p.require,e.directiveName=m,(C===p||p.$$isolateScope)&&(e=wt(e,{isolateScope:!0})),l.push(e))}function h(t,r,a,s,d){function f(t,e,n,r){var i;if(A(t)||(r=n,n=e,e=t,t=void 0),O&&(i=b),n||(n=O?D.parent():D),!r)return d(t,e,i,n,P);var o=d.$$slots[r];if(o)return o(t,e,i,n,P);if(y(o))throw fi("noslot",r,q(D))}var h,p,m,g,v,b,w,D;e===a?(s=n,D=n.$$element):(D=ir(a),s=new U(D,n)),v=r,C?g=r.$new(!0):k&&(v=r.$parent),d&&(w=f,w.$$boundTransclude=d,w.isSlotFilled=function(t){return!!d.$$slots[t]}),_&&(b=at(D,s,w,_,g,r,C)),C&&(W.$$addScopeInfo(D,g,!0,!(x&&(x===C||x===C.$$originalDirective))),W.$$addScopeClass(D,!0),g.$$isolateBindings=C.$$isolateBindings,p=Ct(r,s,g,g.$$isolateBindings,C),p.removeWatches&&g.$on("$destroy",p.removeWatches));for(h in b){p=_[h],m=b[h];var M=p.$$bindings.bindToController;if(E){m.bindingInfo=M?Ct(v,s,m.instance,M,p):{};var T=m();T!==m.instance&&(m.instance=T,D.data("$"+p.name+"Controller",T),m.bindingInfo.removeWatches&&m.bindingInfo.removeWatches(),m.bindingInfo=Ct(v,s,m.instance,M,p))}else m.instance=m(),D.data("$"+p.name+"Controller",m.instance),m.bindingInfo=Ct(v,s,m.instance,M,p)}for(o(_,function(t,e){var n=t.require;t.bindToController&&!wr(n)&&$(n)&&c(b[e].instance,ot(e,n,D,b))}),o(b,function(t){var e=t.instance;if(S(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(t){i(t)}if(S(e.$onInit))try{e.$onInit()}catch(t){i(t)}S(e.$doCheck)&&(v.$watch(function(){e.$doCheck()}),e.$doCheck()),S(e.$onDestroy)&&v.$on("$destroy",function(){e.$onDestroy()})}),h=0,p=u.length;h<p;h++)m=u[h],kt(m,m.isolateScope?g:r,D,s,m.require&&ot(m.directiveName,m.require,D,b),w);var P=r;for(C&&(C.template||null===C.templateUrl)&&(P=g),t&&t(P,a.childNodes,void 0,d),h=l.length-1;0<=h;h--)m=l[h],kt(m,m.isolateScope?g:r,D,s,m.require&&ot(m.directiveName,m.require,D,b),w);o(b,function(t){t=t.instance,S(t.$postLink)&&t.$postLink()})}d=d||{}
;for(var p,m,g,v,b,w=-Number.MAX_VALUE,k=d.newScopeDirective,_=d.controllerDirectives,C=d.newIsolateScopeDirective,x=d.templateDirective,D=d.nonTlbTranscludeDirective,M=!1,T=!1,O=d.hasElementTranscludeDirective,P=n.$$element=ir(e),R=r,V=!1,N=!1,L=0,I=t.length;L<I;L++){p=t[L];var B=p.$$start,H=p.$$end;if(B&&(P=Q(e,B,H)),g=void 0,w>p.priority)break;if((b=p.scope)&&(p.templateUrl||($(b)?(pt("new/isolated scope",C||k,p,P),C=p):pt("new/isolated scope",C,p,P)),k=k||p),m=p.name,!V&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(b=L+1;V=t[b++];)if(V.transclude&&!V.$$tlb||V.replace&&(V.templateUrl||V.template)){N=!0;break}V=!0}if(!p.templateUrl&&p.controller&&(_=_||lt(),pt("'"+m+"' controller",_[m],p,P),_[m]=p),b=p.transclude)if(M=!0,p.$$tlb||(pt("transclusion",D,p,P),D=p),"element"===b)O=!0,w=p.priority,g=P,P=n.$$element=ir(W.$$createComment(m,n[m])),e=P[0],$t(a,fr.call(g,0),e),g[0].$$parentNode=g[0].parentNode,R=et(N,g,r,w,s&&s.name,{nonTlbTranscludeDirective:D});else{var Y=lt();if($(b)){g=[];var z=lt(),G=lt();o(b,function(t,e){var n="?"===t.charAt(0);t=n?t.substring(1):t,z[t]=e,Y[e]=null,G[e]=n}),o(P.contents(),function(t){var e=z[ee(F(t))];e?(G[e]=!0,Y[e]=Y[e]||[],Y[e].push(t)):g.push(t)}),o(G,function(t,e){if(!t)throw fi("reqslot",e)});for(var Z in Y)Y[Z]&&(Y[Z]=et(N,Y[Z],r))}else g=ir(bt(e)).contents();P.empty(),R=et(N,g,r,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),R.$$slots=Y}if(p.template)if(T=!0,pt("template",x,p,P),x=p,b=S(p.template)?p.template(P,n):p.template,b=Pt(b),p.replace){if(s=p,g=Br.test(b)?re(gt(p.templateNamespace,_r(b))):[],e=g[0],1!==g.length||1!==e.nodeType)throw fi("tplrt",m,"");$t(a,P,e),I={$attr:{}},b=J(e,[],I);var K=t.splice(L+1,t.length-(L+1));(C||k)&&st(b,C,k),t=t.concat(b).concat(K),dt(n,I),I=t.length}else P.html(b);if(p.templateUrl)T=!0,pt("template",x,p,P),x=p,p.replace&&(s=p),h=ft(t.splice(L,t.length-L),P,n,a,M&&R,u,l,{controllerDirectives:_,newScopeDirective:k!==p&&k,newIsolateScopeDirective:C,templateDirective:x,nonTlbTranscludeDirective:D}),I=t.length;else if(p.compile)try{v=p.compile(P,n,R);var X=p.$$originalDirective||p;S(v)?f(null,j(X,v),B,H):v&&f(j(X,v.pre),j(X,v.post),B,H)}catch(t){i(t,q(P))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=k&&!0===k.scope,h.transcludeOnThisElement=M,h.templateOnThisElement=T,h.transclude=R,d.hasElementTranscludeDirective=O,h}function ot(t,e,n,r){var i;if(k(e)){var a=e.match(v);e=e.substring(a[0].length);var s=a[1]||a[3],a="?"===a[2];if("^^"===s?n=n.parent():i=(i=r&&r[e])&&i.instance,!i){var u="$"+e+"Controller";i=s?n.inheritedData(u):n.data(u)}if(!i&&!a)throw fi("ctreq",e,t)}else if(wr(e))for(i=[],s=0,a=e.length;s<a;s++)i[s]=ot(t,e[s],n,r);else $(e)&&(i={},o(e,function(e,o){i[o]=ot(t,e,n,r)}));return i||null}function at(t,e,n,r,i,o,a){var s,u=lt();for(s in r){var l=r[s],c={$scope:l===a||l.$$isolateScope?i:o,$element:t,$attrs:e,$transclude:n},d=l.controller;"@"===d&&(d=e[l.name]),c=g(d,c,!0,l.controllerAs),u[l.name]=c,t.data("$"+l.name+"Controller",c.instance)}return u}function st(t,e,n){for(var r=0,i=t.length;r<i;r++)t[r]=h(t[r],{$$isolateScope:e,$$newScope:n})}function ut(t,n,i,o,a,s,l){if(n===a)return null;var c=null;if(u.hasOwnProperty(n)){a=e.get(n+"Directive");for(var d=0,f=a.length;d<f;d++)if(n=a[d],(y(o)||o>n.priority)&&-1!==n.restrict.indexOf(i)){if(s&&(n=h(n,{$$start:s,$$end:l})),!n.$$bindings){var p=c=n,m=n.name,g={isolateScope:null,bindToController:null};if($(p.scope)&&(!0===p.bindToController?(g.bindToController=r(p.scope,m,!0),g.isolateScope={}):g.isolateScope=r(p.scope,m,!1)),$(p.bindToController)&&(g.bindToController=r(p.bindToController,m,!0)),g.bindToController&&!p.controller)throw fi("noctrl",m);c=c.$$bindings=g,$(c.isolateScope)&&(n.$$isolateBindings=c.isolateScope)}t.push(n),c=n}}return c}function ct(t){if(u.hasOwnProperty(t))for(var n=e.get(t+"Directive"),r=0,i=n.length;r<i;r++)if(t=n[r],t.multiElement)return!0;return!1}function dt(t,e){var n=e.$attr,r=t.$attr;o(t,function(r,i){"$"!==i.charAt(0)&&(e[i]&&e[i]!==r&&(r=r.length?r+("style"===i?";":" ")+e[i]:e[i]),t.$set(i,r,!0,n[i]))}),o(e,function(e,i){t.hasOwnProperty(i)||"$"===i.charAt(0)||(t[i]=e,"class"!==i&&"style"!==i&&(r[i]=n[i]))})}function ft(t,e,n,r,s,u,l,c){var d,f,p=[],m=e[0],g=t.shift(),v=h(g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),y=S(g.templateUrl)?g.templateUrl(e,n):g.templateUrl,b=g.templateNamespace;return e.empty(),a(y).then(function(i){var a,h;if(i=Pt(i),g.replace){if(i=Br.test(i)?re(gt(b,_r(i))):[],a=i[0],1!==i.length||1!==a.nodeType)throw fi("tplrt",g.name,y);i={$attr:{}},$t(r,e,a);var w=J(a,[],i);$(g.scope)&&st(w,!0),t=w.concat(t),dt(n,i)}else a=m,e.html(i);for(t.unshift(v),d=nt(t,a,n,s,e,g,u,l,c),o(r,function(t,n){t===a&&(r[n]=e[0])}),f=G(e[0].childNodes,s);p.length;){i=p.shift(),h=p.shift();var k=p.shift(),_=p.shift(),w=e[0];if(!i.$$destroyed){if(h!==m){var C=h.className;c.hasElementTranscludeDirective&&g.replace||(w=bt(a)),$t(k,ir(h),w),z(ir(w),C)}h=d.transcludeOnThisElement?K(i,d.transclude,_):_,d(f,i,w,r,h)}}p=null}).catch(function(t){x(t)&&i(t)}),function(t,e,n,r,i){t=i,e.$$destroyed||(p?p.push(e,n,r,t):(d.transcludeOnThisElement&&(t=K(e,d.transclude,i)),d(f,e,n,r,t)))}}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 fi("multidir",e.name,i(e.$$moduleName),n.name,i(n.$$moduleName),t,q(r))}function mt(t,e){var r=n(e,!0);r&&t.push({priority:0,compile:function(t){t=t.parent();var e=!!t.length;return e&&W.$$addBindingClass(t),function(t,n){var i=n.parent();e||W.$$addBindingClass(i),W.$$addBindingInfo(i,r.expressions),t.$watch(r,function(t){n[0].nodeValue=t})}}})}function gt(e,n){switch(e=cr(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 vt(t,e){if("srcdoc"===e)return P.HTML;var n=F(t);if("src"===e||"ngSrc"===e){if(-1===["img","video","audio","source","track"].indexOf(n))return P.RESOURCE_URL}else if("xlinkHref"===e||"form"===n&&"action"===e||"link"===n&&"href"===e)return P.RESOURCE_URL}function yt(t,e,r,i,o){var a=vt(t,i),s=f[i]||o,u=n(r,!o,a,s);if(u){if("multiple"===i&&"select"===F(t))throw fi("selmulti",q(t));if(w.test(i))throw fi("nodomevents");e.push({priority:100,compile:function(){return{pre:function(t,e,o){e=o.$$observers||(o.$$observers=lt());var l=o[i];l!==r&&(u=l&&n(l,!0,a,s),r=l),u&&(o[i]=u(t),(e[i]||(e[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||t).$watch(u,function(t,e){"class"===i&&t!==e?o.$updateClass(t,e):o.$set(i,t)}))}}}})}}function $t(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,o=i+s-1;for(var l=e.length;i<l;i++,o++)o<l?e[i]=e[o]:delete e[i];e.length-=s-1,e.context===a&&(e.context=r);break}for(u&&u.replaceChild(r,a),e=t.document.createDocumentFragment(),i=0;i<s;i++)e.appendChild(n[i]);for(ir.hasData(a)&&(ir.data(r,ir.data(a)),ir(a).off("$destroy")),ir.cleanData(e.querySelectorAll("*")),i=1;i<s;i++)delete n[i];n[0]=r,n.length=1}function wt(t,e){return c(function(){return t.apply(null,arguments)},t,e)}function kt(t,e,n,r,o,a){try{t(e,n,r,o,a)}catch(t){i(t,q(n))}}function _t(t,e){if(D)throw fi("missingattr",t,e)}function Ct(t,e,r,i,a){function u(e,n,i){S(r.$onChanges)&&!N(n,i)&&(xt||(t.$$postDigest(H),xt=[]),c||(c={},xt.push(l)),c[e]&&(i=c[e].previousValue),c[e]=new te(i,n))}function l(){r.$onChanges(c),c=void 0}var c,d=[],f={};return o(i,function(i,o){var l,c,h,m,g=i.attrName,v=i.optional;switch(i.mode){case"@":v||lr.call(e,g)||(_t(g,a.name),r[o]=e[g]=void 0),v=e.$observe(g,function(t){(k(t)||M(t))&&(u(o,t,r[o]),r[o]=t)}),e.$$observers[g].$$scope=t,l=e[g],k(l)?r[o]=n(l)(t):M(l)&&(r[o]=l),f[o]=new te(hi,r[o]),d.push(v);break;case"=":if(!lr.call(e,g)){if(v)break;_t(g,a.name),e[g]=void 0}if(v&&!e[g])break;c=s(e[g]),m=c.literal?L:N,h=c.assign||function(){throw l=r[o]=c(t),fi("nonassign",e[g],g,a.name)},l=r[o]=c(t),v=function(e){return m(e,r[o])||(m(e,l)?h(t,e=r[o]):r[o]=e),l=e},v.$stateful=!0,v=i.collection?t.$watchCollection(e[g],v):t.$watch(s(e[g],v),null,c.literal),d.push(v);break;case"<":if(!lr.call(e,g)){if(v)break;_t(g,a.name),e[g]=void 0}if(v&&!e[g])break;c=s(e[g]);var y=c.literal,b=r[o]=c(t);f[o]=new te(hi,r[o]),v=t.$watch(c,function(t,e){if(e===t){if(e===b||y&&L(e,b))return;e=b}u(o,t,e),r[o]=t},y),d.push(v);break;case"&":if(v||lr.call(e,g)||_t(g,a.name),(c=e.hasOwnProperty(g)?s(e[g]):p)===p&&v)break;r[o]=function(e){return c(t,e)}}}),{initialChanges:f,removeWatches:d.length&&function(){for(var t=0,e=d.length;t<e;++t)d[t]()}}}var xt,St=/^\w/,Et=t.document.createElement("div"),Dt=O,At=V,Mt=T;U.prototype={$normalize:ee,$addClass:function(t){t&&0<t.length&&I.addClass(this.$$element,t)},$removeClass:function(t){t&&0<t.length&&I.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=ne(t,e);n&&n.length&&I.addClass(this.$$element,n),(n=ne(e,t))&&n.length&&I.removeClass(this.$$element,n)},$set:function(t,e,n,r){var a=Rt(this.$$element[0],t),s=Zr[t],u=t;if(a?(this.$$element.prop(t,e),r=a):s&&(this[s]=e,u=s),this[t]=e,r?this.$attr[t]=r:(r=this.$attr[t])||(this.$attr[t]=r=rt(t,"-")),"a"===(a=F(this.$$element))&&("href"===t||"xlinkHref"===t)||"img"===a&&"src"===t)this[t]=e=B(e,"src"===t);else if("img"===a&&"srcset"===t&&b(e)){for(var a="",s=_r(e),l=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,l=/\s/.test(s)?l:/(,)/,s=s.split(l),l=Math.floor(s.length/2),c=0;c<l;c++)var d=2*c,a=a+B(_r(s[d]),!0),a=a+" "+_r(s[d+1]);s=_r(s[2*c]).split(/\s/),a+=B(_r(s[0]),!0),2===s.length&&(a+=" "+_r(s[1])),this[t]=e=a}!1!==n&&(null===e||y(e)?this.$$element.removeAttr(r):St.test(r)?this.$$element.attr(r,e):Y(this.$$element[0],r,e)),(t=this.$$observers)&&o(t[u],function(t){try{t(e)}catch(t){i(t)}})},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers=lt()),i=r[t]||(r[t]=[]);return i.push(e),_.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(t)||y(n[t])||e(n[t])}),function(){R(i,e)}}};var Tt=n.startSymbol(),Ot=n.endSymbol(),Pt="{{"===Tt&&"}}"===Ot?m:function(t){return t.replace(/\{\{/g,Tt).replace(/}}/g,Ot)},Ft=/^ngAttr[A-Z]/,Vt=/^(.+)Start$/;return W.$$addBindingInfo=C?function(t,e){var n=t.data("$binding")||[];wr(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:p,W.$$addBindingClass=C?function(t){z(t,"ng-binding")}:p,W.$$addScopeInfo=C?function(t,e,n,r){t.data(n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope",e)}:p,W.$$addScopeClass=C?function(t,e){z(t,e?"ng-isolate-scope":"ng-scope")}:p,W.$$createComment=function(e,n){var r="";return C&&(r=" "+(e||"")+": ",n&&(r+=n+" ")),t.document.createComment(r)},W}]}function te(t,e){this.previousValue=t,this.currentValue=e}function ee(t){return t.replace(pi,"").replace(mi,function(t,e,n){return n?e.toUpperCase():e})}function ne(t,e){var n="",r=t.split(/\s+/),i=e.split(/\s+/),o=0;t:for(;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue t;n+=(0<n.length?" ":"")+a}return n}function re(t){t=ir(t);var e=t.length;if(1>=e)return t;for(;e--;){var n=t[e];(8===n.nodeType||n.nodeType===Or&&""===n.nodeValue.trim())&&hr.call(t,e,1)}return t}function ie(t,e){if(e&&k(e))return e;if(k(t)){var n=vi.exec(t);if(n)return n[3]}}function oe(){var t={},e=!1;this.has=function(e){return t.hasOwnProperty(e)},this.register=function(e,n){at(e,"controller"),$(e)?c(t,e):t[e]=n},this.allowGlobals=function(){e=!0},this.$get=["$injector","$window",function(n,i){function o(t,e,n,i){if(!t||!$(t.$scope))throw r("$controller")("noscp",i,e);t.$scope[e]=n}return function(r,a,s,u){var l,d,f;if(s=!0===s,u&&k(u)&&(f=u),k(r)){if(!(u=r.match(vi)))throw gi("ctrlfmt",r);if(d=u[1],f=f||u[3],!(r=t.hasOwnProperty(d)?t[d]:st(a.$scope,d,!0)||(e?st(i,d,!0):void 0)))throw gi("ctrlreg",d);ot(r,d,!0)}return s?(s=(wr(r)?r[r.length-1]:r).prototype,l=Object.create(s||null),f&&o(a,f,l,d||r.name),c(function(){var t=n.invoke(r,l,a,d);return t!==l&&($(t)||S(t))&&(l=t,f&&o(a,f,l,d||r.name)),l},{instance:l,identifier:f})):(l=n.instantiate(r,a,d),f&&o(a,f,l,d||r.name),l)}}]}function ae(){this.$get=["$window",function(t){return ir(t.document)}]}function se(){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 ue(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}function le(t){return $(t)?C(t)?t.toISOString():H(t):t}function ce(){this.$get=function(){return function(t){if(!t)return"";var e=[];return a(t,function(t,n){null===t||y(t)||S(t)||(wr(t)?o(t,function(t){e.push(J(n)+"="+J(le(t)))}):e.push(J(n)+"="+J(le(t))))}),e.join("&")}}}function de(){this.$get=function(){return function(t){function e(t,r,i){null===t||y(t)||(wr(t)?o(t,function(t,n){e(t,r+"["+($(t)?n:"")+"]")}):$(t)&&!C(t)?a(t,function(t,n){e(t,r+(i?"":"[")+n+(i?"":"]"))}):n.push(J(r)+"="+J(le(t))))}if(!t)return"";var n=[];return e(t,"",!0),n.join("&")}}}function fe(t,e){if(k(t)){var n=t.replace(_i,"").trim();if(n){var r,i=e("Content-Type"),i=i&&0===i.indexOf(bi);if((r=i)||(r=(r=n.match(wi))&&ki[r[0]].test(n)),r)try{t=U(n)}catch(e){if(!i)return t;throw Ci("baddata",t,e)}}}return t}function he(t){var e,n=lt();return k(t)?o(t.split("\n"),function(t){e=t.indexOf(":");var r=cr(_r(t.substr(0,e)));t=_r(t.substr(e+1)),r&&(n[r]=n[r]?n[r]+", "+t:t)}):$(t)&&o(t,function(t,e){var r=cr(e),i=_r(t);r&&(n[r]=n[r]?n[r]+", "+i:i)}),n}function pe(t){var e;return function(n){return e||(e=he(t)),n?(n=e[cr(n)],void 0===n&&(n=null),n):e}}function me(t,e,n,r){return S(r)?r(t,e,n):(o(r,function(r){t=r(t,e,n)}),t)}function ge(){var t=this.defaults={transformResponse:[fe],transformRequest:[function(t){return $(t)&&"[object File]"!==mr.call(t)&&"[object Blob]"!==mr.call(t)&&"[object FormData]"!==mr.call(t)?H(t):t}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ft($i),put:ft($i),patch:ft($i)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},e=!1;this.useApplyAsync=function(t){return b(t)?(e=!!t,this):e};var n=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(i,a,s,u,l,d,f,h){function m(e){function n(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(t,e){var n,r={};return o(t,function(t,i){S(t)?null!=(n=t(e))&&(r[i]=n):r[i]=t}),r}function s(t){var e=c({},t);return e.data=me(t.data,t.headers,t.status,u.transformResponse),t=t.status,200<=t&&300>t?e:d.reject(e)}if(!$(e))throw r("$http")("badreq",e);if(!k(h.valueOf(e.url)))throw r("$http")("badreq",e.url);var u=c({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer,jsonpCallbackParam:t.jsonpCallbackParam},e);u.headers=function(e){var n,r,i,o=t.headers,s=c({},e.headers),o=c({},o.common,o[cr(e.method)]);t:for(n in o){r=cr(n);for(i in s)if(cr(i)===r)continue t;s[n]=o[n]}return a(s,ft(e))}(e),u.method=dr(u.method),u.paramSerializer=k(u.paramSerializer)?f.get(u.paramSerializer):u.paramSerializer,i.$$incOutstandingRequestCount();var l=[],m=[];return e=d.resolve(u),o(C,function(t){(t.request||t.requestError)&&l.unshift(t.request,t.requestError),(t.response||t.responseError)&&m.push(t.response,t.responseError)}),e=n(e,l),e=e.then(function(e){var n=e.headers,r=me(e.data,pe(n),void 0,e.transformRequest);return y(r)&&o(n,function(t,e){"content-type"===cr(e)&&delete n[e]}),y(e.withCredentials)&&!y(t.withCredentials)&&(e.withCredentials=t.withCredentials),g(e,r).then(s,s)}),e=n(e,m),e=e.finally(function(){i.$$completeOutstandingRequest(p)})}function g(n,r){function i(t){if(t){var n={};return o(t,function(t,r){n[r]=function(n){function r(){t(n)}e?l.$applyAsync(r):l.$$phase?r():l.$apply(r)}}),n}}function u(t,n,r,i,o){function a(){c(n,t,r,i,o)}g&&(200<=t&&300>t?g.put(M,[t,n,he(r),i,o]):g.remove(M)),e?l.$applyAsync(a):(a(),l.$$phase||l.$apply())}function c(t,e,r,i,o){e=-1<=e?e:0,(200<=e&&300>e?x.resolve:x.reject)({data:t,status:e,headers:pe(r),config:n,statusText:i,xhrStatus:o})}function f(t){c(t.data,t.status,ft(t.headers()),t.statusText,t.xhrStatus)}function p(){var t=m.pendingRequests.indexOf(n);-1!==t&&m.pendingRequests.splice(t,1)}var g,C,x=d.defer(),E=x.promise,D=n.headers,A="jsonp"===cr(n.method),M=n.url;return A?M=h.getTrustedResourceUrl(M):k(M)||(M=h.valueOf(M)),M=v(M,n.paramSerializer(n.params)),A&&(M=w(M,n.jsonpCallbackParam)),m.pendingRequests.push(n),E.then(p,p),!n.cache&&!t.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(g=$(n.cache)?n.cache:$(t.cache)?t.cache:_),g&&(C=g.get(M),b(C)?C&&S(C.then)?C.then(f,f):wr(C)?c(C[1],C[0],ft(C[2]),C[3],C[4]):c(C,200,{},"OK","complete"):g.put(M,E)),y(C)&&((C=dn(n.url)?s()[n.xsrfCookieName||t.xsrfCookieName]:void 0)&&(D[n.xsrfHeaderName||t.xsrfHeaderName]=C),a(n.method,M,r,u,D,n.timeout,n.withCredentials,n.responseType,i(n.eventHandlers),i(n.uploadEventHandlers))),E}function v(t,e){return 0<e.length&&(t+=(-1===t.indexOf("?")?"?":"&")+e),t}function w(t,e){var n=t.split("?");if(2<n.length)throw Ci("badjsonp",t);return n=G(n[1]),o(n,function(n,r){if("JSON_CALLBACK"===n)throw Ci("badjsonp",t);if(r===e)throw Ci("badjsonp",e,t)}),t+=(-1===t.indexOf("?")?"?":"&")+e+"=JSON_CALLBACK"}var _=u("$http");t.paramSerializer=k(t.paramSerializer)?f.get(t.paramSerializer):t.paramSerializer;var C=[];return o(n,function(t){C.unshift(k(t)?f.get(t):f.invoke(t))}),m.pendingRequests=[],function(t){o(arguments,function(t){m[t]=function(e,n){return m(c({},n||{},{method:t,url:e}))}})}("get","delete","head","jsonp"),function(t){o(arguments,function(t){m[t]=function(e,n,r){return m(c({},r||{},{method:t,url:e,data:n}))}})}("post","put","patch"),m.defaults=t,m}]}function ve(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function ye(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(t,e,n,r){return be(t,r,t.defer,e,n[0])}]}function be(t,e,n,r,i){function a(t,e,n){t=t.replace("JSON_CALLBACK",e);var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=t,o.async=!0,a=function(t){o.removeEventListener("load",a),o.removeEventListener("error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";t&&("load"!==t.type||r.wasCalled(e)||(t={type:"error"}),u=t.type,s="error"===t.type?404:200),n&&n(s,u)},o.addEventListener("load",a),o.addEventListener("error",a),i.body.appendChild(o),a}return function(i,s,u,l,c,d,f,h,p,m){function g(){w&&w(),k&&k.abort()}function v(t,e,r,i,o,a){b(_)&&n.cancel(_),w=k=null,t(e,r,i,o,a)}if(s=s||t.url(),"jsonp"===cr(i))var $=r.createCallback(s),w=a(s,$,function(t,e){var n=200===t&&r.getResponse($);v(l,t,n,"",e,"complete"),r.removeCallback($)});else{var k=e(i,s);if(k.open(i,s,!0),o(c,function(t,e){b(t)&&k.setRequestHeader(e,t)}),k.onload=function(){var t=k.statusText||"",e="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status;0===n&&(n=e?200:"file"===cn(s).protocol?404:0),v(l,n,e,k.getAllResponseHeaders(),t,"complete")},k.onerror=function(){v(l,-1,null,null,"","error")},k.onabort=function(){v(l,-1,null,null,"","abort")},k.ontimeout=function(){v(l,-1,null,null,"","timeout")},o(p,function(t,e){k.addEventListener(e,t)}),o(m,function(t,e){k.upload.addEventListener(e,t)}),f&&(k.withCredentials=!0),h)try{k.responseType=h}catch(t){if("json"!==h)throw t}k.send(y(u)?null:u)}if(0<d)var _=n(g,d);else d&&S(d.then)&&d.then(g)}}function $e(){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(f,t).replace(h,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,f,h){function p(t){try{var e=t;return t=f?i.getTrusted(f,e):i.valueOf(e),h&&!b(t)?t:ct(t)}catch(t){r(xi.interr(o,t))}}if(!o.length||-1===o.indexOf(t)){var m;return u||(u=a(o),m=g(u),m.exp=o,m.expressions=[],m.$$watchDelegate=s),m}h=!!h;var v,$,w=0,k=[],_=[];m=o.length;for(var C=[],x=[];w<m;){if(-1===(v=o.indexOf(t,w))||-1===($=o.indexOf(e,v+l))){w!==m&&C.push(a(o.substring(w)));break}w!==v&&C.push(a(o.substring(w,v))),w=o.substring(v+l,$),k.push(w),_.push(n(w,p)),w=$+d,x.push(C.length),C.push("")}if(f&&1<C.length&&xi.throwNoconcat(o),!u||k.length){var S=function(t){for(var e=0,n=k.length;e<n;e++){if(h&&y(t[e]))return;C[x[e]]=t[e]}return C.join("")};return c(function(t){var e=0,n=k.length,i=Array(n);try{for(;e<n;e++)i[e]=_[e](t);return S(i)}catch(t){r(xi.interr(o,t))}},{exp:o,expressions:k,$$watchDelegate:function(t,e){var n;return t.$watchGroup(_,function(r,i){var o=S(r);e.call(this,o,r!==i?n:o,t),n=o})}})}}var l=t.length,d=e.length,f=new RegExp(t.replace(/./g,o),"g"),h=new RegExp(e.replace(/./g,o),"g");return u.startSymbol=function(){return t},u.endSymbol=function(){return e},u}]}function we(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(t,e,n,r,i){function o(o,s,u,l){function c(){d?o.apply(null,f):o(m)}var d=4<arguments.length,f=d?fr.call(arguments,4):[],h=e.setInterval,p=e.clearInterval,m=0,g=b(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=b(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):t.$evalAsync(c),v.notify(m++),0<u&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||t.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(t){return!!(t&&t.$$intervalId in a)&&(a[t.$$intervalId].promise.$$state.pur=!0,a[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete a[t.$$intervalId],!0)},o}]}function ke(t){t=t.split("/");for(var e=t.length;e--;)t[e]=K(t[e].replace(/%2F/g,"/"));return t.join("/")}function _e(t,e){var n=cn(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=f(n.port)||Di[n.protocol]||null}function Ce(t,e,n){if(Mi.test(t))throw Ai("badpath",t);var r="/"!==t.charAt(0);r&&(t="/"+t),t=cn(t);for(var r=(r&&"/"===t.pathname.charAt(0)?t.pathname.substring(1):t.pathname).split("/"),i=r.length;i--;)r[i]=decodeURIComponent(r[i]),n&&(r[i]=r[i].replace(/\//g,"%2F"));n=r.join("/"),e.$$path=n,e.$$search=G(t.search),e.$$hash=decodeURIComponent(t.hash),e.$$path&&"/"!==e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function xe(t,e){return t.slice(0,e.length)===e}function Se(t,e){if(xe(e,t))return e.substr(t.length)}function Ee(t){var e=t.indexOf("#");return-1===e?t:t.substr(0,e)}function De(t){return t.replace(/(#.+)|#$/,"$1")}function Ae(t,e,n){this.$$html5=!0,n=n||"",_e(t,this),this.$$parse=function(t){var n=Se(e,t);if(!k(n))throw Ai("ipthprfx",t,e);Ce(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=Z(this.$$search),n=this.$$hash?"#"+K(this.$$hash):"";this.$$url=ke(this.$$path)+(t?"?"+t:"")+n,this.$$absUrl=e+this.$$url.substr(1),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return b(o=Se(t,r))?(a=o,a=n&&b(o=Se(n,o))?e+(Se("/",o)||o):t+a):b(o=Se(e,r))?a=e+o:e===r+"/"&&(a=e),a&&this.$$parse(a),!!a}}function Me(t,e,n){_e(t,this),this.$$parse=function(r){var i,o=Se(t,r)||Se(e,r);y(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",y(o)&&(t=r,this.replace())):(i=Se(n,o),y(i)&&(i=o)),Ce(i,this,!1),r=this.$$path;var o=t,a=/^\/[A-Z]:(\/.*)/;xe(i,o)&&(i=i.replace(o,"")),a.exec(i)||(r=(i=a.exec(r))?i[1]:r),this.$$path=r,this.$$compose()},this.$$compose=function(){var e=Z(this.$$search),r=this.$$hash?"#"+K(this.$$hash):"";this.$$url=ke(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+(this.$$url?n+this.$$url:""),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(e,n){return Ee(t)===Ee(e)&&(this.$$parse(e),!0)}}function Te(t,e,n){this.$$html5=!0,Me.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return t===Ee(r)?o=r:(a=Se(e,r))?o=t+n+a:e===r+"/"&&(o=e),o&&this.$$parse(o),!!o},this.$$compose=function(){var e=Z(this.$$search),r=this.$$hash?"#"+K(this.$$hash):"";this.$$url=ke(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+n+this.$$url,this.$$urlUpdatedByLocation=!0}}function Oe(t){return function(){return this[t]}}function Pe(t,e){return function(n){return y(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function Fe(){var t="!",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return b(e)?(t=e,this):t},this.html5Mode=function(t){return M(t)?(e.enabled=t,this):$(t)?(M(t.enabled)&&(e.enabled=t.enabled),M(t.requireBase)&&(e.requireBase=t.requireBase),(M(t.rewriteLinks)||k(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=l.url(),o=l.$$state;try{r.url(t,e,n),l.$$state=r.state()}catch(t){throw l.url(i),l.$$state=o,t}}function u(t,e){n.$broadcast("$locationChangeSuccess",l.absUrl(),t,l.$$state,e)}var l,c;c=r.baseHref();var d,f=r.url();if(e.enabled){if(!c&&e.requireBase)throw Ai("nobase");d=f.substring(0,f.indexOf("/",f.indexOf("//")+2))+(c||"/"),c=i.history?Ae:Te}else d=Ee(f),c=Me;var h=d.substr(0,Ee(d).lastIndexOf("/")+1);l=new c(d,h,"#"+t),l.$$parseLinkUrl(f,f),l.$$state=r.state();var p=/^\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=ir(t.target);"a"!==F(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!k(i)||!y(s.attr(i))){var i=s.prop("href"),u=s.attr("href")||s.attr("xlink:href");$(i)&&"[object SVGAnimatedString]"===i.toString()&&(i=cn(i.animVal).href),p.test(i)||!i||s.attr("target")||t.isDefaultPrevented()||!l.$$parseLinkUrl(i,u)||(t.preventDefault(),l.absUrl()!==r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),De(l.absUrl())!==De(f)&&r.url(l.absUrl(),!0);var m=!0;return r.onUrlChange(function(t,e){xe(t,h)?(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;t=De(t),l.$$parse(t),l.$$state=e,r=n.$broadcast("$locationChangeStart",t,i,e,o).defaultPrevented,l.absUrl()===t&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(m=!1,u(i,o)))}),n.$$phase||n.$digest()):a.location.href=t}),n.$watch(function(){if(m||l.$$urlUpdatedByLocation){l.$$urlUpdatedByLocation=!1;var t=De(r.url()),e=De(l.absUrl()),o=r.state(),a=l.$$replace,c=t!==e||l.$$html5&&i.history&&o!==l.$$state;(m||c)&&(m=!1,n.$evalAsync(function(){var e=l.absUrl(),r=n.$broadcast("$locationChangeStart",e,t,l.$$state,o).defaultPrevented;l.absUrl()===e&&(r?(l.$$parse(t),l.$$state=o):(c&&s(e,a,o===l.$$state?null:l.$$state),u(t,o)))}))}l.$$replace=!1}),l}]}function Re(){var t=!0,e=this;this.debugEnabled=function(e){return b(e)?(t=e,this):t},this.$get=["$window",function(n){function r(t){return x(t)&&(t.stack&&a?t=t.message&&-1===t.stack.indexOf(t.message)?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}function i(t){var e=n.console||{},i=e[t]||e.log||p;return function(){var t=[];return o(arguments,function(e){t.push(r(e))}),Function.prototype.apply.call(i,e,t)}}var a=rr||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){t&&n.apply(e,arguments)}}()}}]}function Ve(t){return t+""}function Ne(t,e){return void 0!==t?t:e}function Le(t,e){return void 0===t?e:void 0===e?t:t+e}function Ie(t,e){switch(t.type){case Ni.MemberExpression:if(t.computed)return!1;break;case Ni.UnaryExpression:return 1;case Ni.BinaryExpression:return"+"!==t.operator&&1;case Ni.CallExpression:return!1}return void 0===e?Li:e}function je(t,e,n){var r,i,a=t.isPure=Ie(t,n);switch(t.type){case Ni.Program:r=!0,o(t.body,function(t){je(t.expression,e,a),r=r&&t.expression.constant}),t.constant=r;break;case Ni.Literal:t.constant=!0,t.toWatch=[];break;case Ni.UnaryExpression:je(t.argument,e,a),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case Ni.BinaryExpression:je(t.left,e,a),je(t.right,e,a),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case Ni.LogicalExpression:je(t.left,e,a),je(t.right,e,a),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case Ni.ConditionalExpression:je(t.test,e,a),je(t.alternate,e,a),je(t.consequent,e,a),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case Ni.Identifier:t.constant=!1,t.toWatch=[t];break;case Ni.MemberExpression:je(t.object,e,a),t.computed&&je(t.property,e,a),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=t.constant?[]:[t];break;case Ni.CallExpression:r=n=!!t.filter&&!e(t.callee.name).$stateful,i=[],o(t.arguments,function(t){je(t,e,a),r=r&&t.constant,i.push.apply(i,t.toWatch)}),t.constant=r,t.toWatch=n?i:[t];break;case Ni.AssignmentExpression:je(t.left,e,a),je(t.right,e,a),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case Ni.ArrayExpression:r=!0,i=[],o(t.elements,function(t){je(t,e,a),r=r&&t.constant,i.push.apply(i,t.toWatch)}),t.constant=r,t.toWatch=i;break;case Ni.ObjectExpression:r=!0,i=[],o(t.properties,function(t){je(t.value,e,a),r=r&&t.value.constant,i.push.apply(i,t.value.toWatch),t.computed&&(je(t.key,e,!1),r=r&&t.key.constant,i.push.apply(i,t.key.toWatch))}),t.constant=r,t.toWatch=i;break;case Ni.ThisExpression:t.constant=!1,t.toWatch=[];break;case Ni.LocalsExpression:t.constant=!1,t.toWatch=[]}}function Be(t){if(1===t.length){t=t[0].expression;var e=t.toWatch;return 1!==e.length?e:e[0]!==t?e:void 0}}function He(t){return t.type===Ni.Identifier||t.type===Ni.MemberExpression}function Ue(t){if(1===t.body.length&&He(t.body[0].expression))return{type:Ni.AssignmentExpression,left:t.body[0].expression,right:{type:Ni.NGValueParameter},operator:"="}}function Ye(t){this.$filter=t}function ze(t){this.$filter=t}function qe(t,e,n){this.ast=new Ni(t,n),this.astCompiler=n.csp?new ze(e):new Ye(e)}function We(t){return S(t.valueOf)?t.valueOf():Pi.call(t)}function Ge(){var t,e,n=lt(),r={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(t,e){r[t]=e},this.setIdentifierFns=function(n,r){return t=n,e=r,this},this.$get=["$filter",function(i){function a(t,e){var r,o;switch(typeof t){case"string":return o=t=t.trim(),r=n[o],r||(r=new Vi(h),r=new qe(r,i,h).parse(t),r.constant?r.$$watchDelegate=d:r.oneTime?r.$$watchDelegate=r.literal?c:l:r.inputs&&(r.$$watchDelegate=u),n[o]=r),f(r,e);case"function":return f(t,e);default:return f(p,e)}}function s(t,e,n){return null==t||null==e?t===e:!("object"==typeof t&&"object"==typeof(t=We(t))&&!n)&&(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,a=a[0];return t.$watch(function(t){var e=a(t);return s(e,u,a.isPure)||(o=r(t,void 0,void 0,[e]),u=e&&We(e)),o},e,n,i)}for(var l=[],c=[],d=0,f=a.length;d<f;d++)l[d]=s,c[d]=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,l[n],a[n].isPure)))&&(c[n]=u,l[n]=u&&We(u))}return e&&(o=r(t,void 0,void 0,c)),o},e,n,i)}function l(t,e,n,r,i){function o(t){return r(t)}function a(t,n,r){l=t,S(e)&&e(t,n,r),b(t)&&r.$$postDigest(function(){b(l)&&s()})}var s,l;return s=r.inputs?u(t,a,n,r,i):t.$watch(o,a,n)}function c(t,e,n,r){function i(t){var e=!0;return o(t,function(t){b(t)||(e=!1)}),e}var a,s;return a=t.$watch(function(t){return r(t)},function(t,n,r){s=t,S(e)&&e(t,n,r),i(t)&&r.$$postDigest(function(){i(s)&&a()})},n)}function d(t,e,n,r){var i=t.$watch(function(t){return i(),r(t)},e,n);return i}function f(t,e){if(!e)return t;var n=t.$$watchDelegate,r=!1,i=n!==c&&n!==l?function(n,i,o,a){return o=r&&a?a[0]:t(n,i,o,a),e(o,n,i)}:function(n,r,i,o){return i=t(n,r,i,o),n=e(i,n,r),b(i)?n:i},r=!t.inputs;return n&&n!==u?(i.$$watchDelegate=n,i.inputs=t.inputs):e.$stateful||(i.$$watchDelegate=u,i.inputs=t.inputs?t.inputs:[t]),i.inputs&&(i.inputs=i.inputs.map(function(t){
return t.isPure===Li?function(e){return t(e)}:t})),i}var h={csp:xr().noUnsafeEval,literals:V(r),isIdentifierStart:S(t)&&t,isIdentifierContinue:S(e)&&e};return a.$$getAst=function(t){return new qe(new Vi(h),i,h).getAst(t).ast},a}]}function Ze(){var t=!0;this.$get=["$rootScope","$exceptionHandler",function(e,n){return Je(function(t){e.$evalAsync(t)},n,t)}],this.errorOnUnhandledRejections=function(e){return b(e)?(t=e,this):t}}function Ke(){var t=!0;this.$get=["$browser","$exceptionHandler",function(e,n){return Je(function(t){e.defer(t)},n,t)}],this.errorOnUnhandledRejections=function(e){return b(e)?(t=e,this):t}}function Je(t,e,n){function i(){return new a}function a(){var t=this.promise=new s;this.resolve=function(e){d(t,e)},this.reject=function(e){h(t,e)},this.notify=function(e){m(t,e)}}function s(){this.$$state={status:0}}function u(){for(;!_&&C.length;){var t=C.shift();if(!t.pur){t.pur=!0;var n=t.value,n="Possibly unhandled rejection: "+("function"==typeof n?n.toString().replace(/ \{[\s\S]*$/,""):y(n)?"undefined":"string"!=typeof n?ht(n,void 0):n);x(t.value)?e(t.value,n):e(n)}}}function l(r){!n||r.pending||2!==r.status||r.pur||(0===_&&0===C.length&&t(u),C.push(r)),!r.processScheduled&&r.pending&&(r.processScheduled=!0,++_,t(function(){var i,o,a;a=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var s=0,l=a.length;s<l;++s){r.pur=!0,o=a[s][0],i=a[s][r.status];try{S(i)?d(o,i(r.value)):1===r.status?d(o,r.value):h(o,r.value)}catch(t){h(o,t),t&&!0===t.$$passToExceptionHandler&&e(t)}}}finally{--_,n&&0===_&&t(u)}}))}function d(t,e){t.$$state.status||(e===t?p(t,k("qcycle",e)):f(t,e))}function f(t,e){function n(e){a||(a=!0,f(t,e))}function r(e){a||(a=!0,p(t,e))}function i(e){m(t,e)}var o,a=!1;try{($(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,l(t.$$state))}catch(t){r(t)}}function h(t,e){t.$$state.status||p(t,e)}function p(t,e){t.$$state.value=e,t.$$state.status=2,l(t.$$state)}function m(n,r){var i=n.$$state.pending;0>=n.$$state.status&&i&&i.length&&t(function(){for(var t,n,o=0,a=i.length;o<a;o++){n=i[o][0],t=i[o][3];try{m(n,S(t)?t(r):r)}catch(t){e(t)}}})}function g(t){var e=new s;return h(e,t),e}function v(t,e,n){var r=null;try{S(n)&&(r=n())}catch(t){return g(t)}return r&&S(r.then)?r.then(function(){return e(t)},g):e(t)}function b(t,e,n,r){var i=new s;return d(i,t),i.then(e,n,r)}function w(t){if(!S(t))throw k("norslvr",t);var e=new s;return t(function(t){d(e,t)},function(t){h(e,t)}),e}var k=r("$q",TypeError),_=0,C=[];c(s.prototype,{then:function(t,e,n){if(y(t)&&y(e)&&y(n))return this;var r=new s;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,t,e,n]),0<this.$$state.status&&l(this.$$state),r},catch:function(t){return this.then(null,t)},finally:function(t,e){return this.then(function(e){return v(e,E,t)},function(e){return v(e,g,t)},e)}});var E=b;return w.prototype=s.prototype,w.defer=i,w.reject=g,w.when=b,w.resolve=E,w.all=function(t){var e=new s,n=0,r=wr(t)?[]:{};return o(t,function(t,i){n++,b(t).then(function(t){r[i]=t,--n||d(e,r)},function(t){h(e,t)})}),0===n&&d(e,r),e},w.race=function(t){var e=i();return o(t,function(t){b(t).then(e.resolve,e.reject)}),e.promise},w}function Xe(){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 Qe(){function t(t){function e(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=++br,this.$$ChildScope=null}return e.prototype=t,e}var e=10,n=r("$rootScope"),a=null,s=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$exceptionHandler","$parse","$browser",function(r,u,l){function c(t){t.currentScope.$$destroyed=!0}function d(t){9===rr&&(t.$$childHead&&d(t.$$childHead),t.$$nextSibling&&d(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}function f(){this.$id=++br,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 h(t){if(k.$$phase)throw n("inprog",k.$$phase);k.$$phase=t}function m(t,e){do{t.$$watchersCount+=e}while(t=t.$parent)}function g(t,e,n){do{t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n]}while(t=t.$parent)}function v(){}function b(){for(;x.length;)try{x.shift()()}catch(t){r(t)}s=null}function w(){null===s&&(s=l.defer(function(){k.$apply(b)}))}f.prototype={constructor:f,$new:function(e,n){var r;return n=n||this,e?(r=new f,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",c),r},$watch:function(t,e,n,r){var i=u(t);if(e=S(e)?e:p,i.$$watchDelegate)return i.$$watchDelegate(this,e,n,i,t);var o=this,s=o.$$watchers,l={fn:e,last:v,get:i,exp:r||t,eq:!!n};return a=null,s||(s=o.$$watchers=[],s.$$digestWatchIndex=-1),s.unshift(l),s.$$digestWatchIndex++,m(this,1),function(){var t=R(s,l);0<=t&&(m(o,-1),t<s.$$digestWatchIndex&&s.$$digestWatchIndex--),a=null}},$watchGroup:function(t,e){function n(){u=!1,l?(l=!1,e(i,i,s)):e(i,r,s)}var r=Array(t.length),i=Array(t.length),a=[],s=this,u=!1,l=!0;if(!t.length){var c=!0;return s.$evalAsync(function(){c&&e(i,i,s)}),function(){c=!1}}return 1===t.length?this.$watch(t[0],function(t,n,o){i[0]=t,r[0]=n,e(i,t===n?i:r,o)}):(o(t,function(t,e){var o=s.$watch(t,function(t,o){i[e]=t,r[e]=o,u||(u=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(t,e){function n(t){r=t;var e,n,a;if(!y(r)){if($(r))if(i(r))for(o!==f&&(o=f,m=o.length=0,c++),t=r.length,m!==t&&(c++,o.length=m=t),e=0;e<t;e++)a=o[e],n=r[e],a!==a&&n!==n||a===n||(c++,o[e]=n);else{o!==h&&(o=h={},m=0,c++),t=0;for(e in r)lr.call(r,e)&&(t++,n=r[e],a=o[e],e in o?a!==a&&n!==n||a===n||(c++,o[e]=n):(m++,o[e]=n,c++));if(m>t)for(e in c++,o)lr.call(r,e)||(m--,delete o[e])}else o!==r&&(o=r,c++);return c}}n.$stateful=!0;var r,o,a,s=this,l=1<e.length,c=0,d=u(t,n),f=[],h={},p=!0,m=0;return this.$watch(d,function(){if(p?(p=!1,e(r,r,s)):e(r,a,s),l)if($(r))if(i(r)){a=Array(r.length);for(var t=0;t<r.length;t++)a[t]=r[t]}else for(t in a={},r)lr.call(r,t)&&(a[t]=r[t]);else a=r})},$digest:function(){var t,i,o,u,c,d,f,p,m,g,y=e,$=[];h("$digest"),l.$$checkUrlChange(),this===k&&null!==s&&(l.defer.cancel(s),b()),a=null;do{for(f=!1,p=this,d=0;d<_.length;d++){try{g=_[d],(u=g.fn)(g.scope,g.locals)}catch(t){r(t)}a=null}_.length=0;t:do{if(d=p.$$watchers)for(d.$$digestWatchIndex=d.length;d.$$digestWatchIndex--;)try{if(t=d[d.$$digestWatchIndex])if(c=t.get,(i=c(p))===(o=t.last)||(t.eq?L(i,o):$r(i)&&$r(o))){if(t===a){f=!1;break t}}else f=!0,a=t,t.last=t.eq?V(i,null):i,u=t.fn,u(i,o===v?i:o,p),5>y&&(m=4-y,$[m]||($[m]=[]),$[m].push({msg:S(t.exp)?"fn: "+(t.exp.name||t.exp.toString()):t.exp,newVal:i,oldVal:o}))}catch(t){r(t)}if(!(d=p.$$watchersCount&&p.$$childHead||p!==this&&p.$$nextSibling))for(;p!==this&&!(d=p.$$nextSibling);)p=p.$parent}while(p=d);if((f||_.length)&&!y--)throw k.$$phase=null,n("infdig",e,$)}while(f||_.length);for(k.$$phase=null;E<C.length;)try{C[E++]()}catch(t){r(t)}C.length=E=0,l.$$checkUrlChange()},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===k&&l.$$applicationDestroyed(),m(this,-this.$$watchersCount);for(var e in this.$$listenerCount)g(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,d(this)}},$eval:function(t,e){return u(t)(this,e)},$evalAsync:function(t,e){k.$$phase||_.length||l.defer(function(){_.length&&k.$digest()}),_.push({scope:this,fn:u(t),locals:e})},$$postDigest:function(t){C.push(t)},$apply:function(t){try{h("$apply");try{return this.$eval(t)}finally{k.$$phase=null}}catch(t){r(t)}finally{try{k.$digest()}catch(t){throw r(t),t}}},$applyAsync:function(t){function e(){n.$eval(t)}var n=this;t&&x.push(e),t=u(t),w()},$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);-1!==r&&(delete n[r],g(i,1,t))}},$emit:function(t,e){var n,i,o,a=[],s=this,u=!1,l={name:t,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=I([l],arguments,1);do{for(n=s.$$listeners[t]||a,l.currentScope=s,i=0,o=n.length;i<o;i++)if(n[i])try{n[i].apply(null,c)}catch(t){r(t)}else n.splice(i,1),i--,o--;if(u)break;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(t,e){var n=this,i=this,o={name:t,targetScope:this,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[t])return o;for(var a,s,u=I([o],arguments,1);n=i;){for(o.currentScope=n,i=n.$$listeners[t]||[],a=0,s=i.length;a<s;a++)if(i[a])try{i[a].apply(null,u)}catch(t){r(t)}else i.splice(a,1),a--,s--;if(!(i=n.$$listenerCount[t]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(i=n.$$nextSibling);)n=n.$parent}return o.currentScope=null,o}};var k=new f,_=k.$$asyncQueue=[],C=k.$$postDigestQueue=[],x=k.$$applyAsyncQueue=[],E=0;return k}]}function tn(){var t=/^\s*(https?|s?ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return b(e)?(t=e,this):t},this.imgSrcSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.$get=function(){return function(n,r){var i,o=r?e:t;return i=cn(n&&n.trim()).href,""===i||i.match(o)?n:"unsafe:"+i}}}function en(t){if("self"===t)return t;if(k(t)){if(-1<t.indexOf("***"))throw Ii("iwcard",t);return t=Cr(t).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+t+"$")}if(E(t))return new RegExp("^"+t.source+"$");throw Ii("imatcher")}function nn(t){var e=[];return b(t)&&o(t,function(t){e.push(en(t))}),e}function rn(){this.SCE_CONTEXTS=ji;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=nn(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=nn(t)),e},this.$get=["$injector",function(n){function r(t,e){return"self"===t?dn(e):!!t.exec(e.href)}function i(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}var o=function(t){throw Ii("unsafe")};n.has("$sanitize")&&(o=n.get("$sanitize"));var a=i(),s={};return s[ji.HTML]=i(a),s[ji.CSS]=i(a),s[ji.URL]=i(a),s[ji.JS]=i(a),s[ji.RESOURCE_URL]=i(s[ji.URL]),{trustAs:function(t,e){var n=s.hasOwnProperty(t)?s[t]:null;if(!n)throw Ii("icontext",t,e);if(null===e||y(e)||""===e)return e;if("string"!=typeof e)throw Ii("itype",t);return new n(e)},getTrusted:function(n,i){if(null===i||y(i)||""===i)return i;var a=s.hasOwnProperty(n)?s[n]:null;if(a&&i instanceof a)return i.$$unwrapTrustedValue();if(n===ji.RESOURCE_URL){var u,l,a=cn(i.toString()),c=!1;for(u=0,l=t.length;u<l;u++)if(r(t[u],a)){c=!0;break}if(c)for(u=0,l=e.length;u<l;u++)if(r(e[u],a)){c=!1;break}if(c)return i;throw Ii("insecurl",i.toString())}if(n===ji.HTML)return o(i);throw Ii("unsafe")},valueOf:function(t){return t instanceof a?t.$$unwrapTrustedValue():t}}}]}function on(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(e,n){if(t&&8>rr)throw Ii("iequirks");var r=ft(ji);r.isEnabled=function(){return t},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,t||(r.trustAs=r.getTrusted=function(t,e){return e},r.valueOf=m),r.parseAs=function(t,n){var i=e(n);return i.literal&&i.constant?i:e(n,function(e){return r.getTrusted(t,e)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(ji,function(t,e){var n=cr(e);r[("parse_as_"+n).replace(Bi,pt)]=function(e){return i(t,e)},r[("get_trusted_"+n).replace(Bi,pt)]=function(e){return a(t,e)},r[("trust_as_"+n).replace(Bi,pt)]=function(e){return s(t,e)}}),r}]}function an(){this.$get=["$window","$document",function(t,e){var n={},r=!((!t.nw||!t.nw.process)&&t.chrome&&(t.chrome.app&&t.chrome.app.runtime||!t.chrome.app&&t.chrome.runtime&&t.chrome.runtime.id))&&t.history&&t.history.pushState,i=f((/android (\d+)/.exec(cr((t.navigator||{}).userAgent))||[])[1]),o=/Boxee/i.test((t.navigator||{}).userAgent),a=e[0]||{},s=a.body&&a.body.style,u=!1,l=!1;return s&&(u=!!("transition"in s||"webkitTransition"in s),l=!!("animation"in s||"webkitAnimation"in s)),{history:!(!r||4>i||o),hasEvent:function(t){if("input"===t&&rr)return!1;if(y(n[t])){var e=a.createElement("div");n[t]="on"+t in e}return n[t]},csp:xr(),transitions:u,animations:l,android:i}}]}function sn(){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){a.totalPendingRequests++,k(s)&&!y(n.get(s))||(s=o.getTrustedResourceUrl(s));var l=r.defaults&&r.defaults.transformResponse;return wr(l)?l=l.filter(function(t){return t!==fe}):l===fe&&(l=null),r.get(s,c({cache:n,transformResponse:l},t)).finally(function(){a.totalPendingRequests--}).then(function(t){return n.put(s,t.data),t.data},function(t){return u||(t=Hi("tpload",s,t.status,t.statusText),e(t)),i.reject(t)})}return a.totalPendingRequests=0,a}]}function un(){this.$get=["$rootScope","$browser","$location",function(t,e,n){return{findBindings:function(t,e,n){t=t.getElementsByClassName("ng-binding");var r=[];return o(t,function(t){var i=yr.element(t).data("$binding");i&&o(i,function(i){n?new RegExp("(^|\\s)"+Cr(e)+"(\\s|\\||$)").test(i)&&r.push(t):-1!==i.indexOf(e)&&r.push(t)})}),r},findModels:function(t,e,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=t.querySelectorAll("["+r[i]+"model"+(n?"=":"*=")+'"'+e+'"]');if(o.length)return o}},getLocation:function(){return n.url()},setLocation:function(e){e!==n.url()&&(n.url(e),t.$digest())},whenStable:function(t){e.notifyWhenNoOutstandingRequests(t)}}}]}function ln(){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 l,c=fr.call(arguments,3),d=b(u)&&!u,f=(d?r:n).defer(),h=f.promise;return l=e.defer(function(){try{f.resolve(o.apply(null,c))}catch(t){f.reject(t),i(t)}finally{delete a[h.$$timeoutId]}d||t.$apply()},s),h.$$timeoutId=l,a[l]=f,h}var a={};return o.cancel=function(t){return!!(t&&t.$$timeoutId in a)&&(a[t.$$timeoutId].promise.$$state.pur=!0,a[t.$$timeoutId].reject("canceled"),delete a[t.$$timeoutId],e.defer.cancel(t.$$timeoutId))},o}]}function cn(t){return rr&&(Ui.setAttribute("href",t),t=Ui.href),Ui.setAttribute("href",t),{href:Ui.href,protocol:Ui.protocol?Ui.protocol.replace(/:$/,""):"",host:Ui.host,search:Ui.search?Ui.search.replace(/^\?/,""):"",hash:Ui.hash?Ui.hash.replace(/^#/,""):"",hostname:Ui.hostname,port:Ui.port,pathname:"/"===Ui.pathname.charAt(0)?Ui.pathname:"/"+Ui.pathname}}function dn(t){return t=k(t)?cn(t):t,t.protocol===Yi.protocol&&t.host===Yi.host}function fn(){this.$get=g(t)}function hn(t){function e(t){try{return decodeURIComponent(t)}catch(e){return t}}var n=t[0]||{},r={},i="";return function(){var t,o,a,s,u;try{t=n.cookie||""}catch(e){t=""}if(t!==i)for(i=t,t=i.split("; "),r={},a=0;a<t.length;a++)o=t[a],0<(s=o.indexOf("="))&&(u=e(o.substring(0,s)),y(r[u])&&(r[u]=e(o.substring(s+1))));return r}}function pn(){this.$get=hn}function mn(t){function e(n,r){if($(n)){var i={};return o(n,function(t,n){i[n]=e(n,t)}),i}return t.factory(n+"Filter",r)}this.register=e,this.$get=["$injector",function(t){return function(e){return t.get(e+"Filter")}}],e("currency",$n),e("date",Tn),e("filter",gn),e("json",On),e("limitTo",Pn),e("lowercase",Ji),e("number",wn),e("orderBy",Rn),e("uppercase",Xi)}function gn(){return function(t,e,n,o){if(!i(t)){if(null==t)return t;throw r("filter")("notarray",t)}o=o||"$";var a;switch(bn(e)){case"function":break;case"boolean":case"null":case"number":case"string":a=!0;case"object":e=vn(e,n,o,a);break;default:return t}return Array.prototype.filter.call(t,e)}}function vn(t,e,n,r){var i=$(t)&&n in t;return!0===e?e=L:S(e)||(e=function(t,e){return!y(t)&&(null===t||null===e?t===e:!($(e)||$(t)&&!v(t))&&(t=cr(""+t),e=cr(""+e),-1!==t.indexOf(e)))}),function(o){return i&&!$(o)?yn(o,t[n],e,n,!1):yn(o,t,e,n,r)}}function yn(t,e,n,r,i,o){var a=bn(t),s=bn(e);if("string"===s&&"!"===e.charAt(0))return!yn(t,e.substring(1),n,r,i);if(wr(t))return t.some(function(t){return yn(t,e,n,r,i)});switch(a){case"object":var u;if(i){for(u in t)if(u.charAt&&"$"!==u.charAt(0)&&yn(t[u],e,n,r,!0))return!0;return!o&&yn(t,e,n,r,!1)}if("object"===s){for(u in e)if(o=e[u],!S(o)&&!y(o)&&(a=u===r,!yn(a?t:t[u],o,n,r,a,a)))return!1;return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function bn(t){return null===t?"null":typeof t}function $n(t){var e=t.NUMBER_FORMATS;return function(t,n,r){y(n)&&(n=e.CURRENCY_SYM),y(r)&&(r=e.PATTERNS[1].maxFrac);var i=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==t?t:Cn(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,r).replace(i,n)}}function wn(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:Cn(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function kn(t){var e,n,r,i,o,a=0;for(-1<(n=t.indexOf(qi))&&(t=t.replace(qi,"")),0<(r=t.search(/e/i))?(0>n&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):0>n&&(n=t.length),r=0;t.charAt(r)===Wi;r++);if(r===(o=t.length))e=[0],n=1;else{for(o--;t.charAt(o)===Wi;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+t.charAt(r)}return n>zi&&(e=e.splice(0,zi-1),a=n-1,n=1),{d:e,e:a,i:n}}function _n(t,e,n,r){var i=t.d,o=i.length-t.i;if(e=y(e)?Math.min(Math.max(n,o),r):+e,n=e+t.i,r=i[n],0<n){i.splice(Math.max(t.i,n));for(var a=n;a<i.length;a++)i[a]=0}else for(o=Math.max(0,o),t.i=1,i.length=Math.max(1,n=e+1),i[0]=0,a=1;a<n;a++)i[a]=0;if(5<=r)if(0>n-1){for(r=0;r>n;r--)i.unshift(0),t.i++;i.unshift(1),t.i++}else i[n-1]++;for(;o<Math.max(0,e);o++)i.push(0);(e=i.reduceRight(function(t,e,n,r){return e+=t,r[n]=e%10,Math.floor(e/10)},0))&&(i.unshift(e),t.i++)}function Cn(t,e,n,r,i){if(!k(t)&&!_(t)||isNaN(t))return"";var o=!isFinite(t),a=!1,s=Math.abs(t)+"",u="";if(o)u="∞";else{for(a=kn(s),_n(a,i,e.minFrac,e.maxFrac),u=a.d,s=a.i,i=a.e,o=[],a=u.reduce(function(t,e){return t&&!e},!0);0>s;)u.unshift(0),s++;for(0<s?o=u.splice(s,u.length):(o=u,u=[0]),s=[],u.length>=e.lgSize&&s.unshift(u.splice(-e.lgSize,u.length).join(""));u.length>e.gSize;)s.unshift(u.splice(-e.gSize,u.length).join(""));u.length&&s.unshift(u.join("")),u=s.join(n),o.length&&(u+=r+o.join("")),i&&(u+="e+"+i)}return 0>t&&!a?e.negPre+u+e.negSuf:e.posPre+u+e.posSuf}function xn(t,e,n,r){var i="";for((0>t||r&&0>=t)&&(r?t=1-t:(t=-t,i="-")),t=""+t;t.length<e;)t=Wi+t;return n&&(t=t.substr(t.length-e)),i+t}function Sn(t,e,n,r,i){return n=n||0,function(o){return o=o["get"+t](),(0<n||o>-n)&&(o+=n),0===o&&-12===n&&(o=12),xn(o,e,r,i)}}function En(t,e,n){return function(r,i){var o=r["get"+t]();return i[dr((n?"STANDALONE":"")+(e?"SHORT":"")+t)][o]}}function Dn(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(4>=e?5:12)-e)}function An(t){return function(e){var n=Dn(e.getFullYear());return e=+new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))-+n,e=1+Math.round(e/6048e5),xn(e,t)}}function Mn(t,e){return 0>=t.getFullYear()?e.ERAS[0]:e.ERAS[1]}function Tn(t){function e(t){var e;if(e=t.match(n)){t=new Date(0);var r=0,i=0,o=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=f(e[9]+e[10]),i=f(e[9]+e[11])),o.call(t,f(e[1]),f(e[2])-1,f(e[3])),r=f(e[4]||0)-r,i=f(e[5]||0)-i,o=f(e[6]||0),e=Math.round(1e3*parseFloat("0."+(e[7]||0))),a.call(t,r,i,o,e)}return t}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var a,s,u="",l=[];if(r=r||"mediumDate",r=t.DATETIME_FORMATS[r]||r,k(n)&&(n=Ki.test(n)?f(n):e(n)),_(n)&&(n=new Date(n)),!C(n)||!isFinite(n.getTime()))return n;for(;r;)(s=Zi.exec(r))?(l=I(l,s,1),r=l.pop()):(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=Y(i,c),n=z(n,i,!0)),o(l,function(e){a=Gi[e],u+=a?a(n,t.DATETIME_FORMATS,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function On(){return function(t,e){return y(e)&&(e=2),H(t,e)}}function Pn(){return function(t,e,n){return e=1/0===Math.abs(Number(e))?Number(e):f(e),$r(e)?t:(_(t)&&(t=t.toString()),i(t)?(n=!n||isNaN(n)?0:f(n),n=0>n?Math.max(0,t.length+n):n,0<=e?Fn(t,n,n+e):0===n?Fn(t,e,t.length):Fn(t,Math.max(0,n+e),n)):t)}}function Fn(t,e,n){return k(t)?t.slice(e,n):fr.call(t,e,n)}function Rn(t){function e(e){return e.map(function(e){var n=1,r=m;if(S(e))r=e;else if(k(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 n(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function o(t,e){var n=0,r=t.type,i=e.type;if(r===i){var i=t.value,o=e.value;"string"===r?(i=i.toLowerCase(),o=o.toLowerCase()):"object"===r&&($(i)&&(i=t.index),$(o)&&(o=e.index)),i!==o&&(n=i<o?-1:1)}else n=r<i?-1:1;return n}return function(t,a,s,u){if(null==t)return t;if(!i(t))throw r("orderBy")("notarray",t);wr(a)||(a=[a]),0===a.length&&(a=["+"]);var l=e(a),c=s?-1:1,d=S(u)?u:o;return t=Array.prototype.map.call(t,function(t,e){return{value:t,tieBreaker:{value:e,type:"number",index:e},predicateValues:l.map(function(r){var i=r.get(t);return r=typeof i,null===i?(r="string",i="null"):"object"===r&&(S(i.valueOf)&&(i=i.valueOf(),n(i))||v(i)&&(i=i.toString(),n(i))),{value:i,type:r,index:e}})}}),t.sort(function(t,e){for(var n=0,r=l.length;n<r;n++){var i=d(t.predicateValues[n],e.predicateValues[n]);if(i)return i*l[n].descending*c}return(d(t.tieBreaker,e.tieBreaker)||o(t.tieBreaker,e.tieBreaker))*c}),t=t.map(function(t){return t.value})}}function Vn(t){return S(t)&&(t={link:t}),t.restrict=t.restrict||"AC",g(t)}function Nn(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.$valid=this.$pristine=!0,this.$submitted=this.$invalid=!1,this.$$parentForm=eo,this.$$element=t,this.$$animate=r,Ln(this)}function Ln(t){t.$$classCache={},t.$$classCache[No]=!(t.$$classCache[Vo]=t.$$element.hasClass(Vo))}function In(t){function e(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 n(t,n,r){n=n?"-"+rt(n,"-"):"",e(t,Vo+n,!0===r),e(t,No+n,!1===r)}var r=t.set,i=t.unset;t.clazz.prototype.$setValidity=function(t,o,a){y(o)?(this.$pending||(this.$pending={}),r(this.$pending,t,a)):(this.$pending&&i(this.$pending,t,a),jn(this.$pending)&&(this.$pending=void 0)),M(o)?o?(i(this.$error,t,a),r(this.$$success,t,a)):(r(this.$error,t,a),i(this.$$success,t,a)):(i(this.$error,t,a),i(this.$$success,t,a)),this.$pending?(e(this,"ng-pending",!0),this.$valid=this.$invalid=void 0,n(this,"",null)):(e(this,"ng-pending",!1),this.$valid=jn(this.$error),this.$invalid=!this.$valid,n(this,"",this.$valid)),o=this.$pending&&this.$pending[t]?void 0:!this.$error[t]&&(!!this.$$success[t]||null),n(this,t,o),this.$$parentForm.$setValidity(t,o,this)}}function jn(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function Bn(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function Hn(t,e,n,r,i,o){var a=cr(e[0].type);if(!i.android){var s=!1;e.on("compositionstart",function(){s=!0}),e.on("compositionend",function(){s=!1,l()})}var u,l=function(t){if(u&&(o.defer.cancel(u),u=null),!s){var i=e.val();t=t&&t.type,"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=_r(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,t)}};if(i.hasEvent("input"))e.on("input",l);else{var c=function(t,e,n){u||(u=o.defer(function(){u=null,e&&e.value===n||l(t)}))};e.on("keydown",function(t){var e=t.keyCode;91===e||15<e&&19>e||37<=e&&40>=e||c(t,this,this.value)}),i.hasEvent("paste")&&e.on("paste cut drop",c)}e.on("change",l),mo[a]&&r.$$hasNativeValidators&&a===n.type&&e.on("keydown wheel mousedown",function(t){if(!u){var e=this.validity,n=e.badInput,r=e.typeMismatch;u=o.defer(function(){u=null,e.badInput===n&&e.typeMismatch===r||l(t)})}}),r.$render=function(){var t=r.$isEmpty(r.$viewValue)?"":r.$viewValue;e.val()!==t&&e.val(t)}}function Un(t,e){return function(n,r){var i,a;if(C(n))return n;if(k(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),oo.test(n))return new Date(n);if(t.lastIndex=0,i=t.exec(n))return i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(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 Yn(t,e,n,r){return function(i,o,a,s,u,l,c){function d(t){return t&&!(t.getTime&&t.getTime()!==t.getTime())}function f(t){return b(t)&&!C(t)?n(t)||void 0:t}zn(i,o,a,s),Hn(i,o,a,s,u,l);var h,p=s&&s.$options.getOption("timezone");if(s.$$parserName=t,s.$parsers.push(function(t){return s.$isEmpty(t)?null:e.test(t)?(t=n(t,h),p&&(t=z(t,p)),t):void 0}),s.$formatters.push(function(t){if(t&&!C(t))throw jo("datefmt",t);return d(t)?((h=t)&&p&&(h=z(h,p,!0)),c("date")(t,r,p)):(h=null,"")}),b(a.min)||a.ngMin){var m;s.$validators.min=function(t){return!d(t)||y(m)||n(t)>=m},a.$observe("min",function(t){m=f(t),s.$validate()})}if(b(a.max)||a.ngMax){var g;s.$validators.max=function(t){return!d(t)||y(g)||n(t)<=g},a.$observe("max",function(t){g=f(t),s.$validate()})}}}function zn(t,e,n,r){(r.$$hasNativeValidators=$(e[0].validity))&&r.$parsers.push(function(t){var n=e.prop("validity")||{};return n.badInput||n.typeMismatch?void 0:t})}function qn(t){t.$$parserName="number",t.$parsers.push(function(e){return t.$isEmpty(e)?null:uo.test(e)?parseFloat(e):void 0}),t.$formatters.push(function(e){if(!t.$isEmpty(e)){if(!_(e))throw jo("numfmt",e);e=e.toString()}return e})}function Wn(t){return b(t)&&!_(t)&&(t=parseFloat(t)),$r(t)?void 0:t}function Gn(t){var e=t.toString(),n=e.indexOf(".");return-1===n?-1<t&&1>t&&(t=/e-(\d+)$/.exec(e))?Number(t[1]):0:e.length-n-1}function Zn(t,e,n){t=Number(t);var r=(0|t)!==t,i=(0|e)!==e,o=(0|n)!==n;if(r||i||o){var a=r?Gn(t):0,s=i?Gn(e):0,u=o?Gn(n):0,a=Math.max(a,s,u),a=Math.pow(10,a);t*=a,e*=a,n*=a,r&&(t=Math.round(t)),i&&(e=Math.round(e)),o&&(n=Math.round(n))}return 0==(t-e)%n}function Kn(t,e,n,r,i){if(b(r)){if(t=t(r),!t.constant)throw jo("constexpr",n,r);return t(e)}return i}function Jn(t,e){function n(t,e){if(!t||!t.length)return[];if(!e||!e.length)return t;var n=[],r=0;t:for(;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 r(t){var e=t;return wr(t)?e=t.map(r).join(" "):$(t)&&(e=Object.keys(t).filter(function(e){return t[e]}).join(" ")),e}function i(t){var e=t;if(wr(t))e=t.map(i);else if($(t)){var n=!1,e=Object.keys(t).filter(function(e){return e=t[e],!n&&y(e)&&(n=!0),e});n&&e.push(void 0)}return e}t="ngClass"+t;var a;return["$parse",function(s){return{restrict:"AC",link:function(u,l,c){function d(t,e){var n=[];return o(t,function(t){(0<e||b[t])&&(b[t]=(b[t]||0)+e,b[t]===+(0<e)&&n.push(t))}),n.join(" ")}function f(t){if(t===e){var n=m,n=d(n&&n.split(" "),1);c.$addClass(n)}else n=m,n=d(n&&n.split(" "),-1),c.$removeClass(n);$=t}function h(t){(t=r(t))!==m&&p(t)}function p(t){if($===e){var r=m&&m.split(" "),i=t&&t.split(" "),o=n(r,i),r=n(i,r),o=d(o,-1),r=d(r,1);c.$addClass(r),c.$removeClass(o)}m=t}var m,g=c[t].trim(),v=":"===g.charAt(0)&&":"===g.charAt(1),g=s(g,v?i:r),y=v?h:p,b=l.data("$classCounts"),$=!0;b||(b=lt(),l.data("$classCounts",b)),"ngClass"!==t&&(a||(a=s("$index",function(t){return 1&t})),u.$watch(a,f)),u.$watch(g,y,v)}}}]}function Xn(t,e,n,r,i,o,a,s,u){this.$modelValue=this.$viewValue=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=eo,this.$options=Bo,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),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,Object.defineProperty(this,"$$scope",{value:t}),this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=e,Ln(this),Qn(this)}function Qn(t){t.$$scope.$watch(function(e){return e=t.$$ngModelGet(e),e===t.$modelValue||t.$modelValue!==t.$modelValue&&e!==e||t.$$setModelValue(e),e})}function tr(t){this.$$options=t}function er(t,e){o(e,function(e,n){b(t[n])||(t[n]=e)})}function nr(t,e){t.prop("selected",e),t.attr("selected",e)}var rr,ir,or,ar,sr={objectMaxDepth:5},ur=/^\/(.+)\/([a-z]*)$/,lr=Object.prototype.hasOwnProperty,cr=function(t){return k(t)?t.toLowerCase():t},dr=function(t){return k(t)?t.toUpperCase():t},fr=[].slice,hr=[].splice,pr=[].push,mr=Object.prototype.toString,gr=Object.getPrototypeOf,vr=r("ng"),yr=t.angular||(t.angular={}),br=0;rr=t.document.documentMode;var $r=Number.isNaN||function(t){return t!==t};p.$inject=[],m.$inject=[];var wr=Array.isArray,kr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,_r=function(t){return k(t)?t.trim():t},Cr=function(t){return t.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},xr=function(){if(!b(xr.rules)){var e=t.document.querySelector("[ng-csp]")||t.document.querySelector("[data-ng-csp]");if(e){var n=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");xr.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else{e=xr;try{new Function(""),n=!1}catch(t){n=!0}e.rules={noUnsafeEval:n,noInlineStyle:!1}}}return xr.rules},Sr=function(){if(b(Sr.name_))return Sr.name_;var e,n,r,i,o=Dr.length;for(n=0;n<o;++n)if(r=Dr[n],e=t.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return Sr.name_=i},Er=/:/g,Dr=["ng-","data-ng-","ng:","x-ng-"],Ar=function(e){var n=e.currentScript;return!n||(n instanceof t.HTMLScriptElement||n instanceof t.SVGScriptElement)&&(n=n.attributes,[n.getNamedItem("src"),n.getNamedItem("href"),n.getNamedItem("xlink:href")].every(function(t){if(!t)return!0;if(!t.value)return!1;var n=e.createElement("a");if(n.href=t.value,e.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}}))}(t.document),Mr=/[A-Z]/g,Tr=!1,Or=3,Pr={full:"1.6.9",major:1,minor:6,dot:9,codeName:"fiery-basilisk"};yt.expando="ng339";var Fr=yt.cache={},Rr=1;yt._data=function(t){
return this.cache[t[this.expando]]||{}};var Vr=/-([a-z])/g,Nr=/^-ms-/,Lr={mouseleave:"mouseout",mouseenter:"mouseover"},Ir=r("jqLite"),jr=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Br=/<|&#?\w+;/,Hr=/<([\w:-]+)/,Ur=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Yr={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,"",""]};Yr.optgroup=Yr.option,Yr.tbody=Yr.tfoot=Yr.colgroup=Yr.caption=Yr.thead,Yr.th=Yr.td;var zr=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))},qr=yt.prototype={ready:Ft,toString:function(){var t=[];return o(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return ir(0<=t?this[t]:this[this.length+t])},length:0,push:pr,sort:[].sort,splice:[].splice},Wr={};o("multiple selected checked disabled readOnly required open".split(" "),function(t){Wr[cr(t)]=t});var Gr={};o("input select option textarea button form details".split(" "),function(t){Gr[t]=!0});var Zr={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};o({data:Ct,removeData:kt,hasData:function(t){for(var e in Fr[t.ng339])return!0;return!1},cleanData:function(t){for(var e=0,n=t.length;e<n;e++)kt(t[e])}},function(t,e){yt[e]=t}),o({data:Ct,inheritedData:Mt,scope:function(t){return ir.data(t,"$scope")||Mt(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return ir.data(t,"$isolateScope")||ir.data(t,"$isolateScopeNoTemplate")},controller:At,injector:function(t){return Mt(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:xt,css:function(t,e,n){if(e=mt(e.replace(Nr,"ms-")),!b(n))return t.style[e];t.style[e]=n},attr:function(t,e,n){var r=t.nodeType;if(r!==Or&&2!==r&&8!==r&&t.getAttribute){var r=cr(e),i=Wr[r];if(!b(n))return t=t.getAttribute(e),i&&null!==t&&(t=r),null===t?void 0:t;null===n||!1===n&&i?t.removeAttribute(e):t.setAttribute(e,i?r:n)}},prop:function(t,e,n){if(!b(n))return t[e];t[e]=n},text:function(){function t(t,e){if(y(e)){var n=t.nodeType;return 1===n||n===Or?t.textContent:""}t.textContent=e}return t.$dv="",t}(),val:function(t,e){if(y(e)){if(t.multiple&&"select"===F(t)){var n=[];return o(t.options,function(t){t.selected&&n.push(t.value||t.text)}),n}return t.value}t.value=e},html:function(t,e){if(y(e))return t.innerHTML;$t(t,!0),t.innerHTML=e},empty:Tt},function(t,e){yt.prototype[e]=function(e,n){var r,i,o=this.length;if(t!==Tt&&y(2===t.length&&t!==xt&&t!==At?e:n)){if($(e)){for(r=0;r<o;r++)if(t===Ct)t(this[r],e);else for(i in e)t(this[r],i,e[i]);return this}for(r=t.$dv,o=y(r)?Math.min(o,1):o,i=0;i<o;i++){var a=t(this[i],e,n);r=r?r+a:a}return r}for(r=0;r<o;r++)t(this[r],e,n);return this}}),o({removeData:kt,on:function(t,e,n,r){if(b(r))throw Ir("onargs");if(gt(t)){r=_t(t,!0);var i=r.events,o=r.handle;o||(o=r.handle=Vt(t,i)),r=0<=e.indexOf(" ")?e.split(" "):[e];for(var a=r.length,s=function(e,r,a){var s=i[e];s||(s=i[e]=[],s.specialHandlerWrapper=r,"$destroy"===e||a||t.addEventListener(e,o)),s.push(n)};a--;)e=r[a],Lr[e]?(s(Lr[e],Lt),s(e,void 0,!0)):s(e)}},off:wt,one:function(t,e,n){t=ir(t),t.on(e,function r(){t.off(e,n),t.off(e,r)}),t.on(e,n)},replaceWith:function(t,e){var n,r=t.parentNode;$t(t),o(new yt(e),function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e})},children:function(t){var e=[];return o(t.childNodes,function(t){1===t.nodeType&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(1===n||11===n){e=new yt(e);for(var n=0,r=e.length;n<r;n++)t.appendChild(e[n])}},prepend:function(t,e){if(1===t.nodeType){var n=t.firstChild;o(new yt(e),function(e){t.insertBefore(e,n)})}},wrap:function(t,e){var n=ir(e).eq(0).clone()[0],r=t.parentNode;r&&r.replaceChild(n,t),n.appendChild(t)},remove:Ot,detach:function(t){Ot(t,!0)},after:function(t,e){var n=t,r=t.parentNode;if(r){e=new yt(e);for(var i=0,o=e.length;i<o;i++){var a=e[i];r.insertBefore(a,n.nextSibling),n=a}}},addClass:Et,removeClass:St,toggleClass:function(t,e,n){e&&o(e.split(" "),function(e){var r=n;y(r)&&(r=!xt(t,e)),(r?Et:St)(t,e)})},parent:function(t){return(t=t.parentNode)&&11!==t.nodeType?t:null},next:function(t){return t.nextElementSibling},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:bt,triggerHandler:function(t,e,n){var r,i,a=e.type||e,s=_t(t);(s=(s=s&&s.events)&&s[a])&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:p,type:a,target:t},e.type&&(r=c(r,e)),e=ft(s),i=n?[r].concat(n):[r],o(e,function(e){r.isImmediatePropagationStopped()||e.apply(t,i)}))}},function(t,e){yt.prototype[e]=function(e,n,r){for(var i,o=0,a=this.length;o<a;o++)y(i)?(i=t(this[o],e,n,r),b(i)&&(i=ir(i))):Dt(i,t(this[o],e,n,r));return b(i)?i:this}}),yt.prototype.bind=yt.prototype.on,yt.prototype.unbind=yt.prototype.off;var Kr=Object.create(null);Bt.prototype={_idx:function(t){return t===this._lastKey?this._lastIndex:(this._lastKey=t,this._lastIndex=this._keys.indexOf(t))},_transformKey:function(t){return $r(t)?Kr:t},get:function(t){if(t=this._transformKey(t),-1!==(t=this._idx(t)))return this._values[t]},set:function(t,e){t=this._transformKey(t);var n=this._idx(t);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=t,this._values[n]=e},delete:function(t){return t=this._transformKey(t),-1!==(t=this._idx(t))&&(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Jr=Bt,Xr=[function(){this.$get=[function(){return Jr}]}],Qr=/^([^(]+?)=>/,ti=/^[^(]*\(\s*([^)]*)\)/m,ei=/,/,ni=/^\s*(_?)(\S+?)\1\s*$/,ri=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,ii=r("$injector");Yt.$$annotate=function(t,e,n){var r;if("function"==typeof t){if(!(r=t.$inject)){if(r=[],t.length){if(e)throw k(n)&&n||(n=t.name||Ut(t)),ii("strictdi",n);e=Ht(t),o(e[1].split(ei),function(t){t.replace(ni,function(t,e,n){r.push(n)})})}t.$inject=r}}else wr(t)?(e=t.length-1,ot(t[e],"fn"),r=t.slice(0,e)):ot(t,"fn",!0);return r};var oi=r("$animate"),ai=function(){this.$get=p},si=function(){var t=new Jr,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(t,e,n){var r=!1;return e&&(e=k(e)?e.split(" "):wr(e)?e:[],o(e,function(e){e&&(r=!0,t[e]=n)})),r}function a(){o(e,function(e){var n=t.get(e);if(n){var r=Wt(e.attr("class")),i="",a="";o(n,function(t,e){t!==!!r[e]&&(t?i+=(i.length?" ":"")+e:a+=(a.length?" ":"")+e)}),o(e,function(t){i&&Et(t,i),a&&St(t,a)}),t.delete(e)}}),e.length=0}return{enabled:p,on:p,off:p,pin:p,push:function(o,s,u,l){return l&&l(),u=u||{},u.from&&o.css(u.from),u.to&&o.css(u.to),(u.addClass||u.removeClass)&&(s=u.addClass,l=u.removeClass,u=t.get(o)||{},s=i(u,s,!0),l=i(u,l,!1),(s||l)&&(t.set(o,u),e.push(o),1===e.length&&r.$$postDigest(a))),o=new n,o.complete(),o}}}]},ui=["$provide",function(t){var e=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw oi("notcsel",n);var i=n+"-animation";e.$$registeredAnimations[n.substr(1)]=i,t.factory(i,r)},this.customFilter=function(t){return 1===arguments.length&&(r=S(t)?t:null),r},this.classNameFilter=function(t){if(1===arguments.length&&(n=t instanceof RegExp?t:null)&&/[(\s|\/)]ng-animate[(\s|\/)]/.test(n.toString()))throw n=null,oi("nongcls","ng-animate");return n},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var r;t:{for(r=0;r<n.length;r++){var i=n[r];if(1===i.nodeType){r=i;break t}}r=void 0}!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&&ir(r),i=i&&ir(i),r=r||i.parent(),e(n,r,i),t.push(n,"enter",Gt(o))},move:function(n,r,i,o){return r=r&&ir(r),i=i&&ir(i),r=r||i.parent(),e(n,r,i),t.push(n,"move",Gt(o))},leave:function(e,n){return t.push(e,"leave",Gt(n),function(){e.remove()})},addClass:function(e,n,r){return r=Gt(r),r.addClass=qt(r.addclass,n),t.push(e,"addClass",r)},removeClass:function(e,n,r){return r=Gt(r),r.removeClass=qt(r.removeClass,n),t.push(e,"removeClass",r)},setClass:function(e,n,r,i){return i=Gt(i),i.addClass=qt(i.addClass,n),i.removeClass=qt(i.removeClass,r),t.push(e,"setClass",i)},animate:function(e,n,r,i,o){return o=Gt(o),o.from=o.from?c(o.from,n):n,o.to=o.to?c(o.to,r):r,o.tempClasses=qt(o.tempClasses,i||"ng-inline-animate"),t.push(e,"animate",o)}}}]}],li=function(){this.$get=["$$rAF",function(t){function e(e){n.push(e),1<n.length||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)}}}]},ci=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,r,i){function a(t){this.setHost(t);var e=n();this._doneCallbacks=[],this._tick=function(t){r()?i(t,0,!1):e(t)},this._state=0}return a.chain=function(t,e){function n(){r===t.length?e(!0):t[r](function(t){!1===t?e(!1):(r++,n())})}var r=0;n()},a.all=function(t,e){function n(n){i=i&&n,++r===t.length&&e(i)}var r=0,i=!0;o(t,function(t){t.done(n)})},a.prototype={setHost:function(t){this.host=t||{}},done:function(t){2===this._state?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){!1===e?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;0===e._state&&(e._state=1,e._tick(function(){e._resolve(t)}))},_resolve:function(t){2!==this._state&&(o(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=2)}},a}]},di=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(t,e,n){return function(e,r){function i(){return t(function(){o.addClass&&(e.addClass(o.addClass),o.addClass=null),o.removeClass&&(e.removeClass(o.removeClass),o.removeClass=null),o.to&&(e.css(o.to),o.to=null),a||s.complete(),a=!0}),s}var o=r||{};o.$$prepared||(o=V(o)),o.cleanupStyles&&(o.from=o.to=null),o.from&&(e.css(o.from),o.from=null);var a,s=new n;return{start:i,end:i}}}]},fi=r("$compile"),hi=new function(){};Qt.$inject=["$provide","$$sanitizeUriProvider"],te.prototype.isFirstChange=function(){return this.previousValue===hi};var pi=/^((?:x|data)[:\-_])/i,mi=/[:\-_]+(.)/g,gi=r("$controller"),vi=/^(\S+)(\s+as\s+([\w$]+))?$/,yi=function(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof ir&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]},bi="application/json",$i={"Content-Type":bi+";charset=utf-8"},wi=/^\[|^\{(?!\{)/,ki={"[":/]$/,"{":/}$/},_i=/^\)]\}',?\n/,Ci=r("$http"),xi=yr.$interpolateMinErr=r("$interpolate");xi.throwNoconcat=function(t){throw xi("noconcat",t)},xi.interr=function(t,e){return xi("interr",t,e.toString())};var Si=function(){this.$get=function(){function t(t){var e=function(t){e.data=t,e.called=!0};return e.id=t,e}var e=yr.callbacks,n={};return{createCallback:function(r){r="_"+(e.$$counter++).toString(36);var i="angular.callbacks."+r,o=t(r);return n[i]=e[r]=o,i},wasCalled:function(t){return n[t].called},getResponse:function(t){return n[t].data},removeCallback:function(t){delete e[n[t].id],delete n[t]}}}},Ei=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Di={http:80,https:443,ftp:21},Ai=r("$location"),Mi=/^\s*[\\\/]{2,}/,Ti={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:Oe("$$absUrl"),url:function(t){if(y(t))return this.$$url;var e=Ei.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:Oe("$$protocol"),host:Oe("$$host"),port:Oe("$$port"),path:Pe("$$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(k(t)||_(t))t=t.toString(),this.$$search=G(t);else{if(!$(t))throw Ai("isrcharg");t=V(t,{}),o(t,function(e,n){null==e&&delete t[n]}),this.$$search=t}break;default:y(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:Pe("$$hash",function(t){return null!==t?t.toString():""}),replace:function(){return this.$$replace=!0,this}};o([Te,Me,Ae],function(t){t.prototype=Object.create(Ti),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==Ae||!this.$$html5)throw Ai("nostate");return this.$$state=y(e)?null:e,this.$$urlUpdatedByLocation=!0,this}});var Oi=r("$parse"),Pi={}.constructor.prototype.valueOf,Fi=lt();o("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(t){Fi[t]=!0});var Ri={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Vi=function(t){this.options=t};Vi.prototype={constructor:Vi,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.index<this.text.length;)if('"'===(t=this.text.charAt(this.index))||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var e=t+this.peek(),n=e+this.peek(2),r=Fi[e],i=Fi[n];Fi[t]||r||i?(t=i?n:r?e:t,this.tokens.push({index:this.index,text:t,operator:!0}),this.index+=t.length):this.throwError("Unexpected next character ",this.index,this.index+1)}return this.tokens},is:function(t,e){return-1!==e.indexOf(t)},peek:function(t){return t=t||1,this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(t){return"0"<=t&&"9">=t&&"string"==typeof t},isWhitespace:function(t){return" "===t||"\r"===t||"\t"===t||"\n"===t||"\v"===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&&"z">=t||"A"<=t&&"Z">=t||"_"===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 55296<=n&&56319>=n&&56320<=r&&57343>=r?t+e:t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){throw n=n||this.index,e=b(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n,Oi("lexerr",t,e,this.text)},readNumber:function(){for(var t="",e=this.index;this.index<this.text.length;){var n=cr(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),r=r+o;if(i)"u"===o?(i=this.text.substring(this.index+1,this.index+5),i.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+i+"]"),this.index+=4,n+=String.fromCharCode(parseInt(i,16))):n+=Ri[o]||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 Ni=function(t,e){this.lexer=t,this.options=e};Ni.Program="Program",Ni.ExpressionStatement="ExpressionStatement",Ni.AssignmentExpression="AssignmentExpression",Ni.ConditionalExpression="ConditionalExpression",Ni.LogicalExpression="LogicalExpression",Ni.BinaryExpression="BinaryExpression",Ni.UnaryExpression="UnaryExpression",Ni.CallExpression="CallExpression",Ni.MemberExpression="MemberExpression",Ni.Identifier="Identifier",Ni.Literal="Literal",Ni.ArrayExpression="ArrayExpression",Ni.Property="Property",Ni.ObjectExpression="ObjectExpression",Ni.ThisExpression="ThisExpression",Ni.LocalsExpression="LocalsExpression",Ni.NGValueParameter="NGValueParameter",Ni.prototype={ast:function(t){return this.text=t,this.tokens=this.lexer.lex(t),t=this.program(),0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var t=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:Ni.Program,body:t}},expressionStatement:function(){return{type:Ni.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(!He(t))throw Oi("lval");t={type:Ni.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:Ni.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:Ni.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:Ni.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:Ni.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:Ni.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:Ni.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:Ni.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:Ni.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=V(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?t={type:Ni.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:Ni.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:Ni.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:Ni.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){t=[t];for(var e={type:Ni.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return e},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:Ni.Identifier,name:t.text}},constant:function(){return{type:Ni.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:Ni.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:Ni.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:Ni.ObjectExpression,properties:e}},throwError:function(t,e){throw Oi("syntax",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume:function(t){if(0===this.tokens.length)throw Oi("ueoe",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 Oi("ueoe",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){t=this.tokens[t];var o=t.text;if(o===e||o===n||o===r||o===i||!(e||n||r||i))return t}return!1},expect:function(t,e,n,r){return!!(t=this.peek(t,e,n,r))&&(this.tokens.shift(),t)},selfReferential:{this:{type:Ni.ThisExpression},$locals:{type:Ni.LocalsExpression}}};var Li=2;Ye.prototype={compile:function(t){var e=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},je(t,e.$filter);var n,r="";return this.stage="assign",(n=Ue(t))&&(this.state.computing="assign",r=this.nextId(),this.recurse(n,r),this.return_(r),r="fn.assign="+this.generateFunction("assign","s,v,l")),n=Be(t.body),e.stage="inputs",o(n,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({name:r,isPure:t.isPure}),t.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(t),t='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",t=new Function("$filter","getStringValue","ifDefined","plus",t)(this.$filter,Ve,Ne,Le),this.state=this.stage=void 0,t},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return o(e,function(e){t.push("var "+e.name+"="+n.generateFunction(e.name,"s")),e.isPure&&t.push(e.name,".isPure="+JSON.stringify(e.isPure)+";")}),e.length&&t.push("fn.inputs=["+e.map(function(t){return t.name}).join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},filterPrefix:function(){var t=[],e=this;return o(this.state.filters,function(n,r){t.push(n+"=$filter("+e.escape(r)+")")}),t.length?"var "+t.join(",")+";":""},varsPrefix:function(t){return this.state[t].vars.length?"var "+this.state[t].vars.join(",")+";":""},body:function(t){return this.state[t].body.join("")},recurse:function(t,e,n,r,i,a){var s,u,l,c,d,f=this;if(r=r||p,!a&&b(t.watchId))e=e||this.nextId(),this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,n,r,i,!0));else switch(t.type){case Ni.Program:o(t.body,function(e,n){f.recurse(e.expression,void 0,void 0,function(t){u=t}),n!==t.body.length-1?f.current().body.push(u,";"):f.return_(u)});break;case Ni.Literal:c=this.escape(t.value),this.assign(e,c),r(e||c);break;case Ni.UnaryExpression:this.recurse(t.argument,void 0,void 0,function(t){u=t}),c=t.operator+"("+this.ifDefined(u,0)+")",this.assign(e,c),r(c);break;case Ni.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}),c="+"===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,c),r(c);break;case Ni.LogicalExpression:e=e||this.nextId(),f.recurse(t.left,e),f.if_("&&"===t.operator?e:f.not(e),f.lazyRecurse(t.right,e)),r(e);break;case Ni.ConditionalExpression:e=e||this.nextId(),f.recurse(t.test,e),f.if_(e,f.lazyRecurse(t.alternate,e),f.lazyRecurse(t.consequent,e)),r(e);break;case Ni.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),n.computed=!1,n.name=t.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",t.name)),function(){f.if_("inputs"===f.stage||"s",function(){i&&1!==i&&f.if_(f.isNull(f.nonComputedMember("s",t.name)),f.lazyAssign(f.nonComputedMember("s",t.name),"{}")),f.assign(e,f.nonComputedMember("s",t.name))})},e&&f.lazyAssign(e,f.nonComputedMember("l",t.name))),r(e);break;case Ni.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),f.recurse(t.object,s,void 0,function(){f.if_(f.notNull(s),function(){t.computed?(u=f.nextId(),f.recurse(t.property,u),f.getStringValue(u),i&&1!==i&&f.if_(f.not(f.computedMember(s,u)),f.lazyAssign(f.computedMember(s,u),"{}")),c=f.computedMember(s,u),f.assign(e,c),n&&(n.computed=!0,n.name=u)):(i&&1!==i&&f.if_(f.isNull(f.nonComputedMember(s,t.property.name)),f.lazyAssign(f.nonComputedMember(s,t.property.name),"{}")),c=f.nonComputedMember(s,t.property.name),f.assign(e,c),n&&(n.computed=!1,n.name=t.property.name))},function(){f.assign(e,"undefined")}),r(e)},!!i);break;case Ni.CallExpression:e=e||this.nextId(),t.filter?(u=f.filter(t.callee.name),l=[],o(t.arguments,function(t){var e=f.nextId();f.recurse(t,e),l.push(e)}),c=u+"("+l.join(",")+")",f.assign(e,c),r(e)):(u=f.nextId(),s={},l=[],f.recurse(t.callee,u,s,function(){f.if_(f.notNull(u),function(){o(t.arguments,function(e){f.recurse(e,t.constant?void 0:f.nextId(),void 0,function(t){l.push(t)})}),c=s.name?f.member(s.context,s.name,s.computed)+"("+l.join(",")+")":u+"("+l.join(",")+")",f.assign(e,c)},function(){f.assign(e,"undefined")}),r(e)}));break;case Ni.AssignmentExpression:u=this.nextId(),s={},this.recurse(t.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(t.right,u),c=f.member(s.context,s.name,s.computed)+t.operator+u,f.assign(e,c),r(e||c)})},1);break;case Ni.ArrayExpression:l=[],o(t.elements,function(e){f.recurse(e,t.constant?void 0:f.nextId(),void 0,function(t){l.push(t)})}),c="["+l.join(",")+"]",this.assign(e,c),r(e||c);break;case Ni.ObjectExpression:l=[],d=!1,o(t.properties,function(t){t.computed&&(d=!0)}),d?(e=e||this.nextId(),this.assign(e,"{}"),o(t.properties,function(t){t.computed?(s=f.nextId(),f.recurse(t.key,s)):s=t.key.type===Ni.Identifier?t.key.name:""+t.key.value,u=f.nextId(),f.recurse(t.value,u),f.assign(f.member(e,s,t.computed),u)})):(o(t.properties,function(e){f.recurse(e.value,t.constant?void 0:f.nextId(),void 0,function(t){l.push(f.escape(e.key.type===Ni.Identifier?e.key.name:""+e.key.value)+":"+t)})}),c="{"+l.join(",")+"}",this.assign(e,c)),r(e||c);break;case Ni.ThisExpression:this.assign(e,"s"),r(e||"s");break;case Ni.LocalsExpression:this.assign(e,"l"),r(e||"l");break;case Ni.NGValueParameter:this.assign(e,"v"),r(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(!0===t)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-Z0-9]/g;return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?t+"."+e:t+'["'+e.replace(n,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(k(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(_(t))return t.toString();if(!0===t)return"true";if(!1===t)return"false";if(null===t)return"null";if(void 0===t)return"undefined";throw Oi("esc")},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]}},ze.prototype={compile:function(t){var e=this;je(t,e.$filter);var n,r;(n=Ue(t))&&(r=this.recurse(n)),n=Be(t.body);var i;n&&(i=[],o(n,function(t,n){var r=e.recurse(t);r.isPure=t.isPure,t.input=r,i.push(r),t.watchId=n}));var a=[];return o(t.body,function(t){a.push(e.recurse(t.expression))}),t=0===t.body.length?p:1===t.body.length?a[0]:function(t,e){var n;return o(a,function(r){n=r(t,e)}),n},r&&(t.assign=function(t,e,n){return r(t,n,e)}),i&&(t.inputs=i),t},recurse:function(t,e,n){var r,i,a,s=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case Ni.Literal:return this.value(t.value,e);case Ni.UnaryExpression:return i=this.recurse(t.argument),this["unary"+t.operator](i,e);case Ni.BinaryExpression:case Ni.LogicalExpression:return r=this.recurse(t.left),i=this.recurse(t.right),this["binary"+t.operator](r,i,e);case Ni.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case Ni.Identifier:return s.identifier(t.name,e,n);case Ni.MemberExpression:return r=this.recurse(t.object,!1,!!n),t.computed||(i=t.property.name),t.computed&&(i=this.recurse(t.property)),t.computed?this.computedMember(r,i,e,n):this.nonComputedMember(r,i,e,n);case Ni.CallExpression:return a=[],o(t.arguments,function(t){a.push(s.recurse(t))}),t.filter&&(i=this.$filter(t.callee.name)),t.filter||(i=this.recurse(t.callee,!0)),t.filter?function(t,n,r,o){for(var s=[],u=0;u<a.length;++u)s.push(a[u](t,n,r,o));return t=i.apply(void 0,s,o),e?{context:void 0,name:void 0,value:t}:t}:function(t,n,r,o){var s,u=i(t,n,r,o);if(null!=u.value){s=[];for(var l=0;l<a.length;++l)s.push(a[l](t,n,r,o));s=u.value.apply(u.context,s)}return e?{value:s}:s};case Ni.AssignmentExpression:return r=this.recurse(t.left,!0,1),i=this.recurse(t.right),function(t,n,o,a){var s=r(t,n,o,a);return t=i(t,n,o,a),s.context[s.name]=t,e?{value:t}:t};case Ni.ArrayExpression:return a=[],o(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 Ni.ObjectExpression:return a=[],
o(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===Ni.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 Ni.ThisExpression:return function(t){return e?{value:t}:t};case Ni.LocalsExpression:return function(t,n){return e?{value:n}:n};case Ni.NGValueParameter:return function(t,n,r){return e?{value:r}:r}}},"unary+":function(t,e){return function(n,r,i,o){return n=t(n,r,i,o),n=b(n)?+n:0,e?{value:n}:n}},"unary-":function(t,e){return function(n,r,i,o){return n=t(n,r,i,o),n=b(n)?-n:-0,e?{value:n}:n}},"unary!":function(t,e){return function(n,r,i,o){return n=!t(n,r,i,o),e?{value:n}:n}},"binary+":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a);return r=e(r,i,o,a),s=Le(s,r),n?{value:s}:s}},"binary-":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a);return r=e(r,i,o,a),s=(b(s)?s:0)-(b(r)?r:0),n?{value:s}:s}},"binary*":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)*e(r,i,o,a),n?{value:r}:r}},"binary/":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)/e(r,i,o,a),n?{value:r}:r}},"binary%":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)%e(r,i,o,a),n?{value:r}:r}},"binary===":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)===e(r,i,o,a),n?{value:r}:r}},"binary!==":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)!==e(r,i,o,a),n?{value:r}:r}},"binary==":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)==e(r,i,o,a),n?{value:r}:r}},"binary!=":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)!=e(r,i,o,a),n?{value:r}:r}},"binary<":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)<e(r,i,o,a),n?{value:r}:r}},"binary>":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)>e(r,i,o,a),n?{value:r}:r}},"binary<=":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)<=e(r,i,o,a),n?{value:r}:r}},"binary>=":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)>=e(r,i,o,a),n?{value:r}:r}},"binary&&":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)&&e(r,i,o,a),n?{value:r}:r}},"binary||":function(t,e,n){return function(r,i,o,a){return r=t(r,i,o,a)||e(r,i,o,a),n?{value:r}:r}},"ternary?:":function(t,e,n,r){return function(i,o,a,s){return i=t(i,o,a,s)?e(i,o,a,s):n(i,o,a,s),r?{value:i}:i}},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){return r=i&&t in i?i:r,n&&1!==n&&r&&null==r[t]&&(r[t]={}),i=r?r[t]:void 0,e?{context:r,name:t,value:i}:i}},computedMember:function(t,e,n,r){return function(i,o,a,s){var u,l,c=t(i,o,a,s);return null!=c&&(u=e(i,o,a,s),u+="",r&&1!==r&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},nonComputedMember:function(t,e,n,r){return function(i,o,a,s){return i=t(i,o,a,s),r&&1!==r&&i&&null==i[e]&&(i[e]={}),o=null!=i?i[e]:void 0,n?{context:i,name:e,value:o}:o}},inputs:function(t,e){return function(n,r,i,o){return o?o[e]:t(n,r,i)}}},qe.prototype={constructor:qe,parse:function(t){t=this.getAst(t);var e=this.astCompiler.compile(t.ast),n=t.ast;return e.literal=0===n.body.length||1===n.body.length&&(n.body[0].expression.type===Ni.Literal||n.body[0].expression.type===Ni.ArrayExpression||n.body[0].expression.type===Ni.ObjectExpression),e.constant=t.ast.constant,e.oneTime=t.oneTime,e},getAst:function(t){var e=!1;return t=t.trim(),":"===t.charAt(0)&&":"===t.charAt(1)&&(e=!0,t=t.substring(2)),{ast:this.ast.ast(t),oneTime:e}}};var Ii=r("$sce"),ji={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Bi=/_([a-z])/g,Hi=r("$compile"),Ui=t.document.createElement("a"),Yi=cn(t.location.href);hn.$inject=["$document"],mn.$inject=["$provide"];var zi=22,qi=".",Wi="0";$n.$inject=["$locale"],wn.$inject=["$locale"];var Gi={yyyy:Sn("FullYear",4,0,!1,!0),yy:Sn("FullYear",2,0,!0,!0),y:Sn("FullYear",1,0,!1,!0),MMMM:En("Month"),MMM:En("Month",!0),MM:Sn("Month",2,1),M:Sn("Month",1,1),LLLL:En("Month",!1,!0),dd:Sn("Date",2),d:Sn("Date",1),HH:Sn("Hours",2),H:Sn("Hours",1),hh:Sn("Hours",2,-12),h:Sn("Hours",1,-12),mm:Sn("Minutes",2),m:Sn("Minutes",1),ss:Sn("Seconds",2),s:Sn("Seconds",1),sss:Sn("Milliseconds",3),EEEE:En("Day"),EEE:En("Day",!0),a:function(t,e){return 12>t.getHours()?e.AMPMS[0]:e.AMPMS[1]},Z:function(t,e,n){return t=-1*n,t=(0<=t?"+":"")+(xn(Math[0<t?"floor":"ceil"](t/60),2)+xn(Math.abs(t%60),2))},ww:An(2),w:An(1),G:Mn,GG:Mn,GGG:Mn,GGGG:function(t,e){return 0>=t.getFullYear()?e.ERANAMES[0]:e.ERANAMES[1]}},Zi=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Ki=/^-?\d+$/;Tn.$inject=["$locale"];var Ji=g(cr),Xi=g(dr);Rn.$inject=["$parse"];var Qi=g({restrict:"E",compile:function(t,e){if(!e.href&&!e.xlinkHref)return function(t,e){if("a"===e[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===mr.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}}),to={};o(Wr,function(t,e){function n(t,n,i){t.$watch(i[r],function(t){i.$set(e,!!t)})}if("multiple"!==t){var r=ee("ng-"+e),i=n;"checked"===t&&(i=function(t,e,i){i.ngModel!==i[r]&&n(t,e,i)}),to[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(Zr,function(t,e){to[e]=function(){return{priority:100,link:function(t,n,r){if("ngPattern"===e&&"/"===r.ngPattern.charAt(0)&&(n=r.ngPattern.match(ur)))return void r.$set("ngPattern",new RegExp(n[1],n[2]));t.$watch(r[e],function(t){r.$set(e,t)})}}}}),o(["src","srcset","href"],function(t){var e=ee("ng-"+t);to[e]=function(){return{priority:99,link:function(n,r,i){var o=t,a=t;"href"===t&&"[object SVGAnimatedString]"===mr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(e,function(e){e?(i.$set(a,e),rr&&o&&r.prop(o,i[a])):"href"===t&&i.$set(a,null)})}}}});var eo={$addControl:p,$$renameControl:function(t,e){t.$name=e},$removeControl:p,$setValidity:p,$setDirty:p,$setPristine:p,$setSubmitted:p};Nn.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Nn.prototype={$rollbackViewValue:function(){o(this.$$controls,function(t){t.$rollbackViewValue()})},$commitViewValue:function(){o(this.$$controls,function(t){t.$commitViewValue()})},$addControl:function(t){at(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],o(this.$pending,function(e,n){this.$setValidity(n,null,t)},this),o(this.$error,function(e,n){this.$setValidity(n,null,t)},this),o(this.$$success,function(e,n){this.$setValidity(n,null,t)},this),R(this.$$controls,t),t.$$parentForm=eo},$setDirty:function(){this.$$animate.removeClass(this.$$element,Lo),this.$$animate.addClass(this.$$element,Io),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Lo,Io+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,o(this.$$controls,function(t){t.$setPristine()})},$setUntouched:function(){o(this.$$controls,function(t){t.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},In({clazz:Nn,set:function(t,e,n){var r=t[e];r?-1===r.indexOf(n)&&r.push(n):t[e]=[n]},unset:function(t,e,n){var r=t[e];r&&(R(r,n),0===r.length&&delete t[e])}});var no=function(t){return["$timeout","$parse",function(e,n){function r(t){return""===t?n('this[""]').assign:n(t).assign||p}return{name:"form",restrict:t?"EAC":"E",require:["form","^^?form"],controller:Nn,compile:function(n,i){n.addClass(Lo).addClass(Vo);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)})}(a[1]||s.$$parentForm).$addControl(s);var l=o?r(s.$name):p;o&&(l(t,s),i.$observe(o,function(e){s.$name!==e&&(l(t,void 0),s.$$parentForm.$$renameControl(s,e),(l=r(s.$name))(t,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),l(t,void 0),c(s,eo)})}}}}}]},ro=no(),io=no(!0),oo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,ao=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,so=/^(?=.{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])?)*$/,uo=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,lo=/^(\d{4,})-(\d{2})-(\d{2})$/,co=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,fo=/^(\d{4,})-W(\d\d)$/,ho=/^(\d{4,})-(\d\d)$/,po=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,mo=lt();o(["date","datetime-local","month","time","week"],function(t){mo[t]=!0});var go={text:function(t,e,n,r,i,o){Hn(t,e,n,r,i,o),Bn(r)},date:Yn("date",lo,Un(lo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Yn("datetimelocal",co,Un(co,"yyyy MM dd HH mm ss sss".split(" ")),"yyyy-MM-ddTHH:mm:ss.sss"),time:Yn("time",po,Un(po,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Yn("week",fo,function(t,e){if(C(t))return t;if(k(t)){fo.lastIndex=0;var n=fo.exec(t);if(n){var r=+n[1],i=+n[2],o=n=0,a=0,s=0,u=Dn(r),i=7*(i-1);return e&&(n=e.getHours(),o=e.getMinutes(),a=e.getSeconds(),s=e.getMilliseconds()),new Date(r,0,u.getDate()+i,n,o,a,s)}}return NaN},"yyyy-Www"),month:Yn("month",ho,Un(ho,["yyyy","MM"]),"yyyy-MM"),number:function(t,e,n,r,i,o){zn(t,e,n,r),qn(r),Hn(t,e,n,r,i,o);var a,s;if((b(n.min)||n.ngMin)&&(r.$validators.min=function(t){return r.$isEmpty(t)||y(a)||t>=a},n.$observe("min",function(t){a=Wn(t),r.$validate()})),(b(n.max)||n.ngMax)&&(r.$validators.max=function(t){return r.$isEmpty(t)||y(s)||t<=s},n.$observe("max",function(t){s=Wn(t),r.$validate()})),b(n.step)||n.ngStep){var u;r.$validators.step=function(t,e){return r.$isEmpty(e)||y(u)||Zn(e,a||0,u)},n.$observe("step",function(t){u=Wn(t),r.$validate()})}},url:function(t,e,n,r,i,o){Hn(t,e,n,r,i,o),Bn(r),r.$$parserName="url",r.$validators.url=function(t,e){var n=t||e;return r.$isEmpty(n)||ao.test(n)}},email:function(t,e,n,r,i,o){Hn(t,e,n,r,i,o),Bn(r),r.$$parserName="email",r.$validators.email=function(t,e){var n=t||e;return r.$isEmpty(n)||so.test(n)}},radio:function(t,e,n,r){var i=!n.ngTrim||"false"!==_r(n.ngTrim);y(n.name)&&e.attr("name",++br),e.on("click",function(t){var o;e[0].checked&&(o=n.value,i&&(o=_r(o)),r.$setViewValue(o,t&&t.type))}),r.$render=function(){var t=n.value;i&&(t=_r(t)),e[0].checked=t===r.$viewValue},n.$observe("value",r.$render)},range:function(t,e,n,r,i,o){function a(t,r){e.attr(t,n[t]),n.$observe(t,r)}function s(t){d=Wn(t),$r(r.$modelValue)||(c?(t=e.val(),d>t&&(t=d,e.val(t)),r.$setViewValue(t)):r.$validate())}function u(t){f=Wn(t),$r(r.$modelValue)||(c?(t=e.val(),f<t&&(e.val(f),t=f<d?d:f),r.$setViewValue(t)):r.$validate())}function l(t){h=Wn(t),$r(r.$modelValue)||(c&&r.$viewValue!==e.val()?r.$setViewValue(e.val()):r.$validate())}zn(t,e,n,r),qn(r),Hn(t,e,n,r,i,o);var c=r.$$hasNativeValidators&&"range"===e[0].type,d=c?0:void 0,f=c?100:void 0,h=c?1:void 0,p=e[0].validity;t=b(n.min),i=b(n.max),o=b(n.step);var m=r.$render;r.$render=c&&b(p.rangeUnderflow)&&b(p.rangeOverflow)?function(){m(),r.$setViewValue(e.val())}:m,t&&(r.$validators.min=c?function(){return!0}:function(t,e){return r.$isEmpty(e)||y(d)||e>=d},a("min",s)),i&&(r.$validators.max=c?function(){return!0}:function(t,e){return r.$isEmpty(e)||y(f)||e<=f},a("max",u)),o&&(r.$validators.step=c?function(){return!p.stepMismatch}:function(t,e){return r.$isEmpty(e)||y(h)||Zn(e,d||0,h)},a("step",l))},checkbox:function(t,e,n,r,i,o,a,s){var u=Kn(s,t,"ngTrueValue",n.ngTrueValue,!0),l=Kn(s,t,"ngFalseValue",n.ngFalseValue,!1);e.on("click",function(t){r.$setViewValue(e[0].checked,t&&t.type)}),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return!1===t},r.$formatters.push(function(t){return L(t,u)}),r.$parsers.push(function(t){return t?u:l})},hidden:p,button:p,submit:p,reset:p,file:p},vo=["$browser","$sniffer","$filter","$parse",function(t,e,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(go[cr(a.type)]||go.text)(i,o,a,s[0],e,t,n,r)}}}}],yo=/^(true|false|\d+)$/,bo=function(){function t(t,e,n){var r=b(n)?n:9===rr?"":null;t.prop("value",r),e.$set("value",n)}return{restrict:"A",priority:100,compile:function(e,n){return yo.test(n.ngValue)?function(e,n,r){e=e.$eval(r.ngValue),t(n,r,e)}:function(e,n,r){e.$watch(r.ngValue,function(e){t(n,r,e)})}}}},$o=["$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=ct(t)})}}}}],wo=["$interpolate","$compile",function(t,e){return{compile:function(n){return e.$$addBindingClass(n),function(n,r,i){n=t(r.attr(i.$attr.ngBindTemplate)),e.$$addBindingInfo(r,n.expressions),r=r[0],i.$observe("ngBindTemplate",function(t){r.textContent=y(t)?"":t})}}}}],ko=["$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)||"")})}}}}],_o=g({restrict:"A",require:"ngModel",link:function(t,e,n,r){r.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),Co=Jn("",!0),xo=Jn("Odd",0),So=Jn("Even",1),Eo=Vn({compile:function(t,e){e.$set("ngCloak",void 0),t.removeClass("ng-cloak")}}),Do=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ao={},Mo={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(t){var e=ee("ng-"+t);Ao[e]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[e]);return function(e,n){n.on(t,function(n){var i=function(){a(e,{$event:n})};Mo[t]&&r.$$phase?e.$evalAsync(i):e.$apply(i)})}}}}]});var To=["$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,l;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)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=ut(s.clone),t.leave(l).done(function(t){!1!==t&&(l=null)}),s=null))})}}}],Oo=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:yr.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var d,f,h,p=0,m=function(){f&&(f.remove(),f=null),d&&(d.$destroy(),d=null),h&&(n.leave(h).done(function(t){!1!==t&&(f=null)}),f=h,h=null)};r.$watch(o,function(o){var u=function(t){!1===t||!b(s)||s&&!r.$eval(s)||e()},f=++p;o?(t(o,!0).then(function(t){if(!r.$$destroyed&&f===p){var e=r.$new();l.template=t,t=c(e,function(t){m(),n.enter(t,null,i).done(u)}),d=e,h=t,d.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||f!==p||(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],Po=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){mr.call(r[0]).match(/SVG/)?(r.empty(),e(vt(o.template,t.document).childNodes)(n,function(t){r.append(t)},{futureParentElement:r})):(r.html(o.template),e(r.contents())(n))}}}],Fo=Vn({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),Ro=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,n,r){var i=n.ngList||", ",a="false"!==n.ngTrim,s=a?_r(i):i;r.$parsers.push(function(t){if(!y(t)){var e=[];return t&&o(t.split(s),function(t){t&&e.push(a?_r(t):t)}),e}}),r.$formatters.push(function(t){if(wr(t))return t.join(i)}),r.$isEmpty=function(t){return!t||!t.length}}}},Vo="ng-valid",No="ng-invalid",Lo="ng-pristine",Io="ng-dirty",jo=r("ngModel");Xn.$inject="$scope $exceptionHandler $attrs $element $parse $animate $timeout $q $interpolate".split(" "),Xn.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 jo("nonassign",this.$$attr.ngModel,q(this.$$element))},$render:p,$isEmpty:function(t){return y(t)||""===t||null===t||t!==t},$$updateEmptyClasses:function(t){this.$isEmpty(t)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Io),this.$$animate.addClass(this.$$element,Lo)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Lo),this.$$animate.addClass(this.$$element,Io),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!$r(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 r(t,e){a===s.$$currentValidationRunId&&s.$setValidity(t,e)}function i(t){a===s.$$currentValidationRunId&&n(t)}this.$$currentValidationRunId++;var a=this.$$currentValidationRunId,s=this;!function(){var t=s.$$parserName||"parse";return y(s.$$parserValid)?(r(t,null),!0):(s.$$parserValid||(o(s.$validators,function(t,e){r(e,null)}),o(s.$asyncValidators,function(t,e){r(e,null)})),r(t,s.$$parserValid),s.$$parserValid)}()?i(!1):function(){var n=!0;return o(s.$validators,function(i,o){var a=Boolean(i(t,e));n=n&&a,r(o,a)}),!!n||(o(s.$asyncValidators,function(t,e){r(e,null)}),!1)}()?function(){var n=[],a=!0;o(s.$asyncValidators,function(i,o){var s=i(t,e);if(!s||!S(s.then))throw jo("nopromise",s);r(o,void 0),n.push(s.then(function(){r(o,!0)},function(){a=!1,r(o,!1)}))}),n.length?s.$$q.all(n).then(function(){i(a)},p):i(!0)}():i(!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(){var t=this.$$lastCommittedViewValue,e=this;if(this.$$parserValid=!y(t)||void 0)for(var n=0;n<this.$parsers.length;n++)if(t=this.$parsers[n](t),y(t)){this.$$parserValid=!1;break}$r(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var r=this.$modelValue,i=this.$options.getOption("allowInvalid");this.$$rawModelValue=t,i&&(this.$modelValue=t,e.$modelValue!==r&&e.$$writeModelToScope()),this.$$runValidators(t,this.$$lastCommittedViewValue,function(n){i||(e.$modelValue=n?t:void 0,e.$modelValue!==r&&e.$$writeModelToScope())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),o(this.$viewChangeListeners,function(t){try{t()}catch(t){this.$$exceptionHandler(t)}},this)},$setViewValue:function(t,e){this.$viewValue=t,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(e)},$$debounceViewValueCommit:function(t){var e=this.$options.getOption("debounce");_(e[t])?e=e[t]:_(e.default)&&(e=e.default),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;0<e?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},e):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(t){this.$options=this.$options.createChild(t),this.$$setUpdateOnEvents()},$processModelValue:function(){var t=this.$$format();this.$viewValue!==t&&(this.$$updateEmptyClasses(t),this.$viewValue=this.$$lastCommittedViewValue=t,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,p))},$$format:function(){for(var t=this.$formatters,e=t.length,n=this.$modelValue;e--;)n=t[e](n);return n},$$setModelValue:function(t){this.$modelValue=this.$$rawModelValue=t,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),(this.$$updateEvents=this.$options.getOption("updateOn"))&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(t){this.$$debounceViewValueCommit(t&&t.type)}},In({clazz:Xn,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]}});var Bo,Ho=["$rootScope",function(t){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Xn,priority:1,compile:function(e){return e.addClass(Lo).addClass("ng-untouched").addClass(Vo),{pre:function(t,e,n,r){var i=r[0];e=r[1]||i.$$parentForm,(r=r[2])&&(i.$options=r.$options),i.$$initGetterSetters(),e.$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.$$setUpdateOnEvents(),n.on("blur",function(){a.$touched||(t.$$phase?e.$evalAsync(o):e.$apply(o))})}}}}}],Uo=/(\s+|^)default(\s+|$)/;tr.prototype={getOption:function(t){return this.$$options[t]},createChild:function(t){var e=!1;return t=c({},t),o(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]=_r(n.replace(Uo,function(){return t.updateOnDefault=!0," "})))},this),e&&(delete t["*"],er(t,this.$$options)),er(t,Bo.$$options),new tr(t)}},Bo=new tr({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Yo=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:Bo,e=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(e)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:t}},zo=Vn({terminal:!0,priority:1e3}),qo=r("ngOptions"),Wo=/^\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]+?))?$/,Go=["$compile","$document","$parse",function(e,n,r){function a(t,e,n){function o(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(!l&&i(t))e=t;else{e=[];for(var n in t)t.hasOwnProperty(n)&&"$"!==n.charAt(0)&&e.push(n)}return e}var s=t.match(Wo);if(!s)throw qo("iexp",t,q(e));var u=s[5]||s[7],l=s[6];t=/ as /.test(s[0])&&s[1];var c=s[9];e=r(s[2]?s[1]:u);var d=t&&r(t)||e,f=c&&r(c),h=c?function(t,e){return f(n,e)}:function(t){return jt(t)},p=function(t,e){return h(t,$(t,e))},m=r(s[2]||s[1]),g=r(s[3]||""),v=r(s[4]||""),y=r(s[8]),b={},$=l?function(t,e){return b[l]=e,b[u]=t,b}:function(t){return b[u]=t,b};return{trackBy:c,getTrackByValue:p,getWatchables:r(y,function(t){var e=[];t=t||[];for(var r=a(t),i=r.length,o=0;o<i;o++){var u=t===r?o:r[o],l=t[u],u=$(l,u),l=h(l,u);e.push(l),(s[2]||s[1])&&(l=m(n,u),e.push(l)),s[4]&&(u=v(n,u),e.push(u))}return e}),getOptions:function(){for(var t=[],e={},r=y(n)||[],i=a(r),s=i.length,u=0;u<s;u++){var l=r===i?u:i[u],f=$(r[l],l),b=d(n,f),l=h(b,f),w=m(n,f),k=g(n,f),f=v(n,f),b=new o(l,b,w,k,f);t.push(b),e[l]=b}return{items:t,selectValueMap:e,getOptionFromViewValue:function(t){return e[p(t)]},getViewValueFromOption:function(t){return c?V(t.viewValue):t.viewValue}}}}}var s=t.document.createElement("option"),u=t.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(t,e,n,r){r[0].registerOption=p},post:function(t,r,i,l){function c(t){var e=(t=v.getOptionFromViewValue(t))&&t.element;return e&&!e.selected&&(e.selected=!0),t}function d(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}var f=l[0],h=l[1],p=i.multiple;l=0;for(var m=r.children(),g=m.length;l<g;l++)if(""===m[l].value){f.hasEmptyOption=!0,f.emptyOption=m.eq(l);break}r.empty(),l=!!f.emptyOption,ir(s.cloneNode(!1)).val("?");var v,y=a(i.ngOptions,r,t),$=n[0].createDocumentFragment();f.generateUnknownOptionValue=function(t){return"?"},p?(f.writeValue=function(t){if(v){var e=t&&t.map(c)||[];v.items.forEach(function(t){t.element.selected&&-1===Array.prototype.indexOf.call(e,t)&&(t.element.selected=!1)})}},f.readValue=function(){var t=r.val()||[],e=[];return o(t,function(t){(t=v.selectValueMap[t])&&!t.disabled&&e.push(v.getViewValueFromOption(t))}),e},y.trackBy&&t.$watchCollection(function(){if(wr(h.$viewValue))return h.$viewValue.map(function(t){return y.getTrackByValue(t)})},function(){h.$render()})):(f.writeValue=function(t){if(v){var e=r[0].options[r[0].selectedIndex],n=v.getOptionFromViewValue(t);e&&e.removeAttribute("selected"),n?(r[0].value!==n.selectValue&&(f.removeUnknownOption(),r[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):f.selectUnknownOrEmptyOption(t)}},f.readValue=function(){var t=v.selectValueMap[r.val()];return t&&!t.disabled?(f.unselectEmptyOption(),f.removeUnknownOption(),v.getViewValueFromOption(t)):null},y.trackBy&&t.$watch(function(){return y.getTrackByValue(h.$viewValue)},function(){h.$render()})),l&&(e(f.emptyOption)(t),r.prepend(f.emptyOption),8===f.emptyOption[0].nodeType?(f.hasEmptyOption=!1,f.registerOption=function(t,e){""===e.val()&&(f.hasEmptyOption=!0,f.emptyOption=e,f.emptyOption.removeClass("ng-scope"),h.$render(),e.on("$destroy",function(){var t=f.$isEmptyOptionSelected();f.hasEmptyOption=!1,f.emptyOption=void 0,t&&h.$render()}))}):f.emptyOption.removeClass("ng-scope")),t.$watchCollection(y.getWatchables,function(){var t=v&&f.readValue();if(v)for(var e=v.items.length-1;0<=e;e--){var n=v.items[e];Ot(b(n.group)?n.element.parentNode:n.element)}v=y.getOptions();var i={};v.items.forEach(function(t){var e;if(b(t.group)){e=i[t.group],e||(e=u.cloneNode(!1),$.appendChild(e),e.label=null===t.group?"null":t.group,i[t.group]=e);var n=s.cloneNode(!1);e.appendChild(n),d(t,n)}else e=s.cloneNode(!1),$.appendChild(e),d(t,e)}),r[0].appendChild($),h.$render(),h.$isEmpty(t)||(e=f.readValue(),(y.trackBy||p?L(t,e):t===e)||(h.$setViewValue(e),h.$render()))})}}}}],Zo=["$locale","$interpolate","$log",function(t,e,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(t){s.text(t||"")}var c,d=u.count,f=u.$attr.when&&s.attr(u.$attr.when),h=u.offset||0,m=a.$eval(f)||{},g={},v=e.startSymbol(),b=e.endSymbol(),$=v+d+"-"+h+b,w=yr.noop;o(u,function(t,e){var n=i.exec(e);n&&(n=(n[1]?"-":"")+cr(n[2]),m[n]=s.attr(u.$attr[e]))}),o(m,function(t,n){g[n]=e(t.replace(r,$))}),a.$watch(d,function(e){var r=parseFloat(e),i=$r(r);i||r in m||(r=t.pluralCat(r-h)),r===c||i&&$r(c)||(w(),i=g[r],y(i)?(null!=e&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+f),w=p,l()):w=a.$watch(i,l),c=r)})}}}],Ko=["$parse","$animate","$compile",function(t,e,n){var a=r("ngRepeat"),s=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))};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,u){var l=u.ngRepeat,c=n.$$createComment("end ngRepeat",l),d=l.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 a("iexp",l);var f=d[1],h=d[2],p=d[3],m=d[4],d=f.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/);if(!d)throw a("iidexp",f);var g=d[3]||d[1],v=d[2];if(p&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(p)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(p)))throw a("badident",p);var y,b,$,w,k={$id:jt};return m?y=t(m):($=function(t,e){return jt(e)},w=function(t){return t}),function(t,n,r,u,d){y&&(b=function(e,n,r){return v&&(k[v]=e),k[g]=n,k.$index=r,y(t,k)});var f=lt();t.$watchCollection(h,function(r){var u,h,m,y,k,_,C,x,S,E,D=n[0],A=lt();if(p&&(t[p]=r),i(r))x=r,h=b||$;else for(E in h=b||w,x=[],r)lr.call(r,E)&&"$"!==E.charAt(0)&&x.push(E);for(y=x.length,E=Array(y),u=0;u<y;u++)if(k=r===x?u:x[u],_=r[k],C=h(k,_,u),f[C])S=f[C],delete f[C],A[C]=S,E[u]=S;else{if(A[C])throw o(E,function(t){t&&t.scope&&(f[t.id]=t)}),a("dupes",l,C,_);E[u]={id:C,scope:void 0,clone:void 0},A[C]=!0}for(m in f){if(S=f[m],C=ut(S.clone),e.leave(C),C[0].parentNode)for(u=0,h=C.length;u<h;u++)C[u].$$NG_REMOVED=!0;S.scope.$destroy()}for(u=0;u<y;u++)if(k=r===x?u:x[u],_=r[k],S=E[u],S.scope){m=D;do{m=m.nextSibling}while(m&&m.$$NG_REMOVED);S.clone[0]!==m&&e.move(ut(S.clone),null,D),D=S.clone[S.clone.length-1],s(S.scope,u,g,_,v,k,y)}else d(function(t,n){S.scope=n;var r=c.cloneNode(!1);t[t.length++]=r,e.enter(t,null,D),D=r,S.clone=t,A[S.id]=S,s(S.scope,u,g,_,v,k,y)});f=A})}}}}],Jo=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,r){e.$watch(r.ngShow,function(e){t[e?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Xo=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,r){e.$watch(r.ngHide,function(e){t[e?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Qo=Vn(function(t,e,n){t.$watch(n.ngStyle,function(t,n){n&&t!==n&&o(n,function(t,n){e.css(n,"")}),t&&e.css(t)},!0)}),ta=["$animate","$compile",function(t,e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=[],u=[],l=[],c=[],d=function(t,e){return function(n){!1!==n&&t.splice(e,1)}};n.$watch(i.ngSwitch||i.on,function(n){for(var r,i;l.length;)t.cancel(l.pop());for(r=0,i=c.length;r<i;++r){var f=ut(u[r].clone);c[r].$destroy(),(l[r]=t.leave(f)).done(d(l,r))}u.length=0,c.length=0,(s=a.cases["!"+n]||a.cases["?"])&&o(s,function(n){n.transclude(function(r,i){c.push(i);var o=n.element;r[r.length++]=e.$$createComment("end ngSwitchWhen"),u.push({clone:r}),t.enter(r,o.parent(),o)})})})}}}],ea=Vn({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,r,i){t=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(t,e,n){return n[e-1]!==t}),o(t,function(t){r.cases["!"+t]=r.cases["!"+t]||[],r.cases["!"+t].push({transclude:i,element:e})})}}),na=Vn({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})}}),ra=r("ngTransclude"),ia=["$compile",function(t){return{restrict:"EAC",compile:function(e){
var n=t(e.contents());return e.empty(),function(t,e,r,i,o){function a(){n(t,function(t){e.append(t)})}if(!o)throw ra("orphan",q(e));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude=""),r=r.ngTransclude||r.ngTranscludeSlot,o(function(t,n){var r;if(r=t.length)t:{r=0;for(var i=t.length;r<i;r++){var o=t[r];if(o.nodeType!==Or||o.nodeValue.trim()){r=!0;break t}}r=void 0}r?e.append(t):(a(),n.$destroy())},null,r),r&&!o.isSlotFilled(r)&&a()}}}}],oa=["$templateCache",function(t){return{restrict:"E",terminal:!0,compile:function(e,n){"text/ng-template"===n.type&&t.put(n.id,e[0].text)}}}],aa={$setViewValue:p,$render:p},sa=["$element","$scope",function(e,n){function r(){s||(s=!0,n.$$postDigest(function(){s=!1,o.ngModelCtrl.$render()}))}function i(t){u||(u=!0,n.$$postDigest(function(){n.$$destroyed||(u=!1,o.ngModelCtrl.$setViewValue(o.readValue()),t&&o.ngModelCtrl.$render())}))}var o=this,a=new Jr;o.selectValueMap={},o.ngModelCtrl=aa,o.multiple=!1,o.unknownOption=ir(t.document.createElement("option")),o.hasEmptyOption=!1,o.emptyOption=void 0,o.renderUnknownOption=function(t){t=o.generateUnknownOptionValue(t),o.unknownOption.val(t),e.prepend(o.unknownOption),nr(o.unknownOption,!0),e.val(t)},o.updateUnknownOption=function(t){t=o.generateUnknownOptionValue(t),o.unknownOption.val(t),nr(o.unknownOption,!0),e.val(t)},o.generateUnknownOptionValue=function(t){return"? "+jt(t)+" ?"},o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.selectEmptyOption=function(){o.emptyOption&&(e.val(""),nr(o.emptyOption,!0))},o.unselectEmptyOption=function(){o.hasEmptyOption&&nr(o.emptyOption,!1)},n.$on("$destroy",function(){o.renderUnknownOption=p}),o.readValue=function(){var t=e.val(),t=t in o.selectValueMap?o.selectValueMap[t]:t;return o.hasOption(t)?t:null},o.writeValue=function(t){var n=e[0].options[e[0].selectedIndex];n&&nr(ir(n),!1),o.hasOption(t)?(o.removeUnknownOption(),n=jt(t),e.val(n in o.selectValueMap?n:t),nr(ir(e[0].options[e[0].selectedIndex]),!0)):o.selectUnknownOrEmptyOption(t)},o.addOption=function(t,e){if(8!==e[0].nodeType){at(t,'"option value"'),""===t&&(o.hasEmptyOption=!0,o.emptyOption=e);var n=a.get(t)||0;a.set(t,n+1),r()}},o.removeOption=function(t){var e=a.get(t);e&&(1===e?(a.delete(t),""===t&&(o.hasEmptyOption=!1,o.emptyOption=void 0)):a.set(t,e-1))},o.hasOption=function(t){return!!a.get(t)},o.$hasEmptyOption=function(){return o.hasEmptyOption},o.$isUnknownOptionSelected=function(){return e[0].options[0]===o.unknownOption[0]},o.$isEmptyOptionSelected=function(){return o.hasEmptyOption&&e[0].options[e[0].selectedIndex]===o.emptyOption[0]},o.selectUnknownOrEmptyOption=function(t){null==t&&o.emptyOption?(o.removeUnknownOption(),o.selectEmptyOption()):o.unknownOption.parent().length?o.updateUnknownOption(t):o.renderUnknownOption(t)};var s=!1,u=!1;o.registerOption=function(t,e,n,a,s){if(n.$attr.ngValue){var u,l=NaN;n.$observe("value",function(t){var n,r=e.prop("selected");b(l)&&(o.removeOption(u),delete o.selectValueMap[l],n=!0),l=jt(t),u=t,o.selectValueMap[l]=t,o.addOption(t,e),e.attr("value",l),n&&r&&i()})}else a?n.$observe("value",function(t){o.readValue();var n,r=e.prop("selected");b(u)&&(o.removeOption(u),n=!0),u=t,o.addOption(t,e),n&&r&&i()}):s?t.$watch(s,function(t,r){n.$set("value",t);var a=e.prop("selected");r!==t&&o.removeOption(r),o.addOption(t,e),r&&a&&i()}):o.addOption(n.value,e);n.$observe("disabled",function(t){("true"===t||t&&e.prop("selected"))&&(o.multiple?i(!0):(o.ngModelCtrl.$setViewValue(null),o.ngModelCtrl.$render()))}),e.on("$destroy",function(){var t=o.readValue(),e=n.value;o.removeOption(e),r(),(o.multiple&&t&&-1!==t.indexOf(e)||t===e)&&i(!0)})}}],ua=function(){return{restrict:"E",require:["select","?ngModel"],controller:sa,priority:1,link:{pre:function(t,e,n,r){var i=r[0],a=r[1];if(a){if(i.ngModelCtrl=a,e.on("change",function(){i.removeUnknownOption(),t.$apply(function(){a.$setViewValue(i.readValue())})}),n.multiple){i.multiple=!0,i.readValue=function(){var t=[];return o(e.find("option"),function(e){e.selected&&!e.disabled&&(e=e.value,t.push(e in i.selectValueMap?i.selectValueMap[e]:e))}),t},i.writeValue=function(t){o(e.find("option"),function(e){var n=!!t&&(-1!==Array.prototype.indexOf.call(t,e.value)||-1!==Array.prototype.indexOf.call(t,i.selectValueMap[e.value]));n!==e.selected&&nr(ir(e),n)})};var s,u=NaN;t.$watch(function(){u!==a.$viewValue||L(s,a.$viewValue)||(s=ft(a.$viewValue),a.$render()),u=a.$viewValue}),a.$isEmpty=function(t){return!t||0===t.length}}}else i.registerOption=p},post:function(t,e,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}}}},la=["$interpolate",function(t){return{restrict:"E",priority:100,compile:function(e,n){var r,i;return b(n.ngValue)||(b(n.value)?r=t(n.value,!0):(i=t(e.text(),!0))||n.$set("value",e.text())),function(t,e,n){var o=e.parent();(o=o.data("$selectController")||o.parent().data("$selectController"))&&o.registerOption(t,e,n,r,i)}}}}],ca=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()}))}}},da=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,i){if(i){var o,a=n.ngPattern||n.pattern;n.$observe("pattern",function(t){if(k(t)&&0<t.length&&(t=new RegExp("^"+t+"$")),t&&!t.test)throw r("ngPattern")("noregexp",a,t,q(e));o=t||void 0,i.$validate()}),i.$validators.pattern=function(t,e){return i.$isEmpty(e)||y(o)||o.test(e)}}}}},fa=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=-1;n.$observe("maxlength",function(t){t=f(t),i=$r(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(t,e){return 0>i||r.$isEmpty(e)||e.length<=i}}}}},ha=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}}}}};t.angular.bootstrap?t.console&&console.log("WARNING: Tried to load AngularJS more than once."):(function(){var e;if(!Tr){var n=Sr();(or=y(n)?t.jQuery:n?t[n]:void 0)&&or.fn.on?(ir=or,c(or.fn,{scope:qr.scope,isolateScope:qr.isolateScope,controller:qr.controller,injector:qr.injector,inheritedData:qr.inheritedData}),e=or.cleanData,or.cleanData=function(t){for(var n,r,i=0;null!=(r=t[i]);i++)(n=or._data(r,"events"))&&n.$destroy&&or(r).triggerHandler("$destroy");e(t)}):ir=yt,yr.element=ir,Tr=!0}}(),function(n){c(n,{errorHandlingConfig:e,bootstrap:tt,copy:V,extend:c,merge:d,equals:L,element:ir,forEach:o,injector:Yt,noop:p,bind:j,toJson:H,fromJson:U,identity:m,isUndefined:y,isDefined:b,isString:k,isFunction:S,isObject:$,isNumber:_,isElement:O,isArray:wr,version:Pr,isDate:C,lowercase:cr,uppercase:dr,callbacks:{$$counter:0},getTestability:nt,reloadWithDebugInfo:et,$$minErr:r,$$csp:xr,$$encodeUriSegment:K,$$encodeUriQuery:J,$$stringify:ct}),ar=dt(t),ar("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:tn}),t.provider("$compile",Qt).directive({a:Qi,input:vo,textarea:vo,form:ro,script:oa,select:ua,option:la,ngBind:$o,ngBindHtml:ko,ngBindTemplate:wo,ngClass:Co,ngClassEven:So,ngClassOdd:xo,ngCloak:Eo,ngController:Do,ngForm:io,ngHide:Xo,ngIf:To,ngInclude:Oo,ngInit:Fo,ngNonBindable:zo,ngPluralize:Zo,ngRepeat:Ko,ngShow:Jo,ngStyle:Qo,ngSwitch:ta,ngSwitchWhen:ea,ngSwitchDefault:na,ngOptions:Go,ngTransclude:ia,ngModel:Ho,ngList:Ro,ngChange:_o,pattern:da,ngPattern:da,required:ca,ngRequired:ca,minlength:ha,ngMinlength:ha,maxlength:fa,ngMaxlength:fa,ngValue:bo,ngModelOptions:Yo}).directive({ngInclude:Po}).directive(to).directive(Ao),t.provider({$anchorScroll:zt,$animate:ui,$animateCss:di,$$animateJs:ai,$$animateQueue:si,$$AnimateRunner:ci,$$animateAsyncRun:li,$browser:Kt,$cacheFactory:Jt,$controller:oe,$document:ae,$$isDocumentHidden:se,$exceptionHandler:ue,$filter:mn,$$forceReflow:yi,$interpolate:$e,$interval:we,$http:ge,$httpParamSerializer:ce,$httpParamSerializerJQLike:de,$httpBackend:ye,$xhrFactory:ve,$jsonpCallbacks:Si,$location:Fe,$log:Re,$parse:Ge,$rootScope:Qe,$q:Ze,$$q:Ke,$sce:on,$sceDelegate:rn,$sniffer:an,$templateCache:Xt,$templateRequest:sn,$$testability:un,$timeout:ln,$window:fn,$$rAF:Xe,$$jqLite:It,$$Map:Xr,$$cookieReader:pn})}]).info({angularVersion:"1.6.9"})}(yr),yr.module("ngLocale",[],["$provide",function(t){function e(t){t+="";var e=t.indexOf(".");return-1==e?0:t.length-e-1}t.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:"January February March April May June July August September October November December".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONEMONTH:"January February March April May June July August September October November December".split(" "),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,n){var r=0|t,i=n;return void 0===i&&(i=Math.min(e(t),3)),Math.pow(10,i),1==r&&0==i?"one":"other"}})}]),ir(function(){Q(t.document,tt)}))}(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){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("angular")):"function"==typeof define&&define.amd?define(["exports","angular"],e):e(t["@uirouter/angularjs"]={},t.angular)}(this,function(t,e){"use strict";function n(t){function e(n){return n.length>=r?t.apply(null,n):function(){return e(n.concat([].slice.apply(arguments)))}}var n=[].slice.apply(arguments,[1]),r=t.length;return e(n)}function r(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.apply(null,[].slice.call(arguments).reverse())}function o(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t.apply(null,n)&&e.apply(null,n)}}function a(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t.apply(null,n)||e.apply(null,n)}}function s(t,e){return function(n){return n[t].apply(n,e)}}function u(t){return function(e){for(var n=0;n<t.length;n++)if(t[n][0](e))return t[n][1](e)}}function l(t){if(ne(t)&&t.length){var e=t.slice(0,-1),n=t.slice(-1);return!(e.filter(Lt(te)).length||n.filter(Lt(Xt)).length)}return Xt(t)}function c(t){return t}function d(){}function f(t,e,n,r,i){void 0===i&&(i=!1);var o=function(e){return t()[e].bind(n())},a=function(t){return function(){return e[t]=o(t),e[t].apply(null,arguments)}};return r=r||Object.keys(t()),r.reduce(function(t,e){return t[e]=i?a(e):o(e),t},e)}function h(t,e){return-1!==t.indexOf(e)}function p(t,e){var n=t.indexOf(e);return n>=0&&t.splice(n,1),t}function m(t,e){return t.push(e),e}function g(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=e.concat({}).reverse(),i=pe.apply(null,r);return pe({},i,y(t||{},Object.keys(i)))}function v(t,e){var n=[];for(var r in t.path){if(t.path[r]!==e.path[r])break;n.push(t.path[r])}return n}function y(t,e){var n={};for(var r in t)-1!==e.indexOf(r)&&(n[r]=t[r]);return n}function b(t,e){return Object.keys(t).filter(Lt(ve(e))).reduce(function(e,n){return e[n]=t[n],e},{})}function $(t,e){return _(t,Rt(e))}function w(t,e){var n=ne(t),r=n?[]:{},i=n?function(t){return r.push(t)}:function(t,e){return r[e]=t};return he(t,function(t,n){e(t,n)&&i(t,n)}),r}function k(t,e){var n;return he(t,function(t,r){n||e(t,r)&&(n=t)}),n}function _(t,e){var n=ne(t)?[]:{};return he(t,function(t,r){return n[r]=e(t,r)}),n}function C(t,e){return t.push(e),t}function x(t,e){return void 0===e&&(e="assert failure"),function(n){var r=t(n);if(!r)throw new Error(Xt(e)?e(n):e);return r}}function S(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return[];var n,r=t.reduce(function(t,e){return Math.min(e.length,t)},9007199254740991),i=[];for(n=0;n<r;n++)switch(t.length){case 1:i.push([t[0][n]]);break;case 2:i.push([t[0][n],t[1][n]]);break;case 3:i.push([t[0][n],t[1][n],t[2][n]]);break;case 4:i.push([t[0][n],t[1][n],t[2][n],t[3][n]]);break;default:i.push(t.map(function(t){return t[n]}))}return i}function E(t,e){var n,r;if(ne(e)&&(n=e[0],r=e[1]),!te(n))throw new Error("invalid parameters to applyPairs");return t[n]=r,t}function D(t){return t.length&&t[t.length-1]||void 0}function A(t,e){return e&&Object.keys(e).forEach(function(t){return delete e[t]}),e||(e={}),pe(e,t)}function M(t,e,n){if(ne(t))return t.forEach(e,n);Object.keys(t).forEach(function(n){return e(t[n],n)})}function T(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];if(n)for(var r=Object.keys(n),i=0;i<r.length;i++)t[r[i]]=n[r[i]]}return t}function O(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!==t&&e!==e)return!0;var n=typeof t;if(n!==typeof e||"object"!==n)return!1;var r=[t,e];if(It(ne)(r))return P(t,e);if(It(re)(r))return t.getTime()===e.getTime();if(It(ie)(r))return t.toString()===e.toString();if(It(Xt)(r))return!0;if([Xt,ne,re,ie].map(jt).reduce(function(t,e){return t||!!e(r)},!1))return!1;var i,o={};for(i in t){if(!O(t[i],e[i]))return!1;o[i]=!0}for(i in e)if(!o[i])return!1;return!0}function P(t,e){return t.length===e.length&&S(t,e).reduce(function(t,e){return t&&O(e[0],e[1])},!0)}function F(t){if(!t)return"ui-view (defunct)";var e=t.creationContext?t.creationContext.name||"(root)":"(none)";return"[ui-view#"+t.id+" "+t.$type+":"+t.fqn+" ("+t.name+"@"+e+")]"}function R(e){return Qt(e)?t.Category[e]:t.Category[t.Category[e]]}function V(t,e){function n(t){for(var e=r,n=0;n<e.length;n++){var i=new Yt(e[n]);if(i&&i.matches(t.name)||!i&&e[n]===t.name)return!0}return!1}var r=te(e)?[e]:e;return!!(Xt(r)?r:n)(t)}function N(t,e,n){function r(t,r,i){void 0===i&&(i={});var s=new Ke(e,n,r,t,a,i);return o.push(s),s.deregister.bind(s)}var i=t._registeredHooks=t._registeredHooks||{},o=i[n.name]=[],a=ye(o);return t[n.name]=r,r}function L(t){return void 0===t&&(t=!1),function(e,n){var r=t?-1:1,i=(e.node.state.path.length-n.node.state.path.length)*r;return 0!==i?i:n.hook.priority-e.hook.priority}}function I(t,e){function n(t){return ne(t)?t:Zt(t)?[t]:[]}function r(t){switch(t.length){case 0:return;case 1:return"auto"===e?t[0]:t;default:return t}}function i(t,e){return function(i){if(ne(i)&&0===i.length)return i;var o=n(i),a=_(o,t);return!0===e?0===w(a,function(t){return!t}).length:r(a)}}function o(t){return function(e,r){var i=n(e),o=n(r);if(i.length!==o.length)return!1;for(var a=0;a<i.length;a++)if(!t(i[a],o[a]))return!1;return!0}}var a=this;["encode","decode","equals","$normalize"].forEach(function(e){var n=t[e].bind(t),r="equals"===e?o:i;a[e]=r(n)}),pe(this,{dynamic:t.dynamic,name:t.name,pattern:t.pattern,inherit:t.inherit,is:i(t.is.bind(t),!0),$arrayMode:e})}function j(t){function e(){return t.value}return t=tn(t)&&{value:t}||t,e.__cacheable=!0,pe(t,{$$fn:l(t.value)?t.value:e})}function B(e,n,r,i,o){if(e.type&&n&&"string"!==n.name)throw new Error("Param '"+i+"' has two type configurations.");if(e.type&&n&&"string"===n.name&&o.type(e.type))return o.type(e.type);if(n)return n;if(!e.type){var a=r===t.DefType.CONFIG?"any":r===t.DefType.PATH?"path":r===t.DefType.SEARCH?"query":"string";return o.type(a)}return e.type instanceof Xe?e.type:o.type(e.type)}function H(t,e,n){var r=t.squash;if(!e||!1===r)return!1;if(!Zt(r)||null==r)return n;if(!0===r||te(r))return r;throw new Error("Invalid squash policy: '"+r+"'. Valid policies: false, true, or arbitrary string")}function U(t,e,n,r){var i,o,a=[{from:"",to:n||e?void 0:""},{from:null,to:n||e?void 0:""}];return i=ne(t.replace)?t.replace:[],te(r)&&i.push({from:r,to:void 0}),o=_(i,Rt("from")),w(a,function(t){return-1===o.indexOf(t.from)}).concat(i)}function Y(t,e){return e.length<=t?e:e.substr(0,t-3)+"..."}function z(t,e){for(;e.length<t;)e+=" ";return e}function q(t){return t.replace(/^([A-Z])/,function(t){return t.toLowerCase()}).replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function W(t){var e=G(t),n=e.match(/^(function [^ ]+\([^)]*\))/),r=n?n[1]:e,i=t.name||"";return i&&r.match(/function \(/)?"function "+i+r.substr(9):r}function G(t){var e=ne(t)?t.slice(-1)[0]:t;return e&&e.toString()||"undefined"}function Z(t){function e(t){if(ee(t)){if(-1!==n.indexOf(t))return"[circular ref]";n.push(t)}return vn(t)}var n=[];return JSON.stringify(t,function(t,n){return e(n)}).replace(/\\"/g,'"')}function K(t){var e=new RegExp("("+t+")","g");return function(t){return t.split(e).filter(c)}}function J(t,e){return te(D(t))&&te(e)?t.slice(0,-1).concat(D(t)+e):C(t,e)}function X(t){return t.name}function Q(t){return t.self.$$state=function(){return t},t.self}function tt(t){return t.parent&&t.parent.data&&(t.data=t.self.data=ge(t.parent.data,t.data)),t.data}function et(t){return t.parent?t.parent.path.concat(t):[t]}function nt(t){var e=t.parent?pe({},t.parent.includes):{};return e[t.name]=!0,e}function rt(t){var e=function(t){var e=ue.$injector;return t.$inject||e&&e.annotate(t,e.strictDi)||"deferred"},n=function(t){return!(!t.token||!t.resolveFn)},r=function(t){return!(!t.provide&&!t.token||!(t.useValue||t.useFactory||t.useExisting||t.useClass))},o=function(t){return!!(t&&t.val&&(te(t.val)||ne(t.val)||Xt(t.val)))},a=function(t){return t.provide||t.token},s=u([[Rt("resolveFn"),function(t){return new an(a(t),t.resolveFn,t.deps,t.policy)}],[Rt("useFactory"),function(t){return new an(a(t),t.useFactory,t.deps||t.dependencies,t.policy)}],[Rt("useClass"),function(t){return new an(a(t),function(){return new t.useClass},[],t.policy)}],[Rt("useValue"),function(t){return new an(a(t),function(){return t.useValue},[],t.policy,t.useValue)}],[Rt("useExisting"),function(t){return new an(a(t),c,[t.useExisting],t.policy)}]]),l=u([[i(Rt("val"),te),function(t){return new an(t.token,c,[t.val],t.policy)}],[i(Rt("val"),ne),function(t){return new an(t.token,D(t.val),t.val.slice(0,-1),t.policy)}],[i(Rt("val"),Xt),function(t){return new an(t.token,t.val,e(t.val),t.policy)}]]),d=u([[Bt(an),function(t){return t}],[n,s],[r,s],[o,l],[Ut(!0),function(t){throw new Error("Invalid resolve value: "+Z(t))}]]),f=t.resolve;return(ne(f)?f:function(t,e){return Object.keys(t||{}).map(function(n){return{token:n,val:t[n],deps:void 0,policy:e[n]}})}(f,t.resolvePolicy||{})).map(d)}function it(t,e){var n=["",""],r=t.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!e)return r;switch(e.squash){case!1:n=["(",")"+(e.isOptional?"?":"")];break;case!0:r=r.replace(/\/$/,""),n=["(?:/(",")|/)?"];break;default:n=["("+e.squash+"|",")?"]}return r+n[0]+e.type.pattern.source+n[1]}function ot(t,e,n,r){return"/"===r?t:e?$n(r)+t:n?r.slice(1)+t:t}function at(t){if(!(Xt(t)||te(t)||Bt(We)(t)||We.isDef(t)))throw new Error("'handler' must be a string, function, TargetState, or have a state: 'newtarget' property");return Xt(t)?t:Ut(t)}function st(t){t.addResolvable({token:rr,deps:[],resolveFn:function(){return t.router},data:t.router},""),t.addResolvable({token:mn,deps:[],resolveFn:function(){return t},data:t},""),t.addResolvable({token:"$transition$",deps:[],resolveFn:function(){return t},data:t},""),t.addResolvable({token:"$stateParams",deps:[],resolveFn:function(){return t.params()},data:t.params()},""),t.entering().forEach(function(e){t.addResolvable({token:"$state$",deps:[],resolveFn:function(){return e},data:e},e)})}function ut(t){return function(e,n){return(0,n.$$state()[t])(e,n)}}function lt(t,e){function n(e){return e&&Array.isArray(e.states)&&e.states.forEach(function(e){return t.router.stateRegistry.register(e)}),e}var r=e.$$state().lazyLoad,i=r._promise;if(!i){var o=function(t){return delete e.lazyLoad,delete e.$$state().lazyLoad,delete r._promise,t},a=function(t){return delete r._promise,ue.$q.reject(t)};i=r._promise=ue.$q.when(r(t,e)).then(n).then(o,a)}return i}function ct(t){var e=t._ignoredReason();if(e){qe.traceTransitionIgnored(t);var n=t.router.globals.transition;return"SameAsCurrent"===e&&n&&n.abort(),Le.ignored().toPromise()}}function dt(t){if(!t.valid())throw new Error(t.error())}function ft(t){var e=function(t){return t||""},n=wn(t).map(e),r=n[0],i=n[1],o=kn(r).map(e);return{path:o[0],search:o[1],hash:i,url:t}}function ht(t,e,n,r){return function(i){function o(t){t.dispose(a),t.dispose(s)}var a=i.locationService=new n(i),s=i.locationConfig=new r(i,e);return{name:t,service:a,configuration:s,dispose:o}}}function pt(t){return ue.$injector=Nr,ue.$q=Pr,{name:"vanilla.services",$q:Pr,$injector:Nr,dispose:function(){return null}}}function mt(){var t=null;return function(e,n){return t=t||ue.$injector.get("$templateFactory"),[new ri(e,n,t)]}}function gt(t){if(!t.parent)return{};var e=["templateProvider","templateUrl","template","notify","async"],n=["controller","controllerProvider","controllerAs","resolveAs"],r=["component","bindings","componentProvider"],i=e.concat(n),o=r.concat(i);if(Zt(t.views)&&ei(o,t))throw new Error("State '"+t.name+"' has a 'views' object. It cannot also have \"view properties\" at the state level.  Move the following properties into a view (in the 'views' object):  "+o.filter(function(e){return Zt(t[e])}).join(", "));var a={},s=t.views||{$default:y(t,o)};return he(s,function(e,n){if(n=n||"$default",te(e)&&(e={component:e}),e=pe({},e),ei(r,e)&&ei(i,e))throw new Error("Cannot combine: "+r.join("|")+" with: "+i.join("|")+" in stateview: '"+n+"@"+t.name+"'");e.resolveAs=e.resolveAs||"$resolve",e.$type="ng1",e.$context=t,e.$name=n;var o=Wn.normalizeUIViewTarget(e.$context,e.$name);e.$uiViewName=o.uiViewName,e.$uiViewContextAnchor=o.uiViewContextAnchor,a[n]=e}),a}function vt(t){var e=ue.$injector.get(t+"Directive");if(!e||!e.length)throw new Error("Unable to find component named '"+t+"'");return e.map(oi).reduce(Se,[])}function yt(t){function e(t,e,r,i,o,a){return n._runtimeServices(i,t,r,e),delete gi.router,delete gi.$get,gi}gi=this.router=new rr,gi.stateProvider=new si(gi.stateRegistry,gi.stateService),gi.stateRegistry.decorator("views",gt),gi.stateRegistry.decorator("onExit",ui("onExit")),gi.stateRegistry.decorator("onRetain",ui("onRetain")),gi.stateRegistry.decorator("onEnter",ui("onEnter")),gi.viewService._pluginapi._viewConfigFactory("ng1",mt());var n=gi.locationService=gi.locationConfig=new li(t);return li.monkeyPatchPathParameterType(gi),gi.router=gi,gi.$get=e,e.$inject=["$location","$browser","$sniffer","$rootScope","$http","$templateCache"],gi}function bt(t,e,n){ue.$injector=t,ue.$q=e,n.stateRegistry.get().map(function(t){return t.$$state().resolvables}).reduce(Se,[]).filter(function(t){return"deferred"===t.deps}).forEach(function(e){return e.deps=t.annotate(e.resolveFn,t.strictDi)})}function $t(t){t.$watch(function(){qe.approximateDigests++})}function wt(t){var e,n=t.match(/^\s*({[^}]*})\s*$/);if(n&&(t="("+n[1]+")"),!(e=t.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/))||4!==e.length)throw new Error("Invalid state ref '"+t+"'");return{state:e[1]||null,paramExpr:e[3]||null}}function kt(t){var e=t.parent().inheritedData("$uiView"),n=Nt("$cfg.path")(e);return n?D(n).state.name:void 0}function _t(t,e,n){var r=n.uiState||t.current.name,i=pe(St(e,t),n.uiStateOpts||{}),o=t.href(r,n.uiStateParams,i);return{uiState:r,uiStateParams:n.uiStateParams,uiStateOpts:i,href:o}}function Ct(t){var e="[object SVGAnimatedString]"===Object.prototype.toString.call(t.prop("href")),n="FORM"===t[0].nodeName;return{attr:n?"action":e?"xlink:href":"href",isAnchor:"A"===t.prop("tagName").toUpperCase(),clickable:!n}}function xt(t,e,n,r,i){return function(o){var a=o.which||o.button,s=i();if(!(a>1||o.ctrlKey||o.metaKey||o.shiftKey||t.attr("target"))){var u=n(function(){e.go(s.uiState,s.uiStateParams,s.uiStateOpts)});o.preventDefault();var l=r.isAnchor&&!s.href?1:0;o.preventDefault=function(){l--<=0&&n.cancel(u)}}}}function St(t,e){return{relative:kt(t)||e.$current,inherit:!0,source:"sref"}}function Et(t,e,n,r){var i;r&&(i=r.events),ne(i)||(i=["click"]);for(var o=t.on?"on":"bind",a=0,s=i;a<s.length;a++){var u=s[a];t[o](u,n)}e.$on("$destroy",function(){for(var e=t.off?"off":"unbind",r=0,o=i;r<o.length;r++){var a=o[r];t[e](a,n)}})}function Dt(t){var e=function(e,n,r){return t.is(e,n,r)};return e.$stateful=!0,e}function At(t){var e=function(e,n,r){return t.includes(e,n,r)};return e.$stateful=!0,e}function Mt(t,e,n,r,i,o){var a=Nt("viewDecl.controllerAs"),s=Nt("viewDecl.resolveAs");return{restrict:"ECA",priority:-400,compile:function(r){var o=r.html();return r.empty(),function(r,u){var l=u.data("$uiView");if(!l)return u.html(o),void t(u.contents())(r);var c=l.$cfg||{viewDecl:{},getTemplate:d},f=c.path&&new fn(c.path);u.html(c.getTemplate(u,f)||o),qe.traceUIViewFill(l.$uiView,u.html());var h=t(u.contents()),p=c.controller,m=a(c),g=s(c),v=f&&wi(f);if(r[g]=v,p){var y=e(p,pe({},v,{$scope:r,$element:u}));m&&(r[m]=y,r[m][g]=v),u.data("$ngControllerController",y),u.children().data("$ngControllerController",y),Tt(i,n,y,r,c)}if(te(c.viewDecl.component))var b=c.viewDecl.component,$=q(b),w=new RegExp("^(x-|data-)?"+$+"$","i"),k=function(){var t=[].slice.call(u[0].children).filter(function(t){return t&&t.tagName&&w.exec(t.tagName)});return t&&Ft.element(t).data("$"+b+"Controller")},_=r.$watch(k,function(t){t&&(Tt(i,n,t,r,c),_())});h(r)}}}}function Tt(t,e,n,r,i){!Xt(n.$onInit)||i.viewDecl.component&&xi||n.$onInit();var o=D(i.path).state.self,a={bind:n};if(Xt(n.uiOnParamsChanged)){var s=new fn(i.path),u=s.getResolvable("$transition$").data,l=function(t){if(t!==u&&-1===t.exiting().indexOf(o)){var e=t.params("to"),r=t.params("from"),i=t.treeChanges().to.map(function(t){return t.paramSchema}).reduce(Se,[]),a=t.treeChanges().from.map(function(t){return t.paramSchema}).reduce(Se,[]),s=i.filter(function(t){var n=a.indexOf(t);return-1===n||!a[n].type.equals(e[t.id],r[t.id])});if(s.length){var l=s.map(function(t){return t.id}),c=w(e,function(t,e){return-1!==l.indexOf(e)});n.uiOnParamsChanged(c,t)}}};r.$on("$destroy",e.onSuccess({},l,a))}if(Xt(n.uiCanExit)){var c=Si++,d=function(t){return!!t&&(t._uiCanExitIds&&!0===t._uiCanExitIds[c]||d(t.redirectedFrom()))},f=function(e){var r,i=e._uiCanExitIds=e._uiCanExitIds||{};return d(e)||(r=t.when(n.uiCanExit(e)),r.then(function(t){return i[c]=!1!==t})),r},h={exiting:o.name};r.$on("$destroy",e.onBefore(h,f,a))}}function Ot(){var t=!1;this.useAnchorScroll=function(){t=!0},this.$get=["$anchorScroll","$timeout",function(e,n){return t?e:function(t){return n(function(){t[0].scrollIntoView()},0,!1)}}]}var Pt=angular,Ft=e&&e.module?e:Pt,Rt=function(t){return function(e){return e&&e[t]}},Vt=n(function(t,e,n){return n&&n[t]===e}),Nt=function(t){return i.apply(null,t.split(".").map(Rt))},Lt=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return!t.apply(null,e)}},It=function(t){return function(e){return e.reduce(function(e,n){return e&&!!t(n)},!0)}},jt=function(t){return function(e){return e.reduce(function(e,n){return e||!!t(n)},!1)}},Bt=function(t){return function(e){return null!=e&&e.constructor===t||e instanceof t}},Ht=function(t){return function(e){return t===e}},Ut=function(t){return function(){return t}},Yt=function(){function t(t){this.text=t,this.glob=t.split(".");var e=this.text.split(".").map(function(t){return"**"===t?"(?:|(?:\\.[^.]*)*)":"*"===t?"\\.[^.]*":"\\."+t}).join("");this.regexp=new RegExp("^"+e+"$")}return t.prototype.matches=function(t){return this.regexp.test("."+t)},t.is=function(t){return!!/[!,*]+/.exec(t)},t.fromString=function(e){return t.is(e)?new t(e):null},t}(),zt=function(){function t(e){return t.create(e||{})}return t.create=function(e){e=t.isStateClass(e)?new e:e;var n=ge(ge(e,t.prototype));return e.$$state=function(){return n},n.self=e,n.__stateObjectCache={nameGlob:Yt.fromString(n.name)},n},t.prototype.is=function(t){return this===t||this.self===t||this.fqn()===t},t.prototype.fqn=function(){if(!(this.parent&&this.parent instanceof this.constructor))return this.name;var t=this.parent.fqn();return t?t+"."+this.name:this.name},t.prototype.root=function(){return this.parent&&this.parent.root()||this},t.prototype.parameters=function(t){return t=g(t,{inherit:!0,matchingKeys:null}),(t.inherit&&this.parent&&this.parent.parameters()||[]).concat(_e(this.params)).filter(function(e){return!t.matchingKeys||t.matchingKeys.hasOwnProperty(e.id)})},t.prototype.parameter=function(t,e){return void 0===e&&(e={}),this.url&&this.url.parameter(t,e)||k(_e(this.params),Vt("id",t))||e.inherit&&this.parent&&this.parent.parameter(t)},t.prototype.toString=function(){return this.fqn()},t.isStateClass=function(t){return Xt(t)&&!0===t.__uiRouterState},t.isState=function(t){return ee(t.__stateObjectCache)},t}(),qt=Object.prototype.toString,Wt=function(t){return function(e){return typeof e===t}},Gt=Wt("undefined"),Zt=Lt(Gt),Kt=function(t){return null===t},Jt=a(Kt,Gt),Xt=Wt("function"),Qt=Wt("number"),te=Wt("string"),ee=function(t){return null!==t&&"object"==typeof t},ne=Array.isArray,re=function(t){return"[object Date]"===qt.call(t)},ie=function(t){return"[object RegExp]"===qt.call(t)},oe=zt.isState,ae=o(ee,i(Rt("then"),Xt)),se=function(t){return function(){throw new Error(t+"(): No coreservices implementation for UI-Router is loaded.")}},ue={$q:void 0,$injector:void 0},le="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||void 0,ce=le.angular||{},de=ce.fromJson||JSON.parse.bind(JSON),fe=ce.toJson||JSON.stringify.bind(JSON),he=ce.forEach||M,pe=Object.assign||T,me=ce.equals||O,ge=function(t,e){return pe(Object.create(t),e)},ve=n(h),ye=n(p),be=n(m),$e=function(t){return t.slice().forEach(function(e){"function"==typeof e&&e(),ye(t,e)})},we=function(t,e){return pe(t,e)},ke=_,_e=function(t){return Object.keys(t).map(function(e){return t[e]})},Ce=function(t,e){return t&&e},xe=function(t,e){return t||e},Se=function(t,e){return t.concat(e)},Ee=function(t,e){return ne(e)?t.concat(e.reduce(Ee,[])):C(t,e)},De=function(t,e){return ve(t,e)?t:C(t,e)},Ae=function(t){return t.reduce(Se,[])},Me=function(t){return t.reduce(Ee,[])},Te=x,Oe=x,Pe=function(t){return Object.keys(t).map(function(e){return[e,t[e]]})},Fe=function(t){return t.catch(function(t){return 0})&&t},Re=function(t){return Fe(ue.$q.reject(t))},Ve=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=null),this._items=t,this._limit=e}return t.prototype.enqueue=function(t){var e=this._items;return e.push(t),this._limit&&e.length>this._limit&&e.shift(),t},t.prototype.dequeue=function(){if(this.size())return this._items.splice(0,1)[0]},t.prototype.clear=function(){var t=this._items;return this._items=[],t},t.prototype.size=function(){return this._items.length},t.prototype.remove=function(t){var e=this._items.indexOf(t);return e>-1&&this._items.splice(e,1)[0]},t.prototype.peekTail=function(){return this._items[this._items.length-1]},t.prototype.peekHead=function(){if(this.size())return this._items[0]},t}();!function(t){t[t.SUPERSEDED=2]="SUPERSEDED",t[t.ABORTED=3]="ABORTED",t[t.INVALID=4]="INVALID",t[t.IGNORED=5]="IGNORED",t[t.ERROR=6]="ERROR"}(t.RejectType||(t.RejectType={}));var Ne=0,Le=function(){function e(t,e,n){this.$id=Ne++,this.type=t,this.message=e,this.detail=n}return e.prototype.toString=function(){var t=function(t){return t&&t.toString!==Object.prototype.toString?t.toString():Z(t)}(this.detail),e=this
;return"Transition Rejection($id: "+e.$id+" type: "+e.type+", message: "+e.message+", detail: "+t+")"},e.prototype.toPromise=function(){return pe(Re(this),{_transitionRejection:this})},e.isRejectionPromise=function(t){return t&&"function"==typeof t.then&&Bt(e)(t._transitionRejection)},e.superseded=function(n,r){var i=new e(t.RejectType.SUPERSEDED,"The transition has been superseded by a different transition",n);return r&&r.redirected&&(i.redirected=!0),i},e.redirected=function(t){return e.superseded(t,{redirected:!0})},e.invalid=function(n){return new e(t.RejectType.INVALID,"This transition is invalid",n)},e.ignored=function(n){return new e(t.RejectType.IGNORED,"The transition was ignored",n)},e.aborted=function(n){return new e(t.RejectType.ABORTED,"The transition has been aborted",n)},e.errored=function(n){return new e(t.RejectType.ERROR,"The transition errored",n)},e.normalize=function(t){return Bt(e)(t)?t:e.errored(t)},e}(),Ie=function(t){var e=t.viewDecl,n=e.$context.name||"(root)";return"[View#"+t.$id+" from '"+n+"' state]: target ui-view: '"+e.$uiViewName+"@"+e.$uiViewContextAnchor+"'"},je=Function.prototype.bind.call(console.log,console),Be=Xt(console.table)?console.table.bind(console):je.bind(console);!function(t){t[t.RESOLVE=0]="RESOLVE",t[t.TRANSITION=1]="TRANSITION",t[t.HOOK=2]="HOOK",t[t.UIVIEW=3]="UIVIEW",t[t.VIEWCONFIG=4]="VIEWCONFIG"}(t.Category||(t.Category={}));var He=Nt("$id"),Ue=Nt("router.$id"),Ye=function(t){return"Transition #"+He(t)+"-"+Ue(t)},ze=function(){function e(){this._enabled={},this.approximateDigests=0}return e.prototype._set=function(e,n){var r=this;n.length||(n=Object.keys(t.Category).map(function(t){return parseInt(t,10)}).filter(function(t){return!isNaN(t)}).map(function(e){return t.Category[e]})),n.map(R).forEach(function(t){return r._enabled[t]=e})},e.prototype.enable=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._set(!0,t)},e.prototype.disable=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._set(!1,t)},e.prototype.enabled=function(t){return!!this._enabled[R(t)]},e.prototype.traceTransitionStart=function(e){this.enabled(t.Category.TRANSITION)&&console.log(Ye(e)+": Started  -> "+Z(e))},e.prototype.traceTransitionIgnored=function(e){this.enabled(t.Category.TRANSITION)&&console.log(Ye(e)+": Ignored  <> "+Z(e))},e.prototype.traceHookInvocation=function(e,n,r){if(this.enabled(t.Category.HOOK)){var i=Nt("traceData.hookType")(r)||"internal",o=Nt("traceData.context.state.name")(r)||Nt("traceData.context")(r)||"unknown",a=W(e.registeredHook.callback);console.log(Ye(n)+":   Hook -> "+i+" context: "+o+", "+Y(200,a))}},e.prototype.traceHookResult=function(e,n,r){this.enabled(t.Category.HOOK)&&console.log(Ye(n)+":   <- Hook returned: "+Y(200,Z(e)))},e.prototype.traceResolvePath=function(e,n,r){this.enabled(t.Category.RESOLVE)&&console.log(Ye(r)+":         Resolving "+e+" ("+n+")")},e.prototype.traceResolvableResolved=function(e,n){this.enabled(t.Category.RESOLVE)&&console.log(Ye(n)+":               <- Resolved  "+e+" to: "+Y(200,Z(e.data)))},e.prototype.traceError=function(e,n){this.enabled(t.Category.TRANSITION)&&console.log(Ye(n)+": <- Rejected "+Z(n)+", reason: "+e)},e.prototype.traceSuccess=function(e,n){this.enabled(t.Category.TRANSITION)&&console.log(Ye(n)+": <- Success  "+Z(n)+", final state: "+e.name)},e.prototype.traceUIViewEvent=function(e,n,r){void 0===r&&(r=""),this.enabled(t.Category.UIVIEW)&&console.log("ui-view: "+z(30,e)+" "+F(n)+r)},e.prototype.traceUIViewConfigUpdated=function(e,n){this.enabled(t.Category.UIVIEW)&&this.traceUIViewEvent("Updating",e," with ViewConfig from context='"+n+"'")},e.prototype.traceUIViewFill=function(e,n){this.enabled(t.Category.UIVIEW)&&this.traceUIViewEvent("Fill",e," with: "+Y(200,n))},e.prototype.traceViewSync=function(e){if(this.enabled(t.Category.VIEWCONFIG)){var n=e.map(function(t){var e=t[0],n=t[1];return{"ui-view fqn":e.$type+":"+e.fqn,"state: view name":n&&n.viewDecl.$context.name+": "+n.viewDecl.$name+" ("+n.viewDecl.$type+")"}}).sort(function(t,e){return t["ui-view fqn"].localeCompare(e["ui-view fqn"])});Be(n)}},e.prototype.traceViewServiceEvent=function(e,n){this.enabled(t.Category.VIEWCONFIG)&&console.log("VIEWCONFIG: "+e+" "+Ie(n))},e.prototype.traceViewServiceUIViewEvent=function(e,n){this.enabled(t.Category.VIEWCONFIG)&&console.log("VIEWCONFIG: "+e+" "+F(n))},e}(),qe=new ze;!function(t){t[t.CREATE=0]="CREATE",t[t.BEFORE=1]="BEFORE",t[t.RUN=2]="RUN",t[t.SUCCESS=3]="SUCCESS",t[t.ERROR=4]="ERROR"}(t.TransitionHookPhase||(t.TransitionHookPhase={})),function(t){t[t.TRANSITION=0]="TRANSITION",t[t.STATE=1]="STATE"}(t.TransitionHookScope||(t.TransitionHookScope={}));var We=function(){function t(t,e,n,r){this._stateRegistry=t,this._identifier=e,this._identifier=e,this._params=pe({},n||{}),this._options=pe({},r||{}),this._definition=t.matcher.find(e,this._options.relative)}return t.prototype.name=function(){return this._definition&&this._definition.name||this._identifier},t.prototype.identifier=function(){return this._identifier},t.prototype.params=function(){return this._params},t.prototype.$state=function(){return this._definition},t.prototype.state=function(){return this._definition&&this._definition.self},t.prototype.options=function(){return this._options},t.prototype.exists=function(){return!(!this._definition||!this._definition.self)},t.prototype.valid=function(){return!this.error()},t.prototype.error=function(){var t=this.options().relative;if(!this._definition&&t){var e=t.name?t.name:t;return"Could not resolve '"+this.name()+"' from state '"+e+"'"}return this._definition?this._definition.self?void 0:"State '"+this.name()+"' has an invalid definition":"No such state '"+this.name()+"'"},t.prototype.toString=function(){return"'"+this.name()+"'"+Z(this.params())},t.prototype.withState=function(e){return new t(this._stateRegistry,e,this._params,this._options)},t.prototype.withParams=function(e,n){void 0===n&&(n=!1);var r=n?e:pe({},this._params,e);return new t(this._stateRegistry,this._identifier,r,this._options)},t.prototype.withOptions=function(e,n){void 0===n&&(n=!1);var r=n?e:pe({},this._options,e);return new t(this._stateRegistry,this._identifier,this._params,r)},t.isDef=function(t){return t&&t.state&&(te(t.state)||te(t.state.name))},t}(),Ge={current:d,transition:null,traceData:{},bind:null},Ze=function(){function e(e,n,r,i){var o=this;this.transition=e,this.stateContext=n,this.registeredHook=r,this.options=i,this.isSuperseded=function(){return o.type.hookPhase===t.TransitionHookPhase.RUN&&!o.options.transition.isActive()},this.options=g(i,Ge),this.type=r.eventType}return e.prototype.logError=function(t){this.transition.router.stateService.defaultErrorHandler()(t)},e.prototype.invokeHook=function(){var t=this,e=this.registeredHook;if(!e._deregistered){var n=this.getNotCurrentRejection();if(n)return n;var r=this.options;qe.traceHookInvocation(this,this.transition,r);var i=function(t){return Le.normalize(t).toPromise()},o=function(n){return e.eventType.getErrorHandler(t)(n)},a=function(n){return e.eventType.getResultHandler(t)(n)};try{var s=function(){return e.callback.call(r.bind,t.transition,t.stateContext)}();return!this.type.synchronous&&ae(s)?s.catch(i).then(a,o):a(s)}catch(t){return o(Le.normalize(t))}finally{e.invokeLimit&&++e.invokeCount>=e.invokeLimit&&e.deregister()}}},e.prototype.handleHookResult=function(t){var e=this,n=this.getNotCurrentRejection();return n||(ae(t)?t.then(function(t){return e.handleHookResult(t)}):(qe.traceHookResult(t,this.transition,this.options),!1===t?Le.aborted("Hook aborted transition").toPromise():Bt(We)(t)?Le.redirected(t).toPromise():void 0))},e.prototype.getNotCurrentRejection=function(){var t=this.transition.router;return t._disposed?Le.aborted("UIRouter instance #"+t.$id+" has been stopped (disposed)").toPromise():this.transition._aborted?Le.aborted().toPromise():this.isSuperseded()?Le.superseded(this.options.current()).toPromise():void 0},e.prototype.toString=function(){var t=this,e=t.options,n=t.registeredHook;return(Nt("traceData.hookType")(e)||"internal")+" context: "+(Nt("traceData.context.state.name")(e)||Nt("traceData.context")(e)||"unknown")+", "+Y(200,G(n.callback))},e.chain=function(t,e){var n=function(t,e){return t.then(function(){return e.invokeHook()})};return t.reduce(n,e||ue.$q.when())},e.invokeHooks=function(t,n){for(var r=0;r<t.length;r++){var i=t[r].invokeHook();if(ae(i)){var o=t.slice(r+1);return e.chain(o,i).then(n)}}return n()},e.runAllHooks=function(t){t.forEach(function(t){return t.invokeHook()})},e.HANDLE_RESULT=function(t){return function(e){return t.handleHookResult(e)}},e.LOG_REJECTED_RESULT=function(t){return function(e){ae(e)&&e.catch(function(e){return t.logError(Le.normalize(e))})}},e.LOG_ERROR=function(t){return function(e){return t.logError(e)}},e.REJECT_ERROR=function(t){return function(t){return Re(t)}},e.THROW_ERROR=function(t){return function(t){throw t}},e}(),Ke=function(){function e(t,e,n,r,i,o){void 0===o&&(o={}),this.tranSvc=t,this.eventType=e,this.callback=n,this.matchCriteria=r,this.removeHookFromRegistry=i,this.invokeCount=0,this._deregistered=!1,this.priority=o.priority||0,this.bind=o.bind||null,this.invokeLimit=o.invokeLimit}return e.prototype._matchingNodes=function(t,e){if(!0===e)return t;var n=t.filter(function(t){return V(t.state,e)});return n.length?n:null},e.prototype._getDefaultMatchCriteria=function(){return _(this.tranSvc._pluginapi._getPathTypes(),function(){return!0})},e.prototype._getMatchingNodes=function(e){var n=this,r=pe(this._getDefaultMatchCriteria(),this.matchCriteria);return _e(this.tranSvc._pluginapi._getPathTypes()).reduce(function(i,o){var a=o.scope===t.TransitionHookScope.STATE,s=e[o.name]||[],u=a?s:[D(s)];return i[o.name]=n._matchingNodes(u,r[o.name]),i},{})},e.prototype.matches=function(t){var e=this._getMatchingNodes(t);return _e(e).every(c)?e:null},e.prototype.deregister=function(){this.removeHookFromRegistry(this),this._deregistered=!0},e}(),Je=function(){function e(t){this.transition=t}return e.prototype.buildHooksForPhase=function(t){var e=this;return this.transition.router.transitionService._pluginapi._getEvents(t).map(function(t){return e.buildHooks(t)}).reduce(Se,[]).filter(c)},e.prototype.buildHooks=function(e){var n=this.transition,r=n.treeChanges(),i=this.getMatchingHooks(e,r);if(!i)return[];var o={transition:n,current:n.options().current},a=function(i){return i.matches(r)[e.criteriaMatchPath.name].map(function(r){var a=pe({bind:i.bind,traceData:{hookType:e.name,context:r}},o),s=e.criteriaMatchPath.scope===t.TransitionHookScope.STATE?r.state.self:null,u=new Ze(n,s,i,a);return{hook:i,node:r,transitionHook:u}})};return i.map(a).reduce(Se,[]).sort(L(e.reverseSort)).map(function(t){return t.transitionHook})},e.prototype.getMatchingHooks=function(e,n){var r=e.hookPhase===t.TransitionHookPhase.CREATE,i=this.transition.router.transitionService;return(r?[i]:[this.transition,i]).map(function(t){return t.getHooks(e.name)}).filter(Te(ne,"broken event named: "+e.name)).reduce(Se,[]).filter(function(t){return t.matches(n)})},e}(),Xe=function(){function t(t){this.pattern=/.*/,this.inherit=!0,pe(this,t)}return t.prototype.is=function(t,e){return!0},t.prototype.encode=function(t,e){return t},t.prototype.decode=function(t,e){return t},t.prototype.equals=function(t,e){return t==e},t.prototype.$subPattern=function(){var t=this.pattern.toString();return t.substr(1,t.length-2)},t.prototype.toString=function(){return"{ParamType:"+this.name+"}"},t.prototype.$normalize=function(t){return this.is(t)?t:this.decode(t)},t.prototype.$asArray=function(t,e){if(!t)return this;if("auto"===t&&!e)throw new Error("'auto' array mode is for query parameters only");return new I(this,t)},t}(),Qe=Object.prototype.hasOwnProperty,tn=function(t){return 0===["value","type","squash","array","dynamic"].filter(Qe.bind(t||{})).length};!function(t){t[t.PATH=0]="PATH",t[t.SEARCH=1]="SEARCH",t[t.CONFIG=2]="CONFIG"}(t.DefType||(t.DefType={}));var en=function(){function e(e,n,r,i,o){r=j(r),n=B(r,n,i,e,o.paramTypes);var a=function(){var n={array:i===t.DefType.SEARCH&&"auto"},o=e.match(/\[\]$/)?{array:!0}:{};return pe(n,o,r).array}();n=a?n.$asArray(a,i===t.DefType.SEARCH):n;var s=void 0!==r.value||i===t.DefType.SEARCH,u=Zt(r.dynamic)?!!r.dynamic:!!n.dynamic,l=Zt(r.raw)?!!r.raw:!!n.raw,c=H(r,s,o.defaultSquashPolicy()),d=U(r,a,s,c),f=Zt(r.inherit)?!!r.inherit:!!n.inherit;pe(this,{id:e,type:n,location:i,isOptional:s,dynamic:u,raw:l,squash:c,replace:d,inherit:f,array:a,config:r})}return e.prototype.isDefaultValue=function(t){return this.isOptional&&this.type.equals(this.value(),t)},e.prototype.value=function(t){var e=this;return t=function(t){for(var n=0,r=e.replace;n<r.length;n++){var i=r[n];if(i.from===t)return i.to}return t}(t),Gt(t)?function(){if(e._defaultValueCache)return e._defaultValueCache.defaultValue;if(!ue.$injector)throw new Error("Injectable functions cannot be called at configuration time");var t=ue.$injector.invoke(e.config.$$fn);if(null!==t&&void 0!==t&&!e.type.is(t))throw new Error("Default value ("+t+") for parameter '"+e.id+"' is not an instance of ParamType ("+e.type.name+")");return e.config.$$fn.__cacheable&&(e._defaultValueCache={defaultValue:t}),t}():this.type.$normalize(t)},e.prototype.isSearch=function(){return this.location===t.DefType.SEARCH},e.prototype.validates=function(t){if((Gt(t)||null===t)&&this.isOptional)return!0;var e=this.type.$normalize(t);if(!this.type.is(e))return!1;var n=this.type.encode(e);return!(te(n)&&!this.type.pattern.exec(n))},e.prototype.toString=function(){return"{Param:"+this.id+" "+this.type+" squash: '"+this.squash+"' optional: "+this.isOptional+"}"},e.values=function(t,e){void 0===e&&(e={});for(var n={},r=0,i=t;r<i.length;r++){var o=i[r];n[o.id]=o.value(e[o.id])}return n},e.changed=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),t.filter(function(t){return!t.type.equals(e[t.id],n[t.id])})},e.equals=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),0===e.changed(t,n,r).length},e.validates=function(t,e){return void 0===e&&(e={}),t.map(function(t){return t.validates(e[t.id])}).reduce(Ce,!0)},e}(),nn=function(){function t(e){if(e instanceof t){var n=e;this.state=n.state,this.paramSchema=n.paramSchema.slice(),this.paramValues=pe({},n.paramValues),this.resolvables=n.resolvables.slice(),this.views=n.views&&n.views.slice()}else{var r=e;this.state=r,this.paramSchema=r.parameters({inherit:!1}),this.paramValues={},this.resolvables=r.resolvables.map(function(t){return t.clone()})}}return t.prototype.applyRawParams=function(t){var e=function(e){return[e.id,e.value(t[e.id])]};return this.paramValues=this.paramSchema.reduce(function(t,n){return E(t,e(n))},{}),this},t.prototype.parameter=function(t){return k(this.paramSchema,Vt("id",t))},t.prototype.equals=function(t,e){var n=this.diff(t,e);return n&&0===n.length},t.prototype.diff=function(t,e){if(this.state!==t.state)return!1;var n=e?e(this):this.paramSchema;return en.changed(n,this.paramValues,t.paramValues)},t.clone=function(e){return new t(e)},t}(),rn=function(){function t(){}return t.makeTargetState=function(t,e){var n=D(e).state;return new We(t,n,e.map(Rt("paramValues")).reduce(we,{}),{})},t.buildPath=function(t){var e=t.params();return t.$state().path.map(function(t){return new nn(t).applyRawParams(e)})},t.buildToPath=function(e,n){var r=t.buildPath(n);return n.options().inherit?t.inheritParams(e,r,Object.keys(n.params())):r},t.applyViewConfigs=function(e,n,r){n.filter(function(t){return ve(r,t.state)}).forEach(function(r){var i=_e(r.state.views||{}),o=t.subPath(n,function(t){return t===r}),a=i.map(function(t){return e.createViewConfig(o,t)});r.views=a.reduce(Se,[])})},t.inheritParams=function(t,e,n){function r(t,e){var n=k(t,Vt("state",e));return pe({},n&&n.paramValues)}function i(e){var i=pe({},e&&e.paramValues),a=y(i,n);i=b(i,n);var s=b(r(t,e.state)||{},o),u=pe(i,s,a);return new nn(e.state).applyRawParams(u)}void 0===n&&(n=[]);var o=t.map(function(t){return t.paramSchema}).reduce(Se,[]).filter(function(t){return!t.inherit}).map(Rt("id"));return e.map(i)},t.treeChanges=function(e,n,r){function i(t,e){var r=nn.clone(t);return r.paramValues=n[e].paramValues,r}for(var o=0,a=Math.min(e.length,n.length);o<a&&e[o].state!==r&&function(e,n){return e.equals(n,t.nonDynamicParams)}(e[o],n[o]);)o++;var s,u,l,c,d;s=e,u=s.slice(0,o),l=s.slice(o);var f=u.map(i);return c=n.slice(o),d=f.concat(c),{from:s,to:d,retained:u,exiting:l,entering:c}},t.matching=function(t,e,n){var r=!1;return S(t,e).reduce(function(t,e){var i=e[0],o=e[1];return r=r||!i.equals(o,n),r?t:t.concat(i)},[])},t.equals=function(e,n,r){return e.length===n.length&&t.matching(e,n,r).length===e.length},t.subPath=function(t,e){var n=k(t,e),r=t.indexOf(n);return-1===r?void 0:t.slice(0,r+1)},t.nonDynamicParams=function(t){return t.state.parameters({inherit:!1}).filter(function(t){return!t.dynamic})},t.paramValues=function(t){return t.reduce(function(t,e){return pe(t,e.paramValues)},{})},t}(),on={when:"LAZY",async:"WAIT"},an=function(){function t(e,n,r,i,o){if(this.resolved=!1,this.promise=void 0,e instanceof t)pe(this,e);else if(Xt(n)){if(Jt(e))throw new Error("new Resolvable(): token argument is required");if(!Xt(n))throw new Error("new Resolvable(): resolveFn argument must be a function");this.token=e,this.policy=i,this.resolveFn=n,this.deps=r||[],this.data=o,this.resolved=void 0!==o,this.promise=this.resolved?ue.$q.when(this.data):void 0}else if(ee(e)&&e.token&&Xt(e.resolveFn)){var a=e;return new t(a.token,a.resolveFn,a.deps,a.policy,a.data)}}return t.prototype.getPolicy=function(t){var e=this.policy||{},n=t&&t.resolvePolicy||{};return{when:e.when||n.when||on.when,async:e.async||n.async||on.async}},t.prototype.resolve=function(t,e){var n=this,r=ue.$q,i=function(){return r.all(t.getDependencies(n).map(function(n){return n.get(t,e)}))},o=function(t){return n.resolveFn.apply(null,t)},a=function(t){var e=t.cache(1);return e.take(1).toPromise().then(function(){return e})},s=t.findNode(this),u=s&&s.state,l="RXWAIT"===this.getPolicy(u).async?a:c,d=function(t){return n.data=t,n.resolved=!0,qe.traceResolvableResolved(n,e),n.data};return this.promise=r.when().then(i).then(o).then(l).then(d)},t.prototype.get=function(t,e){return this.promise||this.resolve(t,e)},t.prototype.toString=function(){return"Resolvable(token: "+Z(this.token)+", requires: ["+this.deps.map(Z)+"])"},t.prototype.clone=function(){return new t(this)},t.fromData=function(e,n){return new t(e,function(){return n},null,null,n)},t}(),sn={when:{LAZY:"LAZY",EAGER:"EAGER"},async:{WAIT:"WAIT",NOWAIT:"NOWAIT",RXWAIT:"RXWAIT"}},un=sn.when,ln=[un.EAGER,un.LAZY],cn=[un.EAGER],dn="Native Injector",fn=function(){function t(t){this._path=t}return t.prototype.getTokens=function(){return this._path.reduce(function(t,e){return t.concat(e.resolvables.map(function(t){return t.token}))},[]).reduce(De,[])},t.prototype.getResolvable=function(t){return D(this._path.map(function(t){return t.resolvables}).reduce(Se,[]).filter(function(e){return e.token===t}))},t.prototype.getPolicy=function(t){var e=this.findNode(t);return t.getPolicy(e.state)},t.prototype.subContext=function(e){return new t(rn.subPath(this._path,function(t){return t.state===e}))},t.prototype.addResolvables=function(t,e){var n=k(this._path,Vt("state",e)),r=t.map(function(t){return t.token});n.resolvables=n.resolvables.filter(function(t){return-1===r.indexOf(t.token)}).concat(t)},t.prototype.resolvePath=function(t,e){var n=this;void 0===t&&(t="LAZY");var r=ve(ln,t)?t:"LAZY",i=r===sn.when.EAGER?cn:ln;qe.traceResolvePath(this._path,t,e);var o=function(t,e){return function(r){return ve(t,n.getPolicy(r)[e])}},a=this._path.reduce(function(t,r){var a=r.resolvables.filter(o(i,"when")),s=a.filter(o(["NOWAIT"],"async")),u=a.filter(Lt(o(["NOWAIT"],"async"))),l=n.subContext(r.state),c=function(t){return t.get(l,e).then(function(e){return{token:t.token,value:e}})};return s.forEach(c),t.concat(u.map(c))},[]);return ue.$q.all(a)},t.prototype.injector=function(){return this._injector||(this._injector=new hn(this))},t.prototype.findNode=function(t){return k(this._path,function(e){return ve(e.resolvables,t)})},t.prototype.getDependencies=function(t){var e=this,n=this.findNode(t),r=rn.subPath(this._path,function(t){return t===n})||this._path,i=r.reduce(function(t,e){return t.concat(e.resolvables)},[]).filter(function(e){return e!==t}),o=function(t){var n=i.filter(function(e){return e.token===t});if(n.length)return D(n);var r=e.injector().getNative(t);if(Gt(r))throw new Error("Could not find Dependency Injection token: "+Z(t));return new an(t,function(){return r},[],r)};return t.deps.map(o)},t}(),hn=function(){function t(t){this.context=t,this.native=this.get(dn)||ue.$injector}return t.prototype.get=function(t){var e=this.context.getResolvable(t);if(e){if("NOWAIT"===this.context.getPolicy(e).async)return e.get(this.context);if(!e.resolved)throw new Error("Resolvable async .get() not complete:"+Z(e.token));return e.data}return this.getNative(t)},t.prototype.getAsync=function(t){var e=this.context.getResolvable(t);return e?e.get(this.context):ue.$q.when(this.native.get(t))},t.prototype.getNative=function(t){return this.native&&this.native.get(t)},t}(),pn=Rt("self"),mn=function(){function e(e,n,r){var i=this;if(this._deferred=ue.$q.defer(),this.promise=this._deferred.promise,this._registeredHooks={},this._hookBuilder=new Je(this),this.isActive=function(){return i.router.globals.transition===i},this.router=r,this._targetState=n,!n.valid())throw new Error(n.error());this._options=pe({current:Ut(this)},n.options()),this.$id=r.transitionService._transitionCount++;var o=rn.buildToPath(e,n);this._treeChanges=rn.treeChanges(e,o,this._options.reloadState),this.createTransitionHookRegFns();var a=this._hookBuilder.buildHooksForPhase(t.TransitionHookPhase.CREATE);Ze.invokeHooks(a,function(){return null}),this.applyViewConfigs(r)}return e.prototype.onBefore=function(t,e,n){},e.prototype.onStart=function(t,e,n){},e.prototype.onExit=function(t,e,n){},e.prototype.onRetain=function(t,e,n){},e.prototype.onEnter=function(t,e,n){},e.prototype.onFinish=function(t,e,n){},e.prototype.onSuccess=function(t,e,n){},e.prototype.onError=function(t,e,n){},e.prototype.createTransitionHookRegFns=function(){var e=this;this.router.transitionService._pluginapi._getEvents().filter(function(e){return e.hookPhase!==t.TransitionHookPhase.CREATE}).forEach(function(t){return N(e,e.router.transitionService,t)})},e.prototype.getHooks=function(t){return this._registeredHooks[t]},e.prototype.applyViewConfigs=function(t){var e=this._treeChanges.entering.map(function(t){return t.state});rn.applyViewConfigs(t.transitionService.$view,this._treeChanges.to,e)},e.prototype.$from=function(){return D(this._treeChanges.from).state},e.prototype.$to=function(){return D(this._treeChanges.to).state},e.prototype.from=function(){return this.$from().self},e.prototype.to=function(){return this.$to().self},e.prototype.targetState=function(){return this._targetState},e.prototype.is=function(t){return t instanceof e?this.is({to:t.$to().name,from:t.$from().name}):!(t.to&&!V(this.$to(),t.to)||t.from&&!V(this.$from(),t.from))},e.prototype.params=function(t){return void 0===t&&(t="to"),Object.freeze(this._treeChanges[t].map(Rt("paramValues")).reduce(we,{}))},e.prototype.injector=function(t,e){void 0===e&&(e="to");var n=this._treeChanges[e];return t&&(n=rn.subPath(n,function(e){return e.state===t||e.state.name===t})),new fn(n).injector()},e.prototype.getResolveTokens=function(t){return void 0===t&&(t="to"),new fn(this._treeChanges[t]).getTokens()},e.prototype.addResolvable=function(t,e){void 0===e&&(e=""),t=Bt(an)(t)?t:new an(t);var n="string"==typeof e?e:e.name,r=this._treeChanges.to,i=k(r,function(t){return t.state.name===n});new fn(r).addResolvables([t],i.state)},e.prototype.redirectedFrom=function(){return this._options.redirectedFrom||null},e.prototype.originalTransition=function(){var t=this.redirectedFrom();return t&&t.originalTransition()||this},e.prototype.options=function(){return this._options},e.prototype.entering=function(){return _(this._treeChanges.entering,Rt("state")).map(pn)},e.prototype.exiting=function(){return _(this._treeChanges.exiting,Rt("state")).map(pn).reverse()},e.prototype.retained=function(){return _(this._treeChanges.retained,Rt("state")).map(pn)},e.prototype.views=function(t,e){void 0===t&&(t="entering");var n=this._treeChanges[t];return n=e?n.filter(Vt("state",e)):n,n.map(Rt("views")).filter(c).reduce(Se,[])},e.prototype.treeChanges=function(t){return t?this._treeChanges[t]:this._treeChanges},e.prototype.redirect=function(t){for(var e=1,n=this;null!=(n=n.redirectedFrom());)if(++e>20)throw new Error("Too many consecutive Transition redirects (20+)");var r={redirectedFrom:this,source:"redirect"};"url"===this.options().source&&!1!==t.options().location&&(r.location="replace");var i=pe({},this.options(),t.options(),r);t=t.withOptions(i,!0);var o=this.router.transitionService.create(this._treeChanges.from,t),a=this._treeChanges.entering,s=o._treeChanges.entering;return rn.matching(s,a,rn.nonDynamicParams).filter(Lt(function(t){return function(e){return t&&e.state.includes[t.name]}}(t.options().reloadState))).forEach(function(t,e){t.resolvables=a[e].resolvables}),o},e.prototype._changedParams=function(){var t=this._treeChanges;if(!this._options.reload&&!t.exiting.length&&!t.entering.length&&t.to.length===t.from.length){if(!S(t.to,t.from).map(function(t){return t[0].state!==t[1].state}).reduce(xe,!1)){var e=t.to.map(function(t){return t.paramSchema}),n=[t.to,t.from].map(function(t){return t.map(function(t){return t.paramValues})});return S(e,n[0],n[1]).map(function(t){var e=t[0],n=t[1],r=t[2];return en.changed(e,n,r)}).reduce(Se,[])}}},e.prototype.dynamic=function(){var t=this._changedParams();return!!t&&t.map(function(t){return t.dynamic}).reduce(xe,!1)},e.prototype.ignored=function(){return!!this._ignoredReason()},e.prototype._ignoredReason=function(){var t=this.router.globals.transition,e=this._options.reloadState,n=function(t,n){if(t.length!==n.length)return!1;var r=rn.matching(t,n);return t.length===r.filter(function(t){return!e||!t.state.includes[e.name]}).length},r=this.treeChanges(),i=t&&t.treeChanges();return i&&n(i.to,r.to)&&n(i.exiting,r.exiting)?"SameAsPending":0===r.exiting.length&&0===r.entering.length&&n(r.from,r.to)?"SameAsCurrent":void 0},e.prototype.run=function(){var e=this,n=Ze.runAllHooks,r=function(t){return e._hookBuilder.buildHooksForPhase(t)},i=function(){qe.traceSuccess(e.$to(),e),e.success=!0,e._deferred.resolve(e.to()),n(r(t.TransitionHookPhase.SUCCESS))},o=function(i){qe.traceError(i,e),e.success=!1,e._deferred.reject(i),e._error=i,n(r(t.TransitionHookPhase.ERROR))},a=function(){var e=r(t.TransitionHookPhase.RUN),n=function(){return ue.$q.when(void 0)};return Ze.invokeHooks(e,n)},s=function(){var t=e.router.globals;return t.lastStartedTransitionId=e.$id,t.transition=e,t.transitionHistory.enqueue(e),qe.traceTransitionStart(e),ue.$q.when(void 0)},u=r(t.TransitionHookPhase.BEFORE);return Ze.invokeHooks(u,s).then(a).then(i,o),this.promise},e.prototype.valid=function(){return!this.error()||void 0!==this.success},e.prototype.abort=function(){Gt(this.success)&&(this._aborted=!0)},e.prototype.error=function(){var t=this.$to();if(t.self.abstract)return"Cannot transition to abstract state '"+t.name+"'";var e=t.parameters(),n=this.params(),r=e.filter(function(t){return!t.validates(n[t.id])});return r.length?"Param values not valid for state '"+t.name+"'. Invalid params: [ "+r.map(function(t){return t.id}).join(", ")+" ]":!1===this.success?this._error:void 0},e.prototype.toString=function(){var t=this.from(),e=this.to(),n=function(t){return null!==t["#"]&&void 0!==t["#"]?t:b(t,["#"])};return"Transition#"+this.$id+"( '"+(ee(t)?t.name:t)+"'"+Z(n(this._treeChanges.from.map(Rt("paramValues")).reduce(we,{})))+" -> "+(this.valid()?"":"(X) ")+"'"+(ee(e)?e.name:e)+"'"+Z(n(this.params()))+" )"},e.diToken=e,e}(),gn=null,vn=function(t){var e=Le.isRejectionPromise;return(gn=gn||u([[Lt(Zt),Ut("undefined")],[Kt,Ut("null")],[ae,Ut("[Promise]")],[e,function(t){return t._transitionRejection.toString()}],[Bt(Le),s("toString")],[Bt(mn),s("toString")],[Bt(an),s("toString")],[l,W],[Ut(!0),c]]))(t)},yn=function(t){return function(e){if(!e)return["",""];var n=e.indexOf(t);return-1===n?[e,""]:[e.substr(0,n),e.substr(n+1)]}},bn=new RegExp("^(?:[a-z]+:)?//[^/]+/"),$n=function(t){return t.replace(/\/[^\/]*$/,"")},wn=yn("#"),kn=yn("?"),_n=yn("="),Cn=function(t){return t?t.replace(/^#/,""):""},xn=function(){function t(){this.enqueue=!0,this.typeQueue=[],this.defaultTypes=y(t.prototype,["hash","string","query","path","int","bool","date","json","any"]);var e=function(t,e){return new Xe(pe({name:e},t))};this.types=ge(_(this.defaultTypes,e),{})}return t.prototype.dispose=function(){this.types={}},t.prototype.type=function(t,e,n){if(!Zt(e))return this.types[t];if(this.types.hasOwnProperty(t))throw new Error("A type named '"+t+"' has already been defined.");return this.types[t]=new Xe(pe({name:t},e)),n&&(this.typeQueue.push({name:t,def:n}),this.enqueue||this._flushTypeQueue()),this},t.prototype._flushTypeQueue=function(){for(;this.typeQueue.length;){var t=this.typeQueue.shift();if(t.pattern)throw new Error("You cannot override a type's .pattern at runtime.");pe(this.types[t.name],ue.$injector.invoke(t.def))}},t}();!function(){var t=function(t){var e=function(t){return null!=t?t.toString():t},n={encode:e,decode:e,is:Bt(String),pattern:/.*/,equals:function(t,e){return t==e}};return pe({},n,t)};pe(xn.prototype,{string:t({}),path:t({pattern:/[^\/]*/}),query:t({}),hash:t({inherit:!1}),int:t({decode:function(t){return parseInt(t,10)},is:function(t){return!Jt(t)&&this.decode(t.toString())===t},pattern:/-?\d+/}),bool:t({encode:function(t){return t&&1||0},decode:function(t){return 0!==parseInt(t,10)},is:Bt(Boolean),pattern:/0|1/}),date:t({encode:function(t){return this.is(t)?[t.getFullYear(),("0"+(t.getMonth()+1)).slice(-2),("0"+t.getDate()).slice(-2)].join("-"):void 0},decode:function(t){if(this.is(t))return t;var e=this.capture.exec(t);return e?new Date(e[1],e[2]-1,e[3]):void 0},is:function(t){return t instanceof Date&&!isNaN(t.valueOf())},equals:function(t,e){return["getFullYear","getMonth","getDate"].reduce(function(n,r){return n&&t[r]()===e[r]()},!0)},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/}),json:t({encode:fe,decode:de,is:Bt(Object),equals:me,pattern:/[^\/]*/}),any:t({encode:c,decode:c,is:function(){return!0},equals:me})})}();var Sn,En=function(){function t(t){void 0===t&&(t={}),pe(this,t)}return t.prototype.$inherit=function(t,e,n){var r,i=v(e,n),o={},a=[];for(var s in i)if(i[s]&&i[s].params&&(r=Object.keys(i[s].params),r.length))for(var u in r)a.indexOf(r[u])>=0||(a.push(r[u]),o[r[u]]=this[r[u]]);return pe({},o,t)},t}(),Dn=function(t){if(!te(t))return!1;var e="^"===t.charAt(0);return{val:e?t.substring(1):t,root:e}},An=function(t,e){return function(n){var r=n;r&&r.url&&r.name&&r.name.match(/\.\*\*$/)&&(r.url+="{remainder:any}");var i=Dn(r.url),o=n.parent,a=i?t.compile(i.val,{params:n.params||{},paramMap:function(t,e){return!1===r.reloadOnSearch&&e&&(t=pe(t||{},{dynamic:!0})),t}}):r.url;if(!a)return null;if(!t.isMatcher(a))throw new Error("Invalid url '"+a+"' in state '"+n+"'");return i&&i.root?a:(o&&o.navigable||e()).url.append(a)}},Mn=function(t){return function(e){return!t(e)&&e.url?e:e.parent?e.parent.navigable:null}},Tn=function(t){return function(e){var n=function(e,n){return t.fromConfig(n,null,e)},r=e.url&&e.url.parameters({inherit:!1})||[],i=_e(ke(b(e.params||{},r.map(Rt("id"))),n));return r.concat(i).map(function(t){return[t.id,t]}).reduce(E,{})}},On=function(){function t(t,e){function n(e){return o(e)?null:t.find(r.parentName(e))||i()}this.matcher=t;var r=this,i=function(){return t.find("")},o=function(t){return""===t.name};this.builders={name:[X],self:[Q],parent:[n],data:[tt],url:[An(e,i)],
navigable:[Mn(o)],params:[Tn(e.paramFactory)],views:[],path:[et],includes:[nt],resolvables:[rt]}}return t.prototype.builder=function(t,e){var n=this.builders,r=n[t]||[];return te(t)&&!Zt(e)?r.length>1?r:r[0]:te(t)&&Xt(e)?(n[t]=r,n[t].push(e),function(){return n[t].splice(n[t].indexOf(e,1))&&null}):void 0},t.prototype.build=function(t){var e=this,n=e.matcher,r=e.builders,i=this.parentName(t);if(i&&!n.find(i,void 0,!1))return null;for(var o in r)if(r.hasOwnProperty(o)){var a=r[o].reduce(function(t,e){return function(n){return e(n,t)}},d);t[o]=a(t)}return t},t.prototype.parentName=function(t){var e=t.name||"",n=e.split(".");if("**"===n.pop()&&n.pop(),n.length){if(t.parent)throw new Error("States that specify the 'parent:' property should not have a '.' in their name ("+e+")");return n.join(".")}return t.parent?te(t.parent)?t.parent:t.parent.name:""},t.prototype.name=function(t){var e=t.name;if(-1!==e.indexOf(".")||!t.parent)return e;var n=te(t.parent)?t.parent:t.parent.name;return n?n+"."+e:e},t}(),Pn=function(){function t(t){this._states=t}return t.prototype.isRelative=function(t){return t=t||"",0===t.indexOf(".")||0===t.indexOf("^")},t.prototype.find=function(t,e,n){if(void 0===n&&(n=!0),t||""===t){var r=te(t),i=r?t:t.name;this.isRelative(i)&&(i=this.resolvePath(i,e));var o=this._states[i];if(o&&(r||!(r||o!==t&&o.self!==t)))return o;if(r&&n){var a=_e(this._states),s=a.filter(function(t){return t.__stateObjectCache.nameGlob&&t.__stateObjectCache.nameGlob.matches(i)});return s.length>1&&console.log("stateMatcher.find: Found multiple matches for "+i+" using glob: ",s.map(function(t){return t.name})),s[0]}}},t.prototype.resolvePath=function(t,e){if(!e)throw new Error("No reference point given for path '"+t+"'");for(var n=this.find(e),r=t.split("."),i=0,o=r.length,a=n;i<o;i++)if(""!==r[i]||0!==i){if("^"!==r[i])break;if(!a.parent)throw new Error("Path '"+t+"' not valid for state '"+n.name+"'");a=a.parent}else a=n;var s=r.slice(i).join(".");return a.name+(a.name&&s?".":"")+s},t}(),Fn=function(){function t(t,e,n,r,i){this.$registry=t,this.$urlRouter=e,this.states=n,this.builder=r,this.listeners=i,this.queue=[],this.matcher=t.matcher}return t.prototype.dispose=function(){this.queue=[]},t.prototype.register=function(t){var e=this.queue,n=zt.create(t),r=n.name;if(!te(r))throw new Error("State must have a valid name");if(this.states.hasOwnProperty(r)||ve(e.map(Rt("name")),r))throw new Error("State '"+r+"' is already defined");return e.push(n),this.flush(),n},t.prototype.flush=function(){for(var t=this,e=this,n=e.queue,r=e.states,i=e.builder,o=[],a=[],s={},u=function(e){return t.states.hasOwnProperty(e)&&t.states[e]};n.length>0;){var l=n.shift(),c=l.name,d=i.build(l),f=a.indexOf(l);if(d){var h=u(c);if(h&&h.name===c)throw new Error("State '"+c+"' is already defined");var p=u(c+".**");p&&this.$registry.deregister(p),r[c]=l,this.attachRoute(l),f>=0&&a.splice(f,1),o.push(l)}else{var m=s[c];if(s[c]=n.length,f>=0&&m===n.length)return n.push(l),r;f<0&&a.push(l),n.push(l)}}return o.length&&this.listeners.forEach(function(t){return t("registered",o.map(function(t){return t.self}))}),r},t.prototype.attachRoute=function(t){!t.abstract&&t.url&&this.$urlRouter.rule(this.$urlRouter.urlRuleFactory.create(t))},t}(),Rn=function(){function t(t){this._router=t,this.states={},this.listeners=[],this.matcher=new Pn(this.states),this.builder=new On(this.matcher,t.urlMatcherFactory),this.stateQueue=new Fn(this,t.urlRouter,this.states,this.builder,this.listeners),this._registerRoot()}return t.prototype._registerRoot=function(){var t={name:"",url:"^",views:null,params:{"#":{value:null,type:"hash",dynamic:!0}},abstract:!0};(this._root=this.stateQueue.register(t)).navigable=null},t.prototype.dispose=function(){var t=this;this.stateQueue.dispose(),this.listeners=[],this.get().forEach(function(e){return t.get(e)&&t.deregister(e)})},t.prototype.onStatesChanged=function(t){return this.listeners.push(t),function(){ye(this.listeners)(t)}.bind(this)},t.prototype.root=function(){return this._root},t.prototype.register=function(t){return this.stateQueue.register(t)},t.prototype._deregisterTree=function(t){var e=this,n=this.get().map(function(t){return t.$$state()}),r=function(t){var e=n.filter(function(e){return-1!==t.indexOf(e.parent)});return 0===e.length?e:e.concat(r(e))},i=r([t]),o=[t].concat(i).reverse();return o.forEach(function(t){var n=e._router.urlRouter;n.rules().filter(Vt("state",t)).forEach(n.removeRule.bind(n)),delete e.states[t.name]}),o},t.prototype.deregister=function(t){var e=this.get(t);if(!e)throw new Error("Can't deregister state; not found: "+t);var n=this._deregisterTree(e.$$state());return this.listeners.forEach(function(t){return t("deregistered",n.map(function(t){return t.self}))}),n},t.prototype.get=function(t,e){var n=this;if(0===arguments.length)return Object.keys(this.states).map(function(t){return n.states[t].self});var r=this.matcher.find(t,e);return r&&r.self||null},t.prototype.decorator=function(t,e){return this.builder.builder(t,e)},t}(),Vn=function(t,e,n){return t[e]=t[e]||n()},Nn=K("/"),Ln=function(){function e(t,n,r,i){var o=this;this.config=i,this._cache={path:[this]},this._children=[],this._params=[],this._segments=[],this._compiled=[],this.pattern=t,this.config=g(this.config,{params:{},strict:!0,caseInsensitive:!1,paramMap:c});for(var a,s,u,l=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,d=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,f=0,h=[],p=function(n){if(!e.nameValidator.test(n))throw new Error("Invalid parameter name '"+n+"' in pattern '"+t+"'");if(k(o._params,Vt("id",n)))throw new Error("Duplicate parameter name '"+n+"' in pattern '"+t+"'")},m=function(e,r){var i=e[2]||e[3],a=r?e[4]:e[4]||("*"===e[1]?"[\\s\\S]*":null);return{id:i,regexp:a,cfg:o.config.params[i],segment:t.substring(f,e.index),type:a?n.type(a)||function(t){return ge(n.type(r?"query":"path"),{pattern:new RegExp(t,o.config.caseInsensitive?"i":void 0)})}(a):null}};(a=l.exec(t))&&(s=m(a,!1),!(s.segment.indexOf("?")>=0));)p(s.id),this._params.push(r.fromPath(s.id,s.type,this.config.paramMap(s.cfg,!1))),this._segments.push(s.segment),h.push([s.segment,D(this._params)]),f=l.lastIndex;u=t.substring(f);var v=u.indexOf("?");if(v>=0){var y=u.substring(v);if(u=u.substring(0,v),y.length>0)for(f=0;a=d.exec(y);)s=m(a,!0),p(s.id),this._params.push(r.fromSearch(s.id,s.type,this.config.paramMap(s.cfg,!0))),f=l.lastIndex}this._segments.push(u),this._compiled=h.map(function(t){return it.apply(null,t)}).concat(it(u))}return e.prototype.append=function(t){return this._children.push(t),t._cache={path:this._cache.path.concat(t),parent:this,pattern:null},t},e.prototype.isRoot=function(){return this._cache.path[0]===this},e.prototype.toString=function(){return this.pattern},e.prototype.exec=function(t,e,n,r){var i=this;void 0===e&&(e={}),void 0===r&&(r={});var o=Vn(this._cache,"pattern",function(){return new RegExp(["^",Ae(i._cache.path.map(Rt("_compiled"))).join(""),!1===i.config.strict?"/?":"","$"].join(""),i.config.caseInsensitive?"i":void 0)}).exec(t);if(!o)return null;var a=this.parameters(),s=a.filter(function(t){return!t.isSearch()}),u=a.filter(function(t){return t.isSearch()}),l=this._cache.path.map(function(t){return t._segments.length-1}).reduce(function(t,e){return t+e}),c={};if(l!==o.length-1)throw new Error("Unbalanced capture group in route '"+this.pattern+"'");for(var d=0;d<l;d++){for(var f=s[d],h=o[d+1],p=0;p<f.replace.length;p++)f.replace[p].from===h&&(h=f.replace[p].to);h&&!0===f.array&&(h=function(t){var e=function(t){return t.split("").reverse().join("")},n=function(t){return t.replace(/\\-/g,"-")};return _(_(e(t).split(/-(?!\\)/),e),n).reverse()}(h)),Zt(h)&&(h=f.type.decode(h)),c[f.id]=f.value(h)}return u.forEach(function(t){for(var n=e[t.id],r=0;r<t.replace.length;r++)t.replace[r].from===n&&(n=t.replace[r].to);Zt(n)&&(n=t.type.decode(n)),c[t.id]=t.value(n)}),n&&(c["#"]=n),c},e.prototype.parameters=function(t){return void 0===t&&(t={}),!1===t.inherit?this._params:Ae(this._cache.path.map(function(t){return t._params}))},e.prototype.parameter=function(t,e){var n=this;void 0===e&&(e={});var r=this._cache.parent;return function(){for(var e=0,r=n._params;e<r.length;e++){var i=r[e];if(i.id===t)return i}}()||!1!==e.inherit&&r&&r.parameter(t,e)||null},e.prototype.validates=function(t){var e=function(t,e){return!t||t.validates(e)};return t=t||{},this.parameters().filter(function(e){return t.hasOwnProperty(e.id)}).map(function(n){return e(n,t[n.id])}).reduce(Ce,!0)},e.prototype.format=function(t){function n(e){var n=e.value(t[e.id]),r=e.validates(n),i=e.isDefaultValue(n);return{param:e,value:n,isValid:r,isDefaultValue:i,squash:!!i&&e.squash,encoded:e.type.encode(n)}}void 0===t&&(t={});var r=this._cache.path,i=r.map(e.pathSegmentsAndParams).reduce(Se,[]).map(function(t){return te(t)?t:n(t)}),o=r.map(e.queryParams).reduce(Se,[]).map(n),a=function(t){return!1===t.isValid};if(i.concat(o).filter(a).length)return null;var s=i.reduce(function(t,n){if(te(n))return t+n;var r=n.squash,i=n.encoded,o=n.param;return!0===r?t.match(/\/$/)?t.slice(0,-1):t:te(r)?t+r:!1!==r?t:null==i?t:ne(i)?t+_(i,e.encodeDashes).join("-"):o.raw?t+i:t+encodeURIComponent(i)},""),u=o.map(function(t){var e=t.param,n=t.squash,r=t.encoded,i=t.isDefaultValue;if(!(null==r||i&&!1!==n)&&(ne(r)||(r=[r]),0!==r.length))return e.raw||(r=_(r,encodeURIComponent)),r.map(function(t){return e.id+"="+t})}).filter(c).reduce(Se,[]).join("&");return s+(u?"?"+u:"")+(t["#"]?"#"+t["#"]:"")},e.encodeDashes=function(t){return encodeURIComponent(t).replace(/-/g,function(t){return"%5C%"+t.charCodeAt(0).toString(16).toUpperCase()})},e.pathSegmentsAndParams=function(e){return S(e._segments,e._params.filter(function(e){return e.location===t.DefType.PATH}).concat(void 0)).reduce(Se,[]).filter(function(t){return""!==t&&Zt(t)})},e.queryParams=function(e){return e._params.filter(function(e){return e.location===t.DefType.SEARCH})},e.compare=function(t,n){var r=function(t){return t._cache.segments=t._cache.segments||t._cache.path.map(e.pathSegmentsAndParams).reduce(Se,[]).reduce(J,[]).map(function(t){return te(t)?Nn(t):t}).reduce(Se,[])},i=function(t){return t._cache.weights=t._cache.weights||r(t).map(function(t){return"/"===t?1:te(t)?2:t instanceof en?3:void 0})},o=i(t),a=i(n);!function(t,e,n){for(var r=Math.max(t.length,e.length);t.length<r;)t.push(n);for(;e.length<r;)e.push(n)}(o,a,0);var s,u,l=S(o,a);for(u=0;u<l.length;u++)if(0!==(s=l[u][0]-l[u][1]))return s;return 0},e.nameValidator=/^\w+([-.]+\w+)*(?:\[\])?$/,e}(),In=function(){function e(){var e=this;this.paramTypes=new xn,this._isCaseInsensitive=!1,this._isStrictMode=!0,this._defaultSquashPolicy=!1,this._getConfig=function(t){return pe({strict:e._isStrictMode,caseInsensitive:e._isCaseInsensitive},t)},this.paramFactory={fromConfig:function(n,r,i){return new en(n,r,i,t.DefType.CONFIG,e)},fromPath:function(n,r,i){return new en(n,r,i,t.DefType.PATH,e)},fromSearch:function(n,r,i){return new en(n,r,i,t.DefType.SEARCH,e)}},pe(this,{UrlMatcher:Ln,Param:en})}return e.prototype.caseInsensitive=function(t){return this._isCaseInsensitive=Zt(t)?t:this._isCaseInsensitive},e.prototype.strictMode=function(t){return this._isStrictMode=Zt(t)?t:this._isStrictMode},e.prototype.defaultSquashPolicy=function(t){if(Zt(t)&&!0!==t&&!1!==t&&!te(t))throw new Error("Invalid squash policy: "+t+". Valid policies: false, true, arbitrary-string");return this._defaultSquashPolicy=Zt(t)?t:this._defaultSquashPolicy},e.prototype.compile=function(t,e){return new Ln(t,this.paramTypes,this.paramFactory,this._getConfig(e))},e.prototype.isMatcher=function(t){if(!ee(t))return!1;var e=!0;return he(Ln.prototype,function(n,r){Xt(n)&&(e=e&&Zt(t[r])&&Xt(t[r]))}),e},e.prototype.type=function(t,e,n){var r=this.paramTypes.type(t,e,n);return Zt(e)?this:r},e.prototype.$get=function(){return this.paramTypes.enqueue=!1,this.paramTypes._flushTypeQueue(),this},e.prototype.dispose=function(){this.paramTypes.dispose()},e}(),jn=function(){function t(t){this.router=t}return t.prototype.compile=function(t){return this.router.urlMatcherFactory.compile(t)},t.prototype.create=function(t,e){var n=this,r=u([[te,function(t){return r(n.compile(t))}],[Bt(Ln),function(t){return n.fromUrlMatcher(t,e)}],[oe,function(t){return n.fromState(t,n.router)}],[Bt(RegExp),function(t){return n.fromRegExp(t,e)}],[Xt,function(t){return new Bn(t,e)}]]),i=r(t);if(!i)throw new Error("invalid 'what' in when()");return i},t.prototype.fromUrlMatcher=function(t,e){function n(e){var n=t.exec(e.path,e.search,e.hash);return t.validates(n)&&n}function r(e){var n=t.parameters().filter(function(t){return t.isOptional});return n.length?n.filter(function(t){return e[t.id]}).length/n.length:1e-6}var i=e;te(e)&&(e=this.router.urlMatcherFactory.compile(e)),Bt(Ln)(e)&&(i=function(t){return e.format(t)});var o={urlMatcher:t,matchPriority:r,type:"URLMATCHER"};return pe(new Bn(n,i),o)},t.prototype.fromState=function(t,e){var n=function(n){var r=e.stateService,i=e.globals;r.href(t,n)!==r.href(i.current,i.params)&&r.transitionTo(t,n,{inherit:!0,source:"url"})},r={state:t,type:"STATE"};return pe(this.fromUrlMatcher(t.url,n),r)},t.prototype.fromRegExp=function(t,e){if(t.global||t.sticky)throw new Error("Rule RegExp must not be global or sticky");var n=function(t){return e.replace(/\$(\$|\d{1,2})/,function(e,n){return t["$"===n?0:Number(n)]})},r=te(e)?n:e,i=function(e){return t.exec(e.path)},o={regexp:t,type:"REGEXP"};return pe(new Bn(i,r),o)},t.isUrlRule=function(t){return t&&["type","match","handler"].every(function(e){return Zt(t[e])})},t}(),Bn=function(){function t(t,e){var n=this;this.match=t,this.type="RAW",this.matchPriority=function(t){return 0-n.$id},this.handler=e||c}return t}(),Hn=function(t,e){return(e.priority||0)-(t.priority||0)},Un=function(t,e){var n={STATE:4,URLMATCHER:4,REGEXP:3,RAW:2,OTHER:1};return(n[t.type]||0)-(n[e.type]||0)},Yn=function(t,e){return t.urlMatcher&&e.urlMatcher?Ln.compare(t.urlMatcher,e.urlMatcher):0},zn=function(t,e){var n={STATE:!0,URLMATCHER:!0};return n[t.type]&&n[e.type]?0:(t.$id||0)-(e.$id||0)};Sn=function(t,e){var n=Hn(t,e);return 0!==n?n:0!==(n=Un(t,e))?n:(n=Yn(t,e),0!==n?n:zn(t,e))};var qn=function(){function t(e){this._sortFn=Sn,this._rules=[],this.interceptDeferred=!1,this._id=0,this._sorted=!1,this._router=e,this.urlRuleFactory=new jn(e),f(Ut(t.prototype),this,Ut(this))}return t.prototype.dispose=function(){this.listen(!1),this._rules=[],delete this._otherwiseFn},t.prototype.sort=function(t){this._rules=this.stableSort(this._rules,this._sortFn=t||this._sortFn),this._sorted=!0},t.prototype.ensureSorted=function(){this._sorted||this.sort()},t.prototype.stableSort=function(t,e){var n=t.map(function(t,e){return{elem:t,idx:e}});return n.sort(function(t,n){var r=e(t.elem,n.elem);return 0===r?t.idx-n.idx:r}),n.map(function(t){return t.elem})},t.prototype.match=function(t){var e=this;this.ensureSorted(),t=pe({path:"",search:{},hash:""},t);var n=this.rules();this._otherwiseFn&&n.push(this._otherwiseFn);for(var r,i=0;i<n.length&&(!r||0===this._sortFn(n[i],r.rule));i++){var o=function(n){var r=n.match(t,e._router);return r&&{match:r,rule:n,weight:n.matchPriority(r)}}(n[i]);r=!r||o&&o.weight>r.weight?o:r}return r},t.prototype.sync=function(t){if(!t||!t.defaultPrevented){var e=this._router,n=e.urlService,r=e.stateService,i={path:n.path(),search:n.search(),hash:n.hash()},o=this.match(i);u([[te,function(t){return n.url(t,!0)}],[We.isDef,function(t){return r.go(t.state,t.params,t.options)}],[Bt(We),function(t){return r.go(t.state(),t.params(),t.options())}]])(o&&o.rule.handler(o.match,i,e))}},t.prototype.listen=function(t){var e=this;if(!1!==t)return this._stopFn=this._stopFn||this._router.urlService.onChange(function(t){return e.sync(t)});this._stopFn&&this._stopFn(),delete this._stopFn},t.prototype.update=function(t){var e=this._router.locationService;if(t)return void(this.location=e.path());e.path()!==this.location&&e.url(this.location,!0)},t.prototype.push=function(t,e,n){var r=n&&!!n.replace;this._router.urlService.url(t.format(e||{}),r)},t.prototype.href=function(t,e,n){var r=t.format(e);if(null==r)return null;n=n||{absolute:!1};var i=this._router.urlService.config,o=i.html5Mode();if(o||null===r||(r="#"+i.hashPrefix()+r),r=ot(r,o,n.absolute,i.baseHref()),!n.absolute||!r)return r;var a=!o&&r?"/":"",s=i.port();return s=80===s||443===s?"":":"+s,[i.protocol(),"://",i.host(),s,a,r].join("")},t.prototype.rule=function(t){var e=this;if(!jn.isUrlRule(t))throw new Error("invalid rule");return t.$id=this._id++,t.priority=t.priority||0,this._rules.push(t),this._sorted=!1,function(){return e.removeRule(t)}},t.prototype.removeRule=function(t){ye(this._rules,t)},t.prototype.rules=function(){return this.ensureSorted(),this._rules.slice()},t.prototype.otherwise=function(t){var e=at(t);this._otherwiseFn=this.urlRuleFactory.create(Ut(!0),e),this._sorted=!1},t.prototype.initial=function(t){var e=at(t),n=function(t,e){return 0===e.globals.transitionHistory.size()&&!!/^\/?$/.exec(t.path)};this.rule(this.urlRuleFactory.create(n,e))},t.prototype.when=function(t,e,n){var r=this.urlRuleFactory.create(t,e);return Zt(n&&n.priority)&&(r.priority=n.priority),this.rule(r),r},t.prototype.deferIntercept=function(t){void 0===t&&(t=!0),this.interceptDeferred=t},t}(),Wn=function(){function t(){var t=this;this._uiViews=[],this._viewConfigs=[],this._viewConfigFactories={},this._pluginapi={_rootViewContext:this._rootViewContext.bind(this),_viewConfigFactory:this._viewConfigFactory.bind(this),_registeredUIViews:function(){return t._uiViews},_activeViewConfigs:function(){return t._viewConfigs}}}return t.prototype._rootViewContext=function(t){return this._rootContext=t||this._rootContext},t.prototype._viewConfigFactory=function(t,e){this._viewConfigFactories[t]=e},t.prototype.createViewConfig=function(t,e){var n=this._viewConfigFactories[e.$type];if(!n)throw new Error("ViewService: No view config factory registered for type "+e.$type);var r=n(t,e);return ne(r)?r:[r]},t.prototype.deactivateViewConfig=function(t){qe.traceViewServiceEvent("<- Removing",t),ye(this._viewConfigs,t)},t.prototype.activateViewConfig=function(t){qe.traceViewServiceEvent("-> Registering",t),this._viewConfigs.push(t)},t.prototype.sync=function(){function e(t){var e=function(t){return t&&t.parent?e(t.parent)+1:1};return 1e4*t.fqn.split(".").length+e(t.creationContext)}function r(t){for(var e=t.viewDecl.$context,n=0;++n&&e.parent;)e=e.parent;return n}var i=this,o=this._uiViews.map(function(t){return[t.fqn,t]}).reduce(E,{}),a=n(function(t,e,n,r){return e*(t(n)-t(r))}),s=function(e){var n=i._viewConfigs.filter(t.matches(o,e));return n.length>1&&n.sort(a(r,-1)),[e,n[0]]},u=function(t){var e=t[0],n=t[1];-1!==i._uiViews.indexOf(e)&&e.configUpdated(n)},l=this._uiViews.sort(a(e,1)).map(s);qe.traceViewSync(l),l.forEach(u)},t.prototype.registerUIView=function(t){qe.traceViewServiceUIViewEvent("-> Registering",t);var e=this._uiViews,n=function(e){return e.fqn===t.fqn&&e.$type===t.$type};return e.filter(n).length&&qe.traceViewServiceUIViewEvent("!!!! duplicate uiView named:",t),e.push(t),this.sync(),function(){if(-1===e.indexOf(t))return void qe.traceViewServiceUIViewEvent("Tried removing non-registered uiView",t);qe.traceViewServiceUIViewEvent("<- Deregistering",t),ye(e)(t)}},t.prototype.available=function(){return this._uiViews.map(Rt("fqn"))},t.prototype.active=function(){return this._uiViews.filter(Rt("$config")).map(Rt("name"))},t.normalizeUIViewTarget=function(t,e){void 0===e&&(e="");var n=e.split("@"),r=n[0]||"$default",i=te(n[1])?n[1]:"^",o=/^(\^(?:\.\^)*)\.(.*$)/.exec(r);(o&&(i=o[1],r=o[2]),"!"===r.charAt(0)&&(r=r.substr(1),i=""),/^(\^(?:\.\^)*)$/.exec(i))?i=i.split(".").reduce(function(t,e){return t.parent},t).name:"."===i&&(i=t.name);return{uiViewName:r,uiViewContextAnchor:i}},t.matches=function(t,e){return function(n){if(e.$type!==n.viewDecl.$type)return!1;var r=n.viewDecl,i=r.$uiViewName.split("."),o=e.fqn.split(".");if(!me(i,o.slice(0-i.length)))return!1;var a=1-i.length||void 0,s=o.slice(0,a).join("."),u=t[s].creationContext;return r.$uiViewContextAnchor===(u&&u.name)}},t}(),Gn=function(){function t(){this.params=new En,this.lastStartedTransitionId=-1,this.transitionHistory=new Ve([],1),this.successfulTransitions=new Ve([],1)}return t.prototype.dispose=function(){this.transitionHistory.clear(),this.successfulTransitions.clear(),this.transition=null},t}(),Zn=function(t){return t.reduce(function(t,e){return t[e]=se(e),t},{dispose:d})},Kn=["url","path","search","hash","onChange"],Jn=["port","protocol","host","baseHref","html5Mode","hashPrefix"],Xn=["type","caseInsensitive","strictMode","defaultSquashPolicy"],Qn=["sort","when","initial","otherwise","rules","rule","removeRule"],tr=["deferIntercept","listen","sync","match"],er=function(){function t(t,e){void 0===e&&(e=!0),this.router=t,this.rules={},this.config={};var n=function(){return t.locationService};f(n,this,n,Kn,e);var r=function(){return t.locationConfig};f(r,this.config,r,Jn,e);var i=function(){return t.urlMatcherFactory};f(i,this.config,i,Xn);var o=function(){return t.urlRouter};f(o,this.rules,o,Qn),f(o,this,o,tr)}return t.prototype.url=function(t,e,n){},t.prototype.path=function(){},t.prototype.search=function(){},t.prototype.hash=function(){},t.prototype.onChange=function(t){},t.prototype.parts=function(){return{path:this.path(),search:this.search(),hash:this.hash()}},t.prototype.dispose=function(){},t.prototype.sync=function(t){},t.prototype.listen=function(t){},t.prototype.deferIntercept=function(t){},t.prototype.match=function(t){},t.locationServiceStub=Zn(Kn),t.locationConfigStub=Zn(Jn),t}(),nr=0,rr=function(){function t(t,e){void 0===t&&(t=er.locationServiceStub),void 0===e&&(e=er.locationConfigStub),this.locationService=t,this.locationConfig=e,this.$id=nr++,this._disposed=!1,this._disposables=[],this.trace=qe,this.viewService=new Wn,this.transitionService=new Tr(this),this.globals=new Gn,this.urlMatcherFactory=new In,this.urlRouter=new qn(this),this.stateRegistry=new Rn(this),this.stateService=new Or(this),this.urlService=new er(this),this._plugins={},this.viewService._pluginapi._rootViewContext(this.stateRegistry.root()),this.globals.$current=this.stateRegistry.root(),this.globals.current=this.globals.$current.self,this.disposable(this.globals),this.disposable(this.stateService),this.disposable(this.stateRegistry),this.disposable(this.transitionService),this.disposable(this.urlRouter),this.disposable(t),this.disposable(e)}return t.prototype.disposable=function(t){this._disposables.push(t)},t.prototype.dispose=function(t){var e=this;if(t&&Xt(t.dispose))return void t.dispose(this);this._disposed=!0,this._disposables.slice().forEach(function(t){try{"function"==typeof t.dispose&&t.dispose(e),ye(e._disposables,t)}catch(t){}})},t.prototype.plugin=function(t,e){void 0===e&&(e={});var n=new t(this,e);if(!n.name)throw new Error("Required property `name` missing on plugin: "+n);return this._disposables.push(n),this._plugins[n.name]=n},t.prototype.getPlugin=function(t){return t?this._plugins[t]:_e(this._plugins)},t}(),ir=function(t){return t.onCreate({},st)},or=function(t){function e(e){if(e)return e instanceof We?e:te(e)?r.target(e,t.params(),t.options()):e.state||e.params?r.target(e.state||t.to(),e.params||t.params(),t.options()):void 0}var n=t.to().redirectTo;if(n){var r=t.router.stateService;return Xt(n)?ue.$q.when(n(t)).then(e):e(n)}},ar=function(t){return t.onStart({to:function(t){return!!t.redirectTo}},or)},sr=ut("onExit"),ur=function(t){return t.onExit({exiting:function(t){return!!t.onExit}},sr)},lr=ut("onRetain"),cr=function(t){return t.onRetain({retained:function(t){return!!t.onRetain}},lr)},dr=ut("onEnter"),fr=function(t){return t.onEnter({entering:function(t){return!!t.onEnter}},dr)},hr=function(t){return new fn(t.treeChanges().to).resolvePath("EAGER",t).then(d)},pr=function(t){return t.onStart({},hr,{priority:1e3})},mr=function(t,e){return new fn(t.treeChanges().to).subContext(e.$$state()).resolvePath("LAZY",t).then(d)},gr=function(t){return t.onEnter({entering:Ut(!0)},mr,{priority:1e3})},vr=function(t){var e=ue.$q,n=t.views("entering");if(n.length)return e.all(n.map(function(t){return e.when(t.load())})).then(d)},yr=function(t){return t.onFinish({},vr)},br=function(t){var e=t.views("entering"),n=t.views("exiting");if(e.length||n.length){var r=t.router.viewService;n.forEach(function(t){return r.deactivateViewConfig(t)}),e.forEach(function(t){return r.activateViewConfig(t)}),r.sync()}},$r=function(t){return t.onSuccess({},br)},wr=function(t){var e=t.router.globals,n=function(){e.successfulTransitions.enqueue(t),e.$current=t.$to(),e.current=e.$current.self,A(t.params(),e.params)},r=function(){e.transition===t&&(e.transition=null)};t.onSuccess({},n,{priority:1e4}),t.promise.then(r,r)},kr=function(t){return t.onCreate({},wr)},_r=function(t){var e=t.options(),n=t.router.stateService,r=t.router.urlRouter;if("url"!==e.source&&e.location&&n.$current.navigable){var i={replace:"replace"===e.location};r.push(n.$current.navigable.url,n.params,i)}r.update(!0)},Cr=function(t){return t.onSuccess({},_r,{priority:9999})},xr=function(t){function e(){if("url"!==t.originalTransition().options().source){var e=t.targetState();return n.stateService.target(e.identifier(),e.params(),e.options())}var r=n.urlService,i=r.match(r.parts()),o=i&&i.rule;if(o&&"STATE"===o.type){var a=o.state,s=i.match;return n.stateService.target(a,s,t.options())}n.urlService.sync()}var n=t.router,r=t.entering().filter(function(t){return!!t.$$state().lazyLoad}).map(function(e){return lt(t,e)});return ue.$q.all(r).then(e)},Sr=function(t){return t.onBefore({entering:function(t){return!!t.lazyLoad}},xr)},Er=function(){function t(t,e,n,r,i,o,a,s){void 0===i&&(i=!1),void 0===o&&(o=Ze.HANDLE_RESULT),void 0===a&&(a=Ze.REJECT_ERROR),void 0===s&&(s=!1),this.name=t,this.hookPhase=e,this.hookOrder=n,this.criteriaMatchPath=r,this.reverseSort=i,this.getResultHandler=o,this.getErrorHandler=a,this.synchronous=s}return t}(),Dr=function(t){return t.onBefore({},ct,{priority:-9999})},Ar=function(t){return t.onBefore({},dt,{priority:-1e4})},Mr={location:!0,relative:null,inherit:!1,notify:!0,reload:!1,custom:{},current:function(){return null},source:"unknown"},Tr=function(){function e(t){this._transitionCount=0,this._eventTypes=[],this._registeredHooks={},this._criteriaPaths={},this._router=t,this.$view=t.viewService,this._deregisterHookFns={},this._pluginapi=f(Ut(this),{},Ut(this),["_definePathType","_defineEvent","_getPathTypes","_getEvents","getHooks"]),this._defineCorePaths(),this._defineCoreEvents(),this._registerCoreTransitionHooks()}return e.prototype.onCreate=function(t,e,n){},e.prototype.onBefore=function(t,e,n){},e.prototype.onStart=function(t,e,n){},e.prototype.onExit=function(t,e,n){},e.prototype.onRetain=function(t,e,n){},e.prototype.onEnter=function(t,e,n){},e.prototype.onFinish=function(t,e,n){},e.prototype.onSuccess=function(t,e,n){},e.prototype.onError=function(t,e,n){},e.prototype.dispose=function(t){_e(this._registeredHooks).forEach(function(t){return t.forEach(function(e){e._deregistered=!0,ye(t,e)})})},e.prototype.create=function(t,e){return new mn(t,e,this._router)},e.prototype._defineCoreEvents=function(){var e=t.TransitionHookPhase,n=Ze,r=this._criteriaPaths;this._defineEvent("onCreate",e.CREATE,0,r.to,!1,n.LOG_REJECTED_RESULT,n.THROW_ERROR,!0),this._defineEvent("onBefore",e.BEFORE,0,r.to),this._defineEvent("onStart",e.RUN,0,r.to),this._defineEvent("onExit",e.RUN,100,r.exiting,!0),this._defineEvent("onRetain",e.RUN,200,r.retained),this._defineEvent("onEnter",e.RUN,300,r.entering),this._defineEvent("onFinish",e.RUN,400,r.to),this._defineEvent("onSuccess",e.SUCCESS,0,r.to,!1,n.LOG_REJECTED_RESULT,n.LOG_ERROR,!0),this._defineEvent("onError",e.ERROR,0,r.to,!1,n.LOG_REJECTED_RESULT,n.LOG_ERROR,!0)},e.prototype._defineCorePaths=function(){var e=t.TransitionHookScope.STATE,n=t.TransitionHookScope.TRANSITION;this._definePathType("to",n),this._definePathType("from",n),this._definePathType("exiting",e),this._definePathType("retained",e),this._definePathType("entering",e)},e.prototype._defineEvent=function(t,e,n,r,i,o,a,s){void 0===i&&(i=!1),void 0===o&&(o=Ze.HANDLE_RESULT),void 0===a&&(a=Ze.REJECT_ERROR),void 0===s&&(s=!1);var u=new Er(t,e,n,r,i,o,a,s);this._eventTypes.push(u),N(this,this,u)},e.prototype._getEvents=function(t){return(Zt(t)?this._eventTypes.filter(function(e){return e.hookPhase===t}):this._eventTypes.slice()).sort(function(t,e){var n=t.hookPhase-e.hookPhase;return 0===n?t.hookOrder-e.hookOrder:n})},e.prototype._definePathType=function(t,e){this._criteriaPaths[t]={name:t,scope:e}},e.prototype._getPathTypes=function(){return this._criteriaPaths},e.prototype.getHooks=function(t){return this._registeredHooks[t]},e.prototype._registerCoreTransitionHooks=function(){var t=this._deregisterHookFns;t.addCoreResolves=ir(this),t.ignored=Dr(this),t.invalid=Ar(this),t.redirectTo=ar(this),t.onExit=ur(this),t.onRetain=cr(this),t.onEnter=fr(this),t.eagerResolve=pr(this),t.lazyResolve=gr(this),t.loadViews=yr(this),t.activateViews=$r(this),t.updateGlobals=kr(this),t.updateUrl=Cr(this),t.lazyLoad=Sr(this)},e}(),Or=function(){function e(t){this.router=t,this.invalidCallbacks=[],this._defaultErrorHandler=function(t){t instanceof Error&&t.stack?(console.error(t),console.error(t.stack)):t instanceof Le?(console.error(t.toString()),t.detail&&t.detail.stack&&console.error(t.detail.stack)):console.error(t)};var n=["current","$current","params","transition"],r=Object.keys(e.prototype).filter(Lt(ve(n)));f(Ut(e.prototype),this,Ut(this),r)}return Object.defineProperty(e.prototype,"transition",{get:function(){return this.router.globals.transition},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"params",{get:function(){return this.router.globals.params},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.router.globals.current},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"$current",{get:function(){return this.router.globals.$current},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.defaultErrorHandler(d),this.invalidCallbacks=[]},e.prototype._handleInvalidTargetState=function(t,e){function n(){var t=u.dequeue();return void 0===t?Le.invalid(e.error()).toPromise():ue.$q.when(t(e,i,l)).then(c).then(function(t){return t||n()})}var r=this,i=rn.makeTargetState(this.router.stateRegistry,t),o=this.router.globals,a=function(){return o.transitionHistory.peekTail()},s=a(),u=new Ve(this.invalidCallbacks.slice()),l=new fn(t).injector(),c=function(t){if(t instanceof We){var e=t;return e=r.target(e.identifier(),e.params(),e.options()),e.valid()?a()!==s?Le.superseded().toPromise():r.transitionTo(e.identifier(),e.params(),e.options()):Le.invalid(e.error()).toPromise()}};return n()},e.prototype.onInvalid=function(t){return this.invalidCallbacks.push(t),function(){ye(this.invalidCallbacks)(t)}.bind(this)},e.prototype.reload=function(t){return this.transitionTo(this.current,this.params,{reload:!Zt(t)||t,inherit:!1,notify:!1})},e.prototype.go=function(t,e,n){var r={relative:this.$current,inherit:!0},i=g(n,r,Mr);return this.transitionTo(t,e,i)},e.prototype.target=function(t,e,n){if(void 0===n&&(n={}),ee(n.reload)&&!n.reload.name)throw new Error("Invalid reload state object");var r=this.router.stateRegistry;if(n.reloadState=!0===n.reload?r.root():r.matcher.find(n.reload,n.relative),n.reload&&!n.reloadState)throw new Error("No such reload state '"+(te(n.reload)?n.reload:n.reload.name)+"'");return new We(this.router.stateRegistry,t,e,n)},e.prototype.getCurrentPath=function(){var t=this,e=this.router.globals,n=e.successfulTransitions.peekTail();return n?n.treeChanges().to:function(){return[new nn(t.router.stateRegistry.root())]}()},e.prototype.transitionTo=function(e,n,r){var i=this;void 0===n&&(n={}),void 0===r&&(r={});var o=this.router,a=o.globals;r=g(r,Mr),r=pe(r,{current:function(){return a.transition}})
;var s=this.target(e,n,r),u=this.getCurrentPath();if(!s.exists())return this._handleInvalidTargetState(u,s);if(!s.valid())return Re(s.error());var l=function(e){return function(n){if(n instanceof Le){var r=o.globals.lastStartedTransitionId===e.$id;if(n.type===t.RejectType.IGNORED)return r&&o.urlRouter.update(),ue.$q.when(a.current);var s=n.detail;if(n.type===t.RejectType.SUPERSEDED&&n.redirected&&s instanceof We){var u=e.redirect(s);return u.run().catch(l(u))}if(n.type===t.RejectType.ABORTED)return r&&o.urlRouter.update(),ue.$q.reject(n)}return i.defaultErrorHandler()(n),ue.$q.reject(n)}},c=this.router.transitionService.create(u,s),d=c.run().catch(l(c));return Fe(d),pe(d,{transition:c})},e.prototype.is=function(t,e,n){n=g(n,{relative:this.$current});var r=this.router.stateRegistry.matcher.find(t,n.relative);if(Zt(r)){if(this.$current!==r)return!1;if(!e)return!0;var i=r.parameters({inherit:!0,matchingKeys:e});return en.equals(i,en.values(i,e),this.params)}},e.prototype.includes=function(t,e,n){n=g(n,{relative:this.$current});var r=te(t)&&Yt.fromString(t);if(r){if(!r.matches(this.$current.name))return!1;t=this.$current.name}var i=this.router.stateRegistry.matcher.find(t,n.relative),o=this.$current.includes;if(Zt(i)){if(!Zt(o[i.name]))return!1;if(!e)return!0;var a=i.parameters({inherit:!0,matchingKeys:e});return en.equals(a,en.values(a,e),this.params)}},e.prototype.href=function(t,e,n){n=g(n,{lossy:!0,inherit:!0,absolute:!1,relative:this.$current}),e=e||{};var r=this.router.stateRegistry.matcher.find(t,n.relative);if(!Zt(r))return null;n.inherit&&(e=this.params.$inherit(e,this.$current,r));var i=r&&n.lossy?r.navigable:r;return i&&void 0!==i.url&&null!==i.url?this.router.urlRouter.href(i.url,e,{absolute:n.absolute}):null},e.prototype.defaultErrorHandler=function(t){return this._defaultErrorHandler=t||this._defaultErrorHandler},e.prototype.get=function(t,e){var n=this.router.stateRegistry;return 0===arguments.length?n.get():n.get(t,e||this.$current)},e.prototype.lazyLoad=function(t,e){var n=this.get(t);if(!n||!n.lazyLoad)throw new Error("Can not lazy load "+t);var r=this.getCurrentPath(),i=rn.makeTargetState(this.router.stateRegistry,r);return e=e||this.router.transitionService.create(r,i),lt(e,n)},e}(),Pr={when:function(t){return new Promise(function(e,n){return e(t)})},reject:function(t){return new Promise(function(e,n){n(t)})},defer:function(){var t={};return t.promise=new Promise(function(e,n){t.resolve=e,t.reject=n}),t},all:function(t){if(ne(t))return Promise.all(t);if(ee(t)){var e=Object.keys(t).map(function(e){return t[e].then(function(t){return{key:e,val:t}})});return Pr.all(e).then(function(t){return t.reduce(function(t,e){return t[e.key]=e.val,t},{})})}}},Fr={},Rr=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Vr=/([^\s,]+)/g,Nr={get:function(t){return Fr[t]},has:function(t){return null!=Nr.get(t)},invoke:function(t,e,n){var r=pe({},Fr,n||{}),i=Nr.annotate(t),o=Te(function(t){return r.hasOwnProperty(t)},function(t){return"DI can't find injectable: '"+t+"'"}),a=i.filter(o).map(function(t){return r[t]});return Xt(t)?t.apply(e,a):t.slice(-1)[0].apply(e,a)},annotate:function(t){if(!l(t))throw new Error("Not an injectable function: "+t);if(t&&t.$inject)return t.$inject;if(ne(t))return t.slice(0,-1);var e=t.toString().replace(Rr,"");return e.slice(e.indexOf("(")+1,e.indexOf(")")).match(Vr)||[]}},Lr=function(t,e){var n=e[0],r=e[1];return t.hasOwnProperty(n)?ne(t[n])?t[n].push(r):t[n]=[t[n],r]:t[n]=r,t},Ir=function(t){return t.split("&").filter(c).map(_n).reduce(Lr,{})},jr=function(t){var e=t.path(),n=t.search(),r=t.hash(),i=Object.keys(n).map(function(t){var e=n[t];return(ne(e)?e:[e]).map(function(e){return t+"="+e})}).reduce(Se,[]).join("&");return e+(i?"?"+i:"")+(r?"#"+r:"")},Br=function(){function t(t,e){var n=this;this.fireAfterUpdate=e,this._listener=function(t){return n._listeners.forEach(function(e){return e(t)})},this._listeners=[],this.hash=function(){return ft(n._get()).hash},this.path=function(){return ft(n._get()).path},this.search=function(){return Ir(ft(n._get()).search)},this._location=le.location,this._history=le.history}return t.prototype.url=function(t,e){return void 0===e&&(e=!0),Zt(t)&&t!==this._get()&&(this._set(null,null,t,e),this.fireAfterUpdate&&this._listeners.forEach(function(e){return e({url:t})})),jr(this)},t.prototype.onChange=function(t){var e=this;return this._listeners.push(t),function(){return ye(e._listeners,t)}},t.prototype.dispose=function(t){$e(this._listeners)},t}(),Hr=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ur=function(t){function e(e){var n=t.call(this,e,!1)||this;return le.addEventListener("hashchange",n._listener,!1),n}return Hr(e,t),e.prototype._get=function(){return Cn(this._location.hash)},e.prototype._set=function(t,e,n,r){this._location.hash=n},e.prototype.dispose=function(e){t.prototype.dispose.call(this,e),le.removeEventListener("hashchange",this._listener)},e}(Br),Yr=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),zr=function(t){function e(e){return t.call(this,e,!0)||this}return Yr(e,t),e.prototype._get=function(){return this._url},e.prototype._set=function(t,e,n,r){this._url=n},e}(Br),qr=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Wr=function(t){function e(e){var n=t.call(this,e,!0)||this;return n._config=e.urlService.config,le.addEventListener("popstate",n._listener,!1),n}return qr(e,t),e.prototype._getBasePrefix=function(){return $n(this._config.baseHref())},e.prototype._get=function(){var t=this._location,e=t.pathname,n=t.hash,r=t.search;r=kn(r)[1],n=wn(n)[1];var i=this._getBasePrefix(),o=e===this._config.baseHref(),a=e.startsWith(i);return(e=o?"/":a?e.substring(i.length):e)+(r?"?"+r:"")+(n?"#"+n:"")},e.prototype._set=function(t,e,n,r){var i=this._getBasePrefix()+n;r?this._history.replaceState(t,e,i):this._history.pushState(t,e,i)},e.prototype.dispose=function(e){t.prototype.dispose.call(this,e),le.removeEventListener("popstate",this._listener)},e}(Br),Gr=function(){function t(){var t=this;this._baseHref="",this._port=80,this._protocol="http",this._host="localhost",this._hashPrefix="",this.port=function(){return t._port},this.protocol=function(){return t._protocol},this.host=function(){return t._host},this.baseHref=function(){return t._baseHref},this.html5Mode=function(){return!1},this.hashPrefix=function(e){return Zt(e)?t._hashPrefix=e:t._hashPrefix},this.dispose=d}return t}(),Zr=function(){function t(t,e){void 0===e&&(e=!1),this._isHtml5=e,this._baseHref=void 0,this._hashPrefix=""}return t.prototype.port=function(){return location.port?Number(location.port):"https"===this.protocol()?443:80},t.prototype.protocol=function(){return location.protocol.replace(/:/g,"")},t.prototype.host=function(){return location.hostname},t.prototype.html5Mode=function(){return this._isHtml5},t.prototype.hashPrefix=function(t){return Zt(t)?this._hashPrefix=t:this._hashPrefix},t.prototype.baseHref=function(t){return Zt(t)?this._baseHref=t:Zt(this._baseHref)?this._baseHref:this.applyDocumentBaseHref()},t.prototype.applyDocumentBaseHref=function(){var t=document.getElementsByTagName("base")[0];return this._baseHref=t?t.href.substr(location.origin.length):""},t.prototype.dispose=function(){},t}(),Kr=ht("vanilla.hashBangLocation",!1,Ur,Zr),Jr=ht("vanilla.pushStateLocation",!0,Wr,Zr),Xr=ht("vanilla.memoryLocation",!1,zr,Gr),Qr=function(){function t(){}return t.prototype.dispose=function(t){},t}(),ti=Object.freeze({root:le,fromJson:de,toJson:fe,forEach:he,extend:pe,equals:me,identity:c,noop:d,createProxyFunctions:f,inherit:ge,inArray:ve,_inArray:h,removeFrom:ye,_removeFrom:p,pushTo:be,_pushTo:m,deregAll:$e,defaults:g,mergeR:we,ancestors:v,pick:y,omit:b,pluck:$,filter:w,find:k,mapObj:ke,map:_,values:_e,allTrueR:Ce,anyTrueR:xe,unnestR:Se,flattenR:Ee,pushR:C,uniqR:De,unnest:Ae,flatten:Me,assertPredicate:Te,assertMap:Oe,assertFn:x,pairs:Pe,arrayTuples:S,applyPairs:E,tail:D,copy:A,_extend:T,silenceUncaughtInPromise:Fe,silentRejection:Re,notImplemented:se,services:ue,Glob:Yt,curry:n,compose:r,pipe:i,prop:Rt,propEq:Vt,parse:Nt,not:Lt,and:o,or:a,all:It,any:jt,is:Bt,eq:Ht,val:Ut,invoke:s,pattern:u,isUndefined:Gt,isDefined:Zt,isNull:Kt,isNullOrUndefined:Jt,isFunction:Xt,isNumber:Qt,isString:te,isObject:ee,isArray:ne,isDate:re,isRegExp:ie,isState:oe,isInjectable:l,isPromise:ae,Queue:Ve,maxLength:Y,padString:z,kebobString:q,functionToString:W,fnToString:G,stringify:Z,beforeAfterSubstr:yn,hostRegex:bn,stripFile:$n,splitHash:wn,splitQuery:kn,splitEqual:_n,trimHashVal:Cn,splitOnDelim:K,joinNeighborsR:J,get Category(){return t.Category},Trace:ze,trace:qe,get DefType(){return t.DefType},Param:en,ParamTypes:xn,StateParams:En,ParamType:Xe,PathNode:nn,PathUtils:rn,resolvePolicies:sn,defaultResolvePolicy:on,Resolvable:an,NATIVE_INJECTOR_TOKEN:dn,ResolveContext:fn,resolvablesBuilder:rt,StateBuilder:On,StateObject:zt,StateMatcher:Pn,StateQueueManager:Fn,StateRegistry:Rn,StateService:Or,TargetState:We,get TransitionHookPhase(){return t.TransitionHookPhase},get TransitionHookScope(){return t.TransitionHookScope},HookBuilder:Je,matchState:V,RegisteredHook:Ke,makeEvent:N,get RejectType(){return t.RejectType},Rejection:Le,Transition:mn,TransitionHook:Ze,TransitionEventType:Er,defaultTransOpts:Mr,TransitionService:Tr,UrlMatcher:Ln,UrlMatcherFactory:In,UrlRouter:qn,UrlRuleFactory:jn,BaseUrlRule:Bn,UrlService:er,ViewService:Wn,UIRouterGlobals:Gn,UIRouter:rr,$q:Pr,$injector:Nr,BaseLocationServices:Br,HashLocationService:Ur,MemoryLocationService:zr,PushStateLocationService:Wr,MemoryLocationConfig:Gr,BrowserLocationConfig:Zr,keyValsToObjectR:Lr,getParams:Ir,parseUrl:ft,buildUrl:jr,locationPluginFactory:ht,servicesPlugin:pt,hashLocationPlugin:Kr,pushStateLocationPlugin:Jr,memoryLocationPlugin:Xr,UIRouterPluginBase:Qr}),ei=function(t,e){return t.reduce(function(t,n){return t||Zt(e[n])},!1)},ni=0,ri=function(){function t(t,e,n){var r=this;this.path=t,this.viewDecl=e,this.factory=n,this.$id=ni++,this.loaded=!1,this.getTemplate=function(t,e){return r.component?r.factory.makeComponentTemplate(t,e,r.component,r.viewDecl.bindings):r.template}}return t.prototype.load=function(){var t=this,e=ue.$q,n=new fn(this.path),r=this.path.reduce(function(t,e){return pe(t,e.paramValues)},{}),i={template:e.when(this.factory.fromConfig(this.viewDecl,r,n)),controller:e.when(this.getController(n))};return e.all(i).then(function(e){return qe.traceViewServiceEvent("Loaded",t),t.controller=e.controller,pe(t,e.template),t})},t.prototype.getController=function(t){var e=this.viewDecl.controllerProvider;if(!l(e))return this.viewDecl.controller;var n=ue.$injector.annotate(e),r=ne(e)?D(e):e;return new an("",r,n).get(t)},t}(),ii=function(){function t(){var t=this;this._useHttp=Ft.version.minor<3,this.$get=["$http","$templateCache","$injector",function(e,n,r){return t.$templateRequest=r.has&&r.has("$templateRequest")&&r.get("$templateRequest"),t.$http=e,t.$templateCache=n,t}]}return t.prototype.useHttpService=function(t){this._useHttp=t},t.prototype.fromConfig=function(t,e,n){var r=function(t){return ue.$q.when(t).then(function(t){return{template:t}})},i=function(t){return ue.$q.when(t).then(function(t){return{component:t}})};return Zt(t.template)?r(this.fromString(t.template,e)):Zt(t.templateUrl)?r(this.fromUrl(t.templateUrl,e)):Zt(t.templateProvider)?r(this.fromProvider(t.templateProvider,e,n)):Zt(t.component)?i(t.component):Zt(t.componentProvider)?i(this.fromComponentProvider(t.componentProvider,e,n)):r("<ui-view></ui-view>")},t.prototype.fromString=function(t,e){return Xt(t)?t(e):t},t.prototype.fromUrl=function(t,e){return Xt(t)&&(t=t(e)),null==t?null:this._useHttp?this.$http.get(t,{cache:this.$templateCache,headers:{Accept:"text/html"}}).then(function(t){return t.data}):this.$templateRequest(t)},t.prototype.fromProvider=function(t,e,n){var r=ue.$injector.annotate(t),i=ne(t)?D(t):t;return new an("",i,r).get(n)},t.prototype.fromComponentProvider=function(t,e,n){var r=ue.$injector.annotate(t),i=ne(t)?D(t):t;return new an("",i,r).get(n)},t.prototype.makeComponentTemplate=function(t,e,n,r){r=r||{};var i=Ft.version.minor>=3?"::":"",o=function(t){var e=q(t);return/^(x|data)-/.exec(e)?"x-"+e:e},a=function(n){var a=n.name,s=n.type,u=o(a);if(t.attr(u)&&!r[a])return u+"='"+t.attr(u)+"'";var l=r[a]||a;if("@"===s)return u+"='{{"+i+"$resolve."+l+"}}'";if("&"===s){var c=e.getResolvable(l),d=c&&c.data,f=d&&ue.$injector.annotate(d)||[];return u+"='$resolve."+l+(ne(d)?"["+(d.length-1)+"]":"")+"("+f.join(",")+")'"}return u+"='"+i+"$resolve."+l+"'"},s=vt(n).map(a).join(" "),u=o(n);return"<"+u+" "+s+"></"+u+">"},t}(),oi=function(t){return ai(ee(t.bindToController)?t.bindToController:t.scope)},ai=function(t){return Object.keys(t||{}).map(function(e){return[e,/^([=<@&])[?]?(.*)/.exec(t[e])]}).filter(function(t){return Zt(t)&&ne(t[1])}).map(function(t){return{name:t[1][2]||t[0],type:t[1][1]}})},si=function(){function t(e,n){this.stateRegistry=e,this.stateService=n,f(Ut(t.prototype),this,Ut(this))}return t.prototype.decorator=function(t,e){return this.stateRegistry.decorator(t,e)||this},t.prototype.state=function(t,e){return ee(t)?e=t:e.name=t,this.stateRegistry.register(e),this},t.prototype.onInvalid=function(t){return this.stateService.onInvalid(t)},t}(),ui=function(t){return function(e,n){function r(t,e){var n=new fn(t.treeChanges(o)),r=pe(wi(n),{$state$:e,$transition$:t});return ue.$injector.invoke(i,this,r)}var i=e[t],o="onExit"===t?"from":"to";return i?r:void 0}},li=function(){function t(t){this._urlListeners=[],this.$locationProvider=t;var e=Ut(t);f(e,this,e,["hashPrefix"])}return t.prototype.dispose=function(){},t.prototype.onChange=function(t){var e=this;return this._urlListeners.push(t),function(){return ye(e._urlListeners)(t)}},t.prototype.html5Mode=function(){var t=this.$locationProvider.html5Mode();return(t=ee(t)?t.enabled:t)&&this.$sniffer.history},t.prototype.url=function(t,e,n){return void 0===e&&(e=!1),t&&this.$location.url(t),e&&this.$location.replace(),n&&this.$location.state(n),this.$location.url()},t.prototype._runtimeServices=function(t,e,n,r){var i=this;this.$location=e,this.$sniffer=n,t.$on("$locationChangeSuccess",function(t){return i._urlListeners.forEach(function(e){return e(t)})});var o=Ut(e),a=Ut(r);f(o,this,o,["replace","path","search","hash"]),f(o,this,o,["port","protocol","host"]),f(a,this,a,["baseHref"])},t.monkeyPatchPathParameterType=function(t){var e=t.urlMatcherFactory.type("path");e.encode=function(t){return null!=t?t.toString().replace(/(~|\/)/g,function(t){return{"~":"~~","/":"~2F"}[t]}):t},e.decode=function(t){return null!=t?t.toString().replace(/(~~|~2F)/g,function(t){return{"~~":"~","~2F":"/"}[t]}):t}},t}(),ci=function(){function t(t){this._router=t,this._urlRouter=t.urlRouter}return t.prototype.$get=function(){var t=this._urlRouter;return t.update(!0),t.interceptDeferred||t.listen(),t},t.prototype.rule=function(t){var e=this;if(!Xt(t))throw new Error("'rule' must be a function");var n=function(){return t(ue.$injector,e._router.locationService)},r=new Bn(n,c);return this._urlRouter.rule(r),this},t.prototype.otherwise=function(t){var e=this,n=this._urlRouter;if(te(t))n.otherwise(t);else{if(!Xt(t))throw new Error("'rule' must be a string or function");n.otherwise(function(){return t(ue.$injector,e._router.locationService)})}return this},t.prototype.when=function(e,n){return(ne(n)||Xt(n))&&(n=t.injectableHandler(this._router,n)),this._urlRouter.when(e,n),this},t.injectableHandler=function(t,e){return function(n){return ue.$injector.invoke(e,null,{$match:n,$stateParams:t.globals.params})}},t.prototype.deferIntercept=function(t){this._urlRouter.deferIntercept(t)},t}();Ft.module("ui.router.angular1",[]);var di=Ft.module("ui.router.init",[]),fi=Ft.module("ui.router.util",["ng","ui.router.init"]),hi=Ft.module("ui.router.router",["ui.router.util"]),pi=Ft.module("ui.router.state",["ui.router.router","ui.router.util","ui.router.angular1"]),mi=Ft.module("ui.router",["ui.router.init","ui.router.state","ui.router.angular1"]),gi=(Ft.module("ui.router.compat",["ui.router"]),null);yt.$inject=["$locationProvider"];var vi=function(t){return["$uiRouterProvider",function(e){var n=e.router[t];return n.$get=function(){return n},n}]};bt.$inject=["$injector","$q","$uiRouter"];var yi=function(t){return t.urlRouterProvider=new ci(t)},bi=function(){return pe(gi.stateProvider,{$get:function(){return gi.stateService}})};$t.$inject=["$rootScope"],di.provider("$uiRouter",yt),hi.provider("$urlRouter",["$uiRouterProvider",yi]),fi.provider("$urlService",vi("urlService")),fi.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return gi.urlMatcherFactory}]),fi.provider("$templateFactory",function(){return new ii}),pi.provider("$stateRegistry",vi("stateRegistry")),pi.provider("$uiRouterGlobals",vi("globals")),pi.provider("$transitions",vi("transitionService")),pi.provider("$state",["$uiRouterProvider",bi]),pi.factory("$stateParams",["$uiRouter",function(t){return t.globals.params}]),mi.factory("$view",function(){return gi.viewService}),mi.service("$trace",function(){return qe}),mi.run($t),fi.run(["$urlMatcherFactory",function(t){}]),pi.run(["$state",function(t){}]),hi.run(["$urlRouter",function(t){}]),di.run(bt);var $i,wi=function(t){return t.getTokens().filter(te).map(function(e){var n=t.getResolvable(e);return[e,"NOWAIT"===t.getPolicy(n).async?n.promise:n.data]}).reduce(E,{})};$i=["$uiRouter","$timeout",function(t,e){var n=t.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(r,i,o,a){function s(){var t=h();d&&d(),c&&(d=c.$$addStateInfo(t.uiState,t.uiStateParams)),null!=t.href&&o.$set(l.attr,t.href)}var u,l=Ct(i),c=a[1]||a[0],d=null,f={},h=function(){return _t(n,i,f)},p=wt(o.uiSref);f.uiState=p.state,f.uiStateOpts=o.uiSrefOpts?r.$eval(o.uiSrefOpts):{},p.paramExpr&&(r.$watch(p.paramExpr,function(t){f.uiStateParams=pe({},t),s()},!0),f.uiStateParams=pe({},r.$eval(p.paramExpr))),s(),r.$on("$destroy",t.stateRegistry.onStatesChanged(s)),r.$on("$destroy",t.transitionService.onSuccess({},s)),l.clickable&&(u=xt(i,n,e,l,h),Et(i,r,u,f.uiStateOpts))}}}];var ki;ki=["$uiRouter","$timeout",function(t,e){var n=t.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(r,i,o,a){function s(){var t=p();f&&f(),c&&(f=c.$$addStateInfo(t.uiState,t.uiStateParams)),null!=t.href&&o.$set(l.attr,t.href)}var u,l=Ct(i),c=a[1]||a[0],f=null,h={},p=function(){return _t(n,i,h)},m=["uiState","uiStateParams","uiStateOpts"],g=m.reduce(function(t,e){return t[e]=d,t},{});m.forEach(function(t){h[t]=o[t]?r.$eval(o[t]):null,o.$observe(t,function(e){g[t](),g[t]=r.$watch(e,function(e){h[t]=e,s()},!0)})}),s(),r.$on("$destroy",t.stateRegistry.onStatesChanged(s)),r.$on("$destroy",t.transitionService.onSuccess({},s)),l.clickable&&(u=xt(i,n,e,l,p),Et(i,r,u,h.uiStateOpts))}}}];var _i;_i=["$state","$stateParams","$interpolate","$uiRouter",function(t,e,n,r){return{restrict:"A",controller:["$scope","$element","$attrs",function(e,i,o){function a(t){t.promise.then(u,d)}function s(e,n,r){var o=t.get(e,kt(i)),a={state:o||{name:e},params:n,activeClass:r};return h.push(a),function(){ye(h)(a)}}function u(){var n=function(t){return t.split(/\s/).filter(c)},r=function(t){return t.map(function(t){return t.activeClass}).map(n).reduce(Se,[])},o=r(h).concat(n(l)).reduce(De,[]),a=r(h.filter(function(e){return t.includes(e.state.name,e.params)})),s=!!h.filter(function(e){return t.is(e.state.name,e.params)}).length,u=s?n(l):[],d=a.concat(u).reduce(De,[]),f=o.filter(function(t){return!ve(d,t)});e.$evalAsync(function(){d.forEach(function(t){return i.addClass(t)}),f.forEach(function(t){return i.removeClass(t)})})}var l,f,h=[];l=n(o.uiSrefActiveEq||"",!1)(e);try{f=e.$eval(o.uiSrefActive)}catch(t){}f=f||n(o.uiSrefActive||"",!1)(e),ee(f)&&he(f,function(t,n){if(te(t)){var r=wt(t);s(r.state,e.$eval(r.paramExpr),n)}}),this.$$addStateInfo=function(t,e){if(!(ee(f)&&h.length>0)){var n=s(t,e,f);return u(),n}},e.$on("$stateChangeSuccess",u),e.$on("$destroy",r.transitionService.onStart({},a)),r.globals.transition&&a(r.globals.transition),u()}]}}],Ft.module("ui.router.state").directive("uiSref",$i).directive("uiSrefActive",_i).directive("uiSrefActiveEq",_i).directive("uiState",ki),Dt.$inject=["$state"],At.$inject=["$state"],Ft.module("ui.router.state").filter("isState",Dt).filter("includedByState",At);var Ci;Ci=["$view","$animate","$uiViewScroll","$interpolate","$q",function(t,e,n,r,i){function o(t,n){return{enter:function(t,n,r){Ft.version.minor>2?e.enter(t,null,n).then(r):e.enter(t,null,n,r)},leave:function(t,n){Ft.version.minor>2?e.leave(t).then(n):e.leave(t,n)}}}function a(t,e){return t===e}var s={$cfg:{viewDecl:{$context:t._pluginapi._rootViewContext()}},$uiView:{}},u={count:0,restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(e,l,c){return function(e,l,d){function f(t){(!t||t instanceof ri)&&(a(k,t)||(qe.traceUIViewConfigUpdated(x,t&&t.viewDecl&&t.viewDecl.$context),k=t,p(t)))}function h(){if(m&&(qe.traceUIViewEvent("Removing (previous) el",m.data("$uiView")),m.remove(),m=null),v&&(qe.traceUIViewEvent("Destroying scope",x),v.$destroy(),v=null),g){var t=g.data("$uiViewAnim");qe.traceUIViewEvent("Animate out",t),w.leave(g,function(){t.$$animLeave.resolve(),m=null}),m=g,g=null}}function p(t){var r=e.$new(),o=i.defer(),a=i.defer(),s={$cfg:t,$uiView:x},u={$animEnter:o.promise,$animLeave:a.promise,$$animLeave:a};r.$emit("$viewContentLoading",C);var d=c(r,function(t){t.data("$uiViewAnim",u),t.data("$uiView",s),w.enter(t,l,function(){o.resolve(),v&&v.$emit("$viewContentAnimationEnded"),(Zt($)&&!$||e.$eval($))&&n(t)}),h()});g=d,v=r,v.$emit("$viewContentLoaded",t||k),v.$eval(b)}var m,g,v,y,b=d.onload||"",$=d.autoscroll,w=o(d,e),k=void 0,_=l.inheritedData("$uiView")||s,C=r(d.uiView||d.name||"")(e)||"$default",x={$type:"ng1",id:u.count++,name:C,fqn:_.$uiView.fqn?_.$uiView.fqn+"."+C:C,config:null,configUpdated:f,get creationContext(){var t=Nt("$cfg.viewDecl.$context")(_),e=Nt("$uiView.creationContext")(_);return t||e}};qe.traceUIViewEvent("Linking",x),l.data("$uiView",{$uiView:x}),p(),y=t.registerUIView(x),e.$on("$destroy",function(){qe.traceUIViewEvent("Destroying/Unregistering",x),y()})}}};return u}],Mt.$inject=["$compile","$controller","$transitions","$view","$q","$timeout"];var xi="function"==typeof Ft.module("ui.router").component,Si=0;Ft.module("ui.router.state").directive("uiView",Ci),Ft.module("ui.router.state").directive("uiView",Mt),Ft.module("ui.router.state").provider("$uiViewScroll",Ot);t.default="ui.router",t.core=ti,t.watchDigests=$t,t.getLocals=wi,t.getNg1ViewConfigFactory=mt,t.ng1ViewsBuilder=gt,t.Ng1ViewConfig=ri,t.StateProvider=si,t.UrlRouterProvider=ci,t.root=le,t.fromJson=de,t.toJson=fe,t.forEach=he,t.extend=pe,t.equals=me,t.identity=c,t.noop=d,t.createProxyFunctions=f,t.inherit=ge,t.inArray=ve,t._inArray=h,t.removeFrom=ye,t._removeFrom=p,t.pushTo=be,t._pushTo=m,t.deregAll=$e,t.defaults=g,t.mergeR=we,t.ancestors=v,t.pick=y,t.omit=b,t.pluck=$,t.filter=w,t.find=k,t.mapObj=ke,t.map=_,t.values=_e,t.allTrueR=Ce,t.anyTrueR=xe,t.unnestR=Se,t.flattenR=Ee,t.pushR=C,t.uniqR=De,t.unnest=Ae,t.flatten=Me,t.assertPredicate=Te,t.assertMap=Oe,t.assertFn=x,t.pairs=Pe,t.arrayTuples=S,t.applyPairs=E,t.tail=D,t.copy=A,t._extend=T,t.silenceUncaughtInPromise=Fe,t.silentRejection=Re,t.notImplemented=se,t.services=ue,t.Glob=Yt,t.curry=n,t.compose=r,t.pipe=i,t.prop=Rt,t.propEq=Vt,t.parse=Nt,t.not=Lt,t.and=o,t.or=a,t.all=It,t.any=jt,t.is=Bt,t.eq=Ht,t.val=Ut,t.invoke=s,t.pattern=u,t.isUndefined=Gt,t.isDefined=Zt,t.isNull=Kt,t.isNullOrUndefined=Jt,t.isFunction=Xt,t.isNumber=Qt,t.isString=te,t.isObject=ee,t.isArray=ne,t.isDate=re,t.isRegExp=ie,t.isState=oe,t.isInjectable=l,t.isPromise=ae,t.Queue=Ve,t.maxLength=Y,t.padString=z,t.kebobString=q,t.functionToString=W,t.fnToString=G,t.stringify=Z,t.beforeAfterSubstr=yn,t.hostRegex=bn,t.stripFile=$n,t.splitHash=wn,t.splitQuery=kn,t.splitEqual=_n,t.trimHashVal=Cn,t.splitOnDelim=K,t.joinNeighborsR=J,t.Trace=ze,t.trace=qe,t.Param=en,t.ParamTypes=xn,t.StateParams=En,t.ParamType=Xe,t.PathNode=nn,t.PathUtils=rn,t.resolvePolicies=sn,t.defaultResolvePolicy=on,t.Resolvable=an,t.NATIVE_INJECTOR_TOKEN=dn,t.ResolveContext=fn,t.resolvablesBuilder=rt,t.StateBuilder=On,t.StateObject=zt,t.StateMatcher=Pn,t.StateQueueManager=Fn,t.StateRegistry=Rn,t.StateService=Or,t.TargetState=We,t.HookBuilder=Je,t.matchState=V,t.RegisteredHook=Ke,t.makeEvent=N,t.Rejection=Le,t.Transition=mn,t.TransitionHook=Ze,t.TransitionEventType=Er,t.defaultTransOpts=Mr,t.TransitionService=Tr,t.UrlMatcher=Ln,t.UrlMatcherFactory=In,t.UrlRouter=qn,t.UrlRuleFactory=jn,t.BaseUrlRule=Bn,t.UrlService=er,t.ViewService=Wn,t.UIRouterGlobals=Gn,t.UIRouter=rr,t.$q=Pr,t.$injector=Nr,t.BaseLocationServices=Br,t.HashLocationService=Ur,t.MemoryLocationService=zr,t.PushStateLocationService=Wr,t.MemoryLocationConfig=Gr,t.BrowserLocationConfig=Zr,t.keyValsToObjectR=Lr,t.getParams=Ir,t.parseUrl=ft,t.buildUrl=jr,t.locationPluginFactory=ht,t.servicesPlugin=pt,t.hashLocationPlugin=Kr,t.pushStateLocationPlugin=Jr,t.memoryLocationPlugin=Xr,t.UIRouterPluginBase=Qr,Object.defineProperty(t,"__esModule",{value:!0})}),require=function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};e[a][0].call(c.exports,function(t){var n=e[a][1][t];return i(n||t)},c,c.exports,t,e,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(t,e,n){!function(t,r){"function"==typeof define&&define.amd?define([],r):"object"==typeof n?e.exports=r():t.BrV=r()}(this,function(){function t(t,e){var n=e.algorithmSteps,r=a.handleStr[n[0]](t),i=a.sum[n[1]](r,e.pesos),o=a.rest[n[2]](i);return parseInt(r[e.dvpos])===a.expectedDV[n[3]](o,r)}function e(e,n){if(n.match&&!n.match.test(e))return!1;for(var r=0;r<n.dvs.length;r++)if(!t(e,n.dvs[r]))return!1;return!0}var n={};n.validate=function(t){var e=[6,5,4,3,2,9,8,7,6,5,4,3,2];t=t.replace(/[^\d]/g,"");var n=/^(0{14}|1{14}|2{14}|3{14}|4{14}|5{14}|6{14}|7{14}|8{14}|9{14})$/;if(!t||14!==t.length||n.test(t))return!1;t=t.split("");for(var r=0,i=0;12>r;r++)i+=t[r]*e[r+1];if(i=11-i%11,i=i>=10?0:i,parseInt(t[12])!==i)return!1;for(r=0,i=0;12>=r;r++)i+=t[r]*e[r];return i=11-i%11,i=i>=10?0:i,parseInt(t[13])===i};var r={};r.validate=function(t){function e(e){for(var n=0,r=e-9,i=0;9>i;i++)n+=parseInt(t.charAt(i+r))*(i+1);return n%11%10===parseInt(t.charAt(e))}t=t.replace(/[^\d]+/g,"");var n=/^(0{11}|1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11})$/;return!(!t||11!==t.length||n.test(t))&&(e(9)&&e(10))};var i=function(t){return this instanceof i?(this.rules=o[t]||[],this.rule,i.prototype._defineRule=function(t){this.rule=void 0;for(var e=0;e<this.rules.length&&void 0===this.rule;e++){var n=t.replace(/[^\d]/g,""),r=this.rules[e];n.length!==r.chars||r.match&&!r.match.test(t)||(this.rule=r)}return!!this.rule},void(i.prototype.validate=function(t){return!(!t||!this._defineRule(t))&&this.rule.validate(t)})):new i(t)},o={},a={handleStr:{onlyNumbers:function(t){return t.replace(/[^\d]/g,"").split("")},mgSpec:function(t){var e=t.replace(/[^\d]/g,"");return e=e.substr(0,3)+"0"+e.substr(3,e.length),e.split("")}},sum:{normalSum:function(t,e){for(var n=t,r=0,i=0;i<e.length;i++)r+=parseInt(n[i])*e[i];return r},individualSum:function(t,e){for(var n=t,r=0,i=0;i<e.length;i++){var o=parseInt(n[i])*e[i];r+=o%10+parseInt(o/10)}return r},apSpec:function(t,e){var n=this.normalSum(t,e),r=t.join("");return r>="030000010"&&"030170009">=r?n+5:r>="030170010"&&"030190229">=r?n+9:n}},rest:{mod11:function(t){return t%11},mod10:function(t){return t%10},mod9:function(t){return t%9}},expectedDV:{minusRestOf11:function(t){return 2>t?0:11-t},minusRestOf11v2:function(t){return 2>t?11-t-10:11-t},minusRestOf10:function(t){return 1>t?0:10-t},mod10:function(t){return t%10},goSpec:function(t,e){var n=e.join("");return 1===t?n>="101031050"&&"101199979">=n?1:0:0===t?0:11-t},apSpec:function(t,e){var n=e.join("");return 0===t?n>="030170010"&&"030190229">=n?1:0:1===t?0:11-t},voidFn:function(t){return t}}};return o.PE=[{chars:9,dvs:[{dvpos:7,pesos:[8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}},{chars:14,pesos:[[1,2,3,4,5,9,8,7,6,5,4,3,2]],dvs:[{dvpos:13,pesos:[5,4,3,2,1,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11v2"]}],validate:function(t){return e(t,this)}}],o.RS=[{chars:10,dvs:[{dvpos:9,pesos:[2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.AC=[{chars:13,match:/^01/,dvs:[{dvpos:11,pesos:[4,3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:12,pesos:[5,4,3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.MG=[{chars:13,dvs:[{dvpos:12,pesos:[1,2,1,2,1,2,1,2,1,2,1,2],algorithmSteps:["mgSpec","individualSum","mod10","minusRestOf10"]},{dvpos:12,pesos:[3,2,11,10,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.SP=[{chars:12,match:/^[0-9]/,dvs:[{dvpos:8,pesos:[1,3,4,5,6,7,8,10],algorithmSteps:["onlyNumbers","normalSum","mod11","mod10"]},{dvpos:11,pesos:[3,2,10,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","mod10"]}],validate:function(t){return e(t,this)}},{chars:12,match:/^P/i,dvs:[{dvpos:8,pesos:[1,3,4,5,6,7,8,10],algorithmSteps:["onlyNumbers","normalSum","mod11","mod10"]}],validate:function(t){return e(t,this)}}],o.DF=[{chars:13,dvs:[{dvpos:11,pesos:[4,3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:12,pesos:[5,4,3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.ES=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.BA=[{chars:8,match:/^[0123458]/,dvs:[{dvpos:7,pesos:[7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod10","minusRestOf10"]},{dvpos:6,pesos:[8,7,6,5,4,3,0,2],algorithmSteps:["onlyNumbers","normalSum","mod10","minusRestOf10"]}],validate:function(t){return e(t,this)}},{chars:8,match:/^[679]/,dvs:[{dvpos:7,pesos:[7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:6,pesos:[8,7,6,5,4,3,0,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}},{chars:9,match:/^[0-9][0123458]/,dvs:[{dvpos:8,pesos:[8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod10","minusRestOf10"]},{dvpos:7,pesos:[9,8,7,6,5,4,3,0,2],algorithmSteps:["onlyNumbers","normalSum","mod10","minusRestOf10"]}],validate:function(t){return e(t,this)}},{chars:9,match:/^[0-9][679]/,dvs:[{dvpos:8,pesos:[8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:7,pesos:[9,8,7,6,5,4,3,0,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],
validate:function(t){return e(t,this)}}],o.AM=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.RN=[{chars:9,match:/^20/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}},{chars:10,match:/^20/,dvs:[{dvpos:8,pesos:[10,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.RO=[{chars:14,dvs:[{dvpos:13,pesos:[6,5,4,3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.PR=[{chars:10,dvs:[{dvpos:8,pesos:[3,2,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]},{dvpos:9,pesos:[4,3,2,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.SC=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.RJ=[{chars:8,dvs:[{dvpos:7,pesos:[2,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.PA=[{chars:9,match:/^15/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.SE=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.PB=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.CE=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.PI=[{chars:9,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.MA=[{chars:9,match:/^12/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.MT=[{chars:11,dvs:[{dvpos:10,pesos:[3,2,9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.MS=[{chars:9,match:/^28/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.TO=[{chars:11,match:/^[0-9]{2}((0[123])|(99))/,dvs:[{dvpos:10,pesos:[9,8,0,0,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.AL=[{chars:9,match:/^24[03578]/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","minusRestOf11"]}],validate:function(t){return e(t,this)}}],o.RR=[{chars:9,match:/^24/,dvs:[{dvpos:8,pesos:[1,2,3,4,5,6,7,8],algorithmSteps:["onlyNumbers","normalSum","mod9","voidFn"]}],validate:function(t){return e(t,this)}}],o.GO=[{chars:9,match:/^1[015]/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","normalSum","mod11","goSpec"]}],validate:function(t){return e(t,this)}}],o.AP=[{chars:9,match:/^03/,dvs:[{dvpos:8,pesos:[9,8,7,6,5,4,3,2],algorithmSteps:["onlyNumbers","apSpec","mod11","apSpec"]}],validate:function(t){return e(t,this)}}],{ie:i,cpf:r,cnpj:n}})},{}],2:[function(t,e,n){!function(t,r){"object"==typeof n&&void 0!==e?e.exports=r():"function"==typeof define&&define.amd?define(r):t.moment=r()}(this,function(){"use strict";function n(){return Rn.apply(null,arguments)}function r(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function o(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function u(t,e,n,r){return At(t,e,n,r,!0).utc()}function l(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function c(t){return null==t._pf&&(t._pf=l()),t._pf}function d(t){if(null==t._isValid){var e=c(t);t._isValid=!(isNaN(t._d.getTime())||!(e.overflow<0)||e.empty||e.invalidMonth||e.invalidWeekday||e.nullInput||e.invalidFormat||e.userInvalidated),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function f(t){var e=u(NaN);return null!=t?s(c(e),t):c(e).userInvalidated=!0,e}function h(t,e){var n,r,i;if(void 0!==e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),void 0!==e._i&&(t._i=e._i),void 0!==e._f&&(t._f=e._f),void 0!==e._l&&(t._l=e._l),void 0!==e._strict&&(t._strict=e._strict),void 0!==e._tzm&&(t._tzm=e._tzm),void 0!==e._isUTC&&(t._isUTC=e._isUTC),void 0!==e._offset&&(t._offset=e._offset),void 0!==e._pf&&(t._pf=c(e)),void 0!==e._locale&&(t._locale=e._locale),Nn.length>0)for(n in Nn)r=Nn[n],void 0!==(i=e[r])&&(t[r]=i);return t}function p(t){h(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),!1===Ln&&(Ln=!0,n.updateOffset(this),Ln=!1)}function m(t){return t instanceof p||null!=t&&null!=t._isAMomentObject}function g(t){return 0>t?Math.ceil(t):Math.floor(t)}function v(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=g(e)),n}function y(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;i>r;r++)(n&&t[r]!==e[r]||!n&&v(t[r])!==v(e[r]))&&a++;return a+o}function b(){}function $(t){return t?t.toLowerCase().replace("_","-"):t}function w(t){for(var e,n,r,i,o=0;o<t.length;){for(i=$(t[o]).split("-"),e=i.length,n=$(t[o+1]),n=n?n.split("-"):null;e>0;){if(r=k(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&y(i,n,!0)>=e-1)break;e--}o++}return null}function k(n){var r=null;if(!In[n]&&void 0!==e&&e&&e.exports)try{r=Vn._abbr,t("./locale/"+n),_(r)}catch(t){}return In[n]}function _(t,e){var n;return t&&(n=void 0===e?x(t):C(t,e))&&(Vn=n),Vn._abbr}function C(t,e){return null!==e?(e.abbr=t,In[t]=In[t]||new b,In[t].set(e),_(t),In[t]):(delete In[t],null)}function x(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Vn;if(!r(t)){if(e=k(t))return e;t=[t]}return w(t)}function S(t,e){var n=t.toLowerCase();jn[n]=jn[n+"s"]=jn[e]=t}function E(t){return"string"==typeof t?jn[t]||jn[t.toLowerCase()]:void 0}function D(t){var e,n,r={};for(n in t)a(t,n)&&(e=E(n))&&(r[e]=t[n]);return r}function A(t,e){return function(r){return null!=r?(T(this,t,r),n.updateOffset(this,e),this):M(this,t)}}function M(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function T(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function O(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=E(t),"function"==typeof this[t])return this[t](e);return this}function P(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function F(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Yn[t]=i),e&&(Yn[e[0]]=function(){return P(i.apply(this,arguments),e[1],e[2])}),n&&(Yn[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function R(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,r=t.match(Bn);for(e=0,n=r.length;n>e;e++)Yn[r[e]]?r[e]=Yn[r[e]]:r[e]=R(r[e]);return function(i){var o="";for(e=0;n>e;e++)o+=r[e]instanceof Function?r[e].call(i,t):r[e];return o}}function N(t,e){return t.isValid()?(e=L(e,t.localeData()),Un[e]=Un[e]||V(e),Un[e](t)):t.localeData().invalidDate()}function L(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Hn.lastIndex=0;r>=0&&Hn.test(t);)t=t.replace(Hn,n),Hn.lastIndex=0,r-=1;return t}function I(t){return"function"==typeof t&&"[object Function]"===Object.prototype.toString.call(t)}function j(t,e,n){or[t]=I(e)?e:function(t){return t&&n?n:e}}function B(t,e){return a(or,t)?or[t](e._strict,e._locale):new RegExp(H(t))}function H(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function U(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(r=function(t,n){n[e]=v(t)}),n=0;n<t.length;n++)ar[t[n]]=r}function Y(t,e){U(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function z(t,e,n){null!=e&&a(ar,t)&&ar[t](e,n._a,n,t)}function q(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function W(t){return this._months[t.month()]}function G(t){return this._monthsShort[t.month()]}function Z(t,e,n){var r,i,o;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function K(t,e){var n;return"string"==typeof e&&"number"!=typeof(e=t.localeData().monthsParse(e))?t:(n=Math.min(t.date(),q(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function J(t){return null!=t?(K(this,t),n.updateOffset(this,!0),this):M(this,"Month")}function X(){return q(this.year(),this.month())}function Q(t){var e,n=t._a;return n&&-2===c(t).overflow&&(e=n[ur]<0||n[ur]>11?ur:n[lr]<1||n[lr]>q(n[sr],n[ur])?lr:n[cr]<0||n[cr]>24||24===n[cr]&&(0!==n[dr]||0!==n[fr]||0!==n[hr])?cr:n[dr]<0||n[dr]>59?dr:n[fr]<0||n[fr]>59?fr:n[hr]<0||n[hr]>999?hr:-1,c(t)._overflowDayOfYear&&(sr>e||e>lr)&&(e=lr),c(t).overflow=e),t}function tt(t){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function et(t,e){var n=!0;return s(function(){return n&&(tt(t+"\n"+(new Error).stack),n=!1),e.apply(this,arguments)},e)}function nt(t,e){gr[t]||(tt(e),gr[t]=!0)}function rt(t){var e,n,r=t._i,i=vr.exec(r);if(i){for(c(t).iso=!0,e=0,n=yr.length;n>e;e++)if(yr[e][1].exec(r)){t._f=yr[e][0];break}for(e=0,n=br.length;n>e;e++)if(br[e][1].exec(r)){t._f+=(i[6]||" ")+br[e][0];break}r.match(nr)&&(t._f+="Z"),kt(t)}else t._isValid=!1}function it(t){var e=$r.exec(t._i);return null!==e?void(t._d=new Date(+e[1])):(rt(t),void(!1===t._isValid&&(delete t._isValid,n.createFromInputFallback(t))))}function ot(t,e,n,r,i,o,a){var s=new Date(t,e,n,r,i,o,a);return 1970>t&&s.setFullYear(t),s}function at(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function st(t){return ut(t)?366:365}function ut(t){return t%4==0&&t%100!=0||t%400==0}function lt(){return ut(this.year())}function ct(t,e,n){var r,i=n-e,o=n-t.day();return o>i&&(o-=7),i-7>o&&(o+=7),r=Mt(t).add(o,"d"),{week:Math.ceil(r.dayOfYear()/7),year:r.year()}}function dt(t){return ct(t,this._week.dow,this._week.doy).week}function ft(){return this._week.dow}function ht(){return this._week.doy}function pt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function mt(t){var e=ct(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function gt(t,e,n,r,i){var o,a=6+i-r,s=at(t,0,1+a),u=s.getUTCDay();return i>u&&(u+=7),n=null!=n?1*n:i,o=1+a+7*(e-1)-u+n,{year:o>0?t:t-1,dayOfYear:o>0?o:st(t-1)+o}}function vt(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function yt(t,e,n){return null!=t?t:null!=e?e:n}function bt(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function $t(t){var e,n,r,i,o=[];if(!t._d){for(r=bt(t),t._w&&null==t._a[lr]&&null==t._a[ur]&&wt(t),t._dayOfYear&&(i=yt(t._a[sr],r[sr]),t._dayOfYear>st(i)&&(c(t)._overflowDayOfYear=!0),n=at(i,0,t._dayOfYear),t._a[ur]=n.getUTCMonth(),t._a[lr]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;7>e;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[cr]&&0===t._a[dr]&&0===t._a[fr]&&0===t._a[hr]&&(t._nextDay=!0,t._a[cr]=0),t._d=(t._useUTC?at:ot).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[cr]=24)}}function wt(t){var e,n,r,i,o,a,s;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,a=4,n=yt(e.GG,t._a[sr],ct(Mt(),1,4).year),r=yt(e.W,1),i=yt(e.E,1)):(o=t._locale._week.dow,a=t._locale._week.doy,n=yt(e.gg,t._a[sr],ct(Mt(),o,a).year),r=yt(e.w,1),null!=e.d?(i=e.d,o>i&&++r):i=null!=e.e?e.e+o:o),s=gt(n,r,i,a,o),t._a[sr]=s.year,t._dayOfYear=s.dayOfYear}function kt(t){if(t._f===n.ISO_8601)return void rt(t);t._a=[],c(t).empty=!0;var e,r,i,o,a,s=""+t._i,u=s.length,l=0;for(i=L(t._f,t._locale).match(Bn)||[],e=0;e<i.length;e++)o=i[e],r=(s.match(B(o,t))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&c(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Yn[o]?(r?c(t).empty=!1:c(t).unusedTokens.push(o),z(o,r,t)):t._strict&&!r&&c(t).unusedTokens.push(o);c(t).charsLeftOver=u-l,s.length>0&&c(t).unusedInput.push(s),!0===c(t).bigHour&&t._a[cr]<=12&&t._a[cr]>0&&(c(t).bigHour=void 0),t._a[cr]=_t(t._locale,t._a[cr],t._meridiem),$t(t),Q(t)}function _t(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&12>e&&(e+=12),r||12!==e||(e=0),e):e}function Ct(t){var e,n,r,i,o;if(0===t._f.length)return c(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,e=h({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],kt(e),d(e)&&(o+=c(e).charsLeftOver,o+=10*c(e).unusedTokens.length,c(e).score=o,(null==r||r>o)&&(r=o,n=e));s(t,n||e)}function xt(t){if(!t._d){var e=D(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],$t(t)}}function St(t){var e=new p(Q(Et(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Et(t){var e=t._i,n=t._f;return t._locale=t._locale||x(t._l),null===e||void 0===n&&""===e?f({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new p(Q(e)):(r(n)?Ct(t):n?kt(t):i(e)?t._d=e:Dt(t),t))}function Dt(t){var e=t._i;void 0===e?t._d=new Date:i(e)?t._d=new Date(+e):"string"==typeof e?it(t):r(e)?(t._a=o(e.slice(0),function(t){return parseInt(t,10)}),$t(t)):"object"==typeof e?xt(t):"number"==typeof e?t._d=new Date(e):n.createFromInputFallback(t)}function At(t,e,n,r,i){var o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=t,o._f=e,o._strict=r,St(o)}function Mt(t,e,n,r){return At(t,e,n,r,!1)}function Tt(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Mt();for(n=e[0],i=1;i<e.length;++i)(!e[i].isValid()||e[i][t](n))&&(n=e[i]);return n}function Ot(){return Tt("isBefore",[].slice.call(arguments,0))}function Pt(){return Tt("isAfter",[].slice.call(arguments,0))}function Ft(t){var e=D(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||0,a=e.day||0,s=e.hour||0,u=e.minute||0,l=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*l+6e4*u+36e5*s,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=x(),this._bubble()}function Rt(t){return t instanceof Ft}function Vt(t,e){F(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+P(~~(t/60),2)+e+P(~~t%60,2)})}function Nt(t){var e=(t||"").match(nr)||[],n=e[e.length-1]||[],r=(n+"").match(xr)||["-",0,0],i=60*r[1]+v(r[2]);return"+"===r[0]?i:-i}function Lt(t,e){var r,o;return e._isUTC?(r=e.clone(),o=(m(t)||i(t)?+t:+Mt(t))-+r,r._d.setTime(+r._d+o),n.updateOffset(r,!1),r):Mt(t).local()}function It(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function jt(t,e){var r,i=this._offset||0;return null!=t?("string"==typeof t&&(t=Nt(t)),Math.abs(t)<16&&(t*=60),!this._isUTC&&e&&(r=It(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!e||this._changeInProgress?ne(this,Jt(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:It(this)}function Bt(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ht(t){return this.utcOffset(0,t)}function Ut(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(It(this),"m")),this}function Yt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Nt(this._i)),this}function zt(t){return t=t?Mt(t).utcOffset():0,(this.utcOffset()-t)%60==0}function qt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Wt(){if(void 0!==this._isDSTShifted)return this._isDSTShifted;var t={};if(h(t,this),t=Et(t),t._a){var e=t._isUTC?u(t._a):Mt(t._a);this._isDSTShifted=this.isValid()&&y(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Gt(){return!this._isUTC}function Zt(){return this._isUTC}function Kt(){return this._isUTC&&0===this._offset}function Jt(t,e){var n,r,i,o=t,s=null;return Rt(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(s=Sr.exec(t))?(n="-"===s[1]?-1:1,o={y:0,d:v(s[lr])*n,h:v(s[cr])*n,m:v(s[dr])*n,s:v(s[fr])*n,ms:v(s[hr])*n}):(s=Er.exec(t))?(n="-"===s[1]?-1:1,o={y:Xt(s[2],n),M:Xt(s[3],n),d:Xt(s[4],n),h:Xt(s[5],n),m:Xt(s[6],n),s:Xt(s[7],n),w:Xt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=te(Mt(o.from),Mt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ft(o),Rt(t)&&a(t,"_locale")&&(r._locale=t._locale),r}function Xt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Qt(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function te(t,e){var n;return e=Lt(e,t),t.isBefore(e)?n=Qt(t,e):(n=Qt(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function ee(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(nt(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Jt(n,r),ne(this,i,t),this}}function ne(t,e,r,i){var o=e._milliseconds,a=e._days,s=e._months;i=null==i||i,o&&t._d.setTime(+t._d+o*r),a&&T(t,"Date",M(t,"Date")+a*r),s&&K(t,M(t,"Month")+s*r),i&&n.updateOffset(t,a||s)}function re(t,e){var n=t||Mt(),r=Lt(n,this).startOf("day"),i=this.diff(r,"days",!0),o=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse";return this.format(e&&e[o]||this.localeData().calendar(o,this,Mt(n)))}function ie(){return new p(this)}function oe(t,e){return e=E(void 0!==e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Mt(t),+this>+t):(m(t)?+t:+Mt(t))<+this.clone().startOf(e)}function ae(t,e){var n;return e=E(void 0!==e?e:"millisecond"),"millisecond"===e?+(t=m(t)?t:Mt(t))>+this:(n=m(t)?+t:+Mt(t),+this.clone().endOf(e)<n)}function se(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function ue(t,e){var n;return e=E(e||"millisecond"),"millisecond"===e?(t=m(t)?t:Mt(t),+this==+t):(n=+Mt(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))}function le(t,e,n){var r,i,o=Lt(t,this),a=6e4*(o.utcOffset()-this.utcOffset());return e=E(e),"year"===e||"month"===e||"quarter"===e?(i=ce(this,o),"quarter"===e?i/=3:"year"===e&&(i/=12)):(r=this-o,i="second"===e?r/1e3:"minute"===e?r/6e4:"hour"===e?r/36e5:"day"===e?(r-a)/864e5:"week"===e?(r-a)/6048e5:r),n?i:g(i)}function ce(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");return 0>e-o?(n=t.clone().add(i-1,"months"),r=(e-o)/(o-n)):(n=t.clone().add(i+1,"months"),r=(e-o)/(n-o)),-(i+r)}function de(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function fe(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():N(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):N(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function he(t){var e=N(this,t||n.defaultFormat);return this.localeData().postformat(e)}function pe(t,e){return this.isValid()?Jt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function me(t){return this.from(Mt(),t)}function ge(t,e){return this.isValid()?Jt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ve(t){return this.to(Mt(),t)}function ye(t){var e;return void 0===t?this._locale._abbr:(e=x(t),null!=e&&(this._locale=e),this)}function be(){return this._locale}function $e(t){switch(t=E(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function we(t){return t=E(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function ke(){return+this._d-6e4*(this._offset||0)}function _e(){return Math.floor(+this/1e3)}function Ce(){return this._offset?new Date(+this):this._d}function xe(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Se(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Ee(){return d(this)}function De(){return s({},c(this))}function Ae(){return c(this).overflow}function Me(t,e){F(0,[t,t.length],0,e)}function Te(t,e,n){return ct(Mt([t,11,31+e-n]),e,n).week}function Oe(t){var e=ct(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")}function Pe(t){var e=ct(this,1,4).year;return null==t?e:this.add(t-e,"y")}function Fe(){return Te(this.year(),1,4)}function Re(){var t=this.localeData()._week;return Te(this.year(),t.dow,t.doy)}function Ve(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Ne(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Le(t){return this._weekdays[t.day()]}function Ie(t){return this._weekdaysShort[t.day()]}function je(t){return this._weekdaysMin[t.day()]}function Be(t){var e,n,r;for(this._weekdaysParse=this._weekdaysParse||[],e=0;7>e;e++)if(this._weekdaysParse[e]||(n=Mt([2e3,1]).day(e),r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(r.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function He(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ne(t,this.localeData()),this.add(t-e,"d")):e}function Ue(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ye(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function ze(t,e){F(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function qe(t,e){return e._meridiemParse}function We(t){return"p"===(t+"").toLowerCase().charAt(0)}function Ge(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Ze(t,e){e[hr]=v(1e3*("0."+t))}function Ke(){return this._isUTC?"UTC":""}function Je(){return this._isUTC?"Coordinated Universal Time":""}function Xe(t){return Mt(1e3*t)}function Qe(){return Mt.apply(null,arguments).parseZone()}function tn(t,e,n){var r=this._calendar[t];return"function"==typeof r?r.call(e,n):r}function en(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function nn(){return this._invalidDate}function rn(t){return this._ordinal.replace("%d",t)}function on(t){return t}function an(t,e,n,r){var i=this._relativeTime[n];return"function"==typeof i?i(t,e,n,r):i.replace(/%d/i,t)}function sn(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function un(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function ln(t,e,n,r){var i=x(),o=u().set(r,e);return i[n](o,t)}function cn(t,e,n,r,i){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return ln(t,e,n,i);var o,a=[];for(o=0;r>o;o++)a[o]=ln(t,o,n,i);return a}function dn(t,e){return cn(t,e,"months",12,"month")}function fn(t,e){return cn(t,e,"monthsShort",12,"month")}function hn(t,e){return cn(t,e,"weekdays",7,"day")}function pn(t,e){return cn(t,e,"weekdaysShort",7,"day")}function mn(t,e){return cn(t,e,"weekdaysMin",7,"day")}function gn(){var t=this._data;return this._milliseconds=Gr(this._milliseconds),this._days=Gr(this._days),this._months=Gr(this._months),t.milliseconds=Gr(t.milliseconds),t.seconds=Gr(t.seconds),t.minutes=Gr(t.minutes),t.hours=Gr(t.hours),t.months=Gr(t.months),t.years=Gr(t.years),this}function vn(t,e,n,r){var i=Jt(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function yn(t,e){return vn(this,t,e,1)}function bn(t,e){return vn(this,t,e,-1)}function $n(t){return 0>t?Math.floor(t):Math.ceil(t)}function wn(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*$n(_n(s)+a),a=0,s=0),u.milliseconds=o%1e3,t=g(o/1e3),u.seconds=t%60,e=g(t/60),u.minutes=e%60,n=g(e/60),u.hours=n%24,a+=g(n/24),i=g(kn(a)),s+=i,a-=$n(_n(i)),r=g(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function kn(t){return 4800*t/146097}function _n(t){return 146097*t/4800}function Cn(t){var e,n,r=this._milliseconds;if("month"===(t=E(t))||"year"===t)return e=this._days+r/864e5,n=this._months+kn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(_n(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}function Sn(t){return function(){return this.as(t)}}function En(t){return t=E(t),this[t+"s"]()}function Dn(t){return function(){return this._data[t]}}function An(){return g(this.days()/7)}function Mn(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function Tn(t,e,n){var r=Jt(t).abs(),i=ci(r.as("s")),o=ci(r.as("m")),a=ci(r.as("h")),s=ci(r.as("d")),u=ci(r.as("M")),l=ci(r.as("y")),c=i<di.s&&["s",i]||1===o&&["m"]||o<di.m&&["mm",o]||1===a&&["h"]||a<di.h&&["hh",a]||1===s&&["d"]||s<di.d&&["dd",s]||1===u&&["M"]||u<di.M&&["MM",u]||1===l&&["y"]||["yy",l];return c[2]=e,c[3]=+t>0,c[4]=n,Mn.apply(null,c)}function On(t,e){return void 0!==di[t]&&(void 0===e?di[t]:(di[t]=e,!0))}function Pn(t){var e=this.localeData(),n=Tn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Fn(){var t,e,n,r=fi(this._milliseconds)/1e3,i=fi(this._days),o=fi(this._months);t=g(r/60),e=g(t/60),r%=60,t%=60,n=g(o/12),o%=12;var a=n,s=o,u=i,l=e,c=t,d=r,f=this.asSeconds();return f?(0>f?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||d?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(d?d+"S":""):"P0D"}var Rn,Vn,Nn=n.momentProperties=[],Ln=!1,In={},jn={},Bn=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Hn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Un={},Yn={},zn=/\d/,qn=/\d\d/,Wn=/\d{3}/,Gn=/\d{4}/,Zn=/[+-]?\d{6}/,Kn=/\d\d?/,Jn=/\d{1,3}/,Xn=/\d{1,4}/,Qn=/[+-]?\d{1,6}/,tr=/\d+/,er=/[+-]?\d+/,nr=/Z|[+-]\d\d:?\d\d/gi,rr=/[+-]?\d+(\.\d{1,3})?/,ir=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,or={},ar={},sr=0,ur=1,lr=2,cr=3,dr=4,fr=5,hr=6;F("M",["MM",2],"Mo",function(){return this.month()+1}),F("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),F("MMMM",0,0,function(t){return this.localeData().months(this,t)}),S("month","M"),j("M",Kn),j("MM",Kn,qn),j("MMM",ir),j("MMMM",ir),U(["M","MM"],function(t,e){e[ur]=v(t)-1}),U(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[ur]=i:c(n).invalidMonth=t});var pr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),gr={};n.suppressDeprecationWarnings=!1;var vr=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],br=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],$r=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=et("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),F(0,["YY",2],0,function(){return this.year()%100}),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),S("year","y"),j("Y",er),j("YY",Kn,qn),j("YYYY",Xn,Gn),j("YYYYY",Qn,Zn),j("YYYYYY",Qn,Zn),U(["YYYYY","YYYYYY"],sr),U("YYYY",function(t,e){e[sr]=2===t.length?n.parseTwoDigitYear(t):v(t)}),U("YY",function(t,e){e[sr]=n.parseTwoDigitYear(t)}),n.parseTwoDigitYear=function(t){return v(t)+(v(t)>68?1900:2e3)};var wr=A("FullYear",!1);F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),S("week","w"),S("isoWeek","W"),j("w",Kn),j("ww",Kn,qn),j("W",Kn),j("WW",Kn,qn),Y(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=v(t)});var kr={dow:0,doy:6};F("DDD",["DDDD",3],"DDDo","dayOfYear"),S("dayOfYear","DDD"),j("DDD",Jn),j("DDDD",Wn),U(["DDD","DDDD"],function(t,e,n){n._dayOfYear=v(t)}),n.ISO_8601=function(){};var _r=et("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Mt.apply(null,arguments);return this>t?this:t}),Cr=et("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Mt.apply(null,arguments);return t>this?this:t});Vt("Z",":"),Vt("ZZ",""),j("Z",nr),j("ZZ",nr),U(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Nt(t)});var xr=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Sr=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Er=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Jt.fn=Ft.prototype;var Dr=ee(1,"add"),Ar=ee(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Mr=et("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});F(0,["gg",2],0,function(){return this.weekYear()%100}),F(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Me("gggg","weekYear"),Me("ggggg","weekYear"),Me("GGGG","isoWeekYear"),Me("GGGGG","isoWeekYear"),S("weekYear","gg"),S("isoWeekYear","GG"),j("G",er),j("g",er),j("GG",Kn,qn),j("gg",Kn,qn),j("GGGG",Xn,Gn),j("gggg",Xn,Gn),j("GGGGG",Qn,Zn),
j("ggggg",Qn,Zn),Y(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=v(t)}),Y(["gg","GG"],function(t,e,r,i){e[i]=n.parseTwoDigitYear(t)}),F("Q",0,0,"quarter"),S("quarter","Q"),j("Q",zn),U("Q",function(t,e){e[ur]=3*(v(t)-1)}),F("D",["DD",2],"Do","date"),S("date","D"),j("D",Kn),j("DD",Kn,qn),j("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),U(["D","DD"],lr),U("Do",function(t,e){e[lr]=v(t.match(Kn)[0],10)});var Tr=A("Date",!0);F("d",0,"do","day"),F("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),F("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),F("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),S("day","d"),S("weekday","e"),S("isoWeekday","E"),j("d",Kn),j("e",Kn),j("E",Kn),j("dd",ir),j("ddd",ir),j("dddd",ir),Y(["dd","ddd","dddd"],function(t,e,n){var r=n._locale.weekdaysParse(t);null!=r?e.d=r:c(n).invalidWeekday=t}),Y(["d","e","E"],function(t,e,n,r){e[r]=v(t)});var Or="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fr="Su_Mo_Tu_We_Th_Fr_Sa".split("_");F("H",["HH",2],0,"hour"),F("h",["hh",2],0,function(){return this.hours()%12||12}),ze("a",!0),ze("A",!1),S("hour","h"),j("a",qe),j("A",qe),j("H",Kn),j("h",Kn),j("HH",Kn,qn),j("hh",Kn,qn),U(["H","HH"],cr),U(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),U(["h","hh"],function(t,e,n){e[cr]=v(t),c(n).bigHour=!0});var Rr=/[ap]\.?m?\.?/i,Vr=A("Hours",!0);F("m",["mm",2],0,"minute"),S("minute","m"),j("m",Kn),j("mm",Kn,qn),U(["m","mm"],dr);var Nr=A("Minutes",!1);F("s",["ss",2],0,"second"),S("second","s"),j("s",Kn),j("ss",Kn,qn),U(["s","ss"],fr);var Lr=A("Seconds",!1);F("S",0,0,function(){return~~(this.millisecond()/100)}),F(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,function(){return 10*this.millisecond()}),F(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),F(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),F(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),F(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),F(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),S("millisecond","ms"),j("S",Jn,zn),j("SS",Jn,qn),j("SSS",Jn,Wn);var Ir;for(Ir="SSSS";Ir.length<=9;Ir+="S")j(Ir,tr);for(Ir="S";Ir.length<=9;Ir+="S")U(Ir,Ze);var jr=A("Milliseconds",!1);F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var Br=p.prototype;Br.add=Dr,Br.calendar=re,Br.clone=ie,Br.diff=le,Br.endOf=we,Br.format=he,Br.from=pe,Br.fromNow=me,Br.to=ge,Br.toNow=ve,Br.get=O,Br.invalidAt=Ae,Br.isAfter=oe,Br.isBefore=ae,Br.isBetween=se,Br.isSame=ue,Br.isValid=Ee,Br.lang=Mr,Br.locale=ye,Br.localeData=be,Br.max=Cr,Br.min=_r,Br.parsingFlags=De,Br.set=O,Br.startOf=$e,Br.subtract=Ar,Br.toArray=xe,Br.toObject=Se,Br.toDate=Ce,Br.toISOString=fe,Br.toJSON=fe,Br.toString=de,Br.unix=_e,Br.valueOf=ke,Br.year=wr,Br.isLeapYear=lt,Br.weekYear=Oe,Br.isoWeekYear=Pe,Br.quarter=Br.quarters=Ve,Br.month=J,Br.daysInMonth=X,Br.week=Br.weeks=pt,Br.isoWeek=Br.isoWeeks=mt,Br.weeksInYear=Re,Br.isoWeeksInYear=Fe,Br.date=Tr,Br.day=Br.days=He,Br.weekday=Ue,Br.isoWeekday=Ye,Br.dayOfYear=vt,Br.hour=Br.hours=Vr,Br.minute=Br.minutes=Nr,Br.second=Br.seconds=Lr,Br.millisecond=Br.milliseconds=jr,Br.utcOffset=jt,Br.utc=Ht,Br.local=Ut,Br.parseZone=Yt,Br.hasAlignedHourOffset=zt,Br.isDST=qt,Br.isDSTShifted=Wt,Br.isLocal=Gt,Br.isUtcOffset=Zt,Br.isUtc=Kt,Br.isUTC=Kt,Br.zoneAbbr=Ke,Br.zoneName=Je,Br.dates=et("dates accessor is deprecated. Use date instead.",Tr),Br.months=et("months accessor is deprecated. Use month instead",J),Br.years=et("years accessor is deprecated. Use year instead",wr),Br.zone=et("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Bt);var Hr=Br,Ur={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Yr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},zr=/\d{1,2}/,qr={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Wr=b.prototype;Wr._calendar=Ur,Wr.calendar=tn,Wr._longDateFormat=Yr,Wr.longDateFormat=en,Wr._invalidDate="Invalid date",Wr.invalidDate=nn,Wr._ordinal="%d",Wr.ordinal=rn,Wr._ordinalParse=zr,Wr.preparse=on,Wr.postformat=on,Wr._relativeTime=qr,Wr.relativeTime=an,Wr.pastFuture=sn,Wr.set=un,Wr.months=W,Wr._months=pr,Wr.monthsShort=G,Wr._monthsShort=mr,Wr.monthsParse=Z,Wr.week=dt,Wr._week=kr,Wr.firstDayOfYear=ht,Wr.firstDayOfWeek=ft,Wr.weekdays=Le,Wr._weekdays=Or,Wr.weekdaysMin=je,Wr._weekdaysMin=Fr,Wr.weekdaysShort=Ie,Wr._weekdaysShort=Pr,Wr.weekdaysParse=Be,Wr.isPM=We,Wr._meridiemParse=Rr,Wr.meridiem=Ge,_("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===v(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),n.lang=et("moment.lang is deprecated. Use moment.locale instead.",_),n.langData=et("moment.langData is deprecated. Use moment.localeData instead.",x);var Gr=Math.abs,Zr=Sn("ms"),Kr=Sn("s"),Jr=Sn("m"),Xr=Sn("h"),Qr=Sn("d"),ti=Sn("w"),ei=Sn("M"),ni=Sn("y"),ri=Dn("milliseconds"),ii=Dn("seconds"),oi=Dn("minutes"),ai=Dn("hours"),si=Dn("days"),ui=Dn("months"),li=Dn("years"),ci=Math.round,di={s:45,m:45,h:22,d:26,M:11},fi=Math.abs,hi=Ft.prototype;return hi.abs=gn,hi.add=yn,hi.subtract=bn,hi.as=Cn,hi.asMilliseconds=Zr,hi.asSeconds=Kr,hi.asMinutes=Jr,hi.asHours=Xr,hi.asDays=Qr,hi.asWeeks=ti,hi.asMonths=ei,hi.asYears=ni,hi.valueOf=xn,hi._bubble=wn,hi.get=En,hi.milliseconds=ri,hi.seconds=ii,hi.minutes=oi,hi.hours=ai,hi.days=si,hi.weeks=An,hi.months=ui,hi.years=li,hi.humanize=Pn,hi.toISOString=Fn,hi.toString=Fn,hi.toJSON=Fn,hi.locale=ye,hi.localeData=be,hi.toIsoString=et("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fn),hi.lang=Mr,F("X",0,0,"unix"),F("x",0,0,"valueOf"),j("x",er),j("X",rr),U("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),U("x",function(t,e,n){n._d=new Date(v(t))}),n.version="2.10.6",function(t){Rn=t}(Mt),n.fn=Hr,n.min=Ot,n.max=Pt,n.utc=u,n.unix=Xe,n.months=dn,n.isDate=i,n.locale=_,n.invalid=f,n.duration=Jt,n.isMoment=m,n.weekdays=hn,n.parseZone=Qe,n.localeData=x,n.isDuration=Rt,n.monthsShort=fn,n.weekdaysMin=mn,n.defineLocale=C,n.weekdaysShort=pn,n.normalizeUnits=E,n.relativeTimeThreshold=On,n})},{}],3:[function(t,e,n){!function(t,r){"function"==typeof define&&define.amd?define([],r):"object"==typeof n?e.exports=r():t.StringMask=r()}(this,function(){function t(t,e){for(var n=0,r=e-1,i={escape:!0};r>=0&&i&&i.escape;)i=a[t.charAt(r)],n+=i&&i.escape?1:0,r--;return n>0&&n%2==1}function e(t,e){var n=t.replace(/[^0]/g,"").length;return e.replace(/[^\d]/g,"").length-n}function n(t,e,n,r){return r&&"function"==typeof r.transform&&(e=r.transform(e)),n.reverse?e+t:t+e}function r(t,e,n){var i=t.charAt(e),o=a[i];return""!==i&&(!(!o||o.escape)||r(t,e+n,n))}function i(t,e,n){var r=t.split("");return r.splice(n>=0?n:0,0,e),r.join("")}function o(t,e){this.options=e||{},this.options={reverse:this.options.reverse||!1,usedefaults:this.options.usedefaults||this.options.reverse},this.pattern=t}var a={0:{pattern:/\d/,_default:"0"},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,optional:!0,recursive:!0},S:{pattern:/[a-zA-Z]/},U:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleUpperCase()}},L:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleLowerCase()}},$:{escape:!0}};return o.prototype.process=function(o){if(!o)return"";o+="";for(var s=this.pattern,u=!0,l="",c=this.options.reverse?o.length-1:0,d=e(s,o),f=!1,h=[],p=!1,m={start:this.options.reverse?s.length-1:0,end:this.options.reverse?-1:s.length,inc:this.options.reverse?-1:1},g=m.start;function(t){if(!p&&r(s,g,m.inc))return!0;if(p||(p=h.length>0),p){var e=h.shift();if(h.push(e),t.reverse&&c>=0)return g++,s=i(s,e,g),!0;if(!t.reverse&&c<o.length)return s=i(s,e,g),!0}return g<s.length&&g>=0}(this.options);g+=m.inc){var v=s.charAt(g),y=o.charAt(c),b=a[v];if(!p||y){if(this.options.reverse&&t(s,g)){l=n(l,v,this.options,b),g+=m.inc;continue}if(!this.options.reverse&&f){l=n(l,v,this.options,b),f=!1;continue}if(!this.options.reverse&&b&&b.escape){f=!0;continue}}if(!p&&b&&b.recursive)h.push(v);else{if(p&&!y){b&&b.recursive||(l=n(l,v,this.options,b));continue}if(h.length>0&&b&&!b.recursive){u=!1;continue}if(!p&&h.length>0&&!y)continue}if(b)if(b.optional){if(b.pattern.test(y)&&d)l=n(l,y,this.options,b),c+=m.inc,d--;else if(h.length>0&&y){u=!1;break}}else if(b.pattern.test(y))l=n(l,y,this.options,b),c+=m.inc;else{if(y||!b._default||!this.options.usedefaults){u=!1;break}l=n(l,b._default,this.options,b)}else l=n(l,v,this.options,b),!p&&h.length&&h.push(v)}return{result:l,valid:u}},o.prototype.apply=function(t){return this.process(t).result},o.prototype.validate=function(t){return this.process(t).valid},o.process=function(t,e,n){return new o(e,n).process(t)},o.apply=function(t,e,n){return new o(e,n).apply(t)},o.validate=function(t,e,n){return new o(e,n).validate(t)},o})},{}],4:[function(t,e,n){e.exports=angular.module("ui.utils.masks",[t("./global/global-masks"),t("./br/br-masks"),t("./us/us-masks")]).name},{"./br/br-masks":6,"./global/global-masks":15,"./us/us-masks":23}],5:[function(t,e,n){var r=t("string-mask"),i=t("mask-factory"),o=new r("00000.00000 00000.000000 00000.000000 0 00000000000000");e.exports=i({clearValue:function(t){return t.replace(/[^0-9]/g,"").slice(0,47)},format:function(t){return 0===t.length?t:o.apply(t).replace(/[^0-9]$/,"")},validations:{brBoletoBancario:function(t){return 47===t.length}}})},{"mask-factory":"mask-factory","string-mask":3}],6:[function(t,e,n){var r=angular.module("ui.utils.masks.br",[t("../helpers")]).directive("uiBrBoletoBancarioMask",t("./boleto-bancario/boleto-bancario")).directive("uiBrCepMask",t("./cep/cep")).directive("uiBrCnpjMask",t("./cnpj/cnpj")).directive("uiBrCpfMask",t("./cpf/cpf")).directive("uiBrCpfcnpjMask",t("./cpf-cnpj/cpf-cnpj")).directive("uiBrIeMask",t("./inscricao-estadual/ie")).directive("uiNfeAccessKeyMask",t("./nfe/nfe")).directive("uiBrPhoneNumber",t("./phone/br-phone"));e.exports=r.name},{"../helpers":21,"./boleto-bancario/boleto-bancario":5,"./cep/cep":7,"./cnpj/cnpj":8,"./cpf-cnpj/cpf-cnpj":9,"./cpf/cpf":10,"./inscricao-estadual/ie":11,"./nfe/nfe":12,"./phone/br-phone":13}],7:[function(t,e,n){var r=t("string-mask"),i=t("mask-factory"),o=new r("00000-000");e.exports=i({clearValue:function(t){return t.replace(/[^0-9]/g,"").slice(0,8)},format:function(t){return(o.apply(t)||"").replace(/[^0-9]$/,"")},validations:{cep:function(t){return 8===t.length}}})},{"mask-factory":"mask-factory","string-mask":3}],8:[function(t,e,n){var r=t("string-mask"),i=t("br-validations"),o=t("mask-factory"),a=new r("00.000.000/0000-00");e.exports=o({clearValue:function(t){return t.replace(/[^\d]/g,"").slice(0,14)},format:function(t){return(a.apply(t)||"").trim().replace(/[^0-9]$/,"")},validations:{cnpj:function(t){return i.cnpj.validate(t)}}})},{"br-validations":1,"mask-factory":"mask-factory","string-mask":3}],9:[function(t,e,n){var r=t("string-mask"),i=t("br-validations"),o=t("mask-factory"),a=new r("00.000.000/0000-00"),s=new r("000.000.000-00");e.exports=o({clearValue:function(t){return t.replace(/[^\d]/g,"").slice(0,14)},format:function(t){var e;return e=t.length>11?a.apply(t):s.apply(t)||"",e.trim().replace(/[^0-9]$/,"")},validations:{cpf:function(t){return t.length>11||i.cpf.validate(t)},cnpj:function(t){return t.length<=11||i.cnpj.validate(t)}}})},{"br-validations":1,"mask-factory":"mask-factory","string-mask":3}],10:[function(t,e,n){var r=t("string-mask"),i=t("br-validations"),o=t("mask-factory"),a=new r("000.000.000-00");e.exports=o({clearValue:function(t){return t.replace(/[^\d]/g,"").slice(0,11)},format:function(t){return(a.apply(t)||"").trim().replace(/[^0-9]$/,"")},validations:{cpf:function(t){return i.cpf.validate(t)}}})},{"br-validations":1,"mask-factory":"mask-factory","string-mask":3}],11:[function(t,e,n){function r(t){function e(t){return t?t.replace(/[^0-9]/g,""):t}function n(t,n){if(t&&a[t]){if("SP"===t&&/^P/i.test(n))return a.SP[1].mask;for(var r=a[t],i=0;r[i].chars&&r[i].chars<e(n).length&&i<r.length-1;)i++;return r[i].mask}}function r(t,r){var i=n(r,t);if(!i)return t;var o=i.process(e(t)),a=o.result||"";return a=a.trim().replace(/[^0-9]$/,""),"SP"===r&&/^p/i.test(t)?"P"+a:a}var a={AC:[{mask:new i("00.000.000/000-00")}],AL:[{mask:new i("000000000")}],AM:[{mask:new i("00.000.000-0")}],AP:[{mask:new i("000000000")}],BA:[{chars:8,mask:new i("000000-00")},{mask:new i("0000000-00")}],CE:[{mask:new i("00000000-0")}],DF:[{mask:new i("00000000000-00")}],ES:[{mask:new i("00000000-0")}],GO:[{mask:new i("00.000.000-0")}],MA:[{mask:new i("000000000")}],MG:[{mask:new i("000.000.000/0000")}],MS:[{mask:new i("000000000")}],MT:[{mask:new i("0000000000-0")}],PA:[{mask:new i("00-000000-0")}],PB:[{mask:new i("00000000-0")}],PE:[{chars:9,mask:new i("0000000-00")},{mask:new i("00.0.000.0000000-0")}],PI:[{mask:new i("000000000")}],PR:[{mask:new i("000.00000-00")}],RJ:[{mask:new i("00.000.00-0")}],RN:[{chars:9,mask:new i("00.000.000-0")},{mask:new i("00.0.000.000-0")}],RO:[{mask:new i("0000000000000-0")}],RR:[{mask:new i("00000000-0")}],RS:[{mask:new i("000/0000000")}],SC:[{mask:new i("000.000.000")}],SE:[{mask:new i("00000000-0")}],SP:[{mask:new i("000.000.000.000")},{mask:new i("-00000000.0/000")}],TO:[{mask:new i("00000000000")}]};return{restrict:"A",require:"ngModel",link:function(n,i,a,s){function u(t){return s.$isEmpty(t)?t:r(t,c)}function l(t){if(s.$isEmpty(t))return t;var n=r(t,c),i=e(n);return s.$viewValue!==n&&(s.$setViewValue(n),s.$render()),c&&"SP"===c.toUpperCase()&&/^p/i.test(t)?"P"+i:i}var c=(t(a.uiBrIeMask)(n)||"").toUpperCase();s.$formatters.push(u),s.$parsers.push(l),s.$validators.ie=function(t){return s.$isEmpty(t)||o.ie(c).validate(t)},n.$watch(a.uiBrIeMask,function(t){c=(t||"").toUpperCase(),l(s.$viewValue),s.$validate()})}}}var i=t("string-mask"),o=t("br-validations");r.$inject=["$parse"],e.exports=r},{"br-validations":1,"string-mask":3}],12:[function(t,e,n){var r=t("string-mask"),i=t("mask-factory"),o=new r("0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000");e.exports=i({clearValue:function(t){return t.replace(/[^0-9]/g,"").slice(0,44)},format:function(t){return(o.apply(t)||"").replace(/[^0-9]$/,"")},validations:{nfeAccessKey:function(t){return 44===t.length}}})},{"mask-factory":"mask-factory","string-mask":3}],13:[function(t,e,n){var r=t("string-mask"),i=t("mask-factory"),o=new r("(00) 0000-0000"),a=new r("(00) 00000-0000"),s=new r("0000-000-0000");e.exports=i({clearValue:function(t){return t.toString().replace(/[^0-9]/g,"").slice(0,11)},format:function(t){var e;return e=0===t.indexOf("0800")?s.apply(t):t.length<11?o.apply(t)||"":a.apply(t),e.trim().replace(/[^0-9]$/,"")},getModelValue:function(t,e){var n=this.clearValue(t);return"number"===e?parseInt(n):n},validations:{brPhoneNumber:function(t){var e=t&&t.toString().length;return 10===e||11===e}}})},{"mask-factory":"mask-factory","string-mask":3}],14:[function(t,e,n){function r(t){var e={"pt-br":"DD/MM/YYYY"},n=e[t.id]||"YYYY-MM-DD";return{restrict:"A",require:"ngModel",link:function(t,e,r,a){function s(t){if(a.$isEmpty(t))return t;var e=t;return"object"==typeof t&&(e=i(t).format(n)),e=e.replace(/[^0-9]/g,""),(u.apply(e)||"").trim().replace(/[^0-9]$/,"")}var u=new o(n.replace(/[YMD]/g,"0"));a.$formatters.push(s),a.$parsers.push(function(t){if(a.$isEmpty(t))return t;var e=s(t);return a.$viewValue!==e&&(a.$setViewValue(e),a.$render()),i(e,n).toDate()}),a.$validators.date=function(t,e){return!!a.$isEmpty(t)||i(e,n).isValid()&&e.length===n.length}}}}var i=t("moment"),o=t("string-mask");r.$inject=["$locale"],e.exports=r},{moment:2,"string-mask":3}],15:[function(t,e,n){var r=angular.module("ui.utils.masks.global",[t("../helpers")]).directive("uiDateMask",t("./date/date")).directive("uiMoneyMask",t("./money/money")).directive("uiNumberMask",t("./number/number")).directive("uiPercentageMask",t("./percentage/percentage")).directive("uiScientificNotationMask",t("./scientific-notation/scientific-notation")).directive("uiTimeMask",t("./time/time"));e.exports=r.name},{"../helpers":21,"./date/date":14,"./money/money":16,"./number/number":17,"./percentage/percentage":18,"./scientific-notation/scientific-notation":19,"./time/time":20}],16:[function(t,e,n){function r(t,e,n){return{restrict:"A",require:"ngModel",link:function(r,a,s,u){function l(t){var e=t>0?f+new Array(t+1).join("0"):"";return new i(p+" #"+h+"##0"+e,{reverse:!0})}function c(t){if(u.$isEmpty(t))return t;var e=angular.isDefined(s.uiNegativeNumber)&&0>t?"-":"",r=n.prepareNumberToFormatter(t,m);return e+g.apply(r)}function d(t){if(u.$isEmpty(t))return t;var e=t.replace(/[^\d]+/g,"");e=e.replace(/^[0]+([1-9])/,"$1");var n=g.apply(e);if(angular.isDefined(s.uiNegativeNumber)){var r="-"===t[0];"-"===t.slice(-1)^r&&e&&(e*=-1,n="-"+n)}return t!==n&&(u.$setViewValue(n),u.$render()),n?parseInt(n.replace(/[^\d\-]+/g,""))/Math.pow(10,m):null}var f=t.NUMBER_FORMATS.DECIMAL_SEP,h=t.NUMBER_FORMATS.GROUP_SEP,p=t.NUMBER_FORMATS.CURRENCY_SYM,m=e(s.uiMoneyMask)(r);angular.isDefined(s.uiHideGroupSep)&&(h=""),isNaN(m)&&(m=2);var g=l(m);if(u.$formatters.push(c),u.$parsers.push(d),s.uiMoneyMask&&r.$watch(s.uiMoneyMask,function(t){m=isNaN(t)?2:t,g=l(m),d(u.$viewValue)}),s.min){var v;u.$validators.min=function(t){return o.minNumber(u,t,v)},r.$watch(s.min,function(t){v=t,u.$validate()})}if(s.max){var y;u.$validators.max=function(t){return o.maxNumber(u,t,y)},r.$watch(s.max,function(t){y=t,u.$validate()})}}}}var i=t("string-mask"),o=t("validators");r.$inject=["$locale","$parse","PreFormatters"],e.exports=r},{"string-mask":3,validators:"validators"}],17:[function(t,e,n){function r(t,e,n,r){return{restrict:"A",require:"ngModel",link:function(o,a,s,u){function l(t){if(u.$isEmpty(t))return null;var e=n.clearDelimitersAndLeadingZeros(t)||"0",r=p.apply(e),i=parseFloat(m.apply(e));if(angular.isDefined(s.uiNegativeNumber)){var o="-"===t[0];"-"===t.slice(-1)^o&&i&&(i*=-1,r="-"+r)}return u.$viewValue!==r&&(u.$setViewValue(r),u.$render()),i}function c(t){if(u.$isEmpty(t))return t;var e=angular.isDefined(s.uiNegativeNumber)&&0>t?"-":"",r=n.prepareNumberToFormatter(t,h);return e+p.apply(r)}var d=t.NUMBER_FORMATS.DECIMAL_SEP,f=t.NUMBER_FORMATS.GROUP_SEP,h=e(s.uiNumberMask)(o);angular.isDefined(s.uiHideGroupSep)&&(f=""),isNaN(h)&&(h=2);var p=r.viewMask(h,d,f),m=r.modelMask(h);if(u.$formatters.push(c),u.$parsers.push(l),s.uiNumberMask&&o.$watch(s.uiNumberMask,function(t){h=isNaN(t)?2:t,p=r.viewMask(h,d,f),m=r.modelMask(h),l(u.$viewValue)}),s.min){var g;u.$validators.min=function(t){return i.minNumber(u,t,g)},o.$watch(s.min,function(t){g=t,u.$validate()})}if(s.max){var v;u.$validators.max=function(t){return i.maxNumber(u,t,v)},o.$watch(s.max,function(t){v=t,u.$validate()})}}}}var i=t("validators");r.$inject=["$locale","$parse","PreFormatters","NumberMasks"],e.exports=r},{validators:"validators"}],18:[function(t,e,n){function r(t,e,n,r){function o(t,e,r){return n.clearDelimitersAndLeadingZeros((parseFloat(t)*r).toFixed(e))}return{restrict:"A",require:"ngModel",link:function(e,a,s,u){function l(t){if(u.$isEmpty(t))return t;var e=o(t,h,p.multiplier);return g.apply(e)+" %"}function c(t){if(u.$isEmpty(t))return null;var e=n.clearDelimitersAndLeadingZeros(t)||"0";t.length>1&&-1===t.indexOf("%")&&(e=e.slice(0,e.length-1));var r=g.apply(e)+" %",i=parseFloat(v.apply(e));return u.$viewValue!==r&&(u.$setViewValue(r),u.$render()),i}var d=t.NUMBER_FORMATS.DECIMAL_SEP,f=t.NUMBER_FORMATS.GROUP_SEP,h=parseInt(s.uiPercentageMask),p={multiplier:100,decimalMask:2};angular.isDefined(s.uiHideGroupSep)&&(f=""),angular.isDefined(s.uiPercentageValue)&&(p.multiplier=1,p.decimalMask=0),isNaN(h)&&(h=2);var m=h+p.decimalMask,g=r.viewMask(h,d,f),v=r.modelMask(m);if(u.$formatters.push(l),u.$parsers.push(c),s.uiPercentageMask&&e.$watch(s.uiPercentageMask,function(t){h=isNaN(t)?2:t,angular.isDefined(s.uiPercentageValue)&&(p.multiplier=1,p.decimalMask=0),m=h+p.decimalMask,g=r.viewMask(h,d,f),v=r.modelMask(m),c(u.$viewValue)}),s.min){var y;u.$validators.min=function(t){return i.minNumber(u,t,y)},e.$watch(s.min,function(t){y=t,u.$validate()})}if(s.max){var b;u.$validators.max=function(t){return i.maxNumber(u,t,b)},e.$watch(s.max,function(t){b=t,u.$validate()})}}}}var i=t("validators");r.$inject=["$locale","$parse","PreFormatters","NumberMasks"],e.exports=r},{validators:"validators"}],19:[function(t,e,n){function r(t,e){function n(t){var e="0";if(t>0){e+=r;for(var n=0;t>n;n++)e+="0"}return new i(e,{reverse:!0})}var r=t.NUMBER_FORMATS.DECIMAL_SEP;return{restrict:"A",require:"ngModel",link:function(t,i,o,a){function s(t){var e=t.toString(),n=e.match(/(-?[0-9]*)[\.]?([0-9]*)?[Ee]?([\+-]?[0-9]*)?/);return{integerPartOfSignificand:n[1],decimalPartOfSignificand:n[2],exponent:0|n[3]}}function u(t){if(a.$isEmpty(t))return t;"string"==typeof t?t=t.replace(r,"."):"number"==typeof t&&(t=t.toExponential(c));var e,n,i=s(t),o=i.integerPartOfSignificand||0,u=o.toString();return angular.isDefined(i.decimalPartOfSignificand)&&(u+=i.decimalPartOfSignificand),(o>=1||-1>=o)&&(angular.isDefined(i.decimalPartOfSignificand)&&i.decimalPartOfSignificand.length>c||0===c&&u.length>=2)&&(n=u.slice(c+1,u.length),u=u.slice(0,c+1)),e=d.apply(u),0!==i.exponent&&(n=i.exponent),angular.isDefined(n)&&(e+="e"+n),e}function l(t){if(a.$isEmpty(t))return t;var e=u(t),n=parseFloat(e.replace(r,"."));return a.$viewValue!==e&&(a.$setViewValue(e),a.$render()),n}var c=e(o.uiScientificNotationMask)(t);isNaN(c)&&(c=2);var d=n(c);a.$formatters.push(u),a.$parsers.push(l),a.$validators.max=function(t){return a.$isEmpty(t)||t<Number.MAX_VALUE}}}}var i=t("string-mask");r.$inject=["$locale","$parse"],e.exports=r},{"string-mask":3}],20:[function(t,e,n){var r=t("string-mask");e.exports=function(){return{restrict:"A",require:"ngModel",link:function(t,e,n,i){function o(t){if(i.$isEmpty(t))return t;var e=t.replace(/[^0-9]/g,"").slice(0,u)||"";return(l.apply(e)||"").replace(/[^0-9]$/,"")}var a="00:00:00";angular.isDefined(n.uiTimeMask)&&"short"===n.uiTimeMask&&(a="00:00");var s=a.length,u=a.replace(":","").length,l=new r(a);i.$formatters.push(o),i.$parsers.push(function(t){if(i.$isEmpty(t))return t;var e=o(t),n=e;return i.$viewValue!==e&&(i.$setViewValue(e),i.$render()),n}),i.$validators.time=function(t){if(i.$isEmpty(t))return!0;var e=t.toString().split(/:/).filter(function(t){return!!t}),n=parseInt(e[0]),r=parseInt(e[1]),o=parseInt(e[2]||0);return t.toString().length===s&&24>n&&60>r&&60>o}}}}},{"string-mask":3}],21:[function(t,e,n){var r=t("string-mask"),i=angular.module("ui.utils.masks.helpers",[]);e.exports=i.name,i.factory("PreFormatters",[function(){function t(t){return"0"===t?"0":t.replace(/^-/,"").replace(/^0*/,"").replace(/[^0-9]/g,"")}function e(e,n){return t(parseFloat(e).toFixed(n))}return{clearDelimitersAndLeadingZeros:t,prepareNumberToFormatter:e}}]).factory("NumberValidators",[function(){return{maxNumber:function(t,e,n){var r=parseFloat(n),i=t.$isEmpty(e)||isNaN(r)||r>=e;return t.$setValidity("max",i),e},minNumber:function(t,e,n){var r=parseFloat(n),i=t.$isEmpty(e)||isNaN(r)||e>=r;return t.$setValidity("min",i),e}}}]).factory("NumberMasks",[function(){return{viewMask:function(t,e,n){var i="#"+n+"##0";if(t>0){i+=e;for(var o=0;t>o;o++)i+="0"}return new r(i,{reverse:!0})},modelMask:function(t){var e="###0";if(t>0){e+=".";for(var n=0;t>n;n++)e+="0"}return new r(e,{reverse:!0})}}}])},{"string-mask":3}],22:[function(t,e,n){var r=t("string-mask"),i=t("mask-factory"),o=new r("(000) 000-0000"),a=new r("+00-00-000-000000");e.exports=i({clearValue:function(t){return t.toString().replace(/[^0-9]/g,"")},format:function(t){var e;return e=t.length<11?o.apply(t)||"":a.apply(t),e.trim().replace(/[^0-9]$/,"")},validations:{usPhoneNumber:function(t){return t.length>9}}})},{"mask-factory":"mask-factory","string-mask":3}],23:[function(t,e,n){var r=angular.module("ui.utils.masks.us",[t("../helpers")]).directive("uiUsPhoneNumber",t("./phone/us-phone"));e.exports=r.name},{"../helpers":21,"./phone/us-phone":22}],"mask-factory":[function(t,e,n){e.exports=function(t){return function(){return{restrict:"A",require:"ngModel",link:function(e,n,r,i){i.$formatters.push(function(e){if(i.$isEmpty(e))return e;var n=t.clearValue(e);return t.format(n)}),i.$parsers.push(function(e){if(i.$isEmpty(e))return e;var n=t.clearValue(e),r=t.format(n);if(i.$viewValue!==r&&(i.$setViewValue(r),i.$render()),angular.isUndefined(t.getModelValue))return n;var o=typeof i.$modelValue;return t.getModelValue(r,o)}),angular.forEach(t.validations,function(t,e){i.$validators[e]=function(e,n){return i.$isEmpty(e)||t(e,n)}})}}}}},{}],validators:[function(t,e,n){e.exports={maxNumber:function(t,e,n){var r=parseFloat(n,10);return t.$isEmpty(e)||isNaN(r)||r>=e},minNumber:function(t,e,n){var r=parseFloat(n,10);return t.$isEmpty(e)||isNaN(r)||e>=r}}},{}]},{},[4]),function(t,e){"use strict";function n(t){var e=[];return d(e,u).chars(t),e.join("")}var r,i,o,a,s,u,l,c,d,f=e.$$minErr("$sanitize");e.module("ngSanitize",[]).provider("$sanitize",function(){function n(t,e){var n,r={},i=t.split(",");for(n=0;n<i.length;n++)r[e?s(i[n]):i[n]]=!0;return r}function h(t){for(var e={},n=0,r=t.length;n<r;n++){var i=t[n];e[i.name]=i.value}return e}function p(t){return t.replace(/&/g,"&amp;").replace(y,function(t){var e=t.charCodeAt(0);return t=t.charCodeAt(1),"&#"+(1024*(e-55296)+(t-56320)+65536)+";"}).replace(b,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function m(e){for(;e;){if(e.nodeType===t.Node.ELEMENT_NODE)for(var n=e.attributes,r=0,i=n.length;r<i;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.lastIndexOf("ns1:",0)||(e.removeAttributeNode(o),r--,i--)}(n=e.firstChild)&&m(n),e=g("nextSibling",e)}}function g(t,e){var n=e[t];if(n&&l.call(e,n))throw f("elclob",e.outerHTML||e.outerText);return n}var v=!1;this.$get=["$$sanitizeUri",function(t){return v&&i(S,C),function(e){var n=[];return c(e,d(n,function(e,n){return!/^unsafe:/.test(t(e,n))})),n.join("")}}],this.enableSvg=function(t){return a(t)?(v=t,this):v},r=e.bind,i=e.extend,o=e.forEach,a=e.isDefined,s=e.lowercase,u=e.noop,c=function(t,e){null===t||void 0===t?t="":"string"!=typeof t&&(t=""+t);var n=A(t);if(!n)return"";var r=5;do{if(0===r)throw f("uinput");r--,t=n.innerHTML,n=A(t)}while(t!==n.innerHTML);for(r=n.firstChild;r;){switch(r.nodeType){case 1:e.start(r.nodeName.toLowerCase(),h(r.attributes));break;case 3:e.chars(r.textContent)}var i;if(!((i=r.firstChild)||(1===r.nodeType&&e.end(r.nodeName.toLowerCase()),i=g("nextSibling",r))))for(;null==i&&(r=g("parentNode",r))!==n;)i=g("nextSibling",r),1===r.nodeType&&e.end(r.nodeName.toLowerCase());r=i}for(;r=n.firstChild;)n.removeChild(r)},d=function(t,e){var n=!1,i=r(t,t.push);return{start:function(t,r){t=s(t),!n&&x[t]&&(n=t),n||!0!==S[t]||(i("<"),i(t),o(r,function(n,r){var o=s(r),a="img"===t&&"src"===o||"background"===o;!0!==D[o]||!0===E[o]&&!e(n,a)||(i(" "),i(r),i('="'),i(p(n)),i('"'))}),i(">"))},end:function(t){t=s(t),n||!0!==S[t]||!0===$[t]||(i("</"),i(t),i(">")),t==n&&(n=!1)},chars:function(t){n||i(p(t))}}},l=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))};var y=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/([^#-~ |!])/g,$=n("area,br,col,hr,img,wbr"),w=n("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),k=n("rp,rt"),_=i({},k,w),w=i({},w,n("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),k=i({},k,n("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),C=n("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),x=n("script,style"),S=i({},$,w,k,_),E=n("background,cite,href,longdesc,src,xlink:href,xml:base"),_=n("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),k=n("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),D=i({},E,k,_),A=function(t,e){function n(e){e="<remove></remove>"+e;try{var n=(new t.DOMParser).parseFromString(e,"text/html").body;return n.firstChild.remove(),n}catch(t){}}function r(t){return o.innerHTML=t,e.documentMode&&m(o),o}var i;if(!e||!e.implementation)throw f("noinert");i=e.implementation.createHTMLDocument("inert");var o=(i.documentElement||i.getDocumentElement()).querySelector("body");return o.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',o.querySelector("svg")?(o.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',o.querySelector("svg img")?n:r):function(e){e="<remove></remove>"+e;try{e=encodeURI(e)}catch(t){return}var n=new t.XMLHttpRequest;return n.responseType="document",n.open("GET","data:text/html;charset=utf-8,"+e,!1),n.send(null),e=n.response.body,e.firstChild.remove(),e}}(t,t.document)}).info({angularVersion:"1.6.9"}),e.module("ngSanitize").filter("linky",["$sanitize",function(t){var r=/((s?ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,i=/^mailto:/i,o=e.$$minErr("linky"),a=e.isDefined,s=e.isFunction,u=e.isObject,l=e.isString;return function(e,c,d){function f(t){t&&v.push(n(t))}if(null==e||""===e)return e;if(!l(e))throw o("notstring",e);for(var h,p,m=s(d)?d:u(d)?function(){return d}:function(){return{}},g=e,v=[];e=g.match(r);)h=e[0],e[2]||e[4]||(h=(e[3]?"http://":"mailto:")+h),p=e.index,f(g.substr(0,p)),function(t,e){var n,r=m(t);v.push("<a ");for(n in r)v.push(n+'="'+r[n]+'" ');!a(c)||"target"in r||v.push('target="',c,'" '),v.push('href="',t.replace(/"/g,"&quot;"),'">'),f(e),v.push("</a>")}(h,e[0].replace(i,"")),g=g.substring(p+e[0].length);return f(g),t(v.join(""))}}])}(window,window.angular),function(t,e){"use strict";function n(t,n){var r=!1,i=!1;this.ngClickOverrideEnabled=function(a){return e.isDefined(a)?(a&&!i&&(i=!0,o.$$moduleName="ngTouch",n.directive("ngClick",o),t.decorator("ngClickDirective",["$delegate",function(t){if(r)t.shift();else for(var e=t.length-1;0<=e;){if("ngTouch"===t[e].$$moduleName){t.splice(e,1);break}e--}return t}])),r=a,this):r},this.$get=function(){return{
ngClickOverrideEnabled:function(){return r}}}}function r(t,n,r){i.directive(t,["$parse","$swipe",function(i,o){return function(a,s,u){function l(t){if(!c)return!1;var e=Math.abs(t.y-c.y);return t=(t.x-c.x)*n,d&&75>e&&0<t&&30<t&&.3>e/t}var c,d,f=i(u[t]),h=["touch"];e.isDefined(u.ngSwipeDisableMouse)||h.push("mouse"),o.bind(s,{start:function(t,e){c=t,d=!0},cancel:function(t){d=!1},end:function(t,e){l(t)&&a.$apply(function(){s.triggerHandler(r),f(a,{$event:e})})}},h)}}])}var i=e.module("ngTouch",[]);i.info({angularVersion:"1.6.9"}),i.provider("$touch",n),n.$inject=["$provide","$compileProvider"],i.factory("$swipe",[function(){function t(t){t=t.originalEvent||t;var e=t.touches&&t.touches.length?t.touches:[t];return t=t.changedTouches&&t.changedTouches[0]||e[0],{x:t.clientX,y:t.clientY}}function n(t,n){var i=[];return e.forEach(t,function(t){(t=r[t][n])&&i.push(t)}),i.join(" ")}var r={mouse:{start:"mousedown",move:"mousemove",end:"mouseup"},touch:{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"},pointer:{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}};return{bind:function(e,r,i){var o,a,s,u,l=!1;i=i||["mouse","touch","pointer"],e.on(n(i,"start"),function(e){s=t(e),l=!0,a=o=0,u=s,r.start&&r.start(s,e)});var c=n(i,"cancel");c&&e.on(c,function(t){l=!1,r.cancel&&r.cancel(t)}),e.on(n(i,"move"),function(e){if(l&&s){var n=t(e);o+=Math.abs(n.x-u.x),a+=Math.abs(n.y-u.y),u=n,10>o&&10>a||(a>o?(l=!1,r.cancel&&r.cancel(e)):(e.preventDefault(),r.move&&r.move(n,e)))}}),e.on(n(i,"end"),function(e){l&&(l=!1,r.end&&r.end(t(e),e))})}}}]);var o=["$parse","$timeout","$rootElement",function(t,n,r){function i(t,e,n){for(var r=0;r<t.length;r+=2){var i=t[r+1],o=n;if(25>Math.abs(t[r]-e)&&25>Math.abs(i-o))return t.splice(r,r+2),!0}return!1}function o(t){if(!(2500<Date.now()-s)){var n=t.touches&&t.touches.length?t.touches:[t],r=n[0].clientX,n=n[0].clientY;if(!(1>r&&1>n||l&&l[0]===r&&l[1]===n)){l&&(l=null);var o=t.target;"label"===e.lowercase(o.nodeName||o[0]&&o[0].nodeName)&&(l=[r,n]),i(u,r,n)||(t.stopPropagation(),t.preventDefault(),t.target&&t.target.blur&&t.target.blur())}}}function a(t){t=t.touches&&t.touches.length?t.touches:[t];var e=t[0].clientX,r=t[0].clientY;u.push(e,r),n(function(){for(var t=0;t<u.length;t+=2)if(u[t]===e&&u[t+1]===r){u.splice(t,t+2);break}},2500,!1)}var s,u,l;return function(n,l,c){var d,f,h,p,m=t(c.ngClick),g=!1;l.on("touchstart",function(t){g=!0,d=t.target?t.target:t.srcElement,3===d.nodeType&&(d=d.parentNode),l.addClass("ng-click-active"),f=Date.now(),t=t.originalEvent||t,t=(t.touches&&t.touches.length?t.touches:[t])[0],h=t.clientX,p=t.clientY}),l.on("touchcancel",function(t){g=!1,l.removeClass("ng-click-active")}),l.on("touchend",function(t){var n=Date.now()-f,m=t.originalEvent||t,v=(m.changedTouches&&m.changedTouches.length?m.changedTouches:m.touches&&m.touches.length?m.touches:[m])[0],m=v.clientX,v=v.clientY,y=Math.sqrt(Math.pow(m-h,2)+Math.pow(v-p,2));g&&750>n&&12>y&&(u||(r[0].addEventListener("click",o,!0),r[0].addEventListener("touchstart",a,!0),u=[]),s=Date.now(),i(u,m,v),d&&d.blur(),e.isDefined(c.disabled)&&!1!==c.disabled||l.triggerHandler("click",[t])),g=!1,l.removeClass("ng-click-active")}),l.onclick=function(t){},l.on("click",function(t,e){n.$apply(function(){m(n,{$event:e||t})})}),l.on("mousedown",function(t){l.addClass("ng-click-active")}),l.on("mousemove mouseup",function(t){l.removeClass("ng-click-active")})}}];r("ngSwipeLeft",-1,"swipeleft"),r("ngSwipeRight",1,"swiperight")}(window,window.angular),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.swal=e():t.swal=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="swal-button";e.CLASS_NAMES={MODAL:"swal-modal",OVERLAY:"swal-overlay",SHOW_MODAL:"swal-overlay--show-modal",MODAL_TITLE:"swal-title",MODAL_TEXT:"swal-text",ICON:"swal-icon",ICON_CUSTOM:"swal-icon--custom",CONTENT:"swal-content",FOOTER:"swal-footer",BUTTON_CONTAINER:"swal-button-container",BUTTON:r,CONFIRM_BUTTON:r+"--confirm",CANCEL_BUTTON:r+"--cancel",DANGER_BUTTON:r+"--danger",BUTTON_LOADING:r+"--loading",BUTTON_LOADER:r+"__loader"},e.default=e.CLASS_NAMES},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNode=function(t){var e="."+t;return document.querySelector(e)},e.stringToNode=function(t){var e=document.createElement("div");return e.innerHTML=t.trim(),e.firstChild},e.insertAfter=function(t,e){var n=e.nextSibling;e.parentNode.insertBefore(t,n)},e.removeNode=function(t){t.parentElement.removeChild(t)},e.throwErr=function(t){throw t=t.replace(/ +(?= )/g,""),"SweetAlert: "+(t=t.trim())},e.isPlainObject=function(t){if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype},e.ordinalSuffixOf=function(t){var e=t%10,n=t%100;return 1===e&&11!==n?t+"st":2===e&&12!==n?t+"nd":3===e&&13!==n?t+"rd":t+"th"}},function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n(25));var i=n(26);e.overlayMarkup=i.default,r(n(27)),r(n(28)),r(n(29));var o=n(0),a=o.default.MODAL_TITLE,s=o.default.MODAL_TEXT,u=o.default.ICON,l=o.default.FOOTER;e.iconMarkup='\n  <div class="'+u+'"></div>',e.titleMarkup='\n  <div class="'+a+'"></div>\n',e.textMarkup='\n  <div class="'+s+'"></div>',e.footerMarkup='\n  <div class="'+l+'"></div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);e.CONFIRM_KEY="confirm",e.CANCEL_KEY="cancel";var i={visible:!0,text:null,value:null,className:"",closeModal:!0},o=Object.assign({},i,{visible:!1,text:"Cancel",value:null}),a=Object.assign({},i,{text:"OK",value:!0});e.defaultButtonList={cancel:o,confirm:a};var s=function(t){switch(t){case e.CONFIRM_KEY:return a;case e.CANCEL_KEY:return o;default:var n=t.charAt(0).toUpperCase()+t.slice(1);return Object.assign({},i,{text:n,value:t})}},u=function(t,e){var n=s(t);return!0===e?Object.assign({},n,{visible:!0}):"string"==typeof e?Object.assign({},n,{visible:!0,text:e}):r.isPlainObject(e)?Object.assign({visible:!0},n,e):Object.assign({},n,{visible:!1})},l=function(t){for(var e={},n=0,r=Object.keys(t);n<r.length;n++){var i=r[n],a=t[i],s=u(i,a);e[i]=s}return e.cancel||(e.cancel=o),e},c=function(t){var n={};switch(t.length){case 1:n[e.CANCEL_KEY]=Object.assign({},o,{visible:!1});break;case 2:n[e.CANCEL_KEY]=u(e.CANCEL_KEY,t[0]),n[e.CONFIRM_KEY]=u(e.CONFIRM_KEY,t[1]);break;default:r.throwErr("Invalid number of 'buttons' in array ("+t.length+").\n      If you want more than 2 buttons, you need to use an object!")}return n};e.getButtonListOpts=function(t){var n=e.defaultButtonList;return"string"==typeof t?n[e.CONFIRM_KEY]=u(e.CONFIRM_KEY,t):Array.isArray(t)?n=c(t):r.isPlainObject(t)?n=l(t):!0===t?n=c([!0,!0]):!1===t?n=c([!1,!1]):void 0===t&&(n=e.defaultButtonList),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(2),o=n(0),a=o.default.MODAL,s=o.default.OVERLAY,u=n(30),l=n(31),c=n(32),d=n(33);e.injectElIntoModal=function(t){var e=r.getNode(a),n=r.stringToNode(t);return e.appendChild(n),n};var f=function(t){t.className=a,t.textContent=""},h=function(t,e){f(t);var n=e.className;n&&t.classList.add(n)};e.initModalContent=function(t){var e=r.getNode(a);h(e,t),u.default(t.icon),l.initTitle(t.title),l.initText(t.text),d.default(t.content),c.default(t.buttons,t.dangerMode)};var p=function(){var t=r.getNode(s),e=r.stringToNode(i.modalMarkup);t.appendChild(e)};e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i={isOpen:!1,promise:null,actions:{},timer:null},o=Object.assign({},i);e.resetState=function(){o=Object.assign({},i)},e.setActionValue=function(t){if("string"==typeof t)return a(r.CONFIRM_KEY,t);for(var e in t)a(e,t[e])};var a=function(t,e){o.actions[t]||(o.actions[t]={}),Object.assign(o.actions[t],{value:e})};e.setActionOptionsFor=function(t,e){var n=(void 0===e?{}:e).closeModal,r=void 0===n||n;Object.assign(o.actions[t],{closeModal:r})},e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(3),o=n(0),a=o.default.OVERLAY,s=o.default.SHOW_MODAL,u=o.default.BUTTON,l=o.default.BUTTON_LOADING,c=n(5);e.openModal=function(){r.getNode(a).classList.add(s),c.default.isOpen=!0};var d=function(){r.getNode(a).classList.remove(s),c.default.isOpen=!1};e.onAction=function(t){void 0===t&&(t=i.CANCEL_KEY);var e=c.default.actions[t],n=e.value;if(!1===e.closeModal){var o=u+"--"+t;r.getNode(o).classList.add(l)}else d();c.default.promise.resolve(n)},e.getState=function(){var t=Object.assign({},c.default);return delete t.promise,delete t.timer,t},e.stopLoading=function(){for(var t=document.querySelectorAll("."+u),e=0;e<t.length;e++)t[e].classList.remove(l)}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){(function(e){t.exports=e.sweetAlert=n(9)}).call(e,n(7))},function(t,e,n){(function(e){t.exports=e.swal=n(10)}).call(e,n(7))},function(t,e,n){"undefined"!=typeof window&&n(11),n(16);var r=n(23).default;t.exports=r},function(t,e,n){var r=n(12);"string"==typeof r&&(r=[[t.i,r,""]]);var i={insertAt:"top"};i.transform=void 0,n(14)(r,i),r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(13)(void 0),e.push([t.i,'.swal-icon--error{border-color:#f27474;-webkit-animation:animateErrorIcon .5s;animation:animateErrorIcon .5s}.swal-icon--error__x-mark{position:relative;display:block;-webkit-animation:animateXMark .5s;animation:animateXMark .5s}.swal-icon--error__line{position:absolute;height:5px;width:47px;background-color:#f27474;display:block;top:37px;border-radius:2px}.swal-icon--error__line--left{-webkit-transform:rotate(45deg);transform:rotate(45deg);left:17px}.swal-icon--error__line--right{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);right:16px}@-webkit-keyframes animateErrorIcon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@keyframes animateErrorIcon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@-webkit-keyframes animateXMark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}to{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}@keyframes animateXMark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}to{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}.swal-icon--warning{border-color:#f8bb86;-webkit-animation:pulseWarning .75s infinite alternate;animation:pulseWarning .75s infinite alternate}.swal-icon--warning__body{width:5px;height:47px;top:10px;border-radius:2px;margin-left:-2px}.swal-icon--warning__body,.swal-icon--warning__dot{position:absolute;left:50%;background-color:#f8bb86}.swal-icon--warning__dot{width:7px;height:7px;border-radius:50%;margin-left:-4px;bottom:-11px}@-webkit-keyframes pulseWarning{0%{border-color:#f8d486}to{border-color:#f8bb86}}@keyframes pulseWarning{0%{border-color:#f8d486}to{border-color:#f8bb86}}.swal-icon--success{border-color:#a5dc86}.swal-icon--success:after,.swal-icon--success:before{content:"";border-radius:50%;position:absolute;width:60px;height:120px;background:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal-icon--success:before{border-radius:120px 0 0 120px;top:-7px;left:-33px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:60px 60px;transform-origin:60px 60px}.swal-icon--success:after{border-radius:0 120px 120px 0;top:-11px;left:30px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 60px;transform-origin:0 60px;-webkit-animation:rotatePlaceholder 4.25s ease-in;animation:rotatePlaceholder 4.25s ease-in}.swal-icon--success__ring{width:80px;height:80px;border:4px solid hsla(98,55%,69%,.2);border-radius:50%;box-sizing:content-box;position:absolute;left:-4px;top:-4px;z-index:2}.swal-icon--success__hide-corners{width:5px;height:90px;background-color:#fff;padding:1px;position:absolute;left:28px;top:8px;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal-icon--success__line{height:5px;background-color:#a5dc86;display:block;border-radius:2px;position:absolute;z-index:2}.swal-icon--success__line--tip{width:25px;left:14px;top:46px;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:animateSuccessTip .75s;animation:animateSuccessTip .75s}.swal-icon--success__line--long{width:47px;right:8px;top:38px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-animation:animateSuccessLong .75s;animation:animateSuccessLong .75s}@-webkit-keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes animateSuccessTip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessTip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@-webkit-keyframes animateSuccessLong{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes animateSuccessLong{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}.swal-icon--info{border-color:#c9dae1}.swal-icon--info:before{width:5px;height:29px;bottom:17px;border-radius:2px;margin-left:-2px}.swal-icon--info:after,.swal-icon--info:before{content:"";position:absolute;left:50%;background-color:#c9dae1}.swal-icon--info:after{width:7px;height:7px;border-radius:50%;margin-left:-3px;top:19px}.swal-icon{width:80px;height:80px;border-width:4px;border-style:solid;border-radius:50%;padding:0;position:relative;box-sizing:content-box;margin:20px auto}.swal-icon:first-child{margin-top:32px}.swal-icon--custom{width:auto;height:auto;max-width:100%;border:none;border-radius:0}.swal-icon img{max-width:100%;max-height:100%}.swal-title{color:rgba(0,0,0,.65);font-weight:600;text-transform:none;position:relative;display:block;padding:13px 16px;font-size:27px;line-height:normal;text-align:center;margin-bottom:0}.swal-title:first-child{margin-top:26px}.swal-title:not(:first-child){padding-bottom:0}.swal-title:not(:last-child){margin-bottom:13px}.swal-text{font-size:16px;position:relative;float:none;line-height:normal;vertical-align:top;text-align:left;display:inline-block;margin:0;padding:0 10px;font-weight:400;color:rgba(0,0,0,.64);max-width:calc(100% - 20px);overflow-wrap:break-word;box-sizing:border-box}.swal-text:first-child{margin-top:45px}.swal-text:last-child{margin-bottom:45px}.swal-footer{text-align:right;padding-top:13px;margin-top:13px;padding:13px 16px;border-radius:inherit;border-top-left-radius:0;border-top-right-radius:0}.swal-button-container{margin:5px;display:inline-block;position:relative}.swal-button{background-color:#7cd1f9;color:#fff;border:none;box-shadow:none;border-radius:5px;font-weight:600;font-size:14px;padding:10px 24px;margin:0;cursor:pointer}.swal-button[not:disabled]:hover{background-color:#78cbf2}.swal-button:active{background-color:#70bce0}.swal-button:focus{outline:none;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(43,114,165,.29)}.swal-button[disabled]{opacity:.5;cursor:default}.swal-button::-moz-focus-inner{border:0}.swal-button--cancel{color:#555;background-color:#efefef}.swal-button--cancel[not:disabled]:hover{background-color:#e8e8e8}.swal-button--cancel:active{background-color:#d7d7d7}.swal-button--cancel:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(116,136,150,.29)}.swal-button--danger{background-color:#e64942}.swal-button--danger[not:disabled]:hover{background-color:#df4740}.swal-button--danger:active{background-color:#cf423b}.swal-button--danger:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(165,43,43,.29)}.swal-content{padding:0 20px;margin-top:20px;font-size:medium}.swal-content:last-child{margin-bottom:20px}.swal-content__input,.swal-content__textarea{-webkit-appearance:none;background-color:#fff;border:none;font-size:14px;display:block;box-sizing:border-box;width:100%;border:1px solid rgba(0,0,0,.14);padding:10px 13px;border-radius:2px;transition:border-color .2s}.swal-content__input:focus,.swal-content__textarea:focus{outline:none;border-color:#6db8ff}.swal-content__textarea{resize:vertical}.swal-button--loading{color:transparent}.swal-button--loading~.swal-button__loader{opacity:1}.swal-button__loader{position:absolute;height:auto;width:43px;z-index:2;left:50%;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);text-align:center;pointer-events:none;opacity:0}.swal-button__loader div{display:inline-block;float:none;vertical-align:baseline;width:9px;height:9px;padding:0;border:none;margin:2px;opacity:.4;border-radius:7px;background-color:hsla(0,0%,100%,.9);transition:background .2s;-webkit-animation:swal-loading-anim 1s infinite;animation:swal-loading-anim 1s infinite}.swal-button__loader div:nth-child(3n+2){-webkit-animation-delay:.15s;animation-delay:.15s}.swal-button__loader div:nth-child(3n+3){-webkit-animation-delay:.3s;animation-delay:.3s}@-webkit-keyframes swal-loading-anim{0%{opacity:.4}20%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes swal-loading-anim{0%{opacity:.4}20%{opacity:.4}50%{opacity:1}to{opacity:.4}}.swal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center;font-size:0;overflow-y:auto;background-color:rgba(0,0,0,.4);z-index:10000;pointer-events:none;opacity:0;transition:opacity .3s}.swal-overlay:before{content:" ";display:inline-block;vertical-align:middle;height:100%}.swal-overlay--show-modal{opacity:1;pointer-events:auto}.swal-overlay--show-modal .swal-modal{opacity:1;pointer-events:auto;box-sizing:border-box;-webkit-animation:showSweetAlert .3s;animation:showSweetAlert .3s;will-change:transform}.swal-modal{width:478px;opacity:0;pointer-events:none;background-color:#fff;text-align:center;border-radius:5px;position:static;margin:20px auto;display:inline-block;vertical-align:middle;-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;z-index:10001;transition:opacity .2s,-webkit-transform .3s;transition:transform .3s,opacity .2s;transition:transform .3s,opacity .2s,-webkit-transform .3s}@media (max-width:500px){.swal-modal{width:calc(100% - 20px)}}@-webkit-keyframes showSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1)}1%{-webkit-transform:scale(.5);transform:scale(.5)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes showSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1)}1%{-webkit-transform:scale(.5);transform:scale(.5)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}',""])},function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var a=t[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){function r(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=p[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(c(r.parts[o],e))}else{for(var a=[],o=0;o<r.parts.length;o++)a.push(c(r.parts[o],e));p[r.id]={id:r.id,refs:1,parts:a}}}}function i(t,e){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=e.base?o[0]+e.base:o[0],s=o[1],u=o[2],l=o[3],c={css:s,media:u,sourceMap:l};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}function o(t,e){var n=g(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=b[b.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),b.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=b.indexOf(t);e>=0&&b.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",l(e,t.attrs),o(t,e),e}function u(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",l(e,t.attrs),o(t,e),e}function l(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function c(t,e){var n,r,i,o;if(e.transform&&t.css){if(!(o=e.transform(t.css)))return function(){};t.css=o}if(e.singleton){var l=y++;n=v||(v=s(e)),r=d.bind(null,n,l,!1),i=d.bind(null,n,l,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(e),r=h.bind(null,n,e),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),r=f.bind(null,n),i=function(){a(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function d(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=w(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function f(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function h(t,e,n){var r=n.css,i=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&i;(e.convertToAbsoluteUrls||o)&&(r=$(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var p={},m=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),g=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}(function(t){return document.querySelector(t)}),v=null,y=0,b=[],$=n(15);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=m()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=i(t,e);return r(n,e),function(t){for(var o=[],a=0;a<n.length;a++){var s=n[a],u=p[s.id];u.refs--,o.push(u)}t&&r(i(t,e),e);for(var a=0;a<o.length;a++){var u=o[a];if(0===u.refs){for(var l=0;l<u.parts.length;l++)u.parts[l]();delete p[u.id]}}}};var w=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var i=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(i))return t;var o;return o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")"})}},function(t,e,n){var r=n(17);"undefined"==typeof window||window.Promise||(window.Promise=r),n(21),String.prototype.includes||(String.prototype.includes=function(t,e){"use strict";return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,e){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;for(var i=0|e,o=Math.max(i>=0?i:r-Math.abs(i),0);o<r;){if(function(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}(n[o],t))return!0;o++}return!1}}),"undefined"!=typeof window&&function(t){t.forEach(function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})})}([Element.prototype,CharacterData.prototype,DocumentType.prototype])},function(t,e,n){(function(e){!function(n){function r(){}function i(t,e){return function(){t.apply(e,arguments)}}function o(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function a(t,e){for(;3===t._state;)t=t._value;if(0===t._state)return void t._deferreds.push(e);t._handled=!0,o._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null===n)return void(1===t._state?s:u)(e.promise,t._value);var r;try{r=n(t._value)}catch(t){return void u(e.promise,t)}s(e.promise,r)})}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof o)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void d(i(n,e),t)}t._state=1,t._value=e,l(t)}catch(e){u(t,e)}}function u(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&o._immediateFn(function(){t._handled||o._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)a(t,t._deferreds[e]);t._deferreds=null}function c(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function d(t,e){var n=!1;try{t(function(t){n||(n=!0,s(e,t))},function(t){n||(n=!0,u(e,t))})}catch(t){if(n)return;n=!0,u(e,t)}}var f=setTimeout;o.prototype.catch=function(t){return this.then(null,t)},o.prototype.then=function(t,e){var n=new this.constructor(r);return a(this,new c(t,e,n)),n},o.all=function(t){var e=Array.prototype.slice.call(t);return new o(function(t,n){function r(o,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(t){r(o,t)},n)}e[o]=a,0==--i&&t(e)}catch(t){n(t)}}if(0===e.length)return t([]);for(var i=e.length,o=0;o<e.length;o++)r(o,e[o])})},o.resolve=function(t){return t&&"object"==typeof t&&t.constructor===o?t:new o(function(e){e(t)})},o.reject=function(t){return new o(function(e,n){n(t)})},o.race=function(t){return new o(function(e,n){for(var r=0,i=t.length;r<i;r++)t[r].then(e,n)})},o._immediateFn="function"==typeof e&&function(t){e(t)}||function(t){f(t,0)},o._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},o._setImmediateFn=function(t){o._immediateFn=t},o._setUnhandledRejectionFn=function(t){o._unhandledRejectionFn=t},void 0!==t&&t.exports?t.exports=o:n.Promise||(n.Promise=o)}(this)}).call(e,n(18).setImmediate)},function(t,e,n){function r(t,e){this._id=t,this._clearFn=e}var i=Function.prototype.apply;e.setTimeout=function(){return new r(i.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new r(i.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(19),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var r={callback:t,args:e};return l[u]=r,s(u),u++}function i(t){delete l[t]}function o(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}function a(t){if(c)setTimeout(a,0,t);else{var e=l[t];if(e){c=!0;try{o(e)}finally{i(t),c=!1}}}}if(!t.setImmediate){var s,u=1,l={},c=!1,d=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?function(){s=function(t){e.nextTick(function(){a(t)})}}():function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&a(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),s=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){a(t.data)},s=function(e){t.port2.postMessage(e)}}():d&&"onreadystatechange"in d.createElement("script")?function(){var t=d.documentElement;s=function(e){var n=d.createElement("script");n.onreadystatechange=function(){a(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():function(){s=function(t){setTimeout(a,0,t)}}(),f.setImmediate=r,f.clearImmediate=i}}("undefined"==typeof self?void 0===t?this:t:self)
}).call(e,n(7),n(20))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function o(t){if(d===clearTimeout)return clearTimeout(t);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(t);try{return d(t)}catch(e){try{return d.call(null,t)}catch(e){return d.call(this,t)}}}function a(){m&&h&&(m=!1,h.length?p=h.concat(p):g=-1,p.length&&s())}function s(){if(!m){var t=i(a);m=!0;for(var e=p.length;e;){for(h=p,p=[];++g<e;)h&&h[g].run();g=-1,e=p.length}h=null,m=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function l(){}var c,d,f=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(t){c=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(t){d=r}}();var h,p=[],m=!1,g=-1;f.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new u(t,e)),1!==p.length||m||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=l,f.addListener=l,f.once=l,f.off=l,f.removeListener=l,f.removeAllListeners=l,f.emit=l,f.prependListener=l,f.prependOnceListener=l,f.listeners=function(t){return[]},f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(t,e,n){"use strict";n(22).polyfill()},function(t,e,n){"use strict";function r(t,e){if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),r=1;r<arguments.length;r++){var i=arguments[r];if(void 0!==i&&null!==i)for(var o=Object.keys(Object(i)),a=0,s=o.length;a<s;a++){var u=o[a],l=Object.getOwnPropertyDescriptor(i,u);void 0!==l&&l.enumerable&&(n[u]=i[u])}}return n}function i(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:r})}t.exports={assign:r,polyfill:i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(24),i=n(6),o=n(5),a=n(36),s=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if("undefined"!=typeof window){var n=a.getOpts.apply(void 0,t);return new Promise(function(t,e){o.default.promise={resolve:t,reject:e},r.default(n),setTimeout(function(){i.openModal()})})}};s.close=i.onAction,s.getState=i.getState,s.setActionValue=o.setActionValue,s.stopLoading=i.stopLoading,s.setDefaults=a.setDefaults,e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),o=i.default.MODAL,a=n(4),s=n(34),u=n(35),l=n(1);e.init=function(t){r.getNode(o)||(document.body||l.throwErr("You can only use SweetAlert AFTER the DOM has loaded!"),s.default(),a.default()),a.initModalContent(t),u.default(t)},e.default=e.init},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=r.default.MODAL;e.modalMarkup='\n  <div class="'+i+'" role="dialog" aria-modal="true"></div>',e.default=e.modalMarkup},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=r.default.OVERLAY,o='<div \n    class="'+i+'"\n    tabIndex="-1">\n  </div>';e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=r.default.ICON;e.errorIconMarkup=function(){var t=i+"--error",e=t+"__line";return'\n    <div class="'+t+'__x-mark">\n      <span class="'+e+" "+e+'--left"></span>\n      <span class="'+e+" "+e+'--right"></span>\n    </div>\n  '},e.warningIconMarkup=function(){var t=i+"--warning";return'\n    <span class="'+t+'__body">\n      <span class="'+t+'__dot"></span>\n    </span>\n  '},e.successIconMarkup=function(){var t=i+"--success";return'\n    <span class="'+t+"__line "+t+'__line--long"></span>\n    <span class="'+t+"__line "+t+'__line--tip"></span>\n\n    <div class="'+t+'__ring"></div>\n    <div class="'+t+'__hide-corners"></div>\n  '}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=r.default.CONTENT;e.contentMarkup='\n  <div class="'+i+'">\n\n  </div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=r.default.BUTTON_CONTAINER,o=r.default.BUTTON,a=r.default.BUTTON_LOADER;e.buttonMarkup='\n  <div class="'+i+'">\n\n    <button\n      class="'+o+'"\n    ></button>\n\n    <div class="'+a+'">\n      <div></div>\n      <div></div>\n      <div></div>\n    </div>\n\n  </div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(2),o=n(0),a=o.default.ICON,s=o.default.ICON_CUSTOM,u=["error","warning","success","info"],l={error:i.errorIconMarkup(),warning:i.warningIconMarkup(),success:i.successIconMarkup()},c=function(t,e){var n=a+"--"+t;e.classList.add(n);var r=l[t];r&&(e.innerHTML=r)},d=function(t,e){e.classList.add(s);var n=document.createElement("img");n.src=t,e.appendChild(n)},f=function(t){if(t){var e=r.injectElIntoModal(i.iconMarkup);u.includes(t)?c(t,e):d(t,e)}};e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n(4),o=function(t){navigator.userAgent.includes("AppleWebKit")&&(t.style.display="none",t.offsetHeight,t.style.display="")};e.initTitle=function(t){if(t){var e=i.injectElIntoModal(r.titleMarkup);e.textContent=t,o(e)}},e.initText=function(t){if(t){var e=document.createDocumentFragment();t.split("\n").forEach(function(t,n,r){e.appendChild(document.createTextNode(t)),n<r.length-1&&e.appendChild(document.createElement("br"))});var n=i.injectElIntoModal(r.textMarkup);n.appendChild(e),o(n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(4),o=n(0),a=o.default.BUTTON,s=o.default.DANGER_BUTTON,u=n(3),l=n(2),c=n(6),d=n(5),f=function(t,e,n){var i=e.text,o=e.value,f=e.className,h=e.closeModal,p=r.stringToNode(l.buttonMarkup),m=p.querySelector("."+a),g=a+"--"+t;m.classList.add(g),f&&(Array.isArray(f)?f:f.split(" ")).filter(function(t){return t.length>0}).forEach(function(t){m.classList.add(t)}),n&&t===u.CONFIRM_KEY&&m.classList.add(s),m.textContent=i;var v={};return v[t]=o,d.setActionValue(v),d.setActionOptionsFor(t,{closeModal:h}),m.addEventListener("click",function(){return c.onAction(t)}),p},h=function(t,e){var n=i.injectElIntoModal(l.footerMarkup);for(var r in t){var o=t[r],a=f(r,o,e);o.visible&&n.appendChild(a)}0===n.children.length&&n.remove()};e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(4),o=n(2),a=n(5),s=n(6),u=n(0),l=u.default.CONTENT,c=function(t){t.addEventListener("input",function(t){var e=t.target,n=e.value;a.setActionValue(n)}),t.addEventListener("keyup",function(t){if("Enter"===t.key)return s.onAction(r.CONFIRM_KEY)}),setTimeout(function(){t.focus(),a.setActionValue("")},0)},d=function(t,e,n){var r=document.createElement(e),i=l+"__"+e;r.classList.add(i);for(var o in n){var a=n[o];r[o]=a}"input"===e&&c(r),t.appendChild(r)},f=function(t){if(t){var e=i.injectElIntoModal(o.contentMarkup),n=t.element,r=t.attributes;"string"==typeof n?d(e,n,r):e.appendChild(n)}};e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(2),o=function(){var t=r.stringToNode(i.overlayMarkup);document.body.appendChild(t)};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5),i=n(6),o=n(1),a=n(3),s=n(0),u=s.default.MODAL,l=s.default.BUTTON,c=s.default.OVERLAY,d=function(t){t.preventDefault(),g()},f=function(t){t.preventDefault(),v()},h=function(t){if(r.default.isOpen)switch(t.key){case"Escape":return i.onAction(a.CANCEL_KEY)}},p=function(t){if(r.default.isOpen)switch(t.key){case"Tab":return d(t)}},m=function(t){if(r.default.isOpen)return"Tab"===t.key&&t.shiftKey?f(t):void 0},g=function(){var t=o.getNode(l);t&&(t.tabIndex=0,t.focus())},v=function(){var t=o.getNode(u),e=t.querySelectorAll("."+l),n=e.length-1,r=e[n];r&&r.focus()},y=function(t){t[t.length-1].addEventListener("keydown",p)},b=function(t){t[0].addEventListener("keydown",m)},$=function(){var t=o.getNode(u),e=t.querySelectorAll("."+l);e.length&&(y(e),b(e))},w=function(t){if(o.getNode(c)===t.target)return i.onAction(a.CANCEL_KEY)},k=function(t){var e=o.getNode(c);e.removeEventListener("click",w),t&&e.addEventListener("click",w)},_=function(t){r.default.timer&&clearTimeout(r.default.timer),t&&(r.default.timer=window.setTimeout(function(){return i.onAction(a.CANCEL_KEY)},t))},C=function(t){t.closeOnEsc?document.addEventListener("keyup",h):document.removeEventListener("keyup",h),t.dangerMode?g():v(),$(),k(t.closeOnClickOutside),_(t.timer)};e.default=C},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(3),o=n(37),a=n(38),s={title:null,text:null,icon:null,buttons:i.defaultButtonList,content:null,className:null,closeOnClickOutside:!0,closeOnEsc:!0,dangerMode:!1,timer:null},u=Object.assign({},s);e.setDefaults=function(t){u=Object.assign({},s,t)};var l=function(t){var e=t&&t.button,n=t&&t.buttons;return void 0!==e&&void 0!==n&&r.throwErr("Cannot set both 'button' and 'buttons' options!"),void 0!==e?{confirm:e}:n},c=function(t){return r.ordinalSuffixOf(t+1)},d=function(t,e){r.throwErr(c(e)+" argument ('"+t+"') is invalid")},f=function(t,e){var n=t+1,i=e[n];r.isPlainObject(i)||void 0===i||r.throwErr("Expected "+c(n)+" argument ('"+i+"') to be a plain object")},h=function(t,e){var n=t+1,i=e[n];void 0!==i&&r.throwErr("Unexpected "+c(n)+" argument ("+i+")")},p=function(t,e,n,i){var o=typeof e,a="string"===o,s=e instanceof Element;if(a){if(0===n)return{text:e};if(1===n)return{text:e,title:i[0]};if(2===n)return f(n,i),{icon:e};d(e,n)}else{if(s&&0===n)return f(n,i),{content:e};if(r.isPlainObject(e))return h(n,i),e;d(e,n)}};e.getOpts=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n={};t.forEach(function(e,r){var i=p(0,e,r,t);Object.assign(n,i)});var r=l(n);n.buttons=i.getButtonListOpts(r),delete n.button,n.content=o.getContentOpts(n.content);var c=Object.assign({},s,u,n);return Object.keys(c).forEach(function(t){a.DEPRECATED_OPTS[t]&&a.logDeprecation(t)}),c}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i={element:"input",attributes:{placeholder:""}};e.getContentOpts=function(t){var e={};return r.isPlainObject(t)?Object.assign(e,t):t instanceof Element?{element:t}:"input"===t?i:null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.logDeprecation=function(t){var n=e.DEPRECATED_OPTS[t],r=n.onlyRename,i=n.replacement,o=n.subOption,a=n.link,s=r?"renamed":"deprecated",u='SweetAlert warning: "'+t+'" option has been '+s+".";i&&(u+=" Please use"+(o?' "'+o+'" in ':" ")+'"'+i+'" instead.');var l="https://sweetalert.js.org";u+=a?" More details: "+l+a:" More details: "+l+"/guides/#upgrading-from-1x",console.warn(u)},e.DEPRECATED_OPTS={type:{replacement:"icon",link:"/docs/#icon"},imageUrl:{replacement:"icon",link:"/docs/#icon"},customClass:{replacement:"className",onlyRename:!0,link:"/docs/#classname"},imageSize:{},showCancelButton:{replacement:"buttons",link:"/docs/#buttons"},showConfirmButton:{replacement:"button",link:"/docs/#button"},confirmButtonText:{replacement:"button",link:"/docs/#button"},confirmButtonColor:{},cancelButtonText:{replacement:"buttons",link:"/docs/#buttons"},closeOnConfirm:{replacement:"button",subOption:"closeModal",link:"/docs/#button"},closeOnCancel:{replacement:"buttons",subOption:"closeModal",link:"/docs/#buttons"},showLoaderOnConfirm:{replacement:"buttons"},animation:{},inputType:{replacement:"content",link:"/docs/#content"},inputValue:{replacement:"content",link:"/docs/#content"},inputPlaceholder:{replacement:"content",link:"/docs/#content"},html:{replacement:"content",link:"/docs/#content"},allowEscapeKey:{replacement:"closeOnEsc",onlyRename:!0,link:"/docs/#closeonesc"},allowClickOutside:{replacement:"closeOnClickOutside",onlyRename:!0,link:"/docs/#closeonclickoutside"}}}])}),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="monospaced.elastic"),angular.module("monospaced.elastic",[]).constant("msdElasticConfig",{append:""}).directive("msdElastic",["$timeout","$window","msdElasticConfig",function(t,e,n){"use strict";return{require:"ngModel",restrict:"A, C",link:function(r,i,o,a){function s(){var t=v;h=c,$=getComputedStyle(c),angular.forEach(D,function(e){t+=e+":"+$.getPropertyValue(e)+";"}),b.setAttribute("style",t)}function u(){var e,n,i,o,a;h!==c&&s(),p||(p=!0,b.value=c.value+m,b.style.overflowY=c.style.overflowY,e=""===c.style.height?"auto":parseInt(c.style.height,10),n=getComputedStyle(c).getPropertyValue("width"),"px"===n.substr(n.length-2,2)&&(o=parseInt(n,10)-_.width,b.style.width=o+"px"),i=b.scrollHeight,i>E?(i=E,a="scroll"):i<S&&(i=S),i+=_.height,c.style.overflowY=a||"hidden",e!==i&&(r.$emit("elastic:resize",d,e,i),c.style.height=i+"px"),t(function(){p=!1},1,!1))}function l(){p=!1,u()}var c=i[0],d=i;if("TEXTAREA"===c.nodeName&&e.getComputedStyle){d.css({overflow:"hidden","overflow-y":"hidden","word-wrap":"break-word"});var f=c.value;c.value="",c.value=f;var h,p,m=o.msdElastic?o.msdElastic.replace(/\\n/g,"\n"):n.append,g=angular.element(e),v="position: absolute; top: -999px; right: auto; bottom: auto;left: 0; overflow: hidden; -webkit-box-sizing: content-box;-moz-box-sizing: content-box; box-sizing: content-box;min-height: 0 !important; height: 0 !important; padding: 0;word-wrap: break-word; border: 0;",y=angular.element('<textarea aria-hidden="true" tabindex="-1" style="'+v+'"/>').data("elastic",!0),b=y[0],$=getComputedStyle(c),w=$.getPropertyValue("resize"),k="border-box"===$.getPropertyValue("box-sizing")||"border-box"===$.getPropertyValue("-moz-box-sizing")||"border-box"===$.getPropertyValue("-webkit-box-sizing"),_=k?{width:parseInt($.getPropertyValue("border-right-width"),10)+parseInt($.getPropertyValue("padding-right"),10)+parseInt($.getPropertyValue("padding-left"),10)+parseInt($.getPropertyValue("border-left-width"),10),height:parseInt($.getPropertyValue("border-top-width"),10)+parseInt($.getPropertyValue("padding-top"),10)+parseInt($.getPropertyValue("padding-bottom"),10)+parseInt($.getPropertyValue("border-bottom-width"),10)}:{width:0,height:0},C=parseInt($.getPropertyValue("min-height"),10),x=parseInt($.getPropertyValue("height"),10),S=Math.max(C,x)-_.height,E=parseInt($.getPropertyValue("max-height"),10),D=["font-family","font-size","font-weight","font-style","letter-spacing","line-height","text-transform","word-spacing","text-indent"];d.data("elastic")||(E=E&&E>0?E:9e4,b.parentNode!==document.body&&angular.element(document.body).append(b),d.css({resize:"none"===w||"vertical"===w?"none":"horizontal"}).data("elastic",!0),c.oninput="onpropertychange"in c&&"oninput"in c?c.onkeyup=u:u,g.bind("resize",l),r.$watch(function(){return a.$modelValue},function(t){l()}),r.$on("elastic:adjust",function(){s(),l()}),t(u,0,!1),r.$on("$destroy",function(){y.remove(),g.unbind("resize",l)}))}}}}]),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.multiMap","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["views/uib/accordion/accordion-group.html","views/uib/accordion/accordion.html","views/uib/alert/alert.html","views/uib/carousel/slide.html","views/uib/datepicker/datepicker.html","views/uib/datepicker/day.html","views/uib/datepicker/month.html","views/uib/datepicker/year.html","views/uib/datepickerPopup/popup.html","views/uib/modal/window.html","views/uib/pager/pager.html","views/uib/pagination/pagination.html","views/uib/tooltip/tooltip-html-popup.html","views/uib/tooltip/tooltip-popup.html","views/uib/tooltip/tooltip-template-popup.html","views/uib/popover/popover-html.html","views/uib/popover/popover-template.html","views/uib/popover/popover.html","views/uib/progressbar/bar.html","views/uib/progressbar/progress.html","views/uib/progressbar/progressbar.html","views/uib/rating/rating.html","views/uib/tabs/tab.html","views/uib/tabs/tabset.html","views/uib/timepicker/timepicker.html","views/uib/typeahead/typeahead-match.html","views/uib/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$q","$parse","$injector",function(t,e,n,r){var i=r.has("$animateCss")?r.get("$animateCss"):null;return{link:function(r,o,a){function s(t){return g?{width:t.scrollWidth+"px"}:{height:t.scrollHeight+"px"}}function u(){o.hasClass("collapse")&&o.hasClass("in")||e.resolve(f(r)).then(function(){o.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),i?i(o,{addClass:"in",easing:"ease",css:{overflow:"hidden"},to:s(o[0])}).start().finally(l):t.addClass(o,"in",{css:{overflow:"hidden"},to:s(o[0])}).then(l)},angular.noop)}function l(){o.removeClass("collapsing").addClass("collapse").css(v),h(r)}function c(){if(!o.hasClass("collapse")&&!o.hasClass("in"))return d();e.resolve(p(r)).then(function(){o.css(s(o[0])).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),i?i(o,{removeClass:"in",to:y}).start().finally(d):t.removeClass(o,"in",{to:y}).then(d)},angular.noop)}function d(){o.css(y),o.removeClass("collapsing").addClass("collapse"),m(r)}var f=n(a.expanding),h=n(a.expanded),p=n(a.collapsing),m=n(a.collapsed),g=!1,v={},y={};!function(){g=!!("horizontal"in a),g?(v={width:""},y={width:"0"}):(v={height:""},y={height:"0"}),r.$eval(a.uibCollapse)||o.addClass("in").addClass("collapse").attr("aria-expanded",!0).attr("aria-hidden",!1).css(v)}(),r.$watch(a.uibCollapse,function(t){t?c():u()})}}}]),angular.module("ui.bootstrap.tabindex",[]).directive("uibTabindexToggle",function(){return{restrict:"A",link:function(t,e,n){n.$observe("disabled",function(t){n.$set("tabindex",t?-1:null)})}}}),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse","ui.bootstrap.tabindex"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(t,e,n){this.groups=[],this.closeOthers=function(r){(angular.isDefined(e.closeOthers)?t.$eval(e.closeOthers):n.closeOthers)&&angular.forEach(this.groups,function(t){t!==r&&(t.isOpen=!1)})},this.addGroup=function(t){var e=this;this.groups.push(t),t.$on("$destroy",function(n){e.removeGroup(t)})},this.removeGroup=function(t){var e=this.groups.indexOf(t);-1!==e&&this.groups.splice(e,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(t,e){return e.templateUrl||"views/uib/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,restrict:"A",templateUrl:function(t,e){return e.templateUrl||"views/uib/accordion/accordion-group.html"},scope:{heading:"@",panelClass:"@?",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(t){this.heading=t}},link:function(t,e,n,r){e.addClass("panel"),r.addGroup(t),t.openClass=n.openClass||"panel-open",t.panelClass=n.panelClass||"panel-default",t.$watch("isOpen",function(n){e.toggleClass(t.openClass,!!n),n&&r.closeOthers(t)}),t.toggleOpen=function(e){t.isDisabled||e&&32!==e.which||(t.isOpen=!t.isOpen)};var i="accordiongroup-"+t.$id+"-"+Math.floor(1e4*Math.random());t.headingId=i+"-tab",t.panelId=i+"-panel"}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(t,e,n,r,i){r.setHeading(i(t,angular.noop))}}}).directive("uibAccordionTransclude",function(){return{require:"^uibAccordionGroup",link:function(t,e,n,r){t.$watch(function(){return r[n.uibAccordionTransclude]},function(t){if(t){var n=angular.element(e[0].querySelector("uib-accordion-header,data-uib-accordion-header,x-uib-accordion-header,uib\\:accordion-header,[uib-accordion-header],[data-uib-accordion-header],[x-uib-accordion-header]"));n.html(""),n.append(t)}})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$element","$attrs","$interpolate","$timeout",function(t,e,n,r,i){t.closeable=!!n.close,e.addClass("alert"),n.$set("role","alert"),t.closeable&&e.addClass("alert-dismissible");var o=angular.isDefined(n.dismissOnTimeout)?r(n.dismissOnTimeout)(t.$parent):null;o&&i(function(){t.close()},parseInt(o,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",restrict:"A",templateUrl:function(t,e){return e.templateUrl||"views/uib/alert/alert.html"},transclude:!0,scope:{close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(t){this.activeClass=t.activeClass||"active",this.toggleEvent=t.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(t){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(e,n,r,i){var o=i[0],a=i[1],s=t(r.uibUncheckable);n.find("input").css({display:"none"}),a.$render=function(){n.toggleClass(o.activeClass,angular.equals(a.$modelValue,e.$eval(r.uibBtnRadio)))},n.on(o.toggleEvent,function(){if(!r.disabled){var t=n.hasClass(o.activeClass);t&&!angular.isDefined(r.uncheckable)||e.$apply(function(){a.$setViewValue(t?null:e.$eval(r.uibBtnRadio)),a.$render()})}}),r.uibUncheckable&&e.$watch(s,function(t){r.$set("uncheckable",t?"":void 0)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(t,e,n,r){function i(){return a(n.btnCheckboxTrue,!0)}function o(){return a(n.btnCheckboxFalse,!1)}function a(e,n){return angular.isDefined(e)?t.$eval(e):n}var s=r[0],u=r[1];e.find("input").css({display:"none"}),u.$render=function(){e.toggleClass(s.activeClass,angular.equals(u.$modelValue,i()))},e.on(s.toggleEvent,function(){n.disabled||t.$apply(function(){u.$setViewValue(e.hasClass(s.activeClass)?o():i()),u.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(t,e,n,r,i){function o(t){for(var e=0;e<m.length;e++)m[e].slide.active=e===t}function a(n,r,a){if(!y){if(angular.extend(n,{direction:a}),angular.extend(m[v].slide||{},{direction:a}),i.enabled(e)&&!t.$currentTransition&&m[r].element&&p.slides.length>1){m[r].element.data(g,n.direction);var s=p.getCurrentIndex();angular.isNumber(s)&&m[s].element&&m[s].element.data(g,n.direction),t.$currentTransition=!0,i.on("addClass",m[r].element,function(e,n){"close"===n&&(t.$currentTransition=null,i.off("addClass",e))})}t.active=n.index,v=n.index,o(r),c()}}function s(t){for(var e=0;e<m.length;e++)if(m[e].slide===t)return e}function u(){f&&(n.cancel(f),f=null)}function l(e){e.length||(t.$currentTransition=null)}function c(){u();var e=+t.interval;!isNaN(e)&&e>0&&(f=n(d,e))}function d(){var e=+t.interval;h&&!isNaN(e)&&e>0&&m.length?t.next():t.pause()}var f,h,p=this,m=p.slides=t.slides=[],g="uib-slideDirection",v=t.active,y=!1;e.addClass("carousel"),p.addSlide=function(e,n){m.push({slide:e,element:n}),m.sort(function(t,e){return+t.slide.index-+e.slide.index}),(e.index===t.active||1===m.length&&!angular.isNumber(t.active))&&(t.$currentTransition&&(t.$currentTransition=null),v=e.index,t.active=e.index,o(v),p.select(m[s(e)]),1===m.length&&t.play())},p.getCurrentIndex=function(){for(var t=0;t<m.length;t++)if(m[t].slide.index===v)return t},p.next=t.next=function(){var e=(p.getCurrentIndex()+1)%m.length;return 0===e&&t.noWrap()?void t.pause():p.select(m[e],"next")},p.prev=t.prev=function(){var e=p.getCurrentIndex()-1<0?m.length-1:p.getCurrentIndex()-1;return t.noWrap()&&e===m.length-1?void t.pause():p.select(m[e],"prev")},p.removeSlide=function(e){var n=s(e);m.splice(n,1),m.length>0&&v===n?n>=m.length?(v=m.length-1,t.active=v,o(v),p.select(m[m.length-1])):(v=n,t.active=v,o(v),p.select(m[n])):v>n&&(v--,t.active=v),0===m.length&&(v=null,t.active=null)},p.select=t.select=function(e,n){var r=s(e.slide);void 0===n&&(n=r>p.getCurrentIndex()?"next":"prev"),e.slide.index===v||t.$currentTransition||a(e.slide,r,n)},t.indexOfSlide=function(t){return+t.slide.index},t.isActive=function(e){return t.active===e.slide.index},t.isPrevDisabled=function(){return 0===t.active&&t.noWrap()},t.isNextDisabled=function(){return t.active===m.length-1&&t.noWrap()},t.pause=function(){t.noPause||(h=!1,u())},t.play=function(){h||(h=!0,c())},e.on("mouseenter",t.pause),e.on("mouseleave",t.play),t.$on("$destroy",function(){y=!0,u()}),t.$watch("noTransition",function(t){i.enabled(e,!t)}),t.$watch("interval",c),t.$watchCollection("slides",l),t.$watch("active",function(t){if(angular.isNumber(t)&&v!==t){for(var e=0;e<m.length;e++)if(m[e].slide.index===t){t=e;break}m[t]&&(o(t),p.select(m[t]),v=t)}})}]).directive("uibCarousel",function(){return{transclude:!0,controller:"UibCarouselController",controllerAs:"carousel",restrict:"A",templateUrl:function(t,e){return e.templateUrl||"views/uib/carousel/carousel.html"},scope:{active:"=",interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}).directive("uibSlide",["$animate",function(t){return{require:"^uibCarousel",restrict:"A",transclude:!0,templateUrl:function(t,e){return e.templateUrl||"views/uib/carousel/slide.html"},scope:{actual:"=?",index:"=?"},link:function(e,n,r,i){n.addClass("item"),i.addSlide(e,n),e.$on("$destroy",function(){i.removeSlide(e)}),e.$watch("active",function(e){t[e?"addClass":"removeClass"](n,"active")})}}}]).animation(".item",["$animateCss",function(t){function e(t,e,n){t.removeClass(e),n&&n()}return{beforeAddClass:function(n,r,i){if("active"===r){var o=!1,a=n.data("uib-slideDirection"),s="next"===a?"left":"right",u=e.bind(this,n,s+" "+a,i);return n.addClass(a),t(n,{addClass:s}).start().done(u),function(){o=!0}}i()},beforeRemoveClass:function(n,r,i){if("active"===r){var o=!1,a=n.data("uib-slideDirection"),s="next"===a?"left":"right",u=e.bind(this,n,s,i);return t(n,{addClass:s}).start().done(u),function(){o=!0}}i()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("uibDateParser",["$log","$locale","dateFilter","orderByFilter","filterFilter",function(t,e,n,r,i){function o(t){return i(y,{key:t},!0)[0]}function a(t){var e=[],n=t.split(""),i=t.indexOf("'");if(i>-1){var o=!1;t=t.split("");for(var a=i;a<t.length;a++)o?("'"===t[a]&&(a+1<t.length&&"'"===t[a+1]?(t[a+1]="$",n[a+1]=""):(n[a]="",o=!1)),t[a]="$"):"'"===t[a]&&(t[a]="$",n[a]="",o=!0);t=t.join("")}return angular.forEach(y,function(r){var i=t.indexOf(r.key);if(i>-1){t=t.split(""),n[i]="("+r.regex+")",t[i]="$";for(var o=i+1,a=i+r.key.length;o<a;o++)n[o]="",t[o]="$";t=t.join(""),e.push({index:i,key:r.key,apply:r.apply,matcher:r.regex})}}),{regex:new RegExp("^"+n.join("")+"$"),map:r(e,"index")}}function s(t){for(var e,n,r=[],i=0;i<t.length;)if(angular.isNumber(n)){if("'"===t.charAt(i))(i+1>=t.length||"'"!==t.charAt(i+1))&&(r.push(u(t,n,i)),n=null);else if(i===t.length)for(;n<t.length;)e=l(t,n),r.push(e),n=e.endIdx;i++}else"'"!==t.charAt(i)?(e=l(t,i),r.push(e.parser),i=e.endIdx):(n=i,i++);return r}function u(t,e,n){return function(){return t.substr(e+1,n-e-1)}}function l(t,e){for(var n=t.substr(e),r=0;r<y.length;r++)if(new RegExp("^"+y[r].key).test(n)){var i=y[r];return{endIdx:e+i.key.length,parser:i.formatter}}return{endIdx:e+1,parser:function(){return n.charAt(0)}}}function c(t,e,n){return!(n<1)&&(1===e&&n>28?29===n&&(t%4==0&&t%100!=0||t%400==0):3!==e&&5!==e&&8!==e&&10!==e||n<31)}function d(t){return parseInt(t,10)}function f(t,e){return t&&e?g(t,e):t}function h(t,e){return t&&e?g(t,e,!0):t}function p(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function m(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function g(t,e,n){n=n?-1:1;var r=t.getTimezoneOffset();return m(t,n*(p(e,r)-r))}var v,y,b=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.init=function(){v=e.id,this.parsers={},this.formatters={},y=[{key:"yyyy",regex:"\\d{4}",apply:function(t){this.year=+t},formatter:function(t){var e=new Date;return e.setFullYear(Math.abs(t.getFullYear())),n(e,"yyyy")}},{key:"yy",regex:"\\d{2}",apply:function(t){t=+t,this.year=t<69?t+2e3:t+1900},formatter:function(t){var e=new Date;return e.setFullYear(Math.abs(t.getFullYear())),n(e,"yy")}},{key:"y",regex:"\\d{1,4}",apply:function(t){this.year=+t},formatter:function(t){var e=new Date;return e.setFullYear(Math.abs(t.getFullYear())),n(e,"y")}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(t){this.month=t-1},formatter:function(t){return/^[0-9]$/.test(t.getMonth())?n(t,"MM"):n(t,"M")}},{key:"MMMM",regex:e.DATETIME_FORMATS.MONTH.join("|"),apply:function(t){this.month=e.DATETIME_FORMATS.MONTH.indexOf(t)},formatter:function(t){return n(t,"MMMM")}},{key:"MMM",regex:e.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(t){this.month=e.DATETIME_FORMATS.SHORTMONTH.indexOf(t)},formatter:function(t){return n(t,"MMM")}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(t){this.month=t-1},formatter:function(t){return n(t,"MM")}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(t){this.month=t-1},formatter:function(t){return n(t,"M")}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(t){this.date=+t},formatter:function(t){return/^[1-9]$/.test(t.getDate())?n(t,"dd"):n(t,"d")}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(t){this.date=+t},formatter:function(t){return n(t,"dd")}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(t){this.date=+t},formatter:function(t){return n(t,"d")}},{key:"EEEE",regex:e.DATETIME_FORMATS.DAY.join("|"),formatter:function(t){return n(t,"EEEE")}},{key:"EEE",regex:e.DATETIME_FORMATS.SHORTDAY.join("|"),formatter:function(t){return n(t,"EEE")}},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(t){this.hours=+t},formatter:function(t){return n(t,"HH")}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(t){this.hours=+t},formatter:function(t){return n(t,"hh")}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(t){this.hours=+t},formatter:function(t){return n(t,"H")}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(t){this.hours=+t},formatter:function(t){return n(t,"h")}},{key:"mm",regex:"[0-5][0-9]",apply:function(t){this.minutes=+t},formatter:function(t){return n(t,"mm")}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(t){this.minutes=+t},formatter:function(t){return n(t,"m")}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(t){this.milliseconds=+t},formatter:function(t){return n(t,"sss")}},{key:"ss",regex:"[0-5][0-9]",apply:function(t){this.seconds=+t},formatter:function(t){return n(t,"ss")}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(t){this.seconds=+t},formatter:function(t){return n(t,"s")}},{key:"a",regex:e.DATETIME_FORMATS.AMPMS.join("|"),apply:function(t){12===this.hours&&(this.hours=0),"PM"===t&&(this.hours+=12)},formatter:function(t){return n(t,"a")}},{key:"Z",regex:"[+-]\\d{4}",apply:function(t){var e=t.match(/([+-])(\d{2})(\d{2})/),n=e[1],r=e[2],i=e[3];this.hours+=d(n+r),this.minutes+=d(n+i)},formatter:function(t){return n(t,"Z")}},{key:"ww",
regex:"[0-4][0-9]|5[0-3]",formatter:function(t){return n(t,"ww")}},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]",formatter:function(t){return n(t,"w")}},{key:"GGGG",regex:e.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s"),formatter:function(t){return n(t,"GGGG")}},{key:"GGG",regex:e.DATETIME_FORMATS.ERAS.join("|"),formatter:function(t){return n(t,"GGG")}},{key:"GG",regex:e.DATETIME_FORMATS.ERAS.join("|"),formatter:function(t){return n(t,"GG")}},{key:"G",regex:e.DATETIME_FORMATS.ERAS.join("|"),formatter:function(t){return n(t,"G")}}],angular.version.major>=1&&angular.version.minor>4&&y.push({key:"LLLL",regex:e.DATETIME_FORMATS.STANDALONEMONTH.join("|"),apply:function(t){this.month=e.DATETIME_FORMATS.STANDALONEMONTH.indexOf(t)},formatter:function(t){return n(t,"LLLL")}})},this.init(),this.getParser=function(t){var e=o(t);return e&&e.apply||null},this.overrideParser=function(t,e){var n=o(t);n&&angular.isFunction(e)&&(this.parsers={},n.apply=e)}.bind(this),this.filter=function(t,n){return angular.isDate(t)&&!isNaN(t)&&n?(n=e.DATETIME_FORMATS[n]||n,e.id!==v&&this.init(),this.formatters[n]||(this.formatters[n]=s(n)),this.formatters[n].reduce(function(e,n){return e+n(t)},"")):""},this.parse=function(n,r,i){if(!angular.isString(n)||!r)return n;r=e.DATETIME_FORMATS[r]||r,r=r.replace(b,"\\$&"),e.id!==v&&this.init(),this.parsers[r]||(this.parsers[r]=a(r));var o=this.parsers[r],s=o.regex,u=o.map,l=n.match(s),d=!1;if(l&&l.length){var f,h;angular.isDate(i)&&!isNaN(i.getTime())?f={year:i.getFullYear(),month:i.getMonth(),date:i.getDate(),hours:i.getHours(),minutes:i.getMinutes(),seconds:i.getSeconds(),milliseconds:i.getMilliseconds()}:(i&&t.warn("dateparser:","baseDate is not a valid date"),f={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var p=1,m=l.length;p<m;p++){var g=u[p-1];"Z"===g.matcher&&(d=!0),g.apply&&g.apply.call(f,l[p])}var y=d?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,$=d?Date.prototype.setUTCHours:Date.prototype.setHours;return c(f.year,f.month,f.date)&&(!angular.isDate(i)||isNaN(i.getTime())||d?(h=new Date(0),y.call(h,f.year,f.month,f.date),$.call(h,f.hours||0,f.minutes||0,f.seconds||0,f.milliseconds||0)):(h=new Date(i),y.call(h,f.year,f.month,f.date),$.call(h,f.hours,f.minutes,f.seconds,f.milliseconds))),h}},this.toTimezone=f,this.fromTimezone=h,this.timezoneToOffset=p,this.addDateMinutes=m,this.convertTimezoneToLocal=g}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(t){var e=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,n=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(r,i){function o(t,e,n){u.push(t),l.push({scope:t,element:e}),p.forEach(function(e,n){a(e,t)}),t.$on("$destroy",s)}function a(e,r){var i=e.match(n),o=r.$eval(i[1]),a=i[2],s=c[e];if(!s){var u=function(e){var n=null;l.some(function(t){if(t.scope.$eval(f)===e)return n=t,!0}),s.lastActivated!==n&&(s.lastActivated&&t.removeClass(s.lastActivated.element,o),n&&t.addClass(n.element,o),s.lastActivated=n)};c[e]=s={lastActivated:null,scope:r,watchFn:u,compareWithExp:a,watcher:r.$watch(a,u)}}s.watchFn(r.$eval(a))}function s(t){var e=t.targetScope,n=u.indexOf(e);if(u.splice(n,1),l.splice(n,1),u.length){var r=u[0];angular.forEach(c,function(t){t.scope===e&&(t.watcher=r.$watch(t.compareWithExp,t.watchFn),t.scope=r)})}else c={}}var u=[],l=[],c={},d=i.uibIsClass.match(e),f=d[2],h=d[1],p=h.split(",");return o}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass"]).value("$datepickerSuppressError",!1).value("$datepickerLiteralWarning",!0).constant("uibDatepickerConfig",{datepickerMode:"day",formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",maxDate:null,maxMode:"year",minDate:null,minMode:"day",monthColumns:3,ngModelOptions:{},shortcutPropagation:!1,showWeeks:!0,yearColumns:5,yearRows:4}).controller("UibDatepickerController",["$scope","$element","$attrs","$parse","$interpolate","$locale","$log","dateFilter","uibDatepickerConfig","$datepickerLiteralWarning","$datepickerSuppressError","uibDateParser",function(t,e,n,r,i,o,a,s,u,l,c,d){function f(e){t.datepickerMode=e,t.datepickerOptions.datepickerMode=e}function h(e){var n;if(angular.version.minor<6)n=e.$options||t.datepickerOptions.ngModelOptions||u.ngModelOptions||{},n.getOption=function(t){return n[t]};else{var r=e.$options.getOption("timezone")||(t.datepickerOptions.ngModelOptions?t.datepickerOptions.ngModelOptions.timezone:null)||(u.ngModelOptions?u.ngModelOptions.timezone:null);n=e.$options.createChild(u.ngModelOptions).createChild(t.datepickerOptions.ngModelOptions).createChild(e.$options).createChild({timezone:r})}return n}var p=this,m={$setViewValue:angular.noop},g={},v=[];e.addClass("uib-datepicker"),n.$set("role","application"),t.datepickerOptions||(t.datepickerOptions={}),this.modes=["day","month","year"],["customClass","dateDisabled","datepickerMode","formatDay","formatDayHeader","formatDayTitle","formatMonth","formatMonthTitle","formatYear","maxDate","maxMode","minDate","minMode","monthColumns","showWeeks","shortcutPropagation","startingDay","yearColumns","yearRows"].forEach(function(e){switch(e){case"customClass":case"dateDisabled":t[e]=t.datepickerOptions[e]||angular.noop;break;case"datepickerMode":t.datepickerMode=angular.isDefined(t.datepickerOptions.datepickerMode)?t.datepickerOptions.datepickerMode:u.datepickerMode;break;case"formatDay":case"formatDayHeader":case"formatDayTitle":case"formatMonth":case"formatMonthTitle":case"formatYear":p[e]=angular.isDefined(t.datepickerOptions[e])?i(t.datepickerOptions[e])(t.$parent):u[e];break;case"monthColumns":case"showWeeks":case"shortcutPropagation":case"yearColumns":case"yearRows":p[e]=angular.isDefined(t.datepickerOptions[e])?t.datepickerOptions[e]:u[e];break;case"startingDay":angular.isDefined(t.datepickerOptions.startingDay)?p.startingDay=t.datepickerOptions.startingDay:angular.isNumber(u.startingDay)?p.startingDay=u.startingDay:p.startingDay=(o.DATETIME_FORMATS.FIRSTDAYOFWEEK+8)%7;break;case"maxDate":case"minDate":t.$watch("datepickerOptions."+e,function(t){t?angular.isDate(t)?p[e]=d.fromTimezone(new Date(t),g.getOption("timezone")):(l&&a.warn("Literal date support has been deprecated, please switch to date object usage"),p[e]=new Date(s(t,"medium"))):p[e]=u[e]?d.fromTimezone(new Date(u[e]),g.getOption("timezone")):null,p.refreshView()});break;case"maxMode":case"minMode":t.datepickerOptions[e]?t.$watch(function(){return t.datepickerOptions[e]},function(n){p[e]=t[e]=angular.isDefined(n)?n:t.datepickerOptions[e],("minMode"===e&&p.modes.indexOf(t.datepickerOptions.datepickerMode)<p.modes.indexOf(p[e])||"maxMode"===e&&p.modes.indexOf(t.datepickerOptions.datepickerMode)>p.modes.indexOf(p[e]))&&(t.datepickerMode=p[e],t.datepickerOptions.datepickerMode=p[e])}):p[e]=t[e]=u[e]||null}}),t.uniqueId="datepicker-"+t.$id+"-"+Math.floor(1e4*Math.random()),t.disabled=angular.isDefined(n.disabled)||!1,angular.isDefined(n.ngDisabled)&&v.push(t.$parent.$watch(n.ngDisabled,function(e){t.disabled=e,p.refreshView()})),t.isActive=function(e){return 0===p.compare(e.date,p.activeDate)&&(t.activeDateId=e.uid,!0)},this.init=function(e){m=e,g=h(m),t.datepickerOptions.initDate?(p.activeDate=d.fromTimezone(t.datepickerOptions.initDate,g.getOption("timezone"))||new Date,t.$watch("datepickerOptions.initDate",function(t){t&&(m.$isEmpty(m.$modelValue)||m.$invalid)&&(p.activeDate=d.fromTimezone(t,g.getOption("timezone")),p.refreshView())})):p.activeDate=new Date;var n=m.$modelValue?new Date(m.$modelValue):new Date;this.activeDate=isNaN(n)?d.fromTimezone(new Date,g.getOption("timezone")):d.fromTimezone(n,g.getOption("timezone")),m.$render=function(){p.render()}},this.render=function(){if(m.$viewValue){var t=new Date(m.$viewValue);!isNaN(t)?this.activeDate=d.fromTimezone(t,g.getOption("timezone")):c||a.error('Datepicker directive: "ng-model" value must be a Date object')}this.refreshView()},this.refreshView=function(){if(this.element){t.selectedDt=null,this._refreshView(),t.activeDt&&(t.activeDateId=t.activeDt.uid);var e=m.$viewValue?new Date(m.$viewValue):null;e=d.fromTimezone(e,g.getOption("timezone")),m.$setValidity("dateDisabled",!e||this.element&&!this.isDisabled(e))}},this.createDateObject=function(e,n){var r=m.$viewValue?new Date(m.$viewValue):null;r=d.fromTimezone(r,g.getOption("timezone"));var i=new Date;i=d.fromTimezone(i,g.getOption("timezone"));var o=this.compare(e,i),a={date:e,label:d.filter(e,n),selected:r&&0===this.compare(e,r),disabled:this.isDisabled(e),past:o<0,current:0===o,future:o>0,customClass:this.customClass(e)||null};return r&&0===this.compare(e,r)&&(t.selectedDt=a),p.activeDate&&0===this.compare(a.date,p.activeDate)&&(t.activeDt=a),a},this.isDisabled=function(e){return t.disabled||this.minDate&&this.compare(e,this.minDate)<0||this.maxDate&&this.compare(e,this.maxDate)>0||t.dateDisabled&&t.dateDisabled({date:e,mode:t.datepickerMode})},this.customClass=function(e){return t.customClass({date:e,mode:t.datepickerMode})},this.split=function(t,e){for(var n=[];t.length>0;)n.push(t.splice(0,e));return n},t.select=function(e){if(t.datepickerMode===p.minMode){var n=m.$viewValue?d.fromTimezone(new Date(m.$viewValue),g.getOption("timezone")):new Date(0,0,0,0,0,0,0);n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n=d.toTimezone(n,g.getOption("timezone")),m.$setViewValue(n),m.$render()}else p.activeDate=e,f(p.modes[p.modes.indexOf(t.datepickerMode)-1]),t.$emit("uib:datepicker.mode");t.$broadcast("uib:datepicker.focus")},t.move=function(t){var e=p.activeDate.getFullYear()+t*(p.step.years||0),n=p.activeDate.getMonth()+t*(p.step.months||0);p.activeDate.setFullYear(e,n,1),p.refreshView()},t.toggleMode=function(e){e=e||1,t.datepickerMode===p.maxMode&&1===e||t.datepickerMode===p.minMode&&-1===e||(f(p.modes[p.modes.indexOf(t.datepickerMode)+e]),t.$emit("uib:datepicker.mode"))},t.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var y=function(){p.element[0].focus()};t.$on("uib:datepicker.focus",y),t.keydown=function(e){var n=t.keys[e.which];if(n&&!e.shiftKey&&!e.altKey&&!t.disabled)if(e.preventDefault(),p.shortcutPropagation||e.stopPropagation(),"enter"===n||"space"===n){if(p.isDisabled(p.activeDate))return;t.select(p.activeDate)}else!e.ctrlKey||"up"!==n&&"down"!==n?(p.handleKeyDown(n,e),p.refreshView()):t.toggleMode("up"===n?1:-1)},e.on("keydown",function(e){t.$apply(function(){t.keydown(e)})}),t.$on("$destroy",function(){for(;v.length;)v.shift()()})}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(t,e,n){function r(t,e){return 1!==e||t%4!=0||t%100==0&&t%400!=0?o[e]:29}function i(t){var e=new Date(t);e.setDate(e.getDate()+4-(e.getDay()||7));var n=e.getTime();return e.setMonth(0),e.setDate(1),Math.floor(Math.round((n-e)/864e5)/7)+1}var o=[31,28,31,30,31,30,31,31,30,31,30,31];this.step={months:1},this.element=e,this.init=function(e){angular.extend(e,this),t.showWeeks=e.showWeeks,e.refreshView()},this.getDates=function(t,e){for(var n,r=new Array(e),i=new Date(t),o=0;o<e;)n=new Date(i),r[o++]=n,i.setDate(i.getDate()+1);return r},this._refreshView=function(){var e=this.activeDate.getFullYear(),r=this.activeDate.getMonth(),o=new Date(this.activeDate);o.setFullYear(e,r,1);var a=this.startingDay-o.getDay(),s=a>0?7-a:-a,u=new Date(o);s>0&&u.setDate(1-s);for(var l=this.getDates(u,42),c=0;c<42;c++)l[c]=angular.extend(this.createDateObject(l[c],this.formatDay),{secondary:l[c].getMonth()!==r,uid:t.uniqueId+"-"+c});t.labels=new Array(7);for(var d=0;d<7;d++)t.labels[d]={abbr:n(l[d].date,this.formatDayHeader),full:n(l[d].date,"EEEE")};if(t.title=n(this.activeDate,this.formatDayTitle),t.rows=this.split(l,7),t.showWeeks){t.weekNumbers=[];for(var f=(11-this.startingDay)%7,h=t.rows.length,p=0;p<h;p++)t.weekNumbers.push(i(t.rows[p][f].date))}},this.compare=function(t,e){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate()),r=new Date(e.getFullYear(),e.getMonth(),e.getDate());return n.setFullYear(t.getFullYear()),r.setFullYear(e.getFullYear()),n-r},this.handleKeyDown=function(t,e){var n=this.activeDate.getDate();if("left"===t)n-=1;else if("up"===t)n-=7;else if("right"===t)n+=1;else if("down"===t)n+=7;else if("pageup"===t||"pagedown"===t){var i=this.activeDate.getMonth()+("pageup"===t?-1:1);this.activeDate.setMonth(i,1),n=Math.min(r(this.activeDate.getFullYear(),this.activeDate.getMonth()),n)}else"home"===t?n=1:"end"===t&&(n=r(this.activeDate.getFullYear(),this.activeDate.getMonth()));this.activeDate.setDate(n)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(t,e,n){this.step={years:1},this.element=e,this.init=function(t){angular.extend(t,this),t.refreshView()},this._refreshView=function(){for(var e,r=new Array(12),i=this.activeDate.getFullYear(),o=0;o<12;o++)e=new Date(this.activeDate),e.setFullYear(i,o,1),r[o]=angular.extend(this.createDateObject(e,this.formatMonth),{uid:t.uniqueId+"-"+o});t.title=n(this.activeDate,this.formatMonthTitle),t.rows=this.split(r,this.monthColumns),t.yearHeaderColspan=this.monthColumns>3?this.monthColumns-2:1},this.compare=function(t,e){var n=new Date(t.getFullYear(),t.getMonth()),r=new Date(e.getFullYear(),e.getMonth());return n.setFullYear(t.getFullYear()),r.setFullYear(e.getFullYear()),n-r},this.handleKeyDown=function(t,e){var n=this.activeDate.getMonth();if("left"===t)n-=1;else if("up"===t)n-=this.monthColumns;else if("right"===t)n+=1;else if("down"===t)n+=this.monthColumns;else if("pageup"===t||"pagedown"===t){var r=this.activeDate.getFullYear()+("pageup"===t?-1:1);this.activeDate.setFullYear(r)}else"home"===t?n=0:"end"===t&&(n=11);this.activeDate.setMonth(n)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(t,e,n){function r(t){return parseInt((t-1)/o,10)*o+1}var i,o;this.element=e,this.yearpickerInit=function(){i=this.yearColumns,o=this.yearRows*i,this.step={years:o}},this._refreshView=function(){for(var e,n=new Array(o),a=0,s=r(this.activeDate.getFullYear());a<o;a++)e=new Date(this.activeDate),e.setFullYear(s+a,0,1),n[a]=angular.extend(this.createDateObject(e,this.formatYear),{uid:t.uniqueId+"-"+a});t.title=[n[0].label,n[o-1].label].join(" - "),t.rows=this.split(n,i),t.columns=i},this.compare=function(t,e){return t.getFullYear()-e.getFullYear()},this.handleKeyDown=function(t,e){var n=this.activeDate.getFullYear();"left"===t?n-=1:"up"===t?n-=i:"right"===t?n+=1:"down"===t?n+=i:"pageup"===t||"pagedown"===t?n+=("pageup"===t?-1:1)*o:"home"===t?n=r(this.activeDate.getFullYear()):"end"===t&&(n=r(this.activeDate.getFullYear())+o-1),this.activeDate.setFullYear(n)}}]).directive("uibDatepicker",function(){return{templateUrl:function(t,e){return e.templateUrl||"views/uib/datepicker/datepicker.html"},scope:{datepickerOptions:"=?"},require:["uibDatepicker","^ngModel"],restrict:"A",controller:"UibDatepickerController",controllerAs:"datepicker",link:function(t,e,n,r){var i=r[0],o=r[1];i.init(o)}}}).directive("uibDaypicker",function(){return{templateUrl:function(t,e){return e.templateUrl||"views/uib/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],restrict:"A",controller:"UibDaypickerController",link:function(t,e,n,r){var i=r[0];r[1].init(i)}}}).directive("uibMonthpicker",function(){return{templateUrl:function(t,e){return e.templateUrl||"views/uib/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],restrict:"A",controller:"UibMonthpickerController",link:function(t,e,n,r){var i=r[0];r[1].init(i)}}}).directive("uibYearpicker",function(){return{templateUrl:function(t,e){return e.templateUrl||"views/uib/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],restrict:"A",controller:"UibYearpickerController",link:function(t,e,n,r){var i=r[0];angular.extend(i,r[1]),i.yearpickerInit(),i.refreshView()}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(t,e){var n,r,i={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},o={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},a=/(HTML|BODY)/;return{getRawNode:function(t){return t.nodeName?t:t[0]||t},parseStyle:function(t){return t=parseFloat(t),isFinite(t)?t:0},offsetParent:function(n){n=this.getRawNode(n);for(var r=n.offsetParent||t[0].documentElement;r&&r!==t[0].documentElement&&function(t){return"static"===(e.getComputedStyle(t).position||"static")}(r);)r=r.offsetParent;return r||t[0].documentElement},scrollbarWidth:function(i){if(i){if(angular.isUndefined(r)){var o=t.find("body");o.addClass("uib-position-body-scrollbar-measure"),r=e.innerWidth-o[0].clientWidth,r=isFinite(r)?r:0,o.removeClass("uib-position-body-scrollbar-measure")}return r}if(angular.isUndefined(n)){var a=angular.element('<div class="uib-position-scrollbar-measure"></div>');t.find("body").append(a),n=a[0].offsetWidth-a[0].clientWidth,n=isFinite(n)?n:0,a.remove()}return n},scrollbarPadding:function(t){t=this.getRawNode(t);var n=e.getComputedStyle(t),r=this.parseStyle(n.paddingRight),i=this.parseStyle(n.paddingBottom),o=this.scrollParent(t,!1,!0),s=this.scrollbarWidth(a.test(o.tagName));return{scrollbarWidth:s,widthOverflow:o.scrollWidth>o.clientWidth,right:r+s,originalRight:r,heightOverflow:o.scrollHeight>o.clientHeight,bottom:i+s,originalBottom:i}},isScrollable:function(t,n){t=this.getRawNode(t);var r=n?i.hidden:i.normal,o=e.getComputedStyle(t);return r.test(o.overflow+o.overflowY+o.overflowX)},scrollParent:function(n,r,o){n=this.getRawNode(n);var a=r?i.hidden:i.normal,s=t[0].documentElement,u=e.getComputedStyle(n);if(o&&a.test(u.overflow+u.overflowY+u.overflowX))return n;var l="absolute"===u.position,c=n.parentElement||s;if(c===s||"fixed"===u.position)return s;for(;c.parentElement&&c!==s;){var d=e.getComputedStyle(c);if(l&&"static"!==d.position&&(l=!1),!l&&a.test(d.overflow+d.overflowY+d.overflowX))break;c=c.parentElement}return c},position:function(n,r){n=this.getRawNode(n);var i=this.offset(n);if(r){var o=e.getComputedStyle(n);i.top-=this.parseStyle(o.marginTop),i.left-=this.parseStyle(o.marginLeft)}var a=this.offsetParent(n),s={top:0,left:0};return a!==t[0].documentElement&&(s=this.offset(a),s.top+=a.clientTop-a.scrollTop,s.left+=a.clientLeft-a.scrollLeft),{width:Math.round(angular.isNumber(i.width)?i.width:n.offsetWidth),height:Math.round(angular.isNumber(i.height)?i.height:n.offsetHeight),top:Math.round(i.top-s.top),left:Math.round(i.left-s.left)}},offset:function(n){n=this.getRawNode(n);var r=n.getBoundingClientRect();return{width:Math.round(angular.isNumber(r.width)?r.width:n.offsetWidth),height:Math.round(angular.isNumber(r.height)?r.height:n.offsetHeight),top:Math.round(r.top+(e.pageYOffset||t[0].documentElement.scrollTop)),left:Math.round(r.left+(e.pageXOffset||t[0].documentElement.scrollLeft))}},viewportOffset:function(n,r,i){n=this.getRawNode(n),i=!1!==i;var o=n.getBoundingClientRect(),a={top:0,left:0,bottom:0,right:0},s=r?t[0].documentElement:this.scrollParent(n),u=s.getBoundingClientRect();if(a.top=u.top+s.clientTop,a.left=u.left+s.clientLeft,s===t[0].documentElement&&(a.top+=e.pageYOffset,a.left+=e.pageXOffset),a.bottom=a.top+s.clientHeight,a.right=a.left+s.clientWidth,i){var l=e.getComputedStyle(s);a.top+=this.parseStyle(l.paddingTop),a.bottom-=this.parseStyle(l.paddingBottom),a.left+=this.parseStyle(l.paddingLeft),a.right-=this.parseStyle(l.paddingRight)}return{top:Math.round(o.top-a.top),bottom:Math.round(a.bottom-o.bottom),left:Math.round(o.left-a.left),right:Math.round(a.right-o.right)}},parsePlacement:function(t){var e=o.auto.test(t);return e&&(t=t.replace(o.auto,"")),t=t.split("-"),t[0]=t[0]||"top",o.primary.test(t[0])||(t[0]="top"),t[1]=t[1]||"center",o.secondary.test(t[1])||(t[1]="center"),t[2]=!!e,t},positionElements:function(t,n,r,i){t=this.getRawNode(t),n=this.getRawNode(n);var a=angular.isDefined(n.offsetWidth)?n.offsetWidth:n.prop("offsetWidth"),s=angular.isDefined(n.offsetHeight)?n.offsetHeight:n.prop("offsetHeight");r=this.parsePlacement(r);var u=i?this.offset(t):this.position(t),l={top:0,left:0,placement:""};if(r[2]){var c=this.viewportOffset(t,i),d=e.getComputedStyle(n),f={width:a+Math.round(Math.abs(this.parseStyle(d.marginLeft)+this.parseStyle(d.marginRight))),height:s+Math.round(Math.abs(this.parseStyle(d.marginTop)+this.parseStyle(d.marginBottom)))};if(r[0]="top"===r[0]&&f.height>c.top&&f.height<=c.bottom?"bottom":"bottom"===r[0]&&f.height>c.bottom&&f.height<=c.top?"top":"left"===r[0]&&f.width>c.left&&f.width<=c.right?"right":"right"===r[0]&&f.width>c.right&&f.width<=c.left?"left":r[0],r[1]="top"===r[1]&&f.height-u.height>c.bottom&&f.height-u.height<=c.top?"bottom":"bottom"===r[1]&&f.height-u.height>c.top&&f.height-u.height<=c.bottom?"top":"left"===r[1]&&f.width-u.width>c.right&&f.width-u.width<=c.left?"right":"right"===r[1]&&f.width-u.width>c.left&&f.width-u.width<=c.right?"left":r[1],"center"===r[1])if(o.vertical.test(r[0])){var h=u.width/2-a/2;c.left+h<0&&f.width-u.width<=c.right?r[1]="left":c.right+h<0&&f.width-u.width<=c.left&&(r[1]="right")}else{var p=u.height/2-f.height/2;c.top+p<0&&f.height-u.height<=c.bottom?r[1]="top":c.bottom+p<0&&f.height-u.height<=c.top&&(r[1]="bottom")}}switch(r[0]){case"top":l.top=u.top-s;break;case"bottom":l.top=u.top+u.height;break;case"left":l.left=u.left-a;break;case"right":l.left=u.left+u.width}switch(r[1]){case"top":l.top=u.top;break;case"bottom":l.top=u.top+u.height-s;break;case"left":l.left=u.left;break;case"right":l.left=u.left+u.width-a;break;case"center":o.vertical.test(r[0])?l.left=u.left+u.width/2-a/2:l.top=u.top+u.height/2-s/2}return l.top=Math.round(l.top),l.left=Math.round(l.left),l.placement="center"===r[1]?r[0]:r[0]+"-"+r[1],l},adjustTop:function(t,e,n,r){if(-1!==t.indexOf("top")&&n!==r)return{top:e.top-r+"px"}},positionArrow:function(t,n){t=this.getRawNode(t);var r=t.querySelector(".tooltip-inner, .popover-inner");if(r){var i=angular.element(r).hasClass("tooltip-inner"),a=i?t.querySelector(".tooltip-arrow"):t.querySelector(".arrow");if(a){var s={top:"",bottom:"",left:"",right:""};if(n=this.parsePlacement(n),"center"===n[1])return void angular.element(a).css(s);var u="border-"+n[0]+"-width",l=e.getComputedStyle(a)[u],c="border-";o.vertical.test(n[0])?c+=n[0]+"-"+n[1]:c+=n[1]+"-"+n[0],c+="-radius";var d=e.getComputedStyle(i?r:t)[c];switch(n[0]){case"top":s.bottom=i?"0":"-"+l;break;case"bottom":s.top=i?"0":"-"+l;break;case"left":s.right=i?"0":"-"+l;break;case"right":s.left=i?"0":"-"+l}s[n[1]]=d,angular.element(a).css(s)}}}}}]),angular.module("ui.bootstrap.datepickerPopup",["ui.bootstrap.datepicker","ui.bootstrap.position"]).value("$datepickerPopupLiteralWarning",!0).constant("uibDatepickerPopupConfig",{altInputFormats:[],appendToBody:!1,clearText:"Clear",closeOnDateSelection:!0,closeText:"Done",currentText:"Today",datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"views/uib/datepickerPopup/popup.html",datepickerTemplateUrl:"views/uib/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},onOpenFocus:!0,showButtonBar:!0,placement:"auto bottom-left"}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$log","$parse","$window","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig","$datepickerPopupLiteralWarning",function(t,e,n,r,i,o,a,s,u,l,c,d,f,h,p,m){function g(e){var n=d.parse(e,_,t.date);if(isNaN(n))for(var r=0;r<R.length;r++)if(n=d.parse(e,R[r],t.date),!isNaN(n))return n;return n}function v(t){if(angular.isNumber(t)&&(t=new Date(t)),!t)return null;if(angular.isDate(t)&&!isNaN(t))return t;if(angular.isString(t)){var e=g(t);if(!isNaN(e))return d.toTimezone(e,P.getOption("timezone"))}return P.getOption("allowInvalid")?t:void 0}function y(t,e){var r=t||e;return!n.ngRequired&&!r||(angular.isNumber(r)&&(r=new Date(r)),!r||(!(!angular.isDate(r)||isNaN(r))||!!angular.isString(r)&&!isNaN(g(r))))}function b(n){if(t.isOpen||!t.disabled){var r=F[0],i=e[0].contains(n.target),o=void 0!==r.contains&&r.contains(n.target);!t.isOpen||i||o||t.$apply(function(){t.isOpen=!1})}}function $(n){27===n.which&&t.isOpen?(n.preventDefault(),n.stopPropagation(),t.$apply(function(){t.isOpen=!1}),e[0].focus()):40!==n.which||t.isOpen||(n.preventDefault(),n.stopPropagation(),t.$apply(function(){t.isOpen=!0}))}function w(){if(t.isOpen){var r=angular.element(F[0].querySelector(".uib-datepicker-popup")),i=n.popupPlacement?n.popupPlacement:f.placement,o=l.positionElements(e,r,i,x);r.css({top:o.top+"px",left:o.left+"px"}),r.hasClass("uib-position-measure")&&r.removeClass("uib-position-measure")}}function k(t){var e;return angular.version.minor<6?(e=angular.isObject(t.$options)?t.$options:{timezone:null},e.getOption=function(t){return e[t]}):e=t.$options,e}var _,C,x,S,E,D,A,M,T,O,P,F,R,V=!1,N=[];this.init=function(i){if(O=i,P=k(O),C=angular.isDefined(n.closeOnDateSelection)?t.$parent.$eval(n.closeOnDateSelection):f.closeOnDateSelection,x=angular.isDefined(n.datepickerAppendToBody)?t.$parent.$eval(n.datepickerAppendToBody):f.appendToBody,S=angular.isDefined(n.onOpenFocus)?t.$parent.$eval(n.onOpenFocus):f.onOpenFocus,E=angular.isDefined(n.datepickerPopupTemplateUrl)?n.datepickerPopupTemplateUrl:f.datepickerPopupTemplateUrl,D=angular.isDefined(n.datepickerTemplateUrl)?n.datepickerTemplateUrl:f.datepickerTemplateUrl,R=angular.isDefined(n.altInputFormats)?t.$parent.$eval(n.altInputFormats):f.altInputFormats,t.showButtonBar=angular.isDefined(n.showButtonBar)?t.$parent.$eval(n.showButtonBar):f.showButtonBar,f.html5Types[n.type]?(_=f.html5Types[n.type],V=!0):(_=n.uibDatepickerPopup||f.datepickerPopup,n.$observe("uibDatepickerPopup",function(t,e){var n=t||f.datepickerPopup;if(n!==_&&(_=n,O.$modelValue=null,!_))throw new Error("uibDatepickerPopup must have a date format specified.")})),!_)throw new Error("uibDatepickerPopup must have a date format specified.");if(V&&n.uibDatepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");A=angular.element("<div uib-datepicker-popup-wrap><div uib-datepicker></div></div>"),A.attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":E}),M=angular.element(A.children()[0]),M.attr("template-url",D),t.datepickerOptions||(t.datepickerOptions={}),V&&"month"===n.type&&(t.datepickerOptions.datepickerMode="month",t.datepickerOptions.minMode="month"),M.attr("datepicker-options","datepickerOptions"),V?O.$formatters.push(function(e){return t.date=d.fromTimezone(e,P.getOption("timezone")),e}):(O.$$parserName="date",O.$validators.date=y,O.$parsers.unshift(v),O.$formatters.push(function(e){return O.$isEmpty(e)?(t.date=e,e):(angular.isNumber(e)&&(e=new Date(e)),t.date=d.fromTimezone(e,P.getOption("timezone")),d.filter(t.date,_))})),O.$viewChangeListeners.push(function(){t.date=g(O.$viewValue)}),e.on("keydown",$),F=r(A)(t),A.remove(),x?s.find("body").append(F):e.after(F),t.$on("$destroy",function(){for(!0===t.isOpen&&(u.$$phase||t.$apply(function(){t.isOpen=!1})),F.remove(),e.off("keydown",$),s.off("click",b),T&&T.off("scroll",w),angular.element(a).off("resize",w);N.length;)N.shift()()})},t.getText=function(e){return t[e+"Text"]||f[e+"Text"]},t.isDisabled=function(e){"today"===e&&(e=d.fromTimezone(new Date,P.getOption("timezone")));var n={};return angular.forEach(["minDate","maxDate"],function(e){t.datepickerOptions[e]?angular.isDate(t.datepickerOptions[e])?n[e]=new Date(t.datepickerOptions[e]):(m&&i.warn("Literal date support has been deprecated, please switch to date object usage"),n[e]=new Date(c(t.datepickerOptions[e],"medium"))):n[e]=null}),t.datepickerOptions&&n.minDate&&t.compare(e,n.minDate)<0||n.maxDate&&t.compare(e,n.maxDate)>0},t.compare=function(t,e){return new Date(t.getFullYear(),t.getMonth(),t.getDate())-new Date(e.getFullYear(),e.getMonth(),e.getDate())},t.dateSelection=function(n){t.date=n;var r=t.date?d.filter(t.date,_):null;e.val(r),O.$setViewValue(r),C&&(t.isOpen=!1,e[0].focus())},t.keydown=function(n){27===n.which&&(n.stopPropagation(),t.isOpen=!1,e[0].focus())},t.select=function(e,n){if(n.stopPropagation(),"today"===e){var r=new Date;angular.isDate(t.date)?(e=new Date(t.date),e.setFullYear(r.getFullYear(),r.getMonth(),r.getDate())):(e=d.fromTimezone(r,P.getOption("timezone")),e.setHours(0,0,0,0))}t.dateSelection(e)},t.close=function(n){n.stopPropagation(),t.isOpen=!1,e[0].focus()},t.disabled=angular.isDefined(n.disabled)||!1,n.ngDisabled&&N.push(t.$parent.$watch(o(n.ngDisabled),function(e){t.disabled=e})),t.$watch("isOpen",function(r){r?t.disabled?t.isOpen=!1:h(function(){w(),S&&t.$broadcast("uib:datepicker.focus"),s.on("click",b);var r=n.popupPlacement?n.popupPlacement:f.placement;x||l.parsePlacement(r)[2]?(T=T||angular.element(l.scrollParent(e)))&&T.on("scroll",w):T=null,angular.element(a).on("resize",w)},0,!1):(s.off("click",b),T&&T.off("scroll",w),angular.element(a).off("resize",w))}),t.$on("uib:datepicker.mode",function(){h(w,0,!1)})}]).directive("uibDatepickerPopup",function(){return{require:["ngModel","uibDatepickerPopup"],controller:"UibDatepickerPopupController",scope:{datepickerOptions:"=?",isOpen:"=?",currentText:"@",clearText:"@",closeText:"@"},link:function(t,e,n,r){var i=r[0];r[1].init(i)}}}).directive("uibDatepickerPopupWrap",function(){return{restrict:"A",transclude:!0,templateUrl:function(t,e){return e.templateUrl||"views/uib/datepickerPopup/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(t){return function(e,n){var r;return function(){var i=this,o=Array.prototype.slice.call(arguments);r&&t.cancel(r),r=t(function(){e.apply(i,o)},n)}}}]),angular.module("ui.bootstrap.multiMap",[]).factory("$$multiMap",function(){return{createNew:function(){var t={};return{entries:function(){return Object.keys(t).map(function(e){return{key:e,value:t[e]}})},get:function(e){return t[e]},hasKey:function(e){return!!t[e]},keys:function(){return Object.keys(t)},put:function(e,n){t[e]||(t[e]=[]),t[e].push(n)},remove:function(e,n){var r=t[e];if(r){var i=r.indexOf(n);-1!==i&&r.splice(i,1),r.length||delete t[e]}}}}}}),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.multiMap","ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope","$$multiMap",function(t,e,n){var r=null,i=n.createNew();this.isOnlyOpen=function(t,e){var n=i.get(e);if(n){if(n.reduce(function(e,n){return n.scope===t?n:e},{}))return 1===n.length}return!1},this.open=function(e,n,a){if(r||t.on("click",o),r&&r!==e&&(r.isOpen=!1),r=e,a){var s=i.get(a);if(s){-1===s.map(function(t){return t.scope}).indexOf(e)&&i.put(a,{scope:e})}else i.put(a,{scope:e})}},this.close=function(e,n,a){if(r===e&&(t.off("click",o),t.off("keydown",this.keybindFilter),r=null),a){var s=i.get(a);if(s){var u=s.reduce(function(t,n){return n.scope===e?n:t},{});u&&i.remove(a,u)}}};var o=function(t){if(r&&r.isOpen&&!(t&&"disabled"===r.getAutoClose()||t&&3===t.which)){var n=r.getToggleElement();if(!(t&&n&&n[0].contains(t.target))){var i=r.getDropdownElement();t&&"outsideClick"===r.getAutoClose()&&i&&i[0].contains(t.target)||(r.focusToggleElement(),r.isOpen=!1,e.$$phase||r.$apply())}}};this.keybindFilter=function(t){if(r){var e=r.getDropdownElement(),n=r.getToggleElement(),i=e&&e[0].contains(t.target),a=n&&n[0].contains(t.target);27===t.which?(t.stopPropagation(),r.focusToggleElement(),o()):r.isKeynavEnabled()&&-1!==[38,40].indexOf(t.which)&&r.isOpen&&(i||a)&&(t.preventDefault(),t.stopPropagation(),r.focusDropdownEntry(t.which))}}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(t,e,n,r,i,o,a,s,u,l,c){function d(){e.append(p.dropdownMenu)}
var f,h,p=this,m=t.$new(),g=i.appendToOpenClass,v=i.openClass,y=angular.noop,b=n.onToggle?r(n.onToggle):angular.noop,$=!1,w=u.find("body");e.addClass("dropdown"),this.init=function(){n.isOpen&&(h=r(n.isOpen),y=h.assign,t.$watch(h,function(t){m.isOpen=!!t})),$=angular.isDefined(n.keyboardNav)},this.toggle=function(t){return m.isOpen=arguments.length?!!t:!m.isOpen,angular.isFunction(y)&&y(m,m.isOpen),m.isOpen},this.isOpen=function(){return m.isOpen},m.getToggleElement=function(){return p.toggleElement},m.getAutoClose=function(){return n.autoClose||"always"},m.getElement=function(){return e},m.isKeynavEnabled=function(){return $},m.focusDropdownEntry=function(t){var n=p.dropdownMenu?angular.element(p.dropdownMenu).find("a"):e.find("ul").eq(0).find("a");switch(t){case 40:angular.isNumber(p.selectedOption)?p.selectedOption=p.selectedOption===n.length-1?p.selectedOption:p.selectedOption+1:p.selectedOption=0;break;case 38:angular.isNumber(p.selectedOption)?p.selectedOption=0===p.selectedOption?0:p.selectedOption-1:p.selectedOption=n.length-1}n[p.selectedOption].focus()},m.getDropdownElement=function(){return p.dropdownMenu},m.focusToggleElement=function(){p.toggleElement&&p.toggleElement[0].focus()},m.$watch("isOpen",function(i,h){var $=null,k=!1;if(angular.isDefined(n.dropdownAppendTo)){var _=r(n.dropdownAppendTo)(m);_&&($=angular.element(_))}if(angular.isDefined(n.dropdownAppendToBody)){!1!==r(n.dropdownAppendToBody)(m)&&(k=!0)}if(k&&!$&&($=w),$&&p.dropdownMenu&&(i?($.append(p.dropdownMenu),e.on("$destroy",d)):(e.off("$destroy",d),d())),$&&p.dropdownMenu){var C,x,S,E=s.positionElements(e,p.dropdownMenu,"bottom-left",!0),D=0;if(C={top:E.top+"px",display:i?"block":"none"},x=p.dropdownMenu.hasClass("dropdown-menu-right"),x?(C.left="auto",S=s.scrollbarPadding($),S.heightOverflow&&S.scrollbarWidth&&(D=S.scrollbarWidth),C.right=window.innerWidth-D-(E.left+e.prop("offsetWidth"))+"px"):(C.left=E.left+"px",C.right="auto"),!k){var A=s.offset($);C.top=E.top-A.top+"px",x?C.right=window.innerWidth-(E.left-A.left+e.prop("offsetWidth"))+"px":C.left=E.left-A.left+"px"}p.dropdownMenu.css(C)}var M=$||e,T=$?g:v,O=M.hasClass(T),P=o.isOnlyOpen(t,$);if(O===!i){var F;F=$?P?"removeClass":"addClass":i?"addClass":"removeClass",a[F](M,T).then(function(){angular.isDefined(i)&&i!==h&&b(t,{open:!!i})})}if(i)p.dropdownMenuTemplateUrl?c(p.dropdownMenuTemplateUrl).then(function(t){f=m.$new(),l(t.trim())(f,function(t){var e=t;p.dropdownMenu.replaceWith(e),p.dropdownMenu=e,u.on("keydown",o.keybindFilter)})}):u.on("keydown",o.keybindFilter),m.focusToggleElement(),o.open(m,e,$);else{if(o.close(m,e,$),p.dropdownMenuTemplateUrl){f&&f.$destroy();var R=angular.element('<ul class="dropdown-menu"></ul>');p.dropdownMenu.replaceWith(R),p.dropdownMenu=R}p.selectedOption=null}angular.isFunction(y)&&y(t,i)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(t,e,n,r){r.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(t,e,n,r){if(r&&!angular.isDefined(n.dropdownNested)){e.addClass("dropdown-menu");var i=n.templateUrl;i&&(r.dropdownMenuTemplateUrl=i),r.dropdownMenu||(r.dropdownMenu=e)}}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(t,e,n,r){if(r){e.addClass("dropdown-toggle"),r.toggleElement=e;var i=function(i){i.preventDefault(),e.hasClass("disabled")||n.disabled||t.$apply(function(){r.toggle()})};e.on("click",i),e.attr({"aria-haspopup":!0,"aria-expanded":!1}),t.$watch(r.isOpen,function(t){e.attr("aria-expanded",!!t)}),t.$on("$destroy",function(){e.off("click",i)})}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var t=[];return{add:function(e,n){t.push({key:e,value:n})},get:function(e){for(var n=0;n<t.length;n++)if(e===t[n].key)return t[n]},keys:function(){for(var e=[],n=0;n<t.length;n++)e.push(t[n].key);return e},top:function(){return t[t.length-1]},remove:function(e){for(var n=-1,r=0;r<t.length;r++)if(e===t[r].key){n=r;break}return t.splice(n,1)[0]},removeTop:function(){return t.pop()},length:function(){return t.length}}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.multiMap","ui.bootstrap.stackedMap","ui.bootstrap.position"]).provider("$uibResolve",function(){var t=this;this.resolver=null,this.setResolver=function(t){this.resolver=t},this.$get=["$injector","$q",function(e,n){var r=t.resolver?e.get(t.resolver):null;return{resolve:function(t,i,o,a){if(r)return r.resolve(t,i,o,a);var s=[];return angular.forEach(t,function(t){angular.isFunction(t)||angular.isArray(t)?s.push(n.resolve(e.invoke(t))):angular.isString(t)?s.push(n.resolve(e.get(t))):s.push(n.resolve(t))}),n.all(s).then(function(e){var n={},r=0;return angular.forEach(t,function(t,i){n[i]=e[r++]}),n})}}}]}).directive("uibModalBackdrop",["$animate","$injector","$uibModalStack",function(t,e,n){function r(e,r,i){i.modalInClass&&(t.addClass(r,i.modalInClass),e.$on(n.NOW_CLOSING_EVENT,function(n,o){var a=o();e.modalOptions.animation?t.removeClass(r,i.modalInClass).then(a):a()}))}return{restrict:"A",compile:function(t,e){return t.addClass(e.backdropClass),r}}}]).directive("uibModalWindow",["$uibModalStack","$q","$animateCss","$document",function(t,e,n,r){return{scope:{index:"@"},restrict:"A",transclude:!0,templateUrl:function(t,e){return e.templateUrl||"views/uib/modal/window.html"},link:function(i,o,a){o.addClass(a.windowTopClass||""),i.size=a.size,i.close=function(e){var n=t.getTop();n&&n.value.backdrop&&"static"!==n.value.backdrop&&e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),t.dismiss(n.key,"backdrop click"))},o.on("click",i.close),i.$isRendered=!0;var s=e.defer();i.$$postDigest(function(){s.resolve()}),s.promise.then(function(){var s=null;a.modalInClass&&(s=n(o,{addClass:a.modalInClass}).start(),i.$on(t.NOW_CLOSING_EVENT,function(t,e){var r=e();n(o,{removeClass:a.modalInClass}).start().then(r)})),e.when(s).then(function(){var e=t.getTop();if(e&&t.modalRendered(e.key),!r[0].activeElement||!o[0].contains(r[0].activeElement)){var n=o[0].querySelector("[autofocus]");n?n.focus():o[0].focus()}})})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(t,e){e.modalAnimation&&t.addClass(e.uibModalAnimationClass)}}}).directive("uibModalTransclude",["$animate",function(t){return{link:function(e,n,r,i,o){o(e.$parent,function(e){n.empty(),t.enter(e,n)})}}}]).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap","$uibPosition",function(t,e,n,r,i,o,a,s,u){function l(t){return t.replace(A,function(t,e){return(e?"-":"")+t.toLowerCase()})}function c(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function d(){for(var t=-1,e=_.keys(),n=0;n<e.length;n++)_.get(e[n]).value.backdrop&&(t=n);return t>-1&&t<S&&(t=S),t}function f(t,e){var n=_.get(t).value,r=n.appendTo;_.remove(t),E=_.top(),E&&(S=parseInt(E.value.modalDomEl.attr("index"),10)),m(n.modalDomEl,n.modalScope,function(){var e=n.openedClass||k;C.remove(e,t);var i=C.hasKey(e);r.toggleClass(e,i),!i&&w&&w.heightOverflow&&w.scrollbarWidth&&(w.originalRight?r.css({paddingRight:w.originalRight+"px"}):r.css({paddingRight:""}),w=null),h(!0)},n.closedDeferred),p(),e&&e.focus?e.focus():r.focus&&r.focus()}function h(t){var e;_.length()>0&&(e=_.top().value,e.modalDomEl.toggleClass(e.windowTopClass||"",t))}function p(){if(b&&-1===d()){var t=$;m(b,$,function(){t=null}),b=void 0,$=void 0}}function m(e,n,r,i){function a(){a.done||(a.done=!0,t.leave(e).then(function(){r&&r(),e.remove(),i&&i.resolve()}),n.$destroy())}var s,u=null,l=function(){return s||(s=o.defer(),u=s.promise),function(){s.resolve()}};return n.$broadcast(x.NOW_CLOSING_EVENT,l),o.when(u).then(a)}function g(t){if(t.isDefaultPrevented())return t;var e=_.top();if(e)switch(t.which){case 27:e.value.keyboard&&(t.preventDefault(),i.$apply(function(){x.dismiss(e.key,"escape key press")}));break;case 9:var n=x.loadFocusElementList(e),r=!1;t.shiftKey?(x.isFocusInFirstItem(t,n)||x.isModalFocused(t,e))&&(r=x.focusLastFocusableElement(n)):x.isFocusInLastItem(t,n)&&(r=x.focusFirstFocusableElement(n)),r&&(t.preventDefault(),t.stopPropagation())}}function v(t,e,n){return!t.value.modalScope.$broadcast("modal.closing",e,n).defaultPrevented}function y(){Array.prototype.forEach.call(document.querySelectorAll("["+D+"]"),function(t){var e=parseInt(t.getAttribute(D),10),n=e-1;t.setAttribute(D,n),n||(t.removeAttribute(D),t.removeAttribute("aria-hidden"))})}var b,$,w,k="modal-open",_=s.createNew(),C=a.createNew(),x={NOW_CLOSING_EVENT:"modal.stack.now-closing"},S=0,E=null,D="data-bootstrap-modal-aria-hidden-count",A=/[A-Z]/g;return i.$watch(d,function(t){$&&($.index=t)}),n.on("keydown",g),i.$on("$destroy",function(){n.off("keydown",g)}),x.open=function(e,o){function a(t){if(t&&"BODY"!==t[0].tagName)return function(t){var e=t.parent()?t.parent().children():[];return Array.prototype.filter.call(e,function(e){return e!==t[0]})}(t).forEach(function(t){var e="true"===t.getAttribute("aria-hidden"),n=parseInt(t.getAttribute(D),10);n||(n=e?1:0),t.setAttribute(D,n+1),t.setAttribute("aria-hidden","true")}),a(t.parent())}var s=n[0].activeElement,c=o.openedClass||k;h(!1),E=_.top(),_.add(e,{deferred:o.deferred,renderDeferred:o.renderDeferred,closedDeferred:o.closedDeferred,modalScope:o.scope,backdrop:o.backdrop,keyboard:o.keyboard,openedClass:o.openedClass,windowTopClass:o.windowTopClass,animation:o.animation,appendTo:o.appendTo}),C.put(c,e);var f=o.appendTo,p=d();p>=0&&!b&&($=i.$new(!0),$.modalOptions=o,$.index=p,b=angular.element('<div uib-modal-backdrop="modal-backdrop"></div>'),b.attr({class:"modal-backdrop","ng-style":"{'z-index': 1040 + (index && 1 || 0) + index*10}","uib-modal-animation-class":"fade","modal-in-class":"in"}),o.backdropClass&&b.addClass(o.backdropClass),o.animation&&b.attr("modal-animation","true"),r(b)($),t.enter(b,f),u.isScrollable(f)&&(w=u.scrollbarPadding(f),w.heightOverflow&&w.scrollbarWidth&&f.css({paddingRight:w.right+"px"})));var m;o.component?(m=document.createElement(l(o.component.name)),m=angular.element(m),m.attr({resolve:"$resolve","modal-instance":"$uibModalInstance",close:"$close($value)",dismiss:"$dismiss($value)"})):m=o.content,S=E?parseInt(E.value.modalDomEl.attr("index"),10)+1:0;var g=angular.element('<div uib-modal-window="modal-window"></div>');g.attr({class:"modal","template-url":o.windowTemplateUrl,"window-top-class":o.windowTopClass,role:"dialog","aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,size:o.size,index:S,animate:"animate","ng-style":"{'z-index': 1050 + $$topModalIndex*10, display: 'block'}",tabindex:-1,"uib-modal-animation-class":"fade","modal-in-class":"in"}).append(m),o.windowClass&&g.addClass(o.windowClass),o.animation&&g.attr("modal-animation","true"),f.addClass(c),o.scope&&(o.scope.$$topModalIndex=S),t.enter(r(g)(o.scope),f),_.top().value.modalDomEl=g,_.top().value.modalOpener=s,a(g)},x.close=function(t,e){var n=_.get(t);return y(),n&&v(n,e,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(e),f(t,n.value.modalOpener),!0):!n},x.dismiss=function(t,e){var n=_.get(t);return y(),n&&v(n,e,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(e),f(t,n.value.modalOpener),!0):!n},x.dismissAll=function(t){for(var e=this.getTop();e&&this.dismiss(e.key,t);)e=this.getTop()},x.getTop=function(){return _.top()},x.modalRendered=function(t){var e=_.get(t);e&&e.value.renderDeferred.resolve()},x.focusFirstFocusableElement=function(t){return t.length>0&&(t[0].focus(),!0)},x.focusLastFocusableElement=function(t){return t.length>0&&(t[t.length-1].focus(),!0)},x.isModalFocused=function(t,e){if(t&&e){var n=e.value.modalDomEl;if(n&&n.length)return(t.target||t.srcElement)===n[0]}return!1},x.isFocusInFirstItem=function(t,e){return e.length>0&&(t.target||t.srcElement)===e[0]},x.isFocusInLastItem=function(t,e){return e.length>0&&(t.target||t.srcElement)===e[e.length-1]},x.loadFocusElementList=function(t){if(t){var e=t.value.modalDomEl;if(e&&e.length){var n=e[0].querySelectorAll("a[href], area[href], input:not([disabled]):not([tabindex='-1']), button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), textarea:not([disabled]):not([tabindex='-1']), iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]");return n?Array.prototype.filter.call(n,function(t){return c(t)}):n}}},x}]).provider("$uibModal",function(){var t={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(e,n,r,i,o,a,s){function u(t){return t.template?n.when(t.template):i(angular.isFunction(t.templateUrl)?t.templateUrl():t.templateUrl)}var l={},c=null;return l.getPromiseChain=function(){return c},l.open=function(i){function l(){return g}var d=n.defer(),f=n.defer(),h=n.defer(),p=n.defer(),m={result:d.promise,opened:f.promise,closed:h.promise,rendered:p.promise,close:function(t){return s.close(m,t)},dismiss:function(t){return s.dismiss(m,t)}};if(i=angular.extend({},t.options,i),i.resolve=i.resolve||{},i.appendTo=i.appendTo||r.find("body").eq(0),!i.appendTo.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");if(!i.component&&!i.template&&!i.templateUrl)throw new Error("One of component or template or templateUrl options is required.");var g;g=i.component?n.when(a.resolve(i.resolve,{},null,null)):n.all([u(i),a.resolve(i.resolve,{},null,null)]);var v;return v=c=n.all([c]).then(l,l).then(function(t){function n(e,n,r,i){e.$scope=a,e.$scope.$resolve={},r?e.$scope.$uibModalInstance=m:e.$uibModalInstance=m;var o=n?t[1]:t;angular.forEach(o,function(t,n){i&&(e[n]=t),e.$scope.$resolve[n]=t})}var r=i.scope||e,a=r.$new();a.$close=m.close,a.$dismiss=m.dismiss,a.$on("$destroy",function(){a.$$uibDestructionScheduled||a.$dismiss("$uibUnscheduledDestruction")});var u,l,c={scope:a,deferred:d,renderDeferred:p,closedDeferred:h,animation:i.animation,backdrop:i.backdrop,keyboard:i.keyboard,backdropClass:i.backdropClass,windowTopClass:i.windowTopClass,windowClass:i.windowClass,windowTemplateUrl:i.windowTemplateUrl,ariaLabelledBy:i.ariaLabelledBy,ariaDescribedBy:i.ariaDescribedBy,size:i.size,openedClass:i.openedClass,appendTo:i.appendTo},g={},v={};i.component?(n(g,!1,!0,!1),g.name=i.component,c.component=g):i.controller&&(n(v,!0,!1,!0),l=o(i.controller,v,!0,i.controllerAs),i.controllerAs&&i.bindToController&&(u=l.instance,u.$close=a.$close,u.$dismiss=a.$dismiss,angular.extend(u,{$resolve:v.$scope.$resolve},r)),u=l(),angular.isFunction(u.$onInit)&&u.$onInit()),i.component||(c.content=t[0]),s.open(m,c),f.resolve(!0)},function(t){f.reject(t),d.reject(t)}).finally(function(){c===v&&(c=null)}),m},l}]};return t}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(t){return{create:function(e,n,r){e.setNumPages=r.numPages?t(r.numPages).assign:angular.noop,e.ngModelCtrl={$setViewValue:angular.noop},e._watchers=[],e.init=function(t,i){e.ngModelCtrl=t,e.config=i,t.$render=function(){e.render()},r.itemsPerPage?e._watchers.push(n.$parent.$watch(r.itemsPerPage,function(t){e.itemsPerPage=parseInt(t,10),n.totalPages=e.calculateTotalPages(),e.updatePage()})):e.itemsPerPage=i.itemsPerPage,n.$watch("totalItems",function(t,r){(angular.isDefined(t)||t!==r)&&(n.totalPages=e.calculateTotalPages(),e.updatePage())})},e.calculateTotalPages=function(){var t=e.itemsPerPage<1?1:Math.ceil(n.totalItems/e.itemsPerPage);return Math.max(t||0,1)},e.render=function(){n.page=parseInt(e.ngModelCtrl.$viewValue,10)||1},n.selectPage=function(t,r){r&&r.preventDefault(),(!n.ngDisabled||!r)&&n.page!==t&&t>0&&t<=n.totalPages&&(r&&r.target&&r.target.blur(),e.ngModelCtrl.$setViewValue(t),e.ngModelCtrl.$render())},n.getText=function(t){return n[t+"Text"]||e.config[t+"Text"]},n.noPrevious=function(){return 1===n.page},n.noNext=function(){return n.page===n.totalPages},e.updatePage=function(){e.setNumPages(n.$parent,n.totalPages),n.page>n.totalPages?n.selectPage(n.totalPages):e.ngModelCtrl.$render()},n.$on("$destroy",function(){for(;e._watchers.length;)e._watchers.shift()()})}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(t,e,n,r){t.align=angular.isDefined(e.align)?t.$parent.$eval(e.align):r.align,n.create(this,t,e)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("uibPager",["uibPagerConfig",function(t){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],restrict:"A",controller:"UibPagerController",controllerAs:"pager",templateUrl:function(t,e){return e.templateUrl||"views/uib/pager/pager.html"},link:function(e,n,r,i){n.addClass("pager");var o=i[0],a=i[1];a&&o.init(a,t)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(t,e,n,r,i){function o(t,e,n){return{number:t,text:e,active:n}}function a(t,e){var n=[],r=1,i=e,a=angular.isDefined(u)&&u<e;a&&(l?(r=Math.max(t-Math.floor(u/2),1),(i=r+u-1)>e&&(i=e,r=i-u+1)):(r=(Math.ceil(t/u)-1)*u+1,i=Math.min(r+u-1,e)));for(var s=r;s<=i;s++){var h=o(s,f(s),s===t);n.push(h)}if(a&&u>0&&(!l||c||d)){if(r>1){if(!d||r>3){var p=o(r-1,"...",!1);n.unshift(p)}if(d){if(3===r){var m=o(2,"2",!1);n.unshift(m)}var g=o(1,"1",!1);n.unshift(g)}}if(i<e){if(!d||i<e-2){var v=o(i+1,"...",!1);n.push(v)}if(d){if(i===e-2){var y=o(e-1,e-1,!1);n.push(y)}var b=o(e,e,!1);n.push(b)}}}return n}var s=this,u=angular.isDefined(e.maxSize)?t.$parent.$eval(e.maxSize):i.maxSize,l=angular.isDefined(e.rotate)?t.$parent.$eval(e.rotate):i.rotate,c=angular.isDefined(e.forceEllipses)?t.$parent.$eval(e.forceEllipses):i.forceEllipses,d=angular.isDefined(e.boundaryLinkNumbers)?t.$parent.$eval(e.boundaryLinkNumbers):i.boundaryLinkNumbers,f=angular.isDefined(e.pageLabel)?function(n){return t.$parent.$eval(e.pageLabel,{$page:n})}:angular.identity;t.boundaryLinks=angular.isDefined(e.boundaryLinks)?t.$parent.$eval(e.boundaryLinks):i.boundaryLinks,t.directionLinks=angular.isDefined(e.directionLinks)?t.$parent.$eval(e.directionLinks):i.directionLinks,e.$set("role","menu"),r.create(this,t,e),e.maxSize&&s._watchers.push(t.$parent.$watch(n(e.maxSize),function(t){u=parseInt(t,10),s.render()}));var h=this.render;this.render=function(){h(),t.page>0&&t.page<=t.totalPages&&(t.pages=a(t.page,t.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("uibPagination",["$parse","uibPaginationConfig",function(t,e){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["uibPagination","?ngModel"],restrict:"A",controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(t,e){return e.templateUrl||"views/uib/pagination/pagination.html"},link:function(t,n,r,i){n.addClass("pagination");var o=i[0],a=i[1];a&&o.init(a,e)}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){function t(t){var e=/[A-Z]/g;return t.replace(e,function(t,e){return(e?"-":"")+t.toLowerCase()})}var e={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},n={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},r={};this.options=function(t){angular.extend(r,t)},this.setTriggers=function(t){angular.extend(n,t)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(i,o,a,s,u,l,c,d,f){function h(t){if(27===t.which){var e=p.top();e&&(e.value.close(),e=null)}}var p=f.createNew();return s.on("keyup",h),c.$on("$destroy",function(){s.off("keyup",h)}),function(i,c,f,h){function m(t){var e=(t||h.trigger||f).split(" ");return{show:e,hide:e.map(function(t){return n[t]||t})}}h=angular.extend({},e,r,h);var g=t(i),v=l.startSymbol(),y=l.endSymbol(),b="<div "+g+'-popup uib-title="'+v+"title"+y+'" '+(h.useContentExp?'content-exp="contentExp()" ':'content="'+v+"content"+y+'" ')+'origin-scope="origScope" class="uib-position-measure '+c+'" tooltip-animation-class="fade"uib-tooltip-classes ng-class="{ in: isOpen }" ></div>';return{compile:function(t,e){var n=o(b);return function(t,e,r,o){function l(){j.isOpen?g():f()}function f(){I&&!t.$eval(r[c+"Enable"])||($(),_(),j.popupDelay?O||(O=a(v,j.popupDelay,!1)):v())}function g(){y(),j.popupCloseDelay?P||(P=a(b,j.popupCloseDelay,!1)):b()}function v(){if(y(),$(),!j.content)return angular.noop;w(),j.$evalAsync(function(){j.isOpen=!0,C(!0),z()})}function y(){O&&(a.cancel(O),O=null),F&&(a.cancel(F),F=null)}function b(){j&&j.$evalAsync(function(){j&&(j.isOpen=!1,C(!1),j.animation?T||(T=a(k,150,!1)):k())})}function $(){P&&(a.cancel(P),P=null),T&&(a.cancel(T),T=null)}function w(){A||(M=j.$new(),A=n(M,function(t){N?s.find("body").append(t):e.after(t)}),p.add(j,{close:b}),x())}function k(){y(),$(),S(),A&&(A.remove(),A=null,R&&a.cancel(R)),p.remove(j),M&&(M.$destroy(),M=null)}function _(){j.title=r[c+"Title"],j.content=U?U(t):r[i],j.popupClass=r[c+"Class"],j.placement=angular.isDefined(r[c+"Placement"])?r[c+"Placement"]:h.placement;var e=u.parsePlacement(j.placement);V=e[1]?e[0]+"-"+e[1]:e[0];var n=parseInt(r[c+"PopupDelay"],10),o=parseInt(r[c+"PopupCloseDelay"],10);j.popupDelay=isNaN(n)?h.popupDelay:n,j.popupCloseDelay=isNaN(o)?h.popupCloseDelay:o}function C(e){H&&angular.isFunction(H.assign)&&H.assign(t,e)}function x(){Y.length=0,U?(Y.push(t.$watch(U,function(t){j.content=t,!t&&j.isOpen&&b()})),Y.push(M.$watch(function(){B||(B=!0,M.$$postDigest(function(){B=!1,j&&j.isOpen&&z()}))}))):Y.push(r.$observe(i,function(t){j.content=t,!t&&j.isOpen?b():z()})),Y.push(r.$observe(c+"Title",function(t){j.title=t,j.isOpen&&z()})),Y.push(r.$observe(c+"Placement",function(t){j.placement=t||h.placement,j.isOpen&&z()}))}function S(){Y.length&&(angular.forEach(Y,function(t){t()}),Y.length=0)}function E(t){j&&j.isOpen&&A&&(e[0].contains(t.target)||A[0].contains(t.target)||g())}function D(t){27===t.which&&g()}var A,M,T,O,P,F,R,V,N=!!angular.isDefined(h.appendToBody)&&h.appendToBody,L=m(void 0),I=angular.isDefined(r[c+"Enable"]),j=t.$new(!0),B=!1,H=!!angular.isDefined(r[c+"IsOpen"])&&d(r[c+"IsOpen"]),U=!!h.useContentExp&&d(r[i]),Y=[],z=function(){A&&A.html()&&(F||(F=a(function(){var t=u.positionElements(e,A,j.placement,N),n=angular.isDefined(A.offsetHeight)?A.offsetHeight:A.prop("offsetHeight"),r=N?u.offset(e):u.position(e);A.css({top:t.top+"px",left:t.left+"px"});var i=t.placement.split("-");A.hasClass(i[0])||(A.removeClass(V.split("-")[0]),A.addClass(i[0])),A.hasClass(h.placementClassPrefix+t.placement)||(A.removeClass(h.placementClassPrefix+V),A.addClass(h.placementClassPrefix+t.placement)),R=a(function(){var t=angular.isDefined(A.offsetHeight)?A.offsetHeight:A.prop("offsetHeight"),e=u.adjustTop(i,r,n,t);e&&A.css(e),R=null},0,!1),A.hasClass("uib-position-measure")?(u.positionArrow(A,t.placement),A.removeClass("uib-position-measure")):V!==t.placement&&u.positionArrow(A,t.placement),V=t.placement,F=null},0,!1)))};j.origScope=t,j.isOpen=!1,j.contentExp=function(){return j.content},r.$observe("disabled",function(t){t&&y(),t&&j.isOpen&&b()}),H&&t.$watch(H,function(t){j&&!t===j.isOpen&&l()});var q=function(){L.show.forEach(function(t){"outsideClick"===t?e.off("click",l):(e.off(t,f),e.off(t,l)),e.off("keypress",D)}),L.hide.forEach(function(t){"outsideClick"===t?s.off("click",E):e.off(t,g)})};!function(){var n=[],i=[],o=t.$eval(r[c+"Trigger"]);q(),angular.isObject(o)?(Object.keys(o).forEach(function(t){n.push(t),i.push(o[t])}),L={show:n,hide:i}):L=m(o),"none"!==L.show&&L.show.forEach(function(t,n){"outsideClick"===t?(e.on("click",l),s.on("click",E)):t===L.hide[n]?e.on(t,l):t&&(e.on(t,f),e.on(L.hide[n],g)),e.on("keypress",D)})}();var W=t.$eval(r[c+"Animation"]);j.animation=angular.isDefined(W)?!!W:h.animation;var G,Z=c+"AppendToBody";G=Z in r&&void 0===r[Z]||t.$eval(r[Z]),N=angular.isDefined(G)?G:N,t.$on("$destroy",function(){q(),k(),j=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(t,e,n,r){return{link:function(i,o,a){var s,u,l,c=i.$eval(a.tooltipTemplateTranscludeScope),d=0,f=function(){u&&(u.remove(),u=null),s&&(s.$destroy(),s=null),l&&(t.leave(l).then(function(){u=null}),u=l,l=null)};i.$watch(e.parseAsResourceUrl(a.uibTooltipTemplateTransclude),function(e){var a=++d;e?(r(e,!0).then(function(r){if(a===d){var i=c.$new(),u=r,h=n(u)(i,function(e){f(),t.enter(e,o)});s=i,l=h,s.$emit("$includeContentLoaded",e)}},function(){a===d&&(f(),i.$emit("$includeContentError",e))}),i.$emit("$includeContentRequested",e)):f()}),i.$on("$destroy",f)}}}]).directive("uibTooltipClasses",["$uibPosition",function(t){return{restrict:"A",link:function(e,n,r){if(e.placement){var i=t.parsePlacement(e.placement);n.addClass(i[0])}e.popupClass&&n.addClass(e.popupClass),e.animation&&n.addClass(r.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{restrict:"A",scope:{content:"@"},templateUrl:"views/uib/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(t){return t("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{restrict:"A",scope:{contentExp:"&",originScope:"&"},templateUrl:"views/uib/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(t){return t("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&"},templateUrl:"views/uib/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(t){return t("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{restrict:"A",scope:{uibTitle:"@",contentExp:"&",originScope:"&"},templateUrl:"views/uib/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(t){return t("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&",uibTitle:"@"},templateUrl:"views/uib/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(t){return t("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{restrict:"A",scope:{uibTitle:"@",content:"@"},templateUrl:"views/uib/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(t){return t("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(t,e,n){function r(){return angular.isDefined(t.maxParam)?t.maxParam:n.max}var i=this,o=angular.isDefined(e.animate)?t.$parent.$eval(e.animate):n.animate;this.bars=[],t.max=r(),this.addBar=function(t,e,n){o||e.css({transition:"none"}),this.bars.push(t),t.max=r(),t.title=n&&angular.isDefined(n.title)?n.title:"progressbar",t.$watch("value",function(e){t.recalculatePercentage()}),t.recalculatePercentage=function(){var e=i.bars.reduce(function(t,e){return e.percent=+(100*e.value/e.max).toFixed(2),t+e.percent},0);e>100&&(t.percent-=e-100)},t.$on("$destroy",function(){e=null,i.removeBar(t)})},this.removeBar=function(t){this.bars.splice(this.bars.indexOf(t),1),this.bars.forEach(function(t){t.recalculatePercentage()})},t.$watch("maxParam",function(t){i.bars.forEach(function(t){t.max=r(),t.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{maxParam:"=?max"},templateUrl:"views/uib/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"views/uib/progressbar/bar.html",link:function(t,e,n,r){r.addBar(t,e,n)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",maxParam:"=?max",type:"@"},templateUrl:"views/uib/progressbar/progressbar.html",link:function(t,e,n,r){r.addBar(t,angular.element(e.children()[0]),{title:n.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,enableReset:!0,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(t,e,n){var r={$setViewValue:angular.noop},i=this;this.init=function(i){r=i,r.$render=this.render,r.$formatters.push(function(t){return angular.isNumber(t)&&t<<0!==t&&(t=Math.round(t)),t}),this.stateOn=angular.isDefined(e.stateOn)?t.$parent.$eval(e.stateOn):n.stateOn,this.stateOff=angular.isDefined(e.stateOff)?t.$parent.$eval(e.stateOff):n.stateOff,this.enableReset=angular.isDefined(e.enableReset)?t.$parent.$eval(e.enableReset):n.enableReset;var o=angular.isDefined(e.titles)?t.$parent.$eval(e.titles):n.titles;this.titles=angular.isArray(o)&&o.length>0?o:n.titles;var a=angular.isDefined(e.ratingStates)?t.$parent.$eval(e.ratingStates):new Array(angular.isDefined(e.max)?t.$parent.$eval(e.max):n.max);t.range=this.buildTemplateObjects(a)},this.buildTemplateObjects=function(t){for(var e=0,n=t.length;e<n;e++)t[e]=angular.extend({index:e},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(e)},t[e]);return t},this.getTitle=function(t){return t>=this.titles.length?t+1:this.titles[t]},t.rate=function(e){if(!t.readonly&&e>=0&&e<=t.range.length){var n=i.enableReset&&r.$viewValue===e?0:e;r.$setViewValue(n),r.$render()}},t.enter=function(e){t.readonly||(t.value=e),t.onHover({value:e})},t.reset=function(){t.value=r.$viewValue,t.onLeave()},t.onKeydown=function(e){/(37|38|39|40)/.test(e.which)&&(e.preventDefault(),e.stopPropagation(),t.rate(t.value+(38===e.which||39===e.which?1:-1)))},this.render=function(){t.value=r.$viewValue,t.title=i.getTitle(t.value-1)}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],restrict:"A",scope:{readonly:"=?readOnly",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"views/uib/rating/rating.html",link:function(t,e,n,r){var i=r[0],o=r[1];i.init(o)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(t){function e(t){for(var e=0;e<r.tabs.length;e++)if(r.tabs[e].index===t)return e}var n,r=this;r.tabs=[],r.select=function(t,o){if(!i){var a=e(n),s=r.tabs[a];if(s){if(s.tab.onDeselect({$event:o,$selectedIndex:t}),o&&o.isDefaultPrevented())return;s.tab.active=!1}var u=r.tabs[t];u?(u.tab.onSelect({$event:o}),u.tab.active=!0,r.active=u.index,n=u.index):!u&&angular.isDefined(n)&&(r.active=null,n=null)}},r.addTab=function(t){if(r.tabs.push({tab:t,index:t.index}),r.tabs.sort(function(t,e){return t.index>e.index?1:t.index<e.index?-1:0}),t.index===r.active||!angular.isDefined(r.active)&&1===r.tabs.length){var n=e(t.index);r.select(n)}},r.removeTab=function(t){for(var e,n=0;n<r.tabs.length;n++)if(r.tabs[n].tab===t){e=n;break}if(r.tabs[e].index===r.active){var i=e===r.tabs.length-1?e-1:e+1%r.tabs.length;r.select(i)}r.tabs.splice(e,1)},t.$watch("tabset.active",function(t){angular.isDefined(t)&&t!==n&&r.select(e(t))});var i;t.$on("$destroy",function(){i=!0})}]).directive("uibTabset",function(){return{transclude:!0,replace:!0,scope:{},bindToController:{active:"=?",type:"@"},controller:"UibTabsetController",controllerAs:"tabset",templateUrl:function(t,e){
return e.templateUrl||"views/uib/tabs/tabset.html"},link:function(t,e,n){t.vertical=!!angular.isDefined(n.vertical)&&t.$parent.$eval(n.vertical),t.justified=!!angular.isDefined(n.justified)&&t.$parent.$eval(n.justified)}}}).directive("uibTab",["$parse",function(t){return{require:"^uibTabset",replace:!0,templateUrl:function(t,e){return e.templateUrl||"views/uib/tabs/tab.html"},transclude:!0,scope:{heading:"@",index:"=?",classes:"@?",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},controllerAs:"tab",link:function(e,n,r,i,o){e.disabled=!1,r.disable&&e.$parent.$watch(t(r.disable),function(t){e.disabled=!!t}),angular.isUndefined(r.index)&&(i.tabs&&i.tabs.length?e.index=Math.max.apply(null,i.tabs.map(function(t){return t.index}))+1:e.index=0),angular.isUndefined(r.classes)&&(e.classes=""),e.select=function(t){if(!e.disabled){for(var n,r=0;r<i.tabs.length;r++)if(i.tabs[r].tab===e){n=r;break}i.select(n,t)}},i.addTab(e),e.$on("$destroy",function(){i.removeTab(e)}),e.$transcludeFn=o}}}]).directive("uibTabHeadingTransclude",function(){return{restrict:"A",require:"^uibTab",link:function(t,e){t.$watch("headingElement",function(t){t&&(e.html(""),e.append(t))})}}}).directive("uibTabContentTransclude",function(){function t(t){return t.tagName&&(t.hasAttribute("uib-tab-heading")||t.hasAttribute("data-uib-tab-heading")||t.hasAttribute("x-uib-tab-heading")||"uib-tab-heading"===t.tagName.toLowerCase()||"data-uib-tab-heading"===t.tagName.toLowerCase()||"x-uib-tab-heading"===t.tagName.toLowerCase()||"uib:tab-heading"===t.tagName.toLowerCase())}return{restrict:"A",require:"^uibTabset",link:function(e,n,r){var i=e.$eval(r.uibTabContentTransclude).tab;i.$transcludeFn(i.$parent,function(e){angular.forEach(e,function(e){t(e)?i.headingElement=e:n.append(e)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("uibTimepickerConfig",{hourStep:1,minuteStep:1,secondStep:1,showMeridian:!0,showSeconds:!1,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0,templateUrl:"views/uib/timepicker/timepicker.html"}).controller("UibTimepickerController",["$scope","$element","$attrs","$parse","$log","$locale","uibTimepickerConfig",function(t,e,n,r,i,o,a){function s(){var e=+t.hours;if((t.showMeridian?e>0&&e<13:e>=0&&e<24)&&""!==t.hours)return t.showMeridian&&(12===e&&(e=0),t.meridian===C[1]&&(e+=12)),e}function u(){var e=+t.minutes;if(e>=0&&e<60&&""!==t.minutes)return e}function l(){var e=+t.seconds;return e>=0&&e<60?e:void 0}function c(t,e){return null===t?"":angular.isDefined(t)&&t.toString().length<2&&!e?"0"+t:t.toString()}function d(t){f(),_.$setViewValue(new Date(w)),h(t)}function f(){y&&y.$setValidity("hours",!0),b&&b.$setValidity("minutes",!0),$&&$.$setValidity("seconds",!0),_.$setValidity("time",!0),t.invalidHours=!1,t.invalidMinutes=!1,t.invalidSeconds=!1}function h(e){if(_.$modelValue){var n=w.getHours(),r=w.getMinutes(),i=w.getSeconds();t.showMeridian&&(n=0===n||12===n?12:n%12),t.hours="h"===e?n:c(n,!x),"m"!==e&&(t.minutes=c(r)),t.meridian=w.getHours()<12?C[0]:C[1],"s"!==e&&(t.seconds=c(i)),t.meridian=w.getHours()<12?C[0]:C[1]}else t.hours=null,t.minutes=null,t.seconds=null,t.meridian=C[0]}function p(t){w=g(w,t),d()}function m(t,e){return g(t,60*e)}function g(t,e){var n=new Date(t.getTime()+1e3*e),r=new Date(t);return r.setHours(n.getHours(),n.getMinutes(),n.getSeconds()),r}function v(){return(null===t.hours||""===t.hours)&&(null===t.minutes||""===t.minutes)&&(!t.showSeconds||t.showSeconds&&(null===t.seconds||""===t.seconds))}var y,b,$,w=new Date,k=[],_={$setViewValue:angular.noop},C=angular.isDefined(n.meridians)?t.$parent.$eval(n.meridians):a.meridians||o.DATETIME_FORMATS.AMPMS,x=!angular.isDefined(n.padHours)||t.$parent.$eval(n.padHours);t.tabindex=angular.isDefined(n.tabindex)?n.tabindex:0,e.removeAttr("tabindex"),this.init=function(e,r){_=e,_.$render=this.render,_.$formatters.unshift(function(t){return t?new Date(t):null});var i=r.eq(0),o=r.eq(1),s=r.eq(2);y=i.controller("ngModel"),b=o.controller("ngModel"),$=s.controller("ngModel"),(angular.isDefined(n.mousewheel)?t.$parent.$eval(n.mousewheel):a.mousewheel)&&this.setupMousewheelEvents(i,o,s),(angular.isDefined(n.arrowkeys)?t.$parent.$eval(n.arrowkeys):a.arrowkeys)&&this.setupArrowkeyEvents(i,o,s),t.readonlyInput=angular.isDefined(n.readonlyInput)?t.$parent.$eval(n.readonlyInput):a.readonlyInput,this.setupInputEvents(i,o,s)};var S=a.hourStep;n.hourStep&&k.push(t.$parent.$watch(r(n.hourStep),function(t){S=+t}));var E=a.minuteStep;n.minuteStep&&k.push(t.$parent.$watch(r(n.minuteStep),function(t){E=+t}));var D;k.push(t.$parent.$watch(r(n.min),function(t){var e=new Date(t);D=isNaN(e)?void 0:e}));var A;k.push(t.$parent.$watch(r(n.max),function(t){var e=new Date(t);A=isNaN(e)?void 0:e}));var M=!1;n.ngDisabled&&k.push(t.$parent.$watch(r(n.ngDisabled),function(t){M=t})),t.noIncrementHours=function(){var t=m(w,60*S);return M||t>A||t<w&&t<D},t.noDecrementHours=function(){var t=m(w,60*-S);return M||t<D||t>w&&t>A},t.noIncrementMinutes=function(){var t=m(w,E);return M||t>A||t<w&&t<D},t.noDecrementMinutes=function(){var t=m(w,-E);return M||t<D||t>w&&t>A},t.noIncrementSeconds=function(){var t=g(w,T);return M||t>A||t<w&&t<D},t.noDecrementSeconds=function(){var t=g(w,-T);return M||t<D||t>w&&t>A},t.noToggleMeridian=function(){return w.getHours()<12?M||m(w,720)>A:M||m(w,-720)<D};var T=a.secondStep;n.secondStep&&k.push(t.$parent.$watch(r(n.secondStep),function(t){T=+t})),t.showSeconds=a.showSeconds,n.showSeconds&&k.push(t.$parent.$watch(r(n.showSeconds),function(e){t.showSeconds=!!e})),t.showMeridian=a.showMeridian,n.showMeridian&&k.push(t.$parent.$watch(r(n.showMeridian),function(e){if(t.showMeridian=!!e,_.$error.time){var n=s(),r=u();angular.isDefined(n)&&angular.isDefined(r)&&(w.setHours(n),d())}else h()})),this.setupMousewheelEvents=function(e,n,r){var i=function(t){t.originalEvent&&(t=t.originalEvent);var e=t.wheelDelta?t.wheelDelta:-t.deltaY;return t.detail||e>0};e.on("mousewheel wheel",function(e){M||t.$apply(i(e)?t.incrementHours():t.decrementHours()),e.preventDefault()}),n.on("mousewheel wheel",function(e){M||t.$apply(i(e)?t.incrementMinutes():t.decrementMinutes()),e.preventDefault()}),r.on("mousewheel wheel",function(e){M||t.$apply(i(e)?t.incrementSeconds():t.decrementSeconds()),e.preventDefault()})},this.setupArrowkeyEvents=function(e,n,r){e.on("keydown",function(e){M||(38===e.which?(e.preventDefault(),t.incrementHours(),t.$apply()):40===e.which&&(e.preventDefault(),t.decrementHours(),t.$apply()))}),n.on("keydown",function(e){M||(38===e.which?(e.preventDefault(),t.incrementMinutes(),t.$apply()):40===e.which&&(e.preventDefault(),t.decrementMinutes(),t.$apply()))}),r.on("keydown",function(e){M||(38===e.which?(e.preventDefault(),t.incrementSeconds(),t.$apply()):40===e.which&&(e.preventDefault(),t.decrementSeconds(),t.$apply()))})},this.setupInputEvents=function(e,n,r){if(t.readonlyInput)return t.updateHours=angular.noop,t.updateMinutes=angular.noop,void(t.updateSeconds=angular.noop);var i=function(e,n,r){_.$setViewValue(null),_.$setValidity("time",!1),angular.isDefined(e)&&(t.invalidHours=e,y&&y.$setValidity("hours",!1)),angular.isDefined(n)&&(t.invalidMinutes=n,b&&b.$setValidity("minutes",!1)),angular.isDefined(r)&&(t.invalidSeconds=r,$&&$.$setValidity("seconds",!1))};t.updateHours=function(){var t=s(),e=u();_.$setDirty(),angular.isDefined(t)&&angular.isDefined(e)?(w.setHours(t),w.setMinutes(e),w<D||w>A?i(!0):d("h")):i(!0)},e.on("blur",function(e){_.$setTouched(),v()?f():null===t.hours||""===t.hours?i(!0):!t.invalidHours&&t.hours<10&&t.$apply(function(){t.hours=c(t.hours,!x)})}),t.updateMinutes=function(){var t=u(),e=s();_.$setDirty(),angular.isDefined(t)&&angular.isDefined(e)?(w.setHours(e),w.setMinutes(t),w<D||w>A?i(void 0,!0):d("m")):i(void 0,!0)},n.on("blur",function(e){_.$setTouched(),v()?f():null===t.minutes?i(void 0,!0):!t.invalidMinutes&&t.minutes<10&&t.$apply(function(){t.minutes=c(t.minutes)})}),t.updateSeconds=function(){var t=l();_.$setDirty(),angular.isDefined(t)?(w.setSeconds(t),d("s")):i(void 0,void 0,!0)},r.on("blur",function(e){v()?f():!t.invalidSeconds&&t.seconds<10&&t.$apply(function(){t.seconds=c(t.seconds)})})},this.render=function(){var e=_.$viewValue;isNaN(e)?(_.$setValidity("time",!1),i.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(e&&(w=e),w<D||w>A?(_.$setValidity("time",!1),t.invalidHours=!0,t.invalidMinutes=!0):f(),h())},t.showSpinners=angular.isDefined(n.showSpinners)?t.$parent.$eval(n.showSpinners):a.showSpinners,t.incrementHours=function(){t.noIncrementHours()||p(60*S*60)},t.decrementHours=function(){t.noDecrementHours()||p(60*-S*60)},t.incrementMinutes=function(){t.noIncrementMinutes()||p(60*E)},t.decrementMinutes=function(){t.noDecrementMinutes()||p(60*-E)},t.incrementSeconds=function(){t.noIncrementSeconds()||p(T)},t.decrementSeconds=function(){t.noDecrementSeconds()||p(-T)},t.toggleMeridian=function(){var e=u(),n=s();t.noToggleMeridian()||(angular.isDefined(e)&&angular.isDefined(n)?p(720*(w.getHours()<12?60:-60)):t.meridian=t.meridian===C[0]?C[1]:C[0])},t.blur=function(){_.$setTouched()},t.$on("$destroy",function(){for(;k.length;)k.shift()()})}]).directive("uibTimepicker",["uibTimepickerConfig",function(t){return{require:["uibTimepicker","?^ngModel"],restrict:"A",controller:"UibTimepickerController",controllerAs:"timepicker",scope:{},templateUrl:function(e,n){return n.templateUrl||t.templateUrl},link:function(t,e,n,r){var i=r[0],o=r[1];o&&i.init(o,e.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(t){var e=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(n){var r=n.match(e);if(!r)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+n+'".');return{itemName:r[3],source:t(r[4]),viewMapper:t(r[2]||r[1]),modelMapper:t(r[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(t,e,n,r,i,o,a,s,u,l,c,d,f){function h(){j.moveInProgress||(j.moveInProgress=!0,j.$digest()),J()}function p(){j.position=M?d.offset(e):d.position(e),j.position.top+=e.prop("offsetHeight")}function m(t){var e;return angular.version.minor<6?(e=t.$options||{},e.getOption=function(t){return e[t]}):e=t.$options,e}var g,v,y=[9,13,27,38,40],b=t.$eval(n.typeaheadMinLength);b||0===b||(b=1),t.$watch(n.typeaheadMinLength,function(t){b=t||0===t?t:1});var $=t.$eval(n.typeaheadWaitMs)||0,w=!1!==t.$eval(n.typeaheadEditable);t.$watch(n.typeaheadEditable,function(t){w=!1!==t});var k,_,C=i(n.typeaheadLoading).assign||angular.noop,x=n.typeaheadShouldSelect?i(n.typeaheadShouldSelect):function(t,e){var n=e.$event;return 13===n.which||9===n.which},S=i(n.typeaheadOnSelect),E=!!angular.isDefined(n.typeaheadSelectOnBlur)&&t.$eval(n.typeaheadSelectOnBlur),D=i(n.typeaheadNoResults).assign||angular.noop,A=n.typeaheadInputFormatter?i(n.typeaheadInputFormatter):void 0,M=!!n.typeaheadAppendToBody&&t.$eval(n.typeaheadAppendToBody),T=n.typeaheadAppendTo?t.$eval(n.typeaheadAppendTo):null,O=!1!==t.$eval(n.typeaheadFocusFirst),P=!!n.typeaheadSelectOnExact&&t.$eval(n.typeaheadSelectOnExact),F=i(n.typeaheadIsOpen).assign||angular.noop,R=t.$eval(n.typeaheadShowHint)||!1,V=i(n.ngModel),N=i(n.ngModel+"($$$p)"),L=function(e,n){return angular.isFunction(V(t))&&v.getOption("getterSetter")?N(e,{$$$p:n}):V.assign(e,n)},I=f.parse(n.uibTypeahead),j=t.$new(),B=t.$on("$destroy",function(){j.$destroy()});j.$on("$destroy",B);var H="typeahead-"+j.$id+"-"+Math.floor(1e4*Math.random());e.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":H});var U,Y;R&&(U=angular.element("<div></div>"),U.css("position","relative"),e.after(U),Y=e.clone(),Y.attr("placeholder",""),Y.attr("tabindex","-1"),Y.val(""),Y.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),e.css({position:"relative","vertical-align":"top","background-color":"transparent"}),Y.attr("id")&&Y.removeAttr("id"),U.append(Y),Y.after(e));var z=angular.element("<div uib-typeahead-popup></div>");z.attr({id:H,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(n.typeaheadTemplateUrl)&&z.attr("template-url",n.typeaheadTemplateUrl),angular.isDefined(n.typeaheadPopupTemplateUrl)&&z.attr("popup-template-url",n.typeaheadPopupTemplateUrl);var q=function(){R&&Y.val("")},W=function(){j.matches=[],j.activeIdx=-1,e.attr("aria-expanded",!1),q()},G=function(t){return H+"-option-"+t};j.$watch("activeIdx",function(t){t<0?e.removeAttr("aria-activedescendant"):e.attr("aria-activedescendant",G(t))});var Z=function(t,e){return!!(j.matches.length>e&&t)&&t.toUpperCase()===j.matches[e].label.toUpperCase()},K=function(n,r){var i={$viewValue:n};C(t,!0),D(t,!1),o.when(I.source(t,i)).then(function(o){var a=n===g.$viewValue;if(a&&k)if(o&&o.length>0){j.activeIdx=O?0:-1,D(t,!1),j.matches.length=0;for(var s=0;s<o.length;s++)i[I.itemName]=o[s],j.matches.push({id:G(s),label:I.viewMapper(j,i),model:o[s]});if(j.query=n,p(),e.attr("aria-expanded",!0),P&&1===j.matches.length&&Z(n,0)&&(angular.isNumber(j.debounceUpdate)||angular.isObject(j.debounceUpdate)?c(function(){j.select(0,r)},angular.isNumber(j.debounceUpdate)?j.debounceUpdate:j.debounceUpdate.default):j.select(0,r)),R){var u=j.matches[0].label;angular.isString(n)&&n.length>0&&u.slice(0,n.length).toUpperCase()===n.toUpperCase()?Y.val(n+u.slice(n.length)):Y.val("")}}else W(),D(t,!0);a&&C(t,!1)},function(){W(),C(t,!1),D(t,!0)})};M&&(angular.element(u).on("resize",h),s.find("body").on("scroll",h));var J=c(function(){j.matches.length&&p(),j.moveInProgress=!1},200);j.moveInProgress=!1,j.query=void 0;var X,Q=function(t){X=a(function(){K(t)},$)},tt=function(){X&&a.cancel(X)};W(),j.assignIsOpen=function(e){F(t,e)},j.select=function(r,i){var o,s,u={};_=!0,u[I.itemName]=s=j.matches[r].model,o=I.modelMapper(t,u),L(t,o),g.$setValidity("editable",!0),g.$setValidity("parse",!0),S(t,{$item:s,$model:o,$label:I.viewMapper(t,u),$event:i}),W(),!1!==j.$eval(n.typeaheadFocusOnSelect)&&a(function(){e[0].focus()},0,!1)},e.on("keydown",function(e){if(0!==j.matches.length&&-1!==y.indexOf(e.which)){var n=x(t,{$event:e});if(-1===j.activeIdx&&n||9===e.which&&e.shiftKey)return W(),void j.$digest();e.preventDefault();var r;switch(e.which){case 27:e.stopPropagation(),W(),t.$digest();break;case 38:j.activeIdx=(j.activeIdx>0?j.activeIdx:j.matches.length)-1,j.$digest(),r=z[0].querySelectorAll(".uib-typeahead-match")[j.activeIdx],r.parentNode.scrollTop=r.offsetTop;break;case 40:j.activeIdx=(j.activeIdx+1)%j.matches.length,j.$digest(),r=z[0].querySelectorAll(".uib-typeahead-match")[j.activeIdx],r.parentNode.scrollTop=r.offsetTop;break;default:n&&j.$apply(function(){angular.isNumber(j.debounceUpdate)||angular.isObject(j.debounceUpdate)?c(function(){j.select(j.activeIdx,e)},angular.isNumber(j.debounceUpdate)?j.debounceUpdate:j.debounceUpdate.default):j.select(j.activeIdx,e)})}}}),e.on("focus",function(t){k=!0,0!==b||g.$viewValue||a(function(){K(g.$viewValue,t)},0)}),e.on("blur",function(t){E&&j.matches.length&&-1!==j.activeIdx&&!_&&(_=!0,j.$apply(function(){angular.isObject(j.debounceUpdate)&&angular.isNumber(j.debounceUpdate.blur)?c(function(){j.select(j.activeIdx,t)},j.debounceUpdate.blur):j.select(j.activeIdx,t)})),!w&&g.$error.editable&&(g.$setViewValue(),j.$apply(function(){g.$setValidity("editable",!0),g.$setValidity("parse",!0)}),e.val("")),k=!1,_=!1});var et=function(n){e[0]!==n.target&&3!==n.which&&0!==j.matches.length&&(W(),l.$$phase||t.$digest())};s.on("click",et),t.$on("$destroy",function(){s.off("click",et),(M||T)&&nt.remove(),M&&(angular.element(u).off("resize",h),s.find("body").off("scroll",h)),z.remove(),R&&U.remove()});var nt=r(z)(j);M?s.find("body").append(nt):T?angular.element(T).eq(0).append(nt):e.after(nt),this.init=function(e){g=e,v=m(g),j.debounceUpdate=i(v.getOption("debounce"))(t),g.$parsers.unshift(function(e){return k=!0,0===b||e&&e.length>=b?$>0?(tt(),Q(e)):K(e):(C(t,!1),tt(),W()),w?e:e?void g.$setValidity("editable",!1):(g.$setValidity("editable",!0),null)}),g.$formatters.push(function(e){var n,r,i={};return w||g.$setValidity("editable",!0),A?(i.$model=e,A(t,i)):(i[I.itemName]=e,n=I.viewMapper(t,i),i[I.itemName]=void 0,r=I.viewMapper(t,i),n!==r?n:e)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","uibTypeahead"],link:function(t,e,n,r){r[1].init(r[0])}}}).directive("uibTypeaheadPopup",["$$debounce",function(t){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(t,e){return e.popupTemplateUrl||"views/uib/typeahead/typeahead-popup.html"},link:function(e,n,r){e.templateUrl=r.templateUrl,e.isOpen=function(){var t=e.matches.length>0;return e.assignIsOpen({isOpen:t}),t},e.isActive=function(t){return e.active===t},e.selectActive=function(t){e.active=t},e.selectMatch=function(n,r){var i=e.debounce();angular.isNumber(i)||angular.isObject(i)?t(function(){e.select({activeIdx:n,evt:r})},angular.isNumber(i)?i:i.default):e.select({activeIdx:n,evt:r})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(t,e,n){return{scope:{index:"=",match:"=",query:"="},link:function(r,i,o){var a=n(o.templateUrl)(r.$parent)||"views/uib/typeahead/typeahead-match.html";t(a).then(function(t){var n=angular.element(t.trim());i.replaceWith(n),e(n)(r)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(t,e,n){function r(t){return t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function i(t){return/<.*>/g.test(t)}var o;return o=e.has("$sanitize"),function(e,a){return!o&&i(e)&&n.warn("Unsafe use of typeahead please use ngSanitize"),e=a?(""+e).replace(new RegExp(r(a),"gi"),"<strong>$&</strong>"):e,o||(e=t.trustAsHtml(e)),e}}]),angular.module("views/uib/accordion/accordion-group.html",[]).run(["$templateCache",function(t){t.put("views/uib/accordion/accordion-group.html",'<div role="tab" id="{{::headingId}}" aria-selected="{{isOpen}}" class="panel-heading" ng-keypress="toggleOpen($event)">\n  <h4 class="panel-title">\n    <a role="button" data-toggle="collapse" href aria-expanded="{{isOpen}}" aria-controls="{{::panelId}}" tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" uib-accordion-transclude="heading" ng-disabled="isDisabled" uib-tabindex-toggle><span uib-accordion-header ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></a>\n  </h4>\n</div>\n<div id="{{::panelId}}" aria-labelledby="{{::headingId}}" aria-hidden="{{!isOpen}}" role="tabpanel" class="panel-collapse collapse" uib-collapse="!isOpen">\n  <div class="panel-body" ng-transclude></div>\n</div>\n')}]),angular.module("views/uib/accordion/accordion.html",[]).run(["$templateCache",function(t){t.put("views/uib/accordion/accordion.html",'<div role="tablist" class="panel-group" ng-transclude></div>')}]),angular.module("views/uib/alert/alert.html",[]).run(["$templateCache",function(t){t.put("views/uib/alert/alert.html",'<button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">\n  <span aria-hidden="true">&times;</span>\n  <span class="sr-only">Close</span>\n</button>\n<div ng-transclude></div>\n')}]),angular.module("views/uib/carousel/carousel.html",[]).run(["$templateCache",function(t){t.put("views/uib/carousel/carousel.html",'<div class="carousel-inner" ng-transclude></div>\n<a role="button" href class="left carousel-control" ng-click="prev()" ng-class="{ disabled: isPrevDisabled() }" ng-show="slides.length > 1">\n  <span aria-hidden="true" class="fa fa-chevron-left"></span>\n  <span class="sr-only">previous</span>\n</a>\n<a role="button" href class="right carousel-control" ng-click="next()" ng-class="{ disabled: isNextDisabled() }" ng-show="slides.length > 1">\n  <span aria-hidden="true" class="fa fa-chevron-right"></span>\n  <span class="sr-only">next</span>\n</a>\n<ol class="carousel-indicators" ng-show="slides.length > 1">\n  <li ng-repeat="slide in slides | orderBy:indexOfSlide track by $index" ng-class="{ active: isActive(slide) }" ng-click="select(slide)">\n    <span class="sr-only">slide {{ $index + 1 }} of {{ slides.length }}<span ng-if="isActive(slide)">, currently active</span></span>\n  </li>\n</ol>\n')}]),angular.module("views/uib/carousel/slide.html",[]).run(["$templateCache",function(t){t.put("views/uib/carousel/slide.html",'<div class="text-center" ng-transclude></div>\n')}]),angular.module("views/uib/datepicker/datepicker.html",[]).run(["$templateCache",function(t){t.put("views/uib/datepicker/datepicker.html",'<div ng-switch="datepickerMode">\n  <div uib-daypicker ng-switch-when="day" tabindex="0" class="uib-daypicker"></div>\n  <div uib-monthpicker ng-switch-when="month" tabindex="0" class="uib-monthpicker"></div>\n  <div uib-yearpicker ng-switch-when="year" tabindex="0" class="uib-yearpicker"></div>\n</div>\n')}]),angular.module("views/uib/datepicker/day.html",[]).run(["$templateCache",function(t){t.put("views/uib/datepicker/day.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="fa fa-chevron-left"></i><span class="sr-only">previous</span></button></th>\n      <th colspan="{{::5 + showWeeks}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="fa fa-chevron-right"></i><span class="sr-only">next</span></button></th>\n    </tr>\n    <tr>\n      <th ng-if="showWeeks" class="text-center"></th>\n      <th ng-repeat="label in ::labels track by $index" class="text-center"><small aria-label="{{::label.full}}">{{::label.abbr}}</small></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-weeks" ng-repeat="row in rows track by $index" role="row">\n      <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n      <td ng-repeat="dt in row" class="uib-day text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" class="btn btn-default btn-sm"\n          uib-is-class="\n            \'btn-primary\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-muted\': dt.secondary}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("views/uib/datepicker/month.html",[]).run(["$templateCache",function(t){t.put("views/uib/datepicker/month.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="fa fa-chevron-left"></i><span class="sr-only">previous</span></button></th>\n      <th colspan="{{::yearHeaderColspan}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="fa fa-chevron-right"></i><span class="sr-only">next</span></i></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-months" ng-repeat="row in rows track by $index" role="row">\n      <td ng-repeat="dt in row" class="uib-month text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" class="btn btn-default"\n          uib-is-class="\n            \'btn-primary\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span>{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("views/uib/datepicker/year.html",[]).run(["$templateCache",function(t){t.put("views/uib/datepicker/year.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="fa fa-chevron-left"></i><span class="sr-only">previous</span></button></th>\n      <th colspan="{{::columns - 2}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="fa fa-chevron-right"></i><span class="sr-only">next</span></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-years" ng-repeat="row in rows track by $index" role="row">\n      <td ng-repeat="dt in row" class="uib-year text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" class="btn btn-default"\n          uib-is-class="\n            \'btn-primary\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span>{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("views/uib/datepickerPopup/popup.html",[]).run(["$templateCache",function(t){t.put("views/uib/datepickerPopup/popup.html",'<ul role="presentation" class="uib-datepicker-popup dropdown-menu uib-position-measure" dropdown-nested ng-if="isOpen" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n  <li ng-transclude></li>\n  <li ng-if="showButtonBar" class="uib-button-bar">\n    <span class="btn-group pull-left">\n      <button type="button" class="btn btn-sm btn-primary uib-datepicker-current" ng-click="select(\'today\', $event)" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n      <button type="button" class="btn btn-sm btn-danger uib-clear" ng-click="select(null, $event)">{{ getText(\'clear\') }}</button>\n    </span>\n    <button type="button" class="btn btn-sm btn-default pull-right uib-close" ng-click="close($event)">{{ getText(\'close\') }}</button>\n  </li>\n</ul>\n')}]),angular.module("views/uib/modal/window.html",[]).run(["$templateCache",function(t){t.put("views/uib/modal/window.html","<div class=\"modal-dialog {{size ? 'modal-' + size : ''}}\"><div class=\"modal-content\" uib-modal-transclude></div></div>\n")}]),angular.module("views/uib/pager/pager.html",[]).run(["$templateCache",function(t){t.put("views/uib/pager/pager.html",'<li ng-class="{disabled: noPrevious()||ngDisabled, previous: align}"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li ng-class="{disabled: noNext()||ngDisabled, next: align}"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n')}]),angular.module("views/uib/pagination/pagination.html",[]).run(["$templateCache",function(t){t.put("views/uib/pagination/pagination.html",'<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'first\')}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li role="menuitem" ng-repeat="page in pages track by $index" ng-class="{active: page.active,disabled: ngDisabled&&!page.active}" class="pagination-page"><a href ng-click="selectPage(page.number, $event)" ng-disabled="ngDisabled&&!page.active" uib-tabindex-toggle>{{page.text}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'last\')}}</a></li>\n')}]),angular.module("views/uib/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(t){t.put("views/uib/tooltip/tooltip-html-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n')}]),angular.module("views/uib/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(t){t.put("views/uib/tooltip/tooltip-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind="content"></div>\n')}]),angular.module("views/uib/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(t){t.put("views/uib/tooltip/tooltip-template-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner"\n  uib-tooltip-template-transclude="contentExp()"\n  tooltip-template-transclude-scope="originScope()"></div>\n')}]),angular.module("views/uib/popover/popover-html.html",[]).run(["$templateCache",function(t){t.put("views/uib/popover/popover-html.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n    <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n    <div class="popover-content" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("views/uib/popover/popover-template.html",[]).run(["$templateCache",function(t){t.put("views/uib/popover/popover-template.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n    <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n    <div class="popover-content"\n      uib-tooltip-template-transclude="contentExp()"\n      tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("views/uib/popover/popover.html",[]).run(["$templateCache",function(t){t.put("views/uib/popover/popover.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n    <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n    <div class="popover-content" ng-bind="content"></div>\n</div>\n')}]),angular.module("views/uib/progressbar/bar.html",[]).run(["$templateCache",function(t){
t.put("views/uib/progressbar/bar.html",'<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n')}]),angular.module("views/uib/progressbar/progress.html",[]).run(["$templateCache",function(t){t.put("views/uib/progressbar/progress.html",'<div class="progress" ng-transclude aria-labelledby="{{::title}}"></div>')}]),angular.module("views/uib/progressbar/progressbar.html",[]).run(["$templateCache",function(t){t.put("views/uib/progressbar/progressbar.html",'<div class="progress">\n  <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n</div>\n')}]),angular.module("views/uib/rating/rating.html",[]).run(["$templateCache",function(t){t.put("views/uib/rating/rating.html",'<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}" aria-valuetext="{{title}}">\n    <span ng-repeat-start="r in range track by $index" class="sr-only">({{ $index < value ? \'*\' : \' \' }})</span>\n    <i ng-repeat-end ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="fa" ng-class="$index < value && (r.stateOn || \'fa-star\') || (r.stateOff || \'fa-star-empty\')" ng-attr-title="{{r.title}}"></i>\n</span>\n')}]),angular.module("views/uib/tabs/tab.html",[]).run(["$templateCache",function(t){t.put("views/uib/tabs/tab.html",'<li ng-class="[{active: active, disabled: disabled}, classes]" class="uib-tab nav-item">\n  <a href ng-click="select($event)" class="nav-link" uib-tab-heading-transclude>{{heading}}</a>\n</li>\n')}]),angular.module("views/uib/tabs/tabset.html",[]).run(["$templateCache",function(t){t.put("views/uib/tabs/tabset.html",'<div>\n  <ul class="nav nav-{{tabset.type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n  <div class="tab-content">\n    <div class="tab-pane"\n         ng-repeat="tab in tabset.tabs"\n         ng-class="{active: tabset.active === tab.index}"\n         uib-tab-content-transclude="tab">\n    </div>\n  </div>\n</div>\n')}]),angular.module("views/uib/timepicker/timepicker.html",[]).run(["$templateCache",function(t){t.put("views/uib/timepicker/timepicker.html",'<table class="uib-timepicker">\n  <tbody>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td class="uib-increment hours"><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link" ng-disabled="noIncrementHours()" tabindex="-1"><span class="fa fa-chevron-up"></span></a></td>\n      <td>&nbsp;</td>\n      <td class="uib-increment minutes"><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link" ng-disabled="noIncrementMinutes()" tabindex="-1"><span class="fa fa-chevron-up"></span></a></td>\n      <td ng-show="showSeconds">&nbsp;</td>\n      <td ng-show="showSeconds" class="uib-increment seconds"><a ng-click="incrementSeconds()" ng-class="{disabled: noIncrementSeconds()}" class="btn btn-link" ng-disabled="noIncrementSeconds()" tabindex="-1"><span class="fa fa-chevron-up"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n    <tr>\n      <td class="form-group uib-time hours" ng-class="{\'has-error\': invalidHours}">\n        <input type="text" placeholder="HH" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementHours()" ng-blur="blur()">\n      </td>\n      <td class="uib-separator">:</td>\n      <td class="form-group uib-time minutes" ng-class="{\'has-error\': invalidMinutes}">\n        <input type="text" placeholder="MM" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementMinutes()" ng-blur="blur()">\n      </td>\n      <td ng-show="showSeconds" class="uib-separator">:</td>\n      <td class="form-group uib-time seconds" ng-class="{\'has-error\': invalidSeconds}" ng-show="showSeconds">\n        <input type="text" placeholder="SS" ng-model="seconds" ng-change="updateSeconds()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementSeconds()" ng-blur="blur()">\n      </td>\n      <td ng-show="showMeridian" class="uib-time am-pm"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()" ng-disabled="noToggleMeridian()" tabindex="{{::tabindex}}">{{meridian}}</button></td>\n    </tr>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td class="uib-decrement hours"><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link" ng-disabled="noDecrementHours()" tabindex="-1"><span class="fa fa-chevron-down"></span></a></td>\n      <td>&nbsp;</td>\n      <td class="uib-decrement minutes"><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link" ng-disabled="noDecrementMinutes()" tabindex="-1"><span class="fa fa-chevron-down"></span></a></td>\n      <td ng-show="showSeconds">&nbsp;</td>\n      <td ng-show="showSeconds" class="uib-decrement seconds"><a ng-click="decrementSeconds()" ng-class="{disabled: noDecrementSeconds()}" class="btn btn-link" ng-disabled="noDecrementSeconds()" tabindex="-1"><span class="fa fa-chevron-down"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("views/uib/typeahead/typeahead-match.html",[]).run(["$templateCache",function(t){t.put("views/uib/typeahead/typeahead-match.html",'<a href\n   tabindex="-1"\n   ng-bind-html="match.label | uibTypeaheadHighlight:query"\n   ng-attr-title="{{match.label}}"></a>\n')}]),angular.module("views/uib/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(t){t.put("views/uib/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" role="listbox" aria-hidden="{{!isOpen()}}">\n    <li class="uib-typeahead-match" ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index, $event)" role="option" id="{{::match.id}}">\n        <div uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n    </li>\n</ul>\n')}]),angular.module("ui.bootstrap.carousel").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibCarouselCss&&angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>'),angular.$$uibCarouselCss=!0}),angular.module("ui.bootstrap.datepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker .uib-title{width:100%;}.uib-day button,.uib-month button,.uib-year button{min-width:100%;}.uib-left,.uib-right{width:100%}</style>'),angular.$$uibDatepickerCss=!0}),angular.module("ui.bootstrap.position").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibPositionCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-position-measure{display:block !important;visibility:hidden !important;position:absolute !important;top:-9999px !important;left:-9999px !important;}.uib-position-scrollbar-measure{position:absolute !important;top:-9999px !important;width:50px !important;height:50px !important;overflow:scroll !important;}.uib-position-body-scrollbar-measure{overflow:scroll !important;}</style>'),angular.$$uibPositionCss=!0}),angular.module("ui.bootstrap.datepickerPopup").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerpopupCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker-popup.dropdown-menu{display:block;float:none;margin:0;}.uib-button-bar{padding:10px 9px 2px;}</style>'),angular.$$uibDatepickerpopupCss=!0}),angular.module("ui.bootstrap.tooltip").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTooltipCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-bottom > .tooltip-arrow,[uib-popover-popup].popover.top-left > .arrow,[uib-popover-popup].popover.top-right > .arrow,[uib-popover-popup].popover.bottom-left > .arrow,[uib-popover-popup].popover.bottom-right > .arrow,[uib-popover-popup].popover.left-top > .arrow,[uib-popover-popup].popover.left-bottom > .arrow,[uib-popover-popup].popover.right-top > .arrow,[uib-popover-popup].popover.right-bottom > .arrow,[uib-popover-html-popup].popover.top-left > .arrow,[uib-popover-html-popup].popover.top-right > .arrow,[uib-popover-html-popup].popover.bottom-left > .arrow,[uib-popover-html-popup].popover.bottom-right > .arrow,[uib-popover-html-popup].popover.left-top > .arrow,[uib-popover-html-popup].popover.left-bottom > .arrow,[uib-popover-html-popup].popover.right-top > .arrow,[uib-popover-html-popup].popover.right-bottom > .arrow,[uib-popover-template-popup].popover.top-left > .arrow,[uib-popover-template-popup].popover.top-right > .arrow,[uib-popover-template-popup].popover.bottom-left > .arrow,[uib-popover-template-popup].popover.bottom-right > .arrow,[uib-popover-template-popup].popover.left-top > .arrow,[uib-popover-template-popup].popover.left-bottom > .arrow,[uib-popover-template-popup].popover.right-top > .arrow,[uib-popover-template-popup].popover.right-bottom > .arrow{top:auto;bottom:auto;left:auto;right:auto;margin:0;}[uib-popover-popup].popover,[uib-popover-html-popup].popover,[uib-popover-template-popup].popover{display:block !important;}</style>'),angular.$$uibTooltipCss=!0}),angular.module("ui.bootstrap.timepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTimepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-time input{width:50px;}</style>'),angular.$$uibTimepickerCss=!0}),angular.module("ui.bootstrap.typeahead").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTypeaheadCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-typeahead-popup].dropdown-menu{display:block;}</style>'),angular.$$uibTypeaheadCss=!0}),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.StringMask=e()}(this,function(){function t(t,e){for(var n=0,r=e-1,i={escape:!0};r>=0&&i&&i.escape;)i=a[t.charAt(r)],n+=i&&i.escape?1:0,r--;return n>0&&n%2==1}function e(t,e){var n=t.replace(/[^0]/g,"").length;return e.replace(/[^\d]/g,"").length-n}function n(t,e,n,r){return r&&"function"==typeof r.transform&&(e=r.transform(e)),n.reverse?e+t:t+e}function r(t,e,n){var i=t.charAt(e),o=a[i];return""!==i&&(!(!o||o.escape)||r(t,e+n,n))}function i(t,e,n){var r=t.split("");return r.splice(n>=0?n:0,0,e),r.join("")}function o(t,e){this.options=e||{},this.options={reverse:this.options.reverse||!1,usedefaults:this.options.usedefaults||this.options.reverse},this.pattern=t}var a={0:{pattern:/\d/,_default:"0"},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,optional:!0,recursive:!0},S:{pattern:/[a-zA-Z]/},U:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleUpperCase()}},L:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleLowerCase()}},$:{escape:!0}};return o.prototype.process=function(o){if(!o)return{result:"",valid:!1};o+="";for(var s=this.pattern,u=!0,l="",c=this.options.reverse?o.length-1:0,d=e(s,o),f=!1,h=[],p=!1,m={start:this.options.reverse?s.length-1:0,end:this.options.reverse?-1:s.length,inc:this.options.reverse?-1:1},g=m.start;function(t){if(!p&&r(s,g,m.inc))return!0;if(p||(p=h.length>0),p){var e=h.shift();if(h.push(e),t.reverse&&c>=0)return g++,s=i(s,e,g),!0;if(!t.reverse&&c<o.length)return s=i(s,e,g),!0}return g<s.length&&g>=0}(this.options);g+=m.inc){var v=s.charAt(g),y=o.charAt(c),b=a[v];if(!p||y){if(this.options.reverse&&t(s,g)){l=n(l,v,this.options,b),g+=m.inc;continue}if(!this.options.reverse&&f){l=n(l,v,this.options,b),f=!1;continue}if(!this.options.reverse&&b&&b.escape){f=!0;continue}}if(!p&&b&&b.recursive)h.push(v);else{if(p&&!y){b&&b.recursive||(l=n(l,v,this.options,b));continue}if(h.length>0&&b&&!b.recursive){u=!1;continue}if(!p&&h.length>0&&!y)continue}if(b)if(b.optional){if(b.pattern.test(y)&&d)l=n(l,y,this.options,b),c+=m.inc,d--;else if(h.length>0&&y){u=!1;break}}else if(b.pattern.test(y))l=n(l,y,this.options,b),c+=m.inc;else{if(y||!b._default||!this.options.usedefaults){u=!1;break}l=n(l,b._default,this.options,b)}else l=n(l,v,this.options,b),!p&&h.length&&h.push(v)}return{result:l,valid:u}},o.prototype.apply=function(t){return this.process(t).result},o.prototype.validate=function(t){return this.process(t).valid},o.process=function(t,e,n){return new o(e,n).process(t)},o.apply=function(t,e,n){return new o(e,n).apply(t)},o.validate=function(t,e,n){return new o(e,n).validate(t)},o}),angular.module("ngLocale",[],["$provide",function(t){var e={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};t.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],ERANAMES:["antes de Cristo","depois de Cristo"],ERAS:["a.C.","d.C."],FIRSTDAYOFWEEK:6,MONTH:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],SHORTDAY:["dom","seg","ter","qua","qui","sex","sáb"],SHORTMONTH:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],STANDALONEMONTH:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],WEEKENDRANGE:[5,6],fullDate:"EEEE, d 'de' MMMM 'de' y",longDate:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y HH:mm:ss",mediumDate:"d 'de' MMM 'de' y",mediumTime:"HH:mm:ss",short:"dd/MM/y HH:mm",shortDate:"dd/MM/y",shortTime:"HH:mm"},NUMBER_FORMATS:{CURRENCY_SYM:"R$",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:"pt-br",localeID:"pt_BR",pluralCat:function(t,n){var r=0|t;return r>=0&&r<=1?e.ONE:e.OTHER}})}]),function(t,e){"use strict";function n(){return["$animate",function(t){return{restrict:"AE",transclude:"element",priority:1,terminal:!0,require:"^^ngMessages",link:function(e,n,r,o,a){var s,u=n[0],l=r.ngMessage||r.when;r=r.ngMessageExp||r.whenExp;var c=function(t){s=t?i(t)?t:t.split(/[\s,]+/):null,o.reRender()};r?(c(e.$eval(r)),e.$watchCollection(r,c)):c(l);var d,f;o.register(u,f={test:function(t){var e=s;return t=e?i(e)?0<=e.indexOf(t):e.hasOwnProperty(t):void 0},attach:function(){d||a(function(e,r){t.enter(e,null,n),d=e;var i=d.$$attachId=o.getAttachId();d.on("$destroy",function(){d&&d.$$attachId===i&&(o.deregister(u),f.detach()),r.$destroy()})})},detach:function(){if(d){var e=d;d=null,t.leave(e)}}}),e.$on("$destroy",function(){o.deregister(u)})}}}]}var r,i,o,a;e.module("ngMessages",[],function(){r=e.forEach,i=e.isArray,o=e.isString,a=e.element}).info({angularVersion:"1.6.9"}).directive("ngMessages",["$animate",function(t){function e(t,e){return o(e)&&0===e.length||n(t.$eval(e))}function n(t){return o(t)?t.length:!!t}return{require:"ngMessages",restrict:"AE",controller:["$element","$scope","$attrs",function(i,o,a){function s(t,e){for(var n=e,r=[];n&&n!==t;){var i=n.$$ngMessageNode;if(i&&i.length)return h[i];n.childNodes.length&&-1===r.indexOf(n)?(r.push(n),n=n.childNodes[n.childNodes.length-1]):n.previousSibling?n=n.previousSibling:(n=n.parentNode,r.push(n))}}var u=this,l=0,c=0;this.getAttachId=function(){return c++};var d,f,h=this.messages={};this.render=function(s){s=s||{},d=!1,f=s;for(var l=e(o,a.ngMessagesMultiple)||e(o,a.multiple),c=[],h={},p=u.head,m=!1,g=0;null!=p;){g++;var v=p.message,y=!1;m||r(s,function(t,e){!y&&n(t)&&v.test(e)&&!h[e]&&(y=h[e]=!0,v.attach())}),y?m=!l:c.push(v),p=p.next}r(c,function(t){t.detach()}),c.length!==g?t.setClass(i,"ng-active","ng-inactive"):t.setClass(i,"ng-inactive","ng-active")},o.$watchCollection(a.ngMessages||a.for,u.render),this.reRender=function(){d||(d=!0,o.$evalAsync(function(){d&&f&&u.render(f)}))},this.register=function(t,e){var n=l.toString();h[n]={message:e};var r=i[0],o=h[n];u.head?(r=s(r,t))?(o.next=r.next,r.next=o):(o.next=u.head,u.head=o):u.head=o,t.$$ngMessageNode=n,l++,u.reRender()},this.deregister=function(t){var e=t.$$ngMessageNode;delete t.$$ngMessageNode;var n=h[e];n&&((t=s(i[0],t))?t.next=n.next:u.head=n.next),delete h[e],u.reRender()}}]}}]).directive("ngMessagesInclude",["$templateRequest","$document","$compile",function(t,e,n){function r(t,r){var i=n.$$createComment?n.$$createComment("ngMessagesInclude",r):e[0].createComment(" ngMessagesInclude: "+r+" "),i=a(i);t.after(i),t.remove()}return{restrict:"AE",require:"^^ngMessages",link:function(e,i,a){var s=a.ngMessagesInclude||a.src;t(s).then(function(t){e.$$destroyed||(o(t)&&!t.trim()?r(i,s):n(t)(e,function(t){i.after(t),r(i,s)}))})}}}]).directive("ngMessage",n()).directive("ngMessageExp",n())}(window,window.angular),function(t,e){"function"==typeof define&&define.amd?define(["angular"],e):"object"==typeof exports?module.exports=e(require("angular")):t.returnExports=e(t.angular)}(this,function(t){return t.module("ngMeta",[]).provider("ngMeta",function(){"use strict";function e(e,i){var o=function(i,o){if(!e.ngMeta)throw new Error("Cannot call setTitle when ngMeta is undefined. Did you forget to call ngMeta.init() in the run block? \nRefer: https://github.com/vinaygopinath/ngMeta#getting-started");return e.ngMeta.title=t.isDefined(i)?i:n.title||"",r.useTitleSuffix&&(e.ngMeta.title+=t.isDefined(o)?o:n.titleSuffix||""),this},a=function(r,i){if(!e.ngMeta)throw new Error("Cannot call setTag when ngMeta is undefined. Did you forget to call ngMeta.init() in the run block? \nRefer: https://github.com/vinaygopinath/ngMeta#getting-started");if("title"===r||"titleSuffix"===r)throw new Error("Attempt to set '"+r+"' through 'setTag': 'title' and 'titleSuffix' are reserved tag names. Please use 'ngMeta.setTitle' instead");return e.ngMeta[r]=t.isDefined(i)?i:n[r],this},s=function(t,r){if(!e.ngMeta)throw new Error("Cannot call setDefaultTag when ngMeta is undefined. Did you forget to call ngMeta.init() in the run block? \nRefer: https://github.com/vinaygopinath/ngMeta#getting-started");return n[t]=r,"title"===t||"titleSuffix"===t?this.setTitle(e.ngMeta.title,e.ngMeta.titleSuffix):this.setTag(t,e.ngMeta[t]),this},u=function(e){if(e=e||{},e.disableUpdate)return!1;o(e.title,e.titleSuffix);var r=t.copy(n);delete e.title,delete e.titleSuffix,delete r.title,delete r.titleSuffix;for(var i=Object.keys(e),s=0;s<i.length;s++)r.hasOwnProperty(i[s])&&delete r[i[s]],a(i[s],e[i[s]]);for(var u=Object.keys(r),l=0;l<u.length;l++)a(u[l],r[u[l]])},l=function(e,n){u(t.copy(n.meta||n.data&&n.data.meta))},c=function(){return u(),this};return{init:function(){e.ngMeta={},e.$on("$routeChangeSuccess",l),e.$on("$stateChangeSuccess",l),i.has("$transitions")&&i.get("$transitions").onSuccess({},function(t){l(0,t.$to())})},setTitle:o,setTag:a,setDefaultTag:s,resetMeta:c}}var n={},r={useTitleSuffix:!1};this.setDefaultTitle=function(t){return n.title=t,this},this.setDefaultTitleSuffix=function(t){return n.titleSuffix=t,this},this.setDefaultTag=function(t,e){return n[t]=e,this},this.useTitleSuffix=function(t){return r.useTitleSuffix=!!t,this},this.mergeNestedStateData=function(e,n){var r=n(e)||{},i=e.parent&&e.parent.data&&e.parent.data.meta;if(r.meta||i){var o=t.merge({},i,r.meta);r.meta=o}return e.self.data=r,r},this.$get=["$rootScope","$injector",function(t,n){return new e(t,n)}]})}),function(t,e){"use strict";function n(t,e,n){if(!t)throw Z("areq",e||"?",n||"required");return t}function r(t,e){return t||e?t?e?(V(t)&&(t=t.join(" ")),V(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function i(t){var e={};return t&&(t.to||t.from)&&(e.to=t.to,e.from=t.from),e}function o(t,e,n){var r="";return t=V(t)?t:t&&B(t)&&t.length?t.split(/\s+/):[],R(t,function(t,i){t&&0<t.length&&(r+=0<i?" ":"",r+=n?e+t:t+e)}),r}function a(t){if(t instanceof U)switch(t.length){case 0:return t;case 1:if(1===t[0].nodeType)return t;break;default:return U(s(t))}if(1===t.nodeType)return U(t)}function s(t){if(!t[0])return t;for(var e=0;e<t.length;e++){var n=t[e];if(1===n.nodeType)return n}}function u(t,e,n){R(e,function(e){t.addClass(e,n)})}function l(t,e,n){R(e,function(e){t.removeClass(e,n)})}function c(t){return function(e,n){n.addClass&&(u(t,e,n.addClass),n.addClass=null),n.removeClass&&(l(t,e,n.removeClass),n.removeClass=null)}}function d(t){if(t=t||{},!t.$$prepared){var e=t.domOperation||Y;t.domOperation=function(){t.$$domOperationFired=!0,e(),e=Y},t.$$prepared=!0}return t}function f(t,e){h(t,e),p(t,e)}function h(t,e){e.from&&(t.css(e.from),e.from=null)}function p(t,e){e.to&&(t.css(e.to),e.to=null)}function m(t,e,n){var r=e.options||{};n=n.options||{};var i=(r.addClass||"")+" "+(n.addClass||""),o=(r.removeClass||"")+" "+(n.removeClass||"");return t=g(t.attr("class"),i,o),n.preparationClasses&&(r.preparationClasses=k(n.preparationClasses,r.preparationClasses),delete n.preparationClasses),i=r.domOperation!==Y?r.domOperation:null,F(r,n),i&&(r.domOperation=i),r.addClass=t.addClass?t.addClass:null,r.removeClass=t.removeClass?t.removeClass:null,e.addClass=r.addClass,e.removeClass=r.removeClass,r}function g(t,e,n){function r(t){B(t)&&(t=t.split(" "));var e={};return R(t,function(t){t.length&&(e[t]=!0)}),e}var i={};t=r(t),e=r(e),R(e,function(t,e){i[e]=1}),n=r(n),R(n,function(t,e){i[e]=1===i[e]?null:-1});var o={addClass:"",removeClass:""};return R(i,function(e,n){var r,i;1===e?(r="addClass",i=!t[n]||t[n+"-remove"]):-1===e&&(r="removeClass",i=t[n]||t[n+"-add"]),i&&(o[r].length&&(o[r]+=" "),o[r]+=n)}),o}function v(t){return t instanceof U?t[0]:t}function y(t,e,n){var r="";e&&(r=o(e,"ng-",!0)),n.addClass&&(r=k(r,o(n.addClass,"-add"))),n.removeClass&&(r=k(r,o(n.removeClass,"-remove"))),r.length&&(n.preparationClasses=r,t.addClass(r))}function b(t,e){var n=e?"-"+e+"s":"";return w(t,[W,n]),[W,n]}function $(t,e){var n=e?"paused":"",r=T+"PlayState";return w(t,[r,n]),[r,n]}function w(t,e){t.style[e[0]]=e[1]}function k(t,e){return t?e?t+" "+e:t:e}function _(t,e,n){var r=Object.create(null),i=t.getComputedStyle(e)||{};return R(n,function(t,e){var n=i[t];if(n){var o=n.charAt(0);("-"===o||"+"===o||0<=o)&&(n=C(n)),0===n&&(n=null),r[e]=n}}),r}function C(t){var e=0;return t=t.split(/\s*,\s*/),R(t,function(t){"s"===t.charAt(t.length-1)&&(t=t.substring(0,t.length-1)),t=parseFloat(t)||0,e=e?Math.max(t,e):t}),e}function x(t){return 0===t||null!=t}function S(t,e){var n=A,r=t+"s";return e?n+="Duration":r+=" linear all",[n,r]}function E(){var t=Object.create(null);return{flush:function(){t=Object.create(null)},count:function(e){return(e=t[e])?e.total:0},get:function(e){return(e=t[e])&&e.value},put:function(e,n){t[e]?t[e].total++:t[e]={total:1,value:n}}}}function D(t,e,n){R(n,function(n){t[n]=N(t[n])?t[n]:e.style.getPropertyValue(n)})}var A,M,T,O;void 0===t.ontransitionend&&void 0!==t.onwebkittransitionend?(A="WebkitTransition",M="webkitTransitionEnd transitionend"):(A="transition",M="transitionend"),void 0===t.onanimationend&&void 0!==t.onwebkitanimationend?(T="WebkitAnimation",O="webkitAnimationEnd animationend"):(T="animation",O="animationend");var P,F,R,V,N,L,I,j,B,H,U,Y,z=T+"Delay",q=T+"Duration",W=A+"Delay",G=A+"Duration",Z=e.$$minErr("ng"),K={transitionDuration:G,transitionDelay:W,transitionProperty:A+"Property",animationDuration:q,animationDelay:z,animationIterationCount:T+"IterationCount"},J={transitionDuration:G,transitionDelay:W,animationDuration:q,animationDelay:z};e.module("ngAnimate",[],function(){Y=e.noop,P=e.copy,F=e.extend,U=e.element,R=e.forEach,V=e.isArray,B=e.isString,j=e.isObject,H=e.isUndefined,N=e.isDefined,I=e.isFunction,L=e.isElement}).info({angularVersion:"1.6.9"}).directive("ngAnimateSwap",["$animate","$rootScope",function(t,e){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(e,n,r,i,o){var a,s;e.$watchCollection(r.ngAnimateSwap||r.for,function(r){a&&t.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=e.$new(),o(s,function(e){a=e,t.enter(e,null,n)}))})}}}]).directive("ngAnimateChildren",["$interpolate",function(t){return{link:function(e,n,r){function i(t){n.data("$$ngAnimateChildren","on"===t||"true"===t)}var o=r.ngAnimateChildren;B(o)&&0===o.length?n.data("$$ngAnimateChildren",!0):(i(t(o)(e)),r.$observe("ngAnimateChildren",i))}}}]).factory("$$rAFScheduler",["$$rAF",function(t){function e(t){r=r.concat(t),n()}function n(){if(r.length){for(var e=r.shift(),o=0;o<e.length;o++)e[o]();i||t(function(){i||n()})}}var r,i;return r=e.queue=[],e.waitUntilQuiet=function(e){i&&i(),i=t(function(){i=null,e(),n()})},e}]).provider("$$animateQueue",["$animateProvider",function(e){function r(t){if(!t)return null;t=t.split(" ");var e=Object.create(null);return R(t,function(t){e[t]=!0}),e}function i(t,e){if(t&&e){var n=r(e);return t.split(" ").some(function(t){return n[t]})}}function o(t,e,n){return l[t].some(function(t){return t(e,n)})}function u(t,e){var n=0<(t.addClass||"").length,r=0<(t.removeClass||"").length;return e?n&&r:n||r}var l=this.rules={skip:[],cancel:[],join:[]};l.join.push(function(t,e){return!t.structural&&u(t)}),l.skip.push(function(t,e){return!t.structural&&!u(t)}),l.skip.push(function(t,e){return"leave"===e.event&&t.structural}),l.skip.push(function(t,e){return e.structural&&2===e.state&&!t.structural}),l.cancel.push(function(t,e){return e.structural&&t.structural}),l.cancel.push(function(t,e){return 2===e.state&&t.structural}),l.cancel.push(function(t,e){if(e.structural)return!1;var n=t.addClass,r=t.removeClass,o=e.addClass,a=e.removeClass;return!(H(n)&&H(r)||H(o)&&H(a))&&(i(n,a)||i(r,o))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$Map","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow","$$isDocumentHidden",function(r,i,l,h,p,g,b,$,w,k,_){function C(){var t=!1;return function(e){t?e():i.$$postDigest(function(){t=!0,e()})}}function x(t,e,n){var r=[],i=q[n];return i&&R(i,function(i){J.call(i.node,e)?r.push(i.callback):"leave"===n&&J.call(i.node,t)&&r.push(i.callback)}),r}function S(t,e,n){var r=s(e);return t.filter(function(t){return!(t.node===r&&(!n||t.callback===n))})}function E(t,e,n){function s(t,e,n,i){k(function(){var t=x($,p,e);t.length?r(function(){R(t,function(t){t(h,n,i)}),"close"!==n||p.parentNode||X.off(p)}):"close"!==n||p.parentNode||X.off(p)}),t.progress(e,n,i)}function l(t){var e=h,n=c;n.preparationClasses&&(e.removeClass(n.preparationClasses),n.preparationClasses=null),n.activeClasses&&(e.removeClass(n.activeClasses),n.activeClasses=null),K(h,c),f(h,c),c.domOperation(),w.complete(!t)}var c=P(n),h=a(t),p=v(h),$=p&&p.parentNode,c=d(c),w=new b,k=C();if(V(c.addClass)&&(c.addClass=c.addClass.join(" ")),c.addClass&&!B(c.addClass)&&(c.addClass=null),V(c.removeClass)&&(c.removeClass=c.removeClass.join(" ")),c.removeClass&&!B(c.removeClass)&&(c.removeClass=null),c.from&&!j(c.from)&&(c.from=null),c.to&&!j(c.to)&&(c.to=null),!(Y&&p&&G(p,e,n)&&Z(p,c)))return l(),w;var S=0<=["enter","move","leave"].indexOf(e),E=_(),F=E||I.get(p);n=!F&&O.get(p)||{};var N=!!n.state;if(F||N&&1===n.state||(F=!M(p,$,e)),F)return E&&s(w,e,"start"),l(),E&&s(w,e,"close"),w;if(S&&D(p),E={structural:S,element:h,event:e,addClass:c.addClass,removeClass:c.removeClass,close:l,options:c,runner:w},N){if(o("skip",E,n))return 2===n.state?(l(),w):(m(h,n,E),n.runner);if(o("cancel",E,n))if(2===n.state)n.runner.end();else{if(!n.structural)return m(h,n,E),n.runner;n.close()}else if(o("join",E,n)){if(2!==n.state)return y(h,S?e:null,c),e=E.event=n.event,c=m(h,n,E),n.runner;m(h,E,{})}}else m(h,E,{});if((N=E.structural)||(N="animate"===E.event&&0<Object.keys(E.options.to||{}).length||u(E)),!N)return l(),A(p),w;var L=(n.counter||0)+1;return E.counter=L,T(p,1,E),i.$$postDigest(function(){h=a(t);var n=O.get(p),r=!n,n=n||{},i=0<(h.parent()||[]).length&&("animate"===n.event||n.structural||u(n));r||n.counter!==L||!i?(r&&(K(h,c),f(h,c)),(r||S&&n.event!==e)&&(c.domOperation(),w.end()),i||A(p)):(e=!n.structural&&u(n,!0)?"setClass":n.event,T(p,2),n=g(h,e,n.options),w.setHost(n),s(w,e,"start",{}),n.done(function(t){l(!t),(t=O.get(p))&&t.counter===L&&A(p),s(w,e,"close",{})}))}),w}function D(t){t=t.querySelectorAll("[data-ng-animate]"),R(t,function(t){var e=parseInt(t.getAttribute("data-ng-animate"),10),n=O.get(t);if(n)switch(e){case 2:n.runner.end();case 1:O.delete(t)}})}function A(t){t.removeAttribute("data-ng-animate"),O.delete(t)}function M(t,e,n){n=h[0].body;var r,i=v(l),o=t===n||"HTML"===t.nodeName,a=t===i,s=!1,u=I.get(t);for((t=U.data(t,"$ngAnimatePin"))&&(e=v(t));e&&(a||(a=e===i),1===e.nodeType);){if(t=O.get(e)||{},!s){var c=I.get(e);if(!0===c&&!1!==u){u=!0;break}!1===c&&(u=!1),s=t.structural}if((H(r)||!0===r)&&(t=U.data(e,"$$ngAnimateChildren"),N(t)&&(r=t)),s&&!1===r)break;if(o||(o=e===n),o&&a)break;e=a||!(t=U.data(e,"$ngAnimatePin"))?e.parentNode:v(t)}return(!s||r)&&!0!==u&&a&&o}function T(t,e,n){n=n||{},n.state=e,t.setAttribute("data-ng-animate",e),n=(e=O.get(t))?F(e,n):n,O.set(t,n)}var O=new p,I=new p,Y=null,z=i.$watch(function(){return 0===$.totalPendingRequests},function(t){t&&(z(),i.$$postDigest(function(){i.$$postDigest(function(){null===Y&&(Y=!0)})}))}),q=Object.create(null);p=e.customFilter();var W=e.classNameFilter();k=function(){return!0};var G=p||k,Z=W?function(t,e){var n=[t.getAttribute("class"),e.addClass,e.removeClass].join(" ");return W.test(n)}:k,K=c(w),J=t.Node.prototype.contains||function(t){return this===t||!!(16&this.compareDocumentPosition(t))},X={on:function(t,e,n){var r=s(e);q[t]=q[t]||[],q[t].push({node:r,callback:n}),U(e).on("$destroy",function(){O.get(r)||X.off(t,e,n)})},off:function(t,e,n){if(1!==arguments.length||B(arguments[0])){var r=q[t];r&&(q[t]=1===arguments.length?null:S(r,e,n))
}else for(r in e=arguments[0],q)q[r]=S(q[r],e)},pin:function(t,e){n(L(t),"element","not an element"),n(L(e),"parentElement","not an element"),t.data("$ngAnimatePin",e)},push:function(t,e,n,r){return n=n||{},n.domOperation=r,E(t,e,n)},enabled:function(t,e){var n=arguments.length;if(0===n)e=!!Y;else if(L(t)){var r=v(t);1===n?e=!I.get(r):I.set(r,!e)}else e=Y=!!t;return e}};return X}]}]).provider("$$animation",["$animateProvider",function(t){var e=this.drivers=[];this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$Map","$$rAFScheduler",function(t,n,i,o,a,s){function u(t){function e(t){if(t.processed)return t;t.processed=!0;var n=t.domNode,o=n.parentNode;i.set(n,t);for(var a;o;){if(a=i.get(o)){a.processed||(a=e(a));break}o=o.parentNode}return(a||r).children.push(t),t}var n,r={children:[]},i=new a;for(n=0;n<t.length;n++){var o=t[n];i.set(o.domNode,t[n]={domNode:o.domNode,fn:o.fn,children:[]})}for(n=0;n<t.length;n++)e(t[n]);return function(t){var e,n=[],r=[];for(e=0;e<t.children.length;e++)r.push(t.children[e]);t=r.length;var i=0,o=[];for(e=0;e<r.length;e++){var a=r[e];0>=t&&(t=i,i=0,n.push(o),o=[]),o.push(a.fn),a.children.forEach(function(t){i++,r.push(t)}),t--}return o.length&&n.push(o),n}(r)}var l=[],h=c(t);return function(a,c,p){function m(t){t=t.hasAttribute("ng-animate-ref")?[t]:t.querySelectorAll("[ng-animate-ref]");var e=[];return R(t,function(t){var n=t.getAttribute("ng-animate-ref");n&&n.length&&e.push(t)}),e}function g(t){var e=[],n={};R(t,function(t,r){var i=v(t.element),o=0<=["enter","move"].indexOf(t.event),i=t.structural?m(i):[];if(i.length){var a=o?"to":"from";R(i,function(t){var e=t.getAttribute("ng-animate-ref");n[e]=n[e]||{},n[e][a]={animationID:r,element:U(t)}})}else e.push(t)});var r={},i={};return R(n,function(n,o){var a=n.from,s=n.to;if(a&&s){var u=t[a.animationID],l=t[s.animationID],c=a.animationID.toString();if(!i[c]){var d=i[c]={structural:!0,beforeStart:function(){u.beforeStart(),l.beforeStart()},close:function(){u.close(),l.close()},classes:y(u.classes,l.classes),from:u,to:l,anchors:[]};d.classes.length?e.push(d):(e.push(u),e.push(l))}i[c].anchors.push({out:a.element,in:s.element})}else a=a?a.animationID:s.animationID,s=a.toString(),r[s]||(r[s]=!0,e.push(t[a]))}),e}function y(t,e){t=t.split(" "),e=e.split(" ");for(var n=[],r=0;r<t.length;r++){var i=t[r];if("ng-"!==i.substring(0,3))for(var o=0;o<e.length;o++)if(i===e[o]){n.push(i);break}}return n.join(" ")}function b(t){for(var n=e.length-1;0<=n;n--){var r=i.get(e[n])(t);if(r)return r}}function $(t,e){function n(t){(t=t.data("$$animationRunner"))&&t.setHost(e)}t.from&&t.to?(n(t.from.element),n(t.to.element)):n(t.element)}function w(){var t=a.data("$$animationRunner");!t||"leave"===c&&p.$$domOperationFired||t.end()}function k(e){a.off("$destroy",w),a.removeData("$$animationRunner"),h(a,p),f(a,p),p.domOperation(),S&&t.removeClass(a,S),a.removeClass("ng-animate"),C.complete(!e)}p=d(p);var _=0<=["enter","move","leave"].indexOf(c),C=new o({end:function(){k()},cancel:function(){k(!0)}});if(!e.length)return k(),C;a.data("$$animationRunner",C);var x=r(a.attr("class"),r(p.addClass,p.removeClass)),S=p.tempClasses;S&&(x+=" "+S,p.tempClasses=null);var E;return _&&(E="ng-"+c+"-prepare",t.addClass(a,E)),l.push({element:a,classes:x,event:c,structural:_,options:p,beforeStart:function(){a.addClass("ng-animate"),S&&t.addClass(a,S),E&&(t.removeClass(a,E),E=null)},close:k}),a.on("$destroy",w),1<l.length?C:(n.$$postDigest(function(){var t=[];R(l,function(e){e.element.data("$$animationRunner")?t.push(e):e.close()}),l.length=0;var e=g(t),n=[];R(e,function(t){n.push({domNode:v(t.from?t.from.element:t.element),fn:function(){t.beforeStart();var e,n=t.close;if((t.anchors?t.from.element||t.to.element:t.element).data("$$animationRunner")){var r=b(t);r&&(e=r.start)}e?(e=e(),e.done(function(t){n(!t)}),$(t,e)):n()}})}),s(u(n))}),C)}}]}]).provider("$animateCss",["$animateProvider",function(t){var e=E(),n=E();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(t,r,a,s,u,l,m,g){function y(t,e){var n=t.parentNode;return(n.$$ngAnimateParentKey||(n.$$ngAnimateParentKey=++N))+"-"+t.getAttribute("class")+"-"+e}function k(i,a,s,u){var l;return 0<e.count(s)&&((l=n.get(s))||(a=o(a,"-stagger"),r.addClass(i,a),l=_(t,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,a),n.put(s,l))),l||{}}function C(t){L.push(t),m.waitUntilQuiet(function(){e.flush(),n.flush();for(var t=u(),r=0;r<L.length;r++)L[r](t);L.length=0})}function E(n,r,i){return r=e.get(i),r||(r=_(t,n,K),"infinite"===r.animationIterationCount&&(r.animationIterationCount=1)),e.put(i,r),n=r,i=n.animationDelay,r=n.transitionDelay,n.maxDelay=i&&r?Math.max(i,r):i||r,n.maxDuration=Math.max(n.animationDuration*n.animationIterationCount,n.transitionDuration),n}var F=c(r),N=0,L=[];return function(t,n){function u(){m()}function c(){m(!0)}function m(e){if(!(U||Z&&G)){U=!0,G=!1,j.$$skipPreparationClasses||r.removeClass(t,dt),r.removeClass(t,ht),$(H,!1),b(H,!1),R(it,function(t){H.style[t[0]]=""}),F(t,j),f(t,j),Object.keys(B).length&&R(B,function(t,e){t?H.style.setProperty(e,t):H.style.removeProperty(e)}),j.onDone&&j.onDone(),st&&st.length&&t.off(st.join(" "),L);var n=t.data("$$animateCss");n&&(s.cancel(n[0].timer),t.removeData("$$animateCss")),K&&K.complete(!e)}}function _(t){bt.blockTransition&&b(H,t),bt.blockKeyframeAnimation&&$(H,!!t)}function N(){return K=new a({end:u,cancel:c}),C(Y),m(),{$$willAnimate:!1,start:function(){return K},end:u}}function L(t){t.stopPropagation();var e=t.originalEvent||t;e.target===H&&(t=e.$manualTimeStamp||Date.now(),e=parseFloat(e.elapsedTime.toFixed(3)),Math.max(t-rt,0)>=tt&&e>=et&&(Z=!0,m()))}function I(){function e(){if(!U){if(_(!1),R(it,function(t){H.style[t[0]]=t[1]}),F(t,j),r.addClass(t,ht),bt.recalculateTimingStyles){if(ft=H.getAttribute("class")+" "+dt,pt=y(H,ft),vt=E(H,ft,pt),yt=vt.maxDelay,Q=Math.max(yt,0),0===(et=vt.maxDuration))return void m();bt.hasTransitions=0<vt.transitionDuration,bt.hasAnimations=0<vt.animationDuration}if(bt.applyAnimationDelay&&(yt="boolean"!=typeof j.delay&&x(j.delay)?parseFloat(j.delay):yt,Q=Math.max(yt,0),vt.animationDelay=yt,$t=[z,yt+"s"],it.push($t),H.style[$t[0]]=$t[1]),tt=1e3*Q,nt=1e3*et,j.easing){var e,i=j.easing;bt.hasTransitions&&(e=A+"TimingFunction",it.push([e,i]),H.style[e]=i),bt.hasAnimations&&(e=T+"TimingFunction",it.push([e,i]),H.style[e]=i)}vt.transitionDuration&&st.push(M),vt.animationDuration&&st.push(O),rt=Date.now();var o=tt+1.5*nt;e=rt+o;var i=t.data("$$animateCss")||[],a=!0;if(i.length){var u=i[0];(a=e>u.expectedEndTime)?s.cancel(u.timer):i.push(m)}a&&(o=s(n,o,!1),i[0]={timer:o,expectedEndTime:e},i.push(m),t.data("$$animateCss",i)),st.length&&t.on(st.join(" "),L),j.to&&(j.cleanupStyles&&D(B,H,Object.keys(j.to)),p(t,j))}}function n(){var e=t.data("$$animateCss");if(e){for(var n=1;n<e.length;n++)e[n]();t.removeData("$$animateCss")}}if(!U)if(H.parentNode){var i=function(t){if(Z)G&&t&&(G=!1,m());else if(G=!t,vt.animationDuration)if(t=$(H,G),G)it.push(t);else{var e=it,n=e.indexOf(t);0<=t&&e.splice(n,1)}},o=0<gt&&(vt.transitionDuration&&0===mt.transitionDuration||vt.animationDuration&&0===mt.animationDuration)&&Math.max(mt.animationDelay,mt.transitionDelay);o?s(e,Math.floor(o*gt*1e3),!1):e(),X.resume=function(){i(!0)},X.pause=function(){i(!1)}}else m()}var j=n||{};j.$$prepared||(j=d(P(j)));var B={},H=v(t);if(!H||!H.parentNode||!g.enabled())return N();var U,G,Z,K,X,Q,tt,et,nt,rt,it=[],ot=t.attr("class"),at=i(j),st=[];if(0===j.duration||!l.animations&&!l.transitions)return N();var ut=j.event&&V(j.event)?j.event.join(" "):j.event,lt="",ct="";ut&&j.structural?lt=o(ut,"ng-",!0):ut&&(lt=ut),j.addClass&&(ct+=o(j.addClass,"-add")),j.removeClass&&(ct.length&&(ct+=" "),ct+=o(j.removeClass,"-remove")),j.applyClassesEarly&&ct.length&&F(t,j);var dt=[lt,ct].join(" ").trim(),ft=ot+" "+dt,ht=o(dt,"-active"),ot=at.to&&0<Object.keys(at.to).length;if(!(0<(j.keyframeStyle||"").length||ot||dt))return N();var pt,mt;0<j.stagger?(at=parseFloat(j.stagger),mt={transitionDelay:at,animationDelay:at,transitionDuration:0,animationDuration:0}):(pt=y(H,ft),mt=k(H,dt,pt,J)),j.$$skipPreparationClasses||r.addClass(t,dt),j.transitionStyle&&(at=[A,j.transitionStyle],w(H,at),it.push(at)),0<=j.duration&&(at=0<H.style[A].length,at=S(j.duration,at),w(H,at),it.push(at)),j.keyframeStyle&&(at=[T,j.keyframeStyle],w(H,at),it.push(at));var gt=mt?0<=j.staggerIndex?j.staggerIndex:e.count(pt):0;(ut=0===gt)&&!j.skipBlocking&&b(H,9999);var vt=E(H,ft,pt),yt=vt.maxDelay;Q=Math.max(yt,0),et=vt.maxDuration;var bt={};if(bt.hasTransitions=0<vt.transitionDuration,bt.hasAnimations=0<vt.animationDuration,bt.hasTransitionAll=bt.hasTransitions&&"all"===vt.transitionProperty,bt.applyTransitionDuration=ot&&(bt.hasTransitions&&!bt.hasTransitionAll||bt.hasAnimations&&!bt.hasTransitions),bt.applyAnimationDuration=j.duration&&bt.hasAnimations,bt.applyTransitionDelay=x(j.delay)&&(bt.applyTransitionDuration||bt.hasTransitions),bt.applyAnimationDelay=x(j.delay)&&bt.hasAnimations,bt.recalculateTimingStyles=0<ct.length,(bt.applyTransitionDuration||bt.applyAnimationDuration)&&(et=j.duration?parseFloat(j.duration):et,bt.applyTransitionDuration&&(bt.hasTransitions=!0,vt.transitionDuration=et,at=0<H.style[A+"Property"].length,it.push(S(et,at))),bt.applyAnimationDuration&&(bt.hasAnimations=!0,vt.animationDuration=et,it.push([q,et+"s"]))),0===et&&!bt.recalculateTimingStyles)return N();if(null!=j.delay){var $t;"boolean"!=typeof j.delay&&($t=parseFloat(j.delay),Q=Math.max($t,0)),bt.applyTransitionDelay&&it.push([W,$t+"s"]),bt.applyAnimationDelay&&it.push([z,$t+"s"])}return null==j.duration&&0<vt.transitionDuration&&(bt.recalculateTimingStyles=bt.recalculateTimingStyles||ut),tt=1e3*Q,nt=1e3*et,j.skipBlocking||(bt.blockTransition=0<vt.transitionDuration,bt.blockKeyframeAnimation=0<vt.animationDuration&&0<mt.animationDelay&&0===mt.animationDuration),j.from&&(j.cleanupStyles&&D(B,H,Object.keys(j.from)),h(t,j)),bt.blockTransition||bt.blockKeyframeAnimation?_(et):j.skipBlocking||b(H,!1),{$$willAnimate:!0,end:u,start:function(){if(!U)return X={end:u,cancel:c,resume:null,pause:null},K=new a(X),C(I),K}}}}]}]).provider("$$animateCssDriver",["$$animationProvider",function(t){t.drivers.push("$$animateCssDriver"),this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(t,e,n,r,i,o,a){function s(t){return t.replace(/\bng-\S+\b/g,"")}function u(t,e){return B(t)&&(t=t.split(" ")),B(e)&&(e=e.split(" ")),t.filter(function(t){return-1===e.indexOf(t)}).join(" ")}function l(e,r,i){function o(t){var e={},n=v(t).getBoundingClientRect();return R(["width","height","top","left"],function(t){var r=n[t];switch(t){case"top":r+=f.scrollTop;break;case"left":r+=f.scrollLeft}e[t]=Math.floor(r)+"px"}),e}function a(){var e=s(i.attr("class")||""),n=u(e,d),e=u(d,e),n=t(c,{to:o(i),addClass:"ng-anchor-in "+n,removeClass:"ng-anchor-out "+e,delay:!0});return n.$$willAnimate?n:null}function l(){c.remove(),r.removeClass("ng-animate-shim"),i.removeClass("ng-animate-shim")}var c=U(v(r).cloneNode(!0)),d=s(c.attr("class")||"");r.addClass("ng-animate-shim"),i.addClass("ng-animate-shim"),c.addClass("ng-anchor"),h.append(c);var p;if(!(e=function(){var e=t(c,{addClass:"ng-anchor-out",delay:!0,from:o(r)});return e.$$willAnimate?e:null}())&&!(p=a()))return l();var m=e||p;return{start:function(){function t(){r&&r.end()}var e,r=m.start();return r.done(function(){if(r=null,!p&&(p=a()))return r=p.start(),r.done(function(){r=null,l(),e.complete()}),r;l(),e.complete()}),e=new n({end:t,cancel:t})}}}function c(t,e,r,i){var o=d(t),a=d(e),s=[];if(R(i,function(t){(t=l(r,t.out,t.in))&&s.push(t)}),o||a||0!==s.length)return{start:function(){function t(){R(e,function(t){t.end()})}var e=[];o&&e.push(o.start()),a&&e.push(a.start()),R(s,function(t){e.push(t.start())});var r=new n({end:t,cancel:t});return n.all(e,function(t){r.complete(t)}),r}}}function d(e){var n=e.element,r=e.options||{};return e.structural&&(r.event=e.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===e.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=k(r.event,r.preparationClasses)),e=t(n,r),e.$$willAnimate?e:null}if(!i.animations&&!i.transitions)return Y;var f=a[0].body;e=v(r);var h=U(e.parentNode&&11===e.parentNode.nodeType||f.contains(e)?e:f);return function(t){return t.from&&t.to?c(t.from,t.to,t.classes,t.anchors):d(t)}}]}]).provider("$$animateJs",["$animateProvider",function(t){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(e,n,r){function i(n){n=V(n)?n:n.split(" ");for(var r=[],i={},o=0;o<n.length;o++){var a=n[o],s=t.$$registeredAnimations[a];s&&!i[a]&&(r.push(e.get(s)),i[a]=!0)}return r}var o=c(r);return function(t,e,r,a){function s(){a.domOperation(),o(t,a)}function u(t,e,r,i,o){switch(r){case"animate":e=[e,i.from,i.to,o];break;case"setClass":e=[e,g,v,o];break;case"addClass":e=[e,g,o];break;case"removeClass":e=[e,v,o];break;default:e=[e,o]}if(e.push(i),t=t.apply(t,e))if(I(t.start)&&(t=t.start()),t instanceof n)t.done(o);else if(I(t))return t;return Y}function l(t,e,r,i,o){var a=[];return R(i,function(i){var s=i[o];s&&a.push(function(){var i,o,a=!1,l=function(t){a||(a=!0,(o||Y)(t),i.complete(!t))};return i=new n({end:function(){l()},cancel:function(){l(!0)}}),o=u(s,t,e,r,function(t){l(!1===t)}),i})}),a}function c(t,e,r,i,o){var a=l(t,e,r,i,o);if(0===a.length){var s,u;"beforeSetClass"===o?(s=l(t,"removeClass",r,i,"beforeRemoveClass"),u=l(t,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(s=l(t,"removeClass",r,i,"removeClass"),u=l(t,"addClass",r,i,"addClass")),s&&(a=a.concat(s)),u&&(a=a.concat(u))}if(0!==a.length)return function(t){var e=[];return a.length&&R(a,function(t){e.push(t())}),e.length?n.all(e,t):t(),function(t){R(e,function(e){t?e.cancel():e.end()})}}}var h=!1;3===arguments.length&&j(r)&&(a=r,r=null),a=d(a),r||(r=t.attr("class")||"",a.addClass&&(r+=" "+a.addClass),a.removeClass&&(r+=" "+a.removeClass));var p,m,g=a.addClass,v=a.removeClass,y=i(r);if(y.length){var b,$;"leave"===e?($="leave",b="afterLeave"):($="before"+e.charAt(0).toUpperCase()+e.substr(1),b=e),"enter"!==e&&"move"!==e&&(p=c(t,e,a,y,$)),m=c(t,e,a,y,b)}if(p||m){var w;return{$$willAnimate:!0,end:function(){return w?w.end():(h=!0,s(),f(t,a),w=new n,w.complete(!0)),w},start:function(){function e(e){h=!0,s(),f(t,a),w.complete(e)}if(w)return w;w=new n;var r,i=[];return p&&i.push(function(t){r=p(t)}),i.length?i.push(function(t){s(),t(!0)}):s(),m&&i.push(function(t){r=m(t)}),w.setHost({end:function(){h||((r||Y)(void 0),e(void 0))},cancel:function(){h||((r||Y)(!0),e(!0))}}),n.chain(i,e),w}}}}}]}]).provider("$$animateJsDriver",["$$animationProvider",function(t){t.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(t,e){function n(e){return t(e.element,e.event,e.classes,e.options)}return function(t){if(!t.from||!t.to)return n(t);var r=n(t.from),i=n(t.to);return r||i?{start:function(){function t(){return function(){R(n,function(t){t.end()})}}var n=[];r&&n.push(r.start()),i&&n.push(i.start()),e.all(n,function(t){o.complete(t)});var o=new e({end:t(),cancel:t()});return o}}:void 0}}]}])}(window,window.angular),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return Sr.apply(null,arguments)}function e(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function n(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function r(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function i(t){return void 0===t}function o(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function a(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function s(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function u(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){for(var n in e)u(e,n)&&(t[n]=e[n]);return u(e,"toString")&&(t.toString=e.toString),u(e,"valueOf")&&(t.valueOf=e.valueOf),t}function c(t,e,n,r){return _e(t,e,n,r,!0).utc()}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(t){return null==t._pf&&(t._pf=d()),t._pf}function h(t){if(null==t._isValid){var e=f(t),n=Er.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function p(t){var e=c(NaN);return null!=t?l(f(e),t):f(e).userInvalidated=!0,e}function m(t,e){var n,r,o;if(i(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),i(e._i)||(t._i=e._i),i(e._f)||(t._f=e._f),i(e._l)||(t._l=e._l),i(e._strict)||(t._strict=e._strict),i(e._tzm)||(t._tzm=e._tzm),i(e._isUTC)||(t._isUTC=e._isUTC),i(e._offset)||(t._offset=e._offset),i(e._pf)||(t._pf=f(e)),i(e._locale)||(t._locale=e._locale),Dr.length>0)for(n=0;n<Dr.length;n++)r=Dr[n],o=e[r],i(o)||(t[r]=o);return t}function g(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Ar&&(Ar=!0,t.updateOffset(this),Ar=!1)}function v(t){return t instanceof g||null!=t&&null!=t._isAMomentObject}function y(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function b(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=y(e)),n}function $(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&b(t[r])!==b(e[r]))&&a++;return a+o}function w(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,n){var r=!0;return l(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),r){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}w(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function _(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Mr[e]||(w(n),Mr[e]=!0)}function C(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function x(t){var e,n;for(n in t)e=t[n],C(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function S(t,e){var r,i=l({},t);for(r in e)u(e,r)&&(n(t[r])&&n(e[r])?(i[r]={},l(i[r],t[r]),l(i[r],e[r])):null!=e[r]?i[r]=e[r]:delete i[r]);for(r in t)u(t,r)&&!u(e,r)&&n(t[r])&&(i[r]=l({},i[r]));return i}function E(t){null!=t&&this.set(t)}function D(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return C(r)?r.call(e,n):r}function A(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function M(){return this._invalidDate}function T(t){return this._ordinal.replace("%d",t)}function O(t,e,n,r){var i=this._relativeTime[n];return C(i)?i(t,e,n,r):i.replace(/%d/i,t)}function P(t,e){var n=this._relativeTime[t>0?"future":"past"];return C(n)?n(e):n.replace(/%s/i,e)}function F(t,e){var n=t.toLowerCase();Vr[n]=Vr[n+"s"]=Vr[e]=t}function R(t){return"string"==typeof t?Vr[t]||Vr[t.toLowerCase()]:void 0}function V(t){var e,n,r={};for(n in t)u(t,n)&&(e=R(n))&&(r[e]=t[n]);return r}function N(t,e){Nr[t]=e}function L(t){var e=[];for(var n in t)e.push({unit:n,priority:Nr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function I(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function j(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Br[t]=i),e&&(Br[e[0]]=function(){return I(i.apply(this,arguments),e[1],e[2])}),n&&(Br[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function B(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function H(t){var e,n,r=t.match(Lr);for(e=0,n=r.length;e<n;e++)Br[r[e]]?r[e]=Br[r[e]]:r[e]=B(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=C(r[i])?r[i].call(e,t):r[i];return o}}function U(t,e){return t.isValid()?(e=Y(e,t.localeData()),jr[e]=jr[e]||H(e),jr[e](t)):t.localeData().invalidDate()}function Y(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Ir.lastIndex=0;r>=0&&Ir.test(t);)t=t.replace(Ir,n),Ir.lastIndex=0,r-=1;return t}function z(t,e,n){oi[t]=C(e)?e:function(t,r){return t&&n?n:e}}function q(t,e){return u(oi,t)?oi[t](e._strict,e._locale):new RegExp(W(t))}function W(t){return G(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}function G(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),o(e)&&(r=function(t,n){n[e]=b(t)}),n=0;n<t.length;n++)ai[t[n]]=r}function K(t,e){Z(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function J(t,e,n){null!=e&&u(ai,t)&&ai[t](e,n._a,n,t)}function X(t){return Q(t)?366:365}function Q(t){return t%4==0&&t%100!=0||t%400==0}function tt(){return Q(this.year())}function et(e,n){return function(r){return null!=r?(rt(this,e,r),t.updateOffset(this,n),this):nt(this,e)}}function nt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function rt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Q(t.year())?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),st(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function it(t){return t=R(t),C(this[t])?this[t]():this}function ot(t,e){if("object"==typeof t){t=V(t);for(var n=L(t),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(t=R(t),C(this[t]))return this[t](e);return this}function at(t,e){return(t%e+e)%e}function st(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=at(e,12);return t+=(e-n)/12,1===n?Q(t)?29:28:31-n%7%2}function ut(t,n){return t?e(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||yi).test(n)?"format":"standalone"][t.month()]:e(this._months)?this._months:this._months.standalone}function lt(t,n){return t?e(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[yi.test(n)?"format":"standalone"][t.month()]:e(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ct(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?(i=gi.call(this._shortMonthsParse,a),-1!==i?i:null):(i=gi.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===e?-1!==(i=gi.call(this._shortMonthsParse,a))?i:(i=gi.call(this._longMonthsParse,a),-1!==i?i:null):-1!==(i=gi.call(this._longMonthsParse,a))?i:(i=gi.call(this._shortMonthsParse,a),-1!==i?i:null)}function dt(t,e,n){var r,i,o;if(this._monthsParseExact)return ct.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function ft(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=b(e);else if(e=t.localeData().monthsParse(e),!o(e))return t;return n=Math.min(t.date(),st(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function ht(e){return null!=e?(ft(this,e),t.updateOffset(this,!0),this):nt(this,"Month")}function pt(){return st(this.year(),this.month())}function mt(t){return this._monthsParseExact?(u(this,"_monthsRegex")||vt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=wi),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(t){return this._monthsParseExact?(u(this,"_monthsRegex")||vt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=ki),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function vt(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=c([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=G(r[e]),i[e]=G(i[e]);for(e=0;e<24;e++)o[e]=G(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function yt(t,e,n,r,i,o,a){var s=new Date(t,e,n,r,i,o,a);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function bt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function $t(t,e,n){var r=7+e-n;return-(7+bt(t,0,r).getUTCDay()-e)%7+r-1}function wt(t,e,n,r,i){var o,a,s=(7+n-r)%7,u=$t(t,r,i),l=1+7*(e-1)+s+u;return l<=0?(o=t-1,a=X(o)+l):l>X(t)?(o=t+1,a=l-X(t)):(o=t,a=l),{year:o,dayOfYear:a}}function kt(t,e,n){var r,i,o=$t(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+_t(i,e,n)):a>_t(t.year(),e,n)?(r=a-_t(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function _t(t,e,n){var r=$t(t,e,n),i=$t(t+1,e,n);return(X(t)-r+i)/7}function Ct(t){return kt(t,this._week.dow,this._week.doy).week}function xt(){return this._week.dow}function St(){return this._week.doy}function Et(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Dt(t){var e=kt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function At(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Mt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Tt(t,n){return t?e(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(n)?"format":"standalone"][t.day()]:e(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ot(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Pt(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ft(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=gi.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=gi.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=gi.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?-1!==(i=gi.call(this._weekdaysParse,a))?i:-1!==(i=gi.call(this._shortWeekdaysParse,a))?i:(i=gi.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===e?-1!==(i=gi.call(this._shortWeekdaysParse,a))?i:-1!==(i=gi.call(this._weekdaysParse,a))?i:(i=gi.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=gi.call(this._minWeekdaysParse,a))?i:-1!==(i=gi.call(this._weekdaysParse,a))?i:(i=gi.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Rt(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Ft.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Vt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=At(t,this.localeData()),this.add(t-e,"d")):e}function Nt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Lt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Mt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function It(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ht.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ei),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function jt(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ht.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Di),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Bt(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ht.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ai),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ht(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],u=[],l=[];for(e=0;e<7;e++)n=c([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(t),s.sort(t),u.sort(t),l.sort(t),e=0;e<7;e++)s[e]=G(s[e]),u[e]=G(u[e]),l[e]=G(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ut(){return this.hours()%12||12}function Yt(){return this.hours()||24}function zt(t,e){j(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function qt(t,e){return e._meridiemParse}function Wt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Gt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Zt(t){return t?t.toLowerCase().replace("_","-"):t}function Kt(t){for(var e,n,r,i,o=0;o<t.length;){for(i=Zt(t[o]).split("-"),e=i.length,n=Zt(t[o+1]),n=n?n.split("-"):null;e>0;){if(r=Jt(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&$(i,n,!0)>=e-1)break;e--}o++}
return null}function Jt(t){var e=null;if(!Fi[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=Mi._abbr;require("./locale/"+t),Xt(e)}catch(t){}return Fi[t]}function Xt(t,e){var n;return t&&(n=i(e)?ee(t):Qt(t,e))&&(Mi=n),Mi._abbr}function Qt(t,e){if(null!==e){var n=Pi;if(e.abbr=t,null!=Fi[t])_("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Fi[t]._config;else if(null!=e.parentLocale){if(null==Fi[e.parentLocale])return Ri[e.parentLocale]||(Ri[e.parentLocale]=[]),Ri[e.parentLocale].push({name:t,config:e}),null;n=Fi[e.parentLocale]._config}return Fi[t]=new E(S(n,e)),Ri[t]&&Ri[t].forEach(function(t){Qt(t.name,t.config)}),Xt(t),Fi[t]}return delete Fi[t],null}function te(t,e){if(null!=e){var n,r=Pi;null!=Fi[t]&&(r=Fi[t]._config),e=S(r,e),n=new E(e),n.parentLocale=Fi[t],Fi[t]=n,Xt(t)}else null!=Fi[t]&&(null!=Fi[t].parentLocale?Fi[t]=Fi[t].parentLocale:null!=Fi[t]&&delete Fi[t]);return Fi[t]}function ee(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Mi;if(!e(t)){if(n=Jt(t))return n;t=[t]}return Kt(t)}function ne(){return Tr(Fi)}function re(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[ui]<0||n[ui]>11?ui:n[li]<1||n[li]>st(n[si],n[ui])?li:n[ci]<0||n[ci]>24||24===n[ci]&&(0!==n[di]||0!==n[fi]||0!==n[hi])?ci:n[di]<0||n[di]>59?di:n[fi]<0||n[fi]>59?fi:n[hi]<0||n[hi]>999?hi:-1,f(t)._overflowDayOfYear&&(e<si||e>li)&&(e=li),f(t)._overflowWeeks&&-1===e&&(e=pi),f(t)._overflowWeekday&&-1===e&&(e=mi),f(t).overflow=e),t}function ie(t,e,n){return null!=t?t:null!=e?e:n}function oe(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ae(t){var e,n,r,i,o=[];if(!t._d){for(r=oe(t),t._w&&null==t._a[li]&&null==t._a[ui]&&se(t),null!=t._dayOfYear&&(i=ie(t._a[si],r[si]),(t._dayOfYear>X(i)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),n=bt(i,0,t._dayOfYear),t._a[ui]=n.getUTCMonth(),t._a[li]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ci]&&0===t._a[di]&&0===t._a[fi]&&0===t._a[hi]&&(t._nextDay=!0,t._a[ci]=0),t._d=(t._useUTC?bt:yt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ci]=24),t._w&&void 0!==t._w.d&&t._w.d!==t._d.getDay()&&(f(t).weekdayMismatch=!0)}}function se(t){var e,n,r,i,o,a,s,u;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)o=1,a=4,n=ie(e.GG,t._a[si],kt(Ce(),1,4).year),r=ie(e.W,1),((i=ie(e.E,1))<1||i>7)&&(u=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var l=kt(Ce(),o,a);n=ie(e.gg,t._a[si],l.year),r=ie(e.w,l.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o}r<1||r>_t(n,o,a)?f(t)._overflowWeeks=!0:null!=u?f(t)._overflowWeekday=!0:(s=wt(n,r,i,o,a),t._a[si]=s.year,t._dayOfYear=s.dayOfYear)}function ue(t){var e,n,r,i,o,a,s=t._i,u=Vi.exec(s)||Ni.exec(s);if(u){for(f(t).iso=!0,e=0,n=Ii.length;e<n;e++)if(Ii[e][1].exec(u[1])){i=Ii[e][0],r=!1!==Ii[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=ji.length;e<n;e++)if(ji[e][1].exec(u[3])){o=(u[2]||" ")+ji[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(u[4]){if(!Li.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),ge(t)}else t._isValid=!1}function le(t,e,n,r,i,o){var a=[ce(t),$i.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function ce(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function de(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function fe(t,e,n){if(t){if(xi.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return f(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function he(t,e,n){if(t)return Ui[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function pe(t){var e=Hi.exec(de(t._i));if(e){var n=le(e[4],e[3],e[2],e[5],e[6],e[7]);if(!fe(e[1],n,t))return;t._a=n,t._tzm=he(e[8],e[9],e[10]),t._d=bt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function me(e){var n=Bi.exec(e._i);if(null!==n)return void(e._d=new Date(+n[1]));ue(e),!1===e._isValid&&(delete e._isValid,pe(e),!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e)))}function ge(e){if(e._f===t.ISO_8601)return void ue(e);if(e._f===t.RFC_2822)return void pe(e);e._a=[],f(e).empty=!0;var n,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=Y(e._f,e._locale).match(Lr)||[],n=0;n<i.length;n++)o=i[n],r=(s.match(q(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Br[o]?(r?f(e).empty=!1:f(e).unusedTokens.push(o),J(o,r,e)):e._strict&&!r&&f(e).unusedTokens.push(o);f(e).charsLeftOver=u-l,s.length>0&&f(e).unusedInput.push(s),e._a[ci]<=12&&!0===f(e).bigHour&&e._a[ci]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[ci]=ve(e._locale,e._a[ci],e._meridiem),ae(e),re(e)}function ve(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function ye(t){var e,n,r,i,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,e=m({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],ge(e),h(e)&&(o+=f(e).charsLeftOver,o+=10*f(e).unusedTokens.length,f(e).score=o,(null==r||o<r)&&(r=o,n=e));l(t,n||e)}function be(t){if(!t._d){var e=V(t._i);t._a=s([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ae(t)}}function $e(t){var e=new g(re(we(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function we(t){var n=t._i,r=t._f;return t._locale=t._locale||ee(t._l),null===n||void 0===r&&""===n?p({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),v(n)?new g(re(n)):(a(n)?t._d=n:e(r)?ye(t):r?ge(t):ke(t),h(t)||(t._d=null),t))}function ke(r){var u=r._i;i(u)?r._d=new Date(t.now()):a(u)?r._d=new Date(u.valueOf()):"string"==typeof u?me(r):e(u)?(r._a=s(u.slice(0),function(t){return parseInt(t,10)}),ae(r)):n(u)?be(r):o(u)?r._d=new Date(u):t.createFromInputFallback(r)}function _e(t,i,o,a,s){var u={};return!0!==o&&!1!==o||(a=o,o=void 0),(n(t)&&r(t)||e(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=o,u._i=t,u._f=i,u._strict=a,$e(u)}function Ce(t,e,n,r){return _e(t,e,n,r,!1)}function xe(t,n){var r,i;if(1===n.length&&e(n[0])&&(n=n[0]),!n.length)return Ce();for(r=n[0],i=1;i<n.length;++i)n[i].isValid()&&!n[i][t](r)||(r=n[i]);return r}function Se(){return xe("isBefore",[].slice.call(arguments,0))}function Ee(){return xe("isAfter",[].slice.call(arguments,0))}function De(t){for(var e in t)if(-1===gi.call(Wi,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Wi.length;++r)if(t[Wi[r]]){if(n)return!1;parseFloat(t[Wi[r]])!==b(t[Wi[r]])&&(n=!0)}return!0}function Ae(){return this._isValid}function Me(){return Ze(NaN)}function Te(t){var e=V(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||0,a=e.day||0,s=e.hour||0,u=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=De(e),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ee(),this._bubble()}function Oe(t){return t instanceof Te}function Pe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Fe(t,e){j(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+I(~~(t/60),2)+e+I(~~t%60,2)})}function Re(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Gi)||["-",0,0],o=60*i[1]+b(i[2]);return 0===o?0:"+"===i[0]?o:-o}function Ve(e,n){var r,i;return n._isUTC?(r=n.clone(),i=(v(e)||a(e)?e.valueOf():Ce(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),t.updateOffset(r,!1),r):Ce(e).local()}function Ne(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Le(e,n,r){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Re(ni,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&n&&(i=Ne(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!n||this._changeInProgress?tn(this,Ze(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ne(this)}function Ie(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function je(t){return this.utcOffset(0,t)}function Be(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ne(this),"m")),this}function He(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(ei,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Ue(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Ye(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ze(){if(!i(this._isDSTShifted))return this._isDSTShifted;var t={};if(m(t,this),t=we(t),t._a){var e=t._isUTC?c(t._a):Ce(t._a);this._isDSTShifted=this.isValid()&&$(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function qe(){return!!this.isValid()&&!this._isUTC}function We(){return!!this.isValid()&&this._isUTC}function Ge(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ze(t,e){var n,r,i,a=t,s=null;return Oe(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:o(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=Zi.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:b(s[li])*n,h:b(s[ci])*n,m:b(s[di])*n,s:b(s[fi])*n,ms:b(Pe(1e3*s[hi]))*n}):(s=Ki.exec(t))?(n="-"===s[1]?-1:(s[1],1),a={y:Ke(s[2],n),M:Ke(s[3],n),w:Ke(s[4],n),d:Ke(s[5],n),h:Ke(s[6],n),m:Ke(s[7],n),s:Ke(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Xe(Ce(a.from),Ce(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),r=new Te(a),Oe(t)&&u(t,"_locale")&&(r._locale=t._locale),r}function Ke(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Je(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Xe(t,e){var n;return t.isValid()&&e.isValid()?(e=Ve(e,t),t.isBefore(e)?n=Je(t,e):(n=Je(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Qe(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(_(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ze(n,r),tn(this,i,t),this}}function tn(e,n,r,i){var o=n._milliseconds,a=Pe(n._days),s=Pe(n._months);e.isValid()&&(i=null==i||i,s&&ft(e,nt(e,"Month")+s*r),a&&rt(e,"Date",nt(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&t.updateOffset(e,a||s))}function en(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function nn(e,n){var r=e||Ce(),i=Ve(r,this).startOf("day"),o=t.calendarFormat(this,i)||"sameElse",a=n&&(C(n[o])?n[o].call(this,r):n[o]);return this.format(a||this.localeData().calendar(o,this,Ce(r)))}function rn(){return new g(this)}function on(t,e){var n=v(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=R(i(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function an(t,e){var n=v(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=R(i(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function sn(t,e,n,r){return r=r||"()",("("===r[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))}function un(t,e){var n,r=v(t)?t:Ce(t);return!(!this.isValid()||!r.isValid())&&(e=R(e||"millisecond"),"millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function ln(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function cn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function dn(t,e,n){var r,i,o;if(!this.isValid())return NaN;if(r=Ve(t,this),!r.isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=R(e)){case"year":o=fn(this,r)/12;break;case"month":o=fn(this,r);break;case"quarter":o=fn(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:y(o)}function fn(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");return e-o<0?(n=t.clone().add(i-1,"months"),r=(e-o)/(o-n)):(n=t.clone().add(i+1,"months"),r=(e-o)/(n-o)),-(i+r)||0}function hn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function pn(){if(!this.isValid())return null;var t=this.clone().utc();return t.year()<0||t.year()>9999?U(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):C(Date.prototype.toISOString)?this.toDate().toISOString():U(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function mn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function gn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=U(this,e);return this.localeData().postformat(n)}function vn(t,e){return this.isValid()&&(v(t)&&t.isValid()||Ce(t).isValid())?Ze({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function yn(t){return this.from(Ce(),t)}function bn(t,e){return this.isValid()&&(v(t)&&t.isValid()||Ce(t).isValid())?Ze({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function $n(t){return this.to(Ce(),t)}function wn(t){var e;return void 0===t?this._locale._abbr:(e=ee(t),null!=e&&(this._locale=e),this)}function kn(){return this._locale}function _n(t){switch(t=R(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function Cn(t){return void 0===(t=R(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function xn(){return this._d.valueOf()-6e4*(this._offset||0)}function Sn(){return Math.floor(this.valueOf()/1e3)}function En(){return new Date(this.valueOf())}function Dn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function An(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Mn(){return this.isValid()?this.toISOString():null}function Tn(){return h(this)}function On(){return l({},f(this))}function Pn(){return f(this).overflow}function Fn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Rn(t,e){j(0,[t,t.length],0,e)}function Vn(t){return jn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Nn(t){return jn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Ln(){return _t(this.year(),1,4)}function In(){var t=this.localeData()._week;return _t(this.year(),t.dow,t.doy)}function jn(t,e,n,r,i){var o;return null==t?kt(this,r,i).year:(o=_t(t,r,i),e>o&&(e=o),Bn.call(this,t,e,n,r,i))}function Bn(t,e,n,r,i){var o=wt(t,e,n,r,i),a=bt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Hn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Un(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Yn(t,e){e[hi]=b(1e3*("0."+t))}function zn(){return this._isUTC?"UTC":""}function qn(){return this._isUTC?"Coordinated Universal Time":""}function Wn(t){return Ce(1e3*t)}function Gn(){return Ce.apply(null,arguments).parseZone()}function Zn(t){return t}function Kn(t,e,n,r){var i=ee(),o=c().set(r,e);return i[n](o,t)}function Jn(t,e,n){if(o(t)&&(e=t,t=void 0),t=t||"",null!=e)return Kn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Kn(t,r,n,"month");return i}function Xn(t,e,n,r){"boolean"==typeof t?(o(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,o(e)&&(n=e,e=void 0),e=e||"");var i=ee(),a=t?i._week.dow:0;if(null!=n)return Kn(e,(n+a)%7,r,"day");var s,u=[];for(s=0;s<7;s++)u[s]=Kn(e,(s+a)%7,r,"day");return u}function Qn(t,e){return Jn(t,e,"months")}function tr(t,e){return Jn(t,e,"monthsShort")}function er(t,e,n){return Xn(t,e,n,"weekdays")}function nr(t,e,n){return Xn(t,e,n,"weekdaysShort")}function rr(t,e,n){return Xn(t,e,n,"weekdaysMin")}function ir(){var t=this._data;return this._milliseconds=so(this._milliseconds),this._days=so(this._days),this._months=so(this._months),t.milliseconds=so(t.milliseconds),t.seconds=so(t.seconds),t.minutes=so(t.minutes),t.hours=so(t.hours),t.months=so(t.months),t.years=so(t.years),this}function or(t,e,n,r){var i=Ze(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function ar(t,e){return or(this,t,e,1)}function sr(t,e){return or(this,t,e,-1)}function ur(t){return t<0?Math.floor(t):Math.ceil(t)}function lr(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*ur(dr(s)+a),a=0,s=0),u.milliseconds=o%1e3,t=y(o/1e3),u.seconds=t%60,e=y(t/60),u.minutes=e%60,n=y(e/60),u.hours=n%24,a+=y(n/24),i=y(cr(a)),s+=i,a-=ur(dr(i)),r=y(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function cr(t){return 4800*t/146097}function dr(t){return 146097*t/4800}function fr(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=R(t))||"year"===t)return e=this._days+r/864e5,n=this._months+cr(e),"month"===t?n:n/12;switch(e=this._days+Math.round(dr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function hr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN}function pr(t){return function(){return this.as(t)}}function mr(){return Ze(this)}function gr(t){return t=R(t),this.isValid()?this[t+"s"]():NaN}function vr(t){return function(){return this.isValid()?this._data[t]:NaN}}function yr(){return y(this.days()/7)}function br(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function $r(t,e,n){var r=Ze(t).abs(),i=Co(r.as("s")),o=Co(r.as("m")),a=Co(r.as("h")),s=Co(r.as("d")),u=Co(r.as("M")),l=Co(r.as("y")),c=i<=xo.ss&&["s",i]||i<xo.s&&["ss",i]||o<=1&&["m"]||o<xo.m&&["mm",o]||a<=1&&["h"]||a<xo.h&&["hh",a]||s<=1&&["d"]||s<xo.d&&["dd",s]||u<=1&&["M"]||u<xo.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=e,c[3]=+t>0,c[4]=n,br.apply(null,c)}function wr(t){return void 0===t?Co:"function"==typeof t&&(Co=t,!0)}function kr(t,e){return void 0!==xo[t]&&(void 0===e?xo[t]:(xo[t]=e,"s"===t&&(xo.ss=e-1),!0))}function _r(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=$r(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Cr(t){return(t>0)-(t<0)||+t}function xr(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r=So(this._milliseconds)/1e3,i=So(this._days),o=So(this._months);t=y(r/60),e=y(t/60),r%=60,t%=60,n=y(o/12),o%=12;var a=n,s=o,u=i,l=e,c=t,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var h=f<0?"-":"",p=Cr(this._months)!==Cr(f)?"-":"",m=Cr(this._days)!==Cr(f)?"-":"",g=Cr(this._milliseconds)!==Cr(f)?"-":"";return h+"P"+(a?p+a+"Y":"")+(s?p+s+"M":"")+(u?m+u+"D":"")+(l||c||d?"T":"")+(l?g+l+"H":"")+(c?g+c+"M":"")+(d?g+d+"S":"")}var Sr,Er;Er=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var Dr=t.momentProperties=[],Ar=!1,Mr={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Tr;Tr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)u(t,e)&&n.push(e);return n};var Or={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Pr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Fr=/\d{1,2}/,Rr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Vr={},Nr={},Lr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ir=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jr={},Br={},Hr=/\d/,Ur=/\d\d/,Yr=/\d{3}/,zr=/\d{4}/,qr=/[+-]?\d{6}/,Wr=/\d\d?/,Gr=/\d\d\d\d?/,Zr=/\d\d\d\d\d\d?/,Kr=/\d{1,3}/,Jr=/\d{1,4}/,Xr=/[+-]?\d{1,6}/,Qr=/\d+/,ti=/[+-]?\d+/,ei=/Z|[+-]\d\d:?\d\d/gi,ni=/Z|[+-]\d\d(?::?\d\d)?/gi,ri=/[+-]?\d+(\.\d{1,3})?/,ii=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,oi={},ai={},si=0,ui=1,li=2,ci=3,di=4,fi=5,hi=6,pi=7,mi=8;j("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),j(0,["YY",2],0,function(){return this.year()%100}),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),F("year","y"),N("year",1),z("Y",ti),z("YY",Wr,Ur),z("YYYY",Jr,zr),z("YYYYY",Xr,qr),z("YYYYYY",Xr,qr),Z(["YYYYY","YYYYYY"],si),Z("YYYY",function(e,n){n[si]=2===e.length?t.parseTwoDigitYear(e):b(e)}),Z("YY",function(e,n){n[si]=t.parseTwoDigitYear(e)}),Z("Y",function(t,e){e[si]=parseInt(t,10)}),t.parseTwoDigitYear=function(t){return b(t)+(b(t)>68?1900:2e3)};var gi,vi=et("FullYear",!0);gi=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},j("M",["MM",2],"Mo",function(){return this.month()+1}),j("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),j("MMMM",0,0,function(t){return this.localeData().months(this,t)}),F("month","M"),N("month",8),z("M",Wr),z("MM",Wr,Ur),z("MMM",function(t,e){return e.monthsShortRegex(t)}),z("MMMM",function(t,e){return e.monthsRegex(t)}),Z(["M","MM"],function(t,e){e[ui]=b(t)-1}),Z(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[ui]=i:f(n).invalidMonth=t});var yi=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,bi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),$i="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),wi=ii,ki=ii;j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),N("week",5),N("isoWeek",5),z("w",Wr),z("ww",Wr,Ur),z("W",Wr),z("WW",Wr,Ur),K(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=b(t)});var _i={dow:0,doy:6};j("d",0,"do","day"),j("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),j("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),j("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),z("d",Wr),z("e",Wr),z("E",Wr),z("dd",function(t,e){return e.weekdaysMinRegex(t)}),z("ddd",function(t,e){return e.weekdaysShortRegex(t)}),z("dddd",function(t,e){return e.weekdaysRegex(t)}),K(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:f(n).invalidWeekday=t}),K(["d","e","E"],function(t,e,n,r){e[r]=b(t)});var Ci="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),xi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Si="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ei=ii,Di=ii,Ai=ii;j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Ut),j("k",["kk",2],0,Yt),j("hmm",0,0,function(){return""+Ut.apply(this)+I(this.minutes(),2)}),j("hmmss",0,0,function(){return""+Ut.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+I(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)}),zt("a",!0),zt("A",!1),F("hour","h"),N("hour",13),z("a",qt),z("A",qt),z("H",Wr),z("h",Wr),z("k",Wr),z("HH",Wr,Ur),z("hh",Wr,Ur),z("kk",Wr,Ur),z("hmm",Gr),z("hmmss",Zr),z("Hmm",Gr),z("Hmmss",Zr),Z(["H","HH"],ci),Z(["k","kk"],function(t,e,n){var r=b(t);e[ci]=24===r?0:r}),Z(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Z(["h","hh"],function(t,e,n){e[ci]=b(t),f(n).bigHour=!0}),Z("hmm",function(t,e,n){var r=t.length-2;e[ci]=b(t.substr(0,r)),e[di]=b(t.substr(r)),f(n).bigHour=!0}),Z("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ci]=b(t.substr(0,r)),e[di]=b(t.substr(r,2)),e[fi]=b(t.substr(i)),f(n).bigHour=!0}),Z("Hmm",function(t,e,n){var r=t.length-2;e[ci]=b(t.substr(0,r)),e[di]=b(t.substr(r))}),Z("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ci]=b(t.substr(0,r)),e[di]=b(t.substr(r,2)),e[fi]=b(t.substr(i))});var Mi,Ti=/[ap]\.?m?\.?/i,Oi=et("Hours",!0),Pi={calendar:Or,longDateFormat:Pr,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Fr,relativeTime:Rr,months:bi,monthsShort:$i,week:_i,weekdays:Ci,weekdaysMin:Si,weekdaysShort:xi,meridiemParse:Ti},Fi={},Ri={},Vi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ni=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Li=/Z|[+-]\d\d(?::?\d\d)?/,Ii=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ji=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Bi=/^\/?Date\((\-?\d+)/i,Hi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ui={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var Yi=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:p()}),zi=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:p()}),qi=function(){return Date.now?Date.now():+new Date},Wi=["year","quarter","month","week","day","hour","minute","second","millisecond"];Fe("Z",":"),Fe("ZZ",""),z("Z",ni),z("ZZ",ni),Z(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Re(ni,t)});var Gi=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Zi=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ki=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Ze.fn=Te.prototype,Ze.invalid=Me;var Ji=Qe(1,"add"),Xi=Qe(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qi=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Rn("gggg","weekYear"),Rn("ggggg","weekYear"),Rn("GGGG","isoWeekYear"),Rn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),z("G",ti),z("g",ti),z("GG",Wr,Ur),z("gg",Wr,Ur),z("GGGG",Jr,zr),z("gggg",Jr,zr),z("GGGGG",Xr,qr),z("ggggg",Xr,qr),K(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=b(t)}),K(["gg","GG"],function(e,n,r,i){n[i]=t.parseTwoDigitYear(e)}),j("Q",0,"Qo","quarter"),F("quarter","Q"),N("quarter",7),z("Q",Hr),Z("Q",function(t,e){e[ui]=3*(b(t)-1)}),j("D",["DD",2],"Do","date"),F("date","D"),N("date",9),z("D",Wr),z("DD",Wr,Ur),z("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Z(["D","DD"],li),Z("Do",function(t,e){e[li]=b(t.match(Wr)[0],10)});var to=et("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),N("dayOfYear",4),z("DDD",Kr),z("DDDD",Yr),Z(["DDD","DDDD"],function(t,e,n){n._dayOfYear=b(t)}),j("m",["mm",2],0,"minute"),F("minute","m"),N("minute",14),z("m",Wr),z("mm",Wr,Ur),Z(["m","mm"],di);var eo=et("Minutes",!1);j("s",["ss",2],0,"second"),F("second","s"),N("second",15),z("s",Wr),z("ss",Wr,Ur),Z(["s","ss"],fi);var no=et("Seconds",!1);j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return 10*this.millisecond()}),j(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),j(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),j(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),j(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),j(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),N("millisecond",16),z("S",Kr,Hr),z("SS",Kr,Ur),z("SSS",Kr,Yr);var ro;for(ro="SSSS";ro.length<=9;ro+="S")z(ro,Qr);for(ro="S";ro.length<=9;ro+="S")Z(ro,Yn);var io=et("Milliseconds",!1);j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var oo=g.prototype;oo.add=Ji,oo.calendar=nn,oo.clone=rn,oo.diff=dn,oo.endOf=Cn,oo.format=gn,oo.from=vn,oo.fromNow=yn,oo.to=bn,oo.toNow=$n,oo.get=it,oo.invalidAt=Pn,oo.isAfter=on,oo.isBefore=an,oo.isBetween=sn,oo.isSame=un,oo.isSameOrAfter=ln,oo.isSameOrBefore=cn,oo.isValid=Tn,oo.lang=Qi,oo.locale=wn,oo.localeData=kn,oo.max=zi,oo.min=Yi,oo.parsingFlags=On,oo.set=ot,oo.startOf=_n,oo.subtract=Xi,oo.toArray=Dn,oo.toObject=An,oo.toDate=En,oo.toISOString=pn,oo.inspect=mn,oo.toJSON=Mn,oo.toString=hn,oo.unix=Sn,oo.valueOf=xn,oo.creationData=Fn,oo.year=vi,oo.isLeapYear=tt,oo.weekYear=Vn,oo.isoWeekYear=Nn,
oo.quarter=oo.quarters=Hn,oo.month=ht,oo.daysInMonth=pt,oo.week=oo.weeks=Et,oo.isoWeek=oo.isoWeeks=Dt,oo.weeksInYear=In,oo.isoWeeksInYear=Ln,oo.date=to,oo.day=oo.days=Vt,oo.weekday=Nt,oo.isoWeekday=Lt,oo.dayOfYear=Un,oo.hour=oo.hours=Oi,oo.minute=oo.minutes=eo,oo.second=oo.seconds=no,oo.millisecond=oo.milliseconds=io,oo.utcOffset=Le,oo.utc=je,oo.local=Be,oo.parseZone=He,oo.hasAlignedHourOffset=Ue,oo.isDST=Ye,oo.isLocal=qe,oo.isUtcOffset=We,oo.isUtc=Ge,oo.isUTC=Ge,oo.zoneAbbr=zn,oo.zoneName=qn,oo.dates=k("dates accessor is deprecated. Use date instead.",to),oo.months=k("months accessor is deprecated. Use month instead",ht),oo.years=k("years accessor is deprecated. Use year instead",vi),oo.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ie),oo.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ze);var ao=E.prototype;ao.calendar=D,ao.longDateFormat=A,ao.invalidDate=M,ao.ordinal=T,ao.preparse=Zn,ao.postformat=Zn,ao.relativeTime=O,ao.pastFuture=P,ao.set=x,ao.months=ut,ao.monthsShort=lt,ao.monthsParse=dt,ao.monthsRegex=gt,ao.monthsShortRegex=mt,ao.week=Ct,ao.firstDayOfYear=St,ao.firstDayOfWeek=xt,ao.weekdays=Tt,ao.weekdaysMin=Pt,ao.weekdaysShort=Ot,ao.weekdaysParse=Rt,ao.weekdaysRegex=It,ao.weekdaysShortRegex=jt,ao.weekdaysMinRegex=Bt,ao.isPM=Wt,ao.meridiem=Gt,Xt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===b(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),t.lang=k("moment.lang is deprecated. Use moment.locale instead.",Xt),t.langData=k("moment.langData is deprecated. Use moment.localeData instead.",ee);var so=Math.abs,uo=pr("ms"),lo=pr("s"),co=pr("m"),fo=pr("h"),ho=pr("d"),po=pr("w"),mo=pr("M"),go=pr("y"),vo=vr("milliseconds"),yo=vr("seconds"),bo=vr("minutes"),$o=vr("hours"),wo=vr("days"),ko=vr("months"),_o=vr("years"),Co=Math.round,xo={ss:44,s:45,m:45,h:22,d:26,M:11},So=Math.abs,Eo=Te.prototype;return Eo.isValid=Ae,Eo.abs=ir,Eo.add=ar,Eo.subtract=sr,Eo.as=fr,Eo.asMilliseconds=uo,Eo.asSeconds=lo,Eo.asMinutes=co,Eo.asHours=fo,Eo.asDays=ho,Eo.asWeeks=po,Eo.asMonths=mo,Eo.asYears=go,Eo.valueOf=hr,Eo._bubble=lr,Eo.clone=mr,Eo.get=gr,Eo.milliseconds=vo,Eo.seconds=yo,Eo.minutes=bo,Eo.hours=$o,Eo.days=wo,Eo.weeks=yr,Eo.months=ko,Eo.years=_o,Eo.humanize=_r,Eo.toISOString=xr,Eo.toString=xr,Eo.toJSON=xr,Eo.locale=wn,Eo.localeData=kn,Eo.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",xr),Eo.lang=Qi,j("X",0,0,"unix"),j("x",0,0,"valueOf"),z("x",ti),z("X",ri),Z("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Z("x",function(t,e,n){n._d=new Date(b(t))}),t.version="2.19.1",function(t){Sr=t}(Ce),t.fn=oo,t.min=Se,t.max=Ee,t.now=qi,t.utc=c,t.unix=Wn,t.months=Qn,t.isDate=a,t.locale=Xt,t.invalid=p,t.duration=Ze,t.isMoment=v,t.weekdays=er,t.parseZone=Gn,t.localeData=ee,t.isDuration=Oe,t.monthsShort=tr,t.weekdaysMin=rr,t.defineLocale=Qt,t.updateLocale=te,t.locales=ne,t.weekdaysShort=nr,t.normalizeUnits=R,t.relativeTimeRounding=wr,t.relativeTimeThreshold=kr,t.calendarFormat=en,t.prototype=oo,t}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return Sr.apply(null,arguments)}function e(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function n(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function r(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function i(t){return void 0===t}function o(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function a(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function s(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function u(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){for(var n in e)u(e,n)&&(t[n]=e[n]);return u(e,"toString")&&(t.toString=e.toString),u(e,"valueOf")&&(t.valueOf=e.valueOf),t}function c(t,e,n,r){return _e(t,e,n,r,!0).utc()}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(t){return null==t._pf&&(t._pf=d()),t._pf}function h(t){if(null==t._isValid){var e=f(t),n=Er.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function p(t){var e=c(NaN);return null!=t?l(f(e),t):f(e).userInvalidated=!0,e}function m(t,e){var n,r,o;if(i(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),i(e._i)||(t._i=e._i),i(e._f)||(t._f=e._f),i(e._l)||(t._l=e._l),i(e._strict)||(t._strict=e._strict),i(e._tzm)||(t._tzm=e._tzm),i(e._isUTC)||(t._isUTC=e._isUTC),i(e._offset)||(t._offset=e._offset),i(e._pf)||(t._pf=f(e)),i(e._locale)||(t._locale=e._locale),Dr.length>0)for(n=0;n<Dr.length;n++)r=Dr[n],o=e[r],i(o)||(t[r]=o);return t}function g(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Ar&&(Ar=!0,t.updateOffset(this),Ar=!1)}function v(t){return t instanceof g||null!=t&&null!=t._isAMomentObject}function y(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function b(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=y(e)),n}function $(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&b(t[r])!==b(e[r]))&&a++;return a+o}function w(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,n){var r=!0;return l(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),r){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}w(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function _(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Mr[e]||(w(n),Mr[e]=!0)}function C(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function x(t){var e,n;for(n in t)e=t[n],C(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function S(t,e){var r,i=l({},t);for(r in e)u(e,r)&&(n(t[r])&&n(e[r])?(i[r]={},l(i[r],t[r]),l(i[r],e[r])):null!=e[r]?i[r]=e[r]:delete i[r]);for(r in t)u(t,r)&&!u(e,r)&&n(t[r])&&(i[r]=l({},i[r]));return i}function E(t){null!=t&&this.set(t)}function D(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return C(r)?r.call(e,n):r}function A(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function M(){return this._invalidDate}function T(t){return this._ordinal.replace("%d",t)}function O(t,e,n,r){var i=this._relativeTime[n];return C(i)?i(t,e,n,r):i.replace(/%d/i,t)}function P(t,e){var n=this._relativeTime[t>0?"future":"past"];return C(n)?n(e):n.replace(/%s/i,e)}function F(t,e){var n=t.toLowerCase();Vr[n]=Vr[n+"s"]=Vr[e]=t}function R(t){return"string"==typeof t?Vr[t]||Vr[t.toLowerCase()]:void 0}function V(t){var e,n,r={};for(n in t)u(t,n)&&(e=R(n))&&(r[e]=t[n]);return r}function N(t,e){Nr[t]=e}function L(t){var e=[];for(var n in t)e.push({unit:n,priority:Nr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function I(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function j(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Br[t]=i),e&&(Br[e[0]]=function(){return I(i.apply(this,arguments),e[1],e[2])}),n&&(Br[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function B(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function H(t){var e,n,r=t.match(Lr);for(e=0,n=r.length;e<n;e++)Br[r[e]]?r[e]=Br[r[e]]:r[e]=B(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=C(r[i])?r[i].call(e,t):r[i];return o}}function U(t,e){return t.isValid()?(e=Y(e,t.localeData()),jr[e]=jr[e]||H(e),jr[e](t)):t.localeData().invalidDate()}function Y(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Ir.lastIndex=0;r>=0&&Ir.test(t);)t=t.replace(Ir,n),Ir.lastIndex=0,r-=1;return t}function z(t,e,n){oi[t]=C(e)?e:function(t,r){return t&&n?n:e}}function q(t,e){return u(oi,t)?oi[t](e._strict,e._locale):new RegExp(W(t))}function W(t){return G(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}function G(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),o(e)&&(r=function(t,n){n[e]=b(t)}),n=0;n<t.length;n++)ai[t[n]]=r}function K(t,e){Z(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function J(t,e,n){null!=e&&u(ai,t)&&ai[t](e,n._a,n,t)}function X(t){return Q(t)?366:365}function Q(t){return t%4==0&&t%100!=0||t%400==0}function tt(){return Q(this.year())}function et(e,n){return function(r){return null!=r?(rt(this,e,r),t.updateOffset(this,n),this):nt(this,e)}}function nt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function rt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Q(t.year())?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),st(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function it(t){return t=R(t),C(this[t])?this[t]():this}function ot(t,e){if("object"==typeof t){t=V(t);for(var n=L(t),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(t=R(t),C(this[t]))return this[t](e);return this}function at(t,e){return(t%e+e)%e}function st(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=at(e,12);return t+=(e-n)/12,1===n?Q(t)?29:28:31-n%7%2}function ut(t,n){return t?e(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||yi).test(n)?"format":"standalone"][t.month()]:e(this._months)?this._months:this._months.standalone}function lt(t,n){return t?e(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[yi.test(n)?"format":"standalone"][t.month()]:e(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ct(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=c([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?(i=gi.call(this._shortMonthsParse,a),-1!==i?i:null):(i=gi.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===e?-1!==(i=gi.call(this._shortMonthsParse,a))?i:(i=gi.call(this._longMonthsParse,a),-1!==i?i:null):-1!==(i=gi.call(this._longMonthsParse,a))?i:(i=gi.call(this._shortMonthsParse,a),-1!==i?i:null)}function dt(t,e,n){var r,i,o;if(this._monthsParseExact)return ct.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function ft(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=b(e);else if(e=t.localeData().monthsParse(e),!o(e))return t;return n=Math.min(t.date(),st(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function ht(e){return null!=e?(ft(this,e),t.updateOffset(this,!0),this):nt(this,"Month")}function pt(){return st(this.year(),this.month())}function mt(t){return this._monthsParseExact?(u(this,"_monthsRegex")||vt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=wi),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(t){return this._monthsParseExact?(u(this,"_monthsRegex")||vt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=ki),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function vt(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=c([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=G(r[e]),i[e]=G(i[e]);for(e=0;e<24;e++)o[e]=G(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function yt(t,e,n,r,i,o,a){var s=new Date(t,e,n,r,i,o,a);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function bt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function $t(t,e,n){var r=7+e-n;return-(7+bt(t,0,r).getUTCDay()-e)%7+r-1}function wt(t,e,n,r,i){var o,a,s=(7+n-r)%7,u=$t(t,r,i),l=1+7*(e-1)+s+u;return l<=0?(o=t-1,a=X(o)+l):l>X(t)?(o=t+1,a=l-X(t)):(o=t,a=l),{year:o,dayOfYear:a}}function kt(t,e,n){var r,i,o=$t(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+_t(i,e,n)):a>_t(t.year(),e,n)?(r=a-_t(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function _t(t,e,n){var r=$t(t,e,n),i=$t(t+1,e,n);return(X(t)-r+i)/7}function Ct(t){return kt(t,this._week.dow,this._week.doy).week}function xt(){return this._week.dow}function St(){return this._week.doy}function Et(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Dt(t){var e=kt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function At(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Mt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Tt(t,n){return t?e(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(n)?"format":"standalone"][t.day()]:e(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ot(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Pt(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ft(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=gi.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=gi.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=gi.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?-1!==(i=gi.call(this._weekdaysParse,a))?i:-1!==(i=gi.call(this._shortWeekdaysParse,a))?i:(i=gi.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===e?-1!==(i=gi.call(this._shortWeekdaysParse,a))?i:-1!==(i=gi.call(this._weekdaysParse,a))?i:(i=gi.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=gi.call(this._minWeekdaysParse,a))?i:-1!==(i=gi.call(this._weekdaysParse,a))?i:(i=gi.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Rt(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Ft.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function Vt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=At(t,this.localeData()),this.add(t-e,"d")):e}function Nt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Lt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Mt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function It(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ht.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ei),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function jt(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ht.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Di),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Bt(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Ht.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ai),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ht(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],u=[],l=[];for(e=0;e<7;e++)n=c([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(t),s.sort(t),u.sort(t),l.sort(t),e=0;e<7;e++)s[e]=G(s[e]),u[e]=G(u[e]),l[e]=G(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ut(){return this.hours()%12||12}function Yt(){return this.hours()||24}function zt(t,e){j(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function qt(t,e){return e._meridiemParse}function Wt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Gt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Zt(t){return t?t.toLowerCase().replace("_","-"):t}function Kt(t){for(var e,n,r,i,o=0;o<t.length;){for(i=Zt(t[o]).split("-"),e=i.length,n=Zt(t[o+1]),n=n?n.split("-"):null;e>0;){if(r=Jt(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&$(i,n,!0)>=e-1)break;e--}o++}return null}function Jt(t){var e=null;if(!Fi[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=Mi._abbr;require("./locale/"+t),Xt(e)}catch(t){}return Fi[t]}function Xt(t,e){var n;return t&&(n=i(e)?ee(t):Qt(t,e))&&(Mi=n),Mi._abbr}function Qt(t,e){if(null!==e){var n=Pi;if(e.abbr=t,null!=Fi[t])_("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Fi[t]._config;else if(null!=e.parentLocale){if(null==Fi[e.parentLocale])return Ri[e.parentLocale]||(Ri[e.parentLocale]=[]),Ri[e.parentLocale].push({name:t,config:e}),null;n=Fi[e.parentLocale]._config}return Fi[t]=new E(S(n,e)),Ri[t]&&Ri[t].forEach(function(t){Qt(t.name,t.config)}),Xt(t),Fi[t]}return delete Fi[t],null}function te(t,e){if(null!=e){var n,r=Pi;null!=Fi[t]&&(r=Fi[t]._config),e=S(r,e),n=new E(e),n.parentLocale=Fi[t],Fi[t]=n,Xt(t)}else null!=Fi[t]&&(null!=Fi[t].parentLocale?Fi[t]=Fi[t].parentLocale:null!=Fi[t]&&delete Fi[t]);return Fi[t]}function ee(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Mi;if(!e(t)){if(n=Jt(t))return n;t=[t]}return Kt(t)}function ne(){return Tr(Fi)}function re(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[ui]<0||n[ui]>11?ui:n[li]<1||n[li]>st(n[si],n[ui])?li:n[ci]<0||n[ci]>24||24===n[ci]&&(0!==n[di]||0!==n[fi]||0!==n[hi])?ci:n[di]<0||n[di]>59?di:n[fi]<0||n[fi]>59?fi:n[hi]<0||n[hi]>999?hi:-1,f(t)._overflowDayOfYear&&(e<si||e>li)&&(e=li),f(t)._overflowWeeks&&-1===e&&(e=pi),f(t)._overflowWeekday&&-1===e&&(e=mi),f(t).overflow=e),t}function ie(t,e,n){return null!=t?t:null!=e?e:n}function oe(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ae(t){var e,n,r,i,o=[];if(!t._d){for(r=oe(t),t._w&&null==t._a[li]&&null==t._a[ui]&&se(t),null!=t._dayOfYear&&(i=ie(t._a[si],r[si]),(t._dayOfYear>X(i)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),n=bt(i,0,t._dayOfYear),t._a[ui]=n.getUTCMonth(),t._a[li]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ci]&&0===t._a[di]&&0===t._a[fi]&&0===t._a[hi]&&(t._nextDay=!0,t._a[ci]=0),t._d=(t._useUTC?bt:yt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ci]=24),t._w&&void 0!==t._w.d&&t._w.d!==t._d.getDay()&&(f(t).weekdayMismatch=!0)}}function se(t){var e,n,r,i,o,a,s,u;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)o=1,a=4,n=ie(e.GG,t._a[si],kt(Ce(),1,4).year),r=ie(e.W,1),((i=ie(e.E,1))<1||i>7)&&(u=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var l=kt(Ce(),o,a);n=ie(e.gg,t._a[si],l.year),r=ie(e.w,l.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o}r<1||r>_t(n,o,a)?f(t)._overflowWeeks=!0:null!=u?f(t)._overflowWeekday=!0:(s=wt(n,r,i,o,a),t._a[si]=s.year,t._dayOfYear=s.dayOfYear)}function ue(t){var e,n,r,i,o,a,s=t._i,u=Vi.exec(s)||Ni.exec(s);if(u){for(f(t).iso=!0,e=0,n=Ii.length;e<n;e++)if(Ii[e][1].exec(u[1])){i=Ii[e][0],r=!1!==Ii[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=ji.length;e<n;e++)if(ji[e][1].exec(u[3])){o=(u[2]||" ")+ji[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(u[4]){if(!Li.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),ge(t)}else t._isValid=!1}function le(t,e,n,r,i,o){var a=[ce(t),$i.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function ce(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function de(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function fe(t,e,n){if(t){if(xi.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return f(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function he(t,e,n){if(t)return Ui[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function pe(t){var e=Hi.exec(de(t._i));if(e){var n=le(e[4],e[3],e[2],e[5],e[6],e[7]);if(!fe(e[1],n,t))return;t._a=n,t._tzm=he(e[8],e[9],e[10]),t._d=bt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function me(e){var n=Bi.exec(e._i);if(null!==n)return void(e._d=new Date(+n[1]));ue(e),!1===e._isValid&&(delete e._isValid,pe(e),!1===e._isValid&&(delete e._isValid,t.createFromInputFallback(e)))}function ge(e){if(e._f===t.ISO_8601)return void ue(e);if(e._f===t.RFC_2822)return void pe(e);e._a=[],f(e).empty=!0;var n,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=Y(e._f,e._locale).match(Lr)||[],n=0;n<i.length;n++)o=i[n],r=(s.match(q(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Br[o]?(r?f(e).empty=!1:f(e).unusedTokens.push(o),J(o,r,e)):e._strict&&!r&&f(e).unusedTokens.push(o);f(e).charsLeftOver=u-l,s.length>0&&f(e).unusedInput.push(s),e._a[ci]<=12&&!0===f(e).bigHour&&e._a[ci]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[ci]=ve(e._locale,e._a[ci],e._meridiem),ae(e),re(e)}function ve(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function ye(t){var e,n,r,i,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,e=m({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],ge(e),h(e)&&(o+=f(e).charsLeftOver,o+=10*f(e).unusedTokens.length,f(e).score=o,(null==r||o<r)&&(r=o,n=e));l(t,n||e)}function be(t){if(!t._d){var e=V(t._i);t._a=s([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ae(t)}}function $e(t){var e=new g(re(we(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function we(t){var n=t._i,r=t._f;return t._locale=t._locale||ee(t._l),null===n||void 0===r&&""===n?p({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),v(n)?new g(re(n)):(a(n)?t._d=n:e(r)?ye(t):r?ge(t):ke(t),h(t)||(t._d=null),t))}function ke(r){var u=r._i;i(u)?r._d=new Date(t.now()):a(u)?r._d=new Date(u.valueOf()):"string"==typeof u?me(r):e(u)?(r._a=s(u.slice(0),function(t){return parseInt(t,10)}),ae(r)):n(u)?be(r):o(u)?r._d=new Date(u):t.createFromInputFallback(r)}function _e(t,i,o,a,s){var u={};return!0!==o&&!1!==o||(a=o,o=void 0),(n(t)&&r(t)||e(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=o,u._i=t,u._f=i,u._strict=a,$e(u)}function Ce(t,e,n,r){return _e(t,e,n,r,!1)}function xe(t,n){var r,i;if(1===n.length&&e(n[0])&&(n=n[0]),!n.length)return Ce();for(r=n[0],i=1;i<n.length;++i)n[i].isValid()&&!n[i][t](r)||(r=n[i]);return r}function Se(){return xe("isBefore",[].slice.call(arguments,0))}function Ee(){return xe("isAfter",[].slice.call(arguments,0))}function De(t){for(var e in t)if(-1===gi.call(Wi,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Wi.length;++r)if(t[Wi[r]]){if(n)return!1;parseFloat(t[Wi[r]])!==b(t[Wi[r]])&&(n=!0)}return!0}function Ae(){return this._isValid}function Me(){return Ze(NaN)}function Te(t){var e=V(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||0,a=e.day||0,s=e.hour||0,u=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=De(e),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ee(),this._bubble()}function Oe(t){return t instanceof Te}function Pe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Fe(t,e){j(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+I(~~(t/60),2)+e+I(~~t%60,2)})}function Re(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Gi)||["-",0,0],o=60*i[1]+b(i[2]);return 0===o?0:"+"===i[0]?o:-o}function Ve(e,n){var r,i;return n._isUTC?(r=n.clone(),i=(v(e)||a(e)?e.valueOf():Ce(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),t.updateOffset(r,!1),r):Ce(e).local()}function Ne(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Le(e,n,r){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Re(ni,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&n&&(i=Ne(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!n||this._changeInProgress?tn(this,Ze(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ne(this)}function Ie(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function je(t){return this.utcOffset(0,t)}function Be(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ne(this),"m")),this}function He(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(ei,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Ue(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Ye(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ze(){if(!i(this._isDSTShifted))return this._isDSTShifted;var t={};if(m(t,this),t=we(t),t._a){var e=t._isUTC?c(t._a):Ce(t._a);this._isDSTShifted=this.isValid()&&$(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function qe(){return!!this.isValid()&&!this._isUTC}function We(){return!!this.isValid()&&this._isUTC}function Ge(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ze(t,e){var n,r,i,a=t,s=null;return Oe(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:o(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=Zi.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:b(s[li])*n,h:b(s[ci])*n,m:b(s[di])*n,s:b(s[fi])*n,ms:b(Pe(1e3*s[hi]))*n}):(s=Ki.exec(t))?(n="-"===s[1]?-1:(s[1],1),a={y:Ke(s[2],n),M:Ke(s[3],n),w:Ke(s[4],n),d:Ke(s[5],n),h:Ke(s[6],n),m:Ke(s[7],n),s:Ke(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Xe(Ce(a.from),Ce(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),r=new Te(a),Oe(t)&&u(t,"_locale")&&(r._locale=t._locale),r}function Ke(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Je(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Xe(t,e){var n;return t.isValid()&&e.isValid()?(e=Ve(e,t),t.isBefore(e)?n=Je(t,e):(n=Je(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Qe(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(_(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ze(n,r),tn(this,i,t),this}}function tn(e,n,r,i){var o=n._milliseconds,a=Pe(n._days),s=Pe(n._months);e.isValid()&&(i=null==i||i,s&&ft(e,nt(e,"Month")+s*r),a&&rt(e,"Date",nt(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&t.updateOffset(e,a||s))}function en(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function nn(e,n){var r=e||Ce(),i=Ve(r,this).startOf("day"),o=t.calendarFormat(this,i)||"sameElse",a=n&&(C(n[o])?n[o].call(this,r):n[o]);return this.format(a||this.localeData().calendar(o,this,Ce(r)))}function rn(){return new g(this)}function on(t,e){var n=v(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=R(i(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function an(t,e){var n=v(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&(e=R(i(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function sn(t,e,n,r){return r=r||"()",
("("===r[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))}function un(t,e){var n,r=v(t)?t:Ce(t);return!(!this.isValid()||!r.isValid())&&(e=R(e||"millisecond"),"millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function ln(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function cn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function dn(t,e,n){var r,i,o;if(!this.isValid())return NaN;if(r=Ve(t,this),!r.isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=R(e)){case"year":o=fn(this,r)/12;break;case"month":o=fn(this,r);break;case"quarter":o=fn(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:y(o)}function fn(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");return e-o<0?(n=t.clone().add(i-1,"months"),r=(e-o)/(o-n)):(n=t.clone().add(i+1,"months"),r=(e-o)/(n-o)),-(i+r)||0}function hn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function pn(){if(!this.isValid())return null;var t=this.clone().utc();return t.year()<0||t.year()>9999?U(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):C(Date.prototype.toISOString)?this.toDate().toISOString():U(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function mn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function gn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=U(this,e);return this.localeData().postformat(n)}function vn(t,e){return this.isValid()&&(v(t)&&t.isValid()||Ce(t).isValid())?Ze({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function yn(t){return this.from(Ce(),t)}function bn(t,e){return this.isValid()&&(v(t)&&t.isValid()||Ce(t).isValid())?Ze({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function $n(t){return this.to(Ce(),t)}function wn(t){var e;return void 0===t?this._locale._abbr:(e=ee(t),null!=e&&(this._locale=e),this)}function kn(){return this._locale}function _n(t){switch(t=R(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function Cn(t){return void 0===(t=R(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function xn(){return this._d.valueOf()-6e4*(this._offset||0)}function Sn(){return Math.floor(this.valueOf()/1e3)}function En(){return new Date(this.valueOf())}function Dn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function An(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Mn(){return this.isValid()?this.toISOString():null}function Tn(){return h(this)}function On(){return l({},f(this))}function Pn(){return f(this).overflow}function Fn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Rn(t,e){j(0,[t,t.length],0,e)}function Vn(t){return jn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Nn(t){return jn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Ln(){return _t(this.year(),1,4)}function In(){var t=this.localeData()._week;return _t(this.year(),t.dow,t.doy)}function jn(t,e,n,r,i){var o;return null==t?kt(this,r,i).year:(o=_t(t,r,i),e>o&&(e=o),Bn.call(this,t,e,n,r,i))}function Bn(t,e,n,r,i){var o=wt(t,e,n,r,i),a=bt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Hn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Un(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Yn(t,e){e[hi]=b(1e3*("0."+t))}function zn(){return this._isUTC?"UTC":""}function qn(){return this._isUTC?"Coordinated Universal Time":""}function Wn(t){return Ce(1e3*t)}function Gn(){return Ce.apply(null,arguments).parseZone()}function Zn(t){return t}function Kn(t,e,n,r){var i=ee(),o=c().set(r,e);return i[n](o,t)}function Jn(t,e,n){if(o(t)&&(e=t,t=void 0),t=t||"",null!=e)return Kn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Kn(t,r,n,"month");return i}function Xn(t,e,n,r){"boolean"==typeof t?(o(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,o(e)&&(n=e,e=void 0),e=e||"");var i=ee(),a=t?i._week.dow:0;if(null!=n)return Kn(e,(n+a)%7,r,"day");var s,u=[];for(s=0;s<7;s++)u[s]=Kn(e,(s+a)%7,r,"day");return u}function Qn(t,e){return Jn(t,e,"months")}function tr(t,e){return Jn(t,e,"monthsShort")}function er(t,e,n){return Xn(t,e,n,"weekdays")}function nr(t,e,n){return Xn(t,e,n,"weekdaysShort")}function rr(t,e,n){return Xn(t,e,n,"weekdaysMin")}function ir(){var t=this._data;return this._milliseconds=so(this._milliseconds),this._days=so(this._days),this._months=so(this._months),t.milliseconds=so(t.milliseconds),t.seconds=so(t.seconds),t.minutes=so(t.minutes),t.hours=so(t.hours),t.months=so(t.months),t.years=so(t.years),this}function or(t,e,n,r){var i=Ze(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function ar(t,e){return or(this,t,e,1)}function sr(t,e){return or(this,t,e,-1)}function ur(t){return t<0?Math.floor(t):Math.ceil(t)}function lr(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*ur(dr(s)+a),a=0,s=0),u.milliseconds=o%1e3,t=y(o/1e3),u.seconds=t%60,e=y(t/60),u.minutes=e%60,n=y(e/60),u.hours=n%24,a+=y(n/24),i=y(cr(a)),s+=i,a-=ur(dr(i)),r=y(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function cr(t){return 4800*t/146097}function dr(t){return 146097*t/4800}function fr(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=R(t))||"year"===t)return e=this._days+r/864e5,n=this._months+cr(e),"month"===t?n:n/12;switch(e=this._days+Math.round(dr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function hr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN}function pr(t){return function(){return this.as(t)}}function mr(){return Ze(this)}function gr(t){return t=R(t),this.isValid()?this[t+"s"]():NaN}function vr(t){return function(){return this.isValid()?this._data[t]:NaN}}function yr(){return y(this.days()/7)}function br(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function $r(t,e,n){var r=Ze(t).abs(),i=Co(r.as("s")),o=Co(r.as("m")),a=Co(r.as("h")),s=Co(r.as("d")),u=Co(r.as("M")),l=Co(r.as("y")),c=i<=xo.ss&&["s",i]||i<xo.s&&["ss",i]||o<=1&&["m"]||o<xo.m&&["mm",o]||a<=1&&["h"]||a<xo.h&&["hh",a]||s<=1&&["d"]||s<xo.d&&["dd",s]||u<=1&&["M"]||u<xo.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=e,c[3]=+t>0,c[4]=n,br.apply(null,c)}function wr(t){return void 0===t?Co:"function"==typeof t&&(Co=t,!0)}function kr(t,e){return void 0!==xo[t]&&(void 0===e?xo[t]:(xo[t]=e,"s"===t&&(xo.ss=e-1),!0))}function _r(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=$r(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Cr(t){return(t>0)-(t<0)||+t}function xr(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r=So(this._milliseconds)/1e3,i=So(this._days),o=So(this._months);t=y(r/60),e=y(t/60),r%=60,t%=60,n=y(o/12),o%=12;var a=n,s=o,u=i,l=e,c=t,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var h=f<0?"-":"",p=Cr(this._months)!==Cr(f)?"-":"",m=Cr(this._days)!==Cr(f)?"-":"",g=Cr(this._milliseconds)!==Cr(f)?"-":"";return h+"P"+(a?p+a+"Y":"")+(s?p+s+"M":"")+(u?m+u+"D":"")+(l||c||d?"T":"")+(l?g+l+"H":"")+(c?g+c+"M":"")+(d?g+d+"S":"")}var Sr,Er;Er=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var Dr=t.momentProperties=[],Ar=!1,Mr={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Tr;Tr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)u(t,e)&&n.push(e);return n};var Or={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Pr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Fr=/\d{1,2}/,Rr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Vr={},Nr={},Lr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ir=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jr={},Br={},Hr=/\d/,Ur=/\d\d/,Yr=/\d{3}/,zr=/\d{4}/,qr=/[+-]?\d{6}/,Wr=/\d\d?/,Gr=/\d\d\d\d?/,Zr=/\d\d\d\d\d\d?/,Kr=/\d{1,3}/,Jr=/\d{1,4}/,Xr=/[+-]?\d{1,6}/,Qr=/\d+/,ti=/[+-]?\d+/,ei=/Z|[+-]\d\d:?\d\d/gi,ni=/Z|[+-]\d\d(?::?\d\d)?/gi,ri=/[+-]?\d+(\.\d{1,3})?/,ii=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,oi={},ai={},si=0,ui=1,li=2,ci=3,di=4,fi=5,hi=6,pi=7,mi=8;j("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),j(0,["YY",2],0,function(){return this.year()%100}),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),F("year","y"),N("year",1),z("Y",ti),z("YY",Wr,Ur),z("YYYY",Jr,zr),z("YYYYY",Xr,qr),z("YYYYYY",Xr,qr),Z(["YYYYY","YYYYYY"],si),Z("YYYY",function(e,n){n[si]=2===e.length?t.parseTwoDigitYear(e):b(e)}),Z("YY",function(e,n){n[si]=t.parseTwoDigitYear(e)}),Z("Y",function(t,e){e[si]=parseInt(t,10)}),t.parseTwoDigitYear=function(t){return b(t)+(b(t)>68?1900:2e3)};var gi,vi=et("FullYear",!0);gi=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},j("M",["MM",2],"Mo",function(){return this.month()+1}),j("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),j("MMMM",0,0,function(t){return this.localeData().months(this,t)}),F("month","M"),N("month",8),z("M",Wr),z("MM",Wr,Ur),z("MMM",function(t,e){return e.monthsShortRegex(t)}),z("MMMM",function(t,e){return e.monthsRegex(t)}),Z(["M","MM"],function(t,e){e[ui]=b(t)-1}),Z(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[ui]=i:f(n).invalidMonth=t});var yi=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,bi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),$i="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),wi=ii,ki=ii;j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),N("week",5),N("isoWeek",5),z("w",Wr),z("ww",Wr,Ur),z("W",Wr),z("WW",Wr,Ur),K(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=b(t)});var _i={dow:0,doy:6};j("d",0,"do","day"),j("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),j("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),j("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),z("d",Wr),z("e",Wr),z("E",Wr),z("dd",function(t,e){return e.weekdaysMinRegex(t)}),z("ddd",function(t,e){return e.weekdaysShortRegex(t)}),z("dddd",function(t,e){return e.weekdaysRegex(t)}),K(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:f(n).invalidWeekday=t}),K(["d","e","E"],function(t,e,n,r){e[r]=b(t)});var Ci="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),xi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Si="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ei=ii,Di=ii,Ai=ii;j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Ut),j("k",["kk",2],0,Yt),j("hmm",0,0,function(){return""+Ut.apply(this)+I(this.minutes(),2)}),j("hmmss",0,0,function(){return""+Ut.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+I(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)}),zt("a",!0),zt("A",!1),F("hour","h"),N("hour",13),z("a",qt),z("A",qt),z("H",Wr),z("h",Wr),z("k",Wr),z("HH",Wr,Ur),z("hh",Wr,Ur),z("kk",Wr,Ur),z("hmm",Gr),z("hmmss",Zr),z("Hmm",Gr),z("Hmmss",Zr),Z(["H","HH"],ci),Z(["k","kk"],function(t,e,n){var r=b(t);e[ci]=24===r?0:r}),Z(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Z(["h","hh"],function(t,e,n){e[ci]=b(t),f(n).bigHour=!0}),Z("hmm",function(t,e,n){var r=t.length-2;e[ci]=b(t.substr(0,r)),e[di]=b(t.substr(r)),f(n).bigHour=!0}),Z("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ci]=b(t.substr(0,r)),e[di]=b(t.substr(r,2)),e[fi]=b(t.substr(i)),f(n).bigHour=!0}),Z("Hmm",function(t,e,n){var r=t.length-2;e[ci]=b(t.substr(0,r)),e[di]=b(t.substr(r))}),Z("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ci]=b(t.substr(0,r)),e[di]=b(t.substr(r,2)),e[fi]=b(t.substr(i))});var Mi,Ti=/[ap]\.?m?\.?/i,Oi=et("Hours",!0),Pi={calendar:Or,longDateFormat:Pr,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Fr,relativeTime:Rr,months:bi,monthsShort:$i,week:_i,weekdays:Ci,weekdaysMin:Si,weekdaysShort:xi,meridiemParse:Ti},Fi={},Ri={},Vi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ni=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Li=/Z|[+-]\d\d(?::?\d\d)?/,Ii=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ji=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Bi=/^\/?Date\((\-?\d+)/i,Hi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ui={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var Yi=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:p()}),zi=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ce.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:p()}),qi=function(){return Date.now?Date.now():+new Date},Wi=["year","quarter","month","week","day","hour","minute","second","millisecond"];Fe("Z",":"),Fe("ZZ",""),z("Z",ni),z("ZZ",ni),Z(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Re(ni,t)});var Gi=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Zi=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ki=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Ze.fn=Te.prototype,Ze.invalid=Me;var Ji=Qe(1,"add"),Xi=Qe(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qi=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Rn("gggg","weekYear"),Rn("ggggg","weekYear"),Rn("GGGG","isoWeekYear"),Rn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),z("G",ti),z("g",ti),z("GG",Wr,Ur),z("gg",Wr,Ur),z("GGGG",Jr,zr),z("gggg",Jr,zr),z("GGGGG",Xr,qr),z("ggggg",Xr,qr),K(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=b(t)}),K(["gg","GG"],function(e,n,r,i){n[i]=t.parseTwoDigitYear(e)}),j("Q",0,"Qo","quarter"),F("quarter","Q"),N("quarter",7),z("Q",Hr),Z("Q",function(t,e){e[ui]=3*(b(t)-1)}),j("D",["DD",2],"Do","date"),F("date","D"),N("date",9),z("D",Wr),z("DD",Wr,Ur),z("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),Z(["D","DD"],li),Z("Do",function(t,e){e[li]=b(t.match(Wr)[0],10)});var to=et("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),N("dayOfYear",4),z("DDD",Kr),z("DDDD",Yr),Z(["DDD","DDDD"],function(t,e,n){n._dayOfYear=b(t)}),j("m",["mm",2],0,"minute"),F("minute","m"),N("minute",14),z("m",Wr),z("mm",Wr,Ur),Z(["m","mm"],di);var eo=et("Minutes",!1);j("s",["ss",2],0,"second"),F("second","s"),N("second",15),z("s",Wr),z("ss",Wr,Ur),Z(["s","ss"],fi);var no=et("Seconds",!1);j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return 10*this.millisecond()}),j(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),j(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),j(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),j(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),j(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),N("millisecond",16),z("S",Kr,Hr),z("SS",Kr,Ur),z("SSS",Kr,Yr);var ro;for(ro="SSSS";ro.length<=9;ro+="S")z(ro,Qr);for(ro="S";ro.length<=9;ro+="S")Z(ro,Yn);var io=et("Milliseconds",!1);j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var oo=g.prototype;oo.add=Ji,oo.calendar=nn,oo.clone=rn,oo.diff=dn,oo.endOf=Cn,oo.format=gn,oo.from=vn,oo.fromNow=yn,oo.to=bn,oo.toNow=$n,oo.get=it,oo.invalidAt=Pn,oo.isAfter=on,oo.isBefore=an,oo.isBetween=sn,oo.isSame=un,oo.isSameOrAfter=ln,oo.isSameOrBefore=cn,oo.isValid=Tn,oo.lang=Qi,oo.locale=wn,oo.localeData=kn,oo.max=zi,oo.min=Yi,oo.parsingFlags=On,oo.set=ot,oo.startOf=_n,oo.subtract=Xi,oo.toArray=Dn,oo.toObject=An,oo.toDate=En,oo.toISOString=pn,oo.inspect=mn,oo.toJSON=Mn,oo.toString=hn,oo.unix=Sn,oo.valueOf=xn,oo.creationData=Fn,oo.year=vi,oo.isLeapYear=tt,oo.weekYear=Vn,oo.isoWeekYear=Nn,oo.quarter=oo.quarters=Hn,oo.month=ht,oo.daysInMonth=pt,oo.week=oo.weeks=Et,oo.isoWeek=oo.isoWeeks=Dt,oo.weeksInYear=In,oo.isoWeeksInYear=Ln,oo.date=to,oo.day=oo.days=Vt,oo.weekday=Nt,oo.isoWeekday=Lt,oo.dayOfYear=Un,oo.hour=oo.hours=Oi,oo.minute=oo.minutes=eo,oo.second=oo.seconds=no,oo.millisecond=oo.milliseconds=io,oo.utcOffset=Le,oo.utc=je,oo.local=Be,oo.parseZone=He,oo.hasAlignedHourOffset=Ue,oo.isDST=Ye,oo.isLocal=qe,oo.isUtcOffset=We,oo.isUtc=Ge,oo.isUTC=Ge,oo.zoneAbbr=zn,oo.zoneName=qn,oo.dates=k("dates accessor is deprecated. Use date instead.",to),oo.months=k("months accessor is deprecated. Use month instead",ht),oo.years=k("years accessor is deprecated. Use year instead",vi),oo.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ie),oo.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ze);var ao=E.prototype;ao.calendar=D,ao.longDateFormat=A,ao.invalidDate=M,ao.ordinal=T,ao.preparse=Zn,ao.postformat=Zn,ao.relativeTime=O,ao.pastFuture=P,ao.set=x,ao.months=ut,ao.monthsShort=lt,ao.monthsParse=dt,ao.monthsRegex=gt,ao.monthsShortRegex=mt,ao.week=Ct,ao.firstDayOfYear=St,ao.firstDayOfWeek=xt,ao.weekdays=Tt,ao.weekdaysMin=Pt,ao.weekdaysShort=Ot,ao.weekdaysParse=Rt,ao.weekdaysRegex=It,ao.weekdaysShortRegex=jt,ao.weekdaysMinRegex=Bt,ao.isPM=Wt,ao.meridiem=Gt,Xt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===b(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),t.lang=k("moment.lang is deprecated. Use moment.locale instead.",Xt),t.langData=k("moment.langData is deprecated. Use moment.localeData instead.",ee);var so=Math.abs,uo=pr("ms"),lo=pr("s"),co=pr("m"),fo=pr("h"),ho=pr("d"),po=pr("w"),mo=pr("M"),go=pr("y"),vo=vr("milliseconds"),yo=vr("seconds"),bo=vr("minutes"),$o=vr("hours"),wo=vr("days"),ko=vr("months"),_o=vr("years"),Co=Math.round,xo={ss:44,s:45,m:45,h:22,d:26,M:11},So=Math.abs,Eo=Te.prototype;Eo.isValid=Ae,Eo.abs=ir,Eo.add=ar,Eo.subtract=sr,Eo.as=fr,Eo.asMilliseconds=uo,Eo.asSeconds=lo,Eo.asMinutes=co,Eo.asHours=fo,Eo.asDays=ho,Eo.asWeeks=po,Eo.asMonths=mo,Eo.asYears=go,Eo.valueOf=hr,Eo._bubble=lr,Eo.clone=mr,Eo.get=gr,Eo.milliseconds=vo,Eo.seconds=yo,Eo.minutes=bo,Eo.hours=$o,Eo.days=wo,Eo.weeks=yr,Eo.months=ko,Eo.years=_o,Eo.humanize=_r,Eo.toISOString=xr,Eo.toString=xr,Eo.toJSON=xr,Eo.locale=wn,Eo.localeData=kn,Eo.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",xr),Eo.lang=Qi,j("X",0,0,"unix"),j("x",0,0,"valueOf"),z("x",ti),z("X",ri),Z("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Z("x",function(t,e,n){n._d=new Date(b(t))}),t.version="2.19.1",function(t){Sr=t}(Ce),t.fn=oo,t.min=Se,t.max=Ee,t.now=qi,t.utc=c,t.unix=Wn,t.months=Qn,t.isDate=a,t.locale=Xt,t.invalid=p,t.duration=Ze,t.isMoment=v,t.weekdays=er,t.parseZone=Gn,t.localeData=ee,t.isDuration=Oe,t.monthsShort=tr,t.weekdaysMin=rr,t.defineLocale=Qt,t.updateLocale=te,t.locales=ne,t.weekdaysShort=nr,t.normalizeUnits=R,t.relativeTimeRounding=wr,t.relativeTimeThreshold=kr,t.calendarFormat=en,t.prototype=oo,t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"});var Do="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),Ao="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Mo=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],To=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;return t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,e){return t?/-MMM-/.test(e)?Ao[t.month()]:Do[t.month()]:Do},monthsRegex:To,monthsShortRegex:To,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Mo,longMonthsParse:Mo,shortMonthsParse:Mo,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}}),t.locale("en"),t}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("angular")):"function"==typeof define&&define.amd?define(["exports","angular"],e):e(t["@uirouter/angularjs-state-events"]={},t.angular)}(this,function(t,e){"use strict";var n=angular,r=e&&e.module?e:n;!function(){function t(t,e){var n,r;if(Array.isArray(e)&&(n=e[0],r=e[1]),!a(n))throw new Error("invalid parameters to applyPairs");return t[n]=r,t}function e(t){if(t.options().notify&&t.valid()&&!t.ignored()){var e=t.injector(),n=e.get("$stateEvents"),r=e.get("$rootScope"),i=e.get("$state"),o=e.get("$urlRouter"),a=n.provider.enabled(),s=t.params("to"),u=t.params("from");if(a.$stateChangeSuccess){if(r.$broadcast("$stateChangeStart",t.to(),s,t.from(),u,t.options(),t).defaultPrevented)return a.$stateChangeCancel&&r.$broadcast("$stateChangeCancel",t.to(),s,t.from(),u,t.options(),t),null==i.transition&&o.update(),!1;var l={priority:9999};t.onSuccess({},function(){r.$broadcast("$stateChangeSuccess",t.to(),s,t.from(),u,t.options(),t)},l)}a.$stateChangeError&&t.promise.catch(function(e){if(!e||2!==e.type&&3!==e.type){r.$broadcast("$stateChangeError",t.to(),s,t.from(),u,e,t.options(),t).defaultPrevented||o.update()}})}}function n(t,e,n){function r(){return i.target(u.to,u.toParams,u.options)}var i=n.get("$state"),a=n.get("$rootScope"),s=n.get("$urlRouter"),u={to:t.identifier(),toParams:t.params(),options:t.options()},l=a.$broadcast("$stateNotFound",u,e.state(),e.params());return(l.defaultPrevented||l.retry)&&s.update(),!l.defaultPrevented&&(l.retry||i.get(u.to)?l.retry&&o(l.retry.then)?l.retry.then(r):r():void 0)}function i(r){function o(){if(s)throw new Error("Cannot enable events at runtime (use $stateEventsProvider")}function a(t){return s=!0,l.$stateNotFound&&r.onInvalid(n),l.$stateChangeStart&&t.onBefore({},e,{priority:1e3}),{provider:i.prototype.instance}}i.prototype.instance=this;var s=!1,u=["$stateChangeStart","$stateNotFound","$stateChangeSuccess","$stateChangeError"],l=u.map(function(t){return[t,!0]}).reduce(t,{});this.enable=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];o(),t&&t.length||(t=u),t.forEach(function(t){return l[t]=!0})},this.disable=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];o(),t&&t.length||(t=u),t.forEach(function(t){return delete l[t]})},this.enabled=function(){return l},this.$get=a,a.$inject=["$transitions"]}var o=r.isFunction,a=r.isString;n.$inject=["$to$","$from$","$state","$rootScope","$urlRouter"],i.$inject=["$stateProvider"],r.module("ui.router.state.events",["ui.router.state"]).provider("$stateEvents",i).run(["$stateEvents",function(t){}])}(),t.$stateChangeStart=void 0,t.$stateChangeCancel=void 0,t.$stateChangeSuccess=void 0,t.$stateChangeError=void 0,t.$stateNotFound=void 0,Object.defineProperty(t,"__esModule",{value:!0})}),function(){"use strict";angular.module("ngPasswordStrength",[]).directive("ngPasswordStrength",function(){return{template:'<div class="progress {{valueClass.outter}}"><div class="{{valueClass.inner}} {{innerClass}}" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="100" ng-style="{width : ( value + \'%\' ) }"><span class="sr-only">{{value}}%</span></div></div>',restrict:"A",scope:{pwd:"=ngPasswordStrength",value:"=strength",innerClassPrefix:"@?",outterClassPrefix:"@?",innerClass:"@?",mode:"=?"},link:function(t){var e={foundation:{innerClass:"meter"},bootstrap:{innerClass:"progress-bar",innerClassPrefix:"progress-bar-"}},n=function(t){var e,n,r,i,o=function(t){for(var e=t.length-1,n="";e>=0;n+=t[e--]);return n},a={pos:{},neg:{}},s={pos:{},neg:{seqLetter:0,seqNumber:0,seqSymbol:0}},u=0,l="abcdefghijklmnopqrstuvwxyz",c="01234567890",d="\\!@#$%&/()=?¿";if(t){for(a.pos.lower=t.match(/[a-z]/g),a.pos.upper=t.match(/[A-Z]/g),a.pos.numbers=t.match(/\d/g),a.pos.symbols=t.match(/[$-\/:-?{-~!^_`\[\]]/g),a.pos.middleNumber=t.slice(1,-1).match(/\d/g),a.pos.middleSymbol=t.slice(1,-1).match(/[$-\/:-?{-~!^_`\[\]]/g),s.pos.lower=a.pos.lower?a.pos.lower.length:0,s.pos.upper=a.pos.upper?a.pos.upper.length:0,s.pos.numbers=a.pos.numbers?a.pos.numbers.length:0,s.pos.symbols=a.pos.symbols?a.pos.symbols.length:0,e=Object.keys(s.pos).reduce(function(t,e){return t+Math.min(1,s.pos[e])},0),s.pos.numChars=t.length,e+=s.pos.numChars>=8?1:0,s.pos.requirements=e>=3?e:0,s.pos.middleNumber=a.pos.middleNumber?a.pos.middleNumber.length:0,s.pos.middleSymbol=a.pos.middleSymbol?a.pos.middleSymbol.length:0,a.neg.consecLower=t.match(/(?=([a-z]{2}))/g),a.neg.consecUpper=t.match(/(?=([A-Z]{2}))/g),a.neg.consecNumbers=t.match(/(?=(\d{2}))/g),a.neg.onlyNumbers=t.match(/^[0-9]*$/g),a.neg.onlyLetters=t.match(/^([a-z]|[A-Z])*$/g),s.neg.consecLower=a.neg.consecLower?a.neg.consecLower.length:0,s.neg.consecUpper=a.neg.consecUpper?a.neg.consecUpper.length:0,s.neg.consecNumbers=a.neg.consecNumbers?a.neg.consecNumbers.length:0,i=0;i<l.length-2;i++){var f=t.toLowerCase();r=l.substring(i,parseInt(i+3)),n=o(r),-1===f.indexOf(r)&&-1===f.indexOf(n)||s.neg.seqLetter++}for(i=0;i<c.length-2;i++)r=c.substring(i,parseInt(i+3)),n=o(r),-1===t.indexOf(r)&&-1===t.toLowerCase().indexOf(n)||s.neg.seqNumber++;for(i=0;i<d.length-2;i++)r=d.substring(i,parseInt(i+3)),n=o(r),-1===t.indexOf(r)&&-1===t.toLowerCase().indexOf(n)||s.neg.seqSymbol++;var h={},p=t.toLowerCase(),m=p.split("");for(s.neg.repeated=0,i=0;i<m.length;i++){var g=new RegExp(p[i],"g"),v=p.match(g).length;v>1&&!h[p[i]]&&(h[p[i]]=v,s.neg.repeated+=v)}u+=4*s.pos.numChars,s.pos.upper&&(u+=2*(s.pos.numChars-s.pos.upper)),s.pos.lower&&(u+=2*(s.pos.numChars-s.pos.lower)),(s.pos.upper||s.pos.lower)&&(u+=4*s.pos.numbers),u+=6*s.pos.symbols,u+=2*(s.pos.middleSymbol+s.pos.middleNumber),u+=2*s.pos.requirements,u-=2*s.neg.consecLower,u-=2*s.neg.consecUpper,u-=2*s.neg.consecNumbers,u-=3*s.neg.seqNumber,
u-=3*s.neg.seqLetter,u-=3*s.neg.seqSymbol,a.neg.onlyNumbers&&(u-=s.pos.numChars),a.neg.onlyLetters&&(u-=s.pos.numChars),s.neg.repeated&&(u-=s.neg.repeated/s.pos.numChars*10)}return Math.max(0,Math.min(100,Math.round(u)))},r=function(e){switch(Math.round(e/33)){case 0:case 1:return{inner:t.outterClassPrefix+"danger",outter:t.innerClassPrefix+"alert"};case 2:return{outter:t.outterClassPrefix+"warning",inner:t.innerClassPrefix+"warning"};case 3:return{outter:t.outterClassPrefix+"success",inner:t.innerClassPrefix+"success"}}};t.innerClassPrefix=t.innerClassPrefix||"",t.outterClassPrefix=t.outterClassPrefix||"",t.$watch("mode",function(){angular.extend(t,e[t.mode]),t.valueClass=r(t.value)}),t.$watch("pwd",function(){t.value=n(t.pwd),t.valueClass=r(t.value)})}}})}(),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.angularCreditCards=t()}}(function(){return function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};e[a][0].call(c.exports,function(t){var n=e[a][1][t];return i(n||t)},c,c.exports,t,e,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(t,e,n){function r(t,e){return function(){var n=[].slice.call(arguments),r=t.slice();return r.push.apply(r,n),e.apply(this,r)}}function i(t,e){return function(){var n=[].slice.call(arguments);return n.push.apply(n,t),e.apply(this,n)}}function o(t,e,n){return function(){return n.apply(this,t.concat.apply(t,arguments).concat(e))}}function a(t){return r([].slice.call(arguments,1),t)}function s(t){return i([].slice.call(arguments,1),t)}function u(t){return a(a,t)}n=e.exports=r,n.pa=i,n.apa=o,n.partial=a,n.partialRight=s,n.curry=u,n.curryRight=function(t){return a(s,t)}},{}],2:[function(t,e,n){var r=t("upper-case"),i=t("sentence-case");e.exports=function(t,e){return i(t,e).replace(/(\d) (?=\d)/g,"$1_").replace(/ (.)/g,function(t,n){return r(n,e)})}},{"sentence-case":23,"upper-case":27}],3:[function(t,e,n){"use strict";var r=t("isarray");e.exports=function(t){return r(t)?t:[t]}},{isarray:18}],4:[function(t,e,n){"use strict";n.card=t("./src/card"),n.cvc=t("./src/cvc"),n.expiration=t("./src/expiration")},{"./src/card":8,"./src/cvc":9,"./src/expiration":10}],5:[function(t,e,n){"use strict";var r=n.types=t("./src/types");n.Type=t("./src/type"),n.find=function(t){for(var e in r){var n=r[e];if(t(n))return n}}},{"./src/type":6,"./src/types":7}],6:[function(t,e,n){"use strict";function r(t,e){i(this,{name:t},e)}var i=t("xtend/mutable");e.exports=r,r.prototype.cvcLength=3,r.prototype.luhn=!0,r.prototype.groupPattern=/(\d{1,4})(\d{1,4})?(\d{1,4})?(\d{1,4})?/,r.prototype.group=function(t){return(t.match(this.groupPattern)||[]).slice(1).filter(Boolean)},r.prototype.test=function(t,e){return this[e?"eagerPattern":"pattern"].test(t)}},{"xtend/mutable":29}],7:[function(t,e,n){"use strict";var r=t("./type"),i=/(\d{1,4})(\d{1,4})?(\d{1,4})?(\d{1,4})?(\d{1,3})?/;n.visa=new r("Visa",{pattern:/^4\d{12}(\d{3}|\d{6})?$/,eagerPattern:/^4/,groupPattern:i}),n.maestro=new r("Maestro",{pattern:/^(?:5[06789]\d\d|(?!6011[0234])(?!60117[4789])(?!60118[6789])(?!60119)(?!64[456789])(?!65)6\d{3})\d{8,15}$/,eagerPattern:/^(5(018|0[23]|[68])|6[37]|60111|60115|60117([56]|7[56])|60118[0-5]|64[0-3]|66)/,groupPattern:i}),n.forbrugsforeningen=new r("Forbrugsforeningen",{pattern:/^600722\d{10}$/,eagerPattern:/^600/}),n.dankort=new r("Dankort",{pattern:/^5019\d{12}$/,eagerPattern:/^5019/}),n.masterCard=new r("MasterCard",{pattern:/^(5[1-5]|2[2-7])\d{14}$/,eagerPattern:/^(2|5[1-5])/}),n.americanExpress=new r("American Express",{pattern:/^3[47]\d{13}$/,eagerPattern:/^3[47]/,groupPattern:/(\d{1,4})(\d{1,6})?(\d{1,5})?/,cvcLength:4}),n.dinersClub=new r("Diners Club",{pattern:/^3(0[0-5]|[68]\d)\d{11}$/,eagerPattern:/^3(0|[68])/,groupPattern:/(\d{1,4})?(\d{1,6})?(\d{1,4})?/}),n.discover=new r("Discover",{pattern:/^6(011(0[0-9]|[2-4]\d|74|7[7-9]|8[6-9]|9[0-9])|4[4-9]\d{3}|5\d{4})\d{10}$/,eagerPattern:/^6(011(0[0-9]|[2-4]|74|7[7-9]|8[6-9]|9[0-9])|4[4-9]|5)/}),n.jcb=new r("JCB",{pattern:/^35\d{14}$/,eagerPattern:/^35/}),n.unionPay=new r("UnionPay",{pattern:/^62[0-5]\d{13,16}$/,eagerPattern:/^62/,groupPattern:i,luhn:!1})},{"./type":6}],8:[function(t,e,n){"use strict";function r(t){return"string"!=typeof t?"":t.replace(/[^\d]/g,"")}function i(t,e){var n=s(t,!0);return n?n.group(t).join(e||" "):t}function o(t,e){var n=s(t,e);return n?n.name:void 0}function a(t,e){return!!(e=e?l.get(e):s(t))&&((!e.luhn||u(t))&&e.test(t))}function s(t,e){return l.find(function(n){return n.test(t,e)})}var u=t("fast-luhn"),l=t("./types");e.exports={types:l,parse:r,format:i,type:o,luhn:u,isValid:a}},{"./types":11,"fast-luhn":13}],9:[function(t,e,n){"use strict";function r(t,e){return"string"==typeof t&&(!!o.test(t)&&(!e||i.get(e).cvcLength===t.length))}var i=t("./types"),o=/^\d{3,4}$/;e.exports={isValid:r}},{"./types":11}],10:[function(t,e,n){"use strict";function r(t,e){return Date.now()>=new Date(e,t)}function i(t){return l(t)}function o(t,e){return t=t.toString(),e?t.substr(2,4):t}function a(t){return"number"==typeof t&&(t=l(t))>0}function s(t){return(new Date).getFullYear()>t}var u=t("is-valid-month"),l=t("parse-int"),c=t("parse-year");e.exports={isPast:r,month:{parse:i,isValid:u},year:{parse:c,format:o,isValid:a,isPast:s}}},{"is-valid-month":17,"parse-int":21,"parse-year":22}],11:[function(t,e,n){"use strict";var r=t("creditcards-types"),i=t("camel-case"),o=t("xtend");e.exports=o(r,{get:function(t){return r.types[i(t)]}})},{"camel-case":2,"creditcards-types":5,xtend:28}],12:[function(t,e,n){"use strict";var r=t("zero-fill"),i=t("parse-int"),o=r(2);e.exports=function(t,e){e=e||new Date;var n=e.getFullYear().toString().substr(0,2);return t=i(t),i(n+o(t))}},{"parse-int":21,"zero-fill":30}],13:[function(t,e,n){"use strict";e.exports=function(t){return function(e){if(!e)return!1;for(var n,r=e.length,i=1,o=0;r;)n=parseInt(e.charAt(--r),10),o+=(i^=1)?t[n]:n;return!!o&&o%10==0}}([0,2,4,6,8,1,3,5,7,9])},{}],14:[function(t,e,n){var r=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==i.call(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var n=r.call(arguments,1),o=function(){if(this instanceof l){var i=e.apply(this,n.concat(r.call(arguments)));return Object(i)===i?i:this}return e.apply(t,n.concat(r.call(arguments)))},a=Math.max(0,e.length-n.length),s=[],u=0;u<a;u++)s.push("$"+u);var l=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(o);if(e.prototype){var c=function(){};c.prototype=e.prototype,l.prototype=new c,c.prototype=null}return l}},{}],15:[function(t,e,n){"use strict";var r=t("number-is-nan");e.exports=Number.isFinite||function(t){return!("number"!=typeof t||r(t)||t===1/0||t===-1/0)}},{"number-is-nan":20}],16:[function(t,e,n){var r=t("is-finite");e.exports=Number.isInteger||function(t){return"number"==typeof t&&r(t)&&Math.floor(t)===t}},{"is-finite":15}],17:[function(t,e,n){"use strict";var r=t("is-integer");e.exports=function(t){return!("number"!=typeof t||!r(t))&&(t>=1&&t<=12)}},{"is-integer":16}],18:[function(t,e,n){e.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},{}],19:[function(t,e,n){var r={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"İ":"i",I:"ı","İ":"i"}},az:{regexp:/[\u0130]/g,map:{"İ":"i",I:"ı","İ":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i̇",J:"j̇","Į":"į̇","Ì":"i̇̀","Í":"i̇́","Ĩ":"i̇̃"}}};e.exports=function(t,e){var n=r[e];return t=null==t?"":String(t),n&&(t=t.replace(n.regexp,function(t){return n.map[t]})),t.toLowerCase()}},{}],20:[function(t,e,n){"use strict";e.exports=Number.isNaN||function(t){return t!==t}},{}],21:[function(t,e,n){"use strict";var r=t("is-integer");e.exports=function(t){return"number"==typeof t?r(t)?t:void 0:"string"==typeof t&&/^\d+$/.test(t)?parseInt(t,10):void 0}},{"is-integer":16}],22:[function(t,e,n){"use strict";var r=t("parse-int"),i=t("expand-year");e.exports=function(t,e,n){if(null!=(t=r(t)))return e?i(t,n):t}},{"expand-year":12,"parse-int":21}],23:[function(t,e,n){var r=t("lower-case"),i=t("./vendor/non-word-regexp"),o=t("./vendor/camel-case-regexp"),a=t("./vendor/trailing-digit-regexp");e.exports=function(t,e,n){function s(t,e,r){return 0===e||e===r.length-t.length?"":n}return null==t?"":(n=n||" ",t=String(t).replace(o,"$1 $2").replace(a,"$1 $2").replace(i,s),r(t,e))}},{"./vendor/camel-case-regexp":24,"./vendor/non-word-regexp":25,"./vendor/trailing-digit-regexp":26,"lower-case":19}],24:[function(t,e,n){e.exports=/([\u0061-\u007A\u00B5\u00DF-\u00F6\u00F8-\u00FF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0561-\u0587\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7FA\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])([\u0041-\u005A\u00C0-\u00D6\u00D8-\u00DE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA\uFF21-\uFF3A\u0030-\u0039\u00B2\u00B3\u00B9\u00BC-\u00BE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])/g},{}],25:[function(t,e,n){e.exports=/[^\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u0030-\u0039\u00B2\u00B3\u00B9\u00BC-\u00BE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g},{}],26:[function(t,e,n){e.exports=/([\u0030-\u0039\u00B2\u00B3\u00B9\u00BC-\u00BE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([^\u0030-\u0039\u00B2\u00B3\u00B9\u00BC-\u00BE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])/g},{}],27:[function(t,e,n){var r={tr:{regexp:/[\u0069]/g,map:{i:"İ"}},az:{regexp:/[\u0069]/g,map:{i:"İ"}},lt:{regexp:/[\u0069\u006A\u012F]\u0307|\u0069\u0307[\u0300\u0301\u0303]/g,map:{"i̇":"I","j̇":"J","į̇":"Į","i̇̀":"Ì","i̇́":"Í","i̇̃":"Ĩ"}}};e.exports=function(t,e){var n=r[e];return t=null==t?"":String(t),n&&(t=t.replace(n.regexp,function(t){return n.map[t]})),t.toUpperCase()}},{}],28:[function(t,e,n){function r(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];for(var r in n)i.call(n,r)&&(t[r]=n[r])}return t}e.exports=r;var i=Object.prototype.hasOwnProperty},{}],29:[function(t,e,n){function r(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)i.call(n,r)&&(t[r]=n[r])}return t}e.exports=r;var i=Object.prototype.hasOwnProperty},{}],30:[function(t,e,n){e.exports=function t(e,n,r){return void 0===n?function(n,r){return t(e,n,r)}:(void 0===r&&(r="0"),e-=n.toString().length,e>0?new Array(e+(/\./.test(n)?2:1)).join(r)+n:n+"")}},{}],31:[function(t,e,n){"use strict";function r(t){return{restrict:"A",require:"ngModel",compile:function(e,n){return n.$set("maxlength",4),n.$set("pattern","[0-9]*"),n.$set("xAutocompletetype","cc-csc"),function(e,n,r,a){a.$validators.ccCvc=function(n){return a.$isEmpty(a.$viewValue)||i.isValid(n,t(r.ccType)(e))},r.ccType&&e.$watch(r.ccType,o.call(a.$validate,a))}}}}var i=t("creditcards").cvc,o=t("function-bind");e.exports=r,r.$inject=["$parse"]},{creditcards:4,"function-bind":14}],32:[function(t,e,n){"use strict";function r(t,e){function n(t){var n=t.month,r=t.year,i=null==n&&null==r||!!n&&!!r&&!o.isPast(n,r);a.$setValidity("ccExp",i,e)}var r={$setValidity:i},a=e.inheritedData("$formController")||r,s={year:{},month:{}};this.setMonth=function(t){s.month=t},this.setYear=function(t){s.year=t},this.$watch=function(){t.$watch(function(){return{month:s.month.$modelValue,year:s.year.$modelValue}},n,!0)}}function i(){}var o=t("creditcards").expiration,a=o.month,s=o.year,u=t("ap");n=e.exports=function(){return{restrict:"AE",require:"ccExp",controller:r,link:function(t,e,n,r){r.$watch()}}},r.$inject=["$scope","$element"];var l={setMonth:i,setYear:i};n.month=function(){return{restrict:"A",require:["ngModel","^?ccExp"],compile:function(t,e){return e.$set("maxlength",2),e.$set("pattern","[0-9]*"),e.$set("xAutocompletetype","cc-exp-month"),function(t,e,n,r){var i=r[0];(r[1]||l).setMonth(i),i.$parsers.unshift(a.parse),i.$validators.ccExpMonth=function(t){return i.$isEmpty(i.$viewValue)||a.isValid(t)}}}}},n.year=function(){return{restrict:"A",require:["ngModel","^?ccExp"],compile:function(t,e){var n=void 0!==e.fullYear;return e.$set("maxlength",n?4:2),e.$set("pattern","[0-9]*"),e.$set("xAutocompletetype","cc-exp-year"),function(t,e,r,i){var o=i[0];(i[1]||l).setYear(o),o.$parsers.unshift(u.partialRight(s.parse,!n)),o.$formatters.unshift(function(t){return t?s.format(t,!n):""}),o.$validators.ccExpYear=function(t){return o.$isEmpty(o.$viewValue)||s.isValid(t)&&!s.isPast(t)}}}}}},{ap:1,creditcards:4}],33:[function(t,e,n){"use strict";function r(t){return{restrict:"A",require:["ngModel","ccNumber"],controller:function(){this.type=null,this.eagerType=null},compile:function(e,n){return n.$set("pattern","[0-9]*"),n.$set("xAutocompletetype","cc-number"),function(e,n,r,s){function u(){return c.$viewValue}function l(t,e){if(t.setSelectionRange)t.setSelectionRange(e,e);else if(t.createTextRange){var n=t.createTextRange();n.move("character",e),n.select()}}var c=s[0],d=s[1];e.$watch(r.ngModel,function(t){c.$ccType=d.type=i.type(t)}),null!=r.ccEagerType&&e.$watch(u,function(t){t=i.parse(t),c.$ccEagerType=d.eagerType=i.type(t,!0)}),r.ccType&&e.$watch(r.ccType,function(){c.$validate()}),null!=r.ccFormat&&(c.$formatters.unshift(i.format),n.on("input",function(){var t=n.val(),e=u();if(t){var r=n[0],o=i.format(i.parse(t)),a=r.selectionEnd;c.$setViewValue(o),c.$render(),e&&e.length<o.length&&(a=o.length),l(r,a)}})),c.$parsers.unshift(i.parse),c.$validators.ccNumber=function(t){return c.$isEmpty(c.$viewValue)||i.isValid(t)},c.$validators.ccNumberType=function(n){if(c.$isEmpty(c.$viewValue))return!0;var s=t(r.ccType)(e);return s||i.isValid(n),o(s).some(a(i.isValid,n))}}}}}var i=t("creditcards").card,o=t("cast-array"),a=t("ap").partial;e.exports=r,r.$inject=["$parse"]},{ap:1,"cast-array":3,creditcards:4}],34:[function(t,e,n){(function(n){"use strict";var r="undefined"!=typeof window?window.angular:void 0!==n?n.angular:null,i=t("creditcards"),o=t("./number"),a=t("./cvc"),s=t("./expiration");e.exports=r.module("credit-cards",[]).value("creditcards",i).directive("ccNumber",o).directive("ccExp",s).directive("ccExpMonth",s.month).directive("ccExpYear",s.year).directive("ccCvc",a).name}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./cvc":31,"./expiration":32,"./number":33,creditcards:4}]},{},[34])(34)}),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["angular"],e):"object"==typeof module&&module.exports?module.exports=e(require("angular")):e(t.angular)}(this,function(t){"use strict";var e=t.module("rzModule",[]).factory("RzSliderOptions",function(){var e={floor:0,ceil:null,step:1,precision:0,minRange:null,maxRange:null,pushRange:!1,minLimit:null,maxLimit:null,id:null,translate:null,getLegend:null,stepsArray:null,bindIndexForStepsArray:!1,draggableRange:!1,draggableRangeOnly:!1,showSelectionBar:!1,showSelectionBarEnd:!1,showSelectionBarFromValue:null,hidePointerLabels:!1,hideLimitLabels:!1,readOnly:!1,disabled:!1,interval:350,showTicks:!1,showTicksValues:!1,ticksTooltip:null,ticksValuesTooltip:null,vertical:!1,getSelectionBarColor:null,getTickColor:null,getPointerColor:null,keyboardSupport:!0,scale:1,enforceStep:!0,enforceRange:!1,noSwitching:!1,onlyBindHandles:!1,onStart:null,onChange:null,onEnd:null,rightToLeft:!1,boundPointerLabels:!0,mergeRangeLabelsIfSame:!1,customTemplateScope:null},n={},r={};return r.options=function(e){t.extend(n,e)},r.getOptions=function(r){return t.extend({},e,n,r)},r}).factory("rzThrottle",["$timeout",function(t){return function(e,n,r){var i,o,a,s=Date.now||function(){return(new Date).getTime()},u=null,l=0;r=r||{};var c=function(){l=s(),u=null,a=e.apply(i,o),i=o=null};return function(){var d=s(),f=n-(d-l);return i=this,o=arguments,f<=0?(t.cancel(u),u=null,l=d,a=e.apply(i,o),i=o=null):u||!1===r.trailing||(u=t(c,f)),a}}}]).factory("RzSlider",["$timeout","$document","$window","$compile","RzSliderOptions","rzThrottle",function(e,n,r,i,o,a){var s=function(t,e){this.scope=t,this.lowValue=0,this.highValue=0,this.sliderElem=e,this.range=void 0!==this.scope.rzSliderModel&&void 0!==this.scope.rzSliderHigh,this.dragging={active:!1,value:0,difference:0,offset:0,lowLimit:0,highLimit:0},this.positionProperty="left",this.dimensionProperty="width",this.handleHalfDim=0,this.maxPos=0,this.precision=0,this.step=1,this.tracking="",this.minValue=0,this.maxValue=0,this.valueRange=0,this.intermediateTicks=!1,this.initHasRun=!1,this.firstKeyDown=!1,this.internalChange=!1,this.cmbLabelShown=!1,this.fullBar=null,this.selBar=null,this.minH=null,this.maxH=null,this.flrLab=null,this.ceilLab=null,this.minLab=null,this.maxLab=null,this.cmbLab=null,this.ticks=null,this.init()};return s.prototype={init:function(){var e,n,i=this,o=function(){i.calcViewDimensions()};this.applyOptions(),this.syncLowValue(),this.range&&this.syncHighValue(),this.initElemHandles(),this.manageElementsStyle(),this.setDisabledState(),this.calcViewDimensions(),this.setMinAndMax(),this.addAccessibility(),this.updateCeilLab(),this.updateFloorLab(),this.initHandles(),this.manageEventsBindings(),this.scope.$on("reCalcViewDimensions",o),t.element(r).on("resize",o),this.initHasRun=!0,e=a(function(){i.onLowHandleChange()},i.options.interval),
n=a(function(){i.onHighHandleChange()},i.options.interval),this.scope.$on("rzSliderForceRender",function(){i.resetLabelsValue(),e(),i.range&&n(),i.resetSlider()}),this.scope.$watch("rzSliderOptions()",function(t,e){t!==e&&(i.applyOptions(),i.syncLowValue(),i.range&&i.syncHighValue(),i.resetSlider())},!0),this.scope.$watch("rzSliderModel",function(t,n){i.internalChange||t!==n&&e()}),this.scope.$watch("rzSliderHigh",function(t,e){i.internalChange||t!==e&&(null!=t&&n(),(i.range&&null==t||!i.range&&null!=t)&&(i.applyOptions(),i.resetSlider()))}),this.scope.$on("$destroy",function(){i.unbindEvents(),t.element(r).off("resize",o)})},findStepIndex:function(e){for(var n=0,r=0;r<this.options.stepsArray.length;r++){var i=this.options.stepsArray[r];if(i===e){n=r;break}if(t.isObject(i)&&i.value===e){n=r;break}}return n},syncLowValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.lowValue=this.scope.rzSliderModel:this.lowValue=this.findStepIndex(this.scope.rzSliderModel):this.lowValue=this.scope.rzSliderModel},syncHighValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.highValue=this.scope.rzSliderHigh:this.highValue=this.findStepIndex(this.scope.rzSliderHigh):this.highValue=this.scope.rzSliderHigh},getStepValue:function(e){var n=this.options.stepsArray[e];return t.isObject(n)?n.value:n},applyLowValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.scope.rzSliderModel=this.lowValue:this.scope.rzSliderModel=this.getStepValue(this.lowValue):this.scope.rzSliderModel=this.lowValue},applyHighValue:function(){this.options.stepsArray?this.options.bindIndexForStepsArray?this.scope.rzSliderHigh=this.highValue:this.scope.rzSliderHigh=this.getStepValue(this.highValue):this.scope.rzSliderHigh=this.highValue},onLowHandleChange:function(){this.syncLowValue(),this.range&&this.syncHighValue(),this.setMinAndMax(),this.updateLowHandle(this.valueToOffset(this.lowValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCmbLabel()},onHighHandleChange:function(){this.syncLowValue(),this.syncHighValue(),this.setMinAndMax(),this.updateHighHandle(this.valueToOffset(this.highValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateCmbLabel(),this.updateAriaAttributes()},applyOptions:function(){var e;e=this.scope.rzSliderOptions?this.scope.rzSliderOptions():{},this.options=o.getOptions(e),this.options.step<=0&&(this.options.step=1),this.range=void 0!==this.scope.rzSliderModel&&void 0!==this.scope.rzSliderHigh,this.options.draggableRange=this.range&&this.options.draggableRange,this.options.draggableRangeOnly=this.range&&this.options.draggableRangeOnly,this.options.draggableRangeOnly&&(this.options.draggableRange=!0),this.options.showTicks=this.options.showTicks||this.options.showTicksValues,this.scope.showTicks=this.options.showTicks,t.isNumber(this.options.showTicks)&&(this.intermediateTicks=!0),this.options.showSelectionBar=this.options.showSelectionBar||this.options.showSelectionBarEnd||null!==this.options.showSelectionBarFromValue,this.options.stepsArray?this.parseStepsArray():(this.options.translate?this.customTrFn=this.options.translate:this.customTrFn=function(t){return String(t)},this.getLegend=this.options.getLegend),this.options.vertical&&(this.positionProperty="bottom",this.dimensionProperty="height"),this.options.customTemplateScope&&(this.scope.custom=this.options.customTemplateScope)},parseStepsArray:function(){this.options.floor=0,this.options.ceil=this.options.stepsArray.length-1,this.options.step=1,this.options.translate?this.customTrFn=this.options.translate:this.customTrFn=function(t){return this.options.bindIndexForStepsArray?this.getStepValue(t):t},this.getLegend=function(e){var n=this.options.stepsArray[e];return t.isObject(n)?n.legend:null}},resetSlider:function(){this.manageElementsStyle(),this.addAccessibility(),this.setMinAndMax(),this.updateCeilLab(),this.updateFloorLab(),this.unbindEvents(),this.manageEventsBindings(),this.setDisabledState(),this.calcViewDimensions()},initElemHandles:function(){t.forEach(this.sliderElem.children(),function(e,n){var r=t.element(e);switch(n){case 0:this.fullBar=r;break;case 1:this.selBar=r;break;case 2:this.minH=r;break;case 3:this.maxH=r;break;case 4:this.flrLab=r;break;case 5:this.ceilLab=r;break;case 6:this.minLab=r;break;case 7:this.maxLab=r;break;case 8:this.cmbLab=r;break;case 9:this.ticks=r}},this),this.selBar.rzsp=0,this.minH.rzsp=0,this.maxH.rzsp=0,this.flrLab.rzsp=0,this.ceilLab.rzsp=0,this.minLab.rzsp=0,this.maxLab.rzsp=0,this.cmbLab.rzsp=0},manageElementsStyle:function(){this.range?this.maxH.css("display",""):this.maxH.css("display","none"),this.alwaysHide(this.flrLab,this.options.showTicksValues||this.options.hideLimitLabels),this.alwaysHide(this.ceilLab,this.options.showTicksValues||this.options.hideLimitLabels);var t=this.options.showTicksValues&&!this.intermediateTicks;this.alwaysHide(this.minLab,t||this.options.hidePointerLabels),this.alwaysHide(this.maxLab,t||!this.range||this.options.hidePointerLabels),this.alwaysHide(this.cmbLab,t||!this.range||this.options.hidePointerLabels),this.alwaysHide(this.selBar,!this.range&&!this.options.showSelectionBar),this.options.vertical&&this.sliderElem.addClass("rz-vertical"),this.options.draggableRange?this.selBar.addClass("rz-draggable"):this.selBar.removeClass("rz-draggable"),this.intermediateTicks&&this.options.showTicksValues&&this.ticks.addClass("rz-ticks-values-under")},alwaysHide:function(t,e){t.rzAlwaysHide=e,e?this.hideEl(t):this.showEl(t)},manageEventsBindings:function(){this.options.disabled||this.options.readOnly?this.unbindEvents():this.bindEvents()},setDisabledState:function(){this.options.disabled?this.sliderElem.attr("disabled","disabled"):this.sliderElem.attr("disabled",null)},resetLabelsValue:function(){this.minLab.rzsv=void 0,this.maxLab.rzsv=void 0},initHandles:function(){this.updateLowHandle(this.valueToOffset(this.lowValue)),this.range&&this.updateHighHandle(this.valueToOffset(this.highValue)),this.updateSelectionBar(),this.range&&this.updateCmbLabel(),this.updateTicksScale()},translateFn:function(t,e,n,r){r=void 0===r||r;var i="",o=!1,a=e.hasClass("no-label-injection");r?(this.options.stepsArray&&!this.options.bindIndexForStepsArray&&(t=this.getStepValue(t)),i=String(this.customTrFn(t,this.options.id,n))):i=String(t),(void 0===e.rzsv||e.rzsv.length!==i.length||e.rzsv.length>0&&0===e.rzsd)&&(o=!0,e.rzsv=i),a||e.html(i),this.scope[n+"Label"]=i,o&&this.getDimension(e)},setMinAndMax:function(){this.step=+this.options.step,this.precision=+this.options.precision,this.minValue=this.options.floor,this.options.enforceStep&&(this.lowValue=this.roundStep(this.lowValue),this.range&&(this.highValue=this.roundStep(this.highValue))),null!=this.options.ceil?this.maxValue=this.options.ceil:this.maxValue=this.options.ceil=this.range?this.highValue:this.lowValue,this.options.enforceRange&&(this.lowValue=this.sanitizeValue(this.lowValue),this.range&&(this.highValue=this.sanitizeValue(this.highValue))),this.applyLowValue(),this.range&&this.applyHighValue(),this.valueRange=this.maxValue-this.minValue},addAccessibility:function(){this.minH.attr("role","slider"),this.updateAriaAttributes(),!this.options.keyboardSupport||this.options.readOnly||this.options.disabled?this.minH.attr("tabindex",""):this.minH.attr("tabindex","0"),this.options.vertical&&this.minH.attr("aria-orientation","vertical"),this.range&&(this.maxH.attr("role","slider"),!this.options.keyboardSupport||this.options.readOnly||this.options.disabled?this.maxH.attr("tabindex",""):this.maxH.attr("tabindex","0"),this.options.vertical&&this.maxH.attr("aria-orientation","vertical"))},updateAriaAttributes:function(){this.minH.attr({"aria-valuenow":this.scope.rzSliderModel,"aria-valuetext":this.customTrFn(this.scope.rzSliderModel,this.options.id,"model"),"aria-valuemin":this.minValue,"aria-valuemax":this.maxValue}),this.range&&this.maxH.attr({"aria-valuenow":this.scope.rzSliderHigh,"aria-valuetext":this.customTrFn(this.scope.rzSliderHigh,this.options.id,"high"),"aria-valuemin":this.minValue,"aria-valuemax":this.maxValue})},calcViewDimensions:function(){var t=this.getDimension(this.minH);this.handleHalfDim=t/2,this.barDimension=this.getDimension(this.fullBar),this.maxPos=this.barDimension-t,this.getDimension(this.sliderElem),this.sliderElem.rzsp=this.sliderElem[0].getBoundingClientRect()[this.positionProperty],this.initHasRun&&(this.updateFloorLab(),this.updateCeilLab(),this.initHandles())},updateTicksScale:function(){if(this.options.showTicks){var t=this.step;this.intermediateTicks&&(t=this.options.showTicks);var e=Math.round((this.maxValue-this.minValue)/t)+1;this.scope.ticks=[];for(var n=0;n<e;n++){var r=this.roundStep(this.minValue+n*t),i={selected:this.isTickSelected(r)};if(i.selected&&this.options.getSelectionBarColor&&(i.style={"background-color":this.getSelectionBarColor()}),!i.selected&&this.options.getTickColor&&(i.style={"background-color":this.getTickColor(r)}),this.options.ticksTooltip&&(i.tooltip=this.options.ticksTooltip(r),i.tooltipPlacement=this.options.vertical?"right":"top"),this.options.showTicksValues&&(i.value=this.getDisplayValue(r,"tick-value"),this.options.ticksValuesTooltip&&(i.valueTooltip=this.options.ticksValuesTooltip(r),i.valueTooltipPlacement=this.options.vertical?"right":"top")),this.getLegend){var o=this.getLegend(r,this.options.id);o&&(i.legend=o)}this.options.rightToLeft?this.scope.ticks.unshift(i):this.scope.ticks.push(i)}}},isTickSelected:function(t){if(!this.range)if(null!==this.options.showSelectionBarFromValue){var e=this.options.showSelectionBarFromValue;if(this.lowValue>e&&t>=e&&t<=this.lowValue)return!0;if(this.lowValue<e&&t<=e&&t>=this.lowValue)return!0}else if(this.options.showSelectionBarEnd){if(t>=this.lowValue)return!0}else if(this.options.showSelectionBar&&t<=this.lowValue)return!0;return!!(this.range&&t>=this.lowValue&&t<=this.highValue)},updateFloorLab:function(){this.translateFn(this.minValue,this.flrLab,"floor"),this.getDimension(this.flrLab);var t=this.options.rightToLeft?this.barDimension-this.flrLab.rzsd:0;this.setPosition(this.flrLab,t)},updateCeilLab:function(){this.translateFn(this.maxValue,this.ceilLab,"ceil"),this.getDimension(this.ceilLab);var t=this.options.rightToLeft?0:this.barDimension-this.ceilLab.rzsd;this.setPosition(this.ceilLab,t)},updateHandles:function(t,e){"lowValue"===t?this.updateLowHandle(e):this.updateHighHandle(e),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCmbLabel()},getHandleLabelPos:function(t,e){var n=this[t].rzsd,r=e-n/2+this.handleHalfDim,i=this.barDimension-n;return this.options.boundPointerLabels?this.options.rightToLeft&&"minLab"===t||!this.options.rightToLeft&&"maxLab"===t?Math.min(r,i):Math.min(Math.max(r,0),i):r},updateLowHandle:function(t){if(this.setPosition(this.minH,t),this.translateFn(this.lowValue,this.minLab,"model"),this.setPosition(this.minLab,this.getHandleLabelPos("minLab",t)),this.options.getPointerColor){var e=this.getPointerColor("min");this.scope.minPointerStyle={backgroundColor:e}}this.shFloorCeil()},updateHighHandle:function(t){if(this.setPosition(this.maxH,t),this.translateFn(this.highValue,this.maxLab,"high"),this.setPosition(this.maxLab,this.getHandleLabelPos("maxLab",t)),this.options.getPointerColor){var e=this.getPointerColor("max");this.scope.maxPointerStyle={backgroundColor:e}}this.shFloorCeil()},shFloorCeil:function(){var t=!1,e=!1,n=this.options.rightToLeft,r=this.flrLab.rzsp,i=this.flrLab.rzsd,o=this.minLab.rzsp,a=this.minLab.rzsd,s=this.maxLab.rzsp,u=this.maxLab.rzsd,l=this.cmbLab.rzsp,c=this.cmbLab.rzsd,d=this.ceilLab.rzsp,f=this.handleHalfDim,h=n?o+a>=r-i-5:o<=r+i+5,p=n?o-a<=d+f+10:o+a>=d-f-10,m=n?s-u<=d+10:s+u>=d-10,g=n?l>=r-i-f:l<=r+i+f,v=n?l-c<=d+10:l+c>=d-10;if(h?(t=!0,this.hideEl(this.flrLab)):(t=!1,this.showEl(this.flrLab)),p?(e=!0,this.hideEl(this.ceilLab)):(e=!1,this.showEl(this.ceilLab)),this.range){var y=this.cmbLabelShown?v:m,b=this.cmbLabelShown?g:h;y?this.hideEl(this.ceilLab):e||this.showEl(this.ceilLab),b?this.hideEl(this.flrLab):t||this.showEl(this.flrLab)}},updateSelectionBar:function(){var t=0,e=0,n=this.options.rightToLeft?!this.options.showSelectionBarEnd:this.options.showSelectionBarEnd,r=this.options.rightToLeft?this.maxH.rzsp+this.handleHalfDim:this.minH.rzsp+this.handleHalfDim;if(this.range)e=Math.abs(this.maxH.rzsp-this.minH.rzsp),t=r;else if(null!==this.options.showSelectionBarFromValue){var i=this.options.showSelectionBarFromValue,o=this.valueToOffset(i),a=this.options.rightToLeft?this.lowValue<=i:this.lowValue>i;a?(e=this.minH.rzsp-o,t=o+this.handleHalfDim):(e=o-this.minH.rzsp,t=this.minH.rzsp+this.handleHalfDim)}else n?(e=Math.abs(this.maxPos-this.minH.rzsp)+this.handleHalfDim,t=this.minH.rzsp+this.handleHalfDim):(e=Math.abs(this.maxH.rzsp-this.minH.rzsp)+this.handleHalfDim,t=0);if(this.setDimension(this.selBar,e),this.setPosition(this.selBar,t),this.options.getSelectionBarColor){var s=this.getSelectionBarColor();this.scope.barStyle={backgroundColor:s}}},getSelectionBarColor:function(){return this.range?this.options.getSelectionBarColor(this.scope.rzSliderModel,this.scope.rzSliderHigh):this.options.getSelectionBarColor(this.scope.rzSliderModel)},getPointerColor:function(t){return"max"===t?this.options.getPointerColor(this.scope.rzSliderHigh,t):this.options.getPointerColor(this.scope.rzSliderModel,t)},getTickColor:function(t){return this.options.getTickColor(t)},updateCmbLabel:function(){if(this.options.rightToLeft?this.minLab.rzsp-this.minLab.rzsd-10<=this.maxLab.rzsp:this.minLab.rzsp+this.minLab.rzsd+10>=this.maxLab.rzsp){var t=this.getDisplayValue(this.lowValue,"model"),e=this.getDisplayValue(this.highValue,"high"),n="";n=this.options.mergeRangeLabelsIfSame&&t===e?t:this.options.rightToLeft?e+" - "+t:t+" - "+e,this.translateFn(n,this.cmbLab,"cmb",!1);var r=this.options.boundPointerLabels?Math.min(Math.max(this.selBar.rzsp+this.selBar.rzsd/2-this.cmbLab.rzsd/2,0),this.barDimension-this.cmbLab.rzsd):this.selBar.rzsp+this.selBar.rzsd/2-this.cmbLab.rzsd/2;this.setPosition(this.cmbLab,r),this.cmbLabelShown=!0,this.hideEl(this.minLab),this.hideEl(this.maxLab),this.showEl(this.cmbLab)}else this.cmbLabelShown=!1,this.showEl(this.maxLab),this.showEl(this.minLab),this.hideEl(this.cmbLab)},getDisplayValue:function(t,e){return this.options.stepsArray&&!this.options.bindIndexForStepsArray&&(t=this.getStepValue(t)),this.customTrFn(t,this.options.id,e)},roundStep:function(t,e){var n=e||this.step,r=parseFloat((t-this.minValue)/n).toPrecision(12);return r=Math.round(+r)*n,+(this.minValue+r).toFixed(this.precision)},hideEl:function(t){return t.css({visibility:"hidden"})},showEl:function(t){return t.rzAlwaysHide?t:t.css({visibility:"visible"})},setPosition:function(t,e){t.rzsp=e;var n={};return n[this.positionProperty]=e+"px",t.css(n),e},getDimension:function(t){var e=t[0].getBoundingClientRect();return this.options.vertical?t.rzsd=(e.bottom-e.top)*this.options.scale:t.rzsd=(e.right-e.left)*this.options.scale,t.rzsd},setDimension:function(t,e){t.rzsd=e;var n={};return n[this.dimensionProperty]=e+"px",t.css(n),e},valueToOffset:function(t){return this.options.rightToLeft?(this.maxValue-this.sanitizeValue(t))*this.maxPos/this.valueRange||0:(this.sanitizeValue(t)-this.minValue)*this.maxPos/this.valueRange||0},sanitizeValue:function(t){return Math.min(Math.max(t,this.minValue),this.maxValue)},offsetToValue:function(t){return this.options.rightToLeft?(1-t/this.maxPos)*this.valueRange+this.minValue:t/this.maxPos*this.valueRange+this.minValue},getEventXY:function(t){var e=this.options.vertical?"clientY":"clientX";return void 0!==t[e]?t[e]:void 0===t.originalEvent?t.touches[0][e]:t.originalEvent.touches[0][e]},getEventPosition:function(t){var e=this.sliderElem.rzsp;return((this.options.vertical?-this.getEventXY(t)+e:this.getEventXY(t)-e)-this.handleHalfDim)*this.options.scale},getEventNames:function(t){var e={moveEvent:"",endEvent:""};return t.touches||void 0!==t.originalEvent&&t.originalEvent.touches?(e.moveEvent="touchmove",e.endEvent="touchend"):(e.moveEvent="mousemove",e.endEvent="mouseup"),e},getNearestHandle:function(t){if(!this.range)return this.minH;var e=this.getEventPosition(t),n=Math.abs(e-this.minH.rzsp),r=Math.abs(e-this.maxH.rzsp);return n<r?this.minH:n>r?this.maxH:this.options.rightToLeft?e>this.minH.rzsp?this.minH:this.maxH:e<this.minH.rzsp?this.minH:this.maxH},focusElement:function(t){t[0].focus()},bindEvents:function(){var e,n,r;this.options.draggableRange?(e="rzSliderDrag",n=this.onDragStart,r=this.onDragMove):(e="lowValue",n=this.onStart,r=this.onMove),this.options.onlyBindHandles||(this.selBar.on("mousedown",t.bind(this,n,null,e)),this.selBar.on("mousedown",t.bind(this,r,this.selBar))),this.options.draggableRangeOnly?(this.minH.on("mousedown",t.bind(this,n,null,e)),this.maxH.on("mousedown",t.bind(this,n,null,e))):(this.minH.on("mousedown",t.bind(this,this.onStart,this.minH,"lowValue")),this.range&&this.maxH.on("mousedown",t.bind(this,this.onStart,this.maxH,"highValue")),this.options.onlyBindHandles||(this.fullBar.on("mousedown",t.bind(this,this.onStart,null,null)),this.fullBar.on("mousedown",t.bind(this,this.onMove,this.fullBar)),this.ticks.on("mousedown",t.bind(this,this.onStart,null,null)),this.ticks.on("mousedown",t.bind(this,this.onTickClick,this.ticks)))),this.options.onlyBindHandles||(this.selBar.on("touchstart",t.bind(this,n,null,e)),this.selBar.on("touchstart",t.bind(this,r,this.selBar))),this.options.draggableRangeOnly?(this.minH.on("touchstart",t.bind(this,n,null,e)),this.maxH.on("touchstart",t.bind(this,n,null,e))):(this.minH.on("touchstart",t.bind(this,this.onStart,this.minH,"lowValue")),this.range&&this.maxH.on("touchstart",t.bind(this,this.onStart,this.maxH,"highValue")),this.options.onlyBindHandles||(this.fullBar.on("touchstart",t.bind(this,this.onStart,null,null)),this.fullBar.on("touchstart",t.bind(this,this.onMove,this.fullBar)),this.ticks.on("touchstart",t.bind(this,this.onStart,null,null)),this.ticks.on("touchstart",t.bind(this,this.onTickClick,this.ticks)))),this.options.keyboardSupport&&(this.minH.on("focus",t.bind(this,this.onPointerFocus,this.minH,"lowValue")),this.range&&this.maxH.on("focus",t.bind(this,this.onPointerFocus,this.maxH,"highValue")))},unbindEvents:function(){this.minH.off(),this.maxH.off(),this.fullBar.off(),this.selBar.off(),this.ticks.off()},onStart:function(e,r,i){var o,a,s=this.getEventNames(i);i.stopPropagation(),i.preventDefault(),this.calcViewDimensions(),e?this.tracking=r:(e=this.getNearestHandle(i),this.tracking=e===this.minH?"lowValue":"highValue"),e.addClass("rz-active"),this.options.keyboardSupport&&this.focusElement(e),o=t.bind(this,this.dragging.active?this.onDragMove:this.onMove,e),a=t.bind(this,this.onEnd,o),n.on(s.moveEvent,o),n.one(s.endEvent,a),this.callOnStart()},onMove:function(e,n,r){var i,o=this.getEventPosition(n),a=this.options.rightToLeft?this.minValue:this.maxValue,s=this.options.rightToLeft?this.maxValue:this.minValue;o<=0?i=s:o>=this.maxPos?i=a:(i=this.offsetToValue(o),i=r&&t.isNumber(this.options.showTicks)?this.roundStep(i,this.options.showTicks):this.roundStep(i)),this.positionTrackingHandle(i)},onEnd:function(t,e){var r=this.getEventNames(e).moveEvent;this.options.keyboardSupport||(this.minH.removeClass("rz-active"),this.maxH.removeClass("rz-active"),this.tracking=""),this.dragging.active=!1,n.off(r,t),this.callOnEnd()},onTickClick:function(t,e){this.onMove(t,e,!0)},onPointerFocus:function(e,n){this.tracking=n,e.one("blur",t.bind(this,this.onPointerBlur,e)),e.on("keydown",t.bind(this,this.onKeyboardEvent)),e.on("keyup",t.bind(this,this.onKeyUp)),this.firstKeyDown=!0,e.addClass("rz-active")},onKeyUp:function(){this.firstKeyDown=!0,this.callOnEnd()},onPointerBlur:function(t){t.off("keydown"),t.off("keyup"),this.tracking="",t.removeClass("rz-active")},getKeyActions:function(t){var e=t+this.step,n=t-this.step,r=t+this.valueRange/10,i=t-this.valueRange/10,o={UP:e,DOWN:n,LEFT:n,RIGHT:e,PAGEUP:r,PAGEDOWN:i,HOME:this.minValue,END:this.maxValue};return this.options.rightToLeft&&(o.LEFT=e,o.RIGHT=n,this.options.vertical&&(o.UP=n,o.DOWN=e)),o},onKeyboardEvent:function(t){var n=this[this.tracking],r=t.keyCode||t.which,i={38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"},o=this.getKeyActions(n),a=i[r],s=o[a];if(null!=s&&""!==this.tracking){t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.callOnStart());var u=this;e(function(){var t=u.roundStep(u.sanitizeValue(s));if(u.options.draggableRangeOnly){var e,n,r=u.highValue-u.lowValue;"lowValue"===u.tracking?(e=t,(n=t+r)>u.maxValue&&(n=u.maxValue,e=n-r)):(n=t,(e=t-r)<u.minValue&&(e=u.minValue,n=e+r)),u.positionTrackingBar(e,n)}else u.positionTrackingHandle(t)})}},onDragStart:function(t,e,n){var r=this.getEventPosition(n);this.dragging={active:!0,value:this.offsetToValue(r),difference:this.highValue-this.lowValue,lowLimit:this.options.rightToLeft?this.minH.rzsp-r:r-this.minH.rzsp,highLimit:this.options.rightToLeft?r-this.maxH.rzsp:this.maxH.rzsp-r},this.onStart(t,e,n)},getValue:function(t,e,n,r){var i=this.options.rightToLeft,o=null;return o="min"===t?n?r?i?this.minValue:this.maxValue-this.dragging.difference:i?this.maxValue-this.dragging.difference:this.minValue:i?this.offsetToValue(e+this.dragging.lowLimit):this.offsetToValue(e-this.dragging.lowLimit):n?r?i?this.minValue+this.dragging.difference:this.maxValue:i?this.maxValue:this.minValue+this.dragging.difference:i?this.offsetToValue(e+this.dragging.lowLimit)+this.dragging.difference:this.offsetToValue(e-this.dragging.lowLimit)+this.dragging.difference,this.roundStep(o)},onDragMove:function(t,e){var n,r,i,o,a,s,u,l,c=this.getEventPosition(e);if(this.options.rightToLeft?(i=this.dragging.lowLimit,o=this.dragging.highLimit,u=this.maxH,l=this.minH):(i=this.dragging.highLimit,o=this.dragging.lowLimit,u=this.minH,l=this.maxH),a=c<=o,s=c>=this.maxPos-i,a){if(0===u.rzsp)return;n=this.getValue("min",c,!0,!1),r=this.getValue("max",c,!0,!1)}else if(s){if(l.rzsp===this.maxPos)return;r=this.getValue("max",c,!0,!0),n=this.getValue("min",c,!0,!0)}else n=this.getValue("min",c,!1),r=this.getValue("max",c,!1);this.positionTrackingBar(n,r)},positionTrackingBar:function(t,e){this.lowValue=t,this.highValue=e,this.applyLowValue(),this.range&&this.applyHighValue(),this.applyModel(),this.updateHandles("lowValue",this.valueToOffset(t)),this.updateHandles("highValue",this.valueToOffset(e))},positionTrackingHandle:function(t){var e=!1;t=this.applyMinMaxLimit(t),this.range&&(this.options.pushRange?(t=this.applyPushRange(t),e=!0):(t=this.applyMinMaxRange(t),"lowValue"===this.tracking&&t>this.highValue?(this.options.noSwitching&&this.highValue!==this.minValue?t=this.applyMinMaxRange(this.highValue):(this.lowValue=this.highValue,this.applyLowValue(),this.updateHandles(this.tracking,this.maxH.rzsp),this.updateAriaAttributes(),this.tracking="highValue",this.minH.removeClass("rz-active"),this.maxH.addClass("rz-active"),this.options.keyboardSupport&&this.focusElement(this.maxH)),e=!0):"highValue"===this.tracking&&t<this.lowValue&&(this.options.noSwitching&&this.lowValue!==this.maxValue?t=this.applyMinMaxRange(this.lowValue):(this.highValue=this.lowValue,this.applyHighValue(),this.updateHandles(this.tracking,this.minH.rzsp),this.updateAriaAttributes(),this.tracking="lowValue",this.maxH.removeClass("rz-active"),this.minH.addClass("rz-active"),this.options.keyboardSupport&&this.focusElement(this.minH)),e=!0))),this[this.tracking]!==t&&(this[this.tracking]=t,"lowValue"===this.tracking?this.applyLowValue():this.applyHighValue(),this.updateHandles(this.tracking,this.valueToOffset(t)),this.updateAriaAttributes(),e=!0),e&&this.applyModel()},applyMinMaxLimit:function(t){return null!=this.options.minLimit&&t<this.options.minLimit?this.options.minLimit:null!=this.options.maxLimit&&t>this.options.maxLimit?this.options.maxLimit:t},applyMinMaxRange:function(t){var e="lowValue"===this.tracking?this.highValue:this.lowValue,n=Math.abs(t-e);return null!=this.options.minRange&&n<this.options.minRange?"lowValue"===this.tracking?this.highValue-this.options.minRange:this.lowValue+this.options.minRange:null!=this.options.maxRange&&n>this.options.maxRange?"lowValue"===this.tracking?this.highValue-this.options.maxRange:this.lowValue+this.options.maxRange:t},applyPushRange:function(t){var e="lowValue"===this.tracking?this.highValue-t:t-this.lowValue,n=null!==this.options.minRange?this.options.minRange:this.options.step;return e<n&&("lowValue"===this.tracking?(this.highValue=Math.min(t+n,this.maxValue),t=this.highValue-n,this.applyHighValue(),this.updateHandles("highValue",this.valueToOffset(this.highValue))):(this.lowValue=Math.max(t-n,this.minValue),t=this.lowValue+n,this.applyLowValue(),this.updateHandles("lowValue",this.valueToOffset(this.lowValue))),this.updateAriaAttributes()),t},applyModel:function(){this.internalChange=!0,this.scope.$apply(),this.callOnChange(),this.internalChange=!1},callOnStart:function(){if(this.options.onStart){var t=this,e="lowValue"===this.tracking?"min":"max";this.scope.$evalAsync(function(){t.options.onStart(t.options.id,t.scope.rzSliderModel,t.scope.rzSliderHigh,e)})}},callOnChange:function(){if(this.options.onChange){var t=this,e="lowValue"===this.tracking?"min":"max";this.scope.$evalAsync(function(){t.options.onChange(t.options.id,t.scope.rzSliderModel,t.scope.rzSliderHigh,e)})}},callOnEnd:function(){if(this.options.onEnd){var t=this,e="lowValue"===this.tracking?"min":"max";this.scope.$evalAsync(function(){t.options.onEnd(t.options.id,t.scope.rzSliderModel,t.scope.rzSliderHigh,e)})}this.scope.$emit("slideEnded")}},s}]).directive("rzslider",["RzSlider",function(t){return{restrict:"AE",replace:!0,scope:{rzSliderModel:"=?",rzSliderHigh:"=?",rzSliderOptions:"&?",rzSliderTplUrl:"@"},templateUrl:function(t,e){return e.rzSliderTplUrl||"rzSliderTpl.html"},link:function(e,n){e.slider=new t(e,n)}}}]);return e.run(["$templateCache",function(t){t.put("rzSliderTpl.html",'<div class=rzslider><span class=rz-bar-wrapper><span class=rz-bar></span></span> <span class=rz-bar-wrapper><span class="rz-bar rz-selection" ng-style=barStyle></span></span> <span class="rz-pointer rz-pointer-min" ng-style=minPointerStyle></span> <span class="rz-pointer rz-pointer-max" ng-style=maxPointerStyle></span> <span class="rz-bubble rz-limit rz-floor"></span> <span class="rz-bubble rz-limit rz-ceil"></span> <span class=rz-bubble></span> <span class=rz-bubble></span> <span class=rz-bubble></span><ul ng-show=showTicks class=rz-ticks><li ng-repeat="t in ticks track by $index" class=rz-tick ng-class="{\'rz-selected\': t.selected}" ng-style=t.style ng-attr-uib-tooltip="{{ t.tooltip }}" ng-attr-tooltip-placement={{t.tooltipPlacement}} ng-attr-tooltip-append-to-body="{{ t.tooltip ? true : undefined}}"><span ng-if="t.value != null" class=rz-tick-value ng-attr-uib-tooltip="{{ t.valueTooltip }}" ng-attr-tooltip-placement={{t.valueTooltipPlacement}}>{{ t.value }}</span> <span ng-if="t.legend != null" class=rz-tick-legend>{{ t.legend }}</span></li></ul></div>')}]),e.name}),angular.module("dndLists",[]).directive("dndDraggable",["$parse","$timeout","dndDropEffectWorkaround","dndDragTypeWorkaround",function(t,e,n,r){return function(i,o,a){o.attr("draggable","true"),a.dndDisableIf&&i.$watch(a.dndDisableIf,function(t){o.attr("draggable",!t)}),o.on("dragstart",function(s){return s=s.originalEvent||s,"false"==o.attr("draggable")||(s.dataTransfer.setData("Text",angular.toJson(i.$eval(a.dndDraggable))),s.dataTransfer.effectAllowed=a.dndEffectAllowed||"move",o.addClass("dndDragging"),e(function(){o.addClass("dndDraggingSource")},0),n.dropEffect="none",r.isDragging=!0,r.dragType=a.dndType?i.$eval(a.dndType):void 0,s._dndHandle&&s.dataTransfer.setDragImage&&s.dataTransfer.setDragImage(o[0],0,0),t(a.dndDragstart)(i,{event:s}),void s.stopPropagation())}),o.on("dragend",function(s){s=s.originalEvent||s;var u=n.dropEffect;i.$apply(function(){switch(u){case"move":t(a.dndMoved)(i,{event:s});break;case"copy":t(a.dndCopied)(i,{event:s});break;case"none":t(a.dndCanceled)(i,{event:s})}t(a.dndDragend)(i,{event:s,dropEffect:u})}),o.removeClass("dndDragging"),e(function(){o.removeClass("dndDraggingSource")},0),r.isDragging=!1,s.stopPropagation()}),o.on("click",function(e){a.dndSelected&&(e=e.originalEvent||e,i.$apply(function(){t(a.dndSelected)(i,{event:e})}),e.stopPropagation())}),o.on("selectstart",function(){this.dragDrop&&this.dragDrop()})}}]).directive("dndList",["$parse","$timeout","dndDropEffectWorkaround","dndDragTypeWorkaround",function(t,e,n,r){return function(i,o,a){function s(t,e,n){var r=g?t.offsetX||t.layerX:t.offsetY||t.layerY,i=g?e.offsetWidth:e.offsetHeight,o=g?e.offsetLeft:e.offsetTop;return(o=n?o:0)+i/2>r}function u(){return Array.prototype.indexOf.call(m.children,p)}function l(t){if(!r.isDragging&&!v)return!1;if(!f(t.dataTransfer.types))return!1;if(a.dndAllowedTypes&&r.isDragging){var e=i.$eval(a.dndAllowedTypes);if(angular.isArray(e)&&-1===e.indexOf(r.dragType))return!1}return!a.dndDisableIf||!i.$eval(a.dndDisableIf)}function c(){return h.remove(),o.removeClass("dndDragover"),!0}function d(e,n,o,a){return t(e)(i,{event:n,index:o,item:a||void 0,external:!r.isDragging,type:r.isDragging?r.dragType:void 0})}function f(t){if(!t)return!0;for(var e=0;e<t.length;e++)if("Text"===t[e]||"text/plain"===t[e])return!0;return!1}var h=function(){var t;return angular.forEach(o.children(),function(e){var n=angular.element(e);n.hasClass("dndPlaceholder")&&(t=n)}),t||angular.element("<li class='dndPlaceholder'></li>")}(),p=h[0],m=o[0];h.remove();var g=a.dndHorizontalList&&i.$eval(a.dndHorizontalList),v=a.dndExternalSources&&i.$eval(a.dndExternalSources);o.on("dragenter",function(t){return t=t.originalEvent||t,!l(t)||void t.preventDefault()}),o.on("dragover",function(t){if(t=t.originalEvent||t,!l(t))return!0;if(p.parentNode!=m&&o.append(h),t.target!==m){for(var e=t.target;e.parentNode!==m&&e.parentNode;)e=e.parentNode;e.parentNode===m&&e!==p&&(s(t,e)?m.insertBefore(p,e):m.insertBefore(p,e.nextSibling))}else if(s(t,p,!0))for(;p.previousElementSibling&&(s(t,p.previousElementSibling,!0)||0===p.previousElementSibling.offsetHeight);)m.insertBefore(p,p.previousElementSibling);else for(;p.nextElementSibling&&!s(t,p.nextElementSibling,!0);)m.insertBefore(p,p.nextElementSibling.nextElementSibling);return a.dndDragover&&!d(a.dndDragover,t,u())?c():(o.addClass("dndDragover"),t.preventDefault(),t.stopPropagation(),!1)}),o.on("drop",function(t){if(t=t.originalEvent||t,!l(t))return!0;t.preventDefault();var e,r=t.dataTransfer.getData("Text")||t.dataTransfer.getData("text/plain");try{e=JSON.parse(r)}catch(t){return c()}var o=u();return a.dndDrop&&!(e=d(a.dndDrop,t,o,e))?c():(!0!==e&&i.$apply(function(){i.$eval(a.dndList).splice(o,0,e)}),d(a.dndInserted,t,o,e),"none"===t.dataTransfer.dropEffect?"copy"===t.dataTransfer.effectAllowed||"move"===t.dataTransfer.effectAllowed?n.dropEffect=t.dataTransfer.effectAllowed:n.dropEffect=t.ctrlKey?"copy":"move":n.dropEffect=t.dataTransfer.dropEffect,c(),t.stopPropagation(),!1)}),o.on("dragleave",function(t){t=t.originalEvent||t,o.removeClass("dndDragover"),e(function(){o.hasClass("dndDragover")||h.remove()},100)})}}]).directive("dndNodrag",function(){return function(t,e,n){e.attr("draggable","true"),e.on("dragstart",function(t){t=t.originalEvent||t,t._dndHandle||(t.dataTransfer.types&&t.dataTransfer.types.length||t.preventDefault(),t.stopPropagation())}),e.on("dragend",function(t){t=t.originalEvent||t,t._dndHandle||t.stopPropagation()})}}).directive("dndHandle",function(){return function(t,e,n){e.attr("draggable","true"),e.on("dragstart dragend",function(t){t=t.originalEvent||t,t._dndHandle=!0})}}).factory("dndDragTypeWorkaround",function(){return{}}).factory("dndDropEffectWorkaround",function(){return{}}),function(){"use strict";angular.module("mCreditCard",[])}(),function(){"use strict";function t(t){function e(e,i,o,a){e.$watch(o.ngModel,function(e,s){if(s!=e){var u=t.isCardValidByBrand(e);n(i),u&&r(i,e),
a.$setValidity(o.ngModel,u)}})}function n(e){for(var n=t.getAcceptedBrands(),r=n.length,i="";r--;)i=i+" "+n[r].brand;e.parent().children().removeClass(i)}function r(e,n){e.parent().children().addClass(t.getCardBrand(n))}return{restrict:"A",require:"ngModel",link:e}}angular.module("mCreditCard").directive("mCreditCard",t),t.$inject=["CreditCardFactory"]}(),function(){"use strict";function t(){function t(t){return n(t)}function e(t){if(!t)return!1;if(t=o(t),t.length<12||t.length>16)return!1;for(var e=0,n=0,r=!1,i=t.length-1;i>=0;i--){var a=t.charAt(i);n=parseInt(a,10),r&&(n*=2)>9&&(n-=9),e+=n,r=!r}return e%10==0}function n(t){return""!==r(t)}function r(t){if(!t||!e(t))return"";t=o(t);for(var n=i(),r=n.length;r--;)if(n[r].rule.test(t))return n[r].brand;return""}function i(){return[{brand:"discover",rule:/^(6011)[0-9]{12}|(622)[0-9]{13}|(64|65)[0-9]{14}$/},{brand:"aura",rule:/^(50)[0-9]{14}$/},{brand:"elo",rule:/^(506|509|636)[0-9]{13}|(4573|4576|6500|6504|6505|6507|6509|6516|6550)[0-9]{12}|(401178|401179|431274|438935|451416|504175|627780)[0-9]{10}$/},{brand:"amex",rule:/^(34|37)[0-9]{13}$/},{brand:"jcb",rule:/^(3088|3096|3112|3158|3337)[0-9]{12}|(35)[0-9]{14}$/},{brand:"hipercard",rule:/^606282[0-9]{10}$/},{brand:"diners",rule:/^30[0-5]{1}[0-9]{11}|(36|38|39)[0-9]{12}$/},{brand:"hiper",rule:/^637(095|568|599|600|609|612)[0-9]{10}$/},{brand:"mastercard",rule:/^(2|5)[0-9]{15}$/},{brand:"visa",rule:/^4[0-9]{12,15}$/}]}function o(t){return t?t.replace(/[^\d]+/g,""):t}return{isCardValid:t,isCardValidByLuhn:e,isCardValidByBrand:n,getCardBrand:r,getAcceptedBrands:i}}angular.module("mCreditCard").factory("CreditCardFactory",t)}(),function(t,e){"function"==typeof define&&define.amd?define([],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():e()}(0,function(){function t(t){"use strict";var e=t.storageKey(),n=t.storage(),r=function(){var r=t.preferredLanguage();angular.isString(r)?t.use(r):n.put(e,t.use())};r.displayName="fallbackFromIncorrectStorageValue",n?n.get(e)?t.use(n.get(e)).catch(r):r():angular.isString(t.preferredLanguage())&&t.use(t.preferredLanguage())}function e(t,e,n,r){"use strict";var i,o,a,s,u,l,c,d,f,h,p,m,g,v,y,b,$={},w=[],k=t,_=[],C="translate-cloak",x=!1,S=!1,E=".",D=!1,A=!1,M=0,T=!0,O="default",P={default:function(t){return(t||"").split("-").join("_")},java:function(t){var e=(t||"").split("-").join("_"),n=e.split("_");return n.length>1?n[0].toLowerCase()+"_"+n[1].toUpperCase():e},bcp47:function(t){var e=(t||"").split("_").join("-"),n=e.split("-");switch(n.length){case 1:n[0]=n[0].toLowerCase();break;case 2:n[0]=n[0].toLowerCase(),4===n[1].length?n[1]=n[1].charAt(0).toUpperCase()+n[1].slice(1).toLowerCase():n[1]=n[1].toUpperCase();break;case 3:n[0]=n[0].toLowerCase(),n[1]=n[1].charAt(0).toUpperCase()+n[1].slice(1).toLowerCase(),n[2]=n[2].toUpperCase();break;default:return e}return n.join("-")},"iso639-1":function(t){return(t||"").split("_").join("-").split("-")[0].toLowerCase()}},F=function(){if(angular.isFunction(r.getLocale))return r.getLocale();var t,n,i=e.$get().navigator,o=["language","browserLanguage","systemLanguage","userLanguage"];if(angular.isArray(i.languages))for(t=0;t<i.languages.length;t++)if((n=i.languages[t])&&n.length)return n;for(t=0;t<o.length;t++)if((n=i[o[t]])&&n.length)return n;return null};F.displayName="angular-translate/service: getFirstBrowserLanguage";var R=function(){var t=F()||"";return P[O]&&(t=P[O](t)),t};R.displayName="angular-translate/service: getLocale";var V=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},N=function(){return this.toString().replace(/^\s+|\s+$/g,"")},L=function(t){return angular.isString(t)?t.toLowerCase():t},I=function(t){if(t){for(var e=[],n=L(t),r=0,i=w.length;r<i;r++)e.push(L(w[r]));if((r=V(e,n))>-1)return w[r];if(o){var a;for(var s in o)if(o.hasOwnProperty(s)){var u=!1,l=Object.prototype.hasOwnProperty.call(o,s)&&L(s)===L(t);if("*"===s.slice(-1)&&(u=L(s.slice(0,-1))===L(t.slice(0,s.length-1))),(l||u)&&(a=o[s],V(e,L(a))>-1))return a}}var c=t.split("_");return c.length>1&&V(e,L(c[0]))>-1?c[0]:void 0}},j=function(t,e){if(!t&&!e)return $;if(t&&!e){if(angular.isString(t))return $[t]}else angular.isObject($[t])||($[t]={}),angular.extend($[t],B(e));return this};this.translations=j,this.cloakClassName=function(t){return t?(C=t,this):C},this.nestedObjectDelimeter=function(t){return t?(E=t,this):E};var B=function(t,e,n,r){var i,o,a;e||(e=[]),n||(n={});for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&(a=t[i],angular.isObject(a)?B(a,e.concat(i),n,i):(o=e.length?""+e.join(E)+E+i:i,e.length&&i===r&&(n[""+e.join(E)]="@:"+o),n[o]=a));return n};B.displayName="flatObject",this.addInterpolation=function(t){return _.push(t),this},this.useMessageFormatInterpolation=function(){return this.useInterpolation("$translateMessageFormatInterpolation")},this.useInterpolation=function(t){return h=t,this},this.useSanitizeValueStrategy=function(t){return n.useStrategy(t),this},this.preferredLanguage=function(t){return t?(H(t),this):i};var H=function(t){return t&&(i=t),i};this.translationNotFoundIndicator=function(t){return this.translationNotFoundIndicatorLeft(t),this.translationNotFoundIndicatorRight(t),this},this.translationNotFoundIndicatorLeft=function(t){return t?(g=t,this):g},this.translationNotFoundIndicatorRight=function(t){return t?(v=t,this):v},this.fallbackLanguage=function(t){return U(t),this};var U=function(t){return t?(angular.isString(t)?(s=!0,a=[t]):angular.isArray(t)&&(s=!1,a=t),angular.isString(i)&&V(a,i)<0&&a.push(i),this):s?a[0]:a};this.use=function(t){if(t){if(!$[t]&&!p)throw new Error("$translateProvider couldn't find translationTable for langKey: '"+t+"'");return u=t,this}return u},this.resolveClientLocale=function(){return R()};var Y=function(t){return t?(k=t,this):d?d+k:k};this.storageKey=Y,this.useUrlLoader=function(t,e){return this.useLoader("$translateUrlLoader",angular.extend({url:t},e))},this.useStaticFilesLoader=function(t){return this.useLoader("$translateStaticFilesLoader",t)},this.useLoader=function(t,e){return p=t,m=e||{},this},this.useLocalStorage=function(){return this.useStorage("$translateLocalStorage")},this.useCookieStorage=function(){return this.useStorage("$translateCookieStorage")},this.useStorage=function(t){return c=t,this},this.storagePrefix=function(t){return t?(d=t,this):t},this.useMissingTranslationHandlerLog=function(){return this.useMissingTranslationHandler("$translateMissingTranslationHandlerLog")},this.useMissingTranslationHandler=function(t){return f=t,this},this.usePostCompiling=function(t){return x=!!t,this},this.forceAsyncReload=function(t){return S=!!t,this},this.uniformLanguageTag=function(t){return t?angular.isString(t)&&(t={standard:t}):t={},O=t.standard,this},this.determinePreferredLanguage=function(t){var e=t&&angular.isFunction(t)?t():R();return i=w.length?I(e)||e:e,this},this.registerAvailableLanguageKeys=function(t,e){return t?(w=t,e&&(o=e),this):w},this.useLoaderCache=function(t){return!1===t?y=void 0:!0===t?y=!0:void 0===t?y="$translationCache":t&&(y=t),this},this.directivePriority=function(t){return void 0===t?M:(M=t,this)},this.statefulFilter=function(t){return void 0===t?T:(T=t,this)},this.postProcess=function(t){return b=t||void 0,this},this.keepContent=function(t){return A=!!t,this},this.$get=["$log","$injector","$rootScope","$q",function(t,e,n,r){var o,d,O,P=e.get(h||"$translateDefaultInterpolation"),F=!1,L={},z={},q=function(t,e,n,s,l,f){!u&&i&&(u=i);var h=l&&l!==u?I(l)||l:u;if(l&&lt(l),angular.isArray(t))return function(t){for(var i={},o=[],a=0,u=t.length;a<u;a++)o.push(function(t){var o=r.defer(),a=function(e){i[t]=e,o.resolve([t,e])};return q(t,e,n,s,l,f).then(a,a),o.promise}(t[a]));return r.all(o).then(function(){return i})}(t);var p=r.defer();t&&(t=N.apply(t));var m=function(){var t=z[h]||z[i];if(d=0,c&&!t){var e=o.get(k);if(t=z[e],a&&a.length){var n=V(a,e);d=0===n?1:0,V(a,i)<0&&a.push(i)}}return t}();if(m){var g=function(){l||(h=u),ot(t,e,n,s,h,f).then(p.resolve,p.reject)};g.displayName="promiseResolved",m.finally(g).catch(angular.noop)}else ot(t,e,n,s,h,f).then(p.resolve,p.reject);return p.promise},W=function(t){return g&&(t=[g,t].join(" ")),v&&(t=[t,v].join(" ")),t},G=function(t){u=t,c&&o.put(q.storageKey(),u),n.$emit("$translateChangeSuccess",{language:t}),P.setLocale(u);var e=function(t,e){L[e].setLocale(u)};e.displayName="eachInterpolatorLocaleSetter",angular.forEach(L,e),n.$emit("$translateChangeEnd",{language:t})},Z=function(t){if(!t)throw"No language key specified for loading.";var i=r.defer();n.$emit("$translateLoadingStart",{language:t}),F=!0;var o=y;"string"==typeof o&&(o=e.get(o));var a=angular.extend({},m,{key:t,$http:angular.extend({},{cache:o},m.$http)}),s=function(e){var r={};n.$emit("$translateLoadingSuccess",{language:t}),angular.isArray(e)?angular.forEach(e,function(t){angular.extend(r,B(t))}):angular.extend(r,B(e)),F=!1,i.resolve({key:t,table:r}),n.$emit("$translateLoadingEnd",{language:t})};s.displayName="onLoaderSuccess";var u=function(t){n.$emit("$translateLoadingError",{language:t}),i.reject(t),n.$emit("$translateLoadingEnd",{language:t})};return u.displayName="onLoaderError",e.get(p)(a).then(s,u),i.promise};if(c&&(!(o=e.get(c)).get||!o.put))throw new Error("Couldn't use storage '"+c+"', missing get() or put() method!");if(_.length){var K=function(t){var n=e.get(t);n.setLocale(i||u),L[n.getInterpolationIdentifier()]=n};K.displayName="interpolationFactoryAdder",angular.forEach(_,K)}var J=function(t){var e=r.defer();if(Object.prototype.hasOwnProperty.call($,t))e.resolve($[t]);else if(z[t]){var n=function(t){j(t.key,t.table),e.resolve(t.table)};n.displayName="translationTableResolver",z[t].then(n,e.reject)}else e.reject();return e.promise},X=function(t,e,n,i,o){var a=r.defer(),s=function(r){if(Object.prototype.hasOwnProperty.call(r,e)&&null!==r[e]){i.setLocale(t);var s=r[e];if("@:"===s.substr(0,2))X(t,s.substr(2),n,i,o).then(a.resolve,a.reject);else{var l=i.interpolate(r[e],n,"service",o,e);l=ut(e,r[e],l,n,t),a.resolve(l)}i.setLocale(u)}else a.reject()};return s.displayName="fallbackTranslationResolver",J(t).then(s,a.reject),a.promise},Q=function(t,e,n,r,i){var o,a=$[t];if(a&&Object.prototype.hasOwnProperty.call(a,e)&&null!==a[e]){if(r.setLocale(t),o=r.interpolate(a[e],n,"filter",i,e),o=ut(e,a[e],o,n,t,i),!angular.isString(o)&&angular.isFunction(o.$$unwrapTrustedValue)){var s=o.$$unwrapTrustedValue();if("@:"===s.substr(0,2))return Q(t,s.substr(2),n,r,i)}else if("@:"===o.substr(0,2))return Q(t,o.substr(2),n,r,i);r.setLocale(u)}return o},tt=function(t,n,r,i){return f?e.get(f)(t,u,n,r,i):t},et=function(t,e,n,i,o,s){var u=r.defer();if(t<a.length){var l=a[t];X(l,e,n,i,s).then(function(t){u.resolve(t)},function(){return et(t+1,e,n,i,o,s).then(u.resolve,u.reject)})}else if(o)u.resolve(o);else{var c=tt(e,n,o);f&&c?u.resolve(c):u.reject(W(e))}return u.promise},nt=function(t,e,n,r,i){var o;if(t<a.length){var s=a[t];(o=Q(s,e,n,r,i))||""===o||(o=nt(t+1,e,n,r))}return o},rt=function(t,e,n,r,i){return et(O>0?O:d,t,e,n,r,i)},it=function(t,e,n,r){return nt(O>0?O:d,t,e,n,r)},ot=function(t,e,n,i,o,s){var u=r.defer(),l=o?$[o]:$,c=n?L[n]:P;if(l&&Object.prototype.hasOwnProperty.call(l,t)&&null!==l[t]){var d=l[t];if("@:"===d.substr(0,2))q(d.substr(2),e,n,i,o,s).then(u.resolve,u.reject);else{var h=c.interpolate(d,e,"service",s,t);h=ut(t,d,h,e,o),u.resolve(h)}}else{var p;f&&!F&&(p=tt(t,e,i)),o&&a&&a.length?rt(t,e,c,i,s).then(function(t){u.resolve(t)},function(t){u.reject(W(t))}):f&&!F&&p?i?u.resolve(i):u.resolve(p):i?u.resolve(i):u.reject(W(t))}return u.promise},at=function(t,e,n,r,i){var o,s=r?$[r]:$,u=P;if(L&&Object.prototype.hasOwnProperty.call(L,n)&&(u=L[n]),s&&Object.prototype.hasOwnProperty.call(s,t)&&null!==s[t]){var l=s[t];"@:"===l.substr(0,2)?o=at(l.substr(2),e,n,r,i):(o=u.interpolate(l,e,"filter",i,t),o=ut(t,l,o,e,r,i))}else{var c;f&&!F&&(c=tt(t,e,i)),r&&a&&a.length?(d=0,o=it(t,e,u,i)):o=f&&!F&&c?c:W(t)}return o},st=function(t){l===t&&(l=void 0),z[t]=void 0},ut=function(t,n,r,i,o,a){var s=b;return s&&("string"==typeof s&&(s=e.get(s)),s)?s(t,n,r,i,o,a):r},lt=function(t){$[t]||!p||z[t]||(z[t]=Z(t).then(function(t){return j(t.key,t.table),t}))};q.preferredLanguage=function(t){return t&&H(t),i},q.cloakClassName=function(){return C},q.nestedObjectDelimeter=function(){return E},q.fallbackLanguage=function(t){if(void 0!==t&&null!==t){if(U(t),p&&a&&a.length)for(var e=0,n=a.length;e<n;e++)z[a[e]]||(z[a[e]]=Z(a[e]));q.use(q.use())}return s?a[0]:a},q.useFallbackLanguage=function(t){if(void 0!==t&&null!==t)if(t){var e=V(a,t);e>-1&&(O=e)}else O=0},q.proposedLanguage=function(){return l},q.storage=function(){return o},q.negotiateLocale=I,q.use=function(t){if(!t)return u;var e=r.defer();e.promise.then(null,angular.noop),n.$emit("$translateChangeStart",{language:t});var i=I(t);return w.length>0&&!i?r.reject(t):(i&&(t=i),l=t,!S&&$[t]||!p||z[t]?z[t]?z[t].then(function(t){return l===t.key&&G(t.key),e.resolve(t.key),t},function(t){return!u&&a&&a.length>0&&a[0]!==t?q.use(a[0]).then(e.resolve,e.reject):e.reject(t)}):(e.resolve(t),G(t)):(z[t]=Z(t).then(function(n){return j(n.key,n.table),e.resolve(n.key),l===t&&G(n.key),n},function(t){return n.$emit("$translateChangeError",{language:t}),e.reject(t),n.$emit("$translateChangeEnd",{language:t}),r.reject(t)}),z[t].finally(function(){st(t)}).catch(angular.noop)),e.promise)},q.resolveClientLocale=function(){return R()},q.storageKey=function(){return Y()},q.isPostCompilingEnabled=function(){return x},q.isForceAsyncReloadEnabled=function(){return S},q.isKeepContent=function(){return A},q.refresh=function(t){function e(t){var e=Z(t);return z[t]=e,e.then(function(e){$[t]={},j(t,e.table),o[t]=!0},angular.noop),e}if(!p)throw new Error("Couldn't refresh translation table, no loader registered!");n.$emit("$translateRefreshStart",{language:t});var i=r.defer(),o={};if(i.promise.then(function(){for(var t in $)$.hasOwnProperty(t)&&(t in o||delete $[t]);u&&G(u)},angular.noop).finally(function(){n.$emit("$translateRefreshEnd",{language:t})}),t)$[t]?e(t).then(i.resolve,i.reject):i.reject();else{var s=a&&a.slice()||[];u&&-1===s.indexOf(u)&&s.push(u),r.all(s.map(e)).then(i.resolve,i.reject)}return i.promise},q.instant=function(t,e,n,r,o){var s=r&&r!==u?I(r)||r:u;if(null===t||angular.isUndefined(t))return t;if(r&&lt(r),angular.isArray(t)){for(var l={},c=0,d=t.length;c<d;c++)l[t[c]]=q.instant(t[c],e,n,r,o);return l}if(angular.isString(t)&&t.length<1)return t;t&&(t=N.apply(t));var h,p=[];i&&p.push(i),s&&p.push(s),a&&a.length&&(p=p.concat(a));for(var m=0,y=p.length;m<y;m++){var b=p[m];if($[b]&&void 0!==$[b][t]&&(h=at(t,e,n,s,o)),void 0!==h)break}if(!h&&""!==h)if(g||v)h=W(t);else{h=P.interpolate(t,e,"filter",o);var w;f&&!F&&(w=tt(t,e,o)),f&&!F&&w&&(h=w)}return h},q.versionInfo=function(){return"2.17.0"},q.loaderCache=function(){return y},q.directivePriority=function(){return M},q.statefulFilter=function(){return T},q.isReady=function(){return D};var ct=r.defer();ct.promise.then(function(){D=!0}),q.onReady=function(t){var e=r.defer();return angular.isFunction(t)&&e.promise.then(t),D?e.resolve():ct.promise.then(e.resolve),e.promise},q.getAvailableLanguageKeys=function(){return w.length>0?w:null},q.getTranslationTable=function(t){return(t=t||q.use())&&$[t]?angular.copy($[t]):null};var dt=n.$on("$translateReady",function(){ct.resolve(),dt(),dt=null}),ft=n.$on("$translateChangeEnd",function(){ct.resolve(),ft(),ft=null});if(p){if(angular.equals($,{})&&q.use()&&q.use(q.use()),a&&a.length)for(var ht=0,pt=a.length;ht<pt;ht++){var mt=a[ht];!S&&$[mt]||(z[mt]=Z(mt).then(function(t){return j(t.key,t.table),n.$emit("$translateChangeEnd",{language:t.key}),t}))}}else n.$emit("$translateReady",{language:q.use()});return q}]}function n(t,e){"use strict";var n,r={};return r.setLocale=function(t){n=t},r.getInterpolationIdentifier=function(){return"default"},r.useSanitizeValueStrategy=function(t){return e.useStrategy(t),this},r.interpolate=function(n,r,i,o,a){r=r||{},r=e.sanitize(r,"params",o,i);var s;return angular.isNumber(n)?s=""+n:angular.isString(n)?(s=t(n)(r),s=e.sanitize(s,"text",o,i)):s="",s},r}function r(t,e,n,r,o){"use strict";var a=function(){return this.toString().replace(/^\s+|\s+$/g,"")},s=function(t){return angular.isString(t)?t.toLowerCase():t};return{restrict:"AE",scope:!0,priority:t.directivePriority(),compile:function(u,l){var c=l.translateValues?l.translateValues:void 0,d=l.translateInterpolation?l.translateInterpolation:void 0,f=l.translateSanitizeStrategy?l.translateSanitizeStrategy:void 0,h=u[0].outerHTML.match(/translate-value-+/i),p="^(.*)("+e.startSymbol()+".*"+e.endSymbol()+")(.*)",m="^(.*)"+e.startSymbol()+"(.*)"+e.endSymbol()+"(.*)";return function(u,g,v){u.interpolateParams={},u.preText="",u.postText="",u.translateNamespace=i(u);var y={},b=function(t){if(angular.isFunction(b._unwatchOld)&&(b._unwatchOld(),b._unwatchOld=void 0),angular.equals(t,"")||!angular.isDefined(t)){var n=a.apply(g.text()),r=n.match(p);if(angular.isArray(r)){u.preText=r[1],u.postText=r[3],y.translate=e(r[2])(u.$parent);var i=n.match(m);angular.isArray(i)&&i[2]&&i[2].length&&(b._unwatchOld=u.$watch(i[2],function(t){y.translate=t,_()}))}else y.translate=n||void 0}else y.translate=t;_()};!function(t,e,n){if(e.translateValues&&angular.extend(t,r(e.translateValues)(u.$parent)),h)for(var i in n)Object.prototype.hasOwnProperty.call(e,i)&&"translateValue"===i.substr(0,14)&&"translateValues"!==i&&(t[s(i.substr(14,1))+i.substr(15)]=n[i])}(u.interpolateParams,v,l);var $=!0;v.$observe("translate",function(t){void 0===t?b(""):""===t&&$||(y.translate=t,_()),$=!1});for(var w in v)v.hasOwnProperty(w)&&"translateAttr"===w.substr(0,13)&&w.length>13&&function(t){v.$observe(t,function(e){y[t]=e,_()})}(w);if(v.$observe("translateDefault",function(t){u.defaultText=t,_()}),f&&v.$observe("translateSanitizeStrategy",function(t){u.sanitizeStrategy=r(t)(u.$parent),_()}),c&&v.$observe("translateValues",function(t){t&&u.$parent.$watch(function(){angular.extend(u.interpolateParams,r(t)(u.$parent))})}),h)for(var k in v)Object.prototype.hasOwnProperty.call(v,k)&&"translateValue"===k.substr(0,14)&&"translateValues"!==k&&function(t){v.$observe(t,function(e){var n=s(t.substr(14,1))+t.substr(15);u.interpolateParams[n]=e})}(k);var _=function(){for(var t in y)y.hasOwnProperty(t)&&void 0!==y[t]&&C(t,y[t],u,u.interpolateParams,u.defaultText,u.translateNamespace)},C=function(e,n,r,i,o,a){n?(a&&"."===n.charAt(0)&&(n=a+n),t(n,i,d,o,r.translateLanguage,r.sanitizeStrategy).then(function(t){x(t,r,!0,e)},function(t){x(t,r,!1,e)})):x(n,r,!1,e)},x=function(e,r,i,o){if(i||void 0!==r.defaultText&&(e=r.defaultText),"translate"===o){(i||!i&&!t.isKeepContent()&&void 0===v.translateKeepContent)&&g.empty().append(r.preText+e+r.postText);var a=t.isPostCompilingEnabled(),s=void 0!==l.translateCompile,u=s&&"false"!==l.translateCompile;(a&&!s||u)&&n(g.contents())(r)}else{var c=v.$attr[o];"data-"===c.substr(0,5)&&(c=c.substr(5)),c=c.substr(15),g.attr(c,e)}};(c||h||v.translateDefault)&&u.$watch("interpolateParams",_,!0),u.$on("translateLanguageChanged",_);var S=o.$on("$translateChangeSuccess",_);g.text().length?b(v.translate?v.translate:""):v.translate&&b(v.translate),_(),u.$on("$destroy",S)}}}}function i(t){"use strict";return t.translateNamespace?t.translateNamespace:t.$parent?i(t.$parent):void 0}function o(t,e){"use strict";return{restrict:"A",priority:t.directivePriority(),link:function(n,r,i){var o,s,u,l={},c=function(){angular.forEach(o,function(e,o){e&&(l[o]=!0,n.translateNamespace&&"."===e.charAt(0)&&(e=n.translateNamespace+e),t(e,s,i.translateInterpolation,void 0,n.translateLanguage,u).then(function(t){r.attr(o,t)},function(t){r.attr(o,t)}))}),angular.forEach(l,function(t,e){o[e]||(r.removeAttr(e),delete l[e])})};a(n,i.translateAttr,function(t){o=t},c),a(n,i.translateValues,function(t){s=t},c),a(n,i.translateSanitizeStrategy,function(t){u=t},c),i.translateValues&&n.$watch(i.translateValues,c,!0),n.$on("translateLanguageChanged",c);var d=e.$on("$translateChangeSuccess",c);c(),n.$on("$destroy",d)}}}function a(t,e,n,r){"use strict";e&&("::"===e.substr(0,2)?e=e.substr(2):t.$watch(e,function(t){n(t),r()},!0),n(t.$eval(e)))}function s(t,e){"use strict";return{compile:function(n){var r=function(e){e.addClass(t.cloakClassName())},i=function(e){e.removeClass(t.cloakClassName())};return r(n),function(n,o,a){var s=i.bind(this,o),u=r.bind(this,o);a.translateCloak&&a.translateCloak.length?(a.$observe("translateCloak",function(e){t(e).then(s,u)}),e.$on("$translateChangeSuccess",function(){t(a.translateCloak).then(s,u)})):t.onReady(s)}}}}function u(){"use strict";return{restrict:"A",scope:!0,compile:function(){return{pre:function(t,e,n){t.translateNamespace=i(t),t.translateNamespace&&"."===n.translateNamespace.charAt(0)?t.translateNamespace+=n.translateNamespace:t.translateNamespace=n.translateNamespace}}}}}function i(t){"use strict";return t.translateNamespace?t.translateNamespace:t.$parent?i(t.$parent):void 0}function l(){"use strict";return{restrict:"A",scope:!0,compile:function(){return function(t,e,n){n.$observe("translateLanguage",function(e){t.translateLanguage=e}),t.$watch("translateLanguage",function(){t.$broadcast("translateLanguageChanged")})}}}}function c(t,e){"use strict";var n=function(n,r,i,o){if(!angular.isObject(r)){var a=this||{__SCOPE_IS_NOT_AVAILABLE:"More info at https://github.com/angular/angular.js/commit/8863b9d04c722b278fa93c5d66ad1e578ad6eb1f"};r=t(r)(a)}return e.instant(n,r,i,o)};return e.statefulFilter()&&(n.$stateful=!0),n}function d(t){"use strict";return t("translations")}return t.$inject=["$translate"],e.$inject=["$STORAGE_KEY","$windowProvider","$translateSanitizationProvider","pascalprechtTranslateOverrider"],n.$inject=["$interpolate","$translateSanitization"],r.$inject=["$translate","$interpolate","$compile","$parse","$rootScope"],o.$inject=["$translate","$rootScope"],s.$inject=["$translate","$rootScope"],c.$inject=["$parse","$translate"],d.$inject=["$cacheFactory"],angular.module("pascalprecht.translate",["ng"]).run(t),t.displayName="runTranslate",angular.module("pascalprecht.translate").provider("$translateSanitization",function(){"use strict";var t,e,n,r=null,i=!1,o=!1;(n={sanitize:function(t,e){return"text"===e&&(t=s(t)),t},escape:function(t,e){return"text"===e&&(t=a(t)),t},sanitizeParameters:function(t,e){return"params"===e&&(t=l(t,s)),t},escapeParameters:function(t,e){return"params"===e&&(t=l(t,a)),t},sce:function(t,e,n){return"text"===e?t=u(t):"params"===e&&"filter"!==n&&(t=l(t,a)),t},sceParameters:function(t,e){return"params"===e&&(t=l(t,u)),t}}).escaped=n.escapeParameters,this.addStrategy=function(t,e){return n[t]=e,this},this.removeStrategy=function(t){return delete n[t],this},this.useStrategy=function(t){return i=!0,r=t,this},this.$get=["$injector","$log",function(a,s){var u={},l=function(t,e,r,i){return angular.forEach(i,function(i){if(angular.isFunction(i))t=i(t,e,r);else if(angular.isFunction(n[i]))t=n[i](t,e,r);else{if(!angular.isString(n[i]))throw new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+i+"'");if(!u[n[i]])try{u[n[i]]=a.get(n[i])}catch(t){throw u[n[i]]=function(){},new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+i+"'")}t=u[n[i]](t,e,r)}}),t},c=function(){i||o||(s.warn("pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details."),o=!0)};return a.has("$sanitize")&&(t=a.get("$sanitize")),a.has("$sce")&&(e=a.get("$sce")),{useStrategy:function(t){return function(e){t.useStrategy(e)}}(this),sanitize:function(t,e,n,i){if(r||c(),n||null===n||(n=r),!n)return t;i||(i="service");var o=angular.isArray(n)?n:[n];return l(t,e,i,o)}}}];var a=function(t){var e=angular.element("<div></div>");return e.text(t),e.html()},s=function(e){if(!t)throw new Error("pascalprecht.translate.$translateSanitization: Error cannot find $sanitize service. Either include the ngSanitize module (https://docs.angularjs.org/api/ngSanitize) or use a sanitization strategy which does not depend on $sanitize, such as 'escape'.");return t(e)},u=function(t){if(!e)throw new Error("pascalprecht.translate.$translateSanitization: Error cannot find $sce service.");return e.trustAsHtml(t)},l=function(t,e,n){if(angular.isDate(t))return t;if(angular.isObject(t)){var r=angular.isArray(t)?[]:{};if(n){if(n.indexOf(t)>-1)throw new Error("pascalprecht.translate.$translateSanitization: Error cannot interpolate parameter due recursive object")}else n=[];return n.push(t),angular.forEach(t,function(t,i){angular.isFunction(t)||(r[i]=l(t,e,n))}),n.splice(-1,1),r}return angular.isNumber(t)?t:!0===t||!1===t?t:angular.isUndefined(t)||null===t?t:e(t)}}),angular.module("pascalprecht.translate").constant("pascalprechtTranslateOverrider",{}).provider("$translate",e),e.displayName="displayName",angular.module("pascalprecht.translate").factory("$translateDefaultInterpolation",n),n.displayName="$translateDefaultInterpolation",angular.module("pascalprecht.translate").constant("$STORAGE_KEY","NG_TRANSLATE_LANG_KEY"),angular.module("pascalprecht.translate").directive("translate",r),r.displayName="translateDirective",angular.module("pascalprecht.translate").directive("translateAttr",o),o.displayName="translateAttrDirective",angular.module("pascalprecht.translate").directive("translateCloak",s),s.displayName="translateCloakDirective",angular.module("pascalprecht.translate").directive("translateNamespace",u),u.displayName="translateNamespaceDirective",angular.module("pascalprecht.translate").directive("translateLanguage",l),l.displayName="translateLanguageDirective",angular.module("pascalprecht.translate").filter("translate",c),c.displayName="translateFilterFactory",angular.module("pascalprecht.translate").factory("$translationCache",d),d.displayName="$translationCache","pascalprecht.translate"}),function(t,e){function n(){var e,n,r,i;return"pageYOffset"in t?{scrollTop:t.pageYOffset,scrollLeft:t.pageXOffset}:{scrollTop:null!==(e=null!==(n=document.documentElement.scrollTop)&&void 0!==n?n:document.body.scrollTop)&&void 0!==e?e:0,scrollLeft:null!==(r=null!==(i=document.documentElement.scrollLeft)&&void 0!==i?i:document.body.scrollLeft)&&void 0!==r?r:0}}function r(e,n){return e===t?"clientWidth"===n?t.innerWidth:t.innerHeight:e[n]}function i(t,e){var n,r;n=e,r="".concat(t," attribute is deprecated. Pass the options object to vs-repeat attribute instead https://github.com/kamilkp/angular-vs-repeat#options"),console.warn("vs-repeat deprecation: ".concat(r),n[0])}var o=e.element.prototype.closest;if(!o){var a=["matches","matchesSelector","webkitMatches","webkitMatchesSelector","msMatches","msMatchesSelector","mozMatches","mozMatchesSelector"].reduce(function(t,e){var n;return null!==(n=t)&&void 0!==n?n:e in document.documentElement?e:null},null);o=function(t){for(var n,r=this[0].parentNode;r!==document.documentElement&&null!=r&&!r[a](t);)r=r.parentNode;return(null===(n=r)||void 0===n?void 0:n[a](t))?e.element(r):e.element()}}var s={latch:!1,preserveLatchOnRefresh:!1,container:null,scrollParent:null,size:null,offsetBefore:0,offsetAfter:0,scrolledToBeginning:e.noop,scrolledToEnd:e.noop,scrolledToBeginningOffset:0,scrolledToEndOffset:0,scrollMargin:0,horizontal:!1,autoresize:!1,hunked:!1,hunkSize:0},u=e.module("vs-repeat",[]).directive("vsRepeat",["$compile","$parse",function(a,u){return{restrict:"A",scope:!0,compile:function(l,c){var d="vsRepeatContainer"in c?e.element(l[0].querySelector(c.vsRepeatContainer)):l,f=d.children(),h=f.eq(0),p=h[0].outerHTML,m="$vs_collection";["vsSize","vsScrollParent","vsSizeProperty","vsHorizontal","vsOffsetBefore","vsOffsetAfter","vsScrolledToEndOffset","vsScrolledToBeginningOffset","vsExcess","vsScrollMargin"].forEach(function(t){t in c&&i(t,l)});var g=_slicedToArray(function(t){for(var e=["ng-repeat","data-ng-repeat","ng-repeat-start","data-ng-repeat-start"],n=0;n<e.length;n++){var r=e[n];if(t.attr(r))return[r,t.attr(r),0<=r.indexOf("-start")]}throw new Error("angular-vs-repeat: no ng-repeat directive on a child element")}(h),3),v=g[0],y=g[1],b=g[2],$=_slicedToArray(/^\s*(\S+)\s+in\s+([\S\s]+?)(track\s+by\s+\S+)?$/.exec(y),4),w=$[1],k=$[2],_=$[3];if(b)for(var C=0,x=f.eq(C);null==x.attr("ng-repeat-end")&&null==x.attr("data-ng-repeat-end");)C++,x=f.eq(C),p+=x[0].outerHTML;return d.empty(),{pre:function(i,l,c){function d(t){if("number"==typeof t.size)t.getSize=function(){return t.size};else{var e=u(String(t.size));t.getSize=function(t){return e(i,_defineProperty({},w,t))}}}function f(){!R||R.length<1?(i[m]=[],T=0,i.vsRepeat.sizesCumulative=[0]):(T=R.length,M.size?h():g()),x()}function h(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,e=R.map(function(e){var n;return null!==(n=t)&&void 0!==n?n:M.getSize(e)}),n=0;i.vsRepeat.sizesCumulative=[0].concat(_toConsumableArray(e.map(function(t){return n+=t})))}function g(){L?i.$$postDigest(function(){if(O[0].offsetHeight||O[0].offsetWidth){for(var t=O.children(),e=0,n=!1,r=!1;e<t.length;){if(null!=t[e].attributes[v]||r){if(n||(J=0),n=!0,t[e][B]&&(J+=t[e][B]),!b)break;if(null!=t[e].attributes["ng-repeat-end"]||null!=t[e].attributes["data-ng-repeat-end"])break;r=!0}e++}n&&(h(J),x(),L=!1,i.$root&&!i.$root.$$phase&&i.$digest())}else var o=i.$watch(function(){(O[0].offsetHeight||O[0].offsetWidth)&&(o(),g())})}):h(J)}function y(t){var e=M.horizontal?"width":"height";return["","min-","max-"].reduce(function(n,r){return n["".concat(r).concat(e)]=t,n},{})}function $(){var t=I[0][U];D()&&(i.$digest(),M._ensureScrollIntegrity&&(I[0][U]=t))}function C(){M.autoresize&&(L=!0,g(),i.$root&&!i.$root.$$phase&&i.$digest()),D()&&i.$digest()}function x(){var t;W=q=void 0,M.preserveLatchOnRefresh&&void 0!==G&&void 0!==Z||(G=T,Z=0),t=i.vsRepeat.sizesCumulative[T],i.vsRepeat.totalSize=M.offsetBefore+t+M.offsetAfter,D(),i.$emit("vsRepeatReinitialized",i.vsRepeat.startIndex,i.vsRepeat.endIndex)}function S(){var t=r(I[0],j);t!==K&&(x(),i.$root&&!i.$root.$$phase&&i.$digest()),K=t}function E(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:t.length-1,i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:1;if(t[n]===e)return[n,n,i];if(t[r]===e)return[r,r,i];if(1<r-n){var o=Math.floor((n+r)/2);return t[o]>e?E(t,e,n,o,i+1):E(t,e,o,r,i+1)}return[e>t[r]?r:n,e<t[n]?n:r,i]}function D(){var e,o,a=(e=I[0],o=U,e===t?n()[o]:e[o]),s=r(I[0],j);M.debug&&(s/=2);var u,c,d,f=O[0]===I[0]?0:(u=O[0],c=I[0],d=M.horizontal,u.getBoundingClientRect()[d?"left":"top"]-(c===t?0:c.getBoundingClientRect()[d?"left":"top"])+(c===t?n():c)[d?"scrollLeft":"scrollTop"]),h=i.vsRepeat.startIndex,p=i.vsRepeat.endIndex;if(L&&!M.size)h=0,p=1;else{i.$$postDigest(function(){t.requestAnimationFrame(function(){var e=i.vsRepeat.sizesCumulative[T],n=t.getComputedStyle(O[0]),r=M.horizontal?["paddingLeft","paddingRight"]:["paddingTop","paddingBottom"],o=O[0][H]-r.reduce(function(t,e){return t+Number(n[e].slice(0,-2))},0);O[0][H]&&e!==o&&console.warn("vsRepeat: size mismatch. Expected size "+e+"px whereas actual size is "+o+"px. Fix vsSize on element:",l[0])})});var g=a-M.offsetBefore-f;h=_slicedToArray(E(i.vsRepeat.sizesCumulative,g-M.scrollMargin),1)[0],h=Math.max(h,0),p=_slicedToArray(E(i.vsRepeat.sizesCumulative,g+M.scrollMargin+s,h),2)[1],p=Math.min(p,T)}G=Math.min(h,G),Z=Math.max(p,Z),i.vsRepeat.startIndex=M.latch?G:h,i.vsRepeat.endIndex=M.latch?Z:p,Z<i.vsRepeat.startIndex&&(i.vsRepeat.startIndex=Z);var v=!1;if(null==q?v=!0:null==W&&(v=!0),v||(M.hunked?Math.abs(i.vsRepeat.startIndex-q)>=M.hunkSize||0===i.vsRepeat.startIndex&&0!==q?v=!0:(Math.abs(i.vsRepeat.endIndex-W)>=M.hunkSize||i.vsRepeat.endIndex===T&&W!==T)&&(v=!0):v=i.vsRepeat.startIndex!==q||i.vsRepeat.endIndex!==W),v){var b;i[m]=R.slice(i.vsRepeat.startIndex,i.vsRepeat.endIndex),i.$emit("vsRepeatInnerCollectionUpdated",i.vsRepeat.startIndex,i.vsRepeat.endIndex,q,W),M.scrolledToEnd&&(b=R.length-M.scrolledToEndOffset,
(i.vsRepeat.endIndex>=b&&W<b||R.length&&i.vsRepeat.endIndex===R.length)&&i.$eval(M.scrolledToEnd)),M.scrolledToBeginning&&(b=M.scrolledToBeginningOffset,i.vsRepeat.startIndex<=b&&q>i.vsRepeat.startIndex&&i.$eval(M.scrolledToBeginning)),q=i.vsRepeat.startIndex,W=i.vsRepeat.endIndex;var $=i.vsRepeat.sizesCumulative[i.vsRepeat.startIndex]+M.offsetBefore,w=i.vsRepeat.sizesCumulative[i.vsRepeat.startIndex+i[m].length]+M.offsetBefore,k=i.vsRepeat.totalSize;V.css(y($+"px")),N.css(y(k-w+"px"))}return v}var A;i.vsRepeat={options:_extends({},s,null!==(A=i.$eval(c.vsRepeat))&&void 0!==A?A:{})};var M=i.vsRepeat.options;d(M);var T,O=e.isDefined(c.vsRepeatContainer)?e.element(l[0].querySelector(c.vsRepeatContainer)):l,P=e.element(p),F=P[0].tagName.toLowerCase(),R=[],V=e.element("<"+F+' class="vs-repeat-before-content"></'+F+">"),N=e.element("<"+F+' class="vs-repeat-after-content"></'+F+">"),L=null===M.size,I=M.scrollParent?"window"===M.scrollParent?e.element(t):o.call(O,M.scrollParent):O,j=M.horizontal?"clientWidth":"clientHeight",B=M.horizontal?"offsetWidth":"offsetHeight",H=M.horizontal?"scrollWidth":"scrollHeight",U=M.horizontal?"scrollLeft":"scrollTop";if((i.vsRepeat.totalSize=0)===I.length)throw"Specified scroll parent selector did not match any element";if(i.vsRepeat.$scrollParent=I,i.vsRepeat.sizesCumulative=[],M.debug){var Y="window"===M.scrollParent?e.element(document.body):I,z=e.element('<div class="vs-repeat-debug-element"></div>');z.css("position","window"===M.scrollParent?"fixed":"absolute"),Y.append(z),i.$on("$destroy",function(){z.remove()})}var q,W,G,Z,K,J=r(I[0],j)||50;M.horizontal?(V.css("height","100%"),N.css("height","100%")):(V.css("width","100%"),N.css("width","100%")),c.vsRepeatOptions&&i.$watchCollection(c.vsRepeatOptions,function(t){var e=_extends({},M,t);JSON.stringify(e)!==JSON.stringify(M)&&(Object.assign(M,t),d(M),x())}),i.$watchCollection(k,function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];R=t,f()}),P.eq(0).attr(v,w+" in "+m+(_?" "+_:"")),P.addClass("vs-repeat-repeated-element"),O.append(V),O.append(P),a(P)(i),O.append(N),i.vsRepeat.startIndex=0,i.vsRepeat.endIndex=0,I.on("scroll",$),e.element(t).on("resize",C),i.$on("$destroy",function(){e.element(t).off("resize",C),I.off("scroll",$)}),i.$on("vsRepeatTrigger",f),i.$on("vsRepeatResize",function(){L=!0,g()}),i.$on("vsRenderAll",function(){M.latch&&(i.vsRepeat.endIndex!==T?setTimeout(function(){var t=T;Z=Math.max(t,Z),i.vsRepeat.endIndex=M.latch?Z:t,i[m]=R.slice(i.vsRepeat.startIndex,i.vsRepeat.endIndex),W=i.vsRepeat.endIndex,V.css(y(0)),N.css(y(0)),i.$emit("vsRenderAllDone"),i.$root&&!i.$root.$$phase&&i.$digest()}):i.$emit("vsRenderAllDone"))}),i.$watch(function(){"function"==typeof t.requestAnimationFrame?t.requestAnimationFrame(S):S()})}}}}}]);e.element(document.head).append('<style id="angular-vs-repeat-style">\n\t  \t.vs-repeat-debug-element {\n        top: 50%;\n        left: 0;\n        right: 0;\n        height: 1px;\n        background: red;\n        z-index: 99999999;\n        box-shadow: 0 0 20px red;\n      }\n\n      .vs-repeat-debug-element + .vs-repeat-debug-element {\n        display: none;\n      }\n\n      .vs-repeat-before-content,\n      .vs-repeat-after-content {\n        border: none !important;\n        padding: 0 !important;\n      }\n    </style>'),"undefined"!=typeof module&&module.exports&&(module.exports=u.name)}(window,window.angular),function(t){"use strict";t.module("angulartics.baidu",["angulartics"]).config(["$analyticsProvider",function(t){window._hmt&&_hmt.push(["_setAutoPageview",!1]),t.registerPageTrack(function(t){window._hmt&&_hmt.push(["_trackPageview",t])}),t.registerEventTrack(function(t,e){var n=e.action?e.action:t;if(window._hmt&&e&&e.category&&n){var r=["_trackEvent",e.category,n];e.label&&r.push(e.label),e.value&&(r[4]=e.value),_hmt.push(r)}})}])}(angular),function(t){"use strict";t.module("angulartics.cnzz",["angulartics"]).config(["$analyticsProvider",function(t){window._czc=window._czc||[],_czc.push(["_setAutoPageview",!1]),t.registerPageTrack(function(t){_czc.push(["_trackPageview",t])}),t.registerEventTrack(function(t,e){_czc.push(["_trackEvent",e.category,t,e.label,e.value,e.nodeid])})}])}(angular),function(t){"use strict";t.module("angulartics.debug",["angulartics"]).config(["$analyticsProvider",function(t){t.registerPageTrack(function(t){console.log("Page tracking: ",t)}),t.registerEventTrack(function(t,e){console.log("Event tracking: ",t,e)})}])}(angular),function(t,e,n){"use strict";e.module("angulartics.facebook.pixel",["angulartics"]).config(["$analyticsProvider",function(e){e.settings.pageTracking.trackRelativePath=!0,e.registerPageTrack(function(e){t.fbq&&fbq("track","PageView")}),e.registerEventTrack(function(e,n){n=n||{};var r=["ViewContent","Search","AddToCart","AddToWishlist","InitiateCheckout","AddPaymentInfo","Purchase","Lead","CompleteRegistration"];t.fbq&&(-1===r.indexOf(e)?fbq("trackCustom",e,n):fbq("track",e,n))})}])}(window,window.angular),function(t,e,n){"use strict";e.module("angulartics.google.analytics",["angulartics"]).config(["$analyticsProvider",function(n){function r(){var e=t.GoogleAnalyticsObject;return e&&t[e]}function i(){return!e.isUndefined(t._gaq)}function o(t){var e,n={};for(e in t)e.indexOf("dimension")&&e.indexOf("metric")||(n[e]=t[e]);return n}n.settings.pageTracking.trackRelativePath=!0,n.settings.ga={additionalAccountNames:void 0,additionalAccountHitTypes:{pageview:!0,event:!0,exception:!1,ecommerce:!1,userTiming:!1,setUserProperties:!1,userId:!1},disableEventTracking:null,disablePageTracking:null,enhancedEcommerce:!1,transport:null,userId:null},n.registerPageTrack(function(t,r){r=r||{},n.settings.ga.disablePageTracking||a("pageview","send",e.extend({},r,{hitType:"pageview",page:t}))}),n.registerEventTrack(function(r,i){if(!n.settings.ga.disableEventTracking&&(r||r+""=="0")){if(i=i||{},i.category=i.category||"Event",i.value){var o=parseInt(i.value,10);i.value=isNaN(o)?0:o}e.isFunction(i.hitCallback)||(i.hitCallback=null),i.nonInteraction=i.nonInteraction||i.noninteraction,a("event","send",e.extend({},i,{hitType:"event",eventCategory:i.category,eventAction:r,eventLabel:i.label,eventValue:i.value,nonInteraction:i.nonInteraction,page:i.page||t.location.hash.substring(1)||t.location.pathname,hitCallback:i.hitCallback}))}}),n.registerExceptionTrack(function(e,n){a("exception","send",{hitType:"event",eventCategory:"Exceptions",eventAction:e.toString(),eventLabel:e.stack,nonInteraction:!0,page:t.location.hash.substring(1)||t.location.pathname,isException:!0})}),n.registerSetUsername(function(t){n.settings.ga.userId=t}),n.registerSetUserProperties(function(t){t&&a("setUserProperties","set",o(t))}),n.registerUserTimings(function(n){return!e.isObject(n)||e.isArray(n)?console.log("Required argument properties is missing or not an object"):(e.forEach(["timingCategory","timingVar","timingValue"],function(t){if(e.isUndefined(n[t]))return console.log("Argument properties missing required property "+t)}),void a("userTiming","send",{hitType:"timing",timingCategory:n.timingCategory,timingVar:n.timingVar,timingValue:n.timingValue,timingLabel:n.timingLabel,optSampleRate:n.optSampleRate,page:n.page||t.location.hash.substring(1)||t.location.pathname}))}),n.registerTransactionTrack(function(t){var n,r;if(a("ecommerce","require","ecommerce"),a("ecommerce","ecommerce:addTransaction",t),t.products)for(r=0;r<t.products.length;r++)n=t.products[r],n.sku=n.id,n.id=t.id,a("ecommerce","ecommerce:addItem",t.products[r]);t.currencyCode&&a("ecommerce","_set",t.currencyCode),a("ecommerce","ecommerce:send",e.copy(t))});var a=function(){function o(t,r,i){var o,s,u=n.settings.ga.userId;if("require"===t&&"ecommerce"===r)return s=r,n.settings.ga.enhancedEcommerce&&(s="ec"),a([t,s],i);if(u&&e.isObject(r)&&(r.userId=u),n.settings.ga.transport&&(r.transport=n.settings.ga.transport),t.indexOf("ecommerce:")>-1&&n.settings.ga.enhancedEcommerce)switch(t){case"ecommerce:addTransaction":t=["ec:setAction","purchase"];break;case"ecommerce:addItem":t="ec:addProduct",r.id=r.sku;break;case"ecommerce:send":t="send",r.hitType="event",r.eventCategory="Angulartics Enhanced Ecommerce",r.eventAction="Purchase",r.nonInteraction=!0}o=t instanceof Array?t.concat(r):[t,r],a(o,i)}function a(r,i){var o,a=n.settings.ga.userId,s=t.GoogleAnalyticsObject;t[s].apply(this,r),i&&(o=e.copy(r),a&&!n.settings.ga.additionalAccountHitTypes.userId&&o[2]&&"object"==typeof o[2]&&delete o[2].userId,e.forEach(n.settings.ga.additionalAccountNames,function(e){o[0]=e+"."+o[0],t[s].apply(this,o)}))}function s(r,i,o){if("set"===r)return console.log('Classic Analytics does not support the "set" command or Custom Dimensions. Command ignored.');var a;if("send"===r)switch(i.hitType){case"pageview":a=["_trackPageview",i.page];break;case"event":a=["_trackEvent",i.category,i.action,i.label,i.value,i.nonInteraction];break;case"timing":a=["_trackTiming",i.timingCategory,i.timingVar,i.timingValue,i.timingLabel,i.optSampleRate]}return"ecommerce:addTransaction"===r&&(a=["_addTrans",i.id,i.affiliation,i.revenue,i.tax,i.shipping,i.billingCity,i.billingRegion,i.billingCountry]),"ecommerce:addItem"===r&&(a=["_addItem",i.id,i.sku,i.name,i.category,i.price,i.quantity]),"_set"===r&&(a=["_set","currencyCode",i]),"ecommerce:send"===r&&(a=["_trackTrans"]),a?(t._gaq.push(a),void(o&&e.forEach(n.settings.ga.additionalAccountNames,function(e){var n=[].slice.call(a);n[0]=e+"."+n[0],t._gaq.push(n)}))):console.log("Unable to find command "+r+" or fieldsObj missing required properties. Command ignored.")}var u;return i()&&(u=s),r()&&(u=o),u?function(t,e,r){var i=n.settings.ga.additionalAccountHitTypes[t];u(e,r,i)}:e.noop}()}])}(window,window.angular),function(t){"use strict";t.module("angulartics.gosquared",["angulartics"]).config(["$analyticsProvider",function(t){t.settings.pageTracking.trackRelativePath=!0,t.settings.gosquared={sendPersonDetailsWithEvents:!1},angulartics.waitForVendorApi("_gs",500,function(e){t.registerPageTrack(function(t){e("track")})}),angulartics.waitForVendorApi("_gs",500,function(e){t.registerEventTrack(function(n,r){r.details=t.settings.gosquared.sendPersonDetailsWithEvents,e("event",n,r)})}),angulartics.waitForVendorApi("_gs",500,function(e){t.registerSetUserProperties(function(t){e("identify",t)})}),angulartics.waitForVendorApi("_gs",500,function(e){t.registerSetUserPropertiesOnce(function(t){e("identify",t)})})}])}(angular),function(t){"use strict";t.module("angulartics.google.tagmanager",["angulartics"]).config(["$analyticsProvider",function(t){t.registerPageTrack(function(t){(window.dataLayer=window.dataLayer||[]).push({event:"content-view","content-name":t})}),t.registerEventTrack(function(t,e){var n=window.dataLayer=window.dataLayer||[];e=e||{},n.push({event:e.event||"interaction",target:e.category,action:t,"target-properties":e.label,value:e.value,"interaction-type":e.noninteraction})}),t.registerSetUsername(function(t,e){var n=window.dataLayer=window.dataLayer||[];e=e||{},n.push({username:t,user:e})})}])}(angular),function(t){"use strict";t.module("angulartics.heap",["angulartics"]).config(["$analyticsProvider",function(t){t.settings.trackRelativePath=!0,t.registerEventTrack(function(t,e){heap.track(t,e)}),t.registerSetUsername(function(t,e){e?heap.identify(e):heap.identify({handle:t})}),t.registerSetUserProperties(function(t){heap.setEventProperties(t)})}])}(angular),function(t){"use strict";t.module("angulartics.hubspot",["angulartics"]).config(["$analyticsProvider",function(t){t.settings.pageTracking.autoTrackFirstPage=!1,t.registerPageTrack(function(t){window._hsq&&(_hsq.push(),_hsq.push(["trackPageView",t]))}),t.registerEventTrack(function(t,e){if(e.value){var n=parseInt(e.value,10);e.value=isNaN(n)?0:n}window._hsq&&(_hsq.push(),_hsq.push(["trackEvent",t,{value:e.value}]))}),t.registerSetUserProperties(function(t){window._hsq&&_hsq.push(["identify",t])})}])}(angular),function(t){"use strict";t.module("angulartics.inspectlet",["angulartics"]).config(["$analyticsProvider",function(t){t.registerPageTrack(function(t){var e=[];e.push("virtualPage"),t&&e.push({url:t}),__insp.push(e)}),t.registerEventTrack(function(t,e){if("identify"==t||"tagSession"==t){e.category&&delete e.category;var n=[];n.push(t),n.push(e),__insp.push(n)}})}])}(angular),function(t){"use strict";t.module("angulartics.intercom",["angulartics"]).config(["$analyticsProvider",function(t){t.registerSetUsername(function(t){window.Intercom&&window.Intercom("update",{user_id:t})}),t.registerEventTrack(function(t,e){window.Intercom&&window.Intercom("trackEvent",t,e)})}])}(angular),function(t){"use strict";t.module("angulartics.loggly",["angulartics"]).config(["$analyticsProvider",function(t){var e=function(){throw"Define _LTracker "},n=function(){return window._LTracker||{push:e}};t.registerPageTrack(function(t){n().push({tag:"pageview",path:t})}),t.registerEventTrack(function(t,e){n().push({action:t,properties:e})})}])}(angular),function(t){"use strict";t.module("angulartics.marketo",["angulartics"]).config(["$analyticsProvider",function(t){angulartics.waitForVendorApi("Munchkin",500,"sKey",function(e){t.registerPageTrack(function(t){e.munchkinFunction("visitWebPage",{url:t})})}),angulartics.waitForVendorApi("Munchkin",500,"sKey",function(e){t.registerEventTrack(function(t,n){if(void 0!==n.path){var r=[];for(var i in n)"path"!==i&&r.push(i+"="+n[i]);"CLICK"==t.toUpperCase()&&e.munchkinFunction("clickLink",{href:n.path}),e.munchkinFunction("visitWebPage",{url:n.path,params:r.join("&")})}})});var e=function(t){void 0!==t.email&&(email=t.email,email_sha=sha1(Munchkin.sKey+email),t.Email=t.email,Munchkin.munchkinFunction("associateLead",t,email_sha))};angulartics.waitForVendorApi("Munchkin",500,function(n){t.registerSetUsername(function(t){/[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}/.test(t)&&e({Email:t})})}),angulartics.waitForVendorApi("Munchkin",500,function(n){t.registerSetUserProperties(function(t){e(t)})}),angulartics.waitForVendorApi("Munchkin",500,function(n){t.registerSetUserPropertiesOnce(function(t){e(t)})})}])}(angular),function(t){"use strict";t.module("angulartics.newrelic.insights",["angulartics"]).config(["$analyticsProvider",function(e){angulartics.waitForVendorApi("newrelic",100,function(n){e.registerEventTrack(function(t,e){n.addPageAction(t,e)}),e.registerSetUsername(function(t){n.setCustomAttribute("username",t)}),e.registerSetAlias(function(t){n.setCustomAttribute("alias",t)}),e.registerSetUserProperties(function(e){t.forEach(e,function(t,e){n.setCustomAttribute(e,t)})})})}])}(angular),function(t){"use strict";t.module("angulartics.sitespect",["angulartics"]).config(["$analyticsProvider",function(t){t.registerPageTrack(function(t){try{SS.EventTrack.rp("page-view",t)}catch(e){console.warn("core.js not loaded"),console.log("page-view",t)}}),t.registerEventTrack(function(t,e){try{SS.EventTrack.rp("true",e)}catch(t){console.warn("core.js not loaded"),console.log("event=true&"+JSON.stringify(e))}})}])}(angular),function(t){"use strict";t.module("angulartics.splunk",["angulartics"]).config(["$analyticsProvider",function(t){var e=function(){throw"Define sp "},n=function(){return window.sp||{pageview:e,track:e}};t.registerPageTrack(function(t){n().pageview(t)}),t.registerEventTrack(function(t,e){n().track(t,e)})}])}(angular),function(t){"use strict";t.module("angulartics.woopra",["angulartics"]).config(["$analyticsProvider",function(t){t.registerPageTrack(function(t){woopra.track("pv",{url:t})}),t.registerEventTrack(function(t,e){woopra.track(t,e)}),t.registerSetUsername(function(t){woopra.identify("email",t).push()}),t.registerSetUserProperties(function(t){t.email&&woopra.identify(t).push()})}])}(angular),function(t,e){"use strict";function n(){function e(t){return function(){c.waitForVendorCount&&(f[t]||(f[t]=[]),f[t].push(arguments))}}function n(e,n,r){return h[e]||(h[e]=[]),h[e].push(n),p[n]=r,function(){if(!this.settings.optOut){var n=Array.prototype.slice.apply(arguments);return this.$inject(["$q",t.bind(this,function(r){return r.all(h[e].map(function(e){if((p[e]||{}).async){var i=r.defer(),o=t.copy(n);return o.unshift(i.resolve),e.apply(this,o),i.promise}return r.when(e.apply(this,n))},this))})])}}}function r(t,e){e?setTimeout(t,e):t()}function i(e,i,o){if(!l.developerMode){m[e]=n(e,i,o);var a=l[e],s=a?a.bufferFlushDelay:null,u=null!==s?s:l.bufferFlushDelay;t.forEach(f[e],function(t,e){r(function(){i.apply(this,t)},e*u)})}}function o(t){return t.replace(/^./,function(t){return t.toUpperCase()})}function a(t){var r="register"+o(t);g[r]=function(e,n){i(t,e,n)},m[t]=n(t,e(t))}function s(e,n,r){t.forEach(n,r);for(var i in e)u[i]=e[i]}var u=this,l={pageTracking:{autoTrackFirstPage:!0,autoTrackVirtualPages:!0,trackRelativePath:!1,trackRoutes:!0,trackStates:!0,autoBasePath:!1,basePath:"",excludedRoutes:[],queryKeysWhitelisted:[],queryKeysBlacklisted:[],filterUrlSegments:[]},eventTracking:{},bufferFlushDelay:1e3,trackExceptions:!1,optOut:!1,developerMode:!1},d=["pageTrack","eventTrack","exceptionTrack","transactionTrack","setAlias","setUsername","setUserProperties","setUserPropertiesOnce","setSuperProperties","setSuperPropertiesOnce","incrementProperty","userTimings","clearCookies"],f={},h={},p={},m={settings:l};m.setOptOut=function(t){u.settings.optOut=t,y()},m.getOptOut=function(){return u.settings.optOut};var g={$get:["$injector",function(t){return v(t)}],api:m,settings:l,virtualPageviews:function(t){this.settings.pageTracking.autoTrackVirtualPages=t},trackStates:function(t){this.settings.pageTracking.trackStates=t},trackRoutes:function(t){this.settings.pageTracking.trackRoutes=t},excludeRoutes:function(t){this.settings.pageTracking.excludedRoutes=t},queryKeysWhitelist:function(t){this.settings.pageTracking.queryKeysWhitelisted=t},queryKeysBlacklist:function(t){this.settings.pageTracking.queryKeysBlacklisted=t},filterUrlSegments:function(t){this.settings.pageTracking.filterUrlSegments=t},firstPageview:function(t){this.settings.pageTracking.autoTrackFirstPage=t},withBase:function(e){this.settings.pageTracking.basePath=e?t.element(document).find("base").attr("href"):""},withAutoBase:function(t){this.settings.pageTracking.autoBasePath=t},trackExceptions:function(t){this.settings.trackExceptions=t},developerMode:function(t){this.settings.developerMode=t}},v=function(e){return t.extend(m,{$inject:e.invoke})},y=function(){s(g,d,a)};s(g,d,a)}function r(e,n,r,i){function o(t){for(var e=0;e<r.settings.pageTracking.excludedRoutes.length;e++){var n=r.settings.pageTracking.excludedRoutes[e];if(n instanceof RegExp&&n.test(t)||t.indexOf(n)>-1)return!0}return!1}function a(t,e){for(var n=[],r=0;r<t.length;r++)-1===e.indexOf(t[r])&&n.push(t[r]);return n}function s(t,e,n){if(/\?/.test(t)&&e.length>0){for(var r=t.split("?"),i=r[0],o=r[1].split("&"),s=[],u=0;u<e.length;u++)for(var l=e[u],c=0;c<o.length;c++)(l instanceof RegExp&&l.test(o[c])||o[c].indexOf(l)>-1)&&s.push(o[c]);var d="white"==n?s:a(o,s);return d.length>0?i+"?"+d.join("&"):i}return t}function u(t){return s(t,r.settings.pageTracking.queryKeysWhitelisted,"white")}function l(t){return s(t,r.settings.pageTracking.queryKeysBlacklisted,"black")}function c(t){var e=r.settings.pageTracking.filterUrlSegments;if(e.length>0){for(var n=t.split("?"),i=n[0],o=i.split("/"),a=0;a<e.length;a++)for(var s=e[a],u=1;u<o.length;u++)(s instanceof RegExp&&s.test(o[u])||o[u].indexOf(s)>-1)&&(o[u]="FILTERED");return o.join("/")}return t}function d(t,e){o(t)||(t=u(t),t=l(t),t=c(t),r.pageTrack(t,e))}var f,h,p;if(r.settings.pageTracking.autoTrackFirstPage){if(f=!0,i.has("$route"))if(h=i.get("$route"))for(p in h.routes){f=!1;break}else null===h&&(f=!1);else if(i.has("$state")){var m=i.get("$state");m.get().length>1&&(f=!1)}f&&(r.settings.pageTracking.autoBasePath&&(r.settings.pageTracking.basePath=n.location.pathname),i.invoke(["$location",function(t){if(r.settings.pageTracking.trackRelativePath){d(r.settings.pageTracking.basePath+t.url(),t)}else d(t.absUrl(),t)}]))}if(r.settings.pageTracking.autoTrackVirtualPages){if(r.settings.pageTracking.autoBasePath&&(r.settings.pageTracking.basePath=n.location.pathname+"#"),f=!0,r.settings.pageTracking.trackRoutes&&i.has("$route")){if(h=i.get("$route"))for(p in h.routes){f=!1;break}else null===h&&(f=!1);e.$on("$routeChangeSuccess",function(t,e){e&&(e.$$route||e).redirectTo||i.invoke(["$location",function(t){d(r.settings.pageTracking.basePath+t.url(),t)}])})}r.settings.pageTracking.trackStates&&(i.has("$state")&&!i.has("$transitions")&&(f=!1,e.$on("$stateChangeSuccess",function(t,e){i.invoke(["$location",function(t){d(r.settings.pageTracking.basePath+t.url(),t)}])})),i.has("$state")&&i.has("$transitions")&&(f=!1,i.invoke(["$transitions",function(t){t.onSuccess({},function(t){t.options().notify&&i.invoke(["$location",function(t){d(r.settings.pageTracking.basePath+t.url(),t)}])})}]))),f&&e.$on("$locationChangeSuccess",function(t,e){e&&(e.$$route||e).redirectTo||i.invoke(["$location",function(t){if(r.settings.pageTracking.trackRelativePath){d(r.settings.pageTracking.basePath+t.url(),t)}else d(t.absUrl(),t)}])})}r.settings.developerMode&&t.forEach(r,function(t,e){"function"==typeof t&&(r[e]=function(){})})}function i(e){return{restrict:"A",link:function(n,r,i){var o=i.analyticsOn||"click",a={};t.forEach(i.$attr,function(t,e){u(e)&&(a[l(e)]=i[e],i.$observe(e,function(t){a[l(e)]=t}))}),t.element(r[0]).on(o,function(o){var u=i.analyticsEvent||s(r[0]);a.eventType=o.type,i.analyticsIf&&!n.$eval(i.analyticsIf)||(i.analyticsProperties&&t.extend(a,n.$eval(i.analyticsProperties)),e.eventTrack(u,a))})}}}function o(t){t.decorator("$exceptionHandler",["$delegate","$injector",function(t,e){return function(n,r){var i=t(n,r),o=e.get("$analytics");return o.settings.trackExceptions&&o.exceptionTrack(n,r),i}}])}function a(t){return["a:","button:","button:button","button:submit","input:button","input:submit"].indexOf(t.tagName.toLowerCase()+":"+(t.type||""))>=0}function s(t){return a(t)?t.innerText||t.value:t.id||t.name||t.tagName}function u(t){return"analytics"===t.substr(0,9)&&-1===["On","Event","If","Properties","EventType"].indexOf(t.substr(9))}function l(t){var e=t.slice(9);return void 0!==e&&null!==e&&e.length>0?e.substring(0,1).toLowerCase()+e.substring(1):e}var c=window.angulartics||(window.angulartics={});c.waitForVendorCount=0,c.waitForVendorApi=function(t,e,n,r,i){i||c.waitForVendorCount++,r||(r=n,n=void 0),!Object.prototype.hasOwnProperty.call(window,t)||void 0!==n&&void 0===window[t][n]?setTimeout(function(){c.waitForVendorApi(t,e,n,r,!0)},e):(c.waitForVendorCount--,r(window[t]))},t.module("angulartics",[]).provider("$analytics",n).run(["$rootScope","$window","$analytics","$injector",r]).directive("analyticsOn",["$analytics",i]).config(["$provide",o])}(angular);