!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);throw new Error("Cannot find module '"+a+"'")}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return i(n?n:e)},l,l.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())}return this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,o,s;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,r=-1,n===t||i(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(n)){for(s=o;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){r=s;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],i(n))this.removeListener(e,n);else for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.listenerCount=function(e,t){var n;return n=e._events&&e._events[t]?i(e._events[t])?1:e._events[t].length:0}},{}],3:[function(e,t,n){(function(e,t){function r(e,t){return e-t}function i(e){if(this._config={store_data:!0},e)for(var t in o)e.hasOwnProperty(t)&&o[t](this,e[t]);return this.reset(),this}var o={bucket_precision:function(e,t){if("number"!=typeof t||t<=0)throw new Error("bucket_precision must be a positive number");e._config.bucket_precision=t,e.buckets=[]},buckets:function(e,t){if(!Array.isArray(t)||0==t.length)throw new Error("buckets must be an array of bucket limits");e._config.buckets=t,e.buckets=[]},bucket_extension_interval:function(e,t){if(void 0!==t){if("number"!=typeof t||t<=0)throw new Error("bucket_extension_interval must be a positive number");e._config.bucket_extension_interval=t}},store_data:function(e,t){if("boolean"!=typeof t)throw new Error("store_data must be a true or false");e._config.store_data=t},sampling:function(e,t){if("boolean"!=typeof t)throw new Error("sampling must be a true or false");e._config.sampling=t}};if(i.prototype={reset:function(){return this._config.store_data&&(this.data=[]),this.length=0,this.sum=0,this.sum_of_squares=0,this.sum_of_logs=0,this.sum_of_square_of_logs=0,this.zeroes=0,this.max=this.min=null,this._reset_cache(),this},_reset_cache:function(){this._stddev=null,this._config.store_data&&(this._data_sorted=null)},_find_bucket:function(e){var t,n,r=0;if(this._config.buckets)for(n=this._config.buckets.length,this._config.bucket_extension_interval&&e>=this._config.buckets[n-1]&&(t=e-this._config.buckets[n-1],r=parseInt(t/this._config.bucket_extension_interval)+n,void 0===this._config.buckets[r]&&(this._config.buckets[r]=this._config.buckets[n-1]+(parseInt(t/this._config.bucket_extension_interval)+1)*this._config.bucket_extension_interval),void 0===this._config.buckets[r-1]&&(this._config.buckets[r-1]=this._config.buckets[n-1]+parseInt(t/this._config.bucket_extension_interval)*this._config.bucket_extension_interval));r0&&((null===this.max||this.maxe)&&(this.min=e)),this.buckets){var r=this._find_bucket(e);for(this.buckets[r]||(this.buckets[r]=[0]),this.buckets[r][0]+=n.shift(),t=0;t0&&(this.max===e||this.min===e)){var t=this.length-1;if(t>=0)for(this.max=this.min=this.data[t--];t-- >=0;)this.maxthis.data[t]&&(this.min=this.data[t])}if(this.buckets){var r=this._find_bucket(e);if(this.buckets[r])if(this.buckets[r][0]-=n.shift(),0===this.buckets[r][0])delete this.buckets[r];else for(t=0;t0?NaN:Math.exp(this.sum_of_logs/this.length)},stddev:function(){if(0===this.length)return NaN;var e=this.length;return this._config.sampling&&e--,null===this._stddev&&(this._stddev=Math.sqrt((this.length*this.sum_of_squares-this.sum*this.sum)/(this.length*e))),this._stddev},gstddev:function(){if(0===this.length)return NaN;if(this.zeroes>0)return NaN;var e=this.length;return this._config.sampling&&e--,Math.exp(Math.sqrt((this.length*this.sum_of_square_of_logs-this.sum_of_logs*this.sum_of_logs)/(this.length*e)))},moe:function(){return 0===this.length?NaN:1.96*this.stddev()/Math.sqrt(this.length)},range:function(){return 0===this.length?[NaN,NaN]:[this.min,this.max]},distribution:function(){if(0===this.length)return[];if(!this.buckets)throw new Error("bucket_precision or buckets not configured.");var e,t,n,r=[];if(this._config.buckets){for(t=this.min,n=Math.min(this.buckets.length,this._config.buckets.length),e=0;ethis._config.buckets[e]||(r[e]={bucket:(t+this._config.buckets[e])/2,range:[t,this._config.buckets[e]],count:this.buckets[e]?this.buckets[e][0]:0,tuple:this.buckets[e]?this.buckets[e].slice(1):[]},!(this.max=100?this.length-1:Math.floor(this.length*e/100),0===t)return this.min;if(t===this.length-1)return this.max;if(this._config.store_data)return null===this._data_sorted&&(this._data_sorted=this.data.slice(0).sort(r)),"number"==typeof t?this._data_sorted[t]:(this._data_sorted[t[0]]+this._data_sorted[t[1]])/2;var n;for("number"!=typeof t&&(t=(t[0]+t[1])/2),this._config.buckets?n=0:this._config.bucket_precision&&(n=Math.floor(this.min/this._config.bucket_precision));n0?this._config.buckets[t-1]:this.min,n[1]=te||!n&&this._data_sorted[a]===e)&&u.push(this._data_sorted[a]);else if(this._config.buckets){for(a=0;a<=this._config.buckets.length;a++)if(!(this._config.buckets[a]this.max&&(l=this.max),te||!n&&c===e)&&(ce||!n&&c===e)&&(c0?0:Math.exp(this.sum_of_logs)}},i.prototype.σ=i.prototype.stddev,i.prototype.μ=i.prototype.amean,n.Stats=i,e.argv[1]&&e.argv[1].match(t)){var a=(new i).push(1,2,3),s=e.argv.slice(2);s.length||(s=[10,11,15,8,13,12,19,32,17,16]),s.forEach(function(e,t,n){n[t]=parseFloat(e,10)}),i.prototype.push.apply(a,s),console.log(a.amean().toFixed(2),a.μ().toFixed(2),a.stddev().toFixed(2),a.σ().toFixed(2),a.gmean().toFixed(2),a.median().toFixed(2),a.moe().toFixed(2))}}).call(this,e("g5I+bs"),"/node_modules/fast-stats/faststats.js")},{"g5I+bs":5}],4:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return ur.apply(null,arguments)}function r(e){ur=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function a(e,t){var n,r=[];for(n=0;n0)for(n in cr)r=cr[n],i=t[r],p(i)||(e[r]=i);return e}function m(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),hr===!1&&(hr=!0,n.updateOffset(this),hr=!1)}function g(e){return e instanceof m||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e):Math.floor(e)}function v(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function b(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0;){if(r=D(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(i,n,!0)>=t-1)break;t--}o++}return null}function D(n){var r=null;if(!mr[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=pr._abbr,e("./locale/"+n),E(r)}catch(i){}return mr[n]}function E(e,t){var n;return e&&(n=p(t)?W(e):L(e,t),n&&(pr=n)),pr._abbr}function L(e,t){return null!==t?(t.abbr=e,null!=mr[e]?(O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),t=S(mr[e]._config,t)):null!=t.parentLocale&&(null!=mr[t.parentLocale]?t=S(mr[t.parentLocale]._config,t):O("parentLocaleUndefined","specified parentLocale is not defined yet")),mr[e]=new C(t),E(e),mr[e]):(delete mr[e],null)}function Y(e,t){if(null!=t){var n;null!=mr[e]&&(t=S(mr[e]._config,t)),n=new C(t),n.parentLocale=mr[e],mr[e]=n,E(e)}else null!=mr[e]&&(null!=mr[e].parentLocale?mr[e]=mr[e].parentLocale:null!=mr[e]&&delete mr[e]);return mr[e]}function W(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return pr;if(!i(e)){if(t=D(e))return t;e=[e]}return j(e)}function F(){return dr(mr)}function R(e,t){var n=e.toLowerCase();gr[n]=gr[n+"s"]=gr[t]=e}function A(e){return"string"==typeof e?gr[e]||gr[e.toLowerCase()]:void 0}function H(e){var t,n,r={};for(n in e)s(e,n)&&(t=A(n),t&&(r[t]=e[n]));return r}function N(e,t){return function(r){return null!=r?(V(this,e,r),n.updateOffset(this,t),this):B(this,e)}}function B(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function V(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function G(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=A(e),x(this[e]))return this[e](t);return this}function I(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function U(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return I(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function q(e){var t,n,r=e.match(_r);for(t=0,n=r.length;t=0&&vr.test(e);)e=e.replace(vr,n),vr.lastIndex=0,r-=1;return e}function Q(e,t,n){Hr[e]=x(t)?t:function(e,r){return e&&n?n:t}}function J(e,t){return s(Hr,e)?Hr[e](t._strict,t._locale):new RegExp(K(e))}function K(e){return X(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function X(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ee(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=v(e)}),n=0;n11?Vr:n[Gr]<1||n[Gr]>re(n[Br],n[Vr])?Gr:n[Ir]<0||n[Ir]>24||24===n[Ir]&&(0!==n[Ur]||0!==n[zr]||0!==n[qr])?Ir:n[Ur]<0||n[Ur]>59?Ur:n[zr]<0||n[zr]>59?zr:n[qr]<0||n[qr]>999?qr:-1,h(e)._overflowDayOfYear&&(tGr)&&(t=Gr),h(e)._overflowWeeks&&t===-1&&(t=Zr),h(e)._overflowWeekday&&t===-1&&(t=$r),h(e).overflow=t),e}function ye(e){var t,n,r,i,o,a,s=e._i,u=ti.exec(s)||ni.exec(s);if(u){for(h(e).iso=!0,t=0,n=ii.length;t=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function _e(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ve(e){return be(e)?366:365}function be(e){return e%4===0&&e%100!==0||e%400===0}function we(){return be(this.year())}function ke(e,t,n){var r=7+t-n,i=(7+_e(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Oe(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=ke(e,r,i),l=1+7*(t-1)+s+u;return l<=0?(o=e-1,a=ve(o)+l):l>ve(e)?(o=e+1,a=l-ve(e)):(o=e,a=l),{year:o,dayOfYear:a}}function xe(e,t,n){var r,i,o=ke(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Me(i,t,n)):a>Me(e.year(),t,n)?(r=a-Me(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Me(e,t,n){var r=ke(e,t,n),i=ke(e+1,t,n);return(ve(e)-r+i)/7}function Pe(e,t,n){return null!=e?e:null!=t?t:n}function Se(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ce(e){var t,n,r,i,o=[];if(!e._d){for(r=Se(e),e._w&&null==e._a[Gr]&&null==e._a[Vr]&&Te(e),e._dayOfYear&&(i=Pe(e._a[Br],r[Br]),e._dayOfYear>ve(i)&&(h(e)._overflowDayOfYear=!0),n=_e(i,0,e._dayOfYear),e._a[Vr]=n.getUTCMonth(),e._a[Gr]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ir]&&0===e._a[Ur]&&0===e._a[zr]&&0===e._a[qr]&&(e._nextDay=!0,e._a[Ir]=0),e._d=(e._useUTC?_e:ge).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ir]=24)}}function Te(e){var t,n,r,i,o,a,s,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=Pe(t.GG,e._a[Br],xe(Ae(),1,4).year),r=Pe(t.W,1),i=Pe(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=Pe(t.gg,e._a[Br],xe(Ae(),o,a).year),r=Pe(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Me(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=Oe(n,r,i,o,a),e._a[Br]=s.year,e._dayOfYear=s.dayOfYear)}function je(e){if(e._f===n.ISO_8601)return void ye(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=$(e._f,e._locale).match(_r)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),wr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),h(e).bigHour===!0&&e._a[Ir]<=12&&e._a[Ir]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[Ir]=De(e._locale,e._a[Ir],e._meridiem),Ce(e),pe(e)}function De(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Ee(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!p(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),e=We(e),e._a){var t=e._isUTC?l(e._a):Ae(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return!!this.isValid()&&!this._isUTC}function rt(){return!!this.isValid()&&this._isUTC}function it(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function ot(e,t){var n,r,i,o=e,a=null;return Ge(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=fi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:v(a[Gr])*n,h:v(a[Ir])*n,m:v(a[Ur])*n,s:v(a[zr])*n,ms:v(a[qr])*n}):(a=di.exec(e))?(n="-"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=ut(Ae(o.from),Ae(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ve(o),Ge(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function st(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 ut(e,t){var n;return e.isValid()&&t.isValid()?(t=ze(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function lt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function ct(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=ot(n,r),ht(this,i,e),this}}function ht(e,t,r,i){var o=t._milliseconds,a=lt(t._days),s=lt(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&V(e,"Date",B(e,"Date")+a*r),s&&ue(e,B(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function ft(e,t){var n=e||Ae(),r=ze(n,this).startOf("day"),i=this.diff(r,"days",!0),o=i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse",a=t&&(x(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,Ae(n)))}function dt(){return new m(this)}function pt(e,t){var n=g(e)?e:Ae(e);return!(!this.isValid()||!n.isValid())&&(t=A(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),$t.call(this,e,t,n,r,i))}function $t(e,t,n,r,i){var o=Oe(e,t,n,r,i),a=_e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Jt(e){return xe(e,this._week.dow,this._week.doy).week}function Kt(){return this._week.dow}function Xt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function tn(e){var t=xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function nn(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=l([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=yr.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=yr.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=yr.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=yr.call(this._weekdaysParse,a),i!==-1?i:(i=yr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=yr.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=yr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=yr.call(this._weekdaysParse,a),i!==-1?i:(i=yr.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=yr.call(this._minWeekdaysParse,a),i!==-1?i:(i=yr.call(this._weekdaysParse,a),i!==-1?i:(i=yr.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function un(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=l([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function ln(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,"d")):t}function cn(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")}function hn(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function fn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||yn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function dn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||yn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function pn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||yn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function yn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];for(t=0;t<7;t++)n=l([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;t<7;t++)s[t]=X(s[t]),u[t]=X(u[t]),c[t]=X(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function mn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function gn(){return this.hours()%12||12}function _n(){return this.hours()||24}function vn(e,t){U(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function bn(e,t){return t._meridiemParse}function wn(e){return"p"===(e+"").toLowerCase().charAt(0)}function kn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function On(e,t){t[qr]=v(1e3*("0."+e))}function xn(){return this._isUTC?"UTC":""}function Mn(){return this._isUTC?"Coordinated Universal Time":""}function Pn(e){return Ae(1e3*e)}function Sn(){return Ae.apply(null,arguments).parseZone()}function Cn(e,t,n){var r=this._calendar[e];return x(r)?r.call(t,n):r}function Tn(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])}function jn(){return this._invalidDate}function Dn(e){return this._ordinal.replace("%d",e)}function En(e){return e}function Ln(e,t,n,r){var i=this._relativeTime[n];return x(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Yn(e,t){var n=this._relativeTime[e>0?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)}function Wn(e,t,n,r){var i=W(),o=l().set(r,t);return i[n](o,e)}function Fn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Wn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Wn(e,r,n,"month");return i}function Rn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=W(),o=e?i._week.dow:0;if(null!=n)return Wn(t,(n+o)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Wn(t,(a+o)%7,r,"day");return s}function An(e,t){return Fn(e,t,"months")}function Hn(e,t){return Fn(e,t,"monthsShort")}function Nn(e,t,n){return Rn(e,t,n,"weekdays")}function Bn(e,t,n){return Rn(e,t,n,"weekdaysShort")}function Vn(e,t,n){return Rn(e,t,n,"weekdaysMin")}function Gn(){var e=this._data;return this._milliseconds=Ni(this._milliseconds),this._days=Ni(this._days),this._months=Ni(this._months),e.milliseconds=Ni(e.milliseconds),e.seconds=Ni(e.seconds),e.minutes=Ni(e.minutes),e.hours=Ni(e.hours),e.months=Ni(e.months),e.years=Ni(e.years),this}function In(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Un(e,t){return In(this,e,t,1)}function zn(e,t){return In(this,e,t,-1)}function qn(e){return e<0?Math.floor(e):Math.ceil(e)}function Zn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*qn(Qn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=_(o/1e3),u.seconds=e%60,t=_(e/60),u.minutes=t%60,n=_(t/60),u.hours=n%24,a+=_(n/24),i=_($n(a)),s+=i,a-=qn(Qn(i)),r=_(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function $n(e){return 4800*e/146097}function Qn(e){return 146097*e/4800}function Jn(e){var t,n,r=this._milliseconds;if(e=A(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+$n(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Kn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}function Xn(e){return function(){return this.as(e)}}function er(e){return e=A(e),this[e+"s"]()}function tr(e){return function(){return this._data[e]}}function nr(){return _(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as("s")),o=no(r.as("m")),a=no(r.as("h")),s=no(r.as("d")),u=no(r.as("M")),l=no(r.as("y")),c=i0,c[4]=n,rr.apply(null,c)}function or(e,t){return void 0!==ro[e]&&(void 0===t?ro[e]:(ro[e]=t,!0))}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=_(r/60),t=_(e/60),r%=60,e%=60,n=_(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,h=r,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||h?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(h?h+"S":""):"P0D"}var ur,lr;lr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var si=N("FullYear",!0);n.ISO_8601=function(){};var ui=k("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Ae.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:d()}),ci=function(){return Date.now?Date.now():+new Date};Ie("Z",":"),Ie("ZZ",""),Q("Z",Fr),Q("ZZ",Fr),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ue(Fr,e)});var hi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var fi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,di=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=Ve.prototype;var pi=ct(1,"add"),yi=ct(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var mi=k("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)});U(0,["gg",2],0,function(){return this.weekYear()%100}),U(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Gt("gggg","weekYear"),Gt("ggggg","weekYear"),Gt("GGGG","isoWeekYear"),Gt("GGGGG","isoWeekYear"),R("weekYear","gg"),R("isoWeekYear","GG"),Q("G",Yr),Q("g",Yr),Q("GG",Sr,Or),Q("gg",Sr,Or),Q("GGGG",Dr,Mr),Q("gggg",Dr,Mr),Q("GGGGG",Er,Pr),Q("ggggg",Er,Pr),te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=v(e)}),te(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),U("Q",0,"Qo","quarter"),R("quarter","Q"),Q("Q",kr),ee("Q",function(e,t){t[Vr]=3*(v(e)-1)}),U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),Q("w",Sr),Q("ww",Sr,Or),Q("W",Sr),Q("WW",Sr,Or),te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=v(e)});var gi={dow:0,doy:6};U("D",["DD",2],"Do","date"),R("date","D"),Q("D",Sr),Q("DD",Sr,Or),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee(["D","DD"],Gr),ee("Do",function(e,t){t[Gr]=v(e.match(Sr)[0],10)});var _i=N("Date",!0);U("d",0,"do","day"),U("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),U("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),U("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),Q("d",Sr),Q("e",Sr),Q("E",Sr),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),te(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),te(["d","e","E"],function(e,t,n,r){t[r]=v(e)});var vi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ki=Ar,Oi=Ar,xi=Ar;U("DDD",["DDDD",3],"DDDo","dayOfYear"),R("dayOfYear","DDD"),Q("DDD",jr),Q("DDDD",xr),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=v(e)}),U("H",["HH",2],0,"hour"),U("h",["hh",2],0,gn),U("k",["kk",2],0,_n),U("hmm",0,0,function(){return""+gn.apply(this)+I(this.minutes(),2)}),U("hmmss",0,0,function(){return""+gn.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)}),U("Hmm",0,0,function(){return""+this.hours()+I(this.minutes(),2)}),U("Hmmss",0,0,function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)}),vn("a",!0),vn("A",!1),R("hour","h"),Q("a",bn),Q("A",bn),Q("H",Sr),Q("h",Sr),Q("HH",Sr,Or),Q("hh",Sr,Or),Q("hmm",Cr),Q("hmmss",Tr),Q("Hmm",Cr),Q("Hmmss",Tr),ee(["H","HH"],Ir),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[Ir]=v(e),h(n).bigHour=!0}),ee("hmm",function(e,t,n){var r=e.length-2;t[Ir]=v(e.substr(0,r)),t[Ur]=v(e.substr(r)),h(n).bigHour=!0}),ee("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ir]=v(e.substr(0,r)),t[Ur]=v(e.substr(r,2)),t[zr]=v(e.substr(i)),h(n).bigHour=!0}),ee("Hmm",function(e,t,n){var r=e.length-2;t[Ir]=v(e.substr(0,r)),t[Ur]=v(e.substr(r))}),ee("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ir]=v(e.substr(0,r)),t[Ur]=v(e.substr(r,2)),t[zr]=v(e.substr(i))});var Mi=/[ap]\.?m?\.?/i,Pi=N("Hours",!0);U("m",["mm",2],0,"minute"),R("minute","m"),Q("m",Sr),Q("mm",Sr,Or),ee(["m","mm"],Ur);var Si=N("Minutes",!1);U("s",["ss",2],0,"second"),R("second","s"),Q("s",Sr),Q("ss",Sr,Or),ee(["s","ss"],zr);var Ci=N("Seconds",!1);U("S",0,0,function(){return~~(this.millisecond()/100)}),U(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,function(){return 10*this.millisecond()}),U(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),U(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),U(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),U(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),U(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),R("millisecond","ms"),Q("S",jr,kr),Q("SS",jr,Or),Q("SSS",jr,xr);var Ti;for(Ti="SSSS";Ti.length<=9;Ti+="S")Q(Ti,Lr);for(Ti="S";Ti.length<=9;Ti+="S")ee(Ti,On);var ji=N("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var Di=m.prototype;Di.add=pi,Di.calendar=ft,Di.clone=dt,Di.diff=bt,Di.endOf=Et,Di.format=xt,Di.from=Mt,Di.fromNow=Pt,Di.to=St,Di.toNow=Ct,Di.get=G,Di.invalidAt=Bt,Di.isAfter=pt,Di.isBefore=yt,Di.isBetween=mt,Di.isSame=gt,Di.isSameOrAfter=_t,Di.isSameOrBefore=vt,Di.isValid=Ht,Di.lang=mi,Di.locale=Tt,Di.localeData=jt,Di.max=li,Di.min=ui,Di.parsingFlags=Nt,Di.set=G,Di.startOf=Dt,Di.subtract=yi,Di.toArray=Ft,Di.toObject=Rt,Di.toDate=Wt,Di.toISOString=Ot,Di.toJSON=At,Di.toString=kt,Di.unix=Yt,Di.valueOf=Lt,Di.creationData=Vt,Di.year=si,Di.isLeapYear=we,Di.weekYear=It,Di.isoWeekYear=Ut,Di.quarter=Di.quarters=Qt,Di.month=le,Di.daysInMonth=ce,Di.week=Di.weeks=en,Di.isoWeek=Di.isoWeeks=tn,Di.weeksInYear=qt,Di.isoWeeksInYear=zt,Di.date=_i,Di.day=Di.days=ln,Di.weekday=cn,Di.isoWeekday=hn,Di.dayOfYear=mn,Di.hour=Di.hours=Pi,Di.minute=Di.minutes=Si,Di.second=Di.seconds=Ci,Di.millisecond=Di.milliseconds=ji,Di.utcOffset=Ze,Di.utc=Qe,Di.local=Je,Di.parseZone=Ke,Di.hasAlignedHourOffset=Xe,Di.isDST=et,Di.isDSTShifted=tt,Di.isLocal=nt,Di.isUtcOffset=rt,Di.isUtc=it,Di.isUTC=it,Di.zoneAbbr=xn,Di.zoneName=Mn,Di.dates=k("dates accessor is deprecated. Use date instead.",_i),Di.months=k("months accessor is deprecated. Use month instead",le),Di.years=k("years accessor is deprecated. Use year instead",si),Di.zone=k("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",$e);var Ei=Di,Li={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Yi={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"},Wi="Invalid date",Fi="%d",Ri=/\d{1,2}/,Ai={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Hi=C.prototype;Hi._calendar=Li,Hi.calendar=Cn,Hi._longDateFormat=Yi,Hi.longDateFormat=Tn,Hi._invalidDate=Wi,Hi.invalidDate=jn,Hi._ordinal=Fi,Hi.ordinal=Dn,Hi._ordinalParse=Ri,Hi.preparse=En,Hi.postformat=En,Hi._relativeTime=Ai,Hi.relativeTime=Ln,Hi.pastFuture=Yn,Hi.set=P,Hi.months=ie,Hi._months=Jr,Hi.monthsShort=oe,Hi._monthsShort=Kr,Hi.monthsParse=se,Hi._monthsRegex=ei,Hi.monthsRegex=fe,Hi._monthsShortRegex=Xr,Hi.monthsShortRegex=he,Hi.week=Jt,Hi._week=gi,Hi.firstDayOfYear=Xt,Hi.firstDayOfWeek=Kt,Hi.weekdays=rn,Hi._weekdays=vi,Hi.weekdaysMin=an,Hi._weekdaysMin=wi,Hi.weekdaysShort=on,Hi._weekdaysShort=bi,Hi.weekdaysParse=un,Hi._weekdaysRegex=ki,Hi.weekdaysRegex=fn,Hi._weekdaysShortRegex=Oi,Hi.weekdaysShortRegex=dn,Hi._weekdaysMinRegex=xi,Hi.weekdaysMinRegex=pn,Hi.isPM=wn,Hi._meridiemParse=Mi,Hi.meridiem=kn,E("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===v(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=k("moment.lang is deprecated. Use moment.locale instead.",E),n.langData=k("moment.langData is deprecated. Use moment.localeData instead.",W);var Ni=Math.abs,Bi=Xn("ms"),Vi=Xn("s"),Gi=Xn("m"),Ii=Xn("h"),Ui=Xn("d"),zi=Xn("w"),qi=Xn("M"),Zi=Xn("y"),$i=tr("milliseconds"),Qi=tr("seconds"),Ji=tr("minutes"),Ki=tr("hours"),Xi=tr("days"),eo=tr("months"),to=tr("years"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=Ve.prototype;oo.abs=Gn,oo.add=Un,oo.subtract=zn,oo.as=Jn,oo.asMilliseconds=Bi,oo.asSeconds=Vi,oo.asMinutes=Gi,oo.asHours=Ii,oo.asDays=Ui,oo.asWeeks=zi,oo.asMonths=qi,oo.asYears=Zi,oo.valueOf=Kn,oo._bubble=Zn,oo.get=er,oo.milliseconds=$i,oo.seconds=Qi,oo.minutes=Ji,oo.hours=Ki,oo.days=Xi,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Tt,oo.localeData=jt,oo.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sr),oo.lang=mi,U("X",0,0,"unix"),U("x",0,0,"valueOf"),Q("x",Yr),Q("X",Rr),ee("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee("x",function(e,t,n){n._d=new Date(v(e))}),n.version="2.13.0",r(Ae),n.fn=Ei,n.min=Ne,n.max=Be,n.now=ci,n.utc=l,n.unix=Pn,n.months=An,n.isDate=o,n.locale=E,n.invalid=d,n.duration=ot,n.isMoment=g,n.weekdays=Nn,n.parseZone=Sn,n.localeData=W,n.isDuration=Ge,n.monthsShort=Hn,n.weekdaysMin=Vn,n.defineLocale=L,n.updateLocale=Y,n.locales=F,n.weekdaysShort=Bn,n.normalizeUnits=A,n.relativeTimeThreshold=or,n.prototype=Ei;var ao=n;return ao})},{}],5:[function(e,t,n){function r(){}var i=t.exports={};i.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",function(e){var t=e.source;if((t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),n.length>0)){var r=n.shift();r()}},!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),i.title="browser",i.browser=!0,i.env={},i.argv=[],i.on=r,i.addListener=r,i.once=r,i.off=r,i.removeListener=r,i.removeAllListeners=r,i.emit=r,i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")}},{}],6:[function(e,t,n){(function(){function e(e){function t(t,n,r,i,o,a){for(;o>=0&&o0?0:s-1;return arguments.length<3&&(i=n[a?a[u]:u],u+=e),t(n,r,i,a,u,s)}}function r(e){return function(t,n,r){n=k(n,r);for(var i=S(t),o=e>0?0:i-1;o>=0&&o0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=t(f.call(r,a,s),b.isNaN),o>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o=0&&t<=P};b.each=b.forEach=function(e,t,n){t=w(t,n);var r,i;if(C(e))for(r=0,i=e.length;r=0},b.invoke=function(e,t){var n=f.call(arguments,2),r=b.isFunction(t);return b.map(e,function(e){var i=r?t:e[t];return null==i?i:i.apply(e,n)})},b.pluck=function(e,t){return b.map(e,b.property(t))},b.where=function(e,t){return b.filter(e,b.matcher(t))},b.findWhere=function(e,t){return b.find(e,b.matcher(t))},b.max=function(e,t,n){var r,i,o=-(1/0),a=-(1/0);if(null==t&&null!=e){e=C(e)?e:b.values(e);for(var s=0,u=e.length;so&&(o=r)}else t=k(t,n),b.each(e,function(e,n,r){i=t(e,n,r),(i>a||i===-(1/0)&&o===-(1/0))&&(o=e,a=i)});return o},b.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t&&null!=e){e=C(e)?e:b.values(e);for(var s=0,u=e.length;sr||void 0===n)return 1;if(nt?(a&&(clearTimeout(a),a=null),s=l,o=e.apply(r,i),a||(r=i=null)):a||n.trailing===!1||(a=setTimeout(u,c)),o}},b.debounce=function(e,t,n){var r,i,o,a,s,u=function(){var l=b.now()-a;l=0?r=setTimeout(u,t-l):(r=null,n||(s=e.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=b.now();var l=n&&!r;return r||(r=setTimeout(u,t)),l&&(s=e.apply(o,i),o=i=null),s}},b.wrap=function(e,t){return b.partial(t,e)},b.negate=function(e){return function(){return!e.apply(this,arguments)}},b.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},b.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},b.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},b.once=b.partial(b.before,2);var E=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];b.keys=function(e){if(!b.isObject(e))return[];if(m)return m(e);var t=[];for(var n in e)b.has(e,n)&&t.push(n);return E&&o(e,t),t},b.allKeys=function(e){if(!b.isObject(e))return[];var t=[];for(var n in e)t.push(n);return E&&o(e,t),t},b.values=function(e){for(var t=b.keys(e),n=t.length,r=Array(n),i=0;i":">",'"':""","'":"'","`":"`"},F=b.invert(W),R=function(e){var t=function(t){return e[t]},n="(?:"+b.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};b.escape=R(W),b.unescape=R(F),b.result=function(e,t,n){var r=null==e?void 0:e[t];return void 0===r&&(r=n),b.isFunction(r)?r.call(e):r};var A=0;b.uniqueId=function(e){var t=++A+"";return e?e+t:t},b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var H=/(.)^/,N={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},B=/\\|'|\r|\n|\u2028|\u2029/g,V=function(e){return"\\"+N[e]};b.template=function(e,t,n){!t&&n&&(t=n),t=b.defaults({},t,b.templateSettings);var r=RegExp([(t.escape||H).source,(t.interpolate||H).source,(t.evaluate||H).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(r,function(t,n,r,a,s){return o+=e.slice(i,s).replace(B,V),i=s+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),t}),o+="';\n",t.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new Function(t.variable||"obj","_",o)}catch(s){throw s.source=o,s}var u=function(e){return a.call(this,e,b)},l=t.variable||"obj";return u.source="function("+l+"){\n"+o+"}",u},b.chain=function(e){var t=b(e);return t._chain=!0,t};var G=function(e,t){return e._chain?b(t).chain():t};b.mixin=function(e){b.each(b.functions(e),function(t){var n=b[t]=e[t];b.prototype[t]=function(){var e=[this._wrapped];return h.apply(e,arguments),G(this,n.apply(b,e))}})},b.mixin(b),b.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=u[e];b.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],G(this,n)}}),b.each(["concat","join","slice"],function(e){var t=u[e];b.prototype[e]=function(){return G(this,t.apply(this._wrapped,arguments))}}),b.prototype.value=function(){return this._wrapped},b.prototype.valueOf=b.prototype.toJSON=b.prototype.value,b.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return b})}).call(this)},{}],7:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n0&&n(o),o.getAttribute&&o.getAttribute("class")&&o.getAttribute("class").split(" ").indexOf(t)>=0&&r.push(o)}}var r=[];return n(e),r}}]),t}(s);t.exports=u},{"../core/Type":11}],10:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n=0?r+1:1;c=a)return s;return"Y"}}]),t}(l);t.exports=f},{"../core/Type":11,moment:4,underscore:6}],11:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n=this.open?(i=this.open,o=this.close,a=r.bullBodyColor):(i=this.close,o=this.open,a=r.bearBodyColor);var s=n(this.index),u=r.candleWickWidth,l=t(this.high),c=t(o)-l;e.beginPath(),e.rect(s,l,u,c),e.fillStyle=r.wickColor,e.fill(),l=t(i),c=t(this.low)-l,e.beginPath(),e.rect(s,l,u,c),e.fillStyle=r.wickColor,e.fill();var h=s-Math.ceil(.5*(r.candleBodyWidth-1)),f=t(o),d=r.candleBodyWidth,p=t(i)-f;e.beginPath(),e.rect(h,f,d,p),e.fillStyle=a,e.fill()}},{key:"getIndex",value:function(){return this.index}},{key:"getTime",value:function(){return this.time}},{key:"getOpen",value:function(){return this.open}},{key:"getHigh",value:function(){return this.high}},{key:"getLow",value:function(){return this.low}},{key:"getClose",value:function(){return this.close}}]),t}(s);t.exports=u},{"../element/Element":16}],16:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=e("../core/Type"),s=function(e){function t(e){return r(this,t),i(this,Object.getPrototypeOf(t).call(this,e))}return o(t,e),t}(a);t.exports=s},{"../core/Type":11}],17:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n=this.open?r.bullBodyColor:r.bearBodyColor;var o=n(this.index),a=Math.floor(.5*r.candleBodyWidth)||1,s=t(this.high),u=t(this.low)-t(this.high);e.beginPath(),e.rect(o,s,a,u),e.fillStyle=i,e.fill();var l=o-r.candleBodyWidth+1,c=t(this.open),h=r.candleBodyWidth,f=1;e.beginPath(),e.rect(l,c,h,f),e.fillStyle=i,e.fill();var d=o,p=t(this.close),y=r.candleBodyWidth,m=1;e.beginPath(),e.rect(d,p,y,m),e.fillStyle=i,e.fill()}},{key:"getIndex",value:function(){return this.index}},{key:"getTime",value:function(){return this.time}},{key:"getOpen",value:function(){return this.open}},{key:"getHigh",value:function(){return this.high}},{key:"getLow",value:function(){return this.low}},{key:"getClose",value:function(){return this.close}}]),t}(s);t.exports=u},{"../element/Element":16}],20:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n=0?n:0;u=0?n:0;u=0?n:0;u=0?n:0;d=.6*h&&(c.draw(a,i,this),this.elements.push(c))}}}]),t}(u);t.exports=h},{"../element/TimeLabel":20,"../layer/Layer":24,underscore:6}],28:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n=a)return u;u=s,s=c(s,h)}return 1e3}},{key:"decimalAdjust",value:function(e,t,n){return"undefined"==typeof n||0===+n?Math[e](t):(t=+t,n=+n,isNaN(t)||"number"!=typeof n||n%1!==0?NaN:(t=t.toString().split("e"),t=Math[e](+(t[0]+"e"+(t[1]?+t[1]-n:-n))),t=t.toString().split("e"),+(t[0]+"e"+(t[1]?+t[1]+n:n))))}},{key:"decimalPlaces",value:function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}}]),t}(u);t.exports=f},{"../element/HorizontalLine":18,"../element/ValueLabel":21,"../layer/Layer":24,underscore:6}],29:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n=0?n:0;f=0?n:0;c=0?b=v:w=v,l.length=0?(c.push(v),d+=v):(h.push(v),f+=v)):l.length===u?(y=d/f,m[s]=100-100/(1+y),isNaN(m[s])&&(m[s]=0),l.push(_)):(k=(n*(u-1)+b)/u,O=(r*(u-1)+w)/u,y=k/O,m[s]=100-100/(1+y),isNaN(m[s])&&(m[s]=0)),n=k,r=O,t=m[s]}}},{key:"draw",value:function(e,t,n,r,i){var o=this._getContext(),a=e.getFieldMap(),s=e.getRawData();this.elements=[];for(var u=null,c=n>=0?n:0;c=0?n:0;c=0?n:0;h=0?n:0;u=0?n:0;kw&&(w=g[D]);for(a.fillStyle=this.color,a.beginPath(),a.moveTo(0,p),D=0;D=i.length&&(a=i.length-1);var s,u,l=n.min,c=n.max,h=r.min,f=r.max,d=99999999,p=-99999999;if(void 0!==h)d=h;else if(void 0!==l){var y=this._field_map[l];for(s=o;s<=a;s++){u=i[s];var m=u[y];mp&&(p=_)}}return{min:d,max:p}}}]),t}(u);t.exports=c},{"../core/Type":11,underscore:6}]},{},[1]);