{"version":3,"sources":["jquery.min.js","angular.min.js","angular-cookies.min.js","jquery-ui.min.js","angular-route.min.js","angular-filter.min.js","pusher-angular.min.js","ng-scrollable.min.js","angular-google-analytics.min.js","bootstrap.min.js","jquery.magnific-popup.min.js","pusher-4.2.1.min.js","moment.min.js","moment-timezone-with-data.min.js","howler.min.js","blazy.min.js","highcharts.js","heatmap.js","treemap.js","fingerprint2.min.js","ua-parser.min.js","ngAlertify.js","flashphoner.min.js","angulartics.min.js","angulartics-clicky.min.js","angulartics-google-tag-manager.min.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;;ACLA;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;;ACAA;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;;ACAA;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;;ACFA;AACA;AACA","file":"vendor.min.js","sourcesContent":["/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */\r\n!function(a,b){\"object\"==typeof module&&\"object\"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error(\"jQuery requires a window with a document\");return b(a)}:b(a)}(\"undefined\"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m=\"1.12.4\",n=function(a,b){return new n.fn.init(a,b)},o=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,p=/^-ms-/,q=/-([\\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:\"\",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for(\"boolean\"==typeof g&&(j=g,g=arguments[h]||{},h++),\"object\"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:\"jQuery\"+(m+Math.random()).replace(/\\D/g,\"\"),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return\"function\"===n.type(a)},isArray:Array.isArray||function(a){return\"array\"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||\"object\"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!k.call(a,\"constructor\")&&!k.call(a.constructor.prototype,\"isPrototypeOf\"))return!1}catch(c){return!1}if(!l.ownFirst)for(b in a)return k.call(a,b);for(b in a);return void 0===b||k.call(a,b)},type:function(a){return null==a?a+\"\":\"object\"==typeof a||\"function\"==typeof a?i[j.call(a)]||\"object\":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,\"ms-\").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?\"\":(a+\"\").replace(o,\"\")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,\"string\"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(h)return h.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return\"string\"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=e.call(arguments,2),d=function(){return a.apply(b||this,c.concat(e.call(arguments)))},d.guid=a.guid=a.guid||n.guid++,d):void 0},now:function(){return+new Date},support:l}),\"function\"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each(\"Boolean Number String Function Array Date RegExp Object Error Symbol\".split(\" \"),function(a,b){i[\"[object \"+b+\"]\"]=b.toLowerCase()});function s(a){var b=!!a&&\"length\"in a&&a.length,c=n.type(a);return\"function\"===c||n.isWindow(a)?!1:\"array\"===c||0===b||\"number\"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=\"sizzle\"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K=\"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",L=\"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",M=\"(?:\\\\\\\\.|[\\\\w-]|[^\\\\x00-\\\\xa0])+\",N=\"\\\\[\"+L+\"*(\"+M+\")(?:\"+L+\"*([*^$|!~]?=)\"+L+\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\"+M+\"))|)\"+L+\"*\\\\]\",O=\":(\"+M+\")(?:\\\\((('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\"+N+\")*)|.*)\\\\)|)\",P=new RegExp(L+\"+\",\"g\"),Q=new RegExp(\"^\"+L+\"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\"+L+\"+$\",\"g\"),R=new RegExp(\"^\"+L+\"*,\"+L+\"*\"),S=new RegExp(\"^\"+L+\"*([>+~]|\"+L+\")\"+L+\"*\"),T=new RegExp(\"=\"+L+\"*([^\\\\]'\\\"]*?)\"+L+\"*\\\\]\",\"g\"),U=new RegExp(O),V=new RegExp(\"^\"+M+\"$\"),W={ID:new RegExp(\"^#(\"+M+\")\"),CLASS:new RegExp(\"^\\\\.(\"+M+\")\"),TAG:new RegExp(\"^(\"+M+\"|[*])\"),ATTR:new RegExp(\"^\"+N),PSEUDO:new RegExp(\"^\"+O),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+L+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+L+\"*(?:([+-]|)\"+L+\"*(\\\\d+)|))\"+L+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+K+\")$\",\"i\"),needsContext:new RegExp(\"^\"+L+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+L+\"*((?:-\\\\d)?\\\\d*)\"+L+\"*\\\\)|)(?=[^-]|$)\",\"i\")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\\d$/i,Z=/^[^{]+\\{\\s*\\[native \\w/,$=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,_=/[+~]/,aa=/'|\\\\/g,ba=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+L+\"?|(\"+L+\")|.)\",\"ig\"),ca=function(a,b,c){var d=\"0x\"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],\"string\"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+\" \"]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if(\"object\"!==b.nodeName.toLowerCase()){(k=b.getAttribute(\"id\"))?k=k.replace(aa,\"\\\\$&\"):b.setAttribute(\"id\",k=u),r=g(a),h=r.length,l=V.test(k)?\"#\"+k:\"[id='\"+k+\"']\";while(h--)r[h]=l+\" \"+qa(r[h]);s=r.join(\",\"),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute(\"id\")}}}return i(a.replace(Q,\"$1\"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+\" \")>d.cacheLength&&delete b[a.shift()],b[c+\" \"]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement(\"div\");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split(\"|\"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return\"input\"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return(\"input\"===c||\"button\"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&\"undefined\"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?\"HTML\"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener(\"unload\",da,!1):e.attachEvent&&e.attachEvent(\"onunload\",da)),c.attributes=ia(function(a){return a.className=\"i\",!a.getAttribute(\"className\")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment(\"\")),!a.getElementsByTagName(\"*\").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(\"undefined\"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute(\"id\")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c=\"undefined\"!=typeof a.getAttributeNode&&a.getAttributeNode(\"id\");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return\"undefined\"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if(\"*\"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return\"undefined\"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML=\"\",a.querySelectorAll(\"[msallowcapture^='']\").length&&q.push(\"[*^$]=\"+L+\"*(?:''|\\\"\\\")\"),a.querySelectorAll(\"[selected]\").length||q.push(\"\\\\[\"+L+\"*(?:value|\"+K+\")\"),a.querySelectorAll(\"[id~=\"+u+\"-]\").length||q.push(\"~=\"),a.querySelectorAll(\":checked\").length||q.push(\":checked\"),a.querySelectorAll(\"a#\"+u+\"+*\").length||q.push(\".#.+[+~]\")}),ia(function(a){var b=n.createElement(\"input\");b.setAttribute(\"type\",\"hidden\"),a.appendChild(b).setAttribute(\"name\",\"D\"),a.querySelectorAll(\"[name=d]\").length&&q.push(\"name\"+L+\"*[*^$|!~]?=\"),a.querySelectorAll(\":enabled\").length||q.push(\":enabled\",\":disabled\"),a.querySelectorAll(\"*,:x\"),q.push(\",.*:\")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,\"div\"),s.call(a,\"[s!='']:x\"),r.push(\"!=\",O)}),q=q.length&&new RegExp(q.join(\"|\")),r=r.length&&new RegExp(r.join(\"|\")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,\"='$1']\"),c.matchesSelector&&p&&!A[b+\" \"]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error(\"Syntax error, unrecognized expression: \"+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c=\"\",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if(\"string\"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||\"\").replace(ba,ca),\"~=\"===a[2]&&(a[3]=\" \"+a[3]+\" \"),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),\"nth\"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(\"even\"===a[3]||\"odd\"===a[3])),a[5]=+(a[7]+a[8]||\"odd\"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||\"\":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(\")\",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return\"*\"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+\" \"];return b||(b=new RegExp(\"(^|\"+L+\")\"+a+\"(\"+L+\"|$)\"))&&y(a,function(a){return b.test(\"string\"==typeof a.className&&a.className||\"undefined\"!=typeof a.getAttribute&&a.getAttribute(\"class\")||\"\")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?\"!=\"===b:b?(e+=\"\",\"=\"===b?e===c:\"!=\"===b?e!==c:\"^=\"===b?c&&0===e.indexOf(c):\"*=\"===b?c&&e.indexOf(c)>-1:\"$=\"===b?c&&e.slice(-c.length)===c:\"~=\"===b?(\" \"+e.replace(P,\" \")+\" \").indexOf(c)>-1:\"|=\"===b?e===c||e.slice(0,c.length+1)===c+\"-\":!1):!0}},CHILD:function(a,b,c,d,e){var f=\"nth\"!==a.slice(0,3),g=\"last\"!==a.slice(-4),h=\"of-type\"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?\"nextSibling\":\"previousSibling\",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p=\"only\"===a&&!o&&\"nextSibling\"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error(\"unsupported pseudo: \"+a);return e[u]?e(b):e.length>1?(c=[a,a,\"\",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,\"$1\"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||\"\")||fa.error(\"unsupported lang: \"+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute(\"xml:lang\")||b.getAttribute(\"lang\"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+\"-\");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&!!a.checked||\"option\"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return\"input\"===b&&\"button\"===a.type||\"button\"===b},text:function(a){var b;return\"input\"===a.nodeName.toLowerCase()&&\"text\"===a.type&&(null==(b=a.getAttribute(\"type\"))||\"text\"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&\"parentNode\"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||\"*\",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[\" \"],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:\" \"===a[i-2].type?\"*\":\"\"})).replace(Q,\"$1\"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s=\"0\",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG(\"*\",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+\" \"];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n=\"function\"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&\"ID\"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split(\"\").sort(B).join(\"\")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement(\"div\"))}),ia(function(a){return a.innerHTML=\"\",\"#\"===a.firstChild.getAttribute(\"href\")})||ja(\"type|href|height|width\",function(a,b,c){return c?void 0:a.getAttribute(b,\"type\"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML=\"\",a.firstChild.setAttribute(\"value\",\"\"),\"\"===a.firstChild.getAttribute(\"value\")})||ja(\"value\",function(a,b,c){return c||\"input\"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute(\"disabled\")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[\":\"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\\w-]+)\\s*\\/?>(?:<\\/\\1>|)$/,y=/^.[^:#\\[\\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if(\"string\"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=\":not(\"+a+\")\"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if(\"string\"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+\" \"+a:a,c},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,\"string\"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,\"string\"==typeof a){if(e=\"<\"===a.charAt(0)&&\">\"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=d.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return A.find(a);this.length=1,this[0]=f}return this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?\"undefined\"!=typeof c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||\"string\"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?\"string\"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,\"parentNode\")},parentsUntil:function(a,b,c){return u(a,\"parentNode\",c)},next:function(a){return F(a,\"nextSibling\")},prev:function(a){return F(a,\"previousSibling\")},nextAll:function(a){return u(a,\"nextSibling\")},prevAll:function(a){return u(a,\"previousSibling\")},nextUntil:function(a,b,c){return u(a,\"nextSibling\",c)},prevUntil:function(a,b,c){return u(a,\"previousSibling\",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return n.nodeName(a,\"iframe\")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return\"Until\"!==a.slice(-5)&&(d=c),d&&\"string\"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||(e=n.uniqueSort(e)),D.test(a)&&(e=e.reverse())),this.pushStack(e)}});var G=/\\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a=\"string\"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c=\"\",this},disabled:function(){return!f},lock:function(){return e=!0,c||j.disable(),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[[\"resolve\",\"done\",n.Callbacks(\"once memory\"),\"resolved\"],[\"reject\",\"fail\",n.Callbacks(\"once memory\"),\"rejected\"],[\"notify\",\"progress\",n.Callbacks(\"memory\")]],c=\"pending\",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+\"With\"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+\"With\"](this===e?d:this,arguments),this},e[f[0]+\"With\"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler(\"ready\"),n(d).off(\"ready\"))))}});function J(){d.addEventListener?(d.removeEventListener(\"DOMContentLoaded\",K),a.removeEventListener(\"load\",K)):(d.detachEvent(\"onreadystatechange\",K),a.detachEvent(\"onload\",K))}function K(){(d.addEventListener||\"load\"===a.event.type||\"complete\"===d.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),\"complete\"===d.readyState||\"loading\"!==d.readyState&&!d.documentElement.doScroll)a.setTimeout(n.ready);else if(d.addEventListener)d.addEventListener(\"DOMContentLoaded\",K),a.addEventListener(\"load\",K);else{d.attachEvent(\"onreadystatechange\",K),a.attachEvent(\"onload\",K);var c=!1;try{c=null==a.frameElement&&d.documentElement}catch(e){}c&&c.doScroll&&!function f(){if(!n.isReady){try{c.doScroll(\"left\")}catch(b){return a.setTimeout(f,50)}J(),n.ready()}}()}return I.promise(b)},n.ready.promise();var L;for(L in n(l))break;l.ownFirst=\"0\"===L,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c,e;c=d.getElementsByTagName(\"body\")[0],c&&c.style&&(b=d.createElement(\"div\"),e=d.createElement(\"div\"),e.style.cssText=\"position:absolute;border:0;width:0;height:0;top:0;left:-9999px\",c.appendChild(e).appendChild(b),\"undefined\"!=typeof b.style.zoom&&(b.style.cssText=\"display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1\",l.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(e))}),function(){var a=d.createElement(\"div\");l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}a=null}();var M=function(a){var b=n.noData[(a.nodeName+\" \").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute(\"classid\")===b},N=/^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d=\"data-\"+b.replace(O,\"-$1\").toLowerCase();if(c=a.getAttribute(d),\"string\"==typeof c){try{c=\"true\"===c?!0:\"false\"===c?!1:\"null\"===c?null:+c+\"\"===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0;\r\n}return c}function Q(a){var b;for(b in a)if((\"data\"!==b||!n.isEmptyObject(a[b]))&&\"toJSON\"!==b)return!1;return!0}function R(a,b,d,e){if(M(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||\"string\"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),\"object\"!=typeof b&&\"function\"!=typeof b||(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),\"string\"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f}}function S(a,b,c){if(M(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(\" \")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=void 0)}}}n.extend({cache:{},noData:{\"applet \":!0,\"embed \":!0,\"object \":\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,\"parsedAttrs\"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf(\"data-\")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));n._data(f,\"parsedAttrs\",!0)}return e}return\"object\"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||\"fx\")+\"queue\",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||\"fx\";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};\"inprogress\"===e&&(e=c.shift(),d--),e&&(\"fx\"===b&&c.unshift(\"inprogress\"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+\"queueHooks\";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks(\"once memory\").add(function(){n._removeData(a,b+\"queue\"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return\"string\"!=typeof a&&(b=a,a=\"fx\",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},Z=/^(?:checkbox|radio)$/i,$=/<([\\w:-]+)/,_=/^$|\\/(?:java|ecma)script/i,aa=/^\\s+/,ba=\"abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video\";function ca(a){var b=ba.split(\"|\"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}!function(){var a=d.createElement(\"div\"),b=d.createDocumentFragment(),c=d.createElement(\"input\");a.innerHTML=\"
a\",l.leadingWhitespace=3===a.firstChild.nodeType,l.tbody=!a.getElementsByTagName(\"tbody\").length,l.htmlSerialize=!!a.getElementsByTagName(\"link\").length,l.html5Clone=\"<:nav>\"!==d.createElement(\"nav\").cloneNode(!0).outerHTML,c.type=\"checkbox\",c.checked=!0,b.appendChild(c),l.appendChecked=c.checked,a.innerHTML=\"\",l.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,b.appendChild(a),c=d.createElement(\"input\"),c.setAttribute(\"type\",\"radio\"),c.setAttribute(\"checked\",\"checked\"),c.setAttribute(\"name\",\"t\"),a.appendChild(c),l.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!!a.addEventListener,a[n.expando]=1,l.attributes=!a.getAttribute(n.expando)}();var da={option:[1,\"\"],legend:[1,\"
\",\"
\"],area:[1,\"\",\"\"],param:[1,\"\",\"\"],thead:[1,\"\",\"
\"],tr:[2,\"\",\"
\"],col:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:l.htmlSerialize?[0,\"\",\"\"]:[1,\"X
\",\"
\"]};da.optgroup=da.option,da.tbody=da.tfoot=da.colgroup=da.caption=da.thead,da.th=da.td;function ea(a,b){var c,d,e=0,f=\"undefined\"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||\"*\"):\"undefined\"!=typeof a.querySelectorAll?a.querySelectorAll(b||\"*\"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,ea(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function fa(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,\"globalEval\",!b||n._data(b[d],\"globalEval\"))}var ga=/<|&#?\\w+;/,ha=/r;r++)if(g=a[r],g||0===g)if(\"object\"===n.type(g))n.merge(q,g.nodeType?[g]:g);else if(ga.test(g)){i=i||p.appendChild(b.createElement(\"div\")),j=($.exec(g)||[\"\",\"\"])[1].toLowerCase(),m=da[j]||da._default,i.innerHTML=m[1]+n.htmlPrefilter(g)+m[2],f=m[0];while(f--)i=i.lastChild;if(!l.leadingWhitespace&&aa.test(g)&&q.push(b.createTextNode(aa.exec(g)[0])),!l.tbody){g=\"table\"!==j||ha.test(g)?\"\"!==m[1]||ha.test(g)?0:i:i.firstChild,f=g&&g.childNodes.length;while(f--)n.nodeName(k=g.childNodes[f],\"tbody\")&&!k.childNodes.length&&g.removeChild(k)}n.merge(q,i.childNodes),i.textContent=\"\";while(i.firstChild)i.removeChild(i.firstChild);i=p.lastChild}else q.push(b.createTextNode(g));i&&p.removeChild(i),l.appendChecked||n.grep(ea(q,\"input\"),ia),r=0;while(g=q[r++])if(d&&n.inArray(g,d)>-1)e&&e.push(g);else if(h=n.contains(g.ownerDocument,g),i=ea(p.appendChild(g),\"script\"),h&&fa(i),c){f=0;while(g=i[f++])_.test(g.type||\"\")&&c.push(g)}return i=null,p}!function(){var b,c,e=d.createElement(\"div\");for(b in{submit:!0,change:!0,focusin:!0})c=\"on\"+b,(l[b]=c in a)||(e.setAttribute(c,\"t\"),l[b]=e.attributes[c].expando===!1);e=null}();var ka=/^(?:input|select|textarea)$/i,la=/^key/,ma=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,na=/^(?:focusinfocus|focusoutblur)$/,oa=/^([^.]*)(?:\\.(.+)|)/;function pa(){return!0}function qa(){return!1}function ra(){try{return d.activeElement}catch(a){}}function sa(a,b,c,d,e,f){var g,h;if(\"object\"==typeof b){\"string\"!=typeof c&&(d=d||c,c=void 0);for(h in b)sa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&(\"string\"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=qa;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return\"undefined\"==typeof n||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||\"\").match(G)||[\"\"],h=b.length;while(h--)f=oa.exec(b[h])||[],o=q=f[1],p=(f[2]||\"\").split(\".\").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(\".\")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent(\"on\"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||\"\").match(G)||[\"\"],j=b.length;while(j--)if(h=oa.exec(b[j])||[],o=q=h[1],p=(h[2]||\"\").split(\".\").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp(\"(^|\\\\.)\"+p.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&(\"**\"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,\"events\"))}},trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,\"type\")?b.type:b,r=k.call(b,\"namespace\")?b.namespace.split(\".\"):[];if(i=m=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!na.test(q+n.event.triggered)&&(q.indexOf(\".\")>-1&&(r=q.split(\".\"),q=r.shift(),r.sort()),h=q.indexOf(\":\")<0&&\"on\"+q,b=b[n.expando]?b:new n.Event(q,\"object\"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join(\".\"),b.rnamespace=b.namespace?new RegExp(\"(^|\\\\.)\"+r.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),l=n.event.special[q]||{},f||!l.trigger||l.trigger.apply(e,c)!==!1)){if(!f&&!l.noBubble&&!n.isWindow(e)){for(j=l.delegateType||q,na.test(j+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),m=i;m===(e.ownerDocument||d)&&p.push(m.defaultView||m.parentWindow||a)}o=0;while((i=p[o++])&&!b.isPropagationStopped())b.type=o>1?j:l.bindType||q,g=(n._data(i,\"events\")||{})[b.type]&&n._data(i,\"handle\"),g&&g.apply(i,c),g=h&&i[h],g&&g.apply&&M(i)&&(b.result=g.apply(i,c),b.result===!1&&b.preventDefault());if(b.type=q,!f&&!b.isDefaultPrevented()&&(!l._default||l._default.apply(p.pop(),c)===!1)&&M(e)&&h&&e[q]&&!n.isWindow(e)){m=e[h],m&&(e[h]=null),n.event.triggered=q;try{e[q]()}catch(s){}n.event.triggered=void 0,m&&(e[h]=m)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(n._data(this,\"events\")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(\"click\"!==a.type||isNaN(a.button)||a.button<1))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||\"click\"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+\" \",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]\",\"i\"),va=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:-]+)[^>]*)\\/>/gi,wa=/\\s*$/g,Aa=ca(d),Ba=Aa.appendChild(d.createElement(\"div\"));function Ca(a,b){return n.nodeName(a,\"table\")&&n.nodeName(11!==b.nodeType?b:b.firstChild,\"tr\")?a.getElementsByTagName(\"tbody\")[0]||a.appendChild(a.ownerDocument.createElement(\"tbody\")):a}function Da(a){return a.type=(null!==n.find.attr(a,\"type\"))+\"/\"+a.type,a}function Ea(a){var b=ya.exec(a.type);return b?a.type=b[1]:a.removeAttribute(\"type\"),a}function Fa(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Ga(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}\"script\"===c&&b.text!==a.text?(Da(b).text=a.text,Ea(b)):\"object\"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):\"input\"===c&&Z.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):\"option\"===c?b.defaultSelected=b.selected=a.defaultSelected:\"input\"!==c&&\"textarea\"!==c||(b.defaultValue=a.defaultValue)}}function Ha(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&\"string\"==typeof q&&!l.checkClone&&xa.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(o&&(k=ja(b,a[0].ownerDocument,!1,a,d),e=k.firstChild,1===k.childNodes.length&&(k=e),e||d)){for(i=n.map(ea(k,\"script\"),Da),h=i.length;o>m;m++)g=k,m!==p&&(g=n.clone(g,!0,!0),h&&n.merge(i,ea(g,\"script\"))),c.call(a[m],g,m);if(h)for(j=i[i.length-1].ownerDocument,n.map(i,Ea),m=0;h>m;m++)g=i[m],_.test(g.type||\"\")&&!n._data(g,\"globalEval\")&&n.contains(j,g)&&(g.src?n._evalUrl&&n._evalUrl(g.src):n.globalEval((g.text||g.textContent||g.innerHTML||\"\").replace(za,\"\")));k=e=null}return a}function Ia(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(ea(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&fa(ea(d,\"script\")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(va,\"<$1>\")},clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!ua.test(\"<\"+a.nodeName+\">\")?f=a.cloneNode(!0):(Ba.innerHTML=a.outerHTML,Ba.removeChild(f=Ba.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=ea(f),h=ea(a),g=0;null!=(e=h[g]);++g)d[g]&&Ga(e,d[g]);if(b)if(c)for(h=h||ea(a),d=d||ea(f),g=0;null!=(e=h[g]);g++)Fa(e,d[g]);else Fa(a,f);return d=ea(f,\"script\"),d.length>0&&fa(d,!i&&ea(a,\"script\")),d=h=e=null,f},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.attributes,m=n.event.special;null!=(d=a[h]);h++)if((b||M(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k||\"undefined\"==typeof d.removeAttribute?d[i]=void 0:d.removeAttribute(i),c.push(f))}}}),n.fn.extend({domManip:Ha,detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return Y(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||d).createTextNode(a))},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(ea(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,\"select\")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return Y(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(ta,\"\"):void 0;if(\"string\"==typeof a&&!wa.test(a)&&(l.htmlSerialize||!ua.test(a))&&(l.leadingWhitespace||!aa.test(a))&&!da[($.exec(a)||[\"\",\"\"])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ea(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(ea(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:\"append\",prependTo:\"prepend\",insertBefore:\"before\",insertAfter:\"after\",replaceAll:\"replaceWith\"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],f=n(a),h=f.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(f[d])[b](c),g.apply(e,c.get());return this.pushStack(e)}});var Ja,Ka={HTML:\"block\",BODY:\"block\"};function La(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],\"display\");return c.detach(),d}function Ma(a){var b=d,c=Ka[a];return c||(c=La(a,b),\"none\"!==c&&c||(Ja=(Ja||n(\"',srcAction:\"iframe_src\",patterns:{youtube:{index:\"youtube.com\",id:\"v=\",src:\"//www.youtube.com/embed/%id%?autoplay=1\"},vimeo:{index:\"vimeo.com/\",id:\"/\",src:\"//player.vimeo.com/video/%id%?autoplay=1\"},gmaps:{index:\"//maps.google.\",src:\"%id%&output=embed\"}}},proto:{initIframe:function(){b.types.push(P),w(\"BeforeChange\",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+\".\"+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e=\"string\"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace(\"%id%\",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus(\"ready\"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule(\"gallery\",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:\"Previous (Left arrow key)\",tNext:\"Next (Right arrow key)\",tCounter:\"%curr% of %total%\"},proto:{initGallery:function(){var c=b.st.gallery,e=\".mfp-gallery\";return b.direction=!0,c&&c.enabled?(f+=\" mfp-gallery\",w(m+e,function(){c.navigateByImgClick&&b.wrap.on(\"click\"+e,\".mfp-img\",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on(\"keydown\"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w(\"UpdateStatus\"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):\"\"}),w(\"BuildControls\"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,\"left\")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,\"right\")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off(\"click\"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y(\"LazyLoad\",d),\"image\"===d.type&&(d.img=a('').on(\"load.mfploader\",function(){d.hasSize=!0}).on(\"error.mfploader\",function(){d.hasSize=!0,d.loadError=!0,y(\"LazyLoadError\",d)}).attr(\"src\",d.src)),d.preloaded=!0}}}});var U=\"retina\";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\\.\\w+$/,function(a){return\"@2x\"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w(\"ImageHasSize.\"+U,function(a,b){b.img.css({\"max-width\":b.img[0].naturalWidth/c,width:\"100%\"})}),w(\"ElementParse.\"+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});","/*!\r\n * Pusher JavaScript Library v4.2.1\r\n * https://pusher.com/\r\n *\r\n * Copyright 2017, Pusher\r\n * Released under the MIT licence.\r\n */\r\n!function(t,e){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define([],e):\"object\"==typeof exports?exports.Pusher=e():t.Pusher=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p=\"\",e(0)}([function(t,e,n){\"use strict\";var i=n(1);t.exports=i.default},function(t,e,n){\"use strict\";function i(t){if(null===t||void 0===t)throw\"You must pass your app key when you instantiate Pusher.\"}var o=n(2),r=n(9),s=n(24),a=n(39),c=n(40),u=n(41),l=n(12),h=n(5),p=n(63),f=n(8),d=n(43),y=n(14),v=function(){function t(e,n){var l=this;if(i(e),n=n||{},!n.cluster){var v=y.default.buildLogSuffix(\"javascriptQuickStart\");f.default.warn(\"You should always specify a cluster when connecting. \"+v)}this.key=e,this.config=r.extend(p.getGlobalConfig(),n.cluster?p.getClusterConfig(n.cluster):{},n),this.channels=d.default.createChannels(),this.global_emitter=new s.default,this.sessionID=Math.floor(1e9*Math.random()),this.timeline=new a.default(this.key,this.sessionID,{cluster:this.config.cluster,features:t.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:c.default.INFO,version:h.default.VERSION}),this.config.disableStats||(this.timelineSender=d.default.createTimelineSender(this.timeline,{host:this.config.statsHost,path:\"/timeline/v2/\"+o.default.TimelineTransport.name}));var g=function(t){var e=r.extend({},l.config,t);return u.build(o.default.getDefaultStrategy(e),e)};this.connection=d.default.createConnectionManager(this.key,r.extend({getStrategy:g,timeline:this.timeline,activityTimeout:this.config.activity_timeout,pongTimeout:this.config.pong_timeout,unavailableTimeout:this.config.unavailable_timeout},this.config,{encrypted:this.isEncrypted()})),this.connection.bind(\"connected\",function(){l.subscribeAll(),l.timelineSender&&l.timelineSender.send(l.connection.isEncrypted())}),this.connection.bind(\"message\",function(t){var e=0===t.event.indexOf(\"pusher_internal:\");if(t.channel){var n=l.channel(t.channel);n&&n.handleEvent(t.event,t.data)}e||l.global_emitter.emit(t.event,t.data)}),this.connection.bind(\"connecting\",function(){l.channels.disconnect()}),this.connection.bind(\"disconnected\",function(){l.channels.disconnect()}),this.connection.bind(\"error\",function(t){f.default.warn(\"Error\",t)}),t.instances.push(this),this.timeline.info({instances:t.instances.length}),t.isReady&&this.connect()}return t.ready=function(){t.isReady=!0;for(var e=0,n=t.instances.length;e0)i.loading[t].push(n);else{i.loading[t]=[n];var r=o.default.createScriptRequest(i.getPath(t,e)),s=i.receivers.create(function(e){if(i.receivers.remove(s),i.loading[t]){var n=i.loading[t];delete i.loading[t];for(var o=function(t){t||r.cleanup()},a=0;a>>6)+o(128|63&e):o(224|e>>>12&15)+o(128|e>>>6&63)+o(128|63&e)},l=function(t){return t.replace(/[^\\x00-\\x7F]/g,u)},h=function(t){var e=[0,2,1][t.length%3],n=t.charCodeAt(0)<<16|(t.length>1?t.charCodeAt(1):0)<<8|(t.length>2?t.charCodeAt(2):0),i=[r.charAt(n>>>18),r.charAt(n>>>12&63),e>=2?\"=\":r.charAt(n>>>6&63),e>=1?\"=\":r.charAt(63&n)];return i.join(\"\")},p=window.btoa||function(t){return t.replace(/[\\s\\S]{1,3}/g,h)}},function(t,e,n){\"use strict\";var i=n(12),o={now:function(){return Date.now?Date.now():(new Date).valueOf()},defer:function(t){return new i.OneOffTimer(0,t)},method:function(t){for(var e=[],n=1;n0)for(n=0;n0&&t.onChunk(200,e.responseText)},e.onload=function(){e.responseText&&e.responseText.length>0&&t.onChunk(200,e.responseText),t.emit(\"finished\",200),t.close()},e},abortRequest:function(t){t.ontimeout=t.onerror=t.onprogress=t.onload=null,t.abort()}};e.__esModule=!0,e.default=o},function(t,e){\"use strict\";var n=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.BadEventName=i;var o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.RequestTimedOut=o;var r=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.TransportPriorityTooLow=r;var s=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.TransportClosed=s;var a=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.UnsupportedTransport=a;var c=function(t){function e(){t.apply(this,arguments)}return n(e,t),e}(Error);e.UnsupportedStrategy=c},function(t,e,n){\"use strict\";var i=n(33),o=n(34),r=n(36),s=n(37),a=n(38),c={createStreamingSocket:function(t){return this.createSocket(r.default,t)},createPollingSocket:function(t){return this.createSocket(s.default,t)},createSocket:function(t,e){return new o.default(t,e)},createXHR:function(t,e){return this.createRequest(a.default,t,e)},createRequest:function(t,e,n){return new i.default(t,e,n)}};e.__esModule=!0,e.default=c},function(t,e,n){\"use strict\";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(2),r=n(24),s=262144,a=function(t){function e(e,n,i){t.call(this),this.hooks=e,this.method=n,this.url=i}return i(e,t),e.prototype.start=function(t){var e=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){e.close()},o.default.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader(\"Content-Type\",\"application/json\"),this.xhr.send(t)},e.prototype.close=function(){this.unloader&&(o.default.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},e.prototype.onChunk=function(t,e){for(;;){var n=this.advanceBuffer(e);if(!n)break;this.emit(\"chunk\",{status:t,data:n})}this.isBufferTooLong(e)&&this.emit(\"buffer_too_long\")},e.prototype.advanceBuffer=function(t){var e=t.slice(this.position),n=e.indexOf(\"\\n\");return n!==-1?(this.position+=n+1,e.slice(0,n)):null},e.prototype.isBufferTooLong=function(t){return this.position===t.length&&t.length>s},e}(r.default);e.__esModule=!0,e.default=a},function(t,e,n){\"use strict\";function i(t){var e=/([^\\?]*)\\/*(\\??.*)/.exec(t);return{base:e[1],queryString:e[2]}}function o(t,e){return t.base+\"/\"+e+\"/xhr_send\"}function r(t){var e=t.indexOf(\"?\")===-1?\"?\":\"&\";return t+e+\"t=\"+ +new Date+\"&n=\"+p++;\r\n}function s(t,e){var n=/(https?:\\/\\/)([^\\/:]+)((\\/|:)?.*)/.exec(t);return n[1]+e+n[3]}function a(t){return Math.floor(Math.random()*t)}function c(t){for(var e=[],n=0;n0&&t.onChunk(n.status,n.responseText);break;case 4:n.responseText&&n.responseText.length>0&&t.onChunk(n.status,n.responseText),t.emit(\"finished\",n.status),t.close()}},n},abortRequest:function(t){t.onreadystatechange=null,t.abort()}};e.__esModule=!0,e.default=o},function(t,e,n){\"use strict\";var i=n(9),o=n(11),r=n(40),s=function(){function t(t,e,n){this.key=t,this.session=e,this.events=[],this.options=n||{},this.sent=0,this.uniqueID=0}return t.prototype.log=function(t,e){t<=this.options.level&&(this.events.push(i.extend({},e,{timestamp:o.default.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},t.prototype.error=function(t){this.log(r.default.ERROR,t)},t.prototype.info=function(t){this.log(r.default.INFO,t)},t.prototype.debug=function(t){this.log(r.default.DEBUG,t)},t.prototype.isEmpty=function(){return 0===this.events.length},t.prototype.send=function(t,e){var n=this,o=i.extend({session:this.session,bundle:this.sent+1,key:this.key,lib:\"js\",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],t(o,function(t,i){t||n.sent++,e&&e(t,i)}),!0},t.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},t}();e.__esModule=!0,e.default=s},function(t,e){\"use strict\";var n;!function(t){t[t.ERROR=3]=\"ERROR\",t[t.INFO=6]=\"INFO\",t[t.DEBUG=7]=\"DEBUG\"}(n||(n={})),e.__esModule=!0,e.default=n},function(t,e,n){\"use strict\";function i(t){return function(e){return[t.apply(this,arguments),e]}}function o(t){return\"string\"==typeof t&&\":\"===t.charAt(0)}function r(t,e){return e[t.slice(1)]}function s(t,e){if(0===t.length)return[[],e];var n=u(t[0],e),i=s(t.slice(1),n[1]);return[[n[0]].concat(i[0]),i[1]]}function a(t,e){if(!o(t))return[t,e];var n=r(t,e);if(void 0===n)throw\"Undefined symbol \"+t;return[n,e]}function c(t,e){if(o(t[0])){var n=r(t[0],e);if(t.length>1){if(\"function\"!=typeof n)throw\"Calling non-function \"+t[0];var i=[l.extend({},e)].concat(l.map(t.slice(1),function(t){return u(t,l.extend({},e))[0]}));return n.apply(this,i)}return[n,e]}return s(t,e)}function u(t,e){return\"string\"==typeof t?a(t,e):\"object\"==typeof t&&t instanceof Array&&t.length>0?c(t,e):[t,e]}var l=n(9),h=n(11),p=n(42),f=n(31),d=n(56),y=n(57),v=n(58),g=n(59),m=n(60),b=n(61),_=n(62),w=n(2),k=w.default.Transports;e.build=function(t,e){var n=l.extend({},C,e);return u(t,n)[1].strategy};var S={isSupported:function(){return!1},connect:function(t,e){var n=h.default.defer(function(){e(new f.UnsupportedStrategy)});return{abort:function(){n.ensureAborted()},forceMinPriority:function(){}}}},C={extend:function(t,e,n){return[l.extend({},e,n),t]},def:function(t,e,n){if(void 0!==t[e])throw\"Redefining symbol \"+e;return t[e]=n,[void 0,t]},def_transport:function(t,e,n,i,o,r){var s=k[n];if(!s)throw new f.UnsupportedTransport(n);var a,c=!(t.enabledTransports&&l.arrayIndexOf(t.enabledTransports,e)===-1||t.disabledTransports&&l.arrayIndexOf(t.disabledTransports,e)!==-1);a=c?new d.default(e,i,r?r.getAssistant(s):s,l.extend({key:t.key,encrypted:t.encrypted,timeline:t.timeline,ignoreNullOrigin:t.ignoreNullOrigin},o)):S;var u=t.def(t,e,a)[1];return u.Transports=t.Transports||{},u.Transports[e]=a,[void 0,u]},transport_manager:i(function(t,e){return new p.default(e)}),sequential:i(function(t,e){var n=Array.prototype.slice.call(arguments,2);return new y.default(n,e)}),cached:i(function(t,e,n){return new g.default(n,t.Transports,{ttl:e,timeline:t.timeline,encrypted:t.encrypted})}),first_connected:i(function(t,e){return new _.default(e)}),best_connected_ever:i(function(){var t=Array.prototype.slice.call(arguments,1);return new v.default(t)}),delayed:i(function(t,e,n){return new m.default(n,{delay:e})}),if:i(function(t,e,n,i){return new b.default(e,n,i)}),is_supported:i(function(t,e){return function(){return e.isSupported()}})}},function(t,e,n){\"use strict\";var i=n(43),o=function(){function t(t){this.options=t||{},this.livesLeft=this.options.lives||1/0}return t.prototype.getAssistant=function(t){return i.default.createAssistantToTheTransportManager(this,t,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},t.prototype.isAlive=function(){return this.livesLeft>0},t.prototype.reportDeath=function(){this.livesLeft-=1},t}();e.__esModule=!0,e.default=o},function(t,e,n){\"use strict\";var i=n(44),o=n(45),r=n(48),s=n(49),a=n(50),c=n(51),u=n(52),l=n(54),h=n(55),p={createChannels:function(){return new h.default},createConnectionManager:function(t,e){return new l.default(t,e)},createChannel:function(t,e){return new u.default(t,e)},createPrivateChannel:function(t,e){return new c.default(t,e)},createPresenceChannel:function(t,e){return new a.default(t,e)},createTimelineSender:function(t,e){return new s.default(t,e)},createAuthorizer:function(t,e){return e.authorizer?e.authorizer(t,e):new r.default(t,e)},createHandshake:function(t,e){return new o.default(t,e)},createAssistantToTheTransportManager:function(t,e,n){return new i.default(t,e,n)}};e.__esModule=!0,e.default=p},function(t,e,n){\"use strict\";var i=n(11),o=n(9),r=function(){function t(t,e,n){this.manager=t,this.transport=e,this.minPingDelay=n.minPingDelay,this.maxPingDelay=n.maxPingDelay,this.pingDelay=void 0}return t.prototype.createConnection=function(t,e,n,r){var s=this;r=o.extend({},r,{activityTimeout:this.pingDelay});var a=this.transport.createConnection(t,e,n,r),c=null,u=function(){a.unbind(\"open\",u),a.bind(\"closed\",l),c=i.default.now()},l=function(t){if(a.unbind(\"closed\",l),1002===t.code||1003===t.code)s.manager.reportDeath();else if(!t.wasClean&&c){var e=i.default.now()-c;e<2*s.maxPingDelay&&(s.manager.reportDeath(),s.pingDelay=Math.max(e/2,s.minPingDelay))}};return a.bind(\"open\",u),a},t.prototype.isSupported=function(t){return this.manager.isAlive()&&this.transport.isSupported(t)},t}();e.__esModule=!0,e.default=r},function(t,e,n){\"use strict\";var i=n(9),o=n(46),r=n(47),s=function(){function t(t,e){this.transport=t,this.callback=e,this.bindListeners()}return t.prototype.close=function(){this.unbindListeners(),this.transport.close()},t.prototype.bindListeners=function(){var t=this;this.onMessage=function(e){t.unbindListeners();var n;try{n=o.processHandshake(e)}catch(e){return t.finish(\"error\",{error:e}),void t.transport.close()}\"connected\"===n.action?t.finish(\"connected\",{connection:new r.default(n.id,t.transport),activityTimeout:n.activityTimeout}):(t.finish(n.action,{error:n.error}),t.transport.close())},this.onClosed=function(e){t.unbindListeners();var n=o.getCloseAction(e)||\"backoff\",i=o.getCloseError(e);t.finish(n,{error:i})},this.transport.bind(\"message\",this.onMessage),this.transport.bind(\"closed\",this.onClosed)},t.prototype.unbindListeners=function(){this.transport.unbind(\"message\",this.onMessage),this.transport.unbind(\"closed\",this.onClosed)},t.prototype.finish=function(t,e){this.callback(i.extend({transport:this.transport,action:t},e))},t}();e.__esModule=!0,e.default=s},function(t,e){\"use strict\";e.decodeMessage=function(t){try{var e=JSON.parse(t.data);if(\"string\"==typeof e.data)try{e.data=JSON.parse(e.data)}catch(t){if(!(t instanceof SyntaxError))throw t}return e}catch(e){throw{type:\"MessageParseError\",error:e,data:t.data}}},e.encodeMessage=function(t){return JSON.stringify(t)},e.processHandshake=function(t){if(t=e.decodeMessage(t),\"pusher:connection_established\"===t.event){if(!t.data.activity_timeout)throw\"No activity timeout specified in handshake\";return{action:\"connected\",id:t.data.socket_id,activityTimeout:1e3*t.data.activity_timeout}}if(\"pusher:error\"===t.event)return{action:this.getCloseAction(t.data),error:this.getCloseError(t.data)};throw\"Invalid handshake\"},e.getCloseAction=function(t){return t.code<4e3?t.code>=1002&&t.code<=1004?\"backoff\":null:4e3===t.code?\"ssl_only\":t.code<4100?\"refused\":t.code<4200?\"backoff\":t.code<4300?\"retry\":\"refused\"},e.getCloseError=function(t){return 1e3!==t.code&&1001!==t.code?{type:\"PusherError\",data:{code:t.code,message:t.reason||t.message}}:null}},function(t,e,n){\"use strict\";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(9),r=n(24),s=n(46),a=n(8),c=function(t){function e(e,n){t.call(this),this.id=e,this.transport=n,this.activityTimeout=n.activityTimeout,this.bindListeners()}return i(e,t),e.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},e.prototype.send=function(t){return this.transport.send(t)},e.prototype.send_event=function(t,e,n){var i={event:t,data:e};return n&&(i.channel=n),a.default.debug(\"Event sent\",i),this.send(s.encodeMessage(i))},e.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event(\"pusher:ping\",{})},e.prototype.close=function(){this.transport.close()},e.prototype.bindListeners=function(){var t=this,e={message:function(e){var n;try{n=s.decodeMessage(e)}catch(n){t.emit(\"error\",{type:\"MessageParseError\",error:n,data:e.data})}if(void 0!==n){switch(a.default.debug(\"Event recd\",n),n.event){case\"pusher:error\":t.emit(\"error\",{type:\"PusherError\",data:n.data});break;case\"pusher:ping\":t.emit(\"ping\");break;case\"pusher:pong\":t.emit(\"pong\")}t.emit(\"message\",n)}},activity:function(){t.emit(\"activity\")},error:function(e){t.emit(\"error\",{type:\"WebSocketError\",error:e})},closed:function(e){n(),e&&e.code&&t.handleCloseEvent(e),t.transport=null,t.emit(\"closed\")}},n=function(){o.objectApply(e,function(e,n){t.transport.unbind(n,e)})};o.objectApply(e,function(e,n){t.transport.bind(n,e)})},e.prototype.handleCloseEvent=function(t){var e=s.getCloseAction(t),n=s.getCloseError(t);n&&this.emit(\"error\",n),e&&this.emit(e)},e}(r.default);e.__esModule=!0,e.default=c},function(t,e,n){\"use strict\";var i=n(2),o=function(){function t(t,e){this.channel=t;var n=e.authTransport;if(\"undefined\"==typeof i.default.getAuthorizers()[n])throw\"'\"+n+\"' is not a recognized auth transport\";this.type=n,this.options=e,this.authOptions=(e||{}).auth||{}}return t.prototype.composeQuery=function(t){var e=\"socket_id=\"+encodeURIComponent(t)+\"&channel_name=\"+encodeURIComponent(this.channel.name);for(var n in this.authOptions.params)e+=\"&\"+encodeURIComponent(n)+\"=\"+encodeURIComponent(this.authOptions.params[n]);return e},t.prototype.authorize=function(e,n){return t.authorizers=t.authorizers||i.default.getAuthorizers(),t.authorizers[this.type].call(this,i.default,e,n)},t}();e.__esModule=!0,e.default=o},function(t,e,n){\"use strict\";var i=n(2),o=function(){function t(t,e){this.timeline=t,this.options=e||{}}return t.prototype.send=function(t,e){this.timeline.isEmpty()||this.timeline.send(i.default.TimelineTransport.getAgent(this,t),e)},t}();e.__esModule=!0,e.default=o},function(t,e,n){\"use strict\";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(51),r=n(8),s=n(53),a=n(14),c=function(t){function e(e,n){t.call(this,e,n),this.members=new s.default}return i(e,t),e.prototype.authorize=function(e,n){var i=this;t.prototype.authorize.call(this,e,function(t,e){if(!t){if(void 0===e.channel_data){var o=a.default.buildLogSuffix(\"authenticationEndpoint\");return r.default.warn(\"Invalid auth response for channel '\"+i.name+\"',expected 'channel_data' field. \"+o),void n(\"Invalid auth response\")}var s=JSON.parse(e.channel_data);i.members.setMyID(s.user_id)}n(t,e)})},e.prototype.handleEvent=function(t,e){switch(t){case\"pusher_internal:subscription_succeeded\":this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(e),this.emit(\"pusher:subscription_succeeded\",this.members));break;case\"pusher_internal:member_added\":var n=this.members.addMember(e);this.emit(\"pusher:member_added\",n);break;case\"pusher_internal:member_removed\":var i=this.members.removeMember(e);i&&this.emit(\"pusher:member_removed\",i);break;default:o.default.prototype.handleEvent.call(this,t,e)}},e.prototype.disconnect=function(){this.members.reset(),t.prototype.disconnect.call(this)},e}(o.default);e.__esModule=!0,e.default=c},function(t,e,n){\"use strict\";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(43),r=n(52),s=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype.authorize=function(t,e){var n=o.default.createAuthorizer(this,this.pusher.config);return n.authorize(t,e)},e}(r.default);e.__esModule=!0,e.default=s},function(t,e,n){\"use strict\";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(24),r=n(31),s=n(8),a=function(t){function e(e,n){t.call(this,function(t,n){s.default.debug(\"No callbacks on \"+e+\" for \"+t)}),this.name=e,this.pusher=n,this.subscribed=!1,this.subscriptionPending=!1,this.subscriptionCancelled=!1}return i(e,t),e.prototype.authorize=function(t,e){return e(!1,{})},e.prototype.trigger=function(t,e){if(0!==t.indexOf(\"client-\"))throw new r.BadEventName(\"Event '\"+t+\"' does not start with 'client-'\");return this.pusher.send_event(t,e,this.name)},e.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},e.prototype.handleEvent=function(t,e){0===t.indexOf(\"pusher_internal:\")?\"pusher_internal:subscription_succeeded\"===t&&(this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit(\"pusher:subscription_succeeded\",e)):this.emit(t,e)},e.prototype.subscribe=function(){var t=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(e,n){e?t.handleEvent(\"pusher:subscription_error\",n):t.pusher.send_event(\"pusher:subscribe\",{auth:n.auth,channel_data:n.channel_data,channel:t.name})}))},e.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event(\"pusher:unsubscribe\",{channel:this.name})},e.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},e.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},e}(o.default);e.__esModule=!0,e.default=a},function(t,e,n){\"use strict\";var i=n(9),o=function(){function t(){this.reset()}return t.prototype.get=function(t){return Object.prototype.hasOwnProperty.call(this.members,t)?{id:t,info:this.members[t]}:null},t.prototype.each=function(t){var e=this;i.objectApply(this.members,function(n,i){t(e.get(i))})},t.prototype.setMyID=function(t){this.myID=t},t.prototype.onSubscription=function(t){this.members=t.presence.hash,this.count=t.presence.count,this.me=this.get(this.myID)},t.prototype.addMember=function(t){return null===this.get(t.user_id)&&this.count++,this.members[t.user_id]=t.user_info,this.get(t.user_id)},t.prototype.removeMember=function(t){var e=this.get(t.user_id);return e&&(delete this.members[t.user_id],this.count--),e},t.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},t}();e.__esModule=!0,e.default=o},function(t,e,n){\"use strict\";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(24),r=n(12),s=n(8),a=n(9),c=n(2),u=function(t){function e(e,n){var i=this;t.call(this),this.key=e,this.options=n||{},this.state=\"initialized\",this.connection=null,this.encrypted=!!n.encrypted,this.timeline=this.options.timeline,this.connectionCallbacks=this.buildConnectionCallbacks(),this.errorCallbacks=this.buildErrorCallbacks(),this.handshakeCallbacks=this.buildHandshakeCallbacks(this.errorCallbacks);var o=c.default.getNetwork();o.bind(\"online\",function(){i.timeline.info({netinfo:\"online\"}),\"connecting\"!==i.state&&\"unavailable\"!==i.state||i.retryIn(0)}),o.bind(\"offline\",function(){i.timeline.info({netinfo:\"offline\"}),i.connection&&i.sendActivityCheck()}),this.updateStrategy()}return i(e,t),e.prototype.connect=function(){if(!this.connection&&!this.runner){if(!this.strategy.isSupported())return void this.updateState(\"failed\");this.updateState(\"connecting\"),this.startConnecting(),this.setUnavailableTimer()}},e.prototype.send=function(t){return!!this.connection&&this.connection.send(t)},e.prototype.send_event=function(t,e,n){return!!this.connection&&this.connection.send_event(t,e,n)},e.prototype.disconnect=function(){this.disconnectInternally(),this.updateState(\"disconnected\")},e.prototype.isEncrypted=function(){return this.encrypted},e.prototype.startConnecting=function(){var t=this,e=function(n,i){n?t.runner=t.strategy.connect(0,e):\"error\"===i.action?(t.emit(\"error\",{type:\"HandshakeError\",error:i.error}),t.timeline.error({handshakeError:i.error})):(t.abortConnecting(),t.handshakeCallbacks[i.action](i))};this.runner=this.strategy.connect(0,e)},e.prototype.abortConnecting=function(){this.runner&&(this.runner.abort(),this.runner=null)},e.prototype.disconnectInternally=function(){if(this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection){var t=this.abandonConnection();t.close()}},e.prototype.updateStrategy=function(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,encrypted:this.encrypted})},e.prototype.retryIn=function(t){var e=this;this.timeline.info({action:\"retry\",delay:t}),t>0&&this.emit(\"connecting_in\",Math.round(t/1e3)),this.retryTimer=new r.OneOffTimer(t||0,function(){e.disconnectInternally(),e.connect()})},e.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},e.prototype.setUnavailableTimer=function(){var t=this;this.unavailableTimer=new r.OneOffTimer(this.options.unavailableTimeout,function(){t.updateState(\"unavailable\")})},e.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},e.prototype.sendActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new r.OneOffTimer(this.options.pongTimeout,function(){t.timeline.error({pong_timed_out:t.options.pongTimeout}),t.retryIn(0)})},e.prototype.resetActivityCheck=function(){var t=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new r.OneOffTimer(this.activityTimeout,function(){t.sendActivityCheck()}))},e.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},e.prototype.buildConnectionCallbacks=function(){var t=this;return{message:function(e){t.resetActivityCheck(),t.emit(\"message\",e)},ping:function(){t.send_event(\"pusher:pong\",{})},activity:function(){t.resetActivityCheck()},error:function(e){t.emit(\"error\",{type:\"WebSocketError\",error:e})},closed:function(){t.abandonConnection(),t.shouldRetry()&&t.retryIn(1e3)}}},e.prototype.buildHandshakeCallbacks=function(t){var e=this;return a.extend({},t,{connected:function(t){e.activityTimeout=Math.min(e.options.activityTimeout,t.activityTimeout,t.connection.activityTimeout||1/0),e.clearUnavailableTimer(),e.setConnection(t.connection),e.socket_id=e.connection.id,e.updateState(\"connected\",{socket_id:e.socket_id})}})},e.prototype.buildErrorCallbacks=function(){var t=this,e=function(e){return function(n){n.error&&t.emit(\"error\",{type:\"WebSocketError\",error:n.error}),e(n)}};return{ssl_only:e(function(){t.encrypted=!0,t.updateStrategy(),t.retryIn(0)}),refused:e(function(){t.disconnect()}),backoff:e(function(){t.retryIn(1e3)}),retry:e(function(){t.retryIn(0)})}},e.prototype.setConnection=function(t){this.connection=t;for(var e in this.connectionCallbacks)this.connection.bind(e,this.connectionCallbacks[e]);this.resetActivityCheck()},e.prototype.abandonConnection=function(){if(this.connection){this.stopActivityCheck();for(var t in this.connectionCallbacks)this.connection.unbind(t,this.connectionCallbacks[t]);var e=this.connection;return this.connection=null,e}},e.prototype.updateState=function(t,e){var n=this.state;if(this.state=t,n!==t){var i=t;\"connected\"===i&&(i+=\" with new socket ID \"+e.socket_id),s.default.debug(\"State changed\",n+\" -> \"+i),this.timeline.info({state:t,params:e}),this.emit(\"state_change\",{previous:n,current:t}),this.emit(t,e)}},e.prototype.shouldRetry=function(){return\"connecting\"===this.state||\"connected\"===this.state},e}(o.default);e.__esModule=!0,e.default=u},function(t,e,n){\"use strict\";function i(t,e){return 0===t.indexOf(\"private-\")?r.default.createPrivateChannel(t,e):0===t.indexOf(\"presence-\")?r.default.createPresenceChannel(t,e):r.default.createChannel(t,e)}var o=n(9),r=n(43),s=function(){function t(){this.channels={}}return t.prototype.add=function(t,e){return this.channels[t]||(this.channels[t]=i(t,e)),this.channels[t]},t.prototype.all=function(){return o.values(this.channels)},t.prototype.find=function(t){return this.channels[t]},t.prototype.remove=function(t){var e=this.channels[t];return delete this.channels[t],e},t.prototype.disconnect=function(){o.objectApply(this.channels,function(t){t.disconnect()})},t}();e.__esModule=!0,e.default=s},function(t,e,n){\"use strict\";function i(t,e){return r.default.defer(function(){e(t)}),{abort:function(){},forceMinPriority:function(){}}}var o=n(43),r=n(11),s=n(31),a=n(9),c=function(){function t(t,e,n,i){this.name=t,this.priority=e,this.transport=n,this.options=i||{}}return t.prototype.isSupported=function(){return this.transport.isSupported({encrypted:this.options.encrypted})},t.prototype.connect=function(t,e){var n=this;if(!this.isSupported())return i(new s.UnsupportedStrategy,e);if(this.priority0&&(o=new r.OneOffTimer(n.timeout,function(){s.abort(),i(!0)})),s=t.connect(e,function(t,e){t&&o&&o.isRunning()&&!n.failFast||(o&&o.ensureAborted(),i(t,e))}),{abort:function(){o&&o.ensureAborted(),s.abort()},forceMinPriority:function(t){s.forceMinPriority(t)}}},t}();e.__esModule=!0,e.default=s},function(t,e,n){\"use strict\";function i(t,e,n){var i=s.map(t,function(t,i,o,r){return t.connect(e,n(i,r))});return{abort:function(){s.apply(i,r)},forceMinPriority:function(t){s.apply(i,function(e){e.forceMinPriority(t)})}}}function o(t){return s.all(t,function(t){return Boolean(t.error)})}function r(t){t.error||t.aborted||(t.abort(),t.aborted=!0)}var s=n(9),a=n(11),c=function(){function t(t){this.strategies=t}return t.prototype.isSupported=function(){return s.any(this.strategies,a.default.method(\"isSupported\"))},t.prototype.connect=function(t,e){return i(this.strategies,t,function(t,n){return function(i,r){return n[t].error=i,i?void(o(n)&&e(!0)):(s.apply(n,function(t){t.forceMinPriority(r.transport.priority)}),void e(null,r))}})},t}();e.__esModule=!0,e.default=c},function(t,e,n){\"use strict\";function i(t){return\"pusherTransport\"+(t?\"Encrypted\":\"Unencrypted\")}function o(t){var e=c.default.getLocalStorage();if(e)try{var n=e[i(t)];if(n)return JSON.parse(n)}catch(e){s(t)}return null}function r(t,e,n){var o=c.default.getLocalStorage();if(o)try{o[i(t)]=l.safeJSONStringify({timestamp:a.default.now(),transport:e,latency:n})}catch(t){}}function s(t){var e=c.default.getLocalStorage();if(e)try{delete e[i(t)]}catch(t){}}var a=n(11),c=n(2),u=n(57),l=n(9),h=function(){function t(t,e,n){this.strategy=t,this.transports=e,this.ttl=n.ttl||18e5,this.encrypted=n.encrypted,this.timeline=n.timeline}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.encrypted,i=o(n),c=[this.strategy];if(i&&i.timestamp+this.ttl>=a.default.now()){var l=this.transports[i.transport];l&&(this.timeline.info({cached:!0,transport:i.transport,latency:i.latency}),c.push(new u.default([l],{timeout:2*i.latency+1e3,failFast:!0})))}var h=a.default.now(),p=c.pop().connect(t,function i(o,u){o?(s(n),c.length>0?(h=a.default.now(),p=c.pop().connect(t,i)):e(o)):(r(n,u.transport.name,a.default.now()-h),e(null,u))});return{abort:function(){p.abort()},forceMinPriority:function(e){t=e,p&&p.forceMinPriority(e)}}},t}();e.__esModule=!0,e.default=h},function(t,e,n){\"use strict\";var i=n(12),o=function(){function t(t,e){var n=e.delay;this.strategy=t,this.options={delay:n}}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n,o=this.strategy,r=new i.OneOffTimer(this.options.delay,function(){n=o.connect(t,e)});return{abort:function(){r.ensureAborted(),n&&n.abort()},forceMinPriority:function(e){t=e,n&&n.forceMinPriority(e)}}},t}();e.__esModule=!0,e.default=o},function(t,e){\"use strict\";var n=function(){function t(t,e,n){this.test=t,this.trueBranch=e,this.falseBranch=n}return t.prototype.isSupported=function(){var t=this.test()?this.trueBranch:this.falseBranch;return t.isSupported()},t.prototype.connect=function(t,e){var n=this.test()?this.trueBranch:this.falseBranch;return n.connect(t,e)},t}();e.__esModule=!0,e.default=n},function(t,e){\"use strict\";var n=function(){function t(t){this.strategy=t}return t.prototype.isSupported=function(){return this.strategy.isSupported()},t.prototype.connect=function(t,e){var n=this.strategy.connect(t,function(t,i){i&&n.abort(),e(t,i)});return n},t}();e.__esModule=!0,e.default=n},function(t,e,n){\"use strict\";var i=n(5);e.getGlobalConfig=function(){return{wsHost:i.default.host,wsPort:i.default.ws_port,wssPort:i.default.wss_port,httpHost:i.default.sockjs_host,httpPort:i.default.sockjs_http_port,httpsPort:i.default.sockjs_https_port,httpPath:i.default.sockjs_path,statsHost:i.default.stats_host,authEndpoint:i.default.channel_auth_endpoint,authTransport:i.default.channel_auth_transport,activity_timeout:i.default.activity_timeout,pong_timeout:i.default.pong_timeout,unavailable_timeout:i.default.unavailable_timeout}},e.getClusterConfig=function(t){return{wsHost:\"ws-\"+t+\".pusher.com\",httpHost:\"sockjs-\"+t+\".pusher.com\"}}}])});","!function (e, t) { \"object\" == typeof exports && \"undefined\" != typeof module ? module.exports = t() : \"function\" == typeof define && define.amd ? define(t) : e.moment = t() }(this, function () { \"use strict\"; var e, i; function c() { return e.apply(null, arguments) } function o(e) { return e instanceof Array || \"[object Array]\" === Object.prototype.toString.call(e) } function u(e) { return null != e && \"[object Object]\" === Object.prototype.toString.call(e) } function l(e) { return void 0 === e } function d(e) { return \"number\" == typeof e || \"[object Number]\" === Object.prototype.toString.call(e) } function h(e) { return e instanceof Date || \"[object Date]\" === Object.prototype.toString.call(e) } function f(e, t) { var n, s = []; for (n = 0; n < e.length; ++n)s.push(t(e[n], n)); return s } function m(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } function _(e, t) { for (var n in t) m(t, n) && (e[n] = t[n]); return m(t, \"toString\") && (e.toString = t.toString), m(t, \"valueOf\") && (e.valueOf = t.valueOf), e } function y(e, t, n, s) { return Ot(e, t, n, s, !0).utc() } function g(e) { return null == e._pf && (e._pf = { 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 }), e._pf } function p(e) { if (null == e._isValid) { var t = g(e), n = i.call(t.parsedDateParts, function (e) { return null != e }), s = !isNaN(e._d.getTime()) && t.overflow < 0 && !t.empty && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && n); if (e._strict && (s = s && 0 === t.charsLeftOver && 0 === t.unusedTokens.length && void 0 === t.bigHour), null != Object.isFrozen && Object.isFrozen(e)) return s; e._isValid = s } return e._isValid } function v(e) { var t = y(NaN); return null != e ? _(g(t), e) : g(t).userInvalidated = !0, t } i = Array.prototype.some ? Array.prototype.some : function (e) { for (var t = Object(this), n = t.length >>> 0, s = 0; s < n; s++)if (s in t && e.call(this, t[s], s, t)) return !0; return !1 }; var r = c.momentProperties = []; function w(e, t) { var n, s, i; if (l(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), l(t._i) || (e._i = t._i), l(t._f) || (e._f = t._f), l(t._l) || (e._l = t._l), l(t._strict) || (e._strict = t._strict), l(t._tzm) || (e._tzm = t._tzm), l(t._isUTC) || (e._isUTC = t._isUTC), l(t._offset) || (e._offset = t._offset), l(t._pf) || (e._pf = g(t)), l(t._locale) || (e._locale = t._locale), 0 < r.length) for (n = 0; n < r.length; n++)l(i = t[s = r[n]]) || (e[s] = i); return e } var t = !1; function M(e) { w(this, e), this._d = new Date(null != e._d ? e._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), !1 === t && (t = !0, c.updateOffset(this), t = !1) } function S(e) { return e instanceof M || null != e && null != e._isAMomentObject } function D(e) { return e < 0 ? Math.ceil(e) || 0 : Math.floor(e) } function k(e) { var t = +e, n = 0; return 0 !== t && isFinite(t) && (n = D(t)), n } function a(e, t, n) { var s, i = Math.min(e.length, t.length), r = Math.abs(e.length - t.length), a = 0; for (s = 0; s < i; s++)(n && e[s] !== t[s] || !n && k(e[s]) !== k(t[s])) && a++; return a + r } function Y(e) { !1 === c.suppressDeprecationWarnings && \"undefined\" != typeof console && console.warn && console.warn(\"Deprecation warning: \" + e) } function n(i, r) { var a = !0; return _(function () { if (null != c.deprecationHandler && c.deprecationHandler(null, i), a) { for (var e, t = [], n = 0; n < arguments.length; n++) { if (e = \"\", \"object\" == typeof arguments[n]) { for (var s in e += \"\\n[\" + n + \"] \", arguments[0]) e += s + \": \" + arguments[0][s] + \", \"; e = e.slice(0, -2) } else e = arguments[n]; t.push(e) } Y(i + \"\\nArguments: \" + Array.prototype.slice.call(t).join(\"\") + \"\\n\" + (new Error).stack), a = !1 } return r.apply(this, arguments) }, r) } var s, O = {}; function T(e, t) { null != c.deprecationHandler && c.deprecationHandler(e, t), O[e] || (Y(t), O[e] = !0) } function x(e) { return e instanceof Function || \"[object Function]\" === Object.prototype.toString.call(e) } function b(e, t) { var n, s = _({}, e); for (n in t) m(t, n) && (u(e[n]) && u(t[n]) ? (s[n] = {}, _(s[n], e[n]), _(s[n], t[n])) : null != t[n] ? s[n] = t[n] : delete s[n]); for (n in e) m(e, n) && !m(t, n) && u(e[n]) && (s[n] = _({}, s[n])); return s } function P(e) { null != e && this.set(e) } c.suppressDeprecationWarnings = !1, c.deprecationHandler = null, s = Object.keys ? Object.keys : function (e) { var t, n = []; for (t in e) m(e, t) && n.push(t); return n }; var W = {}; function H(e, t) { var n = e.toLowerCase(); W[n] = W[n + \"s\"] = W[t] = e } function R(e) { return \"string\" == typeof e ? W[e] || W[e.toLowerCase()] : void 0 } function C(e) { var t, n, s = {}; for (n in e) m(e, n) && (t = R(n)) && (s[t] = e[n]); return s } var F = {}; function L(e, t) { F[e] = t } function U(e, t, n) { var s = \"\" + Math.abs(e), i = t - s.length; return (0 <= e ? n ? \"+\" : \"\" : \"-\") + Math.pow(10, Math.max(0, i)).toString().substr(1) + s } var N = /(\\[[^\\[]*\\])|(\\\\)?([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, G = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g, V = {}, E = {}; function I(e, t, n, s) { var i = s; \"string\" == typeof s && (i = function () { return this[s]() }), e && (E[e] = i), t && (E[t[0]] = function () { return U(i.apply(this, arguments), t[1], t[2]) }), n && (E[n] = function () { return this.localeData().ordinal(i.apply(this, arguments), e) }) } function A(e, t) { return e.isValid() ? (t = j(t, e.localeData()), V[t] = V[t] || function (s) { var e, i, t, r = s.match(N); for (e = 0, i = r.length; e < i; e++)E[r[e]] ? r[e] = E[r[e]] : r[e] = (t = r[e]).match(/\\[[\\s\\S]/) ? t.replace(/^\\[|\\]$/g, \"\") : t.replace(/\\\\/g, \"\"); return function (e) { var t, n = \"\"; for (t = 0; t < i; t++)n += x(r[t]) ? r[t].call(e, s) : r[t]; return n } }(t), V[t](e)) : e.localeData().invalidDate() } function j(e, t) { var n = 5; function s(e) { return t.longDateFormat(e) || e } for (G.lastIndex = 0; 0 <= n && G.test(e);)e = e.replace(G, s), G.lastIndex = 0, n -= 1; return e } var Z = /\\d/, z = /\\d\\d/, $ = /\\d{3}/, q = /\\d{4}/, J = /[+-]?\\d{6}/, B = /\\d\\d?/, Q = /\\d\\d\\d\\d?/, X = /\\d\\d\\d\\d\\d\\d?/, K = /\\d{1,3}/, ee = /\\d{1,4}/, te = /[+-]?\\d{1,6}/, ne = /\\d+/, se = /[+-]?\\d+/, ie = /Z|[+-]\\d\\d:?\\d\\d/gi, re = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi, ae = /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i, oe = {}; function ue(e, n, s) { oe[e] = x(n) ? n : function (e, t) { return e && s ? s : n } } function le(e, t) { return m(oe, e) ? oe[e](t._strict, t._locale) : new RegExp(de(e.replace(\"\\\\\", \"\").replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g, function (e, t, n, s, i) { return t || n || s || i }))) } function de(e) { return e.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, \"\\\\$&\") } var he = {}; function ce(e, n) { var t, s = n; for (\"string\" == typeof e && (e = [e]), d(n) && (s = function (e, t) { t[n] = k(e) }), t = 0; t < e.length; t++)he[e[t]] = s } function fe(e, i) { ce(e, function (e, t, n, s) { n._w = n._w || {}, i(e, n._w, n, s) }) } var me = 0, _e = 1, ye = 2, ge = 3, pe = 4, ve = 5, we = 6, Me = 7, Se = 8; function De(e) { return ke(e) ? 366 : 365 } function ke(e) { return e % 4 == 0 && e % 100 != 0 || e % 400 == 0 } I(\"Y\", 0, 0, function () { var e = this.year(); return e <= 9999 ? \"\" + e : \"+\" + e }), I(0, [\"YY\", 2], 0, function () { return this.year() % 100 }), I(0, [\"YYYY\", 4], 0, \"year\"), I(0, [\"YYYYY\", 5], 0, \"year\"), I(0, [\"YYYYYY\", 6, !0], 0, \"year\"), H(\"year\", \"y\"), L(\"year\", 1), ue(\"Y\", se), ue(\"YY\", B, z), ue(\"YYYY\", ee, q), ue(\"YYYYY\", te, J), ue(\"YYYYYY\", te, J), ce([\"YYYYY\", \"YYYYYY\"], me), ce(\"YYYY\", function (e, t) { t[me] = 2 === e.length ? c.parseTwoDigitYear(e) : k(e) }), ce(\"YY\", function (e, t) { t[me] = c.parseTwoDigitYear(e) }), ce(\"Y\", function (e, t) { t[me] = parseInt(e, 10) }), c.parseTwoDigitYear = function (e) { return k(e) + (68 < k(e) ? 1900 : 2e3) }; var Ye, Oe = Te(\"FullYear\", !0); function Te(t, n) { return function (e) { return null != e ? (be(this, t, e), c.updateOffset(this, n), this) : xe(this, t) } } function xe(e, t) { return e.isValid() ? e._d[\"get\" + (e._isUTC ? \"UTC\" : \"\") + t]() : NaN } function be(e, t, n) { e.isValid() && !isNaN(n) && (\"FullYear\" === t && ke(e.year()) && 1 === e.month() && 29 === e.date() ? e._d[\"set\" + (e._isUTC ? \"UTC\" : \"\") + t](n, e.month(), Pe(n, e.month())) : e._d[\"set\" + (e._isUTC ? \"UTC\" : \"\") + t](n)) } function Pe(e, t) { if (isNaN(e) || isNaN(t)) return NaN; var n, s = (t % (n = 12) + n) % n; return e += (t - s) / 12, 1 === s ? ke(e) ? 29 : 28 : 31 - s % 7 % 2 } Ye = Array.prototype.indexOf ? Array.prototype.indexOf : function (e) { var t; for (t = 0; t < this.length; ++t)if (this[t] === e) return t; return -1 }, I(\"M\", [\"MM\", 2], \"Mo\", function () { return this.month() + 1 }), I(\"MMM\", 0, 0, function (e) { return this.localeData().monthsShort(this, e) }), I(\"MMMM\", 0, 0, function (e) { return this.localeData().months(this, e) }), H(\"month\", \"M\"), L(\"month\", 8), ue(\"M\", B), ue(\"MM\", B, z), ue(\"MMM\", function (e, t) { return t.monthsShortRegex(e) }), ue(\"MMMM\", function (e, t) { return t.monthsRegex(e) }), ce([\"M\", \"MM\"], function (e, t) { t[_e] = k(e) - 1 }), ce([\"MMM\", \"MMMM\"], function (e, t, n, s) { var i = n._locale.monthsParse(e, s, n._strict); null != i ? t[_e] = i : g(n).invalidMonth = e }); var We = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/, He = \"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"); var Re = \"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"); function Ce(e, t) { var n; if (!e.isValid()) return e; if (\"string\" == typeof t) if (/^\\d+$/.test(t)) t = k(t); else if (!d(t = e.localeData().monthsParse(t))) return e; return n = Math.min(e.date(), Pe(e.year(), t)), e._d[\"set\" + (e._isUTC ? \"UTC\" : \"\") + \"Month\"](t, n), e } function Fe(e) { return null != e ? (Ce(this, e), c.updateOffset(this, !0), this) : xe(this, \"Month\") } var Le = ae; var Ue = ae; function Ne() { function e(e, t) { return t.length - e.length } var t, n, s = [], i = [], r = []; for (t = 0; t < 12; t++)n = y([2e3, t]), s.push(this.monthsShort(n, \"\")), i.push(this.months(n, \"\")), r.push(this.months(n, \"\")), r.push(this.monthsShort(n, \"\")); for (s.sort(e), i.sort(e), r.sort(e), t = 0; t < 12; t++)s[t] = de(s[t]), i[t] = de(i[t]); for (t = 0; t < 24; t++)r[t] = de(r[t]); this._monthsRegex = new RegExp(\"^(\" + r.join(\"|\") + \")\", \"i\"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(\"^(\" + i.join(\"|\") + \")\", \"i\"), this._monthsShortStrictRegex = new RegExp(\"^(\" + s.join(\"|\") + \")\", \"i\") } function Ge(e) { var t = new Date(Date.UTC.apply(null, arguments)); return e < 100 && 0 <= e && isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e), t } function Ve(e, t, n) { var s = 7 + t - n; return -((7 + Ge(e, 0, s).getUTCDay() - t) % 7) + s - 1 } function Ee(e, t, n, s, i) { var r, a, o = 1 + 7 * (t - 1) + (7 + n - s) % 7 + Ve(e, s, i); return o <= 0 ? a = De(r = e - 1) + o : o > De(e) ? (r = e + 1, a = o - De(e)) : (r = e, a = o), { year: r, dayOfYear: a } } function Ie(e, t, n) { var s, i, r = Ve(e.year(), t, n), a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1; return a < 1 ? s = a + Ae(i = e.year() - 1, t, n) : a > Ae(e.year(), t, n) ? (s = a - Ae(e.year(), t, n), i = e.year() + 1) : (i = e.year(), s = a), { week: s, year: i } } function Ae(e, t, n) { var s = Ve(e, t, n), i = Ve(e + 1, t, n); return (De(e) - s + i) / 7 } I(\"w\", [\"ww\", 2], \"wo\", \"week\"), I(\"W\", [\"WW\", 2], \"Wo\", \"isoWeek\"), H(\"week\", \"w\"), H(\"isoWeek\", \"W\"), L(\"week\", 5), L(\"isoWeek\", 5), ue(\"w\", B), ue(\"ww\", B, z), ue(\"W\", B), ue(\"WW\", B, z), fe([\"w\", \"ww\", \"W\", \"WW\"], function (e, t, n, s) { t[s.substr(0, 1)] = k(e) }); I(\"d\", 0, \"do\", \"day\"), I(\"dd\", 0, 0, function (e) { return this.localeData().weekdaysMin(this, e) }), I(\"ddd\", 0, 0, function (e) { return this.localeData().weekdaysShort(this, e) }), I(\"dddd\", 0, 0, function (e) { return this.localeData().weekdays(this, e) }), I(\"e\", 0, 0, \"weekday\"), I(\"E\", 0, 0, \"isoWeekday\"), H(\"day\", \"d\"), H(\"weekday\", \"e\"), H(\"isoWeekday\", \"E\"), L(\"day\", 11), L(\"weekday\", 11), L(\"isoWeekday\", 11), ue(\"d\", B), ue(\"e\", B), ue(\"E\", B), ue(\"dd\", function (e, t) { return t.weekdaysMinRegex(e) }), ue(\"ddd\", function (e, t) { return t.weekdaysShortRegex(e) }), ue(\"dddd\", function (e, t) { return t.weekdaysRegex(e) }), fe([\"dd\", \"ddd\", \"dddd\"], function (e, t, n, s) { var i = n._locale.weekdaysParse(e, s, n._strict); null != i ? t.d = i : g(n).invalidWeekday = e }), fe([\"d\", \"e\", \"E\"], function (e, t, n, s) { t[s] = k(e) }); var je = \"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"); var Ze = \"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"); var ze = \"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"); var $e = ae; var qe = ae; var Je = ae; function Be() { function e(e, t) { return t.length - e.length } var t, n, s, i, r, a = [], o = [], u = [], l = []; for (t = 0; t < 7; t++)n = y([2e3, 1]).day(t), s = this.weekdaysMin(n, \"\"), i = this.weekdaysShort(n, \"\"), r = this.weekdays(n, \"\"), a.push(s), o.push(i), u.push(r), l.push(s), l.push(i), l.push(r); for (a.sort(e), o.sort(e), u.sort(e), l.sort(e), t = 0; t < 7; t++)o[t] = de(o[t]), u[t] = de(u[t]), l[t] = de(l[t]); 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(\"^(\" + o.join(\"|\") + \")\", \"i\"), this._weekdaysMinStrictRegex = new RegExp(\"^(\" + a.join(\"|\") + \")\", \"i\") } function Qe() { return this.hours() % 12 || 12 } function Xe(e, t) { I(e, 0, 0, function () { return this.localeData().meridiem(this.hours(), this.minutes(), t) }) } function Ke(e, t) { return t._meridiemParse } I(\"H\", [\"HH\", 2], 0, \"hour\"), I(\"h\", [\"hh\", 2], 0, Qe), I(\"k\", [\"kk\", 2], 0, function () { return this.hours() || 24 }), I(\"hmm\", 0, 0, function () { return \"\" + Qe.apply(this) + U(this.minutes(), 2) }), I(\"hmmss\", 0, 0, function () { return \"\" + Qe.apply(this) + U(this.minutes(), 2) + U(this.seconds(), 2) }), I(\"Hmm\", 0, 0, function () { return \"\" + this.hours() + U(this.minutes(), 2) }), I(\"Hmmss\", 0, 0, function () { return \"\" + this.hours() + U(this.minutes(), 2) + U(this.seconds(), 2) }), Xe(\"a\", !0), Xe(\"A\", !1), H(\"hour\", \"h\"), L(\"hour\", 13), ue(\"a\", Ke), ue(\"A\", Ke), ue(\"H\", B), ue(\"h\", B), ue(\"k\", B), ue(\"HH\", B, z), ue(\"hh\", B, z), ue(\"kk\", B, z), ue(\"hmm\", Q), ue(\"hmmss\", X), ue(\"Hmm\", Q), ue(\"Hmmss\", X), ce([\"H\", \"HH\"], ge), ce([\"k\", \"kk\"], function (e, t, n) { var s = k(e); t[ge] = 24 === s ? 0 : s }), ce([\"a\", \"A\"], function (e, t, n) { n._isPm = n._locale.isPM(e), n._meridiem = e }), ce([\"h\", \"hh\"], function (e, t, n) { t[ge] = k(e), g(n).bigHour = !0 }), ce(\"hmm\", function (e, t, n) { var s = e.length - 2; t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s)), g(n).bigHour = !0 }), ce(\"hmmss\", function (e, t, n) { var s = e.length - 4, i = e.length - 2; t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s, 2)), t[ve] = k(e.substr(i)), g(n).bigHour = !0 }), ce(\"Hmm\", function (e, t, n) { var s = e.length - 2; t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s)) }), ce(\"Hmmss\", function (e, t, n) { var s = e.length - 4, i = e.length - 2; t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s, 2)), t[ve] = k(e.substr(i)) }); var et, tt = Te(\"Hours\", !0), nt = { calendar: { sameDay: \"[Today at] LT\", nextDay: \"[Tomorrow at] LT\", nextWeek: \"dddd [at] LT\", lastDay: \"[Yesterday at] LT\", lastWeek: \"[Last] dddd [at] LT\", sameElse: \"L\" }, longDateFormat: { 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\" }, invalidDate: \"Invalid date\", ordinal: \"%d\", dayOfMonthOrdinalParse: /\\d{1,2}/, relativeTime: { 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\" }, months: He, monthsShort: Re, week: { dow: 0, doy: 6 }, weekdays: je, weekdaysMin: ze, weekdaysShort: Ze, meridiemParse: /[ap]\\.?m?\\.?/i }, st = {}, it = {}; function rt(e) { return e ? e.toLowerCase().replace(\"_\", \"-\") : e } function at(e) { var t = null; if (!st[e] && \"undefined\" != typeof module && module && module.exports) try { t = et._abbr, require(\"./locale/\" + e), ot(t) } catch (e) { } return st[e] } function ot(e, t) { var n; return e && ((n = l(t) ? lt(e) : ut(e, t)) ? et = n : \"undefined\" != typeof console && console.warn && console.warn(\"Locale \" + e + \" not found. Did you forget to load it?\")), et._abbr } function ut(e, t) { if (null !== t) { var n, s = nt; if (t.abbr = e, null != st[e]) 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.\"), s = st[e]._config; else if (null != t.parentLocale) if (null != st[t.parentLocale]) s = st[t.parentLocale]._config; else { if (null == (n = at(t.parentLocale))) return it[t.parentLocale] || (it[t.parentLocale] = []), it[t.parentLocale].push({ name: e, config: t }), null; s = n._config } return st[e] = new P(b(s, t)), it[e] && it[e].forEach(function (e) { ut(e.name, e.config) }), ot(e), st[e] } return delete st[e], null } function lt(e) { var t; if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return et; if (!o(e)) { if (t = at(e)) return t; e = [e] } return function (e) { for (var t, n, s, i, r = 0; r < e.length;) { for (t = (i = rt(e[r]).split(\"-\")).length, n = (n = rt(e[r + 1])) ? n.split(\"-\") : null; 0 < t;) { if (s = at(i.slice(0, t).join(\"-\"))) return s; if (n && n.length >= t && a(i, n, !0) >= t - 1) break; t-- } r++ } return et }(e) } function dt(e) { var t, n = e._a; return n && -2 === g(e).overflow && (t = n[_e] < 0 || 11 < n[_e] ? _e : n[ye] < 1 || n[ye] > Pe(n[me], n[_e]) ? ye : n[ge] < 0 || 24 < n[ge] || 24 === n[ge] && (0 !== n[pe] || 0 !== n[ve] || 0 !== n[we]) ? ge : n[pe] < 0 || 59 < n[pe] ? pe : n[ve] < 0 || 59 < n[ve] ? ve : n[we] < 0 || 999 < n[we] ? we : -1, g(e)._overflowDayOfYear && (t < me || ye < t) && (t = ye), g(e)._overflowWeeks && -1 === t && (t = Me), g(e)._overflowWeekday && -1 === t && (t = Se), g(e).overflow = t), e } function ht(e, t, n) { return null != e ? e : null != t ? t : n } function ct(e) { var t, n, s, i, r, a = []; if (!e._d) { var o, u; for (o = e, u = new Date(c.now()), s = o._useUTC ? [u.getUTCFullYear(), u.getUTCMonth(), u.getUTCDate()] : [u.getFullYear(), u.getMonth(), u.getDate()], e._w && null == e._a[ye] && null == e._a[_e] && function (e) { var t, n, s, i, r, a, o, u; if (null != (t = e._w).GG || null != t.W || null != t.E) r = 1, a = 4, n = ht(t.GG, e._a[me], Ie(Tt(), 1, 4).year), s = ht(t.W, 1), ((i = ht(t.E, 1)) < 1 || 7 < i) && (u = !0); else { r = e._locale._week.dow, a = e._locale._week.doy; var l = Ie(Tt(), r, a); n = ht(t.gg, e._a[me], l.year), s = ht(t.w, l.week), null != t.d ? ((i = t.d) < 0 || 6 < i) && (u = !0) : null != t.e ? (i = t.e + r, (t.e < 0 || 6 < t.e) && (u = !0)) : i = r } s < 1 || s > Ae(n, r, a) ? g(e)._overflowWeeks = !0 : null != u ? g(e)._overflowWeekday = !0 : (o = Ee(n, s, i, r, a), e._a[me] = o.year, e._dayOfYear = o.dayOfYear) }(e), null != e._dayOfYear && (r = ht(e._a[me], s[me]), (e._dayOfYear > De(r) || 0 === e._dayOfYear) && (g(e)._overflowDayOfYear = !0), n = Ge(r, 0, e._dayOfYear), e._a[_e] = n.getUTCMonth(), e._a[ye] = n.getUTCDate()), t = 0; t < 3 && null == e._a[t]; ++t)e._a[t] = a[t] = s[t]; for (; t < 7; t++)e._a[t] = a[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t]; 24 === e._a[ge] && 0 === e._a[pe] && 0 === e._a[ve] && 0 === e._a[we] && (e._nextDay = !0, e._a[ge] = 0), e._d = (e._useUTC ? Ge : function (e, t, n, s, i, r, a) { var o = new Date(e, t, n, s, i, r, a); return e < 100 && 0 <= e && isFinite(o.getFullYear()) && o.setFullYear(e), o }).apply(null, a), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[ge] = 24), e._w && void 0 !== e._w.d && e._w.d !== i && (g(e).weekdayMismatch = !0) } } var ft = /^\\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)?)?$/, mt = /^\\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)?)?$/, _t = /Z|[+-]\\d\\d(?::?\\d\\d)?/, yt = [[\"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}/]], gt = [[\"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/]], pt = /^\\/?Date\\((\\-?\\d+)/i; function vt(e) { var t, n, s, i, r, a, o = e._i, u = ft.exec(o) || mt.exec(o); if (u) { for (g(e).iso = !0, t = 0, n = yt.length; t < n; t++)if (yt[t][1].exec(u[1])) { i = yt[t][0], s = !1 !== yt[t][2]; break } if (null == i) return void (e._isValid = !1); if (u[3]) { for (t = 0, n = gt.length; t < n; t++)if (gt[t][1].exec(u[3])) { r = (u[2] || \" \") + gt[t][0]; break } if (null == r) return void (e._isValid = !1) } if (!s && null != r) return void (e._isValid = !1); if (u[4]) { if (!_t.exec(u[4])) return void (e._isValid = !1); a = \"Z\" } e._f = i + (r || \"\") + (a || \"\"), kt(e) } else e._isValid = !1 } var wt = /^(?:(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}))$/; function Mt(e, t, n, s, i, r) { var a = [function (e) { var t = parseInt(e, 10); { if (t <= 49) return 2e3 + t; if (t <= 999) return 1900 + t } return t }(e), Re.indexOf(t), parseInt(n, 10), parseInt(s, 10), parseInt(i, 10)]; return r && a.push(parseInt(r, 10)), a } var St = { UT: 0, GMT: 0, EDT: -240, EST: -300, CDT: -300, CST: -360, MDT: -360, MST: -420, PDT: -420, PST: -480 }; function Dt(e) { var t, n, s, i = wt.exec(e._i.replace(/\\([^)]*\\)|[\\n\\t]/g, \" \").replace(/(\\s\\s+)/g, \" \").replace(/^\\s\\s*/, \"\").replace(/\\s\\s*$/, \"\")); if (i) { var r = Mt(i[4], i[3], i[2], i[5], i[6], i[7]); if (t = i[1], n = r, s = e, t && Ze.indexOf(t) !== new Date(n[0], n[1], n[2]).getDay() && (g(s).weekdayMismatch = !0, !(s._isValid = !1))) return; e._a = r, e._tzm = function (e, t, n) { if (e) return St[e]; if (t) return 0; var s = parseInt(n, 10), i = s % 100; return (s - i) / 100 * 60 + i }(i[8], i[9], i[10]), e._d = Ge.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), g(e).rfc2822 = !0 } else e._isValid = !1 } function kt(e) { if (e._f !== c.ISO_8601) if (e._f !== c.RFC_2822) { e._a = [], g(e).empty = !0; var t, n, s, i, r, a, o, u, l = \"\" + e._i, d = l.length, h = 0; for (s = j(e._f, e._locale).match(N) || [], t = 0; t < s.length; t++)i = s[t], (n = (l.match(le(i, e)) || [])[0]) && (0 < (r = l.substr(0, l.indexOf(n))).length && g(e).unusedInput.push(r), l = l.slice(l.indexOf(n) + n.length), h += n.length), E[i] ? (n ? g(e).empty = !1 : g(e).unusedTokens.push(i), a = i, u = e, null != (o = n) && m(he, a) && he[a](o, u._a, u, a)) : e._strict && !n && g(e).unusedTokens.push(i); g(e).charsLeftOver = d - h, 0 < l.length && g(e).unusedInput.push(l), e._a[ge] <= 12 && !0 === g(e).bigHour && 0 < e._a[ge] && (g(e).bigHour = void 0), g(e).parsedDateParts = e._a.slice(0), g(e).meridiem = e._meridiem, e._a[ge] = function (e, t, n) { var s; if (null == n) return t; return null != e.meridiemHour ? e.meridiemHour(t, n) : (null != e.isPM && ((s = e.isPM(n)) && t < 12 && (t += 12), s || 12 !== t || (t = 0)), t) }(e._locale, e._a[ge], e._meridiem), ct(e), dt(e) } else Dt(e); else vt(e) } function Yt(e) { var t, n, s, i, r = e._i, a = e._f; return e._locale = e._locale || lt(e._l), null === r || void 0 === a && \"\" === r ? v({ nullInput: !0 }) : (\"string\" == typeof r && (e._i = r = e._locale.preparse(r)), S(r) ? new M(dt(r)) : (h(r) ? e._d = r : o(a) ? function (e) { var t, n, s, i, r; if (0 === e._f.length) return g(e).invalidFormat = !0, e._d = new Date(NaN); for (i = 0; i < e._f.length; i++)r = 0, t = w({}, e), null != e._useUTC && (t._useUTC = e._useUTC), t._f = e._f[i], kt(t), p(t) && (r += g(t).charsLeftOver, r += 10 * g(t).unusedTokens.length, g(t).score = r, (null == s || r < s) && (s = r, n = t)); _(e, n || t) }(e) : a ? kt(e) : l(n = (t = e)._i) ? t._d = new Date(c.now()) : h(n) ? t._d = new Date(n.valueOf()) : \"string\" == typeof n ? (s = t, null === (i = pt.exec(s._i)) ? (vt(s), !1 === s._isValid && (delete s._isValid, Dt(s), !1 === s._isValid && (delete s._isValid, c.createFromInputFallback(s)))) : s._d = new Date(+i[1])) : o(n) ? (t._a = f(n.slice(0), function (e) { return parseInt(e, 10) }), ct(t)) : u(n) ? function (e) { if (!e._d) { var t = C(e._i); e._a = f([t.year, t.month, t.day || t.date, t.hour, t.minute, t.second, t.millisecond], function (e) { return e && parseInt(e, 10) }), ct(e) } }(t) : d(n) ? t._d = new Date(n) : c.createFromInputFallback(t), p(e) || (e._d = null), e)) } function Ot(e, t, n, s, i) { var r, a = {}; return !0 !== n && !1 !== n || (s = n, n = void 0), (u(e) && function (e) { if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e).length; var t; for (t in e) if (e.hasOwnProperty(t)) return !1; return !0 }(e) || o(e) && 0 === e.length) && (e = void 0), a._isAMomentObject = !0, a._useUTC = a._isUTC = i, a._l = n, a._i = e, a._f = t, a._strict = s, (r = new M(dt(Yt(a))))._nextDay && (r.add(1, \"d\"), r._nextDay = void 0), r } function Tt(e, t, n, s) { return Ot(e, t, n, s, !1) } c.createFromInputFallback = n(\"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 (e) { e._d = new Date(e._i + (e._useUTC ? \" UTC\" : \"\")) }), c.ISO_8601 = function () { }, c.RFC_2822 = function () { }; var xt = n(\"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/\", function () { var e = Tt.apply(null, arguments); return this.isValid() && e.isValid() ? e < this ? this : e : v() }), bt = n(\"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/\", function () { var e = Tt.apply(null, arguments); return this.isValid() && e.isValid() ? this < e ? this : e : v() }); function Pt(e, t) { var n, s; if (1 === t.length && o(t[0]) && (t = t[0]), !t.length) return Tt(); for (n = t[0], s = 1; s < t.length; ++s)t[s].isValid() && !t[s][e](n) || (n = t[s]); return n } var Wt = [\"year\", \"quarter\", \"month\", \"week\", \"day\", \"hour\", \"minute\", \"second\", \"millisecond\"]; function Ht(e) { var t = C(e), n = t.year || 0, s = t.quarter || 0, i = t.month || 0, r = t.week || 0, a = t.day || 0, o = t.hour || 0, u = t.minute || 0, l = t.second || 0, d = t.millisecond || 0; this._isValid = function (e) { for (var t in e) if (-1 === Ye.call(Wt, t) || null != e[t] && isNaN(e[t])) return !1; for (var n = !1, s = 0; s < Wt.length; ++s)if (e[Wt[s]]) { if (n) return !1; parseFloat(e[Wt[s]]) !== k(e[Wt[s]]) && (n = !0) } return !0 }(t), this._milliseconds = +d + 1e3 * l + 6e4 * u + 1e3 * o * 60 * 60, this._days = +a + 7 * r, this._months = +i + 3 * s + 12 * n, this._data = {}, this._locale = lt(), this._bubble() } function Rt(e) { return e instanceof Ht } function Ct(e) { return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e) } function Ft(e, n) { I(e, 0, 0, function () { var e = this.utcOffset(), t = \"+\"; return e < 0 && (e = -e, t = \"-\"), t + U(~~(e / 60), 2) + n + U(~~e % 60, 2) }) } Ft(\"Z\", \":\"), Ft(\"ZZ\", \"\"), ue(\"Z\", re), ue(\"ZZ\", re), ce([\"Z\", \"ZZ\"], function (e, t, n) { n._useUTC = !0, n._tzm = Ut(re, e) }); var Lt = /([\\+\\-]|\\d\\d)/gi; function Ut(e, t) { var n = (t || \"\").match(e); if (null === n) return null; var s = ((n[n.length - 1] || []) + \"\").match(Lt) || [\"-\", 0, 0], i = 60 * s[1] + k(s[2]); return 0 === i ? 0 : \"+\" === s[0] ? i : -i } function Nt(e, t) { var n, s; return t._isUTC ? (n = t.clone(), s = (S(e) || h(e) ? e.valueOf() : Tt(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + s), c.updateOffset(n, !1), n) : Tt(e).local() } function Gt(e) { return 15 * -Math.round(e._d.getTimezoneOffset() / 15) } function Vt() { return !!this.isValid() && (this._isUTC && 0 === this._offset) } c.updateOffset = function () { }; var Et = /^(\\-|\\+)?(?:(\\d*)[. ])?(\\d+)\\:(\\d+)(?:\\:(\\d+)(\\.\\d*)?)?$/, It = /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; function At(e, t) { var n, s, i, r = e, a = null; return Rt(e) ? r = { ms: e._milliseconds, d: e._days, M: e._months } : d(e) ? (r = {}, t ? r[t] = e : r.milliseconds = e) : (a = Et.exec(e)) ? (n = \"-\" === a[1] ? -1 : 1, r = { y: 0, d: k(a[ye]) * n, h: k(a[ge]) * n, m: k(a[pe]) * n, s: k(a[ve]) * n, ms: k(Ct(1e3 * a[we])) * n }) : (a = It.exec(e)) ? (n = \"-\" === a[1] ? -1 : (a[1], 1), r = { y: jt(a[2], n), M: jt(a[3], n), w: jt(a[4], n), d: jt(a[5], n), h: jt(a[6], n), m: jt(a[7], n), s: jt(a[8], n) }) : null == r ? r = {} : \"object\" == typeof r && (\"from\" in r || \"to\" in r) && (i = function (e, t) { var n; if (!e.isValid() || !t.isValid()) return { milliseconds: 0, months: 0 }; t = Nt(t, e), e.isBefore(t) ? n = Zt(e, t) : ((n = Zt(t, e)).milliseconds = -n.milliseconds, n.months = -n.months); return n }(Tt(r.from), Tt(r.to)), (r = {}).ms = i.milliseconds, r.M = i.months), s = new Ht(r), Rt(e) && m(e, \"_locale\") && (s._locale = e._locale), s } function jt(e, t) { var n = e && parseFloat(e.replace(\",\", \".\")); return (isNaN(n) ? 0 : n) * t } function Zt(e, t) { var n = { milliseconds: 0, months: 0 }; return n.months = t.month() - e.month() + 12 * (t.year() - e.year()), e.clone().add(n.months, \"M\").isAfter(t) && --n.months, n.milliseconds = +t - +e.clone().add(n.months, \"M\"), n } function zt(s, i) { return function (e, t) { var n; return null === t || isNaN(+t) || (T(i, \"moment().\" + i + \"(period, number) is deprecated. Please use moment().\" + i + \"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.\"), n = e, e = t, t = n), $t(this, At(e = \"string\" == typeof e ? +e : e, t), s), this } } function $t(e, t, n, s) { var i = t._milliseconds, r = Ct(t._days), a = Ct(t._months); e.isValid() && (s = null == s || s, a && Ce(e, xe(e, \"Month\") + a * n), r && be(e, \"Date\", xe(e, \"Date\") + r * n), i && e._d.setTime(e._d.valueOf() + i * n), s && c.updateOffset(e, r || a)) } At.fn = Ht.prototype, At.invalid = function () { return At(NaN) }; var qt = zt(1, \"add\"), Jt = zt(-1, \"subtract\"); function Bt(e, t) { var n = 12 * (t.year() - e.year()) + (t.month() - e.month()), s = e.clone().add(n, \"months\"); return -(n + (t - s < 0 ? (t - s) / (s - e.clone().add(n - 1, \"months\")) : (t - s) / (e.clone().add(n + 1, \"months\") - s))) || 0 } function Qt(e) { var t; return void 0 === e ? this._locale._abbr : (null != (t = lt(e)) && (this._locale = t), this) } c.defaultFormat = \"YYYY-MM-DDTHH:mm:ssZ\", c.defaultFormatUtc = \"YYYY-MM-DDTHH:mm:ss[Z]\"; var Xt = n(\"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.\", function (e) { return void 0 === e ? this.localeData() : this.locale(e) }); function Kt() { return this._locale } function en(e, t) { I(0, [e, e.length], 0, t) } function tn(e, t, n, s, i) { var r; return null == e ? Ie(this, s, i).year : ((r = Ae(e, s, i)) < t && (t = r), function (e, t, n, s, i) { var r = Ee(e, t, n, s, i), a = Ge(r.year, 0, r.dayOfYear); return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this }.call(this, e, t, n, s, i)) } I(0, [\"gg\", 2], 0, function () { return this.weekYear() % 100 }), I(0, [\"GG\", 2], 0, function () { return this.isoWeekYear() % 100 }), en(\"gggg\", \"weekYear\"), en(\"ggggg\", \"weekYear\"), en(\"GGGG\", \"isoWeekYear\"), en(\"GGGGG\", \"isoWeekYear\"), H(\"weekYear\", \"gg\"), H(\"isoWeekYear\", \"GG\"), L(\"weekYear\", 1), L(\"isoWeekYear\", 1), ue(\"G\", se), ue(\"g\", se), ue(\"GG\", B, z), ue(\"gg\", B, z), ue(\"GGGG\", ee, q), ue(\"gggg\", ee, q), ue(\"GGGGG\", te, J), ue(\"ggggg\", te, J), fe([\"gggg\", \"ggggg\", \"GGGG\", \"GGGGG\"], function (e, t, n, s) { t[s.substr(0, 2)] = k(e) }), fe([\"gg\", \"GG\"], function (e, t, n, s) { t[s] = c.parseTwoDigitYear(e) }), I(\"Q\", 0, \"Qo\", \"quarter\"), H(\"quarter\", \"Q\"), L(\"quarter\", 7), ue(\"Q\", Z), ce(\"Q\", function (e, t) { t[_e] = 3 * (k(e) - 1) }), I(\"D\", [\"DD\", 2], \"Do\", \"date\"), H(\"date\", \"D\"), L(\"date\", 9), ue(\"D\", B), ue(\"DD\", B, z), ue(\"Do\", function (e, t) { return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient }), ce([\"D\", \"DD\"], ye), ce(\"Do\", function (e, t) { t[ye] = k(e.match(B)[0]) }); var nn = Te(\"Date\", !0); I(\"DDD\", [\"DDDD\", 3], \"DDDo\", \"dayOfYear\"), H(\"dayOfYear\", \"DDD\"), L(\"dayOfYear\", 4), ue(\"DDD\", K), ue(\"DDDD\", $), ce([\"DDD\", \"DDDD\"], function (e, t, n) { n._dayOfYear = k(e) }), I(\"m\", [\"mm\", 2], 0, \"minute\"), H(\"minute\", \"m\"), L(\"minute\", 14), ue(\"m\", B), ue(\"mm\", B, z), ce([\"m\", \"mm\"], pe); var sn = Te(\"Minutes\", !1); I(\"s\", [\"ss\", 2], 0, \"second\"), H(\"second\", \"s\"), L(\"second\", 15), ue(\"s\", B), ue(\"ss\", B, z), ce([\"s\", \"ss\"], ve); var rn, an = Te(\"Seconds\", !1); for (I(\"S\", 0, 0, function () { return ~~(this.millisecond() / 100) }), I(0, [\"SS\", 2], 0, function () { return ~~(this.millisecond() / 10) }), I(0, [\"SSS\", 3], 0, \"millisecond\"), I(0, [\"SSSS\", 4], 0, function () { return 10 * this.millisecond() }), I(0, [\"SSSSS\", 5], 0, function () { return 100 * this.millisecond() }), I(0, [\"SSSSSS\", 6], 0, function () { return 1e3 * this.millisecond() }), I(0, [\"SSSSSSS\", 7], 0, function () { return 1e4 * this.millisecond() }), I(0, [\"SSSSSSSS\", 8], 0, function () { return 1e5 * this.millisecond() }), I(0, [\"SSSSSSSSS\", 9], 0, function () { return 1e6 * this.millisecond() }), H(\"millisecond\", \"ms\"), L(\"millisecond\", 16), ue(\"S\", K, Z), ue(\"SS\", K, z), ue(\"SSS\", K, $), rn = \"SSSS\"; rn.length <= 9; rn += \"S\")ue(rn, ne); function on(e, t) { t[we] = k(1e3 * (\"0.\" + e)) } for (rn = \"S\"; rn.length <= 9; rn += \"S\")ce(rn, on); var un = Te(\"Milliseconds\", !1); I(\"z\", 0, 0, \"zoneAbbr\"), I(\"zz\", 0, 0, \"zoneName\"); var ln = M.prototype; function dn(e) { return e } ln.add = qt, ln.calendar = function (e, t) { var n = e || Tt(), s = Nt(n, this).startOf(\"day\"), i = c.calendarFormat(this, s) || \"sameElse\", r = t && (x(t[i]) ? t[i].call(this, n) : t[i]); return this.format(r || this.localeData().calendar(i, this, Tt(n))) }, ln.clone = function () { return new M(this) }, ln.diff = function (e, t, n) { var s, i, r; if (!this.isValid()) return NaN; if (!(s = Nt(e, this)).isValid()) return NaN; switch (i = 6e4 * (s.utcOffset() - this.utcOffset()), t = R(t)) { case \"year\": r = Bt(this, s) / 12; break; case \"month\": r = Bt(this, s); break; case \"quarter\": r = Bt(this, s) / 3; break; case \"second\": r = (this - s) / 1e3; break; case \"minute\": r = (this - s) / 6e4; break; case \"hour\": r = (this - s) / 36e5; break; case \"day\": r = (this - s - i) / 864e5; break; case \"week\": r = (this - s - i) / 6048e5; break; default: r = this - s }return n ? r : D(r) }, ln.endOf = function (e) { return void 0 === (e = R(e)) || \"millisecond\" === e ? this : (\"date\" === e && (e = \"day\"), this.startOf(e).add(1, \"isoWeek\" === e ? \"week\" : e).subtract(1, \"ms\")) }, ln.format = function (e) { e || (e = this.isUtc() ? c.defaultFormatUtc : c.defaultFormat); var t = A(this, e); return this.localeData().postformat(t) }, ln.from = function (e, t) { return this.isValid() && (S(e) && e.isValid() || Tt(e).isValid()) ? At({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate() }, ln.fromNow = function (e) { return this.from(Tt(), e) }, ln.to = function (e, t) { return this.isValid() && (S(e) && e.isValid() || Tt(e).isValid()) ? At({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate() }, ln.toNow = function (e) { return this.to(Tt(), e) }, ln.get = function (e) { return x(this[e = R(e)]) ? this[e]() : this }, ln.invalidAt = function () { return g(this).overflow }, ln.isAfter = function (e, t) { var n = S(e) ? e : Tt(e); return !(!this.isValid() || !n.isValid()) && (\"millisecond\" === (t = R(l(t) ? \"millisecond\" : t)) ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf()) }, ln.isBefore = function (e, t) { var n = S(e) ? e : Tt(e); return !(!this.isValid() || !n.isValid()) && (\"millisecond\" === (t = R(l(t) ? \"millisecond\" : t)) ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf()) }, ln.isBetween = function (e, t, n, s) { return (\"(\" === (s = s || \"()\")[0] ? this.isAfter(e, n) : !this.isBefore(e, n)) && (\")\" === s[1] ? this.isBefore(t, n) : !this.isAfter(t, n)) }, ln.isSame = function (e, t) { var n, s = S(e) ? e : Tt(e); return !(!this.isValid() || !s.isValid()) && (\"millisecond\" === (t = R(t || \"millisecond\")) ? this.valueOf() === s.valueOf() : (n = s.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf())) }, ln.isSameOrAfter = function (e, t) { return this.isSame(e, t) || this.isAfter(e, t) }, ln.isSameOrBefore = function (e, t) { return this.isSame(e, t) || this.isBefore(e, t) }, ln.isValid = function () { return p(this) }, ln.lang = Xt, ln.locale = Qt, ln.localeData = Kt, ln.max = bt, ln.min = xt, ln.parsingFlags = function () { return _({}, g(this)) }, ln.set = function (e, t) { if (\"object\" == typeof e) for (var n = function (e) { var t = []; for (var n in e) t.push({ unit: n, priority: F[n] }); return t.sort(function (e, t) { return e.priority - t.priority }), t }(e = C(e)), s = 0; s < n.length; s++)this[n[s].unit](e[n[s].unit]); else if (x(this[e = R(e)])) return this[e](t); return this }, ln.startOf = function (e) { switch (e = R(e)) { 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\" === e && this.weekday(0), \"isoWeek\" === e && this.isoWeekday(1), \"quarter\" === e && this.month(3 * Math.floor(this.month() / 3)), this }, ln.subtract = Jt, ln.toArray = function () { var e = this; return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()] }, ln.toObject = function () { var e = this; return { years: e.year(), months: e.month(), date: e.date(), hours: e.hours(), minutes: e.minutes(), seconds: e.seconds(), milliseconds: e.milliseconds() } }, ln.toDate = function () { return new Date(this.valueOf()) }, ln.toISOString = function (e) { if (!this.isValid()) return null; var t = !0 !== e, n = t ? this.clone().utc() : this; return n.year() < 0 || 9999 < n.year() ? A(n, t ? \"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]\" : \"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ\") : x(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace(\"Z\", A(n, \"Z\")) : A(n, t ? \"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]\" : \"YYYY-MM-DD[T]HH:mm:ss.SSSZ\") }, ln.inspect = function () { if (!this.isValid()) return \"moment.invalid(/* \" + this._i + \" */)\"; var e = \"moment\", t = \"\"; this.isLocal() || (e = 0 === this.utcOffset() ? \"moment.utc\" : \"moment.parseZone\", t = \"Z\"); var n = \"[\" + e + '(\"]', s = 0 <= this.year() && this.year() <= 9999 ? \"YYYY\" : \"YYYYYY\", i = t + '[\")]'; return this.format(n + s + \"-MM-DD[T]HH:mm:ss.SSS\" + i) }, ln.toJSON = function () { return this.isValid() ? this.toISOString() : null }, ln.toString = function () { return this.clone().locale(\"en\").format(\"ddd MMM DD YYYY HH:mm:ss [GMT]ZZ\") }, ln.unix = function () { return Math.floor(this.valueOf() / 1e3) }, ln.valueOf = function () { return this._d.valueOf() - 6e4 * (this._offset || 0) }, ln.creationData = function () { return { input: this._i, format: this._f, locale: this._locale, isUTC: this._isUTC, strict: this._strict } }, ln.year = Oe, ln.isLeapYear = function () { return ke(this.year()) }, ln.weekYear = function (e) { return tn.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy) }, ln.isoWeekYear = function (e) { return tn.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4) }, ln.quarter = ln.quarters = function (e) { return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3) }, ln.month = Fe, ln.daysInMonth = function () { return Pe(this.year(), this.month()) }, ln.week = ln.weeks = function (e) { var t = this.localeData().week(this); return null == e ? t : this.add(7 * (e - t), \"d\") }, ln.isoWeek = ln.isoWeeks = function (e) { var t = Ie(this, 1, 4).week; return null == e ? t : this.add(7 * (e - t), \"d\") }, ln.weeksInYear = function () { var e = this.localeData()._week; return Ae(this.year(), e.dow, e.doy) }, ln.isoWeeksInYear = function () { return Ae(this.year(), 1, 4) }, ln.date = nn, ln.day = ln.days = function (e) { if (!this.isValid()) return null != e ? this : NaN; var t, n, s = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); return null != e ? (t = e, n = this.localeData(), e = \"string\" != typeof t ? t : isNaN(t) ? \"number\" == typeof (t = n.weekdaysParse(t)) ? t : null : parseInt(t, 10), this.add(e - s, \"d\")) : s }, ln.weekday = function (e) { if (!this.isValid()) return null != e ? this : NaN; var t = (this.day() + 7 - this.localeData()._week.dow) % 7; return null == e ? t : this.add(e - t, \"d\") }, ln.isoWeekday = function (e) { if (!this.isValid()) return null != e ? this : NaN; if (null != e) { var t = (n = e, s = this.localeData(), \"string\" == typeof n ? s.weekdaysParse(n) % 7 || 7 : isNaN(n) ? null : n); return this.day(this.day() % 7 ? t : t - 7) } return this.day() || 7; var n, s }, ln.dayOfYear = function (e) { var t = Math.round((this.clone().startOf(\"day\") - this.clone().startOf(\"year\")) / 864e5) + 1; return null == e ? t : this.add(e - t, \"d\") }, ln.hour = ln.hours = tt, ln.minute = ln.minutes = sn, ln.second = ln.seconds = an, ln.millisecond = ln.milliseconds = un, ln.utcOffset = function (e, t, n) { var s, i = this._offset || 0; if (!this.isValid()) return null != e ? this : NaN; if (null != e) { if (\"string\" == typeof e) { if (null === (e = Ut(re, e))) return this } else Math.abs(e) < 16 && !n && (e *= 60); return !this._isUTC && t && (s = Gt(this)), this._offset = e, this._isUTC = !0, null != s && this.add(s, \"m\"), i !== e && (!t || this._changeInProgress ? $t(this, At(e - i, \"m\"), 1, !1) : this._changeInProgress || (this._changeInProgress = !0, c.updateOffset(this, !0), this._changeInProgress = null)), this } return this._isUTC ? i : Gt(this) }, ln.utc = function (e) { return this.utcOffset(0, e) }, ln.local = function (e) { return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Gt(this), \"m\")), this }, ln.parseZone = function () { if (null != this._tzm) this.utcOffset(this._tzm, !1, !0); else if (\"string\" == typeof this._i) { var e = Ut(ie, this._i); null != e ? this.utcOffset(e) : this.utcOffset(0, !0) } return this }, ln.hasAlignedHourOffset = function (e) { return !!this.isValid() && (e = e ? Tt(e).utcOffset() : 0, (this.utcOffset() - e) % 60 == 0) }, ln.isDST = function () { return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset() }, ln.isLocal = function () { return !!this.isValid() && !this._isUTC }, ln.isUtcOffset = function () { return !!this.isValid() && this._isUTC }, ln.isUtc = Vt, ln.isUTC = Vt, ln.zoneAbbr = function () { return this._isUTC ? \"UTC\" : \"\" }, ln.zoneName = function () { return this._isUTC ? \"Coordinated Universal Time\" : \"\" }, ln.dates = n(\"dates accessor is deprecated. Use date instead.\", nn), ln.months = n(\"months accessor is deprecated. Use month instead\", Fe), ln.years = n(\"years accessor is deprecated. Use year instead\", Oe), ln.zone = n(\"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/\", function (e, t) { return null != e ? (\"string\" != typeof e && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset() }), ln.isDSTShifted = n(\"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information\", function () { if (!l(this._isDSTShifted)) return this._isDSTShifted; var e = {}; if (w(e, this), (e = Yt(e))._a) { var t = e._isUTC ? y(e._a) : Tt(e._a); this._isDSTShifted = this.isValid() && 0 < a(e._a, t.toArray()) } else this._isDSTShifted = !1; return this._isDSTShifted }); var hn = P.prototype; function cn(e, t, n, s) { var i = lt(), r = y().set(s, t); return i[n](r, e) } function fn(e, t, n) { if (d(e) && (t = e, e = void 0), e = e || \"\", null != t) return cn(e, t, n, \"month\"); var s, i = []; for (s = 0; s < 12; s++)i[s] = cn(e, s, n, \"month\"); return i } function mn(e, t, n, s) { \"boolean\" == typeof e ? d(t) && (n = t, t = void 0) : (t = e, e = !1, d(n = t) && (n = t, t = void 0)), t = t || \"\"; var i, r = lt(), a = e ? r._week.dow : 0; if (null != n) return cn(t, (n + a) % 7, s, \"day\"); var o = []; for (i = 0; i < 7; i++)o[i] = cn(t, (i + a) % 7, s, \"day\"); return o } hn.calendar = function (e, t, n) { var s = this._calendar[e] || this._calendar.sameElse; return x(s) ? s.call(t, n) : s }, hn.longDateFormat = function (e) { var t = this._longDateFormat[e], n = this._longDateFormat[e.toUpperCase()]; return t || !n ? t : (this._longDateFormat[e] = n.replace(/MMMM|MM|DD|dddd/g, function (e) { return e.slice(1) }), this._longDateFormat[e]) }, hn.invalidDate = function () { return this._invalidDate }, hn.ordinal = function (e) { return this._ordinal.replace(\"%d\", e) }, hn.preparse = dn, hn.postformat = dn, hn.relativeTime = function (e, t, n, s) { var i = this._relativeTime[n]; return x(i) ? i(e, t, n, s) : i.replace(/%d/i, e) }, hn.pastFuture = function (e, t) { var n = this._relativeTime[0 < e ? \"future\" : \"past\"]; return x(n) ? n(t) : n.replace(/%s/i, t) }, hn.set = function (e) { var t, n; for (n in e) x(t = e[n]) ? this[n] = t : this[\"_\" + n] = t; this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + \"|\" + /\\d{1,2}/.source) }, hn.months = function (e, t) { return e ? o(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || We).test(t) ? \"format\" : \"standalone\"][e.month()] : o(this._months) ? this._months : this._months.standalone }, hn.monthsShort = function (e, t) { return e ? o(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[We.test(t) ? \"format\" : \"standalone\"][e.month()] : o(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone }, hn.monthsParse = function (e, t, n) { var s, i, r; if (this._monthsParseExact) return function (e, t, n) { var s, i, r, a = e.toLocaleLowerCase(); if (!this._monthsParse) for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)r = y([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(r, \"\").toLocaleLowerCase(), this._longMonthsParse[s] = this.months(r, \"\").toLocaleLowerCase(); return n ? \"MMM\" === t ? -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : null : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : null : \"MMM\" === t ? -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : null : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : null }.call(this, e, t, n); for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) { if (i = y([2e3, s]), n && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(\"^\" + this.months(i, \"\").replace(\".\", \"\") + \"$\", \"i\"), this._shortMonthsParse[s] = new RegExp(\"^\" + this.monthsShort(i, \"\").replace(\".\", \"\") + \"$\", \"i\")), n || this._monthsParse[s] || (r = \"^\" + this.months(i, \"\") + \"|^\" + this.monthsShort(i, \"\"), this._monthsParse[s] = new RegExp(r.replace(\".\", \"\"), \"i\")), n && \"MMMM\" === t && this._longMonthsParse[s].test(e)) return s; if (n && \"MMM\" === t && this._shortMonthsParse[s].test(e)) return s; if (!n && this._monthsParse[s].test(e)) return s } }, hn.monthsRegex = function (e) { return this._monthsParseExact ? (m(this, \"_monthsRegex\") || Ne.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (m(this, \"_monthsRegex\") || (this._monthsRegex = Ue), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex) }, hn.monthsShortRegex = function (e) { return this._monthsParseExact ? (m(this, \"_monthsRegex\") || Ne.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (m(this, \"_monthsShortRegex\") || (this._monthsShortRegex = Le), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex) }, hn.week = function (e) { return Ie(e, this._week.dow, this._week.doy).week }, hn.firstDayOfYear = function () { return this._week.doy }, hn.firstDayOfWeek = function () { return this._week.dow }, hn.weekdays = function (e, t) { return e ? o(this._weekdays) ? this._weekdays[e.day()] : this._weekdays[this._weekdays.isFormat.test(t) ? \"format\" : \"standalone\"][e.day()] : o(this._weekdays) ? this._weekdays : this._weekdays.standalone }, hn.weekdaysMin = function (e) { return e ? this._weekdaysMin[e.day()] : this._weekdaysMin }, hn.weekdaysShort = function (e) { return e ? this._weekdaysShort[e.day()] : this._weekdaysShort }, hn.weekdaysParse = function (e, t, n) { var s, i, r; if (this._weekdaysParseExact) return function (e, t, n) { var s, i, r, a = e.toLocaleLowerCase(); if (!this._weekdaysParse) for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)r = y([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(r, \"\").toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(r, \"\").toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(r, \"\").toLocaleLowerCase(); return n ? \"dddd\" === t ? -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : null : \"ddd\" === t ? -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : null : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : \"dddd\" === t ? -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : \"ddd\" === t ? -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : null }.call(this, e, t, n); for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) { if (i = y([2e3, 1]).day(s), n && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(\"^\" + this.weekdays(i, \"\").replace(\".\", \"\\\\.?\") + \"$\", \"i\"), this._shortWeekdaysParse[s] = new RegExp(\"^\" + this.weekdaysShort(i, \"\").replace(\".\", \"\\\\.?\") + \"$\", \"i\"), this._minWeekdaysParse[s] = new RegExp(\"^\" + this.weekdaysMin(i, \"\").replace(\".\", \"\\\\.?\") + \"$\", \"i\")), this._weekdaysParse[s] || (r = \"^\" + this.weekdays(i, \"\") + \"|^\" + this.weekdaysShort(i, \"\") + \"|^\" + this.weekdaysMin(i, \"\"), this._weekdaysParse[s] = new RegExp(r.replace(\".\", \"\"), \"i\")), n && \"dddd\" === t && this._fullWeekdaysParse[s].test(e)) return s; if (n && \"ddd\" === t && this._shortWeekdaysParse[s].test(e)) return s; if (n && \"dd\" === t && this._minWeekdaysParse[s].test(e)) return s; if (!n && this._weekdaysParse[s].test(e)) return s } }, hn.weekdaysRegex = function (e) { return this._weekdaysParseExact ? (m(this, \"_weekdaysRegex\") || Be.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (m(this, \"_weekdaysRegex\") || (this._weekdaysRegex = $e), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex) }, hn.weekdaysShortRegex = function (e) { return this._weekdaysParseExact ? (m(this, \"_weekdaysRegex\") || Be.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (m(this, \"_weekdaysShortRegex\") || (this._weekdaysShortRegex = qe), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) }, hn.weekdaysMinRegex = function (e) { return this._weekdaysParseExact ? (m(this, \"_weekdaysRegex\") || Be.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (m(this, \"_weekdaysMinRegex\") || (this._weekdaysMinRegex = Je), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) }, hn.isPM = function (e) { return \"p\" === (e + \"\").toLowerCase().charAt(0) }, hn.meridiem = function (e, t, n) { return 11 < e ? n ? \"pm\" : \"PM\" : n ? \"am\" : \"AM\" }, ot(\"en\", { dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/, ordinal: function (e) { var t = e % 10; return e + (1 === k(e % 100 / 10) ? \"th\" : 1 === t ? \"st\" : 2 === t ? \"nd\" : 3 === t ? \"rd\" : \"th\") } }), c.lang = n(\"moment.lang is deprecated. Use moment.locale instead.\", ot), c.langData = n(\"moment.langData is deprecated. Use moment.localeData instead.\", lt); var _n = Math.abs; function yn(e, t, n, s) { var i = At(t, n); return e._milliseconds += s * i._milliseconds, e._days += s * i._days, e._months += s * i._months, e._bubble() } function gn(e) { return e < 0 ? Math.floor(e) : Math.ceil(e) } function pn(e) { return 4800 * e / 146097 } function vn(e) { return 146097 * e / 4800 } function wn(e) { return function () { return this.as(e) } } var Mn = wn(\"ms\"), Sn = wn(\"s\"), Dn = wn(\"m\"), kn = wn(\"h\"), Yn = wn(\"d\"), On = wn(\"w\"), Tn = wn(\"M\"), xn = wn(\"y\"); function bn(e) { return function () { return this.isValid() ? this._data[e] : NaN } } var Pn = bn(\"milliseconds\"), Wn = bn(\"seconds\"), Hn = bn(\"minutes\"), Rn = bn(\"hours\"), Cn = bn(\"days\"), Fn = bn(\"months\"), Ln = bn(\"years\"); var Un = Math.round, Nn = { ss: 44, s: 45, m: 45, h: 22, d: 26, M: 11 }; var Gn = Math.abs; function Vn(e) { return (0 < e) - (e < 0) || +e } function En() { if (!this.isValid()) return this.localeData().invalidDate(); var e, t, n = Gn(this._milliseconds) / 1e3, s = Gn(this._days), i = Gn(this._months); t = D((e = D(n / 60)) / 60), n %= 60, e %= 60; var r = D(i / 12), a = i %= 12, o = s, u = t, l = e, d = n ? n.toFixed(3).replace(/\\.?0+$/, \"\") : \"\", h = this.asSeconds(); if (!h) return \"P0D\"; var c = h < 0 ? \"-\" : \"\", f = Vn(this._months) !== Vn(h) ? \"-\" : \"\", m = Vn(this._days) !== Vn(h) ? \"-\" : \"\", _ = Vn(this._milliseconds) !== Vn(h) ? \"-\" : \"\"; return c + \"P\" + (r ? f + r + \"Y\" : \"\") + (a ? f + a + \"M\" : \"\") + (o ? m + o + \"D\" : \"\") + (u || l || d ? \"T\" : \"\") + (u ? _ + u + \"H\" : \"\") + (l ? _ + l + \"M\" : \"\") + (d ? _ + d + \"S\" : \"\") } var In = Ht.prototype; return In.isValid = function () { return this._isValid }, In.abs = function () { var e = this._data; return this._milliseconds = _n(this._milliseconds), this._days = _n(this._days), this._months = _n(this._months), e.milliseconds = _n(e.milliseconds), e.seconds = _n(e.seconds), e.minutes = _n(e.minutes), e.hours = _n(e.hours), e.months = _n(e.months), e.years = _n(e.years), this }, In.add = function (e, t) { return yn(this, e, t, 1) }, In.subtract = function (e, t) { return yn(this, e, t, -1) }, In.as = function (e) { if (!this.isValid()) return NaN; var t, n, s = this._milliseconds; if (\"month\" === (e = R(e)) || \"year\" === e) return t = this._days + s / 864e5, n = this._months + pn(t), \"month\" === e ? n : n / 12; switch (t = this._days + Math.round(vn(this._months)), e) { case \"week\": return t / 7 + s / 6048e5; case \"day\": return t + s / 864e5; case \"hour\": return 24 * t + s / 36e5; case \"minute\": return 1440 * t + s / 6e4; case \"second\": return 86400 * t + s / 1e3; case \"millisecond\": return Math.floor(864e5 * t) + s; default: throw new Error(\"Unknown unit \" + e) } }, In.asMilliseconds = Mn, In.asSeconds = Sn, In.asMinutes = Dn, In.asHours = kn, In.asDays = Yn, In.asWeeks = On, In.asMonths = Tn, In.asYears = xn, In.valueOf = function () { return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * k(this._months / 12) : NaN }, In._bubble = function () { var e, t, n, s, i, r = this._milliseconds, a = this._days, o = this._months, u = this._data; return 0 <= r && 0 <= a && 0 <= o || r <= 0 && a <= 0 && o <= 0 || (r += 864e5 * gn(vn(o) + a), o = a = 0), u.milliseconds = r % 1e3, e = D(r / 1e3), u.seconds = e % 60, t = D(e / 60), u.minutes = t % 60, n = D(t / 60), u.hours = n % 24, o += i = D(pn(a += D(n / 24))), a -= gn(vn(i)), s = D(o / 12), o %= 12, u.days = a, u.months = o, u.years = s, this }, In.clone = function () { return At(this) }, In.get = function (e) { return e = R(e), this.isValid() ? this[e + \"s\"]() : NaN }, In.milliseconds = Pn, In.seconds = Wn, In.minutes = Hn, In.hours = Rn, In.days = Cn, In.weeks = function () { return D(this.days() / 7) }, In.months = Fn, In.years = Ln, In.humanize = function (e) { if (!this.isValid()) return this.localeData().invalidDate(); var t, n, s, i, r, a, o, u, l, d, h, c = this.localeData(), f = (n = !e, s = c, i = At(t = this).abs(), r = Un(i.as(\"s\")), a = Un(i.as(\"m\")), o = Un(i.as(\"h\")), u = Un(i.as(\"d\")), l = Un(i.as(\"M\")), d = Un(i.as(\"y\")), (h = r <= Nn.ss && [\"s\", r] || r < Nn.s && [\"ss\", r] || a <= 1 && [\"m\"] || a < Nn.m && [\"mm\", a] || o <= 1 && [\"h\"] || o < Nn.h && [\"hh\", o] || u <= 1 && [\"d\"] || u < Nn.d && [\"dd\", u] || l <= 1 && [\"M\"] || l < Nn.M && [\"MM\", l] || d <= 1 && [\"y\"] || [\"yy\", d])[2] = n, h[3] = 0 < +t, h[4] = s, function (e, t, n, s, i) { return i.relativeTime(t || 1, !!n, e, s) }.apply(null, h)); return e && (f = c.pastFuture(+this, f)), c.postformat(f) }, In.toISOString = En, In.toString = En, In.toJSON = En, In.locale = Qt, In.localeData = Kt, In.toIsoString = n(\"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)\", En), In.lang = Xt, I(\"X\", 0, 0, \"unix\"), I(\"x\", 0, 0, \"valueOf\"), ue(\"x\", se), ue(\"X\", /[+-]?\\d+(\\.\\d{1,3})?/), ce(\"X\", function (e, t, n) { n._d = new Date(1e3 * parseFloat(e, 10)) }), ce(\"x\", function (e, t, n) { n._d = new Date(k(e)) }), c.version = \"2.22.2\", e = Tt, c.fn = ln, c.min = function () { return Pt(\"isBefore\", [].slice.call(arguments, 0)) }, c.max = function () { return Pt(\"isAfter\", [].slice.call(arguments, 0)) }, c.now = function () { return Date.now ? Date.now() : +new Date }, c.utc = y, c.unix = function (e) { return Tt(1e3 * e) }, c.months = function (e, t) { return fn(e, t, \"months\") }, c.isDate = h, c.locale = ot, c.invalid = v, c.duration = At, c.isMoment = S, c.weekdays = function (e, t, n) { return mn(e, t, n, \"weekdays\") }, c.parseZone = function () { return Tt.apply(null, arguments).parseZone() }, c.localeData = lt, c.isDuration = Rt, c.monthsShort = function (e, t) { return fn(e, t, \"monthsShort\") }, c.weekdaysMin = function (e, t, n) { return mn(e, t, n, \"weekdaysMin\") }, c.defineLocale = ut, c.updateLocale = function (e, t) { if (null != t) { var n, s, i = nt; null != (s = at(e)) && (i = s._config), (n = new P(t = b(i, t))).parentLocale = st[e], st[e] = n, ot(e) } else null != st[e] && (null != st[e].parentLocale ? st[e] = st[e].parentLocale : null != st[e] && delete st[e]); return st[e] }, c.locales = function () { return s(st) }, c.weekdaysShort = function (e, t, n) { return mn(e, t, n, \"weekdaysShort\") }, c.normalizeUnits = R, c.relativeTimeRounding = function (e) { return void 0 === e ? Un : \"function\" == typeof e && (Un = e, !0) }, c.relativeTimeThreshold = function (e, t) { return void 0 !== Nn[e] && (void 0 === t ? Nn[e] : (Nn[e] = t, \"s\" === e && (Nn.ss = t - 1), !0)) }, c.calendarFormat = function (e, t) { var n = e.diff(t, \"days\", !0); return n < -6 ? \"sameElse\" : n < -1 ? \"lastWeek\" : n < 0 ? \"lastDay\" : n < 1 ? \"sameDay\" : n < 2 ? \"nextDay\" : n < 7 ? \"nextWeek\" : \"sameElse\" }, c.prototype = ln, c.HTML5_FMT = { DATETIME_LOCAL: \"YYYY-MM-DDTHH:mm\", DATETIME_LOCAL_SECONDS: \"YYYY-MM-DDTHH:mm:ss\", DATETIME_LOCAL_MS: \"YYYY-MM-DDTHH:mm:ss.SSS\", DATE: \"YYYY-MM-DD\", TIME: \"HH:mm\", TIME_SECONDS: \"HH:mm:ss\", TIME_MS: \"HH:mm:ss.SSS\", WEEK: \"YYYY-[W]WW\", MONTH: \"YYYY-MM\" }, c });","!function (a, i) { \"use strict\"; \"object\" == typeof module && module.exports ? module.exports = i(require(\"moment\")) : \"function\" == typeof define && define.amd ? define([\"moment\"], i) : i(a.moment) }(this, function (A) { \"use strict\"; var i, c = {}, n = {}, s = {}, u = {}; A && \"string\" == typeof A.version || N(\"Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/\"); var a = A.version.split(\".\"), e = +a[0], r = +a[1]; function t(a) { return 96 < a ? a - 87 : 64 < a ? a - 29 : a - 48 } function o(a) { var i = 0, e = a.split(\".\"), r = e[0], o = e[1] || \"\", A = 1, c = 0, n = 1; for (45 === a.charCodeAt(0) && (n = -(i = 1)); i < r.length; i++)c = 60 * c + t(r.charCodeAt(i)); for (i = 0; i < o.length; i++)A /= 60, c += t(o.charCodeAt(i)) * A; return c * n } function m(a) { for (var i = 0; i < a.length; i++)a[i] = o(a[i]) } function f(a, i) { var e, r = []; for (e = 0; e < i.length; e++)r[e] = a[i[e]]; return r } function l(a) { var i = a.split(\"|\"), e = i[2].split(\" \"), r = i[3].split(\"\"), o = i[4].split(\" \"); return m(e), m(r), m(o), function (a, i) { for (var e = 0; e < i; e++)a[e] = Math.round((a[e - 1] || 0) + 6e4 * a[e]); a[i - 1] = 1 / 0 }(o, r.length), { name: i[0], abbrs: f(i[1].split(\" \"), r), offsets: f(e, r), untils: o, population: 0 | i[5] } } function p(a) { a && this._set(l(a)) } function b(a) { var i = a.toTimeString(), e = i.match(/\\([a-z ]+\\)/i); \"GMT\" === (e = e && e[0] ? (e = e[0].match(/[A-Z]/g)) ? e.join(\"\") : void 0 : (e = i.match(/[A-Z]{3,5}/g)) ? e[0] : void 0) && (e = void 0), this.at = +a, this.abbr = e, this.offset = a.getTimezoneOffset() } function M(a) { this.zone = a, this.offsetScore = 0, this.abbrScore = 0 } function d(a, i) { for (var e, r; r = 6e4 * ((i.at - a.at) / 12e4 | 0);)(e = new b(new Date(a.at + r))).offset === a.offset ? a = e : i = e; return a } function h(a, i) { return a.offsetScore !== i.offsetScore ? a.offsetScore - i.offsetScore : a.abbrScore !== i.abbrScore ? a.abbrScore - i.abbrScore : i.zone.population - a.zone.population } function z(a, i) { var e, r; for (m(i), e = 0; e < i.length; e++)r = i[e], u[r] = u[r] || {}, u[r][a] = !0 } function E() { try { var a = Intl.DateTimeFormat().resolvedOptions().timeZone; if (a && 3 < a.length) { var i = s[g(a)]; if (i) return i; N(\"Moment Timezone found \" + a + \" from the Intl api, but did not have that data loaded.\") } } catch (a) { } var e, r, o, A = function () { var a, i, e, r = (new Date).getFullYear() - 2, o = new b(new Date(r, 0, 1)), A = [o]; for (e = 1; e < 48; e++)(i = new b(new Date(r, e, 1))).offset !== o.offset && (a = d(o, i), A.push(a), A.push(new b(new Date(a.at + 6e4)))), o = i; for (e = 0; e < 4; e++)A.push(new b(new Date(r + e, 0, 1))), A.push(new b(new Date(r + e, 6, 1))); return A }(), c = A.length, n = function (a) { var i, e, r, o = a.length, A = {}, c = []; for (i = 0; i < o; i++)for (e in r = u[a[i].offset] || {}) r.hasOwnProperty(e) && (A[e] = !0); for (i in A) A.hasOwnProperty(i) && c.push(s[i]); return c }(A), t = []; for (r = 0; r < n.length; r++) { for (e = new M(P(n[r]), c), o = 0; o < c; o++)e.scoreOffsetAt(A[o]); t.push(e) } return t.sort(h), 0 < t.length ? t[0].zone.name : void 0 } function g(a) { return (a || \"\").toLowerCase().replace(/\\//g, \"_\") } function T(a) { var i, e, r, o; for (\"string\" == typeof a && (a = [a]), i = 0; i < a.length; i++)o = g(e = (r = a[i].split(\"|\"))[0]), c[o] = a[i], s[o] = e, z(o, r[2].split(\" \")) } function P(a, i) { a = g(a); var e, r = c[a]; return r instanceof p ? r : \"string\" == typeof r ? (r = new p(r), c[a] = r) : n[a] && i !== P && (e = P(n[a], P)) ? ((r = c[a] = new p)._set(e), r.name = s[a], r) : null } function S(a) { var i, e, r, o; for (\"string\" == typeof a && (a = [a]), i = 0; i < a.length; i++)r = g((e = a[i].split(\"|\"))[0]), o = g(e[1]), n[r] = o, s[r] = e[0], n[o] = r, s[o] = e[1] } function _(a) { T(a.zones), S(a.links), C.dataVersion = a.version } function k(a) { var i = \"X\" === a._f || \"x\" === a._f; return !(!a._a || void 0 !== a._tzm || i) } function N(a) { \"undefined\" != typeof console && \"function\" == typeof console.error && console.error(a) } function C(a) { var i = Array.prototype.slice.call(arguments, 0, -1), e = arguments[arguments.length - 1], r = P(e), o = A.utc.apply(null, i); return r && !A.isMoment(a) && k(o) && o.add(r.parse(o), \"minutes\"), o.tz(e), o } (e < 2 || 2 === e && r < 6) && N(\"Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js \" + A.version + \". See momentjs.com\"), p.prototype = { _set: function (a) { this.name = a.name, this.abbrs = a.abbrs, this.untils = a.untils, this.offsets = a.offsets, this.population = a.population }, _index: function (a) { var i, e = +a, r = this.untils; for (i = 0; i < r.length; i++)if (e < r[i]) return i }, parse: function (a) { var i, e, r, o, A = +a, c = this.offsets, n = this.untils, t = n.length - 1; for (o = 0; o < t; o++)if (i = c[o], e = c[o + 1], r = c[o ? o - 1 : o], i < e && C.moveAmbiguousForward ? i = e : r < i && C.moveInvalidForward && (i = r), A < n[o] - 6e4 * i) return c[o]; return c[t] }, abbr: function (a) { return this.abbrs[this._index(a)] }, offset: function (a) { return N(\"zone.offset has been deprecated in favor of zone.utcOffset\"), this.offsets[this._index(a)] }, utcOffset: function (a) { return this.offsets[this._index(a)] } }, M.prototype.scoreOffsetAt = function (a) { this.offsetScore += Math.abs(this.zone.utcOffset(a.at) - a.offset), this.zone.abbr(a.at).replace(/[^A-Z]/g, \"\") !== a.abbr && this.abbrScore++ }, C.version = \"0.5.23\", C.dataVersion = \"\", C._zones = c, C._links = n, C._names = s, C.add = T, C.link = S, C.load = _, C.zone = P, C.zoneExists = function a(i) { return a.didShowError || (a.didShowError = !0, N(\"moment.tz.zoneExists('\" + i + \"') has been deprecated in favor of !moment.tz.zone('\" + i + \"')\")), !!P(i) }, C.guess = function (a) { return i && !a || (i = E()), i }, C.names = function () { var a, i = []; for (a in s) s.hasOwnProperty(a) && (c[a] || c[n[a]]) && s[a] && i.push(s[a]); return i.sort() }, C.Zone = p, C.unpack = l, C.unpackBase60 = o, C.needsOffset = k, C.moveInvalidForward = !0, C.moveAmbiguousForward = !1; var B, O = A.fn; function G(a) { return function () { return this._z ? this._z.abbr(this) : a.call(this) } } A.tz = C, A.defaultZone = null, A.updateOffset = function (a, i) { var e, r = A.defaultZone; void 0 === a._z && (r && k(a) && !a._isUTC && (a._d = A.utc(a._a)._d, a.utc().add(r.parse(a), \"minutes\")), a._z = r), a._z && (e = a._z.utcOffset(a), Math.abs(e) < 16 && (e /= 60), void 0 !== a.utcOffset ? a.utcOffset(-e, i) : a.zone(e, i)) }, O.tz = function (a, i) { if (a) { if (\"string\" != typeof a) throw new Error(\"Time zone name must be a string, got \" + a + \" [\" + typeof a + \"]\"); return this._z = P(a), this._z ? A.updateOffset(this, i) : N(\"Moment Timezone has no data for \" + a + \". See http://momentjs.com/timezone/docs/#/data-loading/.\"), this } if (this._z) return this._z.name }, O.zoneName = G(O.zoneName), O.zoneAbbr = G(O.zoneAbbr), O.utc = (B = O.utc, function () { return this._z = null, B.apply(this, arguments) }), A.tz.setDefault = function (a) { return (e < 2 || 2 === e && r < 9) && N(\"Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js \" + A.version + \".\"), A.defaultZone = a ? P(a) : null, A }; var D = A.momentProperties; return \"[object Array]\" === Object.prototype.toString.call(D) ? (D.push(\"_z\"), D.push(\"_a\")) : D && (D._z = null), _({ version: \"2018g\", zones: [\"Africa/Abidjan|GMT|0|0||48e5\", \"Africa/Nairobi|EAT|-30|0||47e5\", \"Africa/Algiers|CET|-10|0||26e5\", \"Africa/Lagos|WAT|-10|0||17e6\", \"Africa/Maputo|CAT|-20|0||26e5\", \"Africa/Cairo|EET EEST|-20 -30|01010|1M2m0 gL0 e10 mn0|15e6\", \"Africa/Casablanca|+00 +01|0 -10|0101010101010101010101010101|1H3C0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00|32e5\", \"Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6\", \"Africa/Johannesburg|SAST|-20|0||84e5\", \"Africa/Khartoum|EAT CAT|-30 -20|01|1Usl0|51e5\", \"Africa/Sao_Tome|GMT WAT|0 -10|01|1UQN0\", \"Africa/Tripoli|EET CET CEST|-20 -10 -20|0120|1IlA0 TA0 1o00|11e5\", \"Africa/Windhoek|CAT WAT|-20 -10|0101010101010|1GQo0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|32e4\", \"America/Adak|HST HDT|a0 90|01010101010101010101010|1GIc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326\", \"America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1GIb0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4\", \"America/Santo_Domingo|AST|40|0||29e5\", \"America/Araguaina|-03 -02|30 20|010|1IdD0 Lz0|14e4\", \"America/Fortaleza|-03|30|0||34e5\", \"America/Asuncion|-03 -04|30 40|01010101010101010101010|1GTf0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5\", \"America/Panama|EST|50|0||15e5\", \"America/Mexico_City|CST CDT|60 50|01010101010101010101010|1GQw0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6\", \"America/Bahia|-02 -03|20 30|01|1GCq0|27e5\", \"America/Managua|CST|60|0||22e5\", \"America/La_Paz|-04|40|0||19e5\", \"America/Lima|-05|50|0||11e6\", \"America/Denver|MST MDT|70 60|01010101010101010101010|1GI90 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5\", \"America/Campo_Grande|-03 -04|30 40|01010101010101010101010|1GCr0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0 1HB0 FX0 1HB0 IL0 1HB0 FX0 1HB0|77e4\", \"America/Cancun|CST CDT EST|60 50 50|01010102|1GQw0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4\", \"America/Caracas|-0430 -04|4u 40|01|1QMT0|29e5\", \"America/Chicago|CST CDT|60 50|01010101010101010101010|1GI80 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5\", \"America/Chihuahua|MST MDT|70 60|01010101010101010101010|1GQx0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4\", \"America/Phoenix|MST|70|0||42e5\", \"America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1GIa0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6\", \"America/New_York|EST EDT|50 40|01010101010101010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6\", \"America/Rio_Branco|-04 -05|40 50|01|1KLE0|31e4\", \"America/Fort_Nelson|PST PDT MST|80 70 70|01010102|1GIa0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2\", \"America/Halifax|AST ADT|40 30|01010101010101010101010|1GI60 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4\", \"America/Godthab|-03 -02|30 20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|17e3\", \"America/Grand_Turk|EST EDT AST|50 40 40|0101010121010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|37e2\", \"America/Havana|CST CDT|50 40|01010101010101010101010|1GQt0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5\", \"America/Metlakatla|PST AKST AKDT|80 90 80|0121212121212121|1PAa0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2\", \"America/Miquelon|-03 -02|30 20|01010101010101010101010|1GI50 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2\", \"America/Montevideo|-02 -03|20 30|01010101|1GI40 1o10 11z0 1o10 11z0 1o10 11z0|17e5\", \"America/Noronha|-02|20|0||30e2\", \"America/Port-au-Prince|EST EDT|50 40|010101010101010101010|1GI70 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e5\", \"Antarctica/Palmer|-03 -04|30 40|010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40\", \"America/Santiago|-03 -04|30 40|010101010101010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|62e5\", \"America/Sao_Paulo|-02 -03|20 30|01010101010101010101010|1GCq0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0 1HB0 FX0 1HB0 IL0 1HB0 FX0 1HB0|20e6\", \"Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4\", \"America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1GI5u 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4\", \"Antarctica/Casey|+11 +08|-b0 -80|0101|1GAF0 blz0 3m10|10\", \"Antarctica/Davis|+05 +07|-50 -70|01|1GAI0|70\", \"Pacific/Port_Moresby|+10|-a0|0||25e4\", \"Pacific/Guadalcanal|+11|-b0|0||11e4\", \"Asia/Tashkent|+05|-50|0||23e5\", \"Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5\", \"Asia/Baghdad|+03|-30|0||66e5\", \"Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40\", \"Asia/Dhaka|+06|-60|0||16e6\", \"Asia/Amman|EET EEST|-20 -30|010101010101010101010|1GPy0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00|25e5\", \"Asia/Kamchatka|+12|-c0|0||18e4\", \"Asia/Baku|+04 +05|-40 -50|010101010|1GNA0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5\", \"Asia/Bangkok|+07|-70|0||15e6\", \"Asia/Barnaul|+07 +06|-70 -60|010|1N7v0 3rd0\", \"Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1GNy0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5\", \"Asia/Kuala_Lumpur|+08|-80|0||71e5\", \"Asia/Kolkata|IST|-5u|0||15e6\", \"Asia/Chita|+10 +08 +09|-a0 -80 -90|012|1N7s0 3re0|33e4\", \"Asia/Ulaanbaatar|+08 +09|-80 -90|01010|1O8G0 1cJ0 1cP0 1cJ0|12e5\", \"Asia/Shanghai|CST|-80|0||23e6\", \"Asia/Colombo|+0530|-5u|0||22e5\", \"Asia/Damascus|EET EEST|-20 -30|01010101010101010101010|1GPy0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5\", \"Asia/Dili|+09|-90|0||19e4\", \"Asia/Dubai|+04|-40|0||39e5\", \"Asia/Famagusta|EET EEST +03|-20 -30 -30|0101010101201010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0\", \"Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1GPy0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1qL0 WN0 1qL0 WN0 1qL0|18e5\", \"Asia/Hong_Kong|HKT|-80|0||73e5\", \"Asia/Hovd|+07 +08|-70 -80|01010|1O8H0 1cJ0 1cP0 1cJ0|81e3\", \"Asia/Irkutsk|+09 +08|-90 -80|01|1N7t0|60e4\", \"Europe/Istanbul|EET EEST +03|-20 -30 -30|01010101012|1GNB0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6\", \"Asia/Jakarta|WIB|-70|0||31e6\", \"Asia/Jayapura|WIT|-90|0||26e4\", \"Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1GPA0 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4\", \"Asia/Kabul|+0430|-4u|0||46e5\", \"Asia/Karachi|PKT|-50|0||24e6\", \"Asia/Kathmandu|+0545|-5J|0||12e5\", \"Asia/Yakutsk|+10 +09|-a0 -90|01|1N7s0|28e4\", \"Asia/Krasnoyarsk|+08 +07|-80 -70|01|1N7u0|10e5\", \"Asia/Magadan|+12 +10 +11|-c0 -a0 -b0|012|1N7q0 3Cq0|95e3\", \"Asia/Makassar|WITA|-80|0||15e5\", \"Asia/Manila|PST|-80|0||24e6\", \"Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5\", \"Asia/Novosibirsk|+07 +06|-70 -60|010|1N7v0 4eN0|15e5\", \"Asia/Omsk|+07 +06|-70 -60|01|1N7v0|12e5\", \"Asia/Pyongyang|KST KST|-90 -8u|010|1P4D0 6BA0|29e5\", \"Asia/Rangoon|+0630|-6u|0||48e5\", \"Asia/Sakhalin|+11 +10|-b0 -a0|010|1N7r0 3rd0|58e4\", \"Asia/Seoul|KST|-90|0||23e6\", \"Asia/Srednekolymsk|+12 +11|-c0 -b0|01|1N7q0|35e2\", \"Asia/Tehran|+0330 +0430|-3u -4u|01010101010101010101010|1GLUu 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6\", \"Asia/Tokyo|JST|-90|0||38e6\", \"Asia/Tomsk|+07 +06|-70 -60|010|1N7v0 3Qp0|10e5\", \"Asia/Vladivostok|+11 +10|-b0 -a0|01|1N7r0|60e4\", \"Asia/Yekaterinburg|+06 +05|-60 -50|01|1N7w0|14e5\", \"Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5\", \"Atlantic/Cape_Verde|-01|10|0||50e4\", \"Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1GQg0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5\", \"Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1GQgu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5\", \"Australia/Brisbane|AEST|-a0|0||20e5\", \"Australia/Darwin|ACST|-9u|0||12e4\", \"Australia/Eucla|+0845|-8J|0||368\", \"Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1GQf0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347\", \"Australia/Perth|AWST|-80|0||18e5\", \"Pacific/Easter|-05 -06|50 60|010101010101010101010|1H3D0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|30e2\", \"Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5\", \"Etc/GMT-1|+01|-10|0|\", \"Pacific/Fakaofo|+13|-d0|0||483\", \"Pacific/Kiritimati|+14|-e0|0||51e2\", \"Etc/GMT-2|+02|-20|0|\", \"Pacific/Tahiti|-10|a0|0||18e4\", \"Pacific/Niue|-11|b0|0||12e2\", \"Etc/GMT+12|-12|c0|0|\", \"Pacific/Galapagos|-06|60|0||25e3\", \"Etc/GMT+7|-07|70|0|\", \"Pacific/Pitcairn|-08|80|0||56\", \"Pacific/Gambier|-09|90|0||125\", \"Etc/UCT|UCT|0|0|\", \"Etc/UTC|UTC|0|0|\", \"Europe/Ulyanovsk|+04 +03|-40 -30|010|1N7y0 3rd0|13e5\", \"Europe/London|GMT BST|0 -10|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6\", \"Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1GNA0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4\", \"Europe/Kaliningrad|+03 EET|-30 -20|01|1N7z0|44e4\", \"Europe/Kirov|+04 +03|-40 -30|01|1N7y0|48e4\", \"Europe/Moscow|MSK MSK|-40 -30|01|1N7y0|16e6\", \"Europe/Saratov|+04 +03|-40 -30|010|1N7y0 5810\", \"Europe/Simferopol|EET EEST MSK MSK|-20 -30 -40 -30|0101023|1GNB0 1qM0 11A0 1o00 11z0 1nW0|33e4\", \"Europe/Volgograd|+04 +03|-40 -30|010|1N7y0 9Jd0|10e5\", \"Pacific/Honolulu|HST|a0|0||37e4\", \"MET|MET MEST|-10 -20|01010101010101010101010|1GNB0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0\", \"Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600\", \"Pacific/Apia|+14 +13|-e0 -d0|01010101010101010101010|1GQe0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|37e3\", \"Pacific/Bougainville|+10 +11|-a0 -b0|01|1NwE0|18e4\", \"Pacific/Fiji|+13 +12|-d0 -c0|01010101010101010101010|1Goe0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1VA0 s00 1VA0|88e4\", \"Pacific/Guam|ChST|-a0|0||17e4\", \"Pacific/Marquesas|-0930|9u|0||86e2\", \"Pacific/Pago_Pago|SST|b0|0||37e2\", \"Pacific/Norfolk|+1130 +11|-bu -b0|01|1PoCu|25e4\", \"Pacific/Tongatapu|+13 +14|-d0 -e0|010|1S4d0 s00|75e3\"], links: [\"Africa/Abidjan|Africa/Accra\", \"Africa/Abidjan|Africa/Bamako\", \"Africa/Abidjan|Africa/Banjul\", \"Africa/Abidjan|Africa/Bissau\", \"Africa/Abidjan|Africa/Conakry\", \"Africa/Abidjan|Africa/Dakar\", \"Africa/Abidjan|Africa/Freetown\", \"Africa/Abidjan|Africa/Lome\", \"Africa/Abidjan|Africa/Monrovia\", \"Africa/Abidjan|Africa/Nouakchott\", \"Africa/Abidjan|Africa/Ouagadougou\", \"Africa/Abidjan|Africa/Timbuktu\", \"Africa/Abidjan|America/Danmarkshavn\", \"Africa/Abidjan|Atlantic/Reykjavik\", \"Africa/Abidjan|Atlantic/St_Helena\", \"Africa/Abidjan|Etc/GMT\", \"Africa/Abidjan|Etc/GMT+0\", \"Africa/Abidjan|Etc/GMT-0\", \"Africa/Abidjan|Etc/GMT0\", \"Africa/Abidjan|Etc/Greenwich\", \"Africa/Abidjan|GMT\", \"Africa/Abidjan|GMT+0\", \"Africa/Abidjan|GMT-0\", \"Africa/Abidjan|GMT0\", \"Africa/Abidjan|Greenwich\", \"Africa/Abidjan|Iceland\", \"Africa/Algiers|Africa/Tunis\", \"Africa/Cairo|Egypt\", \"Africa/Casablanca|Africa/El_Aaiun\", \"Africa/Johannesburg|Africa/Maseru\", \"Africa/Johannesburg|Africa/Mbabane\", \"Africa/Lagos|Africa/Bangui\", \"Africa/Lagos|Africa/Brazzaville\", \"Africa/Lagos|Africa/Douala\", \"Africa/Lagos|Africa/Kinshasa\", \"Africa/Lagos|Africa/Libreville\", \"Africa/Lagos|Africa/Luanda\", \"Africa/Lagos|Africa/Malabo\", \"Africa/Lagos|Africa/Ndjamena\", \"Africa/Lagos|Africa/Niamey\", \"Africa/Lagos|Africa/Porto-Novo\", \"Africa/Maputo|Africa/Blantyre\", \"Africa/Maputo|Africa/Bujumbura\", \"Africa/Maputo|Africa/Gaborone\", \"Africa/Maputo|Africa/Harare\", \"Africa/Maputo|Africa/Kigali\", \"Africa/Maputo|Africa/Lubumbashi\", \"Africa/Maputo|Africa/Lusaka\", \"Africa/Nairobi|Africa/Addis_Ababa\", \"Africa/Nairobi|Africa/Asmara\", \"Africa/Nairobi|Africa/Asmera\", \"Africa/Nairobi|Africa/Dar_es_Salaam\", \"Africa/Nairobi|Africa/Djibouti\", \"Africa/Nairobi|Africa/Juba\", \"Africa/Nairobi|Africa/Kampala\", \"Africa/Nairobi|Africa/Mogadishu\", \"Africa/Nairobi|Indian/Antananarivo\", \"Africa/Nairobi|Indian/Comoro\", \"Africa/Nairobi|Indian/Mayotte\", \"Africa/Tripoli|Libya\", \"America/Adak|America/Atka\", \"America/Adak|US/Aleutian\", \"America/Anchorage|America/Juneau\", \"America/Anchorage|America/Nome\", \"America/Anchorage|America/Sitka\", \"America/Anchorage|America/Yakutat\", \"America/Anchorage|US/Alaska\", \"America/Campo_Grande|America/Cuiaba\", \"America/Chicago|America/Indiana/Knox\", \"America/Chicago|America/Indiana/Tell_City\", \"America/Chicago|America/Knox_IN\", \"America/Chicago|America/Matamoros\", \"America/Chicago|America/Menominee\", \"America/Chicago|America/North_Dakota/Beulah\", \"America/Chicago|America/North_Dakota/Center\", \"America/Chicago|America/North_Dakota/New_Salem\", \"America/Chicago|America/Rainy_River\", \"America/Chicago|America/Rankin_Inlet\", \"America/Chicago|America/Resolute\", \"America/Chicago|America/Winnipeg\", \"America/Chicago|CST6CDT\", \"America/Chicago|Canada/Central\", \"America/Chicago|US/Central\", \"America/Chicago|US/Indiana-Starke\", \"America/Chihuahua|America/Mazatlan\", \"America/Chihuahua|Mexico/BajaSur\", \"America/Denver|America/Boise\", \"America/Denver|America/Cambridge_Bay\", \"America/Denver|America/Edmonton\", \"America/Denver|America/Inuvik\", \"America/Denver|America/Ojinaga\", \"America/Denver|America/Shiprock\", \"America/Denver|America/Yellowknife\", \"America/Denver|Canada/Mountain\", \"America/Denver|MST7MDT\", \"America/Denver|Navajo\", \"America/Denver|US/Mountain\", \"America/Fortaleza|America/Argentina/Buenos_Aires\", \"America/Fortaleza|America/Argentina/Catamarca\", \"America/Fortaleza|America/Argentina/ComodRivadavia\", \"America/Fortaleza|America/Argentina/Cordoba\", \"America/Fortaleza|America/Argentina/Jujuy\", \"America/Fortaleza|America/Argentina/La_Rioja\", \"America/Fortaleza|America/Argentina/Mendoza\", \"America/Fortaleza|America/Argentina/Rio_Gallegos\", \"America/Fortaleza|America/Argentina/Salta\", \"America/Fortaleza|America/Argentina/San_Juan\", \"America/Fortaleza|America/Argentina/San_Luis\", \"America/Fortaleza|America/Argentina/Tucuman\", \"America/Fortaleza|America/Argentina/Ushuaia\", \"America/Fortaleza|America/Belem\", \"America/Fortaleza|America/Buenos_Aires\", \"America/Fortaleza|America/Catamarca\", \"America/Fortaleza|America/Cayenne\", \"America/Fortaleza|America/Cordoba\", \"America/Fortaleza|America/Jujuy\", \"America/Fortaleza|America/Maceio\", \"America/Fortaleza|America/Mendoza\", \"America/Fortaleza|America/Paramaribo\", \"America/Fortaleza|America/Recife\", \"America/Fortaleza|America/Rosario\", \"America/Fortaleza|America/Santarem\", \"America/Fortaleza|Antarctica/Rothera\", \"America/Fortaleza|Atlantic/Stanley\", \"America/Fortaleza|Etc/GMT+3\", \"America/Halifax|America/Glace_Bay\", \"America/Halifax|America/Goose_Bay\", \"America/Halifax|America/Moncton\", \"America/Halifax|America/Thule\", \"America/Halifax|Atlantic/Bermuda\", \"America/Halifax|Canada/Atlantic\", \"America/Havana|Cuba\", \"America/La_Paz|America/Boa_Vista\", \"America/La_Paz|America/Guyana\", \"America/La_Paz|America/Manaus\", \"America/La_Paz|America/Porto_Velho\", \"America/La_Paz|Brazil/West\", \"America/La_Paz|Etc/GMT+4\", \"America/Lima|America/Bogota\", \"America/Lima|America/Guayaquil\", \"America/Lima|Etc/GMT+5\", \"America/Los_Angeles|America/Dawson\", \"America/Los_Angeles|America/Ensenada\", \"America/Los_Angeles|America/Santa_Isabel\", \"America/Los_Angeles|America/Tijuana\", \"America/Los_Angeles|America/Vancouver\", \"America/Los_Angeles|America/Whitehorse\", \"America/Los_Angeles|Canada/Pacific\", \"America/Los_Angeles|Canada/Yukon\", \"America/Los_Angeles|Mexico/BajaNorte\", \"America/Los_Angeles|PST8PDT\", \"America/Los_Angeles|US/Pacific\", \"America/Los_Angeles|US/Pacific-New\", \"America/Managua|America/Belize\", \"America/Managua|America/Costa_Rica\", \"America/Managua|America/El_Salvador\", \"America/Managua|America/Guatemala\", \"America/Managua|America/Regina\", \"America/Managua|America/Swift_Current\", \"America/Managua|America/Tegucigalpa\", \"America/Managua|Canada/Saskatchewan\", \"America/Mexico_City|America/Bahia_Banderas\", \"America/Mexico_City|America/Merida\", \"America/Mexico_City|America/Monterrey\", \"America/Mexico_City|Mexico/General\", \"America/New_York|America/Detroit\", \"America/New_York|America/Fort_Wayne\", \"America/New_York|America/Indiana/Indianapolis\", \"America/New_York|America/Indiana/Marengo\", \"America/New_York|America/Indiana/Petersburg\", \"America/New_York|America/Indiana/Vevay\", \"America/New_York|America/Indiana/Vincennes\", \"America/New_York|America/Indiana/Winamac\", \"America/New_York|America/Indianapolis\", \"America/New_York|America/Iqaluit\", \"America/New_York|America/Kentucky/Louisville\", \"America/New_York|America/Kentucky/Monticello\", \"America/New_York|America/Louisville\", \"America/New_York|America/Montreal\", \"America/New_York|America/Nassau\", \"America/New_York|America/Nipigon\", \"America/New_York|America/Pangnirtung\", \"America/New_York|America/Thunder_Bay\", \"America/New_York|America/Toronto\", \"America/New_York|Canada/Eastern\", \"America/New_York|EST5EDT\", \"America/New_York|US/East-Indiana\", \"America/New_York|US/Eastern\", \"America/New_York|US/Michigan\", \"America/Noronha|Atlantic/South_Georgia\", \"America/Noronha|Brazil/DeNoronha\", \"America/Noronha|Etc/GMT+2\", \"America/Panama|America/Atikokan\", \"America/Panama|America/Cayman\", \"America/Panama|America/Coral_Harbour\", \"America/Panama|America/Jamaica\", \"America/Panama|EST\", \"America/Panama|Jamaica\", \"America/Phoenix|America/Creston\", \"America/Phoenix|America/Dawson_Creek\", \"America/Phoenix|America/Hermosillo\", \"America/Phoenix|MST\", \"America/Phoenix|US/Arizona\", \"America/Rio_Branco|America/Eirunepe\", \"America/Rio_Branco|America/Porto_Acre\", \"America/Rio_Branco|Brazil/Acre\", \"America/Santiago|Chile/Continental\", \"America/Santo_Domingo|America/Anguilla\", \"America/Santo_Domingo|America/Antigua\", \"America/Santo_Domingo|America/Aruba\", \"America/Santo_Domingo|America/Barbados\", \"America/Santo_Domingo|America/Blanc-Sablon\", \"America/Santo_Domingo|America/Curacao\", \"America/Santo_Domingo|America/Dominica\", \"America/Santo_Domingo|America/Grenada\", \"America/Santo_Domingo|America/Guadeloupe\", \"America/Santo_Domingo|America/Kralendijk\", \"America/Santo_Domingo|America/Lower_Princes\", \"America/Santo_Domingo|America/Marigot\", \"America/Santo_Domingo|America/Martinique\", \"America/Santo_Domingo|America/Montserrat\", \"America/Santo_Domingo|America/Port_of_Spain\", \"America/Santo_Domingo|America/Puerto_Rico\", \"America/Santo_Domingo|America/St_Barthelemy\", \"America/Santo_Domingo|America/St_Kitts\", \"America/Santo_Domingo|America/St_Lucia\", \"America/Santo_Domingo|America/St_Thomas\", \"America/Santo_Domingo|America/St_Vincent\", \"America/Santo_Domingo|America/Tortola\", \"America/Santo_Domingo|America/Virgin\", \"America/Sao_Paulo|Brazil/East\", \"America/St_Johns|Canada/Newfoundland\", \"Antarctica/Palmer|America/Punta_Arenas\", \"Asia/Baghdad|Antarctica/Syowa\", \"Asia/Baghdad|Asia/Aden\", \"Asia/Baghdad|Asia/Bahrain\", \"Asia/Baghdad|Asia/Kuwait\", \"Asia/Baghdad|Asia/Qatar\", \"Asia/Baghdad|Asia/Riyadh\", \"Asia/Baghdad|Etc/GMT-3\", \"Asia/Baghdad|Europe/Minsk\", \"Asia/Bangkok|Asia/Ho_Chi_Minh\", \"Asia/Bangkok|Asia/Novokuznetsk\", \"Asia/Bangkok|Asia/Phnom_Penh\", \"Asia/Bangkok|Asia/Saigon\", \"Asia/Bangkok|Asia/Vientiane\", \"Asia/Bangkok|Etc/GMT-7\", \"Asia/Bangkok|Indian/Christmas\", \"Asia/Dhaka|Antarctica/Vostok\", \"Asia/Dhaka|Asia/Almaty\", \"Asia/Dhaka|Asia/Bishkek\", \"Asia/Dhaka|Asia/Dacca\", \"Asia/Dhaka|Asia/Kashgar\", \"Asia/Dhaka|Asia/Qyzylorda\", \"Asia/Dhaka|Asia/Thimbu\", \"Asia/Dhaka|Asia/Thimphu\", \"Asia/Dhaka|Asia/Urumqi\", \"Asia/Dhaka|Etc/GMT-6\", \"Asia/Dhaka|Indian/Chagos\", \"Asia/Dili|Etc/GMT-9\", \"Asia/Dili|Pacific/Palau\", \"Asia/Dubai|Asia/Muscat\", \"Asia/Dubai|Asia/Tbilisi\", \"Asia/Dubai|Asia/Yerevan\", \"Asia/Dubai|Etc/GMT-4\", \"Asia/Dubai|Europe/Samara\", \"Asia/Dubai|Indian/Mahe\", \"Asia/Dubai|Indian/Mauritius\", \"Asia/Dubai|Indian/Reunion\", \"Asia/Gaza|Asia/Hebron\", \"Asia/Hong_Kong|Hongkong\", \"Asia/Jakarta|Asia/Pontianak\", \"Asia/Jerusalem|Asia/Tel_Aviv\", \"Asia/Jerusalem|Israel\", \"Asia/Kamchatka|Asia/Anadyr\", \"Asia/Kamchatka|Etc/GMT-12\", \"Asia/Kamchatka|Kwajalein\", \"Asia/Kamchatka|Pacific/Funafuti\", \"Asia/Kamchatka|Pacific/Kwajalein\", \"Asia/Kamchatka|Pacific/Majuro\", \"Asia/Kamchatka|Pacific/Nauru\", \"Asia/Kamchatka|Pacific/Tarawa\", \"Asia/Kamchatka|Pacific/Wake\", \"Asia/Kamchatka|Pacific/Wallis\", \"Asia/Kathmandu|Asia/Katmandu\", \"Asia/Kolkata|Asia/Calcutta\", \"Asia/Kuala_Lumpur|Asia/Brunei\", \"Asia/Kuala_Lumpur|Asia/Kuching\", \"Asia/Kuala_Lumpur|Asia/Singapore\", \"Asia/Kuala_Lumpur|Etc/GMT-8\", \"Asia/Kuala_Lumpur|Singapore\", \"Asia/Makassar|Asia/Ujung_Pandang\", \"Asia/Rangoon|Asia/Yangon\", \"Asia/Rangoon|Indian/Cocos\", \"Asia/Seoul|ROK\", \"Asia/Shanghai|Asia/Chongqing\", \"Asia/Shanghai|Asia/Chungking\", \"Asia/Shanghai|Asia/Harbin\", \"Asia/Shanghai|Asia/Macao\", \"Asia/Shanghai|Asia/Macau\", \"Asia/Shanghai|Asia/Taipei\", \"Asia/Shanghai|PRC\", \"Asia/Shanghai|ROC\", \"Asia/Tashkent|Antarctica/Mawson\", \"Asia/Tashkent|Asia/Aqtau\", \"Asia/Tashkent|Asia/Aqtobe\", \"Asia/Tashkent|Asia/Ashgabat\", \"Asia/Tashkent|Asia/Ashkhabad\", \"Asia/Tashkent|Asia/Atyrau\", \"Asia/Tashkent|Asia/Dushanbe\", \"Asia/Tashkent|Asia/Oral\", \"Asia/Tashkent|Asia/Samarkand\", \"Asia/Tashkent|Etc/GMT-5\", \"Asia/Tashkent|Indian/Kerguelen\", \"Asia/Tashkent|Indian/Maldives\", \"Asia/Tehran|Iran\", \"Asia/Tokyo|Japan\", \"Asia/Ulaanbaatar|Asia/Choibalsan\", \"Asia/Ulaanbaatar|Asia/Ulan_Bator\", \"Asia/Vladivostok|Asia/Ust-Nera\", \"Asia/Yakutsk|Asia/Khandyga\", \"Atlantic/Azores|America/Scoresbysund\", \"Atlantic/Cape_Verde|Etc/GMT+1\", \"Australia/Adelaide|Australia/Broken_Hill\", \"Australia/Adelaide|Australia/South\", \"Australia/Adelaide|Australia/Yancowinna\", \"Australia/Brisbane|Australia/Lindeman\", \"Australia/Brisbane|Australia/Queensland\", \"Australia/Darwin|Australia/North\", \"Australia/Lord_Howe|Australia/LHI\", \"Australia/Perth|Australia/West\", \"Australia/Sydney|Australia/ACT\", \"Australia/Sydney|Australia/Canberra\", \"Australia/Sydney|Australia/Currie\", \"Australia/Sydney|Australia/Hobart\", \"Australia/Sydney|Australia/Melbourne\", \"Australia/Sydney|Australia/NSW\", \"Australia/Sydney|Australia/Tasmania\", \"Australia/Sydney|Australia/Victoria\", \"Etc/UCT|UCT\", \"Etc/UTC|Etc/Universal\", \"Etc/UTC|Etc/Zulu\", \"Etc/UTC|UTC\", \"Etc/UTC|Universal\", \"Etc/UTC|Zulu\", \"Europe/Athens|Asia/Nicosia\", \"Europe/Athens|EET\", \"Europe/Athens|Europe/Bucharest\", \"Europe/Athens|Europe/Helsinki\", \"Europe/Athens|Europe/Kiev\", \"Europe/Athens|Europe/Mariehamn\", \"Europe/Athens|Europe/Nicosia\", \"Europe/Athens|Europe/Riga\", \"Europe/Athens|Europe/Sofia\", \"Europe/Athens|Europe/Tallinn\", \"Europe/Athens|Europe/Uzhgorod\", \"Europe/Athens|Europe/Vilnius\", \"Europe/Athens|Europe/Zaporozhye\", \"Europe/Chisinau|Europe/Tiraspol\", \"Europe/Dublin|Eire\", \"Europe/Istanbul|Asia/Istanbul\", \"Europe/Istanbul|Turkey\", \"Europe/Lisbon|Atlantic/Canary\", \"Europe/Lisbon|Atlantic/Faeroe\", \"Europe/Lisbon|Atlantic/Faroe\", \"Europe/Lisbon|Atlantic/Madeira\", \"Europe/Lisbon|Portugal\", \"Europe/Lisbon|WET\", \"Europe/London|Europe/Belfast\", \"Europe/London|Europe/Guernsey\", \"Europe/London|Europe/Isle_of_Man\", \"Europe/London|Europe/Jersey\", \"Europe/London|GB\", \"Europe/London|GB-Eire\", \"Europe/Moscow|W-SU\", \"Europe/Paris|Africa/Ceuta\", \"Europe/Paris|Arctic/Longyearbyen\", \"Europe/Paris|Atlantic/Jan_Mayen\", \"Europe/Paris|CET\", \"Europe/Paris|Europe/Amsterdam\", \"Europe/Paris|Europe/Andorra\", \"Europe/Paris|Europe/Belgrade\", \"Europe/Paris|Europe/Berlin\", \"Europe/Paris|Europe/Bratislava\", \"Europe/Paris|Europe/Brussels\", \"Europe/Paris|Europe/Budapest\", \"Europe/Paris|Europe/Busingen\", \"Europe/Paris|Europe/Copenhagen\", \"Europe/Paris|Europe/Gibraltar\", \"Europe/Paris|Europe/Ljubljana\", \"Europe/Paris|Europe/Luxembourg\", \"Europe/Paris|Europe/Madrid\", \"Europe/Paris|Europe/Malta\", \"Europe/Paris|Europe/Monaco\", \"Europe/Paris|Europe/Oslo\", \"Europe/Paris|Europe/Podgorica\", \"Europe/Paris|Europe/Prague\", \"Europe/Paris|Europe/Rome\", \"Europe/Paris|Europe/San_Marino\", \"Europe/Paris|Europe/Sarajevo\", \"Europe/Paris|Europe/Skopje\", \"Europe/Paris|Europe/Stockholm\", \"Europe/Paris|Europe/Tirane\", \"Europe/Paris|Europe/Vaduz\", \"Europe/Paris|Europe/Vatican\", \"Europe/Paris|Europe/Vienna\", \"Europe/Paris|Europe/Warsaw\", \"Europe/Paris|Europe/Zagreb\", \"Europe/Paris|Europe/Zurich\", \"Europe/Paris|Poland\", \"Europe/Ulyanovsk|Europe/Astrakhan\", \"Pacific/Auckland|Antarctica/McMurdo\", \"Pacific/Auckland|Antarctica/South_Pole\", \"Pacific/Auckland|NZ\", \"Pacific/Chatham|NZ-CHAT\", \"Pacific/Easter|Chile/EasterIsland\", \"Pacific/Fakaofo|Etc/GMT-13\", \"Pacific/Fakaofo|Pacific/Enderbury\", \"Pacific/Galapagos|Etc/GMT+6\", \"Pacific/Gambier|Etc/GMT+9\", \"Pacific/Guadalcanal|Antarctica/Macquarie\", \"Pacific/Guadalcanal|Etc/GMT-11\", \"Pacific/Guadalcanal|Pacific/Efate\", \"Pacific/Guadalcanal|Pacific/Kosrae\", \"Pacific/Guadalcanal|Pacific/Noumea\", \"Pacific/Guadalcanal|Pacific/Pohnpei\", \"Pacific/Guadalcanal|Pacific/Ponape\", \"Pacific/Guam|Pacific/Saipan\", \"Pacific/Honolulu|HST\", \"Pacific/Honolulu|Pacific/Johnston\", \"Pacific/Honolulu|US/Hawaii\", \"Pacific/Kiritimati|Etc/GMT-14\", \"Pacific/Niue|Etc/GMT+11\", \"Pacific/Pago_Pago|Pacific/Midway\", \"Pacific/Pago_Pago|Pacific/Samoa\", \"Pacific/Pago_Pago|US/Samoa\", \"Pacific/Pitcairn|Etc/GMT+8\", \"Pacific/Port_Moresby|Antarctica/DumontDUrville\", \"Pacific/Port_Moresby|Etc/GMT-10\", \"Pacific/Port_Moresby|Pacific/Chuuk\", \"Pacific/Port_Moresby|Pacific/Truk\", \"Pacific/Port_Moresby|Pacific/Yap\", \"Pacific/Tahiti|Etc/GMT+10\", \"Pacific/Tahiti|Pacific/Rarotonga\"] }), A });","/*!\r\n * howler.js v1.1.29\r\n * howlerjs.com\r\n *\r\n * (c) 2013-2016, James Simpson of GoldFire Studios\r\n * goldfirestudios.com\r\n *\r\n * MIT License\r\n */\r\n!function(){var e={},o=null,n=!0,r=!1;try{\"undefined\"!=typeof AudioContext?o=new AudioContext:\"undefined\"!=typeof webkitAudioContext?o=new webkitAudioContext:n=!1}catch(t){n=!1}if(!n)if(\"undefined\"!=typeof Audio)try{new Audio}catch(t){r=!0}else r=!0;if(n){var a=\"undefined\"==typeof o.createGain?o.createGainNode():o.createGain();a.gain.value=1,a.connect(o.destination)}var i=function(e){this._volume=1,this._muted=!1,this.usingWebAudio=n,this.ctx=o,this.noAudio=r,this._howls=[],this._codecs=e,this.iOSAutoEnable=!0};i.prototype={volume:function(e){var o=this;if(e=parseFloat(e),e>=0&&1>=e){o._volume=e,n&&(a.gain.value=e);for(var r in o._howls)if(o._howls.hasOwnProperty(r)&&o._howls[r]._webAudio===!1)for(var t=0;t0?t._pos:r._sprite[e][0]/1e3,i=0;r._webAudio?(i=r._sprite[e][1]/1e3-t._pos,t._pos>0&&(a=r._sprite[e][0]/1e3+a)):i=r._sprite[e][1]/1e3-(a-r._sprite[e][0]/1e3);var u,d=!(!r._loop&&!r._sprite[e][2]),f=\"string\"==typeof n?n:Math.round(Date.now()*Math.random())+\"\";if(function(){var o={id:f,sprite:e,loop:d};u=setTimeout(function(){!r._webAudio&&d&&r.stop(o.id).play(e,o.id),r._webAudio&&!d&&(r._nodeById(o.id).paused=!0,r._nodeById(o.id)._pos=0,r._clearEndTimer(o.id)),r._webAudio||d||r.stop(o.id),r.on(\"end\",f)},i/r._rate*1e3),r._onendTimer.push({timer:u,id:o.id})}(),r._webAudio){var s=r._sprite[e][0]/1e3,_=r._sprite[e][1]/1e3;t.id=f,t.paused=!1,p(r,[d,s,_],f),r._playStart=o.currentTime,t.gain.value=r._volume,\"undefined\"==typeof t.bufferSource.start?d?t.bufferSource.noteGrainOn(0,a,86400):t.bufferSource.noteGrainOn(0,a,i):d?t.bufferSource.start(0,a,86400):t.bufferSource.start(0,a,i)}else{if(4!==t.readyState&&(t.readyState||!navigator.isCocoonJS))return r._clearEndTimer(f),function(){var o=r,a=e,i=n,u=t,d=function(){o.play(a,i),u.removeEventListener(\"canplaythrough\",d,!1)};u.addEventListener(\"canplaythrough\",d,!1)}(),r;t.readyState=4,t.id=f,t.currentTime=a,t.muted=l._muted||t.muted,t.volume=r._volume*l.volume(),setTimeout(function(){t.play()},0)}return r.on(\"play\"),\"function\"==typeof n&&n(f),r}),r):(\"function\"==typeof n&&n(),r):(r.on(\"load\",function(){r.play(e,n)}),r)},pause:function(e){var o=this;if(!o._loaded)return o.on(\"play\",function(){o.pause(e)}),o;o._clearEndTimer(e);var n=e?o._nodeById(e):o._activeNode();if(n)if(n._pos=o.pos(null,e),o._webAudio){if(!n.bufferSource||n.paused)return o;n.paused=!0,\"undefined\"==typeof n.bufferSource.stop?n.bufferSource.noteOff(0):n.bufferSource.stop(0)}else n.pause();return o.on(\"pause\"),o},stop:function(e){var o=this;if(!o._loaded)return o.on(\"play\",function(){o.stop(e)}),o;o._clearEndTimer(e);var n=e?o._nodeById(e):o._activeNode();if(n)if(n._pos=0,o._webAudio){if(!n.bufferSource||n.paused)return o;n.paused=!0,\"undefined\"==typeof n.bufferSource.stop?n.bufferSource.noteOff(0):n.bufferSource.stop(0)}else isNaN(n.duration)||(n.pause(),n.currentTime=0);return o},mute:function(e){var o=this;if(!o._loaded)return o.on(\"play\",function(){o.mute(e)}),o;var n=e?o._nodeById(e):o._activeNode();return n&&(o._webAudio?n.gain.value=0:n.muted=!0),o},unmute:function(e){var o=this;if(!o._loaded)return o.on(\"play\",function(){o.unmute(e)}),o;var n=e?o._nodeById(e):o._activeNode();return n&&(o._webAudio?n.gain.value=o._volume:n.muted=!1),o},volume:function(e,o){var n=this;if(e=parseFloat(e),e>=0&&1>=e){if(n._volume=e,!n._loaded)return n.on(\"play\",function(){n.volume(e,o)}),n;var r=o?n._nodeById(o):n._activeNode();return r&&(n._webAudio?r.gain.value=e:r.volume=e*l.volume()),n}return n._volume},loop:function(e){var o=this;return\"boolean\"==typeof e?(o._loop=e,o):o._loop},sprite:function(e){var o=this;return\"object\"==typeof e?(o._sprite=e,o):o._sprite},pos:function(e,n){var r=this;if(!r._loaded)return r.on(\"load\",function(){r.pos(e)}),\"number\"==typeof e?r:r._pos||0;e=parseFloat(e);var t=n?r._nodeById(n):r._activeNode();if(t)return e>=0?(r.pause(n),t._pos=e,r.play(t._sprite,n),r):r._webAudio?t._pos+(o.currentTime-r._playStart):t.currentTime;if(e>=0)return r;for(var a=0;a=0||0>e))return t._pos3d;if(t._webAudio){var a=r?t._nodeById(r):t._activeNode();a&&(t._pos3d=[e,o,n],a.panner.setPosition(e,o,n),a.panner.panningModel=t._model||\"HRTF\")}return t},fade:function(e,o,n,r,t){var a=this,i=Math.abs(e-o),u=e>o?\"down\":\"up\",d=i/.01,l=n/d;if(!a._loaded)return a.on(\"load\",function(){a.fade(e,o,n,r,t)}),a;a.volume(e,t);for(var f=1;d>=f;f++)!function(){var e=a._volume+(\"up\"===u?.01:-.01)*f,n=Math.round(1e3*e)/1e3,i=o;setTimeout(function(){a.volume(n,t),n===i&&r&&r()},l*f)}()},fadeIn:function(e,o,n){return this.volume(0).play().fade(0,e,o,n)},fadeOut:function(e,o,n,r){var t=this;return t.fade(t._volume,e,o,function(){n&&n(),t.pause(r),t.on(\"end\")},r)},_nodeById:function(e){for(var o=this,n=o._audioNode[0],r=0;r=0&&!(5>=n);e--)o._audioNode[e].paused&&(o._webAudio&&o._audioNode[e].disconnect(0),n--,o._audioNode.splice(e,1))},_clearEndTimer:function(e){for(var o=this,n=-1,r=0;r=0&&l._howls.splice(t,1),delete e[o._src],o=null}},n)var s=function(o,n){if(n in e)return o._duration=e[n].duration,void c(o);if(/^data:[^;]+;base64,/.test(n)){for(var r=atob(n.split(\",\")[1]),t=new Uint8Array(r.length),a=0;a=e.left&&f.bottom>=e.top&&f.left<=e.right&&f.top<=e.bottom||p(d,b.options.successClass))b.load(d),c.elements.splice(a,1),c.count--,a--}0===c.count&&b.destroy()}function v(b,c,a){if(!p(b,a.successClass)&&(c||a.loadInvisible||0=window.screen.width)return q=a.src,!1});setTimeout(function(){n(a)})}});","/*\r\n Highcharts JS v5.0.7 (2017-01-17)\r\n\r\n (c) 2009-2016 Torstein Honsi\r\n\r\n License: www.highcharts.com/license\r\n*/\r\n(function(L,a){\"object\"===typeof module&&module.exports?module.exports=L.document?a(L):a:L.Highcharts=a(L)})(\"undefined\"!==typeof window?window:this,function(L){L=function(){var a=window,B=a.document,A=a.navigator&&a.navigator.userAgent||\"\",H=B&&B.createElementNS&&!!B.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\").createSVGRect,G=/(edge|msie|trident)/i.test(A)&&!window.opera,r=!H,g=/Firefox/.test(A),f=g&&4>parseInt(A.split(\"Firefox/\")[1],10);return a.Highcharts?a.Highcharts.error(16,!0):{product:\"Highcharts\",\r\nversion:\"5.0.7\",deg2rad:2*Math.PI/360,doc:B,hasBidiBug:f,hasTouch:B&&void 0!==B.documentElement.ontouchstart,isMS:G,isWebKit:/AppleWebKit/.test(A),isFirefox:g,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(A),SVG_NS:\"http://www.w3.org/2000/svg\",chartCount:0,seriesTypes:{},symbolSizes:{},svg:H,vml:r,win:a,charts:[],marginNames:[\"plotTop\",\"marginRight\",\"marginBottom\",\"plotLeft\"],noop:function(){}}}();(function(a){var B=[],A=a.charts,H=a.doc,G=a.win;a.error=function(r,g){r=a.isNumber(r)?\"Highcharts error #\"+\r\nr+\": www.highcharts.com/errors/\"+r:r;if(g)throw Error(r);G.console&&console.log(r)};a.Fx=function(a,g,f){this.options=g;this.elem=a;this.prop=f};a.Fx.prototype={dSetter:function(){var a=this.paths[0],g=this.paths[1],f=[],u=this.now,l=a.length,q;if(1===u)f=this.toD;else if(l===g.length&&1>u)for(;l--;)q=parseFloat(a[l]),f[l]=isNaN(q)?a[l]:u*parseFloat(g[l]-q)+q;else f=g;this.elem.attr(\"d\",f,null,!0)},update:function(){var a=this.elem,g=this.prop,f=this.now,u=this.options.step;if(this[g+\"Setter\"])this[g+\r\n\"Setter\"]();else a.attr?a.element&&a.attr(g,f,null,!0):a.style[g]=f+this.unit;u&&u.call(a,f,this)},run:function(a,g,f){var r=this,l=function(a){return l.stopped?!1:r.step(a)},q;this.startTime=+new Date;this.start=a;this.end=g;this.unit=f;this.now=this.start;this.pos=0;l.elem=this.elem;l.prop=this.prop;l()&&1===B.push(l)&&(l.timerId=setInterval(function(){for(q=0;q=q+this.startTime){this.now=this.end;this.pos=1;this.update();a=d[this.prop]=!0;for(b in d)!0!==d[b]&&(a=!1);a&&l&&l.call(f);f=!1}else this.pos=u.easing((r-this.startTime)/q),this.now=this.start+(this.end-this.start)*this.pos,this.update(),f=!0;return f},initPath:function(r,g,f){function u(a){var e,b;for(n=a.length;n--;)e=\"M\"===a[n]||\"L\"===a[n],b=/[a-zA-Z]/.test(a[n+3]),e&&b&&a.splice(n+1,0,a[n+1],a[n+2],a[n+1],a[n+\r\n2])}function l(a,e){for(;a.lengthd?\"AM\":\"PM\",P:12>d?\"am\":\"pm\",S:E(l.getSeconds()),L:E(Math.round(g%\r\n1E3),3)},a.dateFormats);for(q in u)for(;-1!==r.indexOf(\"%\"+q);)r=r.replace(\"%\"+q,\"function\"===typeof u[q]?u[q](g):u[q]);return f?r.substr(0,1).toUpperCase()+r.substr(1):r};a.formatSingle=function(r,g){var f=/\\.([0-9])/,u=a.defaultOptions.lang;/f$/.test(r)?(f=(f=r.match(f))?f[1]:-1,null!==g&&(g=a.numberFormat(g,f,u.decimalPoint,-1=f&&(g=[1/f])));\r\nfor(u=0;u=r||!l&&q<=(g[u]+(g[u+1]||g[u]))/2);u++);return d=a.correctFloat(d*f,-Math.round(Math.log(.001)/Math.LN10))};a.stableSort=function(a,g){var f=a.length,r,l;for(l=0;lf&&(f=a[g]);return f};a.destroyObjectProperties=\r\nfunction(a,g){for(var f in a)a[f]&&a[f]!==g&&a[f].destroy&&a[f].destroy(),delete a[f]};a.discardElement=function(r){var g=a.garbageBin;g||(g=a.createElement(\"div\"));r&&g.appendChild(r);g.innerHTML=\"\"};a.correctFloat=function(a,g){return parseFloat(a.toPrecision(g||14))};a.setAnimation=function(r,g){g.renderer.globalAnimation=a.pick(r,g.options.chart.animation,!0)};a.animObject=function(r){return a.isObject(r)?a.merge(r):{duration:r?500:0}};a.timeUnits={millisecond:1,second:1E3,minute:6E4,hour:36E5,\r\nday:864E5,week:6048E5,month:24192E5,year:314496E5};a.numberFormat=function(r,g,f,u){r=+r||0;g=+g;var l=a.defaultOptions.lang,q=(r.toString().split(\".\")[1]||\"\").length,d,b;-1===g?g=Math.min(q,20):a.isNumber(g)||(g=2);b=(Math.abs(r)+Math.pow(10,-Math.max(g,q)-1)).toFixed(g);q=String(a.pInt(b));d=3r?\"-\":\"\")+(d?q.substr(0,d)+u:\"\");r+=q.substr(d).replace(/(\\d{3})(?=\\d)/g,\"$1\"+u);g&&(r+=f+b.slice(-g));return r};Math.easeInOutSine=\r\nfunction(a){return-.5*(Math.cos(Math.PI*a)-1)};a.getStyle=function(r,g){return\"width\"===g?Math.min(r.offsetWidth,r.scrollWidth)-a.getStyle(r,\"padding-left\")-a.getStyle(r,\"padding-right\"):\"height\"===g?Math.min(r.offsetHeight,r.scrollHeight)-a.getStyle(r,\"padding-top\")-a.getStyle(r,\"padding-bottom\"):(r=G.getComputedStyle(r,void 0))&&a.pInt(r.getPropertyValue(g))};a.inArray=function(a,g){return g.indexOf?g.indexOf(a):[].indexOf.call(g,a)};a.grep=function(a,g){return[].filter.call(a,g)};a.find=function(a,\r\ng){return[].find.call(a,g)};a.map=function(a,g){for(var f=[],u=0,l=a.length;uf;f++)g[f]+=r(255*a),0>g[f]&&(g[f]=0),255v.width)v={width:0,height:0}}else v=this.htmlGetBBox();e.isSVG&&(a=v.width,e=v.height,h&&\"11px\"===h.fontSize&&17===Math.round(e)&&(v.height=e=14),k&&(v.width=Math.abs(e*Math.sin(b))+Math.abs(a*Math.cos(b)),v.height=Math.abs(e*Math.cos(b))+Math.abs(a*Math.sin(b))));if(F&&0]*>/g,\"\")))},textSetter:function(a){a!==this.textStr&&(delete this.bBox,\r\nthis.textStr=a,this.added&&this.renderer.buildText(this))},fillSetter:function(a,k,e){\"string\"===typeof a?e.setAttribute(k,a):a&&this.colorGradient(a,k,e)},visibilitySetter:function(a,k,e){\"inherit\"===a?e.removeAttribute(k):e.setAttribute(k,a)},zIndexSetter:function(a,k){var v=this.renderer,e=this.parentGroup,b=(e||v).element||v.box,c,h=this.element,D;c=this.added;var x;q(a)&&(h.zIndex=a,a=+a,this[k]===a&&(c=!1),this[k]=a);if(c){(a=this.zIndex)&&e&&(e.handleZ=!0);k=b.childNodes;for(x=0;xa||!q(a)&&q(c)||0>a&&!q(c)&&b!==v.box)&&(b.insertBefore(h,e),D=!0);D||b.appendChild(h)}return D},_defaultSetter:function(a,k,e){e.setAttribute(k,a)}};B.prototype.yGetter=B.prototype.xGetter;B.prototype.translateXSetter=B.prototype.translateYSetter=B.prototype.rotationSetter=B.prototype.verticalAlignSetter=B.prototype.scaleXSetter=B.prototype.scaleYSetter=function(a,k){this[k]=a;this.doTransform=!0};B.prototype[\"stroke-widthSetter\"]=B.prototype.strokeSetter=function(a,\r\nk,e){this[k]=a;this.stroke&&this[\"stroke-width\"]?(B.prototype.fillSetter.call(this,this.stroke,\"stroke\",e),e.setAttribute(\"stroke-width\",this[\"stroke-width\"]),this.hasStroke=!0):\"stroke-width\"===k&&0===a&&this.hasStroke&&(e.removeAttribute(\"stroke\"),this.hasStroke=!1)};A=a.SVGRenderer=function(){this.init.apply(this,arguments)};A.prototype={Element:B,SVG_NS:N,init:function(a,k,b,c,D,x){var v;c=this.createElement(\"svg\").attr({version:\"1.1\",\"class\":\"highcharts-root\"}).css(this.getStyle(c));v=c.element;\r\na.appendChild(v);-1===a.innerHTML.indexOf(\"xmlns\")&&r(v,\"xmlns\",this.SVG_NS);this.isSVG=!0;this.box=v;this.boxWrapper=c;this.alignedObjects=[];this.url=(e||h)&&p.getElementsByTagName(\"base\").length?O.location.href.replace(/#.*?$/,\"\").replace(/<[^>]*>/g,\"\").replace(/([\\('\\)])/g,\"\\\\$1\").replace(/ /g,\"%20\"):\"\";this.createElement(\"desc\").add().element.appendChild(p.createTextNode(\"Created with Highcharts 5.0.7\"));this.defs=this.createElement(\"defs\").add();this.allowHTML=x;this.forExport=D;this.gradients=\r\n{};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(k,b,!1);var m;e&&a.getBoundingClientRect&&(k=function(){u(a,{left:0,top:0});m=a.getBoundingClientRect();u(a,{left:Math.ceil(m.left)-m.left+\"px\",top:Math.ceil(m.top)-m.top+\"px\"})},k(),this.unSubPixelFix=H(O,\"resize\",k))},getStyle:function(a){return this.style=t({fontFamily:'\"Lucida Grande\", \"Lucida Sans Unicode\", Arial, Helvetica, sans-serif',fontSize:\"12px\"},a)},setStyle:function(a){this.boxWrapper.css(this.getStyle(a))},isHidden:function(){return!this.boxWrapper.getBBox().width},\r\ndestroy:function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();b(this.gradients||{});this.gradients=null;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null},createElement:function(a){var k=new this.Element;k.init(this,a);return k},draw:J,getRadialAttr:function(a,k){return{cx:a[0]-a[2]/2+k.cx*a[2],cy:a[1]-a[2]/2+k.cy*a[2],r:k.r*a[2]}},buildText:function(a){var k=a.element,v=this,e=v.forExport,b=K(a.textStr,\"\").toString(),\r\nh=-1!==b.indexOf(\"\\x3c\"),D=k.childNodes,x,m,y,n,F=r(k,\"x\"),d=a.styles,t=a.textWidth,w=d&&d.lineHeight,l=d&&d.textOutline,z=d&&\"ellipsis\"===d.textOverflow,f=d&&\"nowrap\"===d.whiteSpace,E=d&&d.fontSize,q,g=D.length,d=t&&!a.added&&this.box,J=function(a){var e;e=/(px|em)$/.test(a&&a.style.fontSize)?a.style.fontSize:E||v.style.fontSize||12;return w?I(w):v.fontMetrics(e,a.getAttribute(\"style\")?a:k).h};q=[b,z,f,w,l,E,t].join();if(q!==a.textCache){for(a.textCache=q;g--;)k.removeChild(D[g]);h||l||z||t||-1!==\r\nb.indexOf(\" \")?(x=/<.*class=\"([^\"]+)\".*>/,m=/<.*style=\"([^\"]+)\".*>/,y=/<.*href=\"(http[^\"]+)\".*>/,d&&d.appendChild(k),b=h?b.replace(/<(b|strong)>/g,'\\x3cspan style\\x3d\"font-weight:bold\"\\x3e').replace(/<(i|em)>/g,'\\x3cspan style\\x3d\"font-style:italic\"\\x3e').replace(//g,\"\\x3c/span\\x3e\").split(//g):[b],b=c(b,function(a){return\"\"!==a}),C(b,function(b,c){var h,D=0;b=b.replace(/^\\s+|\\s+$/g,\"\").replace(//g,\"\\x3c/span\\x3e|||\");\r\nh=b.split(\"|||\");C(h,function(b){if(\"\"!==b||1===h.length){var d={},w=p.createElementNS(v.SVG_NS,\"tspan\"),l,E;x.test(b)&&(l=b.match(x)[1],r(w,\"class\",l));m.test(b)&&(E=b.match(m)[1].replace(/(;| |^)color([ :])/,\"$1fill$2\"),r(w,\"style\",E));y.test(b)&&!e&&(r(w,\"onclick\",'location.href\\x3d\"'+b.match(y)[1]+'\"'),u(w,{cursor:\"pointer\"}));b=(b.replace(/<(.|\\n)*?>/g,\"\")||\" \").replace(/</g,\"\\x3c\").replace(/>/g,\"\\x3e\");if(\" \"!==b){w.appendChild(p.createTextNode(b));D?d.dx=0:c&&null!==F&&(d.x=F);r(w,d);\r\nk.appendChild(w);!D&&c&&(!P&&e&&u(w,{display:\"block\"}),r(w,\"dy\",J(w)));if(t){d=b.replace(/([^\\^])-/g,\"$1- \").split(\" \");l=1t,void 0===n&&(n=q),z&&n?(Q/=2,\"\"===I||!q&&.5>Q?d=[]:(I=b.substring(0,I.length+(q?-1:1)*Math.ceil(Q)),d=[I+(3t&&(t=g)),d.length&&w.appendChild(p.createTextNode(d.join(\" \").replace(/- /g,\"-\")));a.rotation=K}D++}}})}),n&&a.attr(\"title\",a.textStr),d&&d.removeChild(k),l&&a.applyTextOutline&&a.applyTextOutline(l)):k.appendChild(p.createTextNode(b.replace(/</g,\"\\x3c\").replace(/>/g,\"\\x3e\")))}},getContrast:function(a){a=f(a).rgba;return 510<\r\na[0]+a[1]+a[2]?\"#000000\":\"#FFFFFF\"},button:function(a,k,e,b,c,h,D,m,d){var v=this.label(a,k,e,d,null,null,null,null,\"button\"),n=0;v.attr(y({padding:8,r:2},c));var F,w,p,l;c=y({fill:\"#f7f7f7\",stroke:\"#cccccc\",\"stroke-width\":1,style:{color:\"#333333\",cursor:\"pointer\",fontWeight:\"normal\"}},c);F=c.style;delete c.style;h=y(c,{fill:\"#e6e6e6\"},h);w=h.style;delete h.style;D=y(c,{fill:\"#e6ebf5\",style:{color:\"#000000\",fontWeight:\"bold\"}},D);p=D.style;delete D.style;m=y(c,{style:{color:\"#cccccc\"}},m);l=m.style;\r\ndelete m.style;H(v.element,x?\"mouseover\":\"mouseenter\",function(){3!==n&&v.setState(1)});H(v.element,x?\"mouseout\":\"mouseleave\",function(){3!==n&&v.setState(n)});v.setState=function(a){1!==a&&(v.state=n=a);v.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass(\"highcharts-button-\"+[\"normal\",\"hover\",\"pressed\",\"disabled\"][a||0]);v.attr([c,h,D,m][a||0]).css([F,w,p,l][a||0])};v.attr(c).css(t({cursor:\"default\"},F));return v.on(\"click\",function(a){3!==n&&b.call(v,a)})},crispLine:function(a,\r\nk){a[1]===a[4]&&(a[1]=a[4]=Math.round(a[1])-k%2/2);a[2]===a[5]&&(a[2]=a[5]=Math.round(a[2])+k%2/2);return a},path:function(a){var k={fill:\"none\"};z(a)?k.d=a:F(a)&&t(k,a);return this.createElement(\"path\").attr(k)},circle:function(a,k,e){a=F(a)?a:{x:a,y:k,r:e};k=this.createElement(\"circle\");k.xSetter=k.ySetter=function(a,k,e){e.setAttribute(\"c\"+k,a)};return k.attr(a)},arc:function(a,k,e,b,c,h){F(a)&&(k=a.y,e=a.r,b=a.innerR,c=a.start,h=a.end,a=a.x);a=this.symbol(\"arc\",a||0,k||0,e||0,e||0,{innerR:b||\r\n0,start:c||0,end:h||0});a.r=e;return a},rect:function(a,k,e,b,c,h){c=F(a)?a.r:c;var v=this.createElement(\"rect\");a=F(a)?a:void 0===a?{}:{x:a,y:k,width:Math.max(e,0),height:Math.max(b,0)};void 0!==h&&(a.strokeWidth=h,a=v.crisp(a));a.fill=\"none\";c&&(a.r=c);v.rSetter=function(a,k,e){r(e,{rx:a,ry:a})};return v.attr(a)},setSize:function(a,k,e){var b=this.alignedObjects,v=b.length;this.width=a;this.height=k;for(this.boxWrapper.animate({width:a,height:k},{step:function(){this.attr({viewBox:\"0 0 \"+this.attr(\"width\")+\r\n\" \"+this.attr(\"height\")})},duration:K(e,!0)?void 0:0});v--;)b[v].align()},g:function(a){var k=this.createElement(\"g\");return a?k.attr({\"class\":\"highcharts-\"+a}):k},image:function(a,k,e,b,c){var v={preserveAspectRatio:\"none\"};1e?c>k+D&&cv?c>k+D&&cb&&v>a+D&&vc&&v>a+D&&va?a+3:Math.round(1.2*a);return{h:k,b:Math.round(.8*k),f:a}},rotCorr:function(a,k,e){var b=a;k&&e&&(b=Math.max(b*Math.cos(k*d),4));return{x:-a/3*Math.sin(k*d),y:b}},label:function(a,e,b,c,h,D,x,m,d){var v=this,n=v.g(\"button\"!==d&&\"label\"),F=n.text=v.text(\"\",0,0,x).attr({zIndex:1}),w,p,l=0,z=3,\r\nE=0,f,g,J,K,P,N={},I,u,r=/^url\\((.*?)\\)$/.test(c),M=r,S,Q,R,O;d&&n.addClass(\"highcharts-\"+d);M=r;S=function(){return(I||0)%2/2};Q=function(){var a=F.element.style,k={};p=(void 0===f||void 0===g||P)&&q(F.textStr)&&F.getBBox();n.width=(f||p.width||0)+2*z+E;n.height=(g||p.height||0)+2*z;u=z+v.fontMetrics(a&&a.fontSize,F).b;M&&(w||(n.box=w=v.symbols[c]||r?v.symbol(c):v.rect(),w.addClass((\"button\"===d?\"\":\"highcharts-label-box\")+(d?\" highcharts-\"+d+\"-box\":\"\")),w.add(n),a=S(),k.x=a,k.y=(m?-u:0)+a),k.width=\r\nMath.round(n.width),k.height=Math.round(n.height),w.attr(t(k,N)),N={})};R=function(){var a=E+z,k;k=m?0:u;q(f)&&p&&(\"center\"===P||\"right\"===P)&&(a+={center:.5,right:1}[P]*(f-p.width));if(a!==F.x||k!==F.y)F.attr(\"x\",a),void 0!==k&&F.attr(\"y\",k);F.x=a;F.y=k};O=function(a,k){w?w.attr(a,k):N[a]=k};n.onAdd=function(){F.add(n);n.attr({text:a||0===a?a:\"\",x:e,y:b});w&&q(h)&&n.attr({anchorX:h,anchorY:D})};n.widthSetter=function(a){f=a};n.heightSetter=function(a){g=a};n[\"text-alignSetter\"]=function(a){P=a};\r\nn.paddingSetter=function(a){q(a)&&a!==z&&(z=n.padding=a,R())};n.paddingLeftSetter=function(a){q(a)&&a!==E&&(E=a,R())};n.alignSetter=function(a){a={left:0,center:.5,right:1}[a];a!==l&&(l=a,p&&n.attr({x:J}))};n.textSetter=function(a){void 0!==a&&F.textSetter(a);Q();R()};n[\"stroke-widthSetter\"]=function(a,k){a&&(M=!0);I=this[\"stroke-width\"]=a;O(k,a)};n.strokeSetter=n.fillSetter=n.rSetter=function(a,k){\"fill\"===k&&a&&(M=!0);O(k,a)};n.anchorXSetter=function(a,k){h=a;O(k,Math.round(a)-S()-J)};n.anchorYSetter=\r\nfunction(a,k){D=a;O(k,a-K)};n.xSetter=function(a){n.x=a;l&&(a-=l*((f||p.width)+2*z));J=Math.round(a);n.attr(\"translateX\",J)};n.ySetter=function(a){K=n.y=Math.round(a);n.attr(\"translateY\",K)};var V=n.css;return t(n,{css:function(a){if(a){var k={};a=y(a);C(n.textProps,function(e){void 0!==a[e]&&(k[e]=a[e],delete a[e])});F.css(k)}return V.call(n,a)},getBBox:function(){return{width:p.width+2*z,height:p.height+2*z,x:p.x-z,y:p.y-z}},shadow:function(a){a&&(Q(),w&&w.shadow(a));return n},destroy:function(){k(n.element,\r\n\"mouseenter\");k(n.element,\"mouseleave\");F&&(F=F.destroy());w&&(w=w.destroy());B.prototype.destroy.call(n);n=v=Q=R=O=null}})}};a.Renderer=A})(L);(function(a){var B=a.attr,A=a.createElement,H=a.css,G=a.defined,r=a.each,g=a.extend,f=a.isFirefox,u=a.isMS,l=a.isWebKit,q=a.pInt,d=a.SVGRenderer,b=a.win,p=a.wrap;g(a.SVGElement.prototype,{htmlCss:function(a){var b=this.element;if(b=a&&\"SPAN\"===b.tagName&&a.width)delete a.width,this.textWidth=b,this.updateTransform();a&&\"ellipsis\"===a.textOverflow&&(a.whiteSpace=\r\n\"nowrap\",a.overflow=\"hidden\");this.styles=g(this.styles,a);H(this.element,a);return this},htmlGetBBox:function(){var a=this.element;\"text\"===a.nodeName&&(a.style.position=\"absolute\");return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var a=this.renderer,b=this.element,m=this.translateX||0,c=this.translateY||0,n=this.x||0,d=this.y||0,p=this.textAlign||\"left\",e={left:0,center:.5,right:1}[p],x=this.styles;H(b,{marginLeft:m,marginTop:c});\r\nthis.shadows&&r(this.shadows,function(a){H(a,{marginLeft:m+1,marginTop:c+1})});this.inverted&&r(b.childNodes,function(e){a.invertChild(e,b)});if(\"SPAN\"===b.tagName){var F=this.rotation,w=q(this.textWidth),h=x&&x.whiteSpace,y=[F,p,b.innerHTML,this.textWidth,this.textAlign].join();y!==this.cTT&&(x=a.fontMetrics(b.style.fontSize).b,G(F)&&this.setSpanRotation(F,e,x),H(b,{width:\"\",whiteSpace:h||\"nowrap\"}),b.offsetWidth>w&&/[ \\-]/.test(b.textContent||b.innerText)&&H(b,{width:w+\"px\",display:\"block\",whiteSpace:h||\r\n\"normal\"}),this.getSpanCorrection(b.offsetWidth,x,e,F,p));H(b,{left:n+(this.xCorr||0)+\"px\",top:d+(this.yCorr||0)+\"px\"});l&&(x=b.offsetHeight);this.cTT=y}}else this.alignOnAdd=!0},setSpanRotation:function(a,d,m){var c={},n=u?\"-ms-transform\":l?\"-webkit-transform\":f?\"MozTransform\":b.opera?\"-o-transform\":\"\";c[n]=c.transform=\"rotate(\"+a+\"deg)\";c[n+(f?\"Origin\":\"-origin\")]=c.transformOrigin=100*d+\"% \"+m+\"px\";H(this.element,c)},getSpanCorrection:function(a,b,m){this.xCorr=-a*m;this.yCorr=-b}});g(d.prototype,\r\n{html:function(a,b,m){var c=this.createElement(\"span\"),n=c.element,d=c.renderer,l=d.isSVG,e=function(a,e){r([\"opacity\",\"visibility\"],function(b){p(a,b+\"Setter\",function(a,b,c,x){a.call(this,b,c,x);e[c]=b})})};c.textSetter=function(a){a!==n.innerHTML&&delete this.bBox;n.innerHTML=this.textStr=a;c.htmlUpdateTransform()};l&&e(c,c.element.style);c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(a,e){\"align\"===e&&(e=\"textAlign\");c[e]=a;c.htmlUpdateTransform()};c.attr({text:a,x:Math.round(b),\r\ny:Math.round(m)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:\"absolute\"});n.style.whiteSpace=\"nowrap\";c.css=c.htmlCss;l&&(c.add=function(a){var b,x=d.box.parentNode,h=[];if(this.parentGroup=a){if(b=a.div,!b){for(;a;)h.push(a),a=a.parentGroup;r(h.reverse(),function(a){var n,m=B(a.element,\"class\");m&&(m={className:m});b=a.div=a.div||A(\"div\",m,{position:\"absolute\",left:(a.translateX||0)+\"px\",top:(a.translateY||0)+\"px\",display:a.display,opacity:a.opacity,pointerEvents:a.styles&&\r\na.styles.pointerEvents},b||x);n=b.style;g(a,{on:function(){c.on.apply({element:h[0].div},arguments);return a},translateXSetter:function(e,k){n.left=e+\"px\";a[k]=e;a.doTransform=!0},translateYSetter:function(e,k){n.top=e+\"px\";a[k]=e;a.doTransform=!0}});e(a,n)})}}else b=x;b.appendChild(n);c.added=!0;c.alignOnAdd&&c.htmlUpdateTransform();return c});return c}})})(L);(function(a){var B,A,H=a.createElement,G=a.css,r=a.defined,g=a.deg2rad,f=a.discardElement,u=a.doc,l=a.each,q=a.erase,d=a.extend;B=a.extendClass;\r\nvar b=a.isArray,p=a.isNumber,C=a.isObject,t=a.merge;A=a.noop;var m=a.pick,c=a.pInt,n=a.SVGElement,E=a.SVGRenderer,z=a.win;a.svg||(A={docMode8:u&&8===u.documentMode,init:function(a,b){var e=[\"\\x3c\",b,' filled\\x3d\"f\" stroked\\x3d\"f\"'],c=[\"position: \",\"absolute\",\";\"],h=\"div\"===b;(\"shape\"===b||h)&&c.push(\"left:0;top:0;width:1px;height:1px;\");c.push(\"visibility: \",h?\"hidden\":\"visible\");e.push(' style\\x3d\"',c.join(\"\"),'\"/\\x3e');b&&(e=h||\"span\"===b||\"img\"===b?e.join(\"\"):a.prepVML(e),this.element=H(e));this.renderer=\r\na},add:function(a){var e=this.renderer,b=this.element,c=e.box,h=a&&a.inverted,c=a?a.element||a:c;a&&(this.parentGroup=a);h&&e.invertChild(b,c);c.appendChild(b);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform();if(this.onAdd)this.onAdd();this.className&&this.attr(\"class\",this.className);return this},updateTransform:n.prototype.htmlUpdateTransform,setSpanRotation:function(){var a=this.rotation,b=Math.cos(a*g),c=Math.sin(a*g);G(this.element,{filter:a?[\"progid:DXImageTransform.Microsoft.Matrix(M11\\x3d\",\r\nb,\", M12\\x3d\",-c,\", M21\\x3d\",c,\", M22\\x3d\",b,\", sizingMethod\\x3d'auto expand')\"].join(\"\"):\"none\"})},getSpanCorrection:function(a,b,c,n,h){var e=n?Math.cos(n*g):1,x=n?Math.sin(n*g):0,d=m(this.elemHeight,this.element.offsetHeight),F;this.xCorr=0>e&&-a;this.yCorr=0>x&&-d;F=0>e*x;this.xCorr+=x*b*(F?1-c:c);this.yCorr-=e*b*(n?F?c:1-c:1);h&&\"left\"!==h&&(this.xCorr-=a*c*(0>e?-1:1),n&&(this.yCorr-=d*c*(0>x?-1:1)),G(this.element,{textAlign:h}))},pathToVML:function(a){for(var b=a.length,e=[];b--;)p(a[b])?e[b]=\r\nMath.round(10*a[b])-5:\"Z\"===a[b]?e[b]=\"x\":(e[b]=a[b],!a.isArc||\"wa\"!==a[b]&&\"at\"!==a[b]||(e[b+5]===e[b+7]&&(e[b+7]+=a[b+7]>a[b+5]?1:-1),e[b+6]===e[b+8]&&(e[b+8]+=a[b+8]>a[b+6]?1:-1)));return e.join(\" \")||\"x\"},clip:function(a){var b=this,e;a?(e=a.members,q(e,b),e.push(b),b.destroyClip=function(){q(e,b)},a=a.getCSS(b)):(b.destroyClip&&b.destroyClip(),a={clip:b.docMode8?\"inherit\":\"rect(auto)\"});return b.css(a)},css:n.prototype.htmlCss,safeRemoveChild:function(a){a.parentNode&&f(a)},destroy:function(){this.destroyClip&&\r\nthis.destroyClip();return n.prototype.destroy.apply(this)},on:function(a,b){this.element[\"on\"+a]=function(){var a=z.event;a.target=a.srcElement;b(a)};return this},cutOffPath:function(a,b){var e;a=a.split(/[ ,]/);e=a.length;if(9===e||11===e)a[e-4]=a[e-2]=c(a[e-2])-10*b;return a.join(\" \")},shadow:function(a,b,n){var e=[],h,d=this.element,x=this.renderer,p,F=d.style,k,D=d.path,l,t,z,f;D&&\"string\"!==typeof D.value&&(D=\"x\");t=D;if(a){z=m(a.width,3);f=(a.opacity||.15)/z;for(h=1;3>=h;h++)l=2*z+1-2*h,n&&\r\n(t=this.cutOffPath(D.value,l+.5)),k=['\\x3cshape isShadow\\x3d\"true\" strokeweight\\x3d\"',l,'\" filled\\x3d\"false\" path\\x3d\"',t,'\" coordsize\\x3d\"10 10\" style\\x3d\"',d.style.cssText,'\" /\\x3e'],p=H(x.prepVML(k),null,{left:c(F.left)+m(a.offsetX,1),top:c(F.top)+m(a.offsetY,1)}),n&&(p.cutOff=l+1),k=['\\x3cstroke color\\x3d\"',a.color||\"#000000\",'\" opacity\\x3d\"',f*h,'\"/\\x3e'],H(x.prepVML(k),null,null,p),b?b.element.appendChild(p):d.parentNode.insertBefore(p,d),e.push(p);this.shadows=e}return this},updateShadows:A,\r\nsetAttr:function(a,b){this.docMode8?this.element[a]=b:this.element.setAttribute(a,b)},classSetter:function(a){(this.added?this.element:this).className=a},dashstyleSetter:function(a,b,c){(c.getElementsByTagName(\"stroke\")[0]||H(this.renderer.prepVML([\"\\x3cstroke/\\x3e\"]),null,null,c))[b]=a||\"solid\";this[b]=a},dSetter:function(a,b,c){var e=this.shadows;a=a||[];this.d=a.join&&a.join(\" \");c.path=a=this.pathToVML(a);if(e)for(c=e.length;c--;)e[c].path=e[c].cutOff?this.cutOffPath(a,e[c].cutOff):a;this.setAttr(b,\r\na)},fillSetter:function(a,b,c){var e=c.nodeName;\"SPAN\"===e?c.style.color=a:\"IMG\"!==e&&(c.filled=\"none\"!==a,this.setAttr(\"fillcolor\",this.renderer.color(a,c,b,this)))},\"fill-opacitySetter\":function(a,b,c){H(this.renderer.prepVML([\"\\x3c\",b.split(\"-\")[0],' opacity\\x3d\"',a,'\"/\\x3e']),null,null,c)},opacitySetter:A,rotationSetter:function(a,b,c){c=c.style;this[b]=c[b]=a;c.left=-Math.round(Math.sin(a*g)+1)+\"px\";c.top=Math.round(Math.cos(a*g))+\"px\"},strokeSetter:function(a,b,c){this.setAttr(\"strokecolor\",\r\nthis.renderer.color(a,c,b,this))},\"stroke-widthSetter\":function(a,b,c){c.stroked=!!a;this[b]=a;p(a)&&(a+=\"px\");this.setAttr(\"strokeweight\",a)},titleSetter:function(a,b){this.setAttr(b,a)},visibilitySetter:function(a,b,c){\"inherit\"===a&&(a=\"visible\");this.shadows&&l(this.shadows,function(c){c.style[b]=a});\"DIV\"===c.nodeName&&(a=\"hidden\"===a?\"-999em\":0,this.docMode8||(c.style[b]=a?\"visible\":\"hidden\"),b=\"top\");c.style[b]=a},xSetter:function(a,b,c){this[b]=a;\"x\"===b?b=\"left\":\"y\"===b&&(b=\"top\");this.updateClipping?\r\n(this[b]=a,this.updateClipping()):c.style[b]=a},zIndexSetter:function(a,b,c){c.style[b]=a}},A[\"stroke-opacitySetter\"]=A[\"fill-opacitySetter\"],a.VMLElement=A=B(n,A),A.prototype.ySetter=A.prototype.widthSetter=A.prototype.heightSetter=A.prototype.xSetter,A={Element:A,isIE8:-1\r\nC[0]&&b.push([1,C[1]]);l(b,function(k,b){x.test(k[1])?(d=a.color(k[1]),D=d.get(\"rgb\"),w=d.get(\"a\")):(D=k[1],w=1);u.push(100*k[0]+\"% \"+D);b?(v=w,q=D):(E=w,g=D)});if(\"fill\"===n)if(\"gradient\"===t)n=z.x1||z[0]||0,b=z.y1||z[1]||0,f=z.x2||z[2]||0,z=z.y2||z[3]||0,F='angle\\x3d\"'+(90-180*Math.atan((z-b)/(f-n))/Math.PI)+'\"',r();else{var k=z.r,A=2*k,B=2*k,G=z.cx,U=z.cy,L=c.radialReference,T,k=function(){L&&(T=m.getBBox(),G+=(L[0]-T.x)/T.width-.5,U+=(L[1]-T.y)/T.height-.5,A*=L[2]/T.width,B*=L[2]/T.height);F=\r\n'src\\x3d\"'+a.getOptions().global.VMLRadialGradientURL+'\" size\\x3d\"'+A+\",\"+B+'\" origin\\x3d\"0.5,0.5\" position\\x3d\"'+G+\",\"+U+'\" color2\\x3d\"'+g+'\" ';r()};m.added?k():m.onAdd=k;k=q}else k=D}else x.test(b)&&\"IMG\"!==c.tagName?(d=a.color(b),m[n+\"-opacitySetter\"](d.get(\"a\"),n,c),k=d.get(\"rgb\")):(k=c.getElementsByTagName(n),k.length&&(k[0].opacity=1,k[0].type=\"solid\"),k=b);return k},prepVML:function(a){var b=this.isIE8;a=a.join(\"\");b?(a=a.replace(\"/\\x3e\",' xmlns\\x3d\"urn:schemas-microsoft-com:vml\" /\\x3e'),a=\r\n-1===a.indexOf('style\\x3d\"')?a.replace(\"/\\x3e\",' style\\x3d\"display:inline-block;behavior:url(#default#VML);\" /\\x3e'):a.replace('style\\x3d\"','style\\x3d\"display:inline-block;behavior:url(#default#VML);')):a=a.replace(\"\\x3c\",\"\\x3chcv:\");return a},text:E.prototype.html,path:function(a){var c={coordsize:\"10 10\"};b(a)?c.d=a:C(a)&&d(c,a);return this.createElement(\"shape\").attr(c)},circle:function(a,b,c){var e=this.symbol(\"circle\");C(a)&&(c=a.r,b=a.y,a=a.x);e.isCircle=!0;e.r=c;return e.attr({x:a,y:b})},g:function(a){var b;\r\na&&(b={className:\"highcharts-\"+a,\"class\":\"highcharts-\"+a});return this.createElement(\"div\").attr(b)},image:function(a,b,c,n,h){var e=this.createElement(\"img\").attr({src:a});1t&&q-m*cb&&(e=Math.round((d-q)/Math.cos(t*f)));else if(d=q+(1-m)*c,q-m*cb&&(E=b-a.x+E*m,z=-1),E=Math.min(n,E),EE||l.autoRotation&&(C.styles||{}).width)e=E;e&&(x.width=\r\ne,(l.options.labels.style||{}).textOverflow||(x.textOverflow=\"ellipsis\"),C.css(x))},getPosition:function(a,f,g,d){var b=this.axis,p=b.chart,l=d&&p.oldChartHeight||p.chartHeight;return{x:a?b.translate(f+g,null,null,d)+b.transB:b.left+b.offset+(b.opposite?(d&&p.oldChartWidth||p.chartWidth)-b.right-b.left:0),y:a?l-b.bottom+b.offset-(b.opposite?b.height:0):l-b.translate(f+g,null,null,d)-b.transB}},getLabelPosition:function(a,g,q,d,b,p,C,t){var m=this.axis,c=m.transA,n=m.reversed,E=m.staggerLines,z=m.tickRotCorr||\r\n{x:0,y:0},e=b.y;A(e)||(e=0===m.side?q.rotation?-8:-q.getBBox().height:2===m.side?z.y+8:Math.cos(q.rotation*f)*(z.y-q.getBBox(!1,0).height/2));a=a+b.x+z.x-(p&&d?p*c*(n?-1:1):0);g=g+e-(p&&!d?p*c*(n?1:-1):0);E&&(q=C/(t||1)%E,m.opposite&&(q=E-q-1),g+=m.labelOffset/E*q);return{x:a,y:Math.round(g)}},getMarkPath:function(a,f,g,d,b,p){return p.crispLine([\"M\",a,f,\"L\",a+(b?0:-g),f+(b?g:0)],d)},render:function(a,f,q){var d=this.axis,b=d.options,p=d.chart.renderer,l=d.horiz,t=this.type,m=this.label,c=this.pos,\r\nn=b.labels,E=this.gridLine,z=t?t+\"Tick\":\"tick\",e=d.tickSize(z),x=this.mark,F=!x,w=n.step,h={},y=!0,J=d.tickmarkOffset,K=this.getPosition(l,c,J,f),I=K.x,K=K.y,k=l&&I===d.pos+d.len||!l&&K===d.pos?-1:1,D=t?t+\"Grid\":\"grid\",P=b[D+\"LineWidth\"],N=b[D+\"LineColor\"],r=b[D+\"LineDashStyle\"],D=g(b[z+\"Width\"],!t&&d.isXAxis?1:0),z=b[z+\"Color\"];q=g(q,1);this.isActive=!0;E||(h.stroke=N,h[\"stroke-width\"]=P,r&&(h.dashstyle=r),t||(h.zIndex=1),f&&(h.opacity=0),this.gridLine=E=p.path().attr(h).addClass(\"highcharts-\"+(t?\r\nt+\"-\":\"\")+\"grid-line\").add(d.gridGroup));if(!f&&E&&(c=d.getPlotLinePath(c+J,E.strokeWidth()*k,f,!0)))E[this.isNew?\"attr\":\"animate\"]({d:c,opacity:q});e&&(d.opposite&&(e[0]=-e[0]),F&&(this.mark=x=p.path().addClass(\"highcharts-\"+(t?t+\"-\":\"\")+\"tick\").add(d.axisGroup),x.attr({stroke:z,\"stroke-width\":D})),x[F?\"attr\":\"animate\"]({d:this.getMarkPath(I,K,e[0],x.strokeWidth()*k,l,p),opacity:q}));m&&G(I)&&(m.xy=K=this.getLabelPosition(I,K,m,l,n,J,a,w),this.isFirst&&!this.isLast&&!g(b.showFirstLabel,1)||this.isLast&&\r\n!this.isFirst&&!g(b.showLastLabel,1)?y=!1:!l||d.isRadial||n.step||n.rotation||f||0===q||this.handleOverflow(K),w&&a%w&&(y=!1),y&&G(K.y)?(K.opacity=q,m[this.isNew?\"attr\":\"animate\"](K)):m.attr(\"y\",-9999),this.isNew=!1)},destroy:function(){H(this,this.axis)}}})(L);(function(a){var B=a.addEvent,A=a.animObject,H=a.arrayMax,G=a.arrayMin,r=a.AxisPlotLineOrBandExtension,g=a.color,f=a.correctFloat,u=a.defaultOptions,l=a.defined,q=a.deg2rad,d=a.destroyObjectProperties,b=a.each,p=a.extend,C=a.fireEvent,t=a.format,\r\nm=a.getMagnitude,c=a.grep,n=a.inArray,E=a.isArray,z=a.isNumber,e=a.isString,x=a.merge,F=a.normalizeTickInterval,w=a.pick,h=a.PlotLineOrBand,y=a.removeEvent,J=a.splat,K=a.syncTimeout,I=a.Tick;a.Axis=function(){this.init.apply(this,arguments)};a.Axis.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:\"%H:%M:%S.%L\",second:\"%H:%M:%S\",minute:\"%H:%M\",hour:\"%H:%M\",day:\"%e. %b\",week:\"%e. %b\",month:\"%b '%y\",year:\"%Y\"},endOnTick:!1,labels:{enabled:!0,style:{color:\"#666666\",cursor:\"default\",fontSize:\"11px\"},\r\nx:0},minPadding:.01,maxPadding:.01,minorTickLength:2,minorTickPosition:\"outside\",startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:\"between\",tickPixelInterval:100,tickPosition:\"outside\",title:{align:\"middle\",style:{color:\"#666666\"}},type:\"linear\",minorGridLineColor:\"#f2f2f2\",minorGridLineWidth:1,minorTickColor:\"#999999\",lineColor:\"#ccd6eb\",lineWidth:1,gridLineColor:\"#e6e6e6\",tickColor:\"#ccd6eb\"},defaultYAxisOptions:{endOnTick:!0,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},maxPadding:.05,\r\nminPadding:.05,startOnTick:!0,title:{rotation:270,text:\"Values\"},stackLabels:{enabled:!1,formatter:function(){return a.numberFormat(this.total,-1)},style:{fontSize:\"11px\",fontWeight:\"bold\",color:\"#000000\",textOutline:\"1px contrast\"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],\r\nx:0},title:{rotation:0}},init:function(a,b){var k=b.isX;this.chart=a;this.horiz=a.inverted?!k:k;this.isXAxis=k;this.coll=this.coll||(k?\"xAxis\":\"yAxis\");this.opposite=b.opposite;this.side=b.side||(this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(b);var c=this.options,e=c.type;this.labelFormatter=c.labels.formatter||this.defaultLabelFormatter;this.userOptions=b;this.minPixelPadding=0;this.reversed=c.reversed;this.visible=!1!==c.visible;this.zoomEnabled=!1!==c.zoomEnabled;this.hasNames=\r\n\"category\"===e||!0===c.categories;this.categories=c.categories||this.hasNames;this.names=this.names||[];this.isLog=\"logarithmic\"===e;this.isDatetimeAxis=\"datetime\"===e;this.isLinked=l(c.linkedTo);this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=c.minRange||c.maxZoom;this.range=c.range;this.offset=c.offset||0;this.stacks={};this.oldStacks={};this.stacksTouched=0;this.min=this.max=null;this.crosshair=w(c.crosshair,\r\nJ(a.options.tooltip.crosshairs)[k?0:1],!1);var h;b=this.options.events;-1===n(this,a.axes)&&(k?a.axes.splice(a.xAxis.length,0,this):a.axes.push(this),a[this.coll].push(this));this.series=this.series||[];a.inverted&&k&&void 0===this.reversed&&(this.reversed=!0);this.removePlotLine=this.removePlotBand=this.removePlotBandOrLine;for(h in b)B(this,h,b[h]);this.isLog&&(this.val2lin=this.log2lin,this.lin2val=this.lin2log)},setOptions:function(a){this.options=x(this.defaultOptions,\"yAxis\"===this.coll&&this.defaultYAxisOptions,\r\n[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],x(u[this.coll],a))},defaultLabelFormatter:function(){var b=this.axis,c=this.value,e=b.categories,h=this.dateTimeLabelFormat,n=u.lang,d=n.numericSymbols,n=n.numericSymbolMagnitude||1E3,v=d&&d.length,m,f=b.options.labels.format,b=b.isLog?c:b.tickInterval;if(f)m=t(f,this);else if(e)m=c;else if(h)m=a.dateFormat(h,c);else if(v&&1E3<=b)for(;v--&&void 0===m;)e=Math.pow(n,v+1),b>=\r\ne&&0===10*c%e&&null!==d[v]&&0!==c&&(m=a.numberFormat(c/e,-1)+d[v]);void 0===m&&(m=1E4<=Math.abs(c)?a.numberFormat(c,-1):a.numberFormat(c,-1,void 0,\"\"));return m},getSeriesExtremes:function(){var a=this,e=a.chart;a.hasVisibleSeries=!1;a.dataMin=a.dataMax=a.threshold=null;a.softThreshold=!a.isXAxis;a.buildStacks&&a.buildStacks();b(a.series,function(b){if(b.visible||!e.options.chart.ignoreHiddenSeries){var k=b.options,h=k.threshold,D;a.hasVisibleSeries=!0;a.isLog&&0>=h&&(h=null);if(a.isXAxis)k=b.xData,\r\nk.length&&(b=G(k),z(b)||b instanceof Date||(k=c(k,function(a){return z(a)}),b=G(k)),a.dataMin=Math.min(w(a.dataMin,k[0]),b),a.dataMax=Math.max(w(a.dataMax,k[0]),H(k)));else if(b.getExtremes(),D=b.dataMax,b=b.dataMin,l(b)&&l(D)&&(a.dataMin=Math.min(w(a.dataMin,b),b),a.dataMax=Math.max(w(a.dataMax,D),D)),l(h)&&(a.threshold=h),!k.softThreshold||a.isLog)a.softThreshold=!1}})},translate:function(a,b,c,e,h,n){var k=this.linkedParent||this,D=1,m=0,d=e?k.oldTransA:k.transA;e=e?k.oldMin:k.min;var f=k.minPixelPadding;\r\nh=(k.isOrdinal||k.isBroken||k.isLog&&h)&&k.lin2val;d||(d=k.transA);c&&(D*=-1,m=k.len);k.reversed&&(D*=-1,m-=D*(k.sector||k.len));b?(a=(a*D+m-f)/d+e,h&&(a=k.lin2val(a))):(h&&(a=k.val2lin(a)),a=D*(a-e)*d+m+D*f+(z(n)?d*n:0));return a},toPixels:function(a,b){return this.translate(a,!1,!this.horiz,null,!0)+(b?0:this.pos)},toValue:function(a,b){return this.translate(a-(b?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(a,b,c,e,h){var k=this.chart,D=this.left,n=this.top,m,d,f=c&&k.oldChartHeight||\r\nk.chartHeight,p=c&&k.oldChartWidth||k.chartWidth,y;m=this.transB;var t=function(a,b,k){if(ak)e?a=Math.min(Math.max(b,a),k):y=!0;return a};h=w(h,this.translate(a,null,null,c));a=c=Math.round(h+m);m=d=Math.round(f-h-m);z(h)?this.horiz?(m=n,d=f-this.bottom,a=c=t(a,D,D+this.width)):(a=D,c=p-this.right,m=d=t(m,n,n+this.height)):y=!0;return y&&!e?null:k.renderer.crispLine([\"M\",a,m,\"L\",c,d],b||1)},getLinearTickPositions:function(a,b,c){var k,e=f(Math.floor(b/a)*a),h=f(Math.ceil(c/a)*a),D=[];if(b===\r\nc&&z(b))return[b];for(b=e;b<=h;){D.push(b);b=f(b+a);if(b===k)break;k=b}return D},getMinorTickPositions:function(){var a=this.options,b=this.tickPositions,c=this.minorTickInterval,e=[],h,n=this.pointRangePadding||0;h=this.min-n;var n=this.max+n,m=n-h;if(m&&m/c=this.minRange,m,v,d,f,p,y;this.isXAxis&&void 0===this.minRange&&!this.isLog&&(l(a.min)||l(a.max)?this.minRange=null:(b(this.series,function(a){f=a.xData;for(v=p=a.xIncrement?1:f.length-1;0=J?(I=J,x=0):c.dataMax<=J&&(r=J,t=0)),c.min=w(u,I,c.dataMin),c.max=w(A,r,c.dataMax));n&&(!k&&0>=Math.min(c.min,w(c.dataMin,c.min))&&a.error(10,1),c.min=f(d(c.min),15),c.max=f(d(c.max),15));c.range&&l(c.max)&&\r\n(c.userMin=c.min=u=Math.max(c.min,c.minFromRange()),c.userMax=A=c.max,c.range=null);C(c,\"foundExtremes\");c.beforePadding&&c.beforePadding();c.adjustForMinRange();!(q||c.axisPointRange||c.usePercentage||p)&&l(c.min)&&l(c.max)&&(d=c.max-c.min)&&(!l(u)&&x&&(c.min-=d*x),!l(A)&&t&&(c.max+=d*t));z(h.floor)?c.min=Math.max(c.min,h.floor):z(h.softMin)&&(c.min=Math.min(c.min,h.softMin));z(h.ceiling)?c.max=Math.min(c.max,h.ceiling):z(h.softMax)&&(c.max=Math.max(c.max,h.softMax));K&&l(c.dataMin)&&(J=J||0,!l(u)&&\r\nc.min=J?c.min=J:!l(A)&&c.max>J&&c.dataMax<=J&&(c.max=J));c.tickInterval=c.min===c.max||void 0===c.min||void 0===c.max?1:p&&!g&&E===c.linkedParent.options.tickPixelInterval?g=c.linkedParent.tickInterval:w(g,this.tickAmount?(c.max-c.min)/Math.max(this.tickAmount-1,1):void 0,q?1:(c.max-c.min)*E/Math.max(c.len,E));y&&!k&&b(c.series,function(a){a.processData(c.min!==c.oldMin||c.max!==c.oldMax)});c.setAxisTranslation(!0);c.beforeSetTickPositions&&c.beforeSetTickPositions();c.postProcessTickInterval&&\r\n(c.tickInterval=c.postProcessTickInterval(c.tickInterval));c.pointRange&&!g&&(c.tickInterval=Math.max(c.pointRange,c.tickInterval));k=w(h.minTickInterval,c.isDatetimeAxis&&c.closestPointRange);!g&&c.tickIntervalc.tickInterval&&1E3c.max)),!!this.tickAmount));this.tickAmount||(c.tickInterval=c.unsquish());this.setTickPositions()},setTickPositions:function(){var a=\r\nthis.options,b,c=a.tickPositions,e=a.tickPositioner,h=a.startOnTick,n=a.endOnTick,m;this.tickmarkOffset=this.categories&&\"between\"===a.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval=\"auto\"===a.minorTickInterval&&this.tickInterval?this.tickInterval/5:a.minorTickInterval;this.tickPositions=b=c&&c.slice();!b&&(b=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,a.units),this.min,this.max,a.startOfWeek,this.ordinalPositions,this.closestPointRange,\r\n!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),b.length>this.len&&(b=[b[0],b.pop()]),this.tickPositions=b,e&&(e=e.apply(this,[this.min,this.max])))&&(this.tickPositions=b=e);this.trimTicks(b,h,n);this.isLinked||(this.min===this.max&&l(this.min)&&!this.tickAmount&&(m=!0,this.min-=.5,this.max+=.5),this.single=m,c||e||this.adjustTickAmount())},trimTicks:function(a,b,c){var k=a[0],e=a[a.length-1],h=this.minPointOffset||\r\n0;if(!this.isLinked){if(b)this.min=k;else for(;this.min-h>a[0];)a.shift();if(c)this.max=e;else for(;this.max+hb&&(this.finalTickAmt=b,b=5);this.tickAmount=b},adjustTickAmount:function(){var a=this.tickInterval,b=this.tickPositions,c=this.tickAmount,e=this.finalTickAmt,h=b&&b.length;if(hc&&(this.tickInterval*=2,this.setTickPositions());\r\nif(l(e)){for(a=c=b.length;a--;)(3===e&&1===a%2||2>=e&&0e&&(a=e)),l(k)&&(be&&(b=e))),this.displayBtn=void 0!==a||void 0!==b,this.setExtremes(a,b,!1,void 0,{trigger:\"zoom\"});return!0},setAxisSize:function(){var a=this.chart,b=this.options,c=b.offsets||[0,0,0,0],e=this.horiz,h=w(b.width,a.plotWidth-c[3]+c[1]),n=w(b.height,a.plotHeight-c[0]+c[2]),m=w(b.top,a.plotTop+c[0]),b=w(b.left,a.plotLeft+c[3]),c=/%$/;c.test(n)&&(n=\r\nMath.round(parseFloat(n)/100*a.plotHeight));c.test(m)&&(m=Math.round(parseFloat(m)/100*a.plotHeight+a.plotTop));this.left=b;this.top=m;this.width=h;this.height=n;this.bottom=a.chartHeight-n-m;this.right=a.chartWidth-h-b;this.len=Math.max(e?h:n,0);this.pos=e?b:m},getExtremes:function(){var a=this.isLog,b=this.lin2log;return{min:a?f(b(this.min)):this.min,max:a?f(b(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(a){var b=\r\nthis.isLog,c=this.lin2log,k=b?c(this.min):this.min,b=b?c(this.max):this.max;null===a?a=k:k>a?a=k:ba?\"right\":195a?\"left\":\"center\"},tickSize:function(a){var b=this.options,c=b[a+\"Length\"],k=w(b[a+\"Width\"],\"tick\"===a&&this.isXAxis?1:0);if(k&&c)return\"inside\"===b[a+\"Position\"]&&(c=-c),[c,k]},labelMetrics:function(){return this.chart.renderer.fontMetrics(this.options.labels.style&&\r\nthis.options.labels.style.fontSize,this.ticks[0]&&this.ticks[0].label)},unsquish:function(){var a=this.options.labels,c=this.horiz,e=this.tickInterval,h=e,n=this.len/(((this.categories?1:0)+this.max-this.min)/e),m,d=a.rotation,f=this.labelMetrics(),p,y=Number.MAX_VALUE,t,x=function(a){a/=n||1;a=1=a)p=x(Math.abs(f.h/Math.sin(q*a))),b=p+\r\nMath.abs(a/360),b(c.step||0)&&!c.rotation&&(this.staggerLines||1)*this.len/e||!b&&(h&&h-a.spacing[3]||.33*a.chartWidth)},renderUnsquish:function(){var a=this.chart,c=a.renderer,h=this.tickPositions,n=this.ticks,m=this.options.labels,d=this.horiz,\r\nv=this.getSlotWidth(),f=Math.max(1,Math.round(v-2*(m.padding||5))),p={},y=this.labelMetrics(),t=m.style&&m.style.textOverflow,g,z=0,E,w;e(m.rotation)||(p.rotation=m.rotation||0);b(h,function(a){(a=n[a])&&a.labelLength>z&&(z=a.labelLength)});this.maxLabelLength=z;if(this.autoRotation)z>f&&z>y.h?p.rotation=this.labelRotation:this.labelRotation=0;else if(v&&(g={width:f+\"px\"},!t))for(g.textOverflow=\"clip\",E=h.length;!d&&E--;)if(w=h[E],f=n[w].label)f.styles&&\"ellipsis\"===f.styles.textOverflow?f.css({textOverflow:\"clip\"}):\r\nn[w].labelLength>v&&f.css({width:v+\"px\"}),f.getBBox().height>this.len/h.length-(y.h-y.f)&&(f.specCss={textOverflow:\"ellipsis\"});p.rotation&&(g={width:(z>.5*a.chartHeight?.33*a.chartHeight:a.chartHeight)+\"px\"},t||(g.textOverflow=\"ellipsis\"));if(this.labelAlign=m.align||this.autoLabelAlign(this.labelRotation))p.align=this.labelAlign;b(h,function(a){var b=(a=n[a])&&a.label;b&&(b.attr(p),g&&b.css(x(g,b.specCss)),delete b.specCss,a.rotation=p.rotation)});this.tickRotCorr=c.rotCorr(y.b,this.labelRotation||\r\n0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||l(this.min)&&l(this.max)&&!!this.tickPositions},addTitle:function(a){var b=this.chart.renderer,c=this.horiz,k=this.opposite,e=this.options.title,h;this.axisTitle||((h=e.textAlign)||(h=(c?{low:\"left\",middle:\"center\",high:\"right\"}:{low:k?\"right\":\"left\",middle:\"center\",high:k?\"left\":\"right\"})[e.align]),this.axisTitle=b.text(e.text,0,0,e.useHTML).attr({zIndex:7,rotation:e.rotation||0,align:h}).addClass(\"highcharts-axis-title\").css(e.style).add(this.axisGroup),\r\nthis.axisTitle.isNew=!0);this.axisTitle[a?\"show\":\"hide\"](!0)},generateTick:function(a){var b=this.ticks;b[a]?b[a].addLabel():b[a]=new I(this,a)},getOffset:function(){var a=this,c=a.chart,e=c.renderer,h=a.options,n=a.tickPositions,m=a.ticks,d=a.horiz,f=a.side,p=c.inverted?[1,0,3,2][f]:f,y,t,x=0,g,z=0,E=h.title,q=h.labels,F=0,J=c.axisOffset,c=c.clipOffset,K=[-1,1,1,-1][f],C,I=h.className,r=a.axisParent,u=this.tickSize(\"tick\");y=a.hasData();a.showAxis=t=y||w(h.showEmpty,!0);a.staggerLines=a.horiz&&q.staggerLines;\r\na.axisGroup||(a.gridGroup=e.g(\"grid\").attr({zIndex:h.gridZIndex||1}).addClass(\"highcharts-\"+this.coll.toLowerCase()+\"-grid \"+(I||\"\")).add(r),a.axisGroup=e.g(\"axis\").attr({zIndex:h.zIndex||2}).addClass(\"highcharts-\"+this.coll.toLowerCase()+\" \"+(I||\"\")).add(r),a.labelGroup=e.g(\"axis-labels\").attr({zIndex:q.zIndex||7}).addClass(\"highcharts-\"+a.coll.toLowerCase()+\"-labels \"+(I||\"\")).add(r));if(y||a.isLinked)b(n,function(b,c){a.generateTick(b,c)}),a.renderUnsquish(),!1===q.reserveSpace||0!==f&&2!==f&&\r\n{1:\"left\",3:\"right\"}[f]!==a.labelAlign&&\"center\"!==a.labelAlign||b(n,function(a){F=Math.max(m[a].getLabelSize(),F)}),a.staggerLines&&(F*=a.staggerLines,a.labelOffset=F*(a.opposite?-1:1));else for(C in m)m[C].destroy(),delete m[C];E&&E.text&&!1!==E.enabled&&(a.addTitle(t),t&&(x=a.axisTitle.getBBox()[d?\"height\":\"width\"],g=E.offset,z=l(g)?0:w(E.margin,d?5:10)));a.renderLine();a.offset=K*w(h.offset,J[f]);a.tickRotCorr=a.tickRotCorr||{x:0,y:0};e=0===f?-a.labelMetrics().h:2===f?a.tickRotCorr.y:0;z=Math.abs(F)+\r\nz;F&&(z=z-e+K*(d?w(q.y,a.tickRotCorr.y+8*K):q.x));a.axisTitleMargin=w(g,z);J[f]=Math.max(J[f],a.axisTitleMargin+x+K*a.offset,z,y&&n.length&&u?u[0]:0);h=h.offset?0:2*Math.floor(a.axisLine.strokeWidth()/2);c[p]=Math.max(c[p],h)},getLinePath:function(a){var b=this.chart,c=this.opposite,k=this.offset,e=this.horiz,h=this.left+(c?this.width:0)+k,k=b.chartHeight-this.bottom-(c?this.height:0)+k;c&&(a*=-1);return b.renderer.crispLine([\"M\",e?this.left:h,e?k:this.top,\"L\",e?b.chartWidth-this.right:h,e?k:b.chartHeight-\r\nthis.bottom],a)},renderLine:function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass(\"highcharts-axis-line\").add(this.axisGroup),this.axisLine.attr({stroke:this.options.lineColor,\"stroke-width\":this.options.lineWidth,zIndex:7}))},getTitlePosition:function(){var a=this.horiz,b=this.left,c=this.top,e=this.len,h=this.options.title,n=a?b:c,m=this.opposite,d=this.offset,f=h.x||0,p=h.y||0,y=this.chart.renderer.fontMetrics(h.style&&h.style.fontSize,this.axisTitle).f,e={low:n+(a?0:e),\r\nmiddle:n+e/2,high:n+(a?e:0)}[h.align],b=(a?c+this.height:b)+(a?1:-1)*(m?-1:1)*this.axisTitleMargin+(2===this.side?y:0);return{x:a?e+f:b+(m?this.width:0)+d+f,y:a?b+p-(m?this.height:0)+d:e+p}},renderMinorTick:function(a){var b=this.chart.hasRendered&&z(this.oldMin),c=this.minorTicks;c[a]||(c[a]=new I(this,a,\"minor\"));b&&c[a].isNew&&c[a].render(null,!0);c[a].render(null,!1,1)},renderTick:function(a,b){var c=this.isLinked,e=this.ticks,k=this.chart.hasRendered&&z(this.oldMin);if(!c||a>=this.min&&a<=this.max)e[a]||\r\n(e[a]=new I(this,a)),k&&e[a].isNew&&e[a].render(b,!0,.1),e[a].render(b)},render:function(){var a=this,c=a.chart,e=a.options,n=a.isLog,m=a.lin2log,d=a.isLinked,v=a.tickPositions,f=a.axisTitle,p=a.ticks,y=a.minorTicks,t=a.alternateBands,x=e.stackLabels,z=e.alternateGridColor,g=a.tickmarkOffset,E=a.axisLine,w=a.showAxis,l=A(c.renderer.globalAnimation),q,F;a.labelEdge.length=0;a.overlap=!1;b([p,y,t],function(a){for(var b in a)a[b].isActive=!1});if(a.hasData()||d)a.minorTickInterval&&!a.categories&&b(a.getMinorTickPositions(),\r\nfunction(b){a.renderMinorTick(b)}),v.length&&(b(v,function(b,c){a.renderTick(b,c)}),g&&(0===a.min||a.single)&&(p[-1]||(p[-1]=new I(a,-1,null,!0)),p[-1].render(-1))),z&&b(v,function(b,e){F=void 0!==v[e+1]?v[e+1]+g:a.max-g;0===e%2&&b=b.second?0:w*Math.floor(e.getMilliseconds()/w));if(F>=b.second)e[A.hcSetSeconds](F>=b.minute?0:w*Math.floor(e.getSeconds()/w));if(F>=b.minute)e[A.hcSetMinutes](F>=b.hour?0:w*Math.floor(e[A.hcGetMinutes]()/w));if(F>=b.hour)e[A.hcSetHours](F>=\r\nb.day?0:w*Math.floor(e[A.hcGetHours]()/w));if(F>=b.day)e[A.hcSetDate](F>=b.month?1:w*Math.floor(e[A.hcGetDate]()/w));F>=b.month&&(e[A.hcSetMonth](F>=b.year?0:w*Math.floor(e[A.hcGetMonth]()/w)),z=e[A.hcGetFullYear]());if(F>=b.year)e[A.hcSetFullYear](z-z%w);if(F===b.week)e[A.hcSetDate](e[A.hcGetDate]()-e[A.hcGetDay]()+d(m,1));z=e[A.hcGetFullYear]();m=e[A.hcGetMonth]();var y=e[A.hcGetDate](),J=e[A.hcGetHours]();if(A.hcTimezoneOffset||A.hcGetTimezoneOffset)h=(!p||!!A.hcGetTimezoneOffset)&&(t-q>4*b.month||\r\nl(q)!==l(t)),e=e.getTime(),e=new A(e+l(e));p=e.getTime();for(q=1;pc.length&&g(c,function(a){0===a%18E5&&\"000000000\"===H(\"%H%M%S%L\",a)&&(n[a]=\"day\")})}c.info=f(a,{higherRanks:n,totalRange:F*w});return c};B.prototype.normalizeTimeTickInterval=function(a,d){var f=d||[[\"millisecond\",[1,2,5,10,20,25,50,100,200,500]],[\"second\",\r\n[1,2,5,10,15,30]],[\"minute\",[1,2,5,10,15,30]],[\"hour\",[1,2,3,4,6,8,12]],[\"day\",[1,2]],[\"week\",[1,2]],[\"month\",[1,2,3,4,6]],[\"year\",null]];d=f[f.length-1];var m=b[d[0]],c=d[1],n;for(n=0;nf&&(!l||n<=u)&&void 0!==n&&C.push(n),n>u&&(E=!0),n=c;else f=b(f),u=b(u),a=g[l?\"minorTickInterval\":\"tickInterval\"],a=r(\"auto\"===a?null:a,this._minorAutoInterval,\r\ng.tickPixelInterval/(l?5:1)*(u-f)/((l?d/this.tickPositions.length:d)||1)),a=G(a,null,A(a)),C=H(this.getLinearTickPositions(a,f,u),p),l||(this._minorAutoInterval=a/5);l||(this.tickInterval=a);return C};B.prototype.log2lin=function(a){return Math.log(a)/Math.LN10};B.prototype.lin2log=function(a){return Math.pow(10,a)}})(L);(function(a){var B=a.dateFormat,A=a.each,H=a.extend,G=a.format,r=a.isNumber,g=a.map,f=a.merge,u=a.pick,l=a.splat,q=a.syncTimeout,d=a.timeUnits;a.Tooltip=function(){this.init.apply(this,\r\narguments)};a.Tooltip.prototype={init:function(a,d){this.chart=a;this.options=d;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=d.split&&!a.inverted;this.shared=d.shared||this.split},cleanSplit:function(a){A(this.chart.series,function(b){var d=b&&b.tt;d&&(!d.isActive||a?b.tt=d.destroy():d.isActive=!1)})},getLabel:function(){var a=this.chart.renderer,d=this.options;this.label||(this.split?this.label=a.g(\"tooltip\"):(this.label=a.label(\"\",0,0,d.shape||\"callout\",null,null,d.useHTML,\r\nnull,\"tooltip\").attr({padding:d.padding,r:d.borderRadius}),this.label.attr({fill:d.backgroundColor,\"stroke-width\":d.borderWidth}).css(d.style).shadow(d.shadow)),this.label.attr({zIndex:8}).add());return this.label},update:function(a){this.destroy();this.init(this.chart,f(!0,this.options,a))},destroy:function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());clearTimeout(this.hideTimer);clearTimeout(this.tooltipTimeout)},\r\nmove:function(a,d,f,t){var b=this,c=b.now,n=!1!==b.options.animation&&!b.isHidden&&(1p-n?p:p-n);\r\nelse if(y)c[a]=Math.max(d,h+n+e>b?h:h+n);else return!1},w=function(a,b,e,h){var k;hb-m?k=!1:c[a]=hb-e/2?b-e-2:h-e/2;return k},h=function(a){var b=z;z=e;e=b;p=a},y=function(){!1!==g.apply(0,z)?!1!==w.apply(0,e)||p||(h(!0),y()):p?c.x=c.y=0:(h(!0),y())};(b.inverted||1y&&(n=!1);a=(b.series&&b.series.yAxis&&b.series.yAxis.pos)+(b.plotY||0);a-=m.plotTop;p.push({target:b.isHeader?m.plotHeight+z:a,rank:b.isHeader?1:0,size:x.tt.getBBox().height+1,point:b,x:y,tt:h})});this.cleanSplit();a.distribute(p,m.plotHeight+z);A(p,function(a){var b=a.point,c=b.series;a.tt.attr({visibility:void 0===\r\na.pos?\"hidden\":\"inherit\",x:n||b.isHeader?a.x:b.plotX+m.plotLeft+u(g.distance,16),y:a.pos+m.plotTop,anchorX:b.isHeader?b.plotX+m.plotLeft:b.plotX+c.xAxis.pos,anchorY:b.isHeader?a.pos+m.plotTop-15:b.plotY+c.yAxis.pos})})},updatePosition:function(a){var b=this.chart,d=this.getLabel(),d=(this.options.positioner||this.getPosition).call(this,d.width,d.height,a);this.move(Math.round(d.x),Math.round(d.y||0),a.plotX+b.plotLeft,a.plotY+b.plotTop)},getDateFormat:function(a,f,g,t){var b=B(\"%m-%d %H:%M:%S.%L\",\r\nf),c,n,p={millisecond:15,second:12,minute:9,hour:6,day:3},z=\"millisecond\";for(n in d){if(a===d.week&&+B(\"%w\",f)===g&&\"00:00:00.000\"===b.substr(6)){n=\"week\";break}if(d[n]>a){n=z;break}if(p[n]&&b.substr(p[n])!==\"01-01 00:00:00.000\".substr(p[n]))break;\"week\"!==n&&(z=n)}n&&(c=t[n]);return c},getXDateFormat:function(a,d,f){d=d.dateTimeLabelFormats;var b=f&&f.closestPointRange;return(b?this.getDateFormat(b,a.x,f.options.startOfWeek,d):d.day)||d.year},tooltipFooterHeaderFormatter:function(a,d){var b=d?\"footer\":\r\n\"header\";d=a.series;var f=d.tooltipOptions,m=f.xDateFormat,c=d.xAxis,n=c&&\"datetime\"===c.options.type&&r(a.key),b=f[b+\"Format\"];n&&!m&&(m=this.getXDateFormat(a,f,c));n&&m&&(b=b.replace(\"{point.key}\",\"{point.key:\"+m+\"}\"));return G(b,{point:a,series:d})},bodyFormatter:function(a){return g(a,function(a){var b=a.series.tooltipOptions;return(b.pointFormatter||a.point.tooltipFormatter).call(a.point,b.pointFormat)})}}})(L);(function(a){var B=a.addEvent,A=a.attr,H=a.charts,G=a.color,r=a.css,g=a.defined,f=\r\na.doc,u=a.each,l=a.extend,q=a.fireEvent,d=a.offset,b=a.pick,p=a.removeEvent,C=a.splat,t=a.Tooltip,m=a.win;a.Pointer=function(a,b){this.init(a,b)};a.Pointer.prototype={init:function(a,d){this.options=d;this.chart=a;this.runChartClick=d.chart.events&&!!d.chart.events.click;this.pinchDown=[];this.lastValidTouch={};t&&d.tooltip.enabled&&(a.tooltip=new t(a,d.tooltip),this.followTouchMove=b(d.tooltip.followTouchMove,!0));this.setDOMEvents()},zoomOption:function(a){var c=this.chart,d=c.options.chart,m=d.zoomType||\r\n\"\",c=c.inverted;/touch/.test(a.type)&&(m=b(d.pinchType,m));this.zoomX=a=/x/.test(m);this.zoomY=m=/y/.test(m);this.zoomHor=a&&!c||m&&c;this.zoomVert=m&&!c||a&&c;this.hasZoom=a||m},normalize:function(a,b){var c,n;a=a||m.event;a.target||(a.target=a.srcElement);n=a.touches?a.touches.length?a.touches.item(0):a.changedTouches[0]:a;b||(this.chartPosition=b=d(this.chart.container));void 0===n.pageX?(c=Math.max(a.x,a.clientX-b.left),b=a.y):(c=n.pageX-b.left,b=n.pageY-b.top);return l(a,{chartX:Math.round(c),\r\nchartY:Math.round(b)})},getCoordinates:function(a){var b={xAxis:[],yAxis:[]};u(this.chart.axes,function(c){b[c.isXAxis?\"xAxis\":\"yAxis\"].push({axis:c,value:c.toValue(a[c.horiz?\"chartX\":\"chartY\"])})});return b},runPointActions:function(c){var d=this.chart,m=d.series,p=d.tooltip,e=p?p.shared:!1,g=!0,t=d.hoverPoint,w=d.hoverSeries,h,y,l,q=[],r;if(!e&&!w)for(h=0;hb.series.index?-1:1}));if(e)for(h=q.length;h--;)(q[h].x!==q[0].x||q[h].series.noSharedTooltip)&&q.splice(h,1);if(q[0]&&(q[0]!==\r\nthis.prevKDPoint||p&&p.isHidden)){if(e&&!q[0].series.noSharedTooltip){for(h=0;hp+y&&(d=p+y),e<\r\nh?e=h:e>h+g&&(e=h+g),this.hasDragged=Math.sqrt(Math.pow(k-d,2)+Math.pow(l-e,2)),10h.max&&(g=h.max-e,D=!0);D?(u-=.8*(u-p[m][0]),y||(k-=.8*(k-p[m][1])),l()):p[m]=[u,k];w||(b[m]=x-z,b[E]=e);b=w?1/F:F;d[E]=e;d[m]=g;q[w?a?\"scaleY\":\r\n\"scaleX\":\"scale\"+c]=F;q[\"translate\"+c]=b*z+(u-b*J)},pinch:function(a){var f=this,l=f.chart,q=f.pinchDown,d=a.touches,b=d.length,p=f.lastValidTouch,C=f.hasZoom,t=f.selectionMarker,m={},c=1===b&&(f.inClass(a.target,\"highcharts-tracker\")&&l.runTrackerClick||f.runChartClick),n={};1d-6&&n(r||b.chartWidth-2*h-u-m.x)&&(this.itemX=u,this.itemY+=k+this.lastLineHeight+I,this.lastLineHeight=0);this.maxItemWidth=Math.max(this.maxItemWidth,e);this.lastItemY=k+this.itemY+I;this.lastLineHeight=Math.max(g,this.lastLineHeight);a._legendItemPos=[this.itemX,this.itemY];p?this.itemX+=e:\r\n(this.itemY+=k+g+I,this.lastLineHeight=g);this.offsetWidth=r||Math.max((p?this.itemX-u-y:e)+h,this.offsetWidth)},getAllItems:function(){var a=[];g(this.chart.series,function(b){var c=b&&b.options;b&&d(c.showInLegend,r(c.linkedTo)?!1:void 0,!0)&&(a=a.concat(b.legendItems||(\"point\"===c.legendType?b.data:b)))});return a},adjustMargins:function(a,b){var c=this.chart,f=this.options,m=f.align.charAt(0)+f.verticalAlign.charAt(0)+f.layout.charAt(0);f.floating||g([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,\r\n/(lbv|lm|ltv)/],function(e,n){e.test(m)&&!r(a[n])&&(c[l[n]]=Math.max(c[l[n]],c.legend[(n+1)%2?\"legendHeight\":\"legendWidth\"]+[1,-1,-1,1][n]*f[n%2?\"x\":\"y\"]+d(f.margin,12)+b[n]))})},render:function(){var a=this,b=a.chart,d=b.renderer,q=a.group,l,e,t,r,w=a.box,h=a.options,y=a.padding;a.itemX=a.initialItemX;a.itemY=a.initialItemY;a.offsetWidth=0;a.lastItemY=0;q||(a.group=q=d.g(\"legend\").attr({zIndex:7}).add(),a.contentGroup=d.g().attr({zIndex:1}).add(q),a.scrollGroup=d.g().add(a.contentGroup));a.renderTitle();\r\nl=a.getAllItems();p(l,function(a,b){return(a.options&&a.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)});h.reversed&&l.reverse();a.allItems=l;a.display=e=!!l.length;a.lastLineHeight=0;g(l,function(b){a.renderItem(b)});t=(h.width||a.offsetWidth)+y;r=a.lastItemY+a.lastLineHeight+a.titleHeight;r=a.handleOverflow(r);r+=y;w||(a.box=w=d.rect().addClass(\"highcharts-legend-box\").attr({r:h.borderRadius}).add(q),w.isNew=!0);w.attr({stroke:h.borderColor,\"stroke-width\":h.borderWidth||0,fill:h.backgroundColor||\r\n\"none\"}).shadow(h.shadow);0f&&!1!==t.enabled?(this.clipHeight=q=Math.max(f-20-this.titleHeight-I,0),this.currentPage=d(this.currentPage,1),this.fullHeight=\r\na,g(D,function(a,b){var c=a._legendItemPos[1];a=Math.round(a.legendItem.getBBox().height);var e=u.length;if(!e||c-u[e-1]>q&&(k||c)!==u[e-1])u.push(k||c),e++;b===D.length-1&&c+a-u[e-1]>q&&u.push(c);c!==k&&(k=c)}),l||(l=b.clipRect=m.clipRect(0,I,9999,0),b.contentGroup.clip(l)),C(q),r||(this.nav=r=m.g().attr({zIndex:1}).add(this.group),this.up=m.symbol(\"triangle\",0,0,y,y).on(\"click\",function(){b.scroll(-1,h)}).add(r),this.pager=m.text(\"\",15,10).addClass(\"highcharts-legend-navigation\").css(t.style).add(r),\r\nthis.down=m.symbol(\"triangle-down\",0,0,y,y).on(\"click\",function(){b.scroll(1,h)}).add(r)),b.scroll(0),a=f):r&&(C(),r.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a},scroll:function(a,c){var d=this.pages,f=d.length;a=this.currentPage+a;var m=this.clipHeight,e=this.options.navigation,p=this.pager,g=this.padding;a>f&&(a=f);0m&&(d=typeof a[0],\"string\"===d?b.name=a[0]:\"number\"===d&&(b.x=a[0]),c++);n=g.value;)g=b[++f];g&&g.color&&!this.options.color&&(this.color=g.color);return g},destroy:function(){var a=this.series.chart,b=a.hoverPoints,f;a.pointCount--;b&&(this.setState(),G(b,this),b.length||\r\n(a.hoverPoints=null));if(this===a.hoverPoint)this.onMouseOut();if(this.graphic||this.dataLabel)q(this),this.destroyElements();this.legendItem&&a.legend.destroyItem(this);for(f in this)this[f]=null},destroyElements:function(){for(var a=[\"graphic\",\"dataLabel\",\"dataLabelUpper\",\"connector\",\"shadowGroup\"],b,f=6;f--;)b=a[f],this[b]&&(this[b]=this[b].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,\r\npoint:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(a){var b=this.series,d=b.tooltipOptions,f=l(d.valueDecimals,\"\"),q=d.valuePrefix||\"\",m=d.valueSuffix||\"\";A(b.pointArrayMap||[\"y\"],function(b){b=\"{point.\"+b;if(q||m)a=a.replace(b+\"}\",q+b+\"}\"+m);a=a.replace(b+\"}\",b+\":,.\"+f+\"f}\")});return g(a,{point:this,series:this.series})},firePointEvent:function(a,b,f){var d=this,g=this.series.options;(g.point.events[a]||d.options&&d.options.events&&d.options.events[a])&&\r\nthis.importEvents();\"click\"===a&&g.allowPointSelect&&(f=function(a){d.select&&d.select(null,a.ctrlKey||a.metaKey||a.shiftKey)});r(this,a,b,f)},visible:!0}})(L);(function(a){var B=a.addEvent,A=a.animObject,H=a.arrayMax,G=a.arrayMin,r=a.correctFloat,g=a.Date,f=a.defaultOptions,u=a.defaultPlotOptions,l=a.defined,q=a.each,d=a.erase,b=a.extend,p=a.fireEvent,C=a.grep,t=a.isArray,m=a.isNumber,c=a.isString,n=a.merge,E=a.pick,z=a.removeEvent,e=a.splat,x=a.SVGElement,F=a.syncTimeout,w=a.win;a.Series=a.seriesType(\"line\",\r\nnull,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{lineWidth:0,lineColor:\"#ffffff\",radius:4,states:{hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:\"#cccccc\",lineColor:\"#000000\",lineWidth:2}}},point:{events:{}},dataLabels:{align:\"center\",formatter:function(){return null===this.y?\"\":a.numberFormat(this.y,-1)},style:{fontSize:\"11px\",fontWeight:\"bold\",color:\"contrast\",textOutline:\"1px contrast\"},verticalAlign:\"bottom\",\r\nx:0,y:0,padding:5},cropThreshold:300,pointRange:0,softThreshold:!0,states:{hover:{lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1E3},{isCartesian:!0,pointClass:a.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:[\"xAxis\",\"yAxis\"],colorCounter:0,parallelArrays:[\"x\",\"y\"],coll:\"series\",init:function(a,c){var e=this,h,d,k=a.series,f;e.chart=a;e.options=c=e.setOptions(c);e.linkedSeries=[];e.bindAxes();b(e,{name:c.name,state:\"\",visible:!1!==\r\nc.visible,selected:!0===c.selected});d=c.events;for(h in d)B(e,h,d[h]);if(d&&d.click||c.point&&c.point.events&&c.point.events.click||c.allowPointSelect)a.runTrackerClick=!0;e.getColor();e.getSymbol();q(e.parallelArrays,function(a){e[a+\"Data\"]=[]});e.setData(c.data,!1);e.isCartesian&&(a.hasCartesianSeries=!0);k.length&&(f=k[k.length-1]);e._i=E(f&&f._i,-1)+1;a.orderSeries(this.insert(k))},insert:function(a){var b=this.options.index,c;if(m(b)){for(c=a.length;c--;)if(b>=E(a[c].options.index,a[c]._i)){a.splice(c+\r\n1,0,this);break}-1===c&&a.unshift(this);c+=1}else a.push(this);return E(c,a.length-1)},bindAxes:function(){var b=this,c=b.options,e=b.chart,d;q(b.axisTypes||[],function(h){q(e[h],function(a){d=a.options;if(c[h]===d.index||void 0!==c[h]&&c[h]===d.id||void 0===c[h]&&0===d.index)b.insert(a.series),b[h]=a,a.isDirty=!0});b[h]||b.optionalAxis===h||a.error(18,!0)})},updateParallelArrays:function(a,b){var c=a.series,e=arguments,h=m(b)?function(e){var h=\"y\"===e&&c.toYData?c.toYData(a):a[e];c[e+\"Data\"][b]=\r\nh}:function(a){Array.prototype[b].apply(c[a+\"Data\"],Array.prototype.slice.call(e,2))};q(c.parallelArrays,h)},autoIncrement:function(){var a=this.options,b=this.xIncrement,c,e=a.pointIntervalUnit,b=E(b,a.pointStart,0);this.pointInterval=c=E(this.pointInterval,a.pointInterval,1);e&&(a=new g(b),\"day\"===e?a=+a[g.hcSetDate](a[g.hcGetDate]()+c):\"month\"===e?a=+a[g.hcSetMonth](a[g.hcGetMonth]()+c):\"year\"===e&&(a=+a[g.hcSetFullYear](a[g.hcGetFullYear]()+c)),c=a-b);this.xIncrement=b+c;return b},setOptions:function(a){var b=\r\nthis.chart,c=b.options.plotOptions,b=b.userOptions||{},e=b.plotOptions||{},h=c[this.type];this.userOptions=a;c=n(h,c.series,a);this.tooltipOptions=n(f.tooltip,f.plotOptions[this.type].tooltip,b.tooltip,e.series&&e.series.tooltip,e[this.type]&&e[this.type].tooltip,a.tooltip);null===h.marker&&delete c.marker;this.zoneAxis=c.zoneAxis;a=this.zones=(c.zones||[]).slice();!c.negativeColor&&!c.negativeFillColor||c.zones||a.push({value:c[this.zoneAxis+\"Threshold\"]||c.threshold||0,className:\"highcharts-negative\",\r\ncolor:c.negativeColor,fillColor:c.negativeFillColor});a.length&&l(a[a.length-1].value)&&a.push({color:this.color,fillColor:this.fillColor});return c},getCyclic:function(a,b,c){var e,h=this.chart,d=this.userOptions,f=a+\"Index\",n=a+\"Counter\",m=c?c.length:E(h.options.chart[a+\"Count\"],h[a+\"Count\"]);b||(e=E(d[f],d[\"_\"+f]),l(e)||(h.series.length||(h[n]=0),d[\"_\"+f]=e=h[n]%m,h[n]+=1),c&&(b=c[e]));void 0!==e&&(this[f]=e);this[a]=b},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic(\"color\",\r\nthis.options.color||u[this.type].color,this.chart.options.colors)},getSymbol:function(){this.getCyclic(\"symbol\",this.options.marker.symbol,this.chart.options.symbols)},drawLegendSymbol:a.LegendSymbolMixin.drawLineMarker,setData:function(b,e,d,f){var h=this,k=h.points,n=k&&k.length||0,g,p=h.options,y=h.chart,l=null,w=h.xAxis,x=p.turboThreshold,r=this.xData,z=this.yData,F=(g=h.pointArrayMap)&&g.length;b=b||[];g=b.length;e=E(e,!0);if(!1!==f&&g&&n===g&&!h.cropped&&!h.hasGroupedData&&h.visible)q(b,function(a,\r\nb){k[b].update&&a!==p.data[b]&&k[b].update(a,!1,null,!1)});else{h.xIncrement=null;h.colorCounter=0;q(this.parallelArrays,function(a){h[a+\"Data\"].length=0});if(x&&g>x){for(d=0;null===l&&dm||this.forceCrop))if(c[h-1]w)c=[],e=[];else if(c[0]w)d=this.cropData(this.xData,this.yData,t,w),c=d.xData,e=d.yData,d=d.start,k=!0;for(m=c.length||1;--m;)h=q?g(c[m])-g(c[m-1]):c[m]-c[m-1],0h&&this.requireSorting&&a.error(15);this.cropped=k;this.cropStart=d;this.processedXData=c;this.processedYData=e;this.closestPointRange=\r\nf},cropData:function(a,b,c,e){var h=a.length,d=0,f=h,n=E(this.cropShoulder,1),m;for(m=0;m=c){d=Math.max(0,m-n);break}for(c=m;ce){f=c+n;break}return{xData:a.slice(d,f),yData:b.slice(d,f),start:d,end:f}},generatePoints:function(){var a=this.options.data,b=this.data,c,d=this.processedXData,f=this.processedYData,k=this.pointClass,n=d.length,m=this.cropStart||0,g,p=this.hasGroupedData,l,q=[],t;b||p||(b=[],b.length=a.length,b=this.data=b);for(t=0;t=f&&(c[q-1]||p)<=n,g&&p)if(g=l.length)for(;g--;)null!==l[g]&&(h[d++]=l[g]);else h[d++]=l;this.dataMin=G(h);this.dataMax=H(h)},translate:function(){this.processedXData||this.processData();this.generatePoints();var a=this.options,b=a.stacking,c=this.xAxis,e=c.categories,d=this.yAxis,k=this.points,f=k.length,n=!!this.modifyValue,g=a.pointPlacement,p=\"between\"===g||m(g),q=a.threshold,\r\nt=a.startFromThreshold?q:0,w,x,z,F,u=Number.MAX_VALUE;\"between\"===g&&(g=.5);m(g)&&(g*=E(a.pointRange||c.pointRange));for(a=0;a=B&&(C.isNull=!0);C.plotX=w=r(Math.min(Math.max(-1E5,c.translate(A,0,0,0,1,g,\"flags\"===this.type)),1E5));b&&this.visible&&!C.isNull&&H&&H[A]&&(F=this.getStackIndicator(F,A,this.index),G=H[A],B=G.points[F.key],x=B[0],B=B[1],x===t&&F.key===H[A].base&&\r\n(x=E(q,d.min)),d.isLog&&0>=x&&(x=null),C.total=C.stackTotal=G.total,C.percentage=G.total&&C.y/G.total*100,C.stackY=B,G.setOffset(this.pointXOffset||0,this.barW||0));C.yBottom=l(x)?d.translate(x,0,1,0,1):null;n&&(B=this.modifyValue(B,C));C.plotY=x=\"number\"===typeof B&&Infinity!==B?Math.min(Math.max(-1E5,d.translate(B,0,1,0,1)),1E5):void 0;C.isInside=void 0!==x&&0<=x&&x<=d.len&&0<=w&&w<=c.len;C.clientX=p?r(c.translate(A,0,0,0,1,g)):w;C.negative=C.y<(q||0);C.category=e&&void 0!==e[C.x]?e[C.x]:C.x;C.isNull||\r\n(void 0!==z&&(u=Math.min(u,Math.abs(w-z))),z=w);C.zone=this.zones.length&&C.getZone()}this.closestPointRangePx=u},getValidPoints:function(a,b){var c=this.chart;return C(a||this.points||[],function(a){return b&&!c.isInsidePlot(a.plotX,a.plotY,c.inverted)?!1:!a.isNull})},setClip:function(a){var b=this.chart,c=this.options,e=b.renderer,d=b.inverted,h=this.clipBox,f=h||b.clipBox,n=this.sharedClipKey||[\"_sharedClip\",a&&a.duration,a&&a.easing,f.height,c.xAxis,c.yAxis].join(),m=b[n],g=b[n+\"m\"];m||(a&&(f.width=\r\n0,b[n+\"m\"]=g=e.clipRect(-99,d?-b.plotLeft:-b.plotTop,99,d?b.chartWidth:b.chartHeight)),b[n]=m=e.clipRect(f),m.count={length:0});a&&!m.count[this.index]&&(m.count[this.index]=!0,m.count.length+=1);!1!==c.clip&&(this.group.clip(a||h?m:b.clipRect),this.markerGroup.clip(g),this.sharedClipKey=n);a||(m.count[this.index]&&(delete m.count[this.index],--m.count.length),0===m.count.length&&n&&b[n]&&(h||(b[n]=b[n].destroy()),b[n+\"m\"]&&(this.markerGroup.clip(),b[n+\"m\"]=b[n+\"m\"].destroy())))},animate:function(a){var b=\r\nthis.chart,c=A(this.options.animation),e;a?this.setClip(c):(e=this.sharedClipKey,(a=b[e])&&a.animate({width:b.plotSizeX},c),b[e+\"m\"]&&b[e+\"m\"].animate({width:b.plotSizeX+99},c),this.animate=null)},afterAnimate:function(){this.setClip();p(this,\"afterAnimate\")},drawPoints:function(){var a=this.points,b=this.chart,c,e,d,k,f=this.options.marker,n,g,p,l,q=this.markerGroup,t=E(f.enabled,this.xAxis.isRadial?!0:null,this.closestPointRangePx>2*f.radius);if(!1!==f.enabled||this._hasPointMarkers)for(e=0;ed&&b.shadow));f&&(f.startX=c.xMap,f.isArea=c.isArea)})},applyZones:function(){var a=this,b=this.chart,c=b.renderer,e=this.zones,d,f,n=this.clips||[],m,g=this.graph,p=this.area,l=Math.max(b.chartWidth,b.chartHeight),t=this[(this.zoneAxis||\"y\")+\"Axis\"],w,x,r=b.inverted,z,F,u,C,A=!1;e.length&&(g||p)&&t&&void 0!==t.min&&(x=t.reversed,z=t.horiz,g&&g.hide(),p&&p.hide(),w=t.getExtremes(),q(e,function(e,h){d=x?z?b.plotWidth:0:z?0:\r\nt.toPixels(w.min);d=Math.min(Math.max(E(f,d),0),l);f=Math.min(Math.max(Math.round(t.toPixels(E(e.value,w.max),!0)),0),l);A&&(d=f=t.toPixels(w.max));F=Math.abs(d-f);u=Math.min(d,f);C=Math.max(d,f);t.isXAxis?(m={x:r?C:u,y:0,width:F,height:l},z||(m.x=b.plotHeight-m.x)):(m={x:0,y:r?C:u,width:l,height:F},z&&(m.y=b.plotWidth-m.y));r&&c.isVML&&(m=t.isXAxis?{x:0,y:x?u:C,height:m.width,width:b.chartWidth}:{x:m.y-b.plotLeft-b.spacingBox.x,y:0,width:m.height,height:b.chartHeight});n[h]?n[h].animate(m):(n[h]=\r\nc.clipRect(m),g&&a[\"zone-graph-\"+h].clip(n[h]),p&&a[\"zone-area-\"+h].clip(n[h]));A=e.value>w.max}),this.clips=n)},invertGroups:function(a){function b(){q([\"group\",\"markerGroup\"],function(b){c[b]&&(c[b].width=c.yAxis.len,c[b].height=c.xAxis.len,c[b].invert(a))})}var c=this,e;c.xAxis&&(e=B(c.chart,\"resize\",b),B(c,\"destroy\",e),b(a),c.invertGroups=b)},plotGroup:function(a,b,c,e,d){var h=this[a],f=!h;f&&(this[a]=h=this.chart.renderer.g(b).attr({zIndex:e||.1}).add(d),h.addClass(\"highcharts-series-\"+this.index+\r\n\" highcharts-\"+this.type+\"-series highcharts-color-\"+this.colorIndex+\" \"+(this.options.className||\"\")));h.attr({visibility:c})[f?\"attr\":\"animate\"](this.getPlotBox());return h},getPlotBox:function(){var a=this.chart,b=this.xAxis,c=this.yAxis;a.inverted&&(b=c,c=this.xAxis);return{translateX:b?b.left:a.plotLeft,translateY:c?c.top:a.plotTop,scaleX:1,scaleY:1}},render:function(){var a=this,b=a.chart,c,e=a.options,d=!!a.animate&&b.renderer.isSVG&&A(e.animation).duration,f=a.visible?\"inherit\":\"hidden\",n=\r\ne.zIndex,m=a.hasRendered,g=b.seriesGroup,p=b.inverted;c=a.plotGroup(\"group\",\"series\",f,n,g);a.markerGroup=a.plotGroup(\"markerGroup\",\"markers\",f,n,g);d&&a.animate(!0);c.inverted=a.isCartesian?p:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.drawDataLabels&&a.drawDataLabels();a.visible&&a.drawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(p);!1===e.clip||a.sharedClipKey||m||c.clip(b.clipRect);d&&a.animate();m||(a.animationTimeout=F(function(){a.afterAnimate()},\r\nd));a.isDirty=!1;a.hasRendered=!0},redraw:function(){var a=this.chart,b=this.isDirty||this.isDirtyData,c=this.group,e=this.xAxis,d=this.yAxis;c&&(a.inverted&&c.attr({width:a.plotWidth,height:a.plotHeight}),c.animate({translateX:E(e&&e.left,a.plotLeft),translateY:E(d&&d.top,a.plotTop)}));this.translate();this.render();b&&delete this.kdTree},kdDimensions:1,kdAxisArray:[\"clientX\",\"plotY\"],searchPoint:function(a,b){var c=this.xAxis,e=this.yAxis,d=this.chart.inverted;return this.searchKDTree({clientX:d?\r\nc.len-a.chartY+c.pos:a.chartX-c.pos,plotY:d?e.len-a.chartX+e.pos:a.chartY-e.pos},b)},buildKDTree:function(){function a(c,e,d){var h,f;if(f=c&&c.length)return h=b.kdAxisArray[e%d],c.sort(function(a,b){return a[h]-b[h]}),f=Math.floor(f/2),{point:c[f],left:a(c.slice(0,f),e+1,d),right:a(c.slice(f+1),e+1,d)}}this.buildingKdTree=!0;var b=this,c=b.kdDimensions;delete b.kdTree;F(function(){b.kdTree=a(b.getValidPoints(null,!b.directTouch),c,c);b.buildingKdTree=!1},b.options.kdNow?0:1)},searchKDTree:function(a,\r\nb){function c(a,b,k,n){var m=b.point,g=e.kdAxisArray[k%n],p,t,q=m;t=l(a[d])&&l(m[d])?Math.pow(a[d]-m[d],2):null;p=l(a[h])&&l(m[h])?Math.pow(a[h]-m[h],2):null;p=(t||0)+(p||0);m.dist=l(p)?Math.sqrt(p):Number.MAX_VALUE;m.distX=l(t)?Math.sqrt(t):Number.MAX_VALUE;g=a[g]-m[g];p=0>g?\"left\":\"right\";t=0>g?\"right\":\"left\";b[p]&&(p=c(a,b[p],k+1,n),q=p[f]w;)q--;this.updateParallelArrays(k,\"splice\",q,0,0);this.updateParallelArrays(k,q);n&&k.name&&(n[w]=k.name);m.splice(q,0,a);p&&(this.data.splice(q,0,null),this.processData());\"point\"===e.legendType&&this.generatePoints();c&&(f[0]&&f[0].remove?\r\nf[0].remove(!1):(f.shift(),this.updateParallelArrays(k,\"shift\"),m.shift()));this.isDirtyData=this.isDirty=!0;b&&g.redraw(d)},removePoint:function(a,b,c){var e=this,d=e.data,f=d[a],g=e.points,n=e.chart,m=function(){g&&g.length===d.length&&g.splice(a,1);d.splice(a,1);e.options.data.splice(a,1);e.updateParallelArrays(f||{series:e},\"splice\",a,1);f&&f.destroy();e.isDirty=!0;e.isDirtyData=!0;b&&n.redraw()};E(c,n);b=t(b,!0);f?f.firePointEvent(\"remove\",null,m):m()},remove:function(a,b,c){function e(){d.destroy();\r\nf.isDirtyLegend=f.isDirtyBox=!0;f.linkSeries();t(a,!0)&&f.redraw(b)}var d=this,f=d.chart;!1!==c?q(d,\"remove\",null,e):e()},update:function(a,b){var c=this,e=this.chart,d=this.userOptions,g=this.type,m=a.type||d.type||e.options.chart.type,p=n[g].prototype,q=[\"group\",\"markerGroup\",\"dataLabelsGroup\"],k;if(m&&m!==g||void 0!==a.zIndex)q.length=0;f(q,function(a){q[a]=c[a];delete c[a]});a=C(d,{animation:!1,index:this.index,pointStart:this.xData[0]},{data:this.options.data},a);this.remove(!1,null,!1);for(k in p)this[k]=\r\nvoid 0;l(this,n[m||g].prototype);f(q,function(a){c[a]=q[a]});this.init(e,a);e.linkSeries();t(b,!0)&&e.redraw(!1)}});l(H.prototype,{update:function(a,b){var c=this.chart;a=c.options[this.coll][this.options.index]=C(this.userOptions,a);this.destroy(!0);this.init(c,l(a,{events:void 0}));c.isDirtyBox=!0;t(b,!0)&&c.redraw()},remove:function(a){for(var b=this.chart,c=this.coll,e=this.series,d=e.length;d--;)e[d]&&e[d].remove(!1);u(b.axes,this);u(b[c],this);b.options[c].splice(this.options.index,1);f(b[c],\r\nfunction(a,b){a.options.index=b});this.destroy();b.isDirtyBox=!0;t(a,!0)&&b.redraw()},setTitle:function(a,b){this.update({title:a},b)},setCategories:function(a,b){this.update({categories:a},b)}})})(L);(function(a){var B=a.color,A=a.each,H=a.map,G=a.pick,r=a.Series,g=a.seriesType;g(\"area\",\"line\",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(){var a=[],g=[],l=this.xAxis,q=this.yAxis,d=q.stacks[this.stackKey],b={},p=this.points,r=this.index,t=q.series,m=t.length,c,n=G(q.options.reversedStacks,\r\n!0)?1:-1,E,z;if(this.options.stacking){for(E=0;Ea&&l>g?(l=Math.max(a,g),d=2*g-l):lG&&d>g?(d=Math.max(G,g),l=2*g-d):d=Math.abs(b)&&.5a.closestPointRange*a.xAxis.transA,l=a.borderWidth=f(g.borderWidth,l?0:1),t=a.yAxis,m=a.translatedThreshold=t.getThreshold(g.threshold),c=f(g.minPointLength,\r\n5),n=a.getColumnMetrics(),q=n.width,r=a.barW=Math.max(q,1+2*l),e=a.pointXOffset=n.offset;b.inverted&&(m-=.5);g.pointPadding&&(r=Math.ceil(r));u.prototype.translate.apply(a);H(a.points,function(d){var g=f(d.yBottom,m),n=999+Math.abs(g),n=Math.min(Math.max(-n,d.plotY),t.len+n),h=d.plotX+e,l=r,p=Math.min(n,g),z,x=Math.max(n,g)-p;Math.abs(x)c?g-c:m-(z?c:0));d.barX=h;d.pointWidth=q;d.tooltipPos=b.inverted?[t.len+t.pos-b.plotLeft-\r\nn,a.xAxis.len-h-l/2,x]:[h+l/2,n+t.pos-b.plotTop,x];d.shapeType=\"rect\";d.shapeArgs=a.crispCol.apply(a,d.isNull?[d.plotX,t.len/2,0,0]:[h,p,l,x])})},getSymbol:a.noop,drawLegendSymbol:a.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?\"addClass\":\"removeClass\"](\"highcharts-dense-data\")},pointAttribs:function(a,b){var d=this.options,f,g=this.pointAttrToOptions||{};f=g.stroke||\"borderColor\";var m=g[\"stroke-width\"]||\"borderWidth\",c=a&&a.color||this.color,n=a[f]||d[f]||this.color||\r\nc,l=a[m]||d[m]||this[m]||0,g=d.dashStyle;a&&this.zones.length&&(c=(c=a.getZone())&&c.color||a.options.color||this.color);b&&(a=d.states[b],b=a.brightness,c=a.color||void 0!==b&&A(c).brighten(a.brightness).get()||c,n=a[f]||n,l=a[m]||l,g=a.dashStyle||g);f={fill:c,stroke:n,\"stroke-width\":l};d.borderRadius&&(f.r=d.borderRadius);g&&(f.dashstyle=g);return f},drawPoints:function(){var a=this,b=this.chart,f=a.options,l=b.renderer,t=f.animationLimit||250,m;H(a.points,function(c){var d=c.graphic;if(r(c.plotY)&&\r\nnull!==c.y){m=c.shapeArgs;if(d)d[b.pointCountl;++l)q=f[l],a=2>l||2===l&&/%$/.test(q),f[l]=A(q,[g,G,u,f[2]][l])+(a?r:0);f[3]>f[2]&&(f[3]=f[2]);return f}}})(L);(function(a){var B=a.addEvent,A=a.defined,H=a.each,G=a.extend,r=a.inArray,g=a.noop,f=a.pick,u=a.Point,l=a.Series,q=a.seriesType,d=a.setAnimation;q(\"pie\",\"line\",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return null===this.y?\r\nvoid 0:this.point.name},x:0},ignoreHiddenPoint:!0,legendType:\"point\",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:\"#ffffff\",borderWidth:1,states:{hover:{brightness:.1,shadow:!1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:[\"group\",\"dataLabelsGroup\"],axisTypes:[],pointAttribs:a.seriesTypes.column.prototype.pointAttribs,animate:function(a){var b=this,d=b.points,f=b.startAngleRad;a||(H(d,function(a){var c=\r\na.graphic,d=a.shapeArgs;c&&(c.attr({r:a.startR||b.center[3]/2,start:f,end:f}),c.animate({r:d.r,start:d.start,end:d.end},b.options.animation))}),b.animate=null)},updateTotals:function(){var a,d=0,f=this.points,g=f.length,m,c=this.options.ignoreHiddenPoint;for(a=0;am.y&&(m.y=null),d+=c&&!m.visible?0:m.y;this.total=d;for(a=0;a1.5*Math.PI?l-=2*Math.PI:l<-Math.PI/2&&(l+=2*Math.PI);y.slicedTranslation={translateX:Math.round(Math.cos(l)*g),translateY:Math.round(Math.sin(l)*g)};c=Math.cos(l)*a[2]/2;n=Math.sin(l)*a[2]/2;y.tooltipPos=[a[0]+.7*c,a[1]+.7*n];y.half=l<-Math.PI/2||l>Math.PI/2?1:0;y.angle=l;m=Math.min(m,u/5);y.labelPos=[a[0]+c+Math.cos(l)*u,a[1]+n+Math.sin(l)*u,a[0]+c+Math.cos(l)*m,a[1]+n+Math.sin(l)*\r\nm,a[0]+c,a[1]+n,0>u?\"center\":y.half?\"right\":\"left\",l]}},drawGraph:null,drawPoints:function(){var a=this,d=a.chart.renderer,f,g,m,c,n=a.options.shadow;n&&!a.shadowGroup&&(a.shadowGroup=d.g(\"shadow\").add(a.group));H(a.points,function(b){if(null!==b.y){g=b.graphic;c=b.shapeArgs;f=b.sliced?b.slicedTranslation:{};var l=b.shadowGroup;n&&!l&&(l=b.shadowGroup=d.g(\"shadow\").add(a.shadowGroup));l&&l.attr(f);m=a.pointAttribs(b,b.selected&&\"select\");g?g.setRadialReference(a.center).attr(m).animate(G(c,f)):(b.graphic=\r\ng=d[b.shapeType](c).addClass(b.getClassName()).setRadialReference(a.center).attr(f).add(a.group),b.visible||g.attr({visibility:\"hidden\"}),g.attr(m).attr({\"stroke-linejoin\":\"round\"}).shadow(n,l))}})},searchPoint:g,sortByAngle:function(a,d){a.sort(function(a,b){return void 0!==a.angle&&(b.angle-a.angle)*d})},drawLegendSymbol:a.LegendSymbolMixin.drawRectangle,getCenter:a.CenteredSeriesMixin.getCenter,getSymbol:g},{init:function(){u.prototype.init.apply(this,arguments);var a=this,d;a.name=f(a.name,\"Slice\");\r\nd=function(b){a.slice(\"select\"===b.type)};B(a,\"select\",d);B(a,\"unselect\",d);return a},setVisible:function(a,d){var b=this,g=b.series,m=g.chart,c=g.options.ignoreHiddenPoint;d=f(d,c);a!==b.visible&&(b.visible=b.options.visible=a=void 0===a?!b.visible:a,g.options.data[r(b,g.data)]=b.options,H([\"graphic\",\"dataLabel\",\"connector\",\"shadowGroup\"],function(c){if(b[c])b[c][a?\"show\":\"hide\"](!0)}),b.legendItem&&m.legend.colorizeItem(b,a),a||\"hover\"!==b.state||b.setState(\"\"),c&&(g.isDirty=!0),d&&m.redraw())},\r\nslice:function(a,g,l){var b=this.series;d(l,b.chart);f(g,!0);this.sliced=this.options.sliced=a=A(a)?a:!this.sliced;b.options.data[r(this,b.data)]=this.options;a=a?this.slicedTranslation:{translateX:0,translateY:0};this.graphic.animate(a);this.shadowGroup&&this.shadowGroup.animate(a)},haloPath:function(a){var b=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(b.x,b.y,b.r+a,b.r+a,{innerR:this.shapeArgs.r,start:b.start,end:b.end})}})})(L);(function(a){var B=\r\na.addEvent,A=a.arrayMax,H=a.defined,G=a.each,r=a.extend,g=a.format,f=a.map,u=a.merge,l=a.noop,q=a.pick,d=a.relativeLength,b=a.Series,p=a.seriesTypes,C=a.stableSort;a.distribute=function(a,b){function c(a,b){return a.target-b.target}var d,g=!0,m=a,e=[],l;l=0;for(d=a.length;d--;)l+=a[d].size;if(l>b){C(a,function(a,b){return(b.rank||0)-(a.rank||0)});for(l=d=0;l<=b;)l+=a[d].size,d++;e=a.splice(d-1,a.length)}C(a,c);for(a=f(a,function(a){return{size:a.size,targets:[a.target]}});g;){for(d=a.length;d--;)g=\r\na[d],l=(Math.min.apply(0,g.targets)+Math.max.apply(0,g.targets))/2,g.pos=Math.min(Math.max(0,l-g.size/2),b-g.size);d=a.length;for(g=!1;d--;)0a[d].pos&&(a[d-1].size+=a[d].size,a[d-1].targets=a[d-1].targets.concat(a[d].targets),a[d-1].pos+a[d-1].size>b&&(a[d-1].pos=b-a[d-1].size),a.splice(d,1),g=!0)}d=0;G(a,function(a){var b=0;G(a.targets,function(){m[d].pos=a.pos+b;b+=m[d].size;d++})});m.push.apply(m,e);C(m,c)};b.prototype.drawDataLabels=function(){var a=this,b=a.options,\r\nc=b.dataLabels,d=a.points,f,l,e=a.hasRendered||0,p,r,w=q(c.defer,!0),h=a.chart.renderer;if(c.enabled||a._hasPointLabels)a.dlProcessOptions&&a.dlProcessOptions(c),r=a.plotGroup(\"dataLabelsGroup\",\"data-labels\",w&&!e?\"hidden\":\"visible\",c.zIndex||6),w&&(r.attr({opacity:+e}),e||B(a,\"afterAnimate\",function(){a.visible&&r.show(!0);r[b.animation?\"animate\":\"attr\"]({opacity:1},{duration:200})})),l=c,G(d,function(e){var d,m=e.dataLabel,n,k,t,z=e.connector,w=!m,x;f=e.dlOptions||e.options&&e.options.dataLabels;\r\nif(d=q(f&&f.enabled,l.enabled)&&null!==e.y)for(k in c=u(l,f),n=e.getLabelConfig(),p=c.format?g(c.format,n):c.formatter.call(n,c),x=c.style,t=c.rotation,x.color=q(c.color,x.color,a.color,\"#000000\"),\"contrast\"===x.color&&(x.color=c.inside||0>c.distance||b.stacking?h.getContrast(e.color||a.color):\"#000000\"),b.cursor&&(x.cursor=b.cursor),n={fill:c.backgroundColor,stroke:c.borderColor,\"stroke-width\":c.borderWidth,r:c.borderRadius||0,rotation:t,padding:c.padding,zIndex:1},n)void 0===n[k]&&delete n[k];!m||\r\nd&&H(p)?d&&H(p)&&(m?n.text=p:(m=e.dataLabel=h[t?\"text\":\"label\"](p,0,-9999,c.shape,null,null,c.useHTML,null,\"data-label\"),m.addClass(\"highcharts-data-label-color-\"+e.colorIndex+\" \"+(c.className||\"\")+(c.useHTML?\"highcharts-tracker\":\"\"))),m.attr(n),m.css(x).shadow(c.shadow),m.added||m.add(r),a.alignDataLabel(e,m,c,null,w)):(e.dataLabel=m.destroy(),z&&(e.connector=z.destroy()))})};b.prototype.alignDataLabel=function(a,b,c,d,f){var g=this.chart,e=g.inverted,m=q(a.plotX,-9999),n=q(a.plotY,-9999),l=b.getBBox(),\r\nh,p=c.rotation,t=c.align,u=this.visible&&(a.series.forceDL||g.isInsidePlot(m,Math.round(n),e)||d&&g.isInsidePlot(m,e?d.x+1:d.y+d.height-1,e)),E=\"justify\"===q(c.overflow,\"justify\");u&&(h=c.style.fontSize,h=g.renderer.fontMetrics(h,b).b,d=r({x:e?g.plotWidth-n:m,y:Math.round(e?g.plotHeight-m:n),width:0,height:0},d),r(c,{width:l.width,height:l.height}),p?(E=!1,e=g.renderer.rotCorr(h,p),e={x:d.x+c.x+d.width/2+e.x,y:d.y+c.y+{top:0,middle:.5,bottom:1}[c.verticalAlign]*d.height},b[f?\"attr\":\"animate\"](e).attr({align:t}),\r\nm=(p+720)%360,m=180m,\"left\"===t?e.y-=m?l.height:0:\"center\"===t?(e.x-=l.width/2,e.y-=l.height/2):\"right\"===t&&(e.x-=l.width,e.y-=m?0:l.height)):(b.align(c,null,d),e=b.alignAttr),E?this.justifyDataLabel(b,c,e,l,d,f):q(c.crop,!0)&&(u=g.isInsidePlot(e.x,e.y)&&g.isInsidePlot(e.x+l.width,e.y+l.height)),c.shape&&!p&&b.attr({anchorX:a.plotX,anchorY:a.plotY}));u||(b.attr({y:-9999}),b.placed=!1)};b.prototype.justifyDataLabel=function(a,b,c,d,f,g){var e=this.chart,m=b.align,n=b.verticalAlign,l,h,p=a.box?\r\n0:a.padding||0;l=c.x+p;0>l&&(\"right\"===m?b.align=\"left\":b.x=-l,h=!0);l=c.x+d.width-p;l>e.plotWidth&&(\"left\"===m?b.align=\"right\":b.x=e.plotWidth-l,h=!0);l=c.y+p;0>l&&(\"bottom\"===n?b.verticalAlign=\"top\":b.y=-l,h=!0);l=c.y+d.height-p;l>e.plotHeight&&(\"top\"===n?b.verticalAlign=\"bottom\":b.y=e.plotHeight-l,h=!0);h&&(a.placed=!g,a.align(b,null,f))};p.pie&&(p.pie.prototype.drawDataLabels=function(){var d=this,g=d.data,c,l=d.chart,p=d.options.dataLabels,r=q(p.connectorPadding,10),e=q(p.connectorWidth,1),u=\r\nl.plotWidth,F=l.plotHeight,w,h=p.distance,y=d.center,C=y[2]/2,B=y[1],H=0m-2?t:v,e),k._attr={visibility:M,align:L[6]},k._pos={x:O+p.x+({left:r,right:-r}[L[6]]||0),y:v+p.y-10},L.x=O,L.y=v,null===d.options.size&&(D=k.width,O-Du-r&&(R[1]=Math.max(Math.round(O+D-u+r),R[1])),0>v-N/2?R[0]=\r\nMath.max(Math.round(-v+N/2),R[0]):v+N/2>F&&(R[2]=Math.max(Math.round(v+N/2-F),R[2])))}),0===A(R)||this.verifyDataLabelOverflow(R))&&(this.placeDataLabels(),H&&e&&G(this.points,function(a){var b;w=a.connector;if((k=a.dataLabel)&&k._pos&&a.visible){M=k._attr.visibility;if(b=!w)a.connector=w=l.renderer.path().addClass(\"highcharts-data-label-connector highcharts-color-\"+a.colorIndex).add(d.dataLabelsGroup),w.attr({\"stroke-width\":e,stroke:p.connectorColor||a.color||\"#666666\"});w[b?\"attr\":\"animate\"]({d:d.connectorPath(a.labelPos)});\r\nw.attr(\"visibility\",M)}else w&&(a.connector=w.destroy())}))},p.pie.prototype.connectorPath=function(a){var b=a.x,c=a.y;return q(this.options.dataLabels.softConnector,!0)?[\"M\",b+(\"left\"===a[6]?5:-5),c,\"C\",b,c,2*a[2]-a[4],2*a[3]-a[5],a[2],a[3],\"L\",a[4],a[5]]:[\"M\",b+(\"left\"===a[6]?5:-5),c,\"L\",a[2],a[3],\"L\",a[4],a[5]]},p.pie.prototype.placeDataLabels=function(){G(this.points,function(a){var b=a.dataLabel;b&&a.visible&&((a=b._pos)?(b.attr(b._attr),b[b.moved?\"animate\":\"attr\"](a),b.moved=!0):b&&b.attr({y:-9999}))})},\r\np.pie.prototype.alignDataLabel=l,p.pie.prototype.verifyDataLabelOverflow=function(a){var b=this.center,c=this.options,f=c.center,g=c.minSize||80,l,e;null!==f[0]?l=Math.max(b[2]-Math.max(a[1],a[3]),g):(l=Math.max(b[2]-a[1]-a[3],g),b[0]+=(a[3]-a[1])/2);null!==f[1]?l=Math.max(Math.min(l,b[2]-Math.max(a[0],a[2])),g):(l=Math.max(Math.min(l,b[2]-a[0]-a[2]),g),b[1]+=(a[0]-a[2])/2);lq(this.translatedThreshold,e.yAxis.len)),p=q(c.inside,!!this.options.stacking);m&&(f=u(m),0>f.y&&(f.height+=f.y,f.y=0),m=f.y+f.height-e.yAxis.len,0a+d||e+lb+f||g+mthis.pointCount))},pan:function(a,b){var c=this,d=c.hoverPoints,\r\ne;d&&f(d,function(a){a.setState()});f(\"xy\"===b?[1,0]:[1],function(b){b=c[b?\"xAxis\":\"yAxis\"][0];var d=b.horiz,f=a[d?\"chartX\":\"chartY\"],d=d?\"mouseDownX\":\"mouseDownY\",g=c[d],h=(b.pointRange||0)/2,k=b.getExtremes(),l=b.toValue(g-f,!0)+h,h=b.toValue(g+b.len-f,!0)-h,m=hh&&0>k&&(b.setExtremes(g,l,!1,!1,{trigger:\"pan\"}),e=!0);c[d]=f});e&&c.redraw(!1);G(c.container,{cursor:\"move\"})}});u(m.prototype,{select:function(a,\r\nb){var c=this,e=c.series,g=e.chart;a=t(a,!c.selected);c.firePointEvent(a?\"select\":\"unselect\",{accumulate:b},function(){c.selected=c.options.selected=a;e.options.data[d(c,e.data)]=c.options;c.setState(a&&\"select\");b||f(g.getSelectedPoints(),function(a){a.selected&&a!==c&&(a.selected=a.options.selected=!1,e.options.data[d(a,e.data)]=a.options,a.setState(\"\"),a.firePointEvent(\"unselect\"))})})},onMouseOver:function(a,b){var c=this.series,d=c.chart,e=d.tooltip,f=d.hoverPoint;if(this.series){if(!b){if(f&&\r\nf!==this)f.onMouseOut();if(d.hoverSeries!==c)c.onMouseOver();d.hoverPoint=this}!e||e.shared&&!c.noSharedTooltip?e||this.setState(\"hover\"):(this.setState(\"hover\"),e.refresh(this,a));this.firePointEvent(\"mouseOver\")}},onMouseOut:function(){var a=this.series.chart,b=a.hoverPoints;this.firePointEvent(\"mouseOut\");b&&-1!==d(this,b)||(this.setState(),a.hoverPoint=null)},importEvents:function(){if(!this.hasImportedEvents){var a=C(this.series.options.point,this.options).events,b;this.events=a;for(b in a)B(this,\r\nb,a[b]);this.hasImportedEvents=!0}},setState:function(a,b){var c=Math.floor(this.plotX),d=this.plotY,e=this.series,f=e.options.states[a]||{},l=g[e.type].marker&&e.options.marker,m=l&&!1===l.enabled,n=l&&l.states&&l.states[a]||{},p=!1===n.enabled,k=e.stateMarkerGraphic,q=this.marker||{},r=e.chart,z=e.halo,C,A=l&&e.markerAttribs;a=a||\"\";if(!(a===this.state&&!b||this.selected&&\"select\"!==a||!1===f.enabled||a&&(p||m&&!1===n.enabled)||a&&q.states&&q.states[a]&&!1===q.states[a].enabled)){A&&(C=e.markerAttribs(this,\r\na));if(this.graphic)this.state&&this.graphic.removeClass(\"highcharts-point-\"+this.state),a&&this.graphic.addClass(\"highcharts-point-\"+a),this.graphic.attr(e.pointAttribs(this,a)),C&&this.graphic.animate(C,t(r.options.chart.animation,n.animation,l.animation)),k&&k.hide();else{if(a&&n){l=q.symbol||e.symbol;k&&k.currentSymbol!==l&&(k=k.destroy());if(k)k[b?\"animate\":\"attr\"]({x:C.x,y:C.y});else l&&(e.stateMarkerGraphic=k=r.renderer.symbol(l,C.x,C.y,C.width,C.height).add(e.markerGroup),k.currentSymbol=\r\nl);k&&k.attr(e.pointAttribs(this,a))}k&&(k[a&&r.isInsidePlot(c,d,r.inverted)?\"show\":\"hide\"](),k.element.point=this)}(c=f.halo)&&c.size?(z||(e.halo=z=r.renderer.path().add(A?e.markerGroup:e.group)),z[b?\"animate\":\"attr\"]({d:this.haloPath(c.size)}),z.attr({\"class\":\"highcharts-halo highcharts-color-\"+t(this.colorIndex,e.colorIndex)}),z.point=this,z.attr(u({fill:this.color||e.color,\"fill-opacity\":c.opacity,zIndex:-1},c.attributes))):z&&z.point&&z.point.haloPath&&z.animate({d:z.point.haloPath(0)});this.state=\r\na}},haloPath:function(a){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-a,this.plotY-a,2*a,2*a)}});u(c.prototype,{onMouseOver:function(){var a=this.chart,b=a.hoverSeries;if(b&&b!==this)b.onMouseOut();this.options.events.mouseOver&&l(this,\"mouseOver\");this.setState(\"hover\");a.hoverSeries=this},onMouseOut:function(){var a=this.options,b=this.chart,c=b.tooltip,d=b.hoverPoint;b.hoverSeries=null;if(d)d.onMouseOut();this&&a.events.mouseOut&&l(this,\"mouseOut\");!c||a.stickyTracking||\r\nc.shared&&!this.noSharedTooltip||c.hide();this.setState()},setState:function(a){var b=this,c=b.options,d=b.graph,g=c.states,h=c.lineWidth,c=0;a=a||\"\";if(b.state!==a&&(f([b.group,b.markerGroup],function(c){c&&(b.state&&c.removeClass(\"highcharts-series-\"+b.state),a&&c.addClass(\"highcharts-series-\"+a))}),b.state=a,!g[a]||!1!==g[a].enabled)&&(a&&(h=g[a].lineWidth||h+(g[a].lineWidthPlus||0)),d&&!d.dashstyle))for(g={\"stroke-width\":h},d.attr(g);b[\"zone-graph-\"+c];)b[\"zone-graph-\"+c].attr(g),c+=1},setVisible:function(a,\r\nb){var c=this,d=c.chart,e=c.legendItem,g,m=d.options.chart.ignoreHiddenSeries,n=c.visible;g=(c.visible=a=c.options.visible=c.userOptions.visible=void 0===a?!n:a)?\"show\":\"hide\";f([\"group\",\"dataLabelsGroup\",\"markerGroup\",\"tracker\",\"tt\"],function(a){if(c[a])c[a][g]()});if(d.hoverSeries===c||(d.hoverPoint&&d.hoverPoint.series)===c)c.onMouseOut();e&&d.legend.colorizeItem(c,a);c.isDirty=!0;c.options.stacking&&f(d.series,function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});f(c.linkedSeries,function(b){b.setVisible(a,\r\n!1)});m&&(d.isDirtyBox=!0);!1!==b&&d.redraw();l(c,g)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(a){this.selected=a=void 0===a?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);l(this,a?\"select\":\"unselect\")},drawTracker:a.drawTrackerGraph})})(L);(function(a){var B=a.Chart,A=a.each,H=a.inArray,G=a.isObject,r=a.pick,g=a.splat;B.prototype.setResponsive=function(a){var f=this.options.responsive;f&&f.rules&&A(f.rules,function(f){this.matchResponsiveRule(f,\r\na)},this)};B.prototype.matchResponsiveRule=function(f,g){var l=this.respRules,q=f.condition,d;d=q.callback||function(){return this.chartWidth<=r(q.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=r(q.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=r(q.minWidth,0)&&this.chartHeight>=r(q.minHeight,0)};void 0===f._id&&(f._id=a.uniqueKey());d=d.call(this);!l[f._id]&&d?f.chartOptions&&(l[f._id]=this.currentOptions(f.chartOptions),this.update(f.chartOptions,g)):l[f._id]&&!d&&(this.update(l[f._id],g),delete l[f._id])};\r\nB.prototype.currentOptions=function(a){function f(a,d,b,l){var p,q;for(p in a)if(!l&&-1f?.5:e/(f-1)))})},initStops:function(a){this.stops=a.stops||[[0,this.options.minColor],[1,this.options.maxColor]];e(this.stops,function(a){a.color=m(a[1])})},setOptions:function(a){k.prototype.setOptions.call(this,a);this.options.crosshair=this.options.marker},setAxisSize:function(){var a=\r\nthis.legendSymbol,b=this.chart,d=b.options.legend||{},g,h;a?(this.left=d=a.attr(\"x\"),this.top=g=a.attr(\"y\"),this.width=h=a.attr(\"width\"),this.height=a=a.attr(\"height\"),this.right=b.chartWidth-d-h,this.bottom=b.chartHeight-g-a,this.len=this.horiz?h:a,this.pos=this.horiz?d:g):this.len=(this.horiz?d.symbolWidth:d.symbolHeight)||this.defaultLegendLength},toColor:function(a,b){var d=this.stops,g,h,c=this.dataClasses,e,f;if(c)for(f=c.length;f--;){if(e=c[f],g=e.from,d=e.to,(void 0===g||a>=g)&&(void 0===\r\nd||a<=d)){h=e.color;b&&(b.dataClass=f,b.colorIndex=e.colorIndex);break}}else{this.isLog&&(a=this.val2lin(a));a=1-(this.max-a)/(this.max-this.min||1);for(f=d.length;f--&&!(a>d[f][0]););g=d[f]||d[f+1];d=d[f+1]||g;a=1-(d[0]-a)/(d[0]-g[0]||1);h=this.tweenColors(g.color,d.color,a)}return h},getOffset:function(){var a=this.legendGroup,b=this.chart.axisOffset[this.side];a&&(this.axisParent=a,k.prototype.getOffset.call(this),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=\r\nb)},setLegendColor:function(){var a,b=this.options,d=this.reversed;a=d?1:0;d=d?0:1;a=this.horiz?[a,0,d,0]:[0,d,0,a];this.legendColor={linearGradient:{x1:a[0],y1:a[1],x2:a[2],y2:a[3]},stops:b.stops||[[0,b.minColor],[1,b.maxColor]]}},drawLegendSymbol:function(a,b){var d=a.padding,g=a.options,h=this.horiz,c=u(g.symbolWidth,h?this.defaultLegendLength:12),f=u(g.symbolHeight,h?12:this.defaultLegendLength),e=u(g.labelPadding,h?16:30),g=u(g.itemDistance,10);this.setLegendColor();b.legendSymbol=this.chart.renderer.rect(0,\r\na.baseline-11,c,f).attr({zIndex:1}).add(b.legendGroup);this.legendItemWidth=c+d+(h?g:e);this.legendItemHeight=f+d+(h?e:0)},setState:x,visible:!0,setVisible:x,getSeriesExtremes:function(){var a=this.series,b=a.length;this.dataMin=Infinity;for(this.dataMax=-Infinity;b--;)void 0!==a[b].valueMin&&(this.dataMin=Math.min(this.dataMin,a[b].valueMin),this.dataMax=Math.max(this.dataMax,a[b].valueMax))},drawCrosshair:function(a,b){var d=b&&b.plotX,c=b&&b.plotY,h,f=this.pos,e=this.len;b&&(h=this.toPixels(b[b.series.colorKey]),\r\nhf+e&&(h=f+e+2),b.plotX=h,b.plotY=this.len-h,k.prototype.drawCrosshair.call(this,a,b),b.plotX=d,b.plotY=c,this.cross&&(this.cross.addClass(\"highcharts-coloraxis-marker\").add(this.legendGroup),this.cross.attr({fill:this.crosshair.color})))},getPlotLinePath:function(a,b,d,c,h){return w(h)?this.horiz?[\"M\",h-4,this.top-6,\"L\",h+4,this.top-6,h,this.top,\"Z\"]:[\"M\",this.left,h,\"L\",this.left-6,h+6,this.left-6,h-6,\"Z\"]:k.prototype.getPlotLinePath.call(this,a,b,d,c)},update:function(a,b){var d=this.chart,\r\nc=d.legend;e(this.series,function(a){a.isDirtyData=!0});a.dataClasses&&c.allItems&&(e(c.allItems,function(a){a.isDataClass&&a.legendGroup.destroy()}),d.isDirtyLegend=!0);d.options[this.coll]=q(this.userOptions,a);k.prototype.update.call(this,a,b);this.legendItem&&(this.setLegendColor(),c.colorizeItem(this,!0))},getDataClassLegendSymbols:function(){var a=this,b=this.chart,d=this.legendItems,g=b.options.legend,h=g.valueDecimals,t=g.valueSuffix||\"\",k;d.length||e(this.dataClasses,function(g,p){var l=\r\n!0,q=g.from,m=g.to;k=\"\";void 0===q?k=\"\\x3c \":void 0===m&&(k=\"\\x3e \");void 0!==q&&(k+=c.numberFormat(q,h)+t);void 0!==q&&void 0!==m&&(k+=\" - \");void 0!==m&&(k+=c.numberFormat(m,h)+t);d.push(v({chart:b,name:k,options:{},drawLegendSymbol:f.drawRectangle,visible:!0,setState:x,isDataClass:!0,setVisible:function(){l=this.visible=!l;e(a.series,function(a){e(a.points,function(a){a.dataClass===p&&a.setVisible(l)})});b.legend.colorizeItem(this,l)}},g))});return d},name:\"\"});e([\"fill\",\"stroke\"],function(a){c.Fx.prototype[a+\r\n\"Setter\"]=function(){this.elem.attr(a,l.prototype.tweenColors(m(this.start),m(this.end),this.pos),null,!0)}});t(r.prototype,\"getAxes\",function(a){var b=this.options.colorAxis;a.call(this);this.colorAxis=[];b&&new l(this,b)});t(p.prototype,\"getAllItems\",function(a){var b=[],d=this.chart.colorAxis[0];d&&d.options&&(d.options.showInLegend&&(d.options.dataClasses?b=b.concat(d.getDataClassLegendSymbols()):b.push(d)),e(d.series,function(a){a.options.showInLegend=!1}));return b.concat(a.call(this))});t(p.prototype,\r\n\"colorizeItem\",function(a,b,d){a.call(this,b,d);d&&b.legendColor&&b.legendSymbol.attr({fill:b.legendColor})})})(n);(function(c){var k=c.defined,r=c.each,m=c.noop,l=c.seriesTypes;c.colorPointMixin={isValid:function(){return null!==this.value},setVisible:function(c){var e=this,k=c?\"show\":\"hide\";r([\"graphic\",\"dataLabel\"],function(c){if(e[c])e[c][k]()})},setState:function(e){c.Point.prototype.setState.call(this,e);this.graphic&&this.graphic.attr({zIndex:\"hover\"===e?1:0})}};c.colorSeriesMixin={pointArrayMap:[\"value\"],\r\naxisTypes:[\"xAxis\",\"yAxis\",\"colorAxis\"],optionalAxis:\"colorAxis\",trackerGroups:[\"group\",\"markerGroup\",\"dataLabelsGroup\"],getSymbol:m,parallelArrays:[\"x\",\"y\",\"value\"],colorKey:\"value\",pointAttribs:l.column.prototype.pointAttribs,translateColors:function(){var c=this,k=this.options.nullColor,l=this.colorAxis,m=this.colorKey;r(this.data,function(f){var e=f[m];if(e=f.options.color||(f.isNull?k:l&&void 0!==e?l.toColor(e,f):f.color||c.color))f.color=e})},colorAttribs:function(c){var e={};k(c.color)&&(e[this.colorProp||\r\n\"fill\"]=c.color);return e}}})(n);(function(c){var k=c.colorPointMixin,r=c.each,m=c.merge,l=c.noop,e=c.pick,n=c.Series,w=c.seriesType,p=c.seriesTypes;w(\"heatmap\",\"scatter\",{animation:!1,borderWidth:0,nullColor:\"#f7f7f7\",dataLabels:{formatter:function(){return this.point.value},inside:!0,verticalAlign:\"middle\",crop:!1,overflow:!1,padding:0},marker:null,pointRange:null,tooltip:{pointFormat:\"{point.x}, {point.y}: {point.value}\\x3cbr/\\x3e\"},states:{normal:{animation:!0},hover:{halo:!1,brightness:.2}}},\r\nm(c.colorSeriesMixin,{pointArrayMap:[\"y\",\"value\"],hasPointSpecificOptions:!0,supportsDrilldown:!0,getExtremesFromAll:!0,directTouch:!0,init:function(){var c;p.scatter.prototype.init.apply(this,arguments);c=this.options;c.pointRange=e(c.pointRange,c.colsize||1);this.yAxis.axisPointRange=c.rowsize||1},translate:function(){var c=this.options,e=this.xAxis,k=this.yAxis,l=function(c,a,b){return Math.min(Math.max(a,c),b)};this.generatePoints();r(this.points,function(f){var a=(c.colsize||1)/2,b=(c.rowsize||\r\n1)/2,d=l(Math.round(e.len-e.translate(f.x-a,0,1,0,1)),-e.len,2*e.len),a=l(Math.round(e.len-e.translate(f.x+a,0,1,0,1)),-e.len,2*e.len),g=l(Math.round(k.translate(f.y-b,0,1,0,1)),-k.len,2*k.len),b=l(Math.round(k.translate(f.y+b,0,1,0,1)),-k.len,2*k.len);f.plotX=f.clientX=(d+a)/2;f.plotY=(g+b)/2;f.shapeType=\"rect\";f.shapeArgs={x:Math.min(d,a),y:Math.min(g,b),width:Math.abs(a-d),height:Math.abs(b-g)}});this.translateColors()},drawPoints:function(){p.column.prototype.drawPoints.call(this);r(this.points,\r\nfunction(c){c.graphic.attr(this.colorAttribs(c))},this)},animate:l,getBox:l,drawLegendSymbol:c.LegendSymbolMixin.drawRectangle,alignDataLabel:p.column.prototype.alignDataLabel,getExtremes:function(){n.prototype.getExtremes.call(this,this.valueData);this.valueMin=this.dataMin;this.valueMax=this.dataMax;n.prototype.getExtremes.call(this)}}),k)})(n)});\r\n","/*\r\n Highcharts JS v5.0.7 (2017-01-17)\r\n\r\n (c) 2014 Highsoft AS\r\n Authors: Jon Arild Nygard / Oystein Moseng\r\n\r\n License: www.highcharts.com/license\r\n*/\r\n(function(q){\"object\"===typeof module&&module.exports?module.exports=q:q(Highcharts)})(function(q){(function(g){var q=g.seriesType,l=g.seriesTypes,E=g.map,v=g.merge,y=g.extend,z=g.noop,n=g.each,x=g.grep,F=g.isNumber,A=g.isString,k=g.pick,r=g.Series,G=g.stableSort,B=g.Color,H=function(a,b,c){var e;c=c||this;for(e in a)a.hasOwnProperty(e)&&b.call(c,a[e],e,a)},C=function(a,b,c,e){e=e||this;a=a||[];n(a,function(d,f){c=b.call(e,c,d,f,a)});return c},w=function(a,b,c){c=c||this;a=b.call(c,a);!1!==a&&w(a,\r\nb,c)};q(\"treemap\",\"scatter\",{showInLegend:!1,marker:!1,dataLabels:{enabled:!0,defer:!1,verticalAlign:\"middle\",formatter:function(){return this.point.name||this.point.id},inside:!0},tooltip:{headerFormat:\"\",pointFormat:\"\\x3cb\\x3e{point.name}\\x3c/b\\x3e: {point.value}\\x3c/b\\x3e\\x3cbr/\\x3e\"},layoutAlgorithm:\"sliceAndDice\",layoutStartingDirection:\"vertical\",alternateStartingDirection:!1,levelIsConstant:!0,drillUpButton:{position:{align:\"right\",x:-10,y:10}},borderColor:\"#e6e6e6\",borderWidth:1,opacity:.15,\r\nstates:{hover:{borderColor:\"#999999\",brightness:l.heatmap?0:.1,opacity:.75,shadow:!1}}},{pointArrayMap:[\"value\"],axisTypes:l.heatmap?[\"xAxis\",\"yAxis\",\"colorAxis\"]:[\"xAxis\",\"yAxis\"],optionalAxis:\"colorAxis\",getSymbol:z,parallelArrays:[\"x\",\"y\",\"value\",\"colorValue\"],colorKey:\"colorValue\",translateColors:l.heatmap&&l.heatmap.prototype.translateColors,trackerGroups:[\"group\",\"dataLabelsGroup\"],getListOfParents:function(a,b){a=C(a,function(a,b,d){b=k(b.parent,\"\");void 0===a[b]&&(a[b]=[]);a[b].push(d);return a},\r\n{});H(a,function(a,e,d){\"\"!==e&&-1===g.inArray(e,b)&&(n(a,function(a){d[\"\"].push(a)}),delete d[e])});return a},getTree:function(){var a=E(this.data,function(a){return a.id}),a=this.getListOfParents(this.data,a);this.nodeMap=[];return this.buildNode(\"\",-1,0,a,null)},init:function(a,b){r.prototype.init.call(this,a,b);this.options.allowDrillToNode&&g.addEvent(this,\"click\",this.onClickDrillToNode)},buildNode:function(a,b,c,e,d){var f=this,h=[],D=f.points[b],p;n(e[a]||[],function(b){p=f.buildNode(f.points[b].id,\r\nb,c+1,e,a);h.push(p)});b={id:a,i:b,children:h,level:c,parent:d,visible:!1};f.nodeMap[b.id]=b;D&&(D.node=b);return b},setTreeValues:function(a){var b=this,c=b.options,e=0,d=[],f,h=b.points[a.i];w(b.nodeMap[b.rootNode],function(a){var c=!1,d=a.parent;a.visible=!0;if(d||\"\"===d)c=b.nodeMap[d];return c});w(b.nodeMap[b.rootNode].children,function(a){var b=!1;n(a,function(a){a.visible=!0;a.children.length&&(b=(b||[]).concat(a.children))});return b});n(a.children,function(a){a=b.setTreeValues(a);d.push(a);\r\na.ignore?w(a.children,function(a){var b=!1;n(a,function(a){y(a,{ignore:!0,isLeaf:!1,visible:!1});a.children.length&&(b=(b||[]).concat(a.children))});return b}):e+=a.val});G(d,function(a,b){return a.sortIndex-b.sortIndex});f=k(h&&h.options.value,e);h&&(h.value=f);y(a,{children:d,childrenTotal:e,ignore:!(k(h&&h.visible,!0)&&0l.lP.lR&&d.algorithmCalcPoints(a,\r\n!1,l,e,g);k===p&&d.algorithmCalcPoints(a,!0,l,e,g);k+=1});return e},algorithmFill:function(a,b,c){var e=[],d,f=b.direction,g=b.x,k=b.y,l=b.width,q=b.height,m,r,t,u;n(c,function(c){d=c.val/b.val*b.height*b.width;m=g;r=k;0===f?(u=q,t=d/u,l-=t,g+=t):(t=l,u=d/t,q-=u,k+=u);e.push({x:m,y:r,width:t,height:u});a&&(f=1-f)});return e},strip:function(a,b){return this.algorithmLowAspectRatio(!1,a,b)},squarified:function(a,b){return this.algorithmLowAspectRatio(!0,a,b)},sliceAndDice:function(a,b){return this.algorithmFill(!0,\r\na,b)},stripes:function(a,b){return this.algorithmFill(!1,a,b)},translate:function(){var a=this.rootNode=k(this.rootNode,this.options.rootId,\"\"),b,c;r.prototype.translate.call(this);this.levelMap=C(this.options.levels,function(a,b){a[b.level]=b;return a},{});c=this.tree=this.getTree();b=this.nodeMap[a];\"\"===a||b&&b.children.length||(this.drillToNode(\"\",!1),a=this.rootNode,b=this.nodeMap[a]);this.setTreeValues(c);this.axisRatio=this.xAxis.len/this.yAxis.len;this.nodeMap[\"\"].pointValues=a={x:0,y:0,width:100,\r\nheight:100};this.nodeMap[\"\"].values=a=v(a,{width:a.width*this.axisRatio,direction:\"vertical\"===this.options.layoutStartingDirection?0:1,val:c.val});this.calculateChildrenAreas(c,a);this.colorAxis?this.translateColors():this.options.colorByPoint||this.setColorRecursive(this.tree);this.options.allowDrillToNode&&(b=b.pointValues,this.xAxis.setExtremes(b.x,b.x+b.width,!1),this.yAxis.setExtremes(b.y,b.y+b.height,!1),this.xAxis.setScale(),this.yAxis.setScale());this.setPointValues()},drawDataLabels:function(){var a=\r\nthis,b=x(a.points,function(a){return a.node.visible}),c,e;n(b,function(b){e=a.levelMap[b.node.levelDynamic];c={style:{}};b.node.isLeaf||(c.enabled=!1);e&&e.dataLabels&&(c=v(c,e.dataLabels),a._hasPointLabels=!0);b.shapeArgs&&(c.style.width=b.shapeArgs.width,b.dataLabel&&b.dataLabel.css({width:b.shapeArgs.width+\"px\"}));b.dlOptions=v(c,b.options.dataLabels)});r.prototype.drawDataLabels.call(this)},alignDataLabel:function(a){l.column.prototype.alignDataLabel.apply(this,arguments);a.dataLabel&&a.dataLabel.attr({zIndex:a.node.zIndex+\r\n1})},pointAttribs:function(a,b){var c=this.levelMap[a.node.levelDynamic]||{},e=this.options,d=b&&e.states[b]||{},f=a.getClassName();a={stroke:a.borderColor||c.borderColor||d.borderColor||e.borderColor,\"stroke-width\":k(a.borderWidth,c.borderWidth,d.borderWidth,e.borderWidth),dashstyle:a.borderDashStyle||c.borderDashStyle||d.borderDashStyle||e.borderDashStyle,fill:a.color||this.color};-1!==f.indexOf(\"highcharts-above-level\")?(a.fill=\"none\",a[\"stroke-width\"]=0):-1!==f.indexOf(\"highcharts-internal-node-interactive\")?\r\n(b=k(d.opacity,e.opacity),a.fill=B(a.fill).setOpacity(b).get(),a.cursor=\"pointer\"):-1!==f.indexOf(\"highcharts-internal-node\")?a.fill=\"none\":b&&(a.fill=B(a.fill).brighten(d.brightness).get());return a},drawPoints:function(){var a=this,b=x(a.points,function(a){return a.node.visible});n(b,function(b){var c=\"levelGroup-\"+b.node.levelDynamic;a[c]||(a[c]=a.chart.renderer.g(c).attr({zIndex:1E3-b.node.levelDynamic}).add(a.group));b.group=a[c]});l.column.prototype.drawPoints.call(this);a.options.allowDrillToNode&&\r\nn(b,function(b){b.graphic&&(b.drillId=a.options.interactByLeaf?a.drillToByLeaf(b):a.drillToByGroup(b))})},onClickDrillToNode:function(a){var b=(a=a.point)&&a.drillId;A(b)&&(a.setState(\"\"),this.drillToNode(b))},drillToByGroup:function(a){var b=!1;1!==a.node.level-this.nodeMap[this.rootNode].level||a.node.isLeaf||(b=a.id);return b},drillToByLeaf:function(a){var b=!1;if(a.node.parent!==this.rootNode&&a.node.isLeaf)for(a=a.node;!b;)a=this.nodeMap[a.parent],a.parent===this.rootNode&&(b=a.id);return b},\r\ndrillUp:function(){var a=this.nodeMap[this.rootNode];a&&A(a.parent)&&this.drillToNode(a.parent)},drillToNode:function(a,b){var c=this.nodeMap[a];this.rootNode=a;\"\"===a?this.drillUpButton=this.drillUpButton.destroy():this.showDrillUpButton(c&&c.name||a);this.isDirty=!0;k(b,!0)&&this.chart.redraw()},showDrillUpButton:function(a){var b=this;a=a||\"\\x3c Back\";var c=b.options.drillUpButton,e,d;c.text&&(a=c.text);this.drillUpButton?this.drillUpButton.attr({text:a}).align():(d=(e=c.theme)&&e.states,this.drillUpButton=\r\nthis.chart.renderer.button(a,null,null,function(){b.drillUp()},e,d&&d.hover,d&&d.select).attr({align:c.position.align,zIndex:7}).add().align(c.position,!1,c.relativeTo||\"plotBox\"))},buildKDTree:z,drawLegendSymbol:g.LegendSymbolMixin.drawRectangle,getExtremes:function(){r.prototype.getExtremes.call(this,this.colorValueData);this.valueMin=this.dataMin;this.valueMax=this.dataMax;r.prototype.getExtremes.call(this)},getExtremesFromAll:!0,bindAxes:function(){var a={endOnTick:!1,gridLineWidth:0,lineWidth:0,\r\nmin:0,dataMin:0,minPadding:0,max:100,dataMax:100,maxPadding:0,startOnTick:!1,title:null,tickPositions:[]};r.prototype.bindAxes.call(this);g.extend(this.yAxis.options,a);g.extend(this.xAxis.options,a)}},{getClassName:function(){var a=g.Point.prototype.getClassName.call(this),b=this.series,c=b.options;this.node.level<=b.nodeMap[b.rootNode].level?a+=\" highcharts-above-level\":this.node.isLeaf||k(c.interactByLeaf,!c.allowDrillToNode)?this.node.isLeaf||(a+=\" highcharts-internal-node\"):a+=\" highcharts-internal-node-interactive\";\r\nreturn a},isValid:function(){return F(this.value)},setState:function(a){g.Point.prototype.setState.call(this,a);this.graphic.attr({zIndex:\"hover\"===a?1:0})},setVisible:l.pie.prototype.pointClass.prototype.setVisible})})(q)});\r\n","!function(e,t,i){\"use strict\";\"function\"==typeof define&&define.amd?define(i):\"undefined\"!=typeof module&&module.exports?module.exports=i():t.exports?t.exports=i():t[e]=i()}(\"Fingerprint2\",this,function(){\"use strict\";Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i;if(null==this)throw new TypeError(\"'this' is null or undefined\");var a=Object(this),r=a.length>>>0;if(0===r)return-1;var n=+t||0;if(Math.abs(n)===1/0&&(n=0),n>=r)return-1;for(i=Math.max(n>=0?n:r-Math.abs(n),0);iscreen.width?[screen.height,screen.width]:[screen.width,screen.height],\"undefined\"!=typeof t&&e.push({key:\"resolution\",value:t}),e},availableScreenResolutionKey:function(e){return this.options.excludeAvailableScreenResolution?e:this.getAvailableScreenResolution(e)},getAvailableScreenResolution:function(e){var t;return screen.availWidth&&screen.availHeight&&(t=this.options.detectScreenOrientation?screen.availHeight>screen.availWidth?[screen.availHeight,screen.availWidth]:[screen.availWidth,screen.availHeight]:[screen.availHeight,screen.availWidth]),\"undefined\"!=typeof t&&e.push({key:\"available_resolution\",value:t}),e},timezoneOffsetKey:function(e){return this.options.excludeTimezoneOffset||e.push({key:\"timezone_offset\",value:(new Date).getTimezoneOffset()}),e},sessionStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasSessionStorage()&&e.push({key:\"session_storage\",value:1}),e},localStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasLocalStorage()&&e.push({key:\"local_storage\",value:1}),e},indexedDbKey:function(e){return!this.options.excludeIndexedDB&&this.hasIndexedDB()&&e.push({key:\"indexed_db\",value:1}),e},addBehaviorKey:function(e){return document.body&&!this.options.excludeAddBehavior&&document.body.addBehavior&&e.push({key:\"add_behavior\",value:1}),e},openDatabaseKey:function(e){return!this.options.excludeOpenDatabase&&window.openDatabase&&e.push({key:\"open_database\",value:1}),e},cpuClassKey:function(e){return this.options.excludeCpuClass||e.push({key:\"cpu_class\",value:this.getNavigatorCpuClass()}),e},platformKey:function(e){return this.options.excludePlatform||e.push({key:\"navigator_platform\",value:this.getNavigatorPlatform()}),e},doNotTrackKey:function(e){return this.options.excludeDoNotTrack||e.push({key:\"do_not_track\",value:this.getDoNotTrack()}),e},canvasKey:function(e){return!this.options.excludeCanvas&&this.isCanvasSupported()&&e.push({key:\"canvas\",value:this.getCanvasFp()}),e},webglKey:function(e){return this.options.excludeWebGL?e:this.isWebGlSupported()?(e.push({key:\"webgl\",value:this.getWebglFp()}),e):e},adBlockKey:function(e){return this.options.excludeAdBlock||e.push({key:\"adblock\",value:this.getAdBlock()}),e},hasLiedLanguagesKey:function(e){return this.options.excludeHasLiedLanguages||e.push({key:\"has_lied_languages\",value:this.getHasLiedLanguages()}),e},hasLiedResolutionKey:function(e){return this.options.excludeHasLiedResolution||e.push({key:\"has_lied_resolution\",value:this.getHasLiedResolution()}),e},hasLiedOsKey:function(e){return this.options.excludeHasLiedOs||e.push({key:\"has_lied_os\",value:this.getHasLiedOs()}),e},hasLiedBrowserKey:function(e){return this.options.excludeHasLiedBrowser||e.push({key:\"has_lied_browser\",value:this.getHasLiedBrowser()}),e},fontsKey:function(e,t){return this.options.excludeJsFonts?this.flashFontsKey(e,t):this.jsFontsKey(e,t)},flashFontsKey:function(e,t){return this.options.excludeFlashFonts?t(e):this.hasSwfObjectLoaded()&&this.hasMinFlashInstalled()?\"undefined\"==typeof this.options.swfPath?t(e):void this.loadSwfAndDetectFonts(function(i){e.push({key:\"swf_fonts\",value:i.join(\";\")}),t(e)}):t(e)},jsFontsKey:function(e,t){var i=this;return setTimeout(function(){var a=[\"monospace\",\"sans-serif\",\"serif\"],r=[\"Andale Mono\",\"Arial\",\"Arial Black\",\"Arial Hebrew\",\"Arial MT\",\"Arial Narrow\",\"Arial Rounded MT Bold\",\"Arial Unicode MS\",\"Bitstream Vera Sans Mono\",\"Book Antiqua\",\"Bookman Old Style\",\"Calibri\",\"Cambria\",\"Cambria Math\",\"Century\",\"Century Gothic\",\"Century Schoolbook\",\"Comic Sans\",\"Comic Sans MS\",\"Consolas\",\"Courier\",\"Courier New\",\"Garamond\",\"Geneva\",\"Georgia\",\"Helvetica\",\"Helvetica Neue\",\"Impact\",\"Lucida Bright\",\"Lucida Calligraphy\",\"Lucida Console\",\"Lucida Fax\",\"LUCIDA GRANDE\",\"Lucida Handwriting\",\"Lucida Sans\",\"Lucida Sans Typewriter\",\"Lucida Sans Unicode\",\"Microsoft Sans Serif\",\"Monaco\",\"Monotype Corsiva\",\"MS Gothic\",\"MS Outlook\",\"MS PGothic\",\"MS Reference Sans Serif\",\"MS Sans Serif\",\"MS Serif\",\"MYRIAD\",\"MYRIAD PRO\",\"Palatino\",\"Palatino Linotype\",\"Segoe Print\",\"Segoe Script\",\"Segoe UI\",\"Segoe UI Light\",\"Segoe UI Semibold\",\"Segoe UI Symbol\",\"Tahoma\",\"Times\",\"Times New Roman\",\"Times New Roman PS\",\"Trebuchet MS\",\"Verdana\",\"Wingdings\",\"Wingdings 2\",\"Wingdings 3\"],n=[\"Abadi MT Condensed Light\",\"Academy Engraved LET\",\"ADOBE CASLON PRO\",\"Adobe Garamond\",\"ADOBE GARAMOND PRO\",\"Agency FB\",\"Aharoni\",\"Albertus Extra Bold\",\"Albertus Medium\",\"Algerian\",\"Amazone BT\",\"American Typewriter\",\"American Typewriter Condensed\",\"AmerType Md BT\",\"Andalus\",\"Angsana New\",\"AngsanaUPC\",\"Antique Olive\",\"Aparajita\",\"Apple Chancery\",\"Apple Color Emoji\",\"Apple SD Gothic Neo\",\"Arabic Typesetting\",\"ARCHER\",\"ARNO PRO\",\"Arrus BT\",\"Aurora Cn BT\",\"AvantGarde Bk BT\",\"AvantGarde Md BT\",\"AVENIR\",\"Ayuthaya\",\"Bandy\",\"Bangla Sangam MN\",\"Bank Gothic\",\"BankGothic Md BT\",\"Baskerville\",\"Baskerville Old Face\",\"Batang\",\"BatangChe\",\"Bauer Bodoni\",\"Bauhaus 93\",\"Bazooka\",\"Bell MT\",\"Bembo\",\"Benguiat Bk BT\",\"Berlin Sans FB\",\"Berlin Sans FB Demi\",\"Bernard MT Condensed\",\"BernhardFashion BT\",\"BernhardMod BT\",\"Big Caslon\",\"BinnerD\",\"Blackadder ITC\",\"BlairMdITC TT\",\"Bodoni 72\",\"Bodoni 72 Oldstyle\",\"Bodoni 72 Smallcaps\",\"Bodoni MT\",\"Bodoni MT Black\",\"Bodoni MT Condensed\",\"Bodoni MT Poster Compressed\",\"Bookshelf Symbol 7\",\"Boulder\",\"Bradley Hand\",\"Bradley Hand ITC\",\"Bremen Bd BT\",\"Britannic Bold\",\"Broadway\",\"Browallia New\",\"BrowalliaUPC\",\"Brush Script MT\",\"Californian FB\",\"Calisto MT\",\"Calligrapher\",\"Candara\",\"CaslonOpnface BT\",\"Castellar\",\"Centaur\",\"Cezanne\",\"CG Omega\",\"CG Times\",\"Chalkboard\",\"Chalkboard SE\",\"Chalkduster\",\"Charlesworth\",\"Charter Bd BT\",\"Charter BT\",\"Chaucer\",\"ChelthmITC Bk BT\",\"Chiller\",\"Clarendon\",\"Clarendon Condensed\",\"CloisterBlack BT\",\"Cochin\",\"Colonna MT\",\"Constantia\",\"Cooper Black\",\"Copperplate\",\"Copperplate Gothic\",\"Copperplate Gothic Bold\",\"Copperplate Gothic Light\",\"CopperplGoth Bd BT\",\"Corbel\",\"Cordia New\",\"CordiaUPC\",\"Cornerstone\",\"Coronet\",\"Cuckoo\",\"Curlz MT\",\"DaunPenh\",\"Dauphin\",\"David\",\"DB LCD Temp\",\"DELICIOUS\",\"Denmark\",\"DFKai-SB\",\"Didot\",\"DilleniaUPC\",\"DIN\",\"DokChampa\",\"Dotum\",\"DotumChe\",\"Ebrima\",\"Edwardian Script ITC\",\"Elephant\",\"English 111 Vivace BT\",\"Engravers MT\",\"EngraversGothic BT\",\"Eras Bold ITC\",\"Eras Demi ITC\",\"Eras Light ITC\",\"Eras Medium ITC\",\"EucrosiaUPC\",\"Euphemia\",\"Euphemia UCAS\",\"EUROSTILE\",\"Exotc350 Bd BT\",\"FangSong\",\"Felix Titling\",\"Fixedsys\",\"FONTIN\",\"Footlight MT Light\",\"Forte\",\"FrankRuehl\",\"Fransiscan\",\"Freefrm721 Blk BT\",\"FreesiaUPC\",\"Freestyle Script\",\"French Script MT\",\"FrnkGothITC Bk BT\",\"Fruitger\",\"FRUTIGER\",\"Futura\",\"Futura Bk BT\",\"Futura Lt BT\",\"Futura Md BT\",\"Futura ZBlk BT\",\"FuturaBlack BT\",\"Gabriola\",\"Galliard BT\",\"Gautami\",\"Geeza Pro\",\"Geometr231 BT\",\"Geometr231 Hv BT\",\"Geometr231 Lt BT\",\"GeoSlab 703 Lt BT\",\"GeoSlab 703 XBd BT\",\"Gigi\",\"Gill Sans\",\"Gill Sans MT\",\"Gill Sans MT Condensed\",\"Gill Sans MT Ext Condensed Bold\",\"Gill Sans Ultra Bold\",\"Gill Sans Ultra Bold Condensed\",\"Gisha\",\"Gloucester MT Extra Condensed\",\"GOTHAM\",\"GOTHAM BOLD\",\"Goudy Old Style\",\"Goudy Stout\",\"GoudyHandtooled BT\",\"GoudyOLSt BT\",\"Gujarati Sangam MN\",\"Gulim\",\"GulimChe\",\"Gungsuh\",\"GungsuhChe\",\"Gurmukhi MN\",\"Haettenschweiler\",\"Harlow Solid Italic\",\"Harrington\",\"Heather\",\"Heiti SC\",\"Heiti TC\",\"HELV\",\"Herald\",\"High Tower Text\",\"Hiragino Kaku Gothic ProN\",\"Hiragino Mincho ProN\",\"Hoefler Text\",\"Humanst 521 Cn BT\",\"Humanst521 BT\",\"Humanst521 Lt BT\",\"Imprint MT Shadow\",\"Incised901 Bd BT\",\"Incised901 BT\",\"Incised901 Lt BT\",\"INCONSOLATA\",\"Informal Roman\",\"Informal011 BT\",\"INTERSTATE\",\"IrisUPC\",\"Iskoola Pota\",\"JasmineUPC\",\"Jazz LET\",\"Jenson\",\"Jester\",\"Jokerman\",\"Juice ITC\",\"Kabel Bk BT\",\"Kabel Ult BT\",\"Kailasa\",\"KaiTi\",\"Kalinga\",\"Kannada Sangam MN\",\"Kartika\",\"Kaufmann Bd BT\",\"Kaufmann BT\",\"Khmer UI\",\"KodchiangUPC\",\"Kokila\",\"Korinna BT\",\"Kristen ITC\",\"Krungthep\",\"Kunstler Script\",\"Lao UI\",\"Latha\",\"Leelawadee\",\"Letter Gothic\",\"Levenim MT\",\"LilyUPC\",\"Lithograph\",\"Lithograph Light\",\"Long Island\",\"Lydian BT\",\"Magneto\",\"Maiandra GD\",\"Malayalam Sangam MN\",\"Malgun Gothic\",\"Mangal\",\"Marigold\",\"Marion\",\"Marker Felt\",\"Market\",\"Marlett\",\"Matisse ITC\",\"Matura MT Script Capitals\",\"Meiryo\",\"Meiryo UI\",\"Microsoft Himalaya\",\"Microsoft JhengHei\",\"Microsoft New Tai Lue\",\"Microsoft PhagsPa\",\"Microsoft Tai Le\",\"Microsoft Uighur\",\"Microsoft YaHei\",\"Microsoft Yi Baiti\",\"MingLiU\",\"MingLiU_HKSCS\",\"MingLiU_HKSCS-ExtB\",\"MingLiU-ExtB\",\"Minion\",\"Minion Pro\",\"Miriam\",\"Miriam Fixed\",\"Mistral\",\"Modern\",\"Modern No. 20\",\"Mona Lisa Solid ITC TT\",\"Mongolian Baiti\",\"MONO\",\"MoolBoran\",\"Mrs Eaves\",\"MS LineDraw\",\"MS Mincho\",\"MS PMincho\",\"MS Reference Specialty\",\"MS UI Gothic\",\"MT Extra\",\"MUSEO\",\"MV Boli\",\"Nadeem\",\"Narkisim\",\"NEVIS\",\"News Gothic\",\"News GothicMT\",\"NewsGoth BT\",\"Niagara Engraved\",\"Niagara Solid\",\"Noteworthy\",\"NSimSun\",\"Nyala\",\"OCR A Extended\",\"Old Century\",\"Old English Text MT\",\"Onyx\",\"Onyx BT\",\"OPTIMA\",\"Oriya Sangam MN\",\"OSAKA\",\"OzHandicraft BT\",\"Palace Script MT\",\"Papyrus\",\"Parchment\",\"Party LET\",\"Pegasus\",\"Perpetua\",\"Perpetua Titling MT\",\"PetitaBold\",\"Pickwick\",\"Plantagenet Cherokee\",\"Playbill\",\"PMingLiU\",\"PMingLiU-ExtB\",\"Poor Richard\",\"Poster\",\"PosterBodoni BT\",\"PRINCETOWN LET\",\"Pristina\",\"PTBarnum BT\",\"Pythagoras\",\"Raavi\",\"Rage Italic\",\"Ravie\",\"Ribbon131 Bd BT\",\"Rockwell\",\"Rockwell Condensed\",\"Rockwell Extra Bold\",\"Rod\",\"Roman\",\"Sakkal Majalla\",\"Santa Fe LET\",\"Savoye LET\",\"Sceptre\",\"Script\",\"Script MT Bold\",\"SCRIPTINA\",\"Serifa\",\"Serifa BT\",\"Serifa Th BT\",\"ShelleyVolante BT\",\"Sherwood\",\"Shonar Bangla\",\"Showcard Gothic\",\"Shruti\",\"Signboard\",\"SILKSCREEN\",\"SimHei\",\"Simplified Arabic\",\"Simplified Arabic Fixed\",\"SimSun\",\"SimSun-ExtB\",\"Sinhala Sangam MN\",\"Sketch Rockwell\",\"Skia\",\"Small Fonts\",\"Snap ITC\",\"Snell Roundhand\",\"Socket\",\"Souvenir Lt BT\",\"Staccato222 BT\",\"Steamer\",\"Stencil\",\"Storybook\",\"Styllo\",\"Subway\",\"Swis721 BlkEx BT\",\"Swiss911 XCm BT\",\"Sylfaen\",\"Synchro LET\",\"System\",\"Tamil Sangam MN\",\"Technical\",\"Teletype\",\"Telugu Sangam MN\",\"Tempus Sans ITC\",\"Terminal\",\"Thonburi\",\"Traditional Arabic\",\"Trajan\",\"TRAJAN PRO\",\"Tristan\",\"Tubular\",\"Tunga\",\"Tw Cen MT\",\"Tw Cen MT Condensed\",\"Tw Cen MT Condensed Extra Bold\",\"TypoUpright BT\",\"Unicorn\",\"Univers\",\"Univers CE 55 Medium\",\"Univers Condensed\",\"Utsaah\",\"Vagabond\",\"Vani\",\"Vijaya\",\"Viner Hand ITC\",\"VisualUI\",\"Vivaldi\",\"Vladimir Script\",\"Vrinda\",\"Westminster\",\"WHITNEY\",\"Wide Latin\",\"ZapfEllipt BT\",\"ZapfHumnst BT\",\"ZapfHumnst Dm BT\",\"Zapfino\",\"Zurich BlkEx BT\",\"Zurich Ex BT\",\"ZWAdobeF\"];i.options.extendedJsFonts&&(r=r.concat(n)),r=r.concat(i.options.userDefinedFonts);var o=\"mmmmmmmmmmlli\",s=\"72px\",l=document.getElementsByTagName(\"body\")[0],h=document.createElement(\"div\"),u=document.createElement(\"div\"),d={},c={},g=function(){var e=document.createElement(\"span\");return e.style.position=\"absolute\",e.style.left=\"-9999px\",e.style.fontSize=s,e.style.lineHeight=\"normal\",e.innerHTML=o,e},p=function(e,t){var i=g();return i.style.fontFamily=\"'\"+e+\"',\"+t,i},f=function(){for(var e=[],t=0,i=a.length;tt.name?1:e.name=0?\"Windows Phone\":t.indexOf(\"win\")>=0?\"Windows\":t.indexOf(\"android\")>=0?\"Android\":t.indexOf(\"linux\")>=0?\"Linux\":t.indexOf(\"iphone\")>=0||t.indexOf(\"ipad\")>=0?\"iOS\":t.indexOf(\"mac\")>=0?\"Mac\":\"Other\";var r;if(r=\"ontouchstart\"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,r&&\"Windows Phone\"!==e&&\"Android\"!==e&&\"iOS\"!==e&&\"Other\"!==e)return!0;if(\"undefined\"!=typeof i){if(i=i.toLowerCase(),i.indexOf(\"win\")>=0&&\"Windows\"!==e&&\"Windows Phone\"!==e)return!0;if(i.indexOf(\"linux\")>=0&&\"Linux\"!==e&&\"Android\"!==e)return!0;if(i.indexOf(\"mac\")>=0&&\"Mac\"!==e&&\"iOS\"!==e)return!0;if(0===i.indexOf(\"win\")&&0===i.indexOf(\"linux\")&&i.indexOf(\"mac\")>=0&&\"other\"!==e)return!0}return a.indexOf(\"win\")>=0&&\"Windows\"!==e&&\"Windows Phone\"!==e||((a.indexOf(\"linux\")>=0||a.indexOf(\"android\")>=0||a.indexOf(\"pike\")>=0)&&\"Linux\"!==e&&\"Android\"!==e||((a.indexOf(\"mac\")>=0||a.indexOf(\"ipad\")>=0||a.indexOf(\"ipod\")>=0||a.indexOf(\"iphone\")>=0)&&\"Mac\"!==e&&\"iOS\"!==e||(0===a.indexOf(\"win\")&&0===a.indexOf(\"linux\")&&a.indexOf(\"mac\")>=0&&\"other\"!==e||\"undefined\"==typeof navigator.plugins&&\"Windows\"!==e&&\"Windows Phone\"!==e)))},getHasLiedBrowser:function(){var e,t=navigator.userAgent.toLowerCase(),i=navigator.productSub;if(e=t.indexOf(\"firefox\")>=0?\"Firefox\":t.indexOf(\"opera\")>=0||t.indexOf(\"opr\")>=0?\"Opera\":t.indexOf(\"chrome\")>=0?\"Chrome\":t.indexOf(\"safari\")>=0?\"Safari\":t.indexOf(\"trident\")>=0?\"Internet Explorer\":\"Other\",(\"Chrome\"===e||\"Safari\"===e||\"Opera\"===e)&&\"20030107\"!==i)return!0;var a=eval.toString().length;if(37===a&&\"Safari\"!==e&&\"Firefox\"!==e&&\"Other\"!==e)return!0;if(39===a&&\"Internet Explorer\"!==e&&\"Other\"!==e)return!0;if(33===a&&\"Chrome\"!==e&&\"Opera\"!==e&&\"Other\"!==e)return!0;var r;try{throw\"a\"}catch(n){try{n.toSource(),r=!0}catch(o){r=!1}}return!(!r||\"Firefox\"===e||\"Other\"===e)},isCanvasSupported:function(){var e=document.createElement(\"canvas\");return!(!e.getContext||!e.getContext(\"2d\"))},isWebGlSupported:function(){if(!this.isCanvasSupported())return!1;var e,t=document.createElement(\"canvas\");try{e=t.getContext&&(t.getContext(\"webgl\")||t.getContext(\"experimental-webgl\"))}catch(i){e=!1}return!!window.WebGLRenderingContext&&!!e},isIE:function(){return\"Microsoft Internet Explorer\"===navigator.appName||!(\"Netscape\"!==navigator.appName||!/Trident/.test(navigator.userAgent))},hasSwfObjectLoaded:function(){return\"undefined\"!=typeof window.swfobject},hasMinFlashInstalled:function(){return swfobject.hasFlashPlayerVersion(\"9.0.0\")},addFlashDivNode:function(){var e=document.createElement(\"div\");e.setAttribute(\"id\",this.options.swfContainerId),document.body.appendChild(e)},loadSwfAndDetectFonts:function(e){var t=\"___fp_swf_loaded\";window[t]=function(t){e(t)};var i=this.options.swfContainerId;this.addFlashDivNode();var a={onReady:t},r={allowScriptAccess:\"always\",menu:\"false\"};swfobject.embedSWF(this.options.swfPath,i,\"1\",\"1\",\"9.0.0\",!1,a,r,{})},getWebglCanvas:function(){var e=document.createElement(\"canvas\"),t=null;try{t=e.getContext(\"webgl\")||e.getContext(\"experimental-webgl\")}catch(i){}return t||(t=null),t},each:function(e,t,i){if(null!==e)if(this.nativeForEach&&e.forEach===this.nativeForEach)e.forEach(t,i);else if(e.length===+e.length){for(var a=0,r=e.length;a>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var i=[0,0,0,0];return i[3]+=e[3]+t[3],i[2]+=i[3]>>>16,i[3]&=65535,i[2]+=e[2]+t[2],i[1]+=i[2]>>>16,i[2]&=65535,i[1]+=e[1]+t[1],i[0]+=i[1]>>>16,i[1]&=65535,i[0]+=e[0]+t[0],i[0]&=65535,[i[0]<<16|i[1],i[2]<<16|i[3]]},x64Multiply:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var i=[0,0,0,0];return i[3]+=e[3]*t[3],i[2]+=i[3]>>>16,i[3]&=65535,i[2]+=e[2]*t[3],i[1]+=i[2]>>>16,i[2]&=65535,i[2]+=e[3]*t[2],i[1]+=i[2]>>>16,i[2]&=65535,i[1]+=e[1]*t[3],i[0]+=i[1]>>>16,i[1]&=65535,i[1]+=e[2]*t[2],i[0]+=i[1]>>>16,i[1]&=65535,i[1]+=e[3]*t[1],i[0]+=i[1]>>>16,i[1]&=65535,i[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],i[0]&=65535,[i[0]<<16|i[1],i[2]<<16|i[3]]},x64Rotl:function(e,t){return t%=64,32===t?[e[1],e[0]]:t<32?[e[0]<>>32-t,e[1]<>>32-t]:(t-=32,[e[1]<>>32-t,e[0]<>>32-t])},x64LeftShift:function(e,t){return t%=64,0===t?e:t<32?[e[0]<>>32-t,e[1]<>>1]),e=this.x64Multiply(e,[4283543511,3981806797]),e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[3301882366,444984403]),e=this.x64Xor(e,[0,e[0]>>>1])},x64hash128:function(e,t){e=e||\"\",t=t||0;for(var i=e.length%16,a=e.length-i,r=[0,t],n=[0,t],o=[0,0],s=[0,0],l=[2277735313,289559509],h=[1291169091,658871167],u=0;u>>0).toString(16)).slice(-8)+(\"00000000\"+(r[1]>>>0).toString(16)).slice(-8)+(\"00000000\"+(n[0]>>>0).toString(16)).slice(-8)+(\"00000000\"+(n[1]>>>0).toString(16)).slice(-8)}},e.VERSION=\"1.4.4\",e});","/**\r\n * UAParser.js v0.7.17\r\n * Lightweight JavaScript-based User-Agent string parser\r\n * https://github.com/faisalman/ua-parser-js\r\n *\r\n * Copyright © 2012-2016 Faisal Salman \r\n * Dual licensed under GPLv2 & MIT\r\n */\r\n(function(window,undefined){\"use strict\";var LIBVERSION=\"0.7.17\",EMPTY=\"\",UNKNOWN=\"?\",FUNC_TYPE=\"function\",UNDEF_TYPE=\"undefined\",OBJ_TYPE=\"object\",STR_TYPE=\"string\",MAJOR=\"major\",MODEL=\"model\",NAME=\"name\",TYPE=\"type\",VENDOR=\"vendor\",VERSION=\"version\",ARCHITECTURE=\"architecture\",CONSOLE=\"console\",MOBILE=\"mobile\",TABLET=\"tablet\",SMARTTV=\"smarttv\",WEARABLE=\"wearable\",EMBEDDED=\"embedded\";var util={extend:function(regexes,extensions){var margedRegexes={};for(var i in regexes){if(extensions[i]&&extensions[i].length%2===0){margedRegexes[i]=extensions[i].concat(regexes[i])}else{margedRegexes[i]=regexes[i]}}return margedRegexes},has:function(str1,str2){if(typeof str1===\"string\"){return str2.toLowerCase().indexOf(str1.toLowerCase())!==-1}else{return false}},lowerize:function(str){return str.toLowerCase()},major:function(version){return typeof version===STR_TYPE?version.replace(/[^\\d\\.]/g,\"\").split(\".\")[0]:undefined},trim:function(str){return str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,\"\")}};var mapper={rgx:function(ua,arrays){var i=0,j,k,p,q,matches,match;while(i0){if(q.length==2){if(typeof q[1]==FUNC_TYPE){this[q[0]]=q[1].call(this,match)}else{this[q[0]]=q[1]}}else if(q.length==3){if(typeof q[1]===FUNC_TYPE&&!(q[1].exec&&q[1].test)){this[q[0]]=match?q[1].call(this,match,q[2]):undefined}else{this[q[0]]=match?match.replace(q[1],q[2]):undefined}}else if(q.length==4){this[q[0]]=match?q[3].call(this,match.replace(q[1],q[2])):undefined}}else{this[q]=match?match:undefined}}}}i+=2}},str:function(str,map){for(var i in map){if(typeof map[i]===OBJ_TYPE&&map[i].length>0){for(var j=0;j{{buttons}}\",ok:\"\",cancel:\"\"},input:\"\",message:\"

{{message}}

\",log:\"
{{message}}
\"},defaultDialogs:{buttons:{holder:\"\",ok:\"\",cancel:\"\"},input:\"\",message:\"

{{message}}

\",log:\"
{{message}}
\"},build:function(t){var e=this.dialogs.buttons.ok,n=\"
\"+this.dialogs.message.replace(\"{{message}}\",t.message);return\"confirm\"!==t.type&&\"prompt\"!==t.type||(e=this.dialogs.buttons.cancel+this.dialogs.buttons.ok),\"prompt\"===t.type&&(n+=this.dialogs.input),n=(n+this.dialogs.buttons.holder+\"
\").replace(\"{{buttons}}\",e).replace(\"{{ok}}\",this.okLabel).replace(\"{{cancel}}\",this.cancelLabel)},setCloseLogOnClick:function(t){this.closeLogOnClick=!!t},close:function(t,e){this.closeLogOnClick&&t.addEventListener(\"click\",function(t){o(t.srcElement)}),e=e&&!isNaN(+e)?+e:this.delay,0>e?o(t):e>0&&setTimeout(function(){o(t)},e)},dialog:function(t,e,n,o){return this.setup({type:e,message:t,onOkay:n,onCancel:o})},log:function(t,e,n){var o=document.querySelectorAll(\".alertify-logs > div\");if(o){var i=o.length-this.maxLogItems;if(i>=0)for(var a=0,l=i+1;l>a;a++)this.close(o[a],-1)}this.notify(t,e,n)},setLogPosition:function(t){this.logContainerClass=\"alertify-logs \"+t},setupLogContainer:function(){var t=document.querySelector(\".alertify-logs\"),e=this.logContainerClass;return t||(t=document.createElement(\"div\"),t.className=e,this.parent.appendChild(t)),t.className!==e&&(t.className=e),t},notify:function(e,n,o){var i=this.setupLogContainer(),a=document.createElement(\"div\");a.className=n||\"default\",t.logTemplateMethod?a.innerHTML=t.logTemplateMethod(e):a.innerHTML=e,\"function\"==typeof o&&a.addEventListener(\"click\",o),i.appendChild(a),setTimeout(function(){a.className+=\" show\"},10),this.close(a,this.delay)},setup:function(t){function e(e){\"function\"!=typeof e&&(e=function(){}),i&&i.addEventListener(\"click\",function(i){t.onOkay&&\"function\"==typeof t.onOkay&&(l?t.onOkay(l.value,i):t.onOkay(i)),e(l?{buttonClicked:\"ok\",inputValue:l.value,event:i}:{buttonClicked:\"ok\",event:i}),o(n)}),a&&a.addEventListener(\"click\",function(i){t.onCancel&&\"function\"==typeof t.onCancel&&t.onCancel(i),e({buttonClicked:\"cancel\",event:i}),o(n)})}var n=document.createElement(\"div\");n.className=\"alertify hide\",n.innerHTML=this.build(t);var i=n.querySelector(\".ok\"),a=n.querySelector(\".cancel\"),l=n.querySelector(\"input\"),r=n.querySelector(\"label\");l&&(\"string\"==typeof this.promptPlaceholder&&(r?r.textContent=this.promptPlaceholder:l.placeholder=this.promptPlaceholder),\"string\"==typeof this.promptValue&&(l.value=this.promptValue));var s;return\"function\"==typeof Promise?s=new Promise(e):e(),this.parent.appendChild(n),setTimeout(function(){n.classList.remove(\"hide\"),l&&t.type&&\"prompt\"===t.type?(l.select(),l.focus()):i&&i.focus()},100),s},okBtn:function(t){return this.okLabel=t,this},setDelay:function(t){return t=t||0,this.delay=isNaN(t)?this.defaultDelay:parseInt(t,10),this},cancelBtn:function(t){return this.cancelLabel=t,this},setMaxLogItems:function(t){this.maxLogItems=parseInt(t||this.defaultMaxLogItems)},theme:function(t){switch(t.toLowerCase()){case\"bootstrap\":this.dialogs.buttons.ok=\"\",this.dialogs.buttons.cancel=\"\",this.dialogs.input=\"\";break;case\"purecss\":this.dialogs.buttons.ok=\"\",this.dialogs.buttons.cancel=\"\";break;case\"mdl\":case\"material-design-light\":this.dialogs.buttons.ok=\"\",this.dialogs.buttons.cancel=\"\",this.dialogs.input=\"
\";break;case\"angular-material\":this.dialogs.buttons.ok=\"\",this.dialogs.buttons.cancel=\"\",this.dialogs.input=\"
\";break;case\"default\":default:this.dialogs.buttons.ok=this.defaultDialogs.buttons.ok,this.dialogs.buttons.cancel=this.defaultDialogs.buttons.cancel,this.dialogs.input=this.defaultDialogs.input}},reset:function(){this.parent=document.body,this.theme(\"default\"),this.okBtn(this.defaultOkLabel),this.cancelBtn(this.defaultCancelLabel),this.setMaxLogItems(),this.promptValue=\"\",this.promptPlaceholder=\"\",this.delay=this.defaultDelay,this.setCloseLogOnClick(this.closeLogOnClickDefault),this.setLogPosition(\"bottom left\"),this.logTemplateMethod=null},injectCSS:function(){if(!document.querySelector(\"#alertifyCSS\")){var t=document.getElementsByTagName(\"head\")[0],e=document.createElement(\"style\");e.type=\"text/css\",e.id=\"alertifyCSS\",e.innerHTML=\".alertify-logs>*{padding:12px 24px;color:#fff;box-shadow:0 2px 5px 0 rgba(0,0,0,.2);border-radius:1px}.alertify-logs>*,.alertify-logs>.default{background:rgba(0,0,0,.8)}.alertify-logs>.error{background:rgba(244,67,54,.8)}.alertify-logs>.success{background:rgba(76,175,80,.9)}.alertify{position:fixed;background-color:rgba(0,0,0,.3);left:0;right:0;top:0;bottom:0;width:100%;height:100%;z-index:2}.alertify.hide{opacity:0;pointer-events:none}.alertify,.alertify.show{box-sizing:border-box;transition:all .33s cubic-bezier(.25,.8,.25,1)}.alertify,.alertify *{box-sizing:border-box}.alertify .dialog{padding:12px}.alertify .alert,.alertify .dialog{width:100%;margin:0 auto;position:relative;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.alertify .alert>*,.alertify .dialog>*{width:400px;max-width:95%;margin:0 auto;text-align:center;padding:12px;background:#fff;box-shadow:0 2px 4px -1px rgba(0,0,0,.14),0 4px 5px 0 rgba(0,0,0,.098),0 1px 10px 0 rgba(0,0,0,.084)}.alertify .alert .msg,.alertify .dialog .msg{padding:12px;margin-bottom:12px;margin:0;text-align:left}.alertify .alert input:not(.form-control),.alertify .dialog input:not(.form-control){margin-bottom:15px;width:100%;font-size:100%;padding:12px}.alertify .alert input:not(.form-control):focus,.alertify .dialog input:not(.form-control):focus{outline-offset:-2px}.alertify .alert nav,.alertify .dialog nav{text-align:right}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button),.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button){background:transparent;box-sizing:border-box;color:rgba(0,0,0,.87);position:relative;outline:0;border:0;display:inline-block;-webkit-align-items:center;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;padding:0 6px;margin:6px 8px;line-height:36px;min-height:36px;white-space:nowrap;min-width:88px;text-align:center;text-transform:uppercase;font-size:14px;text-decoration:none;cursor:pointer;border:1px solid transparent;border-radius:2px}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover{background-color:rgba(0,0,0,.05)}.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus,.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus{border:1px solid rgba(0,0,0,.1)}.alertify .alert nav button.btn,.alertify .dialog nav button.btn{margin:6px 4px}.alertify-logs{position:fixed;z-index:1}.alertify-logs.bottom,.alertify-logs:not(.top){bottom:16px}.alertify-logs.left,.alertify-logs:not(.right){left:16px}.alertify-logs.left>*,.alertify-logs:not(.right)>*{float:left;-webkit-transform:translateZ(0);transform:translateZ(0);height:auto}.alertify-logs.left>.show,.alertify-logs:not(.right)>.show{left:0}.alertify-logs.left>*,.alertify-logs.left>.hide,.alertify-logs:not(.right)>*,.alertify-logs:not(.right)>.hide{left:-110%}.alertify-logs.right{right:16px}.alertify-logs.right>*{float:right;-webkit-transform:translateZ(0);transform:translateZ(0)}.alertify-logs.right>.show{right:0;opacity:1}.alertify-logs.right>*,.alertify-logs.right>.hide{right:-110%;opacity:0}.alertify-logs.top{top:0}.alertify-logs>*{box-sizing:border-box;transition:all .4s cubic-bezier(.25,.8,.25,1);position:relative;clear:both;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000;max-height:0;margin:0;padding:0;overflow:hidden;opacity:0;pointer-events:none}.alertify-logs>.show{margin-top:12px;opacity:1;max-height:1000px;padding:12px;pointer-events:auto}\",t.insertBefore(e,t.firstChild)}},removeCSS:function(){var t=document.querySelector(\"#alertifyCSS\");t&&t.parentNode&&t.parentNode.removeChild(t)}};return t.injectCSS(),{_$alertify:t,parent:function(e){t.parent=e},reset:function(){return t.reset(),this},alert:function(e,n,o){return t.dialog(e,\"alert\",n,o)||this},confirm:function(e,n,o){return t.dialog(e,\"confirm\",n,o)||this},prompt:function(e,n,o){return t.dialog(e,\"prompt\",n,o)||this},log:function(e,n){return t.log(e,\"default\",n),this},theme:function(e){return t.theme(e),this},success:function(e,n){return t.log(e,\"success\",n),this},error:function(e,n){return t.log(e,\"error\",n),this},cancelBtn:function(e){return t.cancelBtn(e),this},okBtn:function(e){return t.okBtn(e),this},delay:function(e){return t.setDelay(e),this},placeholder:function(e){return t.promptPlaceholder=e,this},defaultValue:function(e){return t.promptValue=e,this},maxLogItems:function(e){return t.setMaxLogItems(e),this},closeLogOnClick:function(e){return t.setCloseLogOnClick(!!e),this},logPosition:function(e){return t.setLogPosition(e||\"\"),this},setLogTemplate:function(e){return t.logTemplateMethod=e,this},clearLogs:function(){return t.setupLogContainer().innerHTML=\"\",this},version:t.version}}var n=500,o=function(t){if(t){var e=function(){t&&t.parentNode&&t.parentNode.removeChild(t)};t.classList.remove(\"show\"),t.classList.add(\"hide\"),t.addEventListener(\"transitionend\",e),setTimeout(e,n)}};if(\"undefined\"!=typeof t&&t&&t.exports){t.exports=function(){return new e};var i=new e;for(var a in i)t.exports[a]=i[a]}else\"function\"==typeof define&&define.amd?define(function(){return new e}):window.alertify=new e}();var e=t.exports;return new e});","!function(f){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=f();else if(\"function\"==typeof define&&define.amd)define([],f);else{(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).Flashphoner=f()}}(function(){var define,module,exports;return function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){return o(e[i][1][r]||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;imaxptime&&(maxptime=codec.maxptime)}),0');aa.outerHTML='\"+af+\"\",N[N.length]=ai.id,X=c(ai.id)}else{var Z=C(r);for(var ac in Z.setAttribute(\"type\",q),ai)ai[ac]!=Object.prototype[ac]&&(\"styleclass\"==ac.toLowerCase()?Z.setAttribute(\"class\",ai[ac]):\"classid\"!=ac.toLowerCase()&&Z.setAttribute(ac,ai[ac]));for(var ab in ag)ag[ab]!=Object.prototype[ab]&&\"movie\"!=ab.toLowerCase()&&e(Z,ab,ag[ab]);aa.parentNode.replaceChild(Z,aa),X=Z}return X}function e(Z,X,Y){var aa=C(\"param\");aa.setAttribute(\"name\",X),aa.setAttribute(\"value\",Y),Z.appendChild(aa)}function y(Y){var X=c(Y);X&&\"OBJECT\"==X.nodeName&&(M.ie&&M.win?(X.style.display=\"none\",function(){4==X.readyState?function(Z){var Y=c(Z);if(Y){for(var X in Y)\"function\"==typeof Y[X]&&(Y[X]=null);Y.parentNode.removeChild(Y)}}(Y):setTimeout(arguments.callee,10)}()):X.parentNode.removeChild(X))}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function F(Z){var Y=M.pv,X=Z.split(\".\");return X[0]=parseInt(X[0],10),X[1]=parseInt(X[1],10)||0,X[2]=parseInt(X[2],10)||0,Y[0]>X[0]||Y[0]==X[0]&&Y[1]>X[1]||Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]}function v(ac,Y,ad,ab){if(!M.ie||!M.mac){var aa=j.getElementsByTagName(\"head\")[0];if(aa){var X=ad&&\"string\"==typeof ad?ad:\"screen\";if(ab&&(G=n=null),!n||G!=X){var Z=C(\"style\");Z.setAttribute(\"type\",\"text/css\"),Z.setAttribute(\"media\",X),n=aa.appendChild(Z),M.ie&&M.win&&typeof j.styleSheets!=D&&0\\.;]/.exec(Y)&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}M.ie&&M.win&&window.attachEvent(\"onunload\",function(){for(var ac=I.length,ab=0;ab>>((3&i)<<3)&255;return rnds}}},{}],10:[function(require,module,exports){var _nodeId,_clockseq,rng=require(\"./lib/rng\"),bytesToUuid=require(\"./lib/bytesToUuid\"),_lastMSecs=0,_lastNSecs=0;module.exports=function(options,buf,offset){var i=buf&&offset||0,b=buf||[],node=(options=options||{}).node||_nodeId,clockseq=void 0!==options.clockseq?options.clockseq:_clockseq;if(null==node||null==clockseq){var seedBytes=rng();null==node&&(node=_nodeId=[1|seedBytes[0],seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]]),null==clockseq&&(clockseq=_clockseq=16383&(seedBytes[6]<<8|seedBytes[7]))}var msecs=void 0!==options.msecs?options.msecs:(new Date).getTime(),nsecs=void 0!==options.nsecs?options.nsecs:_lastNSecs+1,dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&void 0===options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||_lastMSecs>>24&255,b[i++]=tl>>>16&255,b[i++]=tl>>>8&255,b[i++]=255&tl;var tmh=msecs/4294967296*1e4&268435455;b[i++]=tmh>>>8&255,b[i++]=255&tmh,b[i++]=tmh>>>24&15|16,b[i++]=tmh>>>16&255,b[i++]=clockseq>>>8|128,b[i++]=255&clockseq;for(var n=0;n<6;++n)b[i+n]=node[n];return buf||bytesToUuid(b)}},{\"./lib/bytesToUuid\":8,\"./lib/rng\":9}],11:[function(require,module,exports){(function(global){\"use strict\";var adapterFactory=require(\"./adapter_factory.js\");module.exports=adapterFactory({window:global.window})}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./adapter_factory.js\":12}],12:[function(require,module,exports){\"use strict\";var utils=require(\"./utils\");module.exports=function(dependencies,opts){var window=dependencies&&dependencies.window,options={shimChrome:!0,shimFirefox:!0,shimEdge:!0,shimSafari:!0};for(var key in opts)hasOwnProperty.call(opts,key)&&(options[key]=opts[key]);var logging=utils.log,browserDetails=utils.detectBrowser(window),chromeShim=require(\"./chrome/chrome_shim\")||null,edgeShim=require(\"./edge/edge_shim\")||null,firefoxShim=require(\"./firefox/firefox_shim\")||null,safariShim=require(\"./safari/safari_shim\")||null,commonShim=require(\"./common_shim\")||null,adapter={browserDetails:browserDetails,commonShim:commonShim,extractVersion:utils.extractVersion,disableLog:utils.disableLog,disableWarnings:utils.disableWarnings};switch(browserDetails.browser){case\"chrome\":if(!chromeShim||!chromeShim.shimPeerConnection||!options.shimChrome)return logging(\"Chrome shim is not included in this adapter release.\"),adapter;logging(\"adapter.js shimming chrome.\"),adapter.browserShim=chromeShim,commonShim.shimCreateObjectURL(window),chromeShim.shimGetUserMedia(window),chromeShim.shimMediaStream(window),chromeShim.shimSourceObject(window),chromeShim.shimPeerConnection(window),chromeShim.shimOnTrack(window),chromeShim.shimAddTrackRemoveTrack(window),chromeShim.shimGetSendersWithDtmf(window),chromeShim.shimSenderReceiverGetStats(window),chromeShim.fixNegotiationNeeded(window),commonShim.shimRTCIceCandidate(window),commonShim.shimMaxMessageSize(window),commonShim.shimSendThrowTypeError(window);break;case\"firefox\":if(!firefoxShim||!firefoxShim.shimPeerConnection||!options.shimFirefox)return logging(\"Firefox shim is not included in this adapter release.\"),adapter;logging(\"adapter.js shimming firefox.\"),adapter.browserShim=firefoxShim,commonShim.shimCreateObjectURL(window),firefoxShim.shimGetUserMedia(window),firefoxShim.shimSourceObject(window),firefoxShim.shimPeerConnection(window),firefoxShim.shimOnTrack(window),firefoxShim.shimRemoveStream(window),firefoxShim.shimSenderGetStats(window),firefoxShim.shimReceiverGetStats(window),firefoxShim.shimRTCDataChannel(window),commonShim.shimRTCIceCandidate(window),commonShim.shimMaxMessageSize(window),commonShim.shimSendThrowTypeError(window);break;case\"edge\":if(!edgeShim||!edgeShim.shimPeerConnection||!options.shimEdge)return logging(\"MS edge shim is not included in this adapter release.\"),adapter;logging(\"adapter.js shimming edge.\"),adapter.browserShim=edgeShim,commonShim.shimCreateObjectURL(window),edgeShim.shimGetUserMedia(window),edgeShim.shimPeerConnection(window),edgeShim.shimReplaceTrack(window),edgeShim.shimGetDisplayMedia(window),commonShim.shimMaxMessageSize(window),commonShim.shimSendThrowTypeError(window);break;case\"safari\":if(!safariShim||!options.shimSafari)return logging(\"Safari shim is not included in this adapter release.\"),adapter;logging(\"adapter.js shimming safari.\"),adapter.browserShim=safariShim,commonShim.shimCreateObjectURL(window),safariShim.shimRTCIceServerUrls(window),safariShim.shimCreateOfferLegacy(window),safariShim.shimCallbacksAPI(window),safariShim.shimLocalStreamsAPI(window),safariShim.shimRemoteStreamsAPI(window),safariShim.shimTrackEventTransceiver(window),safariShim.shimGetUserMedia(window),commonShim.shimRTCIceCandidate(window),commonShim.shimMaxMessageSize(window),commonShim.shimSendThrowTypeError(window);break;default:logging(\"Unsupported browser!\")}return adapter}},{\"./chrome/chrome_shim\":13,\"./common_shim\":15,\"./edge/edge_shim\":16,\"./firefox/firefox_shim\":19,\"./safari/safari_shim\":21,\"./utils\":22}],13:[function(require,module,exports){\"use strict\";var utils=require(\"../utils.js\"),logging=utils.log;function filterStats(result,track,outbound){var streamStatsType=outbound?\"outbound-rtp\":\"inbound-rtp\",filteredResult=new Map;if(null===track)return filteredResult;var trackStats=[];return result.forEach(function(value){\"track\"===value.type&&value.trackIdentifier===track.id&&trackStats.push(value)}),trackStats.forEach(function(trackStat){result.forEach(function(stats){stats.type===streamStatsType&&stats.trackId===trackStat.id&&function walkStats(stats,base,resultSet){base&&!resultSet.has(base.id)&&(resultSet.set(base.id,base),Object.keys(base).forEach(function(name){name.endsWith(\"Id\")?walkStats(stats,stats.get(base[name]),resultSet):name.endsWith(\"Ids\")&&base[name].forEach(function(id){walkStats(stats,stats.get(id),resultSet)})}))}(result,stats,filteredResult)})}),filteredResult}module.exports={shimGetUserMedia:require(\"./getusermedia\"),shimMediaStream:function(window){window.MediaStream=window.MediaStream||window.webkitMediaStream},shimOnTrack:function(window){if(\"object\"!=typeof window||!window.RTCPeerConnection||\"ontrack\"in window.RTCPeerConnection.prototype)utils.wrapPeerConnectionEvent(window,\"track\",function(e){return e.transceiver||Object.defineProperty(e,\"transceiver\",{value:{receiver:e.receiver}}),e});else{Object.defineProperty(window.RTCPeerConnection.prototype,\"ontrack\",{get:function(){return this._ontrack},set:function(f){this._ontrack&&this.removeEventListener(\"track\",this._ontrack),this.addEventListener(\"track\",this._ontrack=f)},enumerable:!0,configurable:!0});var origSetRemoteDescription=window.RTCPeerConnection.prototype.setRemoteDescription;window.RTCPeerConnection.prototype.setRemoteDescription=function(){var pc=this;return pc._ontrackpoly||(pc._ontrackpoly=function(e){e.stream.addEventListener(\"addtrack\",function(te){var receiver;receiver=window.RTCPeerConnection.prototype.getReceivers?pc.getReceivers().find(function(r){return r.track&&r.track.id===te.track.id}):{track:te.track};var event=new Event(\"track\");event.track=te.track,event.receiver=receiver,event.transceiver={receiver:receiver},event.streams=[e.stream],pc.dispatchEvent(event)}),e.stream.getTracks().forEach(function(track){var receiver;receiver=window.RTCPeerConnection.prototype.getReceivers?pc.getReceivers().find(function(r){return r.track&&r.track.id===track.id}):{track:track};var event=new Event(\"track\");event.track=track,event.receiver=receiver,event.transceiver={receiver:receiver},event.streams=[e.stream],pc.dispatchEvent(event)})},pc.addEventListener(\"addstream\",pc._ontrackpoly)),origSetRemoteDescription.apply(pc,arguments)}}},shimGetSendersWithDtmf:function(window){if(\"object\"==typeof window&&window.RTCPeerConnection&&!(\"getSenders\"in window.RTCPeerConnection.prototype)&&\"createDTMFSender\"in window.RTCPeerConnection.prototype){var shimSenderWithDtmf=function(pc,track){return{track:track,get dtmf(){return void 0===this._dtmf&&(\"audio\"===track.kind?this._dtmf=pc.createDTMFSender(track):this._dtmf=null),this._dtmf},_pc:pc}};if(!window.RTCPeerConnection.prototype.getSenders){window.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};var origAddTrack=window.RTCPeerConnection.prototype.addTrack;window.RTCPeerConnection.prototype.addTrack=function(track,stream){var sender=origAddTrack.apply(this,arguments);return sender||(sender=shimSenderWithDtmf(this,track),this._senders.push(sender)),sender};var origRemoveTrack=window.RTCPeerConnection.prototype.removeTrack;window.RTCPeerConnection.prototype.removeTrack=function(sender){origRemoveTrack.apply(this,arguments);var idx=this._senders.indexOf(sender);-1!==idx&&this._senders.splice(idx,1)}}var origAddStream=window.RTCPeerConnection.prototype.addStream;window.RTCPeerConnection.prototype.addStream=function(stream){var pc=this;pc._senders=pc._senders||[],origAddStream.apply(pc,[stream]),stream.getTracks().forEach(function(track){pc._senders.push(shimSenderWithDtmf(pc,track))})};var origRemoveStream=window.RTCPeerConnection.prototype.removeStream;window.RTCPeerConnection.prototype.removeStream=function(stream){var pc=this;pc._senders=pc._senders||[],origRemoveStream.apply(pc,[stream]),stream.getTracks().forEach(function(track){var sender=pc._senders.find(function(s){return s.track===track});sender&&pc._senders.splice(pc._senders.indexOf(sender),1)})}}else if(\"object\"==typeof window&&window.RTCPeerConnection&&\"getSenders\"in window.RTCPeerConnection.prototype&&\"createDTMFSender\"in window.RTCPeerConnection.prototype&&window.RTCRtpSender&&!(\"dtmf\"in window.RTCRtpSender.prototype)){var origGetSenders=window.RTCPeerConnection.prototype.getSenders;window.RTCPeerConnection.prototype.getSenders=function(){var pc=this,senders=origGetSenders.apply(pc,[]);return senders.forEach(function(sender){sender._pc=pc}),senders},Object.defineProperty(window.RTCRtpSender.prototype,\"dtmf\",{get:function(){return void 0===this._dtmf&&(\"audio\"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}},shimSenderReceiverGetStats:function(window){if(\"object\"==typeof window&&window.RTCPeerConnection&&window.RTCRtpSender&&window.RTCRtpReceiver){if(!(\"getStats\"in window.RTCRtpSender.prototype)){var origGetSenders=window.RTCPeerConnection.prototype.getSenders;origGetSenders&&(window.RTCPeerConnection.prototype.getSenders=function(){var pc=this,senders=origGetSenders.apply(pc,[]);return senders.forEach(function(sender){sender._pc=pc}),senders});var origAddTrack=window.RTCPeerConnection.prototype.addTrack;origAddTrack&&(window.RTCPeerConnection.prototype.addTrack=function(){var sender=origAddTrack.apply(this,arguments);return sender._pc=this,sender}),window.RTCRtpSender.prototype.getStats=function(){var sender=this;return this._pc.getStats().then(function(result){return filterStats(result,sender.track,!0)})}}if(!(\"getStats\"in window.RTCRtpReceiver.prototype)){var origGetReceivers=window.RTCPeerConnection.prototype.getReceivers;origGetReceivers&&(window.RTCPeerConnection.prototype.getReceivers=function(){var pc=this,receivers=origGetReceivers.apply(pc,[]);return receivers.forEach(function(receiver){receiver._pc=pc}),receivers}),utils.wrapPeerConnectionEvent(window,\"track\",function(e){return e.receiver._pc=e.srcElement,e}),window.RTCRtpReceiver.prototype.getStats=function(){var receiver=this;return this._pc.getStats().then(function(result){return filterStats(result,receiver.track,!1)})}}if(\"getStats\"in window.RTCRtpSender.prototype&&\"getStats\"in window.RTCRtpReceiver.prototype){var origGetStats=window.RTCPeerConnection.prototype.getStats;window.RTCPeerConnection.prototype.getStats=function(){if(0pc.sctp.maxMessageSize)throw new TypeError(\"Message too large (can send a maximum of \"+pc.sctp.maxMessageSize+\" bytes)\");return origDataChannelSend.apply(dc,arguments)}}}}},{\"./utils\":22,sdp:5}],16:[function(require,module,exports){\"use strict\";var utils=require(\"../utils\"),filterIceServers=require(\"./filtericeservers\"),shimRTCPeerConnection=require(\"rtcpeerconnection-shim\");module.exports={shimGetUserMedia:require(\"./getusermedia\"),shimPeerConnection:function(window){var browserDetails=utils.detectBrowser(window);if(window.RTCIceGatherer&&(window.RTCIceCandidate||(window.RTCIceCandidate=function(args){return args}),window.RTCSessionDescription||(window.RTCSessionDescription=function(args){return args}),browserDetails.version<15025)){var origMSTEnabled=Object.getOwnPropertyDescriptor(window.MediaStreamTrack.prototype,\"enabled\");Object.defineProperty(window.MediaStreamTrack.prototype,\"enabled\",{set:function(value){origMSTEnabled.set.call(this,value);var ev=new Event(\"enabled\");ev.enabled=value,this.dispatchEvent(ev)}})}!window.RTCRtpSender||\"dtmf\"in window.RTCRtpSender.prototype||Object.defineProperty(window.RTCRtpSender.prototype,\"dtmf\",{get:function(){return void 0===this._dtmf&&(\"audio\"===this.track.kind?this._dtmf=new window.RTCDtmfSender(this):\"video\"===this.track.kind&&(this._dtmf=null)),this._dtmf}}),window.RTCDtmfSender&&!window.RTCDTMFSender&&(window.RTCDTMFSender=window.RTCDtmfSender);var RTCPeerConnectionShim=shimRTCPeerConnection(window,browserDetails.version);window.RTCPeerConnection=function(config){return config&&config.iceServers&&(config.iceServers=filterIceServers(config.iceServers)),new RTCPeerConnectionShim(config)},window.RTCPeerConnection.prototype=RTCPeerConnectionShim.prototype},shimReplaceTrack:function(window){!window.RTCRtpSender||\"replaceTrack\"in window.RTCRtpSender.prototype||(window.RTCRtpSender.prototype.replaceTrack=window.RTCRtpSender.prototype.setTrack)},shimGetDisplayMedia:function(window,preferredMediaSource){if(\"getDisplayMedia\"in window.navigator&&window.navigator.mediaDevices&&!(\"getDisplayMedia\"in window.navigator.mediaDevices)){var origGetDisplayMedia=window.navigator.getDisplayMedia;window.navigator.mediaDevices.getDisplayMedia=function(constraints){return origGetDisplayMedia.call(window.navigator,constraints)},window.navigator.getDisplayMedia=function(constraints){return utils.deprecated(\"navigator.getDisplayMedia\",\"navigator.mediaDevices.getDisplayMedia\"),origGetDisplayMedia.call(window.navigator,constraints)}}}}},{\"../utils\":22,\"./filtericeservers\":17,\"./getusermedia\":18,\"rtcpeerconnection-shim\":4}],17:[function(require,module,exports){\"use strict\";var utils=require(\"../utils\");module.exports=function(iceServers,edgeVersion){var hasTurn=!1;return(iceServers=JSON.parse(JSON.stringify(iceServers))).filter(function(server){if(server&&(server.urls||server.url)){var urls=server.urls||server.url;server.url&&!server.urls&&utils.deprecated(\"RTCIceServer.url\",\"RTCIceServer.urls\");var isString=\"string\"==typeof urls;return isString&&(urls=[urls]),urls=urls.filter(function(url){return 0===url.indexOf(\"turn:\")&&-1!==url.indexOf(\"transport=udp\")&&-1===url.indexOf(\"turn:[\")&&!hasTurn?hasTurn=!0:0===url.indexOf(\"stun:\")&&14393<=edgeVersion&&-1===url.indexOf(\"?transport=udp\")}),delete server.url,server.urls=isString?urls[0]:urls,!!urls.length}})}},{\"../utils\":22}],18:[function(require,module,exports){\"use strict\";module.exports=function(window){var navigator=window&&window.navigator,origGetUserMedia=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(c){return origGetUserMedia(c).catch(function(e){return Promise.reject(function(e){return{name:{PermissionDeniedError:\"NotAllowedError\"}[e.name]||e.name,message:e.message,constraint:e.constraint,toString:function(){return this.name}}}(e))})}}},{}],19:[function(require,module,exports){\"use strict\";var utils=require(\"../utils\");module.exports={shimGetUserMedia:require(\"./getusermedia\"),shimOnTrack:function(window){\"object\"!=typeof window||!window.RTCPeerConnection||\"ontrack\"in window.RTCPeerConnection.prototype||Object.defineProperty(window.RTCPeerConnection.prototype,\"ontrack\",{get:function(){return this._ontrack},set:function(f){this._ontrack&&(this.removeEventListener(\"track\",this._ontrack),this.removeEventListener(\"addstream\",this._ontrackpoly)),this.addEventListener(\"track\",this._ontrack=f),this.addEventListener(\"addstream\",this._ontrackpoly=function(e){e.stream.getTracks().forEach(function(track){var event=new Event(\"track\");event.track=track,event.receiver={track:track},event.transceiver={receiver:event.receiver},event.streams=[e.stream],this.dispatchEvent(event)}.bind(this))}.bind(this))},enumerable:!0,configurable:!0}),\"object\"==typeof window&&window.RTCTrackEvent&&\"receiver\"in window.RTCTrackEvent.prototype&&!(\"transceiver\"in window.RTCTrackEvent.prototype)&&Object.defineProperty(window.RTCTrackEvent.prototype,\"transceiver\",{get:function(){return{receiver:this.receiver}}})},shimSourceObject:function(window){\"object\"==typeof window&&(!window.HTMLMediaElement||\"srcObject\"in window.HTMLMediaElement.prototype||Object.defineProperty(window.HTMLMediaElement.prototype,\"srcObject\",{get:function(){return this.mozSrcObject},set:function(stream){this.mozSrcObject=stream}}))},shimPeerConnection:function(window){var browserDetails=utils.detectBrowser(window);if(\"object\"==typeof window&&(window.RTCPeerConnection||window.mozRTCPeerConnection)){window.RTCPeerConnection||(window.RTCPeerConnection=function(pcConfig,pcConstraints){if(browserDetails.version<38&&pcConfig&&pcConfig.iceServers){for(var newIceServers=[],i=0;i=pos&&parseInt(match[pos],10)}module.exports={extractVersion:extractVersion,wrapPeerConnectionEvent:function(window,eventNameToWrap,wrapper){if(window.RTCPeerConnection){var proto=window.RTCPeerConnection.prototype,nativeAddEventListener=proto.addEventListener;proto.addEventListener=function(nativeEventName,cb){if(nativeEventName!==eventNameToWrap)return nativeAddEventListener.apply(this,arguments);var wrappedCallback=function(e){var modifiedEvent=wrapper(e);modifiedEvent&&cb(modifiedEvent)};return this._eventMap=this._eventMap||{},this._eventMap[cb]=wrappedCallback,nativeAddEventListener.apply(this,[nativeEventName,wrappedCallback])};var nativeRemoveEventListener=proto.removeEventListener;proto.removeEventListener=function(nativeEventName,cb){if(nativeEventName!==eventNameToWrap||!this._eventMap||!this._eventMap[cb])return nativeRemoveEventListener.apply(this,arguments);var unwrappedCb=this._eventMap[cb];return delete this._eventMap[cb],nativeRemoveEventListener.apply(this,[nativeEventName,unwrappedCb])},Object.defineProperty(proto,\"on\"+eventNameToWrap,{get:function(){return this[\"_on\"+eventNameToWrap]},set:function(cb){this[\"_on\"+eventNameToWrap]&&(this.removeEventListener(eventNameToWrap,this[\"_on\"+eventNameToWrap]),delete this[\"_on\"+eventNameToWrap]),cb&&this.addEventListener(eventNameToWrap,this[\"_on\"+eventNameToWrap]=cb)},enumerable:!0,configurable:!0})}},disableLog:function(bool){return\"boolean\"!=typeof bool?new Error(\"Argument type: \"+typeof bool+\". Please use a boolean.\"):(logDisabled_=bool)?\"adapter.js logging disabled\":\"adapter.js logging enabled\"},disableWarnings:function(bool){return\"boolean\"!=typeof bool?new Error(\"Argument type: \"+typeof bool+\". Please use a boolean.\"):(deprecationWarnings_=!bool,\"adapter.js deprecation warnings \"+(bool?\"disabled\":\"enabled\"))},log:function(){if(\"object\"==typeof window){if(logDisabled_)return;\"undefined\"!=typeof console&&\"function\"==typeof console.log&&console.log.apply(console,arguments)}},deprecated:function(oldMethod,newMethod){deprecationWarnings_&&console.warn(oldMethod+\" is deprecated, please use \"+newMethod+\" instead.\")},detectBrowser:function(window){var navigator=window&&window.navigator,result={browser:null,version:null};if(void 0===window||!window.navigator)return result.browser=\"Not a browser.\",result;if(navigator.mozGetUserMedia)result.browser=\"firefox\",result.version=extractVersion(navigator.userAgent,/Firefox\\/(\\d+)\\./,1);else if(navigator.webkitGetUserMedia)result.browser=\"chrome\",result.version=extractVersion(navigator.userAgent,/Chrom(e|ium)\\/(\\d+)\\./,2);else if(navigator.mediaDevices&&navigator.userAgent.match(/Edge\\/(\\d+).(\\d+)$/))result.browser=\"edge\",result.version=extractVersion(navigator.userAgent,/Edge\\/(\\d+).(\\d+)$/,2);else{if(!window.RTCPeerConnection||!navigator.userAgent.match(/AppleWebKit\\/(\\d+)\\./))return result.browser=\"Not a supported browser.\",result;result.browser=\"safari\",result.version=extractVersion(navigator.userAgent,/AppleWebKit\\/(\\d+)\\./,1)}return result}}},{}],23:[function(require,module,exports){var _0x56e2ba,_0x54ffbb,_0x8674=[\"feedDecoder\",\"postMessage\",\"now\",\"getBufferTimeLength\",\"Unknown request\",\"bind\",\"audioChunkLength\",\"context\",\"sampleRate\",\"videoWidth\",\"videoHeight\",\"token\",\"dropDelayMultiplier\",\"Failed to init stream receiver \",\"videoDecoder\",\"decoderPath\",\"onmessage\",\"No timestamp available for decoded picture, discarding\",\"shift\",\"STOPPED\",\"audioBuffer\",\"sync\",\"start\",\"setVolume\",\"requestVideoFrameCallback\",\"Failed to init video decoder \",\"fps\",\"framesRendered\",\"noDataSince\",\"prototype\",\"receivedIframe\",\"lastPlayedVideoTime\",\"kframe\",\"decode\",\"payload\",\"play\",\"stream\",\"STARTUP\",\"playFirstSound\",\"createBuffer\",\"getChannelData\",\"random\",\"createBufferSource\",\"buffer\",\"connect\",\"destination\",\"mute\",\"PAUSED\",\"unmute\",\"resume\",\"getVolume\",\"lastFpsTime\",\"lastPlayedVideoTimestamp\",\"log\",\"trace\",\"requestVideoFrameCallback, audio player time \",\" callback timestamp \",\"render\",\"playing\",\"dispatchEvent\",\"riseApiEvent\",\"lastEventRised\",\"PLAYBACK_PROBLEM\",\"logToCanvas\",\"ctx2D\",\"height\",\"fillStyle\",\"black\",\"font\",\"textAlign\",\"center\",\"width\",\"40pt\",\"fillText\",\"initLogger\",\"verbosity\",\"console\",\"apply\",\"warn\",\"wsLogger\",\"debug\",\"renderFunction\",\"force2D\",\"YTexture\",\"CBTexture\",\"CRTexture\",\"RGBTexture\",\"rgbaBuffer\",\"mbWidth\",\"codedWidth\",\"halfWidth\",\"precision mediump float;\",\"uniform sampler2D CBTexture;\",\"void main() {\",\"float y = texture2D(YTexture, texCoord).r;\",\"float cb = texture2D(CBTexture, texCoord).r - 0.5;\",\"gl_FragColor = vec4(\",\"y + -0.343 * cb - 0.711 * cr,\",\"1.0\",\"join\",\"attribute vec2 vertex;\",\"varying vec2 texCoord;\",\"texCoord = vertex;\",\"gl_Position = vec4((vertex * 2.0 - 1.0) * vec2(1, -1), 0.0, 1.0);\",\"SHADER_VERTEX_IDENTITY_RGBA\",\"varying vec2 tc;\",\"void main(){\",\"gl_Position = vertex;\",\"SHADER_FRAGMENT_RGBA\",\"uniform sampler2D RGBTexture;\",\"gl_FragColor = texture2D(RGBTexture, tc);\",\"getContext\",\"experimental-webgl\",\"inputFormat\",\"rgba\",\"initWebGLRGB\",\"initWebGLYUV\",\"renderFrame2D\",\"bindBuffer\",\"ARRAY_BUFFER\",\"bufferData\",\"STATIC_DRAW\",\"program\",\"attachShader\",\"compileShader\",\"SHADER_VERTEX_IDENTITY_YUV\",\"FRAGMENT_SHADER\",\"SHADER_FRAGMENT_YCBCRTORGBA\",\"linkProgram\",\"getProgramParameter\",\"Failed to init WebGL! Message \",\"getProgramInfoLog\",\"useProgram\",\"createTexture\",\"getAttribLocation\",\"vertex\",\"enableVertexAttribArray\",\"vertexAttribPointer\",\"createProgram\",\"bindAttribLocation\",\"FLOAT\",\"renderFrameGLRGB\",\"undefined\",\"createImageData\",\"putImageData\",\"clear\",\"COLOR_BUFFER_BIT\",\"DEPTH_BUFFER_BIT\",\"TEXTURE_2D\",\"texParameteri\",\"TEXTURE_MAG_FILTER\",\"LINEAR\",\"TEXTURE_MIN_FILTER\",\"CLAMP_TO_EDGE\",\"TEXTURE_WRAP_T\",\"getUniformLocation\",\"createShader\",\"getShaderParameter\",\"COMPILE_STATUS\",\"getShaderInfoLog\",\"isUsingWebGL\",\"activeTexture\",\"bindTexture\",\"texImage2D\",\"LUMINANCE\",\"UNSIGNED_BYTE\",\"TEXTURE1\",\"TEXTURE2\",\"drawArrays\",\"TRIANGLE_STRIP\",\"TEXTURE0\",\"RGBA\",\"TRIANGLES\",\"type\",\"YCbCrToRGBA\",\"set\",\"Changing canvas resolution from \",\" to \",\"lastTimeRendered\",\"getLastTimeRendered\",\"nodeConnected\",\"gainNode\",\"createGain\",\"abs\",\"Audio node buffer size \",\"internalBufferSize\",\"createScriptProcessor\",\"audioJSNode\",\"previousSync\",\"lastSync\",\"lastSyncTime\",\"playbackTime\",\"value\",\"disconnect\",\"resetBuffers\",\"playAudio\",\"getBufferLength\",\"currentTime\",\"audioChunkTimeLength\",\"No audio! \",\"previousSyncTime\",\"Audio player mute\",\"gain\",\"Audio player resume\",\"setTimeout\",\"state\",\"initialized\",\"init\",\"canvas\",\"api\",\"configuration\",\"initBuffers\",\"initialVolume\",\"audioPlayer\",\"error\",\"Failed to init audio player \",\"yuv\",\"videoRenderer\",\"Failed to init video renderer \",\"receiver\",\"terminate\",\"receiverPath\",\"addEventListener\",\"message\",\"data\",\"status\",\"failed\",\"closed\",\"stop\",\"AVData\",\"audioLength\",\"audioReceived\",\"audio\",\"length\",\"videoLength\",\"Received video, frames:\",\"videoReceived\",\"video\",\"videoBuffer\",\"push\",\"videoFrameTimeLength\",\"getCurrentSync\",\"PLAYING\",\"muted\",\"decodedVideoBuffer\",\"tsVideoWaitingList\"];_0x56e2ba=_0x8674,_0x54ffbb=450,function(_0x5bd6fa){for(;--_0x5bd6fa;)_0x56e2ba.push(_0x56e2ba.shift())}(++_0x54ffbb);var _0x162a=function(_0x289e5c,_0x18e4c1){return _0x8674[_0x289e5c-=0]},requestAnimFrame=function(_0x452c50){window[_0x162a(\"0x0\")](_0x452c50,1e3/30)};function WSPlayer(){this[_0x162a(\"0x1\")]=WSPlayerState.STOPPED,this[_0x162a(\"0x2\")]=!1}WSPlayer.prototype[_0x162a(\"0x3\")]=function(_0x566b31,_0x2633b5,_0x439354){this.canvas=_0x566b31[_0x162a(\"0x4\")],this[_0x162a(\"0x5\")]=_0x566b31[_0x162a(\"0x5\")],this[_0x162a(\"0x6\")]=_0x566b31,this[_0x162a(\"0x7\")](),this[_0x162a(\"0x8\")]=-1;try{this[_0x162a(\"0x9\")]=new AudioPlayer(_0x2633b5)}catch(_0x388ad2){return void wsLogger[_0x162a(\"0xa\")](_0x162a(\"0xb\")+_0x388ad2)}try{this.videoRenderer=new VideoRenderer(this[_0x162a(\"0x4\")],!1,_0x162a(\"0xc\")),this[_0x162a(\"0xd\")].init()}catch(_0x4a3ba3){return void wsLogger.error(_0x162a(\"0xe\")+_0x4a3ba3)}if(!_0x439354)try{this[_0x162a(\"0xf\")]&&this[_0x162a(\"0xf\")][_0x162a(\"0x10\")](),this[_0x162a(\"0xf\")]=new Worker(_0x566b31[_0x162a(\"0x11\")]),this.receiver[_0x162a(\"0x12\")](_0x162a(\"0x13\"),function(_0xd32be3){switch(_0xd32be3[_0x162a(\"0x14\")][_0x162a(\"0x13\")]){case\"connection\":_0xd32be3[_0x162a(\"0x14\")][_0x162a(\"0x15\")]!=_0x162a(\"0x16\")&&_0xd32be3[_0x162a(\"0x14\")][_0x162a(\"0x15\")]!=_0x162a(\"0x17\")||(this[_0x162a(\"0x18\")](),this[_0x162a(\"0x2\")]=!1);break;case _0x162a(\"0x19\"):var _0x223990;if(0<_0xd32be3[_0x162a(\"0x14\")][_0x162a(\"0x1a\")])for(this[_0x162a(\"0x1b\")]=!0,_0x223990=0;_0x223990<_0xd32be3[_0x162a(\"0x14\")][_0x162a(\"0x1c\")][_0x162a(\"0x1d\")];_0x223990++)this[_0x162a(\"0x9\")].playAudio(_0xd32be3.data.audio[_0x223990]);if(0<_0xd32be3[_0x162a(\"0x14\")][_0x162a(\"0x1e\")]){for(wsLogger.debug(_0x162a(\"0x1f\")+_0xd32be3[_0x162a(\"0x14\")].videoLength),this[_0x162a(\"0x20\")]=!0,_0x223990=0;_0x223990<_0xd32be3[_0x162a(\"0x14\")][_0x162a(\"0x21\")][_0x162a(\"0x1d\")];_0x223990++)this[_0x162a(\"0x22\")][_0x162a(\"0x23\")](_0xd32be3[_0x162a(\"0x14\")].video[_0x223990]);this[_0x162a(\"0x24\")]=_0xd32be3[_0x162a(\"0x14\")][_0x162a(\"0x1e\")]/_0xd32be3.data.video[_0x162a(\"0x1d\")]}var _0x3677b1=this[_0x162a(\"0x9\")][_0x162a(\"0x25\")]();if(0this.decodedVideoBuffer[0].sync&&(this[_0x162a(\"0x28\")][0]=null,this[_0x162a(\"0x28\")].shift()),this[_0x162a(\"0x2a\")]()):(this[_0x162a(\"0x1\")]=WSPlayerState.PLAYING,this.audioPlayer[_0x162a(\"0x40\")](),-1!=this[_0x162a(\"0x8\")]&&(this[_0x162a(\"0x41\")](this[_0x162a(\"0x8\")]),this[_0x162a(\"0x8\")]=-1),requestAnimFrame(this[_0x162a(\"0x42\")].bind(this))):this[_0x162a(\"0x29\")][_0x162a(\"0x1d\")]<2&&this.feedDecoder()):wsLogger.warn(_0x162a(\"0x3b\"))}[_0x162a(\"0x2f\")](this),this[_0x162a(\"0x38\")][_0x162a(\"0x2b\")]({message:\"init\",width:_0x566b31[_0x162a(\"0x33\")],height:_0x566b31[_0x162a(\"0x34\")],outputGl:!0})}catch(_0x5236ab){return void wsLogger[_0x162a(\"0xa\")](_0x162a(\"0x43\")+_0x5236ab)}this[_0x162a(\"0x44\")]=0,this.lastFpsTime=0,this[_0x162a(\"0x45\")]=0,this.noDataFlag=!1,this[_0x162a(\"0x46\")]=0,this.initialized=!0},WSPlayer[_0x162a(\"0x47\")][_0x162a(\"0x7\")]=function(){this[_0x162a(\"0x1b\")]=!1,this[_0x162a(\"0x20\")]=!1,this[_0x162a(\"0x22\")]?this[_0x162a(\"0x22\")][_0x162a(\"0x1d\")]=0:this[_0x162a(\"0x22\")]=[],this.tsVideoWaitingList?this[_0x162a(\"0x29\")][_0x162a(\"0x1d\")]=0:this[_0x162a(\"0x29\")]=[],this.decodedVideoBuffer?this[_0x162a(\"0x28\")].length=0:this[_0x162a(\"0x28\")]=[],this[_0x162a(\"0x48\")]=!1,this[_0x162a(\"0x49\")]=0,this.lastPlayedVideoTimestamp=0},WSPlayer.prototype[_0x162a(\"0x2a\")]=function(){if(0>4,this[_0x162a(\"0x83\")]=this.mbWidth<<4,this[_0x162a(\"0x84\")]=this[_0x162a(\"0x82\")]<<3,_0xe37a89=typeof Uint8ClampedArray!==_0x162a(\"0xb8\")?Uint8ClampedArray:Uint8Array,this.ctx2D){this[_0x162a(\"0x81\")]=new _0xe37a89(this.canvas.width*this.canvas.height*4);for(var _0x46edaf=0,_0x9090eb=this[_0x162a(\"0x81\")][_0x162a(\"0x1d\")];_0x46edaf<_0x9090eb;_0x46edaf++)this[_0x162a(\"0x81\")][_0x46edaf]=255}else this.gl&&this.gl.viewport(0,0,this[_0x162a(\"0x71\")],this.height)},VideoRenderer[_0x162a(\"0x47\")][_0x162a(\"0x18\")]=function(){if(this[_0x162a(\"0x6a\")]){var _0x2083e7=this[_0x162a(\"0x6a\")][_0x162a(\"0xb9\")](this[_0x162a(\"0x71\")],this[_0x162a(\"0x6b\")]);this.ctx2D[_0x162a(\"0xba\")](_0x2083e7,0,0)}else this.gl&&this.gl[_0x162a(\"0xbb\")](this.gl[_0x162a(\"0xbc\")]|this.gl[_0x162a(\"0xbd\")])},VideoRenderer[_0x162a(\"0x47\")][_0x162a(\"0xaf\")]=function(_0x10fdad,_0x34889c){var _0x6b3e76=this.gl,_0x18fcea=_0x6b3e76[_0x162a(\"0xaf\")]();return _0x6b3e76.bindTexture(_0x6b3e76[_0x162a(\"0xbe\")],_0x18fcea),_0x6b3e76[_0x162a(\"0xbf\")](_0x6b3e76[_0x162a(\"0xbe\")],_0x6b3e76[_0x162a(\"0xc0\")],_0x6b3e76[_0x162a(\"0xc1\")]),_0x6b3e76.texParameteri(_0x6b3e76[_0x162a(\"0xbe\")],_0x6b3e76[_0x162a(\"0xc2\")],_0x6b3e76[_0x162a(\"0xc1\")]),_0x6b3e76[_0x162a(\"0xbf\")](_0x6b3e76[_0x162a(\"0xbe\")],_0x6b3e76.TEXTURE_WRAP_S,_0x6b3e76[_0x162a(\"0xc3\")]),_0x6b3e76[_0x162a(\"0xbf\")](_0x6b3e76.TEXTURE_2D,_0x6b3e76[_0x162a(\"0xc4\")],_0x6b3e76[_0x162a(\"0xc3\")]),_0x6b3e76.uniform1i(_0x6b3e76[_0x162a(\"0xc5\")](this.program,_0x34889c),_0x10fdad),_0x18fcea},VideoRenderer.prototype.compileShader=function(_0x41c03b,_0x5f4578){var _0x4f8efd=this.gl,_0x57e0eb=_0x4f8efd[_0x162a(\"0xc6\")](_0x41c03b);if(_0x4f8efd.shaderSource(_0x57e0eb,_0x5f4578),_0x4f8efd[_0x162a(\"0xa6\")](_0x57e0eb),!_0x4f8efd[_0x162a(\"0xc7\")](_0x57e0eb,_0x4f8efd[_0x162a(\"0xc8\")]))throw new Error(_0x4f8efd[_0x162a(\"0xc9\")](_0x57e0eb));return _0x57e0eb},VideoRenderer[_0x162a(\"0x47\")][_0x162a(\"0xca\")]=function(){return!(null===this.gl&&void 0===this.gl||null!=this.ctx2D&&null!=this[_0x162a(\"0x6a\")])},VideoRenderer[_0x162a(\"0x47\")].renderFrameGLYUV=function(_0x24528e){var _0x5c538d=this.gl;_0x5c538d[_0x162a(\"0xcb\")](_0x5c538d.TEXTURE0),_0x5c538d[_0x162a(\"0xcc\")](_0x5c538d[_0x162a(\"0xbe\")],this[_0x162a(\"0x7d\")]),_0x5c538d[_0x162a(\"0xcd\")](_0x5c538d[_0x162a(\"0xbe\")],0,_0x5c538d[_0x162a(\"0xce\")],this[_0x162a(\"0x83\")],this[_0x162a(\"0x6b\")],0,_0x5c538d[_0x162a(\"0xce\")],_0x5c538d[_0x162a(\"0xcf\")],_0x24528e.y),_0x5c538d[_0x162a(\"0xcb\")](_0x5c538d[_0x162a(\"0xd0\")]),_0x5c538d.bindTexture(_0x5c538d[_0x162a(\"0xbe\")],this.CRTexture),_0x5c538d[_0x162a(\"0xcd\")](_0x5c538d.TEXTURE_2D,0,_0x5c538d[_0x162a(\"0xce\")],this[_0x162a(\"0x84\")],this[_0x162a(\"0x6b\")]/2,0,_0x5c538d[_0x162a(\"0xce\")],_0x5c538d[_0x162a(\"0xcf\")],_0x24528e.cr),_0x5c538d[_0x162a(\"0xcb\")](_0x5c538d[_0x162a(\"0xd1\")]),_0x5c538d[_0x162a(\"0xcc\")](_0x5c538d.TEXTURE_2D,this[_0x162a(\"0x7e\")]),_0x5c538d[_0x162a(\"0xcd\")](_0x5c538d[_0x162a(\"0xbe\")],0,_0x5c538d.LUMINANCE,this[_0x162a(\"0x84\")],this.height/2,0,_0x5c538d[_0x162a(\"0xce\")],_0x5c538d[_0x162a(\"0xcf\")],_0x24528e.cb),_0x5c538d[_0x162a(\"0xd2\")](_0x5c538d[_0x162a(\"0xd3\")],0,4)},VideoRenderer.prototype[_0x162a(\"0xb7\")]=function(_0x5982ea){var _0x36021f=this.gl;_0x36021f[_0x162a(\"0xcb\")](_0x36021f[_0x162a(\"0xd4\")]),_0x36021f.bindTexture(_0x36021f[_0x162a(\"0xbe\")],this.RGBTexture),_0x36021f[_0x162a(\"0xcd\")](_0x36021f.TEXTURE_2D,0,_0x36021f[_0x162a(\"0xd5\")],_0x5982ea[_0x162a(\"0x71\")],_0x5982ea.height,0,_0x36021f[_0x162a(\"0xd5\")],_0x36021f.UNSIGNED_BYTE,_0x5982ea[_0x162a(\"0x14\")]),_0x36021f[_0x162a(\"0xd2\")](_0x36021f[_0x162a(\"0xd6\")],0,6)},VideoRenderer[_0x162a(\"0x47\")].renderFrame2D=function(_0x4d5a01){var _0x84c411=this[_0x162a(\"0x6a\")][_0x162a(\"0xb9\")](_0x4d5a01.width,_0x4d5a01[_0x162a(\"0x6b\")]);_0x4d5a01[_0x162a(\"0xd7\")]==_0x162a(\"0xc\")?(this[_0x162a(\"0xd8\")](_0x4d5a01),_0x84c411.data[_0x162a(\"0xd9\")](this[_0x162a(\"0x81\")])):_0x84c411[_0x162a(\"0x14\")].set(_0x4d5a01[_0x162a(\"0x14\")]),this[_0x162a(\"0x6a\")][_0x162a(\"0xba\")](_0x84c411,0,0)},VideoRenderer[_0x162a(\"0x47\")].render=function(_0x467dad){if(!this[_0x162a(\"0x27\")]){if(this[_0x162a(\"0x4\")][_0x162a(\"0x71\")]!=_0x467dad.width||this[_0x162a(\"0x4\")][_0x162a(\"0x6b\")]!=_0x467dad[_0x162a(\"0x6b\")]){wsLogger[_0x162a(\"0x5f\")](_0x162a(\"0xda\")+this[_0x162a(\"0x4\")][_0x162a(\"0x71\")]+\"x\"+this[_0x162a(\"0x4\")].height+_0x162a(\"0xdb\")+_0x467dad[_0x162a(\"0x71\")]+\"x\"+_0x467dad[_0x162a(\"0x6b\")]),this[_0x162a(\"0x4\")].width=_0x467dad[_0x162a(\"0x71\")],this[_0x162a(\"0x4\")][_0x162a(\"0x6b\")]=_0x467dad[_0x162a(\"0x6b\")];var _0x44e234=new Event(\"resize\");this[_0x162a(\"0x4\")][_0x162a(\"0x65\")](_0x44e234),this[_0x162a(\"0x7\")]()}this[_0x162a(\"0x7b\")](_0x467dad)}this[_0x162a(\"0xdc\")]=Date[_0x162a(\"0x2c\")]()},VideoRenderer[_0x162a(\"0x47\")].YCbCrToRGBA=function(_0x3a6afc){for(var _0x356f54,_0x42843a,_0x402f62,_0x1fe8a6,_0xb3c8fd,_0x2d188b=_0x3a6afc.y,_0x31895c=_0x3a6afc.cb,_0x1a9970=_0x3a6afc.cr,_0x410b7d=this[_0x162a(\"0x81\")],_0x599197=0,_0x7186b7=this[_0x162a(\"0x83\")],_0xfec764=this.codedWidth+(this[_0x162a(\"0x83\")]-_0x3a6afc[_0x162a(\"0x71\")]),_0x48cdb2=0,_0x5adcf1=this[_0x162a(\"0x84\")]-(_0x3a6afc.width>>1),_0x1efcdf=0,_0x306a15=4*_0x3a6afc[_0x162a(\"0x71\")],_0x5b89c9=4*_0x3a6afc[_0x162a(\"0x71\")],_0x83a94e=_0x3a6afc[_0x162a(\"0x71\")]>>1,_0x46e569=_0x3a6afc[_0x162a(\"0x6b\")]>>1,_0x4574e3=0;_0x4574e3<_0x46e569;_0x4574e3++){for(var _0x33b5b4=0;_0x33b5b4<_0x83a94e;_0x33b5b4++){_0x356f54=_0x31895c[_0x48cdb2],_0x42843a=_0x1a9970[_0x48cdb2],_0x48cdb2++,_0x402f62=_0x42843a+(103*_0x42843a>>8)-179,_0x1fe8a6=(88*_0x356f54>>8)-44+(183*_0x42843a>>8)-91,_0xb3c8fd=_0x356f54+(198*_0x356f54>>8)-227;var _0xba7424=_0x2d188b[_0x599197++],_0x5ab42c=_0x2d188b[_0x599197++];_0x410b7d[_0x1efcdf]=_0xba7424+_0x402f62,_0x410b7d[_0x1efcdf+1]=_0xba7424-_0x1fe8a6,_0x410b7d[_0x1efcdf+2]=_0xba7424+_0xb3c8fd,_0x410b7d[_0x1efcdf+4]=_0x5ab42c+_0x402f62,_0x410b7d[_0x1efcdf+5]=_0x5ab42c-_0x1fe8a6,_0x410b7d[_0x1efcdf+6]=_0x5ab42c+_0xb3c8fd,_0x1efcdf+=8;var _0x2dbbbe=_0x2d188b[_0x7186b7++],_0x1e85ab=_0x2d188b[_0x7186b7++];_0x410b7d[_0x306a15]=_0x2dbbbe+_0x402f62,_0x410b7d[_0x306a15+1]=_0x2dbbbe-_0x1fe8a6,_0x410b7d[_0x306a15+2]=_0x2dbbbe+_0xb3c8fd,_0x410b7d[_0x306a15+4]=_0x1e85ab+_0x402f62,_0x410b7d[_0x306a15+5]=_0x1e85ab-_0x1fe8a6,_0x410b7d[_0x306a15+6]=_0x1e85ab+_0xb3c8fd,_0x306a15+=8}_0x599197+=_0xfec764,_0x7186b7+=_0xfec764,_0x1efcdf+=_0x5b89c9,_0x306a15+=_0x5b89c9,_0x48cdb2+=_0x5adcf1}},VideoRenderer.prototype[_0x162a(\"0xdd\")]=function(){return this.lastTimeRendered},VideoRenderer[_0x162a(\"0x47\")][_0x162a(\"0x58\")]=function(_0x282d57){_0x282d57?this.muted=!0:this[_0x162a(\"0x27\")]=!1},AudioPlayer[_0x162a(\"0x47\")][_0x162a(\"0x40\")]=function(){this[_0x162a(\"0xde\")]||(this.audioJSNode[_0x162a(\"0x56\")](this.gainNode),this[_0x162a(\"0xde\")]=!0),this[_0x162a(\"0x58\")](!1)},AudioPlayer[_0x162a(\"0x47\")].stop=function(){this.audioJSNode[_0x162a(\"0xeb\")](),this[_0x162a(\"0xde\")]=!1,this[_0x162a(\"0xe7\")]=void 0,this[_0x162a(\"0xe8\")]=void 0,this[_0x162a(\"0x3e\")]=[],this.mute(!0)},AudioPlayer[_0x162a(\"0x47\")][_0x162a(\"0x7\")]=function(){this[_0x162a(\"0x3e\")]?this[_0x162a(\"0x3e\")].length=0:this[_0x162a(\"0x3e\")]=[]},AudioPlayer[_0x162a(\"0x47\")][_0x162a(\"0xec\")]=function(){this.initBuffers()},AudioPlayer[_0x162a(\"0x47\")][_0x162a(\"0xed\")]=function(_0x554ebf){this.audioBuffer[_0x162a(\"0x23\")](_0x554ebf)},AudioPlayer[_0x162a(\"0x47\")][_0x162a(\"0xee\")]=function(){return this[_0x162a(\"0x3e\")].length},AudioPlayer[_0x162a(\"0x47\")][_0x162a(\"0x25\")]=function(){if(this[_0x162a(\"0xe7\")]&&this.lastSyncTime){var _0x21f724=1e3*this[_0x162a(\"0x31\")][_0x162a(\"0xef\")];return _0x21f724>=this[_0x162a(\"0xe8\")]?_0x21f724-this[_0x162a(\"0xe8\")]>this[_0x162a(\"0xf0\")]?(wsLogger[_0x162a(\"0x7a\")](_0x162a(\"0xf1\")+(_0x21f724-this[_0x162a(\"0xf0\")]-this[_0x162a(\"0xe8\")])),this.lastSync+this[_0x162a(\"0xf0\")]):_0x21f724-this[_0x162a(\"0xe8\")]+this.lastSync:_0x21f724-this[_0x162a(\"0xf2\")]+this[_0x162a(\"0xe6\")]}return-1},AudioPlayer[_0x162a(\"0x47\")][_0x162a(\"0x2d\")]=function(){var _0x4d5368=1e3*this[_0x162a(\"0x31\")][_0x162a(\"0xef\")]-this[_0x162a(\"0xe8\")],_0xd6ff56=this[_0x162a(\"0xf0\")]-_0x4d5368;return 0<_0xd6ff56?this.audioChunkTimeLength*this[_0x162a(\"0x3e\")].length+_0xd6ff56:this[_0x162a(\"0xf0\")]*this.audioBuffer[_0x162a(\"0x1d\")]},AudioPlayer[_0x162a(\"0x47\")].getLastTimePlayed=function(){return this[_0x162a(\"0xe8\")]},AudioPlayer.prototype[_0x162a(\"0x58\")]=function(_0x197c70){_0x197c70?(wsLogger[_0x162a(\"0x5f\")](_0x162a(\"0xf3\")),this.gainNode[_0x162a(\"0xf4\")].value=0):(wsLogger.log(_0x162a(\"0xf5\")),this[_0x162a(\"0xdf\")][_0x162a(\"0xf4\")][_0x162a(\"0xea\")]=1)},AudioPlayer.prototype[_0x162a(\"0x41\")]=function(_0x36b36f){this[_0x162a(\"0xdf\")][_0x162a(\"0xf4\")][_0x162a(\"0xea\")]=_0x36b36f/100},AudioPlayer.prototype[_0x162a(\"0x5c\")]=function(){return 100*this.gainNode[_0x162a(\"0xf4\")][_0x162a(\"0xea\")]};var WSPlayerState=function(){};WSPlayerState[_0x162a(\"0x3d\")]=_0x162a(\"0x3d\"),WSPlayerState[_0x162a(\"0x26\")]=\"PLAYING\",WSPlayerState[_0x162a(\"0x59\")]=\"PAUSED\",WSPlayerState.STARTUP=\"STARTUP\",exports.WSPlayer=WSPlayer},{}],24:[function(require,module,exports){\"use strict\";var sessionStatus={};define(sessionStatus,\"CONNECTED\",\"CONNECTED\"),define(sessionStatus,\"ESTABLISHED\",\"ESTABLISHED\"),define(sessionStatus,\"DISCONNECTED\",\"DISCONNECTED\"),define(sessionStatus,\"WARN\",\"WARN\"),define(sessionStatus,\"FAILED\",\"FAILED\"),define(sessionStatus,\"DEBUG\",\"DEBUG\"),define(sessionStatus,\"APP_DATA\",\"APP_DATA\"),define(sessionStatus,\"SEND_DATA_STATUS\",\"SEND_DATA_STATUS\"),define(sessionStatus,\"PENDING\",\"PENDING\"),define(sessionStatus,\"REGISTERED\",\"REGISTERED\"),define(sessionStatus,\"UNREGISTERED\",\"UNREGISTERED\"),define(sessionStatus,\"INCOMING_CALL\",\"INCOMING_CALL\");var streamStatus={};define(streamStatus,\"NEW\",\"NEW\"),define(streamStatus,\"PENDING\",\"PENDING\"),define(streamStatus,\"PUBLISHING\",\"PUBLISHING\"),define(streamStatus,\"PLAYING\",\"PLAYING\"),define(streamStatus,\"PAUSED\",\"PAUSED\"),define(streamStatus,\"UNPUBLISHED\",\"UNPUBLISHED\"),define(streamStatus,\"STOPPED\",\"STOPPED\"),define(streamStatus,\"FAILED\",\"FAILED\"),define(streamStatus,\"PLAYBACK_PROBLEM\",\"PLAYBACK_PROBLEM\"),define(streamStatus,\"RESIZE\",\"RESIZE\"),define(streamStatus,\"SNAPSHOT_COMPLETE\",\"SNAPSHOT_COMPLETE\"),define(streamStatus,\"NOT_ENOUGH_BANDWIDTH\",\"NOT_ENOUGH_BANDWIDTH\");var callStatus={};define(callStatus,\"NEW\",\"NEW\"),define(callStatus,\"RING\",\"RING\"),define(callStatus,\"RING_MEDIA\",\"RING_MEDIA\"),define(callStatus,\"HOLD\",\"HOLD\"),define(callStatus,\"ESTABLISHED\",\"ESTABLISHED\"),define(callStatus,\"FINISH\",\"FINISH\"),define(callStatus,\"BUSY\",\"BUSY\"),define(callStatus,\"SESSION_PROGRESS\",\"SESSION_PROGRESS\"),define(callStatus,\"FAILED\",\"FAILED\"),define(callStatus,\"PENDING\",\"PENDING\"),define(callStatus,\"TRYING\",\"TRYING\");var streamStatusInfo={};define(streamStatusInfo,\"FAILED_BY_ICE_ERROR\",\"Failed by ICE error\"),define(streamStatusInfo,\"FAILED_BY_ICE_TIMEOUT\",\"Failed by ICE timeout\"),define(streamStatusInfo,\"FAILED_BY_KEEP_ALIVE\",\"Failed by ICE keep alive\"),define(streamStatusInfo,\"FAILED_BY_DTLS_FINGERPRINT_ERROR\",\"Failed by DTLS fingerprint error\"),define(streamStatusInfo,\"FAILED_BY_DTLS_ERROR\",\"Failed by DTLS error\"),define(streamStatusInfo,\"FAILED_BY_HLS_WRITER_ERROR\",\"Failed by HLS writer error\"),define(streamStatusInfo,\"FAILED_BY_RTMP_WRITER_ERROR\",\"Failed by RTMP writer error\"),define(streamStatusInfo,\"FAILED_BY_RTP_ACTIVITY\",\"Failed by RTP activity\"),define(streamStatusInfo,\"STOPPED_BY_SESSION_DISCONNECT\",\"Stopped by session disconnect\"),define(streamStatusInfo,\"STOPPED_BY_REST_TERMINATE\",\"Stopped by rest /terminate\"),define(streamStatusInfo,\"STOPPED_BY_PUBLISHER_STOP\",\"Stopped by publisher stop\"),define(streamStatusInfo,\"STOPPED_BY_USER\",\"Stopped by user\"),define(streamStatusInfo,\"FAILED_BY_ERROR\",\"Failed by error\"),define(streamStatusInfo,\"FAILED_TO_ADD_STREAM_TO_PROXY\",\"Failed to add stream to proxy\"),define(streamStatusInfo,\"DISTRIBUTOR_STOPPED\",\"Distributor stopped\"),define(streamStatusInfo,\"PUBLISH_STREAM_IS_NOT_READY\",\"Publish stream is not ready\"),define(streamStatusInfo,\"STREAM_NOT_FOUND\",\"Stream not found\"),define(streamStatusInfo,\"STREAM_NAME_ALREADY_IN_USE\",\"Stream name is already in use\"),define(streamStatusInfo,\"MEDIASESSION_ID_NULL\",\"MediaSessionId is null\"),define(streamStatusInfo,\"MEDIASESSION_ID_ALREADY_IN_USE\",\"MediaSessionId is already in use\"),define(streamStatusInfo,\"SESSION_NOT_READY\",\"Session not ready\"),define(streamStatusInfo,\"SESSION_DOES_NOT_EXIST\",\"Session does not exist\"),define(streamStatusInfo,\"RTSP_HAS_WRONG_FORMAT\",\"Rtsp has wrong format\"),define(streamStatusInfo,\"FILE_HAS_WRONG_FORMAT\",\"File has wrong format\"),define(streamStatusInfo,\"FAILED_TO_CONNECT_TO_RTSP_STREAM\",\"Failed to connect to rtsp stream\"),define(streamStatusInfo,\"RTSP_STREAM_NOT_FOUND\",\"Rtsp stream not found\"),define(streamStatusInfo,\"RTSPAGENT_SHUTDOWN\",\"RtspAgent shutdown\"),define(streamStatusInfo,\"STREAM_FAILED\",\"Stream failed\"),define(streamStatusInfo,\"NO_COMMON_CODECS\",\"No common codecs\"),define(streamStatusInfo,\"BAD_URI\",\"Bad URI\"),define(streamStatusInfo,\"GOT_EXCEPTION_WHILE_STREAMING_FILE\",\"Got exception while streaming file\"),define(streamStatusInfo,\"REQUESTED_STREAM_SHUTDOWN\",\"Requested stream shutdown\"),define(streamStatusInfo,\"FAILED_TO_READ_FILE\",\"Failed to read file\"),define(streamStatusInfo,\"FILE_NOT_FOUND\",\"File not found\"),define(streamStatusInfo,\"FAILED_TO_CONNECT_TO_ORIGIN_STREAM\",\"Failed to connect to origin stream\"),define(streamStatusInfo,\"CDN_STREAM_NOT_FOUND\",\"CDN stream not found\"),define(streamStatusInfo,\"FAILED_TO_GET_AGENT_STORAGE\",\"Failed to get agent storage\"),define(streamStatusInfo,\"AGENT_SERVICING_ORIGIN_STREAM_IS_SHUTTING_DOWN\",\"Agent servicing origin stream is shutting down\"),define(streamStatusInfo,\"TERMINATED_BY_KEEP_ALIVE\",\"Terminated by keep-alive\"),define(streamStatusInfo,\"TRANSCODING_REQUIRED_BUT_DISABLED\",\"Transcoding required, but disabled\");var callStatusInfo={};define(callStatusInfo,\"NORMAL_CALL_CLEARING\",\"Normal call clearing\"),define(callStatusInfo,\"FAILED_BY_SESSION_CREATION\",\"Failed by session creation\"),define(callStatusInfo,\"FAILED_BY_ICE_ERROR\",\"Failed by ICE error\"),define(callStatusInfo,\"FAILED_BY_RTP_ACTIVITY\",\"Failed by RTP activity\"),define(callStatusInfo,\"FAILED_BY_RTMP_WRITER_ERROR\",\"Failed by RTMP writer error\"),define(callStatusInfo,\"FAILED_BY_DTLS_FINGERPRINT_ERROR\",\"Failed by DTLS fingerprint error\"),define(callStatusInfo,\"NO_COMMON_CODECS\",\"No common codecs\"),define(callStatusInfo,\"FAILED_BY_DTLS_ERROR\",\"Failed by DTLS error\"),define(callStatusInfo,\"FAILED_BY_ERROR\",\"Failed by error\"),define(callStatusInfo,\"FAILED_BY_REQUEST_TIMEOUT\",\"Failed by request timeout\"),define(callStatusInfo,\"TRANSCODING_REQUIRED_BUT_DISABLED\",\"Transcoding required, but disabled\");var errorInfo={};define(errorInfo,\"NONE_OF_MEDIAPROVIDERS_AVAILABLE\",\"None of MediaProviders available\"),define(errorInfo,\"NONE_OF_PREFERRED_MEDIAPROVIDERS_AVAILABLE\",\"None of preferred MediaProviders available\"),define(errorInfo,\"FLASHPHONER_API_NOT_INITIALIZED\",\"Flashphoner API is not initialized\"),define(errorInfo,\"OPTIONS_URLSERVER_MUST_BE_PROVIDED\",\"options.urlServer must be provided\"),define(errorInfo,\"INVALID_SESSION_STATE\",\"Invalid session state\"),define(errorInfo,\"OPTIONS_MUST_BE_PROVIDED\",\"options must be provided\"),define(errorInfo,\"INVALID_CALL_STATE\",\"Invalid call state\"),define(errorInfo,\"EVENT_CANT_BE_NULL\",\"Event can't be null\"),define(errorInfo,\"CALLBACK_NEEDS_TO_BE_A_VALID_FUNCTION\",\"Callback needs to be a valid function\"),define(errorInfo,\"INVALID_SESSION_STATE\",\"Invalid session state\"),define(errorInfo,\"OPTIONS_NAME_MUST_BE_PROVIDED\",\"options.name must be provided\"),define(errorInfo,\"CAN_NOT_SWITCH_CAM\",\"Number of cams is less than 2 or already used custom stream\"),define(errorInfo,\"CAN_NOT_SWITCH_MIC\",\"Number of mics is less than 2 or already used custom stream\");var mediaDeviceKind={};define(mediaDeviceKind,\"OUTPUT\",\"output\"),define(mediaDeviceKind,\"INPUT\",\"input\"),define(mediaDeviceKind,\"ALL\",\"all\");var constants={};function define(obj,name,value){Object.defineProperty(obj,name,{value:value,enumerable:!0})}define(constants,\"SESSION_STATUS\",sessionStatus),define(constants,\"STREAM_STATUS\",streamStatus),define(constants,\"CALL_STATUS\",callStatus),define(constants,\"STREAM_STATUS_INFO\",streamStatusInfo),define(constants,\"CALL_STATUS_INFO\",callStatusInfo),define(constants,\"ERROR_INFO\",errorInfo),define(constants,\"MEDIA_DEVICE_KIND\",mediaDeviceKind),module.exports=constants},{}],25:[function(require,module,exports){\"use strict\";var flashScope,defaultConstraints,logger,swfobject=require(\"swfobject\"),Promise=require(\"promise-polyfill\"),uuid_v1=require(\"uuid/v1\"),connections={},swfLocation=\"media-provider.swf\",DEFAULT_SDP=\"v=0\\r\\no=- 1988962254 1988962254 IN IP4 0.0.0.0\\r\\nc=IN IP4 0.0.0.0\\r\\nt=0 0\\r\\na=sdplang:en\\r\\nm=video 0 RTP/AVP 112\\r\\na=rtpmap:112 H264/90000\\r\\na=fmtp:112 packetization-mode=1; profile-level-id=420020\\r\\na=VIDEO_STATE\\r\\nm=audio 0 RTP/AVP 8 0 100 102 103 104 105 106 107 108 109 110\\r\\na=rtpmap:0 PCMU/8000\\r\\na=rtpmap:8 PCMA/8000\\r\\na=rtpmap:100 SPEEX/16000\\r\\na=rtpmap:102 mpeg4-generic/48000/1\\r\\na=rtpmap:103 mpeg4-generic/8000/1\\r\\na=rtpmap:104 mpeg4-generic/11025/1\\r\\na=rtpmap:105 mpeg4-generic/12000/1\\r\\na=rtpmap:106 mpeg4-generic/16000/1\\r\\na=rtpmap:107 mpeg4-generic/22050/1\\r\\na=rtpmap:108 mpeg4-generic/24000/1\\r\\na=rtpmap:109 mpeg4-generic/32000/1\\r\\na=rtpmap:110 mpeg4-generic/44100/1\\r\\na=AUDIO_STATE\\r\\n\";function installCallback(id,name,value){!function(){if(null==flashScope){var globalApiObject=window.Flashphoner;if(null==globalApiObject)throw new Error(\"Can't install global scope, there is no window.Flashphoner variable.\");globalApiObject.FlashApiScope={},flashScope=window.Flashphoner.FlashApiScope}}();var scopeId=getInstanceScopeId(id);null==flashScope[scopeId]&&(flashScope[scopeId]={}),flashScope[scopeId][name]=value}function removeCallback(id,name){delete flashScope[getInstanceScopeId(id)][name]}function clearCallbacks(id){delete flashScope[getInstanceScopeId(id)]}function getInstanceScopeId(flash){if(\"string\"==typeof flash)return flash;for(var i=0;i>6],i=0==(32&r);if(31==(31&r)){var o=r;for(r=0;128==(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:h.tag[r]}}function a(t,e,r){var n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(4>=8)s++;(o=new f(2+s))[0]=i,o[1]=128|s;c=1+s;for(var u=n.length;0>=8)o[c]=255&u;return this._createEncoderBuffer([o,n])},i.prototype._encodeStr=function(t,e){if(\"bitstr\"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if(\"bmpstr\"!==e)return\"numstr\"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error(\"Encoding of string type: numstr supports only digits and space\"):\"printstr\"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error(\"Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark\"):/str$/.test(e)?this._createEncoderBuffer(t):\"objDesc\"===e?this._createEncoderBuffer(t):this.reporter.error(\"Encoding of string type: \"+e+\" unsupported\");for(var r=new f(2*t.length),n=0;n>=7)i++}var a=new f(i),s=a.length-1;for(n=t.length-1;0<=n;n--){o=t[n];for(a[s--]=127&o;0<(o>>=7);)a[s--]=128|127&o}return this._createEncoderBuffer(a)},i.prototype._encodeTime=function(t,e){var r,n=new Date(t);return\"gentime\"===e?r=[o(n.getFullYear()),o(n.getUTCMonth()+1),o(n.getUTCDate()),o(n.getUTCHours()),o(n.getUTCMinutes()),o(n.getUTCSeconds()),\"Z\"].join(\"\"):\"utctime\"===e?r=[o(n.getFullYear()%100),o(n.getUTCMonth()+1),o(n.getUTCDate()),o(n.getUTCHours()),o(n.getUTCMinutes()),o(n.getUTCSeconds()),\"Z\"].join(\"\"):this.reporter.error(\"Encoding \"+e+\" time is not supported yet\"),this._encodeStr(r,\"octstr\")},i.prototype._encodeNull=function(){return this._createEncoderBuffer(\"\")},i.prototype._encodeInt=function(t,e){if(\"string\"==typeof t){if(!e)return this.reporter.error(\"String int or enum given, but no values map\");if(!e.hasOwnProperty(t))return this.reporter.error(\"Values map doesn't contain: \"+JSON.stringify(t));t=e[t]}if(\"number\"!=typeof t&&!f.isBuffer(t)){var r=t.toArray();!t.sign&&128&r[0]&&r.unshift(0),t=new f(r)}if(f.isBuffer(t)){var n=t.length;0===t.length&&n++;var i=new f(n);return t.copy(i),0===t.length&&(i[0]=0),this._createEncoderBuffer(i)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);n=1;for(var o=t;256<=o;o>>=8)n++;for(o=(i=new Array(n)).length-1;0<=o;o--)i[o]=255&t,t>>=8;return 128&i[0]&&i.unshift(0),this._createEncoderBuffer(new f(i))},i.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},i.prototype._use=function(t,e){return\"function\"==typeof t&&(t=t(e)),t._getEncoder(\"der\").tree},i.prototype._skipDefault=function(t,e,r){var n,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}function f(t,e,r){for(var n,i=[],o=e;o>16&255,s[f++]=e>>8&255,s[f++]=255&e;return 2===a&&(e=h[t.charCodeAt(u)]<<2|h[t.charCodeAt(u+1)]>>4,s[f++]=255&e),1===a&&(e=h[t.charCodeAt(u)]<<10|h[t.charCodeAt(u+1)]<<4|h[t.charCodeAt(u+2)]>>2,s[f++]=e>>8&255,s[f++]=255&e),s},r.fromByteArray=function(t){for(var e,r=t.length,n=r%3,i=[],o=0,a=r-n;o>2]+u[e<<4&63]+\"==\")):2===n&&(e=(t[r-2]<<8)+t[r-1],i.push(u[e>>10]+u[e>>4&63]+u[e<<2&63]+\"=\")),i.join(\"\")};for(var u=[],h=[],d=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,l=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",p=0,b=l.length;p>>26,h=67108863&f,d=Math.min(c,e.length-1),l=Math.max(0,c-t.length+1);l<=d;l++){var p=c-l|0;u+=(a=(i=0|t.words[p])*(o=0|e.words[l])+h)/67108864|0,h=67108863&a}r.words[c]=0|h,f=0|u}return 0!==f?r.words[c]=0|f:r.length--,r.strip()}function h(t,e,r){return(new d).mulp(t,e,r)}function d(t,e){this.x=t,this.y=e}function l(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function p(){l.call(this,\"k256\",\"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f\")}function b(){l.call(this,\"p224\",\"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001\")}function v(){l.call(this,\"p192\",\"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff\")}function y(){l.call(this,\"25519\",\"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed\")}function g(t){if(\"string\"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),\"modulus must be greater than 1\"),this.m=t,this.prime=null}function m(t){g.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}var w;\"object\"==typeof e?e.exports=o:r.BN=o,(o.BN=o).wordSize=26;try{w=t(20).Buffer}catch(t){}o.isBN=function(t){return t instanceof o||null!==t&&\"object\"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return 0>>26-s&67108863,26<=(s+=24)&&(s-=26,o++);else if(\"le\"===r)for(o=i=0;i>>26-s&67108863,26<=(s+=24)&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r>>26-o&4194303,26<=(o+=24)&&(o-=26,n++);r+6!==e&&(i=a(t,e,r+6),this.words[n]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0];for(var n=0,i=this.length=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,f=Math.min(o,o-a)+r,c=0,u=r;u\"};var _=[\"\",\"0\",\"00\",\"000\",\"0000\",\"00000\",\"000000\",\"0000000\",\"00000000\",\"000000000\",\"0000000000\",\"00000000000\",\"000000000000\",\"0000000000000\",\"00000000000000\",\"000000000000000\",\"0000000000000000\",\"00000000000000000\",\"000000000000000000\",\"0000000000000000000\",\"00000000000000000000\",\"000000000000000000000\",\"0000000000000000000000\",\"00000000000000000000000\",\"000000000000000000000000\",\"0000000000000000000000000\"],S=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||\"hex\"===t){r=\"\";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?_[6-f.length]+f+r:f+r,26<=(i+=2)&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r=\"0\"+r;return 0!==this.negative&&(r=\"-\"+r),r}if(t===(0|t)&&2<=t&&t<=36){var c=S[t],u=E[t];r=\"\";var h=this.clone();for(h.negative=0;!h.isZero();){var d=h.modn(u).toString(t);r=(h=h.idivn(u)).isZero()?d+r:_[c-d.length]+d+r}for(this.isZero()&&(r=\"0\"+r);r.length%e!=0;)r=\"0\"+r;return 0!==this.negative&&(r=\"-\"+r),r}n(!1,\"Base should be between 2 and 36\")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:2>>=13),64<=e&&(r+=7,e>>>=7),8<=e&&(r+=4,e>>>=4),2<=e&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;r=this.length>t.length?(e=this,t):(e=t,this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n(\"number\"==typeof t&&0<=t);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),0>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n(\"number\"==typeof t&&0<=t);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,t):(r=t,this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,i,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;i=0>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,l=0|a[1],p=8191&l,b=l>>>13,v=0|a[2],y=8191&v,g=v>>>13,m=0|a[3],w=8191&m,_=m>>>13,S=0|a[4],E=8191&S,k=S>>>13,M=0|a[5],x=8191&M,A=M>>>13,I=0|a[6],R=8191&I,B=I>>>13,T=0|a[7],P=8191&T,C=T>>>13,O=0|a[8],j=8191&O,N=O>>>13,L=0|a[9],D=8191&L,F=L>>>13,U=0|s[0],q=8191&U,z=U>>>13,V=0|s[1],G=8191&V,K=V>>>13,W=0|s[2],H=8191&W,X=W>>>13,J=0|s[3],Y=8191&J,Z=J>>>13,Q=0|s[4],$=8191&Q,tt=Q>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ft=8191&st,ct=st>>>13,ut=0|s[8],ht=8191&ut,dt=ut>>>13,lt=0|s[9],pt=8191<,bt=lt>>>13;r.negative=t.negative^e.negative,r.length=19;var vt=(c+(n=Math.imul(h,q))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(d,q)|0))<<13)|0;c=((o=Math.imul(d,z))+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(p,q),i=(i=Math.imul(p,z))+Math.imul(b,q)|0,o=Math.imul(b,z);var yt=(c+(n=n+Math.imul(h,G)|0)|0)+((8191&(i=(i=i+Math.imul(h,K)|0)+Math.imul(d,G)|0))<<13)|0;c=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,q),i=(i=Math.imul(y,z))+Math.imul(g,q)|0,o=Math.imul(g,z),n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(b,G)|0,o=o+Math.imul(b,K)|0;var gt=(c+(n=n+Math.imul(h,H)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(d,H)|0))<<13)|0;c=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,q),i=(i=Math.imul(w,z))+Math.imul(_,q)|0,o=Math.imul(_,z),n=n+Math.imul(y,G)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(g,G)|0,o=o+Math.imul(g,K)|0,n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,X)|0;var mt=(c+(n=n+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,Z)|0)+Math.imul(d,Y)|0))<<13)|0;c=((o=o+Math.imul(d,Z)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(E,q),i=(i=Math.imul(E,z))+Math.imul(k,q)|0,o=Math.imul(k,z),n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,n=n+Math.imul(y,H)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(b,Y)|0,o=o+Math.imul(b,Z)|0;var wt=(c+(n=n+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,$)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(x,q),i=(i=Math.imul(x,z))+Math.imul(A,q)|0,o=Math.imul(A,z),n=n+Math.imul(E,G)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,n=n+Math.imul(w,H)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(_,H)|0,o=o+Math.imul(_,X)|0,n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,Z)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,tt)|0;var _t=(c+(n=n+Math.imul(h,rt)|0)|0)+((8191&(i=(i=i+Math.imul(h,nt)|0)+Math.imul(d,rt)|0))<<13)|0;c=((o=o+Math.imul(d,nt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(R,q),i=(i=Math.imul(R,z))+Math.imul(B,q)|0,o=Math.imul(B,z),n=n+Math.imul(x,G)|0,i=(i=i+Math.imul(x,K)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,K)|0,n=n+Math.imul(E,H)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,X)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,Z)|0,n=n+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(b,rt)|0,o=o+Math.imul(b,nt)|0;var St=(c+(n=n+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(P,q),i=(i=Math.imul(P,z))+Math.imul(C,q)|0,o=Math.imul(C,z),n=n+Math.imul(R,G)|0,i=(i=i+Math.imul(R,K)|0)+Math.imul(B,G)|0,o=o+Math.imul(B,K)|0,n=n+Math.imul(x,H)|0,i=(i=i+Math.imul(x,X)|0)+Math.imul(A,H)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(k,Y)|0,o=o+Math.imul(k,Z)|0,n=n+Math.imul(w,$)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(b,ot)|0,o=o+Math.imul(b,at)|0;var Et=(c+(n=n+Math.imul(h,ft)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(d,ft)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(j,q),i=(i=Math.imul(j,z))+Math.imul(N,q)|0,o=Math.imul(N,z),n=n+Math.imul(P,G)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,n=n+Math.imul(R,H)|0,i=(i=i+Math.imul(R,X)|0)+Math.imul(B,H)|0,o=o+Math.imul(B,X)|0,n=n+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(b,ft)|0,o=o+Math.imul(b,ct)|0;var kt=(c+(n=n+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(D,q),i=(i=Math.imul(D,z))+Math.imul(F,q)|0,o=Math.imul(F,z),n=n+Math.imul(j,G)|0,i=(i=i+Math.imul(j,K)|0)+Math.imul(N,G)|0,o=o+Math.imul(N,K)|0,n=n+Math.imul(P,H)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,X)|0,n=n+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,Z)|0)+Math.imul(B,Y)|0,o=o+Math.imul(B,Z)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(k,rt)|0,o=o+Math.imul(k,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,at)|0,n=n+Math.imul(y,ft)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ct)|0,n=n+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(b,ht)|0,o=o+Math.imul(b,dt)|0;var Mt=(c+(n=n+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,bt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,bt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,K))+Math.imul(F,G)|0,o=Math.imul(F,K),n=n+Math.imul(j,H)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,X)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(C,Y)|0,o=o+Math.imul(C,Z)|0,n=n+Math.imul(R,$)|0,i=(i=i+Math.imul(R,tt)|0)+Math.imul(B,$)|0,o=o+Math.imul(B,tt)|0,n=n+Math.imul(x,rt)|0,i=(i=i+Math.imul(x,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,at)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(_,ft)|0,o=o+Math.imul(_,ct)|0,n=n+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(g,ht)|0,o=o+Math.imul(g,dt)|0;var xt=(c+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,bt)|0)+Math.imul(b,pt)|0))<<13)|0;c=((o=o+Math.imul(b,bt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(D,H),i=(i=Math.imul(D,X))+Math.imul(F,H)|0,o=Math.imul(F,X),n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,Z)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,tt)|0,n=n+Math.imul(R,rt)|0,i=(i=i+Math.imul(R,nt)|0)+Math.imul(B,rt)|0,o=o+Math.imul(B,nt)|0,n=n+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(k,ft)|0,o=o+Math.imul(k,ct)|0,n=n+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(_,ht)|0,o=o+Math.imul(_,dt)|0;var At=(c+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,bt)|0)+Math.imul(g,pt)|0))<<13)|0;c=((o=o+Math.imul(g,bt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(D,Y),i=(i=Math.imul(D,Z))+Math.imul(F,Y)|0,o=Math.imul(F,Z),n=n+Math.imul(j,$)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(C,rt)|0,o=o+Math.imul(C,nt)|0,n=n+Math.imul(R,ot)|0,i=(i=i+Math.imul(R,at)|0)+Math.imul(B,ot)|0,o=o+Math.imul(B,at)|0,n=n+Math.imul(x,ft)|0,i=(i=i+Math.imul(x,ct)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ct)|0,n=n+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(k,ht)|0,o=o+Math.imul(k,dt)|0;var It=(c+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,bt)|0)+Math.imul(_,pt)|0))<<13)|0;c=((o=o+Math.imul(_,bt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(D,$),i=(i=Math.imul(D,tt))+Math.imul(F,$)|0,o=Math.imul(F,tt),n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(N,rt)|0,o=o+Math.imul(N,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(C,ot)|0,o=o+Math.imul(C,at)|0,n=n+Math.imul(R,ft)|0,i=(i=i+Math.imul(R,ct)|0)+Math.imul(B,ft)|0,o=o+Math.imul(B,ct)|0,n=n+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,dt)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,dt)|0;var Rt=(c+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,bt)|0)+Math.imul(k,pt)|0))<<13)|0;c=((o=o+Math.imul(k,bt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(D,rt),i=(i=Math.imul(D,nt))+Math.imul(F,rt)|0,o=Math.imul(F,nt),n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ct)|0)+Math.imul(C,ft)|0,o=o+Math.imul(C,ct)|0,n=n+Math.imul(R,ht)|0,i=(i=i+Math.imul(R,dt)|0)+Math.imul(B,ht)|0,o=o+Math.imul(B,dt)|0;var Bt=(c+(n=n+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,bt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,bt)|0)+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(D,ot),i=(i=Math.imul(D,at))+Math.imul(F,ot)|0,o=Math.imul(F,at),n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ct)|0)+Math.imul(N,ft)|0,o=o+Math.imul(N,ct)|0,n=n+Math.imul(P,ht)|0,i=(i=i+Math.imul(P,dt)|0)+Math.imul(C,ht)|0,o=o+Math.imul(C,dt)|0;var Tt=(c+(n=n+Math.imul(R,pt)|0)|0)+((8191&(i=(i=i+Math.imul(R,bt)|0)+Math.imul(B,pt)|0))<<13)|0;c=((o=o+Math.imul(B,bt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(D,ft),i=(i=Math.imul(D,ct))+Math.imul(F,ft)|0,o=Math.imul(F,ct),n=n+Math.imul(j,ht)|0,i=(i=i+Math.imul(j,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var Pt=(c+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,bt)|0)+Math.imul(C,pt)|0))<<13)|0;c=((o=o+Math.imul(C,bt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(D,ht),i=(i=Math.imul(D,dt))+Math.imul(F,ht)|0,o=Math.imul(F,dt);var Ct=(c+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,bt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,bt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863;var Ot=(c+(n=Math.imul(D,pt))|0)+((8191&(i=(i=Math.imul(D,bt))+Math.imul(F,pt)|0))<<13)|0;return c=((o=Math.imul(F,bt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,f[0]=vt,f[1]=yt,f[2]=gt,f[3]=mt,f[4]=wt,f[5]=_t,f[6]=St,f[7]=Et,f[8]=kt,f[9]=Mt,f[10]=xt,f[11]=At,f[12]=It,f[13]=Rt,f[14]=Bt,f[15]=Tt,f[16]=Pt,f[17]=Ct,f[18]=Ot,0!==c&&(f[19]=c,r.length++),r};Math.imul||(k=c),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?k(this,t,e):r<63?c(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):h(this,t,e)},d.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;0<=e;e--)this.words[e+i]=this.words[e];for(e=0;e>>o<a)for(this.length-=a,c=0;c>>o,u=h&s}return f&&0!==u&&(f.words[f.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n(\"number\"==typeof t&&0<=t);var e=t%26,r=(t-e)/26,i=1<>>e<>26)-(f/67108864|0),this.words[i+r]=67108863&a}for(;i>26,this.words[i+r]=67108863&a;if(0===s)return this.strip();for(n(-1===s),i=s=0;i>26,this.words[i]=67108863&a;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!=(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,f=n.length-i.length;if(\"mod\"!==e){(s=new o(null)).length=f+1,s.words=new Array(s.length);for(var c=0;cthis.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?\"div\"===e?{div:this.divn(t.words[0]),mod:null}:\"mod\"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,\"div\",!1).div},o.prototype.mod=function(t){return this.divmod(t,\"mod\",!1).mod},o.prototype.umod=function(t){return this.divmod(t,\"mod\",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;0<=i;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;0<=r;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),f=new o(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var u=r.clone(),h=e.clone();!e.isZero();){for(var d=0,l=1;0==(e.words[0]&l)&&d<26;++d,l<<=1);if(0>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var r,e=t<0;if(0!==this.negative&&!e)return-1;if(0===this.negative&&e)return 1;if(this.strip(),1t.length)return 1;if(this.lengththis.n;);var n=e>>22,i=o}i>>>=22,0===(t.words[n-10]=i)&&10>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(M[t])return M[t];var e;if(\"k256\"===t)e=new p;else if(\"p224\"===t)e=new b;else if(\"p192\"===t)e=new v;else{if(\"p25519\"!==t)throw new Error(\"Unknown prime \"+t);e=new y}return M[t]=e},g.prototype._verify1=function(t){n(0===t.negative,\"red works only with positives\"),n(t.red,\"red works only with red numbers\")},g.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),\"red works only with positives\"),n(t.red&&t.red===e.red,\"red works only with red numbers\")},g.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},g.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},g.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return 0<=r.cmp(this.m)&&r.isub(this.m),r._forceRed(this)},g.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return 0<=r.cmp(this.m)&&r.isub(this.m),r},g.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},g.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},g.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},g.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},g.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},g.prototype.isqr=function(t){return this.imul(t,t.clone())},g.prototype.sqr=function(t){return this.mul(t,t)},g.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),f=s.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,c).cmp(f);)u.redIAdd(f);for(var h=this.pow(u,i),d=this.pow(t,i.addn(1).iushrn(1)),l=this.pow(t,i),p=a;0!==l.cmp(s);){for(var b=l,v=0;0!==b.cmp(s);v++)b=b.redSqr();n(v>u&1;i!==r[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===n&&0===u)&&(i=this.mul(i,r[a]),a=s=0)):s=0}f=26}return i},g.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},g.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new m(t)},i(m,g),m.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},m.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},m.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return 0<=i.cmp(this.m)?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},m.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return 0<=i.cmp(this.m)?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},m.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e,this)},{20:20}],19:[function(t,e,r){function n(t){this.rand=t}var i;if(e.exports=function(t){return i||(i=new n(null)),i.generate(t)},(e.exports.Rand=n).prototype.generate=function(t){return this._rand(t)},n.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),r=0;r>>24]^u[p>>>16&255]^h[b>>>8&255]^d[255&v]^e[y++],a=c[p>>>24]^u[b>>>16&255]^h[v>>>8&255]^d[255&l]^e[y++],s=c[b>>>24]^u[v>>>16&255]^h[l>>>8&255]^d[255&p]^e[y++],f=c[v>>>24]^u[l>>>16&255]^h[p>>>8&255]^d[255&b]^e[y++],l=o,p=a,b=s,v=f;return o=(n[l>>>24]<<24|n[p>>>16&255]<<16|n[b>>>8&255]<<8|n[255&v])^e[y++],a=(n[p>>>24]<<24|n[b>>>16&255]<<16|n[v>>>8&255]<<8|n[255&l])^e[y++],s=(n[b>>>24]<<24|n[v>>>16&255]<<16|n[l>>>8&255]<<8|n[255&p])^e[y++],f=(n[v>>>24]<<24|n[l>>>16&255]<<16|n[p>>>8&255]<<8|n[255&b])^e[y++],[o>>>=0,a>>>=0,s>>>=0,f>>>=0]}function a(t){this._key=n(t),this._reset()}var s=t(476).Buffer,f=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,f=0;f<256;++f){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99;var u=t[n[r[a]=c]=a],h=t[u],d=t[h],l=257*t[c]^16843008*c;i[0][a]=l<<24|l>>>8,i[1][a]=l<<16|l>>>16,i[2][a]=l<<8|l>>>24,i[3][a]=l,l=16843009*d^65537*h^257*u^16843008*a,o[0][c]=l<<24|l>>>8,o[1][c]=l<<16|l>>>16,o[2][c]=l<<8|l>>>24,o[3][c]=l,0===a?a=s=1:(a=u^t[t[t[d^u]]],s^=t[t[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();a.blockSize=16,a.keySize=32,a.prototype.blockSize=a.blockSize,a.prototype.keySize=a.keySize,a.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),i=[],o=0;o>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=f[o/e|0]<<24):6>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),i[o]=i[o-e]^a}for(var s=[],u=0;u>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=s},a.prototype.encryptBlockRaw=function(t){return o(t=n(t),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},a.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=s.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},a.prototype.decryptBlock=function(t){var e=(t=n(t))[1];t[1]=t[3],t[3]=e;var r=o(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),i=s.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},a.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},e.exports.AES=a},{476:476}],22:[function(t,e,r){function o(t,e,r,n){f.call(this);var o=s.alloc(4,0);this._cipher=new a.AES(e);var c=this._cipher.encryptBlock(o);this._ghash=new u(c),r=function(t,e,r){if(12===e.length)return t._finID=s.concat([e,s.from([0,0,0,1])]),s.concat([e,s.from([0,0,0,2])]);var n=new u(r),i=e.length,o=i%16;n.update(e),o&&(o=16-o,n.update(s.alloc(o,0))),n.update(s.alloc(8,0));var a=8*i,f=s.alloc(8);f.writeUIntBE(a,0,8),n.update(f),t._finID=n.state;var c=s.from(t._finID);return d(c),c}(this,r,c),this._prev=s.from(r),this._cache=s.allocUnsafe(0),this._secCache=s.allocUnsafe(0),this._decrypt=n,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}var a=t(21),s=t(476).Buffer,f=t(51),c=t(432),u=t(26),h=t(49),d=t(27);c(o,f),o.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=s.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},o.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error(\"Unsupported state or unable to authenticate data\");var t=h(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var r=0;t.length!==e.length&&r++;for(var n=Math.min(t.length,e.length),i=0;i>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function o(t){this.h=t,this.state=a.alloc(16,0),this.cache=a.allocUnsafe(0)}var a=t(476).Buffer,s=a.alloc(16,0);o.prototype.ghash=function(t){for(var e=-1;++e>>1|(1&o[t-1])<<31;o[0]=o[0]>>>1,r&&(o[0]=o[0]^225<<24)}this.state=i(a)},o.prototype.update=function(t){this.cache=a.concat([this.cache,t]);for(var e;16<=this.cache.length;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},o.prototype.final=function(t,e){return this.cache.length&&this.ghash(a.concat([this.cache,s],16)),this.ghash(i([0,t,0,e])),this.state},e.exports=o},{476:476}],27:[function(t,e,r){e.exports=function(t){for(var e,r=t.length;r--;){if(255!==(e=t.readUInt8(r))){e++,t.writeUInt8(e,r);break}t.writeUInt8(0,r)}}},{}],28:[function(t,e,r){var n=t(49);r.encrypt=function(t,e){var r=n(e,t._prev);return t._prev=t._cipher.encryptBlock(r),t._prev},r.decrypt=function(t,e){var r=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return n(i,r)}},{49:49}],29:[function(t,e,r){function n(t,e,r){var n=e.length,a=o(e,t._cache);return t._cache=t._cache.slice(n),t._prev=i.concat([t._prev,r?e:a]),a}var i=t(476).Buffer,o=t(49);r.encrypt=function(t,e,r){for(var o,a=i.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=i.allocUnsafe(0)),!(t._cache.length<=e.length)){a=i.concat([a,n(t,e,r)]);break}o=t._cache.length,a=i.concat([a,n(t,e.slice(0,o),r)]),e=e.slice(o)}return a}},{476:476,49:49}],30:[function(t,e,r){function n(t,e,r){for(var o,a,s=-1,f=0;++s<8;)o=e&1<<7-s?128:0,f+=(128&(a=t._cipher.encryptBlock(t._prev)[0]^o))>>s%8,t._prev=i(t._prev,r?o:a);return f}function i(t,e){var r=t.length,n=-1,i=o.allocUnsafe(t.length);for(t=o.concat([t,o.from([e])]);++n>7;return i}var o=t(476).Buffer;r.encrypt=function(t,e,r){for(var i=e.length,a=o.allocUnsafe(i),s=-1;++s=e)throw new Error(\"invalid sig\")}var s=t(18),f=t(398).ec,c=t(444),u=t(44);e.exports=function(t,e,n,a,f){var u=c(n);if(\"ec\"===u.type){if(\"ecdsa\"!==a&&\"ecdsa/rsa\"!==a)throw new Error(\"wrong public key type\");return i(t,e,u)}if(\"dsa\"===u.type){if(\"dsa\"!==a)throw new Error(\"wrong public key type\");return o(t,e,u)}if(\"rsa\"!==a&&\"ecdsa/rsa\"!==a)throw new Error(\"wrong public key type\");e=r.concat([f,e]);for(var h=u.modulus.byteLength(),d=[1],l=0;e.length+d.length+2>5==6?2:t>>4==14?3:t>>3==30?4:-1}function c(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,\"�\".repeat(r);if(1>>1;case\"base64\":return V(t).length;default:if(o)return n?-1:U(t).length;e=(\"\"+e).toLowerCase(),o=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,o){if(0===t.length)return-1;if(\"string\"==typeof r?(n=r,r=0):2147483647=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if(\"string\"==typeof e&&(e=i.from(e,n)),i.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,o);if(\"number\"==typeof e)return e&=255,\"function\"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,o);throw new TypeError(\"val must be string, number or Buffer\")}function m(t,e,r,n,i){function o(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}var c,a=1,s=t.length,f=e.length;if(void 0!==n&&(\"ucs2\"===(n=String(n).toLowerCase())||\"ucs-2\"===n||\"utf16le\"===n||\"utf-16le\"===n)){if(t.length<2||e.length<2)return-1;s/=a=2,f/=2,r/=2}if(i){var u=-1;for(c=r;ci&&(n=i):n=i;var o=e.length;o/2>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function x(t,e,r){return 0===e&&r===t.length?H.fromByteArray(t):H.fromByteArray(t.slice(e,r))}function A(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i>>10&1023|55296),a=56320|1023&a),n.push(a),i+=s}return function(t){var e=t.length;if(e<=Y)return String.fromCharCode.apply(String,t);for(var r=\"\",n=0;nt.length)throw new RangeError(\"Index out of range\")}function j(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError(\"Index out of range\");if(r<0)throw new RangeError(\"Index out of range\")}function N(t,e,r,n,i){return e=+e,r>>>=0,i||j(t,0,r,4),X.write(t,e,r,n,23,4),r+4}function L(t,e,r,n,i){return e=+e,r>>>=0,i||j(t,0,r,8),X.write(t,e,r,n,52,8),r+8}function F(t){return t<16?\"0\"+t.toString(16):t.toString(16)}function U(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error(\"Invalid code point\");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function V(t){return H.toByteArray(function(t){if((t=(t=t.split(\"=\")[0]).trim().replace(Z,\"\")).length<2)return\"\";for(;t.length%4!=0;)t+=\"=\";return t}(t))}function G(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function K(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function W(t){return t!=t}var H=t(17),X=t(430);r.Buffer=i,r.SlowBuffer=function(t){return+t!=t&&(t=0),i.alloc(+t)},r.INSPECT_MAX_BYTES=50;var J=2147483647;r.kMaxLength=J,!(i.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}())&&\"undefined\"!=typeof console&&console.error,Object.defineProperty(i.prototype,\"parent\",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,\"offset\",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}}),\"undefined\"!=typeof Symbol&&null!=Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),i.poolSize=8192,i.from=function(t,e,r){return o(t,e,r)},i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,i.alloc=function(t,e,r){return function(t,e,r){return a(t),t<=0?n(t):void 0!==e?\"string\"==typeof r?n(t).fill(e,r):n(t).fill(e):n(t)}(t,e,r)},i.allocUnsafe=function(t){return f(t)},i.allocUnsafeSlow=function(t){return f(t)},i.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==i.prototype},i.compare=function(t,e){if(K(t,Uint8Array)&&(t=i.from(t,t.offset,t.byteLength)),K(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),!i.isBuffer(t)||!i.isBuffer(e))throw new TypeError('The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,a=Math.min(r,n);othis.length)return\"\";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return\"\";if((r>>>=0)<=(e>>>=0))return\"\";for(t||(t=\"utf8\");;)switch(t){case\"hex\":return T(this,e,r);case\"utf8\":case\"utf-8\":return A(this,e,r);case\"ascii\":return R(this,e,r);case\"latin1\":case\"binary\":return B(this,e,r);case\"base64\":return x(this,e,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return P(this,e,r);default:if(n)throw new TypeError(\"Unknown encoding: \"+t);t=(t+\"\").toLowerCase(),n=!0}}.apply(this,arguments)},i.prototype.equals=function(t){if(!i.isBuffer(t))throw new TypeError(\"Argument must be a Buffer\");return this===t||0===i.compare(this,t)},i.prototype.inspect=function(){var t=\"\",e=r.INSPECT_MAX_BYTES;return t=this.toString(\"hex\",0,e).replace(/(.{2})/g,\"$1 \").trim(),this.length>e&&(t+=\" ... \"),\"\"},i.prototype.compare=function(t,e,r,n,o){if(K(t,Uint8Array)&&(t=i.from(t,t.offset,t.byteLength)),!i.isBuffer(t))throw new TypeError('The \"target\" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError(\"out of range index\");if(o<=n&&r<=e)return 0;if(o<=n)return-1;if(r<=e)return 1;if(this===t)return 0;for(var a=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0),f=Math.min(a,s),c=this.slice(n,o),u=t.slice(e,r),h=0;h>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n=\"utf8\")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||ithis.length)throw new RangeError(\"Attempt to write outside buffer bounds\");n||(n=\"utf8\");for(var o=!1;;)switch(n){case\"hex\":return w(this,t,e,r);case\"utf8\":case\"utf-8\":return _(this,t,e,r);case\"ascii\":return S(this,t,e,r);case\"latin1\":case\"binary\":return E(this,t,e,r);case\"base64\":return k(this,t,e,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return M(this,t,e,r);default:if(o)throw new TypeError(\"Unknown encoding: \"+n);n=(\"\"+n).toLowerCase(),o=!0}},i.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var Y=4096;i.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):r>>=0,e>>>=0,r||C(t,e,this.length);for(var n=this[t],i=1,o=0;++o>>=0,e>>>=0,r||C(t,e,this.length);for(var n=this[t+--e],i=1;0>>=0,e||C(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,e){return t>>>=0,e||C(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,e){return t>>>=0,e||C(t,2,this.length),this[t]<<8|this[t+1]},i.prototype.readUInt32LE=function(t,e){return t>>>=0,e||C(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},i.prototype.readUInt32BE=function(t,e){return t>>>=0,e||C(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},i.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||C(t,e,this.length);for(var n=this[t],i=1,o=0;++o>>=0,e>>>=0,r||C(t,e,this.length);for(var n=e,i=1,o=this[t+--n];0>>=0,e||C(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.prototype.readInt16LE=function(t,e){t>>>=0,e||C(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt16BE=function(t,e){t>>>=0,e||C(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt32LE=function(t,e){return t>>>=0,e||C(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},i.prototype.readInt32BE=function(t,e){return t>>>=0,e||C(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},i.prototype.readFloatLE=function(t,e){return t>>>=0,e||C(t,4,this.length),X.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,e){return t>>>=0,e||C(t,4,this.length),X.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,e){return t>>>=0,e||C(t,8,this.length),X.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,e){return t>>>=0,e||C(t,8,this.length),X.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||O(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o>>=0,r>>>=0,n||O(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;0<=--i&&(o*=256);)this[e+i]=t/o&255;return e+r},i.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,1,255,0),this[e]=255&t,e+1},i.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},i.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},i.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},i.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},i.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);O(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+r},i.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);O(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;0<=--o&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},i.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},i.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},i.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},i.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},i.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},i.prototype.writeFloatLE=function(t,e,r){return N(this,t,e,!0,r)},i.prototype.writeFloatBE=function(t,e,r){return N(this,t,e,!1,r)},i.prototype.writeDoubleLE=function(t,e,r){return L(this,t,e,!0,r)},i.prototype.writeDoubleBE=function(t,e,r){return L(this,t,e,!1,r)},i.prototype.copy=function(t,e,r,n){if(!i.isBuffer(t))throw new TypeError(\"argument should be a Buffer\");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),0=this.length)throw new RangeError(\"Index out of range\");if(n<0)throw new RangeError(\"sourceEnd out of bounds\");n>this.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),\"number\"==typeof t)for(a=e;ac;)f.call(t,a=s[c++])&&e.push(a);return e}},{129:129,132:132,133:133}],84:[function(t,e,r){var n=t(92),i=t(74),o=t(94),a=t(143),s=t(76),f=function(t,e,r){var c,u,h,d,l=t&f.F,p=t&f.G,b=t&f.S,v=t&f.P,y=t&f.B,g=p?n:b?n[e]||(n[e]={}):(n[e]||{}).prototype,m=p?i:i[e]||(i[e]={}),w=m.prototype||(m.prototype={});for(c in p&&(r=e),r)h=((u=!l&&g&&void 0!==g[c])?g:r)[c],d=y&&u?s(h,n):v&&\"function\"==typeof h?s(Function.call,h):h,g&&a(g,c,h,t&f.U),m[c]!=h&&o(m,c,d),v&&w[c]!=h&&(w[c]=h)};n.core=i,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,e.exports=f},{143:143,74:74,76:76,92:92,94:94}],85:[function(t,e,r){var n=t(180)(\"match\");e.exports=function(t){var e=/./;try{\"/./\"[t](e)}catch(r){try{return e[n]=!1,!\"/./\"[t](e)}catch(t){}}return!0}},{180:180}],86:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],87:[function(t,e,r){\"use strict\";t(277);var n=t(143),i=t(94),o=t(86),a=t(79),s=t(180),f=t(145),c=s(\"species\"),u=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\"7\"},t},\"7\"!==\"\".replace(t,\"$
\")}),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r=\"ab\".split(t);return 2===r.length&&\"a\"===r[0]&&\"b\"===r[1]}();e.exports=function(t,e,r){var d=s(t),l=!o(function(){var e={};return e[d]=function(){return 7},7!=\"\"[t](e)}),p=l?!o(function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},\"split\"===t&&(r.constructor={},r.constructor[c]=function(){return r}),r[d](\"\"),!e}):void 0;if(!l||!p||\"replace\"===t&&!u||\"split\"===t&&!h){var b=/./[d],v=r(a,d,\"\"[t],function(t,e,r,n,i){return e.exec===f?l&&!i?{done:!0,value:b.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),y=v[0],g=v[1];n(String.prototype,t,y),i(RegExp.prototype,d,2==e?function(t,e){return g.call(t,this,e)}:function(t){return g.call(t,this)})}}},{143:143,145:145,180:180,277:277,79:79,86:86,94:94}],88:[function(t,e,r){\"use strict\";var n=t(58);e.exports=function(){var t=n(this),e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),t.unicode&&(e+=\"u\"),t.sticky&&(e+=\"y\"),e}},{58:58}],89:[function(t,e,r){\"use strict\";var i=t(101),o=t(103),a=t(169),s=t(76),f=t(180)(\"isConcatSpreadable\");e.exports=function n(t,e,r,c,u,h,d,l){for(var p,b,v=u,y=0,g=!!d&&s(d,l,3);ydocument.F=Object<\\/script>\"),e.close(),f=e.F;n--;)delete f.prototype[o[n]];return f()};e.exports=Object.create||function(t,e){var r;return null!==t?(s.prototype=n(t),r=new s,s.prototype=null,r[a]=t):r=f(),void 0===e?r:i(r,e)}},{124:124,153:153,58:58,81:81,82:82,95:95}],123:[function(t,e,r){var n=t(58),i=t(96),o=t(171),a=Object.defineProperty;r.f=t(80)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return a(t,e,r)}catch(t){}if(\"get\"in r||\"set\"in r)throw TypeError(\"Accessors not supported!\");return\"value\"in r&&(t[e]=r.value),t}},{171:171,58:58,80:80,96:96}],124:[function(t,e,r){var n=t(123),i=t(58),o=t(132);e.exports=t(80)?Object.defineProperties:function(t,e){i(t);for(var r,a=o(e),s=a.length,f=0;ff;)n(s,r=e[f++])&&(~o(c,r)||c.push(r));return c}},{153:153,168:168,62:62,93:93}],132:[function(t,e,r){var n=t(131),i=t(82);e.exports=Object.keys||function(t){return n(t,i)}},{131:131,82:82}],133:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],134:[function(t,e,r){var n=t(84),i=t(74),o=t(86);e.exports=function(t,e){var r=(i.Object||{})[t]||Object[t],a={};a[t]=e(r),n(n.S+n.F*o(function(){r(1)}),\"Object\",a)}},{74:74,84:84,86:86}],135:[function(t,e,r){var n=t(132),i=t(168),o=t(133).f;e.exports=function(t){return function(e){for(var r,a=i(e),s=n(a),f=s.length,c=0,u=[];c>>0||(a.test(r)?16:10))}:n},{162:162,163:163,92:92}],139:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],140:[function(t,e,r){var n=t(58),i=t(103),o=t(120);e.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{103:103,120:120,58:58}],141:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],142:[function(t,e,r){var n=t(143);e.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},{143:143}],143:[function(t,e,r){var n=t(92),i=t(94),o=t(93),a=t(175)(\"src\"),s=t(91),f=(\"\"+s).split(\"toString\");t(74).inspectSource=function(t){return s.call(t)},(e.exports=function(t,e,r,s){var c=\"function\"==typeof r;c&&(o(r,\"name\")||i(r,\"name\",e)),t[e]!==r&&(c&&(o(r,a)||i(r,a,t[e]?\"\"+t[e]:f.join(String(e)))),t===n?t[e]=r:s?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,\"toString\",function(){return\"function\"==typeof this&&this[a]||s.call(this)})},{175:175,74:74,91:91,92:92,93:93,94:94}],144:[function(t,e,r){\"use strict\";var n=t(68),i=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if(\"function\"==typeof r){var o=r.call(t,e);if(\"object\"!=typeof o)throw new TypeError(\"RegExp exec method returned something other than an Object or null\");return o}if(\"RegExp\"!==n(t))throw new TypeError(\"RegExp#exec called on incompatible receiver\");return i.call(t,e)}},{68:68}],145:[function(t,e,r){\"use strict\";var n=t(88),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s=function(){var t=/a/,e=/b*/g;return i.call(t,\"a\"),i.call(e,\"a\"),0!==t.lastIndex||0!==e.lastIndex}(),f=void 0!==/()??/.exec(\"\")[1];(s||f)&&(a=function(t){var e,r,a,c,u=this;return f&&(r=new RegExp(\"^\"+u.source+\"$(?!\\\\s)\",n.call(u))),s&&(e=u.lastIndex),a=i.call(u,t),s&&a&&(u.lastIndex=u.global?a.index+a[0].length:e),f&&a&&1\"+i+\"\"};e.exports=function(t,e){var r={};r[t]=e(s),n(n.P+n.F*i(function(){var e=\"\"[t]('\"');return e!==e.toLowerCase()||3h&&(d=d.slice(0,h)),a?d+s:s+d}},{161:161,169:169,79:79}],161:[function(t,e,r){\"use strict\";var n=t(167),i=t(79);e.exports=function(t){var e=String(i(this)),r=\"\",o=n(t);if(o<0||o==1/0)throw RangeError(\"Count can't be negative\");for(;0>>=1)&&(e+=e))1&o&&(r+=e);return r}},{167:167,79:79}],162:[function(t,e,r){var n=t(84),i=t(79),o=t(86),a=t(163),s=\"[\"+a+\"]\",c=RegExp(\"^\"+s+s+\"*\"),u=RegExp(s+s+\"*$\"),h=function(t,e,r){var i={},s=o(function(){return!!a[t]()||\"​…\"!=\"​…\"[t]()}),c=i[t]=s?e(d):a[t];r&&(i[r]=c),n(n.P+n.F*s,\"String\",i)},d=h.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,\"\")),2&e&&(t=t.replace(u,\"\")),t};e.exports=h},{163:163,79:79,84:84,86:86}],163:[function(t,e,r){e.exports=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\\ufeff\"},{}],164:[function(t,e,r){var n,i,o,a=t(76),s=t(98),f=t(95),c=t(81),u=t(92),h=u.process,d=u.setImmediate,l=u.clearImmediate,p=u.MessageChannel,b=u.Dispatch,v=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},m=function(t){g.call(t.data)};d&&l||(d=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return y[++v]=function(){s(\"function\"==typeof t?t:Function(t),e)},n(v),v},l=function(t){delete y[t]},\"process\"==t(69)(h)?n=function(t){h.nextTick(a(g,t,1))}:b&&b.now?n=function(t){b.now(a(g,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=m,n=a(o.postMessage,o,1)):u.addEventListener&&\"function\"==typeof postMessage&&!u.importScripts?(n=function(t){u.postMessage(t+\"\",\"*\")},u.addEventListener(\"message\",m,!1)):n=\"onreadystatechange\"in c(\"script\")?function(t){f.appendChild(c(\"script\")).onreadystatechange=function(){f.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),e.exports={set:d,clear:l}},{69:69,76:76,81:81,92:92,95:95,98:98}],165:[function(t,e,r){var n=t(167),i=Math.max,o=Math.min;e.exports=function(t,e){return(t=n(t))<0?i(t+e,0):o(t,e)}},{167:167}],166:[function(t,e,r){var n=t(167),i=t(169);e.exports=function(t){if(void 0===t)return 0;var e=n(t),r=i(e);if(e!==r)throw RangeError(\"Wrong length!\");return r}},{167:167,169:169}],167:[function(t,e,r){var n=Math.ceil,i=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(0y)throw V(\"Wrong length!\");s=a/e}else s=v(r),o=new H(a=s*e);for(d(t,\"_d\",{b:o,o:l,l:a,e:s,v:new X(o)});h>1,u=23===e?D(2,-24)-D(2,-77):0,h=0,d=t<0||0===t&&1/t<0?1:0;for((t=L(t))!=t||t===j?(i=t!=t?1:0,n=f):(n=F(U(t)/q),t*(o=D(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+c?u/o:u*D(2,1-c))*o&&(n++,o/=2),f<=n+c?(i=0,n=f):1<=n+c?(i=(t*o-1)*D(2,e),n+=c):(i=t*D(2,c-1)*D(2,e),n=0));8<=e;a[h++]=255&i,i/=256,e-=8);for(n=n<>1,s=i-7,f=r-1,c=t[f--],u=127&c;for(c>>=7;0>=-s,s+=e;0>8&255]}function f(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function c(t){return n(t,52,8)}function u(t){return n(t,23,4)}function h(t,e,r){x(t[R],e,{get:function(){return this[r]}})}function d(t,e,r,n){var o=k(+r);if(o+e>t[V])throw O(B);var a=t[z]._b,s=o+t[G],f=a.slice(s,s+e);return n?f:f.reverse()}function l(t,e,r,n,i,o){var s=k(+r);if(s+e>t[V])throw O(B);for(var f=t[z]._b,c=s+t[G],u=n(+i),h=0;hX;)(K=H[X++])in T||g(T,K,N[K]);v||(W.constructor=T)}var J=new P(new T(2)),Y=P[R].setInt8;J.setInt8(0,2147483648),J.setInt8(1,2147483649),!J.getInt8(0)&&J.getInt8(1)||m(P[R],{setInt8:function(t,e){Y.call(this,t,e<<24>>24)},setUint8:function(t,e){Y.call(this,t,e<<24>>24)}},!0)}else T=function(t){_(this,T,\"ArrayBuffer\");var e=k(t);this._b=A.call(new Array(e),0),this[V]=e},P=function(t,e,r){_(this,P,\"DataView\"),_(t,T,\"DataView\");var n=t[V],i=S(e);if(i<0||n>24},getUint8:function(t){return d(this,1,t)[0]},getInt16:function(t){var e=d(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=d(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return o(d(this,4,t,arguments[1]))},getUint32:function(t){return o(d(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return i(d(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return i(d(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){l(this,1,t,a,e)},setUint8:function(t,e){l(this,1,t,a,e)},setInt16:function(t,e){l(this,2,t,s,e,arguments[2])},setUint16:function(t,e){l(this,2,t,s,e,arguments[2])},setInt32:function(t,e){l(this,4,t,f,e,arguments[2])},setUint32:function(t,e){l(this,4,t,f,e,arguments[2])},setFloat32:function(t,e){l(this,4,t,u,e,arguments[2])},setFloat64:function(t,e){l(this,8,t,c,e,arguments[2])}});I(T,\"ArrayBuffer\"),I(P,\"DataView\"),g(P[R],y.VIEW,!0),r.ArrayBuffer=T,r.DataView=P},{111:111,123:123,128:128,142:142,152:152,166:166,167:167,169:169,174:174,57:57,60:60,80:80,86:86,92:92,94:94}],174:[function(t,e,r){for(var n,i=t(92),o=t(94),a=t(175),s=a(\"typed_array\"),f=a(\"view\"),c=!(!i.ArrayBuffer||!i.DataView),u=c,h=0,d=\"Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array\".split(\",\");h<9;)(n=i[d[h++]])?(o(n.prototype,s,!0),o(n.prototype,f,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:f}},{175:175,92:92,94:94}],175:[function(t,e,r){var n=0,i=Math.random();e.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+i).toString(36))}},{}],176:[function(t,e,r){var i=t(92).navigator;e.exports=i&&i.userAgent||\"\"},{92:92}],177:[function(t,e,r){var n=t(103);e.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError(\"Incompatible receiver, \"+e+\" required!\");return t}},{103:103}],178:[function(t,e,r){var n=t(92),i=t(74),o=t(111),a=t(179),s=t(123).f;e.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});\"_\"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},{111:111,123:123,179:179,74:74,92:92}],179:[function(t,e,r){r.f=t(180)},{180:180}],180:[function(t,e,r){var n=t(154)(\"wks\"),i=t(175),o=t(92).Symbol,a=\"function\"==typeof o;(e.exports=function(t){return n[t]||(n[t]=a&&o[t]||(a?o:i)(\"Symbol.\"+t))}).store=n},{154:154,175:175,92:92}],181:[function(t,e,r){var n=t(68),i=t(180)(\"iterator\"),o=t(110);e.exports=t(74).getIteratorMethod=function(t){if(null!=t)return t[i]||t[\"@@iterator\"]||o[n(t)]}},{110:110,180:180,68:68,74:74}],182:[function(t,e,r){var n=t(84),i=t(146)(/[\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\");n(n.S,\"RegExp\",{escape:function(t){return i(t)}})},{146:146,84:84}],183:[function(t,e,r){var n=t(84);n(n.P,\"Array\",{copyWithin:t(59)}),t(55)(\"copyWithin\")},{55:55,59:59,84:84}],184:[function(t,e,r){\"use strict\";var n=t(84),i=t(63)(4);n(n.P+n.F*!t(156)([].every,!0),\"Array\",{every:function(t){return i(this,t,arguments[1])}})},{156:156,63:63,84:84}],185:[function(t,e,r){var n=t(84);n(n.P,\"Array\",{fill:t(60)}),t(55)(\"fill\")},{55:55,60:60,84:84}],186:[function(t,e,r){\"use strict\";var n=t(84),i=t(63)(2);n(n.P+n.F*!t(156)([].filter,!0),\"Array\",{filter:function(t){return i(this,t,arguments[1])}})},{156:156,63:63,84:84}],187:[function(t,e,r){\"use strict\";var n=t(84),i=t(63)(6),o=\"findIndex\",a=!0;o in[]&&Array(1)[o](function(){a=!1}),n(n.P+n.F*a,\"Array\",{findIndex:function(t){return i(this,t,1=t.length?(this._t=void 0,i(1)):i(0,\"keys\"==e?r:\"values\"==e?t[r]:[r,t[r]])},\"values\"),o.Arguments=o.Array,n(\"keys\"),n(\"values\"),n(\"entries\")},{107:107,109:109,110:110,168:168,55:55}],194:[function(t,e,r){\"use strict\";var n=t(84),i=t(168),o=[].join;n(n.P+n.F*(t(99)!=Object||!t(156)(o)),\"Array\",{join:function(t){return o.call(i(this),void 0===t?\",\":t)}})},{156:156,168:168,84:84,99:99}],195:[function(t,e,r){\"use strict\";var n=t(84),i=t(168),o=t(167),a=t(169),s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(f||!t(156)(s)),\"Array\",{lastIndexOf:function(t){if(f)return s.apply(this,arguments)||0;var e=i(this),r=a(e.length),n=r-1;for(1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{84:84}],218:[function(t,e,r){var n=t(84),i=Math.exp;n(n.S,\"Math\",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},{84:84}],219:[function(t,e,r){var n=t(84),i=t(112);n(n.S+n.F*(i!=Math.expm1),\"Math\",{expm1:i})},{112:112,84:84}],220:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{fround:t(113)})},{113:113,84:84}],221:[function(t,e,r){var n=t(84),i=Math.abs;n(n.S,\"Math\",{hypot:function(t,e){for(var r,n,o=0,a=0,s=arguments.length,f=0;a>>16)*o+i*(65535&n>>>16)<<16>>>0)}})},{84:84,86:86}],223:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{84:84}],224:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{log1p:t(114)})},{114:114,84:84}],225:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{log2:function(t){return Math.log(t)/Math.LN2}})},{84:84}],226:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{sign:t(116)})},{116:116,84:84}],227:[function(t,e,r){var n=t(84),i=t(112),o=Math.exp;n(n.S+n.F*t(86)(function(){return-2e-17!=!Math.sinh(-2e-17)}),\"Math\",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{112:112,84:84,86:86}],228:[function(t,e,r){var n=t(84),i=t(112),o=Math.exp;n(n.S,\"Math\",{tanh:function(t){var e=i(t=+t),r=i(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{112:112,84:84}],229:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{trunc:function(t){return(0_;_++)i(p,m=w[_])&&!i(l,m)&&h(l,m,u(p,m));(l.prototype=b).constructor=l,t(143)(n,\"Number\",l)}},{122:122,123:123,126:126,128:128,143:143,162:162,171:171,69:69,80:80,86:86,92:92,93:93,97:97}],231:[function(t,e,r){var n=t(84);n(n.S,\"Number\",{EPSILON:Math.pow(2,-52)})},{84:84}],232:[function(t,e,r){var n=t(84),i=t(92).isFinite;n(n.S,\"Number\",{isFinite:function(t){return\"number\"==typeof t&&i(t)}})},{84:84,92:92}],233:[function(t,e,r){var n=t(84);n(n.S,\"Number\",{isInteger:t(102)})},{102:102,84:84}],234:[function(t,e,r){var n=t(84);n(n.S,\"Number\",{isNaN:function(t){return t!=t}})},{84:84}],235:[function(t,e,r){var n=t(84),i=t(102),o=Math.abs;n(n.S,\"Number\",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},{102:102,84:84}],236:[function(t,e,r){var n=t(84);n(n.S,\"Number\",{MAX_SAFE_INTEGER:9007199254740991})},{84:84}],237:[function(t,e,r){var n=t(84);n(n.S,\"Number\",{MIN_SAFE_INTEGER:-9007199254740991})},{84:84}],238:[function(t,e,r){var n=t(84),i=t(137);n(n.S+n.F*(Number.parseFloat!=i),\"Number\",{parseFloat:i})},{137:137,84:84}],239:[function(t,e,r){var n=t(84),i=t(138);n(n.S+n.F*(Number.parseInt!=i),\"Number\",{parseInt:i})},{138:138,84:84}],240:[function(t,e,r){\"use strict\";var n=t(84),i=t(167),o=t(54),a=t(161),s=1..toFixed,f=Math.floor,c=[0,0,0,0,0,0],u=\"Number.toFixed: incorrect invocation!\",h=function(t,e){for(var r=-1,n=e;++r<6;)n+=t*c[r],c[r]=n%1e7,n=f(n/1e7)},d=function(t){for(var e=6,r=0;0<=--e;)r+=c[e],c[e]=f(r/t),r=r%t*1e7},l=function(){for(var t=6,e=\"\";0<=--t;)if(\"\"!==e||0===t||0!==c[t]){var r=String(c[t]);e=\"\"===e?r:e+a.call(\"0\",7-r.length)+r}return e},p=function(t,e,r){return 0===e?r:e%2==1?p(t,e-1,r*t):p(t*t,e/2,r)};n(n.P+n.F*(!!s&&(\"0.000\"!==8e-5.toFixed(3)||\"1\"!==.9.toFixed(0)||\"1.25\"!==1.255.toFixed(2)||\"1000000000000000128\"!==(0xde0b6b3a7640080).toFixed(0))||!t(86)(function(){s.call({})})),\"Number\",{toFixed:function(t){var e,r,n,s,f=o(this,u),c=i(t),v=\"\",y=\"0\";if(c<0||20o;)!function(e){var r,o,a,s=i?e.ok:e.fail,f=e.resolve,c=e.reject,u=e.domain;try{s?(i||(2==t._h&&N(t),t._h=1),!0===s?r=n:(u&&u.enter(),r=s(n),u&&(u.exit(),a=!0)),r===e.promise?c(E(\"Promise-chain cycle\")):(o=P(r))?o.call(r,f,c):f(r)):c(n)}catch(t){u&&!a&&u.exit(),c(t)}}(r[o++]);t._c=[],t._n=!1,e&&!t._h&&O(t)})}},O=function(t){y.call(f,function(){var e,r,n,i=t._v,o=j(t);if(o&&(e=w(function(){I?k.emit(\"unhandledRejection\",i,t):(r=f.onunhandledrejection)?r({promise:t,reason:i}):(n=f.console)&&n.error&&n.error(\"Unhandled promise rejection\",i)}),t._h=I||j(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){y.call(f,function(){var e;I?k.emit(\"rejectionHandled\",t):(e=f.onrejectionhandled)&&e({promise:t,reason:t._v})})},L=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),C(e,!0))},D=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw E(\"Promise can't be resolved itself\");(e=P(t))?g(function(){var n={_w:r,_d:!1};try{e.call(t,c(D,n,1),c(L,n,1))}catch(t){L.call(n,t)}}):(r._v=t,r._s=1,C(r,!1))}catch(t){L.call({_w:r,_d:!1},t)}}};T||(A=function(t){p(this,A,\"Promise\",\"_h\"),l(t),n.call(this);try{t(c(D,this,1),c(L,this,1))}catch(t){L.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=t(142)(A.prototype,{then:function(t,e){var r=B(v(this,A));return r.ok=\"function\"!=typeof t||t,r.fail=\"function\"==typeof e&&e,r.domain=I?k.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&C(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=c(D,t,1),this.reject=c(L,t,1)},m.f=B=function(t){return t===A||t===a?new o(t):i(t)}),h(h.G+h.W+h.F*!T,{Promise:A}),t(152)(A,\"Promise\"),t(151)(\"Promise\"),a=t(74).Promise,h(h.S+h.F*!T,\"Promise\",{reject:function(t){var e=B(this);return(0,e.reject)(t),e.promise}}),h(h.S+h.F*(s||!T),\"Promise\",{resolve:function(t){return S(s&&this===a?A:this,t)}}),h(h.S+h.F*!(T&&t(108)(function(t){A.all(t).catch(R)})),\"Promise\",{all:function(t){var e=this,r=B(e),n=r.resolve,i=r.reject,o=w(function(){var r=[],o=0,a=1;b(t,!1,function(t){var s=o++,f=!1;r.push(void 0),a++,e.resolve(t).then(function(t){f||(f=!0,r[s]=t,--a||n(r))},i)}),--a||n(r)});return o.e&&i(o.v),r.promise},race:function(t){var e=this,r=B(e),n=r.reject,i=w(function(){b(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return i.e&&n(i.v),r.promise}})},{103:103,108:108,111:111,119:119,120:120,139:139,140:140,142:142,151:151,152:152,155:155,164:164,176:176,180:180,53:53,57:57,68:68,74:74,76:76,84:84,90:90,92:92}],262:[function(t,e,r){var n=t(84),i=t(53),o=t(58),a=(t(92).Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!t(86)(function(){a(function(){})}),\"Reflect\",{apply:function(t,e,r){var n=i(t),f=o(r);return a?a(n,e,f):s.call(n,e,f)}})},{53:53,58:58,84:84,86:86,92:92}],263:[function(t,e,r){var n=t(84),i=t(122),o=t(53),a=t(58),s=t(103),f=t(86),c=t(67),u=(t(92).Reflect||{}).construct,h=f(function(){function t(){}return!(u(function(){},[],t)instanceof t)}),d=!f(function(){u(function(){})});n(n.S+n.F*(h||d),\"Reflect\",{construct:function(t,e){o(t),a(e);var r=arguments.length<3?t:o(arguments[2]);if(d&&!h)return u(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(c.apply(t,n))}var f=r.prototype,l=i(s(f)?f:Object.prototype),p=Function.apply.call(t,l,e);return s(p)?p:l}})},{103:103,122:122,53:53,58:58,67:67,84:84,86:86,92:92}],264:[function(t,e,r){var n=t(123),i=t(84),o=t(58),a=t(171);i(i.S+i.F*t(86)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),\"Reflect\",{defineProperty:function(t,e,r){o(t),e=a(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{123:123,171:171,58:58,84:84,86:86}],265:[function(t,e,r){var n=t(84),i=t(126).f,o=t(58);n(n.S,\"Reflect\",{deleteProperty:function(t,e){var r=i(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{126:126,58:58,84:84}],266:[function(t,e,r){\"use strict\";var n=t(84),i=t(58),o=function(t){this._t=i(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)};t(106)(o,\"Object\",function(){var t,e=this,r=e._k;do{if(e._i>=r.length)return{value:void 0,done:!0}}while(!((t=r[e._i++])in e._t));return{value:t,done:!1}}),n(n.S,\"Reflect\",{enumerate:function(t){return new o(t)}})},{106:106,58:58,84:84}],267:[function(t,e,r){var n=t(126),i=t(84),o=t(58);i(i.S,\"Reflect\",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{126:126,58:58,84:84}],268:[function(t,e,r){var n=t(84),i=t(130),o=t(58);n(n.S,\"Reflect\",{getPrototypeOf:function(t){return i(o(t))}})},{130:130,58:58,84:84}],269:[function(t,e,r){var i=t(126),o=t(130),a=t(93),s=t(84),f=t(103),c=t(58);s(s.S,\"Reflect\",{get:function n(t,e){var r,s,u=arguments.length<3?t:arguments[2];return c(t)===u?t[e]:(r=i.f(t,e))?a(r,\"value\")?r.value:void 0!==r.get?r.get.call(u):void 0:f(s=o(t))?n(s,e,u):void 0}})},{103:103,126:126,130:130,58:58,84:84,93:93}],270:[function(t,e,r){var n=t(84);n(n.S,\"Reflect\",{has:function(t,e){return e in t}})},{84:84}],271:[function(t,e,r){var n=t(84),i=t(58),o=Object.isExtensible;n(n.S,\"Reflect\",{isExtensible:function(t){return i(t),!o||o(t)}})},{58:58,84:84}],272:[function(t,e,r){var n=t(84);n(n.S,\"Reflect\",{ownKeys:t(136)})},{136:136,84:84}],273:[function(t,e,r){var n=t(84),i=t(58),o=Object.preventExtensions;n(n.S,\"Reflect\",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},{58:58,84:84}],274:[function(t,e,r){var n=t(84),i=t(150);i&&n(n.S,\"Reflect\",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},{150:150,84:84}],275:[function(t,e,r){var i=t(123),o=t(126),a=t(130),s=t(93),f=t(84),c=t(141),u=t(58),h=t(103);f(f.S,\"Reflect\",{set:function n(t,e,r){var f,d,l=arguments.length<4?t:arguments[3],p=o.f(u(t),e);if(!p){if(h(d=a(t)))return n(d,e,r,l);p=c(0)}if(s(p,\"value\")){if(!1===p.writable||!h(l))return!1;if(f=o.f(l,e)){if(f.get||f.set||!1===f.writable)return!1;f.value=r,i.f(l,e,f)}else i.f(l,e,c(0,r));return!0}return void 0!==p.set&&(p.set.call(l,r),!0)}})},{103:103,123:123,126:126,130:130,141:141,58:58,84:84,93:93}],276:[function(t,e,r){var n=t(92),i=t(97),o=t(123).f,a=t(128).f,s=t(104),f=t(88),c=n.RegExp,u=c,h=c.prototype,d=/a/g,l=/a/g,p=new c(d)!==d;if(t(80)&&(!p||t(86)(function(){return l[t(180)(\"match\")]=!1,c(d)!=d||c(l)==l||\"/a/i\"!=c(d,\"i\")}))){c=function(t,e){var r=this instanceof c,n=s(t),o=void 0===e;return!r&&n&&t.constructor===c&&o?t:i(p?new u(n&&!o?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&o?f.call(t):e),r?this:h,c)};for(var b=a(u),v=0;b.length>v;)!function(t){t in c||o(c,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})}(b[v++]);(h.constructor=c).prototype=h,t(143)(n,\"RegExp\",c)}t(151)(\"RegExp\")},{104:104,123:123,128:128,143:143,151:151,180:180,80:80,86:86,88:88,92:92,97:97}],277:[function(t,e,r){\"use strict\";var n=t(145);t(84)({target:\"RegExp\",proto:!0,forced:n!==/./.exec},{exec:n})},{145:145,84:84}],278:[function(t,e,r){t(80)&&\"g\"!=/./g.flags&&t(123).f(RegExp.prototype,\"flags\",{configurable:!0,get:t(88)})},{123:123,80:80,88:88}],279:[function(t,e,r){\"use strict\";var n=t(58),i=t(169),o=t(56),a=t(144);t(87)(\"match\",1,function(t,e,r,s){return[function(r){var n=t(this),i=null==r?void 0:r[e];return void 0!==i?i.call(r,n):new RegExp(r)[e](String(n))},function(t){var e=s(r,t,this);if(e.done)return e.value;var f=n(t),c=String(this);if(!f.global)return a(f,c);for(var h,u=f.unicode,d=[],l=f.lastIndex=0;null!==(h=a(f,c));){var p=String(h[0]);\"\"===(d[l]=p)&&(f.lastIndex=o(c,i(f.lastIndex),u)),l++}return 0===l?null:d}]})},{144:144,169:169,56:56,58:58,87:87}],280:[function(t,e,r){\"use strict\";var n=t(58),i=t(170),o=t(169),a=t(167),s=t(56),f=t(144),c=Math.max,u=Math.min,h=Math.floor,d=/\\$([$&`']|\\d\\d?|<[^>]*>)/g,l=/\\$([$&`']|\\d\\d?)/g,p=function(t){return void 0===t?t:String(t)};t(87)(\"replace\",2,function(t,e,r,b){function v(t,e,n,o,a,s){var f=n+t.length,c=o.length,u=l;return void 0!==a&&(a=i(a),u=d),r.call(s,u,function(r,i){var s;switch(i.charAt(0)){case\"$\":return\"$\";case\"&\":return t;case\"`\":return e.slice(0,n);case\"'\":return e.slice(f);case\"<\":s=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return r;if(c>>0,b=new RegExp(t.source,u+\"g\");(o=c.call(b,i))&&!((a=b.lastIndex)>h&&(f.push(i.slice(h,o.index)),1=p));)b.lastIndex===o.index&&b.lastIndex++;return h===i[l]?!s&&b.test(\"\")||f.push(\"\"):f.push(i.slice(h)),f[l]>p?f.slice(0,p):f}:\"0\".split(void 0,0)[l]?function(t,e){return void 0===t&&0===e?[]:r.call(this,t,e)}:r,[function(r,n){var i=t(this),o=null==r?void 0:r[e];return void 0!==o?o.call(r,i,n):b.call(String(i),r,n)},function(t,e){var n=u(b,t,this,e,b!==r);if(n.done)return n.value;var c=i(t),d=String(this),l=o(c,RegExp),v=c.unicode,y=(c.ignoreCase?\"i\":\"\")+(c.multiline?\"m\":\"\")+(c.unicode?\"u\":\"\")+(p?\"y\":\"g\"),g=new l(p?c:\"^(?:\"+c.source+\")\",y),m=void 0===e?4294967295:e>>>0;if(0===m)return[];if(0===d.length)return null===f(g,d)?[d]:[];for(var w=0,_=0,S=[];_>10),e%1024+56320))}return r.join(\"\")}})},{165:165,84:84}],295:[function(t,e,r){\"use strict\";var n=t(84),i=t(158);n(n.P+n.F*t(85)(\"includes\"),\"String\",{includes:function(t){return!!~i(this,t,\"includes\").indexOf(t,1=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{107:107,157:157}],298:[function(t,e,r){\"use strict\";t(159)(\"link\",function(t){return function(e){return t(this,\"a\",\"href\",e)}})},{159:159}],299:[function(t,e,r){var n=t(84),i=t(168),o=t(169);n(n.S,\"String\",{raw:function(t){for(var e=i(t.raw),r=o(e.length),n=arguments.length,a=[],s=0;so;)i(D,e=r[o++])||e==O||e==f||n.push(e);return n},$=function(t){for(var e,r=t===U,n=B(r?F:w(t)),o=[],a=0;n.length>a;)!i(D,e=n[a++])||r&&!i(U,e)||o.push(D[e]);return o};q||(s((T=function(){if(this instanceof T)throw TypeError(\"Symbol is not a constructor!\");var t=d(0et;)l(tt[et++]);for(var rt=A(l.store),nt=0;rt.length>nt;)b(rt[nt++]);a(a.S+a.F*!q,\"Symbol\",{for:function(t){return i(L,t+=\"\")?L[t]:L[t]=T(t)},keyFor:function(t){if(!W(t))throw TypeError(t+\" is not a symbol!\");for(var e in L)if(L[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!q,\"Object\",{create:function(t,e){return void 0===e?E(t):X(E(t),e)},defineProperty:H,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:$}),P&&a(a.S+a.F*(!q||c(function(){var t=T();return\"[null]\"!=C([t])||\"{}\"!=C({a:t})||\"{}\"!=C(Object(t))})),\"JSON\",{stringify:function(t){for(var e,r,n=[t],i=1;arguments.length>i;)n.push(arguments[i++]);if(r=e=n[1],(m(e)||void 0!==t)&&!W(t))return y(e)||(e=function(t,e){if(\"function\"==typeof r&&(e=r.call(this,t,e)),!W(e))return e}),n[1]=e,C.apply(P,n)}}),T.prototype[j]||t(94)(T.prototype,j,T.prototype.valueOf),h(T,\"Symbol\"),h(Math,\"Math\",!0),h(n.JSON,\"JSON\",!0)},{101:101,103:103,111:111,117:117,122:122,123:123,126:126,127:127,128:128,129:129,132:132,133:133,141:141,143:143,152:152,154:154,168:168,171:171,175:175,178:178,179:179,180:180,58:58,80:80,83:83,84:84,86:86,92:92,93:93,94:94}],308:[function(t,e,r){\"use strict\";var n=t(84),i=t(174),o=t(173),a=t(58),s=t(165),f=t(169),c=t(103),u=t(92).ArrayBuffer,h=t(155),d=o.ArrayBuffer,l=o.DataView,p=i.ABV&&u.isView,b=d.prototype.slice,v=i.VIEW;n(n.G+n.W+n.F*(u!==d),{ArrayBuffer:d}),n(n.S+n.F*!i.CONSTR,\"ArrayBuffer\",{isView:function(t){return p&&p(t)||c(t)&&v in t}}),n(n.P+n.U+n.F*t(86)(function(){return!new d(2).slice(1,void 0).byteLength}),\"ArrayBuffer\",{slice:function(t,e){if(void 0!==b&&void 0===e)return b.call(a(this),t);for(var r=a(this).byteLength,n=s(t,r),i=s(void 0===e?r:e,r),o=new(h(this,d))(f(i-n)),c=new l(this),u=new l(o),p=0;n>>0,a=r>>>0;return(e>>>0)+(n>>>0)+((i&a|(i|a)&~(i+a>>>0))>>>31)|0}})},{84:84}],335:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{imulh:function(t,e){var r=+t,n=+e,i=65535&r,o=65535&n,a=r>>16,s=n>>16,f=(a*o>>>0)+(i*o>>>16);return a*s+(f>>16)+((i*s>>>0)+(65535&f)>>16)}})},{84:84}],336:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{isubh:function(t,e,r,n){var i=t>>>0,a=r>>>0;return(e>>>0)-(n>>>0)-((~i&a|~(i^a)&i-a>>>0)>>>31)|0}})},{84:84}],337:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{RAD_PER_DEG:180/Math.PI})},{84:84}],338:[function(t,e,r){var n=t(84),i=Math.PI/180;n(n.S,\"Math\",{radians:function(t){return t*i}})},{84:84}],339:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{scale:t(115)})},{115:115,84:84}],340:[function(t,e,r){var n=t(84);n(n.S,\"Math\",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:0>>16,s=n>>>16,f=(a*o>>>0)+(i*o>>>16);return a*s+(f>>>16)+((i*s>>>0)+(65535&f)>>>16)}})},{84:84}],342:[function(t,e,r){\"use strict\";var n=t(84),i=t(170),o=t(53),a=t(123);t(80)&&n(n.P+t(125),\"Object\",{__defineGetter__:function(t,e){a.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},{123:123,125:125,170:170,53:53,80:80,84:84}],343:[function(t,e,r){\"use strict\";var n=t(84),i=t(170),o=t(53),a=t(123);t(80)&&n(n.P+t(125),\"Object\",{__defineSetter__:function(t,e){a.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},{123:123,125:125,170:170,53:53,80:80,84:84}],344:[function(t,e,r){var n=t(84),i=t(135)(!0);n(n.S,\"Object\",{entries:function(t){return i(t)}})},{135:135,84:84}],345:[function(t,e,r){var n=t(84),i=t(136),o=t(168),a=t(126),s=t(75);n(n.S,\"Object\",{getOwnPropertyDescriptors:function(t){for(var e,r,n=o(t),f=a.f,c=i(n),u={},h=0;c.length>h;)void 0!==(r=f(n,e=c[h++]))&&s(u,e,r);return u}})},{126:126,136:136,168:168,75:75,84:84}],346:[function(t,e,r){\"use strict\";var n=t(84),i=t(170),o=t(171),a=t(130),s=t(126).f;t(80)&&n(n.P+t(125),\"Object\",{__lookupGetter__:function(t){var e,r=i(this),n=o(t,!0);do{if(e=s(r,n))return e.get}while(r=a(r))}})},{125:125,126:126,130:130,170:170,171:171,80:80,84:84}],347:[function(t,e,r){\"use strict\";var n=t(84),i=t(170),o=t(171),a=t(130),s=t(126).f;t(80)&&n(n.P+t(125),\"Object\",{__lookupSetter__:function(t){var e,r=i(this),n=o(t,!0);do{if(e=s(r,n))return e.set}while(r=a(r))}})},{125:125,126:126,130:130,170:170,171:171,80:80,84:84}],348:[function(t,e,r){var n=t(84),i=t(135)(!1);n(n.S,\"Object\",{values:function(t){return i(t)}})},{135:135,84:84}],349:[function(t,e,r){\"use strict\";var n=t(84),i=t(92),o=t(74),a=t(119)(),s=t(180)(\"observable\"),f=t(53),c=t(58),u=t(57),h=t(142),d=t(94),l=t(90),p=l.RETURN,b=function(t){return null==t?void 0:f(t)},v=function(t){var e=t._c;e&&(t._c=void 0,e())},y=function(t){return void 0===t._o},g=function(t){y(t)||(t._o=void 0,v(t))},m=function(t,e){c(t),this._c=void 0,this._o=t,t=new w(this);try{var r=e(t),n=r;null!=r&&(\"function\"==typeof r.unsubscribe?r=function(){n.unsubscribe()}:f(r),this._c=r)}catch(e){return void t.error(e)}y(this)&&v(this)};m.prototype=h({},{unsubscribe:function(){g(this)}});var w=function(t){this._s=t};w.prototype=h({},{next:function(t){var e=this._s;if(!y(e)){var r=e._o;try{var n=b(r.next);if(n)return n.call(r,t)}catch(t){try{g(e)}finally{throw t}}}},error:function(t){var e=this._s;if(y(e))throw t;var r=e._o;e._o=void 0;try{var n=b(r.error);if(!n)throw t;t=n.call(r,t)}catch(t){try{v(e)}finally{throw t}}return v(e),t},complete:function(t){var e=this._s;if(!y(e)){var r=e._o;e._o=void 0;try{var n=b(r.complete);t=n?n.call(r,t):void 0}catch(t){try{v(e)}finally{throw t}}return v(e),t}}});var _=function(t){u(this,_,\"Observable\",\"_f\")._f=f(t)};h(_.prototype,{subscribe:function(t){return new m(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||i.Promise)(function(r,n){f(t);var i=e.subscribe({next:function(e){try{return t(e)}catch(t){n(t),i.unsubscribe()}},error:n,complete:r})})}}),h(_,{from:function(t){var e=\"function\"==typeof this?this:_,r=b(c(t)[s]);if(r){var n=c(r.call(t));return n.constructor===e?n:new e(function(t){return n.subscribe(t)})}return new e(function(e){var r=!1;return a(function(){if(!r){try{if(l(t,!1,function(t){if(e.next(t),r)return p})===p)return}catch(t){if(r)throw t;return void e.error(t)}e.complete()}}),function(){r=!0}})},of:function(){for(var t=0,e=arguments.length,r=new Array(e);tr?e=(\"rmd160\"===t?new c:u(t)).update(e).digest():e.lengthf?e=t(e):e.length>>1];r=f.r28shl(r,a),n=f.r28shl(n,a),f.pc2(r,n,t.keys,i)}},i.prototype._update=function(t,e,r,n){var i=this._desState,o=f.readUInt32BE(t,e),a=f.readUInt32BE(t,e+4);f.ip(o,a,i.tmp,0),o=i.tmp[0],a=i.tmp[1],\"encrypt\"===this.type?this._encrypt(i,o,a,i.tmp,0):this._decrypt(i,o,a,i.tmp,0),o=i.tmp[0],a=i.tmp[1],f.writeUInt32BE(r,o,n),f.writeUInt32BE(r,a,n+4)},i.prototype._pad=function(t,e){for(var r=t.length-e,n=e;n>>0,o=l}f.rip(a,o,n,i)},i.prototype._decrypt=function(t,e,r,n,i){for(var o=r,a=e,s=t.keys.length-2;0<=s;s-=2){var c=t.keys[s],u=t.keys[s+1];f.expand(o,t.tmp,0),c^=t.tmp[0],u^=t.tmp[1];var h=f.substitute(c,u),l=o;o=(a^f.permute(h))>>>0,a=l}f.rip(o,a,n,i)}},{388:388,432:432,437:437}],392:[function(t,e,r){\"use strict\";function n(t,e){o.equal(e.length,24,\"Invalid key length\");var r=e.slice(0,8),n=e.slice(8,16),i=e.slice(16,24);this.ciphers=\"encrypt\"===t?[c.create({type:\"encrypt\",key:r}),c.create({type:\"decrypt\",key:n}),c.create({type:\"encrypt\",key:i})]:[c.create({type:\"decrypt\",key:i}),c.create({type:\"encrypt\",key:n}),c.create({type:\"decrypt\",key:r})]}function i(t){f.call(this,t);var e=new n(this.type,this.options.key);this._edeState=e}var o=t(437),a=t(432),s=t(388),f=s.Cipher,c=s.DES;a(i,f),(e.exports=i).create=function(t){return new i(t)},i.prototype._update=function(t,e,r,n){var i=this._edeState;i.ciphers[0]._update(t,e,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},i.prototype._pad=c.prototype._pad,i.prototype._unpad=c.prototype._unpad},{388:388,432:432,437:437}],393:[function(t,e,r){\"use strict\";r.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},r.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},r.ip=function(t,e,r,n){for(var i=0,o=0,a=6;0<=a;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;0<=a;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},r.rip=function(t,e,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;0<=s;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;0<=s;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.pc1=function(t,e,r,n){for(var i=0,o=0,a=7;5<=a;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.r28shl=function(t,e){return t<>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(t,e,r,i){for(var o=0,a=0,s=n.length>>>1,f=0;f>>n[f]&1;for(f=s;f>>n[f]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},r.expand=function(t,e,r){var n=0,i=0;n=(1&t)<<5|t>>>27;for(var o=23;15<=o;o-=4)n<<=6,n|=t>>>o&63;for(o=11;3<=o;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(t,e){for(var r=0,n=0;n<4;n++){r<<=4,r|=i[64*n+(t>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=i[256+64*n+(e>>>18-6*n&63)]}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(t){for(var e=0,r=0;r>>o[r]&1;return e>>>0},r.padSplit=function(t,e,r){for(var n=t.toString(2);n.lengtht;)r.ishrn(1);if(r.isEven()&&r.iadd(d),r.testn(1)||r.iadd(l),e.cmp(l)){if(!e.cmp(p))for(;r.mod(b).cmp(v);)r.iadd(g)}else for(;r.mod(c).cmp(y);)r.iadd(g);if(i(n=r.shrn(1))&&i(r)&&o(n)&&o(r)&&h.test(n)&&h.test(r))return r}}var s=t(459);(e.exports=a).simpleSieve=i,a.fermatTest=o;var f=t(18),c=new f(24),h=new(t(436)),d=new f(1),l=new f(2),p=new f(5),b=(new f(16),new f(8),new f(10)),v=new f(3),y=(new f(7),new f(11)),g=new f(4),m=(new f(12),null)},{18:18,436:436,459:459}],397:[function(t,e,r){e.exports={modp1:{gen:\"02\",prime:\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff\"},modp2:{gen:\"02\",prime:\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff\"},modp5:{gen:\"02\",prime:\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff\"},modp14:{gen:\"02\",prime:\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff\"},modp15:{gen:\"02\",prime:\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff\"},modp16:{gen:\"02\",prime:\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff\"},modp17:{gen:\"02\",prime:\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff\"},modp18:{gen:\"02\",prime:\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff\"}}},{}],398:[function(t,e,r){\"use strict\";var n=r;n.version=t(413).version,n.utils=t(412),n.rand=t(19),n.curve=t(401),n.curves=t(404),n.ec=t(405),n.eddsa=t(408)},{19:19,401:401,404:404,405:405,408:408,412:412,413:413}],399:[function(t,e,r){\"use strict\";function n(t,e){this.type=t,this.p=new o(e.p,16),this.red=e.prime?o.red(e.prime):o.mont(this.p),this.zero=new o(0).toRed(this.red),this.one=new o(1).toRed(this.red),this.two=new o(2).toRed(this.red),this.n=e.n&&new o(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||0>1]):a.mixedAdd(i[-c-1>>1].neg()):0>1]):a.add(i[-c-1>>1].neg())}return\"affine\"===t.type?a.toP():a},n.prototype._wnafMulAdd=function(t,e,r,n,i){for(var o=this._wnafT1,a=this._wnafT2,s=this._wnafT3,u=0,h=0;h>1]:x<0&&(d=a[m][-x-1>>1].neg()),S=\"affine\"===d.type?S.mixedAdd(d):S.add(d))}}for(h=0;h=Math.ceil((t.bitLength()+1)/e.step)},i.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i\":\"\"},i.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},i.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=n.redAdd(e),a=o.redSub(r),s=n.redSub(e),f=i.redMul(a),c=o.redMul(s),u=i.redMul(s),h=a.redMul(o);return this.curve.point(f,c,h,u)},i.prototype._projDbl=function(){var t,e,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var s=(a=this.curve._mulA(i)).redAdd(o);if(this.zOne)t=n.redSub(i).redSub(o).redMul(s.redSub(this.curve.two)),e=s.redMul(a.redSub(o)),r=s.redSqr().redSub(s).redSub(s);else{var f=this.z.redSqr(),c=s.redSub(f).redISub(f);t=n.redSub(i).redISub(o).redMul(c),e=s.redMul(a.redSub(o)),r=s.redMul(c)}}else{var a=i.redAdd(o);f=this.curve._mulC(this.z).redSqr(),c=a.redSub(f).redSub(f);t=this.curve._mulC(n.redISub(a)).redMul(c),e=this.curve._mulC(a).redMul(i.redISub(o)),r=a.redMul(c)}return this.curve.point(t,e,r)},i.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},i.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),r=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),n=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=r.redSub(e),a=i.redSub(n),s=i.redAdd(n),f=r.redAdd(e),c=o.redMul(a),u=s.redMul(f),h=o.redMul(f),d=a.redMul(s);return this.curve.point(c,u,d,h)},i.prototype._projAdd=function(t){var e,r,n=this.z.redMul(t.z),i=n.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),f=i.redSub(s),c=i.redAdd(s),u=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),h=n.redMul(f).redMul(u);return r=this.curve.twisted?(e=n.redMul(c).redMul(a.redSub(this.curve._mulA(o))),f.redMul(c)):(e=n.redMul(c).redMul(a.redSub(o)),this.curve._mulC(f).redMul(c)),this.curve.point(h,e,r)},i.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},i.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},i.prototype.mulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!1)},i.prototype.jmulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!0)},i.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},i.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},i.prototype.getX=function(){return this.normalize(),this.x.fromRed()},i.prototype.getY=function(){return this.normalize(),this.y.fromRed()},i.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},i.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),0<=r.cmp(this.curve.p))return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},i.prototype.toP=i.prototype.normalize,i.prototype.mixedAdd=i.prototype.add},{18:18,398:398,401:401,432:432}],401:[function(t,e,r){\"use strict\";var n=r;n.base=t(399),n.short=t(403),n.mont=t(402),n.edwards=t(400)},{399:399,400:400,402:402,403:403}],402:[function(t,e,r){\"use strict\";function n(t){f.call(this,\"mont\",t),this.a=new a(t.a,16).toRed(this.red),this.b=new a(t.b,16).toRed(this.red),this.i4=new a(4).toRed(this.red).redInvm(),this.two=new a(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function i(t,e,r){f.BasePoint.call(this,t,\"projective\"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new a(e,16),this.z=new a(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}var o=t(401),a=t(18),s=t(432),f=o.base,u=t(398).utils;s(n,f),(e.exports=n).prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},s(i,f.BasePoint),n.prototype.decodePoint=function(t,e){return this.point(u.toArray(t,e),1)},n.prototype.point=function(t,e){return new i(this,t,e)},n.prototype.pointFromJSON=function(t){return i.fromJSON(this,t)},i.prototype.precompute=function(){},i.prototype._encode=function(){return this.getX().toArray(\"be\",this.curve.p.byteLength())},i.fromJSON=function(t,e){return new i(t,e[0],e[1]||t.one)},i.prototype.inspect=function(){return this.isInfinity()?\"\":\"\"},i.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},i.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),n=this.x.redSub(this.z).redSqr(),i=e.redSub(n),o=e.redMul(n),a=i.redMul(n.redAdd(this.curve.a24.redMul(i)));return this.curve.point(o,a)},i.prototype.add=function(){throw new Error(\"Not supported on Montgomery curve\")},i.prototype.diffAdd=function(t,e){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=t.x.redAdd(t.z),a=t.x.redSub(t.z).redMul(r),s=i.redMul(n),f=e.z.redMul(a.redAdd(s).redSqr()),c=e.x.redMul(a.redISub(s).redSqr());return this.curve.point(f,c)},i.prototype.mul=function(t){for(var e=t.clone(),r=this,n=this.curve.point(null,null),o=[];0!==e.cmpn(0);e.iushrn(1))o.push(e.andln(1));for(var a=o.length-1;0<=a;a--)0===o[a]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},i.prototype.mulAdd=function(){throw new Error(\"Not supported on Montgomery curve\")},i.prototype.jumlAdd=function(){throw new Error(\"Not supported on Montgomery curve\")},i.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},i.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},i.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{18:18,398:398,401:401,432:432}],403:[function(t,e,r){\"use strict\";function n(t){u.call(this,\"short\",t),this.a=new f(t.a,16).toRed(this.red),this.b=new f(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function i(t,e,r,n){u.BasePoint.call(this,t,\"affine\"),this.inf=null===e&&null===r?(this.x=null,!(this.y=null)):(this.x=new f(e,16),this.y=new f(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),!1)}function o(t,e,r,n){u.BasePoint.call(this,t,\"jacobian\"),this.z=null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,new f(0)):(this.x=new f(e,16),this.y=new f(r,16),new f(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}var a=t(401),s=t(398),f=t(18),c=t(432),u=a.base,h=s.utils.assert;c(n,u),(e.exports=n).prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new f(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new f(t.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(e))?r=i[0]:(r=i[1],h(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map(function(t){return{a:new f(t.a,16),b:new f(t.b,16)}}):this._getEndoBasis(r)}}},n.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:f.mont(t),r=new f(2).toRed(e).redInvm(),n=r.redNeg(),i=new f(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},n.prototype._getEndoBasis=function(t){for(var e,r,n,i,o,a,s,c,u,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=t,l=this.n.clone(),p=new f(1),b=new f(0),v=new f(0),y=new f(1),g=0;0!==d.cmpn(0);){var m=l.div(d);c=l.sub(m.mul(d)),u=v.sub(m.mul(p));var w=y.sub(m.mul(b));if(!n&&c.cmp(h)<0)e=s.neg(),r=p,n=c.neg(),i=u;else if(n&&2==++g)break;l=d,d=s=c,v=p,p=u,y=b,b=w}o=c.neg(),a=u;var _=n.sqr().add(i.sqr());return 0<=o.sqr().add(a.sqr()).cmp(_)&&(o=e,a=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:n,b:i},{a:o,b:a}]},n.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),f=i.mul(r.b),c=o.mul(n.b);return{k1:t.sub(a).sub(s),k2:f.add(c).neg()}},n.prototype.pointFromX=function(t,e){(t=new f(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error(\"invalid point\");var i=n.fromRed().isOdd();return(e&&!i||!e&&i)&&(n=n.redNeg()),this.point(t,n)},n.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},n.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o\":\"\"},i.prototype.isInfinity=function(){return this.inf},i.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},i.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},i.prototype.getX=function(){return this.x.fromRed()},i.prototype.getY=function(){return this.y.fromRed()},i.prototype.mul=function(t){return t=new f(t,16),this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},i.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},i.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},i.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},i.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},i.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},c(o,u.BasePoint),n.prototype.jpoint=function(t,e,r){return new o(this,t,e,r)},o.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},o.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},o.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(r.redMul(this.z)),s=n.redSub(i),f=o.redSub(a);if(0===s.cmpn(0))return 0!==f.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),h=n.redMul(c),d=f.redSqr().redIAdd(u).redISub(h).redISub(h),l=f.redMul(h.redISub(d)).redISub(o.redMul(u)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(d,l,p)},o.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var f=a.redSqr(),c=f.redMul(a),u=r.redMul(f),h=s.redSqr().redIAdd(c).redISub(u).redISub(u),d=s.redMul(u.redISub(h)).redISub(i.redMul(c)),l=this.z.redMul(a);return this.curve.jpoint(h,d,l)},o.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var e=this,r=0;r\":\"\"},o.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{18:18,398:398,401:401,432:432}],404:[function(t,e,r){\"use strict\";function n(t){\"short\"===t.type?this.curve=new s.curve.short(t):\"edwards\"===t.type?this.curve=new s.curve.edwards(t):this.curve=new s.curve.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,f(this.g.validate(),\"Invalid curve\"),f(this.g.mul(this.n).isInfinity(),\"Invalid curve, G*N != O\")}function i(t,e){Object.defineProperty(o,t,{configurable:!0,enumerable:!0,get:function(){var r=new n(e);return Object.defineProperty(o,t,{configurable:!0,enumerable:!0,value:r}),r}})}var c,o=r,a=t(417),s=t(398),f=s.utils.assert;o.PresetCurve=n,i(\"p192\",{type:\"short\",prime:\"p192\",p:\"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff\",a:\"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc\",b:\"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1\",n:\"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831\",hash:a.sha256,gRed:!1,g:[\"188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012\",\"07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811\"]}),i(\"p224\",{type:\"short\",prime:\"p224\",p:\"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001\",a:\"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe\",b:\"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4\",n:\"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d\",hash:a.sha256,gRed:!1,g:[\"b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21\",\"bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34\"]}),i(\"p256\",{type:\"short\",prime:null,p:\"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff\",a:\"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc\",b:\"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b\",n:\"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551\",hash:a.sha256,gRed:!1,g:[\"6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296\",\"4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5\"]}),i(\"p384\",{type:\"short\",prime:null,p:\"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff\",a:\"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc\",b:\"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef\",n:\"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973\",hash:a.sha384,gRed:!1,g:[\"aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7\",\"3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f\"]}),i(\"p521\",{type:\"short\",prime:null,p:\"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff\",a:\"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc\",b:\"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00\",n:\"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409\",hash:a.sha512,gRed:!1,g:[\"000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66\",\"00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650\"]}),i(\"curve25519\",{type:\"mont\",prime:\"p25519\",p:\"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed\",a:\"76d06\",b:\"1\",n:\"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed\",hash:a.sha256,gRed:!1,g:[\"9\"]}),i(\"ed25519\",{type:\"edwards\",prime:\"p25519\",p:\"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed\",a:\"-1\",c:\"1\",d:\"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3\",n:\"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed\",hash:a.sha256,gRed:!1,g:[\"216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a\",\"6666666666666666666666666666666666666666666666666666666666666658\"]});try{c=t(411)}catch(t){c=void 0}i(\"secp256k1\",{type:\"short\",prime:\"k256\",p:\"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f\",a:\"0\",b:\"7\",n:\"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141\",h:\"1\",hash:a.sha256,beta:\"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee\",lambda:\"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72\",basis:[{a:\"3086d221a7d46bcde86c90e49284eb15\",b:\"-e4437ed6010e88286f547fa90abfe4c3\"},{a:\"114ca50f7a8e2f3f657c1108d9d44cfd8\",b:\"3086d221a7d46bcde86c90e49284eb15\"}],gRed:!1,g:[\"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\",\"483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8\",c]})},{398:398,411:411,417:417}],405:[function(t,e,r){\"use strict\";function n(t){if(!(this instanceof n))return new n(t);\"string\"==typeof t&&(f(a.curves.hasOwnProperty(t),\"Unknown curve \"+t),t=a.curves[t]),t instanceof a.curves.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}var i=t(18),o=t(429),a=t(398),f=a.utils.assert,c=t(406),u=t(407);(e.exports=n).prototype.keyPair=function(t){return new c(this,t)},n.prototype.keyFromPrivate=function(t,e){return c.fromPrivate(this,t,e)},n.prototype.keyFromPublic=function(t,e){return c.fromPublic(this,t,e)},n.prototype.genKeyPair=function(t){t||(t={});for(var e=new o({hash:this.hash,pers:t.pers,persEnc:t.persEnc||\"utf8\",entropy:t.entropy||a.rand(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||\"utf8\",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new i(2));;){var s=new i(e.generate(r));if(!(0>1;if(0<=s.cmp(this.curve.p.umod(this.curve.n))&&d)throw new Error(\"Unable to find sencond key candinate\");s=d?this.curve.pointFromX(s.add(this.curve.n),h):this.curve.pointFromX(s,h);var l=e.r.invm(o),p=o.sub(a).mul(l).umod(o),b=c.mul(l).umod(o);return this.g.mulAdd(p,s,b)},n.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new u(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error(\"Unable to find valid recovery factor\")}},{18:18,398:398,406:406,407:407,429:429}],406:[function(t,e,r){\"use strict\";function n(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}var i=t(18),s=t(398).utils.assert;(e.exports=n).fromPublic=function(t,e,r){return e instanceof n?e:new n(t,{pub:e,pubEnc:r})},n.fromPrivate=function(t,e,r){return e instanceof n?e:new n(t,{priv:e,privEnc:r})},n.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:\"Invalid public key\"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:\"Public key * N != O\"}:{result:!1,reason:\"Public key is not a point\"}},n.prototype.getPublic=function(t,e){return\"string\"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},n.prototype.getPrivate=function(t){return\"hex\"===t?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(t,e){this.priv=new i(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(t,e){if(t.x||t.y)return\"mont\"===this.ec.curve.type?s(t.x,\"Need x coordinate\"):\"short\"!==this.ec.curve.type&&\"edwards\"!==this.ec.curve.type||s(t.x&&t.y,\"Need both x and y coordinate\"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},n.prototype.derive=function(t){return t.mul(this.priv).getX()},n.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},n.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},n.prototype.inspect=function(){return\"\"}},{18:18,398:398}],407:[function(t,e,r){\"use strict\";function n(t,e){if(t instanceof n)return t;this._importDER(t,e)||(h(t.r&&t.s,\"Signature without r or s\"),this.r=new f(t.r,16),this.s=new f(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function i(){this.place=0}function o(t,e){var r=t[e.place++];if(!(128&r))return r;for(var n=15&r,i=0,o=0,a=e.place;o>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}var f=t(18),u=t(398).utils,h=u.assert;(e.exports=n).prototype._importDER=function(t,e){t=u.toArray(t,e);var r=new i;if(48!==t[r.place++])return!1;if(o(t,r)+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var n=o(t,r),a=t.slice(r.place,n+r.place);if(r.place+=n,2!==t[r.place++])return!1;var s=o(t,r);if(t.length!==s+r.place)return!1;var c=t.slice(r.place,s+r.place);return 0===a[0]&&128&a[1]&&(a=a.slice(1)),0===c[0]&&128&c[1]&&(c=c.slice(1)),this.r=new f(a),this.s=new f(c),!(this.recoveryParam=null)},n.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=a(e),r=a(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];s(n,e.length),(n=n.concat(e)).push(2),s(n,r.length);var i=n.concat(r),o=[48];return s(o,i.length),o=o.concat(i),u.encode(o,t)}},{18:18,398:398}],408:[function(t,e,r){\"use strict\";function n(t){if(s(\"ed25519\"===t,\"only tested with ed25519 so far\"),!(this instanceof n))return new n(t);t=o.curves[t].curve;this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=i.sha512}var i=t(417),o=t(398),a=o.utils,s=a.assert,f=a.parseBytes,c=t(409),u=t(410);(e.exports=n).prototype.sign=function(t,e){t=f(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),t).mul(r.priv()),s=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:s,Rencoded:o})},n.prototype.verify=function(t,e,r){t=f(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),i=this.hashInt(e.Rencoded(),n.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(n.pub().mul(i)).eq(o)},n.prototype.hashInt=function(){for(var t=this.hash(),e=0;e>1)-1>1)-a:a,i.isubn(o)}else o=0;r.push(o);for(var s=0!==i.cmpn(0)&&0===i.andln(n-1)?e+1:1,f=1;f=6.0.0 <7.0.0\",type:\"range\"},\"/opt/TeamCityAgent/work/31c80343e72f0995/media-source-media-provider/node_modules/browserify-sign\"]],_from:\"elliptic@>=6.0.0 <7.0.0\",_id:\"elliptic@6.4.1\",_inCache:!0,_location:\"/elliptic\",_nodeVersion:\"10.5.0\",_npmOperationalInternal:{host:\"s3://npm-registry-packages\",tmp:\"tmp/elliptic_6.4.1_1533787091502_0.6309761823717674\"},_npmUser:{name:\"indutny\",email:\"fedor@indutny.com\"},_npmVersion:\"6.3.0\",_phantomChildren:{},_requested:{raw:\"elliptic@^6.0.0\",scope:null,escapedName:\"elliptic\",name:\"elliptic\",rawSpec:\"^6.0.0\",spec:\">=6.0.0 <7.0.0\",type:\"range\"},_requiredBy:[\"/browserify-sign\",\"/create-ecdh\"],_resolved:\"https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz\",_shasum:\"c2d0b7776911b86722c632c3c06c60f2f819939a\",_shrinkwrap:null,_spec:\"elliptic@^6.0.0\",_where:\"/opt/TeamCityAgent/work/31c80343e72f0995/media-source-media-provider/node_modules/browserify-sign\",author:{name:\"Fedor Indutny\",email:\"fedor@indutny.com\"},bugs:{url:\"https://github.com/indutny/elliptic/issues\"},dependencies:{\"bn.js\":\"^4.4.0\",brorand:\"^1.0.1\",\"hash.js\":\"^1.0.0\",\"hmac-drbg\":\"^1.0.0\",inherits:\"^2.0.1\",\"minimalistic-assert\":\"^1.0.0\",\"minimalistic-crypto-utils\":\"^1.0.0\"},description:\"EC cryptography\",devDependencies:{brfs:\"^1.4.3\",coveralls:\"^2.11.3\",grunt:\"^0.4.5\",\"grunt-browserify\":\"^5.0.0\",\"grunt-cli\":\"^1.2.0\",\"grunt-contrib-connect\":\"^1.0.0\",\"grunt-contrib-copy\":\"^1.0.0\",\"grunt-contrib-uglify\":\"^1.0.1\",\"grunt-mocha-istanbul\":\"^3.0.1\",\"grunt-saucelabs\":\"^8.6.2\",istanbul:\"^0.4.2\",jscs:\"^2.9.0\",jshint:\"^2.6.0\",mocha:\"^2.1.0\"},directories:{},dist:{integrity:\"sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==\",shasum:\"c2d0b7776911b86722c632c3c06c60f2f819939a\",tarball:\"https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz\",fileCount:17,unpackedSize:118371,\"npm-signature\":\"-----BEGIN PGP SIGNATURE-----\\r\\nVersion: OpenPGP.js v3.0.4\\r\\nComment: https://openpgpjs.org\\r\\n\\r\\nwsFcBAEBCAAQBQJba7vUCRA9TVsSAnZWagAA+gcP/jWaj5GmDZ0YFi/X4g5O\\nx+pxu9i3HbP9YqywT7rz3XFXSaytu0LQDeDEbddl523X69tsbKfzHRTcnW8n\\n2r0VjPhttRm+0RpEhBwjSIK34VkQA1xIWh2ugOToKXVCFVLM5VFDPGzbiN6x\\n/hpL7gj1hoCRVmuhjnqFQ+vPKACKfv1Eq4CsRmu2focmP37kQpWQlweD/z4V\\nJF4NxA33Fvp13Fl+9g4sPHyhUVsW9ojVaG3Ijn70pCaGQM18UPlbODkWQ1QX\\nAgteOFjkIOtcalJk3B3qsM8GZeHEcAFvt2T73miJkHdCGNmRQS45Ede+gnj0\\nlLlZJsCCKUHtTqrlprHo6AgMnBZufmytyozYAHC1/JYniazSBi2yPHtQeniR\\nl69BfiRBdD2rNrMPwmCNRkMqrgel5WMGpaD0xdaFAHF1Ru2ZQFKsA7KvPGgp\\nA20+LN11cCib67Pg5XDyrZ92T3yXec+6gQ3iq9d9UBZKFGl0P8ebVqq1LrUJ\\na6nekwMpRISWnKcqV72XVmQdBmUWHq9VfVLsWJzVIJqtpHmUO7q74ACP3i4W\\n0/F1REeI0YEhh3NjeStdDecfjlu7PY0pLQpbk2I3ms+6DO+cAfeDEev5jFBK\\nwQabRNhITeT1FVtxZAcApj33fnCdqwaWr1NS00K5ZRqhDTTzPr/O4KRN4CR1\\npstU\\r\\n=UVBB\\r\\n-----END PGP SIGNATURE-----\\r\\n\"},files:[\"lib\"],gitHead:\"523da1cf71ddcfd607fbdee1858bc2af47f0e700\",homepage:\"https://github.com/indutny/elliptic\",keywords:[\"EC\",\"Elliptic\",\"curve\",\"Cryptography\"],license:\"MIT\",main:\"lib/elliptic.js\",maintainers:[{name:\"indutny\",email:\"fedor@indutny.com\"}],name:\"elliptic\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git+ssh://git@github.com/indutny/elliptic.git\"},scripts:{jscs:\"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js\",jshint:\"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js\",lint:\"npm run jscs && npm run jshint\",test:\"npm run lint && npm run unit\",unit:\"istanbul test _mocha --reporter=spec test/index.js\",version:\"grunt dist && git add dist/\"},version:\"6.4.1\"}},{}],414:[function(t,e,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(t){return\"function\"==typeof t}function a(t){return\"object\"==typeof t&&null!==t}function s(t){return void 0===t}((e.exports=n).EventEmitter=n).prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!function(t){return\"number\"==typeof t}(t)||t<0||isNaN(t))throw TypeError(\"n must be a positive number\");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,r,n,o,f,c;if(this._events||(this._events={}),\"error\"===t&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var u=new Error('Uncaught, unspecified \"error\" event. ('+e+\")\");throw u.context=e,u}if(s(r=this._events[t]))return!1;if(i(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),r.apply(this,o)}else if(a(r))for(o=Array.prototype.slice.call(arguments,1),n=(c=r.slice()).length,f=0;fr&&(this._events[t].warned=!0,console.trace),this},n.prototype.once=function(t,e){function r(){this.removeListener(t,r),n||(n=!0,e.apply(this,arguments))}if(!i(e))throw TypeError(\"listener must be a function\");var n=!1;return r.listener=e,this.on(t,r),this},n.prototype.removeListener=function(t,e){var r,n,o,s;if(!i(e))throw TypeError(\"listener must be a function\");if(!this._events||!this._events[t])return this;if(o=(r=this._events[t]).length,n=-1,r===e||i(r.listener)&&r.listener===e)delete this._events[t],this._events.removeListener&&this.emit(\"removeListener\",t,e);else if(a(r)){for(s=o;0=this._blockSize;){for(var a=this._blockOffset;a=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=i.join32(t,0,t.length-r,this.endian);for(var n=0;n>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;othis.blockSize&&(t=(new this.Hash).update(t).digest()),o(t.length<=this.blockSize);for(var e=t.length;e>>3},r.g1_256=function(t){return d(t,17)^d(t,19)^t>>>10}},{428:428}],428:[function(t,e,r){\"use strict\";function n(t,e){return 55296==(64512&t.charCodeAt(e))&&!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function f(t){return 1===t.length?\"0\"+t:t}function c(t){return 7===t.length?\"0\"+t:6===t.length?\"00\"+t:5===t.length?\"000\"+t:4===t.length?\"0000\"+t:3===t.length?\"00000\"+t:2===t.length?\"000000\"+t:1===t.length?\"0000000\"+t:t}var R=t(437),B=t(432);r.inherits=B,r.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if(\"string\"==typeof t)if(e){if(\"hex\"===e)for((t=t.replace(/[^a-z0-9]+/gi,\"\")).length%2!=0&&(t=\"0\"+t),o=0;o>6|192:(n(t,o)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++o)),r[i++]=a>>18|240,r[i++]=a>>12&63|128):r[i++]=a>>12|224,a>>6&63|128),63&a|128)}else for(o=0;o>>0}return o},r.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},r.rotr32=function(t,e){return t>>>e|t<<32-e},r.rotl32=function(t,e){return t<>>32-e},r.sum32=function(t,e){return t+e>>>0},r.sum32_3=function(t,e,r){return t+e+r>>>0},r.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},r.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},r.sum64=function(t,e,r,n){var i=t[e],a=n+t[e+1]>>>0,s=(a>>0,t[e+1]=a},r.sum64_hi=function(t,e,r,n){return(e+n>>>0>>0},r.sum64_lo=function(t,e,r,n){return e+n>>>0},r.sum64_4_hi=function(t,e,r,n,i,o,a,s){var f=0,c=e;return f+=(c=c+n>>>0)>>0)>>0)>>0},r.sum64_4_lo=function(t,e,r,n,i,o,a,s){return e+n+o+s>>>0},r.sum64_5_hi=function(t,e,r,n,i,o,a,s,f,c){var u=0,h=e;return u+=(h=h+n>>>0)>>0)>>0)>>0)>>0},r.sum64_5_lo=function(t,e,r,n,i,o,a,s,f,c){return e+n+o+s+c>>>0},r.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},r.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},r.shr64_hi=function(t,e,r){return t>>>r},r.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},{432:432,437:437}],429:[function(t,e,r){\"use strict\";function n(t){if(!(this instanceof n))return new n(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=o.toArray(t.entropy,t.entropyEnc||\"hex\"),r=o.toArray(t.nonce,t.nonceEnc||\"hex\"),i=o.toArray(t.pers,t.persEnc||\"hex\");a(e.length>=this.minEntropy/8,\"Not enough entropy. Minimum is: \"+this.minEntropy+\" bits\"),this._init(e,r,i)}var i=t(417),o=t(438),a=t(437);(e.exports=n).prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,\"Not enough entropy. Minimum is: \"+this.minEntropy+\" bits\"),this._update(t.concat(r||[])),this._reseed=1},n.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error(\"Reseed is required\");\"string\"!=typeof e&&(n=r,r=e,e=null),r&&(r=o.toArray(r,n||\"hex\"),this._update(r));for(var i=[];i.length>1,u=-7,h=r?i-1:0,d=r?-1:1,l=t[e+h];for(h+=d,o=l&(1<<-u)-1,l>>=-u,u+=s;0>=-u,u+=n;0>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,l=n?0:o-1,p=n?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-a))<1&&(a--,f*=2),2<=(e+=1<=a+h?d/f:d*Math.pow(2,1-h))*f&&(a++,f/=2),u<=a+h?(s=0,a=u):1<=a+h?(s=(e*f-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));8<=i;t[r+l]=255&s,l+=p,s/=256,i-=8);for(a=a<>>32-e}function o(t,e,r,n,o,a,s){return i(t+(e&r|~e&n)+o+a|0,s)+e|0}function a(t,e,r,n,o,a,s){return i(t+(e&n|r&~n)+o+a|0,s)+e|0}function s(t,e,r,n,o,a,s){return i(t+(e^r^n)+o+a|0,s)+e|0}function f(t,e,r,n,o,a,s){return i(t+(r^(e|~n))+o+a|0,s)+e|0}var c=t(432),u=t(416),h=t(476).Buffer,d=new Array(16);c(n,u),n.prototype._update=function(){for(var t=d,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,c=this._d;n=f(n=f(n=f(n=f(n=s(n=s(n=s(n=s(n=a(n=a(n=a(n=a(n=o(n=o(n=o(n=o(n,i=o(i,c=o(c,r=o(r,n,i,c,t[0],3614090360,7),n,i,t[1],3905402710,12),r,n,t[2],606105819,17),c,r,t[3],3250441966,22),i=o(i,c=o(c,r=o(r,n,i,c,t[4],4118548399,7),n,i,t[5],1200080426,12),r,n,t[6],2821735955,17),c,r,t[7],4249261313,22),i=o(i,c=o(c,r=o(r,n,i,c,t[8],1770035416,7),n,i,t[9],2336552879,12),r,n,t[10],4294925233,17),c,r,t[11],2304563134,22),i=o(i,c=o(c,r=o(r,n,i,c,t[12],1804603682,7),n,i,t[13],4254626195,12),r,n,t[14],2792965006,17),c,r,t[15],1236535329,22),i=a(i,c=a(c,r=a(r,n,i,c,t[1],4129170786,5),n,i,t[6],3225465664,9),r,n,t[11],643717713,14),c,r,t[0],3921069994,20),i=a(i,c=a(c,r=a(r,n,i,c,t[5],3593408605,5),n,i,t[10],38016083,9),r,n,t[15],3634488961,14),c,r,t[4],3889429448,20),i=a(i,c=a(c,r=a(r,n,i,c,t[9],568446438,5),n,i,t[14],3275163606,9),r,n,t[3],4107603335,14),c,r,t[8],1163531501,20),i=a(i,c=a(c,r=a(r,n,i,c,t[13],2850285829,5),n,i,t[2],4243563512,9),r,n,t[7],1735328473,14),c,r,t[12],2368359562,20),i=s(i,c=s(c,r=s(r,n,i,c,t[5],4294588738,4),n,i,t[8],2272392833,11),r,n,t[11],1839030562,16),c,r,t[14],4259657740,23),i=s(i,c=s(c,r=s(r,n,i,c,t[1],2763975236,4),n,i,t[4],1272893353,11),r,n,t[7],4139469664,16),c,r,t[10],3200236656,23),i=s(i,c=s(c,r=s(r,n,i,c,t[13],681279174,4),n,i,t[0],3936430074,11),r,n,t[3],3572445317,16),c,r,t[6],76029189,23),i=s(i,c=s(c,r=s(r,n,i,c,t[9],3654602809,4),n,i,t[12],3873151461,11),r,n,t[15],530742520,16),c,r,t[2],3299628645,23),i=f(i,c=f(c,r=f(r,n,i,c,t[0],4096336452,6),n,i,t[7],1126891415,10),r,n,t[14],2878612391,15),c,r,t[5],4237533241,21),i=f(i,c=f(c,r=f(r,n,i,c,t[12],1700485571,6),n,i,t[3],2399980690,10),r,n,t[10],4293915773,15),c,r,t[1],2240044497,21),i=f(i,c=f(c,r=f(r,n,i,c,t[8],1873313359,6),n,i,t[15],4264355552,10),r,n,t[6],2734768916,15),c,r,t[13],1309151649,21),i=f(i,c=f(c,r=f(r,n,i,c,t[4],4149444226,6),n,i,t[11],3174756917,10),r,n,t[2],718787259,15),c,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+c|0},n.prototype._digest=function(){this._block[this._blockOffset++]=128,56>8,a=255&i;o?r.push(o,a):r.push(a)}return r},a.zero2=i,a.toHex=o,a.encode=function(t,e){return\"hex\"===e?o(t):t}},{}],439:[function(t,e,r){(function(r){!function(n){\"use strict\";function o(t,e){var r=e||0,n=p;return n[t[r++]]+n[t[r++]]+n[t[r++]]+n[t[r++]]+\"-\"+n[t[r++]]+n[t[r++]]+\"-\"+n[t[r++]]+n[t[r++]]+\"-\"+n[t[r++]]+n[t[r++]]+\"-\"+n[t[r++]]+n[t[r++]]+n[t[r++]]+n[t[r++]]+n[t[r++]]+n[t[r++]]}function s(t,e,r){var n=e&&r||0;\"string\"==typeof t&&(e=\"binary\"===t?new l(16):null,t=null);var i=(t=t||{}).random||(t.rng||f)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e)for(var a=0;a<16;a++)e[n+a]=i[a];return e||o(i)}var f,c,u,h,d;n?function(){var t=n.crypto||n.msCrypto;if(!f&&t&&t.getRandomValues)try{var e=new Uint8Array(16);h=f=function(){return t.getRandomValues(e),e},f()}catch(t){}if(!f){var r=new Array(16);c=f=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),r[e]=t>>>((3&e)<<3)&255;return r},\"undefined\"!=typeof console&&console.warn}}():function(){if(\"function\"==typeof t)try{var e=t(387).randomBytes;u=f=e&&function(){return e(16)},f()}catch(t){}}();for(var l=\"function\"==typeof r?r:Array,p=[],b={},v=0;v<256;v++)p[v]=(v+256).toString(16).substr(1),b[p[v]]=v;var y=f(),g=[1|y[0],y[1],y[2],y[3],y[4],y[5]],m=16383&(y[6]<<8|y[7]),w=0,_=0,S=s;S.v1=function(t,e,r){var n=e&&r||0,i=e||[],a=null!=(t=t||{}).clockseq?t.clockseq:m,s=null!=t.msecs?t.msecs:(new Date).getTime(),f=null!=t.nsecs?t.nsecs:_+1,c=s-w+(f-_)/1e4;if(c<0&&null==t.clockseq&&(a=a+1&16383),(c<0||w>>24&255,i[n++]=u>>>16&255,i[n++]=u>>>8&255,i[n++]=255&u;var h=s/4294967296*1e4&268435455;i[n++]=h>>>8&255,i[n++]=255&h,i[n++]=h>>>24&15|16,i[n++]=h>>>16&255,i[n++]=a>>>8|128,i[n++]=255&a;for(var d=t.node||g,l=0;l<6;l++)i[n+l]=d[l];return e||o(i)},S.v4=s,S.parse=function(t,e,r){var n=e&&r||0,i=0;for(e=e||[],t.toLowerCase().replace(/[0-9a-f]{2}/g,function(t){i<16&&(e[n+i++]=b[t])});i<16;)e[n+i++]=0;return e},S.unparse=o,S.BufferClass=l,S._rng=f,S._mathRNG=c,S._nodeRNG=u,S._whatwgRNG=h,void 0!==e&&e.exports?e.exports=S:\"function\"==typeof define&&define.amd?define(function(){return S}):(d=n.uuid,S.noConflict=function(){return n.uuid=d,S},n.uuid=S)}(\"undefined\"!=typeof window?window:null)}).call(this,t(50).Buffer)},{387:387,50:50}],440:[function(t,e,r){e.exports={\"2.16.840.1.101.3.4.1.1\":\"aes-128-ecb\",\"2.16.840.1.101.3.4.1.2\":\"aes-128-cbc\",\"2.16.840.1.101.3.4.1.3\":\"aes-128-ofb\",\"2.16.840.1.101.3.4.1.4\":\"aes-128-cfb\",\"2.16.840.1.101.3.4.1.21\":\"aes-192-ecb\",\"2.16.840.1.101.3.4.1.22\":\"aes-192-cbc\",\"2.16.840.1.101.3.4.1.23\":\"aes-192-ofb\",\"2.16.840.1.101.3.4.1.24\":\"aes-192-cfb\",\"2.16.840.1.101.3.4.1.41\":\"aes-256-ecb\",\"2.16.840.1.101.3.4.1.42\":\"aes-256-cbc\",\"2.16.840.1.101.3.4.1.43\":\"aes-256-ofb\",\"2.16.840.1.101.3.4.1.44\":\"aes-256-cfb\"}},{}],441:[function(t,e,r){\"use strict\";var n=t(2);r.certificate=t(442);var i=n.define(\"RSAPrivateKey\",function(){this.seq().obj(this.key(\"version\").int(),this.key(\"modulus\").int(),this.key(\"publicExponent\").int(),this.key(\"privateExponent\").int(),this.key(\"prime1\").int(),this.key(\"prime2\").int(),this.key(\"exponent1\").int(),this.key(\"exponent2\").int(),this.key(\"coefficient\").int())});r.RSAPrivateKey=i;var o=n.define(\"RSAPublicKey\",function(){this.seq().obj(this.key(\"modulus\").int(),this.key(\"publicExponent\").int())});r.RSAPublicKey=o;var a=n.define(\"SubjectPublicKeyInfo\",function(){this.seq().obj(this.key(\"algorithm\").use(s),this.key(\"subjectPublicKey\").bitstr())});r.PublicKey=a;var s=n.define(\"AlgorithmIdentifier\",function(){this.seq().obj(this.key(\"algorithm\").objid(),this.key(\"none\").null_().optional(),this.key(\"curve\").objid().optional(),this.key(\"params\").seq().obj(this.key(\"p\").int(),this.key(\"q\").int(),this.key(\"g\").int()).optional())}),f=n.define(\"PrivateKeyInfo\",function(){this.seq().obj(this.key(\"version\").int(),this.key(\"algorithm\").use(s),this.key(\"subjectPrivateKey\").octstr())});r.PrivateKey=f;var c=n.define(\"EncryptedPrivateKeyInfo\",function(){this.seq().obj(this.key(\"algorithm\").seq().obj(this.key(\"id\").objid(),this.key(\"decrypt\").seq().obj(this.key(\"kde\").seq().obj(this.key(\"id\").objid(),this.key(\"kdeparams\").seq().obj(this.key(\"salt\").octstr(),this.key(\"iters\").int())),this.key(\"cipher\").seq().obj(this.key(\"algo\").objid(),this.key(\"iv\").octstr()))),this.key(\"subjectPrivateKey\").octstr())});r.EncryptedPrivateKey=c;var u=n.define(\"DSAPrivateKey\",function(){this.seq().obj(this.key(\"version\").int(),this.key(\"p\").int(),this.key(\"q\").int(),this.key(\"g\").int(),this.key(\"pub_key\").int(),this.key(\"priv_key\").int())});r.DSAPrivateKey=u,r.DSAparam=n.define(\"DSAparam\",function(){this.int()});var h=n.define(\"ECPrivateKey\",function(){this.seq().obj(this.key(\"version\").int(),this.key(\"privateKey\").octstr(),this.key(\"parameters\").optional().explicit(0).use(d),this.key(\"publicKey\").optional().explicit(1).bitstr())});r.ECPrivateKey=h;var d=n.define(\"ECParameters\",function(){this.choice({namedCurve:this.objid()})});r.signature=n.define(\"signature\",function(){this.seq().obj(this.key(\"r\").int(),this.key(\"s\").int())})},{2:2,442:442}],442:[function(t,e,r){\"use strict\";var n=t(2),i=n.define(\"Time\",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),o=n.define(\"AttributeTypeValue\",function(){this.seq().obj(this.key(\"type\").objid(),this.key(\"value\").any())}),a=n.define(\"AlgorithmIdentifier\",function(){this.seq().obj(this.key(\"algorithm\").objid(),this.key(\"parameters\").optional(),this.key(\"curve\").objid().optional())}),s=n.define(\"SubjectPublicKeyInfo\",function(){this.seq().obj(this.key(\"algorithm\").use(a),this.key(\"subjectPublicKey\").bitstr())}),f=n.define(\"RelativeDistinguishedName\",function(){this.setof(o)}),c=n.define(\"RDNSequence\",function(){this.seqof(f)}),u=n.define(\"Name\",function(){this.choice({rdnSequence:this.use(c)})}),h=n.define(\"Validity\",function(){this.seq().obj(this.key(\"notBefore\").use(i),this.key(\"notAfter\").use(i))}),d=n.define(\"Extension\",function(){this.seq().obj(this.key(\"extnID\").objid(),this.key(\"critical\").bool().def(!1),this.key(\"extnValue\").octstr())}),l=n.define(\"TBSCertificate\",function(){this.seq().obj(this.key(\"version\").explicit(0).int().optional(),this.key(\"serialNumber\").int(),this.key(\"signature\").use(a),this.key(\"issuer\").use(u),this.key(\"validity\").use(h),this.key(\"subject\").use(u),this.key(\"subjectPublicKeyInfo\").use(s),this.key(\"issuerUniqueID\").implicit(1).bitstr().optional(),this.key(\"subjectUniqueID\").implicit(2).bitstr().optional(),this.key(\"extensions\").explicit(3).seqof(d).optional())}),p=n.define(\"X509Certificate\",function(){this.seq().obj(this.key(\"tbsCertificate\").use(l),this.key(\"signatureAlgorithm\").use(a),this.key(\"signatureValue\").bitstr())});e.exports=p},{2:2}],443:[function(t,e,r){var n=/Proc-Type: 4,ENCRYPTED[\\n\\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\\n\\r]+([0-9A-z\\n\\r\\+\\/\\=]+)[\\n\\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\\n\\r\\+\\/\\=]+)-----END \\1-----$/m,a=t(415),s=t(23),f=t(476).Buffer;e.exports=function(t,e){var r,c=t.toString(),u=c.match(n);if(u){var h=\"aes\"+u[1],d=f.from(u[2],\"hex\"),l=f.from(u[3].replace(/[\\r\\n]/g,\"\"),\"base64\"),p=a(e,d.slice(0,8),parseInt(u[1],10)).key,b=[],v=s.createDecipheriv(h,p,d);b.push(v.update(l)),b.push(v.final()),r=f.concat(b)}else{var y=c.match(o);r=new f(y[2].replace(/[\\r\\n]/g,\"\"),\"base64\")}return{tag:c.match(i)[1],data:r}}},{23:23,415:415,476:476}],444:[function(t,e,r){function n(t){var e;\"object\"!=typeof t||u.isBuffer(t)||(e=t.passphrase,t=t.key),\"string\"==typeof t&&(t=u.from(t));var r,n,a=s(t,e),f=a.tag,c=a.data;switch(f){case\"CERTIFICATE\":n=o.certificate.decode(c,\"der\").tbsCertificate.subjectPublicKeyInfo;case\"PUBLIC KEY\":switch(n||(n=o.PublicKey.decode(c,\"der\")),r=n.algorithm.algorithm.join(\".\")){case\"1.2.840.113549.1.1.1\":return o.RSAPublicKey.decode(n.subjectPublicKey.data,\"der\");case\"1.2.840.10045.2.1\":return n.subjectPrivateKey=n.subjectPublicKey,{type:\"ec\",data:n};case\"1.2.840.10040.4.1\":return n.algorithm.params.pub_key=o.DSAparam.decode(n.subjectPublicKey.data,\"der\"),{type:\"dsa\",data:n.algorithm.params};default:throw new Error(\"unknown key id \"+r)}throw new Error(\"unknown key type \"+f);case\"ENCRYPTED PRIVATE KEY\":c=i(c=o.EncryptedPrivateKey.decode(c,\"der\"),e);case\"PRIVATE KEY\":switch(r=(n=o.PrivateKey.decode(c,\"der\")).algorithm.algorithm.join(\".\")){case\"1.2.840.113549.1.1.1\":return o.RSAPrivateKey.decode(n.subjectPrivateKey,\"der\");case\"1.2.840.10045.2.1\":return{curve:n.algorithm.curve,privateKey:o.ECPrivateKey.decode(n.subjectPrivateKey,\"der\").privateKey};case\"1.2.840.10040.4.1\":return n.algorithm.params.priv_key=o.DSAparam.decode(n.subjectPrivateKey,\"der\"),{type:\"dsa\",params:n.algorithm.params};default:throw new Error(\"unknown key id \"+r)}throw new Error(\"unknown key type \"+f);case\"RSA PUBLIC KEY\":return o.RSAPublicKey.decode(c,\"der\");case\"RSA PRIVATE KEY\":return o.RSAPrivateKey.decode(c,\"der\");case\"DSA PRIVATE KEY\":return{type:\"dsa\",params:o.DSAPrivateKey.decode(c,\"der\")};case\"EC PRIVATE KEY\":return{curve:(c=o.ECPrivateKey.decode(c,\"der\")).parameters.value,privateKey:c.privateKey};default:throw new Error(\"unknown key type \"+f)}}function i(t,e){var r=t.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),i=a[t.algorithm.decrypt.cipher.algo.join(\".\")],o=t.algorithm.decrypt.cipher.iv,s=t.subjectPrivateKey,h=parseInt(i.split(\"-\")[1],10)/8,d=c.pbkdf2Sync(e,r,n,h,\"sha1\"),l=f.createDecipheriv(i,d,o),p=[];return p.push(l.update(s)),p.push(l.final()),u.concat(p)}var o=t(441),a=t(440),s=t(443),f=t(23),c=t(445),u=t(476).Buffer;(e.exports=n).signature=o.signature},{23:23,440:440,441:441,443:443,445:445,476:476}],445:[function(t,e,r){r.pbkdf2=t(446),r.pbkdf2Sync=t(449)},{446:446,449:449}],446:[function(t,e,r){(function(r,n){function i(t){if(n.process&&!n.process.browser)return Promise.resolve(!1);if(!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(void 0!==p[t])return p[t];var e=o(s=s||h.alloc(8),s,10,128,t).then(function(){return!0}).catch(function(){return!1});return p[t]=e}function o(t,e,r,n,i){return d.importKey(\"raw\",t,{name:\"PBKDF2\"},!1,[\"deriveBits\"]).then(function(t){return d.deriveBits({name:\"PBKDF2\",salt:e,iterations:r,hash:{name:i}},t,n<<3)}).then(function(t){return h.from(t)})}var s,f=t(448),c=t(447),u=t(449),h=t(476).Buffer,d=n.crypto&&n.crypto.subtle,l={sha:\"SHA-1\",\"sha-1\":\"SHA-1\",sha1:\"SHA-1\",sha256:\"SHA-256\",\"sha-256\":\"SHA-256\",sha384:\"SHA-384\",\"sha-384\":\"SHA-384\",\"sha-512\":\"SHA-512\",sha512:\"SHA-512\"},p=[];e.exports=function(t,e,s,d,p,b){\"function\"==typeof p&&(b=p,p=void 0);var v=l[(p=p||\"sha1\").toLowerCase()];if(!v||\"function\"!=typeof n.Promise)return r.nextTick(function(){var r;try{r=u(t,e,s,d,p)}catch(t){return b(t)}b(null,r)});if(f(t,e,s,d),\"function\"!=typeof b)throw new Error(\"No callback provided to pbkdf2\");h.isBuffer(t)||(t=h.from(t,c)),h.isBuffer(e)||(e=h.from(e,c)),function(t,e){t.then(function(t){r.nextTick(function(){e(null,t)})},function(t){r.nextTick(function(){e(t)})})}(i(v).then(function(r){return r?o(t,e,s,d,v):u(t,e,s,d,p)}),b)}}).call(this,t(451),void 0!==global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{447:447,448:448,449:449,451:451,476:476}],447:[function(t,e,r){(function(t){var r;r=t.browser?\"utf-8\":6<=parseInt(t.version.split(\".\")[0].slice(1),10)?\"utf-8\":\"binary\",e.exports=r}).call(this,t(451))},{451:451}],448:[function(t,e,r){(function(t){function r(e,r){if(\"string\"!=typeof e&&!t.isBuffer(e))throw new TypeError(r+\" must be a buffer or string\")}var n=Math.pow(2,30)-1;e.exports=function(t,e,i,o){if(r(t,\"Password\"),r(e,\"Salt\"),\"number\"!=typeof i)throw new TypeError(\"Iterations not a number\");if(i<0)throw new TypeError(\"Bad iterations\");if(\"number\"!=typeof o)throw new TypeError(\"Key length not a number\");if(o<0||no?e=n(e):e.lengthf||0<=new c(e).cmp(s.modulus))throw new Error(\"decryption error\");h=r?d(new c(e),s):u(e,s);var p=l.alloc(f-h.length);if(h=l.concat([p,h],f),4===o)return n(s,h);if(1===o)return function(t,e,r){for(var n=e.slice(0,2),i=2,o=0;0!==e[i++];)if(i>=e.length){o++;break}var a=e.slice(2,i-1);if((\"0002\"!==n.toString(\"hex\")&&!r||\"0001\"!==n.toString(\"hex\")&&r)&&o++,a.length<8&&o++,o)throw new Error(\"decryption error\");return e.slice(i)}(0,h,r);if(3===o)return h;throw new Error(\"unknown padding\")}},{18:18,383:383,41:41,444:444,454:454,457:457,458:458,476:476}],456:[function(t,e,r){function n(t,e){var r=t.modulus.byteLength(),n=e.length,i=f(\"sha1\").update(p.alloc(0)).digest(),o=i.length,a=2*o;if(r-a-2e.highWaterMark&&(e.highWaterMark=function(t){return W<=t?t=W:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function v(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(q(\"emitReadable\",e.flowing),e.emittedReadable=!0,e.sync?P.nextTick(y,t):y(t))}function y(t){q(\"emit readable\"),t.emit(\"readable\"),k(t)}function g(t,e){e.readingMore||(e.readingMore=!0,P.nextTick(m,t,e))}function m(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(r=e.decoder?e.buffer.join(\"\"):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;return to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0==(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r).data=o.slice(a);break}++n}return e.length-=n,i}(t,e):function(t,e){var r=L.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0==(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n).data=o.slice(a);break}++i}return e.length-=i,r}(t,e),n}(t,e.buffer,e.decoder),r);var r}function R(t){var e=t._readableState;if(0=e.highWaterMark||e.ended))return q(\"read: emitReadable\",e.length,e.ended),0===e.length&&e.ended?R(this):v(this),null;if(0===(t=p(t,e))&&e.ended)return 0===e.length&&R(this),null;var i,n=e.needReadable;return q(\"need readable\",n),(0===e.length||e.length-t>>0),r=this.head,n=0;r;)i(r.data,e,n),n+=r.data.length,r=r.next;return e},t}(),a&&a.inspect&&a.inspect.custom&&(e.exports.prototype[a.inspect.custom]=function(){var t=a.inspect({length:this.length});return this.constructor.name+\" \"+t})},{20:20,476:476}],468:[function(t,e,r){\"use strict\";function o(t,e){t.emit(\"error\",e)}var a=t(450);e.exports={destroy:function(t,e){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?e?e(t):!t||this._writableState&&this._writableState.errorEmitted||a.nextTick(o,this,t):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?(a.nextTick(o,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{450:450}],469:[function(t,e,r){e.exports=t(414).EventEmitter},{414:414}],470:[function(t,e,r){e.exports=t(471).PassThrough},{471:471}],471:[function(t,e,r){(((r=e.exports=t(464)).Stream=r).Readable=r).Writable=t(466),r.Duplex=t(462),r.Transform=t(465),r.PassThrough=t(463)},{462:462,463:463,464:464,465:465,466:466}],472:[function(t,e,r){e.exports=t(471).Transform},{471:471}],473:[function(t,e,r){e.exports=t(466)},{466:466}],474:[function(t,e,r){(function(t){!function(t){\"use strict\";function r(t,e,r,n){var o=e&&e.prototype instanceof i?e:i,a=Object.create(o.prototype),s=new l(n||[]);return a._invoke=c(t,r,s),a}function n(t,e,r){try{return{type:\"normal\",arg:t.call(e,r)}}catch(t){return{type:\"throw\",arg:t}}}function i(){}function o(){}function a(){}function s(t){[\"next\",\"throw\",\"return\"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function f(e){function r(t,i,o,a){var s=n(e[t],e,i);if(\"throw\"!==s.type){var f=s.arg,c=f.value;return c&&\"object\"==typeof c&&g.call(c,\"__await\")?Promise.resolve(c.__await).then(function(t){r(\"next\",t,o,a)},function(t){r(\"throw\",t,o,a)}):Promise.resolve(c).then(function(t){f.value=t,o(f)},a)}a(s.arg)}var o;\"object\"==typeof t.process&&t.process.domain&&(r=t.process.domain.bind(r)),this._invoke=function(t,e){function n(){return new Promise(function(n,i){r(t,e,n,i)})}return o=o?o.then(n,n):n()}}function c(t,e,r){var i=M;return function(o,a){if(i===A)throw new Error(\"Generator is already running\");if(i===I){if(\"throw\"===o)throw a;return b()}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var f=u(s,r);if(f){if(f===R)continue;return f}}if(\"next\"===r.method)r.sent=r._sent=r.arg;else if(\"throw\"===r.method){if(i===M)throw i=I,r.arg;r.dispatchException(r.arg)}else\"return\"===r.method&&r.abrupt(\"return\",r.arg);i=A;var c=n(t,e,r);if(\"normal\"===c.type){if(i=r.done?I:x,c.arg===R)continue;return{value:c.arg,done:r.done}}\"throw\"===c.type&&(i=I,r.method=\"throw\",r.arg=c.arg)}}}function u(t,e){var r=t.iterator[e.method];if(r===v){if(e.delegate=null,\"throw\"===e.method){if(t.iterator.return&&(e.method=\"return\",e.arg=v,u(t,e),\"throw\"===e.method))return R;e.method=\"throw\",e.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return R}var i=n(r,t.iterator,e.arg);if(\"throw\"===i.type)return e.method=\"throw\",e.arg=i.arg,e.delegate=null,R;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,\"return\"!==e.method&&(e.method=\"next\",e.arg=v),e.delegate=null,R):o:(e.method=\"throw\",e.arg=new TypeError(\"iterator result is not an object\"),e.delegate=null,R)}function h(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function d(t){var e=t.completion||{};e.type=\"normal\",delete e.arg,t.completion=e}function l(t){this.tryEntries=[{tryLoc:\"root\"}],t.forEach(h,this),this.reset(!0)}function p(t){if(t){var e=t[w];if(e)return e.call(t);if(\"function\"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r>>32-e}function o(t,e,r,n,o,a,s,f){return i(t+(e^r^n)+a+s|0,f)+o|0}function a(t,e,r,n,o,a,s,f){return i(t+(e&r|~e&n)+a+s|0,f)+o|0}function s(t,e,r,n,o,a,s,f){return i(t+((e|~r)^n)+a+s|0,f)+o|0}function f(t,e,r,n,o,a,s,f){return i(t+(e&n|r&~n)+a+s|0,f)+o|0}function c(t,e,r,n,o,a,s,f){return i(t+(e^(r|~n))+a+s|0,f)+o|0}var u=t(50).Buffer,h=t(432),d=t(416),l=new Array(16),p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],b=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],v=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],g=[0,1518500249,1859775393,2400959708,2840853838],m=[1352829926,1548603684,1836072691,2053994217,0];h(n,d),n.prototype._update=function(){for(var t=l,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,u=0|this._c,h=0|this._d,d=0|this._e,w=0|this._a,_=0|this._b,S=0|this._c,E=0|this._d,k=0|this._e,M=0;M<80;M+=1){var x,A;A=M<16?(x=o(r,n,u,h,d,t[p[M]],g[0],v[M]),c(w,_,S,E,k,t[b[M]],m[0],y[M])):M<32?(x=a(r,n,u,h,d,t[p[M]],g[1],v[M]),f(w,_,S,E,k,t[b[M]],m[1],y[M])):M<48?(x=s(r,n,u,h,d,t[p[M]],g[2],v[M]),s(w,_,S,E,k,t[b[M]],m[2],y[M])):M<64?(x=f(r,n,u,h,d,t[p[M]],g[3],v[M]),a(w,_,S,E,k,t[b[M]],m[3],y[M])):(x=c(r,n,u,h,d,t[p[M]],g[4],v[M]),o(w,_,S,E,k,t[b[M]],m[4],y[M])),r=d,d=h,h=i(u,10),u=n,n=x,w=k,k=E,E=i(S,10),S=_,_=A}var I=this._b+u+E|0;this._b=this._c+h+k|0,this._c=this._d+d+w|0,this._d=this._e+r+_|0,this._e=this._a+n+S|0,this._a=I},n.prototype._digest=function(){this._block[this._blockOffset++]=128,56i&&(i=t.maxptime)}),0=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},n.prototype._update=function(){throw new Error(\"_update must be implemented by subclass\")},e.exports=n},{476:476}],479:[function(t,e,r){(r=e.exports=function(t){t=t.toLowerCase();var e=r[t];if(!e)throw new Error(t+\" is not supported (we accept pull requests)\");return new e}).sha=t(480),r.sha1=t(481),r.sha224=t(482),r.sha256=t(483),r.sha384=t(484),r.sha512=t(485)},{480:480,481:481,482:482,483:483,484:484,485:485}],480:[function(t,e,r){function n(){this.init(),this._w=h,f.call(this,64,56)}function i(t){return t<<5|t>>>27}function o(t){return t<<30|t>>>2}function a(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}var s=t(432),f=t(478),c=t(476).Buffer,u=[1518500249,1859775393,-1894007588,-899497514],h=new Array(80);s(n,f),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},n.prototype._update=function(t){for(var e=this._w,r=0|this._a,n=0|this._b,s=0|this._c,f=0|this._d,c=0|this._e,h=0;h<16;++h)e[h]=t.readInt32BE(4*h);for(;h<80;++h)e[h]=e[h-3]^e[h-8]^e[h-14]^e[h-16];for(var d=0;d<80;++d){var l=~~(d/20),p=i(r)+a(l,n,s,f)+c+e[d]+u[l]|0;c=f,f=s,s=o(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=s+this._c|0,this._d=f+this._d|0,this._e=c+this._e|0},n.prototype._hash=function(){var t=c.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},e.exports=n},{432:432,476:476,478:478}],481:[function(t,e,r){function n(){this.init(),this._w=d,c.call(this,64,56)}function i(t){return t<<1|t>>>31}function o(t){return t<<5|t>>>27}function a(t){return t<<30|t>>>2}function s(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}var f=t(432),c=t(478),u=t(476).Buffer,h=[1518500249,1859775393,-1894007588,-899497514],d=new Array(80);f(n,c),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},n.prototype._update=function(t){for(var e=this._w,r=0|this._a,n=0|this._b,f=0|this._c,c=0|this._d,u=0|this._e,d=0;d<16;++d)e[d]=t.readInt32BE(4*d);for(;d<80;++d)e[d]=i(e[d-3]^e[d-8]^e[d-14]^e[d-16]);for(var l=0;l<80;++l){var p=~~(l/20),b=o(r)+s(p,n,f,c)+u+e[l]+h[p]|0;u=c,c=f,f=a(n),n=r,r=b}this._a=r+this._a|0,this._b=n+this._b|0,this._c=f+this._c|0,this._d=c+this._d|0,this._e=u+this._e|0},n.prototype._hash=function(){var t=u.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},e.exports=n},{432:432,476:476,478:478}],482:[function(t,e,r){function n(){this.init(),this._w=f,a.call(this,64,56)}var i=t(432),o=t(483),a=t(478),s=t(476).Buffer,f=new Array(64);i(n,o),n.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},n.prototype._hash=function(){var t=s.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},e.exports=n},{432:432,476:476,478:478,483:483}],483:[function(t,e,r){function n(){this.init(),this._w=p,h.call(this,64,56)}function i(t,e,r){return r^t&(e^r)}function o(t,e,r){return t&e|r&(t|e)}function a(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function s(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function f(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function c(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}var u=t(432),h=t(478),d=t(476).Buffer,l=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],p=new Array(64);u(n,h),n.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},n.prototype._update=function(t){for(var e=this._w,r=0|this._a,n=0|this._b,u=0|this._c,h=0|this._d,d=0|this._e,p=0|this._f,b=0|this._g,v=0|this._h,y=0;y<16;++y)e[y]=t.readInt32BE(4*y);for(;y<64;++y)e[y]=c(e[y-2])+e[y-7]+f(e[y-15])+e[y-16]|0;for(var g=0;g<64;++g){var m=v+s(d)+i(d,p,b)+l[g]+e[g]|0,w=a(r)+o(r,n,u)|0;v=b,b=p,p=d,d=h+m|0,h=u,u=n,n=r,r=m+w|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=u+this._c|0,this._d=h+this._d|0,this._e=d+this._e|0,this._f=p+this._f|0,this._g=b+this._g|0,this._h=v+this._h|0},n.prototype._hash=function(){var t=d.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},e.exports=n},{432:432,476:476,478:478}],484:[function(t,e,r){function n(){this.init(),this._w=f,a.call(this,128,112)}var i=t(432),o=t(485),a=t(478),s=t(476).Buffer,f=new Array(160);i(n,o),n.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},n.prototype._hash=function(){function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}var e=s.allocUnsafe(48);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=n},{432:432,476:476,478:478,485:485}],485:[function(t,e,r){function n(){this.init(),this._w=y,p.call(this,128,112)}function i(t,e,r){return r^t&(e^r)}function o(t,e,r){return t&e|r&(t|e)}function a(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function s(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function f(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function c(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function u(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function h(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function d(t,e){return t>>>0>>0?1:0}var l=t(432),p=t(478),b=t(476).Buffer,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],y=new Array(160);l(n,p),n.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},n.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,l=0|this._ch,p=0|this._dh,b=0|this._eh,y=0|this._fh,g=0|this._gh,m=0|this._hh,w=0|this._al,_=0|this._bl,S=0|this._cl,E=0|this._dl,k=0|this._el,M=0|this._fl,x=0|this._gl,A=0|this._hl,I=0;I<32;I+=2)e[I]=t.readInt32BE(4*I),e[I+1]=t.readInt32BE(4*I+4);for(;I<160;I+=2){var R=e[I-30],B=e[I-30+1],T=f(R,B),P=c(B,R),C=u(R=e[I-4],B=e[I-4+1]),O=h(B,R),j=e[I-14],N=e[I-14+1],L=e[I-32],D=e[I-32+1],F=P+N|0,U=T+j+d(F,P)|0;U=(U=U+C+d(F=F+O|0,O)|0)+L+d(F=F+D|0,D)|0,e[I]=U,e[I+1]=F}for(var q=0;q<160;q+=2){U=e[q],F=e[q+1];var z=o(r,n,l),V=o(w,_,S),G=a(r,w),K=a(w,r),W=s(b,k),H=s(k,b),X=v[q],J=v[q+1],Y=i(b,y,g),Z=i(k,M,x),Q=A+H|0,$=m+W+d(Q,A)|0;$=($=($=$+Y+d(Q=Q+Z|0,Z)|0)+X+d(Q=Q+J|0,J)|0)+U+d(Q=Q+F|0,F)|0;var tt=K+V|0,et=G+z+d(tt,K)|0;m=g,A=x,g=y,x=M,y=b,M=k,b=p+$+d(k=E+Q|0,E)|0,p=l,E=S,l=n,S=_,n=r,_=w,r=$+et+d(w=Q+tt|0,Q)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+S|0,this._dl=this._dl+E|0,this._el=this._el+k|0,this._fl=this._fl+M|0,this._gl=this._gl+x|0,this._hl=this._hl+A|0,this._ah=this._ah+r+d(this._al,w)|0,this._bh=this._bh+n+d(this._bl,_)|0,this._ch=this._ch+l+d(this._cl,S)|0,this._dh=this._dh+p+d(this._dl,E)|0,this._eh=this._eh+b+d(this._el,k)|0,this._fh=this._fh+y+d(this._fl,M)|0,this._gh=this._gh+g+d(this._gl,x)|0,this._hh=this._hh+m+d(this._hl,A)|0},n.prototype._hash=function(){function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}var e=b.allocUnsafe(64);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=n},{432:432,476:476,478:478}],486:[function(t,e,r){function n(){i.call(this)}e.exports=n;var i=t(414).EventEmitter;t(432)(n,i),n.Readable=t(471),n.Writable=t(473),n.Duplex=t(461),n.Transform=t(472),n.PassThrough=t(470),(n.Stream=n).prototype.pipe=function(t,e){function r(e){t.writable&&!1===t.write(e)&&c.pause&&c.pause()}function n(){c.readable&&c.resume&&c.resume()}function o(){u||(u=!0,t.end())}function a(){u||(u=!0,\"function\"==typeof t.destroy&&t.destroy())}function s(t){if(f(),0===i.listenerCount(this,\"error\"))throw t}function f(){c.removeListener(\"data\",r),t.removeListener(\"drain\",n),c.removeListener(\"end\",o),c.removeListener(\"close\",a),c.removeListener(\"error\",s),t.removeListener(\"error\",s),c.removeListener(\"end\",f),c.removeListener(\"close\",f),t.removeListener(\"close\",f)}var c=this;c.on(\"data\",r),t.on(\"drain\",n),t._isStdio||e&&!1===e.end||(c.on(\"end\",o),c.on(\"close\",a));var u=!1;return c.on(\"error\",s),t.on(\"error\",s),c.on(\"end\",f),c.on(\"close\",f),t.on(\"close\",f),t.emit(\"pipe\",c),t}},{414:414,432:432,461:461,470:470,471:471,472:472,473:473}],487:[function(t,e,r){\"use strict\";function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return\"utf8\";for(var e;;)switch(t){case\"utf8\":case\"utf-8\":return\"utf8\";case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return\"utf16le\";case\"latin1\":case\"binary\":return\"latin1\";case\"base64\":case\"ascii\":case\"hex\":return t;default:if(e)return;t=(\"\"+t).toLowerCase(),e=!0}}(t);if(\"string\"!=typeof e&&(g.isEncoding===m||!m(t)))throw new Error(\"Unknown encoding: \"+t);return e||t}(t),this.encoding){case\"utf16le\":this.text=d,this.end=l,e=4;break;case\"utf8\":this.fillLast=c,e=4;break;case\"base64\":this.text=p,this.end=b,e=3;break;default:return this.write=v,void(this.end=y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function c(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,\"�\";if(1 \"+n),this.videoTs=n,i){case 23:var o=e.readByte();if(0==o){e.skipBytes(3);var a=(e.readByte(),e.sliceAsUint8Array(e.readerIndex(),3));a[0],a[1],a[2],this.tracks.video.codec=\"avc1.\"+c.default.hexDump(a).toUpperCase(),this.lengthHeaderSize=1+(3&e.readByte());for(var s=31&e.readByte(),f=[],u=0;u \"+n.width+\"x\"+n.height),this.remuxer.resetInitSegment())}if(0e){var r=0;switch(e){case 2:r=t.readShort();break;case 4:r=t.readInt()}return t.readableBytes()e))return void b.logger.log(\"not enough audio\");r=0}else b.logger.log(\"aindex \"+r);var n=this.audio[r].pts,i=e-n;if(i<-100){b.logger.log(\"align buffer missing audio \"+-i);var o=this.findIndex(this.video,n-20,n);return this.aligned=!0,this.cut(-1,o)}100i-this.audio[r-1]&&r--;break}r++}if(!this.audio[r])break;var o=this.audio[r].pts;if(e>=this.video.length-2)r--;else if(!(this.video[e].duration>2*this.video[e-1].duration||this.video[e].duration>2*this.video[e+1].duration)){if(Math.abs(i-o)<100){n=this.cut(r,e);break}r--}}return n}},{key:\"cut\",value:function(t,e){-1=this.fragmentLengthMs,e=!this.hasVideo||this.buffered(this.video)>=this.fragmentLengthMs&&2t||(t-=this.bitsAvailable,t-=(e=t>>3)>>3,this.bytesAvailable-=e,this.loadWord()),this.word<<=t,this.bitsAvailable-=t}},{key:\"readBits\",value:function(t){var e=Math.min(this.bitsAvailable,t),r=this.word>>>32-e;return 32>>t))return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()}},{key:\"skipUEG\",value:function(){this.skipBits(1+this.skipLZ())}},{key:\"skipEG\",value:function(){this.skipBits(1+this.skipLZ())}},{key:\"readUEG\",value:function(){var t=this.skipLZ();return this.readBits(t+1)-1}},{key:\"readEG\",value:function(){var t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)}},{key:\"readBoolean\",value:function(){return 1===this.readBits(1)}},{key:\"readUByte\",value:function(){return this.readBits(8)}},{key:\"readUShort\",value:function(){return this.readBits(16)}},{key:\"readUInt\",value:function(){return this.readBits(32)}},{key:\"skipScalingList\",value:function(t){var e,n=8,i=8;for(e=0;e>24&255,e[1]=n>>16&255,e[2]=n>>8&255,e[3]=255&n,e.set(t,4),i=0,n=8;i>24&255,e>>16&255,e>>8&255,255&e,n>>24,n>>16&255,n>>8&255,255&n,i>>24,i>>16&255,i>>8&255,255&i,85,196,0,0]))}},{key:\"mdia\",value:function(e){return t.box(t.types.mdia,t.mdhd(e.timescale,e.duration),t.hdlr(e.type),t.minf(e))}},{key:\"mfhd\",value:function(e){return t.box(t.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))}},{key:\"minf\",value:function(e){return\"audio\"===e.type?t.box(t.types.minf,t.box(t.types.smhd,t.SMHD),t.DINF,t.stbl(e)):t.box(t.types.minf,t.box(t.types.vmhd,t.VMHD),t.DINF,t.stbl(e))}},{key:\"moof\",value:function(e,r,n){return t.box(t.types.moof,t.mfhd(e),t.traf(n,r))}},{key:\"moov\",value:function(e){for(var r=e.length,n=[];r--;)n[r]=t.trak(e[r]);return t.box.apply(null,[t.types.moov,t.mvhd(e[0].timescale,e[0].duration)].concat(n).concat(t.mvex(e)))}},{key:\"mvex\",value:function(e){for(var r=e.length,n=[];r--;)n[r]=t.trex(e[r]);return t.box.apply(null,[t.types.mvex].concat(n))}},{key:\"mvhd\",value:function(e,r){r*=e;var n=Math.floor(r/(o+1)),i=Math.floor(r%(o+1)),a=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24,n>>16&255,n>>8&255,255&n,i>>24,i>>16&255,i>>8&255,255&i,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t.box(t.types.mvhd,a)}},{key:\"sdtp\",value:function(e){var r,n,i=e.samples||[],o=new Uint8Array(4+i.length);for(n=0;n>>8&255),o.push(255&i),o=o.concat(Array.prototype.slice.call(n));for(r=0;r>>8&255),a.push(255&i),a=a.concat(Array.prototype.slice.call(n));var s=t.box(t.types.avcC,new Uint8Array([1,o[3],o[4],o[5],255,224|e.sps.length].concat(o).concat([e.pps.length]).concat(a))),f=e.width,c=e.height,u=e.pixelRatio[0],h=e.pixelRatio[1];return t.box(t.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,f>>8&255,255&f,c>>8&255,255&c,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),s,t.box(t.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),t.box(t.types.pasp,new Uint8Array([u>>24,u>>16&255,u>>8&255,255&u,h>>24,h>>16&255,h>>8&255,255&h])))}},{key:\"esds\",value:function(t){var e=t.config.length;return new Uint8Array([0,0,0,0,3,23+e,0,1,0,4,15+e,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([e]).concat(t.config).concat([6,1,2]))}},{key:\"mp4a\",value:function(e){var r=e.samplerate;return t.box(t.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,r>>8&255,255&r,0,0]),t.box(t.types.esds,t.esds(e)))}},{key:\"mp3\",value:function(e){var r=e.samplerate;return t.box(t.types[\".mp3\"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,r>>8&255,255&r,0,0]))}},{key:\"stsd\",value:function(e){return\"audio\"===e.type?e.isAAC||\"mp3\"!==e.codec?t.box(t.types.stsd,t.STSD,t.mp4a(e)):t.box(t.types.stsd,t.STSD,t.mp3(e)):t.box(t.types.stsd,t.STSD,t.avc1(e))}},{key:\"tkhd\",value:function(e){var r=e.id,n=e.duration*e.timescale,i=e.width,a=e.height,s=Math.floor(n/(o+1)),f=Math.floor(n%(o+1));return t.box(t.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,r>>24&255,r>>16&255,r>>8&255,255&r,0,0,0,0,s>>24,s>>16&255,s>>8&255,255&s,f>>24,f>>16&255,f>>8&255,255&f,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,i>>8&255,255&i,0,0,a>>8&255,255&a,0,0]))}},{key:\"traf\",value:function(e,r){var n=t.sdtp(e),i=e.id,a=Math.floor(r/(o+1)),s=Math.floor(r%(o+1));return t.box(t.types.traf,t.box(t.types.tfhd,new Uint8Array([0,0,0,0,i>>24,i>>16&255,i>>8&255,255&i])),t.box(t.types.tfdt,new Uint8Array([1,0,0,0,a>>24,a>>16&255,a>>8&255,255&a,s>>24,s>>16&255,s>>8&255,255&s])),t.trun(e,n.length+16+20+8+16+8+8),n)}},{key:\"trak\",value:function(e){return e.duration=e.duration||4294967295,t.box(t.types.trak,t.tkhd(e),t.mdia(e))}},{key:\"trex\",value:function(e){var r=e.id;return t.box(t.types.trex,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,255&r,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}},{key:\"trun\",value:function(e,r){var n,i,o,a,s,f,c=e.samples||[],u=c.length,h=12+16*u,d=new Uint8Array(h);for(r+=8+h,d.set([0,0,15,1,u>>>24&255,u>>>16&255,u>>>8&255,255&u,r>>>24&255,r>>>16&255,r>>>8&255,255&r],0),n=0;n>>24&255,o>>>16&255,o>>>8&255,255&o,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s.isLeading<<2|s.dependsOn,s.isDependedOn<<6|s.hasRedundancy<<4|s.paddingValue<<1|s.isNonSync,61440&s.degradPrio,15&s.degradPrio,f>>>24&255,f>>>16&255,f>>>8&255,255&f],12+16*n);return t.box(t.types.trun,d)}},{key:\"initSegment\",value:function(e){t.types||t.init();var r,n=t.moov(e);return(r=new Uint8Array(t.FTYP.byteLength+n.byteLength)).set(t.FTYP),r.set(n,t.FTYP.byteLength),r}}]),t}();r.default=a},{}],502:[function(t,e,r){\"use strict\";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,\"__esModule\",{value:!0});var o=function(){function t(t,e){for(var r=0;r>1,r=new Uint8Array(e),n=0;n>>3,a=(r>>>3)-1,s=7&e,f=8-s,c=8-r&7,u=0;u>f,u==a-1&&c<8&&(h>>=c,h<<=c)),i[u]=t[o+u]<>8-++this.bitpos&1,8<=(0|this.bitpos)&&(this.byte=this.src.getUint8(++this.bytepos),this.bitpos&=7);return e}},{key:\"skipBits\",value:function(t){return this.bitpos+=7&(0|t),this.bytepos+=(0|t)>>>3,7=this.src.byteLength}}]),t}()},{}],508:[function(t,e,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var i=function(){function t(t,e){for(var r=0;r \"+e}(t,n[0])),e.apply(self.console,n)}:n}Object.defineProperty(r,\"__esModule\",{value:!0});var s=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},f={trace:n,debug:n,log:n,warn:n,info:n,error:n},c=f;r.enableLogs=function(t){if(!0===t||\"object\"===(void 0===t?\"undefined\":s(t))){!function(t){for(var e=arguments.length,r=Array(1video.videoHeight?(videoRatio=video.videoWidth/video.videoHeight,newHeight=constraints.video.videoWidth/videoRatio,newWidth=constraints.video.videoWidth):(videoRatio=video.videoHeight/video.videoWidth,newWidth=constraints.video.videoHeight/videoRatio,newHeight=constraints.video.videoHeight),console.log(\"videoRatio === \"+videoRatio),stream.getVideoTracks()[0].applyConstraints({height:newHeight,width:newWidth})},getScreenDeviceId=function(constraints){return new Promise(function(resolve,reject){var o={};window.chrome?chrome.runtime.sendMessage(extensionId,{type:\"isInstalled\"},function(response){response?(o.maxWidth=constraints.video.width,o.maxHeight=constraints.video.height,o.maxFrameRate=constraints.video.frameRate.max,o.chromeMediaSource=\"desktop\",chrome.runtime.sendMessage(extensionId,{type:\"getSourceId\"},function(response){if(response.error)reject(new Error(\"Screen access denied\"));else{o.chromeMediaSourceId=response.sourceId;var result={mandatory:o,sourceId:response.sourceId};response.systemSoundAccess&&(result.audioMandatory={chromeMediaSource:\"desktop\",chromeMediaSourceId:response.sourceId,echoCancellation:!0}),resolve(result)}})):reject(new Error(\"Screen sharing extension is not available\"))}):(o.mediaSource=constraints.video.mediaSource,o.width={},o.height={},o.frameRate={min:constraints.video.frameRate.max,max:constraints.video.frameRate.max},o.videoWidth=constraints.video.width,o.videoHeight=constraints.video.height,resolve(o))})},releaseMedia=function(display){var video=getCacheInstance(display);return!!video&&(removeVideoElement(video),!0)};function getCacheInstance(display){var i;if(display)for(i=0;i 0\r\n// Runs immediately if no delay to make sure cache/buffer is flushed before anything else.\r\n// Plugins should take care to register handlers by order of precedence.\r\nfunction d(a,b){b?setTimeout(a,b):a()}\r\n// General function to register plugin handlers. Flushes buffers immediately upon registration according to the specified delay.\r\nfunction e(b,e,f){\r\n// Do not add a handler if developerMode is true\r\nif(!j.developerMode){p[b]=c(b,e,f);var g=j[b],h=g?g.bufferFlushDelay:null,i=null!==h?h:j.bufferFlushDelay;a.forEach(m[b],function(a,b){d(function(){e.apply(this,a)},b*i)})}}function f(a){return a.replace(/^./,function(a){return a.toUpperCase()})}\r\n// Adds to the provider a 'register#{handlerName}' function that manages multiple plugins and buffer flushing.\r\nfunction g(a){var d=\"register\"+f(a);q[d]=function(b,c){e(a,b,c)},p[a]=c(a,b(a))}function h(b,c,d){a.forEach(c,d);for(var e in b)i[e]=b[e]}var i=this,j={pageTracking:{autoTrackFirstPage:!0,autoTrackVirtualPages:!0,trackRelativePath:!1,trackRoutes:!0,trackStates:!0,autoBasePath:!1,basePath:\"\",excludedRoutes:[],queryKeysWhitelisted:[],queryKeysBlacklisted:[]},eventTracking:{},bufferFlushDelay:1e3,// Support only one configuration for buffer flush delay to simplify buffering\r\ntrackExceptions:!1,optOut:!1,developerMode:!1},l=[\"pageTrack\",\"eventTrack\",\"exceptionTrack\",\"transactionTrack\",\"setAlias\",\"setUsername\",\"setUserProperties\",\"setUserPropertiesOnce\",\"setSuperProperties\",\"setSuperPropertiesOnce\",\"incrementProperty\",\"userTimings\",\"clearCookies\"],m={},n={},o={},p={settings:j};\r\n// Opt in and opt out functions\r\np.setOptOut=function(a){this.settings.optOut=a,s()},p.getOptOut=function(){return this.settings.optOut};var q={$get:[\"$injector\",function(a){return r(a)}],api:p,settings:j,virtualPageviews:function(a){this.settings.pageTracking.autoTrackVirtualPages=a},trackStates:function(a){this.settings.pageTracking.trackStates=a},trackRoutes:function(a){this.settings.pageTracking.trackRoutes=a},excludeRoutes:function(a){this.settings.pageTracking.excludedRoutes=a},queryKeysWhitelist:function(a){this.settings.pageTracking.queryKeysWhitelisted=a},queryKeysBlacklist:function(a){this.settings.pageTracking.queryKeysBlacklisted=a},firstPageview:function(a){this.settings.pageTracking.autoTrackFirstPage=a},withBase:function(b){this.settings.pageTracking.basePath=b?a.element(document).find(\"base\").attr(\"href\"):\"\"},withAutoBase:function(a){this.settings.pageTracking.autoBasePath=a},trackExceptions:function(a){this.settings.trackExceptions=a},developerMode:function(a){this.settings.developerMode=a}},r=function(b){return a.extend(p,{$inject:b.invoke})},s=function(){h(q,l,g)};\r\n// Initial register\r\nh(q,l,g)}function d(b,c,d,e){function f(a){for(var b=0;b-1)return!0}return!1}function g(a,b){for(var c=[],d=0;d0){for(var d=a.split(\"?\"),e=d[0],f=d[1].split(\"&\"),h=[],i=0;i-1)&&h.push(f[k]);var l=\"white\"==c?h:g(f,h);return l.length>0?e+\"?\"+l.join(\"&\"):e}return a}function i(a){return h(a,d.settings.pageTracking.queryKeysWhitelisted,\"white\")}function j(a){return h(a,d.settings.pageTracking.queryKeysBlacklisted,\"black\")}function k(a,b){f(a)||(a=i(a),a=j(a),d.pageTrack(a,b))}d.settings.pageTracking.autoTrackFirstPage&&e.invoke([\"$location\",function(a){/* Only track the 'first page' if there are no routes or states on the page */\r\nvar b=!0;if(e.has(\"$route\")){var f=e.get(\"$route\");if(f)for(var g in f.routes){b=!1;break}else null===f&&(b=!1)}else if(e.has(\"$state\")){var h=e.get(\"$state\");for(var i in h.get()){b=!1;break}}if(b)if(d.settings.pageTracking.autoBasePath&&(d.settings.pageTracking.basePath=c.location.pathname),d.settings.pageTracking.trackRelativePath){var j=d.settings.pageTracking.basePath+a.url();k(j,a)}else k(a.absUrl(),a)}]),d.settings.pageTracking.autoTrackVirtualPages&&e.invoke([\"$location\",function(a){d.settings.pageTracking.autoBasePath&&(/* Add the full route to the base. */\r\nd.settings.pageTracking.basePath=c.location.pathname+\"#\");var f=!0;if(d.settings.pageTracking.trackRoutes&&e.has(\"$route\")){var g=e.get(\"$route\");if(g)for(var h in g.routes){f=!1;break}else null===g&&(f=!1);b.$on(\"$routeChangeSuccess\",function(b,c){if(!c||!(c.$$route||c).redirectTo){var e=d.settings.pageTracking.basePath+a.url();k(e,a)}})}d.settings.pageTracking.trackStates&&(e.has(\"$state\")&&!e.has(\"$transitions\")&&(f=!1,b.$on(\"$stateChangeSuccess\",function(b,c){var e=d.settings.pageTracking.basePath+a.url();k(e,a)})),e.has(\"$state\")&&e.has(\"$transitions\")&&(f=!1,e.invoke([\"$transitions\",function(b){b.onSuccess({},function(b){var c=b.options();\r\n// only track for transitions that would have triggered $stateChangeSuccess\r\nif(c.notify){var e=d.settings.pageTracking.basePath+a.url();k(e,a)}})}]))),f&&b.$on(\"$locationChangeSuccess\",function(b,c){if(!c||!(c.$$route||c).redirectTo)if(d.settings.pageTracking.trackRelativePath){var e=d.settings.pageTracking.basePath+a.url();k(e,a)}else k(a.absUrl(),a)})}]),d.settings.developerMode&&a.forEach(d,function(a,b){\"function\"==typeof a&&(d[b]=function(){})})}function e(b){return{restrict:\"A\",link:function(c,d,e){var f=e.analyticsOn||\"click\",g={};a.forEach(e.$attr,function(a,b){i(b)&&(g[j(b)]=e[b],e.$observe(b,function(a){g[j(b)]=a}))}),a.element(d[0]).bind(f,function(f){var i=e.analyticsEvent||h(d[0]);g.eventType=f.type,e.analyticsIf&&!c.$eval(e.analyticsIf)||(\r\n// Allow components to pass through an expression that gets merged on to the event properties\r\n// eg. analytics-properites='myComponentScope.someConfigExpression.$analyticsProperties'\r\ne.analyticsProperties&&a.extend(g,c.$eval(e.analyticsProperties)),b.eventTrack(i,g))})}}}function f(a){a.decorator(\"$exceptionHandler\",[\"$delegate\",\"$injector\",function(a,b){return function(c,d){var e=a(c,d),f=b.get(\"$analytics\");return f.settings.trackExceptions&&f.exceptionTrack(c,d),e}}])}function g(a){return[\"a:\",\"button:\",\"button:button\",\"button:submit\",\"input:button\",\"input:submit\"].indexOf(a.tagName.toLowerCase()+\":\"+(a.type||\"\"))>=0}function h(a){return g(a)?a.innerText||a.value:a.id||a.name||a.tagName}function i(a){return\"analytics\"===a.substr(0,9)&&[\"On\",\"Event\",\"If\",\"Properties\",\"EventType\"].indexOf(a.substr(9))===-1}function j(a){var b=a.slice(9);// slice off the 'analytics' prefix\r\n// slice off the 'analytics' prefix\r\nreturn\"undefined\"!=typeof b&&null!==b&&b.length>0?b.substring(0,1).toLowerCase()+b.substring(1):b}var k=window.angulartics||(window.angulartics={});k.waitForVendorCount=0,k.waitForVendorApi=function(a,b,c,d,e){e||k.waitForVendorCount++,d||(d=c,c=void 0),!Object.prototype.hasOwnProperty.call(window,a)||void 0!==c&&void 0===window[a][c]?setTimeout(function(){k.waitForVendorApi(a,b,c,d,!0)},b):(k.waitForVendorCount--,d(window[a]))},/**\r\n * @ngdoc overview\r\n * @name angulartics\r\n */\r\na.module(\"angulartics\",[]).provider(\"$analytics\",c).run([\"$rootScope\",\"$window\",\"$analytics\",\"$injector\",d]).directive(\"analyticsOn\",[\"$analytics\",e]).config([\"$provide\",f])}(angular);","!function(window,angular,undefined){\"use strict\";angular.module(\"angulartics.clicky\",[\"angulartics\"]).config([\"$analyticsProvider\",\"$documentProvider\",function($analyticsProvider,$documentProvider){function registerEvents(clicky){clickyApi=clicky,clickyApi&&($analyticsProvider.registerPageTrack(pageTrack),$analyticsProvider.registerEventTrack(eventTrack))}function pageTrack(path,properties){var title=properties.title||$document[0].title,type=validateType(properties.type);clickyApi.log(path,title,type)}function eventTrack(action,properties){var goalId,revenue,noQueue,title,type;angular.isDefined(properties.goal)?(goalId=properties.goal,revenue=validateNumber(properties.revenue)?properties.revenue:undefined,noQueue=!!properties.noQueue,clickyApi.goal(goalId,revenue,noQueue)):(type=validateType(properties.type)===properties.type?properties.type:\"click\",title=properties.title||properties.value,clickyApi.log(action,title,type))}function validateType(type){var TYPE_ENUM=[\"click\",\"download\",\"outbound\",\"pageview\"];return TYPE_ENUM.indexOf(type)>=0?type:\"pageview\"}function validateNumber(number){return\"number\"==typeof number&&isFinite(number)}var clickyApi,$document=$documentProvider.$get;$analyticsProvider.settings.pageTracking.trackRelativePath=!0,angulartics.waitForVendorApi(\"clicky\",100,registerEvents)}])}(window,window.angular);\r\n//# sourceMappingURL=../dist/angulartics-clicky.min.js.map\r\n","!function(angular){\"use strict\";angular.module(\"angulartics.google.tagmanager\",[\"angulartics\"]).config([\"$analyticsProvider\",function($analyticsProvider){function eventTrack(action,properties){var dataLayer=window.dataLayer=window.dataLayer||[];properties=properties||{},dataLayer.push({event:properties.event||\"interaction\",target:properties.category,action:action,\"target-properties\":properties.label,value:properties.value,\"interaction-type\":properties.noninteraction,userId:$analyticsProvider.settings.ga.userId})}$analyticsProvider.settings.ga={userId:null},$analyticsProvider.registerPageTrack(function(path){var dataLayer=window.dataLayer=window.dataLayer||[];dataLayer.push({event:\"content-view\",\"content-name\":path,userId:$analyticsProvider.settings.ga.userId})}),$analyticsProvider.registerEventTrack(eventTrack),$analyticsProvider.registerExceptionTrack(function(properties){return properties.description?void eventTrack(properties.description,{category:\"Exceptions\",label:properties.stack}):void console.log(\"Property description is required to be set\")}),$analyticsProvider.registerSetUsername(function(userId){$analyticsProvider.settings.ga.userId=userId})}])}(angular);\r\n//# sourceMappingURL=../dist/angulartics-google-tag-manager.min.js.map\r\n"]}