From ab3b5b1a5f313be19b13874321f941d700d27691 Mon Sep 17 00:00:00 2001 From: "haruki.okada" Date: Thu, 9 May 2019 18:24:56 +0900 Subject: [PATCH] fix typo --- front/src/js/components/App.jsx | 8 +- .../js/components/ClusterSettingDelete.jsx | 12 +- front/src/js/components/HeaderSidebar.jsx | 8 +- ...sterModal.jsx => RegisterClusterModal.jsx} | 6 +- src/main/resources/static/js/app.js | 270 +++++++++--------- 5 files changed, 155 insertions(+), 149 deletions(-) rename front/src/js/components/{RegistClusterModal.jsx => RegisterClusterModal.jsx} (94%) diff --git a/front/src/js/components/App.jsx b/front/src/js/components/App.jsx index 9e82145..ecda27b 100644 --- a/front/src/js/components/App.jsx +++ b/front/src/js/components/App.jsx @@ -5,7 +5,7 @@ var NotificationSystem = require('react-notification-system'); var Spinner = require('react-spinkit'); var HeaderSidebar = require('./HeaderSidebar'); -var RegistClusterModal = require('./RegistClusterModal'); +var RegisterClusterModal = require('./RegisterClusterModal'); var AppStore = require('../stores/AppStore'); var UserStore = require('../stores/UserStore'); @@ -18,11 +18,11 @@ var App = React.createClass({ AppStore.removeAlertListener(this.onAlertHandle); }, render: function() { - var registClusterModalView; + var registerClusterModalView; var me = UserStore.getMe(); if (!AUTH_ENABLED || me.role === 'RELUMIN_ADMIN') { - registClusterModalView = (); + registerClusterModalView = (); } return (
@@ -32,7 +32,7 @@ var App = React.createClass({
- {registClusterModalView} + {registerClusterModalView}
diff --git a/front/src/js/components/ClusterSettingDelete.jsx b/front/src/js/components/ClusterSettingDelete.jsx index efcf616..b2f5c82 100644 --- a/front/src/js/components/ClusterSettingDelete.jsx +++ b/front/src/js/components/ClusterSettingDelete.jsx @@ -21,18 +21,18 @@ var ClusterSettingDelete = React.createClass({
- Unregist cluster + Unregister cluster
- +
-
+
-

Unregist this cluster

+

Unregister this cluster

Are you sure ? @@ -61,7 +61,7 @@ var ClusterSettingDelete = React.createClass({ _this.hideModal(); } Utils.showAlert({ - message: 'Unregisted successfully', + message: 'Unregistered successfully', level: 'success' }); }, @@ -75,7 +75,7 @@ var ClusterSettingDelete = React.createClass({ ); }, hideModal: function() { - $(React.findDOMNode(this.refs['unregist-cluster-modal'])).modal('hide'); + $(React.findDOMNode(this.refs['unregister-cluster-modal'])).modal('hide'); } }); diff --git a/front/src/js/components/HeaderSidebar.jsx b/front/src/js/components/HeaderSidebar.jsx index ca185af..0107d51 100644 --- a/front/src/js/components/HeaderSidebar.jsx +++ b/front/src/js/components/HeaderSidebar.jsx @@ -42,10 +42,10 @@ var HeaderSidebar = React.createClass({ ); } - var registAndCreateClusterMenuView; + var registerAndCreateClusterMenuView; if (!AUTH_ENABLED || me.role === 'RELUMIN_ADMIN') { - registAndCreateClusterMenuView = [ - (
  • Regist cluster
  • ), + registerAndCreateClusterMenuView = [ + (
  • Register cluster
  • ), (
  • Create cluster
  • ) ]; } @@ -86,7 +86,7 @@ var HeaderSidebar = React.createClass({ {clusterNames}
      - {registAndCreateClusterMenuView} + {registerAndCreateClusterMenuView}
    • Users
    • {loginDropDownView}
    diff --git a/front/src/js/components/RegistClusterModal.jsx b/front/src/js/components/RegisterClusterModal.jsx similarity index 94% rename from front/src/js/components/RegistClusterModal.jsx rename to front/src/js/components/RegisterClusterModal.jsx index b897803..87b5dd4 100644 --- a/front/src/js/components/RegistClusterModal.jsx +++ b/front/src/js/components/RegisterClusterModal.jsx @@ -20,12 +20,12 @@ var RegisterClusterModal = React.createClass({ }, render: function() { return ( -
    +
    -

    Regist cluster

    +

    Register cluster

    @@ -83,7 +83,7 @@ var RegisterClusterModal = React.createClass({ _this.closeModal(); } Utils.showAlert({ - message: 'Registed successfully', + message: 'Registered successfully', level: 'success' }); }, diff --git a/src/main/resources/static/js/app.js b/src/main/resources/static/js/app.js index c7686f5..b27c31e 100644 --- a/src/main/resources/static/js/app.js +++ b/src/main/resources/static/js/app.js @@ -1,47 +1,47 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,i){r.apply(this,[e,t,i].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){var r=n(6);n(261);var i=n(2),o=n(11),s=(n(65),n(472)),a=n(13),l=n(62);r(function(){window!=window.parent&&(r("head").append(""),USER={login:!1,username:""}),l.getUsers(),a.getClusters({complete:function(){o.run(s,function(e){i.render(i.createElement(e,null),document.getElementById("app"))}),setInterval(function(){a.getClusters(),l.getUsers()},6e4)}})})},function(e,t,n){(function(e){//! moment.js +!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,i){r.apply(this,[e,t,i].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){var r=n(6);n(289);var i=n(2),o=n(12),s=(n(71),n(511)),a=n(14),l=n(66);r(function(){window!=window.parent&&(r("head").append(""),USER={login:!1,username:""}),l.getUsers(),a.getClusters({complete:function(){o.run(s,function(e){i.render(i.createElement(e,null),document.getElementById("app"))}),setInterval(function(){a.getClusters(),l.getUsers()},6e4)}})})},function(e,t,n){(function(e){//! moment.js //! version : 2.10.3 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com -!function(t,n){e.exports=n()}(this,function(){"use strict";function t(){return Fn.apply(null,arguments)}function r(e){Fn=e}function i(e){return"[object Array]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function s(e,t){var n,r=[];for(n=0;n0)for(n in Rn)r=Rn[n],i=t[r],"undefined"!=typeof i&&(e[r]=i);return e}function m(e){f(this,e),this._d=new Date(+e._d),Bn===!1&&(Bn=!0,t.updateOffset(this),Bn=!1)}function g(e){return e instanceof m||null!=e&&null!=e._isAMomentObject}function v(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=t>=0?Math.floor(t):Math.ceil(t)),n}function y(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&v(e[r])!==v(t[r]))&&s++;return s+o}function _(){}function b(e){return e?e.toLowerCase().replace("_","-"):e}function w(e){for(var t,n,r,i,o=0;o0;){if(r=E(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&y(i,n,!0)>=t-1)break;t--}o++}return null}function E(t){var r=null;if(!On[t]&&"undefined"!=typeof e&&e&&e.exports)try{r=Nn._abbr,n(487)("./"+t),C(r)}catch(i){}return On[t]}function C(e,t){var n;return e&&(n="undefined"==typeof t?x(e):A(e,t),n&&(Nn=n)),Nn._abbr}function A(e,t){return null!==t?(t.abbr=e,On[e]||(On[e]=new _),On[e].set(t),C(e),On[e]):(delete On[e],null)}function x(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Nn;if(!i(e)){if(t=E(e))return t;e=[e]}return w(e)}function k(e,t){var n=e.toLowerCase();Pn[n]=Pn[n+"s"]=Pn[t]=e}function D(e){return"string"==typeof e?Pn[e]||Pn[e.toLowerCase()]:void 0}function L(e){var t,n,r={};for(n in e)a(e,n)&&(t=D(n),t&&(r[t]=e[n]));return r}function M(e,n){return function(r){return null!=r?(S(this,e,r),t.updateOffset(this,n),this):T(this,e)}}function T(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function S(e,t,n){return e._d["set"+(e._isUTC?"UTC":"")+t](n)}function F(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=D(e),"function"==typeof this[e])return this[e](t);return this}function N(e,t,n){for(var r=""+Math.abs(e),i=e>=0;r.lengtht;t++)jn[r[t]]?r[t]=jn[r[t]]:r[t]=B(r[t]);return function(i){var o="";for(t=0;n>t;t++)o+=r[t]instanceof Function?r[t].call(i,e):r[t];return o}}function P(e,t){return e.isValid()?(t=$(t,e.localeData()),In[t]||(In[t]=O(t)),In[t](e)):e.localeData().invalidDate()}function $(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Yn.lastIndex=0;r>=0&&Yn.test(e);)e=e.replace(Yn,n),Yn.lastIndex=0,r-=1;return e}function Y(e,t,n){nr[e]="function"==typeof t?t:function(e){return e&&n?n:t}}function I(e,t){return a(nr,e)?nr[e](t._strict,t._locale):new RegExp(j(e))}function j(e){return e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function W(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;nr;r++){if(i=c([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function K(e,t){var n;return"string"==typeof t&&(t=e.localeData().monthsParse(t),"number"!=typeof t)?e:(n=Math.min(e.date(),z(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e)}function X(e){return null!=e?(K(this,e),t.updateOffset(this,!0),this):T(this,"Month")}function J(){return z(this.year(),this.month())}function Q(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[or]<0||n[or]>11?or:n[sr]<1||n[sr]>z(n[ir],n[or])?sr:n[ar]<0||n[ar]>24||24===n[ar]&&(0!==n[lr]||0!==n[cr]||0!==n[ur])?ar:n[lr]<0||n[lr]>59?lr:n[cr]<0||n[cr]>59?cr:n[ur]<0||n[ur]>999?ur:-1,d(e)._overflowDayOfYear&&(ir>t||t>sr)&&(t=sr),d(e).overflow=t),e}function Z(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function ee(e,t){var n=!0,r=e+"\n"+(new Error).stack;return l(function(){return n&&(Z(r),n=!1),t.apply(this,arguments)},t)}function te(e,t){pr[e]||(Z(t),pr[e]=!0)}function ne(e){var t,n,r=e._i,i=fr.exec(r);if(i){for(d(e).iso=!0,t=0,n=mr.length;n>t;t++)if(mr[t][1].exec(r)){e._f=mr[t][0]+(i[6]||" ");break}for(t=0,n=gr.length;n>t;t++)if(gr[t][1].exec(r)){e._f+=gr[t][0];break}r.match(Zn)&&(e._f+="Z"),we(e)}else e._isValid=!1}function re(e){var n=vr.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ne(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function ie(e,t,n,r,i,o,s){var a=new Date(e,t,n,r,i,o,s);return 1970>e&&a.setFullYear(e),a}function oe(e){var t=new Date(Date.UTC.apply(null,arguments));return 1970>e&&t.setUTCFullYear(e),t}function se(e){return ae(e)?366:365}function ae(e){return e%4===0&&e%100!==0||e%400===0}function le(){return ae(this.year())}function ce(e,t,n){var r,i=n-t,o=n-e.day();return o>i&&(o-=7),i-7>o&&(o+=7),r=Le(e).add(o,"d"),{week:Math.ceil(r.dayOfYear()/7),year:r.year()}}function ue(e){return ce(e,this._week.dow,this._week.doy).week}function de(){return this._week.dow}function he(){return this._week.doy}function pe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function fe(e){var t=ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function me(e,t,n,r,i){var o,s,a=oe(e,0,1).getUTCDay();return a=0===a?7:a,n=null!=n?n:i,o=i-a+(a>r?7:0)-(i>a?7:0),s=7*(t-1)+(n-i)+o+1,{year:s>0?e:e-1,dayOfYear:s>0?s:se(e-1)+s}}function ge(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 ve(e,t,n){return null!=e?e:null!=t?t:n}function ye(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function _e(e){var t,n,r,i,o=[];if(!e._d){for(r=ye(e),e._w&&null==e._a[sr]&&null==e._a[or]&&be(e),e._dayOfYear&&(i=ve(e._a[ir],r[ir]),e._dayOfYear>se(i)&&(d(e)._overflowDayOfYear=!0),n=oe(i,0,e._dayOfYear),e._a[or]=n.getUTCMonth(),e._a[sr]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ar]&&0===e._a[lr]&&0===e._a[cr]&&0===e._a[ur]&&(e._nextDay=!0,e._a[ar]=0),e._d=(e._useUTC?oe:ie).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ar]=24)}}function be(e){var t,n,r,i,o,s,a;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,s=4,n=ve(t.GG,e._a[ir],ce(Le(),1,4).year),r=ve(t.W,1),i=ve(t.E,1)):(o=e._locale._week.dow,s=e._locale._week.doy,n=ve(t.gg,e._a[ir],ce(Le(),o,s).year),r=ve(t.w,1),null!=t.d?(i=t.d,o>i&&++r):i=null!=t.e?t.e+o:o),a=me(n,r,i,s,o),e._a[ir]=a.year,e._dayOfYear=a.dayOfYear}function we(e){if(e._f===t.ISO_8601)return void ne(e);e._a=[],d(e).empty=!0;var n,r,i,o,s,a=""+e._i,l=a.length,c=0;for(i=$(e._f,e._locale).match($n)||[],n=0;n0&&d(e).unusedInput.push(s),a=a.slice(a.indexOf(r)+r.length),c+=r.length),jn[o]?(r?d(e).empty=!1:d(e).unusedTokens.push(o),U(o,r,e)):e._strict&&!r&&d(e).unusedTokens.push(o);d(e).charsLeftOver=l-c,a.length>0&&d(e).unusedInput.push(a),d(e).bigHour===!0&&e._a[ar]<=12&&e._a[ar]>0&&(d(e).bigHour=void 0),e._a[ar]=Ee(e._locale,e._a[ar],e._meridiem),_e(e),Q(e)}function Ee(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Ce(e){var t,n,r,i,o;if(0===e._f.length)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;io)&&(r=o,n=t));l(e,n||t)}function Ae(e){if(!e._d){var t=L(e._i);e._a=[t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],_e(e)}}function xe(e){var t,n=e._i,r=e._f;return e._locale=e._locale||x(e._l),null===n||void 0===r&&""===n?p({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),g(n)?new m(Q(n)):(i(r)?Ce(e):r?we(e):o(n)?e._d=n:ke(e),t=new m(Q(e)),t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t))}function ke(e){var n=e._i;void 0===n?e._d=new Date:o(n)?e._d=new Date(+n):"string"==typeof n?re(e):i(n)?(e._a=s(n.slice(0),function(e){return parseInt(e,10)}),_e(e)):"object"==typeof n?Ae(e):"number"==typeof n?e._d=new Date(n):t.createFromInputFallback(e)}function De(e,t,n,r,i){var o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,xe(o)}function Le(e,t,n,r){return De(e,t,n,r,!1)}function Me(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Le();for(n=t[0],r=1;re&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)})}function Be(e){var t=(e||"").match(Zn)||[],n=t[t.length-1]||[],r=(n+"").match(Er)||["-",0,0],i=+(60*r[1])+v(r[2]);return"+"===r[0]?i:-i}function Oe(e,n){var r,i;return n._isUTC?(r=n.clone(),i=(g(e)||o(e)?+e:+Le(e))-+r,r._d.setTime(+r._d+i),t.updateOffset(r,!1),r):Le(e).local()}function Pe(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function $e(e,n){var r,i=this._offset||0;return null!=e?("string"==typeof e&&(e=Be(e)),Math.abs(e)<16&&(e=60*e),!this._isUTC&&n&&(r=Pe(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!n||this._changeInProgress?et(this,Ke(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Pe(this)}function Ye(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ie(e){return this.utcOffset(0,e)}function je(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Pe(this),"m")),this}function We(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Be(this._i)),this}function He(e){return e=e?Le(e).utcOffset():0,(this.utcOffset()-e)%60===0}function Ue(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ze(){if(this._a){var e=this._isUTC?c(this._a):Le(this._a);return this.isValid()&&y(this._a,e.toArray())>0}return!1}function Ve(){return!this._isUTC}function qe(){return this._isUTC}function Ge(){return this._isUTC&&0===this._offset}function Ke(e,t){var n,r,i,o=e,s=null;return Ne(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(s=Cr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:v(s[sr])*n,h:v(s[ar])*n,m:v(s[lr])*n,s:v(s[cr])*n,ms:v(s[ur])*n}):(s=Ar.exec(e))?(n="-"===s[1]?-1:1,o={y:Xe(s[2],n),M:Xe(s[3],n),d:Xe(s[4],n),h:Xe(s[5],n),m:Xe(s[6],n),s:Xe(s[7],n),w:Xe(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Qe(Le(o.from),Le(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Fe(o),Ne(e)&&a(e,"_locale")&&(r._locale=e._locale),r}function Xe(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Je(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 Qe(e,t){var n;return t=Oe(t,e),e.isBefore(t)?n=Je(e,t):(n=Je(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function Ze(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(te(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=Ke(n,r),et(this,i,e),this}}function et(e,n,r,i){var o=n._milliseconds,s=n._days,a=n._months;i=null==i?!0:i,o&&e._d.setTime(+e._d+o*r),s&&S(e,"Date",T(e,"Date")+s*r),a&&K(e,T(e,"Month")+a*r),i&&t.updateOffset(e,s||a)}function tt(e){var t=e||Le(),n=Oe(t,this).startOf("day"),r=this.diff(n,"days",!0),i=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse";return this.format(this.localeData().calendar(i,this,Le(t)))}function nt(){return new m(this)}function rt(e,t){var n;return t=D("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=g(e)?e:Le(e),+this>+e):(n=g(e)?+e:+Le(e),n<+this.clone().startOf(t))}function it(e,t){var n;return t=D("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=g(e)?e:Le(e),+e>+this):(n=g(e)?+e:+Le(e),+this.clone().endOf(t)e?Math.ceil(e):Math.floor(e)}function lt(e,t,n){var r,i,o=Oe(e,this),s=6e4*(o.utcOffset()-this.utcOffset());return t=D(t),"year"===t||"month"===t||"quarter"===t?(i=ct(this,o),"quarter"===t?i/=3:"year"===t&&(i/=12)):(r=this-o,i="second"===t?r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-s)/864e5:"week"===t?(r-s)/6048e5:r),n?i:at(i)}function ct(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return 0>t-o?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)}function ut(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dt(){var e=this.clone().utc();return 0t;t++)if(this._weekdaysParse[t]||(n=Le([2e3,1]).day(t),r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=new RegExp(r.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t}function It(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Bt(e,this.localeData()),this.add(e-t,"d")):t}function jt(e){var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Wt(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)}function Ht(e,t){R(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ut(e,t){return t._meridiemParse}function zt(e){return"p"===(e+"").toLowerCase().charAt(0)}function Vt(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function qt(e){R(0,[e,3],0,"millisecond")}function Gt(){return this._isUTC?"UTC":""}function Kt(){return this._isUTC?"Coordinated Universal Time":""}function Xt(e){return Le(1e3*e)}function Jt(){return Le.apply(null,arguments).parseZone()}function Qt(e,t,n){var r=this._calendar[e];return"function"==typeof r?r.call(t,n):r}function Zt(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t}function en(){return this._invalidDate}function tn(e){return this._ordinal.replace("%d",e)}function nn(e){return e}function rn(e,t,n,r){var i=this._relativeTime[n];return"function"==typeof i?i(e,t,n,r):i.replace(/%d/i,e)}function on(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)}function sn(e){var t,n;for(n in e)t=e[n],"function"==typeof t?this[n]=t:this["_"+n]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function an(e,t,n,r){var i=x(),o=c().set(r,t);return i[n](o,e)}function ln(e,t,n,r,i){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return an(e,t,n,i);var o,s=[];for(o=0;r>o;o++)s[o]=an(e,o,n,i);return s}function cn(e,t){return ln(e,t,"months",12,"month")}function un(e,t){return ln(e,t,"monthsShort",12,"month")}function dn(e,t){return ln(e,t,"weekdays",7,"day")}function hn(e,t){return ln(e,t,"weekdaysShort",7,"day")}function pn(e,t){return ln(e,t,"weekdaysMin",7,"day")}function fn(){var e=this._data;return this._milliseconds=Vr(this._milliseconds),this._days=Vr(this._days),this._months=Vr(this._months),e.milliseconds=Vr(e.milliseconds),e.seconds=Vr(e.seconds),e.minutes=Vr(e.minutes),e.hours=Vr(e.hours),e.months=Vr(e.months),e.years=Vr(e.years),this}function mn(e,t,n,r){var i=Ke(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function gn(e,t){return mn(this,e,t,1)}function vn(e,t){return mn(this,e,t,-1)}function yn(){var e,t,n,r=this._milliseconds,i=this._days,o=this._months,s=this._data,a=0;return s.milliseconds=r%1e3,e=at(r/1e3),s.seconds=e%60,t=at(e/60),s.minutes=t%60,n=at(t/60),s.hours=n%24,i+=at(n/24),a=at(_n(i)),i-=at(bn(a)),o+=at(i/30),i%=30,a+=at(o/12),o%=12,s.days=i,s.months=o,s.years=a,this}function _n(e){return 400*e/146097}function bn(e){return 146097*e/400}function wn(e){var t,n,r=this._milliseconds;if(e=D(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+12*_n(t),"month"===e?n:n/12;switch(t=this._days+Math.round(bn(this._months/12)),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 En(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}function Cn(e){return function(){return this.as(e)}}function An(e){return e=D(e),this[e+"s"]()}function xn(e){return function(){return this._data[e]}}function kn(){return at(this.days()/7)}function Dn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Ln(e,t,n){var r=Ke(e).abs(),i=li(r.as("s")),o=li(r.as("m")),s=li(r.as("h")),a=li(r.as("d")),l=li(r.as("M")),c=li(r.as("y")),u=i0,u[4]=n,Dn.apply(null,u)}function Mn(e,t){return void 0===ci[e]?!1:void 0===t?ci[e]:(ci[e]=t,!0)}function Tn(e){var t=this.localeData(),n=Ln(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Sn(){var e=ui(this.years()),t=ui(this.months()),n=ui(this.days()),r=ui(this.hours()),i=ui(this.minutes()),o=ui(this.seconds()+this.milliseconds()/1e3),s=this.asSeconds();return s?(0>s?"-":"")+"P"+(e?e+"Y":"")+(t?t+"M":"")+(n?n+"D":"")+(r||i||o?"T":"")+(r?r+"H":"")+(i?i+"M":"")+(o?o+"S":""):"P0D"}var Fn,Nn,Rn=t.momentProperties=[],Bn=!1,On={},Pn={},$n=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,Yn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,In={},jn={},Wn=/\d/,Hn=/\d\d/,Un=/\d{3}/,zn=/\d{4}/,Vn=/[+-]?\d{6}/,qn=/\d\d?/,Gn=/\d{1,3}/,Kn=/\d{1,4}/,Xn=/[+-]?\d{1,6}/,Jn=/\d+/,Qn=/[+-]?\d+/,Zn=/Z|[+-]\d\d:?\d\d/gi,er=/[+-]?\d+(\.\d{1,3})?/,tr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,nr={},rr={},ir=0,or=1,sr=2,ar=3,lr=4,cr=5,ur=6;R("M",["MM",2],"Mo",function(){return this.month()+1}),R("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),R("MMMM",0,0,function(e){return this.localeData().months(this,e)}),k("month","M"),Y("M",qn),Y("MM",qn,Hn),Y("MMM",tr),Y("MMMM",tr),W(["M","MM"],function(e,t){t[or]=v(e)-1}),W(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[or]=i:d(n).invalidMonth=e});var dr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),hr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),pr={};t.suppressDeprecationWarnings=!1;var fr=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],gr=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],vr=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=ee("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),R(0,["YY",2],0,function(){return this.year()%100}),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),k("year","y"),Y("Y",Qn),Y("YY",qn,Hn),Y("YYYY",Kn,zn),Y("YYYYY",Xn,Vn),Y("YYYYYY",Xn,Vn),W(["YYYY","YYYYY","YYYYYY"],ir),W("YY",function(e,n){n[ir]=t.parseTwoDigitYear(e)}),t.parseTwoDigitYear=function(e){return v(e)+(v(e)>68?1900:2e3)};var yr=M("FullYear",!1);R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),k("week","w"),k("isoWeek","W"),Y("w",qn),Y("ww",qn,Hn),Y("W",qn),Y("WW",qn,Hn),H(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=v(e)});var _r={dow:0,doy:6};R("DDD",["DDDD",3],"DDDo","dayOfYear"),k("dayOfYear","DDD"),Y("DDD",Gn),Y("DDDD",Un),W(["DDD","DDDD"],function(e,t,n){n._dayOfYear=v(e)}),t.ISO_8601=function(){};var br=ee("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this>e?this:e}),wr=ee("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return e>this?this:e});Re("Z",":"),Re("ZZ",""),Y("Z",Zn),Y("ZZ",Zn),W(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Be(e)});var Er=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Cr=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Ar=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Ke.fn=Fe.prototype;var xr=Ze(1,"add"),kr=Ze(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Dr=ee("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)});R(0,["gg",2],0,function(){return this.weekYear()%100}),R(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Lt("gggg","weekYear"),Lt("ggggg","weekYear"),Lt("GGGG","isoWeekYear"),Lt("GGGGG","isoWeekYear"),k("weekYear","gg"),k("isoWeekYear","GG"),Y("G",Qn),Y("g",Qn),Y("GG",qn,Hn),Y("gg",qn,Hn),Y("GGGG",Kn,zn),Y("gggg",Kn,zn),Y("GGGGG",Xn,Vn),Y("ggggg",Xn,Vn),H(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=v(e)}),H(["gg","GG"],function(e,n,r,i){n[i]=t.parseTwoDigitYear(e)}),R("Q",0,0,"quarter"),k("quarter","Q"),Y("Q",Wn),W("Q",function(e,t){t[or]=3*(v(e)-1)}),R("D",["DD",2],"Do","date"),k("date","D"),Y("D",qn),Y("DD",qn,Hn),Y("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),W(["D","DD"],sr),W("Do",function(e,t){t[sr]=v(e.match(qn)[0],10)});var Lr=M("Date",!0);R("d",0,"do","day"),R("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),R("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),R("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),k("day","d"),k("weekday","e"),k("isoWeekday","E"),Y("d",qn),Y("e",qn),Y("E",qn),Y("dd",tr),Y("ddd",tr),Y("dddd",tr),H(["dd","ddd","dddd"],function(e,t,n){var r=n._locale.weekdaysParse(e);null!=r?t.d=r:d(n).invalidWeekday=e}),H(["d","e","E"],function(e,t,n,r){t[r]=v(e)});var Mr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Tr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Sr="Su_Mo_Tu_We_Th_Fr_Sa".split("_");R("H",["HH",2],0,"hour"),R("h",["hh",2],0,function(){return this.hours()%12||12}),Ht("a",!0),Ht("A",!1),k("hour","h"),Y("a",Ut),Y("A",Ut),Y("H",qn),Y("h",qn),Y("HH",qn,Hn),Y("hh",qn,Hn),W(["H","HH"],ar),W(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),W(["h","hh"],function(e,t,n){t[ar]=v(e),d(n).bigHour=!0});var Fr=/[ap]\.?m?\.?/i,Nr=M("Hours",!0);R("m",["mm",2],0,"minute"),k("minute","m"),Y("m",qn),Y("mm",qn,Hn),W(["m","mm"],lr);var Rr=M("Minutes",!1);R("s",["ss",2],0,"second"),k("second","s"),Y("s",qn),Y("ss",qn,Hn),W(["s","ss"],cr);var Br=M("Seconds",!1);R("S",0,0,function(){return~~(this.millisecond()/100)}),R(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),qt("SSS"),qt("SSSS"),k("millisecond","ms"),Y("S",Gn,Wn),Y("SS",Gn,Hn),Y("SSS",Gn,Un),Y("SSSS",Jn),W(["S","SS","SSS","SSSS"],function(e,t){t[ur]=v(1e3*("0."+e))});var Or=M("Milliseconds",!1);R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var Pr=m.prototype;Pr.add=xr,Pr.calendar=tt,Pr.clone=nt,Pr.diff=lt,Pr.endOf=bt,Pr.format=ht,Pr.from=pt,Pr.fromNow=ft,Pr.to=mt,Pr.toNow=gt,Pr.get=F,Pr.invalidAt=Dt,Pr.isAfter=rt,Pr.isBefore=it,Pr.isBetween=ot,Pr.isSame=st,Pr.isValid=xt,Pr.lang=Dr,Pr.locale=vt,Pr.localeData=yt,Pr.max=wr,Pr.min=br,Pr.parsingFlags=kt,Pr.set=F,Pr.startOf=_t,Pr.subtract=kr,Pr.toArray=At,Pr.toDate=Ct,Pr.toISOString=dt,Pr.toJSON=dt,Pr.toString=ut,Pr.unix=Et,Pr.valueOf=wt,Pr.year=yr,Pr.isLeapYear=le,Pr.weekYear=Tt,Pr.isoWeekYear=St,Pr.quarter=Pr.quarters=Rt,Pr.month=X,Pr.daysInMonth=J,Pr.week=Pr.weeks=pe,Pr.isoWeek=Pr.isoWeeks=fe,Pr.weeksInYear=Nt,Pr.isoWeeksInYear=Ft,Pr.date=Lr,Pr.day=Pr.days=It,Pr.weekday=jt,Pr.isoWeekday=Wt,Pr.dayOfYear=ge,Pr.hour=Pr.hours=Nr,Pr.minute=Pr.minutes=Rr,Pr.second=Pr.seconds=Br,Pr.millisecond=Pr.milliseconds=Or,Pr.utcOffset=$e,Pr.utc=Ie,Pr.local=je,Pr.parseZone=We,Pr.hasAlignedHourOffset=He,Pr.isDST=Ue,Pr.isDSTShifted=ze,Pr.isLocal=Ve,Pr.isUtcOffset=qe,Pr.isUtc=Ge,Pr.isUTC=Ge,Pr.zoneAbbr=Gt,Pr.zoneName=Kt,Pr.dates=ee("dates accessor is deprecated. Use date instead.",Lr),Pr.months=ee("months accessor is deprecated. Use month instead",X),Pr.years=ee("years accessor is deprecated. Use year instead",yr),Pr.zone=ee("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ye);var $r=Pr,Yr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ir={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},jr="Invalid date",Wr="%d",Hr=/\d{1,2}/,Ur={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"},zr=_.prototype;zr._calendar=Yr,zr.calendar=Qt,zr._longDateFormat=Ir,zr.longDateFormat=Zt,zr._invalidDate=jr, -zr.invalidDate=en,zr._ordinal=Wr,zr.ordinal=tn,zr._ordinalParse=Hr,zr.preparse=nn,zr.postformat=nn,zr._relativeTime=Ur,zr.relativeTime=rn,zr.pastFuture=on,zr.set=sn,zr.months=V,zr._months=dr,zr.monthsShort=q,zr._monthsShort=hr,zr.monthsParse=G,zr.week=ue,zr._week=_r,zr.firstDayOfYear=he,zr.firstDayOfWeek=de,zr.weekdays=Ot,zr._weekdays=Mr,zr.weekdaysMin=$t,zr._weekdaysMin=Sr,zr.weekdaysShort=Pt,zr._weekdaysShort=Tr,zr.weekdaysParse=Yt,zr.isPM=zt,zr._meridiemParse=Fr,zr.meridiem=Vt,C("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}}),t.lang=ee("moment.lang is deprecated. Use moment.locale instead.",C),t.langData=ee("moment.langData is deprecated. Use moment.localeData instead.",x);var Vr=Math.abs,qr=Cn("ms"),Gr=Cn("s"),Kr=Cn("m"),Xr=Cn("h"),Jr=Cn("d"),Qr=Cn("w"),Zr=Cn("M"),ei=Cn("y"),ti=xn("milliseconds"),ni=xn("seconds"),ri=xn("minutes"),ii=xn("hours"),oi=xn("days"),si=xn("months"),ai=xn("years"),li=Math.round,ci={s:45,m:45,h:22,d:26,M:11},ui=Math.abs,di=Fe.prototype;di.abs=fn,di.add=gn,di.subtract=vn,di.as=wn,di.asMilliseconds=qr,di.asSeconds=Gr,di.asMinutes=Kr,di.asHours=Xr,di.asDays=Jr,di.asWeeks=Qr,di.asMonths=Zr,di.asYears=ei,di.valueOf=En,di._bubble=yn,di.get=An,di.milliseconds=ti,di.seconds=ni,di.minutes=ri,di.hours=ii,di.days=oi,di.weeks=kn,di.months=si,di.years=ai,di.humanize=Tn,di.toISOString=Sn,di.toString=Sn,di.toJSON=Sn,di.locale=vt,di.localeData=yt,di.toIsoString=ee("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Sn),di.lang=Dr,R("X",0,0,"unix"),R("x",0,0,"valueOf"),Y("x",Qn),Y("X",er),W("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),W("x",function(e,t,n){n._d=new Date(v(e))}),t.version="2.10.3",r(Le),t.fn=$r,t.min=Te,t.max=Se,t.utc=c,t.unix=Xt,t.months=cn,t.isDate=o,t.locale=C,t.invalid=p,t.duration=Ke,t.isMoment=g,t.weekdays=dn,t.parseZone=Jt,t.localeData=x,t.isDuration=Ne,t.monthsShort=un,t.weekdaysMin=pn,t.defineLocale=A,t.weekdaysShort=hn,t.normalizeUnits=D,t.relativeTimeThreshold=Mn;var hi=t;return hi})}).call(t,n(108)(e))},function(e,t,n){e.exports=n(42)},function(e,t,n){"use strict";var r=function(e,t,n,r,i,o,s,a){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,s,a],u=0;l=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return c[u++]}))}throw l.framesToPop=1,l}};e.exports=r},function(e,t,n){var r=n(7),i=n(6),o=n(1),s=n(439),a=n(109),l={showAlert:function(e){s.showAlert(e)},loading:function(e,t){e?i(".global-loading").show():i(".global-loading").hide(),t&&(e?l.blockDisplay():l.unblockDisplay())},wrapSuccess:function(e,t){e.success?e.success=r.wrap(e.success,function(e,n){t(n),e(n)}):e.success=t},blockDisplay:function(){var e=i("body"),t=e.find(".global-modal-backdrop").length>0;t||e.append('')},unblockDisplay:function(){i(".global-modal-backdrop").remove()},pageChangeInit:function(){i(".modal-backdrop").remove(),l.loading(!1)},getRedisMetricsByName:function(e){return r.find(a.metrics,function(t){return t.name===e})},getRedisInfoByName:function(e){return r.find(a.info,function(t){return t.name===e})},getNodeByNodeId:function(e,t){return r.find(e,function(e){return e.node_id===t})},getAnyAliveNode:function(e){return r.find(e,function(e){var t=r.findIndex(e.flags,function(e){return"fail?"===e||"fail"===e})>=0;return!t})},getMasterNodes:function(e){return r.filter(e,function(e){return r.findIndex(e.flags,function(e){return"master"===e})>=0})},getSlaveNodesOfMasterNode:function(e,t){return r.filter(e,function(e){return e.master_node_id===t})},getPickerRanges:function(){return{"Last 1h":[o().subtract(1,"h"),o()],"Last 6h":[o().subtract(6,"h"),o()],"Last 12h":[o().subtract(12,"h"),o()],"Last 24h":[o().subtract(24,"h"),o()],"Last 2d":[o().subtract(2,"d"),o()],"Last 7d":[o().subtract(6,"d"),o()],"Last 30d":[o().subtract(30,"d"),o()]}}};window.Utils=l,e.exports=l},function(e,t){"use strict";function n(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),r=Object.prototype.hasOwnProperty,i=1;it&&!o||!i||n&&!s&&a||r&&a)return 1;if(t>e&&!n||!a||o&&!r&&i||s&&i)return-1}return 0}function s(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i-1;);return n}function d(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function h(e,t){return o(e.criteria,t.criteria)||e.index-t.index}function p(e,t,n){for(var r=-1,i=e.criteria,s=t.criteria,a=i.length,l=n.length;++r=l?c:c*(n[r]?1:-1)}return e.index-t.index}function f(e){return qe[e]}function m(e){return Ge[e]}function g(e){return"\\"+Je[e]}function v(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function b(e,t){for(var n=-1,r=e.length,i=-1,o=[];++nt,r=Wn(0,e.length,this.__views__),i=r.start,o=r.end,s=o-i,a=n?o:i-1,l=_s(s,this.__takeCount__),c=this.__iteratees__,u=c?c.length:0,d=0,h=[];e:for(;s--&&l>d;){a+=t;for(var p=-1,f=e[a];++pm.index:a-1?m.count++>=y:!g(f)))continue e}}else{var _=g(f);if(v==H)f=_;else if(!_){if(v==W)continue e;break e}}}h[d++]=f}return h}function ie(){this.__data__={}}function qe(e){return this.has(e)&&delete this.__data__[e]}function Ge(e){return"__proto__"==e?k:this.__data__[e]}function Ke(e){return"__proto__"!=e&&Ko.call(this.__data__,e)}function Xe(e,t){return"__proto__"!=e&&(this.__data__[e]=t),this}function Je(e){var t=e?e.length:0;for(this.data={hash:fs(null),set:new ls};t--;)this.push(e[t])}function Qe(e,t){var n=e.data,r="string"==typeof t||Li(t)?n.set.has(t):n.hash[t];return r?0:-1}function Ze(e){var t=this.data;"string"==typeof e||Li(e)?t.set.add(e):t.hash[e]=!0}function et(e,t){var n=-1,r=e.length;for(t||(t=Ro(r));++n=200?Is(t):null,c=t.length;l&&(o=Qe,s=!1,t=l);e:for(;++in&&(n=-n>i?0:i+n),r=r===k||r>i?i:+r||0,0>r&&(r+=i),i=n>r?0:r>>>0,n>>>=0;i>n;)e[n++]=t;return e}function kt(e,t){var n=[];return Bs(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Dt(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function Lt(e,t,n){for(var r=-1,i=e.length,o=-1,s=[];++rr;)e=e[t[r++]];return r&&r==i?e:k}}function Rt(e,t,n,r,i,o){return e===t?!0:null==e||null==t||!Li(e)&&!y(t)?e!==e&&t!==t:Bt(e,t,Rt,n,r,i,o)}function Bt(e,t,n,r,i,o,s){var a=Da(e),l=Da(t),c=q,u=q;a||(c=Jo.call(e),c==V?c=ee:c!=ee&&(a=Oi(e))),l||(u=Jo.call(t),u==V?u=ee:u!=ee&&(l=Oi(t)));var d=c==ee,h=u==ee,p=c==u;if(p&&!a&&!d)return Bn(e,t,c);if(!i){var f=d&&Ko.call(e,"__wrapped__"),m=h&&Ko.call(t,"__wrapped__");if(f||m)return n(f?e.value():e,m?t.value():t,r,i,o,s)}if(!p)return!1;o||(o=[]),s||(s=[]);for(var g=o.length;g--;)if(o[g]==e)return s[g]==t;o.push(e),s.push(t);var v=(a?Rn:On)(e,t,n,r,i,o,s);return o.pop(),s.pop(),v}function Ot(e,t,n){var r=t.length,i=r,o=!n;if(null==e)return!i;for(e=ar(e);r--;){var s=t[r];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++rt&&(t=-t>i?0:i+t),n=n===k||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Ro(i);++r=200,l=s?Is():null,c=[];l?(r=Qe,o=!1):(s=!1,l=t?[]:c);e:for(;++n=i){for(;i>r;){var o=r+i>>>1,s=e[o];(n?t>=s:t>s)&&null!==s?r=o+1:i=o}return i}return rn(e,t,wo,n)}function rn(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,s=t!==t,a=null===t,l=t===k;o>i;){var c=is((i+o)/2),u=n(e[c]),d=u!==k,h=u===u;if(s)var p=h||r;else p=a?h&&d&&(r||null!=u):l?h&&(r||d):null==u?!1:r?t>=u:t>u;p?i=c+1:o=c}return _s(o,Ds)}function on(e,t,n){if("function"!=typeof e)return wo;if(t===k)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,s){return e.call(t,n,r,i,o,s)}}return function(){return e.apply(t,arguments)}}function sn(e){return ts.call(e,0)}function an(e,t,n){for(var r=n.length,i=-1,o=ys(e.length-r,0),s=-1,a=t.length,l=Ro(o+a);++s2?n[i-2]:k,s=i>2?n[2]:k,a=i>1?n[i-1]:k;for("function"==typeof o?(o=on(o,a,5),i-=2):(o="function"==typeof a?a:k,i-=o?1:0),s&&Kn(n[0],n[1],s)&&(o=3>i?k:o,i=1);++r-1?n[o]:k}return Dt(n,r,e)}}function _n(e){return function(t,n,r){return t&&t.length?(n=Pn(n,r,3),s(t,n,e)):-1}}function bn(e){return function(t,n,r){return n=Pn(n,r,3),Dt(t,n,e,!0)}}function wn(e){return function(){for(var t,n=arguments.length,i=e?n:-1,o=0,s=Ro(n);e?i--:++iy){var A=a?et(a):null,x=ys(c-y,0),D=f?C:null,T=f?null:C,S=f?w:null,F=f?null:w;t|=f?N:R,t&=~(f?R:N),m||(t&=~(L|M));var B=[e,t,n,S,D,F,T,A,l,x],O=Mn.apply(k,B);return Jn(e)&&Hs(O,B),O.placeholder=E,O}}var P=h?n:this,$=p?P[e]:e;return a&&(w=rr(w,a)),d&&l=t||!gs(t))return"";var i=t-r;return n=null==n?" ":n+"",co(n,ns(i/n.length)).slice(0,i)}function Sn(e,t,n,r){function i(){for(var t=-1,a=arguments.length,l=-1,c=r.length,u=Ro(a+c);++ll))return!1;for(;++a-1&&e%1==0&&t>e}function Kn(e,t,n){if(!Li(n))return!1;var r=typeof t;if("number"==r?qn(n)&&Gn(t,n.length):"string"==r&&t in n){var i=n[t];return e===e?e===i:i!==i}return!1}function Xn(e,t){var n=typeof e;if("string"==n&&ke.test(e)||"number"==n)return!0;if(Da(e))return!1;var r=!xe.test(e);return r||null!=t&&e in ar(t)}function Jn(e){var n=$n(e);if(!(n in i.prototype))return!1;var r=t[n];if(e===r)return!0;var o=js(r);return!!o&&e===o[0]}function Qn(e){return"number"==typeof e&&e>-1&&e%1==0&&Ts>=e}function Zn(e){return e===e&&!Li(e)}function er(e,t){var n=e[1],r=t[1],i=n|r,o=B>i,s=r==B&&n==S||r==B&&n==O&&e[7].length<=t[8]||r==(B|O)&&n==S;if(!o&&!s)return e;r&L&&(e[2]=t[2],i|=n&L?0:T);var a=t[3];if(a){var l=e[3];e[3]=l?an(l,a,t[4]):et(a),e[4]=l?b(e[3],z):et(t[4])}return a=t[5],a&&(l=e[5],e[5]=l?ln(l,a,t[6]):et(a),e[6]=l?b(e[5],z):et(t[6])),a=t[7],a&&(e[7]=et(a)),r&B&&(e[8]=null==e[8]?t[8]:_s(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function tr(e,t){e=ar(e);for(var n=-1,r=t.length,i={};++nr;)s[++o]=qt(e,r,r+=t);return s}function dr(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++tt?0:t)):[]}function pr(e,t,n){var r=e?e.length:0;return r?((n?Kn(e,t,n):null==t)&&(t=1),t=r-(+t||0),qt(e,0,0>t?0:t)):[]}function fr(e,t,n){return e&&e.length?en(e,Pn(t,n,3),!0,!0):[]}function mr(e,t,n){return e&&e.length?en(e,Pn(t,n,3),!0):[]}function gr(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&Kn(e,t,n)&&(n=0,r=i),xt(e,t,n,r)):[]}function vr(e){return e?e[0]:k}function yr(e,t,n){var r=e?e.length:0;return n&&Kn(e,t,n)&&(t=!1),r?Lt(e,t):[]}function _r(e){var t=e?e.length:0;return t?Lt(e,!0):[]}function br(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=0>n?ys(r+n,0):n;else if(n){var i=nn(e,t),o=e[i];return(t===t?t===o:o!==o)?i:-1}return a(e,t,n||0)}function wr(e){return pr(e,1)}function Er(e){var t=e?e.length:0;return t?e[t-1]:k}function Cr(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(0>n?ys(r+n,0):_s(n||0,r-1))+1;else if(n){i=nn(e,t,!0)-1;var o=e[i];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return v(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Ar(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Yn(),i=e.length;++n-1;)us.call(t,o,1);return t}function xr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],s=e.length;for(t=Pn(t,n,3);++it?0:t)):[]}function Mr(e,t,n){var r=e?e.length:0;return r?((n?Kn(e,t,n):null==t)&&(t=1),t=r-(+t||0),qt(e,0>t?0:t)):[]}function Tr(e,t,n){return e&&e.length?en(e,Pn(t,n,3),!1,!0):[]}function Sr(e,t,n){return e&&e.length?en(e,Pn(t,n,3)):[]}function Fr(e,t,n,r){var i=e?e.length:0;if(!i)return[];null!=t&&"boolean"!=typeof t&&(r=n,n=Kn(e,t,r)?null:t,t=!1);var o=Pn();return null==n&&o===_t||(n=o(n,r,3)),t&&Yn()==a?w(e,n):Qt(e,n)}function Nr(e){if(!e||!e.length)return[];var t=-1,n=0;e=at(e,function(e){return qn(e)?(n=ys(e.length,n),!0):void 0});for(var r=Ro(n);++tn?ys(i+n,0):n||0,"string"==typeof e||!Da(e)&&Bi(e)?i>n&&e.indexOf(t,n)>-1:Yn(e,t,n)>-1):!1}function Xr(e,t,n){var r=Da(e)?lt:Pt;return t=Pn(t,n,3),r(e,t)}function Jr(e,t){return Xr(e,Do(t))}function Qr(e,t,n){var r=Da(e)?at:kt;return t=Pn(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function Zr(e,t,n){if(n?Kn(e,t,n):null==t){e=sr(e);var r=e.length;return r>0?e[zt(0,r-1)]:k}var i=-1,o=Ii(e),r=o.length,s=r-1;for(t=_s(0>t?0:+t||0,r);++i0&&(n=t.apply(this,arguments)),1>=e&&(t=null),n}}function ci(e,t,n){function r(){h&&rs(h),l&&rs(l),l=h=p=k}function i(){var n=t-(fa()-u);if(0>=n||n>t){l&&rs(l);var r=p;l=h=p=k,r&&(f=fa(),c=e.apply(d,a),h||l||(a=d=null))}else h=cs(i,n)}function o(){h&&rs(h),l=h=p=k,(g||m!==t)&&(f=fa(),c=e.apply(d,a),h||l||(a=d=null))}function s(){if(a=arguments,u=fa(),d=this,p=g&&(h||!v),m===!1)var n=v&&!h;else{l||v||(f=u);var r=m-(u-f),s=0>=r||r>m;s?(l&&(l=rs(l)),f=u,c=e.apply(d,a)):l||(l=cs(o,r))}return s&&h?h=rs(h):h||t===m||(h=cs(i,t)),n&&(s=!0,c=e.apply(d,a)),!s||h||l||(a=d=null),c}var a,l,c,u,d,h,p,f=0,m=!1,g=!0;if("function"!=typeof e)throw new Ho(U);if(t=0>t?0:+t||0,n===!0){var v=!0;g=!1}else Li(n)&&(v=n.leading,m="maxWait"in n&&ys(+n.maxWait||0,t),g="trailing"in n?n.trailing:g);return s.cancel=r,s}function ui(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Ho(U);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new ui.Cache,n}function di(e){if("function"!=typeof e)throw new Ho(U);return function(){return!e.apply(this,arguments)}}function hi(e){return li(2,e)}function pi(e,t){if("function"!=typeof e)throw new Ho(U);return t=ys(t===k?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=ys(n.length-t,0),o=Ro(i);++rt}function bi(e,t){return e>=t}function wi(e){return y(e)&&qn(e)&&Jo.call(e)==V}function Ei(e){return e===!0||e===!1||y(e)&&Jo.call(e)==G}function Ci(e){return y(e)&&Jo.call(e)==K}function Ai(e){return!!e&&1===e.nodeType&&y(e)&&Jo.call(e).indexOf("Element")>-1}function xi(e){return null==e?!0:qn(e)&&(Da(e)||Bi(e)||wi(e)||y(e)&&Ma(e.splice))?!e.length:!Ya(e).length}function ki(e,t,n,r){n="function"==typeof n?on(n,r,3):k;var i=n?n(e,t):k;return i===k?Rt(e,t,n):!!i}function Di(e){return y(e)&&"string"==typeof e.message&&Jo.call(e)==X}function Li(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Mi(e,t,n,r){return n="function"==typeof n?on(n,r,3):k,Ot(e,In(t),n)}function Ti(e){return Ni(e)&&e!=+e}function Si(e){return null==e?!1:Jo.call(e)==J?Zo.test(Go.call(e)):y(e)&&Be.test(e)}function Fi(e){return null===e}function Ni(e){return"number"==typeof e||y(e)&&Jo.call(e)==Z}function Ri(e){return y(e)&&Jo.call(e)==te}function Bi(e){return"string"==typeof e||y(e)&&Jo.call(e)==re}function Oi(e){return y(e)&&Qn(e.length)&&!!Ue[Jo.call(e)]}function Pi(e){return e===k}function $i(e,t){return t>e}function Yi(e,t){return t>=e}function Ii(e){var t=e?Ws(e):0;return Qn(t)?t?et(e):[]:Qi(e)}function ji(e){return yt(e,qi(e))}function Wi(e,t,n){var r=Rs(e);return n&&Kn(e,t,n)&&(t=null),t?gt(r,t):r}function Hi(e){return Ft(e,qi(e))}function Ui(e,t,n){var r=null==e?k:Nt(e,lr(t),t+"");return r===k?n:r}function zi(e,t){if(null==e)return!1;var n=Ko.call(e,t);if(!n&&!Xn(t)){if(t=lr(t),e=1==t.length?e:Nt(e,qt(t,0,-1)),null==e)return!1;t=Er(t),n=Ko.call(e,t)}return n||Qn(e.length)&&Gn(t,e.length)&&(Da(e)||wi(e))}function Vi(e,t,n){n&&Kn(e,t,n)&&(t=null);for(var r=-1,i=Ya(e),o=i.length,s={};++r0;++r=_s(t,n)&&en?0:+n||0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function oo(e){return e=c(e),e&&we.test(e)?e.replace(_e,m):e}function so(e){return e=c(e),e&&Me.test(e)?e.replace(Le,"\\$&"):e}function ao(e,t,n){e=c(e),t=+t;var r=e.length;if(r>=t||!gs(t))return e;var i=(t-r)/2,o=is(i),s=ns(i);return n=Tn("",s,n),n.slice(0,o)+e+n}function lo(e,t,n){return n&&Kn(e,t,n)&&(t=0),Es(e,t)}function co(e,t){var n="";if(e=c(e),t=+t,1>t||!e||!gs(t))return n;do t%2&&(n+=e),t=is(t/2),e+=e;while(t);return n}function uo(e,t,n){return e=c(e),n=null==n?0:_s(0>n?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function ho(e,n,r){var i=t.templateSettings;r&&Kn(e,n,r)&&(n=r=null),e=c(e),n=mt(gt({},r||n),i,ft);var o,s,a=mt(gt({},n.imports),i.imports,ft),l=Ya(a),u=Zt(a,l),d=0,h=n.interpolate||$e,p="__p += '",f=jo((n.escape||$e).source+"|"+h.source+"|"+(h===Ae?Fe:$e).source+"|"+(n.evaluate||$e).source+"|$","g"),m="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++He+"]")+"\n";e.replace(f,function(t,n,r,i,a,l){return r||(r=i),p+=e.slice(d,l).replace(Ye,g),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),a&&(s=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),d=l+t.length,t}),p+="';\n";var v=n.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(s?p.replace(me,""):p).replace(ge,"$1").replace(ve,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=Ja(function(){return Po(l,m+"return "+p).apply(k,u)});if(y.source=p,Di(y))throw y;return y}function po(e,t,n){var r=e;return(e=c(e))?(n?Kn(r,t,n):null==t)?e.slice(E(e),C(e)+1):(t+="",e.slice(u(e,t),d(e,t)+1)):e}function fo(e,t,n){var r=e;return e=c(e),e?(n?Kn(r,t,n):null==t)?e.slice(E(e)):e.slice(u(e,t+"")):e}function mo(e,t,n){var r=e;return e=c(e),e?(n?Kn(r,t,n):null==t)?e.slice(0,C(e)+1):e.slice(0,d(e,t+"")+1):e}function go(e,t,n){n&&Kn(e,t,n)&&(t=null);var r=P,i=$;if(null!=t)if(Li(t)){var o="separator"in t?t.separator:o;r="length"in t?+t.length||0:r,i="omission"in t?c(t.omission):i}else r=+t||0;if(e=c(e),r>=e.length)return e;var s=r-i.length;if(1>s)return i;var a=e.slice(0,s);if(null==o)return a+i;if(Ri(o)){if(e.slice(s).search(o)){var l,u,d=e.slice(0,s);for(o.global||(o=jo(o.source,(Ne.exec(o)||"")+"g")),o.lastIndex=0;l=o.exec(d);)u=l.index;a=a.slice(0,null==u?s:u)}}else if(e.indexOf(o,s)!=s){var h=a.lastIndexOf(o);h>-1&&(a=a.slice(0,h))}return a+i}function vo(e){return e=c(e),e&&be.test(e)?e.replace(ye,A):e}function yo(e,t,n){return n&&Kn(e,t,n)&&(t=null),e=c(e),e.match(t||Ie)||[]}function _o(e,t,n){return n&&Kn(e,t,n)&&(t=null),y(e)?Eo(e):_t(e,t)}function bo(e){return function(){return e}}function wo(e){return e}function Eo(e){return $t(bt(e,!0))}function Co(e,t){return Yt(e,bt(t,!0))}function Ao(e,t,n){if(null==n){var r=Li(t),i=r?Ya(t):null,o=i&&i.length?Ft(t,i):null;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=Ft(t,Ya(t)));var s=!0,a=-1,l=Ma(e),c=o.length;n===!1?s=!1:Li(n)&&"chain"in n&&(s=n.chain);for(;++ae||!gs(e))return[];var r=-1,i=Ro(_s(e,ks));for(t=on(t,n,1);++rr?i[r]=t(r):t(r);return i}function So(e){var t=++Xo;return c(e)+t}function Fo(e,t){return(+e||0)+(+t||0)}function No(e,t,n){n&&Kn(e,t,n)&&(t=null);var r=Pn(),i=null==t;return i&&r===_t||(i=!1,t=r(t,n,3)),i?ht(Da(e)?e:sr(e)):Jt(e,t)}e=e?it.defaults(rt.Object(),e,it.pick(rt,We)):rt;var Ro=e.Array,Bo=e.Date,Oo=e.Error,Po=e.Function,$o=e.Math,Yo=e.Number,Io=e.Object,jo=e.RegExp,Wo=e.String,Ho=e.TypeError,Uo=Ro.prototype,zo=Io.prototype,Vo=Wo.prototype,qo=(qo=e.window)?qo.document:null,Go=Po.prototype.toString,Ko=zo.hasOwnProperty,Xo=0,Jo=zo.toString,Qo=e._,Zo=jo("^"+so(Go.call(Ko)).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),es=jn(e,"ArrayBuffer"),ts=jn(es&&new es(0),"slice"),ns=$o.ceil,rs=e.clearTimeout,is=$o.floor,os=jn(Io,"getPrototypeOf"),ss=e.parseFloat,as=Uo.push,ls=jn(e,"Set"),cs=e.setTimeout,us=Uo.splice,ds=jn(e,"Uint8Array"),hs=jn(e,"WeakMap"),ps=function(){try{var t=jn(e,"Float64Array"),n=new t(new es(10),0,1)&&t}catch(r){}return n||null}(),fs=jn(Io,"create"),ms=jn(Ro,"isArray"),gs=e.isFinite,vs=jn(Io,"keys"),ys=$o.max,_s=$o.min,bs=jn(Bo,"now"),ws=jn(Yo,"isFinite"),Es=e.parseInt,Cs=$o.random,As=Yo.NEGATIVE_INFINITY,xs=Yo.POSITIVE_INFINITY,ks=4294967295,Ds=ks-1,Ls=ks>>>1,Ms=ps?ps.BYTES_PER_ELEMENT:0,Ts=9007199254740991,Ss=hs&&new hs,Fs={},Ns=t.support={};!function(e){var t=function(){this.x=e},n=[];t.prototype={valueOf:e,y:e};for(var r in new t)n.push(r);try{Ns.dom=11===qo.createDocumentFragment().nodeType}catch(i){Ns.dom=!1}}(1,0),t.templateSettings={escape:Ee,evaluate:Ce,interpolate:Ae,variable:"",imports:{_:t}};var Rs=function(){function e(){}return function(t){if(Li(t)){e.prototype=t;var n=new e;e.prototype=null}return n||{}}}(),Bs=dn(Tt),Os=dn(St,!0),Ps=hn(),$s=hn(!0),Ys=Ss?function(e,t){return Ss.set(e,t),e}:wo;ts||(sn=es&&ds?function(e){var t=e.byteLength,n=ps?is(t/Ms):0,r=n*Ms,i=new es(t);if(n){var o=new ps(i,0,n);o.set(new ps(e,0,n))}return t!=r&&(o=new ds(i,r),o.set(new ds(e,r))),i}:bo(null));var Is=fs&&ls?function(e){return new Je(e)}:bo(null),js=Ss?function(e){return Ss.get(e)}:ko,Ws=Wt("length"),Hs=function(){var e=0,t=0;return function(n,r){var i=fa(),o=I-(i-t);if(t=i,o>0){if(++e>=Y)return n}else e=0;return Ys(n,r)}}(),Us=pi(function(e,t){return qn(e)?Et(e,Lt(t,!1,!0)):[]}),zs=_n(),Vs=_n(!0),qs=pi(function(e){for(var t=e.length,n=t,r=Ro(d),i=Yn(),o=i==a,s=[];n--;){var l=e[n]=qn(l=e[n])?l:[];r[n]=o&&l.length>=120?Is(n&&l):null}var c=e[0],u=-1,d=c?c.length:0,h=r[0];e:for(;++u2?e[t-2]:k,r=t>1?e[t-1]:k;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):k,r=k),e.length=t,Rr(e,n,r)}),ta=pi(function(e,t){return vt(e,Lt(t))}),na=cn(function(e,t,n){Ko.call(e,n)?++e[n]:e[n]=1}),ra=yn(Bs),ia=yn(Os,!0),oa=En(tt,Bs),sa=En(nt,Os),aa=cn(function(e,t,n){Ko.call(e,n)?e[n].push(t):e[n]=[t]}),la=cn(function(e,t,n){e[n]=t}),ca=pi(function(e,t,n){var r=-1,i="function"==typeof t,o=Xn(t),s=qn(e)?Ro(e.length):[];return Bs(e,function(e){var a=i?t:o&&null!=e?e[t]:null;s[++r]=a?a.apply(e,n):Vn(e,t,n)}),s}),ua=cn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),da=Ln(ct,Bs),ha=Ln(ut,Os),pa=pi(function(e,t){if(null==e)return[];var n=t[2];return n&&Kn(t[0],t[1],n)&&(t.length=1),Xt(e,Lt(t),[])}),fa=bs||function(){return(new Bo).getTime()},ma=pi(function(e,t,n){var r=L;if(n.length){var i=b(n,ma.placeholder);r|=N}return Nn(e,r,t,n,i)}),ga=pi(function(e,t){t=t.length?Lt(t):Hi(e);for(var n=-1,r=t.length;++ne?n=this.takeRight(-e):e&&(n=this.drop(e)),t!==k&&(t=+t||0,n=0>t?n.dropRight(-t):n.take(t-e)),n},i.prototype.toArray=function(){return this.drop(0)},Tt(i.prototype,function(e,n){var o=t[n];if(o){var s=/^(?:filter|map|reject)|While$/.test(n),a=/^(?:first|last)$/.test(n);t.prototype[n]=function(){var n=arguments,l=this.__chain__,c=this.__wrapped__,u=!!this.__actions__.length,d=c instanceof i,h=n[0],p=d||Da(c);p&&s&&"function"==typeof h&&1!=h.length&&(d=p=!1);var f=d&&!u;if(a&&!l)return f?e.call(c):o.call(t,this.value());var m=function(e){var r=[e];return as.apply(r,n),o.apply(t,r)};if(p){var g=f?c:new i(this),v=e.apply(g,n);if(!a&&(u||v.__actions__)){var y=v.__actions__||(v.__actions__=[]);y.push({func:Yr,args:[m],thisArg:t})}return new r(v,l)}return this.thru(m)}}}),tt(["concat","join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var n=(/^(?:replace|split)$/.test(e)?Vo:Uo)[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),Tt(i.prototype,function(e,n){var r=t[n];if(r){var i=r.name,o=Fs[i]||(Fs[i]=[]);o.push({name:n,func:r})}}),Fs[Mn(null,M).name]=[{name:"wrapper",func:null}],i.prototype.clone=_,i.prototype.reverse=Q,i.prototype.value=ne,t.prototype.chain=Ir,t.prototype.commit=jr,t.prototype.plant=Wr,t.prototype.reverse=Hr,t.prototype.toString=Ur,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=zr,t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var k,D="3.9.3",L=1,M=2,T=4,S=8,F=16,N=32,R=64,B=128,O=256,P=30,$="...",Y=150,I=16,j=0,W=1,H=2,U="Expected a function",z="__lodash_placeholder__",V="[object Arguments]",q="[object Array]",G="[object Boolean]",K="[object Date]",X="[object Error]",J="[object Function]",Q="[object Map]",Z="[object Number]",ee="[object Object]",te="[object RegExp]",ne="[object Set]",re="[object String]",ie="[object WeakMap]",oe="[object ArrayBuffer]",se="[object Float32Array]",ae="[object Float64Array]",le="[object Int8Array]",ce="[object Int16Array]",ue="[object Int32Array]",de="[object Uint8Array]",he="[object Uint8ClampedArray]",pe="[object Uint16Array]",fe="[object Uint32Array]",me=/\b__p \+= '';/g,ge=/\b(__p \+=) '' \+/g,ve=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ye=/&(?:amp|lt|gt|quot|#39|#96);/g,_e=/[&<>"'`]/g,be=RegExp(ye.source),we=RegExp(_e.source),Ee=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,Ae=/<%=([\s\S]+?)%>/g,xe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,ke=/^\w*$/,De=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Le=/[.*+?^${}()|[\]\/\\]/g,Me=RegExp(Le.source),Te=/[\u0300-\u036f\ufe20-\ufe23]/g,Se=/\\(\\)?/g,Fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ne=/\w*$/,Re=/^0[xX]/,Be=/^\[object .+?Constructor\]$/,Oe=/^\d+$/,Pe=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,$e=/($^)/,Ye=/['\n\r\u2028\u2029\\]/g,Ie=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),je=" \x0B\f \ufeff\n\r\u2028\u2029 ᠎              ",We=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","document","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","window"],He=-1,Ue={};Ue[se]=Ue[ae]=Ue[le]=Ue[ce]=Ue[ue]=Ue[de]=Ue[he]=Ue[pe]=Ue[fe]=!0,Ue[V]=Ue[q]=Ue[oe]=Ue[G]=Ue[K]=Ue[X]=Ue[J]=Ue[Q]=Ue[Z]=Ue[ee]=Ue[te]=Ue[ne]=Ue[re]=Ue[ie]=!1;var ze={};ze[V]=ze[q]=ze[oe]=ze[G]=ze[K]=ze[se]=ze[ae]=ze[le]=ze[ce]=ze[ue]=ze[Z]=ze[ee]=ze[te]=ze[re]=ze[de]=ze[he]=ze[pe]=ze[fe]=!0,ze[X]=ze[J]=ze[Q]=ze[ne]=ze[ie]=!1;var Ve={leading:!1,maxWait:0,trailing:!1},qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Ge={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ke={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Xe={"function":!0,object:!0},Je={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qe=Xe[typeof t]&&t&&!t.nodeType&&t,Ze=Xe[typeof e]&&e&&!e.nodeType&&e,et=Qe&&Ze&&"object"==typeof i&&i&&i.Object&&i,tt=Xe[typeof self]&&self&&self.Object&&self,nt=Xe[typeof window]&&window&&window.Object&&window,rt=(Ze&&Ze.exports===Qe&&Qe,et||nt!==(this&&this.window)&&nt||tt||this),it=x();rt._=it,r=function(){return it}.call(t,n,t,e),!(r!==k&&(e.exports=r))}).call(this)}).call(t,n(108)(e),function(){return this}())},function(e,t,n){"use strict";var r=n(30),i=r;e.exports=i},function(e,t,n){"use strict";var r=n(93),i=n(36),o=n(5),s=(n(8),{key:!0,ref:!0}),a=function(e,t,n,r,i,o){this.type=e,this.key=t,this.ref=n,this._owner=r,this._context=i,this.props=o};a.prototype={_isReactElement:!0},a.createElement=function(e,t,n){var o,l={},c=null,u=null;if(null!=t){u=void 0===t.ref?null:t.ref,c=void 0===t.key?null:""+t.key;for(o in t)t.hasOwnProperty(o)&&!s.hasOwnProperty(o)&&(l[o]=t[o])}var d=arguments.length-2;if(1===d)l.children=n;else if(d>1){for(var h=Array(d),p=0;d>p;p++)h[p]=arguments[p+2];l.children=h}if(e&&e.defaultProps){var f=e.defaultProps;for(o in f)"undefined"==typeof l[o]&&(l[o]=f[o])}return new a(e,c,u,i.current,r.current,l)},a.createFactory=function(e){var t=a.createElement.bind(null,e);return t.type=e,t},a.cloneAndReplaceProps=function(e,t){var n=new a(e.type,e.key,e.ref,e._owner,e._context,t);return n},a.cloneElement=function(e,t,n){var r,l=o({},e.props),c=e.key,u=e.ref,d=e._owner;if(null!=t){void 0!==t.ref&&(u=t.ref,d=i.current),void 0!==t.key&&(c=""+t.key);for(r in t)t.hasOwnProperty(r)&&!s.hasOwnProperty(r)&&(l[r]=t[r])}var h=arguments.length-2;if(1===h)l.children=n;else if(h>1){for(var p=Array(h),f=0;h>f;f++)p[f]=arguments[f+2];l.children=p}return new a(e.type,c,u,d,e._context,l)},a.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},e.exports=a},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t,n){"use strict";t.DefaultRoute=n(211),t.Link=n(336),t.NotFoundRoute=n(212),t.Redirect=n(213),t.Route=n(66),t.ActiveHandler=n(67),t.RouteHandler=t.ActiveHandler,t.HashLocation=n(216),t.HistoryLocation=n(86),t.RefreshLocation=n(217),t.StaticLocation=n(218),t.TestLocation=n(339),t.ImitateBrowserBehavior=n(210),t.ScrollToTopBehavior=n(334),t.History=n(45),t.Navigation=n(330),t.State=n(332),t.createRoute=n(41).createRoute,t.createDefaultRoute=n(41).createDefaultRoute,t.createNotFoundRoute=n(41).createNotFoundRoute,t.createRedirect=n(41).createRedirect,t.createRoutesFromReactChildren=n(215),t.create=n(214),t.run=n(340)},function(e,t,n){(function(e,r){var i=n(280),o=n(321),s=n(75),a=n(290),l={};t.clone=function(n,r){if("object"!=typeof n||null===n)return n;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(n);if(-1!==i)return r.copy[i];var o,s=!1;if(Array.isArray(n))o=[],s=!0;else if(e.isBuffer(n))o=new e(n);else if(n instanceof Date)o=new Date(n.getTime());else if(n instanceof RegExp)o=new RegExp(n);else{var a=Object.getPrototypeOf(n);a&&a.isImmutable?o=n:(o=Object.create(a),s=!0)}if(r.orig.push(n),r.copy.push(o),s)for(var l=Object.getOwnPropertyNames(n),c=0,u=l.length;u>c;++c){var d=l[c],h=Object.getOwnPropertyDescriptor(n,d);h&&(h.get||h.set)?Object.defineProperty(o,d,h):o[d]=t.clone(n[d],r)}return o},t.merge=function(n,r,i,o){if(t.assert(n&&"object"==typeof n,"Invalid target value: must be an object"),t.assert(null===r||void 0===r||"object"==typeof r,"Invalid source value: must be null, undefined, or an object"),!r)return n;if(Array.isArray(r)){t.assert(Array.isArray(n),"Cannot merge array onto an object"),o===!1&&(n.length=0);for(var s=0,a=r.length;a>s;++s)n.push(t.clone(r[s]));return n}for(var l=Object.keys(r),c=0,u=l.length;u>c;++c){var d=l[c],h=r[d];h&&"object"==typeof h?!n[d]||"object"!=typeof n[d]||Array.isArray(n[d])^Array.isArray(h)||h instanceof Date||e.isBuffer(h)||h instanceof RegExp?n[d]=t.clone(h):t.merge(n[d],h,i,o):null!==h&&void 0!==h?n[d]=h:i!==!1&&(n[d]=h)}return n},t.applyToDefaults=function(e,n,r){if(t.assert(e&&"object"==typeof e,"Invalid defaults value: must be an object"),t.assert(!n||n===!0||"object"==typeof n,"Invalid options value: must be true, falsy or an object"),!n)return null;var i=t.clone(e);return n===!0?i:t.merge(i,n,r===!0,!1)},t.cloneWithShallow=function(e,n){if(!e||"object"!=typeof e)return e;var r=l.store(e,n),i=t.clone(e);return l.restore(i,e,r),i},l.store=function(e,n){for(var r={},i=0,o=n.length;o>i;++i){var s=n[i],a=t.reach(e,s);void 0!==a&&(r[s]=a,l.reachSet(e,s,void 0))}return r},l.restore=function(e,t,n){for(var r=Object.keys(n),i=0,o=r.length;o>i;++i){var s=r[i];l.reachSet(e,s,n[s]),l.reachSet(t,s,n[s])}},l.reachSet=function(e,t,n){for(var r=t.split("."),i=e,o=0,s=r.length;s>o;++o){var a=r[o];o+1===s&&(i[a]=n),i=i[a]}},t.applyToDefaultsWithShallow=function(e,n,r){if(t.assert(e&&"object"==typeof e,"Invalid defaults value: must be an object"),t.assert(!n||n===!0||"object"==typeof n,"Invalid options value: must be true, falsy or an object"),t.assert(r&&Array.isArray(r),"Invalid keys"),!n)return null;var i=t.cloneWithShallow(e,r);if(n===!0)return i;var o=l.store(n,r);return t.merge(i,n,!1,!1),l.restore(i,n,o),i},t.deepEqual=function(n,r,i,o){i=i||{prototype:!0};var s=typeof n;if(s!==typeof r)return!1;if("object"!==s||null===n||null===r)return n===r?0!==n||1/n===1/r:n!==n&&r!==r;if(o=o||[],-1!==o.indexOf(n))return!0;if(o.push(n),Array.isArray(n)){if(!Array.isArray(r))return!1;if(!i.part&&n.length!==r.length)return!1;for(var a=0,l=n.length;l>a;++a){if(i.part){for(var c=!1,u=0,d=r.length;d>u;++u)if(t.deepEqual(n[a],r[u],i,o)){c=!0;break}return c}if(!t.deepEqual(n[a],r[a],i,o))return!1}return!0}if(e.isBuffer(n)){if(!e.isBuffer(r))return!1;if(n.length!==r.length)return!1;for(var h=0,p=n.length;p>h;++h)if(n[h]!==r[h])return!1;return!0}if(n instanceof Date)return r instanceof Date&&n.getTime()===r.getTime();if(n instanceof RegExp)return r instanceof RegExp&&n.toString()===r.toString();if(i.prototype&&Object.getPrototypeOf(n)!==Object.getPrototypeOf(r))return!1;var f=Object.getOwnPropertyNames(n);if(!i.part&&f.length!==Object.getOwnPropertyNames(r).length)return!1;for(var m=0,g=f.length;g>m;++m){var v=f[m],y=Object.getOwnPropertyDescriptor(n,v);if(y.get){if(!t.deepEqual(y,Object.getOwnPropertyDescriptor(r,v),i,o))return!1}else if(!t.deepEqual(n[v],r[v],i,o))return!1}return!0},t.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var s=t?e[i][t]:e[i];n[s]!==!0&&(r.push(e[i]),n[s]=!0)}return r},t.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},t.intersect=function(e,n,r){if(!e||!n)return[];for(var i=[],o=Array.isArray(e)?t.mapToObject(e):e,s={},a=0,l=n.length;l>a;++a)if(o[n[a]]&&!s[n[a]]){if(r)return n[a];i.push(n[a]),s[n[a]]=!0}return r?null:i},t.contain=function(e,n,r){var i=null;"object"!=typeof e||"object"!=typeof n||Array.isArray(e)||Array.isArray(n)?n=[].concat(n):(i=n,n=Object.keys(n)),r=r||{},t.assert(arguments.length>=2,"Insufficient arguments"),t.assert("string"==typeof e||"object"==typeof e,"Reference must be string or an object"),t.assert(n.length,"Values array cannot be empty");var o,s;if(r.deep){o=t.deepEqual;var a=r.hasOwnProperty("only"),l=r.hasOwnProperty("part");s={prototype:a?r.only:l?!r.part:!1,part:a?!r.only:l?r.part:!0}}else o=function(e,t){return e===t};for(var c=!1,u=new Array(n.length),d=0,h=u.length;h>d;++d)u[d]=0;if("string"==typeof e){var p="(";for(d=0,h=n.length;h>d;++d){var f=n[d];t.assert("string"==typeof f,"Cannot compare string reference to non-string value"),p+=(d?"|":"")+t.escapeRegex(f)}var m=new RegExp(p+")","g"),g=e.replace(m,function(e,t){var r=n.indexOf(t);return++u[r],""});c=!!g}else if(Array.isArray(e))for(d=0,h=e.length;h>d;++d){for(var v=0,y=n.length,_=!1;y>v&&_===!1;++v)_=o(n[v],e[d],s)&&v;_!==!1?++u[_]:c=!0}else{var b=Object.keys(e);for(d=0,h=b.length;h>d;++d){var w=b[d],E=n.indexOf(w);if(-1!==E){if(i&&!o(i[w],e[w],s))return!1;++u[E]}else c=!0}}var C=!1;for(d=0,h=u.length;h>d;++d)if(C=C||!!u[d],r.once&&u[d]>1||!r.part&&!u[d])return!1;return r.only&&c?!1:C},t.flatten=function(e,n){for(var r=n||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?t.flatten(e[i],r):r.push(e[i]);return r},t.reach=function(e,n,r){if(n===!1||null===n||"undefined"==typeof n)return e;r=r||{},"string"==typeof r&&(r={separator:r});for(var i=n.split(r.separator||"."),o=e,s=0,a=i.length;a>s;++s){var l=i[s];if("-"===l[0]&&Array.isArray(o)&&(l=l.slice(1,l.length),l=o.length-l),!o||!o.hasOwnProperty(l)||"object"!=typeof o&&r.functions===!1){t.assert(!r.strict||s+1===a,"Missing segment",l,"in reach path ",n),t.assert("object"==typeof o||r.functions===!0||"function"!=typeof o,"Invalid segment",l,"in reach path ",n), -o=r["default"];break}o=o[l]}return o},t.reachTemplate=function(e,n,r){return n.replace(/{([^}]+)}/g,function(n,i){var o=t.reach(e,i,r);return void 0===o||null===o?"":o})},t.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},t.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?"new ":"")+i[3]+" ("+i[0]+":"+i[1]+":"+i[2]+")")}return t},t.callStack=function(e){var n=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=n;var o=t.formatStack(i);return e?o.slice(e):o},t.displayStack=function(e){var n=t.callStack(void 0===e?1:e+1);return t.formatTrace(n)},t.abortThrow=!1,t.abort=function(e,n){if(t.abortThrow===!0)throw new Error(e||"Unknown error");var i="";n||(i=t.displayStack(1).join("\n ")),console.log("ABORT: "+e+"\n "+i),r.exit(1)},t.assert=function(e){if(!e){if(2===arguments.length&&arguments[1]instanceof Error)throw arguments[1];for(var n=[],r=1,i=arguments.length;i>r;++r)""!==arguments[r]&&n.push(arguments[r]);throw n=n.map(function(e){return"string"==typeof e?e:e instanceof Error?e.message:t.stringify(e)}),new Error(n.join(" ")||"Unknown error")}},t.Timer=function(){this.ts=0,this.reset()},t.Timer.prototype.reset=function(){this.ts=Date.now()},t.Timer.prototype.elapsed=function(){return Date.now()-this.ts},t.Bench=function(){this.ts=0,this.reset()},t.Bench.prototype.reset=function(){this.ts=t.Bench.now()},t.Bench.prototype.elapsed=function(){return t.Bench.now()-this.ts},t.Bench.now=function(){var e=r.hrtime();return 1e3*e[0]+e[1]/1e6},t.escapeRegex=function(e){return e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")},t.base64urlEncode=function(t,n){var r=e.isBuffer(t)?t:new e(t,n||"binary");return r.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")},t.base64urlDecode=function(t,n){if(t&&!/^[\w\-]*$/.test(t))return new Error("Invalid character");try{var r=new e(t,"base64");return"buffer"===n?r:r.toString(n||"binary")}catch(i){return i}},t.escapeHeaderAttribute=function(e){return t.assert(/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~\"\\]*$/.test(e),"Bad attribute value ("+e+")"),e.replace(/\\/g,"\\\\").replace(/\"/g,'\\"')},t.escapeHtml=function(e){return a.escapeHtml(e)},t.escapeJavaScript=function(e){return a.escapeJavaScript(e)},t.nextTick=function(e){return function(){var t=arguments;r.nextTick(function(){e.apply(null,t)})}},t.once=function(e){if(e._hoekOnce)return e;var t=!1,n=function(){t||(t=!0,e.apply(null,arguments))};return n._hoekOnce=!0,n},t.isAbsolutePath=function(e,t){return e?o.isAbsolute?o.isAbsolute(e):(t=t||r.platform,"win32"!==t?"/"===e[0]:!!/^(?:[a-zA-Z]:[\\\/])|(?:[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/])/.test(e)):!1},t.isInteger=function(e){return"number"==typeof e&&parseFloat(e)===parseInt(e,10)&&!isNaN(e)},t.ignore=function(){},t.inherits=s.inherits,t.format=s.format,t.transform=function(e,n,r){if(t.assert(null===e||void 0===e||"object"==typeof e||Array.isArray(e),"Invalid source object: must be null, undefined, an object, or an array"),Array.isArray(e)){for(var i=[],o=0,s=e.length;s>o;++o)i.push(t.transform(e[o],n,r));return i}for(var a={},l=Object.keys(n),c=0,u=l.length;u>c;++c){var d=l[c],h=d.split("."),p=n[d];t.assert("string"==typeof p,'All mappings must be "." delineated strings');for(var f,m=a;h.length>1;)f=h.shift(),m[f]||(m[f]={}),m=m[f];f=h.shift(),m[f]=t.reach(e,p,r)}return a},t.uniqueFilename=function(e,t){t=t?"."!==t[0]?"."+t:t:"",e=o.resolve(e);var n=[Date.now(),r.pid,i.randomBytes(8).toString("hex")].join("-")+t;return o.join(e,n)},t.stringify=function(){try{return JSON.stringify.apply(null,arguments)}catch(e){return"[Cannot display object: "+e.message+"]"}},t.shallow=function(e){for(var t={},n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r];t[o]=e[o]}return t}}).call(t,n(14).Buffer,n(64))},function(e,t,n){var r=n(19),i=n(18),o=n(78),s=n(4),a={getClusters:function(e){e=e||{},s.wrapSuccess(e,function(e){r.dispatch({actionType:i.GET_CLUSTERS,data:e})}),o.Cluster.getClusters({full:!0},e)},getCluster:function(e,t){t=t||{},s.wrapSuccess(t,function(e){r.dispatch({actionType:i.GET_CLUSTER,data:e})}),o.Cluster.getCluster(e,t)},setClusters:function(e,t){t=t||{},s.wrapSuccess(t,function(e){a.getClusters()}),o.Cluster.setClusters(e,t)},getNodeMetrics:function(e,t,n){n=n||{},s.wrapSuccess(n,function(t){r.dispatch({actionType:i.GET_NODE_METRICS,clusterName:e,data:t})}),o.Cluster.getNodeMetrics(e,t,n)},setNodeMetricsQuery:function(e,t){r.dispatch({actionType:i.SET_NODE_METRICS_QUERY,clusterName:e,data:t})},setNodeMetricsQueryOnlyAutoRefresh:function(e,t){r.dispatch({actionType:i.SET_NODE_METRICS_QUERY_ONLY_AUTO_REFRESH,clusterName:e,autoRefresh:t})},getClusterNotice:function(e,t){t=t||{},s.wrapSuccess(t,function(t){r.dispatch({actionType:i.GET_CLUSTER_NOTICE,clusterName:e,data:t})}),o.Cluster.getClusterNotice(e,t)},setClusterNotice:function(e,t,n){n=n||{},s.wrapSuccess(n,function(t){r.dispatch({actionType:i.GET_CLUSTER_NOTICE,clusterName:e,data:t})}),o.Cluster.setClusterNotice(e,t,n)},deleteCluster:function(e,t){t=t||{},s.wrapSuccess(t,function(e){a.getClusters()}),o.Cluster.deleteCluster(e,t)},changeClusterName:function(e,t,n){n=n||{},s.wrapSuccess(n,function(e){a.getClusters()}),o.Cluster.changeClusterName(e,t,n)},getSlowLog:function(e,t,n){n=n||{},s.wrapSuccess(n,function(t){r.dispatch({actionType:i.GET_CLUSTER_SLOWLOG,clusterName:e,data:t})}),o.Cluster.getSlowLog(e,t,n)}};e.exports=a},function(e,t,n){(function(e,r){/*! +!function(t,n){e.exports=n()}(this,function(){"use strict";function t(){return Fn.apply(null,arguments)}function r(e){Fn=e}function i(e){return"[object Array]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function s(e,t){var n,r=[];for(n=0;n0)for(n in Nn)r=Nn[n],i=t[r],"undefined"!=typeof i&&(e[r]=i);return e}function m(e){p(this,e),this._d=new Date(+e._d),Bn===!1&&(Bn=!0,t.updateOffset(this),Bn=!1)}function g(e){return e instanceof m||null!=e&&null!=e._isAMomentObject}function v(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=t>=0?Math.floor(t):Math.ceil(t)),n}function y(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(r=0;r0;){if(r=E(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&y(i,n,!0)>=t-1)break;t--}o++}return null}function E(t){var r=null;if(!On[t]&&"undefined"!=typeof e&&e&&e.exports)try{r=Rn._abbr,n(526)("./"+t),C(r)}catch(e){}return On[t]}function C(e,t){var n;return e&&(n="undefined"==typeof t?x(e):A(e,t),n&&(Rn=n)),Rn._abbr}function A(e,t){return null!==t?(t.abbr=e,On[e]||(On[e]=new _),On[e].set(t),C(e),On[e]):(delete On[e],null)}function x(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Rn;if(!i(e)){if(t=E(e))return t;e=[e]}return w(e)}function k(e,t){var n=e.toLowerCase();Pn[n]=Pn[n+"s"]=Pn[t]=e}function D(e){return"string"==typeof e?Pn[e]||Pn[e.toLowerCase()]:void 0}function L(e){var t,n,r={};for(n in e)a(e,n)&&(t=D(n),t&&(r[t]=e[n]));return r}function M(e,n){return function(r){return null!=r?(S(this,e,r),t.updateOffset(this,n),this):T(this,e)}}function T(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function S(e,t,n){return e._d["set"+(e._isUTC?"UTC":"")+t](n)}function F(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=D(e),"function"==typeof this[e])return this[e](t);return this}function R(e,t,n){for(var r=""+Math.abs(e),i=e>=0;r.length=0&&Yn.test(e);)e=e.replace(Yn,n),Yn.lastIndex=0,r-=1;return e}function Y(e,t,n){nr[e]="function"==typeof t?t:function(e){return e&&n?n:t}}function I(e,t){return a(nr,e)?nr[e](t._strict,t._locale):new RegExp(j(e))}function j(e){return e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function W(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?or:n[sr]<1||n[sr]>z(n[ir],n[or])?sr:n[ar]<0||n[ar]>24||24===n[ar]&&(0!==n[lr]||0!==n[cr]||0!==n[ur])?ar:n[lr]<0||n[lr]>59?lr:n[cr]<0||n[cr]>59?cr:n[ur]<0||n[ur]>999?ur:-1,h(e)._overflowDayOfYear&&(tsr)&&(t=sr),h(e).overflow=t),e}function Z(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function ee(e,t){var n=!0,r=e+"\n"+(new Error).stack;return l(function(){return n&&(Z(r),n=!1),t.apply(this,arguments)},t)}function te(e,t){fr[e]||(Z(t),fr[e]=!0)}function ne(e){var t,n,r=e._i,i=pr.exec(r);if(i){for(h(e).iso=!0,t=0,n=mr.length;ti&&(o-=7),or?7:0)-(a0?e:e-1,dayOfYear:s>0?s:se(e-1)+s}}function ge(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 ve(e,t,n){return null!=e?e:null!=t?t:n}function ye(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function _e(e){var t,n,r,i,o=[];if(!e._d){for(r=ye(e),e._w&&null==e._a[sr]&&null==e._a[or]&&be(e),e._dayOfYear&&(i=ve(e._a[ir],r[ir]),e._dayOfYear>se(i)&&(h(e)._overflowDayOfYear=!0),n=oe(i,0,e._dayOfYear),e._a[or]=n.getUTCMonth(),e._a[sr]=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[ar]&&0===e._a[lr]&&0===e._a[cr]&&0===e._a[ur]&&(e._nextDay=!0,e._a[ar]=0),e._d=(e._useUTC?oe:ie).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ar]=24)}}function be(e){var t,n,r,i,o,s,a;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,s=4,n=ve(t.GG,e._a[ir],ce(Le(),1,4).year),r=ve(t.W,1),i=ve(t.E,1)):(o=e._locale._week.dow,s=e._locale._week.doy,n=ve(t.gg,e._a[ir],ce(Le(),o,s).year),r=ve(t.w,1),null!=t.d?(i=t.d,i0&&h(e).unusedInput.push(s),a=a.slice(a.indexOf(r)+r.length),c+=r.length),jn[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),U(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=l-c,a.length>0&&h(e).unusedInput.push(a),h(e).bigHour===!0&&e._a[ar]<=12&&e._a[ar]>0&&(h(e).bigHour=void 0),e._a[ar]=Ee(e._locale,e._a[ar],e._meridiem),_e(e),Q(e)}function Ee(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 Ce(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 ze(){if(this._a){var e=this._isUTC?c(this._a):Le(this._a);return this.isValid()&&y(this._a,e.toArray())>0}return!1}function Ve(){return!this._isUTC}function qe(){return this._isUTC}function Ge(){return this._isUTC&&0===this._offset}function Ke(e,t){var n,r,i,o=e,s=null;return Re(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(s=Cr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:v(s[sr])*n,h:v(s[ar])*n,m:v(s[lr])*n,s:v(s[cr])*n,ms:v(s[ur])*n}):(s=Ar.exec(e))?(n="-"===s[1]?-1:1,o={y:Xe(s[2],n),M:Xe(s[3],n),d:Xe(s[4],n),h:Xe(s[5],n),m:Xe(s[6],n),s:Xe(s[7],n),w:Xe(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Qe(Le(o.from),Le(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Fe(o),Re(e)&&a(e,"_locale")&&(r._locale=e._locale),r}function Xe(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Je(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 Qe(e,t){var n;return t=Oe(t,e),e.isBefore(t)?n=Je(e,t):(n=Je(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function Ze(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(te(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=Ke(n,r),et(this,i,e),this}}function et(e,n,r,i){var o=n._milliseconds,s=n._days,a=n._months;i=null==i||i,o&&e._d.setTime(+e._d+o*r),s&&S(e,"Date",T(e,"Date")+s*r),a&&K(e,T(e,"Month")+a*r),i&&t.updateOffset(e,s||a)}function tt(e){var t=e||Le(),n=Oe(t,this).startOf("day"),r=this.diff(n,"days",!0),i=r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse";return this.format(this.localeData().calendar(i,this,Le(t)))}function nt(){return new m(this)}function rt(e,t){var n;return t=D("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=g(e)?e:Le(e),+this>+e):(n=g(e)?+e:+Le(e),n<+this.clone().startOf(t))}function it(e,t){var n;return t=D("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=g(e)?e:Le(e),+this<+e):(n=g(e)?+e:+Le(e),+this.clone().endOf(t)11?n?"pm":"PM":n?"am":"AM"}function qt(e){N(0,[e,3],0,"millisecond")}function Gt(){return this._isUTC?"UTC":""}function Kt(){return this._isUTC?"Coordinated Universal Time":""}function Xt(e){return Le(1e3*e)}function Jt(){return Le.apply(null,arguments).parseZone()}function Qt(e,t,n){var r=this._calendar[e];return"function"==typeof r?r.call(t,n):r}function Zt(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t}function en(){return this._invalidDate}function tn(e){return this._ordinal.replace("%d",e)}function nn(e){return e}function rn(e,t,n,r){var i=this._relativeTime[n];return"function"==typeof i?i(e,t,n,r):i.replace(/%d/i,e)}function on(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)}function sn(e){var t,n;for(n in e)t=e[n],"function"==typeof t?this[n]=t:this["_"+n]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function an(e,t,n,r){var i=x(),o=c().set(r,t);return i[n](o,e)}function ln(e,t,n,r,i){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return an(e,t,n,i);var o,s=[];for(o=0;o0,u[4]=n,Dn.apply(null,u)}function Mn(e,t){return void 0!==ci[e]&&(void 0===t?ci[e]:(ci[e]=t,!0))}function Tn(e){var t=this.localeData(),n=Ln(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Sn(){var e=ui(this.years()),t=ui(this.months()),n=ui(this.days()),r=ui(this.hours()),i=ui(this.minutes()),o=ui(this.seconds()+this.milliseconds()/1e3),s=this.asSeconds();return s?(s<0?"-":"")+"P"+(e?e+"Y":"")+(t?t+"M":"")+(n?n+"D":"")+(r||i||o?"T":"")+(r?r+"H":"")+(i?i+"M":"")+(o?o+"S":""):"P0D"}var Fn,Rn,Nn=t.momentProperties=[],Bn=!1,On={},Pn={},$n=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,Yn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,In={},jn={},Wn=/\d/,Hn=/\d\d/,Un=/\d{3}/,zn=/\d{4}/,Vn=/[+-]?\d{6}/,qn=/\d\d?/,Gn=/\d{1,3}/,Kn=/\d{1,4}/,Xn=/[+-]?\d{1,6}/,Jn=/\d+/,Qn=/[+-]?\d+/,Zn=/Z|[+-]\d\d:?\d\d/gi,er=/[+-]?\d+(\.\d{1,3})?/,tr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,nr={},rr={},ir=0,or=1,sr=2,ar=3,lr=4,cr=5,ur=6;N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),N("MMMM",0,0,function(e){return this.localeData().months(this,e)}),k("month","M"),Y("M",qn),Y("MM",qn,Hn),Y("MMM",tr),Y("MMMM",tr),W(["M","MM"],function(e,t){t[or]=v(e)-1}),W(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[or]=i:h(n).invalidMonth=e});var hr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),dr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),fr={};t.suppressDeprecationWarnings=!1;var pr=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],gr=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],vr=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=ee("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),N(0,["YY",2],0,function(){return this.year()%100}),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),k("year","y"),Y("Y",Qn),Y("YY",qn,Hn),Y("YYYY",Kn,zn),Y("YYYYY",Xn,Vn),Y("YYYYYY",Xn,Vn),W(["YYYY","YYYYY","YYYYYY"],ir),W("YY",function(e,n){n[ir]=t.parseTwoDigitYear(e)}),t.parseTwoDigitYear=function(e){return v(e)+(v(e)>68?1900:2e3)};var yr=M("FullYear",!1);N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),k("week","w"),k("isoWeek","W"),Y("w",qn),Y("ww",qn,Hn),Y("W",qn),Y("WW",qn,Hn),H(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=v(e)});var _r={dow:0,doy:6};N("DDD",["DDDD",3],"DDDo","dayOfYear"),k("dayOfYear","DDD"),Y("DDD",Gn),Y("DDDD",Un),W(["DDD","DDDD"],function(e,t,n){n._dayOfYear=v(e)}),t.ISO_8601=function(){};var br=ee("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return ethis?this:e});Ne("Z",":"),Ne("ZZ",""),Y("Z",Zn),Y("ZZ",Zn),W(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Be(e)});var Er=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Cr=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Ar=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Ke.fn=Fe.prototype;var xr=Ze(1,"add"),kr=Ze(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Dr=ee("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)});N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Lt("gggg","weekYear"),Lt("ggggg","weekYear"),Lt("GGGG","isoWeekYear"),Lt("GGGGG","isoWeekYear"),k("weekYear","gg"),k("isoWeekYear","GG"),Y("G",Qn),Y("g",Qn),Y("GG",qn,Hn),Y("gg",qn,Hn),Y("GGGG",Kn,zn),Y("gggg",Kn,zn),Y("GGGGG",Xn,Vn),Y("ggggg",Xn,Vn),H(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=v(e)}),H(["gg","GG"],function(e,n,r,i){n[i]=t.parseTwoDigitYear(e)}),N("Q",0,0,"quarter"),k("quarter","Q"),Y("Q",Wn),W("Q",function(e,t){t[or]=3*(v(e)-1)}),N("D",["DD",2],"Do","date"),k("date","D"),Y("D",qn),Y("DD",qn,Hn),Y("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),W(["D","DD"],sr),W("Do",function(e,t){t[sr]=v(e.match(qn)[0],10)});var Lr=M("Date",!0);N("d",0,"do","day"),N("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),N("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),N("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),k("day","d"),k("weekday","e"),k("isoWeekday","E"),Y("d",qn),Y("e",qn),Y("E",qn),Y("dd",tr),Y("ddd",tr),Y("dddd",tr),H(["dd","ddd","dddd"],function(e,t,n){var r=n._locale.weekdaysParse(e);null!=r?t.d=r:h(n).invalidWeekday=e}),H(["d","e","E"],function(e,t,n,r){t[r]=v(e)});var Mr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Tr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Sr="Su_Mo_Tu_We_Th_Fr_Sa".split("_");N("H",["HH",2],0,"hour"),N("h",["hh",2],0,function(){return this.hours()%12||12}),Ht("a",!0),Ht("A",!1),k("hour","h"),Y("a",Ut),Y("A",Ut),Y("H",qn),Y("h",qn),Y("HH",qn,Hn),Y("hh",qn,Hn),W(["H","HH"],ar),W(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),W(["h","hh"],function(e,t,n){t[ar]=v(e),h(n).bigHour=!0});var Fr=/[ap]\.?m?\.?/i,Rr=M("Hours",!0);N("m",["mm",2],0,"minute"),k("minute","m"),Y("m",qn),Y("mm",qn,Hn),W(["m","mm"],lr);var Nr=M("Minutes",!1);N("s",["ss",2],0,"second"),k("second","s"),Y("s",qn),Y("ss",qn,Hn),W(["s","ss"],cr);var Br=M("Seconds",!1);N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),qt("SSS"),qt("SSSS"),k("millisecond","ms"),Y("S",Gn,Wn),Y("SS",Gn,Hn),Y("SSS",Gn,Un),Y("SSSS",Jn),W(["S","SS","SSS","SSSS"],function(e,t){t[ur]=v(1e3*("0."+e))});var Or=M("Milliseconds",!1);N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var Pr=m.prototype;Pr.add=xr,Pr.calendar=tt,Pr.clone=nt,Pr.diff=lt,Pr.endOf=bt,Pr.format=dt,Pr.from=ft,Pr.fromNow=pt,Pr.to=mt,Pr.toNow=gt,Pr.get=F,Pr.invalidAt=Dt,Pr.isAfter=rt,Pr.isBefore=it,Pr.isBetween=ot,Pr.isSame=st,Pr.isValid=xt,Pr.lang=Dr,Pr.locale=vt,Pr.localeData=yt,Pr.max=wr,Pr.min=br,Pr.parsingFlags=kt,Pr.set=F,Pr.startOf=_t,Pr.subtract=kr,Pr.toArray=At,Pr.toDate=Ct,Pr.toISOString=ht,Pr.toJSON=ht,Pr.toString=ut,Pr.unix=Et,Pr.valueOf=wt,Pr.year=yr,Pr.isLeapYear=le,Pr.weekYear=Tt,Pr.isoWeekYear=St,Pr.quarter=Pr.quarters=Nt,Pr.month=X,Pr.daysInMonth=J,Pr.week=Pr.weeks=fe,Pr.isoWeek=Pr.isoWeeks=pe,Pr.weeksInYear=Rt,Pr.isoWeeksInYear=Ft,Pr.date=Lr,Pr.day=Pr.days=It,Pr.weekday=jt,Pr.isoWeekday=Wt,Pr.dayOfYear=ge,Pr.hour=Pr.hours=Rr,Pr.minute=Pr.minutes=Nr,Pr.second=Pr.seconds=Br,Pr.millisecond=Pr.milliseconds=Or,Pr.utcOffset=$e,Pr.utc=Ie,Pr.local=je,Pr.parseZone=We,Pr.hasAlignedHourOffset=He,Pr.isDST=Ue,Pr.isDSTShifted=ze,Pr.isLocal=Ve,Pr.isUtcOffset=qe,Pr.isUtc=Ge,Pr.isUTC=Ge,Pr.zoneAbbr=Gt,Pr.zoneName=Kt,Pr.dates=ee("dates accessor is deprecated. Use date instead.",Lr),Pr.months=ee("months accessor is deprecated. Use month instead",X),Pr.years=ee("years accessor is deprecated. Use year instead",yr),Pr.zone=ee("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ye);var $r=Pr,Yr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ir={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},jr="Invalid date",Wr="%d",Hr=/\d{1,2}/,Ur={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"},zr=_.prototype;zr._calendar=Yr,zr.calendar=Qt,zr._longDateFormat=Ir,zr.longDateFormat=Zt,zr._invalidDate=jr, +zr.invalidDate=en,zr._ordinal=Wr,zr.ordinal=tn,zr._ordinalParse=Hr,zr.preparse=nn,zr.postformat=nn,zr._relativeTime=Ur,zr.relativeTime=rn,zr.pastFuture=on,zr.set=sn,zr.months=V,zr._months=hr,zr.monthsShort=q,zr._monthsShort=dr,zr.monthsParse=G,zr.week=ue,zr._week=_r,zr.firstDayOfYear=de,zr.firstDayOfWeek=he,zr.weekdays=Ot,zr._weekdays=Mr,zr.weekdaysMin=$t,zr._weekdaysMin=Sr,zr.weekdaysShort=Pt,zr._weekdaysShort=Tr,zr.weekdaysParse=Yt,zr.isPM=zt,zr._meridiemParse=Fr,zr.meridiem=Vt,C("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}}),t.lang=ee("moment.lang is deprecated. Use moment.locale instead.",C),t.langData=ee("moment.langData is deprecated. Use moment.localeData instead.",x);var Vr=Math.abs,qr=Cn("ms"),Gr=Cn("s"),Kr=Cn("m"),Xr=Cn("h"),Jr=Cn("d"),Qr=Cn("w"),Zr=Cn("M"),ei=Cn("y"),ti=xn("milliseconds"),ni=xn("seconds"),ri=xn("minutes"),ii=xn("hours"),oi=xn("days"),si=xn("months"),ai=xn("years"),li=Math.round,ci={s:45,m:45,h:22,d:26,M:11},ui=Math.abs,hi=Fe.prototype;hi.abs=pn,hi.add=gn,hi.subtract=vn,hi.as=wn,hi.asMilliseconds=qr,hi.asSeconds=Gr,hi.asMinutes=Kr,hi.asHours=Xr,hi.asDays=Jr,hi.asWeeks=Qr,hi.asMonths=Zr,hi.asYears=ei,hi.valueOf=En,hi._bubble=yn,hi.get=An,hi.milliseconds=ti,hi.seconds=ni,hi.minutes=ri,hi.hours=ii,hi.days=oi,hi.weeks=kn,hi.months=si,hi.years=ai,hi.humanize=Tn,hi.toISOString=Sn,hi.toString=Sn,hi.toJSON=Sn,hi.locale=vt,hi.localeData=yt,hi.toIsoString=ee("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Sn),hi.lang=Dr,N("X",0,0,"unix"),N("x",0,0,"valueOf"),Y("x",Qn),Y("X",er),W("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),W("x",function(e,t,n){n._d=new Date(v(e))}),t.version="2.10.3",r(Le),t.fn=$r,t.min=Te,t.max=Se,t.utc=c,t.unix=Xt,t.months=cn,t.isDate=o,t.locale=C,t.invalid=f,t.duration=Ke,t.isMoment=g,t.weekdays=hn,t.parseZone=Jt,t.localeData=x,t.isDuration=Re,t.monthsShort=un,t.weekdaysMin=fn,t.defineLocale=A,t.weekdaysShort=dn,t.normalizeUnits=D,t.relativeTimeThreshold=Mn;var di=t;return di})}).call(t,n(119)(e))},function(e,t,n){e.exports=n(43)},function(e,t,n){"use strict";var r=function(e,t,n,r,i,o,s,a){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,s,a],u=0;l=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return c[u++]}))}throw l.framesToPop=1,l}};e.exports=r},function(e,t,n){var r=n(7),i=n(6),o=n(1),s=n(478),a=n(122),l={showAlert:function(e){s.showAlert(e)},loading:function(e,t){e?i(".global-loading").show():i(".global-loading").hide(),t&&(e?l.blockDisplay():l.unblockDisplay())},wrapSuccess:function(e,t){e.success?e.success=r.wrap(e.success,function(e,n){t(n),e(n)}):e.success=t},blockDisplay:function(){var e=i("body"),t=e.find(".global-modal-backdrop").length>0;t||e.append('')},unblockDisplay:function(){i(".global-modal-backdrop").remove()},pageChangeInit:function(){i(".modal-backdrop").remove(),l.loading(!1)},getRedisMetricsByName:function(e){return r.find(a.metrics,function(t){return t.name===e})},getRedisInfoByName:function(e){return r.find(a.info,function(t){return t.name===e})},getNodeByNodeId:function(e,t){return r.find(e,function(e){return e.node_id===t})},getAnyAliveNode:function(e){return r.find(e,function(e){var t=r.findIndex(e.flags,function(e){return"fail?"===e||"fail"===e})>=0;return!t})},getMasterNodes:function(e){return r.filter(e,function(e){return r.findIndex(e.flags,function(e){return"master"===e})>=0})},getSlaveNodesOfMasterNode:function(e,t){return r.filter(e,function(e){return e.master_node_id===t})},getPickerRanges:function(){return{"Last 1h":[o().subtract(1,"h"),o()],"Last 6h":[o().subtract(6,"h"),o()],"Last 12h":[o().subtract(12,"h"),o()],"Last 24h":[o().subtract(24,"h"),o()],"Last 2d":[o().subtract(2,"d"),o()],"Last 7d":[o().subtract(6,"d"),o()],"Last 30d":[o().subtract(30,"d"),o()]}}};window.Utils=l,e.exports=l},function(e,t){"use strict";function n(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),r=Object.prototype.hasOwnProperty,i=1;it&&!o||!i||n&&!s&&a||r&&a)return 1;if(e-1;);return n}function h(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function d(e,t){return o(e.criteria,t.criteria)||e.index-t.index}function f(e,t,n){for(var r=-1,i=e.criteria,s=t.criteria,a=i.length,l=n.length;++r=l?c:c*(n[r]?1:-1)}return e.index-t.index}function p(e){return qe[e]}function m(e){return Ge[e]}function g(e){return"\\"+Je[e]}function v(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i=9&&e<=13||32==e||160==e||5760==e||6158==e||e>=8192&&(e<=8202||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function b(e,t){for(var n=-1,r=e.length,i=-1,o=[];++nm.index:a-1?m.count++>=y:!g(p)))continue e}}else{var _=g(p);if(v==H)p=_;else if(!_){if(v==W)continue e;break e}}}d[h++]=p}return d}function ie(){this.__data__={}}function qe(e){return this.has(e)&&delete this.__data__[e]}function Ge(e){return"__proto__"==e?k:this.__data__[e]}function Ke(e){return"__proto__"!=e&&Ko.call(this.__data__,e)}function Xe(e,t){return"__proto__"!=e&&(this.__data__[e]=t),this}function Je(e){var t=e?e.length:0;for(this.data={hash:ps(null),set:new ls};t--;)this.push(e[t])}function Qe(e,t){var n=e.data,r="string"==typeof t||Li(t)?n.set.has(t):n.hash[t];return r?0:-1}function Ze(e){var t=this.data;"string"==typeof e||Li(e)?t.set.add(e):t.hash[e]=!0}function et(e,t){var n=-1,r=e.length;for(t||(t=No(r));++n=200?Is(t):null,c=t.length;l&&(o=Qe,s=!1,t=l);e:for(;++ii?0:i+n),r=r===k||r>i?i:+r||0,r<0&&(r+=i),i=n>r?0:r>>>0,n>>>=0;ni?0:i+t),n=n===k||n>i?i:+n||0,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=No(i);++r=200,l=s?Is():null,c=[];l?(r=Qe,o=!1):(s=!1,l=t?[]:c);e:for(;++n>>1,s=e[o];(n?s<=t:s2?n[i-2]:k,s=i>2?n[2]:k,a=i>1?n[i-1]:k;for("function"==typeof o?(o=on(o,a,5),i-=2):(o="function"==typeof a?a:k,i-=o?1:0),s&&Kn(n[0],n[1],s)&&(o=i<3?k:o,i=1);++r-1?n[o]:k}return Dt(n,r,e)}}function _n(e){return function(t,n,r){return t&&t.length?(n=Pn(n,r,3),s(t,n,e)):-1}}function bn(e){return function(t,n,r){return n=Pn(n,r,3),Dt(t,n,e,!0)}}function wn(e){return function(){for(var t,n=arguments.length,i=e?n:-1,o=0,s=No(n);e?i--:++i=t||!gs(t))return"";var i=t-r;return n=null==n?" ":n+"",co(n,ns(i/n.length)).slice(0,i)}function Sn(e,t,n,r){function i(){for(var t=-1,a=arguments.length,l=-1,c=r.length,u=No(a+c);++ll))return!1;for(;++a-1&&e%1==0&&e-1&&e%1==0&&e<=Ts}function Zn(e){return e===e&&!Li(e)}function er(e,t){var n=e[1],r=t[1],i=n|r,o=i-1;)us.call(t,o,1);return t}function xr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],s=e.length;for(t=Pn(t,n,3);++i-1:Yn(e,t,n)>-1)}function Xr(e,t,n){var r=Da(e)?lt:Pt;return t=Pn(t,n,3),r(e,t)}function Jr(e,t){return Xr(e,Do(t))}function Qr(e,t,n){var r=Da(e)?at:kt;return t=Pn(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function Zr(e,t,n){if(n?Kn(e,t,n):null==t){e=sr(e);var r=e.length;return r>0?e[zt(0,r-1)]:k}var i=-1,o=Ii(e),r=o.length,s=r-1;for(t=_s(t<0?0:+t||0,r);++i0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}function ci(e,t,n){function r(){d&&rs(d),l&&rs(l),l=d=f=k}function i(){var n=t-(pa()-u);if(n<=0||n>t){l&&rs(l);var r=f;l=d=f=k,r&&(p=pa(),c=e.apply(h,a),d||l||(a=h=null))}else d=cs(i,n)}function o(){d&&rs(d),l=d=f=k,(g||m!==t)&&(p=pa(),c=e.apply(h,a),d||l||(a=h=null))}function s(){if(a=arguments,u=pa(),h=this,f=g&&(d||!v),m===!1)var n=v&&!d;else{l||v||(p=u);var r=m-(u-p),s=r<=0||r>m;s?(l&&(l=rs(l)),p=u,c=e.apply(h,a)):l||(l=cs(o,r))}return s&&d?d=rs(d):d||t===m||(d=cs(i,t)),n&&(s=!0,c=e.apply(h,a)),!s||d||l||(a=h=null),c}var a,l,c,u,h,d,f,p=0,m=!1,g=!0;if("function"!=typeof e)throw new Ho(U);if(t=t<0?0:+t||0,n===!0){var v=!0;g=!1}else Li(n)&&(v=n.leading,m="maxWait"in n&&ys(+n.maxWait||0,t),g="trailing"in n?n.trailing:g);return s.cancel=r,s}function ui(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Ho(U);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new ui.Cache,n}function hi(e){if("function"!=typeof e)throw new Ho(U);return function(){return!e.apply(this,arguments)}}function di(e){return li(2,e)}function fi(e,t){if("function"!=typeof e)throw new Ho(U);return t=ys(t===k?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=ys(n.length-t,0),o=No(i);++rt}function bi(e,t){return e>=t}function wi(e){return y(e)&&qn(e)&&Jo.call(e)==V}function Ei(e){return e===!0||e===!1||y(e)&&Jo.call(e)==G}function Ci(e){return y(e)&&Jo.call(e)==K}function Ai(e){return!!e&&1===e.nodeType&&y(e)&&Jo.call(e).indexOf("Element")>-1}function xi(e){return null==e||(qn(e)&&(Da(e)||Bi(e)||wi(e)||y(e)&&Ma(e.splice))?!e.length:!Ya(e).length)}function ki(e,t,n,r){n="function"==typeof n?on(n,r,3):k;var i=n?n(e,t):k;return i===k?Nt(e,t,n):!!i}function Di(e){return y(e)&&"string"==typeof e.message&&Jo.call(e)==X}function Li(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Mi(e,t,n,r){return n="function"==typeof n?on(n,r,3):k,Ot(e,In(t),n)}function Ti(e){return Ri(e)&&e!=+e}function Si(e){return null!=e&&(Jo.call(e)==J?Zo.test(Go.call(e)):y(e)&&Be.test(e))}function Fi(e){return null===e}function Ri(e){return"number"==typeof e||y(e)&&Jo.call(e)==Z}function Ni(e){return y(e)&&Jo.call(e)==te}function Bi(e){return"string"==typeof e||y(e)&&Jo.call(e)==re}function Oi(e){return y(e)&&Qn(e.length)&&!!Ue[Jo.call(e)]}function Pi(e){return e===k}function $i(e,t){return e0;++r=_s(t,n)&&e=0&&e.indexOf(t,n)==n}function oo(e){return e=c(e),e&&we.test(e)?e.replace(_e,m):e}function so(e){return e=c(e),e&&Me.test(e)?e.replace(Le,"\\$&"):e}function ao(e,t,n){e=c(e),t=+t;var r=e.length;if(r>=t||!gs(t))return e;var i=(t-r)/2,o=is(i),s=ns(i);return n=Tn("",s,n),n.slice(0,o)+e+n}function lo(e,t,n){return n&&Kn(e,t,n)&&(t=0),Es(e,t)}function co(e,t){var n="";if(e=c(e),t=+t,t<1||!e||!gs(t))return n;do t%2&&(n+=e),t=is(t/2),e+=e;while(t);return n}function uo(e,t,n){return e=c(e),n=null==n?0:_s(n<0?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function ho(e,n,r){var i=t.templateSettings;r&&Kn(e,n,r)&&(n=r=null),e=c(e),n=mt(gt({},r||n),i,pt);var o,s,a=mt(gt({},n.imports),i.imports,pt),l=Ya(a),u=Zt(a,l),h=0,d=n.interpolate||$e,f="__p += '",p=jo((n.escape||$e).source+"|"+d.source+"|"+(d===Ae?Fe:$e).source+"|"+(n.evaluate||$e).source+"|$","g"),m="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++He+"]")+"\n";e.replace(p,function(t,n,r,i,a,l){return r||(r=i),f+=e.slice(h,l).replace(Ye,g),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),a&&(s=!0,f+="';\n"+a+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),h=l+t.length,t}),f+="';\n";var v=n.variable;v||(f="with (obj) {\n"+f+"\n}\n"),f=(s?f.replace(me,""):f).replace(ge,"$1").replace(ve,"$1;"),f="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var y=Ja(function(){return Po(l,m+"return "+f).apply(k,u)});if(y.source=f,Di(y))throw y;return y}function fo(e,t,n){var r=e;return(e=c(e))?(n?Kn(r,t,n):null==t)?e.slice(E(e),C(e)+1):(t+="",e.slice(u(e,t),h(e,t)+1)):e}function po(e,t,n){var r=e;return e=c(e),e?(n?Kn(r,t,n):null==t)?e.slice(E(e)):e.slice(u(e,t+"")):e}function mo(e,t,n){var r=e;return e=c(e),e?(n?Kn(r,t,n):null==t)?e.slice(0,C(e)+1):e.slice(0,h(e,t+"")+1):e}function go(e,t,n){n&&Kn(e,t,n)&&(t=null);var r=P,i=$;if(null!=t)if(Li(t)){var o="separator"in t?t.separator:o;r="length"in t?+t.length||0:r,i="omission"in t?c(t.omission):i}else r=+t||0;if(e=c(e),r>=e.length)return e;var s=r-i.length;if(s<1)return i;var a=e.slice(0,s);if(null==o)return a+i;if(Ni(o)){if(e.slice(s).search(o)){var l,u,h=e.slice(0,s);for(o.global||(o=jo(o.source,(Re.exec(o)||"")+"g")),o.lastIndex=0;l=o.exec(h);)u=l.index;a=a.slice(0,null==u?s:u)}}else if(e.indexOf(o,s)!=s){var d=a.lastIndexOf(o);d>-1&&(a=a.slice(0,d))}return a+i}function vo(e){return e=c(e),e&&be.test(e)?e.replace(ye,A):e}function yo(e,t,n){return n&&Kn(e,t,n)&&(t=null),e=c(e),e.match(t||Ie)||[]}function _o(e,t,n){return n&&Kn(e,t,n)&&(t=null),y(e)?Eo(e):_t(e,t)}function bo(e){return function(){return e}}function wo(e){return e}function Eo(e){return $t(bt(e,!0))}function Co(e,t){return Yt(e,bt(t,!0))}function Ao(e,t,n){if(null==n){var r=Li(t),i=r?Ya(t):null,o=i&&i.length?Ft(t,i):null;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=Ft(t,Ya(t)));var s=!0,a=-1,l=Ma(e),c=o.length;n===!1?s=!1:Li(n)&&"chain"in n&&(s=n.chain);for(;++a>>1,Ms=fs?fs.BYTES_PER_ELEMENT:0,Ts=9007199254740991,Ss=ds&&new ds,Fs={},Rs=t.support={};!function(e){var t=function(){this.x=e},n=[];t.prototype={valueOf:e,y:e};for(var r in new t)n.push(r);try{Rs.dom=11===qo.createDocumentFragment().nodeType}catch(e){Rs.dom=!1}}(1,0),t.templateSettings={escape:Ee,evaluate:Ce,interpolate:Ae,variable:"",imports:{_:t}};var Ns=function(){function e(){}return function(t){if(Li(t)){e.prototype=t;var n=new e;e.prototype=null}return n||{}}}(),Bs=hn(Tt),Os=hn(St,!0),Ps=dn(),$s=dn(!0),Ys=Ss?function(e,t){return Ss.set(e,t),e}:wo;ts||(sn=es&&hs?function(e){var t=e.byteLength,n=fs?is(t/Ms):0,r=n*Ms,i=new es(t);if(n){var o=new fs(i,0,n);o.set(new fs(e,0,n))}return t!=r&&(o=new hs(i,r),o.set(new hs(e,r))),i}:bo(null));var Is=ps&&ls?function(e){return new Je(e)}:bo(null),js=Ss?function(e){return Ss.get(e)}:ko,Ws=Wt("length"),Hs=function(){var e=0,t=0;return function(n,r){var i=pa(),o=I-(i-t);if(t=i,o>0){if(++e>=Y)return n}else e=0;return Ys(n,r)}}(),Us=fi(function(e,t){return qn(e)?Et(e,Lt(t,!1,!0)):[]}),zs=_n(),Vs=_n(!0),qs=fi(function(e){for(var t=e.length,n=t,r=No(h),i=Yn(),o=i==a,s=[];n--;){var l=e[n]=qn(l=e[n])?l:[];r[n]=o&&l.length>=120?Is(n&&l):null}var c=e[0],u=-1,h=c?c.length:0,d=r[0];e:for(;++u2?e[t-2]:k,r=t>1?e[t-1]:k;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):k,r=k),e.length=t,Nr(e,n,r)}),ta=fi(function(e,t){return vt(e,Lt(t))}),na=cn(function(e,t,n){Ko.call(e,n)?++e[n]:e[n]=1}),ra=yn(Bs),ia=yn(Os,!0),oa=En(tt,Bs),sa=En(nt,Os),aa=cn(function(e,t,n){Ko.call(e,n)?e[n].push(t):e[n]=[t]}),la=cn(function(e,t,n){e[n]=t}),ca=fi(function(e,t,n){var r=-1,i="function"==typeof t,o=Xn(t),s=qn(e)?No(e.length):[];return Bs(e,function(e){var a=i?t:o&&null!=e?e[t]:null;s[++r]=a?a.apply(e,n):Vn(e,t,n)}),s}),ua=cn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ha=Ln(ct,Bs),da=Ln(ut,Os),fa=fi(function(e,t){if(null==e)return[];var n=t[2];return n&&Kn(t[0],t[1],n)&&(t.length=1),Xt(e,Lt(t),[])}),pa=bs||function(){return(new Bo).getTime()},ma=fi(function(e,t,n){var r=L;if(n.length){var i=b(n,ma.placeholder);r|=R}return Rn(e,r,t,n,i)}),ga=fi(function(e,t){t=t.length?Lt(t):Hi(e);for(var n=-1,r=t.length;++n"'`]/g,be=RegExp(ye.source),we=RegExp(_e.source),Ee=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,Ae=/<%=([\s\S]+?)%>/g,xe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,ke=/^\w*$/,De=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Le=/[.*+?^${}()|[\]\/\\]/g,Me=RegExp(Le.source),Te=/[\u0300-\u036f\ufe20-\ufe23]/g,Se=/\\(\\)?/g,Fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Re=/\w*$/,Ne=/^0[xX]/,Be=/^\[object .+?Constructor\]$/,Oe=/^\d+$/,Pe=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,$e=/($^)/,Ye=/['\n\r\u2028\u2029\\]/g,Ie=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),je=" \t\v\f \ufeff\n\r\u2028\u2029 ᠎              ",We=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","document","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","window"],He=-1,Ue={};Ue[se]=Ue[ae]=Ue[le]=Ue[ce]=Ue[ue]=Ue[he]=Ue[de]=Ue[fe]=Ue[pe]=!0,Ue[V]=Ue[q]=Ue[oe]=Ue[G]=Ue[K]=Ue[X]=Ue[J]=Ue[Q]=Ue[Z]=Ue[ee]=Ue[te]=Ue[ne]=Ue[re]=Ue[ie]=!1;var ze={};ze[V]=ze[q]=ze[oe]=ze[G]=ze[K]=ze[se]=ze[ae]=ze[le]=ze[ce]=ze[ue]=ze[Z]=ze[ee]=ze[te]=ze[re]=ze[he]=ze[de]=ze[fe]=ze[pe]=!0,ze[X]=ze[J]=ze[Q]=ze[ne]=ze[ie]=!1;var Ve={leading:!1,maxWait:0,trailing:!1},qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Ge={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ke={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Xe={function:!0,object:!0},Je={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qe=Xe[typeof t]&&t&&!t.nodeType&&t,Ze=Xe[typeof e]&&e&&!e.nodeType&&e,et=Qe&&Ze&&"object"==typeof i&&i&&i.Object&&i,tt=Xe[typeof self]&&self&&self.Object&&self,nt=Xe[typeof window]&&window&&window.Object&&window,rt=(Ze&&Ze.exports===Qe&&Qe,et||nt!==(this&&this.window)&&nt||tt||this),it=x();rt._=it,r=function(){return it}.call(t,n,t,e),!(r!==k&&(e.exports=r))}).call(this)}).call(t,n(119)(e),function(){return this}())},function(e,t,n){"use strict";var r=n(31),i=r;e.exports=i},function(e,t,n){"use strict";var r=n(104),i=n(37),o=n(5),s=(n(8),{key:!0,ref:!0}),a=function(e,t,n,r,i,o){this.type=e,this.key=t,this.ref=n,this._owner=r,this._context=i,this.props=o};a.prototype={_isReactElement:!0},a.createElement=function(e,t,n){var o,l={},c=null,u=null;if(null!=t){u=void 0===t.ref?null:t.ref,c=void 0===t.key?null:""+t.key;for(o in t)t.hasOwnProperty(o)&&!s.hasOwnProperty(o)&&(l[o]=t[o])}var h=arguments.length-2;if(1===h)l.children=n;else if(h>1){for(var d=Array(h),f=0;f1){for(var f=Array(d),p=0;p * @license MIT */ -"use strict";function i(){function e(){}try{var t=new Uint8Array(1);return t.foo=function(){return 42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(n){return!1}}function o(){return e.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function e(t){return this instanceof e?(e.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof t?s(this,t):"string"==typeof t?a(this,t,arguments.length>1?arguments[1]:"utf8"):l(this,t)):arguments.length>1?new e(t,arguments[1]):new e(t)}function s(t,n){if(t=m(t,0>n?0:0|g(n)),!e.TYPED_ARRAY_SUPPORT)for(var r=0;n>r;r++)t[r]=0;return t}function a(e,t,n){"string"==typeof n&&""!==n||(n="utf8");var r=0|y(t,n);return e=m(e,r),e.write(t,n),e}function l(t,n){if(e.isBuffer(n))return c(t,n);if(X(n))return u(t,n);if(null==n)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(n.buffer instanceof ArrayBuffer)return d(t,n);if(n instanceof ArrayBuffer)return h(t,n)}return n.length?p(t,n):f(t,n)}function c(e,t){var n=0|g(t.length);return e=m(e,n),t.copy(e,0,0,n),e}function u(e,t){var n=0|g(t.length);e=m(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function d(e,t){var n=0|g(t.length);e=m(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function h(t,n){return e.TYPED_ARRAY_SUPPORT?(n.byteLength,t=e._augment(new Uint8Array(n))):t=d(t,new Uint8Array(n)),t}function p(e,t){var n=0|g(t.length);e=m(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function f(e,t){var n,r=0;"Buffer"===t.type&&X(t.data)&&(n=t.data,r=0|g(n.length)),e=m(e,r);for(var i=0;r>i;i+=1)e[i]=255&n[i];return e}function m(t,n){e.TYPED_ARRAY_SUPPORT?(t=e._augment(new Uint8Array(n)),t.__proto__=e.prototype):(t.length=n,t._isBuffer=!0);var r=0!==n&&n<=e.poolSize>>>1;return r&&(t.parent=J),t}function g(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function v(t,n){if(!(this instanceof v))return new v(t,n);var r=new e(t,n);return delete r.parent,r}function y(e,t){"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function _(e,t,n){var r=!1;if(t=0|t,n=void 0===n||n===1/0?this.length:0|n,e||(e="utf8"),0>t&&(t=0),n>this.length&&(n=this.length),t>=n)return"";for(;;)switch(e){case"hex":return S(this,t,n);case"utf8":case"utf-8":return D(this,t,n);case"ascii":return M(this,t,n);case"binary":return T(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new Error("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;r>s;s++){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))throw new Error("Invalid hex string");e[n+s]=a}return s}function w(e,t,n,r){return q(H(t,e.length-n),e,n,r)}function E(e,t,n,r){return q(U(t),e,n,r)}function C(e,t,n,r){return E(e,t,n,r)}function A(e,t,n,r){return q(V(t),e,n,r)}function x(e,t,n,r){return q(z(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?G.fromByteArray(e):G.fromByteArray(e.slice(t,n))}function D(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;n>i;){var o=e[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(n>=i+a){var l,c,u,d;switch(a){case 1:128>o&&(s=o);break;case 2:l=e[i+1],128===(192&l)&&(d=(31&o)<<6|63&l,d>127&&(s=d));break;case 3:l=e[i+1],c=e[i+2],128===(192&l)&&128===(192&c)&&(d=(15&o)<<12|(63&l)<<6|63&c,d>2047&&(55296>d||d>57343)&&(s=d));break;case 4:l=e[i+1],c=e[i+2],u=e[i+3],128===(192&l)&&128===(192&c)&&128===(192&u)&&(d=(15&o)<<18|(63&l)<<12|(63&c)<<6|63&u,d>65535&&1114112>d&&(s=d))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=a}return L(r)}function L(e){var t=e.length;if(Q>=t)return String.fromCharCode.apply(String,e);for(var n="",r=0;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Q));return n}function M(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(127&e[i]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r}function S(e,t,n){var r=e.length;(!t||0>t)&&(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",o=t;n>o;o++)i+=W(e[o]);return i}function F(e,t,n){for(var r=e.slice(t,n),i="",o=0;oe)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function R(t,n,r,i,o,s){if(!e.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(n>o||s>n)throw new RangeError("value is out of bounds");if(r+i>t.length)throw new RangeError("index out of range")}function B(e,t,n,r){0>t&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);o>i;i++)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function O(e,t,n,r){0>t&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);o>i;i++)e[n+i]=t>>>8*(r?i:3-i)&255}function P(e,t,n,r,i,o){if(t>i||o>t)throw new RangeError("value is out of bounds");if(n+r>e.length)throw new RangeError("index out of range");if(0>n)throw new RangeError("index out of range")}function $(e,t,n,r,i){return i||P(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),K.write(e,t,n,r,23,4),n+4}function Y(e,t,n,r,i){return i||P(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),K.write(e,t,n,r,52,8),n+8}function I(e){if(e=j(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function W(e){return 16>e?"0"+e.toString(16):e.toString(16)}function H(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],s=0;r>s;s++){if(n=e.charCodeAt(s),n>55295&&57344>n){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(56320>n){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,128>n){if((t-=1)<0)break;o.push(n)}else if(2048>n){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(65536>n){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(e){for(var t=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function V(e){return G.toByteArray(I(e))}function q(e,t,n,r){for(var i=0;r>i&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}var G=n(260),K=n(291),X=n(293);t.Buffer=e,t.SlowBuffer=v,t.INSPECT_MAX_BYTES=50,e.poolSize=8192;var J={};e.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:i(),e.TYPED_ARRAY_SUPPORT?(e.prototype.__proto__=Uint8Array.prototype,e.__proto__=Uint8Array):(e.prototype.length=void 0,e.prototype.parent=void 0),e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,n){if(!e.isBuffer(t)||!e.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(t===n)return 0;for(var r=t.length,i=n.length,o=0,s=Math.min(r,i);s>o&&t[o]===n[o];)++o;return o!==s&&(r=t[o],i=n[o]),i>r?-1:r>i?1:0},e.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,n){if(!X(t))throw new TypeError("list argument must be an Array of Buffers.");if(0===t.length)return new e(0);var r;if(void 0===n)for(n=0,r=0;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},e.prototype.compare=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?0:e.compare(this,t)},e.prototype.indexOf=function(t,n){function r(e,t,n){for(var r=-1,i=0;n+i2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),n>>=0,0===this.length)return-1;if(n>=this.length)return-1;if(0>n&&(n=Math.max(this.length+n,0)),"string"==typeof t)return 0===t.length?-1:String.prototype.indexOf.call(this,t,n);if(e.isBuffer(t))return r(this,t,n);if("number"==typeof t)return e.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,n):r(this,[t],n);throw new TypeError("val must be string, number or Buffer")},e.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},e.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},e.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t=0|t,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0);else{var i=r;r=t,t=0|n,n=i}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return E(this,e,t,n);case"binary":return C(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;e.prototype.slice=function(t,n){var r=this.length;t=~~t,n=void 0===n?r:~~n,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>n?(n+=r,0>n&&(n=0)):n>r&&(n=r),t>n&&(n=t);var i;if(e.TYPED_ARRAY_SUPPORT)i=e._augment(this.subarray(t,n));else{var o=n-t;i=new e(o,void 0);for(var s=0;o>s;s++)i[s]=this[s+t]}return i.length&&(i.parent=this.parent||this),i},e.prototype.readUIntLE=function(e,t,n){e=0|e,t=0|t,n||N(e,t,this.length);for(var r=this[e],i=1,o=0;++o0&&(i*=256);)r+=this[e+--t]*i;return r},e.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},e.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},e.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},e.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},e.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},e.prototype.readIntLE=function(e,t,n){e=0|e,t=0|t,n||N(e,t,this.length);for(var r=this[e],i=1,o=0;++o=i&&(r-=Math.pow(2,8*t)),r},e.prototype.readIntBE=function(e,t,n){e=0|e,t=0|t,n||N(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},e.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},e.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},e.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},e.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),K.read(this,e,!0,23,4)},e.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),K.read(this,e,!1,23,4)},e.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),K.read(this,e,!0,52,8)},e.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),K.read(this,e,!1,52,8)},e.prototype.writeUIntLE=function(e,t,n,r){e=+e,t=0|t,n=0|n,r||R(this,e,t,n,Math.pow(2,8*n),0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},e.prototype.writeUInt8=function(t,n,r){return t=+t,n=0|n,r||R(this,t,n,1,255,0),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=255&t,n+1},e.prototype.writeUInt16LE=function(t,n,r){return t=+t,n=0|n,r||R(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):B(this,t,n,!0),n+2},e.prototype.writeUInt16BE=function(t,n,r){return t=+t,n=0|n,r||R(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):B(this,t,n,!1),n+2},e.prototype.writeUInt32LE=function(t,n,r){return t=+t,n=0|n,r||R(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=255&t):O(this,t,n,!0),n+4},e.prototype.writeUInt32BE=function(t,n,r){return t=+t,n=0|n,r||R(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):O(this,t,n,!1),n+4},e.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t=0|t,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=0,s=1,a=0>e?1:0;for(this[t]=255&e;++o>0)-a&255;return t+n},e.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t=0|t,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0>e?1:0;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=(e/s>>0)-a&255;return t+n},e.prototype.writeInt8=function(t,n,r){return t=+t,n=0|n,r||R(this,t,n,1,127,-128),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[n]=255&t,n+1},e.prototype.writeInt16LE=function(t,n,r){return t=+t,n=0|n,r||R(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):B(this,t,n,!0),n+2},e.prototype.writeInt16BE=function(t,n,r){return t=+t,n=0|n,r||R(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):B(this,t,n,!1),n+2},e.prototype.writeInt32LE=function(t,n,r){return t=+t,n=0|n,r||R(this,t,n,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):O(this,t,n,!0),n+4},e.prototype.writeInt32BE=function(t,n,r){return t=+t,n=0|n,r||R(this,t,n,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):O(this,t,n,!1),n+4},e.prototype.writeFloatLE=function(e,t,n){return $(this,e,t,!0,n)},e.prototype.writeFloatBE=function(e,t,n){return $(this,e,t,!1,n)},e.prototype.writeDoubleLE=function(e,t,n){return Y(this,e,t,!0,n)},e.prototype.writeDoubleBE=function(e,t,n){return Y(this,e,t,!1,n)},e.prototype.copy=function(t,n,r,i){if(r||(r=0),i||0===i||(i=this.length),n>=t.length&&(n=t.length),n||(n=0),i>0&&r>i&&(i=r),i===r)return 0;if(0===t.length||0===this.length)return 0;if(0>n)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>i)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-nr&&i>n)for(o=s-1;o>=0;o--)t[o+n]=this[o+r];else if(1e3>s||!e.TYPED_ARRAY_SUPPORT)for(o=0;s>o;o++)t[o+n]=this[o+r];else t._set(this.subarray(r,r+s),n);return s},e.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),t>n)throw new RangeError("end < start");if(n!==t&&0!==this.length){if(0>t||t>=this.length)throw new RangeError("start out of bounds");if(0>n||n>this.length)throw new RangeError("end out of bounds");var r;if("number"==typeof e)for(r=t;n>r;r++)this[r]=e;else{var i=H(e.toString()),o=i.length;for(r=t;n>r;r++)this[r]=i[r%o]}return this}},e.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(e.TYPED_ARRAY_SUPPORT)return new e(this).buffer;for(var t=new Uint8Array(this.length),n=0,r=t.length;r>n;n+=1)t[n]=this[n];return t.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var Z=e.prototype;e._augment=function(t){return t.constructor=e,t._isBuffer=!0,t._set=t.set,t.get=Z.get,t.set=Z.set,t.write=Z.write,t.toString=Z.toString,t.toLocaleString=Z.toString,t.toJSON=Z.toJSON,t.equals=Z.equals,t.compare=Z.compare,t.indexOf=Z.indexOf,t.copy=Z.copy,t.slice=Z.slice,t.readUIntLE=Z.readUIntLE,t.readUIntBE=Z.readUIntBE,t.readUInt8=Z.readUInt8,t.readUInt16LE=Z.readUInt16LE,t.readUInt16BE=Z.readUInt16BE,t.readUInt32LE=Z.readUInt32LE,t.readUInt32BE=Z.readUInt32BE,t.readIntLE=Z.readIntLE,t.readIntBE=Z.readIntBE,t.readInt8=Z.readInt8,t.readInt16LE=Z.readInt16LE,t.readInt16BE=Z.readInt16BE,t.readInt32LE=Z.readInt32LE,t.readInt32BE=Z.readInt32BE,t.readFloatLE=Z.readFloatLE,t.readFloatBE=Z.readFloatBE,t.readDoubleLE=Z.readDoubleLE,t.readDoubleBE=Z.readDoubleBE,t.writeUInt8=Z.writeUInt8,t.writeUIntLE=Z.writeUIntLE,t.writeUIntBE=Z.writeUIntBE,t.writeUInt16LE=Z.writeUInt16LE,t.writeUInt16BE=Z.writeUInt16BE,t.writeUInt32LE=Z.writeUInt32LE,t.writeUInt32BE=Z.writeUInt32BE,t.writeIntLE=Z.writeIntLE,t.writeIntBE=Z.writeIntBE,t.writeInt8=Z.writeInt8,t.writeInt16LE=Z.writeInt16LE,t.writeInt16BE=Z.writeInt16BE,t.writeInt32LE=Z.writeInt32LE,t.writeInt32BE=Z.writeInt32BE,t.writeFloatLE=Z.writeFloatLE,t.writeFloatBE=Z.writeFloatBE,t.writeDoubleLE=Z.writeDoubleLE,t.writeDoubleBE=Z.writeDoubleBE,t.fill=Z.fill,t.inspect=Z.inspect,t.toArrayBuffer=Z.toArrayBuffer,t};var ee=/[^+\/0-9A-Za-z-_]/g}).call(t,n(14).Buffer,function(){return this}())},function(e,t,n){var r=(n(12),n(21)),i=n(52),o=n(40),s={alternatives:n(79),array:n(296),"boolean":n(112),binary:n(297),date:n(80),func:n(298),number:n(113),object:n(114),string:n(115)};s.root=function(){var e=new r,t=e.clone();return t.any=function(){return e},t.alternatives=t.alt=function(){return arguments.length?s.alternatives["try"].apply(s.alternatives,arguments):s.alternatives},t.array=function(){return s.array},t["boolean"]=t.bool=function(){return s["boolean"]},t.binary=function(){return s.binary},t.date=function(){return s.date},t.func=function(){return s.func},t.number=function(){return s.number},t.object=function(){return arguments.length?s.object.keys.apply(s.object,arguments):s.object},t.string=function(){return s.string},t.ref=function(){return o.create.apply(null,arguments)},t.isRef=function(e){return o.isRef(e)},t.validate=function(t){var n=arguments[arguments.length-1],r="function"==typeof n?n:null,o=arguments.length-(r?1:0);if(1===o)return e.validate(t,r);var s=3===o?arguments[2]:{},a=i.schema(arguments[1]);return a._validateWithOptions(t,s,r)},t.describe=function(){var t=arguments.length?i.schema(arguments[0]):e;return t.describe()},t.compile=function(e){return i.schema(e)},t.assert=function(e,n,r){r=r?r+" ":"";var i=t.validate(e,n).error;if(i)throw new Error(r+i.annotate())},t},e.exports=s.root()},function(e,t,n){"use strict";var r=n(61),i=r({bubbled:null,captured:null}),o=r({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),s={topLevelTypes:o,PropagationPhases:i};e.exports=s},function(e,t,n){"use strict";function r(e,t){var n=A.hasOwnProperty(t)?A[t]:null;k.hasOwnProperty(t)&&y(n===E.OVERRIDE_BASE),e.hasOwnProperty(t)&&y(n===E.DEFINE_MANY||n===E.DEFINE_MANY_MERGED)}function i(e,t){if(t){y("function"!=typeof t),y(!h.isValidElement(t));var n=e.prototype;t.hasOwnProperty(w)&&x.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==w){var o=t[i];if(r(n,i),x.hasOwnProperty(i))x[i](e,o);else{var s=A.hasOwnProperty(i),c=n.hasOwnProperty(i),u=o&&o.__reactDontBind,d="function"==typeof o,p=d&&!s&&!c&&!u;if(p)n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[i]=o,n[i]=o;else if(c){var f=A[i];y(s&&(f===E.DEFINE_MANY_MERGED||f===E.DEFINE_MANY)),f===E.DEFINE_MANY_MERGED?n[i]=a(n[i],o):f===E.DEFINE_MANY&&(n[i]=l(n[i],o))}else n[i]=o}}}}function o(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var i=n in x;y(!i);var o=n in e;y(!o),e[n]=r}}}function s(e,t){y(e&&t&&"object"==typeof e&&"object"==typeof t);for(var n in t)t.hasOwnProperty(n)&&(y(void 0===e[n]),e[n]=t[n]);return e}function a(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return s(i,n),s(i,r),i}}function l(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function c(e,t){var n=t.bind(e);return n}function u(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=c(e,p.guard(n,e.constructor.displayName+"."+t))}}var d=n(225),h=(n(36),n(9)),p=n(380),f=n(50),m=n(96),g=(n(97),n(70),n(98)),v=n(5),y=n(3),_=n(61),b=n(31),w=(n(8),b({mixins:null})),E=_({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),C=[],A={mixins:E.DEFINE_MANY,statics:E.DEFINE_MANY,propTypes:E.DEFINE_MANY,contextTypes:E.DEFINE_MANY,childContextTypes:E.DEFINE_MANY,getDefaultProps:E.DEFINE_MANY_MERGED,getInitialState:E.DEFINE_MANY_MERGED,getChildContext:E.DEFINE_MANY_MERGED,render:E.DEFINE_ONCE,componentWillMount:E.DEFINE_MANY,componentDidMount:E.DEFINE_MANY,componentWillReceiveProps:E.DEFINE_MANY,shouldComponentUpdate:E.DEFINE_ONCE,componentWillUpdate:E.DEFINE_MANY,componentDidUpdate:E.DEFINE_MANY,componentWillUnmount:E.DEFINE_MANY,updateComponent:E.OVERRIDE_BASE},x={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;ni;++i){var s=n[i],a=t[s],l=a,c=null;Array.isArray(a)&&(l=a[0],c=a.slice(1)),r.assert(l,"unknown key "+s),r.assert(typeof e[s]===l,s+" should be of type "+l),c&&r.assert(c.indexOf(e[s])>=0,s+" should be one of "+c.join(", "))}},e.exports=l.Any=function(){a=a||n(52),this.isJoi=!0,this._type="any",this._settings=null,this._valids=new l.Set,this._invalids=new l.Set,this._tests=[],this._refs=[],this._flags={},this._description=null,this._unit=null,this._notes=[],this._tags=[],this._examples=[],this._meta=[],this._inner={}},l.Any.prototype.isImmutable=!0,l.Any.prototype.clone=function(){var e=Object.create(Object.getPrototypeOf(this));e.isJoi=!0,e._type=this._type,e._settings=l.concatSettings(this._settings),e._valids=r.clone(this._valids),e._invalids=r.clone(this._invalids),e._tests=this._tests.slice(),e._refs=this._refs.slice(),e._flags=r.clone(this._flags),e._description=this._description,e._unit=this._unit,e._notes=this._notes.slice(),e._tags=this._tags.slice(),e._examples=this._examples.slice(),e._meta=this._meta.slice(),e._inner={};for(var t=Object.keys(this._inner),n=0,i=t.length;i>n;++n){var o=t[n];e._inner[o]=this._inner[o]?this._inner[o].slice():null}return e},l.Any.prototype.concat=function(e){r.assert(e&&e.isJoi,"Invalid schema object"),r.assert("any"===this._type||"any"===e._type||e._type===this._type,"Cannot merge type",this._type,"with another type:",e._type);var t=this.clone();if("any"===this._type&&"any"!==e._type){for(var n=e.clone(),i=["_settings","_valids","_invalids","_tests","_refs","_flags","_description","_unit","_notes","_tags","_examples","_meta","_inner"],o=0,s=i.length;s>o;++o)n[i[o]]=t[i[o]];t=n}t._settings=t._settings?l.concatSettings(t._settings,e._settings):e._settings,t._valids.merge(e._valids,e._invalids),t._invalids.merge(e._invalids,e._valids),t._tests=t._tests.concat(e._tests),t._refs=t._refs.concat(e._refs),r.merge(t._flags,e._flags),t._description=e._description||t._description,t._unit=e._unit||t._unit,t._notes=t._notes.concat(e._notes),t._tags=t._tags.concat(e._tags),t._examples=t._examples.concat(e._examples),t._meta=t._meta.concat(e._meta);for(var a=Object.keys(e._inner),c="object"===t._type,u=0,d=a.length;d>u;++u){var h=a[u],p=e._inner[h];if(p){var f=t._inner[h];if(f)if(c&&"children"===h){for(var m={},g=0,v=f.length;v>g;++g)m[f[g].key]=g;for(g=0,v=p.length;v>g;++g){var y=p[g].key;m[y]>=0?f[m[y]]={key:y,schema:f[m[y]].schema.concat(p[g].schema)}:f.push(p[g])}}else t._inner[h]=t._inner[h].concat(p);else t._inner[h]=p.slice()}}return t},l.Any.prototype._test=function(e,t,n){r.assert(!this._flags.allowOnly,"Cannot define rules when valid values specified");var i=this.clone();return i._tests.push({func:n,name:e,arg:t}),i},l.Any.prototype.options=function(e){r.assert(!e.context,"Cannot override context"),l.checkOptions(e);var t=this.clone();return t._settings=l.concatSettings(t._settings,e),t},l.Any.prototype.strict=function(e){var t=this.clone();return t._settings=t._settings||{},t._settings.convert=void 0===e?!1:!e,t},l.Any.prototype.raw=function(e){var t=this.clone();return t._settings=t._settings||{},t._settings.raw=void 0===e?!0:e,t},l.Any.prototype._allow=function(){for(var e=r.flatten(Array.prototype.slice.call(arguments)),t=0,n=e.length;n>t;++t){var i=e[t];this._invalids.remove(i),this._valids.add(i,this._refs)}},l.Any.prototype.allow=function(){var e=this.clone();return e._allow.apply(e,arguments),e},l.Any.prototype.valid=l.Any.prototype.only=l.Any.prototype.equal=function(){r.assert(!this._tests.length,"Cannot set valid values when rules specified");var e=this.allow.apply(this,arguments);return e._flags.allowOnly=!0,e},l.Any.prototype.invalid=l.Any.prototype.disallow=l.Any.prototype.not=function(e){for(var t=this.clone(),n=r.flatten(Array.prototype.slice.call(arguments)),i=0,o=n.length;o>i;++i)e=n[i],t._valids.remove(e),t._invalids.add(e,this._refs);return t},l.Any.prototype.required=l.Any.prototype.exist=function(){var e=this.clone();return e._flags.presence="required",e},l.Any.prototype.optional=function(){var e=this.clone();return e._flags.presence="optional",e},l.Any.prototype.forbidden=function(){var e=this.clone();return e._flags.presence="forbidden",e},l.Any.prototype.strip=function(){var e=this.clone();return e._flags.strip=!0,e},l.Any.prototype.applyFunctionToChildren=function(e,t,n,r){if(e=[].concat(e),1!==e.length||""!==e[0]){r=r?r+".":"";var i=(""===e[0]?e.slice(1):e).map(function(e){return r+e});throw new Error("unknown key(s) "+i.join(", "))}return this[t].apply(this,n)},l.Any.prototype["default"]=function(e,t){"function"!=typeof e||i.isRef(e)||(!e.description&&t&&(e.description=t),"func"!==this._type&&r.assert("string"==typeof e.description&&e.description.length>0,"description must be provided when default value is a function"));var n=this.clone();return n._flags["default"]=e,i.push(n._refs,e),n},l.Any.prototype.empty=function(e){var t;return void 0===e?(t=this.clone(),t._flags.empty=void 0):(e=a.schema(e),t=this.clone(),t._flags.empty=e),t},l.Any.prototype.when=function(e,t){r.assert(t&&"object"==typeof t,"Invalid options"),r.assert(void 0!==t.then||void 0!==t.otherwise,'options must have at least one of "then" or "otherwise"');var i=t.then?this.concat(a.schema(t.then)):this,o=t.otherwise?this.concat(a.schema(t.otherwise)):this;s=s||n(79);var l=s.when(e,{is:t.is,then:i,otherwise:o});return l._flags.presence="ignore",l},l.Any.prototype.description=function(e){r.assert(e&&"string"==typeof e,"Description must be a non-empty string");var t=this.clone();return t._description=e,t},l.Any.prototype.notes=function(e){r.assert(e&&("string"==typeof e||Array.isArray(e)),"Notes must be a non-empty string or array");var t=this.clone();return t._notes=t._notes.concat(e),t},l.Any.prototype.tags=function(e){r.assert(e&&("string"==typeof e||Array.isArray(e)),"Tags must be a non-empty string or array");var t=this.clone();return t._tags=t._tags.concat(e),t},l.Any.prototype.meta=function(e){r.assert(void 0!==e,"Meta cannot be undefined");var t=this.clone();return t._meta=t._meta.concat(e),t},l.Any.prototype.example=function(e){r.assert(arguments.length,"Missing example");var t=this._validate(e,null,l.defaults);r.assert(!t.errors,"Bad example:",t.errors&&o.process(t.errors,e));var n=this.clone();return n._examples=n._examples.concat(e), -n},l.Any.prototype.unit=function(e){r.assert(e&&"string"==typeof e,"Unit name must be a non-empty string");var t=this.clone();return t._unit=e,t},l._try=function(e,t){var n,r;try{r=e.call(null,t)}catch(i){n=i}return{value:r,error:n}},l.Any.prototype._validate=function(e,t,n,s){var a=this,c=e;t=t||{key:"",path:"",parent:null,reference:s},this._settings&&(n=l.concatSettings(n,this._settings));var u=[],d=function(){var s;if(!a._flags.strip)if(void 0!==e)s=n.raw?c:e;else if(i.isRef(a._flags["default"]))s=a._flags["default"](t.parent,n);else if("function"!=typeof a._flags["default"]||"func"===a._type&&!a._flags["default"].description)s=a._flags["default"];else{var d;null!==t.parent&&a._flags["default"].length>0&&(d=r.clone(t.parent));var h=l._try(a._flags["default"],d);s=h.value,h.error&&u.push(o.create("any.default",h.error,t,n))}return{value:s,errors:u.length?u:null}},h=this._flags.presence||n.presence;if("optional"===h){if(void 0===e){var p=this._flags.hasOwnProperty("default")&&void 0===this._flags["default"];if(!p||"object"!==this._type)return d();e={}}}else{if("required"===h&&void 0===e)return u.push(o.create("any.required",null,t,n)),d();if("forbidden"===h)return void 0===e?d():(u.push(o.create("any.unknown",null,t,n)),d())}if(this._flags.empty&&!this._flags.empty._validate(e,null,l.defaults).errors)return e=void 0,d();if(this._valids.has(e,t,n,this._flags.insensitive))return d();if(this._invalids.has(e,t,n,this._flags.insensitive)&&(u.push(o.create(""===e?"any.empty":"any.invalid",null,t,n)),n.abortEarly||void 0===e))return d();if(this._base){var f=this._base.call(this,e,t,n);if(f.errors)return e=f.value,u=u.concat(f.errors),d();if(f.value!==e){if(e=f.value,this._valids.has(e,t,n,this._flags.insensitive))return d();if(this._invalids.has(e,t,n,this._flags.insensitive)&&(u.push(o.create("any.invalid",null,t,n)),n.abortEarly))return d()}}if(this._flags.allowOnly&&(u.push(o.create("any.allowOnly",{valids:this._valids.values({stripUndefined:!0})},t,n)),n.abortEarly))return d();for(var m=0,g=this._tests.length;g>m;++m){var v=this._tests[m],y=v.func.call(this,e,t,n);if(y&&(u.push(y),n.abortEarly))return d()}return d()},l.Any.prototype._validateWithOptions=function(e,t,n){t&&l.checkOptions(t);var r=l.concatSettings(l.defaults,t),i=this._validate(e,null,r),s=o.process(i.errors,e);return n?n(s,i.value):{error:s,value:i.value}},l.Any.prototype.validate=function(e,t){var n=this._validate(e,null,l.defaults),r=o.process(n.errors,e);return t?t(r,n.value):{error:r,value:n.value}},l.Any.prototype.describe=function(){var e={type:this._type},t=Object.keys(this._flags);if(t.length)if(this._flags.empty){e.flags={};for(var n=0,i=t.length;i>n;++n){var o=t[n];e.flags[o]="empty"===o?this._flags[o].describe():this._flags[o]}}else e.flags=this._flags;this._description&&(e.description=this._description),this._notes.length&&(e.notes=this._notes),this._tags.length&&(e.tags=this._tags),this._meta.length&&(e.meta=this._meta),this._examples.length&&(e.examples=this._examples),this._unit&&(e.unit=this._unit);var s=this._valids.values();s.length&&(e.valids=s);var a=this._invalids.values();a.length&&(e.invalids=a),e.rules=[];for(var l=0,c=this._tests.length;c>l;++l){var u=this._tests[l],d={name:u.name};void 0!==u.arg&&(d.arg=u.arg),e.rules.push(d)}e.rules.length||delete e.rules;var h=r.reach(this._settings,"language.label");return h&&(e.label=h),e},l.Any.prototype.label=function(e){r.assert(e&&"string"==typeof e,"Label name must be a non-empty string");var t=this.clone(),n={language:{label:e}};return t._settings=l.concatSettings(n,t._settings),t},l.Set=function(){this._set=[]},l.Set.prototype.add=function(e,n){r.assert(null===e||void 0===e||e instanceof Date||t.isBuffer(e)||i.isRef(e)||"function"!=typeof e&&"object"!=typeof e,"Value cannot be an object or function"),"function"!=typeof e&&this.has(e,null,null,!1)||(i.push(n,e),this._set.push(e))},l.Set.prototype.merge=function(e,t){for(var n=0,r=e._set.length;r>n;++n)this.add(e._set[n]);for(n=0,r=t._set.length;r>n;++n)this.remove(t._set[n])},l.Set.prototype.remove=function(e){this._set=this._set.filter(function(t){return e!==t})},l.Set.prototype.has=function(e,n,r,o){for(var s=0,a=this._set.length;a>s;++s){var l=this._set[s];i.isRef(l)&&(l=l(n.reference||n.parent,r)),Array.isArray(l)||(l=[l]);for(var c=0,u=l.length;u>c;++c){var d=l[c];if(typeof e==typeof d&&(e===d||e instanceof Date&&d instanceof Date&&e.getTime()===d.getTime()||o&&"string"==typeof e&&e.toLowerCase()===d.toLowerCase()||t.isBuffer(e)&&t.isBuffer(d)&&e.length===d.length&&e.toString("binary")===d.toString("binary")))return!0}}return!1},l.Set.prototype.values=function(e){if(e&&e.stripUndefined){for(var t=[],n=0,r=this._set.length;r>n;++n){var i=this._set[n];void 0!==i&&t.push(i)}return t}return this._set.slice()},l.concatSettings=function(e,t){if(!e&&!t)return null;var n,i={};if(e)for(var o=Object.keys(e),s=0,a=o.length;a>s;++s)n=o[s],i[n]=e[n];if(t)for(var l=Object.keys(t),c=0,u=l.length;u>c;++c)n=l[c],"language"===n&&i.hasOwnProperty(n)?i[n]=r.applyToDefaults(i[n],t[n]):i[n]=t[n];return i}}).call(t,n(14).Buffer)},function(e,t){"use strict";function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=Object.assign||function(e,t){for(var r,i,o=n(e),s=1;sn;n++){var r=v[n],i=r._pendingCallbacks;if(r._pendingCallbacks=null,p.performUpdateIfNecessary(r,e.reconcileTransaction),i)for(var o=0;oi;++i)r+=(r.length?", ":"")+o.stringify(e[i],t);return t?"["+r+"]":r}return e.toString()}return JSON.stringify(e)},o.Err=function(e,t,n,r){this.type=e,this.context=t||{},this.context.key=n.key,this.path=n.path,this.options=r},o.Err.prototype.toString=function(){var e=this,t=this.options.language;t.label?this.context.key=t.label:""!==this.context.key&&null!==this.context.key||(this.context.key=t.root||i.errors.root);var n=r.reach(t,this.type)||r.reach(i.errors,this.type),s=/\{\{\!?key\}\}/.test(n),a=n.length>2&&"!"===n[0]&&"!"===n[1];a&&(n=n.slice(2)),s||a||(n=(r.reach(t,"key")||r.reach(i.errors,"key"))+n);var l=r.reach(t,"messages.wrapArrays");"boolean"!=typeof l&&(l=i.errors.messages.wrapArrays);var c=n.replace(/\{\{(\!?)([^}]+)\}\}/g,function(t,n,i){var s=r.reach(e.context,i),a=o.stringify(s,l);return n?r.escapeHtml(a):a});return c},t.create=function(e,t,n,r){return new o.Err(e,t,n,r)},t.process=function(e,t){if(!e||!e.length)return null;var n="",r=[],i=function(e,t){for(var s=0,a=e.length;a>s;++s){var l=e[s],c={message:l.toString(),path:o.getPath(l),type:l.type,context:l.context};t||(n+=(n?". ":"")+c.message),l.context.reason&&l.context.reason.length?i(l.context.reason,l.path):r.push(c)}};i(e);var s=new Error(n);return s.name="ValidationError",s.details=r,s._object=t,s.annotate=o.annotate,s},o.getPath=function(e){var t=function(e){var n=r.reach(e,"context.reason.0");return n&&n.context?t(n):e.path};return t(e)||e.context.key},o.safeStringify=function(e,t){return JSON.stringify(e,o.serializer(),t)},o.serializer=function(){var e=function(e,r){return n[0]===r?"[Circular ~]":"[Circular ~."+t.slice(0,n.indexOf(r)).join(".")+"]"},t=[],n=[];return function(r,i){if(n.length>0){var o=n.indexOf(this);~o?(n.length=o+1,t.length=o+1,t[o]=r):(n.push(this),t.push(r)),~n.indexOf(i)&&(i=e.call(this,r,i))}else n.push(i);return i}},o.annotate=function(){for(var e=r.clone(this._object||{}),t={},n=this.details.length,i=n-1;i>=0;--i)for(var s=n-i,a=this.details[i],l=a.path.split("."),c=e,u=0,d=l.length;d>u&&c;++u){var h=l[u];if(d>u+1)c=c[h];else{var p=c[h];if(void 0!==p){delete c[h];var f=h+"_$key$_"+s+"_$end$_";c[f]=p,t[a.path]=f}else if(t[a.path]){var m=t[a.path],g=m.replace("_$end$_",", "+s+"_$end$_");c[g]=c[m],t[a.path]=g,delete c[m]}else c["_$miss$_"+h+"|"+s+"_$end$_"]="__missing__"}}var v=o.safeStringify(e,2).replace(/\[Circular (.*?)_\$key\$_([, \d]+)_\$end\$_\]/g,function(e,t){return"[Circular "+t+"]"}).replace(/_\$key\$_([, \d]+)_\$end\$_\"/g,function(e,t){return'" ['+t+"]"}).replace(/\"_\$miss\$_([^\|]+)\|(\d+)_\$end\$_\"\: \"__missing__\"/g,function(e,t,n){return'"'+t+'" ['+n+"]: -- missing --"});for(v+="\n",i=0;n>i;++i)v+="\n["+(i+1)+"] "+this.details[i].message;return v+=""}},function(e,t){function n(e){return function(){return e}}function r(){}r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t){var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t,n){"use strict";var r=n(5),i=n(2).PropTypes,o=n(41),s=r({},i,{falsy:function(e,t,n){return e[t]?new Error("<"+n+'> should not have a "'+t+'" prop'):void 0},route:i.instanceOf(o),router:i.func});e.exports=s},function(e,t,n){e.exports=n(395)},function(e,t,n){"use strict";var r=n(3),i=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},o=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},s=function(e,t,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,e,t,n),i}return new r(e,t,n)},a=function(e,t,n,r,i){var o=this;if(o.instancePool.length){var s=o.instancePool.pop();return o.call(s,e,t,n,r,i),s}return new o(e,t,n,r,i)},l=function(e){var t=this;r(e instanceof t),e.destructor&&e.destructor(),t.instancePool.lengthr;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function i(e){var t=M(e);return t&&H.getID(t)}function o(e){var t=s(e);if(t)if(O.hasOwnProperty(t)){var n=O[t];n!==e&&(S(!u(n,t)),O[t]=e)}else O[t]=e;return t}function s(e){return e&&e.getAttribute&&e.getAttribute(B)||""}function a(e,t){var n=s(e);n!==t&&delete O[n],e.setAttribute(B,t),O[t]=e}function l(e){return O.hasOwnProperty(e)&&u(O[e],e)||(O[e]=H.findReactNodeByID(e)),O[e]}function c(e){var t=w.get(e)._rootNodeID;return _.isNullComponentID(t)?null:(O.hasOwnProperty(t)&&u(O[t],t)||(O[t]=H.findReactNodeByID(t)),O[t])}function u(e,t){if(e){S(s(e)===t);var n=H.findReactContainerForID(t);if(n&&L(n,e))return!0}return!1}function d(e){delete O[e]}function h(e){var t=O[e];return t&&u(t,e)?void(W=t):!1}function p(e){W=null,b.traverseAncestors(e,h);var t=W;return W=null,t}function f(e,t,n,r,i){var o=A.mountComponent(e,t,r,D);e._isTopLevel=!0,H._mountImageIntoNode(o,n,i)}function m(e,t,n,r){var i=k.ReactReconcileTransaction.getPooled();i.perform(f,null,e,t,n,i,r),k.ReactReconcileTransaction.release(i)}var g=n(46),v=n(47),y=(n(36),n(9)),_=(n(59),n(95)),b=n(49),w=n(50),E=n(229),C=n(43),A=n(51),x=n(98),k=n(24),D=n(73),L=n(237),M=n(419),T=n(104),S=n(3),F=n(106),N=n(107),R=(n(8),b.SEPARATOR),B=g.ID_ATTRIBUTE_NAME,O={},P=1,$=9,Y={},I={},j=[],W=null,H={_instancesByReactRootID:Y,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r){return H.scrollMonitor(n,function(){x.enqueueElementInternal(e,t),r&&x.enqueueCallbackInternal(e,r)}),e},_registerComponent:function(e,t){S(t&&(t.nodeType===P||t.nodeType===$)),v.ensureScrollValueMonitoring();var n=H.registerContainer(t);return Y[n]=e,n},_renderNewRootComponent:function(e,t,n){var r=T(e,null),i=H._registerComponent(r,t);return k.batchedUpdates(m,r,i,t,n),r},render:function(e,t,n){S(y.isValidElement(e));var r=Y[i(t)];if(r){var o=r._currentElement;if(N(o,e))return H._updateRootComponent(r,e,t,n).getPublicInstance();H.unmountComponentAtNode(t)}var s=M(t),a=s&&H.isRenderedByReact(s),l=a&&!r,c=H._renderNewRootComponent(e,t,l).getPublicInstance();return n&&n.call(c),c},constructAndRenderComponent:function(e,t,n){var r=y.createElement(e,t);return H.render(r,n)},constructAndRenderComponentByID:function(e,t,n){var r=document.getElementById(n);return S(r),H.constructAndRenderComponent(e,t,r)},registerContainer:function(e){var t=i(e);return t&&(t=b.getReactRootIDFromNodeID(t)),t||(t=b.createReactRootID()),I[t]=e,t},unmountComponentAtNode:function(e){S(e&&(e.nodeType===P||e.nodeType===$));var t=i(e),n=Y[t];return n?(H.unmountComponentFromNode(n,e),delete Y[t],delete I[t],!0):!1},unmountComponentFromNode:function(e,t){for(A.unmountComponent(e),t.nodeType===$&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)},findReactContainerForID:function(e){var t=b.getReactRootIDFromNodeID(e),n=I[t];return n},findReactNodeByID:function(e){var t=H.findReactContainerForID(e);return H.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=H.getID(e);return t?t.charAt(0)===R:!1},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(H.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,t){var n=j,r=0,i=p(t)||e;for(n[0]=i.firstChild,n.length=1;re||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,i,a,l,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}if(n=this._events[e],s(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),n.apply(this,a)}else if(o(n))for(a=Array.prototype.slice.call(arguments,1),c=n.slice(),i=c.length,l=0;i>l;l++)c[l].apply(this,a);return!0},n.prototype.addListener=function(e,t){var i;if(!r(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(i=s(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[e].length>i&&(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())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,i,s,a;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],s=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(a=s;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){i=a;break}if(0>i)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.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],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){var r=n(19),i=n(38).EventEmitter,o=n(18),s=n(22),a=n(7),l=[],c="change",u=s({},i.prototype,{getClusters:function(){return l},getCluster:function(e){return a.find(l,function(t){return t.cluster_name===e})},emitChange:function(){this.emit(c)},addChangeListener:function(e){this.on(c,e)},removeChangeListener:function(e){this.removeListener(c,e)}});r.register(function(e){switch(e.actionType){case o.GET_CLUSTERS:l=e.data,u.emitChange();break;case o.GET_CLUSTER:var t=e.data,n=a.findIndex(l,function(e){return e.cluster_name===t.cluster_name});n>=0&&(l[n]=t,u.emitChange())}}),e.exports=u},function(e,t,n){var r=n(12);t.create=function(e,t){r.assert("string"==typeof e,"Invalid reference key:",e);var n=r.clone(t),i=function(e,t){return r.reach(i.isContext?t.context:e,i.key,n)};return i.isContext=e[0]===(n&&n.contextPrefix||"$"),i.key=i.isContext?e.slice(1):e,i.path=i.key.split(n&&n.separator||"."),i.depth=i.path.length,i.root=i.path[0],i.isJoi=!0,i.toString=function(){return(i.isContext?"context:":"ref:")+i.key},i},t.isRef=function(e){return"function"==typeof e&&e.isJoi},t.push=function(e,n){t.isRef(n)&&!n.isContext&&e.push(n.root)}},function(e,t,n){"use strict";var r,i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var n=0;n'}}],[{key:"createRoute",value:function(t,n){t=t||{},"string"==typeof t&&(t={path:t});var i=r;i?l(null==t.parentRoute||t.parentRoute===i,"You should not use parentRoute with createRoute inside another route's child callback; it is ignored"):i=t.parentRoute;var o=t.name,s=t.path||o;!s||t.isDefault||t.isNotFound?s=i?i.path:"/":c.isAbsolute(s)?i&&a(s===i.path||0===i.paramNames.length,'You cannot nest path "%s" inside "%s"; the parent requires URL parameters',s,i.path):s=i?c.join(i.path,s):"/"+s,t.isNotFound&&!/\*$/.test(s)&&(s+="*");var u=new e(o,s,t.ignoreScrollBehavior,t.isDefault,t.isNotFound,t.onEnter,t.onLeave,t.handler);if(i&&(u.isDefault?(a(null==i.defaultRoute,"%s may not have more than one default route",i),i.defaultRoute=u):u.isNotFound&&(a(null==i.notFoundRoute,"%s may not have more than one not found route",i),i.notFoundRoute=u),i.appendChild(u)),"function"==typeof n){var d=r;r=u,n.call(u,u),r=d}return u}},{key:"createDefaultRoute",value:function(t){return e.createRoute(s({},t,{isDefault:!0}))}},{key:"createNotFoundRoute",value:function(t){return e.createRoute(s({},t,{isNotFound:!0}))}},{key:"createRedirect",value:function(t){return e.createRoute(s({},t,{path:t.path||t.from||"*",onEnter:function(e,n,r){e.redirect(t.to,t.params||n,t.query||r)}}))}}]),e}();e.exports=u},function(e,t,n){"use strict";var r=n(88),i=n(224),o=n(225),s=n(17),a=n(93),l=n(36),c=n(9),u=(n(59),n(368)),d=n(227),h=n(379),p=n(49),f=n(37),m=n(43),g=n(231),v=n(51),y=n(390),_=n(5),b=n(238),w=n(246);h.inject();var E=c.createElement,C=c.createFactory,A=c.cloneElement,x=m.measure("React","render",f.render),k={Children:{map:i.map,forEach:i.forEach,count:i.count,only:w},Component:o,DOM:u,PropTypes:g,initializeTouchEvents:function(e){r.useTouchEvents=e},createClass:s.createClass,createElement:E,cloneElement:A,createFactory:C,createMixin:function(e){return e},constructAndRenderComponent:f.constructAndRenderComponent,constructAndRenderComponentByID:f.constructAndRenderComponentByID,findDOMNode:b,render:x,renderToString:y.renderToString,renderToStaticMarkup:y.renderToStaticMarkup,unmountComponentAtNode:f.unmountComponentAtNode,isValidElement:c.isValidElement,withContext:a.withContext,__spread:_};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:l,InstanceHandles:p,Mount:f,Reconciler:v,TextComponent:d});k.version="0.13.3",e.exports=k},function(e,t,n){"use strict";function r(e,t,n){return n}var i={enableMeasure:!1,storedMeasure:r,measureMethods:function(e,t,n){},measure:function(e,t,n){return n},injection:{injectMeasure:function(e){i.storedMeasure=e}}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n;var r=this.constructor.Interface;for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];o?this[i]=o(n):this[i]=n[i]}var a=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;a?this.isDefaultPrevented=s.thatReturnsTrue:this.isDefaultPrevented=s.thatReturnsFalse,this.isPropagationStopped=s.thatReturnsFalse}var i=n(34),o=n(5),s=n(30),a=n(103),l={type:null,target:a,currentTarget:s.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=s.thatReturnsTrue},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=s.thatReturnsTrue},persist:function(){this.isPersistent=s.thatReturnsTrue},isPersistent:s.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),r.Interface=l,r.augmentClass=function(e,t){ -var n=this,r=Object.create(n.prototype);o(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.threeArgumentPooler)},i.addPoolingTo(r,i.threeArgumentPooler),e.exports=r},function(e,t,n){"use strict";var r=n(3),i=n(10).canUseDOM,o={length:1,back:function(){r(i,"Cannot use History.back without a DOM"),o.length-=1,window.history.back()}};e.exports=o},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var i=n(3),o={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=e.Properties||{},n=e.DOMAttributeNames||{},s=e.DOMPropertyNames||{},l=e.DOMMutationMethods||{};e.isCustomAttribute&&a._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var c in t){i(!a.isStandardName.hasOwnProperty(c)),a.isStandardName[c]=!0;var u=c.toLowerCase();if(a.getPossibleStandardName[u]=c,n.hasOwnProperty(c)){var d=n[c];a.getPossibleStandardName[d]=c,a.getAttributeName[c]=d}else a.getAttributeName[c]=u;a.getPropertyName[c]=s.hasOwnProperty(c)?s[c]:c,l.hasOwnProperty(c)?a.getMutationMethod[c]=l[c]:a.getMutationMethod[c]=null;var h=t[c];a.mustUseAttribute[c]=r(h,o.MUST_USE_ATTRIBUTE),a.mustUseProperty[c]=r(h,o.MUST_USE_PROPERTY),a.hasSideEffects[c]=r(h,o.HAS_SIDE_EFFECTS),a.hasBooleanValue[c]=r(h,o.HAS_BOOLEAN_VALUE),a.hasNumericValue[c]=r(h,o.HAS_NUMERIC_VALUE),a.hasPositiveNumericValue[c]=r(h,o.HAS_POSITIVE_NUMERIC_VALUE),a.hasOverloadedBooleanValue[c]=r(h,o.HAS_OVERLOADED_BOOLEAN_VALUE),i(!a.mustUseAttribute[c]||!a.mustUseProperty[c]),i(a.mustUseProperty[c]||!a.hasSideEffects[c]),i(!!a.hasBooleanValue[c]+!!a.hasNumericValue[c]+!!a.hasOverloadedBooleanValue[c]<=1)}}},s={},a={ID_ATTRIBUTE_NAME:"data-reactid",isStandardName:{},getPossibleStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasSideEffects:{},hasBooleanValue:{},hasNumericValue:{},hasPositiveNumericValue:{},hasOverloadedBooleanValue:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;tc;c++){var h=a[c];o.hasOwnProperty(h)&&o[h]||(h===l.topWheel?u("wheel")?g.ReactEventListener.trapBubbledEvent(l.topWheel,"wheel",n):u("mousewheel")?g.ReactEventListener.trapBubbledEvent(l.topWheel,"mousewheel",n):g.ReactEventListener.trapBubbledEvent(l.topWheel,"DOMMouseScroll",n):h===l.topScroll?u("scroll",!0)?g.ReactEventListener.trapCapturedEvent(l.topScroll,"scroll",n):g.ReactEventListener.trapBubbledEvent(l.topScroll,"scroll",g.ReactEventListener.WINDOW_HANDLE):h===l.topFocus||h===l.topBlur?(u("focus",!0)?(g.ReactEventListener.trapCapturedEvent(l.topFocus,"focus",n),g.ReactEventListener.trapCapturedEvent(l.topBlur,"blur",n)):u("focusin")&&(g.ReactEventListener.trapBubbledEvent(l.topFocus,"focusin",n),g.ReactEventListener.trapBubbledEvent(l.topBlur,"focusout",n)),o[l.topBlur]=!0,o[l.topFocus]=!0):f.hasOwnProperty(h)&&g.ReactEventListener.trapBubbledEvent(h,f[h],n),o[h]=!0)}},trapBubbledEvent:function(e,t,n){return g.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return g.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!h){var e=l.refreshScrollValues;g.ReactEventListener.monitorScrollValue(e),h=!0}},eventNameDispatchConfigs:o.eventNameDispatchConfigs,registrationNameModules:o.registrationNameModules,putListener:o.putListener,getListener:o.getListener,deleteListener:o.deleteListener,deleteAllListeners:o.deleteAllListeners});e.exports=g},function(e,t,n){"use strict";var r=(n(9),n(8),{create:function(e){return e},extract:function(e){return e},extractIfFragment:function(e){return e}});e.exports=r},function(e,t,n){"use strict";function r(e){return p+e.toString(36)}function i(e,t){return e.charAt(t)===p||t===e.length}function o(e){return""===e||e.charAt(0)===p&&e.charAt(e.length-1)!==p}function s(e,t){return 0===t.indexOf(e)&&i(t,e.length)}function a(e){return e?e.substr(0,e.lastIndexOf(p)):""}function l(e,t){if(h(o(e)&&o(t)),h(s(e,t)),e===t)return e;var n,r=e.length+f;for(n=r;n=s;s++)if(i(e,s)&&i(t,s))r=s;else if(e.charAt(s)!==t.charAt(s))break;var a=e.substr(0,r);return h(o(a)),a}function u(e,t,n,r,i,o){e=e||"",t=t||"",h(e!==t);var c=s(t,e);h(c||s(e,t));for(var u=0,d=c?a:l,p=e;;p=d(p,t)){var f;if(i&&p===e||o&&p===t||(f=n(p,c,r)),f===!1||p===t)break;h(u++1){var t=e.indexOf(p,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,i){var o=c(e,t);o!==e&&u(e,o,n,r,!1,!0),o!==t&&u(o,t,n,i,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(u("",e,t,n,!0,!1),u(e,"",t,n,!1,!0))},traverseAncestors:function(e,t,n){u("",e,t,n,!0,!1)},_getFirstCommonAncestorID:c,_getNextDescendantID:l,isAncestorIDOf:s,SEPARATOR:p};e.exports=g},function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=n},function(e,t,n){"use strict";function r(){i.attachRefs(this,this._currentElement)}var i=n(389),o=(n(59),{mountComponent:function(e,t,n,i){var o=e.mountComponent(t,n,i);return n.getReactMountReady().enqueue(r,e),o},unmountComponent:function(e){i.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,n,o){var s=e._currentElement;if(t!==s||null==t._owner){var a=i.shouldUpdateRefs(s,t);a&&i.detachRefs(e,s),e.receiveComponent(t,n,o),a&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}});e.exports=o},function(e,t,n){var r=n(12),i=n(40),o={any:null,date:n(80),string:n(115),number:n(113),"boolean":n(112),alt:null,object:null};t.schema=function(e){return o.any=o.any||new(n(21)),o.alt=o.alt||n(79),o.object=o.object||n(114),e&&"object"==typeof e?e.isJoi?e:Array.isArray(e)?o.alt["try"](e):e instanceof RegExp?o.string.regex(e):e instanceof Date?o.date.valid(e):o.object.keys(e):"string"==typeof e?o.string.valid(e):"number"==typeof e?o.number.valid(e):"boolean"==typeof e?o["boolean"].valid(e):i.isRef(e)?o.any.valid(e):(r.assert(null===e,"Invalid schema content:",e),o.any.valid(null))},t.ref=function(e){return i.isRef(e)?e:i.create(e)}},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return a(n)?n:void 0}function i(e){return"number"==typeof e&&e>-1&&e%1==0&&v>=e}function o(e){return s(e)&&f.call(e)==c}function s(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function a(e){return null==e?!1:o(e)?m.test(h.call(e)):n(e)&&u.test(e)}var l="[object Array]",c="[object Function]",u=/^\[object .+?Constructor\]$/,d=Object.prototype,h=Function.prototype.toString,p=d.hasOwnProperty,f=d.toString,m=RegExp("^"+h.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=r(Array,"isArray"),v=9007199254740991,y=g||function(e){return n(e)&&i(e.length)&&f.call(e)==l};e.exports=y},function(e,t){"use strict";var n={PUSH:"push",REPLACE:"replace",POP:"pop"};e.exports=n},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;ti.bottom||r.top-1)return!1;if(this.props.filterOption)return this.props.filterOption.call(this,e,n);var t=String(e.value),i=String(e.label);return n&&"start"!==this.props.matchPos?"label"!==this.props.matchProp&&t.toLowerCase().indexOf(n.toLowerCase())>=0||"value"!==this.props.matchProp&&i.toLowerCase().indexOf(n.toLowerCase())>=0:"label"!==this.props.matchProp&&t.toLowerCase().substr(0,n.length)===n||"value"!==this.props.matchProp&&i.toLowerCase().substr(0,n.length)===n};return(e||[]).filter(i,this)},selectFocusedOption:function(){return this.selectValue(this.state.focusedOption)},focusOption:function(e){this.setState({focusedOption:e})},focusNextOption:function(){this.focusAdjacentOption("next")},focusPreviousOption:function(){this.focusAdjacentOption("previous")},focusAdjacentOption:function(e){this._focusedOptionReveal=!0;var t=this.state.filteredOptions;if(!this.state.isOpen)return void this.setState({isOpen:!0,inputValue:"",focusedOption:this.state.focusedOption||t["next"===e?0:t.length-1]},this._bindCloseMenuIfClickedOutside);if(t.length){for(var n=-1,r=0;r-1&&n0?t[n-1]:t[t.length-1]),this.setState({focusedOption:i})}},unfocusOption:function(e){this.state.focusedOption===e&&this.setState({focusedOption:null})},buildMenu:function(){var e=this.state.focusedOption?this.state.focusedOption.value:null;this.state.filteredOptions.length>0&&(e=null==e?this.state.filteredOptions[0]:e);var t=Object.keys(this.state.filteredOptions).map(function(t){var n=this.state.filteredOptions[t],r=e===n.value,o=s({"Select-option":!0,"is-focused":r,"is-disabled":n.disabled}),a=r?"focused":null,l=this.focusOption.bind(this,n),c=this.unfocusOption.bind(this,n),u=this.selectValue.bind(this,n);return n.disabled?i.createElement("div",{ref:a,key:"option-"+n.value,className:o},n.label):i.createElement("div",{ref:a,key:"option-"+n.value,className:o,onMouseEnter:l,onMouseLeave:c,onMouseDown:u,onClick:u},n.label)},this);return t.length?t:i.createElement("div",{className:"Select-noresults"},this.props.asyncOptions&&!this.state.inputValue?this.props.searchPromptText:this.props.noResultsText)},handleOptionLabelClick:function(e,t){var n=this.props.onOptionLabelClick;n&&n(e,t)},render:function(){var e=s("Select",this.props.className,{"is-multi":this.props.multi,"is-searchable":this.props.searchable,"is-open":this.state.isOpen,"is-focused":this.state.isFocused,"is-loading":this.state.isLoading,"is-disabled":this.props.disabled,"has-value":this.state.value}),t=[];this.props.multi&&this.state.values.forEach(function(e){var n={key:e.value,optionLabelClick:!!this.props.onOptionLabelClick,onOptionLabelClick:this.handleOptionLabelClick.bind(this,e),onRemove:this.removeValue.bind(this,e)};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);t.push(i.createElement(a,n))},this),!this.props.disabled&&(this.state.inputValue||this.props.multi&&t.length)||t.push(i.createElement("div",{className:"Select-placeholder",key:"placeholder"},this.state.placeholder));var n,l,c=this.state.isLoading?i.createElement("span",{className:"Select-loading","aria-hidden":"true"}):null,u=this.props.clearable&&this.state.value&&!this.props.disabled?i.createElement("span",{className:"Select-clear",title:this.props.multi?this.props.clearAllText:this.props.clearValueText,"aria-label":this.props.multi?this.props.clearAllText:this.props.clearValueText,onMouseDown:this.clearValue,onClick:this.clearValue,dangerouslySetInnerHTML:{__html:"×"}}):null;this.state.isOpen&&(l={ref:"menu",className:"Select-menu"},this.props.multi&&(l.onMouseDown=this.handleMouseDown),n=i.createElement("div",{ref:"selectMenuContainer",className:"Select-menu-outer"},i.createElement("div",l,this.buildMenu())));var d,h={ref:"input",className:"Select-input",tabIndex:this.props.tabIndex||0,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur};for(var p in this.props.inputProps)this.props.inputProps.hasOwnProperty(p)&&(h[p]=this.props.inputProps[p]);return d=this.props.searchable&&!this.props.disabled?i.createElement(o,r({value:this.state.inputValue,onChange:this.handleInputChange,minWidth:"5"},h)):i.createElement("div",h," "),i.createElement("div",{ref:"wrapper",className:e},i.createElement("input",{type:"hidden",ref:"value",name:this.props.name,value:this.state.value,disabled:this.props.disabled}),i.createElement("div",{className:"Select-control",ref:"control",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},t,d,i.createElement("span",{className:"Select-arrow"}),c,u),n)}});e.exports=c},function(e,t,n){"use strict";function r(e,t){return null==t||i.hasBooleanValue[e]&&!t||i.hasNumericValue[e]&&isNaN(t)||i.hasPositiveNumericValue[e]&&1>t||i.hasOverloadedBooleanValue[e]&&t===!1}var i=n(46),o=n(427),s=(n(8),{createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+o(e)},createMarkupForProperty:function(e,t){if(i.isStandardName.hasOwnProperty(e)&&i.isStandardName[e]){if(r(e,t))return"";var n=i.getAttributeName[e];return i.hasBooleanValue[e]||i.hasOverloadedBooleanValue[e]&&t===!0?n:n+"="+o(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+o(t):null},setValueForProperty:function(e,t,n){if(i.isStandardName.hasOwnProperty(t)&&i.isStandardName[t]){var o=i.getMutationMethod[t];if(o)o(e,n);else if(r(t,n))this.deleteValueForProperty(e,t);else if(i.mustUseAttribute[t])e.setAttribute(i.getAttributeName[t],""+n);else{var s=i.getPropertyName[t];i.hasSideEffects[t]&&""+e[s]==""+n||(e[s]=n)}}else i.isCustomAttribute(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForProperty:function(e,t){if(i.isStandardName.hasOwnProperty(t)&&i.isStandardName[t]){var n=i.getMutationMethod[t];if(n)n(e,void 0);else if(i.mustUseAttribute[t])e.removeAttribute(i.getAttributeName[t]);else{var r=i.getPropertyName[t],o=i.getDefaultValueForProperty(e.nodeName,r);i.hasSideEffects[t]&&""+e[r]===o||(e[r]=o)}}else i.isCustomAttribute(t)&&e.removeAttribute(t)}});e.exports=s},function(e,t,n){"use strict";var r=n(223),i=n(88),o=n(99),s=n(100),a=n(3),l={},c=null,u=function(e){if(e){var t=i.executeDispatch,n=r.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),i.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},d=null,h={injection:{injectMount:i.injection.injectMount,injectInstanceHandle:function(e){d=e},getInstanceHandle:function(){return d},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(e,t,n){a(!n||"function"==typeof n);var r=l[t]||(l[t]={});r[e]=n},getListener:function(e,t){var n=l[t];return n&&n[e]},deleteListener:function(e,t){var n=l[t];n&&delete n[e]},deleteAllListeners:function(e){for(var t in l)delete l[t][e]},extractEvents:function(e,t,n,i){for(var s,a=r.plugins,l=0,c=a.length;c>l;l++){var u=a[l];if(u){var d=u.extractEvents(e,t,n,i);d&&(s=o(s,d))}}return s},enqueueEvents:function(e){e&&(c=o(c,e))},processEventQueue:function(){var e=c;c=null,s(e,u),a(!c)},__purge:function(){l={}},__getListenerBank:function(){return l}};e.exports=h},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return g(e,r)}function i(e,t,n){var i=t?m.bubbled:m.captured,o=r(e,n,i);o&&(n._dispatchListeners=p(n._dispatchListeners,o),n._dispatchIDs=p(n._dispatchIDs,e))}function o(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,i,e)}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,i=g(e,r);i&&(n._dispatchListeners=p(n._dispatchListeners,i),n._dispatchIDs=p(n._dispatchIDs,e))}}function a(e){e&&e.dispatchConfig.registrationName&&s(e.dispatchMarker,null,e)}function l(e){f(e,o)}function c(e,t,n,r){h.injection.getInstanceHandle().traverseEnterLeave(n,r,s,e,t)}function u(e){f(e,a)}var d=n(16),h=n(57),p=n(99),f=n(100),m=d.PropagationPhases,g=h.getListener,v={accumulateTwoPhaseDispatches:l,accumulateDirectDispatches:u,accumulateEnterLeaveDispatches:c};e.exports=v},function(e,t,n){"use strict";function r(){if(y.current){var e=y.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function i(e){var t=e&&e.getPublicInstance();if(t){var n=t.constructor;if(n)return n.displayName||n.name||void 0}}function o(){var e=y.current;return e&&i(e)||void 0}function s(e,t){e._store.validated||null!=e.key||(e._store.validated=!0,l('Each child in an array or iterator should have a unique "key" prop.',e,t))}function a(e,t,n){A.test(e)&&l("Child objects should have non-numeric keys so ordering is preserved.",t,n)}function l(e,t,n){var r=o(),s="string"==typeof n?n:n.displayName||n.name,a=r||s,l=E[e]||(E[e]={});if(!l.hasOwnProperty(a)){l[a]=!0;var c="";if(t&&t._owner&&t._owner!==y.current){var u=i(t._owner);c=" It was passed a child from "+u+"."}}}function c(e,t){if(Array.isArray(e))for(var n=0;n");var a="";i&&(a=" The element was created by "+i+".")}}function h(e,t){return e!==e?t!==t:0===e&&0===t?1/e===1/t:e===t}function p(e){if(e._store){var t=e._store.originalProps,n=e.props;for(var r in n)n.hasOwnProperty(r)&&(t.hasOwnProperty(r)&&h(t[r],n[r])||(d(r,e),t[r]=n[r]))}}function f(e){if(null!=e.type){var t=_.getComponentClassForElement(e),n=t.displayName||t.name;t.propTypes&&u(n,t.propTypes,e.props,v.prop),"function"==typeof t.getDefaultProps}}var m=n(9),g=n(48),v=n(97),y=(n(70),n(36)),_=n(69),b=n(241),w=n(3),E=(n(8),{}),C={},A=/^\d+$/,x={},k={checkAndWarnForMutatedProps:p,createElement:function(e,t,n){var r=m.createElement.apply(this,arguments);if(null==r)return r;for(var i=2;i=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function g(e){return+e!=e&&(e=0),s.alloc(+e)}function v(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function y(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return S(this,t,n);case"latin1":case"binary":return F(this,t,n);case"base64":return L(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function _(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:w(e,t,n,r,i);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):w(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function w(e,t,n,r,i){function o(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}var s=1,a=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,n/=2}var c;if(i){var u=-1;for(c=n;ca&&(n=a-l),c=n;c>=0;c--){for(var h=!0,d=0;di&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s239?4:o>223?3:o>191?2:1;if(i+a<=n){var l,c,u,h;switch(a){case 1:o<128&&(s=o);break;case 2:l=e[i+1],128===(192&l)&&(h=(31&o)<<6|63&l,h>127&&(s=h));break;case 3:l=e[i+1],c=e[i+2],128===(192&l)&&128===(192&c)&&(h=(15&o)<<12|(63&l)<<6|63&c,h>2047&&(h<55296||h>57343)&&(s=h));break;case 4:l=e[i+1],c=e[i+2],u=e[i+3],128===(192&l)&&128===(192&c)&&128===(192&u)&&(h=(15&o)<<18|(63&l)<<12|(63&c)<<6|63&u,h>65535&&h<1114112&&(s=h))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=a}return T(r)}function T(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,n,r,i,o){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function P(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function $(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function Y(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,r,i){return i||Y(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,i){return i||Y(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,n,r,52,8),n+8}function W(e){if(e=H(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function H(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],s=0;s55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function V(e){for(var t=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function G(e){return J.toByteArray(W(e))}function K(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function X(e){return e!==e}var J=n(463),Q=n(132),Z=n(89);t.Buffer=s,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:r(),t.kMaxLength=i(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,n){return a(null,e,t,n)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,n){return c(null,e,t,n)},s.allocUnsafe=function(e){return u(null,e)},s.allocUnsafeSlow=function(e){return u(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},s.prototype.compare=function(e,t,n,r,i){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,l=Math.min(o,a),c=this.slice(r,i),u=e.slice(t,n),h=0;hi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return E(this,e,t,n);case"utf8":case"utf-8":return C(this,e,t,n);case"ascii":return A(this,e,t,n);case"latin1":case"binary":return x(this,e,t,n);case"base64":return k(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUInt8=function(e,t){return t||B(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||B(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||B(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||B(e,t,this.length);for(var r=this[e],i=1,o=0;++o=i&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||B(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return t||B(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},s.prototype.readInt16LE=function(e,t){t||B(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){t||B(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||B(e,4,this.length),Q.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||B(e,4,this.length),Q.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||B(e,8,this.length),Q.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||B(e,8,this.length),Q.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;O(this,e,t,n,i,0)}var o=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+o]=e/s&255;return t+n},s.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):$(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):$(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);O(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);O(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):$(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):$(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o=2,"Insufficient arguments"),t.assert("string"==typeof e||"object"==typeof e,"Reference must be string or an object"),t.assert(n.length,"Values array cannot be empty");var o,s;if(r.deep){o=t.deepEqual;var a=r.hasOwnProperty("only"),l=r.hasOwnProperty("part");s={prototype:a?r.only:!!l&&!r.part,part:a?!r.only:!l||r.part}}else o=function(e,t){return e===t};for(var c=!1,u=new Array(n.length),h=0,d=u.length;h1||!r.part&&!u[h])return!1;return(!r.only||!c)&&C},t.flatten=function(e,n){for(var r=n||[],i=0,o=e.length;i\?@\[\]\^`\{\|\}~\"\\]*$/.test(e),"Bad attribute value ("+e+")"),e.replace(/\\/g,"\\\\").replace(/\"/g,'\\"')},t.escapeHtml=function(e){return a.escapeHtml(e)},t.escapeJavaScript=function(e){return a.escapeJavaScript(e)},t.nextTick=function(e){return function(){var t=arguments;r.nextTick(function(){e.apply(null,t)})}},t.once=function(e){if(e._hoekOnce)return e;var t=!1,n=function(){t||(t=!0,e.apply(null,arguments))};return n._hoekOnce=!0,n},t.isAbsolutePath=function(e,t){return!!e&&(o.isAbsolute?o.isAbsolute(e):(t=t||r.platform,"win32"!==t?"/"===e[0]:!!/^(?:[a-zA-Z]:[\\\/])|(?:[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/])/.test(e)))},t.isInteger=function(e){return"number"==typeof e&&parseFloat(e)===parseInt(e,10)&&!isNaN(e)},t.ignore=function(){},t.inherits=s.inherits,t.format=s.format,t.transform=function(e,n,r){if(t.assert(null===e||void 0===e||"object"==typeof e||Array.isArray(e),"Invalid source object: must be null, undefined, an object, or an array"),Array.isArray(e)){for(var i=[],o=0,s=e.length;o1;)p=d.shift(),m[p]||(m[p]={}),m=m[p];p=d.shift(),m[p]=t.reach(e,f,r)}return a},t.uniqueFilename=function(e,t){t=t?"."!==t[0]?"."+t:t:"",e=o.resolve(e);var n=[Date.now(),r.pid,i.randomBytes(8).toString("hex")].join("-")+t;return o.join(e,n)},t.stringify=function(){try{return JSON.stringify.apply(null,arguments)}catch(e){return"[Cannot display object: "+e.message+"]"}},t.shallow=function(e){for(var t={},n=Object.keys(e),r=0,i=n.length;r0&&this._events[e].length>i&&(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())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,i,s,a;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],s=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(a=s;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){i=a;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.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],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){(function(t){var r=n(13),i=n(41),o=n(30),s=null,a=null,l={};l.defaults={abortEarly:!0,convert:!0,allowUnknown:!1,skipFunctions:!1,stripUnknown:!1,language:{},presence:"optional",raw:!1,strip:!1},l.checkOptions=function(e){for(var t={abortEarly:"boolean",convert:"boolean",allowUnknown:"boolean",skipFunctions:"boolean",stripUnknown:"boolean",language:"object",presence:["string","required","optional","forbidden","ignore"],raw:"boolean",context:"object",strip:"boolean"},n=Object.keys(e),i=0,o=n.length;i=0,s+" should be one of "+c.join(", "))}},e.exports=l.Any=function(){a=a||n(56),this.isJoi=!0,this._type="any",this._settings=null,this._valids=new l.Set,this._invalids=new l.Set,this._tests=[],this._refs=[],this._flags={},this._description=null,this._unit=null,this._notes=[],this._tags=[],this._examples=[],this._meta=[],this._inner={}},l.Any.prototype.isImmutable=!0,l.Any.prototype.clone=function(){var e=Object.create(Object.getPrototypeOf(this));e.isJoi=!0,e._type=this._type,e._settings=l.concatSettings(this._settings),e._valids=r.clone(this._valids),e._invalids=r.clone(this._invalids),e._tests=this._tests.slice(),e._refs=this._refs.slice(),e._flags=r.clone(this._flags),e._description=this._description,e._unit=this._unit,e._notes=this._notes.slice(),e._tags=this._tags.slice(),e._examples=this._examples.slice(),e._meta=this._meta.slice(),e._inner={};for(var t=Object.keys(this._inner),n=0,i=t.length;n=0?p[m[y]]={key:y,schema:p[m[y]].schema.concat(f[g].schema)}:p.push(f[g])}}else t._inner[d]=t._inner[d].concat(f);else t._inner[d]=f.slice()}}return t},l.Any.prototype._test=function(e,t,n){r.assert(!this._flags.allowOnly,"Cannot define rules when valid values specified");var i=this.clone();return i._tests.push({func:n,name:e,arg:t}),i},l.Any.prototype.options=function(e){r.assert(!e.context,"Cannot override context"),l.checkOptions(e);var t=this.clone();return t._settings=l.concatSettings(t._settings,e),t},l.Any.prototype.strict=function(e){var t=this.clone();return t._settings=t._settings||{},t._settings.convert=void 0!==e&&!e,t},l.Any.prototype.raw=function(e){var t=this.clone();return t._settings=t._settings||{},t._settings.raw=void 0===e||e,t},l.Any.prototype._allow=function(){for(var e=r.flatten(Array.prototype.slice.call(arguments)),t=0,n=e.length;t0,"description must be provided when default value is a function"));var n=this.clone();return n._flags.default=e,i.push(n._refs,e),n},l.Any.prototype.empty=function(e){var t;return void 0===e?(t=this.clone(),t._flags.empty=void 0):(e=a.schema(e),t=this.clone(),t._flags.empty=e),t},l.Any.prototype.when=function(e,t){r.assert(t&&"object"==typeof t,"Invalid options"),r.assert(void 0!==t.then||void 0!==t.otherwise,'options must have at least one of "then" or "otherwise"');var i=t.then?this.concat(a.schema(t.then)):this,o=t.otherwise?this.concat(a.schema(t.otherwise)):this;s=s||n(90);var l=s.when(e,{is:t.is,then:i,otherwise:o});return l._flags.presence="ignore",l},l.Any.prototype.description=function(e){r.assert(e&&"string"==typeof e,"Description must be a non-empty string");var t=this.clone();return t._description=e,t},l.Any.prototype.notes=function(e){r.assert(e&&("string"==typeof e||Array.isArray(e)),"Notes must be a non-empty string or array");var t=this.clone();return t._notes=t._notes.concat(e),t},l.Any.prototype.tags=function(e){r.assert(e&&("string"==typeof e||Array.isArray(e)),"Tags must be a non-empty string or array");var t=this.clone();return t._tags=t._tags.concat(e),t},l.Any.prototype.meta=function(e){r.assert(void 0!==e,"Meta cannot be undefined");var t=this.clone();return t._meta=t._meta.concat(e),t},l.Any.prototype.example=function(e){r.assert(arguments.length,"Missing example");var t=this._validate(e,null,l.defaults);r.assert(!t.errors,"Bad example:",t.errors&&o.process(t.errors,e));var n=this.clone();return n._examples=n._examples.concat(e),n},l.Any.prototype.unit=function(e){r.assert(e&&"string"==typeof e,"Unit name must be a non-empty string");var t=this.clone();return t._unit=e,t},l._try=function(e,t){var n,r;try{r=e.call(null,t)}catch(e){n=e}return{value:r,error:n}},l.Any.prototype._validate=function(e,t,n,s){var a=this,c=e;t=t||{key:"",path:"",parent:null,reference:s},this._settings&&(n=l.concatSettings(n,this._settings));var u=[],h=function(){var s;if(!a._flags.strip)if(void 0!==e)s=n.raw?c:e;else if(i.isRef(a._flags.default))s=a._flags.default(t.parent,n);else if("function"!=typeof a._flags.default||"func"===a._type&&!a._flags.default.description)s=a._flags.default;else{var h;null!==t.parent&&a._flags.default.length>0&&(h=r.clone(t.parent));var d=l._try(a._flags.default,h);s=d.value,d.error&&u.push(o.create("any.default",d.error,t,n))}return{value:s,errors:u.length?u:null}},d=this._flags.presence||n.presence;if("optional"===d){if(void 0===e){var f=this._flags.hasOwnProperty("default")&&void 0===this._flags.default;if(!f||"object"!==this._type)return h();e={}}}else{if("required"===d&&void 0===e)return u.push(o.create("any.required",null,t,n)),h();if("forbidden"===d)return void 0===e?h():(u.push(o.create("any.unknown",null,t,n)),h())}if(this._flags.empty&&!this._flags.empty._validate(e,null,l.defaults).errors)return e=void 0,h();if(this._valids.has(e,t,n,this._flags.insensitive))return h();if(this._invalids.has(e,t,n,this._flags.insensitive)&&(u.push(o.create(""===e?"any.empty":"any.invalid",null,t,n)),n.abortEarly||void 0===e))return h();if(this._base){var p=this._base.call(this,e,t,n);if(p.errors)return e=p.value,u=u.concat(p.errors),h();if(p.value!==e){if(e=p.value,this._valids.has(e,t,n,this._flags.insensitive))return h();if(this._invalids.has(e,t,n,this._flags.insensitive)&&(u.push(o.create("any.invalid",null,t,n)),n.abortEarly))return h()}}if(this._flags.allowOnly&&(u.push(o.create("any.allowOnly",{valids:this._valids.values({stripUndefined:!0})},t,n)),n.abortEarly))return h();for(var m=0,g=this._tests.length;m2&&"!"===n[0]&&"!"===n[1];a&&(n=n.slice(2)),s||a||(n=(r.reach(t,"key")||r.reach(i.errors,"key"))+n);var l=r.reach(t,"messages.wrapArrays"); +"boolean"!=typeof l&&(l=i.errors.messages.wrapArrays);var c=n.replace(/\{\{(\!?)([^}]+)\}\}/g,function(t,n,i){var s=r.reach(e.context,i),a=o.stringify(s,l);return n?r.escapeHtml(a):a});return c},t.create=function(e,t,n,r){return new o.Err(e,t,n,r)},t.process=function(e,t){if(!e||!e.length)return null;var n="",r=[],i=function(e,t){for(var s=0,a=e.length;s0){var o=n.indexOf(this);~o?(n.length=o+1,t.length=o+1,t[o]=r):(n.push(this),t.push(r)),~n.indexOf(i)&&(i=e.call(this,r,i))}else n.push(i);return i}},o.annotate=function(){for(var e=r.clone(this._object||{}),t={},n=this.details.length,i=n-1;i>=0;--i)for(var s=n-i,a=this.details[i],l=a.path.split("."),c=e,u=0,h=l.length;u should not have a "'+t+'" prop')},route:i.instanceOf(o),router:i.func});e.exports=s},function(e,t,n){e.exports=n(416)},function(e,t,n){"use strict";var r=n(3),i=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},o=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},s=function(e,t,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,e,t,n),i}return new r(e,t,n)},a=function(e,t,n,r,i){var o=this;if(o.instancePool.length){var s=o.instancePool.pop();return o.call(s,e,t,n,r,i),s}return new o(e,t,n,r,i)},l=function(e){var t=this;r(e instanceof t),e.destructor&&e.destructor(),t.instancePool.length1)for(var n=1;n=0&&(l[n]=t,u.emitChange())}}),e.exports=u},function(e,t,n){var r=n(13);t.create=function(e,t){r.assert("string"==typeof e,"Invalid reference key:",e);var n=r.clone(t),i=function(e,t){return r.reach(i.isContext?t.context:e,i.key,n)};return i.isContext=e[0]===(n&&n.contextPrefix||"$"),i.key=i.isContext?e.slice(1):e,i.path=i.key.split(n&&n.separator||"."),i.depth=i.path.length,i.root=i.path[0],i.isJoi=!0,i.toString=function(){return(i.isContext?"context:":"ref:")+i.key},i},t.isRef=function(e){return"function"==typeof e&&e.isJoi},t.push=function(e,n){t.isRef(n)&&!n.isContext&&e.push(n.root)}},function(e,t,n){"use strict";var r,i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var n=0;n'}}],[{key:"createRoute",value:function(t,n){t=t||{},"string"==typeof t&&(t={path:t});var i=r;i?l(null==t.parentRoute||t.parentRoute===i,"You should not use parentRoute with createRoute inside another route's child callback; it is ignored"):i=t.parentRoute;var o=t.name,s=t.path||o;!s||t.isDefault||t.isNotFound?s=i?i.path:"/":c.isAbsolute(s)?i&&a(s===i.path||0===i.paramNames.length,'You cannot nest path "%s" inside "%s"; the parent requires URL parameters',s,i.path):s=i?c.join(i.path,s):"/"+s,t.isNotFound&&!/\*$/.test(s)&&(s+="*");var u=new e(o,s,t.ignoreScrollBehavior,t.isDefault,t.isNotFound,t.onEnter,t.onLeave,t.handler);if(i&&(u.isDefault?(a(null==i.defaultRoute,"%s may not have more than one default route",i),i.defaultRoute=u):u.isNotFound&&(a(null==i.notFoundRoute,"%s may not have more than one not found route",i),i.notFoundRoute=u),i.appendChild(u)),"function"==typeof n){var h=r;r=u,n.call(u,u),r=h}return u}},{key:"createDefaultRoute",value:function(t){return e.createRoute(s({},t,{isDefault:!0}))}},{key:"createNotFoundRoute",value:function(t){return e.createRoute(s({},t,{isNotFound:!0}))}},{key:"createRedirect",value:function(t){return e.createRoute(s({},t,{path:t.path||t.from||"*",onEnter:function(e,n,r){e.redirect(t.to,t.params||n,t.query||r)}}))}}]),e}();e.exports=u},function(e,t,n){"use strict";var r=n(99),i=n(245),o=n(246),s=n(17),a=n(104),l=n(37),c=n(9),u=(n(63),n(389)),h=n(248),d=n(400),f=n(51),p=n(38),m=n(44),g=n(252),v=n(53),y=n(411),_=n(5),b=n(259),w=n(267);d.inject();var E=c.createElement,C=c.createFactory,A=c.cloneElement,x=m.measure("React","render",p.render),k={Children:{map:i.map,forEach:i.forEach,count:i.count,only:w},Component:o,DOM:u,PropTypes:g,initializeTouchEvents:function(e){r.useTouchEvents=e},createClass:s.createClass,createElement:E,cloneElement:A,createFactory:C,createMixin:function(e){return e},constructAndRenderComponent:p.constructAndRenderComponent,constructAndRenderComponentByID:p.constructAndRenderComponentByID,findDOMNode:b,render:x,renderToString:y.renderToString,renderToStaticMarkup:y.renderToStaticMarkup,unmountComponentAtNode:p.unmountComponentAtNode,isValidElement:c.isValidElement,withContext:a.withContext,__spread:_};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:l,InstanceHandles:f,Mount:p,Reconciler:v,TextComponent:h});k.version="0.13.3",e.exports=k},function(e,t,n){"use strict";function r(e,t,n){return n}var i={enableMeasure:!1,storedMeasure:r,measureMethods:function(e,t,n){},measure:function(e,t,n){return n},injection:{injectMeasure:function(e){i.storedMeasure=e}}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n;var r=this.constructor.Interface;for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];o?this[i]=o(n):this[i]=n[i]}var a=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;a?this.isDefaultPrevented=s.thatReturnsTrue:this.isDefaultPrevented=s.thatReturnsFalse,this.isPropagationStopped=s.thatReturnsFalse}var i=n(35),o=n(5),s=n(31),a=n(114),l={type:null,target:a,currentTarget:s.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=s.thatReturnsTrue},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=s.thatReturnsTrue},persist:function(){this.isPersistent=s.thatReturnsTrue},isPersistent:s.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),r.Interface=l,r.augmentClass=function(e,t){var n=this,r=Object.create(n.prototype);o(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.threeArgumentPooler)},i.addPoolingTo(r,i.threeArgumentPooler),e.exports=r},function(e,t,n){"use strict";function r(e){return this instanceof r?(c.call(this,e),u.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||s.nextTick(o,this)}function o(e){e.end()}var s=n(70),a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=r;var l=n(55);l.inherits=n(54);var c=n(272),u=n(120);l.inherits(r,c);for(var h=a(u.prototype),d=0;d1){var t=e.indexOf(f,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,i){var o=c(e,t);o!==e&&u(e,o,n,r,!1,!0),o!==t&&u(o,t,n,i,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(u("",e,t,n,!0,!1),u(e,"",t,n,!1,!0))},traverseAncestors:function(e,t,n){u("",e,t,n,!0,!1)},_getFirstCommonAncestorID:c,_getNextDescendantID:l,isAncestorIDOf:s,SEPARATOR:f};e.exports=g},function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=n},function(e,t,n){"use strict";function r(){i.attachRefs(this,this._currentElement)}var i=n(410),o=(n(63),{mountComponent:function(e,t,n,i){var o=e.mountComponent(t,n,i);return n.getReactMountReady().enqueue(r,e),o},unmountComponent:function(e){i.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,n,o){var s=e._currentElement;if(t!==s||null==t._owner){var a=i.shouldUpdateRefs(s,t);a&&i.detachRefs(e,s),e.receiveComponent(t,n,o),a&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}});e.exports=o},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(e){return"boolean"==typeof e}function i(e){return null===e}function o(e){return null==e}function s(e){return"number"==typeof e}function a(e){return"string"==typeof e}function l(e){return"symbol"==typeof e}function c(e){return void 0===e}function u(e){return"[object RegExp]"===g(e)}function h(e){return"object"==typeof e&&null!==e}function d(e){return"[object Date]"===g(e)}function f(e){return"[object Error]"===g(e)||e instanceof Error}function p(e){return"function"==typeof e}function m(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,t.isNull=i,t.isNullOrUndefined=o,t.isNumber=s,t.isString=a,t.isSymbol=l,t.isUndefined=c,t.isRegExp=u,t.isObject=h,t.isDate=d,t.isError=f,t.isFunction=p,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(t,n(10).Buffer)},function(e,t,n){var r=n(13),i=n(41),o={any:null,date:n(91),string:n(136),number:n(134),boolean:n(133),alt:null,object:null};t.schema=function(e){return o.any=o.any||new(n(22)),o.alt=o.alt||n(90),o.object=o.object||n(135),e&&"object"==typeof e?e.isJoi?e:Array.isArray(e)?o.alt.try(e):e instanceof RegExp?o.string.regex(e):e instanceof Date?o.date.valid(e):o.object.keys(e):"string"==typeof e?o.string.valid(e):"number"==typeof e?o.number.valid(e):"boolean"==typeof e?o.boolean.valid(e):i.isRef(e)?o.any.valid(e):(r.assert(null===e,"Invalid schema content:",e),o.any.valid(null))},t.ref=function(e){return i.isRef(e)?e:i.create(e)}},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return a(n)?n:void 0}function i(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=v}function o(e){return s(e)&&p.call(e)==c}function s(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function a(e){return null!=e&&(o(e)?m.test(d.call(e)):n(e)&&u.test(e))}var l="[object Array]",c="[object Function]",u=/^\[object .+?Constructor\]$/,h=Object.prototype,d=Function.prototype.toString,f=h.hasOwnProperty,p=h.toString,m=RegExp("^"+d.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=r(Array,"isArray"),v=9007199254740991,y=g||function(e){return n(e)&&i(e.length)&&p.call(e)==l};e.exports=y},function(e,t){"use strict";var n={PUSH:"push",REPLACE:"replace",POP:"pop"};e.exports=n},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;ti.bottom||r.top-1)return!1;if(this.props.filterOption)return this.props.filterOption.call(this,e,n);var t=String(e.value),i=String(e.label);return n&&"start"!==this.props.matchPos?"label"!==this.props.matchProp&&t.toLowerCase().indexOf(n.toLowerCase())>=0||"value"!==this.props.matchProp&&i.toLowerCase().indexOf(n.toLowerCase())>=0:"label"!==this.props.matchProp&&t.toLowerCase().substr(0,n.length)===n||"value"!==this.props.matchProp&&i.toLowerCase().substr(0,n.length)===n};return(e||[]).filter(i,this)},selectFocusedOption:function(){return this.selectValue(this.state.focusedOption)},focusOption:function(e){this.setState({focusedOption:e})},focusNextOption:function(){this.focusAdjacentOption("next")},focusPreviousOption:function(){this.focusAdjacentOption("previous")},focusAdjacentOption:function(e){this._focusedOptionReveal=!0;var t=this.state.filteredOptions;if(!this.state.isOpen)return void this.setState({isOpen:!0,inputValue:"",focusedOption:this.state.focusedOption||t["next"===e?0:t.length-1]},this._bindCloseMenuIfClickedOutside);if(t.length){for(var n=-1,r=0;r-1&&n0?t[n-1]:t[t.length-1]),this.setState({focusedOption:i})}},unfocusOption:function(e){this.state.focusedOption===e&&this.setState({focusedOption:null})},buildMenu:function(){var e=this.state.focusedOption?this.state.focusedOption.value:null;this.state.filteredOptions.length>0&&(e=null==e?this.state.filteredOptions[0]:e);var t=Object.keys(this.state.filteredOptions).map(function(t){var n=this.state.filteredOptions[t],r=e===n.value,o=s({"Select-option":!0,"is-focused":r,"is-disabled":n.disabled}),a=r?"focused":null,l=this.focusOption.bind(this,n),c=this.unfocusOption.bind(this,n),u=this.selectValue.bind(this,n);return n.disabled?i.createElement("div",{ref:a,key:"option-"+n.value,className:o},n.label):i.createElement("div",{ref:a,key:"option-"+n.value,className:o,onMouseEnter:l,onMouseLeave:c,onMouseDown:u,onClick:u},n.label)},this);return t.length?t:i.createElement("div",{className:"Select-noresults"},this.props.asyncOptions&&!this.state.inputValue?this.props.searchPromptText:this.props.noResultsText)},handleOptionLabelClick:function(e,t){var n=this.props.onOptionLabelClick;n&&n(e,t)},render:function(){var e=s("Select",this.props.className,{"is-multi":this.props.multi,"is-searchable":this.props.searchable,"is-open":this.state.isOpen,"is-focused":this.state.isFocused,"is-loading":this.state.isLoading,"is-disabled":this.props.disabled,"has-value":this.state.value}),t=[];this.props.multi&&this.state.values.forEach(function(e){var n={key:e.value,optionLabelClick:!!this.props.onOptionLabelClick,onOptionLabelClick:this.handleOptionLabelClick.bind(this,e),onRemove:this.removeValue.bind(this,e)};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);t.push(i.createElement(a,n))},this),!this.props.disabled&&(this.state.inputValue||this.props.multi&&t.length)||t.push(i.createElement("div",{className:"Select-placeholder",key:"placeholder"},this.state.placeholder));var n,l,c=this.state.isLoading?i.createElement("span",{className:"Select-loading","aria-hidden":"true"}):null,u=this.props.clearable&&this.state.value&&!this.props.disabled?i.createElement("span",{className:"Select-clear",title:this.props.multi?this.props.clearAllText:this.props.clearValueText,"aria-label":this.props.multi?this.props.clearAllText:this.props.clearValueText,onMouseDown:this.clearValue,onClick:this.clearValue,dangerouslySetInnerHTML:{__html:"×"}}):null;this.state.isOpen&&(l={ref:"menu",className:"Select-menu"},this.props.multi&&(l.onMouseDown=this.handleMouseDown),n=i.createElement("div",{ref:"selectMenuContainer",className:"Select-menu-outer"},i.createElement("div",l,this.buildMenu())));var h,d={ref:"input",className:"Select-input",tabIndex:this.props.tabIndex||0,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur};for(var f in this.props.inputProps)this.props.inputProps.hasOwnProperty(f)&&(d[f]=this.props.inputProps[f]);return h=this.props.searchable&&!this.props.disabled?i.createElement(o,r({value:this.state.inputValue,onChange:this.handleInputChange,minWidth:"5"},d)):i.createElement("div",d," "),i.createElement("div",{ref:"wrapper",className:e},i.createElement("input",{type:"hidden",ref:"value",name:this.props.name,value:this.state.value,disabled:this.props.disabled}),i.createElement("div",{className:"Select-control",ref:"control",onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},t,h,i.createElement("span",{className:"Select-arrow"}),c,u),n)}});e.exports=c},function(e,t,n){"use strict";function r(e,t){return null==t||i.hasBooleanValue[e]&&!t||i.hasNumericValue[e]&&isNaN(t)||i.hasPositiveNumericValue[e]&&t<1||i.hasOverloadedBooleanValue[e]&&t===!1}var i=n(48),o=n(448),s=(n(8),{createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+o(e)},createMarkupForProperty:function(e,t){if(i.isStandardName.hasOwnProperty(e)&&i.isStandardName[e]){if(r(e,t))return"";var n=i.getAttributeName[e];return i.hasBooleanValue[e]||i.hasOverloadedBooleanValue[e]&&t===!0?n:n+"="+o(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+o(t):null},setValueForProperty:function(e,t,n){if(i.isStandardName.hasOwnProperty(t)&&i.isStandardName[t]){var o=i.getMutationMethod[t];if(o)o(e,n);else if(r(t,n))this.deleteValueForProperty(e,t);else if(i.mustUseAttribute[t])e.setAttribute(i.getAttributeName[t],""+n);else{var s=i.getPropertyName[t];i.hasSideEffects[t]&&""+e[s]==""+n||(e[s]=n)}}else i.isCustomAttribute(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForProperty:function(e,t){if(i.isStandardName.hasOwnProperty(t)&&i.isStandardName[t]){var n=i.getMutationMethod[t];if(n)n(e,void 0);else if(i.mustUseAttribute[t])e.removeAttribute(i.getAttributeName[t]);else{var r=i.getPropertyName[t],o=i.getDefaultValueForProperty(e.nodeName,r);i.hasSideEffects[t]&&""+e[r]===o||(e[r]=o)}}else i.isCustomAttribute(t)&&e.removeAttribute(t)}});e.exports=s},function(e,t,n){"use strict";var r=n(244),i=n(99),o=n(110),s=n(111),a=n(3),l={},c=null,u=function(e){if(e){var t=i.executeDispatch,n=r.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),i.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},h=null,d={injection:{injectMount:i.injection.injectMount,injectInstanceHandle:function(e){h=e},getInstanceHandle:function(){return h},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(e,t,n){a(!n||"function"==typeof n);var r=l[t]||(l[t]={});r[e]=n},getListener:function(e,t){var n=l[t];return n&&n[e]},deleteListener:function(e,t){var n=l[t];n&&delete n[e]},deleteAllListeners:function(e){for(var t in l)delete l[t][e]},extractEvents:function(e,t,n,i){for(var s,a=r.plugins,l=0,c=a.length;l");var a="";i&&(a=" The element was created by "+i+".")}}function d(e,t){return e!==e?t!==t:0===e&&0===t?1/e===1/t:e===t}function f(e){if(e._store){var t=e._store.originalProps,n=e.props;for(var r in n)n.hasOwnProperty(r)&&(t.hasOwnProperty(r)&&d(t[r],n[r])||(h(r,e),t[r]=n[r]))}}function p(e){if(null!=e.type){var t=_.getComponentClassForElement(e),n=t.displayName||t.name;t.propTypes&&u(n,t.propTypes,e.props,v.prop),"function"==typeof t.getDefaultProps}}var m=n(9),g=n(50),v=n(108),y=(n(76),n(37)),_=n(75),b=n(262),w=n(3),E=(n(8),{}),C={},A=/^\d+$/,x={},k={checkAndWarnForMutatedProps:f,createElement:function(e,t,n){var r=m.createElement.apply(this,arguments);if(null==r)return r;for(var i=2;i-1?l(e,t,n):t.indexOf("%")>-1?c(e,t,n):t.indexOf(":")>-1?u(e,t):h(e._value,t,n)}function a(e,t){var n,r,i,o,s,a=t,l=["KB","MB","GB","TB","PB","EB","ZB","YB"],c=!1;if(t.indexOf(":")>-1)e._value=d(t);else if(t===b)e._value=0;else{for("."!==y[_].delimiters.decimal&&(t=t.replace(/\./g,"").replace(y[_].delimiters.decimal,".")),n=new RegExp("[^a-zA-Z]"+y[_].abbreviations.thousand+"(?:\\)|(\\"+y[_].currency.symbol+")?(?:\\))?)?$"),r=new RegExp("[^a-zA-Z]"+y[_].abbreviations.million+"(?:\\)|(\\"+y[_].currency.symbol+")?(?:\\))?)?$"),i=new RegExp("[^a-zA-Z]"+y[_].abbreviations.billion+"(?:\\)|(\\"+y[_].currency.symbol+")?(?:\\))?)?$"),o=new RegExp("[^a-zA-Z]"+y[_].abbreviations.trillion+"(?:\\)|(\\"+y[_].currency.symbol+")?(?:\\))?)?$"),s=0;s<=l.length&&!(c=t.indexOf(l[s])>-1?Math.pow(1024,s+1):!1);s++);e._value=(c?c:1)*(a.match(n)?Math.pow(10,3):1)*(a.match(r)?Math.pow(10,6):1)*(a.match(i)?Math.pow(10,9):1)*(a.match(o)?Math.pow(10,12):1)*(t.indexOf("%")>-1?.01:1)*((t.split("-").length+Math.min(t.split("(").length-1,t.split(")").length-1))%2?1:-1)*Number(t.replace(/[^0-9\.]+/g,"")),e._value=c?Math.ceil(e._value):e._value}return e._value}function l(e,t,n){var r,i,o=t.indexOf("$"),s=t.indexOf("("),a=t.indexOf("-"),l="";return t.indexOf(" $")>-1?(l=" ",t=t.replace(" $","")):t.indexOf("$ ")>-1?(l=" ",t=t.replace("$ ","")):t=t.replace("$",""),i=h(e._value,t,n),1>=o?i.indexOf("(")>-1||i.indexOf("-")>-1?(i=i.split(""),r=1,(s>o||a>o)&&(r=0),i.splice(r,0,y[_].currency.symbol+l),i=i.join("")):i=y[_].currency.symbol+l+i:i.indexOf(")")>-1?(i=i.split(""),i.splice(-1,0,l+y[_].currency.symbol),i=i.join("")):i=i+l+y[_].currency.symbol,i}function c(e,t,n){var r,i="",o=100*e._value;return t.indexOf(" %")>-1?(i=" ",t=t.replace(" %","")):t=t.replace("%",""),r=h(o,t,n),r.indexOf(")")>-1?(r=r.split(""),r.splice(-1,0,i+"%"),r=r.join("")):r=r+i+"%",r}function u(e){var t=Math.floor(e._value/60/60),n=Math.floor((e._value-60*t*60)/60),r=Math.round(e._value-60*t*60-60*n);return t+":"+(10>n?"0"+n:n)+":"+(10>r?"0"+r:r)}function d(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}function h(e,t,n){var r,i,s,a,l,c,u=!1,d=!1,h=!1,p="",f=!1,m=!1,g=!1,v=!1,w=!1,E="",C="",A=Math.abs(e),x=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],k="",D=!1;if(0===e&&null!==b)return b;if(t.indexOf("(")>-1?(u=!0,t=t.slice(1,-1)):t.indexOf("+")>-1&&(d=!0,t=t.replace(/\+/g,"")),t.indexOf("a")>-1&&(f=t.indexOf("aK")>=0,m=t.indexOf("aM")>=0,g=t.indexOf("aB")>=0,v=t.indexOf("aT")>=0,w=f||m||g||v,t.indexOf(" a")>-1?(p=" ",t=t.replace(" a","")):t=t.replace("a",""),A>=Math.pow(10,12)&&!w||v?(p+=y[_].abbreviations.trillion,e/=Math.pow(10,12)):A=Math.pow(10,9)&&!w||g?(p+=y[_].abbreviations.billion,e/=Math.pow(10,9)):A=Math.pow(10,6)&&!w||m?(p+=y[_].abbreviations.million,e/=Math.pow(10,6)):(A=Math.pow(10,3)&&!w||f)&&(p+=y[_].abbreviations.thousand,e/=Math.pow(10,3))),t.indexOf("b")>-1)for(t.indexOf(" b")>-1?(E=" ",t=t.replace(" b","")):t=t.replace("b",""),s=0;s<=x.length;s++)if(r=Math.pow(1024,s),i=Math.pow(1024,s+1),e>=r&&i>e){E+=x[s],r>0&&(e/=r);break}return t.indexOf("o")>-1&&(t.indexOf(" o")>-1?(C=" ",t=t.replace(" o","")):t=t.replace("o",""),C+=y[_].ordinal(e)),t.indexOf("[.]")>-1&&(h=!0,t=t.replace("[.]",".")),a=e.toString().split(".")[0],l=t.split(".")[1],c=t.indexOf(","),l?(l.indexOf("[")>-1?(l=l.replace("]",""),l=l.split("["),k=o(e,l[0].length+l[1].length,n,l[1].length)):k=o(e,l.length,n),a=k.split(".")[0],k=k.split(".")[1].length?y[_].delimiters.decimal+k.split(".")[1]:"",h&&0===Number(k.slice(1))&&(k="")):a=o(e,null,n),a.indexOf("-")>-1&&(a=a.slice(1),D=!0),c>-1&&(a=a.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+y[_].delimiters.thousands)),0===t.indexOf(".")&&(a=""),(u&&D?"(":"")+(!u&&D?"-":"")+(!D&&d?"+":"")+a+k+(C?C:"")+(p?p:"")+(E?E:"")+(u&&D?")":"")}function p(e,t){y[e]=t}function f(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)}function m(){var e=Array.prototype.slice.call(arguments);return e.reduce(function(e,t){var n=f(e),r=f(t);return n>r?n:r},-(1/0))}var g,v="1.5.3",y={},_="en",b=null,w="0,0",E="undefined"!=typeof e&&e.exports;g=function(e){return g.isNumeral(e)?e=e.value():0===e||"undefined"==typeof e?e=0:Number(e)||(e=g.fn.unformat(e)),new n(Number(e))},g.version=v,g.isNumeral=function(e){return e instanceof n},g.language=function(e,t){if(!e)return _;if(e&&!t){if(!y[e])throw new Error("Unknown language : "+e);_=e}return!t&&y[e]||p(e,t),g},g.languageData=function(e){if(!e)return y[_];if(!y[e])throw new Error("Unknown language : "+e);return y[e]},g.language("en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),g.zeroFormat=function(e){b="string"==typeof e?e:null},g.defaultFormat=function(e){w="string"==typeof e?e:"0.0"},"function"!=typeof Array.prototype.reduce&&(Array.prototype.reduce=function(e,t){"use strict";if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof e)throw new TypeError(e+" is not a function");var n,r,i=this.length>>>0,o=!1;for(1n;++n)this.hasOwnProperty(n)&&(o?r=e(r,this[n],n,this):(r=this[n],o=!0));if(!o)throw new TypeError("Reduce of empty array with no initial value");return r}),g.fn=n.prototype={clone:function(){return g(this)},format:function(e,t){return s(this,e?e:w,void 0!==t?t:Math.round)},unformat:function(e){return"[object Number]"===Object.prototype.toString.call(e)?e:a(this,e?e:w)},value:function(){return this._value},valueOf:function(){return this._value},set:function(e){return this._value=Number(e),this},add:function(e){function t(e,t,r,i){return e+n*t}var n=m.call(null,this._value,e);return this._value=[this._value,e].reduce(t,0)/n,this},subtract:function(e){function t(e,t,r,i){return e-n*t}var n=m.call(null,this._value,e);return this._value=[e].reduce(t,this._value*n)/n,this},multiply:function(e){function t(e,t,n,r){var i=m(e,t);return e*i*(t*i)/(i*i)}return this._value=[this._value,e].reduce(t,1),this},divide:function(e){function t(e,t,n,r){var i=m(e,t);return e*i/(t*i)}return this._value=[this._value,e].reduce(t),this},difference:function(e){return Math.abs(g(this._value).subtract(e).value())}},E&&(e.exports=g),"undefined"==typeof ender&&(this.numeral=g),r=[],i=function(){return g}.apply(t,r),!(void 0!==i&&(e.exports=i))}).call(this)},function(e,t){function n(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&r())}function r(){if(!c){var e=setTimeout(n);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u1)for(var n=1;n-1?l(e,t,n):t.indexOf("%")>-1?c(e,t,n):t.indexOf(":")>-1?u(e,t):d(e._value,t,n)}function a(e,t){var n,r,i,o,s,a=t,l=["KB","MB","GB","TB","PB","EB","ZB","YB"],c=!1;if(t.indexOf(":")>-1)e._value=h(t);else if(t===b)e._value=0;else{for("."!==y[_].delimiters.decimal&&(t=t.replace(/\./g,"").replace(y[_].delimiters.decimal,".")),n=new RegExp("[^a-zA-Z]"+y[_].abbreviations.thousand+"(?:\\)|(\\"+y[_].currency.symbol+")?(?:\\))?)?$"),r=new RegExp("[^a-zA-Z]"+y[_].abbreviations.million+"(?:\\)|(\\"+y[_].currency.symbol+")?(?:\\))?)?$"),i=new RegExp("[^a-zA-Z]"+y[_].abbreviations.billion+"(?:\\)|(\\"+y[_].currency.symbol+")?(?:\\))?)?$"),o=new RegExp("[^a-zA-Z]"+y[_].abbreviations.trillion+"(?:\\)|(\\"+y[_].currency.symbol+")?(?:\\))?)?$"),s=0;s<=l.length&&!(c=t.indexOf(l[s])>-1&&Math.pow(1024,s+1));s++);e._value=(c?c:1)*(a.match(n)?Math.pow(10,3):1)*(a.match(r)?Math.pow(10,6):1)*(a.match(i)?Math.pow(10,9):1)*(a.match(o)?Math.pow(10,12):1)*(t.indexOf("%")>-1?.01:1)*((t.split("-").length+Math.min(t.split("(").length-1,t.split(")").length-1))%2?1:-1)*Number(t.replace(/[^0-9\.]+/g,"")),e._value=c?Math.ceil(e._value):e._value}return e._value}function l(e,t,n){var r,i,o=t.indexOf("$"),s=t.indexOf("("),a=t.indexOf("-"),l="";return t.indexOf(" $")>-1?(l=" ",t=t.replace(" $","")):t.indexOf("$ ")>-1?(l=" ",t=t.replace("$ ","")):t=t.replace("$",""),i=d(e._value,t,n),o<=1?i.indexOf("(")>-1||i.indexOf("-")>-1?(i=i.split(""),r=1,(o-1?(i=i.split(""),i.splice(-1,0,l+y[_].currency.symbol),i=i.join("")):i=i+l+y[_].currency.symbol,i}function c(e,t,n){var r,i="",o=100*e._value;return t.indexOf(" %")>-1?(i=" ",t=t.replace(" %","")):t=t.replace("%",""),r=d(o,t,n),r.indexOf(")")>-1?(r=r.split(""),r.splice(-1,0,i+"%"),r=r.join("")):r=r+i+"%",r}function u(e){var t=Math.floor(e._value/60/60),n=Math.floor((e._value-60*t*60)/60),r=Math.round(e._value-60*t*60-60*n);return t+":"+(n<10?"0"+n:n)+":"+(r<10?"0"+r:r)}function h(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}function d(e,t,n){var r,i,s,a,l,c,u=!1,h=!1,d=!1,f="",p=!1,m=!1,g=!1,v=!1,w=!1,E="",C="",A=Math.abs(e),x=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],k="",D=!1;if(0===e&&null!==b)return b;if(t.indexOf("(")>-1?(u=!0,t=t.slice(1,-1)):t.indexOf("+")>-1&&(h=!0,t=t.replace(/\+/g,"")),t.indexOf("a")>-1&&(p=t.indexOf("aK")>=0,m=t.indexOf("aM")>=0,g=t.indexOf("aB")>=0,v=t.indexOf("aT")>=0,w=p||m||g||v,t.indexOf(" a")>-1?(f=" ",t=t.replace(" a","")):t=t.replace("a",""),A>=Math.pow(10,12)&&!w||v?(f+=y[_].abbreviations.trillion,e/=Math.pow(10,12)):A=Math.pow(10,9)&&!w||g?(f+=y[_].abbreviations.billion,e/=Math.pow(10,9)):A=Math.pow(10,6)&&!w||m?(f+=y[_].abbreviations.million,e/=Math.pow(10,6)):(A=Math.pow(10,3)&&!w||p)&&(f+=y[_].abbreviations.thousand,e/=Math.pow(10,3))),t.indexOf("b")>-1)for(t.indexOf(" b")>-1?(E=" ",t=t.replace(" b","")):t=t.replace("b",""),s=0;s<=x.length;s++)if(r=Math.pow(1024,s),i=Math.pow(1024,s+1),e>=r&&e0&&(e/=r);break}return t.indexOf("o")>-1&&(t.indexOf(" o")>-1?(C=" ",t=t.replace(" o","")):t=t.replace("o",""),C+=y[_].ordinal(e)),t.indexOf("[.]")>-1&&(d=!0,t=t.replace("[.]",".")),a=e.toString().split(".")[0],l=t.split(".")[1],c=t.indexOf(","),l?(l.indexOf("[")>-1?(l=l.replace("]",""),l=l.split("["),k=o(e,l[0].length+l[1].length,n,l[1].length)):k=o(e,l.length,n),a=k.split(".")[0],k=k.split(".")[1].length?y[_].delimiters.decimal+k.split(".")[1]:"",d&&0===Number(k.slice(1))&&(k="")):a=o(e,null,n),a.indexOf("-")>-1&&(a=a.slice(1),D=!0),c>-1&&(a=a.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+y[_].delimiters.thousands)),0===t.indexOf(".")&&(a=""),(u&&D?"(":"")+(!u&&D?"-":"")+(!D&&h?"+":"")+a+k+(C?C:"")+(f?f:"")+(E?E:"")+(u&&D?")":"")}function f(e,t){y[e]=t}function p(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)}function m(){var e=Array.prototype.slice.call(arguments);return e.reduce(function(e,t){var n=p(e),r=p(t);return n>r?n:r},-(1/0))}var g,v="1.5.3",y={},_="en",b=null,w="0,0",E="undefined"!=typeof e&&e.exports;g=function(e){return g.isNumeral(e)?e=e.value():0===e||"undefined"==typeof e?e=0:Number(e)||(e=g.fn.unformat(e)),new n(Number(e))},g.version=v,g.isNumeral=function(e){return e instanceof n},g.language=function(e,t){if(!e)return _;if(e&&!t){if(!y[e])throw new Error("Unknown language : "+e);_=e}return!t&&y[e]||f(e,t),g},g.languageData=function(e){if(!e)return y[_];if(!y[e])throw new Error("Unknown language : "+e);return y[e]},g.language("en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),g.zeroFormat=function(e){b="string"==typeof e?e:null},g.defaultFormat=function(e){w="string"==typeof e?e:"0.0"},"function"!=typeof Array.prototype.reduce&&(Array.prototype.reduce=function(e,t){"use strict";if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof e)throw new TypeError(e+" is not a function");var n,r,i=this.length>>>0,o=!1;for(1n;++n)this.hasOwnProperty(n)&&(o?r=e(r,this[n],n,this):(r=this[n],o=!0));if(!o)throw new TypeError("Reduce of empty array with no initial value");return r}),g.fn=n.prototype={clone:function(){return g(this)},format:function(e,t){return s(this,e?e:w,void 0!==t?t:Math.round)},unformat:function(e){return"[object Number]"===Object.prototype.toString.call(e)?e:a(this,e?e:w)},value:function(){return this._value},valueOf:function(){return this._value},set:function(e){return this._value=Number(e),this},add:function(e){function t(e,t,r,i){return e+n*t}var n=m.call(null,this._value,e);return this._value=[this._value,e].reduce(t,0)/n,this},subtract:function(e){function t(e,t,r,i){return e-n*t}var n=m.call(null,this._value,e);return this._value=[e].reduce(t,this._value*n)/n,this},multiply:function(e){function t(e,t,n,r){var i=m(e,t);return e*i*(t*i)/(i*i)}return this._value=[this._value,e].reduce(t,1),this},divide:function(e){function t(e,t,n,r){var i=m(e,t);return e*i/(t*i)}return this._value=[this._value,e].reduce(t),this},difference:function(e){return Math.abs(g(this._value).subtract(e).value())}},E&&(e.exports=g),"undefined"==typeof ender&&(this.numeral=g),r=[],i=function(){return g}.apply(t,r),!(void 0!==i&&(e.exports=i))}).call(this)},function(e,t,n){(function(t){"use strict";function n(e,n,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,n)});case 3:return t.nextTick(function(){e.call(null,n,r)});case 4:return t.nextTick(function(){e.call(null,n,r,i)});default:for(o=new Array(a-1),s=0;s-1&&(s.splice(a,1),this.HCEvents[e]=s),this.removeEventListener?n(this,e,t):this.attachEvent&&i(this,e,t)):(o(this,e),this.HCEvents[e]=[])):(o(this),this.HCEvents={})},trigger:function(e,t){var n,r,i,o=this.HCEvents[e]||[],s=this,a=o.length;for(r=function(){t.defaultPrevented=!0},n=0;a>n;n++){if(i=o[n],t.stopped)return;t.preventDefault=r,t.target=s,t.type||(t.type=e),i.call(this,t)===!1&&t.preventDefault()}}}),e}var t,n,i,o=document,s=[],a=[],l={};return Math.easeInOutSine=function(e,t,n,r){return-n/2*(Math.cos(Math.PI*e/r)-1)+t},{init:function(e){o.defaultView||(this._getStyle=function(e,t){var n;return e.style[t]?e.style[t]:("opacity"===t&&(t="filter"),n=e.currentStyle[t.replace(/\-(\w)/g,function(e,t){return t.toUpperCase()})],"filter"===t&&(n=n.replace(/alpha\(opacity=([0-9]+)\)/,function(e,t){return t/100})),""===n?1:n)},this.adapterRun=function(e,t){var n={width:"clientWidth",height:"clientHeight"}[t];return n?(e.style.zoom=1,e[n]-2*parseInt(r._getStyle(e,"padding"),10)):void 0}),Array.prototype.forEach||(this.each=function(e,t){for(var n=0,r=e.length;r>n;n++)if(t.call(e[n],e[n],n,e)===!1)return n}),Array.prototype.indexOf||(this.inArray=function(e,t){var n,r=0;if(t)for(n=t.length;n>r;r++)if(t[r]===e)return r;return-1}),Array.prototype.filter||(this.grep=function(e,t){for(var n=[],r=0,i=e.length;i>r;r++)t(e[r],r)&&n.push(e[r]);return n}),i=function(e,t,n){this.options=t,this.elem=e,this.prop=n},i.prototype={update:function(){var t,n=this.paths,r=this.elem,i=r.element;l[this.prop]?l[this.prop](this):n&&i?r.attr("d",e.step(n[0],n[1],this.now,this.toD)):r.attr?i&&r.attr(this.prop,this.now):(t={},t[this.prop]=this.now+this.unit,Highcharts.css(r,t)),this.options.step&&this.options.step.call(this.elem,this.now,this)},custom:function(e,t,r){var i,o=this,s=function(e){return o.step(e)};this.startTime=+new Date,this.start=e,this.end=t,this.unit=r,this.now=this.start,this.pos=this.state=0,s.elem=this.elem,s()&&1===a.push(s)&&(n=setInterval(function(){for(i=0;i=o.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0,n=!0;for(r in o.curAnim)o.curAnim[r]!==!0&&(n=!1);n&&o.complete&&o.complete.call(s),t=!1}else{var a=i-this.startTime;this.state=a/o.duration,this.pos=o.easing(a,0,1,o.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0}return t}},this.animate=function(t,n,o){var s,a,l,c,u,d="";t.stopAnimation=!1,"object"==typeof o&&null!==o||(c=arguments,o={duration:c[2],easing:c[3],complete:c[4]}),"number"!=typeof o.duration&&(o.duration=400),o.easing=Math[o.easing]||Math.easeInOutSine,o.curAnim=Highcharts.extend({},n);for(u in n)l=new i(t,o,u),a=null,"d"===u?(l.paths=e.init(t,t.d,n.d),l.toD=n.d,s=0,a=1):t.attr?s=t.attr(u):(s=parseFloat(r._getStyle(t,u))||0,"opacity"!==u&&(d="px")),a||(a=n[u]),l.custom(s,a,d)}},_getStyle:function(e,t){return window.getComputedStyle(e,void 0).getPropertyValue(t)},addAnimSetter:function(e,t){l[e]=t},getScript:function(e,t){var n=o.getElementsByTagName("head")[0],r=o.createElement("script");r.type="text/javascript",r.src=e,r.onload=t,n.appendChild(r)},inArray:function(e,t){return t.indexOf?t.indexOf(e):s.indexOf.call(t,e)},adapterRun:function(e,t){return parseInt(r._getStyle(e,t),10)},grep:function(e,t){return s.filter.call(e,t)},map:function(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n[r]=t.call(e[r],e[r],r,e);return n},offset:function(e){var t=document.documentElement,n=e.getBoundingClientRect();return{top:n.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}},addEvent:function(t,n,r){e(t).bind(n,r)},removeEvent:function(t,n,r){e(t).unbind(n,r)},fireEvent:function(e,t,n,r){var i;o.createEvent&&(e.dispatchEvent||e.fireEvent)?(i=o.createEvent("Events"),i.initEvent(t,!0,!0),i.target=e,Highcharts.extend(i,n),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(t,i)):e.HCExtended===!0&&(n=n||{},e.trigger(t,n)),n&&n.defaultPrevented&&(r=null),r&&r(n)},washMouseEvent:function(e){return e},stop:function(e){e.stopAnimation=!0},each:function(e,t){return Array.prototype.forEach.call(e,t)}}}();e.exports=r},function(e,t,n){/** +var r=function(){function e(e){function n(e,t,n){e.removeEventListener(t,n,!1)}function i(e,t,n){n=e.HCProxiedMethods[n.toString()],e.detachEvent("on"+t,n)}function o(e,t){var r,o,s,a,l=e.HCEvents;if(e.removeEventListener)r=n;else{if(!e.attachEvent)return;r=i}t?(o={},o[t]=!0):o=l;for(a in o)if(l[a])for(s=l[a].length;s--;)r(e,a,l[a][s])}return e.HCExtended||Highcharts.extend(e,{HCExtended:!0,HCEvents:{},bind:function(e,n){var r,i=this,o=this.HCEvents;i.addEventListener?i.addEventListener(e,n,!1):i.attachEvent&&(r=function(e){e.target=e.srcElement||window,n.call(i,e)},i.HCProxiedMethods||(i.HCProxiedMethods={}),i.HCProxiedMethods[n.toString()]=r,i.attachEvent("on"+e,r)),o[e]===t&&(o[e]=[]),o[e].push(n)},unbind:function(e,t){var s,a;e?(s=this.HCEvents[e]||[],t?(a=r.inArray(t,s),a>-1&&(s.splice(a,1),this.HCEvents[e]=s),this.removeEventListener?n(this,e,t):this.attachEvent&&i(this,e,t)):(o(this,e),this.HCEvents[e]=[])):(o(this),this.HCEvents={})},trigger:function(e,t){var n,r,i,o=this.HCEvents[e]||[],s=this,a=o.length;for(r=function(){t.defaultPrevented=!0},n=0;n=o.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0,n=!0;for(r in o.curAnim)o.curAnim[r]!==!0&&(n=!1);n&&o.complete&&o.complete.call(s),t=!1}else{var a=i-this.startTime;this.state=a/o.duration,this.pos=o.easing(a,0,1,o.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0}return t}},this.animate=function(t,n,o){var s,a,l,c,u,h="";t.stopAnimation=!1,"object"==typeof o&&null!==o||(c=arguments,o={duration:c[2],easing:c[3],complete:c[4]}),"number"!=typeof o.duration&&(o.duration=400),o.easing=Math[o.easing]||Math.easeInOutSine,o.curAnim=Highcharts.extend({},n);for(u in n)l=new i(t,o,u),a=null,"d"===u?(l.paths=e.init(t,t.d,n.d),l.toD=n.d,s=0,a=1):t.attr?s=t.attr(u):(s=parseFloat(r._getStyle(t,u))||0,"opacity"!==u&&(h="px")),a||(a=n[u]),l.custom(s,a,h)}},_getStyle:function(e,t){return window.getComputedStyle(e,void 0).getPropertyValue(t)},addAnimSetter:function(e,t){l[e]=t},getScript:function(e,t){var n=o.getElementsByTagName("head")[0],r=o.createElement("script");r.type="text/javascript",r.src=e,r.onload=t,n.appendChild(r)},inArray:function(e,t){return t.indexOf?t.indexOf(e):s.indexOf.call(t,e)},adapterRun:function(e,t){return parseInt(r._getStyle(e,t),10)},grep:function(e,t){return s.filter.call(e,t)},map:function(e,t){for(var n=[],r=0,i=e.length;re;e++)r=i(r,n[e]);return r}function t(e,t){return parseInt(e,t||10)}function n(e){return"string"==typeof e}function r(e){return e&&"object"==typeof e}function i(e){return"[object Array]"===Object.prototype.toString.call(e)}function o(e){return"number"==typeof e}function s(e){return ce.log(e)/ce.LN10}function a(e){return ce.pow(10,e)}function l(e,t){for(var n=e.length;n--;)if(e[n]===t){e.splice(n,1);break}}function c(e){return e!==B&&null!==e}function u(e,t,i){var o,s;if(n(t))c(i)?e.setAttribute(t,i):e&&e.getAttribute&&(s=e.getAttribute(t));else if(c(t)&&r(t))for(o in t)e.setAttribute(o,t[o]);return s}function d(e){return i(e)?e:[e]}function h(e,t){Ee&&!Le&&t&&t.opacity!==B&&(t.filter="alpha(opacity="+100*t.opacity+")"),tt(e.style,t)}function p(e,t,n,r,i){var o=ae.createElement(e);return t&&tt(o,t),i&&h(o,{padding:0,border:ze,margin:0}),n&&h(o,n),r&&r.appendChild(o),o}function f(e,t){var n=function(){return B};return n.prototype=new e,tt(n.prototype,t),n}function m(e,t){return new Array((t||2)+1-String(e).length).join(0)+e}function g(e){return 6e4*(G&&G(e)||q||0)}function v(e,t){var n,r=/f$/,i=/\.([0-9])/,o=Y.lang;return r.test(e)?(n=e.match(i),n=n?n[1]:-1,null!==t&&(t=se.numberFormat(t,n,o.decimalPoint,e.indexOf(",")>-1?o.thousandsSep:""))):t=I(e,t),t}function y(e,t){for(var n,r,i,o,s,a,l,c="{",u=!1,d=[];-1!==(l=e.indexOf(c));){if(n=e.slice(0,l),u){for(r=n.split(":"),i=r.shift().split("."),s=i.length,a=t,o=0;s>o;o++)a=a[i[o]];r.length&&(a=v(r.join(":"),a)),d.push(a)}else d.push(n);e=e.slice(l+1),u=!u,c=u?"}":"{"}return d.push(e),d.join("")}function _(e){return ce.pow(10,de(ce.log(e)/ce.LN10))}function b(e,t,n,r,i){var o,s,a=e;for(n=nt(n,1),o=e/n,t||(t=[1,2,2.5,5,10],r===!1&&(1===n?t=[1,2,5,10]:.1>=n&&(t=[1/n]))),s=0;s=e||!i&&o<=(t[s]+(t[s+1]||t[s]))/2));s++);return a*=n}function w(e,t){var n,r,i=e.length;for(r=0;i>r;r++)e[r].ss_i=r;for(e.sort(function(e,r){return n=t(e,r),0===n?e.ss_i-r.ss_i:n}),r=0;i>r;r++)delete e[r].ss_i}function E(e){for(var t=e.length,n=e[0];t--;)e[t]n&&(n=e[t]);return n}function A(e,t){var n;for(n in e)e[n]&&e[n]!==t&&e[n].destroy&&e[n].destroy(),delete e[n]}function x(e){$||($=p($e)),e&&$.appendChild(e),$.innerHTML=""}function k(e,t){var n="Highcharts error #"+e+": www.highcharts.com/errors/"+e;if(t)throw n;le.console&&console.log(n)}function D(e){return parseFloat(e.toPrecision(14))}function L(e,t){j=nt(e,t.animation)}function M(){var e=Y.global,t=e.useUTC,n=t?"getUTC":"get",r=t?"setUTC":"set";z=e.Date||window.Date,q=t&&e.timezoneOffset,G=t&&e.getTimezoneOffset,V=function(e,n,r,i,o,s){var a;return t?(a=z.UTC.apply(0,arguments),a+=g(a)):a=new z(e,n,nt(r,1),nt(i,0),nt(o,0),nt(s,0)).getTime(),a},K=n+"Minutes",X=n+"Hours",J=n+"Day",Q=n+"Date",Z=n+"Month",ee=n+"FullYear",te=r+"Minutes",ne=r+"Hours",re=r+"Date",ie=r+"Month",oe=r+"FullYear"}function T(t){return Y=e(!0,Y,t),M(),Y}function S(){return Y}function F(){}function N(e,t,n,r){this.axis=e,this.pos=t,this.type=n||"",this.isNew=!0,n||r||this.addLabel()}function R(e,t,n,r,i){var o=e.chart.inverted;this.axis=e,this.isNegative=n,this.options=t,this.x=r,this.total=null,this.points={},this.stack=i,this.alignOptions={align:t.align||(o?n?"left":"right":"center"),verticalAlign:t.verticalAlign||(o?"middle":n?"bottom":"top"),y:nt(t.y,o?4:n?14:-6),x:nt(t.x,o?n?-6:6:0)},this.textAlign=t.textAlign||(o?n?"right":"left":"center")}var B,O,P,$,Y,I,j,W,H,U,z,V,q,G,K,X,J,Q,Z,ee,te,ne,re,ie,oe,se,ae=document,le=window,ce=Math,ue=ce.round,de=ce.floor,he=ce.ceil,pe=ce.max,fe=ce.min,me=ce.abs,ge=ce.cos,ve=ce.sin,ye=ce.PI,_e=2*ye/360,be=navigator.userAgent,we=le.opera,Ee=/(msie|trident)/i.test(be)&&!we,Ce=8===ae.documentMode,Ae=/AppleWebKit/.test(be),xe=/Firefox/.test(be),ke=/(Mobile|Android|Windows Phone)/.test(be),De="http://www.w3.org/2000/svg",Le=!!ae.createElementNS&&!!ae.createElementNS(De,"svg").createSVGRect,Me=xe&&parseInt(be.split("Firefox/")[1],10)<4,Te=!Le&&!Ee&&!!ae.createElement("canvas").getContext,Se={},Fe=0,Ne=function(){return B},Re=[],Be=0,Oe="Highcharts",Pe="4.1.4-modified",$e="div",Ye="absolute",Ie="relative",je="hidden",We="highcharts-",He="visible",Ue="px",ze="none",Ve="M",qe="L",Ge=/^[0-9]+$/,Ke="",Xe="hover",Je="select",Qe=["plotTop","marginRight","marginBottom","plotLeft"],Ze="stroke-width",et={};se=le.Highcharts=le.Highcharts?k(16,!0):{},se.seriesTypes=et;var tt=se.extend=function(e,t){var n;e||(e={});for(n in t)e[n]=t[n];return e},nt=se.pick=function(){var e,t,n=arguments,r=n.length;for(e=0;r>e;e++)if(t=n[e],t!==B&&null!==t)return t},rt=se.wrap=function(e,t,n){var r=e[t];e[t]=function(){var e=Array.prototype.slice.call(arguments);return e.unshift(r),n.apply(this,e)}};I=function(e,t,n){if(!c(t)||isNaN(t))return"Invalid date";e=nt(e,"%Y-%m-%d %H:%M:%S");var r,i=new z(t-g(t)),o=i[X](),s=i[J](),a=i[Q](),l=i[Z](),u=i[ee](),d=Y.lang,h=d.weekdays,p=tt({a:h[s].substr(0,3),A:h[s],d:m(a),e:a,w:s,b:d.shortMonths[l],B:d.months[l],m:m(l+1),y:u.toString().substr(2,2),Y:u,H:m(o),I:m(o%12||12),l:o%12||12,M:m(i[K]()),p:12>o?"AM":"PM",P:12>o?"am":"pm",S:m(i.getSeconds()),L:m(ue(t%1e3),3)},se.dateFormats);for(r in p)for(;-1!==e.indexOf("%"+r);)e=e.replace("%"+r,"function"==typeof p[r]?p[r](t):p[r]);return n?e.substr(0,1).toUpperCase()+e.substr(1):e},H={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},se.numberFormat=function(e,n,r,i){var o=Y.lang,s=+e||0,a=-1===n?fe((s.toString().split(".")[1]||"").length,20):isNaN(n=me(n))?2:n,l=void 0===r?o.decimalPoint:r,c=void 0===i?o.thousandsSep:i,u=0>s?"-":"",d=String(t(s=me(s).toFixed(a))),h=d.length>3?d.length%3:0;return u+(h?d.substr(0,h)+c:"")+d.substr(h).replace(/(\d{3})(?=\d)/g,"$1"+c)+(a?l+me(s-d).toFixed(a).slice(2):"")},W={init:function(e,t,n){t=t||"";var r,i,o,s,a,l=e.shift,c=t.indexOf("C")>-1,u=c?7:3,d=t.split(" "),h=[].concat(n),p=function(e){for(o=e.length;o--;)e[o]===Ve&&e.splice(o+1,0,e[o+1],e[o+2],e[o+1],e[o+2])};if(c&&(p(d),p(h)),e.isArea&&(s=d.splice(d.length-6,6),a=h.splice(h.length-6,6)),l<=h.length/u&&d.length===h.length)for(;l--;)h=[].concat(h).splice(0,u).concat(h);if(e.shift=0,d.length)for(r=h.length;d.lengthn)for(;s--;)i=parseFloat(e[s]),o[s]=isNaN(i)?e[s]:n*parseFloat(t[s]-i)+i;else o=t;return o}},function(e){le.HighchartsAdapter=le.HighchartsAdapter||e&&{init:function(t){var r=e.fx;e.extend(e.easing,{easeOutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n}}),e.each(["cur","_default","width","height","opacity"],function(t,n){var i,o=r.step;"cur"===n?o=r.prototype:"_default"===n&&e.Tween&&(o=e.Tween.propHooks[n],n="set"),i=o[n],i&&(o[n]=function(e){var r;return e=t?e:this,"align"!==e.prop?(r=e.elem,r.attr?r.attr(e.prop,"cur"===n?B:e.now):i.apply(this,arguments)):void 0})}),rt(e.cssHooks.opacity,"get",function(e,t,n){return t.attr?t.opacity||0:e.call(this,t,n)}),this.addAnimSetter("d",function(e){var n,r=e.elem;e.started||(n=t.init(r,r.d,r.toD),e.start=n[0],e.end=n[1],e.started=!0),r.attr("d",t.step(e.start,e.end,e.pos,r.toD))}),this.each=Array.prototype.forEach?function(e,t){return Array.prototype.forEach.call(e,t)}:function(e,t){var n,r=e.length;for(n=0;r>n;n++)if(t.call(e[n],e[n],n,e)===!1)return n},e.fn.highcharts=function(){var e,t,r,i="Chart",o=arguments;return this[0]&&(n(o[0])&&(i=o[0],o=Array.prototype.slice.call(o,1)),e=o[0],e!==B&&(e.chart=e.chart||{},e.chart.renderTo=this[0],r=new se[i](e,o[1]),t=this),e===B&&(t=Re[u(this[0],"data-highcharts-chart")])),t}},addAnimSetter:function(t,n){e.Tween?e.Tween.propHooks[t]={set:n}:e.fx.step[t]=n},getScript:e.getScript,inArray:e.inArray,adapterRun:function(t,n){return e(t)[n]()},grep:e.grep,map:function(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n[r]=t.call(e[r],e[r],r,e);return n},offset:function(t){return e(t).offset()},addEvent:function(t,n,r){e(t).bind(n,r)},removeEvent:function(t,n,r){var i=ae.removeEventListener?"removeEventListener":"detachEvent";ae[i]&&t&&!t[i]&&(t[i]=function(){}),e(t).unbind(n,r)},fireEvent:function(t,n,r,i){var o,s=e.Event(n),a="detached"+n;!Ee&&r&&(delete r.layerX,delete r.layerY,delete r.returnValue),tt(s,r),t[n]&&(t[a]=t[n],t[n]=null),e.each(["preventDefault","stopPropagation"],function(e,t){var n=s[t];s[t]=function(){try{n.call(s)}catch(e){"preventDefault"===t&&(o=!0)}}}),e(t).trigger(s),t[a]&&(t[n]=t[a],t[a]=null),!i||s.isDefaultPrevented()||o||i(s)},washMouseEvent:function(e){var t=e.originalEvent||e;return t.pageX===B&&(t.pageX=e.pageX,t.pageY=e.pageY),t},animate:function(t,n,r){var i=e(t);t.style||(t.style={}),n.d&&(t.toD=n.d,n.d=1),i.stop(),n.opacity!==B&&t.attr&&(n.opacity+="px"),t.hasAnim=1,i.animate(n,r)},stop:function(t){t.hasAnim&&e(t).stop()}}}(le.jQuery);var it=le.HighchartsAdapter,ot=it||{};it&&it.init.call(it,W);var st=ot.adapterRun,at=ot.getScript,lt=ot.inArray,ct=se.each=ot.each,ut=ot.grep,dt=ot.offset,ht=ot.map,pt=ot.addEvent,ft=ot.removeEvent,mt=ot.fireEvent,gt=ot.washMouseEvent,vt=ot.animate,yt=ot.stop;Y={colors:["#7cb5ec","#434348","#90ed7d","#f7a35c","#8085e9","#f15c80","#e4d354","#2b908f","#f45b5b","#91e8e1"],symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{useUTC:!0,canvasToolsURL:"http://code.highcharts.com/4.1.4-modified/modules/canvas-tools.js",VMLRadialGradientURL:"http://code.highcharts.com/4.1.4-modified/gfx/vml-radial-gradient.png"},chart:{borderColor:"#4572A7",borderRadius:0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],backgroundColor:"#FFFFFF",plotBorderColor:"#C0C0C0",resetZoomButton:{theme:{zIndex:20},position:{align:"right",x:-10,y:10}}},title:{text:"Chart title",align:"center",margin:15,style:{color:"#333333",fontSize:"18px"}},subtitle:{text:"",align:"center",style:{color:"#555555"}},plotOptions:{line:{allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},lineWidth:2,marker:{lineWidth:0,radius:4,lineColor:"#FFFFFF",states:{hover:{enabled:!0,lineWidthPlus:1,radiusPlus:2},select:{fillColor:"#FFFFFF",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){return null===this.y?"":se.numberFormat(this.y,-1)},style:{color:"contrast",fontSize:"11px",fontWeight:"bold",textShadow:"0 0 6px contrast, 0 0 3px contrast"},verticalAlign:"bottom",x:0,y:0,padding:5},cropThreshold:300,pointRange:0,states:{hover:{lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1e3}},labels:{style:{position:Ye,color:"#3E576F"}},legend:{enabled:!0,align:"center",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#909090",borderRadius:0,navigation:{activeColor:"#274b6d",inactiveColor:"#CCC"},shadow:!1,itemStyle:{color:"#333333",fontSize:"12px",fontWeight:"bold"},itemHoverStyle:{color:"#000"},itemHiddenStyle:{color:"#CCC"},itemCheckboxStyle:{position:Ye,width:"13px",height:"13px"},symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:Ie,top:"45%"},style:{position:Ye,backgroundColor:"white",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:Le,backgroundColor:"rgba(249, 249, 249, .85)",borderWidth:1,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerFormat:'{point.key}
    ',pointFormat:' {series.name}: {point.y}
    ',shadow:!0,snap:ke?25:10,style:{color:"#333333",cursor:"default",fontSize:"12px",padding:"8px",whiteSpace:"nowrap"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"9px"}}};var _t=Y.plotOptions,bt=_t.line;M();var wt=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,Et=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,Ct=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,At=function(n){function r(e){e&&e.stops?c=ht(e.stops,function(e){return At(e[1])}):(l=wt.exec(e),l?u=[t(l[1]),t(l[2]),t(l[3]),parseFloat(l[4],10)]:(l=Et.exec(e),l?u=[t(l[1],16),t(l[2],16),t(l[3],16),1]:(l=Ct.exec(e),l&&(u=[t(l[1]),t(l[2]),t(l[3]),1]))))}function i(t){var r;return c?(r=e(n),r.stops=[].concat(r.stops),ct(c,function(e,n){r.stops[n]=[r.stops[n][0],e.get(t)]})):r=u&&!isNaN(u[0])?"rgb"===t?"rgb("+u[0]+","+u[1]+","+u[2]+")":"a"===t?u[3]:"rgba("+u.join(",")+")":n,r}function s(e){if(c)ct(c,function(t){t.brighten(e)});else if(o(e)&&0!==e){var n;for(n=0;3>n;n++)u[n]+=t(255*e),u[n]<0&&(u[n]=0),u[n]>255&&(u[n]=255)}return this}function a(e){return u[3]=e,this}var l,c,u=[];return r(n),{get:i,brighten:s,rgba:u,setOpacity:a,raw:n}};F.prototype={opacity:1,textProps:["fontSize","fontWeight","fontFamily","color","lineHeight","width","textDecoration","textShadow"],init:function(e,t){var n=this;n.element="span"===t?p(t):ae.createElementNS(De,t),n.renderer=e},animate:function(t,n,r){var i=nt(n,j,!0);return yt(this),i?(i=e(i,{}),r&&(i.complete=r),vt(this,t,i)):(this.attr(t),r&&r()),this},colorGradient:function(t,n,r){var o,s,a,l,u,d,h,p,f,m,g,v=this.renderer,y=[];if(t.linearGradient?s="linearGradient":t.radialGradient&&(s="radialGradient"),s){a=t[s],l=v.gradients,d=t.stops,f=r.radialReference,i(a)&&(t[s]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&f&&!c(a.gradientUnits)&&(a=e(a,{cx:f[0]-f[2]/2+a.cx*f[2],cy:f[1]-f[2]/2+a.cy*f[2],r:a.r*f[2],gradientUnits:"userSpaceOnUse"}));for(m in a)"id"!==m&&y.push(m,a[m]);for(m in d)y.push(d[m]);y=y.join(","),l[y]?g=l[y].attr("id"):(a.id=g=We+Fe++,l[y]=u=v.createElement(s).attr(a).add(v.defs),u.stops=[],ct(d,function(e){var t;0===e[1].indexOf("rgba")?(o=At(e[1]),h=o.get("rgb"),p=o.get("a")):(h=e[1],p=1),t=v.createElement("stop").attr({offset:e[0],"stop-color":h,"stop-opacity":p}).add(u),u.stops.push(t)})),r.setAttribute(n,"url("+v.url+"#"+g+")")}},applyTextShadow:function(e){var n,r=this.element,i=-1!==e.indexOf("contrast"),o=this.renderer.forExport||r.style.textShadow!==B&&!Ee;i&&(e=e.replace(/contrast/g,this.renderer.getContrast(r.style.fill))),o?i&&h(r,{textShadow:e}):(this.fakeTS=!0,this.ySetter=this.xSetter,n=[].slice.call(r.getElementsByTagName("tspan")),ct(e.split(/\s?,\s?/g),function(e){var i,o,s=r.firstChild;e=e.split(" "),i=e[e.length-1],o=e[e.length-2],o&&ct(n,function(e,n){var a;0===n&&(e.setAttribute("x",r.getAttribute("x")),n=r.getAttribute("y"),e.setAttribute("y",n||0),null===n&&r.setAttribute("y",0)),a=e.cloneNode(1),u(a,{"class":We+"text-shadow",fill:i,stroke:i,"stroke-opacity":1/pe(t(o),3),"stroke-width":o,"stroke-linejoin":"round"}),r.insertBefore(a,s)})}))},attr:function(e,t){var n,r,i,o,s=this.element,a=this;if("string"==typeof e&&t!==B&&(n=e,e={},e[n]=t),"string"==typeof e)a=(this[e+"Getter"]||this._defaultGetter).call(this,e,s);else{for(n in e)r=e[n],o=!1,this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)/.test(n)&&(i||(this.symbolAttr(e),i=!0),o=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),o||(this[n+"Setter"]||this._defaultSetter).call(this,r,n,s),this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,r);this.doTransform&&(this.updateTransform(),this.doTransform=!1)}return a},updateShadows:function(e,t){for(var n=this.shadows,r=n.length;r--;)n[r].setAttribute(e,"height"===e?pe(t-(n[r].cutHeight||0),0):"d"===e?this.d:t)},addClass:function(e){var t=this.element,n=u(t,"class")||"";return-1===n.indexOf(e)&&u(t,"class",n+" "+e),this},symbolAttr:function(e){var t=this;ct(["x","y","r","start","end","width","height","innerR","anchorX","anchorY"],function(n){t[n]=nt(e[n],t[n])}),t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})},clip:function(e){return this.attr("clip-path",e?"url("+this.renderer.url+"#"+e.id+")":ze)},crisp:function(e){var t,n,r=this,i={},o=e.strokeWidth||r.strokeWidth||0;n=ue(o)%2/2,e.x=de(e.x||r.x||0)+n,e.y=de(e.y||r.y||0)+n,e.width=de((e.width||r.width||0)-2*n),e.height=de((e.height||r.height||0)-2*n),e.strokeWidth=o;for(t in e)r[t]!==e[t]&&(r[t]=i[t]=e[t]);return i},css:function(e){var n,r,i,o=this,s=o.styles,a={},l=o.element,c="",d=!s;if(e&&e.color&&(e.fill=e.color),s)for(r in e)e[r]!==s[r]&&(a[r]=e[r],d=!0);if(d){if(n=o.textWidth=e&&e.width&&"text"===l.nodeName.toLowerCase()&&t(e.width)||o.textWidth,s&&(e=tt(s,a)),o.styles=e,n&&(Te||!Le&&o.renderer.forExport)&&delete e.width,Ee&&!Le)h(o.element,e);else{i=function(e,t){return"-"+t.toLowerCase()};for(r in e)c+=r.replace(/([A-Z])/g,i)+":"+e[r]+";";u(l,"style",c)}n&&o.added&&o.renderer.buildText(o)}return o},on:function(e,t){var n=this,r=n.element;return P&&"click"===e?(r.ontouchstart=function(e){n.touchEventFired=z.now(),e.preventDefault(),t.call(r,e)},r.onclick=function(e){(-1===be.indexOf("Android")||z.now()-(n.touchEventFired||0)>1100)&&t.call(r,e)}):r["on"+e]=t,this},setRadialReference:function(e){return this.element.radialReference=e,this},translate:function(e,t){return this.attr({translateX:e,translateY:t})},invert:function(){var e=this;return e.inverted=!0,e.updateTransform(),e},updateTransform:function(){var e,t=this,n=t.translateX||0,r=t.translateY||0,i=t.scaleX,o=t.scaleY,s=t.inverted,a=t.rotation,l=t.element;s&&(n+=t.attr("width"),r+=t.attr("height")),e=["translate("+n+","+r+")"],s?e.push("rotate(90) scale(-1,1)"):a&&e.push("rotate("+a+" "+(l.getAttribute("x")||0)+" "+(l.getAttribute("y")||0)+")"),(c(i)||c(o))&&e.push("scale("+nt(i,1)+" "+nt(o,1)+")"),e.length&&l.setAttribute("transform",e.join(" "))},toFront:function(){var e=this.element;return e.parentNode.appendChild(e),this},align:function(e,t,r){var i,o,s,a,c,u={},d=this.renderer,h=d.alignedObjects;return e?(this.alignOptions=e,this.alignByTranslate=t,r&&!n(r)||(this.alignTo=c=r||"renderer",l(h,this),h.push(this),r=null)):(e=this.alignOptions,t=this.alignByTranslate,c=this.alignTo),r=nt(r,d[c],d),i=e.align,o=e.verticalAlign,s=(r.x||0)+(e.x||0),a=(r.y||0)+(e.y||0),"right"!==i&&"center"!==i||(s+=(r.width-(e.width||0))/{right:1,center:2}[i]),u[t?"translateX":"x"]=ue(s),"bottom"!==o&&"middle"!==o||(a+=(r.height-(e.height||0))/({bottom:1,middle:2}[o]||1)),u[t?"translateY":"y"]=ue(a),this[this.placed?"animate":"attr"](u),this.placed=!0,this.alignAttr=u,this},getBBox:function(e){var t,n,r,i,o,s,a=this,l=a.renderer,c=a.rotation,u=a.element,d=a.styles,h=c*_e,p=a.textStr,f=u.style;if(p!==B&&(s=["",c||0,d&&d.fontSize,u.style.width].join(","),s=""===p||Ge.test(p)?"num:"+p.toString().length+s:p+s),s&&!e&&(t=l.cache[s]),!t){if(u.namespaceURI===De||l.forExport){try{o=this.fakeTS&&function(e){ct(u.querySelectorAll("."+We+"text-shadow"),function(t){t.style.display=e})},xe&&f.textShadow?(i=f.textShadow,f.textShadow=""):o&&o(ze),t=u.getBBox?tt({},u.getBBox()):{width:u.offsetWidth,height:u.offsetHeight},i?f.textShadow=i:o&&o("")}catch(m){}(!t||t.width<0)&&(t={width:0,height:0})}else t=a.htmlGetBBox();l.isSVG&&(n=t.width,r=t.height,Ee&&d&&"11px"===d.fontSize&&"16.9"===r.toPrecision(3)&&(t.height=r=14),c&&(t.width=me(r*ve(h))+me(n*ge(h)),t.height=me(r*ge(h))+me(n*ve(h)))),l.cache[s]=t}return t},show:function(e){return e&&this.element.namespaceURI===De?this.element.removeAttribute("visibility"):this.attr({visibility:e?"inherit":He}),this},hide:function(){return this.attr({visibility:je})},fadeOut:function(e){var t=this;t.animate({opacity:0},{duration:e||150,complete:function(){t.attr({y:-9999})}})},add:function(e){var t,n=this.renderer,r=this.element;return e&&(this.parentGroup=e),this.parentInverted=e&&e.inverted,void 0!==this.textStr&&n.buildText(this),this.added=!0,(!e||e.handleZ||this.zIndex)&&(t=this.zIndexSetter()),t||(e?e.element:n.box).appendChild(r),this.onAdd&&this.onAdd(),this},safeRemoveChild:function(e){var t=e.parentNode;t&&t.removeChild(e)},destroy:function(){var e,t,n,r=this,i=r.element||{},o=r.shadows,s=r.renderer.isSVG&&"SPAN"===i.nodeName&&r.parentGroup;if(i.onclick=i.onmouseout=i.onmouseover=i.onmousemove=i.point=null,yt(r),r.clipPath&&(r.clipPath=r.clipPath.destroy()),r.stops){for(n=0;n=r;r++)i=d.cloneNode(0),o=2*s+1-2*r,u(i,{isShadow:"true",stroke:e.color||"black","stroke-opacity":a*r,"stroke-width":o,transform:"translate"+l,fill:ze}),n&&(u(i,"height",pe(u(i,"height")-o,0)),i.cutHeight=o),t?t.element.appendChild(i):d.parentNode.insertBefore(i,d),c.push(i);this.shadows=c}return this},xGetter:function(e){return"circle"===this.element.nodeName&&(e={x:"cx",y:"cy"}[e]||e),this._defaultGetter(e)},_defaultGetter:function(e){var t=nt(this[e],this.element?this.element.getAttribute(e):null,0);return/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},dSetter:function(e,t,n){e&&e.join&&(e=e.join(" ")),/(NaN| {2}|^$)/.test(e)&&(e="M 0 0"),n.setAttribute(t,e),this[t]=e},dashstyleSetter:function(e){var n;if(e=e&&e.toLowerCase()){for(e=e.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(","),n=e.length;n--;)e[n]=t(e[n])*this["stroke-width"];e=e.join(",").replace("NaN","none"),this.element.setAttribute("stroke-dasharray",e)}},alignSetter:function(e){this.element.setAttribute("text-anchor",{left:"start",center:"middle",right:"end"}[e])},opacitySetter:function(e,t,n){this[t]=e,n.setAttribute(t,e)},titleSetter:function(e){var t=this.element.getElementsByTagName("title")[0];t||(t=ae.createElementNS(De,"title"),this.element.appendChild(t)),t.textContent=String(nt(e),"").replace(/<[^>]*>/g,"")},textSetter:function(e){e!==this.textStr&&(delete this.bBox,this.textStr=e,this.added&&this.renderer.buildText(this))},fillSetter:function(e,t,n){"string"==typeof e?n.setAttribute(t,e):e&&this.colorGradient(e,t,n)},zIndexSetter:function(e,n){var r,i,o,s,a,l=this.renderer,d=this.parentGroup,h=d||l,p=h.element||l.box,f=this.element,m=this.added;if(c(e)&&(f.setAttribute(n,e),e=+e,this[n]===e&&(m=!1),this[n]=e),m){for(e=this.zIndex,e&&d&&(d.handleZ=!0),r=p.childNodes,a=0;ae||!c(e)&&c(o))&&(p.insertBefore(f,i),s=!0);s||p.appendChild(f)}return s},_defaultSetter:function(e,t,n){n.setAttribute(t,e)}},F.prototype.yGetter=F.prototype.xGetter,F.prototype.translateXSetter=F.prototype.translateYSetter=F.prototype.rotationSetter=F.prototype.verticalAlignSetter=F.prototype.scaleXSetter=F.prototype.scaleYSetter=function(e,t){this[t]=e,this.doTransform=!0},F.prototype["stroke-widthSetter"]=F.prototype.strokeSetter=function(e,t,n){this[t]=e,this.stroke&&this["stroke-width"]?(this.strokeWidth=this["stroke-width"],F.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===t&&0===e&&this.hasStroke&&(n.removeAttribute("stroke"),this.hasStroke=!1)};var xt=function(){this.init.apply(this,arguments)};xt.prototype={Element:F,init:function(e,t,n,r,i){var o,s,a,l=this,c=location;o=l.createElement("svg").attr({version:"1.1"}).css(this.getStyle(r)),s=o.element,e.appendChild(s),-1===e.innerHTML.indexOf("xmlns")&&u(s,"xmlns",De),l.isSVG=!0,l.box=s,l.boxWrapper=o,l.alignedObjects=[],l.url=(xe||Ae)&&ae.getElementsByTagName("base").length?c.href.replace(/#.*?$/,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",a=this.createElement("desc").add(),a.element.appendChild(ae.createTextNode("Created with "+Oe+" "+Pe)),l.defs=this.createElement("defs").add(),l.forExport=i,l.gradients={},l.cache={},l.setSize(t,n,!1);var d,p;xe&&e.getBoundingClientRect&&(l.subPixelFix=d=function(){h(e,{left:0,top:0}),p=e.getBoundingClientRect(),h(e,{left:he(p.left)-p.left+Ue,top:he(p.top)-p.top+Ue})},d(),pt(le,"resize",d))},getStyle:function(e){return this.style=tt({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},e)},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var e=this,t=e.defs;return e.box=null,e.boxWrapper=e.boxWrapper.destroy(),A(e.gradients||{}),e.gradients=null,t&&(e.defs=t.destroy()),e.subPixelFix&&ft(le,"resize",e.subPixelFix),e.alignedObjects=null,null},createElement:function(e){var t=new this.Element;return t.init(this,e),t},draw:function(){},buildText:function(e){for(var n,r,i,o=e.element,s=this,a=s.forExport,l=nt(e.textStr,"").toString(),c=-1!==l.indexOf("<"),d=o.childNodes,p=u(o,"x"),f=e.styles,m=e.textWidth,g=f&&f.lineHeight,v=f&&f.textShadow,y=f&&"ellipsis"===f.textOverflow,_=d.length,b=m&&!e.added&&this.box,w=function(e){return g?t(g):s.fontMetrics(/(px|em)$/.test(e&&e.style.fontSize)?e.style.fontSize:f&&f.fontSize||s.style.fontSize||12,e).h},E=function(e){return e.replace(/</g,"<").replace(/>/g,">")};_--;)o.removeChild(d[_]);return c||v||y||-1!==l.indexOf(" ")?(r=/<.*style="([^"]+)".*>/,i=/<.*href="(http[^"]+)".*>/,b&&b.appendChild(o),n=c?l.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,'').replace(//g,"").split(//g):[l],""===n[n.length-1]&&n.pop(),ct(n,function(t,n){var l,c=0;t=t.replace(//g,"|||"),l=t.split("|||"),ct(l,function(t){if(""!==t||1===l.length){var d,g={},v=ae.createElementNS(De,"tspan");if(r.test(t)&&(d=t.match(r)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),u(v,"style",d)),i.test(t)&&!a&&(u(v,"onclick",'location.href="'+t.match(i)[1]+'"'),h(v,{cursor:"pointer"})),t=E(t.replace(/<(.|\n)*?>/g,"")||" ")," "!==t){if(v.appendChild(ae.createTextNode(t)),c?g.dx=0:n&&null!==p&&(g.x=p),u(v,g),o.appendChild(v),!c&&n&&(!Le&&a&&h(v,{display:"block"}),u(v,"dy",w(v))),m){for(var _,b,C,A,x=t.replace(/([^\^])-/g,"$1- ").split(" "),k=l.length>1||n||x.length>1&&"nowrap"!==f.whiteSpace,D=[],L=w(v),M=1,T=e.rotation,S=t,F=S.length;(k||y)&&(x.length||D.length);)e.rotation=0,A=e.getBBox(!0),C=A.width,!Le&&s.forExport&&(C=s.measureSpanWidth(v.firstChild.data,e.styles)),_=C>m,void 0===b&&(b=_),y&&b?(F/=2,""===S||!_&&.5>F?x=[]:(_&&(b=!0),S=t.substring(0,S.length+(_?-1:1)*he(F)),x=[S+"…"],v.removeChild(v.firstChild))):_&&1!==x.length?(v.removeChild(v.firstChild),D.unshift(x.pop())):(x=D,D=[],x.length&&(M++,v=ae.createElementNS(De,"tspan"),u(v,{dy:L,x:p}),d&&u(v,"style",d),o.appendChild(v)),C>m&&(m=C)),x.length&&v.appendChild(ae.createTextNode(x.join(" ").replace(/- /g,"-")));b&&e.attr("title",e.textStr),e.rotation=T}c++}}})}),b&&b.removeChild(o),v&&e.applyTextShadow&&e.applyTextShadow(v),void 0):void o.appendChild(ae.createTextNode(E(l)))},getContrast:function(e){return e=At(e).rgba,e[0]+e[1]+e[2]>384?"#000":"#FFF"},button:function(t,n,r,i,o,s,a,l,c){var u,d,h,p,f,m,g=this.label(t,n,r,c,null,null,null,null,"button"),v=0,y={x1:0,y1:0,x2:0,y2:1};return o=e({"stroke-width":1,stroke:"#CCCCCC",fill:{linearGradient:y,stops:[[0,"#FEFEFE"],[1,"#F6F6F6"]]},r:2,padding:5,style:{color:"black"}},o),h=o.style,delete o.style,s=e(o,{stroke:"#68A",fill:{linearGradient:y,stops:[[0,"#FFF"],[1,"#ACF"]]}},s),p=s.style,delete s.style,a=e(o,{stroke:"#68A",fill:{linearGradient:y,stops:[[0,"#9BD"],[1,"#CDF"]]}},a),f=a.style,delete a.style,l=e(o,{style:{color:"#CCC"}},l),m=l.style,delete l.style,pt(g.element,Ee?"mouseover":"mouseenter",function(){3!==v&&g.attr(s).css(p)}),pt(g.element,Ee?"mouseout":"mouseleave",function(){3!==v&&(u=[o,s,a][v],d=[h,p,f][v],g.attr(u).css(d))}),g.setState=function(e){g.state=v=e,e?2===e?g.attr(a).css(f):3===e&&g.attr(l).css(m):g.attr(o).css(h)},g.on("click",function(){3!==v&&i.call(g)}).attr(o).css(tt({cursor:"default"},h))},crispLine:function(e,t){return e[1]===e[4]&&(e[1]=e[4]=ue(e[1])-t%2/2),e[2]===e[5]&&(e[2]=e[5]=ue(e[2])+t%2/2),e},path:function(e){var t={fill:ze};return i(e)?t.d=e:r(e)&&tt(t,e),this.createElement("path").attr(t)},circle:function(e,t,n){var i=r(e)?e:{x:e,y:t,r:n},o=this.createElement("circle");return o.xSetter=function(e){this.element.setAttribute("cx",e)},o.ySetter=function(e){this.element.setAttribute("cy",e)},o.attr(i)},arc:function(e,t,n,i,o,s){var a;return r(e)&&(t=e.y,n=e.r,i=e.innerR,o=e.start,s=e.end,e=e.x),a=this.symbol("arc",e||0,t||0,n||0,n||0,{innerR:i||0,start:o||0,end:s||0}),a.r=n,a},rect:function(e,t,n,i,o,s){o=r(e)?e.r:o;var a=this.createElement("rect"),l=r(e)?e:e===B?{}:{x:e,y:t,width:pe(n,0),height:pe(i,0)};return s!==B&&(l.strokeWidth=s,l=a.crisp(l)),o&&(l.r=o),a.rSetter=function(e){u(this.element,{rx:e,ry:e})},a.attr(l)},setSize:function(e,t,n){var r=this,i=r.alignedObjects,o=i.length;for(r.width=e,r.height=t,r.boxWrapper[nt(n,!0)?"animate":"attr"]({width:e,height:t});o--;)i[o].align()},g:function(e){var t=this.createElement("g");return c(e)?t.attr({"class":We+e}):t},image:function(e,t,n,r,i){var o,s={preserveAspectRatio:ze};return arguments.length>1&&tt(s,{x:t,y:n,width:r,height:i}),o=this.createElement("image").attr(s),o.element.setAttributeNS?o.element.setAttributeNS("http://www.w3.org/1999/xlink","href",e):o.element.setAttribute("hc-svg-href",e),o},symbol:function(e,t,n,r,i,o){var s,a,l,c,u,d=this.symbols[e],h=d&&d(ue(t),ue(n),r,i,o),f=/^url\((.*?)\)$/;return h?(s=this.path(h),tt(s,{symbolName:e,x:t,y:n,width:r,height:i}),o&&tt(s,o)):f.test(e)&&(u=function(e,t){e.element&&(e.attr({width:t[0],height:t[1]}),e.alignByTranslate||e.translate(ue((r-t[0])/2),ue((i-t[1])/2)))},l=e.match(f)[1],c=Se[l]||o&&o.width&&o.height&&[o.width,o.height],s=this.image(l).attr({x:t,y:n}),s.isImg=!0,c?u(s,c):(s.attr({width:0,height:0}),a=p("img",{onload:function(){u(s,Se[l]=[this.width,this.height])},src:l}))),s},symbols:{circle:function(e,t,n,r){var i=.166*n;return[Ve,e+n/2,t,"C",e+n+i,t,e+n+i,t+r,e+n/2,t+r,"C",e-i,t+r,e-i,t,e+n/2,t,"Z"]},square:function(e,t,n,r){return[Ve,e,t,qe,e+n,t,e+n,t+r,e,t+r,"Z"]},triangle:function(e,t,n,r){return[Ve,e+n/2,t,qe,e+n,t+r,e,t+r,"Z"]},"triangle-down":function(e,t,n,r){return[Ve,e,t,qe,e+n,t,e+n/2,t+r,"Z"]},diamond:function(e,t,n,r){return[Ve,e+n/2,t,qe,e+n,t+r/2,e+n/2,t+r,e,t+r/2,"Z"]},arc:function(e,t,n,r,i){var o=i.start,s=i.r||n||r,a=i.end-.001,l=i.innerR,c=i.open,u=ge(o),d=ve(o),h=ge(a),p=ve(a),f=i.end-on&&d>t+c&&t+r-c>d?o.splice(13,3,"L",e+n,d-a,e+n+s,d,e+n,d+a,e+n,t+r-l):u&&0>u&&d>t+c&&t+r-c>d?o.splice(33,3,"L",e,d+a,e-s,d,e,d-a,e,t+l):d&&d>r&&u>e+c&&e+n-c>u?o.splice(23,3,"L",u+a,t+r,u,t+r+s,u-a,t+r,e+l,t+r):d&&0>d&&u>e+c&&e+n-c>u&&o.splice(3,3,"L",u-a,t,u,t-s,u+a,t,n-l,t),o}},clipRect:function(e,t,n,r){var i,o=We+Fe++,s=this.createElement("clipPath").attr({id:o}).add(this.defs);return i=this.rect(e,t,n,r,0).add(s),i.id=o,i.clipPath=s,i.count=0,i},text:function(e,t,n,r){var i,o=this,s=Te||!Le&&o.forExport,a={};return r&&!o.forExport?o.html(e,t,n):(a.x=Math.round(t||0),n&&(a.y=Math.round(n)),(e||0===e)&&(a.text=e),i=o.createElement("text").attr(a),s&&i.css({position:Ye}),r||(i.xSetter=function(e,t,n){var r,i,o=n.getElementsByTagName("tspan"),s=n.getAttribute(t);for(i=0;ie?e+3:ue(1.2*e),i=ue(.8*r);return{h:r,b:i,f:e}},rotCorr:function(e,t,n){var r=e;return t&&n&&(r=pe(r*ge(t*_e),4)),{x:-e/3*ve(t*_e),y:r}},label:function(t,n,r,i,o,s,a,l,u){function d(){var e,t,n=A.element.style;m=(void 0===g||void 0===v||C.styles.textAlign)&&c(A.textStr)&&A.getBBox(),C.width=(g||m.width||0)+2*k+D,C.height=(v||m.height||0)+2*k,b=k+E.fontMetrics(n&&n.fontSize,A).b,w&&(f||(e=ue(-x*k),t=l?-b:0,C.box=f=i?E.symbol(i,e,t,C.width,C.height,M):E.rect(e,t,C.width,C.height,0,M[Ze]),f.attr("fill",ze).add(C)),f.isImg||f.attr(tt({width:ue(C.width),height:ue(C.height)},M)),M=null)}function h(){var e,t=C.styles,n=t&&t.textAlign,r=D+k*(1-x);e=l?0:b,c(g)&&m&&("center"===n||"right"===n)&&(r+={center:.5,right:1}[n]*(g-m.width)),r===A.x&&e===A.y||(A.attr("x",r),e!==B&&A.attr("SPAN"===A.element.nodeName?"y":"translateY",e)),A.x=r,A.y=e}function p(e,t){f?f.attr(e,t):M[e]=t}var f,m,g,v,y,_,b,w,E=this,C=E.g(u),A=E.text("",0,0,a).attr({zIndex:1}),x=0,k=3,D=0,L=0,M={};C.onAdd=function(){A.add(C),C.attr({text:t||0===t?t:"",x:n,y:r}),f&&c(o)&&C.attr({anchorX:o,anchorY:s})},C.widthSetter=function(e){g=e},C.heightSetter=function(e){v=e},C.paddingSetter=function(e){c(e)&&e!==k&&(k=C.padding=e,h())},C.paddingLeftSetter=function(e){c(e)&&e!==D&&(D=e,h())},C.alignSetter=function(e){x={left:0,center:.5,right:1}[e]},C.textSetter=function(e){e!==B&&A.textSetter(e),d(),h()},C["stroke-widthSetter"]=function(e,t){e&&(w=!0),L=e%2/2,p(t,e)},C.strokeSetter=C.fillSetter=C.rSetter=function(e,t){"fill"===t&&e&&(w=!0),p(t,e)},C.anchorXSetter=function(e,t){o=e,p(t,e+L-y)},C.anchorYSetter=function(e,t){s=e,p(t,e-_)},C.xSetter=function(e){C.x=e,x&&(e-=x*((g||m.width)+k)),y=ue(e),C.attr("translateX",y)},C.ySetter=function(e){_=C.y=ue(e),C.attr("translateY",_)};var T=C.css;return tt(C,{css:function(t){if(t){var n={};t=e(t),ct(C.textProps,function(e){t[e]!==B&&(n[e]=t[e],delete t[e])}),A.css(n)}return T.call(C,t)},getBBox:function(){return{width:m.width+2*k,height:m.height+2*k,x:m.x-k,y:m.y-k}},shadow:function(e){return f&&f.shadow(e),C},destroy:function(){ft(C.element,"mouseenter"),ft(C.element,"mouseleave"),A&&(A=A.destroy()),f&&(f=f.destroy()),F.prototype.destroy.call(C),C=E=d=h=p=null}})}},O=xt,tt(F.prototype,{htmlCss:function(e){var t=this,n=t.element,r=e&&"SPAN"===n.tagName&&e.width;return r&&(delete e.width,t.textWidth=r,t.updateTransform()),e&&"ellipsis"===e.textOverflow&&(e.whiteSpace="nowrap",e.overflow="hidden"),t.styles=tt(t.styles,e),h(t.element,e),t},htmlGetBBox:function(){var e=this,t=e.element;return"text"===t.nodeName&&(t.style.position=Ye),{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},htmlUpdateTransform:function(){if(!this.added)return void(this.alignOnAdd=!0);var e=this,n=e.renderer,r=e.element,i=e.translateX||0,o=e.translateY||0,s=e.x||0,a=e.y||0,l=e.textAlign||"left",u={left:0,center:.5,right:1}[l],d=e.shadows,p=e.styles;if(h(r,{marginLeft:i,marginTop:o}),d&&ct(d,function(e){h(e,{marginLeft:i+1,marginTop:o+1})}),e.inverted&&ct(r.childNodes,function(e){n.invertChild(e,r)}),"SPAN"===r.tagName){var f,m,g=e.rotation,v=t(e.textWidth),y=[g,l,r.innerHTML,e.textWidth].join(",");y!==e.cTT&&(m=n.fontMetrics(r.style.fontSize).b,c(g)&&e.setSpanRotation(g,u,m),f=nt(e.elemWidth,r.offsetWidth),f>v&&/[ \-]/.test(r.textContent||r.innerText)&&(h(r,{width:v+Ue,display:"block",whiteSpace:p&&p.whiteSpace||"normal"}),f=v),e.getSpanCorrection(f,m,u,g,l)),h(r,{left:s+(e.xCorr||0)+Ue,top:a+(e.yCorr||0)+Ue}),Ae&&(m=r.offsetHeight),e.cTT=y}},setSpanRotation:function(e,t,n){var r={},i=Ee?"-ms-transform":Ae?"-webkit-transform":xe?"MozTransform":we?"-o-transform":"";r[i]=r.transform="rotate("+e+"deg)",r[i+(xe?"Origin":"-origin")]=r.transformOrigin=100*t+"% "+n+"px",h(this.element,r)},getSpanCorrection:function(e,t,n){this.xCorr=-e*n,this.yCorr=-t}}),tt(xt.prototype,{html:function(e,t,n){var r=this.createElement("span"),i=r.element,o=r.renderer;return r.textSetter=function(e){e!==i.innerHTML&&delete this.bBox,i.innerHTML=this.textStr=e},r.xSetter=r.ySetter=r.alignSetter=r.rotationSetter=function(e,t){"align"===t&&(t="textAlign"),r[t]=e,r.htmlUpdateTransform()},r.attr({text:e,x:ue(t),y:ue(n)}).css({position:Ye,fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),i.style.whiteSpace="nowrap",r.css=r.htmlCss,o.isSVG&&(r.add=function(e){var t,n,s=o.box.parentNode,a=[];if(this.parentGroup=e,e){if(t=e.div,!t){for(n=e;n;)a.push(n),n=n.parentGroup;ct(a.reverse(),function(e){var n;t=e.div=e.div||p($e,{className:u(e.element,"class")},{position:Ye,left:(e.translateX||0)+Ue,top:(e.translateY||0)+Ue},t||s),n=t.style,tt(e,{translateXSetter:function(t,r){n.left=t+Ue,e[r]=t,e.doTransform=!0},translateYSetter:function(t,r){n.top=t+Ue,e[r]=t,e.doTransform=!0},visibilitySetter:function(e,t){n[t]=e}})})}}else t=s;return t.appendChild(i),r.added=!0,r.alignOnAdd&&r.htmlUpdateTransform(),r}),r}});var kt,Dt;if(!Le&&!Te){Dt={init:function(e,t){var n=this,r=["<",t,' filled="f" stroked="f"'],i=["position: ",Ye,";"],o=t===$e;("shape"===t||o)&&i.push("left:0;top:0;width:1px;height:1px;"),i.push("visibility: ",o?je:He),r.push(' style="',i.join(""),'"/>'),t&&(r=o||"span"===t||"img"===t?r.join(""):e.prepVML(r),n.element=p(r)),n.renderer=e},add:function(e){var t=this,n=t.renderer,r=t.element,i=n.box,o=e&&e.inverted,s=e?e.element||e:i;return o&&n.invertChild(r,s),s.appendChild(r),t.added=!0,t.alignOnAdd&&!t.deferUpdateTransform&&t.updateTransform(),t.onAdd&&t.onAdd(),t},updateTransform:F.prototype.htmlUpdateTransform,setSpanRotation:function(){var e=this.rotation,t=ge(e*_e),n=ve(e*_e);h(this.element,{filter:e?["progid:DXImageTransform.Microsoft.Matrix(M11=",t,", M12=",-n,", M21=",n,", M22=",t,", sizingMethod='auto expand')"].join(""):ze})},getSpanCorrection:function(e,t,n,r,i){var o,s=r?ge(r*_e):1,a=r?ve(r*_e):0,l=nt(this.elemHeight,this.element.offsetHeight),c=i&&"left"!==i;this.xCorr=0>s&&-e,this.yCorr=0>a&&-l,o=0>s*a,this.xCorr+=a*t*(o?1-n:n),this.yCorr-=s*t*(r?o?n:1-n:1),c&&(this.xCorr-=e*n*(0>s?-1:1),r&&(this.yCorr-=l*n*(0>a?-1:1)),h(this.element,{textAlign:i}))},pathToVML:function(e){for(var t=e.length,n=[];t--;)o(e[t])?n[t]=ue(10*e[t])-5:"Z"===e[t]?n[t]="x":(n[t]=e[t],!e.isArc||"wa"!==e[t]&&"at"!==e[t]||(n[t+5]===n[t+7]&&(n[t+7]+=e[t+7]>e[t+5]?1:-1),n[t+6]===n[t+8]&&(n[t+8]+=e[t+8]>e[t+6]?1:-1)));return n.join(" ")||"x"},clip:function(e){var t,n,r=this;return e?(t=e.members,l(t,r),t.push(r),r.destroyClip=function(){l(t,r)},n=e.getCSS(r)):(r.destroyClip&&r.destroyClip(),n={clip:Ce?"inherit":"rect(auto)"}),r.css(n)},css:F.prototype.htmlCss,safeRemoveChild:function(e){e.parentNode&&x(e)},destroy:function(){return this.destroyClip&&this.destroyClip(),F.prototype.destroy.apply(this)},on:function(e,t){return this.element["on"+e]=function(){var e=le.event;e.target=e.srcElement,t(e)},this},cutOffPath:function(e,n){var r;return e=e.split(/[ ,]/),r=e.length,9!==r&&11!==r||(e[r-4]=e[r-2]=t(e[r-2])-10*n),e.join(" ")},shadow:function(e,n,r){var i,o,s,a,l,c,u,d=[],h=this.element,f=this.renderer,m=h.style,g=h.path;if(g&&"string"!=typeof g.value&&(g="x"),l=g,e){for(c=nt(e.width,3),u=(e.opacity||.15)/c,i=1;3>=i;i++)a=2*c+1-2*i,r&&(l=this.cutOffPath(g.value,a+.5)),s=[''],o=p(f.prepVML(s),null,{left:t(m.left)+nt(e.offsetX,1),top:t(m.top)+nt(e.offsetY,1)}),r&&(o.cutOff=a+1),s=[''],p(f.prepVML(s),null,null,o),n?n.element.appendChild(o):h.parentNode.insertBefore(o,h),d.push(o);this.shadows=d}return this},updateShadows:Ne,setAttr:function(e,t){Ce?this.element[e]=t:this.element.setAttribute(e,t)},classSetter:function(e){this.element.className=e},dashstyleSetter:function(e,t,n){var r=n.getElementsByTagName("stroke")[0]||p(this.renderer.prepVML([""]),null,null,n);r[t]=e||"solid",this[t]=e},dSetter:function(e,t,n){var r,i=this.shadows;if(e=e||[],this.d=e.join&&e.join(" "),n.path=e=this.pathToVML(e),i)for(r=i.length;r--;)i[r].path=i[r].cutOff?this.cutOffPath(e,i[r].cutOff):e;this.setAttr(t,e)},fillSetter:function(e,t,n){var r=n.nodeName;"SPAN"===r?n.style.color=e:"IMG"!==r&&(n.filled=e!==ze,this.setAttr("fillcolor",this.renderer.color(e,n,t,this)))},opacitySetter:Ne,rotationSetter:function(e,t,n){var r=n.style;this[t]=r[t]=e,r.left=-ue(ve(e*_e)+1)+Ue,r.top=ue(ge(e*_e))+Ue},strokeSetter:function(e,t,n){this.setAttr("strokecolor",this.renderer.color(e,n,t))},"stroke-widthSetter":function(e,t,n){n.stroked=!!e,this[t]=e,o(e)&&(e+=Ue),this.setAttr("strokeweight",e)},titleSetter:function(e,t){this.setAttr(t,e)},visibilitySetter:function(e,t,n){"inherit"===e&&(e=He),this.shadows&&ct(this.shadows,function(n){n.style[t]=e}),"DIV"===n.nodeName&&(e=e===je?"-999em":0,Ce||(n.style[t]=e?He:je),t="top"),n.style[t]=e},xSetter:function(e,t,n){this[t]=e,"x"===t?t="left":"y"===t&&(t="top"),this.updateClipping?(this[t]=e,this.updateClipping()):n.style[t]=e},zIndexSetter:function(e,t,n){n.style[t]=e}},se.VMLElement=Dt=f(F,Dt),Dt.prototype.ySetter=Dt.prototype.widthSetter=Dt.prototype.heightSetter=Dt.prototype.xSetter;var Lt={Element:Dt,isIE8:be.indexOf("MSIE 8.0")>-1,init:function(e,t,n,r){var i,o,s,a=this;if(a.alignedObjects=[],i=a.createElement($e).css(tt(this.getStyle(r),{position:Ie})),o=i.element,e.appendChild(i.element),a.isVML=!0,a.box=o,a.boxWrapper=i,a.cache={},a.setSize(t,n,!1),!ae.namespaces.hcv){ae.namespaces.add("hcv","urn:schemas-microsoft-com:vml"),s="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } ";try{ae.createStyleSheet().cssText=s}catch(l){ae.styleSheets[0].cssText+=s}}},isHidden:function(){return!this.box.offsetWidth},clipRect:function(e,t,n,i){var o=this.createElement(),s=r(e);return tt(o,{members:[],count:0,left:(s?e.x:e)+1,top:(s?e.y:t)+1,width:(s?e.width:n)-1,height:(s?e.height:i)-1,getCSS:function(e){var t=e.element,n=t.nodeName,r="shape"===n,i=e.inverted,o=this,s=o.top-(r?t.offsetTop:0),a=o.left,l=a+o.width,c=s+o.height,u={clip:"rect("+ue(i?a:s)+"px,"+ue(i?c:l)+"px,"+ue(i?l:c)+"px,"+ue(i?s:a)+"px)"};return!i&&Ce&&"DIV"===n&&tt(u,{width:l+Ue,height:c+Ue}),u},updateClipping:function(){ct(o.members,function(e){e.element&&e.css(o.getCSS(e))})}})},color:function(e,t,n,r){var i,o,s,a=this,l=/^rgba/,c=ze;if(e&&e.linearGradient?s="gradient":e&&e.radialGradient&&(s="pattern"),s){var u,d,h,f,m,g,v,y,_,b,w,E,C=e.linearGradient||e.radialGradient,A="",x=e.stops,k=[],D=function(){o=[''],p(a.prepVML(o),null,null,t)};if(w=x[0],E=x[x.length-1],w[0]>0&&x.unshift([0,w[1]]),E[0]<1&&x.push([1,E[1]]),ct(x,function(e,t){l.test(e[1])?(i=At(e[1]),u=i.get("rgb"),d=i.get("a")):(u=e[1],d=1),k.push(100*e[0]+"% "+u),t?(y=d,_=u):(v=d,b=u)}),"fill"===n)if("gradient"===s)h=C.x1||C[0]||0,f=C.y1||C[1]||0,m=C.x2||C[2]||0,g=C.y2||C[3]||0,A='angle="'+(90-180*ce.atan((g-f)/(m-h))/ye)+'"',D();else{var L,M=C.r,T=2*M,S=2*M,F=C.cx,N=C.cy,R=t.radialReference,B=function(){R&&(L=r.getBBox(),F+=(R[0]-L.x)/L.width-.5,N+=(R[1]-L.y)/L.height-.5,T*=R[2]/L.width,S*=R[2]/L.height),A='src="'+Y.global.VMLRadialGradientURL+'" size="'+T+","+S+'" origin="0.5,0.5" position="'+F+","+N+'" color2="'+b+'" ',D()};r.added?B():r.onAdd=B,c=_}else c=u}else if(l.test(e)&&"IMG"!==t.tagName)i=At(e),o=["<",n,' opacity="',i.get("a"),'"/>'],p(this.prepVML(o),null,null,t),c=i.get("rgb");else{var O=t.getElementsByTagName(n);O.length&&(O[0].opacity=1,O[0].type="solid"),c=e}return c},prepVML:function(e){var t="display:inline-block;behavior:url(#default#VML);",n=this.isIE8;return e=e.join(""),n?(e=e.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),e=-1===e.indexOf('style="')?e.replace("/>",' style="'+t+'" />'):e.replace('style="','style="'+t)):e=e.replace("<","1&&o.attr({x:t,y:n,width:r,height:i}),o},createElement:function(e){return"rect"===e?this.symbol(e):xt.prototype.createElement.call(this,e)},invertChild:function(e,n){var r=this,i=n.style,o="IMG"===e.tagName&&e.style;h(e,{flip:"x",left:t(i.width)-(o?t(o.top):1),top:t(i.height)-(o?t(o.left):1),rotation:-90}),ct(e.childNodes,function(t){r.invertChild(t,e)})},symbols:{arc:function(e,t,n,r,i){var o,s=i.start,a=i.end,l=i.r||n||r,c=i.innerR,u=ge(s),d=ve(s),h=ge(a),p=ve(a);return a-s===0?["x"]:(o=["wa",e-l,t-l,e+l,t+l,e+l*u,t+l*d,e+l*h,t+l*p],i.open&&!c&&o.push("e",Ve,e,t),o.push("at",e-c,t-c,e+c,t+c,e+c*h,t+c*p,e+c*u,t+c*d,"x","e"),o.isArc=!0,o)},circle:function(e,t,n,r,i){return i&&(n=r=2*i.r),i&&i.isCircle&&(e-=n/2,t-=r/2),["wa",e,t,e+n,t+r,e+n,t+r/2,e+n,t+r/2,"e"]},rect:function(e,t,n,r,i){return xt.prototype.symbols[c(i)&&i.r?"callout":"square"].call(0,e,t,n,r,i)}}};se.VMLRenderer=kt=function(){this.init.apply(this,arguments)},kt.prototype=e(xt.prototype,Lt),O=kt}xt.prototype.measureSpanWidth=function(e,t){var n,r=ae.createElement("span"),i=ae.createTextNode(e);return r.appendChild(i),h(r,t),this.box.appendChild(r),n=r.offsetWidth,x(r),n};var Mt,Tt;Te&&(se.CanVGRenderer=Mt=function(){De="http://www.w3.org/1999/xhtml"},Mt.prototype.symbols={},Tt=function(){function e(){var e,n=t.length;for(e=0;n>e;e++)t[e]();t=[]}var t=[];return{push:function(n,r){0===t.length&&at(r,e),t.push(n)}}}(),O=Mt),N.prototype={addLabel:function(){var t,n,r=this,i=r.axis,o=i.options,s=i.chart,l=i.categories,u=i.names,d=r.pos,h=o.labels,p=i.tickPositions,f=d===p[0],m=d===p[p.length-1],g=l?nt(l[d],u[d],d):d,v=r.label,y=p.info;i.isDatetimeAxis&&y&&(n=o.dateTimeLabelFormats[y.higherRanks[d]||y.unitName]),r.isFirst=f,r.isLast=m,t=i.labelFormatter.call({axis:i,chart:s,isFirst:f,isLast:m,dateTimeLabelFormat:n,value:i.isLog?D(a(g)):g}),c(v)?v&&v.attr({text:t}):(r.label=v=c(t)&&h.enabled?s.renderer.text(t,0,0,h.useHTML).css(e(h.style)).add(i.labelGroup):null,r.labelLength=v&&v.getBBox().width,r.rotation=0)},getLabelSize:function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},handleOverflow:function(e){var t,n,r,i=this.axis,o=e.x,s=i.chart.chartWidth,a=i.chart.spacing,l=nt(i.labelLeft,a[3]),c=nt(i.labelRight,s-a[1]),u=this.label,d=this.rotation,h={left:0,center:.5,right:1}[i.labelAlign],p=u.getBBox().width,f=i.slotWidth;d?0>d&&l>o-h*p?r=ue(o/ge(d*_e)-l):d>0&&o+h*p>c&&(r=ue((s-o)/ge(d*_e))):(t=o-h*p,n=o+h*p,l>t?(f-=l-t,e.x=l,u.attr({align:"left"})):n>c&&(f-=n-c,e.x=c,u.attr({align:"right"})),p>f&&(r=f)),r&&u.css({width:r,textOverflow:"ellipsis"})},getPosition:function(e,t,n,r){var i=this.axis,o=i.chart,s=r&&o.oldChartHeight||o.chartHeight;return{x:e?i.translate(t+n,null,null,r)+i.transB:i.left+i.offset+(i.opposite?(r&&o.oldChartWidth||o.chartWidth)-i.right-i.left:0),y:e?s-i.bottom+i.offset-(i.opposite?i.height:0):s-i.translate(t+n,null,null,r)-i.transB}},getLabelPosition:function(e,t,n,r,i,o,s,a){var l,c=this.axis,u=c.transA,d=c.reversed,h=c.staggerLines,p=c.tickRotCorr||{x:0,y:0},f=nt(i.y,p.y+(2===c.side?8:-(n.getBBox().height/2)));return e=e+i.x+p.x-(o&&r?o*u*(d?-1:1):0),t=t+f-(o&&!r?o*u*(d?1:-1):0),h&&(l=s/(a||1)%h,t+=l*(c.labelOffset/h)),{x:e,y:ue(t)}},getMarkPath:function(e,t,n,r,i,o){return o.crispLine([Ve,e,t,qe,e+(i?0:-n),t+(i?n:0)],r)},render:function(e,t,n){var r,i,o,s=this,a=s.axis,l=a.options,c=a.chart,u=c.renderer,d=a.horiz,h=s.type,p=s.label,f=s.pos,m=l.labels,g=s.gridLine,v=h?h+"Grid":"grid",y=h?h+"Tick":"tick",_=l[v+"LineWidth"],b=l[v+"LineColor"],w=l[v+"LineDashStyle"],E=l[y+"Length"],C=l[y+"Width"]||0,A=l[y+"Color"],x=l[y+"Position"],k=s.mark,D=m.step,L=!0,M=a.tickmarkOffset,T=s.getPosition(d,f,M,t),S=T.x,F=T.y,N=d&&S===a.pos+a.len||!d&&F===a.pos?-1:1;n=nt(n,1),this.isActive=!0,_&&(r=a.getPlotLinePath(f+M,_*N,t,!0),g===B&&(o={stroke:b,"stroke-width":_},w&&(o.dashstyle=w),h||(o.zIndex=1),t&&(o.opacity=0),s.gridLine=g=_?u.path(r).attr(o).add(a.gridGroup):null),!t&&g&&r&&g[s.isNew?"attr":"animate"]({d:r,opacity:n})),C&&E&&("inside"===x&&(E=-E),a.opposite&&(E=-E),i=s.getMarkPath(S,F,E,C*N,d,u),k?k.animate({d:i,opacity:n}):s.mark=u.path(i).attr({stroke:A,"stroke-width":C,opacity:n}).add(a.axisGroup)),p&&!isNaN(S)&&(p.xy=T=s.getLabelPosition(S,F,p,d,m,M,e,D),s.isFirst&&!s.isLast&&!nt(l.showFirstLabel,1)||s.isLast&&!s.isFirst&&!nt(l.showLastLabel,1)?L=!1:!d||a.isRadial||m.step||m.rotation||t||0===n||s.handleOverflow(T),D&&e%D&&(L=!1),L&&!isNaN(T.y)?(T.opacity=n,p[s.isNew?"attr":"animate"](T),s.isNew=!1):p.attr("y",-9999))},destroy:function(){A(this,this.axis)}},se.PlotLineOrBand=function(e,t){this.axis=e,t&&(this.options=t,this.id=t.id)},se.PlotLineOrBand.prototype={render:function(){var t,n,r,i,o,a,l=this,u=l.axis,d=u.horiz,h=l.options,p=h.label,f=l.label,m=h.width,g=h.to,v=h.from,y=c(v)&&c(g),_=h.value,b=h.dashStyle,w=l.svgElem,A=[],x=h.color,k=h.zIndex,D=h.events,L={},M=u.chart.renderer;if(u.isLog&&(v=s(v),g=s(g),_=s(_)),m)A=u.getPlotLinePath(_,m),L={stroke:x,"stroke-width":m},b&&(L.dashstyle=b);else{if(!y)return;A=u.getPlotBandPath(v,g,h),x&&(L.fill=x),h.borderWidth&&(L.stroke=h.borderColor,L["stroke-width"]=h.borderWidth)}if(c(k)&&(L.zIndex=k),w)A?w.animate({d:A},null,w.onGetPath):(w.hide(),w.onGetPath=function(){w.show()},f&&(l.label=f=f.destroy()));else if(A&&A.length&&(l.svgElem=w=M.path(A).attr(L).add(),D)){t=function(e){w.on(e,function(t){D[e].apply(l,[t])})};for(n in D)t(n)}return p&&c(p.text)&&A&&A.length&&u.width>0&&u.height>0?(p=e({align:d&&y&&"center",x:d?!y&&4:10,verticalAlign:!d&&y&&"middle",y:d?y?16:10:y?6:-4,rotation:d&&!y&&90},p),f||(L={align:p.textAlign||p.align,rotation:p.rotation},c(k)&&(L.zIndex=k),l.label=f=M.text(p.text,0,0,p.useHTML).attr(L).css(p.style).add()),r=[A[1],A[4],y?A[6]:A[1]],i=[A[2],A[5],y?A[7]:A[2]],o=E(r),a=E(i),f.align(p,!1,{x:o,y:a,width:C(r)-o,height:C(i)-a}),f.show()):f&&f.hide(),l},destroy:function(){l(this.axis.plotLinesAndBands,this),delete this.axis,A(this)}},U={getPlotBandPath:function(e,t){var n=this.getPlotLinePath(t,null,null,!0),r=this.getPlotLinePath(e,null,null,!0);return r&&n&&r.toString()!==n.toString()?r.push(n[4],n[5],n[1],n[2]):r=null,r},addPlotBand:function(e){return this.addPlotBandOrLine(e,"plotBands")},addPlotLine:function(e){return this.addPlotBandOrLine(e,"plotLines")},addPlotBandOrLine:function(e,t){var n=new se.PlotLineOrBand(this,e).render(),r=this.userOptions;return n&&(t&&(r[t]=r[t]||[],r[t].push(e)),this.plotLinesAndBands.push(n)),n},removePlotBandOrLine:function(e){for(var t=this.plotLinesAndBands,n=this.options,r=this.userOptions,i=t.length;i--;)t[i].id===e&&t[i].destroy();ct([n.plotLines||[],r.plotLines||[],n.plotBands||[],r.plotBands||[]],function(t){for(i=t.length;i--;)t[i].id===e&&l(t,t[i])})}};var St=se.Axis=function(){this.init.apply(this,arguments)};St.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,gridLineColor:"#D8D8D8",labels:{enabled:!0,style:{color:"#606060",cursor:"default",fontSize:"11px"},x:0,y:15},lineColor:"#C0D0E0",lineWidth:1,minPadding:.01,maxPadding:.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#707070"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8,y:3},lineWidth:0,maxPadding:.05,minPadding:.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return se.numberFormat(this.total,-1)},style:e(_t.line.dataLabels.style,{color:"#000000"})}},defaultLeftAxisOptions:{labels:{x:-15,y:null},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15,y:null},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0,y:null},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0,y:-15},title:{rotation:0}},init:function(e,t){var n=t.isX,r=this;r.horiz=e.inverted?!n:n,r.isXAxis=n,r.coll=n?"xAxis":"yAxis",r.opposite=t.opposite,r.side=t.side||(r.horiz?r.opposite?0:2:r.opposite?1:3),r.setOptions(t);var i=this.options,o=i.type,l="datetime"===o;r.labelFormatter=i.labels.formatter||r.defaultLabelFormatter,r.userOptions=t,r.minPixelPadding=0,r.chart=e,r.reversed=i.reversed,r.zoomEnabled=i.zoomEnabled!==!1,r.categories=i.categories||"category"===o,r.names=r.names||[],r.isLog="logarithmic"===o,r.isDatetimeAxis=l,r.isLinked=c(i.linkedTo),r.ticks={},r.labelEdge=[],r.minorTicks={},r.plotLinesAndBands=[],r.alternateBands={},r.len=0,r.minRange=r.userMinRange=i.minRange||i.maxZoom,r.range=i.range,r.offset=i.offset||0,r.stacks={},r.oldStacks={},r.max=null,r.min=null,r.crosshair=nt(i.crosshair,d(e.options.tooltip.crosshairs)[n?0:1],!1);var u,h=r.options.events;-1===lt(r,e.axes)&&(n&&!this.isColorAxis?e.axes.splice(e.xAxis.length,0,r):e.axes.push(r),e[r.coll].push(r)),r.series=r.series||[],e.inverted&&n&&r.reversed===B&&(r.reversed=!0),r.removePlotBand=r.removePlotBandOrLine,r.removePlotLine=r.removePlotBandOrLine;for(u in h)pt(r,u,h[u]);r.isLog&&(r.val2lin=s,r.lin2val=a)},setOptions:function(t){this.options=e(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],e(Y[this.coll],t))},defaultLabelFormatter:function(){var e,t,n=this.axis,r=this.value,i=n.categories,o=this.dateTimeLabelFormat,s=Y.lang.numericSymbols,a=s&&s.length,l=n.options.labels.format,c=n.isLog?r:n.tickInterval;if(l)t=y(l,this);else if(i)t=r;else if(o)t=I(o,r);else if(a&&c>=1e3)for(;a--&&t===B;)e=Math.pow(1e3,a+1),c>=e&&null!==s[a]&&(t=se.numberFormat(r/e,-1)+s[a]);return t===B&&(t=me(r)>=1e4?se.numberFormat(r,0):se.numberFormat(r,-1,B,"")),t},getSeriesExtremes:function(){var e=this,t=e.chart;e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.ignoreMinPadding=e.ignoreMaxPadding=null,e.buildStacks&&e.buildStacks(),ct(e.series,function(n){if(n.visible||!t.options.chart.ignoreHiddenSeries){var r,i,o,s=n.options,a=s.threshold;e.hasVisibleSeries=!0,e.isLog&&0>=a&&(a=null),e.isXAxis?(r=n.xData,r.length&&(e.dataMin=fe(nt(e.dataMin,r[0]),E(r)),e.dataMax=pe(nt(e.dataMax,r[0]),C(r)))):(n.getExtremes(),o=n.dataMax,i=n.dataMin,c(i)&&c(o)&&(e.dataMin=fe(nt(e.dataMin,i),i),e.dataMax=pe(nt(e.dataMax,o),o)),c(a)&&(e.dataMin>=a?(e.dataMin=a,e.ignoreMinPadding=!0):e.dataMaxe||e>n)&&(r?e=fe(pe(t,e),n):c=!0),e};return i=nt(i,u.translate(e,null,null,n)),o=a=ue(i+g),s=l=ue(f-i-g),isNaN(i)?c=!0:u.horiz?(s=p,l=f-u.bottom,o=a=v(o,h,h+u.width)):(o=h,a=m-u.right,s=l=v(s,p,p+u.height)),c&&!r?null:d.renderer.crispLine([Ve,o,s,qe,a,l],t||1)},getLinearTickPositions:function(e,t,n){var r,i,s=D(de(t/e)*e),a=D(he(n/e)*e),l=[];if(t===n&&o(t))return[t];for(r=s;a>=r&&(l.push(r),r=D(r+e),r!==i);)i=r;return l},getMinorTickPositions:function(){var e,t,n,r=this,i=r.options,o=r.tickPositions,s=r.minorTickInterval,a=[],l=r.min,c=r.max,u=c-l;if(u&&u/st;t++)a=a.concat(r.getLogTickPositions(s,o[t-1],o[t],!0));else if(r.isDatetimeAxis&&"auto"===i.minorTickInterval)a=a.concat(r.getTimeTicks(r.normalizeTimeTickInterval(s),l,c,i.startOfWeek));else for(e=l+(o[0]-l)%s;c>=e;e+=s)a.push(e);return r.trimTicks(a),a},adjustForMinRange:function(){var e,t,n,r,i,o,s,a,l=this,u=l.options,d=l.min,h=l.max,p=l.dataMax-l.dataMin>=l.minRange;if(l.isXAxis&&l.minRange===B&&!l.isLog&&(c(u.min)||c(u.max)?l.minRange=null:(ct(l.series,function(e){for(i=e.xData,o=e.xIncrement?1:i.length-1,n=o;n>0;n--)r=i[n]-i[n-1],(t===B||t>r)&&(t=r)}),l.minRange=fe(5*t,l.dataMax-l.dataMin))),h-dh-d&&(s[0]=h-f,s[1]=nt(u.min,h-f),d=C(s))}l.min=d,l.max=h},setAxisTranslation:function(e){var t,r,i=this,o=i.max-i.min,s=i.axisPointRange||0,a=0,l=0,u=i.linkedParent,d=!!i.categories,h=i.transA,p=i.isXAxis;(p||d||s)&&(u?(a=u.minPointOffset,l=u.pointRangePadding):ct(i.series,function(e){var r=d?1:p?e.pointRange:i.axisPointRange||0,u=e.options.pointPlacement,h=e.closestPointRange;r>o&&(r=0),s=pe(s,r),i.single||(a=pe(a,n(u)?0:r/2),l=pe(l,"on"===u?0:r)),!e.noSharedTooltip&&c(h)&&(t=c(t)?fe(t,h):h)}),r=i.ordinalSlope&&t?i.ordinalSlope/t:1,i.minPointOffset=a*=r,i.pointRangePadding=l*=r,i.pointRange=fe(s,o),p&&(i.closestPointRange=t)),e&&(i.oldTransA=h),i.translationSlope=i.transA=h=i.len/(o+l||1),i.transB=i.horiz?i.left:i.bottom,i.minPixelPadding=h*a},setTickInterval:function(e){var t,n,r,i=this,a=i.chart,l=i.options,u=i.isLog,d=i.isDatetimeAxis,h=i.isXAxis,p=i.isLinked,f=l.maxPadding,m=l.minPadding,g=l.tickInterval,v=l.tickPixelInterval,y=i.categories;d||y||p||this.getTickAmount(),p?(i.linkedParent=a[i.coll][l.linkedTo],n=i.linkedParent.getExtremes(),i.min=nt(n.min,n.dataMin),i.max=nt(n.max,n.dataMax),l.type!==i.linkedParent.options.type&&k(11,1)):(i.min=nt(i.userMin,l.min,i.dataMin),i.max=nt(i.userMax,l.max,i.dataMax)),u&&(!e&&fe(i.min,nt(i.dataMin,i.min))<=0&&k(10,1),i.min=D(s(i.min)),i.max=D(s(i.max))),i.range&&c(i.max)&&(i.userMin=i.min=pe(i.min,i.max-i.range),i.userMax=i.max,i.range=null),i.beforePadding&&i.beforePadding(),i.adjustForMinRange(),y||i.axisPointRange||i.usePercentage||p||!c(i.min)||!c(i.max)||(t=i.max-i.min,t&&(c(l.min)||c(i.userMin)||!m||!(i.dataMin<0)&&i.ignoreMinPadding||(i.min-=t*m),c(l.max)||c(i.userMax)||!f||!(i.dataMax>0)&&i.ignoreMaxPadding||(i.max+=t*f))),o(l.floor)&&(i.min=pe(i.min,l.floor)),o(l.ceiling)&&(i.max=fe(i.max,l.ceiling)),i.min===i.max||void 0===i.min||void 0===i.max?i.tickInterval=1:p&&!g&&v===i.linkedParent.options.tickPixelInterval?i.tickInterval=i.linkedParent.tickInterval:i.tickInterval=nt(g,this.tickAmount?(i.max-i.min)/pe(this.tickAmount-1,1):void 0,y?1:(i.max-i.min)*v/pe(i.len,v)),h&&!e&&ct(i.series,function(e){e.processData(i.min!==i.oldMin||i.max!==i.oldMax)}),i.setAxisTranslation(!0),i.beforeSetTickPositions&&i.beforeSetTickPositions(),i.postProcessTickInterval&&(i.tickInterval=i.postProcessTickInterval(i.tickInterval)),i.pointRange&&(i.tickInterval=pe(i.pointRange,i.tickInterval)),r=nt(l.minTickInterval,i.isDatetimeAxis&&i.closestPointRange),!g&&i.tickInterval.5&&i.tickInterval<5&&i.max>1e3&&i.max<9999)),!!this.tickAmount)),!this.tickAmount&&this.len&&(i.tickInterval=i.unsquish()),this.setTickPositions()},setTickPositions:function(){var e,t,n=this.options,r=n.tickPositions,i=n.tickPositioner,o=n.startOnTick,s=n.endOnTick;this.tickmarkOffset=this.categories&&"between"===n.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n.minorTickInterval&&this.tickInterval?this.tickInterval/5:n.minorTickInterval,this.tickPositions=e=n.tickPositions&&n.tickPositions.slice(),e||(e=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,n.units),this.min,this.max,n.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickPositions=e,i&&(i=i.apply(this,[this.min,this.max]),i&&(this.tickPositions=e=i))),this.isLinked||(this.trimTicks(e,o,s),this.min===this.max&&c(this.min)&&!this.tickAmount&&(t=!0,this.min-=.5,this.max+=.5),this.single=t,r||i||this.adjustTickAmount())},trimTicks:function(e,t,n){var r=e[0],i=e[e.length-1],o=this.minPointOffset||0;t?this.min=r:this.min-o>r&&e.shift(),n?this.max=i:this.max+or&&(this.finalTickAmt=r,r=5),this.tickAmount=r},adjustTickAmount:function(){var e,t,n=this.tickInterval,r=this.tickPositions,i=this.tickAmount,o=this.finalTickAmt,s=r&&r.length;if(i>s){for(;r.lengthi&&(this.tickInterval*=2,this.setTickPositions());if(c(o)){for(e=t=r.length;e--;)(3===o&&e%2===1||2>=o&&e>0&&t-1>e)&&r.splice(e,1);this.finalTickAmt=B}},setScale:function(){var e,t,n,r,i=this,o=i.stacks;if(i.oldMin=i.min,i.oldMax=i.max,i.oldAxisLength=i.len,i.setAxisSize(),r=i.len!==i.oldAxisLength,ct(i.series,function(e){(e.isDirtyData||e.isDirty||e.xAxis.isDirty)&&(n=!0)}),r||n||i.isLinked||i.forceRedraw||i.userMin!==i.oldUserMin||i.userMax!==i.oldUserMax){if(!i.isXAxis)for(e in o)for(t in o[e])o[e][t].total=null,o[e][t].cum=0;i.forceRedraw=!1,i.getSeriesExtremes(),i.setTickInterval(),i.oldUserMin=i.userMin,i.oldUserMax=i.userMax,i.isDirty||(i.isDirty=r||i.min!==i.oldMin||i.max!==i.oldMax)}else if(!i.isXAxis){i.oldStacks&&(o=i.stacks=i.oldStacks);for(e in o)for(t in o[e])o[e][t].cum=o[e][t].total}},setExtremes:function(e,t,n,r,i){var o=this,s=o.chart;n=nt(n,!0),ct(o.series,function(e){delete e.kdTree}),i=tt(i,{min:e,max:t}),mt(o,"setExtremes",i,function(){o.userMin=e,o.userMax=t,o.eventArgs=i,o.isDirtyExtremes=!0,n&&s.redraw(r)})},zoom:function(e,t){var n=this.dataMin,r=this.dataMax,i=this.options;return this.allowZoomOutside||(c(n)&&e<=fe(n,nt(i.min,n))&&(e=B),c(r)&&t>=pe(r,nt(i.max,r))&&(t=B)),this.displayBtn=e!==B||t!==B,this.setExtremes(e,t,!1,B,{trigger:"zoom"}),!0},setAxisSize:function(){var e=this.chart,t=this.options,n=t.offsetLeft||0,r=t.offsetRight||0,i=this.horiz,o=nt(t.width,e.plotWidth-n+r),s=nt(t.height,e.plotHeight),a=nt(t.top,e.plotTop),l=nt(t.left,e.plotLeft+n),c=/%$/; -c.test(s)&&(s=parseFloat(s)/100*e.plotHeight),c.test(a)&&(a=parseFloat(a)/100*e.plotHeight+e.plotTop),this.left=l,this.top=a,this.width=o,this.height=s,this.bottom=e.chartHeight-s-a,this.right=e.chartWidth-o-l,this.len=pe(i?o:s,0),this.pos=i?l:a},getExtremes:function(){var e=this,t=e.isLog;return{min:t?D(a(e.min)):e.min,max:t?D(a(e.max)):e.max,dataMin:e.dataMin,dataMax:e.dataMax,userMin:e.userMin,userMax:e.userMax}},getThreshold:function(e){var t=this,n=t.isLog,r=n?a(t.min):t.min,i=n?a(t.max):t.max;return r>e||null===e?e=r:e>i&&(e=i),t.translate(e,0,1,0,1)},autoLabelAlign:function(e){var t,n=(nt(e,0)-90*this.side+720)%360;return t=n>15&&165>n?"right":n>195&&345>n?"left":"center"},unsquish:function(){var e,t,n,r=this.chart,i=this.ticks,o=this.options.labels,s=this.horiz,a=this.tickInterval,l=a,u=this.len/(((this.categories?1:0)+this.max-this.min)/a),d=o.rotation,h=r.renderer.fontMetrics(o.style.fontSize,i[0]&&i[0].label),p=Number.MAX_VALUE,f=function(e){var t=e/(u||1);return t=t>1?he(t):1,t*a};return s?(n=c(d)?[d]:80>u&&!o.staggerLines&&!o.step&&o.autoRotation,n&&ct(n,function(n){var r;(n===d||n&&n>=-90&&90>=n)&&(t=f(me(h.h/ve(_e*n))),r=t+me(n/360),p>r&&(p=r,e=n,l=t))})):l=f(h.h),this.autoRotation=n,this.labelRotation=e,l},renderUnsquish:function(){var t,r,i,o,s=this.chart,a=s.renderer,l=this.tickPositions,c=this.ticks,u=this.options.labels,d=this.horiz,h=s.margin,p=this.slotWidth=d&&!u.step&&!u.rotation&&(this.staggerLines||1)*s.plotWidth/l.length||!d&&(h[3]&&h[3]-s.spacing[3]||.33*s.chartWidth),f=pe(1,ue(p-2*(u.padding||5))),m={},g=a.fontMetrics(u.style.fontSize,c[0]&&c[0].label),v=0;if(n(u.rotation)||(m.rotation=u.rotation),this.autoRotation)ct(l,function(e){e=c[e],e&&e.labelLength>v&&(v=e.labelLength)}),v>f&&v>g.h?m.rotation=this.labelRotation:this.labelRotation=0;else if(p)for(t={width:f+Ue,textOverflow:"clip"},i=l.length;!d&&i--;)o=l[i],r=c[o].label,r&&this.len/l.length-4.5*s.chartHeight?.33*s.chartHeight:s.chartHeight)+Ue,textOverflow:"ellipsis"}),this.labelAlign=m.align=u.align||this.autoLabelAlign(this.labelRotation),ct(l,function(n){var r=c[n],i=r&&r.label;i&&(t&&i.css(e(t,i.specCss)),delete i.specCss,i.attr(m),r.rotation=m.rotation)}),this.tickRotCorr=a.rotCorr(g.b,this.labelRotation||0,2===this.side)},getOffset:function(){var e,t,n,r,i,o,s=this,a=s.chart,l=a.renderer,u=s.options,d=s.tickPositions,h=s.ticks,p=s.horiz,f=s.side,m=a.inverted?[1,0,3,2][f]:f,g=0,v=0,y=u.title,_=u.labels,b=0,w=a.axisOffset,E=a.clipOffset,C=[-1,1,1,-1][f];if(s.hasData=e=s.hasVisibleSeries||c(s.min)&&c(s.max)&&!!d,s.showAxis=t=e||nt(u.showEmpty,!0),s.staggerLines=s.horiz&&_.staggerLines,s.axisGroup||(s.gridGroup=l.g("grid").attr({zIndex:u.gridZIndex||1}).add(),s.axisGroup=l.g("axis").attr({zIndex:u.zIndex||2}).add(),s.labelGroup=l.g("axis-labels").attr({zIndex:_.zIndex||7}).addClass(We+s.coll.toLowerCase()+"-labels").add()),e||s.isLinked)ct(d,function(e){h[e]?h[e].addLabel():h[e]=new N(s,e)}),s.renderUnsquish(),ct(d,function(e){0!==f&&2!==f&&{1:"left",3:"right"}[f]!==s.labelAlign||(b=pe(h[e].getLabelSize(),b))}),s.staggerLines&&(b*=s.staggerLines,s.labelOffset=b);else for(i in h)h[i].destroy(),delete h[i];y&&y.text&&y.enabled!==!1&&(s.axisTitle||(s.axisTitle=l.text(y.text,0,0,y.useHTML).attr({zIndex:7,rotation:y.rotation||0,align:y.textAlign||{low:"left",middle:"center",high:"right"}[y.align]}).addClass(We+this.coll.toLowerCase()+"-title").css(y.style).add(s.axisGroup),s.axisTitle.isNew=!0),t&&(g=s.axisTitle.getBBox()[p?"height":"width"],n=y.offset,v=c(n)?0:nt(y.margin,p?5:10)),s.axisTitle[t?"show":"hide"]()),s.offset=C*nt(u.offset,w[f]),s.tickRotCorr=s.tickRotCorr||{x:0,y:0},o=2===f?s.tickRotCorr.y:0,r=b+v+(b&&C*(p?nt(_.y,s.tickRotCorr.y+8):_.x)-o),s.axisTitleMargin=nt(n,r),w[f]=pe(w[f],s.axisTitleMargin+g+C*s.offset,r),E[m]=pe(E[m],2*de(u.lineWidth/2))},getLinePath:function(e){var t=this.chart,n=this.opposite,r=this.offset,i=this.horiz,o=this.left+(n?this.width:0)+r,s=t.chartHeight-this.bottom-(n?this.height:0)+r;return n&&(e*=-1),t.renderer.crispLine([Ve,i?this.left:o,i?s:this.top,qe,i?t.chartWidth-this.right:o,i?s:t.chartHeight-this.bottom],e)},getTitlePosition:function(){var e=this.horiz,n=this.left,r=this.top,i=this.len,o=this.options.title,s=e?n:r,a=this.opposite,l=this.offset,c=t(o.style.fontSize||12),u={low:s+(e?0:i),middle:s+i/2,high:s+(e?i:0)}[o.align],d=(e?r+this.height:n)+(e?1:-1)*(a?-1:1)*this.axisTitleMargin+(2===this.side?c:0);return{x:e?u:d+(a?this.width:0)+l+(o.x||0),y:e?d-(a?this.height:0)+l:u+(o.y||0)}},render:function(){var e,t,n,r=this,i=r.chart,o=i.renderer,s=r.options,l=r.isLog,u=r.isLinked,d=r.tickPositions,h=r.axisTitle,p=r.ticks,f=r.minorTicks,m=r.alternateBands,g=s.stackLabels,v=s.alternateGridColor,y=r.tickmarkOffset,_=s.lineWidth,b=i.hasRendered,w=b&&c(r.oldMin)&&!isNaN(r.oldMin),E=r.hasData,C=r.showAxis;r.labelEdge.length=0,r.overlap=!1,ct([p,f,m],function(e){var t;for(t in e)e[t].isActive=!1}),(E||u)&&(r.minorTickInterval&&!r.categories&&ct(r.getMinorTickPositions(),function(e){f[e]||(f[e]=new N(r,e,"minor")),w&&f[e].isNew&&f[e].render(null,!0),f[e].render(null,!1,1)}),d.length&&(ct(d,function(e,t){(!u||e>=r.min&&e<=r.max)&&(p[e]||(p[e]=new N(r,e)),w&&p[e].isNew&&p[e].render(t,!0,.1),p[e].render(t))}),y&&(0===r.min||r.single)&&(p[-1]||(p[-1]=new N(r,-1,null,!0)),p[-1].render(-1))),v&&ct(d,function(e,i){i%2===0&&e=H.second?0:h*de(u.getMilliseconds()/h)),d>=H.second&&u.setSeconds(d>=H.minute?0:h*de(u.getSeconds()/h)),d>=H.minute&&u[te](d>=H.hour?0:h*de(u[K]()/h)),d>=H.hour&&u[ne](d>=H.day?0:h*de(u[X]()/h)),d>=H.day&&u[re](d>=H.month?1:h*de(u[Q]()/h)),d>=H.month&&(u[ie](d>=H.year?0:h*de(u[Z]()/h)),o=u[ee]()),d>=H.year&&(o-=o%h,u[oe](o)),d===H.week&&u[re](u[Q]()-u[J]()+nt(r,1)),i=1,(q||G)&&(u=u.getTime(),u=new z(u+g(u))),o=u[ee]();for(var p=u.getTime(),f=u[Z](),m=u[Q](),v=(H.day+(l?g(u):60*u.getTimezoneOffset()*1e3))%H.day;n>p;)s.push(p),d===H.year?p=V(o+i*h,0):d===H.month?p=V(o,f+i*h):l||d!==H.day&&d!==H.week?p+=d*h:p=V(o,f,m+i*h*(d===H.day?1:7)),i++;s.push(p),ct(ut(s,function(e){return d<=H.hour&&e%H.day===v}),function(e){a[e]="day"})}return s.info=tt(e,{higherRanks:a,totalRange:d*h}),s},St.prototype.normalizeTimeTickInterval=function(e,t){var n,r,i=t||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[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]],o=i[i.length-1],s=H[o[0]],a=o[1];for(r=0;r=e)break}return s===H.year&&5*s>e&&(a=[1,2,5]),n=b(e/s,a,"year"===o[0]?pe(_(e/s),1):1),{unitRange:s,count:n,unitName:o[0]}},St.prototype.getLogTickPositions=function(e,t,n,r){var i=this,o=i.options,l=i.len,c=[];if(r||(i._minorAutoInterval=null),e>=.5)e=ue(e),c=i.getLinearTickPositions(e,t,n);else if(e>=.08){var u,d,h,p,f,m,g,v=de(t);for(u=e>.3?[1,2,4]:e>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],d=v;n+1>d&&!g;d++)for(p=u.length,h=0;p>h&&!g;h++)f=s(a(d)*u[h]),f>t&&(!r||n>=m)&&m!==B&&c.push(m),m>n&&(g=!0),m=f}else{var y=a(t),w=a(n),E=o[r?"minorTickInterval":"tickInterval"],C="auto"===E?null:E,A=o.tickPixelInterval/(r?5:1),x=r?l/i.tickPositions.length:l;e=nt(C,i._minorAutoInterval,(w-y)*A/(x||1)),e=b(e,null,_(e)),c=ht(i.getLinearTickPositions(e,y,w),s),r||(i._minorAutoInterval=e/5)}return r||(i.tickInterval=e),c};var Ft=se.Tooltip=function(){this.init.apply(this,arguments)};Ft.prototype={init:function(e,n){var r=n.borderWidth,i=n.style,o=t(i.padding);this.chart=e,this.options=n,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.label=e.renderer.label("",0,0,n.shape||"callout",null,null,n.useHTML,null,"tooltip").attr({padding:o,fill:n.backgroundColor,"stroke-width":r,r:n.borderRadius,zIndex:8}).css(i).css({padding:0}).add().attr({y:-9999}),Te||this.label.shadow(n.shadow),this.shared=n.shared},destroy:function(){this.label&&(this.label=this.label.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(e,t,n,r){var i=this,o=i.now,s=i.options.animation!==!1&&!i.isHidden&&(me(e-o.x)>1||me(t-o.y)>1),a=i.followPointer||i.len>1;tt(o,{x:s?(2*o.x+e)/3:e,y:s?(o.y+t)/2:t,anchorX:a?B:s?(2*o.anchorX+n)/3:n,anchorY:a?B:s?(o.anchorY+r)/2:r}),i.label.attr(o),s&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){i&&i.move(e,t,n,r)},32))},hide:function(e){var t,n=this;clearTimeout(this.hideTimer),this.isHidden||(t=this.chart.hoverPoints,this.hideTimer=setTimeout(function(){n.label.fadeOut(),n.isHidden=!0},nt(e,this.options.hideDelay,500)),t&&ct(t,function(e){e.setState()}),this.chart.hoverPoints=null,this.chart.hoverSeries=null)},getAnchor:function(e,t){var n,r,i,o=this.chart,s=o.inverted,a=o.plotTop,l=o.plotLeft,c=0,u=0;return e=d(e),n=e[0].tooltipPos,this.followPointer&&t&&(t.chartX===B&&(t=o.pointer.normalize(t)),n=[t.chartX-o.plotLeft,t.chartY-a]),n||(ct(e,function(e){r=e.series.yAxis,i=e.series.xAxis,c+=e.plotX+(!s&&i?i.left-l:0),u+=(e.plotLow?(e.plotLow+e.plotHigh)/2:e.plotY)+(!s&&r?r.top-a:0)}),c/=e.length,u/=e.length,n=[s?o.plotWidth-u:c,this.shared&&!s&&e.length>1&&t?t.chartY-a:s?o.plotHeight-c:u]),ht(n,ue)},getPosition:function(e,t,n){var r,i=this.chart,o=this.distance,s={},a=n.h,l=["y",i.chartHeight,t,n.plotY+i.plotTop],c=["x",i.chartWidth,e,n.plotX+i.plotLeft],u=nt(n.ttBelow,i.inverted&&!n.negative||!i.inverted&&n.negative),d=function(e,t,n,r){var i=r-o>n,l=t>r+o+n,c=r-o-n,d=r+o;if(u&&l)s[e]=d;else if(!u&&i)s[e]=c;else if(i)s[e]=0>c-a?c:c-a;else{if(!l)return!1;s[e]=d+a+n>t?d:d+a}},h=function(e,t,n,r){return o>r||r>t-o?!1:void(n/2>r?s[e]=1:r>t-n/2?s[e]=t-n-2:s[e]=r-n/2)},p=function(e){var t=l;l=c,c=t,r=e},f=function(){d.apply(0,l)!==!1?h.apply(0,c)!==!1||r||(p(!0),f()):r?s.x=s.y=0:(p(!0),f())};return(i.inverted||this.len>1)&&p(),f(),s},defaultFormatter:function(e){var t,n=this.points||d(this);return t=[e.tooltipFooterHeaderFormatter(n[0])],t=t.concat(e.bodyFormatter(n)),t.push(e.tooltipFooterHeaderFormatter(n[0],!0)),t.join("")},refresh:function(e,t){var n,r,i,o,s,a,l=this,c=l.chart,u=l.label,h=l.options,p={},f=[],m=h.formatter||l.defaultFormatter,g=c.hoverPoints,v=l.shared;clearTimeout(this.hideTimer),l.followPointer=d(e)[0].series.tooltipOptions.followPointer,i=l.getAnchor(e,t),n=i[0],r=i[1],!v||e.series&&e.series.noSharedTooltip?p=e.getLabelConfig():(c.hoverPoints=e,g&&ct(g,function(e){e.setState()}),ct(e,function(e){e.setState(Xe),f.push(e.getLabelConfig())}),p={x:e[0].category,y:e[0].y},p.points=f,this.len=f.length,e=e[0]),o=m.call(p,l),a=e.series,this.distance=nt(a.tooltipOptions.distance,16),o===!1?this.hide():(l.isHidden&&(yt(u),u.attr("opacity",1).show()),u.attr({text:o}),s=h.borderColor||e.color||a.color||"#606060",u.attr({stroke:s}),l.updatePosition({plotX:n,plotY:r,negative:e.negative,ttBelow:e.ttBelow,h:e.shapeArgs&&e.shapeArgs.height||0}),this.isHidden=!1),mt(c,"tooltipRefresh",{text:o,x:n+c.plotLeft,y:r+c.plotTop,borderColor:s})},updatePosition:function(e){var t=this.chart,n=this.label,r=(this.options.positioner||this.getPosition).call(this,n.width,n.height,e);this.move(ue(r.x),ue(r.y),e.plotX+t.plotLeft,e.plotY+t.plotTop)},getXDateFormat:function(e,t,n){var r,i,o,s,a=t.dateTimeLabelFormats,l=n&&n.closestPointRange,c="01-01 00:00:00.000",u={millisecond:15,second:12,minute:9,hour:6,day:3};if(l){o=I("%m-%d %H:%M:%S.%L",e.x);for(i in H){if(l===H.week&&+I("%w",e.x)===n.options.startOfWeek&&o.substr(6)===c.substr(6)){i="week";break}if(H[i]>l){i=s;break}if(u[i]&&o.substr(u[i])!==c.substr(u[i]))break;"week"!==i&&(s=i)}i&&(r=a[i])}else r=a.day;return r||a.year},tooltipFooterHeaderFormatter:function(e,t){var n=t?"footer":"header",r=e.series,i=r.tooltipOptions,s=i.xDateFormat,a=r.xAxis,l=a&&"datetime"===a.options.type&&o(e.key),c=i[n+"Format"];return l&&!s&&(s=this.getXDateFormat(e,i,a)),l&&s&&(c=c.replace("{point.key}","{point.key:"+s+"}")),y(c,{point:e,series:r})},bodyFormatter:function(e){return ht(e,function(e){var t=e.series.tooltipOptions;return(t.pointFormatter||e.point.tooltipFormatter).call(e.point,t.pointFormat)})}};var Nt;P=ae.documentElement.ontouchstart!==B;var Rt=se.Pointer=function(e,t){this.init(e,t)};if(Rt.prototype={init:function(e,t){var n,r,i=t.chart,o=i.events,s=Te?"":i.zoomType,a=e.inverted;this.options=t,this.chart=e,this.zoomX=n=/x/.test(s),this.zoomY=r=/y/.test(s),this.zoomHor=n&&!a||r&&a,this.zoomVert=r&&!a||n&&a,this.hasZoom=n||r,this.runChartClick=o&&!!o.click,this.pinchDown=[],this.lastValidTouch={},se.Tooltip&&t.tooltip.enabled&&(e.tooltip=new Ft(e,t.tooltip),this.followTouchMove=nt(t.tooltip.followTouchMove,!0)),this.setDOMEvents()},normalize:function(e,t){var n,r,i;return e=e||window.event,e=gt(e),e.target||(e.target=e.srcElement),i=e.touches?e.touches.length?e.touches.item(0):e.changedTouches[0]:e,t||(this.chartPosition=t=dt(this.chart.container)),i.pageX===B?(n=pe(e.x,e.clientX-t.left),r=e.y):(n=i.pageX-t.left,r=i.pageY-t.top),tt(e,{chartX:ue(n),chartY:ue(r)})},getCoordinates:function(e){var t={xAxis:[],yAxis:[]};return ct(this.chart.axes,function(n){t[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(e[n.horiz?"chartX":"chartY"])})}),t},runPointActions:function(e){var t,n,r,i,o,s,a=this,l=a.chart,u=l.series,d=l.tooltip,h=d?d.shared:!1,p=l.hoverPoint,f=l.hoverSeries,m=l.chartWidth,g=l.chartWidth,v=[];if(!h&&!f)for(n=0;n1)&&e.dist.distRo?o=c:o>c+d&&(o=c+d),u>s?s=u:s>u+h&&(s=u+h),this.hasDragged=Math.sqrt(Math.pow(p-o,2)+Math.pow(f-s,2)),this.hasDragged>10&&(t=r.isInsidePlot(p-c,f-u),r.hasCartesianSeries&&(this.zoomX||this.zoomY)&&t&&!m&&(this.selectionMarker||(this.selectionMarker=r.renderer.rect(c,u,a?1:d,l?1:h,0).attr({fill:i.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add())),this.selectionMarker&&a&&(n=o-p,this.selectionMarker.attr({width:me(n),x:(n>0?0:n)+p})),this.selectionMarker&&l&&(n=s-f,this.selectionMarker.attr({height:me(n),y:(n>0?0:n)+f})),t&&!this.selectionMarker&&i.panning&&r.pan(e,i.panning))},drop:function(e){var t=this,n=this.chart,r=this.hasPinched;if(this.selectionMarker){var i,o={xAxis:[],yAxis:[],originalEvent:e.originalEvent||e},s=this.selectionMarker,a=s.attr?s.attr("x"):s.x,l=s.attr?s.attr("y"):s.y,u=s.attr?s.attr("width"):s.width,d=s.attr?s.attr("height"):s.height;(this.hasDragged||r)&&(ct(n.axes,function(n){if(n.zoomEnabled&&c(n.min)&&(r||t[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])){var s=n.horiz,h="touchend"===e.type?n.minPixelPadding:0,p=n.toValue((s?a:l)+h),f=n.toValue((s?a+u:l+d)-h);o[n.coll].push({axis:n,min:fe(p,f),max:pe(p,f)}),i=!0}}),i&&mt(n,"selection",o,function(e){n.zoom(tt(e,r?{animation:!1}:null))})),this.selectionMarker=this.selectionMarker.destroy(),r&&this.scaleGroups()}n&&(h(n.container,{cursor:n._cursor}),n.cancelClick=this.hasDragged>10,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},onContainerMouseDown:function(e){e=this.normalize(e),e.preventDefault&&e.preventDefault(),this.dragStart(e)},onDocumentMouseUp:function(e){Re[Nt]&&Re[Nt].pointer.drop(e)},onDocumentMouseMove:function(e){var t=this.chart,n=this.chartPosition;e=this.normalize(e,n),!n||this.inClass(e.target,"highcharts-tracker")||t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop)||this.reset()},onContainerMouseLeave:function(){var e=Re[Nt];e&&(e.pointer.reset(),e.pointer.chartPosition=null)},onContainerMouseMove:function(e){var t=this.chart;Nt=t.index,e=this.normalize(e),e.returnValue=!1,"mousedown"===t.mouseIsDown&&this.drag(e),!this.inClass(e.target,"highcharts-tracker")&&!t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop)||t.openMenu||this.runPointActions(e)},inClass:function(e,t){for(var n;e;){if(n=u(e,"class")){if(-1!==n.indexOf(t))return!0;if(-1!==n.indexOf(We+"container"))return!1}e=e.parentNode}},onTrackerMouseOut:function(e){var t=this.chart.hoverSeries,n=e.relatedTarget||e.toElement,r=n&&n.point&&n.point.series;!t||t.options.stickyTracking||this.inClass(n,We+"tooltip")||r===t||t.onMouseOut()},onContainerClick:function(e){var t=this.chart,n=t.hoverPoint,r=t.plotLeft,i=t.plotTop;e=this.normalize(e),e.originalEvent=e,e.cancelBubble=!0,t.cancelClick||(n&&this.inClass(e.target,We+"tracker")?(mt(n.series,"click",tt(e,{point:n})),t.hoverPoint&&n.firePointEvent("click",e)):(tt(e,this.getCoordinates(e)),t.isInsidePlot(e.chartX-r,e.chartY-i)&&mt(t,"click",e)))},setDOMEvents:function(){var e=this,t=e.chart.container;t.onmousedown=function(t){e.onContainerMouseDown(t)},t.onmousemove=function(t){e.onContainerMouseMove(t)},t.onclick=function(t){e.onContainerClick(t)},pt(t,"mouseleave",e.onContainerMouseLeave),1===Be&&pt(ae,"mouseup",e.onDocumentMouseUp),P&&(t.ontouchstart=function(t){e.onContainerTouchStart(t)},t.ontouchmove=function(t){e.onContainerTouchMove(t)},1===Be&&pt(ae,"touchend",e.onDocumentTouchEnd))},destroy:function(){var e;ft(this.chart.container,"mouseleave",this.onContainerMouseLeave),Be||(ft(ae,"mouseup",this.onDocumentMouseUp),ft(ae,"touchend",this.onDocumentTouchEnd)),clearInterval(this.tooltipTimeout);for(e in this)this[e]=null}},tt(se.Pointer.prototype,{pinchTranslate:function(e,t,n,r,i,o){(this.zoomHor||this.pinchHor)&&this.pinchTranslateDirection(!0,e,t,n,r,i,o),(this.zoomVert||this.pinchVert)&&this.pinchTranslateDirection(!1,e,t,n,r,i,o)},pinchTranslateDirection:function(e,t,n,r,i,o,s,a){var l,c,u,d,h,p,f=this.chart,m=e?"x":"y",g=e?"X":"Y",v="chart"+g,y=e?"width":"height",_=f["plot"+(e?"Left":"Top")],b=a||1,w=f.inverted,E=f.bounds[e?"h":"v"],C=1===t.length,A=t[0][v],x=n[0][v],k=!C&&t[1][v],D=!C&&n[1][v],L=function(){!C&&me(A-k)>20&&(b=a||me(x-D)/me(A-k)),u=(_-x)/b+A,l=f["plot"+(e?"Width":"Height")]/b};L(),c=u,cE.max&&(c=E.max-l,d=!0),d?(x-=.8*(x-s[m][0]),C||(D-=.8*(D-s[m][1])),L()):s[m]=[x,D],w||(o[m]=u-_,o[y]=l),p=w?e?"scaleY":"scaleX":"scale"+g,h=w?1/b:b,i[y]=l,i[m]=c,r[p]=b,r["translate"+g]=h*_+(x-h*A)},pinch:function(e){var t=this,n=t.chart,r=t.pinchDown,i=e.touches,o=i.length,s=t.lastValidTouch,a=t.hasZoom,l=t.selectionMarker,c={},u=1===o&&(t.inClass(e.target,We+"tracker")&&n.runTrackerClick||t.runChartClick),d={};a&&!u&&e.preventDefault(),ht(i,function(e){return t.normalize(e)}),"touchstart"===e.type?(ct(i,function(e,t){r[t]={chartX:e.chartX,chartY:e.chartY}}),s.x=[r[0].chartX,r[1]&&r[1].chartX],s.y=[r[0].chartY,r[1]&&r[1].chartY],ct(n.axes,function(e){if(e.zoomEnabled){var t=n.bounds[e.horiz?"h":"v"],r=e.minPixelPadding,i=e.toPixels(nt(e.options.min,e.dataMin)),o=e.toPixels(nt(e.options.max,e.dataMax)),s=fe(i,o),a=pe(i,o);t.min=fe(e.pos,s-r),t.max=pe(e.pos+e.len,a+r)}}),t.res=!0):r.length&&(l||(t.selectionMarker=l=tt({destroy:Ne},n.plotBox)),t.pinchTranslate(r,i,c,l,d,s),t.hasPinched=a,t.scaleGroups(c,d),!a&&t.followTouchMove&&1===o?this.runPointActions(t.normalize(e)):t.res&&(t.res=!1,this.reset(!1,0)))},onContainerTouchStart:function(e){var t=this.chart;Nt=t.index,1===e.touches.length?(e=this.normalize(e),t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop)&&!t.openMenu?(this.runPointActions(e),this.pinch(e)):this.reset()):2===e.touches.length&&this.pinch(e)},onContainerTouchMove:function(e){1!==e.touches.length&&2!==e.touches.length||this.pinch(e)},onDocumentTouchEnd:function(e){Re[Nt]&&Re[Nt].pointer.drop(e)}}),le.PointerEvent||le.MSPointerEvent){var Bt={},Ot=!!le.PointerEvent,Pt=function(){var e,t=[];t.item=function(e){return this[e]};for(e in Bt)Bt.hasOwnProperty(e)&&t.push({pageX:Bt[e].pageX,pageY:Bt[e].pageY,target:Bt[e].target});return t},$t=function(e,t,n,r){var i;e=e.originalEvent||e,"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!Re[Nt]||(r(e),i=Re[Nt].pointer,i[t]({type:n,target:e.currentTarget,preventDefault:Ne,touches:Pt()}))};tt(Rt.prototype,{onContainerPointerDown:function(e){$t(e,"onContainerTouchStart","touchstart",function(e){Bt[e.pointerId]={pageX:e.pageX,pageY:e.pageY,target:e.currentTarget}})},onContainerPointerMove:function(e){$t(e,"onContainerTouchMove","touchmove",function(e){Bt[e.pointerId]={pageX:e.pageX,pageY:e.pageY},Bt[e.pointerId].target||(Bt[e.pointerId].target=e.currentTarget)})},onDocumentPointerUp:function(e){$t(e,"onContainerTouchEnd","touchend",function(e){delete Bt[e.pointerId]})},batchMSEvents:function(e){e(this.chart.container,Ot?"pointerdown":"MSPointerDown",this.onContainerPointerDown),e(this.chart.container,Ot?"pointermove":"MSPointerMove",this.onContainerPointerMove),e(ae,Ot?"pointerup":"MSPointerUp",this.onDocumentPointerUp)}}),rt(Rt.prototype,"init",function(e,t,n){e.call(this,t,n),(this.hasZoom||this.followTouchMove)&&h(t.container,{"-ms-touch-action":ze,"touch-action":ze})}),rt(Rt.prototype,"setDOMEvents",function(e){e.apply(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(pt)}),rt(Rt.prototype,"destroy",function(e){this.batchMSEvents(ft),e.call(this)})}var Yt=se.Legend=function(e,t){this.init(e,t)};Yt.prototype={init:function(t,n){var r,i=this,o=n.itemStyle,s=n.itemMarginTop||0;this.options=n,n.enabled&&(i.itemStyle=o,i.itemHiddenStyle=e(o,n.itemHiddenStyle),i.itemMarginTop=s,i.padding=r=nt(n.padding,8),i.initialItemX=r,i.initialItemY=r-5,i.maxItemWidth=0,i.chart=t,i.itemHeight=0,i.symbolWidth=nt(n.symbolWidth,16),i.pages=[],i.render(),pt(i.chart,"endResize",function(){i.positionCheckboxes()}))},colorizeItem:function(e,t){var n,r,i=this,o=i.options,s=e.legendItem,a=e.legendLine,l=e.legendSymbol,c=i.itemHiddenStyle.color,u=t?o.itemStyle.color:c,d=t?e.legendColor||e.color||"#CCC":c,h=e.options&&e.options.marker,p={fill:d};if(s&&s.css({fill:u,color:u}),a&&a.attr({stroke:d}),l){if(h&&l.isMarker){p.stroke=d,h=e.convertAttribs(h);for(n in h)r=h[n],r!==B&&(p[n]=r)}l.attr(p)}},positionItem:function(e){var t=this,n=t.options,r=n.symbolPadding,i=!n.rtl,o=e._legendItemPos,s=o[0],a=o[1],l=e.checkbox;e.legendGroup&&e.legendGroup.translate(i?s:t.legendWidth-s-2*r-4,a),l&&(l.x=s,l.y=a)},destroyItem:function(e){var t=e.checkbox;ct(["legendItem","legendLine","legendSymbol","legendGroup"],function(t){e[t]&&(e[t]=e[t].destroy())}),t&&x(e.checkbox)},clearItems:function(){var e=this;ct(e.getAllItems(),function(t){e.destroyItem(t)})},destroy:function(){var e=this,t=e.group,n=e.box;n&&(e.box=n.destroy()),t&&(e.group=t.destroy())},positionCheckboxes:function(e){var t,n=this.group.alignAttr,r=this.clipHeight||this.legendHeight;n&&(t=n.translateY,ct(this.allItems,function(i){var o,s=i.checkbox;s&&(o=t+s.y+(e||0)+3,h(s,{left:n.translateX+i.checkboxOffset+s.x-20+Ue,top:o+Ue,display:o>t-6&&t+r-6>o?"":ze}))}))},renderTitle:function(){var e,t=this.options,n=this.padding,r=t.title,i=0;r.text&&(this.title||(this.title=this.chart.renderer.label(r.text,n-3,n-4,null,null,null,null,null,"legend-title").attr({zIndex:1}).css(r.style).add(this.group)),e=this.title.getBBox(),i=e.height,this.offsetWidth=e.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},renderItem:function(t){var n,r,i,o=this,s=o.chart,a=s.renderer,l=o.options,c="horizontal"===l.layout,u=o.symbolWidth,d=l.symbolPadding,h=o.itemStyle,p=o.itemHiddenStyle,f=o.padding,m=c?nt(l.itemDistance,20):0,g=!l.rtl,v=l.width,_=l.itemMarginBottom||0,b=o.itemMarginTop,w=o.initialItemX,E=t.legendItem,C=t.series&&t.series.drawLegendSymbol?t.series:t,A=C.options,x=o.createCheckboxForItem&&A&&A.showCheckbox,k=l.useHTML;E||(t.legendGroup=a.g("legend-item").attr({zIndex:1}).add(o.scrollGroup),t.legendItem=E=a.text(l.labelFormat?y(l.labelFormat,t):l.labelFormatter.call(t),g?u+d:-d,o.baseline||0,k).css(e(t.visible?h:p)).attr({align:g?"left":"right",zIndex:2}).add(t.legendGroup),o.baseline||(o.baseline=a.fontMetrics(h.fontSize,E).f+3+b,E.attr("y",o.baseline)),C.drawLegendSymbol(o,t),o.setItemEvents&&o.setItemEvents(t,E,k,h,p),o.colorizeItem(t,t.visible),x&&o.createCheckboxForItem(t)),r=E.getBBox(),i=t.checkboxOffset=l.itemWidth||t.legendItemWidth||u+d+r.width+m+(x?20:0),o.itemHeight=n=ue(t.legendItemHeight||r.height),c&&o.itemX-w+i>(v||s.chartWidth-2*f-w-l.x)&&(o.itemX=w,o.itemY+=b+o.lastLineHeight+_),o.maxItemWidth=pe(o.maxItemWidth,i),o.lastItemY=b+o.itemY+_,o.lastLineHeight=pe(n,o.lastLineHeight),t._legendItemPos=[o.itemX,o.itemY],c?o.itemX+=i:(o.itemY+=b+n+_,o.lastLineHeight=n),o.offsetWidth=v||pe((c?o.itemX-w-m:i)+f,o.offsetWidth)},getAllItems:function(){var e=[];return ct(this.chart.series,function(t){var n=t.options;nt(n.showInLegend,c(n.linkedTo)?!1:B,!0)&&(e=e.concat(t.legendItems||("point"===n.legendType?t.data:t)))}),e},adjustMargins:function(e,t){var n=this.chart,r=this.options,i=r.align[0]+r.verticalAlign[0]+r.layout[0];this.display&&!r.floating&&ct([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(o,s){o.test(i)&&!c(e[s])&&(n[Qe[s]]=pe(n[Qe[s]],n.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*r[s%2?"x":"y"]+nt(r.margin,12)+t[s]))})},render:function(){var e,t,n,r,i=this,o=i.chart,s=o.renderer,a=i.group,l=i.box,c=i.options,u=i.padding,d=c.borderWidth,h=c.backgroundColor;i.itemX=i.initialItemX,i.itemY=i.initialItemY,i.offsetWidth=0,i.lastItemY=0,a||(i.group=a=s.g("legend").attr({zIndex:7}).add(),i.contentGroup=s.g().attr({zIndex:1}).add(a),i.scrollGroup=s.g().add(i.contentGroup)),i.renderTitle(),e=i.getAllItems(),w(e,function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)}),c.reversed&&e.reverse(),i.allItems=e,i.display=t=!!e.length,i.lastLineHeight=0,ct(e,function(e){i.renderItem(e)}),n=(c.width||i.offsetWidth)+u,r=i.lastItemY+i.lastLineHeight+i.titleHeight,r=i.handleOverflow(r),r+=u,(d||h)&&(l?n>0&&r>0&&(l[l.isNew?"attr":"animate"](l.crisp({width:n,height:r})),l.isNew=!1):(i.box=l=s.rect(0,0,n,r,c.borderRadius,d||0).attr({stroke:c.borderColor,"stroke-width":d||0,fill:h||ze}).add(a).shadow(c.shadow),l.isNew=!0),l[t?"show":"hide"]()),i.legendWidth=n,i.legendHeight=r,ct(e,function(e){i.positionItem(e)}),t&&a.align(tt({width:n,height:r},c),!0,"spacingBox"),o.isResizing||this.positionCheckboxes()},handleOverflow:function(e){var t,n,r=this,i=this.chart,o=i.renderer,s=this.options,a=s.y,l="top"===s.verticalAlign,c=i.spacingBox.height+(l?-a:a)-this.padding,u=s.maxHeight,d=this.clipRect,h=s.navigation,p=nt(h.animation,!0),f=h.arrowSize||12,m=this.nav,g=this.pages,v=this.allItems;return"horizontal"===s.layout&&(c/=2),u&&(c=fe(c,u)),g.length=0,e>c&&!s.useHTML?(this.clipHeight=t=pe(c-20-this.titleHeight-this.padding,0),this.currentPage=nt(this.currentPage,1),this.fullHeight=e,ct(v,function(e,r){var i=e._legendItemPos[1],o=ue(e.legendItem.getBBox().height),s=g.length;(!s||i-g[s-1]>t&&(n||i)!==g[s-1])&&(g.push(n||i),s++),r===v.length-1&&i+o-g[s-1]>t&&g.push(i),i!==n&&(n=i)}),d||(d=r.clipRect=o.clipRect(0,this.padding,9999,0),r.contentGroup.clip(d)),d.attr({height:t}),m||(this.nav=m=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,f,f).on("click",function(){r.scroll(-1,p)}).add(m),this.pager=o.text("",15,10).css(h.style).add(m),this.down=o.symbol("triangle-down",0,0,f,f).on("click",function(){r.scroll(1,p)}).add(m)),r.scroll(0),e=c):m&&(d.attr({height:i.chartHeight}),m.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e},scroll:function(e,t){var n,r=this.pages,i=r.length,o=this.currentPage+e,s=this.clipHeight,a=this.options.navigation,l=a.activeColor,c=a.inactiveColor,u=this.pager,d=this.padding;o>i&&(o=i),o>0&&(t!==B&&L(t,this.chart),this.nav.attr({translateX:d,translateY:s+this.padding+7+this.titleHeight,visibility:He}),this.up.attr({fill:1===o?c:l}).css({cursor:1===o?"default":"pointer"}),u.attr({text:o+"/"+i}),this.down.attr({x:18+this.pager.getBBox().width,fill:o===i?c:l}).css({cursor:o===i?"default":"pointer"}),n=-r[o-1]+this.initialItemY, -this.scrollGroup.animate({translateY:n}),this.currentPage=o,this.positionCheckboxes(n))}};var It=se.LegendSymbolMixin={drawRectangle:function(e,t){var n=e.options.symbolHeight||12;t.legendSymbol=this.chart.renderer.rect(0,e.baseline-5-n/2,e.symbolWidth,n,e.options.symbolRadius||0).attr({zIndex:3}).add(t.legendGroup)},drawLineMarker:function(e){var t,n,r,i=this.options,o=i.marker,s=e.options,a=e.symbolWidth,l=this.chart.renderer,c=this.legendGroup,u=e.baseline-ue(.3*l.fontMetrics(s.itemStyle.fontSize,this.legendItem).b);i.lineWidth&&(r={"stroke-width":i.lineWidth},i.dashStyle&&(r.dashstyle=i.dashStyle),this.legendLine=l.path([Ve,0,u,qe,a,u]).attr(r).add(c)),o&&o.enabled!==!1&&(t=o.radius,this.legendSymbol=n=l.symbol(this.symbol,a/2-t,u-t,2*t,2*t).add(c),n.isMarker=!0)}};(/Trident\/7\.0/.test(be)||xe)&&rt(Yt.prototype,"positionItem",function(e,t){var n=this,r=function(){t._legendItemPos&&e.call(n,t)};r(),setTimeout(r)});var jt=se.Chart=function(){this.init.apply(this,arguments)};jt.prototype={callbacks:[],init:function(t,n){var r,i=t.series;t.series=null,r=e(Y,t),r.series=t.series=i,this.userOptions=t;var o=r.chart;this.margin=this.splashArray("margin",o),this.spacing=this.splashArray("spacing",o);var s=o.events;this.bounds={h:{},v:{}},this.callback=n,this.isResizing=0,this.options=r,this.axes=[],this.series=[],this.hasCartesianSeries=o.showAxes;var a,l=this;if(l.index=Re.length,Re.push(l),Be++,o.reflow!==!1&&pt(l,"load",function(){l.initReflow()}),s)for(a in s)pt(l,a,s[a]);l.xAxis=[],l.yAxis=[],l.animation=Te?!1:nt(o.animation,!0),l.pointCount=l.colorCounter=l.symbolCounter=0,l.firstRender()},initSeries:function(e){var t,n=this,r=n.options.chart,i=e.type||r.type||r.defaultSeriesType,o=et[i];return o||k(17,!0),t=new o,t.init(this,e),t},isInsidePlot:function(e,t,n){var r=n?t:e,i=n?e:t;return r>=0&&r<=this.plotWidth&&i>=0&&i<=this.plotHeight},redraw:function(e){var t,n,r,i=this,o=i.axes,s=i.series,a=i.pointer,l=i.legend,c=i.isDirtyLegend,u=i.hasCartesianSeries,d=i.isDirtyBox,h=s.length,p=h,f=i.renderer,m=f.isHidden(),g=[];for(L(e,i),m&&i.cloneRenderTo(),i.layOutTitles();p--;)if(r=s[p],r.options.stacking&&(t=!0,r.isDirty)){n=!0;break}if(n)for(p=h;p--;)r=s[p],r.options.stacking&&(r.isDirty=!0);ct(s,function(e){e.isDirty&&"point"===e.options.legendType&&(c=!0)}),c&&l.options.enabled&&(l.render(),i.isDirtyLegend=!1),t&&i.getStacks(),u&&(i.isResizing||(i.maxTicks=null,ct(o,function(e){e.setScale()}))),i.getMargins(),u&&(ct(o,function(e){e.isDirty&&(d=!0)}),ct(o,function(e){e.isDirtyExtremes&&(e.isDirtyExtremes=!1,g.push(function(){mt(e,"afterSetExtremes",tt(e.eventArgs,e.getExtremes())),delete e.eventArgs})),(d||t)&&e.redraw()})),d&&i.drawChartBox(),ct(s,function(e){e.isDirty&&e.visible&&(!e.isCartesian||e.xAxis)&&e.redraw()}),a&&a.reset(!0),f.draw(),mt(i,"redraw"),m&&i.cloneRenderTo(!0),ct(g,function(e){e.call()})},get:function(e){var t,n,r,i=this,o=i.axes,s=i.series;for(t=0;t19?e.containerHeight:400))},cloneRenderTo:function(e){var t=this.renderToClone,n=this.container;e?t&&(this.renderTo.appendChild(n),x(t),delete this.renderToClone):(n&&n.parentNode===this.renderTo&&this.renderTo.removeChild(n),this.renderToClone=t=this.renderTo.cloneNode(0),h(t,{position:Ye,top:"-9999px",display:"block"}),t.style.setProperty&&t.style.setProperty("display","block","important"),ae.body.appendChild(t),n&&t.appendChild(n))},getContainer:function(){var e,r,i,o,s,a,l=this,c=l.options.chart,d="data-highcharts-chart";l.renderTo=o=c.renderTo,a=We+Fe++,n(o)&&(l.renderTo=o=ae.getElementById(o)),o||k(13,!0),s=t(u(o,d)),!isNaN(s)&&Re[s]&&Re[s].hasRendered&&Re[s].destroy(),u(o,d,l.index),o.innerHTML="",c.skipClone||o.offsetWidth||l.cloneRenderTo(),l.getChartSize(),r=l.chartWidth,i=l.chartHeight,l.container=e=p($e,{className:We+"container"+(c.className?" "+c.className:""),id:a},tt({position:Ie,overflow:je,width:r+Ue,height:i+Ue,textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},c.style),l.renderToClone||o),l._cursor=e.style.cursor,l.renderer=c.forExport?new xt(e,r,i,c.style,!0):new O(e,r,i,c.style),Te&&l.renderer.create(l,e,r,i),l.renderer.chartIndex=l.index},getMargins:function(e){var t=this,n=t.spacing,r=t.margin,i=t.titleOffset;t.resetMargins(),i&&!c(r[0])&&(t.plotTop=pe(t.plotTop,i+t.options.title.margin+n[0])),t.legend.adjustMargins(r,n),t.extraBottomMargin&&(t.marginBottom+=t.extraBottomMargin),t.extraTopMargin&&(t.plotTop+=t.extraTopMargin),e||this.getAxisMargins()},getAxisMargins:function(){var e=this,t=e.axisOffset=[0,0,0,0],n=e.margin;e.hasCartesianSeries&&ct(e.axes,function(e){e.getOffset()}),ct(Qe,function(r,i){c(n[i])||(e[r]+=t[i])}),e.setChartSize()},reflow:function(e){var t=this,n=t.options.chart,r=t.renderTo,i=n.width||st(r,"width"),o=n.height||st(r,"height"),s=e?e.target:le,a=function(){t.container&&(t.setSize(i,o,!1),t.hasUserSize=null)};t.hasUserSize||t.isPrinting||!i||!o||s!==le&&s!==ae||(i===t.containerWidth&&o===t.containerHeight||(clearTimeout(t.reflowTimeout),e?t.reflowTimeout=setTimeout(a,100):a()),t.containerWidth=i,t.containerHeight=o)},initReflow:function(){var e=this,t=function(t){e.reflow(t)};pt(le,"resize",t),pt(e,"destroy",function(){ft(le,"resize",t)})},setSize:function(e,t,n){var r,i,o,s=this;s.isResizing+=1,o=function(){s&&mt(s,"endResize",null,function(){s.isResizing-=1})},L(n,s),s.oldChartHeight=s.chartHeight,s.oldChartWidth=s.chartWidth,c(e)&&(s.chartWidth=r=pe(0,ue(e)),s.hasUserSize=!!r),c(t)&&(s.chartHeight=i=pe(0,ue(t))),(j?vt:h)(s.container,{width:r+Ue,height:i+Ue},j),s.setChartSize(!0),s.renderer.setSize(r,i,n),s.maxTicks=null,ct(s.axes,function(e){e.isDirty=!0,e.setScale()}),ct(s.series,function(e){e.isDirty=!0}),s.isDirtyLegend=!0,s.isDirtyBox=!0,s.layOutTitles(),s.getMargins(),s.redraw(n),s.oldChartHeight=null,mt(s,"resize"),j===!1?o():setTimeout(o,j&&j.duration||500)},setChartSize:function(e){var t,n,r,i,o,s,a,l=this,c=l.inverted,u=l.renderer,d=l.chartWidth,h=l.chartHeight,p=l.options.chart,f=l.spacing,m=l.clipOffset;l.plotLeft=r=ue(l.plotLeft),l.plotTop=i=ue(l.plotTop),l.plotWidth=o=pe(0,ue(d-r-l.marginRight)),l.plotHeight=s=pe(0,ue(h-i-l.marginBottom)),l.plotSizeX=c?s:o,l.plotSizeY=c?o:s,l.plotBorderWidth=p.plotBorderWidth||0,l.spacingBox=u.spacingBox={x:f[3],y:f[0],width:d-f[3]-f[1],height:h-f[0]-f[2]},l.plotBox=u.plotBox={x:r,y:i,width:o,height:s},a=2*de(l.plotBorderWidth/2),t=he(pe(a,m[3])/2),n=he(pe(a,m[0])/2),l.clipBox={x:t,y:n,width:de(l.plotSizeX-pe(a,m[1])/2-t),height:pe(0,de(l.plotSizeY-pe(a,m[2])/2-n))},e||ct(l.axes,function(e){e.setAxisSize(),e.setAxisTranslation()})},resetMargins:function(){var e=this;ct(Qe,function(t,n){e[t]=nt(e.margin[n],e.spacing[n])}),e.axisOffset=[0,0,0,0],e.clipOffset=[0,0,0,0]},drawChartBox:function(){var e,t,n=this,r=n.options.chart,i=n.renderer,o=n.chartWidth,s=n.chartHeight,a=n.chartBackground,l=n.plotBackground,c=n.plotBorder,u=n.plotBGImage,d=r.borderWidth||0,h=r.backgroundColor,p=r.plotBackgroundColor,f=r.plotBackgroundImage,m=r.plotBorderWidth||0,g=n.plotLeft,v=n.plotTop,y=n.plotWidth,_=n.plotHeight,b=n.plotBox,w=n.clipRect,E=n.clipBox;e=d+(r.shadow?8:0),(d||h)&&(a?a.animate(a.crisp({width:o-e,height:s-e})):(t={fill:h||ze},d&&(t.stroke=r.borderColor,t["stroke-width"]=d),n.chartBackground=i.rect(e/2,e/2,o-e,s-e,r.borderRadius,d).attr(t).addClass(We+"background").add().shadow(r.shadow))),p&&(l?l.animate(b):n.plotBackground=i.rect(g,v,y,_,0).attr({fill:p}).add().shadow(r.plotShadow)),f&&(u?u.animate(b):n.plotBGImage=i.image(f,g,v,y,_).add()),w?w.animate({width:E.width,height:E.height}):n.clipRect=i.clipRect(E),m&&(c?c.animate(c.crisp({x:g,y:v,width:y,height:_,strokeWidth:-m})):n.plotBorder=i.rect(g,v,y,_,0,-m).attr({stroke:r.plotBorderColor,"stroke-width":m,fill:ze,zIndex:1}).add()),n.isDirtyBox=!1},propFromSeries:function(){var e,t,n,r=this,i=r.options.chart,o=r.options.series;ct(["inverted","angular","polar"],function(s){for(e=et[i.type||i.defaultSeriesType],n=r[s]||i[s]||e&&e.prototype[s],t=o&&o.length;!n&&t--;)e=et[o[t].type],e&&e.prototype[s]&&(n=!0);r[s]=n})},linkSeries:function(){var e=this,t=e.series;ct(t,function(e){e.linkedSeries.length=0}),ct(t,function(t){var r=t.options.linkedTo;n(r)&&(r=":previous"===r?e.series[t.index-1]:e.get(r),r&&(r.linkedSeries.push(t),t.linkedParent=r))})},renderSeries:function(){ct(this.series,function(e){e.translate(),e.render()})},renderLabels:function(){var e=this,n=e.options.labels;n.items&&ct(n.items,function(r){var i=tt(n.style,r.style),o=t(i.left)+e.plotLeft,s=t(i.top)+e.plotTop+12;delete i.left,delete i.top,e.renderer.text(r.html,o,s).attr({zIndex:2}).css(i).add()})},render:function(){var e,t,n,r,i=this,o=i.axes,s=i.renderer,a=i.options;i.setTitle(),i.legend=new Yt(i,a.legend),i.getStacks(),i.getMargins(!0),i.setChartSize(),e=i.plotWidth,t=i.plotHeight=i.plotHeight-13,ct(o,function(e){e.setScale()}),i.getAxisMargins(),n=e/i.plotWidth>1.2,r=t/i.plotHeight>1.1,(n||r)&&(i.maxTicks=null,ct(o,function(e){(e.horiz&&n||!e.horiz&&r)&&e.setTickInterval(!0)}),i.getMargins()),i.drawChartBox(),i.hasCartesianSeries&&ct(o,function(e){e.render()}),i.seriesGroup||(i.seriesGroup=s.g("series-group").attr({zIndex:3}).add()),i.renderSeries(),i.renderLabels(),i.showCredits(a.credits),i.hasRendered=!0},showCredits:function(e){e.enabled&&!this.credits&&(this.credits=this.renderer.text(e.text,0,0).on("click",function(){e.href&&(location.href=e.href)}).attr({align:e.position.align,zIndex:8}).css(e.style).add().align(e.position))},destroy:function(){var e,t=this,n=t.axes,r=t.series,i=t.container,o=i&&i.parentNode;for(mt(t,"destroy"),Re[t.index]=B,Be--,t.renderTo.removeAttribute("data-highcharts-chart"),ft(t),e=n.length;e--;)n[e]=n[e].destroy();for(e=r.length;e--;)r[e]=r[e].destroy();ct(["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","scroller","rangeSelector","legend","resetZoomButton","tooltip","renderer"],function(e){var n=t[e];n&&n.destroy&&(t[e]=n.destroy())}),i&&(i.innerHTML="",ft(i),o&&x(i));for(e in t)delete t[e]},isReadyToRender:function(){var e=this;return!Le&&le==le.top&&"complete"!==ae.readyState||Te&&!le.canvg?(Te?Tt.push(function(){e.firstRender()},e.options.global.canvasToolsURL):ae.attachEvent("onreadystatechange",function(){ae.detachEvent("onreadystatechange",e.firstRender),"complete"===ae.readyState&&e.firstRender()}),!1):!0},firstRender:function(){var e=this,t=e.options,n=e.callback;e.isReadyToRender()&&(e.getContainer(),mt(e,"init"),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes(),ct(t.series||[],function(t){e.initSeries(t)}),e.linkSeries(),mt(e,"beforeRender"),se.Pointer&&(e.pointer=new Rt(e,t)),e.render(),e.renderer.draw(),n&&n.apply(e,[e]),ct(e.callbacks,function(t){e.index!==B&&t.apply(e,[e])}),mt(e,"load"),e.cloneRenderTo(!0))},splashArray:function(e,t){var n=t[e],i=r(n)?n:[n,n,n,n];return[nt(t[e+"Top"],i[0]),nt(t[e+"Right"],i[1]),nt(t[e+"Bottom"],i[2]),nt(t[e+"Left"],i[3])]}};var Wt=se.CenteredSeriesMixin={getCenter:function(){var e,n,r,i,o=this.options,s=this.chart,a=2*(o.slicedOffset||0),l=s.plotWidth-2*a,c=s.plotHeight-2*a,u=o.center,d=[nt(u[0],"50%"),nt(u[1],"50%"),o.size||"100%",o.innerSize||0],h=fe(l,c);for(r=0;4>r;++r)i=d[r],n=/%$/.test(i),e=2>r||2===r&&n,d[r]=(n?[l,c,h,d[2]][r]*t(i)/100:t(i))+(e?a:0);return d}},Ht=function(){};Ht.prototype={init:function(e,t,n){var r,i=this;return i.series=e,i.color=e.color,i.applyOptions(t,n),i.pointAttr={},e.options.colorByPoint&&(r=e.options.colors||e.chart.options.colors,i.color=i.color||r[e.colorCounter++],e.colorCounter===r.length&&(e.colorCounter=0)),e.chart.pointCount++,i},applyOptions:function(e,t){var n=this,r=n.series,i=r.options.pointValKey||r.pointValKey;return e=Ht.prototype.optionsToObject.call(this,e),tt(n,e),n.options=n.options?tt(n.options,e):e,i&&(n.y=n[i]),n.x===B&&r&&(n.x=t===B?r.autoIncrement():t),n},optionsToObject:function(e){var t,n={},r=this.series,o=r.pointArrayMap||["y"],s=o.length,a=0,l=0;if("number"==typeof e||null===e)n[o[0]]=e;else if(i(e))for(e.length>s&&(t=typeof e[0],"string"===t?n.name=e[0]:"number"===t&&(n.x=e[0]),a++);s>l;)n[o[l++]]=e[a++];else"object"==typeof e&&(n=e,e.dataLabels&&(r._hasPointLabels=!0),e.marker&&(r._hasPointMarkers=!0));return n},destroy:function(){var e,t=this,n=t.series,r=n.chart,i=r.hoverPoints;r.pointCount--,i&&(t.setState(),l(i,t),i.length||(r.hoverPoints=null)),t===r.hoverPoint&&t.onMouseOut(),(t.graphic||t.dataLabel)&&(ft(t),t.destroyElements()),t.legendItem&&r.legend.destroyItem(t);for(e in t)t[e]=null},destroyElements:function(){for(var e,t=this,n=["graphic","dataLabel","dataLabelUpper","group","connector","shadowGroup"],r=6;r--;)e=n[r],t[e]&&(t[e]=t[e].destroy())},getLabelConfig:function(){var e=this;return{x:e.category,y:e.y,key:e.name||e.category,series:e.series,point:e,percentage:e.percentage,total:e.total||e.stackTotal}},tooltipFormatter:function(e){var t=this.series,n=t.tooltipOptions,r=nt(n.valueDecimals,""),i=n.valuePrefix||"",o=n.valueSuffix||"";return ct(t.pointArrayMap||["y"],function(t){t="{point."+t,(i||o)&&(e=e.replace(t+"}",i+t+"}"+o)),e=e.replace(t+"}",t+":,."+r+"f}")}),y(e,{point:this,series:this.series})},firePointEvent:function(e,t,n){var r=this,i=this.series,o=i.options;(o.point.events[e]||r.options&&r.options.events&&r.options.events[e])&&this.importEvents(),"click"===e&&o.allowPointSelect&&(n=function(e){r.select(null,e.ctrlKey||e.metaKey||e.shiftKey)}),mt(this,e,t,n)}};var Ut=se.Series=function(){};Ut.prototype={isCartesian:!0,type:"line",pointClass:Ht,sorted:!0,requireSorting:!0,pointAttrToOptions:{stroke:"lineColor","stroke-width":"lineWidth",fill:"fillColor",r:"radius"},axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],init:function(e,t){var n,r,i=this,o=e.series,s=function(e,t){return nt(e.options.index,e._i)-nt(t.options.index,t._i)};i.chart=e,i.options=t=i.setOptions(t),i.linkedSeries=[],i.bindAxes(),tt(i,{name:t.name,state:Ke,pointAttr:{},visible:t.visible!==!1,selected:t.selected===!0}),Te&&(t.animation=!1),r=t.events;for(n in r)pt(i,n,r[n]);(r&&r.click||t.point&&t.point.events&&t.point.events.click||t.allowPointSelect)&&(e.runTrackerClick=!0),i.getColor(),i.getSymbol(),ct(i.parallelArrays,function(e){i[e+"Data"]=[]}),i.setData(t.data,!1),i.isCartesian&&(e.hasCartesianSeries=!0),o.push(i),i._i=o.length-1,w(o,s),this.yAxis&&w(this.yAxis.series,s),ct(o,function(e,t){e.index=t,e.name=e.name||"Series "+(t+1)})},bindAxes:function(){var e,t=this,n=t.options,r=t.chart;ct(t.axisTypes||[],function(i){ct(r[i],function(r){e=r.options,(n[i]===e.index||n[i]!==B&&n[i]===e.id||n[i]===B&&0===e.index)&&(r.series.push(t),t[i]=r,r.isDirty=!0)}),t[i]||t.optionalAxis===i||k(18,!0)})},updateParallelArrays:function(e,t){var n=e.series,r=arguments,i="number"==typeof t?function(r){var i="y"===r&&n.toYData?n.toYData(e):e[r];n[r+"Data"][t]=i}:function(e){Array.prototype[t].apply(n[e+"Data"],Array.prototype.slice.call(r,2))};ct(n.parallelArrays,i)},autoIncrement:function(){var e,t,n=this.options,r=this.xIncrement,i=n.pointIntervalUnit;return r=nt(r,n.pointStart,0),this.pointInterval=t=nt(this.pointInterval,n.pointInterval,1),"month"!==i&&"year"!==i||(e=new z(r),e="month"===i?+e[ie](e[Z]()+t):+e[oe](e[ee]()+t),t=e-r),this.xIncrement=r+t,r},getSegments:function(){var e,t=this,n=-1,r=[],i=t.points,o=i.length;if(o)if(t.options.connectNulls){for(e=o;e--;)null===i[e].y&&i.splice(e,1);i.length&&(r=[i])}else ct(i,function(e,t){null===e.y?(t>n+1&&r.push(i.slice(n+1,t)),n=t):t===o-1&&r.push(i.slice(n+1,t+1))});t.segments=r},setOptions:function(t){var n,r,i=this.chart,o=i.options,s=o.plotOptions,a=i.userOptions||{},l=a.plotOptions||{},u=s[this.type];return this.userOptions=t,n=e(u,s.series,t),this.tooltipOptions=e(Y.tooltip,Y.plotOptions[this.type].tooltip,a.tooltip,l.series&&l.series.tooltip,l[this.type]&&l[this.type].tooltip,t.tooltip),null===u.marker&&delete n.marker,this.zoneAxis=n.zoneAxis,r=this.zones=(n.zones||[]).slice(),!n.negativeColor&&!n.negativeFillColor||n.zones||r.push({value:n[this.zoneAxis+"Threshold"]||n.threshold||0,color:n.negativeColor,fillColor:n.negativeFillColor}),r.length&&c(r[r.length-1].value)&&r.push({color:this.color,fillColor:this.fillColor}),n},getCyclic:function(e,t,n){var r,i=this.userOptions,o="_"+e+"Index",s=e+"Counter";t||(c(i[o])?r=i[o]:(i[o]=r=this.chart[s]%n.length,this.chart[s]+=1),t=n[r]),this[e]=t},getColor:function(){this.options.colorByPoint||this.getCyclic("color",this.options.color||_t[this.type].color,this.chart.options.colors)},getSymbol:function(){var e=this.options.marker;this.getCyclic("symbol",e.symbol,this.chart.options.symbols),/^url/.test(this.symbol)&&(e.radius=0)},drawLegendSymbol:It.drawLineMarker,setData:function(e,t,r,s){var a,l,c,u=this,d=u.points,h=d&&d.length||0,p=u.options,f=u.chart,m=null,g=u.xAxis,v=g&&!!g.categories,y=p.turboThreshold,_=this.xData,b=this.yData,w=u.pointArrayMap,E=w&&w.length;if(e=e||[],a=e.length,t=nt(t,!0),s!==!1&&a&&h===a&&!u.cropped&&!u.hasGroupedData&&u.visible)ct(e,function(e,t){d[t].update(e,!1,null,!1)});else{if(u.xIncrement=null,u.pointRange=v?1:p.pointRange,u.colorCounter=0,ct(this.parallelArrays,function(e){u[e+"Data"].length=0}),y&&a>y){for(l=0;null===m&&a>l;)m=e[l],l++;if(o(m)){var C=nt(p.pointStart,0),A=nt(p.pointInterval,1);for(l=0;a>l;l++)_[l]=C,b[l]=e[l],C+=A;u.xIncrement=C}else if(i(m))if(E)for(l=0;a>l;l++)c=e[l],_[l]=c[0],b[l]=c.slice(1,E+1);else for(l=0;a>l;l++)c=e[l],_[l]=c[0],b[l]=c[1];else k(12)}else for(l=0;a>l;l++)e[l]!==B&&(c={series:u},u.pointClass.prototype.applyOptions.apply(c,[e[l]]),u.updateParallelArrays(c,l),v&&c.name&&(g.names[c.x]=c.name));for(n(b[0])&&k(14,!0),u.data=[],u.options.data=e,l=h;l--;)d[l]&&d[l].destroy&&d[l].destroy();g&&(g.minRange=g.userMinRange),u.isDirty=u.isDirtyData=f.isDirtyBox=!0,r=!1}t&&f.redraw(r)},processData:function(e){var t,n,r,i,o,s,a,l,c=this,u=c.xData,d=c.yData,h=u.length,p=0,f=c.xAxis,m=c.options,g=m.cropThreshold,v=c.isCartesian;if(v&&!c.isDirty&&!f.isDirty&&!c.yAxis.isDirty&&!e)return!1;for(f&&(s=f.getExtremes(),a=s.min,l=s.max),v&&c.sorted&&(!g||h>g||c.forceCrop)&&(u[h-1]l?(u=[],d=[]):(u[0]l)&&(t=this.cropData(c.xData,c.yData,a,l),u=t.xData,d=t.yData,p=t.start,n=!0)),o=u.length-1;o>=0;o--)r=u[o]-u[o-1],r>0&&(i===B||i>r)?i=r:0>r&&c.requireSorting&&k(15);c.cropped=n,c.cropStart=p,c.processedXData=u,c.processedYData=d,null===m.pointRange&&(c.pointRange=i||1),c.closestPointRange=i},cropData:function(e,t,n,r){var i,o=e.length,s=0,a=o,l=nt(this.cropShoulder,1);for(i=0;o>i;i++)if(e[i]>=n){s=pe(0,i-l);break}for(;o>i;i++)if(e[i]>r){a=i+l;break}return{xData:e.slice(s,a),yData:t.slice(s,a),start:s,end:a}},generatePoints:function(){var e,t,n,r,i=this,o=i.options,s=o.data,a=i.data,l=i.processedXData,c=i.processedYData,u=i.pointClass,h=l.length,p=i.cropStart||0,f=i.hasGroupedData,m=[];if(!a&&!f){var g=[];g.length=s.length,a=i.data=g}for(r=0;h>r;r++)t=p+r,f?m[r]=(new u).init(i,[l[r]].concat(d(c[r]))):(a[t]?n=a[t]:s[t]!==B&&(a[t]=n=(new u).init(i,s[t],l[r])),m[r]=n),m[r].index=t;if(a&&(h!==(e=a.length)||f))for(r=0;e>r;r++)r!==p||f||(r+=h),a[r]&&(a[r].destroyElements(),a[r].plotX=B);i.data=a,i.points=m},getExtremes:function(e){var t,n,r,i,o,s,a,l,c,u=this.xAxis,d=this.yAxis,h=this.processedXData,p=[],f=0,m=u.getExtremes(),g=m.min,v=m.max;for(e=e||this.stackedYData||this.processedYData,t=e.length,l=0;t>l;l++)if(s=h[l],a=e[l],n=null!==a&&a!==B&&(!d.isLog||a.length||a>0),r=this.getExtremesFromAll||this.cropped||(h[l+1]||s)>=g&&(h[l-1]||s)<=v,n&&r)if(c=a.length)for(;c--;)null!==a[c]&&(p[f++]=a[c]);else p[f++]=a;this.dataMin=nt(i,E(p)),this.dataMax=nt(o,C(p))},translate:function(){this.processedXData||this.processData(),this.generatePoints();var e,t,n,r,i=this,s=i.options,a=s.stacking,l=i.xAxis,u=l.categories,d=i.yAxis,h=i.points,p=h.length,f=!!i.modifyValue,m=s.pointPlacement,g="between"===m||o(m),v=s.threshold,y=Number.MAX_VALUE;for(e=0;p>e;e++){var _,b,w=h[e],E=w.x,C=w.y,A=w.low,x=a&&d.stacks[(i.negStacks&&v>C?"-":"")+i.stackKey];d.isLog&&null!==C&&0>=C&&(w.y=C=null,k(10)),w.plotX=t=l.translate(E,0,0,0,1,m,"flags"===this.type),a&&i.visible&&x&&x[E]&&(_=x[E],b=_.points[i.index+","+e],A=b[0],C=b[1],0===A&&(A=nt(v,d.min)),d.isLog&&0>=A&&(A=null),w.total=w.stackTotal=_.total,w.percentage=_.total&&w.y/_.total*100,w.stackY=C,_.setOffset(i.pointXOffset||0,i.barW||0)),w.yBottom=c(A)?d.translate(A,0,1,0,1):null,f&&(C=i.modifyValue(C,w)),w.plotY=n="number"==typeof C&&C!==1/0?fe(pe(-1e5,d.translate(C,0,1,0,1)),1e5):B,w.isInside=n!==B&&n>=0&&n<=d.len&&t>=0&&t<=l.len,w.clientX=g?l.translate(E,0,0,0,1):t,w.negative=w.y<(v||0),w.category=u&&u[w.x]!==B?u[w.x]:w.x,e&&(y=fe(y,me(t-r))),r=t}i.closestPointRangePx=y,i.getSegments()},setClip:function(e){var t=this.chart,n=t.renderer,r=t.inverted,i=this.clipBox,o=i||t.clipBox,s=this.sharedClipKey||["_sharedClip",e&&e.duration,e&&e.easing,o.height].join(","),a=t[s],l=t[s+"m"];a||(e&&(o.width=0,t[s+"m"]=l=n.clipRect(-99,r?-t.plotLeft:-t.plotTop,99,r?t.chartWidth:t.chartHeight)),t[s]=a=n.clipRect(o)),e&&(a.count+=1),this.options.clip!==!1&&(this.group.clip(e||i?a:t.clipRect),this.markerGroup.clip(l),this.sharedClipKey=s),e||(a.count-=1,a.count<=0&&s&&t[s]&&(i||(t[s]=t[s].destroy()),t[s+"m"]&&(t[s+"m"]=t[s+"m"].destroy())))},animate:function(e){var t,n,i=this,o=i.chart,s=i.options.animation;s&&!r(s)&&(s=_t[i.type].animation),e?i.setClip(s):(n=this.sharedClipKey,t=o[n],t&&t.animate({width:o.plotSizeX},s),o[n+"m"]&&o[n+"m"].animate({width:o.plotSizeX+99},s),i.animate=null)},afterAnimate:function(){this.setClip(),mt(this,"afterAnimate")},drawPoints:function(){var e,t,n,r,i,o,s,a,l,c,u,d,h,p=this,f=p.points,m=p.chart,g=p.options,v=g.marker,y=p.pointAttr[""],_=p.markerGroup,b=p.xAxis,w=nt(v.enabled,b.isRadial,p.closestPointRangePx>2*v.radius);if(v.enabled!==!1||p._hasPointMarkers)for(r=f.length;r--;)i=f[r],t=de(i.plotX),n=i.plotY,l=i.graphic,c=i.marker||{},u=!!i.marker,d=w&&c.enabled===B||c.enabled,h=i.isInside,d&&n!==B&&!isNaN(n)&&null!==i.y?(e=i.pointAttr[i.selected?Je:Ke]||y,o=e.r,s=nt(c.symbol,p.symbol),a=0===s.indexOf("url"),l?l[h?"show":"hide"](!0).animate(tt({x:t-o,y:n-o},l.symbolName?{width:2*o,height:2*o}:{})):h&&(o>0||a)&&(i.graphic=l=m.renderer.symbol(s,t-o,n-o,2*o,2*o,u?c:v).attr(e).add(_))):l&&(i.graphic=l.destroy())},convertAttribs:function(e,t,n,r){var i,o,s=this.pointAttrToOptions,a={};e=e||{},t=t||{},n=n||{},r=r||{};for(i in s)o=s[i],a[i]=nt(e[o],t[i],n[i],r[i]);return a},getAttribs:function(){var e,t,n,r,i,o,s=this,a=s.options,l=_t[s.type].marker?a.marker:a,u=l.states,d=u[Xe],h=s.color,p=s.options.negativeColor,f={stroke:h,fill:h},m=s.points||[],g=[],v=s.pointAttrToOptions,y=s.hasPointSpecificOptions,_=l.lineColor,b=l.fillColor,w=a.turboThreshold,E=s.zones,C=s.zoneAxis||"y";if(a.marker?(d.radius=d.radius||l.radius+d.radiusPlus,d.lineWidth=d.lineWidth||l.lineWidth+d.lineWidthPlus):(d.color=d.color||At(d.color||h).brighten(d.brightness).get(),d.negativeColor=d.negativeColor||At(d.negativeColor||p).brighten(d.brightness).get()),g[Ke]=s.convertAttribs(l,f),ct([Xe,Je],function(e){g[e]=s.convertAttribs(u[e],g[Ke])}),s.pointAttr=g,t=m.length,!w||w>t||y)for(;t--;){if(n=m[t],l=n.options&&n.options.marker||n.options,l&&l.enabled===!1&&(l.radius=0),E.length){for(var A=0,x=E[A];n[C]>=x.value;)x=E[++A];n.color=n.fillColor=x.color}if(y=a.colorByPoint||n.color,n.options)for(o in v)c(l[v[o]])&&(y=!0);y?(l=l||{},r=[],u=l.states||{},e=u[Xe]=u[Xe]||{},a.marker||(e.color=e.color||!n.options.color&&d[n.negative&&p?"negativeColor":"color"]||At(n.color).brighten(e.brightness||d.brightness).get()),i={color:n.color},b||(i.fillColor=n.color),_||(i.lineColor=n.color),r[Ke]=s.convertAttribs(tt(i,l),g[Ke]),r[Xe]=s.convertAttribs(u[Xe],g[Xe],r[Ke]),r[Je]=s.convertAttribs(u[Je],g[Je],r[Ke])):r=g,n.pointAttr=r}},destroy:function(){var e,t,n,r,i,o=this,s=o.chart,a=/AppleWebKit\/533/.test(be),c=o.data||[];for(mt(o,"destroy"),ft(o),ct(o.axisTypes||[],function(e){i=o[e],i&&(l(i.series,o),i.isDirty=i.forceRedraw=!0)}),o.legendItem&&o.chart.legend.destroyItem(o),t=c.length;t--;)n=c[t],n&&n.destroy&&n.destroy();o.points=null,clearTimeout(o.animationTimeout),ct(["area","graph","dataLabelsGroup","group","markerGroup","tracker","graphNeg","areaNeg","posClip","negClip"],function(t){o[t]&&(e=a&&"group"===t?"hide":"destroy",o[t][e]())}),s.hoverSeries===o&&(s.hoverSeries=null),l(s.series,o);for(r in o)delete o[r]},getSegmentPath:function(e){var t=this,n=[],r=t.options.step;return ct(e,function(i,o){var s,a=i.plotX,l=i.plotY;t.getPointSpline?n.push.apply(n,t.getPointSpline(e,i,o)):(n.push(o?qe:Ve),r&&o&&(s=e[o-1],"right"===r?n.push(s.plotX,l):"center"===r?n.push((s.plotX+a)/2,s.plotY,(s.plotX+a)/2,l):n.push(a,s.plotY)),n.push(i.plotX,i.plotY))}),n},getGraphPath:function(){var e,t=this,n=[],r=[];return ct(t.segments,function(i){e=t.getSegmentPath(i),i.length>1?n=n.concat(e):r.push(i[0])}),t.singlePoints=r,t.graphPath=n,n},drawGraph:function(){var e=this,t=this.options,n=[["graph",t.lineColor||this.color,t.dashStyle]],r=t.lineWidth,i="square"!==t.linecap,o=this.getGraphPath(),s=this.fillGraph&&this.color||ze,a=this.zones;ct(a,function(r,i){n.push(["colorGraph"+i,r.color||e.color,r.dashStyle||t.dashStyle])}),ct(n,function(n,a){var l,c=n[0],u=e[c];u?(yt(u),u.animate({d:o})):(r||s)&&o.length&&(l={stroke:n[1],"stroke-width":r,fill:s,zIndex:1},n[2]?l.dashstyle=n[2]:i&&(l["stroke-linecap"]=l["stroke-linejoin"]="round"),e[c]=e.chart.renderer.path(o).attr(l).add(e.group).shadow(2>a&&t.shadow))})},applyZones:function(){var e,t,n,r=this,i=this.chart,o=i.renderer,s=this.zones,a=this.clips||[],l=this.graph,c=this.area,u=pe(i.chartWidth,i.chartHeight),d=this.zoneAxis||"y",h=this[d+"Axis"],p=h.reversed,f=h.horiz,m=!1;s.length&&(l||c)&&(l.hide(),c&&c.hide(),ct(s,function(s,l){e=nt(t,p?f?i.plotWidth:0:f?0:h.toPixels(h.min)),t=ue(h.toPixels(nt(s.value,h.max),!0)),m&&(e=t=h.toPixels(h.max)),h.isXAxis?(n={x:p?t:e,y:0,width:Math.abs(e-t),height:u},f||(n.x=i.plotHeight-n.x)):(n={x:0,y:p?e:t,width:u,height:Math.abs(e-t)},f&&(n.y=i.plotWidth-n.y)),i.inverted&&o.isVML&&(n=h.isXAxis?{x:0,y:p?e:t,height:n.width,width:i.chartWidth}:{x:n.y-i.plotLeft-i.spacingBox.x,y:0,width:n.height,height:i.chartHeight}),a[l]?a[l].animate(n):(a[l]=o.clipRect(n),r["colorGraph"+l].clip(a[l]),c&&r["colorArea"+l].clip(a[l])),m=s.value>h.max}),this.clips=a)},invertGroups:function(){function e(){var e={width:t.yAxis.len,height:t.xAxis.len};ct(["group","markerGroup"],function(n){t[n]&&t[n].attr(e).invert()})}var t=this,n=t.chart;t.xAxis&&(pt(n,"resize",e),pt(t,"destroy",function(){ft(n,"resize",e)}),e(),t.invertGroups=e)},plotGroup:function(e,t,n,r,i){var o=this[e],s=!o;return s&&(this[e]=o=this.chart.renderer.g(t).attr({visibility:n,zIndex:r||.1}).add(i)),o[s?"attr":"animate"](this.getPlotBox()),o},getPlotBox:function(){var e=this.chart,t=this.xAxis,n=this.yAxis;return e.inverted&&(t=n,n=this.xAxis),{translateX:t?t.left:e.plotLeft,translateY:n?n.top:e.plotTop,scaleX:1,scaleY:1}},render:function(){var e,t=this,n=t.chart,r=t.options,i=r.animation,o=i&&!!t.animate&&n.renderer.isSVG&&nt(i.duration,500)||0,s=t.visible?He:je,a=r.zIndex,l=t.hasRendered,c=n.seriesGroup;e=t.plotGroup("group","series",s,a,c),t.markerGroup=t.plotGroup("markerGroup","markers",s,a,c),o&&t.animate(!0),t.getAttribs(),e.inverted=t.isCartesian?n.inverted:!1,t.drawGraph&&(t.drawGraph(),t.applyZones()),ct(t.points,function(e){e.redraw&&e.redraw()}),t.drawDataLabels&&t.drawDataLabels(),t.visible&&t.drawPoints(),t.drawTracker&&t.options.enableMouseTracking!==!1&&t.drawTracker(),n.inverted&&t.invertGroups(),r.clip===!1||t.sharedClipKey||l||e.clip(n.clipRect),o&&t.animate(),l||(o?t.animationTimeout=setTimeout(function(){t.afterAnimate()},o):t.afterAnimate()),t.isDirty=t.isDirtyData=!1,t.hasRendered=!0},redraw:function(){var e=this,t=e.chart,n=e.isDirtyData,r=e.isDirty,i=e.group,o=e.xAxis,s=e.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:nt(o&&o.left,t.plotLeft),translateY:nt(s&&s.top,t.plotTop)})),e.translate(),e.render(),n&&mt(e,"updatedData"),(r||n)&&delete this.kdTree},kdDimensions:1,kdTree:null,kdAxisArray:["clientX","plotY"],kdComparer:"distX",searchPoint:function(e){var t=this,n=t.xAxis,r=t.yAxis,i=t.chart.inverted;return this.searchKDTree({clientX:i?n.len-e.chartY+n.pos:e.chartX-n.pos,plotY:i?r.len-e.chartX+r.pos:e.chartY-r.pos})},buildKDTree:function(){function e(t,r,i){var o,s,a=t&&t.length;return a?(o=n.kdAxisArray[r%i],t.sort(function(e,t){return e[o]-t[o]}),s=Math.floor(a/2),{point:t[s],left:e(t.slice(0,s),r+1,i),right:e(t.slice(s+1),r+1,i)}):void 0}function t(){var t=ut(n.points,function(e){return null!==e.y});n.kdTree=e(t,r,r)}var n=this,r=n.kdDimensions;delete n.kdTree,n.options.kdSync?t():setTimeout(t)},searchKDTree:function(e){function t(e,t){var n=c(e[o])&&c(t[o])?Math.pow(e[o]-t[o],2):null,r=c(e[s])&&c(t[s])?Math.pow(e[s]-t[s],2):null,i=(n||0)+(r||0);return{distX:c(n)?Math.sqrt(n):Number.MAX_VALUE,distY:c(r)?Math.sqrt(r):Number.MAX_VALUE,distR:c(i)?Math.sqrt(i):Number.MAX_VALUE}}function n(e,o,s,a){var l,c,u,d,h,p=o.point,f=r.kdAxisArray[s%a],m=p;return p.dist=t(e,p),l=e[f]-p[f],c=0>l?"left":"right",o[c]&&(d=n(e,o[c],s+1,a),m=d.dist[i]l?"right":"left",o[u]&&Math.sqrt(l*l)o;o++)s=c[o],a=u[o],i=l.index+","+o,e=_&&f>a,r=e?y:v,w[r]||(w[r]={}),w[r][s]||(E[r]&&E[r][s]?(w[r][s]=E[r][s],w[r][s].total=null):w[r][s]=new R(b,b.options.stackLabels,e,s,m)),t=w[r][s],t.points[i]=[t.cum||0],"percent"===g?(n=e?v:y,_&&w[n]&&w[n][s]?(n=w[n][s],t.total=n.total=pe(n.total,t.total)+me(a)||0):t.total=D(t.total+(me(a)||0))):t.total=D(t.total+(a||0)),t.cum=(t.cum||0)+(a||0),t.points[i].push(t.cum),d[o]=t.cum;"percent"===g&&(b.usePercentage=!0),this.stackedYData=d,b.oldStacks={}}},Ut.prototype.setPercentStacks=function(){var e=this,t=e.stackKey,n=e.yAxis.stacks,r=e.processedXData;ct([t,"-"+t],function(t){for(var i,o,s,a,l=r.length;l--;)i=r[l],o=n[t]&&n[t][i],s=o&&o.points[e.index+","+l],s&&(a=o.total?100/o.total:0,s[0]=D(s[0]*a),s[1]=D(s[1]*a),e.stackedYData[l]=s[1])})},tt(jt.prototype,{addSeries:function(e,t,n){var r,i=this;return e&&(t=nt(t,!0),mt(i,"addSeries",{options:e},function(){r=i.initSeries(e),i.isDirtyLegend=!0,i.linkSeries(),t&&i.redraw(n)})),r},addAxis:function(t,n,r,i){var o,s=n?"xAxis":"yAxis",a=this.options;o=new St(this,e(t,{index:this[s].length,isX:n})),a[s]=d(a[s]||{}),a[s].push(t),nt(r,!0)&&this.redraw(i)},showLoading:function(e){var t=this,n=t.options,r=t.loadingDiv,i=n.loading,o=function(){r&&h(r,{left:t.plotLeft+Ue,top:t.plotTop+Ue,width:t.plotWidth+Ue,height:t.plotHeight+Ue})};r||(t.loadingDiv=r=p($e,{className:We+"loading"},tt(i.style,{zIndex:10,display:ze}),t.container),t.loadingSpan=p("span",null,i.labelStyle,r),pt(t,"redraw",o)),t.loadingSpan.innerHTML=e||n.lang.loading,t.loadingShown||(h(r,{opacity:0,display:""}),vt(r,{opacity:i.style.opacity},{duration:i.showDuration||0}),t.loadingShown=!0),o()},hideLoading:function(){var e=this.options,t=this.loadingDiv;t&&vt(t,{opacity:0},{duration:e.loading.hideDuration||100,complete:function(){h(t,{display:ze})}}),this.loadingShown=!1}}),tt(Ht.prototype,{update:function(e,t,n,o){function s(){l.applyOptions(e),r(e)&&!i(e)&&(l.redraw=function(){u&&(e&&e.marker&&e.marker.symbol?l.graphic=u.destroy():u.attr(l.pointAttr[l.state||""])),e&&e.dataLabels&&l.dataLabel&&(l.dataLabel=l.dataLabel.destroy()),l.redraw=null}),a=l.index,c.updateParallelArrays(l,a),p&&l.name&&(p[l.x]=l.name),h.data[a]=l.options,c.isDirty=c.isDirtyData=!0,!c.fixedBox&&c.hasCartesianSeries&&(d.isDirtyBox=!0),d.legend.display&&"point"===h.legendType&&(c.updateTotals(),d.legend.clearItems()),t&&d.redraw(n)}var a,l=this,c=l.series,u=l.graphic,d=c.chart,h=c.options,p=c.xAxis&&c.xAxis.names;t=nt(t,!0),o===!1?s():l.firePointEvent("update",{options:e},s)},remove:function(e,t){this.series.removePoint(lt(this,this.series.data),e,t)}}),tt(Ut.prototype,{addPoint:function(e,t,n,r){var i,o,s,a,l=this,c=l.options,u=l.data,d=l.graph,h=l.area,p=l.chart,f=l.xAxis&&l.xAxis.names,m=d&&d.shift||0,g=c.data,v=l.xData;if(L(r,p),n&&ct([d,h,l.graphNeg,l.areaNeg],function(e){e&&(e.shift=m+1)}),h&&(h.isArea=!0),t=nt(t,!0),i={series:l},l.pointClass.prototype.applyOptions.apply(i,[e]),s=i.x,a=v.length,l.requireSorting&&ss;)a--;l.updateParallelArrays(i,"splice",a,0,0),l.updateParallelArrays(i,a),f&&i.name&&(f[s]=i.name),g.splice(a,0,e),o&&(l.data.splice(a,0,null),l.processData()),"point"===c.legendType&&l.generatePoints(),n&&(u[0]&&u[0].remove?u[0].remove(!1):(u.shift(),l.updateParallelArrays(i,"shift"),g.shift())),l.isDirty=!0,l.isDirtyData=!0,t&&(l.getAttribs(),p.redraw())},removePoint:function(e,t,n){var r=this,i=r.data,o=i[e],s=r.points,a=r.chart,l=function(){i.length===s.length&&s.splice(e,1),i.splice(e,1),r.options.data.splice(e,1),r.updateParallelArrays(o||{series:r},"splice",e,1),o&&o.destroy(),r.isDirty=!0,r.isDirtyData=!0,t&&a.redraw()};L(n,a),t=nt(t,!0),o?o.firePointEvent("remove",null,l):l()},remove:function(e,t){var n=this,r=n.chart;e=nt(e,!0),n.isRemoving||(n.isRemoving=!0,mt(n,"remove",null,function(){n.destroy(),r.isDirtyLegend=r.isDirtyBox=!0,r.linkSeries(),e&&r.redraw(t)})),n.isRemoving=!1},update:function(t,n){var r,i=this,o=this.chart,s=this.userOptions,a=this.type,l=et[a].prototype,c=["group","markerGroup","dataLabelsGroup"];(t.type&&t.type!==a||void 0!==t.zIndex)&&(c.length=0),ct(c,function(e){c[e]=i[e],delete i[e]}),t=e(s,{animation:!1,index:this.index,pointStart:this.xData[0]},{data:this.options.data},t),this.remove(!1);for(r in l)this[r]=B;tt(this,et[t.type||a].prototype),ct(c,function(e){i[e]=c[e]}),this.init(o,t),o.linkSeries(),nt(n,!0)&&o.redraw(!1)}}),tt(St.prototype,{update:function(t,n){var r=this.chart;t=r.options[this.coll][this.options.index]=e(this.userOptions,t),this.destroy(!0),this._addedPlotLB=B,this.init(r,tt(t,{events:B})),r.isDirtyBox=!0,nt(n,!0)&&r.redraw()},remove:function(e){for(var t=this.chart,n=this.coll,r=this.series,i=r.length;i--;)r[i]&&r[i].remove(!1);l(t.axes,this),l(t[n],this),t.options[n].splice(this.options.index,1),ct(t[n],function(e,t){e.options.index=t}),this.destroy(),t.isDirtyBox=!0,nt(e,!0)&&t.redraw()},setTitle:function(e,t){this.update({title:e},t)},setCategories:function(e,t){this.update({categories:e},t)}});var zt=f(Ut);et.line=zt,_t.area=e(bt,{threshold:0});var Vt=f(Ut,{type:"area",getSegments:function(){var e,t,n,r,i=this,o=[],s=[],a=[],l=this.xAxis,c=this.yAxis,u=c.stacks[this.stackKey],d={},h=this.points,p=this.options.connectNulls;if(this.options.stacking&&!this.cropped){for(n=0;n=0;t--)n=nt(e[t].yBottom,a),tg&&i>d?(i=pe(g,d),s=2*d-i):g>i&&d>i&&(i=fe(g,d),s=2*d-i),s>y&&s>d?(s=pe(y,d),i=2*d-s):y>s&&d>s&&(s=fe(y,d),i=2*d-s),t.rightContX=o,t.rightContY=s}return n?(a=["C",h.rightContX||h.plotX,h.rightContY||h.plotY,r||u,i||d,u,d],h.rightContX=h.rightContY=null):a=[Ve,u,d],a}});et.spline=qt,_t.areaspline=e(_t.area);var Gt=Vt.prototype,Kt=f(qt,{type:"areaspline",closedStacks:!0,getSegmentPath:Gt.getSegmentPath,closeSegment:Gt.closeSegment,drawGraph:Gt.drawGraph,drawLegendSymbol:It.drawRectangle});et.areaspline=Kt,_t.column=e(bt,{borderColor:"#FFFFFF",borderRadius:0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{brightness:.1,shadow:!1,halo:!1},select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}},dataLabels:{align:null,verticalAlign:null,y:null},stickyTracking:!1,tooltip:{distance:6},threshold:0});var Xt=f(Ut,{type:"column",pointAttrToOptions:{stroke:"borderColor",fill:"color",r:"borderRadius"},cropShoulder:0,directTouch:!0,trackerGroups:["group","dataLabelsGroup"],negStacks:!0,init:function(){Ut.prototype.init.apply(this,arguments);var e=this,t=e.chart;t.hasRendered&&ct(t.series,function(t){t.type===e.type&&(t.isDirty=!0)})},getColumnMetrics:function(){var e,t,n=this,r=n.options,i=n.xAxis,o=n.yAxis,s=i.reversed,a={},l=0;r.grouping===!1?l=1:ct(n.chart.series,function(r){var i=r.options,s=r.yAxis;r.type===n.type&&r.visible&&o.len===s.len&&o.pos===s.pos&&(i.stacking?(e=r.stackKey,a[e]===B&&(a[e]=l++),t=a[e]):i.grouping!==!1&&(t=l++),r.columnIndex=t)});var u=fe(me(i.transA)*(i.ordinalSlope||r.pointRange||i.closestPointRange||i.tickInterval||1),i.len),d=u*r.groupPadding,h=u-2*d,p=h/l,f=r.pointWidth,m=c(f)?(p-f)/2:p*r.pointPadding,g=nt(f,p-2*m),v=(s?l-(n.columnIndex||0):n.columnIndex)||0,y=m+(d+v*p-u/2)*(s?-1:1);return n.columnMetrics={width:g,offset:y}},translate:function(){var e=this,t=e.chart,n=e.options,r=e.borderWidth=nt(n.borderWidth,e.closestPointRange*e.xAxis.transA<2?0:1),i=e.yAxis,o=n.threshold,s=e.translatedThreshold=i.getThreshold(o),a=nt(n.minPointLength,5),l=e.getColumnMetrics(),c=l.width,u=e.barW=pe(c,1+2*r),d=e.pointXOffset=l.offset,h=-(r%2?.5:0),p=r%2?.5:1;t.renderer.isVML&&t.inverted&&(p+=1),n.pointPadding&&(u=he(u)),Ut.prototype.translate.apply(e),ct(e.points,function(n){var r,o,l,f=nt(n.yBottom,s),m=fe(pe(-999-f,n.plotY),i.len+999+f),g=n.plotX+d,v=u,y=fe(m,f),_=pe(m,f)-y;me(_)a?f-a:s-(i.translate(n.y,0,1,0,1)<=s?a:0))),n.barX=g,n.pointWidth=c,n.tooltipPos=t.inverted?[i.len+i.pos-t.plotLeft-m,e.xAxis.len-g-v/2]:[g+v/2,m+i.pos-t.plotTop],r=ue(g+v)+h,g=ue(g)+h,v=r-g,l=me(y)<.5,o=fe(ue(y+_)+p,9e4),y=ue(y)+p,_=o-y,l&&(y-=1,_+=1),n.shapeType="rect",n.shapeArgs={x:g,y:y,width:v,height:_}})},getSymbol:Ne,drawLegendSymbol:It.drawRectangle,drawGraph:Ne,drawPoints:function(){var t,n,r=this,i=this.chart,o=r.options,s=i.renderer,a=o.animationLimit||250;ct(r.points,function(l){var u,d=l.plotY,h=l.graphic;d===B||isNaN(d)||null===l.y?h&&(l.graphic=h.destroy()):(t=l.shapeArgs,u=c(r.borderWidth)?{"stroke-width":r.borderWidth}:{},n=l.pointAttr[l.selected?Je:Ke]||r.pointAttr[Ke],h?(yt(h),h.attr(u)[i.pointCount {series.name}
    ',pointFormat:"x: {point.x}
    y: {point.y}
    "}});var Qt=f(Ut,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,kdDimensions:2,kdComparer:"distR",drawGraph:function(){this.options.lineWidth&&Ut.prototype.drawGraph.call(this)}});et.scatter=Qt,_t.pie=e(bt,{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name},x:0},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,states:{hover:{brightness:.1,shadow:!1}},stickyTracking:!1,tooltip:{followPointer:!0}});var Zt=f(Ht,{init:function(){Ht.prototype.init.apply(this,arguments);var e,t=this;return tt(t,{visible:t.visible!==!1,name:nt(t.name,"Slice")}),e=function(e){t.slice("select"===e.type)},pt(t,"select",e),pt(t,"unselect",e),t},setVisible:function(e){var t=this,n=t.series,r=n.chart,i=!n.isDirty&&n.options.ignoreHiddenPoint;t.visible=t.options.visible=e=e===B?!t.visible:e,n.options.data[lt(t,n.data)]=t.options,ct(["graphic","dataLabel","connector","shadowGroup"],function(n){t[n]&&t[n][e?"show":"hide"](!0)}),t.legendItem&&(r.hasRendered&&(n.updateTotals(),r.legend.clearItems(),i||r.legend.render()),r.legend.colorizeItem(t,e)),i&&(n.isDirty=!0,r.redraw())},slice:function(e,t,n){var r,i=this,o=i.series,s=o.chart;L(n,s),t=nt(t,!0),i.sliced=i.options.sliced=e=c(e)?e:!i.sliced,o.options.data[lt(i,o.data)]=i.options,r=e?i.slicedTranslation:{translateX:0,translateY:0},i.graphic.animate(r),i.shadowGroup&&i.shadowGroup.animate(r)},haloPath:function(e){var t=this.shapeArgs,n=this.series.chart;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(n.plotLeft+t.x,n.plotTop+t.y,t.r+e,t.r+e,{innerR:this.shapeArgs.r,start:t.start,end:t.end})}}),en={type:"pie",isCartesian:!1,pointClass:Zt,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},getColor:Ne,animate:function(e){var t=this,n=t.points,r=t.startAngleRad;e||(ct(n,function(e){var n=e.graphic,i=e.shapeArgs;n&&(n.attr({r:t.center[3]/2,start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.end},t.options.animation))}),t.animate=null)},setData:function(e,t,n,r){Ut.prototype.setData.call(this,e,!1,n,r),this.processData(),this.generatePoints(),nt(t,!0)&&this.chart.redraw(n)},updateTotals:function(){var e,t,n,r,i=0,o=this.options.ignoreHiddenPoint;for(t=this.points,n=t.length,e=0;n>e;e++)r=t[e],r.y<0&&(r.y=null),i+=o&&!r.visible?0:r.y;for(this.total=i,e=0;n>e;e++)r=t[e],r.percentage=i>0&&(r.visible||!o)?r.y/i*100:0,r.total=i},generatePoints:function(){Ut.prototype.generatePoints.call(this),this.updateTotals()},translate:function(e){this.generatePoints();var t,n,r,i,o,s,a,l=this,c=0,u=1e3,d=l.options,h=d.slicedOffset,p=h+d.borderWidth,f=d.startAngle||0,m=l.startAngleRad=ye/180*(f-90),g=l.endAngleRad=ye/180*(nt(d.endAngle,f+360)-90),v=g-m,y=l.points,_=d.dataLabels.distance,b=d.ignoreHiddenPoint,w=y.length;for(e||(l.center=e=l.getCenter()),l.getX=function(t,n){return r=ce.asin(fe((t-e[1])/(e[2]/2+_),1)),e[0]+(n?-1:1)*(ge(r)*(e[2]/2+_))},s=0;w>s;s++)a=y[s],t=m+c*v,b&&!a.visible||(c+=a.percentage/100),n=m+c*v,a.shapeType="arc",a.shapeArgs={x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2,start:ue(t*u)/u,end:ue(n*u)/u},r=(n+t)/2,r>1.5*ye?r-=2*ye:-ye/2>r&&(r+=2*ye),a.slicedTranslation={translateX:ue(ge(r)*h),translateY:ue(ve(r)*h)},i=ge(r)*e[2]/2,o=ve(r)*e[2]/2,a.tooltipPos=[e[0]+.7*i,e[1]+.7*o],a.half=-ye/2>r||r>ye/2?1:0,a.angle=r,p=fe(p,_/2),a.labelPos=[e[0]+i+ge(r)*_,e[1]+o+ve(r)*_,e[0]+i+ge(r)*p,e[1]+o+ve(r)*p,e[0]+i,e[1]+o,0>_?"center":a.half?"right":"left",r]},drawGraph:null,drawPoints:function(){var e,t,n,r,i=this,o=i.chart,s=o.renderer,a=i.options.shadow;a&&!i.shadowGroup&&(i.shadowGroup=s.g("shadow").add(i.group)),ct(i.points,function(o){t=o.graphic,r=o.shapeArgs,n=o.shadowGroup,a&&!n&&(n=o.shadowGroup=s.g("shadow").add(i.shadowGroup)),e=o.sliced?o.slicedTranslation:{translateX:0,translateY:0},n&&n.attr(e),t?t.animate(tt(r,e)):o.graphic=t=s[o.shapeType](r).setRadialReference(i.center).attr(o.pointAttr[o.selected?Je:Ke]).attr({"stroke-linejoin":"round"}).attr(e).add(i.group).shadow(a,n),void 0!==o.visible&&o.setVisible(o.visible)})},searchPoint:Ne,sortByAngle:function(e,t){e.sort(function(e,n){return void 0!==e.angle&&(n.angle-e.angle)*t})},drawLegendSymbol:It.drawRectangle,getCenter:Wt.getCenter,getSymbol:Ne};en=f(Ut,en),et.pie=en,Ut.prototype.drawDataLabels=function(){var t,n,r,i,o=this,s=o.options,a=s.cursor,l=s.dataLabels,u=o.points,d=o.hasRendered||0,h=o.chart.renderer;(l.enabled||o._hasPointLabels)&&(o.dlProcessOptions&&o.dlProcessOptions(l),i=o.plotGroup("dataLabelsGroup","data-labels",l.defer?je:He,l.zIndex||6),nt(l.defer,!0)&&(i.attr({opacity:+d}),d||pt(o,"afterAnimate",function(){o.visible&&i.show(),i[s.animation?"animate":"attr"]({opacity:1},{duration:200})})),n=l,ct(u,function(u){var d,p,f,m,g,v,_=u.dataLabel,b=u.connector,w=!0,E={};if(t=u.dlOptions||u.options&&u.options.dataLabels,d=nt(t&&t.enabled,n.enabled),_&&!d)u.dataLabel=_.destroy();else if(d){if(l=e(n,t),v=l.style,g=l.rotation,p=u.getLabelConfig(),r=l.format?y(l.format,p):l.formatter.call(p,l),v.color=nt(l.color,v.color,o.color,"black"),_)c(r)?(_.attr({text:r}),w=!1):(u.dataLabel=_=_.destroy(),b&&(u.connector=b.destroy()));else if(c(r)){f={fill:l.backgroundColor,stroke:l.borderColor,"stroke-width":l.borderWidth,r:l.borderRadius||0,rotation:g,padding:l.padding,zIndex:1},"contrast"===v.color&&(E.color=l.inside||l.distance<0||s.stacking?h.getContrast(u.color||o.color):"#000000"),a&&(E.cursor=a);for(m in f)f[m]===B&&delete f[m];_=u.dataLabel=h[g?"text":"label"](r,0,-999,l.shape,null,null,l.useHTML).attr(f).css(tt(v,E)).add(i).shadow(l.shadow)}_&&o.alignDataLabel(u,_,l,null,w)}}))},Ut.prototype.alignDataLabel=function(e,t,n,r,i){var o,s,a=this.chart,l=a.inverted,c=nt(e.plotX,-999),u=nt(e.plotY,-999),d=t.getBBox(),h=a.renderer.fontMetrics(n.style.fontSize).b,p=this.visible&&(e.series.forceDL||a.isInsidePlot(c,ue(u),l)||r&&a.isInsidePlot(c,l?r.x+1:r.y+r.height-1,l));p&&(r=tt({x:l?a.plotWidth-u:c,y:ue(l?a.plotHeight-c:u),width:0,height:0},r),tt(n,{width:d.width,height:d.height}),n.rotation?(o=a.renderer.rotCorr(h,n.rotation),t[i?"attr":"animate"]({x:r.x+n.x+r.width/2+o.x,y:r.y+n.y+r.height/2}).attr({align:n.align})):(t.align(n,null,r),s=t.alignAttr,"justify"===nt(n.overflow,"justify")?this.justifyDataLabel(t,n,s,d,r,i):nt(n.crop,!0)&&(p=a.isInsidePlot(s.x,s.y)&&a.isInsidePlot(s.x+d.width,s.y+d.height)),n.shape&&t.attr({anchorX:e.plotX,anchorY:e.plotY}))),p||(t.attr({y:-999}),t.placed=!1)},Ut.prototype.justifyDataLabel=function(e,t,n,r,i,o){var s,a,l=this.chart,c=t.align,u=t.verticalAlign,d=e.box?0:e.padding||0;s=n.x+d,0>s&&("right"===c?t.align="left":t.x=-s,a=!0),s=n.x+r.width-d,s>l.plotWidth&&("left"===c?t.align="right":t.x=l.plotWidth-s,a=!0),s=n.y+d,0>s&&("bottom"===u?t.verticalAlign="top":t.y=-s,a=!0),s=n.y+r.height-d,s>l.plotHeight&&("top"===u?t.verticalAlign="bottom":t.y=l.plotHeight-s,a=!0),a&&(e.placed=!o,e.align(t,null,i))},et.pie&&(et.pie.prototype.drawDataLabels=function(){var e,t,n,r,i,o,s,a,l,c,u,d,h,p=this,f=p.data,m=p.chart,g=p.options.dataLabels,v=nt(g.connectorPadding,10),y=nt(g.connectorWidth,1),_=m.plotWidth,b=m.plotHeight,w=nt(g.softConnector,!0),E=g.distance,A=p.center,x=A[2]/2,k=A[1],D=E>0,L=[[],[]],M=[0,0,0,0],T=function(e,t){return t.y-e.y};if(p.visible&&(g.enabled||p._hasPointLabels)){for(Ut.prototype.drawDataLabels.apply(p),ct(f,function(e){e.dataLabel&&e.visible&&L[e.half].push(e)}),d=2;d--;){var S,F,N,R,B=[],O=[],P=L[d],$=P.length;if($){for(p.sortByAngle(P,d-.5),h=s=0;!s&&P[h];)s=P[h]&&P[h].dataLabel&&(P[h].dataLabel.getBBox().height||21),h++;if(E>0){for(N=fe(k+x+E,m.plotHeight),F=pe(0,k-x-E);N>=F;F+=s)B.push(F);if(S=B.length,$>S){for(u=[].concat(P),u.sort(T),h=$;h--;)u[h].rank=h;for(h=$;h--;)P[h].rank>=S&&P.splice(h,1);$=P.length}for(h=0;$>h;h++){e=P[h],o=e.labelPos;var Y,I,j=9999;for(I=0;S>I;I++)Y=me(B[I]-o[1]),j>Y&&(j=Y,R=I);if(h>R&&null!==B[h])R=h;else if($-h+R>S&&null!==B[h])for(R=S-$+h;null===B[R];)R++;else for(;null===B[R];)R++;O.push({i:R,y:B[R]}),B[R]=null}O.sort(T)}for(h=0;$>h;h++){var W,H;e=P[h],o=e.labelPos,r=e.dataLabel,c=e.visible===!1?je:He,H=o[1],E>0?(W=O.pop(),R=W.i,l=W.y,(H>l&&null!==B[R+1]||l>H&&null!==B[R-1])&&(l=fe(pe(0,H),m.plotHeight))):l=H,a=g.justify?A[0]+(d?-1:1)*(x+E):p.getX(l===k-x-E||l===k+x+E?H:l,d),r._attr={visibility:c,align:o[6]},r._pos={x:a+g.x+({left:v,right:-v}[o[6]]||0),y:l+g.y-10},r.connX=a,r.connY=l,null===this.options.size&&(i=r.width,v>a-i?M[3]=pe(ue(i-a+v),M[3]):a+i>_-v&&(M[1]=pe(ue(a+i-_+v),M[1])),0>l-s/2?M[0]=pe(ue(-l+s/2),M[0]):l+s/2>b&&(M[2]=pe(ue(l+s/2-b),M[2])))}}}(0===C(M)||this.verifyDataLabelOverflow(M))&&(this.placeDataLabels(),D&&y&&ct(this.points,function(e){t=e.connector,o=e.labelPos,r=e.dataLabel,r&&r._pos?(c=r._attr.visibility,a=r.connX,l=r.connY,n=w?[Ve,a+("left"===o[6]?5:-5),l,"C",a,l,2*o[2]-o[4],2*o[3]-o[5],o[2],o[3],qe,o[4],o[5]]:[Ve,a+("left"===o[6]?5:-5),l,qe,o[2],o[3],qe,o[4],o[5]],t?(t.animate({d:n}),t.attr("visibility",c)):e.connector=t=p.chart.renderer.path(n).attr({"stroke-width":y,stroke:g.connectorColor||e.color||"#606060",visibility:c}).add(p.dataLabelsGroup)):t&&(e.connector=t.destroy())}))}},et.pie.prototype.placeDataLabels=function(){ct(this.points,function(e){var t,n=e.dataLabel;n&&(t=n._pos,t?(n.attr(n._attr),n[n.moved?"animate":"attr"](t),n.moved=!0):n&&n.attr({y:-999}))})},et.pie.prototype.alignDataLabel=Ne,et.pie.prototype.verifyDataLabelOverflow=function(e){var t,n=this.center,r=this.options,i=r.center,o=r.minSize||80,s=o;return null!==i[0]?s=pe(n[2]-pe(e[1],e[3]),o):(s=pe(n[2]-e[1]-e[3],o),n[0]+=(e[3]-e[1])/2),null!==i[1]?s=pe(fe(s,n[2]-pe(e[0],e[2])),o):(s=pe(fe(s,n[2]-e[0]-e[2]),o),n[1]+=(e[0]-e[2])/2),snt(this.translatedThreshold,a.yAxis.len),u=nt(r.inside,!!this.options.stacking);l&&(i=e(l),s&&(i={x:a.yAxis.len-i.y-i.height,y:a.xAxis.len-i.x-i.width,width:i.height,height:i.width}),u||(s?(i.x+=c?0:i.width,i.width=0):(i.y+=c?i.height:0,i.height=0))),r.align=nt(r.align,!s||u?"center":c?"right":"left"),r.verticalAlign=nt(r.verticalAlign,s||u?"middle":c?"top":"bottom"),Ut.prototype.alignDataLabel.call(this,t,n,r,i,o)}),function(e){var t=e.Chart,n=e.each,r=HighchartsAdapter.addEvent;t.prototype.callbacks.push(function(e){function t(){var t=[];n(e.series,function(e){var r=e.options.dataLabels;(r.enabled||e._hasPointLabels)&&!r.allowOverlap&&e.visible&&n(e.points,function(e){e.dataLabel&&(e.dataLabel.labelrank=e.labelrank,t.push(e.dataLabel))})}),e.hideOverlappingLabels(t)}t(),r(e,"redraw",t)}),t.prototype.hideOverlappingLabels=function(e){var t,n,r,i,o,s=e.length,a=function(e,t,n,r){return!(t.x>e.x+n.width||t.x+r.widthe.y+n.height||t.y+r.heightn;n++)t=e[n],t&&(t.oldOpacity=t.opacity,t.newOpacity=1);for(n=0;s>n;n++)for(i=e[n],r=n+1;s>r;++r)o=e[r],i&&o&&i.placed&&o.placed&&0!==i.newOpacity&&0!==o.newOpacity&&a(i.alignAttr,o.alignAttr,i,o)&&((i.labelrankn;n++)t=e[n],t&&(t.oldOpacity!==t.newOpacity&&t.placed&&(t.alignAttr.opacity=t.newOpacity,t[t.isOld&&t.newOpacity?"animate":"attr"](t.alignAttr)),t.isOld=!0)}}(se);var tn=se.TrackerMixin={drawTrackerPoint:function(){var e=this,t=e.chart,n=t.pointer,r=e.options.cursor,i=r&&{cursor:r},o=function(e){for(var n,r=e.target;r&&!n;)n=r.point,r=r.parentNode;n!==B&&n!==t.hoverPoint&&n.onMouseOver(e)};ct(e.points,function(e){e.graphic&&(e.graphic.element.point=e),e.dataLabel&&(e.dataLabel.element.point=e)}),e._hasTracking||(ct(e.trackerGroups,function(t){e[t]&&(e[t].addClass(We+"tracker").on("mouseover",o).on("mouseout",function(e){n.onTrackerMouseOut(e)}).css(i),P&&e[t].on("touchstart",o))}),e._hasTracking=!0)},drawTrackerGraph:function(){var e,t,n=this,r=n.options,i=r.trackByArea,o=[].concat(i?n.areaPath:n.graphPath),s=o.length,a=n.chart,l=a.pointer,c=a.renderer,u=a.options.tooltip.snap,d=n.tracker,h=r.cursor,p=h&&{cursor:h},f=n.singlePoints,m=function(){a.hoverSeries!==n&&n.onMouseOver()},g="rgba(192,192,192,"+(Le?1e-4:.002)+")";if(s&&!i)for(t=s+1;t--;)o[t]===Ve&&o.splice(t+1,0,o[t+1]-u,o[t+2],qe),(t&&o[t]===Ve||t===s)&&o.splice(t,0,qe,o[t-2]+u,o[t-1]);for(t=0;ti;o.series.length&&(d||c>fe(l.dataMin,l.min))&&(!d||u":">","<":"<",'"':""","'":"'"},o=/[&><"']/g;e.exports=r},function(e,t,n){(function(e,r){function i(e,n){var r={seen:[],stylize:s};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),w(r.showHidden)&&(r.showHidden=!1),w(r.depth)&&(r.depth=2),w(r.colors)&&(r.colors=!1),w(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),l(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function s(e,t){return e}function a(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function l(e,n,r){if(e.customInspect&&n&&k(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return _(i)||(i=l(e,i,r)),i}var o=c(e,n);if(o)return o;var s=Object.keys(n),m=a(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),x(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return u(n);if(0===s.length){if(k(n)){var g=n.name?": "+n.name:"";return e.stylize("[Function"+g+"]","special")}if(E(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(A(n))return e.stylize(Date.prototype.toString.call(n),"date");if(x(n))return u(n)}var v="",y=!1,b=["{","}"];if(f(n)&&(y=!0,b=["[","]"]),k(n)){var w=n.name?": "+n.name:"";v=" [Function"+w+"]"}if(E(n)&&(v=" "+RegExp.prototype.toString.call(n)),A(n)&&(v=" "+Date.prototype.toUTCString.call(n)),x(n)&&(v=" "+u(n)),0===s.length&&(!y||0==n.length))return b[0]+v+b[1];if(0>r)return E(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var C;return C=y?d(e,n,r,m,s):s.map(function(t){return h(e,n,r,m,t,y)}),e.seen.pop(),p(C,v,b)}function c(e,t){if(w(t))return e.stylize("undefined","undefined");if(_(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return y(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,i){for(var o=[],s=0,a=t.length;a>s;++s)S(t,String(s))?o.push(h(e,t,n,r,String(s),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(h(e,t,n,r,i,!0))}),o}function h(e,t,n,r,i,o){var s,a,c;if(c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},c.get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),S(r,i)||(s="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=g(n)?l(e,c.value,null):l(e,c.value,n-1),a.indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n"))):a=e.stylize("[Circular]","special")),w(s)){if(o&&i.match(/^\d+$/))return a;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function p(e,t,n){var r=0,i=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function f(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return null==e}function y(e){return"number"==typeof e}function _(e){return"string"==typeof e}function b(e){return"symbol"==typeof e}function w(e){return void 0===e}function E(e){return C(e)&&"[object RegExp]"===L(e)}function C(e){return"object"==typeof e&&null!==e}function A(e){return C(e)&&"[object Date]"===L(e)}function x(e){return C(e)&&("[object Error]"===L(e)||e instanceof Error)}function k(e){return"function"==typeof e}function D(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function L(e){return Object.prototype.toString.call(e)}function M(e){return 10>e?"0"+e.toString(10):e.toString(10)}function T(){var e=new Date,t=[M(e.getHours()),M(e.getMinutes()),M(e.getSeconds())].join(":");return[e.getDate(),B[e.getMonth()],t].join(" ")}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var F=/%[sdj%]/g;t.format=function(e){if(!_(e)){for(var t=[],n=0;n=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}}),a=r[n];o>n;a=r[++n])s+=g(a)||!C(a)?" "+a:" "+i(a);return s},t.deprecate=function(n,i){function o(){if(!s){if(r.throwDeprecation)throw new Error(i);r.traceDeprecation?console.trace(i):console.error(i),s=!0}return n.apply(this,arguments)}if(w(e.process))return function(){return t.deprecate(n,i).apply(this,arguments)};if(r.noDeprecation===!0)return n;var s=!1;return o};var N,R={};t.debuglog=function(e){if(w(N)&&(N=r.env.NODE_DEBUG||""),e=e.toUpperCase(),!R[e])if(new RegExp("\\b"+e+"\\b","i").test(N)){var n=r.pid;R[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else R[e]=function(){};return R[e]},t.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=f,t.isBoolean=m,t.isNull=g,t.isNullOrUndefined=v,t.isNumber=y,t.isString=_,t.isSymbol=b,t.isUndefined=w,t.isRegExp=E,t.isObject=C,t.isDate=A,t.isError=x,t.isFunction=k,t.isPrimitive=D,t.isBuffer=n(438);var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];t.log=function(){console.log("%s - %s",T(),t.format.apply(t,arguments))},t.inherits=n(292),t._extend=function(e,t){if(!t||!C(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(t,function(){return this}(),n(64))},function(e,t,n){var r=n(2),i=n(11),o=r.addons.classSet,s=(n(39),[{name:"Info",link:"info"},{name:"Monitoring",link:"monitoring"},{name:"Slow log",link:"slowlog"},{name:"Setting",link:"setting"}]),a=r.createClass({displayName:"ClusterTab",mixins:[i.State],render:function(){var e=this.getPathname().split("/"),t=e[3]||"info",n=this.props.cluster.cluster_name,i=[];return _.each(s,function(e){var s=o({active:e.link===t}),a="#/cluster/"+n;"info"!==e.link&&(a+="/"+e.link),"slowlog"===e.link&&(a+="/1"),i.push(r.createElement("li",{key:e.link,className:s},r.createElement("a",{href:a},e.name)))}),r.createElement("div",{className:"cluster-tab-components"},r.createElement("h2",null,r.createElement("span",{className:"glyphicon glyphicon-menu-right"})," ",n),r.createElement("ul",{className:"nav nav-tabs"},i))}});e.exports=a},function(e,t){var n={renderNoCluster:function(e,t){return React.createElement("div",{key:t,className:"alert alert-warning"},"This Cluster name (",React.createElement("strong",null,e),") does not exist.",React.createElement("br",null),"Please confirm your URL.")}};e.exports=n},function(e,t,n){function r(e,t){var n;if("abort"!==t)return n=i(e),n&&a.has(n,"error")&&a.has(n.error,"message")?void c.showAlert({message:n.error.message,level:"error"}):void c.showAlert({message:"Server error.",level:"error"})}function i(e){try{return s.parseJSON(e.responseText)}catch(t){return!1}}var o,s=n(6),a=n(7),l=n(1),c=n(4);o="";var u=[],d={clearAllAjax:function(){u=[]},abortAllAjax:function(){a.each(u,function(e){e.abort()}),u=[]},addAjax:function(e){u.push(e)},completeAjax:function(e){e&&(u=a.without(u,e))},Cluster:{getClusters:function(e,t){var n=o+"/api/clusters";e.full&&(n+="?full=true");var r={type:"GET",url:n};return a.assign(r,t),s.ajax(r)},getCluster:function(e,t){var n=o+"/api/cluster/"+e,r={type:"GET",url:n};return a.assign(r,t),s.ajax(r)},setClusters:function(e,t){var n=o+"/api/cluster/"+e.clusterName,r={type:"POST",url:n,data:e};return a.assign(r,t),s.ajax(r)},getNodeMetrics:function(e,t,n){var r=o+"/api/cluster/"+e+"/metrics";t.start||(t.start=l().subtract(24,"h").format("x")),t.end||(t.end=l().format("x"));var i={type:"POST",url:r,data:t};return a.assign(i,n),s.ajax(i)},getClusterNotice:function(e,t){var n=o+"/api/cluster/"+e+"/notice",r={type:"GET",url:n};return a.assign(r,t),s.ajax(r)},setClusterNotice:function(e,t,n){var r=o+"/api/cluster/"+e+"/notice",i={type:"POST",url:r,data:t};return a.assign(i,n),s.ajax(i)},deleteCluster:function(e,t){var n=o+"/api/cluster/"+e+"/delete",r={type:"POST",url:n};return a.assign(r,t),s.ajax(r)},changeClusterName:function(e,t,n){var r=o+"/api/cluster/"+e+"/change-cluster-name",i={type:"POST",url:r,data:t};return a.assign(i,n),s.ajax(i)},getSlowLog:function(e,t,n){var r=o+"/api/cluster/"+e+"/slowlog",i={type:"GET",url:r,data:t};return a.assign(i,n),s.ajax(i)}},Trib:{getCreateClusterParams:function(e,t){var n=o+"/api/trib/create/params",r={type:"GET",url:n,data:e};return a.assign(r,t),s.ajax(r)},createCluster:function(e,t,n){var r=o+"/api/trib/create";e&&(r+="/"+e);var i={type:"POST",url:r,data:t};return a.assign(i,n),s.ajax(i)},addNode:function(e,t){var n=o+"/api/trib/add-node",r={type:"POST",url:n,data:e};return a.assign(r,t),s.ajax(r)},reshard:function(e,t){var n=o+"/api/trib/reshard",r={type:"POST",url:n,data:e};return a.assign(r,t),s.ajax(r)},reshardBySlots:function(e,t){var n=o+"/api/trib/reshard-by-slots",r={type:"POST",url:n,data:e};return a.assign(r,t),s.ajax(r)},replicate:function(e,t){var n=o+"/api/trib/replicate",r={type:"POST",url:n,data:e};return a.assign(r,t),s.ajax(r)},failover:function(e,t){var n=o+"/api/trib/failover",r={type:"POST",url:n,data:e};return a.assign(r,t),s.ajax(r)},deleteNode:function(e,t){var n=o+"/api/trib/delete-node",r={type:"POST",url:n,data:e};return a.assign(r,t),s.ajax(r)},shutdown:function(e,t){var n=o+"/api/trib/shutdown",r={type:"POST",url:n,data:e};return a.assign(r,t),s.ajax(r)}},User:{changePassword:function(e,t){var n=o+"/api/me/change-password",r={type:"POST",url:n,data:e};return a.assign(r,t),s.ajax(r)},updateMe:function(e,t){var n=o+"/api/me/update",r={type:"POST",url:n,data:e};return a.assign(r,t),s.ajax(r)},getUsers:function(e){var t=o+"/api/users",n={type:"GET",url:t};return a.assign(n,e),s.ajax(n)},addUser:function(e,t,n){var r=o+"/api/user/"+e,i={type:"POST",url:r,data:t};return a.assign(i,n),s.ajax(i)},updateUser:function(e,t,n){var r=o+"/api/user/"+e+"/update",i={type:"POST",url:r,data:t};return a.assign(i,n),s.ajax(i)},deleteUser:function(e,t){var n=o+"/api/user/"+e+"/delete",r={type:"POST",url:n};return a.assign(r,t),s.ajax(r)}}};s.ajaxSetup({dataType:"json",timeout:6e5,cache:!1,error:function(e,t){return 401===e.status?void(location.href="/login"):void r(e,t)}}),e.exports=d},function(e,t,n){var r=n(12),i=n(21),o=n(52),s=n(40),a=n(29),l={};l.Alternatives=function(){i.call(this),this._type="alternatives",this._invalids.remove(null),this._inner.matches=[]},r.inherits(l.Alternatives,i),l.Alternatives.prototype._base=function(e,t,n){for(var r=[],i=0,o=this._inner.matches.length;o>i;++i){var s=this._inner.matches[i],l=s.schema;if(!l){var c=s.is._validate(s.ref(t.parent,n),null,n,t.parent).errors;if(l=c?s.otherwise:s.then,!l)continue}var u=l._validate(e,t,n);if(!u.errors)return u;r=r.concat(u.errors)}return{errors:r.length?r:a.create("alternatives.base",null,t,n)}},l.Alternatives.prototype["try"]=function(){var e=r.flatten(Array.prototype.slice.call(arguments));r.assert(e.length,"Cannot add other alternatives without at least one schema");for(var t=this.clone(),n=0,i=e.length;i>n;++n){var s=o.schema(e[n]);s._refs.length&&(t._refs=t._refs.concat(s._refs)),t._inner.matches.push({schema:s})}return t},l.Alternatives.prototype.when=function(e,t){r.assert(s.isRef(e)||"string"==typeof e,"Invalid reference:",e),r.assert(t,"Missing options"),r.assert("object"==typeof t,"Invalid options"),r.assert(t.hasOwnProperty("is"),'Missing "is" directive'),r.assert(void 0!==t.then||void 0!==t.otherwise,'options must have at least one of "then" or "otherwise"');var n=this.clone(),i=o.schema(t.is);null!==t.is&&t.is.isJoi||(i=i.required());var a={ref:o.ref(e),is:i,then:void 0!==t.then?o.schema(t.then):void 0,otherwise:void 0!==t.otherwise?o.schema(t.otherwise):void 0};return s.push(n._refs,a.ref),n._refs=n._refs.concat(a.is._refs),a.then&&a.then._refs&&(n._refs=n._refs.concat(a.then._refs)),a.otherwise&&a.otherwise._refs&&(n._refs=n._refs.concat(a.otherwise._refs)),n._inner.matches.push(a),n},l.Alternatives.prototype.describe=function(){for(var e=i.prototype.describe.call(this),t=[],n=0,r=this._inner.matches.length;r>n;++n){var o=this._inner.matches[n];if(o.schema)t.push(o.schema.describe());else{var s={ref:o.ref.toString(),is:o.is.describe()};o.then&&(s.then=o.then.describe()),o.otherwise&&(s.otherwise=o.otherwise.describe()),t.push(s)}}return e.alternatives=t,e},e.exports=new l.Alternatives},function(e,t,n){var r=n(21),i=n(29),o=n(40),s=n(12),a=n(1),l={};l.isoDate=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\d))$/,l.invalidDate=new Date(""),l.isIsoDate=function(){var e=l.isoDate.toString();return function(t){return t&&t.toString()===e}}(),l.Date=function(){r.call(this),this._type="date"},s.inherits(l.Date,r),l.Date.prototype._base=function(e,t,n){var r={value:n.convert&&l.toDate(e,this._flags.format)||e};return r.value instanceof Date&&!isNaN(r.value.getTime())?r.errors=null:r.errors=i.create(l.isIsoDate(this._flags.format)?"date.isoDate":"date.base",null,t,n),r},l.toDate=function(e,t){if(e instanceof Date)return e;if("string"==typeof e||s.isInteger(e)){"string"==typeof e&&/^[+-]?\d+$/.test(e)&&(e=parseInt(e,10));var n;if(t?l.isIsoDate(t)?n=t.test(e)?new Date(e):l.invalidDate:(n=a(e,t,!0),n=n.isValid()?n.toDate():l.invalidDate):n=new Date(e),!isNaN(n.getTime()))return n}return null},l.compare=function(e,t){return function(n){var r="now"===n,a=o.isRef(n);return r||a||(n=l.toDate(n)),s.assert(n,"Invalid date format"),this._test(e,n,function(o,s,c){var u;if(r)u=Date.now();else if(a){if(u=l.toDate(n(s.parent,c)),!u)return i.create("date.ref",{ref:n.key},s,c);u=u.getTime()}else u=n.getTime();return t(o.getTime(),u)?null:i.create("date."+e,{limit:new Date(u)},s,c)})}},l.Date.prototype.min=l.compare("min",function(e,t){return e>=t}),l.Date.prototype.max=l.compare("max",function(e,t){return t>=e}),l.Date.prototype.format=function(e){s.assert("string"==typeof e||Array.isArray(e)&&e.every(function(e){return"string"==typeof e}),"Invalid format.");var t=this.clone();return t._flags.format=e,t},l.Date.prototype.iso=function(){var e=this.clone();return e._flags.format=l.isoDate,e},l.Date.prototype._isIsoDate=function(e){return l.isoDate.test(e)},e.exports=new l.Date},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}function r(e){return o(e)&&m.call(e,"callee")&&(!v.call(e,"callee")||g.call(e)==d)}function i(e){return null!=e&&a(y(e))&&!s(e)}function o(e){return c(e)&&i(e)}function s(e){var t=l(e)?g.call(e):"";return t==h||t==p}function a(e){return"number"==typeof e&&e>-1&&e%1==0&&u>=e}function l(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function c(e){return!!e&&"object"==typeof e}var u=9007199254740991,d="[object Arguments]",h="[object Function]",p="[object GeneratorFunction]",f=Object.prototype,m=f.hasOwnProperty,g=f.toString,v=f.propertyIsEnumerable,y=n("length");e.exports=r},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Array.prototype.slice,s=n(319),a=!{toString:null}.propertyIsEnumerable("toString"),l=function(){}.propertyIsEnumerable("prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(e){var t=e.constructor;return t&&t.prototype===e},d={$console:!0,$frame:!0,$frameElement:!0,$frames:!0,$parent:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!d["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{u(window[e])}catch(t){return!0}}catch(t){return!0}return!1}(),p=function(e){if("undefined"==typeof window||!h)return u(e);try{return u(e)}catch(t){return!1}},f=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),o=s(e),u=t&&"[object String]"===i.call(e),d=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var h=l&&n;if(u&&e.length>0&&!r.call(e,0))for(var f=0;f0)for(var m=0;mr;r++){var i=t[r].toLowerCase();if(i===e)return!0}return!1},timer:function(e,t){var n,r,i=t;this.pause=function(){clearTimeout(n),i-=new Date-r},this.resume=function(){r=new Date,clearTimeout(n),n=setTimeout(e,i)},this.clear=function(){clearTimeout(n)},this.resume()}};e.exports=n},function(e,t,n){"use strict";function r(e){if(!(e in d)){var t=[],n=e.replace(a,function(e,n){return n?(t.push(n),"([^/?#]+)"):"*"===e?(t.push("splat"),"(.*?)"):"\\"+e});d[e]={matcher:new RegExp("^"+n+"$","i"),paramNames:t}}return d[e]}var i=n(3),o=n(22),s=n(342),a=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|[*.()\[\]\\+|{}^$]/g,l=/:([a-zA-Z_$][a-zA-Z0-9_$?]*[?]?)|[*]/g,c=/\/\/\?|\/\?\/|\/\?/g,u=/\?(.*)$/,d={},h={isAbsolute:function(e){return"/"===e.charAt(0)},join:function(e,t){return e.replace(/\/*$/,"/")+t},extractParamNames:function(e){return r(e).paramNames},extractParams:function(e,t){var n=r(e),i=n.matcher,o=n.paramNames,s=t.match(i);if(!s)return null;var a={};return o.forEach(function(e,t){a[e]=s[t+1]}),a},injectParams:function(e,t){t=t||{};var n=0;return e.replace(l,function(r,o){if(o=o||"splat","?"===o.slice(-1)){if(o=o.slice(0,-1),null==t[o])return""}else i(null!=t[o],'Missing "%s" parameter for path "%s"',o,e);var s;return"splat"===o&&Array.isArray(t[o])?(s=t[o][n++],i(null!=s,'Missing splat # %s for path "%s"',n,e)):s=t[o],s}).replace(c,"/")},extractQuery:function(e){var t=e.match(u);return t&&s.parse(t[1])},withoutQuery:function(e){return e.replace(u,"")},withQuery:function(e,t){var n=h.extractQuery(e);n&&(t=t?o(n,t):n);var r=s.stringify(t,{arrayFormat:"brackets"});return r?h.withoutQuery(e)+"?"+r:h.withoutQuery(e)}};e.exports=h},function(e,t,n){"use strict";function r(e){var t={path:c.getCurrentPath(),type:e};a.forEach(function(e){e.call(c,t)})}function i(e){void 0!==e.state&&r(o.POP)}var o=n(54),s=n(45),a=[],l=!1,c={addChangeListener:function(e){a.push(e),l||(window.addEventListener?window.addEventListener("popstate",i,!1):window.attachEvent("onpopstate",i),l=!0)},removeChangeListener:function(e){a=a.filter(function(t){return t!==e}),0===a.length&&(window.addEventListener?window.removeEventListener("popstate",i,!1):window.removeEvent("onpopstate",i),l=!1)},push:function(e){window.history.pushState({path:e},"",e),s.length+=1,r(o.PUSH)},replace:function(e){window.history.replaceState({path:e},"",e),r(o.REPLACE)},pop:s.back,getCurrentPath:function(){return decodeURI(window.location.pathname+window.location.search)},toString:function(){return""}};e.exports=c},function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var i=n(34),o=n(5),s=n(3);o(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){s(e.length===t.length),this._callbacks=null,this._contexts=null;for(var n=0,r=e.length;r>n;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e){return e===g.topMouseUp||e===g.topTouchEnd||e===g.topTouchCancel}function i(e){return e===g.topMouseMove||e===g.topTouchMove}function o(e){return e===g.topMouseDown||e===g.topTouchStart}function s(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(Array.isArray(n))for(var i=0;i";return this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t,n)+i},_createOpenTagMarkupAndPutListeners:function(e){var t=this._currentElement.props,n="<"+this._tag;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(w.hasOwnProperty(r))i(this._rootNodeID,r,o,e);else{r===C&&(o&&(o=this._previousStyleCopy=m({},t.style)),o=a.createMarkupForStyles(o));var s=c.createMarkupForProperty(r,o);s&&(n+=" "+s)}}if(e.renderToStaticMarkup)return n+">";var l=c.createMarkupForID(this._rootNodeID);return n+" "+l+">"},_createContentMarkup:function(e,t){var n="";"listing"!==this._tag&&"pre"!==this._tag&&"textarea"!==this._tag||(n="\n");var r=this._currentElement.props,i=r.dangerouslySetInnerHTML;if(null!=i){if(null!=i.__html)return n+i.__html}else{var o=E[typeof r.children]?r.children:null,s=null!=o?null:r.children;if(null!=o)return n+g(o);if(null!=s){var a=this.mountChildren(s,e,t);return n+a.join(""); -}}return n},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,i){r(this._currentElement.props),this._updateDOMProperties(t.props,e),this._updateDOMChildren(t.props,e,i)},_updateDOMProperties:function(e,t){var n,r,o,s=this._currentElement.props;for(n in e)if(!s.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===C){var a=this._previousStyleCopy;for(r in a)a.hasOwnProperty(r)&&(o=o||{},o[r]="");this._previousStyleCopy=null}else w.hasOwnProperty(n)?_(this._rootNodeID,n):(l.isStandardName[n]||l.isCustomAttribute(n))&&x.deletePropertyByID(this._rootNodeID,n);for(n in s){var c=s[n],u=n===C?this._previousStyleCopy:e[n];if(s.hasOwnProperty(n)&&c!==u)if(n===C)if(c?c=this._previousStyleCopy=m({},c):this._previousStyleCopy=null,u){for(r in u)!u.hasOwnProperty(r)||c&&c.hasOwnProperty(r)||(o=o||{},o[r]="");for(r in c)c.hasOwnProperty(r)&&u[r]!==c[r]&&(o=o||{},o[r]=c[r])}else o=c;else w.hasOwnProperty(n)?i(this._rootNodeID,n,c,t):(l.isStandardName[n]||l.isCustomAttribute(n))&&x.updatePropertyByID(this._rootNodeID,n,c)}o&&x.updateStylesByID(this._rootNodeID,o)},_updateDOMChildren:function(e,t,n){var r=this._currentElement.props,i=E[typeof e.children]?e.children:null,o=E[typeof r.children]?r.children:null,s=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,a=r.dangerouslySetInnerHTML&&r.dangerouslySetInnerHTML.__html,l=null!=i?null:e.children,c=null!=o?null:r.children,u=null!=i||null!=s,d=null!=o||null!=a;null!=l&&null==c?this.updateChildren(null,t,n):u&&!d&&this.updateTextContent(""),null!=o?i!==o&&this.updateTextContent(""+o):null!=a?s!==a&&x.updateInnerHTMLByID(this._rootNodeID,a):null!=c&&this.updateChildren(c,t,n)},unmountComponent:function(){this.unmountChildren(),u.deleteAllListeners(this._rootNodeID),d.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null}},f.measureMethods(s,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),m(s.prototype,s.Mixin,p.Mixin),s.injection={injectIDOperations:function(e){s.BackendIDOperations=x=e}},e.exports=s},function(e,t,n){"use strict";function r(e){u[e]=!0}function i(e){delete u[e]}function o(e){return!!u[e]}var s,a=n(9),l=n(50),c=n(3),u={},d={injectEmptyComponent:function(e){s=a.createFactory(e)}},h=function(){};h.prototype.componentDidMount=function(){var e=l.get(this);e&&r(e._rootNodeID)},h.prototype.componentWillUnmount=function(){var e=l.get(this);e&&i(e._rootNodeID)},h.prototype.render=function(){return c(s),s()};var p=a.createElement(h),f={emptyElement:p,injection:d,isNullComponentID:o};e.exports=f},function(e,t){"use strict";var n={currentlyMountingInstance:null,currentlyUnmountingInstance:null};e.exports=n},function(e,t,n){"use strict";var r=n(61),i=r({prop:null,context:null,childContext:null});e.exports=i},function(e,t,n){"use strict";function r(e){e!==o.currentlyMountingInstance&&c.enqueueUpdate(e)}function i(e,t){d(null==s.current);var n=l.get(e);return n?n===o.currentlyUnmountingInstance?null:n:null}var o=n(96),s=n(36),a=n(9),l=n(50),c=n(24),u=n(5),d=n(3),h=(n(8),{enqueueCallback:function(e,t){d("function"==typeof t);var n=i(e);return n&&n!==o.currentlyMountingInstance?(n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],void r(n)):null},enqueueCallbackInternal:function(e,t){d("function"==typeof t),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueSetProps:function(e,t){var n=i(e,"setProps");if(n){d(n._isTopLevel);var o=n._pendingElement||n._currentElement,s=u({},o.props,t);n._pendingElement=a.cloneAndReplaceProps(o,s),r(n)}},enqueueReplaceProps:function(e,t){var n=i(e,"replaceProps");if(n){d(n._isTopLevel);var o=n._pendingElement||n._currentElement;n._pendingElement=a.cloneAndReplaceProps(o,t),r(n)}},enqueueElementInternal:function(e,t){e._pendingElement=t,r(e)}});e.exports=h},function(e,t,n){"use strict";function r(e,t){if(i(null!=t),null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n&&r?(e.push.apply(e,t),e):n?(e.push(t),e):r?[e].concat(t):[e,t]}var i=n(3);e.exports=r},function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=i[e];return r?!!n[r]:!1}function r(e){return n}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";function r(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null!==e&&e!==!1||(e=s.emptyElement),"object"==typeof e){var i=e;n=t===i.type&&"string"==typeof i.type?a.createInternalComponent(i):r(i.type)?new i.type(i):new u}else"string"==typeof e||"number"==typeof e?n=a.createInstanceForText(e):c(!1);return n.construct(e),n._mountIndex=0,n._mountImage=null,n}var o=n(367),s=n(95),a=n(69),l=n(5),c=n(3),u=(n(8),function(){});l(u.prototype,o.Mixin,{_instantiateReactComponent:i}),e.exports=i},function(e,t,n){"use strict";/** +!function(){function e(){var e,t,n=arguments,r={},i=function(e,t){var n,r;"object"!=typeof e&&(e={});for(r in t)t.hasOwnProperty(r)&&(n=t[r],n&&"object"==typeof n&&"[object Array]"!==Object.prototype.toString.call(n)&&"renderTo"!==r&&"number"!=typeof n.nodeType?e[r]=i(e[r]||{},n):e[r]=t[r]);return e};for(n[0]===!0&&(r=n[1],n=Array.prototype.slice.call(n,2)),t=n.length,e=0;e-1?o.thousandsSep:""))):t=I(e,t),t}function y(e,t){for(var n,r,i,o,s,a,l,c="{",u=!1,h=[];(l=e.indexOf(c))!==-1;){if(n=e.slice(0,l),u){for(r=n.split(":"),i=r.shift().split("."),s=i.length,a=t,o=0;o=e||!i&&o<=(t[s]+(t[s+1]||t[s]))/2));s++);return a*=n}function w(e,t){var n,r,i=e.length;for(r=0;rn&&(n=e[t]);return n}function A(e,t){var n;for(n in e)e[n]&&e[n]!==t&&e[n].destroy&&e[n].destroy(),delete e[n]}function x(e){$||($=f($e)),e&&$.appendChild(e),$.innerHTML=""}function k(e,t){var n="Highcharts error #"+e+": www.highcharts.com/errors/"+e;if(t)throw n;le.console&&console.log(n)}function D(e){return parseFloat(e.toPrecision(14))}function L(e,t){j=nt(e,t.animation)}function M(){var e=Y.global,t=e.useUTC,n=t?"getUTC":"get",r=t?"setUTC":"set";z=e.Date||window.Date,q=t&&e.timezoneOffset,G=t&&e.getTimezoneOffset,V=function(e,n,r,i,o,s){var a;return t?(a=z.UTC.apply(0,arguments),a+=g(a)):a=new z(e,n,nt(r,1),nt(i,0),nt(o,0),nt(s,0)).getTime(),a},K=n+"Minutes",X=n+"Hours",J=n+"Day",Q=n+"Date",Z=n+"Month",ee=n+"FullYear",te=r+"Minutes",ne=r+"Hours",re=r+"Date",ie=r+"Month",oe=r+"FullYear"}function T(t){return Y=e(!0,Y,t),M(),Y}function S(){return Y}function F(){}function R(e,t,n,r){this.axis=e,this.pos=t,this.type=n||"",this.isNew=!0,n||r||this.addLabel()}function N(e,t,n,r,i){var o=e.chart.inverted;this.axis=e,this.isNegative=n,this.options=t,this.x=r,this.total=null,this.points={},this.stack=i,this.alignOptions={align:t.align||(o?n?"left":"right":"center"),verticalAlign:t.verticalAlign||(o?"middle":n?"bottom":"top"),y:nt(t.y,o?4:n?14:-6),x:nt(t.x,o?n?-6:6:0)},this.textAlign=t.textAlign||(o?n?"right":"left":"center")}var B,O,P,$,Y,I,j,W,H,U,z,V,q,G,K,X,J,Q,Z,ee,te,ne,re,ie,oe,se,ae=document,le=window,ce=Math,ue=ce.round,he=ce.floor,de=ce.ceil,fe=ce.max,pe=ce.min,me=ce.abs,ge=ce.cos,ve=ce.sin,ye=ce.PI,_e=2*ye/360,be=navigator.userAgent,we=le.opera,Ee=/(msie|trident)/i.test(be)&&!we,Ce=8===ae.documentMode,Ae=/AppleWebKit/.test(be),xe=/Firefox/.test(be),ke=/(Mobile|Android|Windows Phone)/.test(be),De="http://www.w3.org/2000/svg",Le=!!ae.createElementNS&&!!ae.createElementNS(De,"svg").createSVGRect,Me=xe&&parseInt(be.split("Firefox/")[1],10)<4,Te=!Le&&!Ee&&!!ae.createElement("canvas").getContext,Se={},Fe=0,Re=function(){return B},Ne=[],Be=0,Oe="Highcharts",Pe="4.1.4-modified",$e="div",Ye="absolute",Ie="relative",je="hidden",We="highcharts-",He="visible",Ue="px",ze="none",Ve="M",qe="L",Ge=/^[0-9]+$/,Ke="",Xe="hover",Je="select",Qe=["plotTop","marginRight","marginBottom","plotLeft"],Ze="stroke-width",et={};se=le.Highcharts=le.Highcharts?k(16,!0):{},se.seriesTypes=et;var tt=se.extend=function(e,t){var n;e||(e={});for(n in t)e[n]=t[n];return e},nt=se.pick=function(){var e,t,n=arguments,r=n.length;for(e=0;e3?h.length%3:0;return u+(d?h.substr(0,d)+c:"")+h.substr(d).replace(/(\d{3})(?=\d)/g,"$1"+c)+(a?l+me(s-h).toFixed(a).slice(2):"")},W={init:function(e,t,n){t=t||"";var r,i,o,s,a,l=e.shift,c=t.indexOf("C")>-1,u=c?7:3,h=t.split(" "),d=[].concat(n),f=function(e){for(o=e.length;o--;)e[o]===Ve&&e.splice(o+1,0,e[o+1],e[o+2],e[o+1],e[o+2])};if(c&&(f(h),f(d)),e.isArea&&(s=h.splice(h.length-6,6),a=d.splice(d.length-6,6)),l<=d.length/u&&h.length===d.length)for(;l--;)d=[].concat(d).splice(0,u).concat(d);if(e.shift=0,h.length)for(r=d.length;h.length{point.key}
    ',pointFormat:' {series.name}: {point.y}
    ',shadow:!0,snap:ke?25:10,style:{color:"#333333",cursor:"default",fontSize:"12px",padding:"8px",whiteSpace:"nowrap"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"9px"}}};var _t=Y.plotOptions,bt=_t.line;M();var wt=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,Et=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,Ct=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,At=function(n){function r(e){e&&e.stops?c=dt(e.stops,function(e){return At(e[1])}):(l=wt.exec(e),l?u=[t(l[1]),t(l[2]),t(l[3]),parseFloat(l[4],10)]:(l=Et.exec(e),l?u=[t(l[1],16),t(l[2],16),t(l[3],16),1]:(l=Ct.exec(e),l&&(u=[t(l[1]),t(l[2]),t(l[3]),1]))))}function i(t){var r;return c?(r=e(n),r.stops=[].concat(r.stops),ct(c,function(e,n){r.stops[n]=[r.stops[n][0],e.get(t)]})):r=u&&!isNaN(u[0])?"rgb"===t?"rgb("+u[0]+","+u[1]+","+u[2]+")":"a"===t?u[3]:"rgba("+u.join(",")+")":n,r}function s(e){if(c)ct(c,function(t){t.brighten(e)});else if(o(e)&&0!==e){var n;for(n=0;n<3;n++)u[n]+=t(255*e),u[n]<0&&(u[n]=0),u[n]>255&&(u[n]=255)}return this}function a(e){return u[3]=e,this}var l,c,u=[];return r(n),{get:i,brighten:s,rgba:u,setOpacity:a,raw:n}};F.prototype={opacity:1,textProps:["fontSize","fontWeight","fontFamily","color","lineHeight","width","textDecoration","textShadow"],init:function(e,t){var n=this;n.element="span"===t?f(t):ae.createElementNS(De,t),n.renderer=e},animate:function(t,n,r){var i=nt(n,j,!0);return yt(this),i?(i=e(i,{}),r&&(i.complete=r),vt(this,t,i)):(this.attr(t),r&&r()),this},colorGradient:function(t,n,r){var o,s,a,l,u,h,d,f,p,m,g,v=this.renderer,y=[];if(t.linearGradient?s="linearGradient":t.radialGradient&&(s="radialGradient"),s){a=t[s],l=v.gradients,h=t.stops,p=r.radialReference,i(a)&&(t[s]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&p&&!c(a.gradientUnits)&&(a=e(a,{cx:p[0]-p[2]/2+a.cx*p[2],cy:p[1]-p[2]/2+a.cy*p[2],r:a.r*p[2],gradientUnits:"userSpaceOnUse"}));for(m in a)"id"!==m&&y.push(m,a[m]);for(m in h)y.push(h[m]);y=y.join(","),l[y]?g=l[y].attr("id"):(a.id=g=We+Fe++,l[y]=u=v.createElement(s).attr(a).add(v.defs),u.stops=[],ct(h,function(e){var t;0===e[1].indexOf("rgba")?(o=At(e[1]),d=o.get("rgb"),f=o.get("a")):(d=e[1],f=1),t=v.createElement("stop").attr({offset:e[0],"stop-color":d,"stop-opacity":f}).add(u),u.stops.push(t)})),r.setAttribute(n,"url("+v.url+"#"+g+")")}},applyTextShadow:function(e){var n,r=this.element,i=e.indexOf("contrast")!==-1,o=this.renderer.forExport||r.style.textShadow!==B&&!Ee;i&&(e=e.replace(/contrast/g,this.renderer.getContrast(r.style.fill))),o?i&&d(r,{textShadow:e}):(this.fakeTS=!0,this.ySetter=this.xSetter,n=[].slice.call(r.getElementsByTagName("tspan")),ct(e.split(/\s?,\s?/g),function(e){var i,o,s=r.firstChild;e=e.split(" "),i=e[e.length-1],o=e[e.length-2],o&&ct(n,function(e,n){var a;0===n&&(e.setAttribute("x",r.getAttribute("x")),n=r.getAttribute("y"),e.setAttribute("y",n||0),null===n&&r.setAttribute("y",0)),a=e.cloneNode(1),u(a,{class:We+"text-shadow",fill:i,stroke:i,"stroke-opacity":1/fe(t(o),3),"stroke-width":o,"stroke-linejoin":"round"}),r.insertBefore(a,s)})}))},attr:function(e,t){var n,r,i,o,s=this.element,a=this;if("string"==typeof e&&t!==B&&(n=e,e={},e[n]=t),"string"==typeof e)a=(this[e+"Getter"]||this._defaultGetter).call(this,e,s);else{for(n in e)r=e[n],o=!1,this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)/.test(n)&&(i||(this.symbolAttr(e),i=!0),o=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),o||(this[n+"Setter"]||this._defaultSetter).call(this,r,n,s),this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,r);this.doTransform&&(this.updateTransform(),this.doTransform=!1)}return a},updateShadows:function(e,t){for(var n=this.shadows,r=n.length;r--;)n[r].setAttribute(e,"height"===e?fe(t-(n[r].cutHeight||0),0):"d"===e?this.d:t)},addClass:function(e){var t=this.element,n=u(t,"class")||"";return n.indexOf(e)===-1&&u(t,"class",n+" "+e),this},symbolAttr:function(e){var t=this;ct(["x","y","r","start","end","width","height","innerR","anchorX","anchorY"],function(n){t[n]=nt(e[n],t[n])}),t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})},clip:function(e){return this.attr("clip-path",e?"url("+this.renderer.url+"#"+e.id+")":ze)},crisp:function(e){var t,n,r=this,i={},o=e.strokeWidth||r.strokeWidth||0;n=ue(o)%2/2,e.x=he(e.x||r.x||0)+n,e.y=he(e.y||r.y||0)+n,e.width=he((e.width||r.width||0)-2*n),e.height=he((e.height||r.height||0)-2*n),e.strokeWidth=o;for(t in e)r[t]!==e[t]&&(r[t]=i[t]=e[t]);return i},css:function(e){var n,r,i,o=this,s=o.styles,a={},l=o.element,c="",h=!s;if(e&&e.color&&(e.fill=e.color),s)for(r in e)e[r]!==s[r]&&(a[r]=e[r],h=!0);if(h){if(n=o.textWidth=e&&e.width&&"text"===l.nodeName.toLowerCase()&&t(e.width)||o.textWidth,s&&(e=tt(s,a)),o.styles=e,n&&(Te||!Le&&o.renderer.forExport)&&delete e.width,Ee&&!Le)d(o.element,e);else{i=function(e,t){return"-"+t.toLowerCase()};for(r in e)c+=r.replace(/([A-Z])/g,i)+":"+e[r]+";";u(l,"style",c)}n&&o.added&&o.renderer.buildText(o)}return o},on:function(e,t){var n=this,r=n.element;return P&&"click"===e?(r.ontouchstart=function(e){n.touchEventFired=z.now(),e.preventDefault(),t.call(r,e)},r.onclick=function(e){(be.indexOf("Android")===-1||z.now()-(n.touchEventFired||0)>1100)&&t.call(r,e)}):r["on"+e]=t,this},setRadialReference:function(e){return this.element.radialReference=e,this},translate:function(e,t){return this.attr({translateX:e,translateY:t})},invert:function(){var e=this;return e.inverted=!0,e.updateTransform(),e},updateTransform:function(){var e,t=this,n=t.translateX||0,r=t.translateY||0,i=t.scaleX,o=t.scaleY,s=t.inverted,a=t.rotation,l=t.element;s&&(n+=t.attr("width"),r+=t.attr("height")),e=["translate("+n+","+r+")"],s?e.push("rotate(90) scale(-1,1)"):a&&e.push("rotate("+a+" "+(l.getAttribute("x")||0)+" "+(l.getAttribute("y")||0)+")"),(c(i)||c(o))&&e.push("scale("+nt(i,1)+" "+nt(o,1)+")"),e.length&&l.setAttribute("transform",e.join(" "))},toFront:function(){var e=this.element;return e.parentNode.appendChild(e),this},align:function(e,t,r){var i,o,s,a,c,u={},h=this.renderer,d=h.alignedObjects;return e?(this.alignOptions=e,this.alignByTranslate=t,r&&!n(r)||(this.alignTo=c=r||"renderer",l(d,this),d.push(this),r=null)):(e=this.alignOptions,t=this.alignByTranslate,c=this.alignTo),r=nt(r,h[c],h),i=e.align,o=e.verticalAlign,s=(r.x||0)+(e.x||0),a=(r.y||0)+(e.y||0),"right"!==i&&"center"!==i||(s+=(r.width-(e.width||0))/{right:1,center:2}[i]),u[t?"translateX":"x"]=ue(s),"bottom"!==o&&"middle"!==o||(a+=(r.height-(e.height||0))/({bottom:1,middle:2}[o]||1)),u[t?"translateY":"y"]=ue(a),this[this.placed?"animate":"attr"](u),this.placed=!0,this.alignAttr=u,this},getBBox:function(e){var t,n,r,i,o,s,a=this,l=a.renderer,c=a.rotation,u=a.element,h=a.styles,d=c*_e,f=a.textStr,p=u.style;if(f!==B&&(s=["",c||0,h&&h.fontSize,u.style.width].join(","),s=""===f||Ge.test(f)?"num:"+f.toString().length+s:f+s),s&&!e&&(t=l.cache[s]),!t){if(u.namespaceURI===De||l.forExport){try{o=this.fakeTS&&function(e){ct(u.querySelectorAll("."+We+"text-shadow"),function(t){t.style.display=e})},xe&&p.textShadow?(i=p.textShadow,p.textShadow=""):o&&o(ze),t=u.getBBox?tt({},u.getBBox()):{width:u.offsetWidth,height:u.offsetHeight},i?p.textShadow=i:o&&o("")}catch(e){}(!t||t.width<0)&&(t={width:0,height:0})}else t=a.htmlGetBBox();l.isSVG&&(n=t.width,r=t.height,Ee&&h&&"11px"===h.fontSize&&"16.9"===r.toPrecision(3)&&(t.height=r=14),c&&(t.width=me(r*ve(d))+me(n*ge(d)),t.height=me(r*ge(d))+me(n*ve(d)))),l.cache[s]=t}return t},show:function(e){return e&&this.element.namespaceURI===De?this.element.removeAttribute("visibility"):this.attr({visibility:e?"inherit":He}),this},hide:function(){return this.attr({visibility:je})},fadeOut:function(e){var t=this;t.animate({opacity:0},{duration:e||150,complete:function(){t.attr({y:-9999})}})},add:function(e){var t,n=this.renderer,r=this.element;return e&&(this.parentGroup=e),this.parentInverted=e&&e.inverted,void 0!==this.textStr&&n.buildText(this),this.added=!0,(!e||e.handleZ||this.zIndex)&&(t=this.zIndexSetter()),t||(e?e.element:n.box).appendChild(r),this.onAdd&&this.onAdd(),this},safeRemoveChild:function(e){var t=e.parentNode;t&&t.removeChild(e)},destroy:function(){var e,t,n,r=this,i=r.element||{},o=r.shadows,s=r.renderer.isSVG&&"SPAN"===i.nodeName&&r.parentGroup;if(i.onclick=i.onmouseout=i.onmouseover=i.onmousemove=i.point=null,yt(r),r.clipPath&&(r.clipPath=r.clipPath.destroy()),r.stops){for(n=0;n]*>/g,"")},textSetter:function(e){e!==this.textStr&&(delete this.bBox,this.textStr=e,this.added&&this.renderer.buildText(this))},fillSetter:function(e,t,n){"string"==typeof e?n.setAttribute(t,e):e&&this.colorGradient(e,t,n)},zIndexSetter:function(e,n){var r,i,o,s,a,l=this.renderer,h=this.parentGroup,d=h||l,f=d.element||l.box,p=this.element,m=this.added;if(c(e)&&(p.setAttribute(n,e),e=+e,this[n]===e&&(m=!1),this[n]=e),m){for(e=this.zIndex,e&&h&&(h.handleZ=!0),r=f.childNodes,a=0;ae||!c(e)&&c(o))&&(f.insertBefore(p,i),s=!0);s||f.appendChild(p)}return s},_defaultSetter:function(e,t,n){n.setAttribute(t,e)}},F.prototype.yGetter=F.prototype.xGetter,F.prototype.translateXSetter=F.prototype.translateYSetter=F.prototype.rotationSetter=F.prototype.verticalAlignSetter=F.prototype.scaleXSetter=F.prototype.scaleYSetter=function(e,t){this[t]=e,this.doTransform=!0},F.prototype["stroke-widthSetter"]=F.prototype.strokeSetter=function(e,t,n){this[t]=e,this.stroke&&this["stroke-width"]?(this.strokeWidth=this["stroke-width"],F.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===t&&0===e&&this.hasStroke&&(n.removeAttribute("stroke"),this.hasStroke=!1)};var xt=function(){this.init.apply(this,arguments)};xt.prototype={Element:F,init:function(e,t,n,r,i){var o,s,a,l=this,c=location;o=l.createElement("svg").attr({version:"1.1"}).css(this.getStyle(r)),s=o.element,e.appendChild(s),e.innerHTML.indexOf("xmlns")===-1&&u(s,"xmlns",De),l.isSVG=!0,l.box=s,l.boxWrapper=o,l.alignedObjects=[],l.url=(xe||Ae)&&ae.getElementsByTagName("base").length?c.href.replace(/#.*?$/,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",a=this.createElement("desc").add(),a.element.appendChild(ae.createTextNode("Created with "+Oe+" "+Pe)),l.defs=this.createElement("defs").add(),l.forExport=i,l.gradients={},l.cache={},l.setSize(t,n,!1);var h,f;xe&&e.getBoundingClientRect&&(l.subPixelFix=h=function(){d(e,{left:0,top:0}),f=e.getBoundingClientRect(),d(e,{left:de(f.left)-f.left+Ue,top:de(f.top)-f.top+Ue})},h(),ft(le,"resize",h))},getStyle:function(e){return this.style=tt({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},e)},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var e=this,t=e.defs;return e.box=null,e.boxWrapper=e.boxWrapper.destroy(),A(e.gradients||{}),e.gradients=null,t&&(e.defs=t.destroy()),e.subPixelFix&&pt(le,"resize",e.subPixelFix),e.alignedObjects=null,null},createElement:function(e){var t=new this.Element;return t.init(this,e),t},draw:function(){},buildText:function(e){for(var n,r,i,o=e.element,s=this,a=s.forExport,l=nt(e.textStr,"").toString(),c=l.indexOf("<")!==-1,h=o.childNodes,f=u(o,"x"),p=e.styles,m=e.textWidth,g=p&&p.lineHeight,v=p&&p.textShadow,y=p&&"ellipsis"===p.textOverflow,_=h.length,b=m&&!e.added&&this.box,w=function(e){return g?t(g):s.fontMetrics(/(px|em)$/.test(e&&e.style.fontSize)?e.style.fontSize:p&&p.fontSize||s.style.fontSize||12,e).h},E=function(e){return e.replace(/</g,"<").replace(/>/g,">")};_--;)o.removeChild(h[_]);return c||v||y||l.indexOf(" ")!==-1?(r=/<.*style="([^"]+)".*>/,i=/<.*href="(http[^"]+)".*>/,b&&b.appendChild(o),n=c?l.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,'').replace(/
    /g,"").split(//g):[l],""===n[n.length-1]&&n.pop(),ct(n,function(t,n){var l,c=0;t=t.replace(//g,"|||"),l=t.split("|||"),ct(l,function(t){if(""!==t||1===l.length){var h,g={},v=ae.createElementNS(De,"tspan");if(r.test(t)&&(h=t.match(r)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),u(v,"style",h)),i.test(t)&&!a&&(u(v,"onclick",'location.href="'+t.match(i)[1]+'"'),d(v,{cursor:"pointer"})),t=E(t.replace(/<(.|\n)*?>/g,"")||" ")," "!==t){if(v.appendChild(ae.createTextNode(t)),c?g.dx=0:n&&null!==f&&(g.x=f),u(v,g),o.appendChild(v),!c&&n&&(!Le&&a&&d(v,{display:"block"}),u(v,"dy",w(v))),m){for(var _,b,C,A,x=t.replace(/([^\^])-/g,"$1- ").split(" "),k=l.length>1||n||x.length>1&&"nowrap"!==p.whiteSpace,D=[],L=w(v),M=1,T=e.rotation,S=t,F=S.length;(k||y)&&(x.length||D.length);)e.rotation=0,A=e.getBBox(!0),C=A.width,!Le&&s.forExport&&(C=s.measureSpanWidth(v.firstChild.data,e.styles)),_=C>m,void 0===b&&(b=_),y&&b?(F/=2,""===S||!_&&F<.5?x=[]:(_&&(b=!0),S=t.substring(0,S.length+(_?-1:1)*de(F)),x=[S+"…"],v.removeChild(v.firstChild))):_&&1!==x.length?(v.removeChild(v.firstChild),D.unshift(x.pop())):(x=D,D=[],x.length&&(M++,v=ae.createElementNS(De,"tspan"),u(v,{dy:L,x:f}),h&&u(v,"style",h),o.appendChild(v)),C>m&&(m=C)),x.length&&v.appendChild(ae.createTextNode(x.join(" ").replace(/- /g,"-")));b&&e.attr("title",e.textStr),e.rotation=T}c++}}})}),b&&b.removeChild(o),v&&e.applyTextShadow&&e.applyTextShadow(v),void 0):void o.appendChild(ae.createTextNode(E(l)))},getContrast:function(e){return e=At(e).rgba,e[0]+e[1]+e[2]>384?"#000":"#FFF"},button:function(t,n,r,i,o,s,a,l,c){var u,h,d,f,p,m,g=this.label(t,n,r,c,null,null,null,null,"button"),v=0,y={x1:0,y1:0,x2:0,y2:1};return o=e({"stroke-width":1,stroke:"#CCCCCC",fill:{linearGradient:y,stops:[[0,"#FEFEFE"],[1,"#F6F6F6"]]},r:2,padding:5,style:{color:"black"}},o),d=o.style,delete o.style,s=e(o,{stroke:"#68A",fill:{linearGradient:y,stops:[[0,"#FFF"],[1,"#ACF"]]}},s),f=s.style,delete s.style,a=e(o,{stroke:"#68A",fill:{linearGradient:y,stops:[[0,"#9BD"],[1,"#CDF"]]}},a),p=a.style,delete a.style,l=e(o,{style:{color:"#CCC"}},l),m=l.style,delete l.style,ft(g.element,Ee?"mouseover":"mouseenter",function(){3!==v&&g.attr(s).css(f)}),ft(g.element,Ee?"mouseout":"mouseleave",function(){3!==v&&(u=[o,s,a][v],h=[d,f,p][v],g.attr(u).css(h))}),g.setState=function(e){g.state=v=e,e?2===e?g.attr(a).css(p):3===e&&g.attr(l).css(m):g.attr(o).css(d)},g.on("click",function(){3!==v&&i.call(g)}).attr(o).css(tt({cursor:"default"},d))},crispLine:function(e,t){return e[1]===e[4]&&(e[1]=e[4]=ue(e[1])-t%2/2),e[2]===e[5]&&(e[2]=e[5]=ue(e[2])+t%2/2),e},path:function(e){var t={fill:ze};return i(e)?t.d=e:r(e)&&tt(t,e),this.createElement("path").attr(t)},circle:function(e,t,n){var i=r(e)?e:{x:e,y:t,r:n},o=this.createElement("circle");return o.xSetter=function(e){this.element.setAttribute("cx",e)},o.ySetter=function(e){this.element.setAttribute("cy",e)},o.attr(i)},arc:function(e,t,n,i,o,s){var a;return r(e)&&(t=e.y,n=e.r,i=e.innerR,o=e.start,s=e.end,e=e.x),a=this.symbol("arc",e||0,t||0,n||0,n||0,{innerR:i||0,start:o||0,end:s||0}),a.r=n,a},rect:function(e,t,n,i,o,s){o=r(e)?e.r:o;var a=this.createElement("rect"),l=r(e)?e:e===B?{}:{x:e,y:t,width:fe(n,0),height:fe(i,0)};return s!==B&&(l.strokeWidth=s,l=a.crisp(l)),o&&(l.r=o),a.rSetter=function(e){u(this.element,{rx:e,ry:e})},a.attr(l)},setSize:function(e,t,n){var r=this,i=r.alignedObjects,o=i.length;for(r.width=e,r.height=t,r.boxWrapper[nt(n,!0)?"animate":"attr"]({width:e,height:t});o--;)i[o].align()},g:function(e){var t=this.createElement("g");return c(e)?t.attr({class:We+e}):t},image:function(e,t,n,r,i){var o,s={preserveAspectRatio:ze};return arguments.length>1&&tt(s,{x:t,y:n,width:r,height:i}),o=this.createElement("image").attr(s),o.element.setAttributeNS?o.element.setAttributeNS("http://www.w3.org/1999/xlink","href",e):o.element.setAttribute("hc-svg-href",e),o},symbol:function(e,t,n,r,i,o){var s,a,l,c,u,h=this.symbols[e],d=h&&h(ue(t),ue(n),r,i,o),p=/^url\((.*?)\)$/;return d?(s=this.path(d),tt(s,{symbolName:e,x:t,y:n,width:r,height:i}),o&&tt(s,o)):p.test(e)&&(u=function(e,t){e.element&&(e.attr({width:t[0],height:t[1]}),e.alignByTranslate||e.translate(ue((r-t[0])/2),ue((i-t[1])/2)))},l=e.match(p)[1],c=Se[l]||o&&o.width&&o.height&&[o.width,o.height],s=this.image(l).attr({x:t,y:n}),s.isImg=!0,c?u(s,c):(s.attr({width:0,height:0}),a=f("img",{onload:function(){u(s,Se[l]=[this.width,this.height])},src:l}))),s},symbols:{circle:function(e,t,n,r){var i=.166*n;return[Ve,e+n/2,t,"C",e+n+i,t,e+n+i,t+r,e+n/2,t+r,"C",e-i,t+r,e-i,t,e+n/2,t,"Z"]},square:function(e,t,n,r){return[Ve,e,t,qe,e+n,t,e+n,t+r,e,t+r,"Z"]},triangle:function(e,t,n,r){return[Ve,e+n/2,t,qe,e+n,t+r,e,t+r,"Z"]},"triangle-down":function(e,t,n,r){return[Ve,e,t,qe,e+n,t,e+n/2,t+r,"Z"]},diamond:function(e,t,n,r){return[Ve,e+n/2,t,qe,e+n,t+r/2,e+n/2,t+r,e,t+r/2,"Z"]},arc:function(e,t,n,r,i){var o=i.start,s=i.r||n||r,a=i.end-.001,l=i.innerR,c=i.open,u=ge(o),h=ve(o),d=ge(a),f=ve(a),p=i.end-on&&h>t+c&&ht+c&&hr&&u>e+c&&ue+c&&uv&&/[ \-]/.test(r.textContent||r.innerText)&&(d(r,{width:v+Ue,display:"block",whiteSpace:f&&f.whiteSpace||"normal"}),p=v),e.getSpanCorrection(p,m,u,g,l)),d(r,{left:s+(e.xCorr||0)+Ue,top:a+(e.yCorr||0)+Ue}),Ae&&(m=r.offsetHeight),e.cTT=y}},setSpanRotation:function(e,t,n){var r={},i=Ee?"-ms-transform":Ae?"-webkit-transform":xe?"MozTransform":we?"-o-transform":"";r[i]=r.transform="rotate("+e+"deg)",r[i+(xe?"Origin":"-origin")]=r.transformOrigin=100*t+"% "+n+"px",d(this.element,r)},getSpanCorrection:function(e,t,n){this.xCorr=-e*n,this.yCorr=-t}}),tt(xt.prototype,{html:function(e,t,n){var r=this.createElement("span"),i=r.element,o=r.renderer;return r.textSetter=function(e){e!==i.innerHTML&&delete this.bBox,i.innerHTML=this.textStr=e},r.xSetter=r.ySetter=r.alignSetter=r.rotationSetter=function(e,t){"align"===t&&(t="textAlign"),r[t]=e,r.htmlUpdateTransform()},r.attr({text:e,x:ue(t),y:ue(n)}).css({position:Ye,fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),i.style.whiteSpace="nowrap",r.css=r.htmlCss,o.isSVG&&(r.add=function(e){var t,n,s=o.box.parentNode,a=[];if(this.parentGroup=e,e){if(t=e.div,!t){for(n=e;n;)a.push(n),n=n.parentGroup;ct(a.reverse(),function(e){var n;t=e.div=e.div||f($e,{className:u(e.element,"class")},{position:Ye,left:(e.translateX||0)+Ue,top:(e.translateY||0)+Ue},t||s),n=t.style,tt(e,{translateXSetter:function(t,r){n.left=t+Ue,e[r]=t,e.doTransform=!0},translateYSetter:function(t,r){n.top=t+Ue,e[r]=t,e.doTransform=!0},visibilitySetter:function(e,t){n[t]=e}})})}}else t=s;return t.appendChild(i),r.added=!0,r.alignOnAdd&&r.htmlUpdateTransform(),r}),r}});var kt,Dt;if(!Le&&!Te){Dt={init:function(e,t){var n=this,r=["<",t,' filled="f" stroked="f"'],i=["position: ",Ye,";"],o=t===$e;("shape"===t||o)&&i.push("left:0;top:0;width:1px;height:1px;"),i.push("visibility: ",o?je:He),r.push(' style="',i.join(""),'"/>'),t&&(r=o||"span"===t||"img"===t?r.join(""):e.prepVML(r),n.element=f(r)),n.renderer=e},add:function(e){var t=this,n=t.renderer,r=t.element,i=n.box,o=e&&e.inverted,s=e?e.element||e:i;return o&&n.invertChild(r,s),s.appendChild(r),t.added=!0,t.alignOnAdd&&!t.deferUpdateTransform&&t.updateTransform(),t.onAdd&&t.onAdd(),t},updateTransform:F.prototype.htmlUpdateTransform,setSpanRotation:function(){var e=this.rotation,t=ge(e*_e),n=ve(e*_e);d(this.element,{filter:e?["progid:DXImageTransform.Microsoft.Matrix(M11=",t,", M12=",-n,", M21=",n,", M22=",t,", sizingMethod='auto expand')"].join(""):ze})},getSpanCorrection:function(e,t,n,r,i){var o,s=r?ge(r*_e):1,a=r?ve(r*_e):0,l=nt(this.elemHeight,this.element.offsetHeight),c=i&&"left"!==i;this.xCorr=s<0&&-e,this.yCorr=a<0&&-l,o=s*a<0,this.xCorr+=a*t*(o?1-n:n),this.yCorr-=s*t*(r?o?n:1-n:1),c&&(this.xCorr-=e*n*(s<0?-1:1),r&&(this.yCorr-=l*n*(a<0?-1:1)),d(this.element,{textAlign:i}))},pathToVML:function(e){for(var t=e.length,n=[];t--;)o(e[t])?n[t]=ue(10*e[t])-5:"Z"===e[t]?n[t]="x":(n[t]=e[t],!e.isArc||"wa"!==e[t]&&"at"!==e[t]||(n[t+5]===n[t+7]&&(n[t+7]+=e[t+7]>e[t+5]?1:-1),n[t+6]===n[t+8]&&(n[t+8]+=e[t+8]>e[t+6]?1:-1)));return n.join(" ")||"x"},clip:function(e){var t,n,r=this;return e?(t=e.members,l(t,r),t.push(r),r.destroyClip=function(){l(t,r)},n=e.getCSS(r)):(r.destroyClip&&r.destroyClip(),n={clip:Ce?"inherit":"rect(auto)"}),r.css(n)},css:F.prototype.htmlCss,safeRemoveChild:function(e){e.parentNode&&x(e)},destroy:function(){return this.destroyClip&&this.destroyClip(),F.prototype.destroy.apply(this)},on:function(e,t){return this.element["on"+e]=function(){var e=le.event;e.target=e.srcElement,t(e)},this},cutOffPath:function(e,n){var r;return e=e.split(/[ ,]/),r=e.length,9!==r&&11!==r||(e[r-4]=e[r-2]=t(e[r-2])-10*n),e.join(" ")},shadow:function(e,n,r){var i,o,s,a,l,c,u,h=[],d=this.element,p=this.renderer,m=d.style,g=d.path;if(g&&"string"!=typeof g.value&&(g="x"),l=g,e){for(c=nt(e.width,3),u=(e.opacity||.15)/c,i=1;i<=3;i++)a=2*c+1-2*i,r&&(l=this.cutOffPath(g.value,a+.5)),s=[''],o=f(p.prepVML(s),null,{left:t(m.left)+nt(e.offsetX,1),top:t(m.top)+nt(e.offsetY,1)}),r&&(o.cutOff=a+1),s=[''],f(p.prepVML(s),null,null,o),n?n.element.appendChild(o):d.parentNode.insertBefore(o,d),h.push(o);this.shadows=h}return this},updateShadows:Re,setAttr:function(e,t){Ce?this.element[e]=t:this.element.setAttribute(e,t)},classSetter:function(e){this.element.className=e},dashstyleSetter:function(e,t,n){var r=n.getElementsByTagName("stroke")[0]||f(this.renderer.prepVML([""]),null,null,n);r[t]=e||"solid",this[t]=e},dSetter:function(e,t,n){var r,i=this.shadows;if(e=e||[],this.d=e.join&&e.join(" "),n.path=e=this.pathToVML(e),i)for(r=i.length;r--;)i[r].path=i[r].cutOff?this.cutOffPath(e,i[r].cutOff):e;this.setAttr(t,e)},fillSetter:function(e,t,n){var r=n.nodeName;"SPAN"===r?n.style.color=e:"IMG"!==r&&(n.filled=e!==ze,this.setAttr("fillcolor",this.renderer.color(e,n,t,this)))},opacitySetter:Re,rotationSetter:function(e,t,n){var r=n.style;this[t]=r[t]=e,r.left=-ue(ve(e*_e)+1)+Ue,r.top=ue(ge(e*_e))+Ue},strokeSetter:function(e,t,n){this.setAttr("strokecolor",this.renderer.color(e,n,t))},"stroke-widthSetter":function(e,t,n){n.stroked=!!e,this[t]=e,o(e)&&(e+=Ue),this.setAttr("strokeweight",e)},titleSetter:function(e,t){this.setAttr(t,e)},visibilitySetter:function(e,t,n){"inherit"===e&&(e=He),this.shadows&&ct(this.shadows,function(n){n.style[t]=e}),"DIV"===n.nodeName&&(e=e===je?"-999em":0,Ce||(n.style[t]=e?He:je),t="top"),n.style[t]=e},xSetter:function(e,t,n){this[t]=e,"x"===t?t="left":"y"===t&&(t="top"),this.updateClipping?(this[t]=e,this.updateClipping()):n.style[t]=e},zIndexSetter:function(e,t,n){n.style[t]=e}},se.VMLElement=Dt=p(F,Dt),Dt.prototype.ySetter=Dt.prototype.widthSetter=Dt.prototype.heightSetter=Dt.prototype.xSetter;var Lt={Element:Dt,isIE8:be.indexOf("MSIE 8.0")>-1,init:function(e,t,n,r){var i,o,s,a=this;if(a.alignedObjects=[],i=a.createElement($e).css(tt(this.getStyle(r),{position:Ie})),o=i.element,e.appendChild(i.element),a.isVML=!0,a.box=o,a.boxWrapper=i,a.cache={},a.setSize(t,n,!1),!ae.namespaces.hcv){ae.namespaces.add("hcv","urn:schemas-microsoft-com:vml"),s="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } ";try{ae.createStyleSheet().cssText=s}catch(e){ae.styleSheets[0].cssText+=s}}},isHidden:function(){return!this.box.offsetWidth},clipRect:function(e,t,n,i){var o=this.createElement(),s=r(e);return tt(o,{members:[],count:0,left:(s?e.x:e)+1,top:(s?e.y:t)+1,width:(s?e.width:n)-1,height:(s?e.height:i)-1,getCSS:function(e){var t=e.element,n=t.nodeName,r="shape"===n,i=e.inverted,o=this,s=o.top-(r?t.offsetTop:0),a=o.left,l=a+o.width,c=s+o.height,u={clip:"rect("+ue(i?a:s)+"px,"+ue(i?c:l)+"px,"+ue(i?l:c)+"px,"+ue(i?s:a)+"px)"};return!i&&Ce&&"DIV"===n&&tt(u,{width:l+Ue,height:c+Ue}),u},updateClipping:function(){ct(o.members,function(e){e.element&&e.css(o.getCSS(e))})}})},color:function(e,t,n,r){var i,o,s,a=this,l=/^rgba/,c=ze;if(e&&e.linearGradient?s="gradient":e&&e.radialGradient&&(s="pattern"),s){var u,h,d,p,m,g,v,y,_,b,w,E,C=e.linearGradient||e.radialGradient,A="",x=e.stops,k=[],D=function(){o=[''],f(a.prepVML(o),null,null,t)};if(w=x[0],E=x[x.length-1],w[0]>0&&x.unshift([0,w[1]]),E[0]<1&&x.push([1,E[1]]),ct(x,function(e,t){l.test(e[1])?(i=At(e[1]),u=i.get("rgb"),h=i.get("a")):(u=e[1],h=1),k.push(100*e[0]+"% "+u),t?(y=h,_=u):(v=h,b=u)}),"fill"===n)if("gradient"===s)d=C.x1||C[0]||0,p=C.y1||C[1]||0,m=C.x2||C[2]||0,g=C.y2||C[3]||0,A='angle="'+(90-180*ce.atan((g-p)/(m-d))/ye)+'"',D();else{var L,M=C.r,T=2*M,S=2*M,F=C.cx,R=C.cy,N=t.radialReference,B=function(){N&&(L=r.getBBox(),F+=(N[0]-L.x)/L.width-.5,R+=(N[1]-L.y)/L.height-.5,T*=N[2]/L.width,S*=N[2]/L.height),A='src="'+Y.global.VMLRadialGradientURL+'" size="'+T+","+S+'" origin="0.5,0.5" position="'+F+","+R+'" color2="'+b+'" ',D()};r.added?B():r.onAdd=B,c=_}else c=u}else if(l.test(e)&&"IMG"!==t.tagName)i=At(e),o=["<",n,' opacity="',i.get("a"),'"/>'],f(this.prepVML(o),null,null,t),c=i.get("rgb");else{var O=t.getElementsByTagName(n);O.length&&(O[0].opacity=1,O[0].type="solid"),c=e}return c},prepVML:function(e){var t="display:inline-block;behavior:url(#default#VML);",n=this.isIE8;return e=e.join(""),n?(e=e.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),e=e.indexOf('style="')===-1?e.replace("/>",' style="'+t+'" />'):e.replace('style="','style="'+t)):e=e.replace("<","1&&o.attr({x:t,y:n,width:r,height:i}),o},createElement:function(e){return"rect"===e?this.symbol(e):xt.prototype.createElement.call(this,e)},invertChild:function(e,n){var r=this,i=n.style,o="IMG"===e.tagName&&e.style;d(e,{flip:"x",left:t(i.width)-(o?t(o.top):1),top:t(i.height)-(o?t(o.left):1),rotation:-90}),ct(e.childNodes,function(t){r.invertChild(t,e)})},symbols:{arc:function(e,t,n,r,i){var o,s=i.start,a=i.end,l=i.r||n||r,c=i.innerR,u=ge(s),h=ve(s),d=ge(a),f=ve(a);return a-s===0?["x"]:(o=["wa",e-l,t-l,e+l,t+l,e+l*u,t+l*h,e+l*d,t+l*f],i.open&&!c&&o.push("e",Ve,e,t),o.push("at",e-c,t-c,e+c,t+c,e+c*d,t+c*f,e+c*u,t+c*h,"x","e"),o.isArc=!0,o)},circle:function(e,t,n,r,i){return i&&(n=r=2*i.r),i&&i.isCircle&&(e-=n/2,t-=r/2),["wa",e,t,e+n,t+r,e+n,t+r/2,e+n,t+r/2,"e"]},rect:function(e,t,n,r,i){return xt.prototype.symbols[c(i)&&i.r?"callout":"square"].call(0,e,t,n,r,i)}}};se.VMLRenderer=kt=function(){this.init.apply(this,arguments)},kt.prototype=e(xt.prototype,Lt),O=kt}xt.prototype.measureSpanWidth=function(e,t){var n,r=ae.createElement("span"),i=ae.createTextNode(e);return r.appendChild(i),d(r,t),this.box.appendChild(r),n=r.offsetWidth,x(r),n};var Mt,Tt;Te&&(se.CanVGRenderer=Mt=function(){De="http://www.w3.org/1999/xhtml"},Mt.prototype.symbols={},Tt=function(){function e(){var e,n=t.length;for(e=0;e0&&o+d*f>c&&(r=ue((s-o)/ge(h*_e))):(t=o-d*f,n=o+d*f,tc&&(p-=n-c,e.x=c,u.attr({align:"right"})),f>p&&(r=p)),r&&u.css({width:r,textOverflow:"ellipsis"})},getPosition:function(e,t,n,r){var i=this.axis,o=i.chart,s=r&&o.oldChartHeight||o.chartHeight;return{x:e?i.translate(t+n,null,null,r)+i.transB:i.left+i.offset+(i.opposite?(r&&o.oldChartWidth||o.chartWidth)-i.right-i.left:0),y:e?s-i.bottom+i.offset-(i.opposite?i.height:0):s-i.translate(t+n,null,null,r)-i.transB}},getLabelPosition:function(e,t,n,r,i,o,s,a){var l,c=this.axis,u=c.transA,h=c.reversed,d=c.staggerLines,f=c.tickRotCorr||{x:0,y:0},p=nt(i.y,f.y+(2===c.side?8:-(n.getBBox().height/2)));return e=e+i.x+f.x-(o&&r?o*u*(h?-1:1):0),t=t+p-(o&&!r?o*u*(h?1:-1):0),d&&(l=s/(a||1)%d,t+=l*(c.labelOffset/d)),{x:e,y:ue(t)}},getMarkPath:function(e,t,n,r,i,o){return o.crispLine([Ve,e,t,qe,e+(i?0:-n),t+(i?n:0)],r)},render:function(e,t,n){var r,i,o,s=this,a=s.axis,l=a.options,c=a.chart,u=c.renderer,h=a.horiz,d=s.type,f=s.label,p=s.pos,m=l.labels,g=s.gridLine,v=d?d+"Grid":"grid",y=d?d+"Tick":"tick",_=l[v+"LineWidth"],b=l[v+"LineColor"],w=l[v+"LineDashStyle"],E=l[y+"Length"],C=l[y+"Width"]||0,A=l[y+"Color"],x=l[y+"Position"],k=s.mark,D=m.step,L=!0,M=a.tickmarkOffset,T=s.getPosition(h,p,M,t),S=T.x,F=T.y,R=h&&S===a.pos+a.len||!h&&F===a.pos?-1:1;n=nt(n,1),this.isActive=!0,_&&(r=a.getPlotLinePath(p+M,_*R,t,!0),g===B&&(o={stroke:b,"stroke-width":_},w&&(o.dashstyle=w),d||(o.zIndex=1),t&&(o.opacity=0),s.gridLine=g=_?u.path(r).attr(o).add(a.gridGroup):null),!t&&g&&r&&g[s.isNew?"attr":"animate"]({d:r,opacity:n})),C&&E&&("inside"===x&&(E=-E),a.opposite&&(E=-E),i=s.getMarkPath(S,F,E,C*R,h,u),k?k.animate({d:i,opacity:n}):s.mark=u.path(i).attr({stroke:A,"stroke-width":C,opacity:n}).add(a.axisGroup)),f&&!isNaN(S)&&(f.xy=T=s.getLabelPosition(S,F,f,h,m,M,e,D),s.isFirst&&!s.isLast&&!nt(l.showFirstLabel,1)||s.isLast&&!s.isFirst&&!nt(l.showLastLabel,1)?L=!1:!h||a.isRadial||m.step||m.rotation||t||0===n||s.handleOverflow(T),D&&e%D&&(L=!1),L&&!isNaN(T.y)?(T.opacity=n,f[s.isNew?"attr":"animate"](T),s.isNew=!1):f.attr("y",-9999))},destroy:function(){A(this,this.axis)}},se.PlotLineOrBand=function(e,t){this.axis=e,t&&(this.options=t,this.id=t.id)},se.PlotLineOrBand.prototype={render:function(){var t,n,r,i,o,a,l=this,u=l.axis,h=u.horiz,d=l.options,f=d.label,p=l.label,m=d.width,g=d.to,v=d.from,y=c(v)&&c(g),_=d.value,b=d.dashStyle,w=l.svgElem,A=[],x=d.color,k=d.zIndex,D=d.events,L={},M=u.chart.renderer;if(u.isLog&&(v=s(v),g=s(g),_=s(_)),m)A=u.getPlotLinePath(_,m),L={stroke:x,"stroke-width":m},b&&(L.dashstyle=b);else{if(!y)return;A=u.getPlotBandPath(v,g,d),x&&(L.fill=x),d.borderWidth&&(L.stroke=d.borderColor,L["stroke-width"]=d.borderWidth)}if(c(k)&&(L.zIndex=k),w)A?w.animate({d:A},null,w.onGetPath):(w.hide(),w.onGetPath=function(){w.show()},p&&(l.label=p=p.destroy()));else if(A&&A.length&&(l.svgElem=w=M.path(A).attr(L).add(),D)){t=function(e){w.on(e,function(t){D[e].apply(l,[t])})};for(n in D)t(n)}return f&&c(f.text)&&A&&A.length&&u.width>0&&u.height>0?(f=e({align:h&&y&&"center",x:h?!y&&4:10,verticalAlign:!h&&y&&"middle",y:h?y?16:10:y?6:-4,rotation:h&&!y&&90},f),p||(L={align:f.textAlign||f.align,rotation:f.rotation},c(k)&&(L.zIndex=k),l.label=p=M.text(f.text,0,0,f.useHTML).attr(L).css(f.style).add()),r=[A[1],A[4],y?A[6]:A[1]],i=[A[2],A[5],y?A[7]:A[2]],o=E(r),a=E(i),p.align(f,!1,{x:o,y:a,width:C(r)-o,height:C(i)-a}),p.show()):p&&p.hide(),l},destroy:function(){l(this.axis.plotLinesAndBands,this),delete this.axis,A(this)}},U={getPlotBandPath:function(e,t){var n=this.getPlotLinePath(t,null,null,!0),r=this.getPlotLinePath(e,null,null,!0);return r&&n&&r.toString()!==n.toString()?r.push(n[4],n[5],n[1],n[2]):r=null,r},addPlotBand:function(e){return this.addPlotBandOrLine(e,"plotBands")},addPlotLine:function(e){return this.addPlotBandOrLine(e,"plotLines")},addPlotBandOrLine:function(e,t){var n=new se.PlotLineOrBand(this,e).render(),r=this.userOptions;return n&&(t&&(r[t]=r[t]||[],r[t].push(e)),this.plotLinesAndBands.push(n)),n},removePlotBandOrLine:function(e){for(var t=this.plotLinesAndBands,n=this.options,r=this.userOptions,i=t.length;i--;)t[i].id===e&&t[i].destroy();ct([n.plotLines||[],r.plotLines||[],n.plotBands||[],r.plotBands||[]],function(t){for(i=t.length;i--;)t[i].id===e&&l(t,t[i])})}};var St=se.Axis=function(){this.init.apply(this,arguments)};St.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,gridLineColor:"#D8D8D8",labels:{enabled:!0,style:{color:"#606060",cursor:"default",fontSize:"11px"},x:0,y:15},lineColor:"#C0D0E0",lineWidth:1,minPadding:.01,maxPadding:.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#707070"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8,y:3},lineWidth:0,maxPadding:.05,minPadding:.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return se.numberFormat(this.total,-1)},style:e(_t.line.dataLabels.style,{color:"#000000"})}},defaultLeftAxisOptions:{labels:{x:-15,y:null},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15,y:null},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0,y:null},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0,y:-15},title:{rotation:0}},init:function(e,t){var n=t.isX,r=this;r.horiz=e.inverted?!n:n,r.isXAxis=n,r.coll=n?"xAxis":"yAxis",r.opposite=t.opposite,r.side=t.side||(r.horiz?r.opposite?0:2:r.opposite?1:3),r.setOptions(t);var i=this.options,o=i.type,l="datetime"===o;r.labelFormatter=i.labels.formatter||r.defaultLabelFormatter,r.userOptions=t,r.minPixelPadding=0,r.chart=e,r.reversed=i.reversed,r.zoomEnabled=i.zoomEnabled!==!1,r.categories=i.categories||"category"===o,r.names=r.names||[],r.isLog="logarithmic"===o,r.isDatetimeAxis=l,r.isLinked=c(i.linkedTo),r.ticks={},r.labelEdge=[],r.minorTicks={},r.plotLinesAndBands=[],r.alternateBands={},r.len=0,r.minRange=r.userMinRange=i.minRange||i.maxZoom,r.range=i.range,r.offset=i.offset||0,r.stacks={},r.oldStacks={},r.max=null,r.min=null,r.crosshair=nt(i.crosshair,h(e.options.tooltip.crosshairs)[n?0:1],!1);var u,d=r.options.events;lt(r,e.axes)===-1&&(n&&!this.isColorAxis?e.axes.splice(e.xAxis.length,0,r):e.axes.push(r),e[r.coll].push(r)),r.series=r.series||[],e.inverted&&n&&r.reversed===B&&(r.reversed=!0),r.removePlotBand=r.removePlotBandOrLine,r.removePlotLine=r.removePlotBandOrLine;for(u in d)ft(r,u,d[u]);r.isLog&&(r.val2lin=s,r.lin2val=a)},setOptions:function(t){this.options=e(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],e(Y[this.coll],t))},defaultLabelFormatter:function(){var e,t,n=this.axis,r=this.value,i=n.categories,o=this.dateTimeLabelFormat,s=Y.lang.numericSymbols,a=s&&s.length,l=n.options.labels.format,c=n.isLog?r:n.tickInterval;if(l)t=y(l,this);else if(i)t=r;else if(o)t=I(o,r);else if(a&&c>=1e3)for(;a--&&t===B;)e=Math.pow(1e3,a+1),c>=e&&null!==s[a]&&(t=se.numberFormat(r/e,-1)+s[a]);return t===B&&(t=me(r)>=1e4?se.numberFormat(r,0):se.numberFormat(r,-1,B,"")),t},getSeriesExtremes:function(){var e=this,t=e.chart;e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.ignoreMinPadding=e.ignoreMaxPadding=null,e.buildStacks&&e.buildStacks(),ct(e.series,function(n){if(n.visible||!t.options.chart.ignoreHiddenSeries){var r,i,o,s=n.options,a=s.threshold;e.hasVisibleSeries=!0,e.isLog&&a<=0&&(a=null),e.isXAxis?(r=n.xData,r.length&&(e.dataMin=pe(nt(e.dataMin,r[0]),E(r)),e.dataMax=fe(nt(e.dataMax,r[0]),C(r)))):(n.getExtremes(),o=n.dataMax,i=n.dataMin,c(i)&&c(o)&&(e.dataMin=pe(nt(e.dataMin,i),i),e.dataMax=fe(nt(e.dataMax,o),o)),c(a)&&(e.dataMin>=a?(e.dataMin=a,e.ignoreMinPadding=!0):e.dataMaxn)&&(r?e=pe(fe(t,e),n):c=!0),e};return i=nt(i,u.translate(e,null,null,n)),o=a=ue(i+g),s=l=ue(p-i-g),isNaN(i)?c=!0:u.horiz?(s=f,l=p-u.bottom,o=a=v(o,d,d+u.width)):(o=d,a=m-u.right,s=l=v(s,f,f+u.height)),c&&!r?null:h.renderer.crispLine([Ve,o,s,qe,a,l],t||1)},getLinearTickPositions:function(e,t,n){var r,i,s=D(he(t/e)*e),a=D(de(n/e)*e),l=[];if(t===n&&o(t))return[t];for(r=s;r<=a&&(l.push(r),r=D(r+e),r!==i);)i=r;return l},getMinorTickPositions:function(){var e,t,n,r=this,i=r.options,o=r.tickPositions,s=r.minorTickInterval,a=[],l=r.min,c=r.max,u=c-l;if(u&&u/s=l.minRange;if(l.isXAxis&&l.minRange===B&&!l.isLog&&(c(u.min)||c(u.max)?l.minRange=null:(ct(l.series,function(e){for(i=e.xData,o=e.xIncrement?1:i.length-1,n=o;n>0;n--)r=i[n]-i[n-1],(t===B||ro&&(r=0),s=fe(s,r),i.single||(a=fe(a,n(u)?0:r/2),l=fe(l,"on"===u?0:r)),!e.noSharedTooltip&&c(d)&&(t=c(t)?pe(t,d):d)}),r=i.ordinalSlope&&t?i.ordinalSlope/t:1,i.minPointOffset=a*=r,i.pointRangePadding=l*=r,i.pointRange=pe(s,o),f&&(i.closestPointRange=t)),e&&(i.oldTransA=d),i.translationSlope=i.transA=d=i.len/(o+l||1),i.transB=i.horiz?i.left:i.bottom,i.minPixelPadding=d*a},setTickInterval:function(e){var t,n,r,i=this,a=i.chart,l=i.options,u=i.isLog,h=i.isDatetimeAxis,d=i.isXAxis,f=i.isLinked,p=l.maxPadding,m=l.minPadding,g=l.tickInterval,v=l.tickPixelInterval,y=i.categories;h||y||f||this.getTickAmount(),f?(i.linkedParent=a[i.coll][l.linkedTo],n=i.linkedParent.getExtremes(),i.min=nt(n.min,n.dataMin),i.max=nt(n.max,n.dataMax),l.type!==i.linkedParent.options.type&&k(11,1)):(i.min=nt(i.userMin,l.min,i.dataMin),i.max=nt(i.userMax,l.max,i.dataMax)),u&&(!e&&pe(i.min,nt(i.dataMin,i.min))<=0&&k(10,1),i.min=D(s(i.min)),i.max=D(s(i.max))),i.range&&c(i.max)&&(i.userMin=i.min=fe(i.min,i.max-i.range),i.userMax=i.max,i.range=null),i.beforePadding&&i.beforePadding(),i.adjustForMinRange(),y||i.axisPointRange||i.usePercentage||f||!c(i.min)||!c(i.max)||(t=i.max-i.min,t&&(c(l.min)||c(i.userMin)||!m||!(i.dataMin<0)&&i.ignoreMinPadding||(i.min-=t*m),c(l.max)||c(i.userMax)||!p||!(i.dataMax>0)&&i.ignoreMaxPadding||(i.max+=t*p))),o(l.floor)&&(i.min=fe(i.min,l.floor)),o(l.ceiling)&&(i.max=pe(i.max,l.ceiling)),i.min===i.max||void 0===i.min||void 0===i.max?i.tickInterval=1:f&&!g&&v===i.linkedParent.options.tickPixelInterval?i.tickInterval=i.linkedParent.tickInterval:i.tickInterval=nt(g,this.tickAmount?(i.max-i.min)/fe(this.tickAmount-1,1):void 0,y?1:(i.max-i.min)*v/fe(i.len,v)),d&&!e&&ct(i.series,function(e){e.processData(i.min!==i.oldMin||i.max!==i.oldMax)}),i.setAxisTranslation(!0),i.beforeSetTickPositions&&i.beforeSetTickPositions(),i.postProcessTickInterval&&(i.tickInterval=i.postProcessTickInterval(i.tickInterval)),i.pointRange&&(i.tickInterval=fe(i.pointRange,i.tickInterval)),r=nt(l.minTickInterval,i.isDatetimeAxis&&i.closestPointRange),!g&&i.tickInterval.5&&i.tickInterval<5&&i.max>1e3&&i.max<9999)),!!this.tickAmount)),!this.tickAmount&&this.len&&(i.tickInterval=i.unsquish()),this.setTickPositions()},setTickPositions:function(){var e,t,n=this.options,r=n.tickPositions,i=n.tickPositioner,o=n.startOnTick,s=n.endOnTick;this.tickmarkOffset=this.categories&&"between"===n.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n.minorTickInterval&&this.tickInterval?this.tickInterval/5:n.minorTickInterval,this.tickPositions=e=n.tickPositions&&n.tickPositions.slice(),e||(e=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,n.units),this.min,this.max,n.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickPositions=e,i&&(i=i.apply(this,[this.min,this.max]),i&&(this.tickPositions=e=i))),this.isLinked||(this.trimTicks(e,o,s),this.min===this.max&&c(this.min)&&!this.tickAmount&&(t=!0,this.min-=.5,this.max+=.5),this.single=t,r||i||this.adjustTickAmount())},trimTicks:function(e,t,n){var r=e[0],i=e[e.length-1],o=this.minPointOffset||0;t?this.min=r:this.min-o>r&&e.shift(),n?this.max=i:this.max+oi&&(this.tickInterval*=2,this.setTickPositions());if(c(o)){for(e=t=r.length;e--;)(3===o&&e%2===1||o<=2&&e>0&&e=fe(r,nt(i.max,r))&&(t=B)),this.displayBtn=e!==B||t!==B,this.setExtremes(e,t,!1,B,{trigger:"zoom"}),!0},setAxisSize:function(){var e=this.chart,t=this.options,n=t.offsetLeft||0,r=t.offsetRight||0,i=this.horiz,o=nt(t.width,e.plotWidth-n+r),s=nt(t.height,e.plotHeight),a=nt(t.top,e.plotTop),l=nt(t.left,e.plotLeft+n),c=/%$/; +c.test(s)&&(s=parseFloat(s)/100*e.plotHeight),c.test(a)&&(a=parseFloat(a)/100*e.plotHeight+e.plotTop),this.left=l,this.top=a,this.width=o,this.height=s,this.bottom=e.chartHeight-s-a,this.right=e.chartWidth-o-l,this.len=fe(i?o:s,0),this.pos=i?l:a},getExtremes:function(){var e=this,t=e.isLog;return{min:t?D(a(e.min)):e.min,max:t?D(a(e.max)):e.max,dataMin:e.dataMin,dataMax:e.dataMax,userMin:e.userMin,userMax:e.userMax}},getThreshold:function(e){var t=this,n=t.isLog,r=n?a(t.min):t.min,i=n?a(t.max):t.max;return r>e||null===e?e=r:i15&&n<165?"right":n>195&&n<345?"left":"center"},unsquish:function(){var e,t,n,r=this.chart,i=this.ticks,o=this.options.labels,s=this.horiz,a=this.tickInterval,l=a,u=this.len/(((this.categories?1:0)+this.max-this.min)/a),h=o.rotation,d=r.renderer.fontMetrics(o.style.fontSize,i[0]&&i[0].label),f=Number.MAX_VALUE,p=function(e){var t=e/(u||1);return t=t>1?de(t):1,t*a};return s?(n=c(h)?[h]:u<80&&!o.staggerLines&&!o.step&&o.autoRotation,n&&ct(n,function(n){var r;(n===h||n&&n>=-90&&n<=90)&&(t=p(me(d.h/ve(_e*n))),r=t+me(n/360),rv&&(v=e.labelLength)}),v>p&&v>g.h?m.rotation=this.labelRotation:this.labelRotation=0;else if(f)for(t={width:p+Ue,textOverflow:"clip"},i=l.length;!h&&i--;)o=l[i],r=c[o].label,r&&this.len/l.length-4.5*s.chartHeight?.33*s.chartHeight:s.chartHeight)+Ue,textOverflow:"ellipsis"}),this.labelAlign=m.align=u.align||this.autoLabelAlign(this.labelRotation),ct(l,function(n){var r=c[n],i=r&&r.label;i&&(t&&i.css(e(t,i.specCss)),delete i.specCss,i.attr(m),r.rotation=m.rotation)}),this.tickRotCorr=a.rotCorr(g.b,this.labelRotation||0,2===this.side)},getOffset:function(){var e,t,n,r,i,o,s=this,a=s.chart,l=a.renderer,u=s.options,h=s.tickPositions,d=s.ticks,f=s.horiz,p=s.side,m=a.inverted?[1,0,3,2][p]:p,g=0,v=0,y=u.title,_=u.labels,b=0,w=a.axisOffset,E=a.clipOffset,C=[-1,1,1,-1][p];if(s.hasData=e=s.hasVisibleSeries||c(s.min)&&c(s.max)&&!!h,s.showAxis=t=e||nt(u.showEmpty,!0),s.staggerLines=s.horiz&&_.staggerLines,s.axisGroup||(s.gridGroup=l.g("grid").attr({zIndex:u.gridZIndex||1}).add(),s.axisGroup=l.g("axis").attr({zIndex:u.zIndex||2}).add(),s.labelGroup=l.g("axis-labels").attr({zIndex:_.zIndex||7}).addClass(We+s.coll.toLowerCase()+"-labels").add()),e||s.isLinked)ct(h,function(e){d[e]?d[e].addLabel():d[e]=new R(s,e)}),s.renderUnsquish(),ct(h,function(e){0!==p&&2!==p&&{1:"left",3:"right"}[p]!==s.labelAlign||(b=fe(d[e].getLabelSize(),b))}),s.staggerLines&&(b*=s.staggerLines,s.labelOffset=b);else for(i in d)d[i].destroy(),delete d[i];y&&y.text&&y.enabled!==!1&&(s.axisTitle||(s.axisTitle=l.text(y.text,0,0,y.useHTML).attr({zIndex:7,rotation:y.rotation||0,align:y.textAlign||{low:"left",middle:"center",high:"right"}[y.align]}).addClass(We+this.coll.toLowerCase()+"-title").css(y.style).add(s.axisGroup),s.axisTitle.isNew=!0),t&&(g=s.axisTitle.getBBox()[f?"height":"width"],n=y.offset,v=c(n)?0:nt(y.margin,f?5:10)),s.axisTitle[t?"show":"hide"]()),s.offset=C*nt(u.offset,w[p]),s.tickRotCorr=s.tickRotCorr||{x:0,y:0},o=2===p?s.tickRotCorr.y:0,r=b+v+(b&&C*(f?nt(_.y,s.tickRotCorr.y+8):_.x)-o),s.axisTitleMargin=nt(n,r),w[p]=fe(w[p],s.axisTitleMargin+g+C*s.offset,r),E[m]=fe(E[m],2*he(u.lineWidth/2))},getLinePath:function(e){var t=this.chart,n=this.opposite,r=this.offset,i=this.horiz,o=this.left+(n?this.width:0)+r,s=t.chartHeight-this.bottom-(n?this.height:0)+r;return n&&(e*=-1),t.renderer.crispLine([Ve,i?this.left:o,i?s:this.top,qe,i?t.chartWidth-this.right:o,i?s:t.chartHeight-this.bottom],e)},getTitlePosition:function(){var e=this.horiz,n=this.left,r=this.top,i=this.len,o=this.options.title,s=e?n:r,a=this.opposite,l=this.offset,c=t(o.style.fontSize||12),u={low:s+(e?0:i),middle:s+i/2,high:s+(e?i:0)}[o.align],h=(e?r+this.height:n)+(e?1:-1)*(a?-1:1)*this.axisTitleMargin+(2===this.side?c:0);return{x:e?u:h+(a?this.width:0)+l+(o.x||0),y:e?h-(a?this.height:0)+l:u+(o.y||0)}},render:function(){var e,t,n,r=this,i=r.chart,o=i.renderer,s=r.options,l=r.isLog,u=r.isLinked,h=r.tickPositions,d=r.axisTitle,f=r.ticks,p=r.minorTicks,m=r.alternateBands,g=s.stackLabels,v=s.alternateGridColor,y=r.tickmarkOffset,_=s.lineWidth,b=i.hasRendered,w=b&&c(r.oldMin)&&!isNaN(r.oldMin),E=r.hasData,C=r.showAxis;r.labelEdge.length=0,r.overlap=!1,ct([f,p,m],function(e){var t;for(t in e)e[t].isActive=!1}),(E||u)&&(r.minorTickInterval&&!r.categories&&ct(r.getMinorTickPositions(),function(e){p[e]||(p[e]=new R(r,e,"minor")),w&&p[e].isNew&&p[e].render(null,!0),p[e].render(null,!1,1)}),h.length&&(ct(h,function(e,t){(!u||e>=r.min&&e<=r.max)&&(f[e]||(f[e]=new R(r,e)),w&&f[e].isNew&&f[e].render(t,!0,.1),f[e].render(t))}),y&&(0===r.min||r.single)&&(f[-1]||(f[-1]=new R(r,-1,null,!0)),f[-1].render(-1))),v&&ct(h,function(e,i){i%2===0&&e=H.second?0:d*he(u.getMilliseconds()/d)),h>=H.second&&u.setSeconds(h>=H.minute?0:d*he(u.getSeconds()/d)),h>=H.minute&&u[te](h>=H.hour?0:d*he(u[K]()/d)),h>=H.hour&&u[ne](h>=H.day?0:d*he(u[X]()/d)),h>=H.day&&u[re](h>=H.month?1:d*he(u[Q]()/d)),h>=H.month&&(u[ie](h>=H.year?0:d*he(u[Z]()/d)),o=u[ee]()),h>=H.year&&(o-=o%d,u[oe](o)),h===H.week&&u[re](u[Q]()-u[J]()+nt(r,1)),i=1,(q||G)&&(u=u.getTime(),u=new z(u+g(u))),o=u[ee]();for(var f=u.getTime(),p=u[Z](),m=u[Q](),v=(H.day+(l?g(u):60*u.getTimezoneOffset()*1e3))%H.day;f=.5)e=ue(e),c=i.getLinearTickPositions(e,t,n);else if(e>=.08){var u,h,d,f,p,m,g,v=he(t);for(u=e>.3?[1,2,4]:e>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],h=v;ht&&(!r||m<=n)&&m!==B&&c.push(m),m>n&&(g=!0),m=p}else{var y=a(t),w=a(n),E=o[r?"minorTickInterval":"tickInterval"],C="auto"===E?null:E,A=o.tickPixelInterval/(r?5:1),x=r?l/i.tickPositions.length:l;e=nt(C,i._minorAutoInterval,(w-y)*A/(x||1)),e=b(e,null,_(e)),c=dt(i.getLinearTickPositions(e,y,w),s),r||(i._minorAutoInterval=e/5)}return r||(i.tickInterval=e),c};var Ft=se.Tooltip=function(){this.init.apply(this,arguments)};Ft.prototype={init:function(e,n){var r=n.borderWidth,i=n.style,o=t(i.padding);this.chart=e,this.options=n,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.label=e.renderer.label("",0,0,n.shape||"callout",null,null,n.useHTML,null,"tooltip").attr({padding:o,fill:n.backgroundColor,"stroke-width":r,r:n.borderRadius,zIndex:8}).css(i).css({padding:0}).add().attr({y:-9999}),Te||this.label.shadow(n.shadow),this.shared=n.shared},destroy:function(){this.label&&(this.label=this.label.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(e,t,n,r){var i=this,o=i.now,s=i.options.animation!==!1&&!i.isHidden&&(me(e-o.x)>1||me(t-o.y)>1),a=i.followPointer||i.len>1;tt(o,{x:s?(2*o.x+e)/3:e,y:s?(o.y+t)/2:t,anchorX:a?B:s?(2*o.anchorX+n)/3:n,anchorY:a?B:s?(o.anchorY+r)/2:r}),i.label.attr(o),s&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){i&&i.move(e,t,n,r)},32))},hide:function(e){var t,n=this;clearTimeout(this.hideTimer),this.isHidden||(t=this.chart.hoverPoints,this.hideTimer=setTimeout(function(){n.label.fadeOut(),n.isHidden=!0},nt(e,this.options.hideDelay,500)),t&&ct(t,function(e){e.setState()}),this.chart.hoverPoints=null,this.chart.hoverSeries=null)},getAnchor:function(e,t){var n,r,i,o=this.chart,s=o.inverted,a=o.plotTop,l=o.plotLeft,c=0,u=0;return e=h(e),n=e[0].tooltipPos,this.followPointer&&t&&(t.chartX===B&&(t=o.pointer.normalize(t)),n=[t.chartX-o.plotLeft,t.chartY-a]),n||(ct(e,function(e){r=e.series.yAxis,i=e.series.xAxis,c+=e.plotX+(!s&&i?i.left-l:0),u+=(e.plotLow?(e.plotLow+e.plotHigh)/2:e.plotY)+(!s&&r?r.top-a:0)}),c/=e.length,u/=e.length,n=[s?o.plotWidth-u:c,this.shared&&!s&&e.length>1&&t?t.chartY-a:s?o.plotHeight-c:u]),dt(n,ue)},getPosition:function(e,t,n){var r,i=this.chart,o=this.distance,s={},a=n.h,l=["y",i.chartHeight,t,n.plotY+i.plotTop],c=["x",i.chartWidth,e,n.plotX+i.plotLeft],u=nt(n.ttBelow,i.inverted&&!n.negative||!i.inverted&&n.negative),h=function(e,t,n,r){var i=nt?h:h+a}},d=function(e,t,n,r){return!(rt-o)&&void(rt-n/2?s[e]=t-n-2:s[e]=r-n/2)},f=function(e){var t=l;l=c,c=t,r=e},p=function(){h.apply(0,l)!==!1?d.apply(0,c)!==!1||r||(f(!0),p()):r?s.x=s.y=0:(f(!0),p())};return(i.inverted||this.len>1)&&f(),p(),s},defaultFormatter:function(e){var t,n=this.points||h(this);return t=[e.tooltipFooterHeaderFormatter(n[0])],t=t.concat(e.bodyFormatter(n)),t.push(e.tooltipFooterHeaderFormatter(n[0],!0)),t.join("")},refresh:function(e,t){var n,r,i,o,s,a,l=this,c=l.chart,u=l.label,d=l.options,f={},p=[],m=d.formatter||l.defaultFormatter,g=c.hoverPoints,v=l.shared;clearTimeout(this.hideTimer),l.followPointer=h(e)[0].series.tooltipOptions.followPointer,i=l.getAnchor(e,t),n=i[0],r=i[1],!v||e.series&&e.series.noSharedTooltip?f=e.getLabelConfig():(c.hoverPoints=e,g&&ct(g,function(e){e.setState()}),ct(e,function(e){e.setState(Xe),p.push(e.getLabelConfig())}),f={x:e[0].category,y:e[0].y},f.points=p,this.len=p.length,e=e[0]),o=m.call(f,l),a=e.series,this.distance=nt(a.tooltipOptions.distance,16),o===!1?this.hide():(l.isHidden&&(yt(u),u.attr("opacity",1).show()),u.attr({text:o}),s=d.borderColor||e.color||a.color||"#606060",u.attr({stroke:s}),l.updatePosition({plotX:n,plotY:r,negative:e.negative,ttBelow:e.ttBelow,h:e.shapeArgs&&e.shapeArgs.height||0}),this.isHidden=!1),mt(c,"tooltipRefresh",{text:o,x:n+c.plotLeft,y:r+c.plotTop,borderColor:s})},updatePosition:function(e){var t=this.chart,n=this.label,r=(this.options.positioner||this.getPosition).call(this,n.width,n.height,e);this.move(ue(r.x),ue(r.y),e.plotX+t.plotLeft,e.plotY+t.plotTop)},getXDateFormat:function(e,t,n){var r,i,o,s,a=t.dateTimeLabelFormats,l=n&&n.closestPointRange,c="01-01 00:00:00.000",u={millisecond:15,second:12,minute:9,hour:6,day:3};if(l){o=I("%m-%d %H:%M:%S.%L",e.x);for(i in H){if(l===H.week&&+I("%w",e.x)===n.options.startOfWeek&&o.substr(6)===c.substr(6)){i="week";break}if(H[i]>l){i=s;break}if(u[i]&&o.substr(u[i])!==c.substr(u[i]))break;"week"!==i&&(s=i)}i&&(r=a[i])}else r=a.day;return r||a.year},tooltipFooterHeaderFormatter:function(e,t){var n=t?"footer":"header",r=e.series,i=r.tooltipOptions,s=i.xDateFormat,a=r.xAxis,l=a&&"datetime"===a.options.type&&o(e.key),c=i[n+"Format"];return l&&!s&&(s=this.getXDateFormat(e,i,a)),l&&s&&(c=c.replace("{point.key}","{point.key:"+s+"}")),y(c,{point:e,series:r})},bodyFormatter:function(e){return dt(e,function(e){var t=e.series.tooltipOptions;return(t.pointFormatter||e.point.tooltipFormatter).call(e.point,t.pointFormat)})}};var Rt;P=ae.documentElement.ontouchstart!==B;var Nt=se.Pointer=function(e,t){this.init(e,t)};if(Nt.prototype={init:function(e,t){var n,r,i=t.chart,o=i.events,s=Te?"":i.zoomType,a=e.inverted;this.options=t,this.chart=e,this.zoomX=n=/x/.test(s),this.zoomY=r=/y/.test(s),this.zoomHor=n&&!a||r&&a,this.zoomVert=r&&!a||n&&a,this.hasZoom=n||r,this.runChartClick=o&&!!o.click,this.pinchDown=[],this.lastValidTouch={},se.Tooltip&&t.tooltip.enabled&&(e.tooltip=new Ft(e,t.tooltip),this.followTouchMove=nt(t.tooltip.followTouchMove,!0)),this.setDOMEvents()},normalize:function(e,t){var n,r,i;return e=e||window.event,e=gt(e),e.target||(e.target=e.srcElement),i=e.touches?e.touches.length?e.touches.item(0):e.changedTouches[0]:e,t||(this.chartPosition=t=ht(this.chart.container)),i.pageX===B?(n=fe(e.x,e.clientX-t.left),r=e.y):(n=i.pageX-t.left,r=i.pageY-t.top),tt(e,{chartX:ue(n),chartY:ue(r)})},getCoordinates:function(e){var t={xAxis:[],yAxis:[]};return ct(this.chart.axes,function(n){t[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(e[n.horiz?"chartX":"chartY"])})}),t},runPointActions:function(e){var t,n,r,i,o,s,a=this,l=a.chart,u=l.series,h=l.tooltip,d=!!h&&h.shared,f=l.hoverPoint,p=l.hoverSeries,m=l.chartWidth,g=l.chartWidth,v=[];if(!d&&!p)for(n=0;n1)&&e.dist.distRc+h&&(o=c+h),su+d&&(s=u+d),this.hasDragged=Math.sqrt(Math.pow(f-o,2)+Math.pow(p-s,2)),this.hasDragged>10&&(t=r.isInsidePlot(f-c,p-u),r.hasCartesianSeries&&(this.zoomX||this.zoomY)&&t&&!m&&(this.selectionMarker||(this.selectionMarker=r.renderer.rect(c,u,a?1:h,l?1:d,0).attr({fill:i.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add())),this.selectionMarker&&a&&(n=o-f,this.selectionMarker.attr({width:me(n),x:(n>0?0:n)+f})),this.selectionMarker&&l&&(n=s-p,this.selectionMarker.attr({height:me(n),y:(n>0?0:n)+p})),t&&!this.selectionMarker&&i.panning&&r.pan(e,i.panning))},drop:function(e){var t=this,n=this.chart,r=this.hasPinched;if(this.selectionMarker){var i,o={xAxis:[],yAxis:[],originalEvent:e.originalEvent||e},s=this.selectionMarker,a=s.attr?s.attr("x"):s.x,l=s.attr?s.attr("y"):s.y,u=s.attr?s.attr("width"):s.width,h=s.attr?s.attr("height"):s.height;(this.hasDragged||r)&&(ct(n.axes,function(n){if(n.zoomEnabled&&c(n.min)&&(r||t[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])){var s=n.horiz,d="touchend"===e.type?n.minPixelPadding:0,f=n.toValue((s?a:l)+d),p=n.toValue((s?a+u:l+h)-d);o[n.coll].push({axis:n,min:pe(f,p),max:fe(f,p)}),i=!0}}),i&&mt(n,"selection",o,function(e){n.zoom(tt(e,r?{animation:!1}:null))})),this.selectionMarker=this.selectionMarker.destroy(),r&&this.scaleGroups()}n&&(d(n.container,{cursor:n._cursor}),n.cancelClick=this.hasDragged>10,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},onContainerMouseDown:function(e){e=this.normalize(e),e.preventDefault&&e.preventDefault(),this.dragStart(e)},onDocumentMouseUp:function(e){Ne[Rt]&&Ne[Rt].pointer.drop(e)},onDocumentMouseMove:function(e){var t=this.chart,n=this.chartPosition;e=this.normalize(e,n),!n||this.inClass(e.target,"highcharts-tracker")||t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop)||this.reset()},onContainerMouseLeave:function(){var e=Ne[Rt];e&&(e.pointer.reset(),e.pointer.chartPosition=null)},onContainerMouseMove:function(e){var t=this.chart;Rt=t.index,e=this.normalize(e),e.returnValue=!1,"mousedown"===t.mouseIsDown&&this.drag(e),!this.inClass(e.target,"highcharts-tracker")&&!t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop)||t.openMenu||this.runPointActions(e)},inClass:function(e,t){for(var n;e;){if(n=u(e,"class")){if(n.indexOf(t)!==-1)return!0;if(n.indexOf(We+"container")!==-1)return!1}e=e.parentNode}},onTrackerMouseOut:function(e){var t=this.chart.hoverSeries,n=e.relatedTarget||e.toElement,r=n&&n.point&&n.point.series;!t||t.options.stickyTracking||this.inClass(n,We+"tooltip")||r===t||t.onMouseOut()},onContainerClick:function(e){var t=this.chart,n=t.hoverPoint,r=t.plotLeft,i=t.plotTop;e=this.normalize(e),e.originalEvent=e,e.cancelBubble=!0,t.cancelClick||(n&&this.inClass(e.target,We+"tracker")?(mt(n.series,"click",tt(e,{point:n})),t.hoverPoint&&n.firePointEvent("click",e)):(tt(e,this.getCoordinates(e)),t.isInsidePlot(e.chartX-r,e.chartY-i)&&mt(t,"click",e)))},setDOMEvents:function(){var e=this,t=e.chart.container;t.onmousedown=function(t){e.onContainerMouseDown(t)},t.onmousemove=function(t){e.onContainerMouseMove(t)},t.onclick=function(t){e.onContainerClick(t)},ft(t,"mouseleave",e.onContainerMouseLeave),1===Be&&ft(ae,"mouseup",e.onDocumentMouseUp),P&&(t.ontouchstart=function(t){e.onContainerTouchStart(t)},t.ontouchmove=function(t){e.onContainerTouchMove(t)},1===Be&&ft(ae,"touchend",e.onDocumentTouchEnd))},destroy:function(){var e;pt(this.chart.container,"mouseleave",this.onContainerMouseLeave),Be||(pt(ae,"mouseup",this.onDocumentMouseUp),pt(ae,"touchend",this.onDocumentTouchEnd)),clearInterval(this.tooltipTimeout);for(e in this)this[e]=null}},tt(se.Pointer.prototype,{pinchTranslate:function(e,t,n,r,i,o){(this.zoomHor||this.pinchHor)&&this.pinchTranslateDirection(!0,e,t,n,r,i,o),(this.zoomVert||this.pinchVert)&&this.pinchTranslateDirection(!1,e,t,n,r,i,o)},pinchTranslateDirection:function(e,t,n,r,i,o,s,a){var l,c,u,h,d,f,p=this.chart,m=e?"x":"y",g=e?"X":"Y",v="chart"+g,y=e?"width":"height",_=p["plot"+(e?"Left":"Top")],b=a||1,w=p.inverted,E=p.bounds[e?"h":"v"],C=1===t.length,A=t[0][v],x=n[0][v],k=!C&&t[1][v],D=!C&&n[1][v],L=function(){!C&&me(A-k)>20&&(b=a||me(x-D)/me(A-k)),u=(_-x)/b+A,l=p["plot"+(e?"Width":"Height")]/b};L(),c=u,cE.max&&(c=E.max-l,h=!0),h?(x-=.8*(x-s[m][0]),C||(D-=.8*(D-s[m][1])),L()):s[m]=[x,D],w||(o[m]=u-_,o[y]=l),f=w?e?"scaleY":"scaleX":"scale"+g,d=w?1/b:b,i[y]=l,i[m]=c,r[f]=b,r["translate"+g]=d*_+(x-d*A)},pinch:function(e){var t=this,n=t.chart,r=t.pinchDown,i=e.touches,o=i.length,s=t.lastValidTouch,a=t.hasZoom,l=t.selectionMarker,c={},u=1===o&&(t.inClass(e.target,We+"tracker")&&n.runTrackerClick||t.runChartClick),h={};a&&!u&&e.preventDefault(),dt(i,function(e){return t.normalize(e)}),"touchstart"===e.type?(ct(i,function(e,t){r[t]={chartX:e.chartX,chartY:e.chartY}}),s.x=[r[0].chartX,r[1]&&r[1].chartX],s.y=[r[0].chartY,r[1]&&r[1].chartY],ct(n.axes,function(e){if(e.zoomEnabled){var t=n.bounds[e.horiz?"h":"v"],r=e.minPixelPadding,i=e.toPixels(nt(e.options.min,e.dataMin)),o=e.toPixels(nt(e.options.max,e.dataMax)),s=pe(i,o),a=fe(i,o);t.min=pe(e.pos,s-r),t.max=fe(e.pos+e.len,a+r)}}),t.res=!0):r.length&&(l||(t.selectionMarker=l=tt({destroy:Re},n.plotBox)),t.pinchTranslate(r,i,c,l,h,s),t.hasPinched=a,t.scaleGroups(c,h),!a&&t.followTouchMove&&1===o?this.runPointActions(t.normalize(e)):t.res&&(t.res=!1,this.reset(!1,0)))},onContainerTouchStart:function(e){var t=this.chart;Rt=t.index,1===e.touches.length?(e=this.normalize(e),t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop)&&!t.openMenu?(this.runPointActions(e),this.pinch(e)):this.reset()):2===e.touches.length&&this.pinch(e)},onContainerTouchMove:function(e){1!==e.touches.length&&2!==e.touches.length||this.pinch(e)},onDocumentTouchEnd:function(e){Ne[Rt]&&Ne[Rt].pointer.drop(e)}}),le.PointerEvent||le.MSPointerEvent){var Bt={},Ot=!!le.PointerEvent,Pt=function(){var e,t=[];t.item=function(e){return this[e]};for(e in Bt)Bt.hasOwnProperty(e)&&t.push({pageX:Bt[e].pageX,pageY:Bt[e].pageY,target:Bt[e].target});return t},$t=function(e,t,n,r){var i;e=e.originalEvent||e,"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!Ne[Rt]||(r(e),i=Ne[Rt].pointer,i[t]({type:n,target:e.currentTarget,preventDefault:Re,touches:Pt()}))};tt(Nt.prototype,{onContainerPointerDown:function(e){$t(e,"onContainerTouchStart","touchstart",function(e){Bt[e.pointerId]={pageX:e.pageX,pageY:e.pageY,target:e.currentTarget}})},onContainerPointerMove:function(e){$t(e,"onContainerTouchMove","touchmove",function(e){Bt[e.pointerId]={pageX:e.pageX,pageY:e.pageY},Bt[e.pointerId].target||(Bt[e.pointerId].target=e.currentTarget)})},onDocumentPointerUp:function(e){$t(e,"onContainerTouchEnd","touchend",function(e){delete Bt[e.pointerId]})},batchMSEvents:function(e){e(this.chart.container,Ot?"pointerdown":"MSPointerDown",this.onContainerPointerDown),e(this.chart.container,Ot?"pointermove":"MSPointerMove",this.onContainerPointerMove),e(ae,Ot?"pointerup":"MSPointerUp",this.onDocumentPointerUp)}}),rt(Nt.prototype,"init",function(e,t,n){e.call(this,t,n),(this.hasZoom||this.followTouchMove)&&d(t.container,{"-ms-touch-action":ze,"touch-action":ze})}),rt(Nt.prototype,"setDOMEvents",function(e){e.apply(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(ft)}),rt(Nt.prototype,"destroy",function(e){this.batchMSEvents(pt),e.call(this)})}var Yt=se.Legend=function(e,t){this.init(e,t)};Yt.prototype={init:function(t,n){var r,i=this,o=n.itemStyle,s=n.itemMarginTop||0;this.options=n,n.enabled&&(i.itemStyle=o,i.itemHiddenStyle=e(o,n.itemHiddenStyle),i.itemMarginTop=s,i.padding=r=nt(n.padding,8),i.initialItemX=r,i.initialItemY=r-5,i.maxItemWidth=0,i.chart=t,i.itemHeight=0,i.symbolWidth=nt(n.symbolWidth,16),i.pages=[],i.render(),ft(i.chart,"endResize",function(){i.positionCheckboxes()}))},colorizeItem:function(e,t){var n,r,i=this,o=i.options,s=e.legendItem,a=e.legendLine,l=e.legendSymbol,c=i.itemHiddenStyle.color,u=t?o.itemStyle.color:c,h=t?e.legendColor||e.color||"#CCC":c,d=e.options&&e.options.marker,f={fill:h};if(s&&s.css({fill:u,color:u}),a&&a.attr({stroke:h}),l){if(d&&l.isMarker){f.stroke=h,d=e.convertAttribs(d);for(n in d)r=d[n],r!==B&&(f[n]=r)}l.attr(f)}},positionItem:function(e){var t=this,n=t.options,r=n.symbolPadding,i=!n.rtl,o=e._legendItemPos,s=o[0],a=o[1],l=e.checkbox;e.legendGroup&&e.legendGroup.translate(i?s:t.legendWidth-s-2*r-4,a),l&&(l.x=s,l.y=a)},destroyItem:function(e){var t=e.checkbox;ct(["legendItem","legendLine","legendSymbol","legendGroup"],function(t){e[t]&&(e[t]=e[t].destroy())}),t&&x(e.checkbox)},clearItems:function(){var e=this;ct(e.getAllItems(),function(t){e.destroyItem(t)})},destroy:function(){var e=this,t=e.group,n=e.box;n&&(e.box=n.destroy()),t&&(e.group=t.destroy())},positionCheckboxes:function(e){var t,n=this.group.alignAttr,r=this.clipHeight||this.legendHeight;n&&(t=n.translateY,ct(this.allItems,function(i){var o,s=i.checkbox;s&&(o=t+s.y+(e||0)+3,d(s,{left:n.translateX+i.checkboxOffset+s.x-20+Ue,top:o+Ue,display:o>t-6&&o(v||s.chartWidth-2*p-w-l.x)&&(o.itemX=w,o.itemY+=b+o.lastLineHeight+_),o.maxItemWidth=fe(o.maxItemWidth,i),o.lastItemY=b+o.itemY+_,o.lastLineHeight=fe(n,o.lastLineHeight),t._legendItemPos=[o.itemX,o.itemY],c?o.itemX+=i:(o.itemY+=b+n+_,o.lastLineHeight=n),o.offsetWidth=v||fe((c?o.itemX-w-m:i)+p,o.offsetWidth)},getAllItems:function(){var e=[];return ct(this.chart.series,function(t){var n=t.options;nt(n.showInLegend,!c(n.linkedTo)&&B,!0)&&(e=e.concat(t.legendItems||("point"===n.legendType?t.data:t)))}),e},adjustMargins:function(e,t){var n=this.chart,r=this.options,i=r.align[0]+r.verticalAlign[0]+r.layout[0];this.display&&!r.floating&&ct([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(o,s){o.test(i)&&!c(e[s])&&(n[Qe[s]]=fe(n[Qe[s]],n.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*r[s%2?"x":"y"]+nt(r.margin,12)+t[s]))})},render:function(){var e,t,n,r,i=this,o=i.chart,s=o.renderer,a=i.group,l=i.box,c=i.options,u=i.padding,h=c.borderWidth,d=c.backgroundColor;i.itemX=i.initialItemX,i.itemY=i.initialItemY,i.offsetWidth=0,i.lastItemY=0,a||(i.group=a=s.g("legend").attr({zIndex:7}).add(),i.contentGroup=s.g().attr({zIndex:1}).add(a),i.scrollGroup=s.g().add(i.contentGroup)),i.renderTitle(),e=i.getAllItems(),w(e,function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)}),c.reversed&&e.reverse(),i.allItems=e,i.display=t=!!e.length,i.lastLineHeight=0,ct(e,function(e){i.renderItem(e)}),n=(c.width||i.offsetWidth)+u,r=i.lastItemY+i.lastLineHeight+i.titleHeight,r=i.handleOverflow(r),r+=u,(h||d)&&(l?n>0&&r>0&&(l[l.isNew?"attr":"animate"](l.crisp({width:n,height:r})),l.isNew=!1):(i.box=l=s.rect(0,0,n,r,c.borderRadius,h||0).attr({stroke:c.borderColor,"stroke-width":h||0,fill:d||ze}).add(a).shadow(c.shadow),l.isNew=!0),l[t?"show":"hide"]()),i.legendWidth=n,i.legendHeight=r,ct(e,function(e){i.positionItem(e)}),t&&a.align(tt({width:n,height:r},c),!0,"spacingBox"),o.isResizing||this.positionCheckboxes()},handleOverflow:function(e){var t,n,r=this,i=this.chart,o=i.renderer,s=this.options,a=s.y,l="top"===s.verticalAlign,c=i.spacingBox.height+(l?-a:a)-this.padding,u=s.maxHeight,h=this.clipRect,d=s.navigation,f=nt(d.animation,!0),p=d.arrowSize||12,m=this.nav,g=this.pages,v=this.allItems;return"horizontal"===s.layout&&(c/=2),u&&(c=pe(c,u)),g.length=0,e>c&&!s.useHTML?(this.clipHeight=t=fe(c-20-this.titleHeight-this.padding,0),this.currentPage=nt(this.currentPage,1),this.fullHeight=e,ct(v,function(e,r){var i=e._legendItemPos[1],o=ue(e.legendItem.getBBox().height),s=g.length;(!s||i-g[s-1]>t&&(n||i)!==g[s-1])&&(g.push(n||i),s++),r===v.length-1&&i+o-g[s-1]>t&&g.push(i),i!==n&&(n=i)}),h||(h=r.clipRect=o.clipRect(0,this.padding,9999,0),r.contentGroup.clip(h)),h.attr({height:t}),m||(this.nav=m=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,p,p).on("click",function(){r.scroll(-1,f)}).add(m),this.pager=o.text("",15,10).css(d.style).add(m),this.down=o.symbol("triangle-down",0,0,p,p).on("click",function(){r.scroll(1,f)}).add(m)),r.scroll(0),e=c):m&&(h.attr({height:i.chartHeight}),m.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e},scroll:function(e,t){var n,r=this.pages,i=r.length,o=this.currentPage+e,s=this.clipHeight,a=this.options.navigation,l=a.activeColor,c=a.inactiveColor,u=this.pager,h=this.padding;o>i&&(o=i),o>0&&(t!==B&&L(t,this.chart),this.nav.attr({translateX:h,translateY:s+this.padding+7+this.titleHeight,visibility:He}),this.up.attr({fill:1===o?c:l}).css({cursor:1===o?"default":"pointer"}),u.attr({text:o+"/"+i}),this.down.attr({x:18+this.pager.getBBox().width,fill:o===i?c:l}).css({cursor:o===i?"default":"pointer"}),n=-r[o-1]+this.initialItemY, +this.scrollGroup.animate({translateY:n}),this.currentPage=o,this.positionCheckboxes(n))}};var It=se.LegendSymbolMixin={drawRectangle:function(e,t){var n=e.options.symbolHeight||12;t.legendSymbol=this.chart.renderer.rect(0,e.baseline-5-n/2,e.symbolWidth,n,e.options.symbolRadius||0).attr({zIndex:3}).add(t.legendGroup)},drawLineMarker:function(e){var t,n,r,i=this.options,o=i.marker,s=e.options,a=e.symbolWidth,l=this.chart.renderer,c=this.legendGroup,u=e.baseline-ue(.3*l.fontMetrics(s.itemStyle.fontSize,this.legendItem).b);i.lineWidth&&(r={"stroke-width":i.lineWidth},i.dashStyle&&(r.dashstyle=i.dashStyle),this.legendLine=l.path([Ve,0,u,qe,a,u]).attr(r).add(c)),o&&o.enabled!==!1&&(t=o.radius,this.legendSymbol=n=l.symbol(this.symbol,a/2-t,u-t,2*t,2*t).add(c),n.isMarker=!0)}};(/Trident\/7\.0/.test(be)||xe)&&rt(Yt.prototype,"positionItem",function(e,t){var n=this,r=function(){t._legendItemPos&&e.call(n,t)};r(),setTimeout(r)});var jt=se.Chart=function(){this.init.apply(this,arguments)};jt.prototype={callbacks:[],init:function(t,n){var r,i=t.series;t.series=null,r=e(Y,t),r.series=t.series=i,this.userOptions=t;var o=r.chart;this.margin=this.splashArray("margin",o),this.spacing=this.splashArray("spacing",o);var s=o.events;this.bounds={h:{},v:{}},this.callback=n,this.isResizing=0,this.options=r,this.axes=[],this.series=[],this.hasCartesianSeries=o.showAxes;var a,l=this;if(l.index=Ne.length,Ne.push(l),Be++,o.reflow!==!1&&ft(l,"load",function(){l.initReflow()}),s)for(a in s)ft(l,a,s[a]);l.xAxis=[],l.yAxis=[],l.animation=!Te&&nt(o.animation,!0),l.pointCount=l.colorCounter=l.symbolCounter=0,l.firstRender()},initSeries:function(e){var t,n=this,r=n.options.chart,i=e.type||r.type||r.defaultSeriesType,o=et[i];return o||k(17,!0),t=new o,t.init(this,e),t},isInsidePlot:function(e,t,n){var r=n?t:e,i=n?e:t;return r>=0&&r<=this.plotWidth&&i>=0&&i<=this.plotHeight},redraw:function(e){var t,n,r,i=this,o=i.axes,s=i.series,a=i.pointer,l=i.legend,c=i.isDirtyLegend,u=i.hasCartesianSeries,h=i.isDirtyBox,d=s.length,f=d,p=i.renderer,m=p.isHidden(),g=[];for(L(e,i),m&&i.cloneRenderTo(),i.layOutTitles();f--;)if(r=s[f],r.options.stacking&&(t=!0,r.isDirty)){n=!0;break}if(n)for(f=d;f--;)r=s[f],r.options.stacking&&(r.isDirty=!0);ct(s,function(e){e.isDirty&&"point"===e.options.legendType&&(c=!0)}),c&&l.options.enabled&&(l.render(),i.isDirtyLegend=!1),t&&i.getStacks(),u&&(i.isResizing||(i.maxTicks=null,ct(o,function(e){e.setScale()}))),i.getMargins(),u&&(ct(o,function(e){e.isDirty&&(h=!0)}),ct(o,function(e){e.isDirtyExtremes&&(e.isDirtyExtremes=!1,g.push(function(){mt(e,"afterSetExtremes",tt(e.eventArgs,e.getExtremes())),delete e.eventArgs})),(h||t)&&e.redraw()})),h&&i.drawChartBox(),ct(s,function(e){e.isDirty&&e.visible&&(!e.isCartesian||e.xAxis)&&e.redraw()}),a&&a.reset(!0),p.draw(),mt(i,"redraw"),m&&i.cloneRenderTo(!0),ct(g,function(e){e.call()})},get:function(e){var t,n,r,i=this,o=i.axes,s=i.series;for(t=0;t19?e.containerHeight:400))},cloneRenderTo:function(e){var t=this.renderToClone,n=this.container;e?t&&(this.renderTo.appendChild(n),x(t),delete this.renderToClone):(n&&n.parentNode===this.renderTo&&this.renderTo.removeChild(n),this.renderToClone=t=this.renderTo.cloneNode(0),d(t,{position:Ye,top:"-9999px",display:"block"}),t.style.setProperty&&t.style.setProperty("display","block","important"),ae.body.appendChild(t),n&&t.appendChild(n))},getContainer:function(){var e,r,i,o,s,a,l=this,c=l.options.chart,h="data-highcharts-chart";l.renderTo=o=c.renderTo,a=We+Fe++,n(o)&&(l.renderTo=o=ae.getElementById(o)),o||k(13,!0),s=t(u(o,h)),!isNaN(s)&&Ne[s]&&Ne[s].hasRendered&&Ne[s].destroy(),u(o,h,l.index),o.innerHTML="",c.skipClone||o.offsetWidth||l.cloneRenderTo(),l.getChartSize(),r=l.chartWidth,i=l.chartHeight,l.container=e=f($e,{className:We+"container"+(c.className?" "+c.className:""),id:a},tt({position:Ie,overflow:je,width:r+Ue,height:i+Ue,textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},c.style),l.renderToClone||o),l._cursor=e.style.cursor,l.renderer=c.forExport?new xt(e,r,i,c.style,!0):new O(e,r,i,c.style),Te&&l.renderer.create(l,e,r,i),l.renderer.chartIndex=l.index},getMargins:function(e){var t=this,n=t.spacing,r=t.margin,i=t.titleOffset;t.resetMargins(),i&&!c(r[0])&&(t.plotTop=fe(t.plotTop,i+t.options.title.margin+n[0])),t.legend.adjustMargins(r,n),t.extraBottomMargin&&(t.marginBottom+=t.extraBottomMargin),t.extraTopMargin&&(t.plotTop+=t.extraTopMargin),e||this.getAxisMargins()},getAxisMargins:function(){var e=this,t=e.axisOffset=[0,0,0,0],n=e.margin;e.hasCartesianSeries&&ct(e.axes,function(e){e.getOffset()}),ct(Qe,function(r,i){c(n[i])||(e[r]+=t[i])}),e.setChartSize()},reflow:function(e){var t=this,n=t.options.chart,r=t.renderTo,i=n.width||st(r,"width"),o=n.height||st(r,"height"),s=e?e.target:le,a=function(){t.container&&(t.setSize(i,o,!1),t.hasUserSize=null)};t.hasUserSize||t.isPrinting||!i||!o||s!==le&&s!==ae||(i===t.containerWidth&&o===t.containerHeight||(clearTimeout(t.reflowTimeout),e?t.reflowTimeout=setTimeout(a,100):a()),t.containerWidth=i,t.containerHeight=o)},initReflow:function(){var e=this,t=function(t){e.reflow(t)};ft(le,"resize",t),ft(e,"destroy",function(){pt(le,"resize",t)})},setSize:function(e,t,n){var r,i,o,s=this;s.isResizing+=1,o=function(){s&&mt(s,"endResize",null,function(){s.isResizing-=1})},L(n,s),s.oldChartHeight=s.chartHeight,s.oldChartWidth=s.chartWidth,c(e)&&(s.chartWidth=r=fe(0,ue(e)),s.hasUserSize=!!r),c(t)&&(s.chartHeight=i=fe(0,ue(t))),(j?vt:d)(s.container,{width:r+Ue,height:i+Ue},j),s.setChartSize(!0),s.renderer.setSize(r,i,n),s.maxTicks=null,ct(s.axes,function(e){e.isDirty=!0,e.setScale()}),ct(s.series,function(e){e.isDirty=!0}),s.isDirtyLegend=!0,s.isDirtyBox=!0,s.layOutTitles(),s.getMargins(),s.redraw(n),s.oldChartHeight=null,mt(s,"resize"),j===!1?o():setTimeout(o,j&&j.duration||500)},setChartSize:function(e){var t,n,r,i,o,s,a,l=this,c=l.inverted,u=l.renderer,h=l.chartWidth,d=l.chartHeight,f=l.options.chart,p=l.spacing,m=l.clipOffset;l.plotLeft=r=ue(l.plotLeft),l.plotTop=i=ue(l.plotTop),l.plotWidth=o=fe(0,ue(h-r-l.marginRight)),l.plotHeight=s=fe(0,ue(d-i-l.marginBottom)),l.plotSizeX=c?s:o,l.plotSizeY=c?o:s,l.plotBorderWidth=f.plotBorderWidth||0,l.spacingBox=u.spacingBox={x:p[3],y:p[0],width:h-p[3]-p[1],height:d-p[0]-p[2]},l.plotBox=u.plotBox={x:r,y:i,width:o,height:s},a=2*he(l.plotBorderWidth/2),t=de(fe(a,m[3])/2),n=de(fe(a,m[0])/2),l.clipBox={x:t,y:n,width:he(l.plotSizeX-fe(a,m[1])/2-t),height:fe(0,he(l.plotSizeY-fe(a,m[2])/2-n))},e||ct(l.axes,function(e){e.setAxisSize(),e.setAxisTranslation()})},resetMargins:function(){var e=this;ct(Qe,function(t,n){e[t]=nt(e.margin[n],e.spacing[n])}),e.axisOffset=[0,0,0,0],e.clipOffset=[0,0,0,0]},drawChartBox:function(){var e,t,n=this,r=n.options.chart,i=n.renderer,o=n.chartWidth,s=n.chartHeight,a=n.chartBackground,l=n.plotBackground,c=n.plotBorder,u=n.plotBGImage,h=r.borderWidth||0,d=r.backgroundColor,f=r.plotBackgroundColor,p=r.plotBackgroundImage,m=r.plotBorderWidth||0,g=n.plotLeft,v=n.plotTop,y=n.plotWidth,_=n.plotHeight,b=n.plotBox,w=n.clipRect,E=n.clipBox;e=h+(r.shadow?8:0),(h||d)&&(a?a.animate(a.crisp({width:o-e,height:s-e})):(t={fill:d||ze},h&&(t.stroke=r.borderColor,t["stroke-width"]=h),n.chartBackground=i.rect(e/2,e/2,o-e,s-e,r.borderRadius,h).attr(t).addClass(We+"background").add().shadow(r.shadow))),f&&(l?l.animate(b):n.plotBackground=i.rect(g,v,y,_,0).attr({fill:f}).add().shadow(r.plotShadow)),p&&(u?u.animate(b):n.plotBGImage=i.image(p,g,v,y,_).add()),w?w.animate({width:E.width,height:E.height}):n.clipRect=i.clipRect(E),m&&(c?c.animate(c.crisp({x:g,y:v,width:y,height:_,strokeWidth:-m})):n.plotBorder=i.rect(g,v,y,_,0,-m).attr({stroke:r.plotBorderColor,"stroke-width":m,fill:ze,zIndex:1}).add()),n.isDirtyBox=!1},propFromSeries:function(){var e,t,n,r=this,i=r.options.chart,o=r.options.series;ct(["inverted","angular","polar"],function(s){for(e=et[i.type||i.defaultSeriesType],n=r[s]||i[s]||e&&e.prototype[s],t=o&&o.length;!n&&t--;)e=et[o[t].type],e&&e.prototype[s]&&(n=!0);r[s]=n})},linkSeries:function(){var e=this,t=e.series;ct(t,function(e){e.linkedSeries.length=0}),ct(t,function(t){var r=t.options.linkedTo;n(r)&&(r=":previous"===r?e.series[t.index-1]:e.get(r),r&&(r.linkedSeries.push(t),t.linkedParent=r))})},renderSeries:function(){ct(this.series,function(e){e.translate(),e.render()})},renderLabels:function(){var e=this,n=e.options.labels;n.items&&ct(n.items,function(r){var i=tt(n.style,r.style),o=t(i.left)+e.plotLeft,s=t(i.top)+e.plotTop+12;delete i.left,delete i.top,e.renderer.text(r.html,o,s).attr({zIndex:2}).css(i).add()})},render:function(){var e,t,n,r,i=this,o=i.axes,s=i.renderer,a=i.options;i.setTitle(),i.legend=new Yt(i,a.legend),i.getStacks(),i.getMargins(!0),i.setChartSize(),e=i.plotWidth,t=i.plotHeight=i.plotHeight-13,ct(o,function(e){e.setScale()}),i.getAxisMargins(),n=e/i.plotWidth>1.2,r=t/i.plotHeight>1.1,(n||r)&&(i.maxTicks=null,ct(o,function(e){(e.horiz&&n||!e.horiz&&r)&&e.setTickInterval(!0)}),i.getMargins()),i.drawChartBox(),i.hasCartesianSeries&&ct(o,function(e){e.render()}),i.seriesGroup||(i.seriesGroup=s.g("series-group").attr({zIndex:3}).add()),i.renderSeries(),i.renderLabels(),i.showCredits(a.credits),i.hasRendered=!0},showCredits:function(e){e.enabled&&!this.credits&&(this.credits=this.renderer.text(e.text,0,0).on("click",function(){e.href&&(location.href=e.href)}).attr({align:e.position.align,zIndex:8}).css(e.style).add().align(e.position))},destroy:function(){var e,t=this,n=t.axes,r=t.series,i=t.container,o=i&&i.parentNode;for(mt(t,"destroy"),Ne[t.index]=B,Be--,t.renderTo.removeAttribute("data-highcharts-chart"),pt(t),e=n.length;e--;)n[e]=n[e].destroy();for(e=r.length;e--;)r[e]=r[e].destroy();ct(["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","scroller","rangeSelector","legend","resetZoomButton","tooltip","renderer"],function(e){var n=t[e];n&&n.destroy&&(t[e]=n.destroy())}),i&&(i.innerHTML="",pt(i),o&&x(i));for(e in t)delete t[e]},isReadyToRender:function(){var e=this;return!(!Le&&le==le.top&&"complete"!==ae.readyState||Te&&!le.canvg)||(Te?Tt.push(function(){e.firstRender()},e.options.global.canvasToolsURL):ae.attachEvent("onreadystatechange",function(){ae.detachEvent("onreadystatechange",e.firstRender),"complete"===ae.readyState&&e.firstRender()}),!1)},firstRender:function(){var e=this,t=e.options,n=e.callback;e.isReadyToRender()&&(e.getContainer(),mt(e,"init"),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes(),ct(t.series||[],function(t){e.initSeries(t)}),e.linkSeries(),mt(e,"beforeRender"),se.Pointer&&(e.pointer=new Nt(e,t)),e.render(),e.renderer.draw(),n&&n.apply(e,[e]),ct(e.callbacks,function(t){e.index!==B&&t.apply(e,[e])}),mt(e,"load"),e.cloneRenderTo(!0))},splashArray:function(e,t){var n=t[e],i=r(n)?n:[n,n,n,n];return[nt(t[e+"Top"],i[0]),nt(t[e+"Right"],i[1]),nt(t[e+"Bottom"],i[2]),nt(t[e+"Left"],i[3])]}};var Wt=se.CenteredSeriesMixin={getCenter:function(){var e,n,r,i,o=this.options,s=this.chart,a=2*(o.slicedOffset||0),l=s.plotWidth-2*a,c=s.plotHeight-2*a,u=o.center,h=[nt(u[0],"50%"),nt(u[1],"50%"),o.size||"100%",o.innerSize||0],d=pe(l,c);for(r=0;r<4;++r)i=h[r],n=/%$/.test(i),e=r<2||2===r&&n,h[r]=(n?[l,c,d,h[2]][r]*t(i)/100:t(i))+(e?a:0);return h}},Ht=function(){};Ht.prototype={init:function(e,t,n){var r,i=this;return i.series=e,i.color=e.color,i.applyOptions(t,n),i.pointAttr={},e.options.colorByPoint&&(r=e.options.colors||e.chart.options.colors,i.color=i.color||r[e.colorCounter++],e.colorCounter===r.length&&(e.colorCounter=0)),e.chart.pointCount++,i},applyOptions:function(e,t){var n=this,r=n.series,i=r.options.pointValKey||r.pointValKey;return e=Ht.prototype.optionsToObject.call(this,e),tt(n,e),n.options=n.options?tt(n.options,e):e,i&&(n.y=n[i]),n.x===B&&r&&(n.x=t===B?r.autoIncrement():t),n},optionsToObject:function(e){var t,n={},r=this.series,o=r.pointArrayMap||["y"],s=o.length,a=0,l=0;if("number"==typeof e||null===e)n[o[0]]=e;else if(i(e))for(e.length>s&&(t=typeof e[0],"string"===t?n.name=e[0]:"number"===t&&(n.x=e[0]),a++);ln+1&&r.push(i.slice(n+1,t)),n=t):t===o-1&&r.push(i.slice(n+1,t+1))});t.segments=r},setOptions:function(t){var n,r,i=this.chart,o=i.options,s=o.plotOptions,a=i.userOptions||{},l=a.plotOptions||{},u=s[this.type];return this.userOptions=t,n=e(u,s.series,t),this.tooltipOptions=e(Y.tooltip,Y.plotOptions[this.type].tooltip,a.tooltip,l.series&&l.series.tooltip,l[this.type]&&l[this.type].tooltip,t.tooltip),null===u.marker&&delete n.marker,this.zoneAxis=n.zoneAxis,r=this.zones=(n.zones||[]).slice(),!n.negativeColor&&!n.negativeFillColor||n.zones||r.push({value:n[this.zoneAxis+"Threshold"]||n.threshold||0,color:n.negativeColor,fillColor:n.negativeFillColor}),r.length&&c(r[r.length-1].value)&&r.push({color:this.color,fillColor:this.fillColor}),n},getCyclic:function(e,t,n){var r,i=this.userOptions,o="_"+e+"Index",s=e+"Counter";t||(c(i[o])?r=i[o]:(i[o]=r=this.chart[s]%n.length,this.chart[s]+=1),t=n[r]),this[e]=t},getColor:function(){this.options.colorByPoint||this.getCyclic("color",this.options.color||_t[this.type].color,this.chart.options.colors)},getSymbol:function(){var e=this.options.marker;this.getCyclic("symbol",e.symbol,this.chart.options.symbols),/^url/.test(this.symbol)&&(e.radius=0)},drawLegendSymbol:It.drawLineMarker,setData:function(e,t,r,s){var a,l,c,u=this,h=u.points,d=h&&h.length||0,f=u.options,p=u.chart,m=null,g=u.xAxis,v=g&&!!g.categories,y=f.turboThreshold,_=this.xData,b=this.yData,w=u.pointArrayMap,E=w&&w.length;if(e=e||[],a=e.length,t=nt(t,!0),s!==!1&&a&&d===a&&!u.cropped&&!u.hasGroupedData&&u.visible)ct(e,function(e,t){h[t].update(e,!1,null,!1)});else{if(u.xIncrement=null,u.pointRange=v?1:f.pointRange,u.colorCounter=0,ct(this.parallelArrays,function(e){u[e+"Data"].length=0}),y&&a>y){for(l=0;null===m&&lg||c.forceCrop)&&(u[d-1]l?(u=[],h=[]):(u[0]l)&&(t=this.cropData(c.xData,c.yData,a,l),u=t.xData,h=t.yData,f=t.start,n=!0)),o=u.length-1;o>=0;o--)r=u[o]-u[o-1],r>0&&(i===B||r=n){s=fe(0,i-l);break}for(;ir){a=i+l;break}return{xData:e.slice(s,a),yData:t.slice(s,a),start:s,end:a}},generatePoints:function(){var e,t,n,r,i=this,o=i.options,s=o.data,a=i.data,l=i.processedXData,c=i.processedYData,u=i.pointClass,d=l.length,f=i.cropStart||0,p=i.hasGroupedData,m=[];if(!a&&!p){var g=[];g.length=s.length,a=i.data=g}for(r=0;r0),r=this.getExtremesFromAll||this.cropped||(d[l+1]||s)>=g&&(d[l-1]||s)<=v,n&&r)if(c=a.length)for(;c--;)null!==a[c]&&(f[p++]=a[c]);else f[p++]=a;this.dataMin=nt(i,E(f)),this.dataMax=nt(o,C(f))},translate:function(){this.processedXData||this.processData(),this.generatePoints();var e,t,n,r,i=this,s=i.options,a=s.stacking,l=i.xAxis,u=l.categories,h=i.yAxis,d=i.points,f=d.length,p=!!i.modifyValue,m=s.pointPlacement,g="between"===m||o(m),v=s.threshold,y=Number.MAX_VALUE;for(e=0;e=0&&n<=h.len&&t>=0&&t<=l.len,w.clientX=g?l.translate(E,0,0,0,1):t,w.negative=w.y<(v||0),w.category=u&&u[w.x]!==B?u[w.x]:w.x,e&&(y=pe(y,me(t-r))),r=t}i.closestPointRangePx=y,i.getSegments()},setClip:function(e){var t=this.chart,n=t.renderer,r=t.inverted,i=this.clipBox,o=i||t.clipBox,s=this.sharedClipKey||["_sharedClip",e&&e.duration,e&&e.easing,o.height].join(","),a=t[s],l=t[s+"m"];a||(e&&(o.width=0,t[s+"m"]=l=n.clipRect(-99,r?-t.plotLeft:-t.plotTop,99,r?t.chartWidth:t.chartHeight)),t[s]=a=n.clipRect(o)),e&&(a.count+=1),this.options.clip!==!1&&(this.group.clip(e||i?a:t.clipRect),this.markerGroup.clip(l),this.sharedClipKey=s),e||(a.count-=1,a.count<=0&&s&&t[s]&&(i||(t[s]=t[s].destroy()),t[s+"m"]&&(t[s+"m"]=t[s+"m"].destroy())))},animate:function(e){var t,n,i=this,o=i.chart,s=i.options.animation;s&&!r(s)&&(s=_t[i.type].animation),e?i.setClip(s):(n=this.sharedClipKey,t=o[n],t&&t.animate({width:o.plotSizeX},s),o[n+"m"]&&o[n+"m"].animate({width:o.plotSizeX+99},s),i.animate=null)},afterAnimate:function(){this.setClip(),mt(this,"afterAnimate")},drawPoints:function(){var e,t,n,r,i,o,s,a,l,c,u,h,d,f=this,p=f.points,m=f.chart,g=f.options,v=g.marker,y=f.pointAttr[""],_=f.markerGroup,b=f.xAxis,w=nt(v.enabled,b.isRadial,f.closestPointRangePx>2*v.radius);if(v.enabled!==!1||f._hasPointMarkers)for(r=p.length;r--;)i=p[r],t=he(i.plotX),n=i.plotY,l=i.graphic,c=i.marker||{},u=!!i.marker,h=w&&c.enabled===B||c.enabled,d=i.isInside,h&&n!==B&&!isNaN(n)&&null!==i.y?(e=i.pointAttr[i.selected?Je:Ke]||y,o=e.r,s=nt(c.symbol,f.symbol),a=0===s.indexOf("url"),l?l[d?"show":"hide"](!0).animate(tt({x:t-o,y:n-o},l.symbolName?{width:2*o,height:2*o}:{})):d&&(o>0||a)&&(i.graphic=l=m.renderer.symbol(s,t-o,n-o,2*o,2*o,u?c:v).attr(e).add(_))):l&&(i.graphic=l.destroy())},convertAttribs:function(e,t,n,r){var i,o,s=this.pointAttrToOptions,a={};e=e||{},t=t||{},n=n||{},r=r||{};for(i in s)o=s[i],a[i]=nt(e[o],t[i],n[i],r[i]);return a},getAttribs:function(){var e,t,n,r,i,o,s=this,a=s.options,l=_t[s.type].marker?a.marker:a,u=l.states,h=u[Xe],d=s.color,f=s.options.negativeColor,p={stroke:d,fill:d},m=s.points||[],g=[],v=s.pointAttrToOptions,y=s.hasPointSpecificOptions,_=l.lineColor,b=l.fillColor,w=a.turboThreshold,E=s.zones,C=s.zoneAxis||"y";if(a.marker?(h.radius=h.radius||l.radius+h.radiusPlus,h.lineWidth=h.lineWidth||l.lineWidth+h.lineWidthPlus):(h.color=h.color||At(h.color||d).brighten(h.brightness).get(),h.negativeColor=h.negativeColor||At(h.negativeColor||f).brighten(h.brightness).get()),g[Ke]=s.convertAttribs(l,p),ct([Xe,Je],function(e){g[e]=s.convertAttribs(u[e],g[Ke])}),s.pointAttr=g,t=m.length,!w||t=x.value;)x=E[++A];n.color=n.fillColor=x.color}if(y=a.colorByPoint||n.color,n.options)for(o in v)c(l[v[o]])&&(y=!0);y?(l=l||{},r=[],u=l.states||{},e=u[Xe]=u[Xe]||{},a.marker||(e.color=e.color||!n.options.color&&h[n.negative&&f?"negativeColor":"color"]||At(n.color).brighten(e.brightness||h.brightness).get()),i={color:n.color},b||(i.fillColor=n.color),_||(i.lineColor=n.color),r[Ke]=s.convertAttribs(tt(i,l),g[Ke]),r[Xe]=s.convertAttribs(u[Xe],g[Xe],r[Ke]),r[Je]=s.convertAttribs(u[Je],g[Je],r[Ke])):r=g,n.pointAttr=r}},destroy:function(){var e,t,n,r,i,o=this,s=o.chart,a=/AppleWebKit\/533/.test(be),c=o.data||[];for(mt(o,"destroy"),pt(o),ct(o.axisTypes||[],function(e){i=o[e],i&&(l(i.series,o),i.isDirty=i.forceRedraw=!0)}),o.legendItem&&o.chart.legend.destroyItem(o),t=c.length;t--;)n=c[t],n&&n.destroy&&n.destroy();o.points=null,clearTimeout(o.animationTimeout),ct(["area","graph","dataLabelsGroup","group","markerGroup","tracker","graphNeg","areaNeg","posClip","negClip"],function(t){o[t]&&(e=a&&"group"===t?"hide":"destroy",o[t][e]())}),s.hoverSeries===o&&(s.hoverSeries=null),l(s.series,o);for(r in o)delete o[r]},getSegmentPath:function(e){var t=this,n=[],r=t.options.step;return ct(e,function(i,o){var s,a=i.plotX,l=i.plotY;t.getPointSpline?n.push.apply(n,t.getPointSpline(e,i,o)):(n.push(o?qe:Ve),r&&o&&(s=e[o-1],"right"===r?n.push(s.plotX,l):"center"===r?n.push((s.plotX+a)/2,s.plotY,(s.plotX+a)/2,l):n.push(a,s.plotY)),n.push(i.plotX,i.plotY))}),n},getGraphPath:function(){var e,t=this,n=[],r=[];return ct(t.segments,function(i){e=t.getSegmentPath(i),i.length>1?n=n.concat(e):r.push(i[0])}),t.singlePoints=r,t.graphPath=n,n},drawGraph:function(){var e=this,t=this.options,n=[["graph",t.lineColor||this.color,t.dashStyle]],r=t.lineWidth,i="square"!==t.linecap,o=this.getGraphPath(),s=this.fillGraph&&this.color||ze,a=this.zones;ct(a,function(r,i){n.push(["colorGraph"+i,r.color||e.color,r.dashStyle||t.dashStyle])}),ct(n,function(n,a){var l,c=n[0],u=e[c];u?(yt(u),u.animate({d:o})):(r||s)&&o.length&&(l={stroke:n[1],"stroke-width":r,fill:s,zIndex:1},n[2]?l.dashstyle=n[2]:i&&(l["stroke-linecap"]=l["stroke-linejoin"]="round"),e[c]=e.chart.renderer.path(o).attr(l).add(e.group).shadow(a<2&&t.shadow))})},applyZones:function(){var e,t,n,r=this,i=this.chart,o=i.renderer,s=this.zones,a=this.clips||[],l=this.graph,c=this.area,u=fe(i.chartWidth,i.chartHeight),h=this.zoneAxis||"y",d=this[h+"Axis"],f=d.reversed,p=d.horiz,m=!1;s.length&&(l||c)&&(l.hide(),c&&c.hide(),ct(s,function(s,l){e=nt(t,f?p?i.plotWidth:0:p?0:d.toPixels(d.min)),t=ue(d.toPixels(nt(s.value,d.max),!0)),m&&(e=t=d.toPixels(d.max)),d.isXAxis?(n={x:f?t:e,y:0,width:Math.abs(e-t),height:u},p||(n.x=i.plotHeight-n.x)):(n={x:0,y:f?e:t,width:u,height:Math.abs(e-t)},p&&(n.y=i.plotWidth-n.y)),i.inverted&&o.isVML&&(n=d.isXAxis?{x:0,y:f?e:t,height:n.width,width:i.chartWidth}:{x:n.y-i.plotLeft-i.spacingBox.x,y:0,width:n.height,height:i.chartHeight}),a[l]?a[l].animate(n):(a[l]=o.clipRect(n),r["colorGraph"+l].clip(a[l]),c&&r["colorArea"+l].clip(a[l])),m=s.value>d.max}),this.clips=a)},invertGroups:function(){function e(){var e={width:t.yAxis.len,height:t.xAxis.len};ct(["group","markerGroup"],function(n){t[n]&&t[n].attr(e).invert()})}var t=this,n=t.chart;t.xAxis&&(ft(n,"resize",e),ft(t,"destroy",function(){pt(n,"resize",e)}),e(),t.invertGroups=e)},plotGroup:function(e,t,n,r,i){var o=this[e],s=!o;return s&&(this[e]=o=this.chart.renderer.g(t).attr({visibility:n,zIndex:r||.1}).add(i)),o[s?"attr":"animate"](this.getPlotBox()),o},getPlotBox:function(){var e=this.chart,t=this.xAxis,n=this.yAxis;return e.inverted&&(t=n,n=this.xAxis),{translateX:t?t.left:e.plotLeft,translateY:n?n.top:e.plotTop,scaleX:1,scaleY:1}},render:function(){var e,t=this,n=t.chart,r=t.options,i=r.animation,o=i&&!!t.animate&&n.renderer.isSVG&&nt(i.duration,500)||0,s=t.visible?He:je,a=r.zIndex,l=t.hasRendered,c=n.seriesGroup;e=t.plotGroup("group","series",s,a,c),t.markerGroup=t.plotGroup("markerGroup","markers",s,a,c),o&&t.animate(!0),t.getAttribs(),e.inverted=!!t.isCartesian&&n.inverted,t.drawGraph&&(t.drawGraph(),t.applyZones()),ct(t.points,function(e){e.redraw&&e.redraw()}),t.drawDataLabels&&t.drawDataLabels(),t.visible&&t.drawPoints(),t.drawTracker&&t.options.enableMouseTracking!==!1&&t.drawTracker(),n.inverted&&t.invertGroups(),r.clip===!1||t.sharedClipKey||l||e.clip(n.clipRect),o&&t.animate(),l||(o?t.animationTimeout=setTimeout(function(){t.afterAnimate()},o):t.afterAnimate()),t.isDirty=t.isDirtyData=!1,t.hasRendered=!0},redraw:function(){var e=this,t=e.chart,n=e.isDirtyData,r=e.isDirty,i=e.group,o=e.xAxis,s=e.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:nt(o&&o.left,t.plotLeft),translateY:nt(s&&s.top,t.plotTop)})),e.translate(),e.render(),n&&mt(e,"updatedData"),(r||n)&&delete this.kdTree},kdDimensions:1,kdTree:null,kdAxisArray:["clientX","plotY"],kdComparer:"distX",searchPoint:function(e){var t=this,n=t.xAxis,r=t.yAxis,i=t.chart.inverted;return this.searchKDTree({clientX:i?n.len-e.chartY+n.pos:e.chartX-n.pos,plotY:i?r.len-e.chartX+r.pos:e.chartY-r.pos})},buildKDTree:function(){function e(t,r,i){var o,s,a=t&&t.length;if(a)return o=n.kdAxisArray[r%i],t.sort(function(e,t){return e[o]-t[o]}),s=Math.floor(a/2),{point:t[s],left:e(t.slice(0,s),r+1,i),right:e(t.slice(s+1),r+1,i)}}function t(){var t=ut(n.points,function(e){return null!==e.y});n.kdTree=e(t,r,r)}var n=this,r=n.kdDimensions;delete n.kdTree,n.options.kdSync?t():setTimeout(t)},searchKDTree:function(e){function t(e,t){var n=c(e[o])&&c(t[o])?Math.pow(e[o]-t[o],2):null,r=c(e[s])&&c(t[s])?Math.pow(e[s]-t[s],2):null,i=(n||0)+(r||0);return{distX:c(n)?Math.sqrt(n):Number.MAX_VALUE,distY:c(r)?Math.sqrt(r):Number.MAX_VALUE,distR:c(i)?Math.sqrt(i):Number.MAX_VALUE}}function n(e,o,s,a){var l,c,u,h,d,f=o.point,p=r.kdAxisArray[s%a],m=f;return f.dist=t(e,f),l=e[p]-f[p],c=l<0?"left":"right",o[c]&&(h=n(e,o[c],s+1,a),m=h.dist[i]s;)a--;l.updateParallelArrays(i,"splice",a,0,0),l.updateParallelArrays(i,a),p&&i.name&&(p[s]=i.name),g.splice(a,0,e),o&&(l.data.splice(a,0,null),l.processData()),"point"===c.legendType&&l.generatePoints(),n&&(u[0]&&u[0].remove?u[0].remove(!1):(u.shift(),l.updateParallelArrays(i,"shift"),g.shift())),l.isDirty=!0,l.isDirtyData=!0,t&&(l.getAttribs(),f.redraw())},removePoint:function(e,t,n){var r=this,i=r.data,o=i[e],s=r.points,a=r.chart,l=function(){i.length===s.length&&s.splice(e,1),i.splice(e,1),r.options.data.splice(e,1),r.updateParallelArrays(o||{series:r},"splice",e,1),o&&o.destroy(),r.isDirty=!0,r.isDirtyData=!0,t&&a.redraw()};L(n,a),t=nt(t,!0),o?o.firePointEvent("remove",null,l):l()},remove:function(e,t){var n=this,r=n.chart;e=nt(e,!0),n.isRemoving||(n.isRemoving=!0,mt(n,"remove",null,function(){n.destroy(),r.isDirtyLegend=r.isDirtyBox=!0,r.linkSeries(),e&&r.redraw(t)})),n.isRemoving=!1},update:function(t,n){var r,i=this,o=this.chart,s=this.userOptions,a=this.type,l=et[a].prototype,c=["group","markerGroup","dataLabelsGroup"];(t.type&&t.type!==a||void 0!==t.zIndex)&&(c.length=0),ct(c,function(e){c[e]=i[e],delete i[e]}),t=e(s,{animation:!1,index:this.index,pointStart:this.xData[0]},{data:this.options.data},t),this.remove(!1);for(r in l)this[r]=B;tt(this,et[t.type||a].prototype),ct(c,function(e){i[e]=c[e]}),this.init(o,t),o.linkSeries(),nt(n,!0)&&o.redraw(!1)}}),tt(St.prototype,{update:function(t,n){var r=this.chart;t=r.options[this.coll][this.options.index]=e(this.userOptions,t),this.destroy(!0),this._addedPlotLB=B,this.init(r,tt(t,{events:B})),r.isDirtyBox=!0,nt(n,!0)&&r.redraw()},remove:function(e){for(var t=this.chart,n=this.coll,r=this.series,i=r.length;i--;)r[i]&&r[i].remove(!1);l(t.axes,this),l(t[n],this),t.options[n].splice(this.options.index,1),ct(t[n],function(e,t){e.options.index=t}),this.destroy(),t.isDirtyBox=!0,nt(e,!0)&&t.redraw()},setTitle:function(e,t){this.update({title:e},t)},setCategories:function(e,t){this.update({categories:e},t)}});var zt=p(Ut);et.line=zt,_t.area=e(bt,{threshold:0});var Vt=p(Ut,{type:"area",getSegments:function(){var e,t,n,r,i=this,o=[],s=[],a=[],l=this.xAxis,c=this.yAxis,u=c.stacks[this.stackKey],h={},d=this.points,f=this.options.connectNulls;if(this.options.stacking&&!this.cropped){for(n=0;n=0;t--)n=nt(e[t].yBottom,a),tg&&i>h?(i=fe(g,h),s=2*h-i):iy&&s>h?(s=fe(y,h),i=2*h-s):sa?p-a:s-(i.translate(n.y,0,1,0,1)<=s?a:0))),n.barX=g,n.pointWidth=c,n.tooltipPos=t.inverted?[i.len+i.pos-t.plotLeft-m,e.xAxis.len-g-v/2]:[g+v/2,m+i.pos-t.plotTop],r=ue(g+v)+d,g=ue(g)+d,v=r-g,l=me(y)<.5,o=pe(ue(y+_)+f,9e4),y=ue(y)+f,_=o-y,l&&(y-=1,_+=1),n.shapeType="rect",n.shapeArgs={x:g,y:y,width:v,height:_}})},getSymbol:Re,drawLegendSymbol:It.drawRectangle,drawGraph:Re,drawPoints:function(){var t,n,r=this,i=this.chart,o=r.options,s=i.renderer,a=o.animationLimit||250;ct(r.points,function(l){var u,h=l.plotY,d=l.graphic;h===B||isNaN(h)||null===l.y?d&&(l.graphic=d.destroy()):(t=l.shapeArgs,u=c(r.borderWidth)?{"stroke-width":r.borderWidth}:{},n=l.pointAttr[l.selected?Je:Ke]||r.pointAttr[Ke],d?(yt(d),d.attr(u)[i.pointCount {series.name}
    ',pointFormat:"x: {point.x}
    y: {point.y}
    "}});var Qt=p(Ut,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,kdDimensions:2,kdComparer:"distR",drawGraph:function(){this.options.lineWidth&&Ut.prototype.drawGraph.call(this)}});et.scatter=Qt,_t.pie=e(bt,{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name},x:0},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,states:{hover:{brightness:.1,shadow:!1}},stickyTracking:!1,tooltip:{followPointer:!0}});var Zt=p(Ht,{init:function(){Ht.prototype.init.apply(this,arguments);var e,t=this;return tt(t,{visible:t.visible!==!1,name:nt(t.name,"Slice")}),e=function(e){t.slice("select"===e.type)},ft(t,"select",e),ft(t,"unselect",e),t},setVisible:function(e){var t=this,n=t.series,r=n.chart,i=!n.isDirty&&n.options.ignoreHiddenPoint;t.visible=t.options.visible=e=e===B?!t.visible:e,n.options.data[lt(t,n.data)]=t.options,ct(["graphic","dataLabel","connector","shadowGroup"],function(n){t[n]&&t[n][e?"show":"hide"](!0)}),t.legendItem&&(r.hasRendered&&(n.updateTotals(),r.legend.clearItems(),i||r.legend.render()),r.legend.colorizeItem(t,e)),i&&(n.isDirty=!0,r.redraw())},slice:function(e,t,n){var r,i=this,o=i.series,s=o.chart;L(n,s),t=nt(t,!0),i.sliced=i.options.sliced=e=c(e)?e:!i.sliced,o.options.data[lt(i,o.data)]=i.options,r=e?i.slicedTranslation:{translateX:0,translateY:0},i.graphic.animate(r),i.shadowGroup&&i.shadowGroup.animate(r)},haloPath:function(e){var t=this.shapeArgs,n=this.series.chart;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(n.plotLeft+t.x,n.plotTop+t.y,t.r+e,t.r+e,{innerR:this.shapeArgs.r,start:t.start,end:t.end})}}),en={type:"pie",isCartesian:!1,pointClass:Zt,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},getColor:Re,animate:function(e){var t=this,n=t.points,r=t.startAngleRad;e||(ct(n,function(e){var n=e.graphic,i=e.shapeArgs;n&&(n.attr({r:t.center[3]/2,start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.end},t.options.animation))}),t.animate=null)},setData:function(e,t,n,r){Ut.prototype.setData.call(this,e,!1,n,r),this.processData(),this.generatePoints(),nt(t,!0)&&this.chart.redraw(n)},updateTotals:function(){var e,t,n,r,i=0,o=this.options.ignoreHiddenPoint;for(t=this.points,n=t.length,e=0;e0&&(r.visible||!o)?r.y/i*100:0,r.total=i},generatePoints:function(){Ut.prototype.generatePoints.call(this),this.updateTotals()},translate:function(e){this.generatePoints();var t,n,r,i,o,s,a,l=this,c=0,u=1e3,h=l.options,d=h.slicedOffset,f=d+h.borderWidth,p=h.startAngle||0,m=l.startAngleRad=ye/180*(p-90),g=l.endAngleRad=ye/180*(nt(h.endAngle,p+360)-90),v=g-m,y=l.points,_=h.dataLabels.distance,b=h.ignoreHiddenPoint,w=y.length;for(e||(l.center=e=l.getCenter()),l.getX=function(t,n){return r=ce.asin(pe((t-e[1])/(e[2]/2+_),1)),e[0]+(n?-1:1)*(ge(r)*(e[2]/2+_))},s=0;s1.5*ye?r-=2*ye:r<-ye/2&&(r+=2*ye),a.slicedTranslation={translateX:ue(ge(r)*d),translateY:ue(ve(r)*d)},i=ge(r)*e[2]/2,o=ve(r)*e[2]/2,a.tooltipPos=[e[0]+.7*i,e[1]+.7*o],a.half=r<-ye/2||r>ye/2?1:0,a.angle=r,f=pe(f,_/2),a.labelPos=[e[0]+i+ge(r)*_,e[1]+o+ve(r)*_,e[0]+i+ge(r)*f,e[1]+o+ve(r)*f,e[0]+i,e[1]+o,_<0?"center":a.half?"right":"left",r]},drawGraph:null,drawPoints:function(){var e,t,n,r,i=this,o=i.chart,s=o.renderer,a=i.options.shadow;a&&!i.shadowGroup&&(i.shadowGroup=s.g("shadow").add(i.group)),ct(i.points,function(o){t=o.graphic,r=o.shapeArgs,n=o.shadowGroup,a&&!n&&(n=o.shadowGroup=s.g("shadow").add(i.shadowGroup)),e=o.sliced?o.slicedTranslation:{translateX:0,translateY:0},n&&n.attr(e),t?t.animate(tt(r,e)):o.graphic=t=s[o.shapeType](r).setRadialReference(i.center).attr(o.pointAttr[o.selected?Je:Ke]).attr({"stroke-linejoin":"round"}).attr(e).add(i.group).shadow(a,n),void 0!==o.visible&&o.setVisible(o.visible)})},searchPoint:Re,sortByAngle:function(e,t){e.sort(function(e,n){return void 0!==e.angle&&(n.angle-e.angle)*t})},drawLegendSymbol:It.drawRectangle,getCenter:Wt.getCenter,getSymbol:Re};en=p(Ut,en),et.pie=en,Ut.prototype.drawDataLabels=function(){var t,n,r,i,o=this,s=o.options,a=s.cursor,l=s.dataLabels,u=o.points,h=o.hasRendered||0,d=o.chart.renderer;(l.enabled||o._hasPointLabels)&&(o.dlProcessOptions&&o.dlProcessOptions(l),i=o.plotGroup("dataLabelsGroup","data-labels",l.defer?je:He,l.zIndex||6),nt(l.defer,!0)&&(i.attr({opacity:+h}),h||ft(o,"afterAnimate",function(){o.visible&&i.show(),i[s.animation?"animate":"attr"]({opacity:1},{duration:200})})),n=l,ct(u,function(u){var h,f,p,m,g,v,_=u.dataLabel,b=u.connector,w=!0,E={};if(t=u.dlOptions||u.options&&u.options.dataLabels,h=nt(t&&t.enabled,n.enabled),_&&!h)u.dataLabel=_.destroy();else if(h){if(l=e(n,t),v=l.style,g=l.rotation,f=u.getLabelConfig(),r=l.format?y(l.format,f):l.formatter.call(f,l),v.color=nt(l.color,v.color,o.color,"black"),_)c(r)?(_.attr({text:r}),w=!1):(u.dataLabel=_=_.destroy(),b&&(u.connector=b.destroy()));else if(c(r)){p={fill:l.backgroundColor,stroke:l.borderColor,"stroke-width":l.borderWidth,r:l.borderRadius||0,rotation:g,padding:l.padding,zIndex:1},"contrast"===v.color&&(E.color=l.inside||l.distance<0||s.stacking?d.getContrast(u.color||o.color):"#000000"),a&&(E.cursor=a);for(m in p)p[m]===B&&delete p[m];_=u.dataLabel=d[g?"text":"label"](r,0,-999,l.shape,null,null,l.useHTML).attr(p).css(tt(v,E)).add(i).shadow(l.shadow)}_&&o.alignDataLabel(u,_,l,null,w)}}))},Ut.prototype.alignDataLabel=function(e,t,n,r,i){var o,s,a=this.chart,l=a.inverted,c=nt(e.plotX,-999),u=nt(e.plotY,-999),h=t.getBBox(),d=a.renderer.fontMetrics(n.style.fontSize).b,f=this.visible&&(e.series.forceDL||a.isInsidePlot(c,ue(u),l)||r&&a.isInsidePlot(c,l?r.x+1:r.y+r.height-1,l));f&&(r=tt({x:l?a.plotWidth-u:c,y:ue(l?a.plotHeight-c:u),width:0,height:0},r),tt(n,{width:h.width,height:h.height}),n.rotation?(o=a.renderer.rotCorr(d,n.rotation),t[i?"attr":"animate"]({x:r.x+n.x+r.width/2+o.x,y:r.y+n.y+r.height/2}).attr({align:n.align})):(t.align(n,null,r),s=t.alignAttr,"justify"===nt(n.overflow,"justify")?this.justifyDataLabel(t,n,s,h,r,i):nt(n.crop,!0)&&(f=a.isInsidePlot(s.x,s.y)&&a.isInsidePlot(s.x+h.width,s.y+h.height)),n.shape&&t.attr({anchorX:e.plotX,anchorY:e.plotY}))),f||(t.attr({y:-999}),t.placed=!1)},Ut.prototype.justifyDataLabel=function(e,t,n,r,i,o){var s,a,l=this.chart,c=t.align,u=t.verticalAlign,h=e.box?0:e.padding||0;s=n.x+h,s<0&&("right"===c?t.align="left":t.x=-s,a=!0),s=n.x+r.width-h,s>l.plotWidth&&("left"===c?t.align="right":t.x=l.plotWidth-s,a=!0),s=n.y+h,s<0&&("bottom"===u?t.verticalAlign="top":t.y=-s,a=!0),s=n.y+r.height-h,s>l.plotHeight&&("top"===u?t.verticalAlign="bottom":t.y=l.plotHeight-s,a=!0),a&&(e.placed=!o,e.align(t,null,i))},et.pie&&(et.pie.prototype.drawDataLabels=function(){var e,t,n,r,i,o,s,a,l,c,u,h,d,f=this,p=f.data,m=f.chart,g=f.options.dataLabels,v=nt(g.connectorPadding,10),y=nt(g.connectorWidth,1),_=m.plotWidth,b=m.plotHeight,w=nt(g.softConnector,!0),E=g.distance,A=f.center,x=A[2]/2,k=A[1],D=E>0,L=[[],[]],M=[0,0,0,0],T=function(e,t){return t.y-e.y};if(f.visible&&(g.enabled||f._hasPointLabels)){for(Ut.prototype.drawDataLabels.apply(f),ct(p,function(e){e.dataLabel&&e.visible&&L[e.half].push(e)}),h=2;h--;){var S,F,R,N,B=[],O=[],P=L[h],$=P.length;if($){for(f.sortByAngle(P,h-.5),d=s=0;!s&&P[d];)s=P[d]&&P[d].dataLabel&&(P[d].dataLabel.getBBox().height||21),d++;if(E>0){for(R=pe(k+x+E,m.plotHeight),F=fe(0,k-x-E);F<=R;F+=s)B.push(F);if(S=B.length,$>S){for(u=[].concat(P),u.sort(T),d=$;d--;)u[d].rank=d;for(d=$;d--;)P[d].rank>=S&&P.splice(d,1);$=P.length}for(d=0;d<$;d++){e=P[d],o=e.labelPos;var Y,I,j=9999;for(I=0;I0?(W=O.pop(),N=W.i,l=W.y,(H>l&&null!==B[N+1]||H_-v&&(M[1]=fe(ue(a+i-_+v),M[1])),l-s/2<0?M[0]=fe(ue(-l+s/2),M[0]):l+s/2>b&&(M[2]=fe(ue(l+s/2-b),M[2])))}}}(0===C(M)||this.verifyDataLabelOverflow(M))&&(this.placeDataLabels(),D&&y&&ct(this.points,function(e){t=e.connector,o=e.labelPos,r=e.dataLabel,r&&r._pos?(c=r._attr.visibility,a=r.connX,l=r.connY,n=w?[Ve,a+("left"===o[6]?5:-5),l,"C",a,l,2*o[2]-o[4],2*o[3]-o[5],o[2],o[3],qe,o[4],o[5]]:[Ve,a+("left"===o[6]?5:-5),l,qe,o[2],o[3],qe,o[4],o[5]],t?(t.animate({d:n}),t.attr("visibility",c)):e.connector=t=f.chart.renderer.path(n).attr({"stroke-width":y,stroke:g.connectorColor||e.color||"#606060",visibility:c}).add(f.dataLabelsGroup)):t&&(e.connector=t.destroy())}))}},et.pie.prototype.placeDataLabels=function(){ct(this.points,function(e){var t,n=e.dataLabel;n&&(t=n._pos,t?(n.attr(n._attr),n[n.moved?"animate":"attr"](t),n.moved=!0):n&&n.attr({y:-999}))})},et.pie.prototype.alignDataLabel=Re,et.pie.prototype.verifyDataLabelOverflow=function(e){var t,n=this.center,r=this.options,i=r.center,o=r.minSize||80,s=o;return null!==i[0]?s=fe(n[2]-fe(e[1],e[3]),o):(s=fe(n[2]-e[1]-e[3],o),n[0]+=(e[3]-e[1])/2),null!==i[1]?s=fe(pe(s,n[2]-fe(e[0],e[2])),o):(s=fe(pe(s,n[2]-e[0]-e[2]),o),n[1]+=(e[0]-e[2])/2),snt(this.translatedThreshold,a.yAxis.len),u=nt(r.inside,!!this.options.stacking);l&&(i=e(l),s&&(i={x:a.yAxis.len-i.y-i.height,y:a.xAxis.len-i.x-i.width,width:i.height,height:i.width}),u||(s?(i.x+=c?0:i.width,i.width=0):(i.y+=c?i.height:0,i.height=0))),r.align=nt(r.align,!s||u?"center":c?"right":"left"),r.verticalAlign=nt(r.verticalAlign,s||u?"middle":c?"top":"bottom"),Ut.prototype.alignDataLabel.call(this,t,n,r,i,o)}),function(e){var t=e.Chart,n=e.each,r=HighchartsAdapter.addEvent;t.prototype.callbacks.push(function(e){function t(){var t=[];n(e.series,function(e){var r=e.options.dataLabels;(r.enabled||e._hasPointLabels)&&!r.allowOverlap&&e.visible&&n(e.points,function(e){e.dataLabel&&(e.dataLabel.labelrank=e.labelrank,t.push(e.dataLabel))})}),e.hideOverlappingLabels(t)}t(),r(e,"redraw",t)}),t.prototype.hideOverlappingLabels=function(e){var t,n,r,i,o,s=e.length,a=function(e,t,n,r){return!(t.x>e.x+n.width||t.x+r.widthe.y+n.height||t.y+r.heighti;o.series.length&&(h||c>pe(l.dataMin,l.min))&&(!h||u":">","<":"<",'"':""","'":"'"},o=/[&><"']/g;e.exports=r},function(e,t,n){function r(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return s(e,t,n)}var o=n(131),s=o.Buffer;s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?e.exports=o:(r(o,t),t.Buffer=i),r(s,i),i.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return s(e,t,n)},i.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=s(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return s(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o.SlowBuffer(e)}},function(e,t,n){(function(e,r){function i(e,n){var r={seen:[],stylize:s};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),w(r.showHidden)&&(r.showHidden=!1),w(r.depth)&&(r.depth=2),w(r.colors)&&(r.colors=!1),w(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),l(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function s(e,t){return e}function a(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function l(e,n,r){if(e.customInspect&&n&&k(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return _(i)||(i=l(e,i,r)),i}var o=c(e,n);if(o)return o;var s=Object.keys(n),m=a(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),x(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return u(n);if(0===s.length){if(k(n)){var g=n.name?": "+n.name:"";return e.stylize("[Function"+g+"]","special")}if(E(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(A(n))return e.stylize(Date.prototype.toString.call(n),"date");if(x(n))return u(n)}var v="",y=!1,b=["{","}"];if(p(n)&&(y=!0,b=["[","]"]),k(n)){var w=n.name?": "+n.name:"";v=" [Function"+w+"]"}if(E(n)&&(v=" "+RegExp.prototype.toString.call(n)),A(n)&&(v=" "+Date.prototype.toUTCString.call(n)),x(n)&&(v=" "+u(n)),0===s.length&&(!y||0==n.length))return b[0]+v+b[1];if(r<0)return E(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var C;return C=y?h(e,n,r,m,s):s.map(function(t){return d(e,n,r,m,t,y)}),e.seen.pop(),f(C,v,b)}function c(e,t){if(w(t))return e.stylize("undefined","undefined");if(_(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return y(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,i){for(var o=[],s=0,a=t.length;s-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n"))):a=e.stylize("[Circular]","special")),w(s)){if(o&&i.match(/^\d+$/))return a;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function f(e,t,n){var r=0,i=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function p(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return null==e}function y(e){return"number"==typeof e}function _(e){return"string"==typeof e}function b(e){return"symbol"==typeof e}function w(e){return void 0===e}function E(e){return C(e)&&"[object RegExp]"===L(e)}function C(e){return"object"==typeof e&&null!==e}function A(e){return C(e)&&"[object Date]"===L(e)}function x(e){return C(e)&&("[object Error]"===L(e)||e instanceof Error)}function k(e){return"function"==typeof e}function D(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function L(e){return Object.prototype.toString.call(e)}function M(e){return e<10?"0"+e.toString(10):e.toString(10)}function T(){var e=new Date,t=[M(e.getHours()),M(e.getMinutes()),M(e.getSeconds())].join(":");return[e.getDate(),B[e.getMonth()],t].join(" ")}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var F=/%[sdj%]/g;t.format=function(e){if(!_(e)){for(var t=[],n=0;n=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),a=r[n];na||e<0?(n=Math.abs(e)%a,e<0?a-n:n):e}function r(e){var t,n,r;for(t=n=0,r=e.length;0<=r?nr;t=0<=r?++n:--n)e[t]=0;return!1}function i(){var e;this.SBOX=[],this.INV_SBOX=[],this.SUB_MIX=function(){var t,n;for(n=[],e=t=0;t<4;e=++t)n.push([]);return n}(),this.INV_SUB_MIX=function(){var t,n;for(n=[],e=t=0;t<4;e=++t)n.push([]);return n}(),this.init(),this.RCON=[0,1,2,4,8,16,32,64,128,27,54]}function o(e){for(var t=e.length/4,n=new Array(t),r=-1;++r>>8^255&n^99,this.SBOX[i]=n,this.INV_SBOX[n]=i,o=e[i],s=e[o],a=e[s],r=257*e[n]^16843008*n,this.SUB_MIX[0][i]=r<<24|r>>>8,this.SUB_MIX[1][i]=r<<16|r>>>16,this.SUB_MIX[2][i]=r<<8|r>>>24,this.SUB_MIX[3][i]=r,r=16843009*a^65537*s^257*o^16843008*i,this.INV_SUB_MIX[0][n]=r<<24|r>>>8,this.INV_SUB_MIX[1][n]=r<<16|r>>>16,this.INV_SUB_MIX[2][n]=r<<8|r>>>24,this.INV_SUB_MIX[3][n]=r,0===i?i=l=1:(i=o^e[e[e[a^o]]],l^=e[e[l]]);return!0};var l=new i;s.blockSize=16,s.prototype.blockSize=s.blockSize,s.keySize=32,s.prototype.keySize=s.keySize,s.ivSize=s.blockSize,s.prototype.ivSize=s.ivSize,s.prototype._doReset=function(){var e,t,n,r,i,o,s,a;for(n=this._key,t=n.length,this._nRounds=t+6,i=4*(this._nRounds+1),this._keySchedule=[],r=s=0;0<=i?si;r=0<=i?++s:--s)this._keySchedule[r]=r>>24,o=l.SBOX[o>>>24]<<24|l.SBOX[o>>>16&255]<<16|l.SBOX[o>>>8&255]<<8|l.SBOX[255&o],o^=l.RCON[r/t|0]<<24):t>6&&r%t===4?o=l.SBOX[o>>>24]<<24|l.SBOX[o>>>16&255]<<16|l.SBOX[o>>>8&255]<<8|l.SBOX[255&o]:void 0,this._keySchedule[r-t]^o);for(this._invKeySchedule=[],e=a=0;0<=i?ai;e=0<=i?++a:--a)r=i-e,o=this._keySchedule[r-(e%4?0:4)],this._invKeySchedule[e]=e<4||r<=4?o:l.INV_SUB_MIX[0][l.SBOX[o>>>24]]^l.INV_SUB_MIX[1][l.SBOX[o>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[o>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&o]];return!0},s.prototype.encryptBlock=function(t){t=o(new e(t));var n=this._doCryptBlock(t,this._keySchedule,l.SUB_MIX,l.SBOX),r=new e(16);return r.writeUInt32BE(n[0],0),r.writeUInt32BE(n[1],4),r.writeUInt32BE(n[2],8),r.writeUInt32BE(n[3],12),r},s.prototype.decryptBlock=function(t){t=o(new e(t));var n=[t[3],t[1]];t[1]=n[0],t[3]=n[1];var r=this._doCryptBlock(t,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX),i=new e(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},s.prototype.scrub=function(){r(this._keySchedule),r(this._invKeySchedule),r(this._key)},s.prototype._doCryptBlock=function(e,t,r,i){var o,s,a,l,c,u,h,d,f,p,m,g;for(a=e[0]^t[0],l=e[1]^t[1],c=e[2]^t[2],u=e[3]^t[3],o=4,s=m=1,g=this._nRounds;1<=g?mg;s=1<=g?++m:--m)h=r[0][a>>>24]^r[1][l>>>16&255]^r[2][c>>>8&255]^r[3][255&u]^t[o++],d=r[0][l>>>24]^r[1][c>>>16&255]^r[2][u>>>8&255]^r[3][255&a]^t[o++],f=r[0][c>>>24]^r[1][u>>>16&255]^r[2][a>>>8&255]^r[3][255&l]^t[o++],p=r[0][u>>>24]^r[1][a>>>16&255]^r[2][l>>>8&255]^r[3][255&c]^t[o++],a=h,l=d,c=f,u=p;return h=(i[a>>>24]<<24|i[l>>>16&255]<<16|i[c>>>8&255]<<8|i[255&u])^t[o++],d=(i[l>>>24]<<24|i[c>>>16&255]<<16|i[u>>>8&255]<<8|i[255&a])^t[o++],f=(i[c>>>24]<<24|i[u>>>16&255]<<16|i[a>>>8&255]<<8|i[255&l])^t[o++],p=(i[u>>>24]<<24|i[a>>>16&255]<<16|i[l>>>8&255]<<8|i[255&c])^t[o++],[n(h),n(d),n(f),n(p)]},t.AES=s}).call(t,n(10).Buffer)},function(e,t,n){(function(t){function r(){i.call(this)}var i=n(476).Transform,o=n(68);e.exports=r,o(r,i),r.prototype.update=function(e,n,r){this.write(e,n);for(var i,o=new t("");i=this.read();)o=t.concat([o,i]);return r&&(o=o.toString(r)),o},r.prototype.final=function(e){this.end();for(var n,r=new t("");n=this.read();)r=t.concat([r,n]);return e&&(r=r.toString(e)),r}}).call(t,n(10).Buffer)},function(e,t){t["aes-128-ecb"]={cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},t["aes-192-ecb"]={cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},t["aes-256-ecb"]={cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},t["aes-128-cbc"]={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},t["aes-192-cbc"]={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},t["aes-256-cbc"]={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},t.aes128=t["aes-128-cbc"],t.aes192=t["aes-192-cbc"],t.aes256=t["aes-256-cbc"],t["aes-128-cfb"]={cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},t["aes-192-cfb"]={cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},t["aes-256-cfb"]={cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},t["aes-128-ofb"]={cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},t["aes-192-ofb"]={cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},t["aes-256-ofb"]={cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},t["aes-128-ctr"]={cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},t["aes-192-ctr"]={cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},t["aes-256-ctr"]={cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){var r=n(13),i=n(22),o=n(56),s=n(41),a=n(30),l={};l.Alternatives=function(){i.call(this),this._type="alternatives",this._invalids.remove(null),this._inner.matches=[]},r.inherits(l.Alternatives,i),l.Alternatives.prototype._base=function(e,t,n){for(var r=[],i=0,o=this._inner.matches.length;i=t}),l.Date.prototype.max=l.compare("max",function(e,t){return e<=t}),l.Date.prototype.format=function(e){s.assert("string"==typeof e||Array.isArray(e)&&e.every(function(e){return"string"==typeof e}),"Invalid format.");var t=this.clone();return t._flags.format=e,t},l.Date.prototype.iso=function(){var e=this.clone();return e._flags.format=l.isoDate,e},l.Date.prototype._isIsoDate=function(e){return l.isoDate.test(e)},e.exports=new l.Date},function(e,t){function n(e){return i(e)&&p.call(e,"callee")&&(!g.call(e,"callee")||m.call(e)==u)}function r(e){return null!=e&&s(e.length)&&!o(e)}function i(e){return l(e)&&r(e)}function o(e){var t=a(e)?m.call(e):"";return t==h||t==d}function s(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function l(e){return!!e&&"object"==typeof e}var c=9007199254740991,u="[object Arguments]",h="[object Function]",d="[object GeneratorFunction]",f=Object.prototype,p=f.hasOwnProperty,m=f.toString,g=f.propertyIsEnumerable;e.exports=n},function(e,t,n){"use strict";var r=Array.prototype.slice,i=n(225),o=Object.keys,s=o?function(e){return o(e)}:n(340),a=Object.keys;s.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return a(i(e)?r.call(e):e)})}else Object.keys=s;return Object.keys||s},e.exports=s},function(e,t){var n={positions:{tl:"tl",tr:"tr",tc:"tc",bl:"bl",br:"br",bc:"bc"},levels:{success:"success",error:"error",warning:"warning",info:"info"},notification:{title:null,message:null,level:null,position:"tr",autoDismiss:5,dismissible:!0,action:null}};e.exports=n},function(e,t){var n={inArray:function(e,t){e=e.toLowerCase();for(var n=t.length,r=0;r"}};e.exports=c},function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var i=n(35),o=n(5),s=n(3);o(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){s(e.length===t.length),this._callbacks=null,this._contexts=null;for(var n=0,r=e.length;n";return this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t,n)+i},_createOpenTagMarkupAndPutListeners:function(e){var t=this._currentElement.props,n="<"+this._tag;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(w.hasOwnProperty(r))i(this._rootNodeID,r,o,e);else{r===C&&(o&&(o=this._previousStyleCopy=m({},t.style)),o=a.createMarkupForStyles(o));var s=c.createMarkupForProperty(r,o);s&&(n+=" "+s)}}if(e.renderToStaticMarkup)return n+">";var l=c.createMarkupForID(this._rootNodeID);return n+" "+l+">"},_createContentMarkup:function(e,t){var n="";"listing"!==this._tag&&"pre"!==this._tag&&"textarea"!==this._tag||(n="\n");var r=this._currentElement.props,i=r.dangerouslySetInnerHTML;if(null!=i){if(null!=i.__html)return n+i.__html}else{var o=E[typeof r.children]?r.children:null,s=null!=o?null:r.children;if(null!=o)return n+g(o);if(null!=s){var a=this.mountChildren(s,e,t);return n+a.join("")}}return n},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,i){r(this._currentElement.props),this._updateDOMProperties(t.props,e),this._updateDOMChildren(t.props,e,i)},_updateDOMProperties:function(e,t){var n,r,o,s=this._currentElement.props;for(n in e)if(!s.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===C){var a=this._previousStyleCopy;for(r in a)a.hasOwnProperty(r)&&(o=o||{},o[r]="");this._previousStyleCopy=null}else w.hasOwnProperty(n)?_(this._rootNodeID,n):(l.isStandardName[n]||l.isCustomAttribute(n))&&x.deletePropertyByID(this._rootNodeID,n);for(n in s){var c=s[n],u=n===C?this._previousStyleCopy:e[n];if(s.hasOwnProperty(n)&&c!==u)if(n===C)if(c?c=this._previousStyleCopy=m({},c):this._previousStyleCopy=null,u){for(r in u)!u.hasOwnProperty(r)||c&&c.hasOwnProperty(r)||(o=o||{},o[r]="");for(r in c)c.hasOwnProperty(r)&&u[r]!==c[r]&&(o=o||{},o[r]=c[r])}else o=c;else w.hasOwnProperty(n)?i(this._rootNodeID,n,c,t):(l.isStandardName[n]||l.isCustomAttribute(n))&&x.updatePropertyByID(this._rootNodeID,n,c)}o&&x.updateStylesByID(this._rootNodeID,o)},_updateDOMChildren:function(e,t,n){var r=this._currentElement.props,i=E[typeof e.children]?e.children:null,o=E[typeof r.children]?r.children:null,s=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,a=r.dangerouslySetInnerHTML&&r.dangerouslySetInnerHTML.__html,l=null!=i?null:e.children,c=null!=o?null:r.children,u=null!=i||null!=s,h=null!=o||null!=a;null!=l&&null==c?this.updateChildren(null,t,n):u&&!h&&this.updateTextContent(""),null!=o?i!==o&&this.updateTextContent(""+o):null!=a?s!==a&&x.updateInnerHTMLByID(this._rootNodeID,a):null!=c&&this.updateChildren(c,t,n)},unmountComponent:function(){this.unmountChildren(),u.deleteAllListeners(this._rootNodeID),h.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null}},p.measureMethods(s,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),m(s.prototype,s.Mixin,f.Mixin),s.injection={injectIDOperations:function(e){s.BackendIDOperations=x=e}},e.exports=s},function(e,t,n){"use strict";function r(e){u[e]=!0}function i(e){delete u[e]}function o(e){return!!u[e]}var s,a=n(9),l=n(52),c=n(3),u={},h={injectEmptyComponent:function(e){s=a.createFactory(e)}},d=function(){};d.prototype.componentDidMount=function(){var e=l.get(this);e&&r(e._rootNodeID)},d.prototype.componentWillUnmount=function(){var e=l.get(this);e&&i(e._rootNodeID)},d.prototype.render=function(){return c(s),s()};var f=a.createElement(d),p={emptyElement:f,injection:h,isNullComponentID:o};e.exports=p},function(e,t){"use strict";var n={currentlyMountingInstance:null,currentlyUnmountingInstance:null};e.exports=n},function(e,t,n){"use strict";var r=n(65),i=r({prop:null,context:null,childContext:null});e.exports=i},function(e,t,n){"use strict";function r(e){e!==o.currentlyMountingInstance&&c.enqueueUpdate(e)}function i(e,t){h(null==s.current);var n=l.get(e);return n?n===o.currentlyUnmountingInstance?null:n:null}var o=n(107),s=n(37),a=n(9),l=n(52),c=n(25),u=n(5),h=n(3),d=(n(8),{enqueueCallback:function(e,t){h("function"==typeof t);var n=i(e);return n&&n!==o.currentlyMountingInstance?(n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],void r(n)):null},enqueueCallbackInternal:function(e,t){h("function"==typeof t),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueSetProps:function(e,t){var n=i(e,"setProps");if(n){h(n._isTopLevel);var o=n._pendingElement||n._currentElement,s=u({},o.props,t);n._pendingElement=a.cloneAndReplaceProps(o,s),r(n)}},enqueueReplaceProps:function(e,t){var n=i(e,"replaceProps");if(n){h(n._isTopLevel);var o=n._pendingElement||n._currentElement;n._pendingElement=a.cloneAndReplaceProps(o,t),r(n)}},enqueueElementInternal:function(e,t){e._pendingElement=t,r(e)}});e.exports=d},function(e,t,n){"use strict";function r(e,t){if(i(null!=t),null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n&&r?(e.push.apply(e,t),e):n?(e.push(t),e):r?[e].concat(t):[e,t]}var i=n(3);e.exports=r},function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=i[e];return!!r&&!!n[r]}function r(e){return n}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";function r(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null!==e&&e!==!1||(e=s.emptyElement),"object"==typeof e){var i=e;n=t===i.type&&"string"==typeof i.type?a.createInternalComponent(i):r(i.type)?new i.type(i):new u}else"string"==typeof e||"number"==typeof e?n=a.createInstanceForText(e):c(!1);return n.construct(e),n._mountIndex=0,n._mountImage=null,n}var o=n(388),s=n(106),a=n(75),l=n(5),c=n(3),u=(n(8),function(){});l(u.prototype,o.Mixin,{_instantiateReactComponent:i}),e.exports=i},function(e,t,n){"use strict";/** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, @@ -55,12 +55,18 @@ e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,wri * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */ -function r(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var s=document.createElement("div");s.setAttribute(n,"return;"),r="function"==typeof s[n]}return!r&&i&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var i,o=n(10);o.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t,n){"use strict";var r=n(10),i=/^[ \r\n\t\f]/,o=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(s=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),r.canUseDOM){var a=document.createElement("div");a.innerHTML=" ",""===a.innerHTML&&(s=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&o.test(t)){e.innerHTML="\ufeff"+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=s},function(e,t,n){"use strict";function r(e,t){if(null!=e&&null!=t){var n=typeof e,r=typeof t;if("string"===n||"number"===n)return"string"===r||"number"===r;if("object"===r&&e.type===t.type&&e.key===t.key){var i=e._owner===t._owner;return i}}return!1}n(8);e.exports=r},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){var n={info:[{name:"cluster_state",desc:"State is 'ok' if the node is able to receive queries. 'warn' if there is node which can't be reached. 'fail' if there is at least one hash slot which is unbound (no node associated), in error state (node serving it is flagged with FAIL flag), or if the majority of masters can't be reached by this node.",valueType:"string",values:["ok"]},{name:"cluster_slots_assigned",desc:"Number of slots which are associated to some node (not unbound). This number should be 16384 for the node to work properly, which means that each hash slot should be mapped to a node.",valueType:"number"},{name:"cluster_slots_ok",desc:"Number of hash slots mapping to a node not in FAIL or PFAIL state.",valueType:"number"},{name:"cluster_slots_pfail",desc:"Number of hash slots mapping to a node in PFAIL state. Note that those hash slots still work correctly, as long as the PFAIL state is not promoted to FAIL by the failure detection algorithm. PFAIL only means that we are currently not able to talk with the node, but may be just a transient error",valueType:"number"},{name:"cluster_slots_fail",desc:"Number of hash slots in mapping to a node in FAIL state. If this number is not zero the node is not able to serve queries unless cluster-require-full-coverage is set to no in the configuration",valueType:"number"},{name:"cluster_known_nodes",desc:"The total number of known nodes in the cluster, including nodes in HANDSHAKE state that may not currently be proper members of the cluster",valueType:"number"},{name:"cluster_size",desc:"The number of master nodes serving at least one hash slot in the cluster.",valueType:"number"},{name:"cluster_current_epoch",desc:"The local Current Epoch variable. This is used in order to create unique increasing version numbers during fail overs.",valueType:"number"},{name:"cluster_my_epoch",desc:"The Config Epoch of the node we are talking with. This is the current configuration version assigned to this node.",valueType:"number"},{name:"cluster_stats_messages_sent",desc:"Number of messages sent via the cluster node-to-node binary bus.",valueType:"number"},{name:"cluster_stats_messages_received",desc:"Number of messages received via the cluster node-to-node binary bus.",valueType:"number"}],metrics:[{name:"connected_clients",desc:"Number of client connections (excluding connections from slaves).",valueType:"number"},{name:"client_longest_output_list",desc:"longest output list among current client connections.",valueType:"number"},{name:"client_biggest_input_buf",desc:"biggest input buffer among current client connections.",valueType:"number"},{name:"blocked_clients",desc:"Number of clients pending on a blocking call (BLPOP, BRPOP, BRPOPLPUSH).",valueType:"number"},{name:"used_memory",desc:"total number of bytes allocated by Redis using its allocator (either standard libc, jemalloc, or an alternative allocator such as tcmalloc.",valueType:"number"},{name:"used_memory_rss",desc:"Number of bytes that Redis allocated as seen by the operating system (a.k.a resident set size). This is the number reported by tools such as top and ps..",valueType:"number"},{name:"used_memory_peak",desc:"Peak memory consumed by Redis (in bytes).",valueType:"number"},{name:"used_memory_lua",desc:"Number of bytes used by the Lua engine.",valueType:"number"},{name:"mem_fragmentation_ratio",desc:"Ratio between used_memory_rss and used_memory.",valueType:"number"},{name:"loading",desc:"Flag indicating if the load of a dump file is on-going.",valueType:"string"},{name:"rdb_changes_since_last_save",desc:"Number of changes since the last dump.",valueType:"number"},{name:"rdb_bgsave_in_progress",desc:"Flag indicating a RDB save is on-going.",valueType:"string"},{name:"rdb_last_save_time",desc:"Epoch-based timestamp of last successful RDB save.",valueType:"number"},{name:"rdb_last_bgsave_status",desc:"Status of the last RDB save operation.",valueType:"string"},{name:"rdb_last_bgsave_time_sec",desc:"Duration of the last RDB save operation in seconds.",valueType:"number"},{name:"rdb_current_bgsave_time_sec",desc:"Duration of the on-going RDB save operation if any.",valueType:"number"},{name:"aof_rewrite_in_progress",desc:"Flag indicating a AOF rewrite operation is on-going.",valueType:"string"},{name:"aof_rewrite_scheduled",desc:"Flag indicating an AOF rewrite operation will be scheduled once the on-going RDB save is complete..",valueType:"string"},{name:"aof_last_rewrite_time_sec",desc:"Duration of the last AOF rewrite operation in seconds.",valueType:"number"},{name:"aof_current_rewrite_time_sec",desc:"Duration of the on-going AOF rewrite operation if any.",valueType:"number"},{name:"aof_last_bgrewrite_status",desc:"Status of the last AOF rewrite operation.",valueType:"string"},{name:"aof_last_write_status",desc:"Status of the last AOF write operation.",valueType:"string"},{name:"aof_current_size",desc:"AOF current file size.",valueType:"number"},{name:"aof_base_size",desc:"AOF file size on latest startup or rewrite.",valueType:"number"},{name:"aof_pending_rewrite",desc:"Flag indicating an AOF rewrite operation will be scheduled once the on-going RDB save is complete..",valueType:"string"},{name:"aof_buffer_length",desc:" Size of the AOF buffer.",valueType:"number"},{name:"aof_rewrite_buffer_length",desc:"Size of the AOF rewrite buffer.",valueType:"number"},{name:"aof_pending_bio_fsync",desc:"Number of fsync pending jobs in background I/O queue.",valueType:"number"},{name:"aof_delayed_fsync",desc:"Delayed fsync counter.",valueType:"number"},{name:"loading_start_time",desc:"Epoch-based timestamp of the start of the load operation.",valueType:"number"},{name:"loading_total_bytes",desc:"Total file size.",valueType:"number"},{name:"loading_loaded_bytes",desc:"Number of bytes already loaded.",valueType:"number"},{name:"loading_loaded_perc",desc:"Same value expressed as a percentage.",valueType:"number"},{name:"loading_eta_seconds",desc:"ETA in seconds for the load to be complete.",valueType:"number"},{name:"total_connections_received",desc:"Total number of connections accepted by the server.",valueType:"number"},{name:"total_commands_processed",desc:"Total number of commands processed by the server.",valueType:"number"},{name:"instantaneous_ops_per_sec",desc:"Number of commands processed per second.",valueType:"number"},{name:"rejected_connections",desc:"Number of connections rejected because of maxclients limit.",valueType:"number"},{name:"expired_keys",desc:"Total number of key expiration events.",valueType:"number"},{name:"evicted_keys",desc:"Number of evicted keys due to maxmemory limit.",valueType:"number"},{name:"keyspace_hits",desc:"Number of successful lookup of keys in the main dictionary.",valueType:"number"},{name:"keyspace_misses",desc:"Number of failed lookup of keys in the main dictionary.",valueType:"number"},{name:"pubsub_channels",desc:"Global number of pub/sub channels with client subscriptions.",valueType:"number"},{name:"pubsub_patterns",desc:"Global number of pub/sub pattern with client subscriptions.",valueType:"number"},{name:"latest_fork_usec",desc:"Duration of the latest fork operation in microseconds.",valueType:"number"},{name:"master_last_io_seconds_ago",desc:"Number of seconds since the last interaction with master.",valueType:"number"},{name:"master_sync_in_progress",desc:"Indicate the master is SYNCing to the slave.",valueType:"string"},{name:"master_sync_left_bytes",desc:"Number of bytes left before SYNCing is complete.",valueType:"number"},{name:"master_sync_last_io_seconds_ago",desc:"Number of seconds since last transfer I/O during a SYNC operation.",valueType:"number"},{name:"master_link_down_since_seconds",desc:"Number of seconds since the link is down.",valueType:"number"},{name:"connected_slaves",desc:"Number of connected slaves.",valueType:"number"},{name:"used_cpu_sys",desc:"System CPU consumed by the Redis server.",valueType:"number"},{name:"used_cpu_user",desc:"User CPU consumed by the Redis server.",valueType:"number"},{name:"used_cpu_sys_children",desc:"System CPU consumed by the background processes.",valueType:"number"},{name:"used_cpu_user_children",desc:"User CPU consumed by the background processes.",valueType:"number"}]};e.exports=n},function(e,t,n){function r(e){var t=m[e];return t?t:!1}function i(e){if(!window.localStorage)return!1;var t=window.localStorage.getItem(g+e);try{var n=h.parseJSON(t);return n.start=!1,n.end=!1,n}catch(r){return!1}}function o(e,t){var n=f.getCluster(e),r=[];return d.each(t.nodes.split(","),function(e){var t=d.findIndex(n.nodes,function(t){return t.node_id===e});t>=0&&r.push(e)}),0===r.length?void(t.nodes=a(e).nodes):void(t.nodes=r.join(","))}function s(e,t){if(window.localStorage)try{var n=JSON.stringify(t);window.localStorage.setItem(g+e,n)}catch(r){}}function a(e){var t=f.getCluster(e),n={start:!1,end:!1,nodes:d.find(t.nodes,function(e){return!e.master_node_id}).node_id,fields:y,autoRefresh:!0};return n}var l=n(19),c=n(38).EventEmitter,u=n(22),d=n(7),h=n(6),p=(n(1),n(18)),f=n(39),m={},g="monitoring.query.",v="change",y=["used_memory","used_memory_rss","used_memory_peak","mem_fragmentation_ratio","total_connections_received","total_commands_processed","instantaneous_ops_per_sec","keyspace_hits","keyspace_misses"].join(","),_=u({},c.prototype,{getNodeMetricsQuery:function(e){var t=r(e);return t||(t=i(e)),t||(t=a(e)),o(e,t),m[e]=t,t},getDefaultNodeMetricsNames:function(){return y},emitChange:function(){this.emit(v)},addChangeListener:function(e){this.on(v,e)},removeChangeListener:function(e){this.removeListener(v,e)}});l.register(function(e){var t;switch(e.actionType){case p.SET_NODE_METRICS_QUERY:t=_.getNodeMetricsQuery(e.clusterName),t=d.assign(t,e.data),m[e.clusterName]=t,s(e.clusterName,m[e.clusterName]),_.emitChange();break;case p.SET_NODE_METRICS_QUERY_ONLY_AUTO_REFRESH:t=_.getNodeMetricsQuery(e.clusterName),t.autoRefresh=e.autoRefresh,m[e.clusterName]=t,s(e.clusterName,m[e.clusterName])}}),e.exports=_},function(e,t,n){(function(t){function r(e){return function(){var n=[],r={update:function(e,r){return t.isBuffer(e)||(e=new t(e,r)),n.push(e),this},digest:function(r){var i=t.concat(n),o=e(i);return n=null,r?o.toString(r):o}};return r}}var i=n(433),o=r(n(281)),s=r(n(431));e.exports=function(e){return"md5"===e?new o:"rmd160"===e?new s:i(e)}}).call(t,n(14).Buffer)},function(e,t,n){var r=n(21),i=n(29),o=n(12),s={};s.Boolean=function(){r.call(this),this._type="boolean"},o.inherits(s.Boolean,r),s.Boolean.prototype._base=function(e,t,n){var r={value:e};if("string"==typeof e&&n.convert){var o=e.toLowerCase();r.value="true"===o||"yes"===o||"on"===o?!0:"false"===o||"no"===o||"off"===o?!1:e}return r.errors="boolean"==typeof r.value?null:i.create("boolean.base",null,t,n),r},e.exports=new s.Boolean},function(e,t,n){var r=n(21),i=n(40),o=n(29),s=n(12),a={};a.Number=function(){r.call(this),this._type="number",this._invalids.add(1/0),this._invalids.add(-(1/0))},s.inherits(a.Number,r),a.compare=function(e,t){return function(n){var r=i.isRef(n),a="number"==typeof n&&!isNaN(n);return s.assert(a||r,"limit must be a number or reference"),this._test(e,n,function(i,s,a){var l;if(r){if(l=n(s.parent,a),"number"!=typeof l||isNaN(l))return o.create("number.ref",{ref:n.key},s,a)}else l=n;return t(i,l)?null:o.create("number."+e,{limit:l,value:i},s,a)})}},a.Number.prototype._base=function(e,t,n){var r={errors:null,value:e};if("string"==typeof e&&n.convert){var i=parseFloat(e);r.value=isNaN(i)||!isFinite(e)?NaN:i}var s="number"==typeof r.value&&!isNaN(r.value);if(n.convert&&"precision"in this._flags&&s){var a=Math.pow(10,this._flags.precision);r.value=Math.round(r.value*a)/a}return r.errors=s?null:o.create("number.base",null,t,n),r},a.Number.prototype.min=a.compare("min",function(e,t){return e>=t}),a.Number.prototype.max=a.compare("max",function(e,t){return t>=e}),a.Number.prototype.greater=a.compare("greater",function(e,t){return e>t}),a.Number.prototype.less=a.compare("less",function(e,t){return t>e}),a.Number.prototype.multiple=function(e){return s.assert(s.isInteger(e),"multiple must be an integer"),s.assert(e>0,"multiple must be greater than 0"),this._test("multiple",e,function(t,n,r){return t%e===0?null:o.create("number.multiple",{multiple:e,value:t},n,r)})},a.Number.prototype.integer=function(){return this._test("integer",void 0,function(e,t,n){return s.isInteger(e)?null:o.create("number.integer",{value:e},t,n)})},a.Number.prototype.negative=function(){return this._test("negative",void 0,function(e,t,n){return 0>e?null:o.create("number.negative",{value:e},t,n)})},a.Number.prototype.positive=function(){return this._test("positive",void 0,function(e,t,n){return e>0?null:o.create("number.positive",{value:e},t,n)})},a.precisionRx=/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,a.Number.prototype.precision=function(e){s.assert(s.isInteger(e),"limit must be an integer"),s.assert(!("precision"in this._flags),"precision already set");var t=this._test("precision",e,function(t,n,r){var i=t.toString().match(a.precisionRx),s=Math.max((i[1]?i[1].length:0)-(i[2]?parseInt(i[2],10):0),0);return e>=s?null:o.create("number.precision",{limit:e,value:t},n,r)});return t._flags.precision=e,t},e.exports=new a.Number},function(e,t,n){var r=n(12),i=n(437),o=n(21),s=n(52),a=n(29),l={};l.Object=function(){o.call(this),this._type="object",this._inner.children=null,this._inner.renames=[],this._inner.dependencies=[],this._inner.patterns=[]},r.inherits(l.Object,o),l.Object.prototype._base=function(e,t,n){var i,o,s,c,u=e,d=[],h=function(){return{value:u,errors:d.length?d:null}};if("string"==typeof e&&n.convert)try{e=JSON.parse(e)}catch(p){}if(!e||"object"!=typeof e||Array.isArray(e))return d.push(a.create("object.base",null,t,n)),h();if(!(this._inner.renames.length||this._inner.dependencies.length||this._inner.children||this._inner.patterns.length))return u=e,h();if(u===e){u=Object.create(Object.getPrototypeOf(e));for(var f=Object.keys(e),m=0,g=f.length;g>m;++m)u[f[m]]=e[f[m]]}else u=e;for(var v={},y=0,_=this._inner.renames.length;_>y;++y)if(i=this._inner.renames[y],!i.options.ignoreUndefined||void 0!==u[i.from]){if(!i.options.multiple&&v[i.to]&&(d.push(a.create("object.rename.multiple",{from:i.from,to:i.to},t,n)),n.abortEarly))return h();if(u.hasOwnProperty(i.to)&&!i.options.override&&!v[i.to]&&(d.push(a.create("object.rename.override",{from:i.from,to:i.to},t,n)),n.abortEarly))return h();void 0===u[i.from]?delete u[i.to]:u[i.to]=u[i.from],v[i.to]=!0,i.options.alias||delete u[i.from]}if(!this._inner.children&&!this._inner.patterns.length&&!this._inner.dependencies.length)return h();var b=r.mapToObject(Object.keys(u));if(this._inner.children)for(var w=0,E=this._inner.children.length;E>w;++w){var C=this._inner.children[w];if(o=C.key,i=u[o],delete b[o],s={key:o,path:(t.path?t.path+".":"")+o,parent:u,reference:t.reference},c=C.schema._validate(i,s,n),c.errors&&(d.push(a.create("object.child",{key:o,reason:c.errors},s,n)),n.abortEarly))return h();C.schema._flags.strip||void 0===c.value&&c.value!==i?delete u[o]:void 0!==c.value&&(u[o]=c.value)}var A=Object.keys(b);if(A.length&&this._inner.patterns.length){for(w=0,E=A.length;E>w;++w){o=A[w];for(var x=0,k=this._inner.patterns.length;k>x;++x){var D=this._inner.patterns[x];if(D.regex.test(o)){if(delete b[o],i=u[o],s={key:o,path:(t.path?t.path+".":"")+o,parent:u,reference:t.reference},c=D.rule._validate(i,s,n),c.errors&&(d.push(a.create("object.child",{key:o,reason:c.errors},s,n)),n.abortEarly))return h();void 0!==c.value&&(u[o]=c.value)}}}A=Object.keys(b)}if((this._inner.children||this._inner.patterns.length)&&A.length){if(n.stripUnknown||n.skipFunctions){for(var L=!1,M=0,T=A.length;T>M;++M)o=A[M],n.stripUnknown?delete u[o]:"function"==typeof u[o]&&(delete b[o],L=!0);if(n.stripUnknown)return h();L&&(A=Object.keys(b))}if(A.length&&(void 0!==this._flags.allowUnknown?!this._flags.allowUnknown:!n.allowUnknown))for(var S=0,F=A.length;F>S;++S)d.push(a.create("object.allowUnknown",null,{key:A[S],path:t.path},n))}for(var N=0,R=this._inner.dependencies.length;R>N;++N){var B=this._inner.dependencies[N],O=l[B.type](null!==B.key&&e[B.key],B.peers,u,{key:B.key,path:(t.path?t.path+".":"")+(B.key||"")},n);if(O&&(d.push(O),n.abortEarly))return h()}return h()},l.Object.prototype.keys=function(e){r.assert(null===e||void 0===e||"object"==typeof e,"Object schema must be a valid object"),r.assert(!e||!e.isJoi,"Object schema cannot be a joi schema");var t=this.clone();if(!e)return t._inner.children=null,t;var n=Object.keys(e);if(!n.length)return t._inner.children=[],t;var o,a=new i;if(t._inner.children)for(var l=0,c=t._inner.children.length;c>l;++l)o=t._inner.children[l],a.add(o,{after:o._refs,group:o.key});for(var u=0,d=n.length;d>u;++u){var h=n[u];o=e[h];var p=s.schema(o);a.add({key:h,schema:p},{after:p._refs,group:h})}return t._inner.children=a.nodes,t},l.Object.prototype.unknown=function(e){var t=this.clone();return t._flags.allowUnknown=e!==!1,t},l.Object.prototype.length=function(e){return r.assert(r.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("length",e,function(t,n,r){return Object.keys(t).length===e?null:a.create("object.length",{limit:e},n,r)})},l.Object.prototype.min=function(e){return r.assert(r.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("min",e,function(t,n,r){return Object.keys(t).length>=e?null:a.create("object.min",{limit:e},n,r)})},l.Object.prototype.max=function(e){return r.assert(r.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("max",e,function(t,n,r){return Object.keys(t).length<=e?null:a.create("object.max",{limit:e},n,r)})},l.Object.prototype.pattern=function(e,t){r.assert(e instanceof RegExp,"Invalid regular expression"),r.assert(void 0!==t,"Invalid rule"),e=new RegExp(e.source,e.ignoreCase?"i":void 0);var n=this.clone();return n._inner.patterns.push({regex:e,rule:s.schema(t)}),n},l.Object.prototype["with"]=function(e,t){return this._dependency("with",e,t)},l.Object.prototype.without=function(e,t){return this._dependency("without",e,t)},l.Object.prototype.xor=function(){var e=r.flatten(Array.prototype.slice.call(arguments));return this._dependency("xor",null,e)},l.Object.prototype.or=function(){var e=r.flatten(Array.prototype.slice.call(arguments));return this._dependency("or",null,e)},l.Object.prototype.and=function(){var e=r.flatten(Array.prototype.slice.call(arguments));return this._dependency("and",null,e)},l.Object.prototype.nand=function(){var e=r.flatten(Array.prototype.slice.call(arguments));return this._dependency("nand",null,e)},l.Object.prototype.requiredKeys=function(e){return e=r.flatten(Array.prototype.slice.call(arguments)),this.applyFunctionToChildren(e,"required")},l.Object.prototype.optionalKeys=function(e){return e=r.flatten(Array.prototype.slice.call(arguments)),this.applyFunctionToChildren(e,"optional")},l.renameDefaults={alias:!1,multiple:!1,override:!1},l.Object.prototype.rename=function(e,t,n){r.assert("string"==typeof e,"Rename missing the from argument"),r.assert("string"==typeof t,"Rename missing the to argument"),r.assert(t!==e,"Cannot rename key to same name:",e);for(var i=0,o=this._inner.renames.length;o>i;++i)r.assert(this._inner.renames[i].from!==e,"Cannot rename the same key multiple times");var s=this.clone();return s._inner.renames.push({from:e,to:t,options:r.applyToDefaults(l.renameDefaults,n||{})}),s},l.groupChildren=function(e){e.sort();for(var t={},n=0,i=e.length;i>n;n++){var o=e[n];r.assert("string"==typeof o,"children must be strings");var s=o.split(".")[0],a=t[s]=t[s]||[];a.push(o.substring(s.length+1))}return t},l.Object.prototype.applyFunctionToChildren=function(e,t,n,i){e=[].concat(e),r.assert(e.length>0,"expected at least one children");var o,s=l.groupChildren(e);if(""in s?(o=this[t].apply(this,n),delete s[""]):o=this.clone(),o._inner.children){i=i?i+".":"";for(var a=0,c=o._inner.children.length;c>a;++a){var u=o._inner.children[a],d=s[u.key];d&&(o._inner.children[a]={key:u.key,_refs:u._refs,schema:u.schema.applyFunctionToChildren(d,t,n,i+u.key)},delete s[u.key])}}var h=Object.keys(s);return r.assert(0===h.length,"unknown key(s)",h.join(", ")),o},l.Object.prototype._dependency=function(e,t,n){n=[].concat(n);for(var i=0,o=n.length;o>i;i++)r.assert("string"==typeof n[i],e,"peers must be a string or array of strings");var s=this.clone();return s._inner.dependencies.push({type:e,key:t,peers:n}),s},l["with"]=function(e,t,n,r,i){if(void 0===e)return null;for(var o=0,s=t.length;s>o;++o){var l=t[o];if(!n.hasOwnProperty(l)||void 0===n[l])return a.create("object.with",{peer:l},r,i)}return null},l.without=function(e,t,n,r,i){if(void 0===e)return null;for(var o=0,s=t.length;s>o;++o){var l=t[o];if(n.hasOwnProperty(l)&&void 0!==n[l])return a.create("object.without",{peer:l},r,i)}return null},l.xor=function(e,t,n,r,i){for(var o=[],s=0,l=t.length;l>s;++s){var c=t[s];n.hasOwnProperty(c)&&void 0!==n[c]&&o.push(c)}return 1===o.length?null:0===o.length?a.create("object.missing",{peers:t},r,i):a.create("object.xor",{peers:t},r,i)},l.or=function(e,t,n,r,i){for(var o=0,s=t.length;s>o;++o){var l=t[o];if(n.hasOwnProperty(l)&&void 0!==n[l])return null}return a.create("object.missing",{peers:t},r,i)},l.and=function(e,t,n,r,i){for(var o=[],s=[],l=t.length,c=0;l>c;++c){var u=t[c];n.hasOwnProperty(u)&&void 0!==n[u]?s.push(u):o.push(u)}var d=o.length===l||s.length===l;return d?null:a.create("object.and",{present:s,missing:o},r,i)},l.nand=function(e,t,n,i,o){for(var s=[],l=0,c=t.length;c>l;++l){var u=t[l];n.hasOwnProperty(u)&&void 0!==n[u]&&s.push(u)}var d=r.clone(t),h=d.splice(0,1)[0],p=s.length===t.length;return p?a.create("object.nand",{main:h,peers:d},i,o):null},l.Object.prototype.describe=function(e){var t=o.prototype.describe.call(this);if(this._inner.children&&!e){t.children={};for(var n=0,i=this._inner.children.length;i>n;++n){var s=this._inner.children[n];t.children[s.key]=s.schema.describe()}}if(this._inner.dependencies.length&&(t.dependencies=r.clone(this._inner.dependencies)),this._inner.patterns.length){t.patterns=[];for(var a=0,l=this._inner.patterns.length;l>a;++a){var c=this._inner.patterns[a];t.patterns.push({regex:c.regex.toString(),rule:c.rule.describe()})}}return t},l.Object.prototype.assert=function(e,t,n){e=s.ref(e),r.assert(e.isContext||e.depth>1,"Cannot use assertions for root level references - use direct key rules instead"),n=n||"pass the assertion test";var i=s.schema(t),o=e.path[e.path.length-1],l=e.path.join(".");return this._test("assert",{cast:i,ref:e},function(t,s,c){var u=i._validate(e(t),null,c,t);if(!u.errors)return null;var d=r.merge({},s);return d.key=o,d.path=l,a.create("object.assert",{ref:d.path,message:n},d,c)})},l.Object.prototype.type=function(e,t){return r.assert("function"==typeof e,"type must be a constructor function"),t=t||e.name,this._test("type",t,function(n,r,i){return n instanceof e?null:a.create("object.type",{type:t},r,i)})},e.exports=new l.Object},function(e,t,n){(function(t){var r=n(204),i=n(12),o=n(294),s=n(21),a=n(40),l=n(80),c=n(29),u=n(301),d=n(300),h={uriRegex:u.createUriRegex(),ipRegex:d.createIpRegex(["ipv4","ipv6","ipvfuture"],"optional")};h.String=function(){s.call(this),this._type="string",this._invalids.add("")},i.inherits(h.String,s),h.compare=function(e,n){return function(r,o){var s=a.isRef(r);return i.assert(i.isInteger(r)&&r>=0||s,"limit must be a positive integer or reference"),i.assert(!o||t.isEncoding(o),"Invalid encoding:",o),this._test(e,r,function(t,a,l){var u;if(s){if(u=r(a.parent,l),!i.isInteger(u))return c.create("string.ref",{ref:r.key},a,l)}else u=r;return n(t,u,o)?null:c.create("string."+e,{limit:u,value:t,encoding:o},a,l)})}},h.String.prototype._base=function(e,t,n){return"string"==typeof e&&n.convert&&(this._flags["case"]&&(e="upper"===this._flags["case"]?e.toLocaleUpperCase():e.toLocaleLowerCase()),this._flags.trim&&(e=e.trim())),{value:e,errors:"string"==typeof e?null:c.create("string.base",{value:e},t,n)}},h.String.prototype.insensitive=function(){var e=this.clone();return e._flags.insensitive=!0,e},h.String.prototype.min=h.compare("min",function(e,n,r){var i=r?t.byteLength(e,r):e.length;return i>=n}),h.String.prototype.max=h.compare("max",function(e,n,r){var i=r?t.byteLength(e,r):e.length;return n>=i}),h.String.prototype.creditCard=function(){return this._test("creditCard",void 0,function(e,t,n){for(var r,i=e.length,o=0,s=1;i--;)r=e.charAt(i)*s,o+=r-9*(r>9),s^=3;var a=o%10===0&&o>0;return a?null:c.create("string.creditCard",{value:e},t,n)})},h.String.prototype.length=h.compare("length",function(e,n,r){var i=r?t.byteLength(e,r):e.length;return i===n}),h.String.prototype.regex=function(e,t){return i.assert(e instanceof RegExp,"pattern must be a RegExp"),e=new RegExp(e.source,e.ignoreCase?"i":void 0),this._test("regex",e,function(n,r,i){return e.test(n)?null:c.create(t?"string.regex.name":"string.regex.base",{name:t,pattern:e,value:n},r,i)})},h.String.prototype.alphanum=function(){return this._test("alphanum",void 0,function(e,t,n){return/^[a-zA-Z0-9]+$/.test(e)?null:c.create("string.alphanum",{value:e},t,n)})},h.String.prototype.token=function(){return this._test("token",void 0,function(e,t,n){return/^\w+$/.test(e)?null:c.create("string.token",{value:e},t,n)})},h.String.prototype.email=function(e){return e&&(i.assert("object"==typeof e,"email options must be an object"),i.assert("undefined"==typeof e.checkDNS,"checkDNS option is not supported"),i.assert("undefined"==typeof e.tldWhitelist||"object"==typeof e.tldWhitelist,"tldWhitelist must be an array or object"),i.assert("undefined"==typeof e.minDomainAtoms||i.isInteger(e.minDomainAtoms)&&e.minDomainAtoms>0,"minDomainAtoms must be a positive integer"),i.assert("undefined"==typeof e.errorLevel||"boolean"==typeof e.errorLevel||i.isInteger(e.errorLevel)&&e.errorLevel>=0,"errorLevel must be a non-negative integer or boolean")),this._test("email",e,function(t,n,r){try{var i=o(t,e);if(i===!0||0===i)return null}catch(s){}return c.create("string.email",{value:t},n,r)})},h.String.prototype.ip=function(e){var t=h.ipRegex;if(e=e||{},i.assert("object"==typeof e,"options must be an object"),e.cidr?(i.assert("string"==typeof e.cidr,"cidr must be a string"),e.cidr=e.cidr.toLowerCase(),i.assert(e.cidr in d.cidrs,"cidr must be one of "+Object.keys(d.cidrs).join(", ")),e.version||"optional"===e.cidr||(t=d.createIpRegex(["ipv4","ipv6","ipvfuture"],e.cidr))):e.cidr="optional",e.version){Array.isArray(e.version)||(e.version=[e.version]),i.assert(e.version.length>=1,"version must have at least 1 version specified");for(var n=[],r=0,o=e.version.length;o>r;++r){var s=e.version[r];i.assert("string"==typeof s,"version at position "+r+" must be a string"),s=s.toLowerCase(),i.assert(d.versions[s],"version at position "+r+" must be one of "+Object.keys(d.versions).join(", ")),n.push(s)}n=i.unique(n),t=d.createIpRegex(n,e.cidr)}return this._test("ip",e,function(r,i,o){return t.test(r)?null:n?c.create("string.ipVersion",{value:r,cidr:e.cidr,version:n},i,o):c.create("string.ip",{value:r,cidr:e.cidr},i,o)})},h.String.prototype.uri=function(e){var t="",n=h.uriRegex;if(e&&(i.assert("object"==typeof e,"options must be an object"),e.scheme)){i.assert(e.scheme instanceof RegExp||"string"==typeof e.scheme||Array.isArray(e.scheme),"scheme must be a RegExp, String, or Array"),Array.isArray(e.scheme)||(e.scheme=[e.scheme]),i.assert(e.scheme.length>=1,"scheme must have at least 1 scheme specified");for(var r=0,o=e.scheme.length;o>r;++r){var s=e.scheme[r];i.assert(s instanceof RegExp||"string"==typeof s,"scheme at position "+r+" must be a RegExp or String"),t+=t?"|":"",s instanceof RegExp?t+=s.source:(i.assert(/[a-zA-Z][a-zA-Z0-9+-\.]*/.test(s),"scheme at position "+r+" must be a valid scheme"),t+=i.escapeRegex(s))}}return t&&(n=u.createUriRegex(t)),this._test("uri",e,function(e,r,i){return n.test(e)?null:t?c.create("string.uriCustomScheme",{scheme:t,value:e},r,i):c.create("string.uri",{value:e},r,i)})},h.String.prototype.isoDate=function(){return this._test("isoDate",void 0,function(e,t,n){return l._isIsoDate(e)?null:c.create("string.isoDate",{value:e},t,n)})},h.String.prototype.guid=function(){var e=/^[A-F0-9]{8}(?:-?[A-F0-9]{4}){3}-?[A-F0-9]{12}$/i,t=/^\{[A-F0-9]{8}(?:-?[A-F0-9]{4}){3}-?[A-F0-9]{12}\}$/i;return this._test("guid",void 0,function(n,r,i){return e.test(n)||t.test(n)?null:c.create("string.guid",{value:n},r,i)})},h.String.prototype.hex=function(){var e=/^[a-f0-9]+$/i;return this._test("hex",e,function(t,n,r){return e.test(t)?null:c.create("string.hex",{value:t},n,r)})},h.String.prototype.hostname=function(){var e=/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$/;return this._test("hostname",void 0,function(t,n,i){return t.length<=255&&e.test(t)||r.isIPv6(t)?null:c.create("string.hostname",{value:t},n,i)})},h.String.prototype.lowercase=function(){var e=this._test("lowercase",void 0,function(e,t,n){return n.convert||e===e.toLocaleLowerCase()?null:c.create("string.lowercase",{value:e},t,n)});return e._flags["case"]="lower",e},h.String.prototype.uppercase=function(e){var t=this._test("uppercase",void 0,function(e,t,n){return n.convert||e===e.toLocaleUpperCase()?null:c.create("string.uppercase",{value:e},t,n)});return t._flags["case"]="upper",t},h.String.prototype.trim=function(){var e=this._test("trim",void 0,function(e,t,n){return n.convert||e===e.trim()?null:c.create("string.trim",{value:e},t,n)});return e._flags.trim=!0,e},e.exports=new h.String}).call(t,n(14).Buffer)},function(e,t){var n={rfc3986:{}},r="|",i="0-9",o="["+i+"]",s="a-zA-Z",a="["+s+"]";n.rfc3986.cidr=o+r+"[1-2]"+o+r+"3[0-2]";var l=i+"A-Fa-f",c="["+l+"]",u=s+i+"-\\._~",d="!\\$&'\\(\\)\\*\\+,;=",h="%"+l,p=u+h+d+":@",f="["+p+"]",m="0?",g="(?:"+m+m+o+r+m+"[1-9]"+o+r+"1"+o+o+r+"2[0-4]"+o+r+"25[0-5])";n.rfc3986.IPv4address="(?:"+g+"\\.){3}"+g;var v=c+"{1,4}",y="(?:"+v+":"+v+"|"+n.rfc3986.IPv4address+")",_="(?:"+v+":){6}"+y,b="::(?:"+v+":){5}"+y,w=v+"::(?:"+v+":){4}"+y,E="(?:"+v+":){0,1}"+v+"::(?:"+v+":){3}"+y,C="(?:"+v+":){0,2}"+v+"::(?:"+v+":){2}"+y,A="(?:"+v+":){0,3}"+v+"::"+v+":"+y,x="(?:"+v+":){0,4}"+v+"::"+y,k="(?:"+v+":){0,5}"+v+"::"+v,D="(?:"+v+":){0,6}"+v+"::";n.rfc3986.IPv6address="(?:"+_+r+b+r+w+r+E+r+C+r+A+r+x+r+k+r+D+")",n.rfc3986.IPvFuture="v"+c+"+\\.["+u+d+":]+",n.rfc3986.scheme=a+"["+s+i+"+-\\.]*";var L="["+u+h+d+":]*",M="\\[(?:"+n.rfc3986.IPv6address+r+n.rfc3986.IPvFuture+")\\]",T="["+u+h+d+"]{0,255}",S="(?:"+M+r+n.rfc3986.IPv4address+r+T+")",F=o+"*",N="(?:"+L+"@)?"+S+"(?::"+F+")?",R=f+"*",B=f+"+",O="(?:\\/"+R+")*",P="\\/(?:"+B+O+")?",$=B+O;n.rfc3986.hierPart="(?:\\/\\/"+N+O+r+P+r+$+")",n.rfc3986.query="["+p+"\\/\\?]*(?=#|$)", -n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){function r(e){return!!e&&"object"==typeof e}function i(e,t){for(var n=-1,r=t.length,i=e.length;++n-1&&e%1==0&&d>=e}var c=n(81),u=n(53),d=9007199254740991,h=s("length");e.exports=o},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return s(n)?n:void 0}function i(e){return o(e)&&h.call(e)==a}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function s(e){return null==e?!1:i(e)?p.test(u.call(e)):n(e)&&l.test(e)}var a="[object Function]",l=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,d=c.hasOwnProperty,h=c.toString,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return!!e&&"object"==typeof e}function i(e){return function(t){return null==t?void 0:t[e]}}function o(e){return null!=e&&s(f(e))}function s(e){return"number"==typeof e&&e>-1&&e%1==0&&p>=e}function a(e){return null==e?!0:o(e)&&(c(e)||d(e)||l(e)||r(e)&&u(e.splice))?!e.length:!h(e).length}var l=n(81),c=n(53),u=n(120),d=n(314),h=n(315),p=9007199254740991,f=i("length");e.exports=a},function(e,t){function n(e){var t=r(e)?a.call(e):"";return t==i||t==o}function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var i="[object Function]",o="[object GeneratorFunction]",s=Object.prototype,a=s.toString;e.exports=n},function(e,t,n){ +function r(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var s=document.createElement("div");s.setAttribute(n,"return;"),r="function"==typeof s[n]}return!r&&i&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var i,o=n(11);o.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t,n){"use strict";var r=n(11),i=/^[ \r\n\t\f]/,o=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(s=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),r.canUseDOM){var a=document.createElement("div");a.innerHTML=" ",""===a.innerHTML&&(s=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&o.test(t)){e.innerHTML="\ufeff"+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=s},function(e,t,n){"use strict";function r(e,t){if(null!=e&&null!=t){var n=typeof e,r=typeof t;if("string"===n||"number"===n)return"string"===r||"number"===r;if("object"===r&&e.type===t.type&&e.key===t.key){var i=e._owner===t._owner;return i}}return!1}n(8);e.exports=r},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){(function(t,r,i){"use strict";function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){D(t,e)}}function s(e){return N.from(e)}function a(e){return N.isBuffer(e)||e instanceof B}function l(){}function c(e,t){M=M||n(46),e=e||{};var r=t instanceof M;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,s=e.writableHighWaterMark,a=this.objectMode?16:16384;i||0===i?this.highWaterMark=i:r&&(s||0===s)?this.highWaterMark=s:this.highWaterMark=a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=e.decodeStrings===!1;this.decodeStrings=!l,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){y(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function u(e){return M=M||n(46),P.call(u,this)||this instanceof M?(this._writableState=new c(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),void R.call(this)):new u(e)}function h(e,t){var n=new Error("write after end");e.emit("error",n),L.nextTick(t,n)}function d(e,t,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),L.nextTick(r,o),i=!1),i}function f(e,t,n){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=N.from(t,n)),t}function p(e,t,n,r,i,o){if(!n){var s=f(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var l=t.length-1?r:L.nextTick;u.WritableState=c;var S=n(55);S.inherits=n(54);var F={deprecate:n(460)},R=n(275),N=n(81).Buffer,B=i.Uint8Array||function(){},O=n(274);S.inherits(u,R),c.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(c.prototype,"buffer",{get:F.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}();var P;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(P=Function.prototype[Symbol.hasInstance],Object.defineProperty(u,Symbol.hasInstance,{value:function(e){return!!P.call(this,e)||this===u&&(e&&e._writableState instanceof c)}})):P=function(e){return e instanceof this},u.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},u.prototype.write=function(e,t,n){var r=this._writableState,i=!1,o=!r.objectMode&&a(e);return o&&!N.isBuffer(e)&&(e=s(e)),"function"==typeof t&&(n=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=l),r.ended?h(this,n):(o||d(this,r,e,n))&&(r.pendingcb++,i=p(this,r,o,e,t,n)),i},u.prototype.cork=function(){var e=this._writableState;e.corked++},u.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||w(this,e))},u.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),u.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},u.prototype._writev=null,u.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||k(this,r,n)},Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),u.prototype.destroy=O.destroy,u.prototype._undestroy=O.undestroy,u.prototype._destroy=function(e,t){this.end(),t(e)}}).call(t,n(39),n(477).setImmediate,function(){return this}())},function(e,t,n){t=e.exports=n(272),t.Stream=t,t.Readable=t,t.Writable=n(120),t.Duplex=n(46),t.Transform=n(273),t.PassThrough=n(471)},function(e,t){var n={info:[{name:"cluster_state",desc:"State is 'ok' if the node is able to receive queries. 'warn' if there is node which can't be reached. 'fail' if there is at least one hash slot which is unbound (no node associated), in error state (node serving it is flagged with FAIL flag), or if the majority of masters can't be reached by this node.",valueType:"string",values:["ok"]},{name:"cluster_slots_assigned",desc:"Number of slots which are associated to some node (not unbound). This number should be 16384 for the node to work properly, which means that each hash slot should be mapped to a node.",valueType:"number"},{name:"cluster_slots_ok",desc:"Number of hash slots mapping to a node not in FAIL or PFAIL state.",valueType:"number"},{name:"cluster_slots_pfail",desc:"Number of hash slots mapping to a node in PFAIL state. Note that those hash slots still work correctly, as long as the PFAIL state is not promoted to FAIL by the failure detection algorithm. PFAIL only means that we are currently not able to talk with the node, but may be just a transient error",valueType:"number"},{name:"cluster_slots_fail",desc:"Number of hash slots in mapping to a node in FAIL state. If this number is not zero the node is not able to serve queries unless cluster-require-full-coverage is set to no in the configuration",valueType:"number"},{name:"cluster_known_nodes",desc:"The total number of known nodes in the cluster, including nodes in HANDSHAKE state that may not currently be proper members of the cluster",valueType:"number"},{name:"cluster_size",desc:"The number of master nodes serving at least one hash slot in the cluster.",valueType:"number"},{name:"cluster_current_epoch",desc:"The local Current Epoch variable. This is used in order to create unique increasing version numbers during fail overs.",valueType:"number"},{name:"cluster_my_epoch",desc:"The Config Epoch of the node we are talking with. This is the current configuration version assigned to this node.",valueType:"number"},{name:"cluster_stats_messages_sent",desc:"Number of messages sent via the cluster node-to-node binary bus.",valueType:"number"},{name:"cluster_stats_messages_received",desc:"Number of messages received via the cluster node-to-node binary bus.",valueType:"number"}],metrics:[{name:"connected_clients",desc:"Number of client connections (excluding connections from slaves).",valueType:"number"},{name:"client_longest_output_list",desc:"longest output list among current client connections.",valueType:"number"},{name:"client_biggest_input_buf",desc:"biggest input buffer among current client connections.",valueType:"number"},{name:"blocked_clients",desc:"Number of clients pending on a blocking call (BLPOP, BRPOP, BRPOPLPUSH).",valueType:"number"},{name:"used_memory",desc:"total number of bytes allocated by Redis using its allocator (either standard libc, jemalloc, or an alternative allocator such as tcmalloc.",valueType:"number"},{name:"used_memory_rss",desc:"Number of bytes that Redis allocated as seen by the operating system (a.k.a resident set size). This is the number reported by tools such as top and ps..",valueType:"number"},{name:"used_memory_peak",desc:"Peak memory consumed by Redis (in bytes).",valueType:"number"},{name:"used_memory_lua",desc:"Number of bytes used by the Lua engine.",valueType:"number"},{name:"mem_fragmentation_ratio",desc:"Ratio between used_memory_rss and used_memory.",valueType:"number"},{name:"loading",desc:"Flag indicating if the load of a dump file is on-going.",valueType:"string"},{name:"rdb_changes_since_last_save",desc:"Number of changes since the last dump.",valueType:"number"},{name:"rdb_bgsave_in_progress",desc:"Flag indicating a RDB save is on-going.",valueType:"string"},{name:"rdb_last_save_time",desc:"Epoch-based timestamp of last successful RDB save.",valueType:"number"},{name:"rdb_last_bgsave_status",desc:"Status of the last RDB save operation.",valueType:"string"},{name:"rdb_last_bgsave_time_sec",desc:"Duration of the last RDB save operation in seconds.",valueType:"number"},{name:"rdb_current_bgsave_time_sec",desc:"Duration of the on-going RDB save operation if any.",valueType:"number"},{name:"aof_rewrite_in_progress",desc:"Flag indicating a AOF rewrite operation is on-going.",valueType:"string"},{name:"aof_rewrite_scheduled",desc:"Flag indicating an AOF rewrite operation will be scheduled once the on-going RDB save is complete..",valueType:"string"},{name:"aof_last_rewrite_time_sec",desc:"Duration of the last AOF rewrite operation in seconds.",valueType:"number"},{name:"aof_current_rewrite_time_sec",desc:"Duration of the on-going AOF rewrite operation if any.",valueType:"number"},{name:"aof_last_bgrewrite_status",desc:"Status of the last AOF rewrite operation.",valueType:"string"},{name:"aof_last_write_status",desc:"Status of the last AOF write operation.",valueType:"string"},{name:"aof_current_size",desc:"AOF current file size.",valueType:"number"},{name:"aof_base_size",desc:"AOF file size on latest startup or rewrite.",valueType:"number"},{name:"aof_pending_rewrite",desc:"Flag indicating an AOF rewrite operation will be scheduled once the on-going RDB save is complete..",valueType:"string"},{name:"aof_buffer_length",desc:" Size of the AOF buffer.",valueType:"number"},{name:"aof_rewrite_buffer_length",desc:"Size of the AOF rewrite buffer.",valueType:"number"},{name:"aof_pending_bio_fsync",desc:"Number of fsync pending jobs in background I/O queue.",valueType:"number"},{name:"aof_delayed_fsync",desc:"Delayed fsync counter.",valueType:"number"},{name:"loading_start_time",desc:"Epoch-based timestamp of the start of the load operation.",valueType:"number"},{name:"loading_total_bytes",desc:"Total file size.",valueType:"number"},{name:"loading_loaded_bytes",desc:"Number of bytes already loaded.",valueType:"number"},{name:"loading_loaded_perc",desc:"Same value expressed as a percentage.",valueType:"number"},{name:"loading_eta_seconds",desc:"ETA in seconds for the load to be complete.",valueType:"number"},{name:"total_connections_received",desc:"Total number of connections accepted by the server.",valueType:"number"},{name:"total_commands_processed",desc:"Total number of commands processed by the server.",valueType:"number"},{name:"instantaneous_ops_per_sec",desc:"Number of commands processed per second.",valueType:"number"},{name:"rejected_connections",desc:"Number of connections rejected because of maxclients limit.",valueType:"number"},{name:"expired_keys",desc:"Total number of key expiration events.",valueType:"number"},{name:"evicted_keys",desc:"Number of evicted keys due to maxmemory limit.",valueType:"number"},{name:"keyspace_hits",desc:"Number of successful lookup of keys in the main dictionary.",valueType:"number"},{name:"keyspace_misses",desc:"Number of failed lookup of keys in the main dictionary.",valueType:"number"},{name:"pubsub_channels",desc:"Global number of pub/sub channels with client subscriptions.",valueType:"number"},{name:"pubsub_patterns",desc:"Global number of pub/sub pattern with client subscriptions.",valueType:"number"},{name:"latest_fork_usec",desc:"Duration of the latest fork operation in microseconds.",valueType:"number"},{name:"master_last_io_seconds_ago",desc:"Number of seconds since the last interaction with master.",valueType:"number"},{name:"master_sync_in_progress",desc:"Indicate the master is SYNCing to the slave.",valueType:"string"},{name:"master_sync_left_bytes",desc:"Number of bytes left before SYNCing is complete.",valueType:"number"},{name:"master_sync_last_io_seconds_ago",desc:"Number of seconds since last transfer I/O during a SYNC operation.",valueType:"number"},{name:"master_link_down_since_seconds",desc:"Number of seconds since the link is down.",valueType:"number"},{name:"connected_slaves",desc:"Number of connected slaves.",valueType:"number"},{name:"used_cpu_sys",desc:"System CPU consumed by the Redis server.",valueType:"number"},{name:"used_cpu_user",desc:"User CPU consumed by the Redis server.",valueType:"number"},{name:"used_cpu_sys_children",desc:"System CPU consumed by the background processes.",valueType:"number"},{name:"used_cpu_user_children",desc:"User CPU consumed by the background processes.",valueType:"number"}]};e.exports=n},function(e,t,n){function r(e){var t=m[e];return!!t&&t}function i(e){if(!window.localStorage)return!1;var t=window.localStorage.getItem(g+e);try{var n=d.parseJSON(t);return n.start=!1,n.end=!1,n}catch(e){return!1}}function o(e,t){var n=p.getCluster(e),r=[];return h.each(t.nodes.split(","),function(e){var t=h.findIndex(n.nodes,function(t){return t.node_id===e});t>=0&&r.push(e)}),0===r.length?void(t.nodes=a(e).nodes):void(t.nodes=r.join(","))}function s(e,t){if(window.localStorage)try{var n=JSON.stringify(t);window.localStorage.setItem(g+e,n)}catch(e){}}function a(e){var t=p.getCluster(e),n={start:!1,end:!1,nodes:h.find(t.nodes,function(e){return!e.master_node_id}).node_id,fields:y,autoRefresh:!0};return n}var l=n(19),c=n(21).EventEmitter,u=n(23),h=n(7),d=n(6),f=(n(1),n(18)),p=n(40),m={},g="monitoring.query.",v="change",y=["used_memory","used_memory_rss","used_memory_peak","mem_fragmentation_ratio","total_connections_received","total_commands_processed","instantaneous_ops_per_sec","keyspace_hits","keyspace_misses"].join(","),_=u({},c.prototype,{getNodeMetricsQuery:function(e){var t=r(e);return t||(t=i(e)),t||(t=a(e)),o(e,t),m[e]=t,t},getDefaultNodeMetricsNames:function(){return y},emitChange:function(){this.emit(v)},addChangeListener:function(e){this.on(v,e)},removeChangeListener:function(e){this.removeListener(v,e)}});l.register(function(e){var t;switch(e.actionType){case f.SET_NODE_METRICS_QUERY:t=_.getNodeMetricsQuery(e.clusterName),t=h.assign(t,e.data),m[e.clusterName]=t,s(e.clusterName,m[e.clusterName]),_.emitChange();break;case f.SET_NODE_METRICS_QUERY_ONLY_AUTO_REFRESH:t=_.getNodeMetricsQuery(e.clusterName),t.autoRefresh=e.autoRefresh,m[e.clusterName]=t,s(e.clusterName,m[e.clusterName])}}),e.exports=_},function(e,t,n){(function(t){e.exports=function(e,n,r,i){r/=8,i=i||0;for(var o,s,a,l=0,c=0,u=new t(r),h=new t(i),d=0;;){if(o=e.createHash("md5"),d++>0&&o.update(s),o.update(n),s=o.digest(),a=0,r>0)for(;;){if(0===r)break;if(a===s.length)break;u[l++]=s[a],r--,a++}if(i>0&&a!==s.length)for(;;){if(0===i)break;if(a===s.length)break;h[c++]=s[a],i--,a++}if(0===r&&0===i)break}for(a=0;a + * @license MIT + */ +"use strict";function i(){function e(){}try{var t=new Uint8Array(1);return t.foo=function(){return 42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function o(){return e.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function e(t){return this instanceof e?(e.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof t?s(this,t):"string"==typeof t?a(this,t,arguments.length>1?arguments[1]:"utf8"):l(this,t)):arguments.length>1?new e(t,arguments[1]):new e(t)}function s(t,n){if(t=m(t,n<0?0:0|g(n)),!e.TYPED_ARRAY_SUPPORT)for(var r=0;r>>1;return r&&(t.parent=J),t}function g(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function v(t,n){if(!(this instanceof v))return new v(t,n);var r=new e(t,n);return delete r.parent,r}function y(e,t){"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function _(e,t,n){var r=!1;if(t|=0,n=void 0===n||n===1/0?this.length:0|n,e||(e="utf8"),t<0&&(t=0),n>this.length&&(n=this.length),n<=t)return"";for(;;)switch(e){case"hex":return S(this,t,n);case"utf8":case"utf-8":return D(this,t,n);case"ascii":return M(this,t,n);case"binary":return T(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new Error("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s239?4:o>223?3:o>191?2:1;if(i+a<=n){var l,c,u,h;switch(a){case 1:o<128&&(s=o);break;case 2:l=e[i+1],128===(192&l)&&(h=(31&o)<<6|63&l,h>127&&(s=h));break;case 3:l=e[i+1],c=e[i+2],128===(192&l)&&128===(192&c)&&(h=(15&o)<<12|(63&l)<<6|63&c,h>2047&&(h<55296||h>57343)&&(s=h));break;case 4:l=e[i+1],c=e[i+2],u=e[i+3],128===(192&l)&&128===(192&c)&&128===(192&u)&&(h=(15&o)<<18|(63&l)<<12|(63&c)<<6|63&u,h>65535&&h<1114112&&(s=h))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=a}return L(r)}function L(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function N(t,n,r,i,o,s){if(!e.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(n>o||nt.length)throw new RangeError("index out of range")}function B(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function O(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function P(e,t,n,r,i,o){if(t>i||te.length)throw new RangeError("index out of range");if(n<0)throw new RangeError("index out of range")}function $(e,t,n,r,i){return i||P(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),K.write(e,t,n,r,23,4),n+4}function Y(e,t,n,r,i){return i||P(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),K.write(e,t,n,r,52,8),n+8}function I(e){if(e=j(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function W(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],s=0;s55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(e){for(var t=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function V(e){return G.toByteArray(I(e))}function q(e,t,n,r){for(var i=0;i=t.length||i>=e.length);i++)t[i+n]=e[i];return i}var G=n(288),K=n(132),X=n(89);t.Buffer=e,t.SlowBuffer=v,t.INSPECT_MAX_BYTES=50,e.poolSize=8192;var J={};e.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:i(),e.TYPED_ARRAY_SUPPORT?(e.prototype.__proto__=Uint8Array.prototype,e.__proto__=Uint8Array):(e.prototype.length=void 0,e.prototype.parent=void 0),e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,n){if(!e.isBuffer(t)||!e.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(t===n)return 0;for(var r=t.length,i=n.length,o=0,s=Math.min(r,i);o0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},e.prototype.compare=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?0:e.compare(this,t)},e.prototype.indexOf=function(t,n){function r(e,t,n){for(var r=-1,i=0;n+i2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n>>=0,0===this.length)return-1;if(n>=this.length)return-1;if(n<0&&(n=Math.max(this.length+n,0)),"string"==typeof t)return 0===t.length?-1:String.prototype.indexOf.call(this,t,n);if(e.isBuffer(t))return r(this,t,n);if("number"==typeof t)return e.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,n):r(this,[t],n);throw new TypeError("val must be string, number or Buffer")},e.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},e.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},e.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else{var i=r;r=t,t=0|n,n=i}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return E(this,e,t,n);case"binary":return C(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;e.prototype.slice=function(t,n){var r=this.length;t=~~t,n=void 0===n?r:~~n,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n0&&(i*=256);)r+=this[e+--t]*i;return r},e.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},e.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},e.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},e.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},e.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},e.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e],i=1,o=0;++o=i&&(r-=Math.pow(2,8*t)),r},e.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},e.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},e.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},e.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},e.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},e.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),K.read(this,e,!0,23,4)},e.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),K.read(this,e,!1,23,4)},e.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),K.read(this,e,!0,52,8)},e.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),K.read(this,e,!1,52,8)},e.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||N(this,e,t,n,Math.pow(2,8*n),0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},e.prototype.writeUInt8=function(t,n,r){return t=+t,n|=0,r||N(this,t,n,1,255,0),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=255&t,n+1},e.prototype.writeUInt16LE=function(t,n,r){return t=+t,n|=0,r||N(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):B(this,t,n,!0),n+2},e.prototype.writeUInt16BE=function(t,n,r){return t=+t,n|=0,r||N(this,t,n,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):B(this,t,n,!1),n+2},e.prototype.writeUInt32LE=function(t,n,r){return t=+t,n|=0,r||N(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=255&t):O(this,t,n,!0),n+4},e.prototype.writeUInt32BE=function(t,n,r){return t=+t,n|=0,r||N(this,t,n,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):O(this,t,n,!1),n+4},e.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);N(this,e,t,n,i-1,-i)}var o=0,s=1,a=e<0?1:0;for(this[t]=255&e;++o>0)-a&255;return t+n},e.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);N(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=e<0?1:0;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=(e/s>>0)-a&255;return t+n},e.prototype.writeInt8=function(t,n,r){return t=+t,n|=0,r||N(this,t,n,1,127,-128),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[n]=255&t,n+1},e.prototype.writeInt16LE=function(t,n,r){return t=+t,n|=0,r||N(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):B(this,t,n,!0),n+2},e.prototype.writeInt16BE=function(t,n,r){return t=+t,n|=0,r||N(this,t,n,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):B(this,t,n,!1),n+2},e.prototype.writeInt32LE=function(t,n,r){return t=+t,n|=0,r||N(this,t,n,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):O(this,t,n,!0),n+4},e.prototype.writeInt32BE=function(t,n,r){return t=+t,n|=0,r||N(this,t,n,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),e.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):O(this,t,n,!1),n+4},e.prototype.writeFloatLE=function(e,t,n){return $(this,e,t,!0,n)},e.prototype.writeFloatBE=function(e,t,n){return $(this,e,t,!1,n)},e.prototype.writeDoubleLE=function(e,t,n){return Y(this,e,t,!0,n)},e.prototype.writeDoubleBE=function(e,t,n){return Y(this,e,t,!1,n)},e.prototype.copy=function(t,n,r,i){if(r||(r=0),i||0===i||(i=this.length),n>=t.length&&(n=t.length),n||(n=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-n=0;o--)t[o+n]=this[o+r];else if(s<1e3||!e.TYPED_ARRAY_SUPPORT)for(o=0;o=this.length)throw new RangeError("start out of bounds");if(n<0||n>this.length)throw new RangeError("end out of bounds");var r;if("number"==typeof e)for(r=t;r>1,u=-7,h=n?i-1:0,d=n?-1:1,f=e[t+h];for(h+=d,o=f&(1<<-u)-1,f>>=-u,u+=a;u>0;o=256*o+e[t+h],h+=d,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+e[t+h],h+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:(f?-1:1)*(1/0);s+=Math.pow(2,r),o-=c}return(f?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,l,c=8*o-i-1,u=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),t+=s+h>=1?d/l:d*Math.pow(2,1-h),t*l>=2&&(s++,l/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(t*l-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[n+f]=255&a,f+=p,a/=256,i-=8);for(s=s<0;e[n+f]=255&s,f+=p,s/=256,c-=8);e[n+f-p]|=128*m}},function(e,t,n){var r=n(22),i=n(30),o=n(13),s={};s.Boolean=function(){r.call(this),this._type="boolean"},o.inherits(s.Boolean,r),s.Boolean.prototype._base=function(e,t,n){var r={value:e};if("string"==typeof e&&n.convert){var o=e.toLowerCase();r.value="true"===o||"yes"===o||"on"===o||"false"!==o&&"no"!==o&&"off"!==o&&e}return r.errors="boolean"==typeof r.value?null:i.create("boolean.base",null,t,n),r},e.exports=new s.Boolean},function(e,t,n){var r=n(22),i=n(41),o=n(30),s=n(13),a={};a.Number=function(){r.call(this),this._type="number",this._invalids.add(1/0),this._invalids.add(-(1/0))},s.inherits(a.Number,r),a.compare=function(e,t){return function(n){var r=i.isRef(n),a="number"==typeof n&&!isNaN(n);return s.assert(a||r,"limit must be a number or reference"),this._test(e,n,function(i,s,a){var l;if(r){if(l=n(s.parent,a),"number"!=typeof l||isNaN(l))return o.create("number.ref",{ref:n.key},s,a)}else l=n;return t(i,l)?null:o.create("number."+e,{limit:l,value:i},s,a)})}},a.Number.prototype._base=function(e,t,n){var r={errors:null,value:e};if("string"==typeof e&&n.convert){var i=parseFloat(e);r.value=isNaN(i)||!isFinite(e)?NaN:i}var s="number"==typeof r.value&&!isNaN(r.value);if(n.convert&&"precision"in this._flags&&s){var a=Math.pow(10,this._flags.precision);r.value=Math.round(r.value*a)/a}return r.errors=s?null:o.create("number.base",null,t,n),r},a.Number.prototype.min=a.compare("min",function(e,t){return e>=t}),a.Number.prototype.max=a.compare("max",function(e,t){return e<=t}),a.Number.prototype.greater=a.compare("greater",function(e,t){return e>t}),a.Number.prototype.less=a.compare("less",function(e,t){return e0,"multiple must be greater than 0"),this._test("multiple",e,function(t,n,r){return t%e===0?null:o.create("number.multiple",{multiple:e,value:t},n,r)})},a.Number.prototype.integer=function(){return this._test("integer",void 0,function(e,t,n){return s.isInteger(e)?null:o.create("number.integer",{value:e},t,n)})},a.Number.prototype.negative=function(){return this._test("negative",void 0,function(e,t,n){return e<0?null:o.create("number.negative",{value:e},t,n)})},a.Number.prototype.positive=function(){return this._test("positive",void 0,function(e,t,n){return e>0?null:o.create("number.positive",{value:e},t,n)})},a.precisionRx=/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,a.Number.prototype.precision=function(e){s.assert(s.isInteger(e),"limit must be an integer"),s.assert(!("precision"in this._flags),"precision already set");var t=this._test("precision",e,function(t,n,r){var i=t.toString().match(a.precisionRx),s=Math.max((i[1]?i[1].length:0)-(i[2]?parseInt(i[2],10):0),0);return s<=e?null:o.create("number.precision",{limit:e,value:t},n,r)});return t._flags.precision=e,t},e.exports=new a.Number},function(e,t,n){var r=n(13),i=n(459),o=n(22),s=n(56),a=n(30),l={};l.Object=function(){o.call(this),this._type="object",this._inner.children=null,this._inner.renames=[],this._inner.dependencies=[],this._inner.patterns=[]},r.inherits(l.Object,o),l.Object.prototype._base=function(e,t,n){var i,o,s,c,u=e,h=[],d=function(){return{value:u,errors:h.length?h:null}};if("string"==typeof e&&n.convert)try{e=JSON.parse(e)}catch(e){}if(!e||"object"!=typeof e||Array.isArray(e))return h.push(a.create("object.base",null,t,n)),d();if(!(this._inner.renames.length||this._inner.dependencies.length||this._inner.children||this._inner.patterns.length))return u=e,d();if(u===e){u=Object.create(Object.getPrototypeOf(e));for(var f=Object.keys(e),p=0,m=f.length;p=0,"limit must be a positive integer"),this._test("length",e,function(t,n,r){return Object.keys(t).length===e?null:a.create("object.length",{limit:e},n,r)})},l.Object.prototype.min=function(e){return r.assert(r.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("min",e,function(t,n,r){return Object.keys(t).length>=e?null:a.create("object.min",{limit:e},n,r)})},l.Object.prototype.max=function(e){return r.assert(r.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("max",e,function(t,n,r){return Object.keys(t).length<=e?null:a.create("object.max",{limit:e},n,r)})},l.Object.prototype.pattern=function(e,t){r.assert(e instanceof RegExp,"Invalid regular expression"),r.assert(void 0!==t,"Invalid rule"),e=new RegExp(e.source,e.ignoreCase?"i":void 0);var n=this.clone();return n._inner.patterns.push({regex:e,rule:s.schema(t)}),n},l.Object.prototype.with=function(e,t){return this._dependency("with",e,t)},l.Object.prototype.without=function(e,t){return this._dependency("without",e,t)},l.Object.prototype.xor=function(){var e=r.flatten(Array.prototype.slice.call(arguments));return this._dependency("xor",null,e)},l.Object.prototype.or=function(){var e=r.flatten(Array.prototype.slice.call(arguments));return this._dependency("or",null,e)},l.Object.prototype.and=function(){var e=r.flatten(Array.prototype.slice.call(arguments));return this._dependency("and",null,e)},l.Object.prototype.nand=function(){var e=r.flatten(Array.prototype.slice.call(arguments));return this._dependency("nand",null,e)},l.Object.prototype.requiredKeys=function(e){return e=r.flatten(Array.prototype.slice.call(arguments)),this.applyFunctionToChildren(e,"required")},l.Object.prototype.optionalKeys=function(e){return e=r.flatten(Array.prototype.slice.call(arguments)),this.applyFunctionToChildren(e,"optional")},l.renameDefaults={alias:!1,multiple:!1,override:!1},l.Object.prototype.rename=function(e,t,n){r.assert("string"==typeof e,"Rename missing the from argument"),r.assert("string"==typeof t,"Rename missing the to argument"),r.assert(t!==e,"Cannot rename key to same name:",e);for(var i=0,o=this._inner.renames.length;i0,"expected at least one children");var o,s=l.groupChildren(e);if(""in s?(o=this[t].apply(this,n),delete s[""]):o=this.clone(),o._inner.children){i=i?i+".":"";for(var a=0,c=o._inner.children.length;a1,"Cannot use assertions for root level references - use direct key rules instead"),n=n||"pass the assertion test";var i=s.schema(t),o=e.path[e.path.length-1],l=e.path.join(".");return this._test("assert",{cast:i,ref:e},function(t,s,c){var u=i._validate(e(t),null,c,t);if(!u.errors)return null;var h=r.merge({},s);return h.key=o,h.path=l,a.create("object.assert",{ref:h.path,message:n},h,c)})},l.Object.prototype.type=function(e,t){return r.assert("function"==typeof e,"type must be a constructor function"),t=t||e.name,this._test("type",t,function(n,r,i){return n instanceof e?null:a.create("object.type",{type:t},r,i)})},e.exports=new l.Object},function(e,t,n){(function(t){var r=n(271),i=n(13),o=n(315),s=n(22),a=n(41),l=n(91),c=n(30),u=n(322),h=n(321),d={ +uriRegex:u.createUriRegex(),ipRegex:h.createIpRegex(["ipv4","ipv6","ipvfuture"],"optional")};d.String=function(){s.call(this),this._type="string",this._invalids.add("")},i.inherits(d.String,s),d.compare=function(e,n){return function(r,o){var s=a.isRef(r);return i.assert(i.isInteger(r)&&r>=0||s,"limit must be a positive integer or reference"),i.assert(!o||t.isEncoding(o),"Invalid encoding:",o),this._test(e,r,function(t,a,l){var u;if(s){if(u=r(a.parent,l),!i.isInteger(u))return c.create("string.ref",{ref:r.key},a,l)}else u=r;return n(t,u,o)?null:c.create("string."+e,{limit:u,value:t,encoding:o},a,l)})}},d.String.prototype._base=function(e,t,n){return"string"==typeof e&&n.convert&&(this._flags.case&&(e="upper"===this._flags.case?e.toLocaleUpperCase():e.toLocaleLowerCase()),this._flags.trim&&(e=e.trim())),{value:e,errors:"string"==typeof e?null:c.create("string.base",{value:e},t,n)}},d.String.prototype.insensitive=function(){var e=this.clone();return e._flags.insensitive=!0,e},d.String.prototype.min=d.compare("min",function(e,n,r){var i=r?t.byteLength(e,r):e.length;return i>=n}),d.String.prototype.max=d.compare("max",function(e,n,r){var i=r?t.byteLength(e,r):e.length;return i<=n}),d.String.prototype.creditCard=function(){return this._test("creditCard",void 0,function(e,t,n){for(var r,i=e.length,o=0,s=1;i--;)r=e.charAt(i)*s,o+=r-9*(r>9),s^=3;var a=o%10===0&&o>0;return a?null:c.create("string.creditCard",{value:e},t,n)})},d.String.prototype.length=d.compare("length",function(e,n,r){var i=r?t.byteLength(e,r):e.length;return i===n}),d.String.prototype.regex=function(e,t){return i.assert(e instanceof RegExp,"pattern must be a RegExp"),e=new RegExp(e.source,e.ignoreCase?"i":void 0),this._test("regex",e,function(n,r,i){return e.test(n)?null:c.create(t?"string.regex.name":"string.regex.base",{name:t,pattern:e,value:n},r,i)})},d.String.prototype.alphanum=function(){return this._test("alphanum",void 0,function(e,t,n){return/^[a-zA-Z0-9]+$/.test(e)?null:c.create("string.alphanum",{value:e},t,n)})},d.String.prototype.token=function(){return this._test("token",void 0,function(e,t,n){return/^\w+$/.test(e)?null:c.create("string.token",{value:e},t,n)})},d.String.prototype.email=function(e){return e&&(i.assert("object"==typeof e,"email options must be an object"),i.assert("undefined"==typeof e.checkDNS,"checkDNS option is not supported"),i.assert("undefined"==typeof e.tldWhitelist||"object"==typeof e.tldWhitelist,"tldWhitelist must be an array or object"),i.assert("undefined"==typeof e.minDomainAtoms||i.isInteger(e.minDomainAtoms)&&e.minDomainAtoms>0,"minDomainAtoms must be a positive integer"),i.assert("undefined"==typeof e.errorLevel||"boolean"==typeof e.errorLevel||i.isInteger(e.errorLevel)&&e.errorLevel>=0,"errorLevel must be a non-negative integer or boolean")),this._test("email",e,function(t,n,r){try{var i=o(t,e);if(i===!0||0===i)return null}catch(e){}return c.create("string.email",{value:t},n,r)})},d.String.prototype.ip=function(e){var t=d.ipRegex;if(e=e||{},i.assert("object"==typeof e,"options must be an object"),e.cidr?(i.assert("string"==typeof e.cidr,"cidr must be a string"),e.cidr=e.cidr.toLowerCase(),i.assert(e.cidr in h.cidrs,"cidr must be one of "+Object.keys(h.cidrs).join(", ")),e.version||"optional"===e.cidr||(t=h.createIpRegex(["ipv4","ipv6","ipvfuture"],e.cidr))):e.cidr="optional",e.version){Array.isArray(e.version)||(e.version=[e.version]),i.assert(e.version.length>=1,"version must have at least 1 version specified");for(var n=[],r=0,o=e.version.length;r=1,"scheme must have at least 1 scheme specified");for(var r=0,o=e.scheme.length;r-1&&e%1==0&&e<=h}var c=n(92),u=n(57),h=9007199254740991,d=s("length");e.exports=o},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return s(n)?n:void 0}function i(e){return o(e)&&d.call(e)==a}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function s(e){return null!=e&&(i(e)?f.test(u.call(e)):n(e)&&l.test(e))}var a="[object Function]",l=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,h=c.hasOwnProperty,d=c.toString,f=RegExp("^"+u.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return!!e&&"object"==typeof e}function i(e){return function(t){return null==t?void 0:t[e]}}function o(e){return null!=e&&s(p(e))}function s(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function a(e){return null==e||(o(e)&&(c(e)||h(e)||l(e)||r(e)&&u(e.splice))?!e.length:!d(e).length)}var l=n(92),c=n(57),u=n(141),h=n(335),d=n(336),f=9007199254740991,p=i("length");e.exports=a},function(e,t){(function(t){function n(e){return null==e?void 0===e?d:u:b&&b in Object(e)?r(e):i(e)}function r(e){var t=v.call(e,b),n=e[b];try{e[b]=void 0;var r=!0}catch(e){}var i=y.call(e);return r&&(t?e[b]=n:delete e[b]),i}function i(e){return y.call(e)}function o(e){if(!s(e))return!1;var t=n(e);return t==l||t==c||t==a||t==h}function s(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var a="[object AsyncFunction]",l="[object Function]",c="[object GeneratorFunction]",u="[object Null]",h="[object Proxy]",d="[object Undefined]",f="object"==typeof t&&t&&t.Object===Object&&t,p="object"==typeof self&&self&&self.Object===Object&&self,m=f||p||Function("return this")(),g=Object.prototype,v=g.hasOwnProperty,y=g.toString,_=m.Symbol,b=_?_.toStringTag:void 0;e.exports=o}).call(t,function(){return this}())},function(e,t,n){ //! moment.js locale configuration //! locale : afrikaans (af) //! author : Werner Mollentze : https://github.com/wernerm -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return 12>e?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : Moroccan Arabic (ar-ma) //! author : ElFadili Yassine : https://github.com/ElFadiliY @@ -69,7 +75,7 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! moment.js locale configuration //! locale : Arabic Saudi Arabia (ar-sa) //! author : Suhail Alkowaileet : https://github.com/xsoh -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return 12>e?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return r})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return r})},function(e,t,n){ //! moment.js locale configuration //! locale : Tunisian Arabic (ar-tn) !function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t})},function(e,t,n){ @@ -78,29 +84,29 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! Author: Abdel Said: https://github.com/abdelsaid //! Changes in months, weekdays: Ahmed Elkhatib //! Native plural forms: forabi https://github.com/forabi -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&10>=e%100?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,s){var a=r(t),l=i[e][r(t)];return 2===a&&(l=l[n?0:1]),l.replace(/%d/i,t)}},s=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],a=e.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return 12>e?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return a})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,o,s){var a=r(t),l=i[e][r(t)];return 2===a&&(l=l[n?0:1]),l.replace(/%d/i,t)}},s=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],a=e.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return a})},function(e,t,n){ //! moment.js locale configuration //! locale : azerbaijani (az) //! author : topchiyev : https://github.com/topchiyev -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return 4>e?"gecə":12>e?"səhər":17>e?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}});return n})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}});return n})},function(e,t,n){ //! moment.js locale configuration //! locale : belarusian (be) //! author : Dmitry Demidov : https://github.com/demidov91 //! author: Praleska: http://praleska.pro/ //! Author : Menelion Elensúle : https://github.com/Oire -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":e+" "+t(i[r],+e)}function r(e,t){var n={nominative:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_"),accusative:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function i(e,t){var n={nominative:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),accusative:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_")},r=/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/.test(t)?"accusative":"nominative";return n[r][e.day()]}var o=e.defineLocale("be",{months:r,monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:i,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return 4>e?"ночы":12>e?"раніцы":17>e?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return o})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":e+" "+t(i[r],+e)}function r(e,t){var n={nominative:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_"),accusative:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function i(e,t){var n={nominative:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),accusative:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_")},r=/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/.test(t)?"accusative":"nominative";return n[r][e.day()]}var o=e.defineLocale("be",{months:r,monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:i,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return o})},function(e,t,n){ //! moment.js locale configuration //! locale : bulgarian (bg) //! author : Krasen Borisov : https://github.com/kraz -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&20>n?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : Bengali (bn) //! author : Kaushik Gandhi : https://github.com/kaushikgandhi -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=e.defineLocale("bn",{months:"জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রুবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্রু_শনি".split("_"),weekdaysMin:"রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কএক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|শকাল|দুপুর|বিকেল|রাত/,isPM:function(e){return/^(দুপুর|বিকেল|রাত)$/.test(e)},meridiem:function(e,t,n){return 4>e?"রাত":10>e?"শকাল":17>e?"দুপুর":20>e?"বিকেল":"রাত"},week:{dow:0,doy:6}});return r})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=e.defineLocale("bn",{months:"জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রুবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্রু_শনি".split("_"),weekdaysMin:"রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কএক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|শকাল|দুপুর|বিকেল|রাত/,isPM:function(e){return/^(দুপুর|বিকেল|রাত)$/.test(e)},meridiem:function(e,t,n){return e<4?"রাত":e<10?"শকাল":e<17?"দুপুর":e<20?"বিকেল":"রাত"},week:{dow:0,doy:6}});return r})},function(e,t,n){ //! moment.js locale configuration //! locale : tibetan (bo) //! author : Thupten N. Chakrishar : https://github.com/vajradog -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,isPM:function(e){return/^(ཉིན་གུང|དགོང་དག|མཚན་མོ)$/.test(e)},meridiem:function(e,t,n){return 4>e?"མཚན་མོ":10>e?"ཞོགས་ཀས":17>e?"ཉིན་གུང":20>e?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return r})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,isPM:function(e){return/^(ཉིན་གུང|དགོང་དག|མཚན་མོ)$/.test(e)},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return r})},function(e,t,n){ //! moment.js locale configuration //! locale : breton (br) //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou @@ -117,7 +123,7 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! moment.js locale configuration //! locale : czech (cs) //! author : petrbela : https://github.com/petrbela -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e>1&&5>e&&1!==~~(e/10)}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"pár sekund":"pár sekundami";case"m":return n?"minuta":i?"minutu":"minutou";case"mm":return n||i?o+(t(e)?"minuty":"minut"):o+"minutami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(t(e)?"hodiny":"hodin"):o+"hodinami";case"d":return n||i?"den":"dnem";case"dd":return n||i?o+(t(e)?"dny":"dní"):o+"dny";case"M":return n||i?"měsíc":"měsícem";case"MM":return n||i?o+(t(e)?"měsíce":"měsíců"):o+"měsíci";case"y":return n||i?"rok":"rokem";case"yy":return n||i?o+(t(e)?"roky":"let"):o+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),o=e.defineLocale("cs",{months:r,monthsShort:i,monthsParse:function(e,t){var n,r=[];for(n=0;12>n;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(r,i),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd D. MMMM YYYY LT"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e>1&&e<5&&1!==~~(e/10)}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"pár sekund":"pár sekundami";case"m":return n?"minuta":i?"minutu":"minutou";case"mm":return n||i?o+(t(e)?"minuty":"minut"):o+"minutami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(t(e)?"hodiny":"hodin"):o+"hodinami";case"d":return n||i?"den":"dnem";case"dd":return n||i?o+(t(e)?"dny":"dní"):o+"dny";case"M":return n||i?"měsíc":"měsícem";case"MM":return n||i?o+(t(e)?"měsíce":"měsíců"):o+"měsíci";case"y":return n||i?"rok":"rokem";case"yy":return n||i?o+(t(e)?"roky":"let"):o+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),o=e.defineLocale("cs",{months:r,monthsShort:i,monthsParse:function(e,t){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(r,i),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd D. MMMM YYYY LT"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){ //! moment.js locale configuration //! locale : chuvash (cv) //! author : Anatoly Mironov : https://github.com/mirontoli @@ -178,11 +184,11 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! moment.js locale configuration //! locale : Persian (fa) //! author : Ebrahim Byagowi : https://github.com/ebraminio -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r=e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return 12>e?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return r})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r=e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return r})},function(e,t,n){ //! moment.js locale configuration //! locale : finnish (fi) //! author : Tarmo Aidantausta : https://github.com/bleadof -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,r,i){var o="";switch(r){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":o=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":o=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":o=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":o=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":o=i?"vuoden":"vuotta"}return o=n(e,i)+" "+o}function n(e,t){return 10>e?t?i[e]:r[e]:e}var r="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",r[7],r[8],r[9]],o=e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] LT",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] LT",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] LT",llll:"ddd, Do MMM YYYY, [klo] LT"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,r,i){var o="";switch(r){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":o=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":o=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":o=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":o=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":o=i?"vuoden":"vuotta"}return o=n(e,i)+" "+o}function n(e,t){return e<10?t?i[e]:r[e]:e}var r="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",r[7],r[8],r[9]],o=e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] LT",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] LT",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] LT",llll:"ddd, Do MMM YYYY, [klo] LT"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){ //! moment.js locale configuration //! locale : faroese (fo) //! author : Ragnar Johannesen : https://github.com/ragnar123 @@ -212,7 +218,7 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! moment.js locale configuration //! locale : hindi (hi) //! author : Mayank Singhal : https://github.com/mayanksinghal -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?4>e?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return 4>e?"रात":10>e?"सुबह":17>e?"दोपहर":20>e?"शाम":"रात"},week:{dow:0,doy:6}});return r})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return r})},function(e,t,n){ //! moment.js locale configuration //! locale : hrvatski (hr) //! author : Bojan Marković : https://github.com/bmarkovic @@ -220,20 +226,20 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! moment.js locale configuration //! locale : hungarian (hu) //! author : Adam Brunner : https://github.com/adambrunner -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+r[this.day()]+"] LT[-kor]"}var r="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" "),i=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D., LT",LLLL:"YYYY. MMMM D., dddd LT"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return 12>e?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return i})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+r[this.day()]+"] LT[-kor]"}var r="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" "),i=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D., LT",LLLL:"YYYY. MMMM D., dddd LT"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return i})},function(e,t,n){ //! moment.js locale configuration //! locale : Armenian (hy-am) //! author : Armendarabyan : https://github.com/armendarabyan -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n={nominative:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_"),accusative:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function n(e,t){var n="հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_");return n[e.month()]}function r(e,t){var n="կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_");return n[e.day()]}var i=e.defineLocale("hy-am",{months:t,monthsShort:n,weekdays:r,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., LT",LLLL:"dddd, D MMMM YYYY թ., LT"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return 4>e?"գիշերվա":12>e?"առավոտվա":17>e?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return i})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n={nominative:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_"),accusative:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function n(e,t){var n="հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_");return n[e.month()]}function r(e,t){var n="կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_");return n[e.day()]}var i=e.defineLocale("hy-am",{months:t,monthsShort:n,weekdays:r,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., LT",LLLL:"dddd, D MMMM YYYY թ., LT"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return i})},function(e,t,n){ //! moment.js locale configuration //! locale : Bahasa Indonesia (id) //! author : Mohammad Satrio Utomo : https://github.com/tyok //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return 11>e?"pagi":15>e?"siang":19>e?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : icelandic (is) //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e%100===11?!0:e%10!==1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}var r=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] LT",LLLL:"dddd, D. MMMM YYYY [kl.] LT"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e%100===11||e%10!==1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}var r=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] LT",LLLL:"dddd, D. MMMM YYYY [kl.] LT"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r})},function(e,t,n){ //! moment.js locale configuration //! locale : italian (it) //! author : Lorenzo : https://github.com/aliem @@ -242,16 +248,16 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! moment.js locale configuration //! locale : japanese (ja) //! author : LI Long : https://github.com/baryon -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"LTs秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日LT",LLLL:"YYYY年M月D日LT dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return 12>e?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"LTs秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日LT",LLLL:"YYYY年M月D日LT dddd"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : Boso Jowo (jv) //! author : Rony Lantip : https://github.com/lantip //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return 11>e?"enjing":15>e?"siyang":19>e?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : Georgian (ka) //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n={nominative:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),accusative:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},r=/D[oD] *MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function n(e,t){var n={nominative:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),accusative:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_")},r=/(წინა|შემდეგ)/.test(t)?"accusative":"nominative";return n[r][e.day()]}var r=e.defineLocale("ka",{months:t,monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:n,weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":20>e||100>=e&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return r})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n={nominative:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),accusative:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},r=/D[oD] *MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function n(e,t){var n={nominative:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),accusative:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_")},r=/(წინა|შემდეგ)/.test(t)?"accusative":"nominative";return n[r][e.day()]}var r=e.defineLocale("ka",{months:t,monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:n,weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return/(წამი|წუთი|საათი|წელი)/.test(e)?e.replace(/ი$/,"ში"):e+"ში"},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return r})},function(e,t,n){ //! moment.js locale configuration //! locale : khmer (km) //! author : Kruy Vanna : https://github.com/kruyvanna @@ -263,15 +269,15 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! //! - Kyungwook, Park : https://github.com/kyungw00k //! - Jeeeyul Lee -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 LT",LLLL:"YYYY년 MMMM D일 dddd LT"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇초",ss:"%d초",m:"일분",mm:"%d분",h:"한시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한달",MM:"%d달",y:"일년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return 12>e?"오전":"오후"}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 LT",LLLL:"YYYY년 MMMM D일 dddd LT"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇초",ss:"%d초",m:"일분",mm:"%d분",h:"한시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한달",MM:"%d달",y:"일년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : Luxembourgish (lb) //! author : mweimerskirch : https://github.com/mweimerskirch, David Raison : https://github.com/kwisatz -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"a "+e:"an "+e}function r(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(0>e)return!0;if(10>e)return e>=4&&7>=e;if(100>e){var t=e%10,n=e/10;return i(0===t?n:t)}if(1e4>e){for(;e>=10;)e/=10;return i(e)}return e/=1e3,i(e)}var o=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"a "+e:"an "+e}function r(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return i(0===t?n:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return e/=1e3,i(e)}var o=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:r,s:"e puer Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){ //! moment.js locale configuration //! locale : Lithuanian (lt) //! author : Mindaugas Mozūras : https://github.com/mmozuras -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10===0||e>10&&20>e}function i(e){return a[e].split("_")}function o(e,t,o,s){var a=e+" ";return 1===e?a+n(e,t,o[0],s):t?a+(r(e)?i(o)[1]:i(o)[0]):s?a+i(o)[1]:a+(r(e)?i(o)[1]:i(o)[2])}function s(e,t){var n=-1===t.indexOf("dddd HH:mm"),r=l[e.day()];return n?r:r.substring(0,r.length-2)+"į"}var a={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},l="sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),c=e.defineLocale("lt",{months:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:s,weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], LT [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, LT [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], LT [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, LT [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:t,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return c})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10===0||e>10&&e<20}function i(e){return a[e].split("_")}function o(e,t,o,s){var a=e+" ";return 1===e?a+n(e,t,o[0],s):t?a+(r(e)?i(o)[1]:i(o)[0]):s?a+i(o)[1]:a+(r(e)?i(o)[1]:i(o)[2])}function s(e,t){var n=t.indexOf("dddd HH:mm")===-1,r=l[e.day()];return n?r:r.substring(0,r.length-2)+"į"}var a={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},l="sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),c=e.defineLocale("lt",{months:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:s,weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], LT [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, LT [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], LT [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, LT [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:t,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return c})},function(e,t,n){ //! moment.js locale configuration //! locale : latvian (lv) //! author : Kristaps Karlsons : https://github.com/skakri @@ -280,23 +286,23 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! moment.js locale configuration //! locale : Montenegrin (me) //! author : Miodrag Nikač : https://github.com/miodragnikac -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&4>=e?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("me",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sri.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("me",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sri.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){ //! moment.js locale configuration //! locale : macedonian (mk) //! author : Borislav Mickov : https://github.com/B0k0 -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Во изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Во изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&20>n?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Во изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Во изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : malayalam (ml) //! author : Floyd Pink : https://github.com/floydpink -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,isPM:function(e){return/^(ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി)$/.test(e)},meridiem:function(e,t,n){return 4>e?"രാത്രി":12>e?"രാവിലെ":17>e?"ഉച്ച കഴിഞ്ഞ്":20>e?"വൈകുന്നേരം":"രാത്രി"}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,isPM:function(e){return/^(ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി)$/.test(e)},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : Marathi (mr) //! author : Harshad Kale : https://github.com/kalehv -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%s नंतर",past:"%s पूर्वी",s:"सेकंद",m:"एक मिनिट",mm:"%d मिनिटे",h:"एक तास",hh:"%d तास",d:"एक दिवस",dd:"%d दिवस",M:"एक महिना",MM:"%d महिने",y:"एक वर्ष",yy:"%d वर्षे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?4>e?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return 4>e?"रात्री":10>e?"सकाळी":17>e?"दुपारी":20>e?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return r})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%s नंतर",past:"%s पूर्वी",s:"सेकंद",m:"एक मिनिट",mm:"%d मिनिटे",h:"एक तास",hh:"%d तास",d:"एक दिवस",dd:"%d दिवस",M:"एक महिना",MM:"%d महिने",y:"एक वर्ष",yy:"%d वर्षे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात्री"===t?e<4?e:e+12:"सकाळी"===t?e:"दुपारी"===t?e>=10?e:e+12:"सायंकाळी"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात्री":e<10?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return r})},function(e,t,n){ //! moment.js locale configuration //! locale : Bahasa Malaysia (ms-MY) //! author : Weldan Jamili : https://github.com/weldan -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return 11>e?"pagi":15>e?"tengahari":19>e?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"LT.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] LT",LLLL:"dddd, D MMMM YYYY [pukul] LT"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : Burmese (my) //! author : Squar team, mysquar.com @@ -309,7 +315,7 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! moment.js locale configuration //! locale : nepali/nepalese //! author : suvash : https://github.com/suvash -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आइ._सो._मङ्_बु._बि._शु._श.".split("_"),longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राती|बिहान|दिउँसो|बेलुका|साँझ|राती/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?3>e?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"बेलुका"===t||"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return 3>e?"राती":10>e?"बिहान":15>e?"दिउँसो":18>e?"बेलुका":20>e?"साँझ":"राती"},calendar:{sameDay:"[आज] LT",nextDay:"[भोली] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडी",s:"केही समय",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:1,doy:7}});return r})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आइ._सो._मङ्_बु._बि._शु._श.".split("_"),longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राती|बिहान|दिउँसो|बेलुका|साँझ|राती/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<3?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"बेलुका"===t||"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राती":e<10?"बिहान":e<15?"दिउँसो":e<18?"बेलुका":e<20?"साँझ":"राती"},calendar:{sameDay:"[आज] LT",nextDay:"[भोली] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडी",s:"केही समय",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:1,doy:7}});return r})},function(e,t,n){ //! moment.js locale configuration //! locale : dutch (nl) //! author : Joris Röling : https://github.com/jjupiter @@ -321,7 +327,7 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! moment.js locale configuration //! locale : polish (pl) //! author : Rafal Hirsz : https://github.com/evoL -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return 5>e%10&&e%10>1&&~~(e/10)%10!==1}function n(e,n,r){var i=e+" ";switch(r){case"m":return n?"minuta":"minutę";case"mm":return i+(t(e)?"minuty":"minut");case"h":return n?"godzina":"godzinę";case"hh":return i+(t(e)?"godziny":"godzin");case"MM":return i+(t(e)?"miesiące":"miesięcy");case"yy":return i+(t(e)?"lata":"lat")}}var r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),o=e.defineLocale("pl",{months:function(e,t){return""===t?"("+i[e.month()]+"|"+r[e.month()]+")":/D MMMM/.test(t)?i[e.month()]:r[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"N_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function n(e,n,r){var i=e+" ";switch(r){case"m":return n?"minuta":"minutę";case"mm":return i+(t(e)?"minuty":"minut");case"h":return n?"godzina":"godzinę";case"hh":return i+(t(e)?"godziny":"godzin");case"MM":return i+(t(e)?"miesiące":"miesięcy");case"yy":return i+(t(e)?"lata":"lat")}}var r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),o=e.defineLocale("pl",{months:function(e,t){return""===t?"("+i[e.month()]+"|"+r[e.month()]+")":/D MMMM/.test(t)?i[e.month()]:r[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"N_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){ //! moment.js locale configuration //! locale : brazilian portuguese (pt-br) //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira @@ -339,7 +345,7 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! locale : russian (ru) //! author : Viktorminator : https://github.com/Viktorminator //! Author : Menelion Elensúle : https://github.com/Oire -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":e+" "+t(i[r],+e)}function r(e,t){var n={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function i(e,t){var n={nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function o(e,t){var n={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},r=/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(t)?"accusative":"nominative";return n[r][e.day()]}var s=e.defineLocale("ru",{months:r,monthsShort:i,weekdays:o,weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return 4>e?"ночи":12>e?"утра":17>e?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}});return s})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":e+" "+t(i[r],+e)}function r(e,t){var n={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function i(e,t){var n={nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")},r=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function o(e,t){var n={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},r=/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(t)?"accusative":"nominative";return n[r][e.day()]}var s=e.defineLocale("ru",{months:r,monthsShort:i,weekdays:o,weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:7}});return s})},function(e,t,n){ //! moment.js locale configuration //! locale : Sinhalese (si) //! author : Sampath Sitinamaluwa : https://github.com/sampathsris @@ -348,25 +354,25 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! locale : slovak (sk) //! author : Martin Minka : https://github.com/k2s //! based on work of petrbela : https://github.com/petrbela -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e>1&&5>e}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"pár sekúnd":"pár sekundami";case"m":return n?"minúta":i?"minútu":"minútou";case"mm":return n||i?o+(t(e)?"minúty":"minút"):o+"minútami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(t(e)?"hodiny":"hodín"):o+"hodinami";case"d":return n||i?"deň":"dňom";case"dd":return n||i?o+(t(e)?"dni":"dní"):o+"dňami";case"M":return n||i?"mesiac":"mesiacom";case"MM":return n||i?o+(t(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return n||i?"rok":"rokom";case"yy":return n||i?o+(t(e)?"roky":"rokov"):o+"rokmi"}}var r="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),o=e.defineLocale("sk",{months:r,monthsShort:i,monthsParse:function(e,t){var n,r=[];for(n=0;12>n;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(r,i),weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd D. MMMM YYYY LT"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e>1&&e<5}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"pár sekúnd":"pár sekundami";case"m":return n?"minúta":i?"minútu":"minútou";case"mm":return n||i?o+(t(e)?"minúty":"minút"):o+"minútami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?o+(t(e)?"hodiny":"hodín"):o+"hodinami";case"d":return n||i?"deň":"dňom";case"dd":return n||i?o+(t(e)?"dni":"dní"):o+"dňami";case"M":return n||i?"mesiac":"mesiacom";case"MM":return n||i?o+(t(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return n||i?"rok":"rokom";case"yy":return n||i?o+(t(e)?"roky":"rokov"):o+"rokmi"}}var r="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),i="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),o=e.defineLocale("sk",{months:r,monthsShort:i,monthsParse:function(e,t){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(r,i),weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd D. MMMM YYYY LT"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){ //! moment.js locale configuration //! locale : slovenian (sl) //! author : Robert Sedovšek : https://github.com/sedovsek -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":5>e?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":5>e?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":5>e?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":5>e?t||r?"leta":"leti":t||r?"let":"leti"}}var n=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}var n=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){ //! moment.js locale configuration //! locale : Albanian (sq) //! author : Flakërim Ismani : https://github.com/flakerimi //! author: Menelion Elensúle: https://github.com/Oire (tests) //! author : Oerd Cukalla : https://github.com/oerd (fixes) -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return 12>e?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : Serbian-cyrillic (sr-cyrl) //! author : Milan Janačković : https://github.com/milan-j -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&4>=e?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("sr-cyrl",{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],monthsShort:["јан.","феб.","мар.","апр.","мај","јун","јул","авг.","сеп.","окт.","нов.","дец."],weekdays:["недеља","понедељак","уторак","среда","четвртак","петак","субота"],weekdaysShort:["нед.","пон.","уто.","сре.","чет.","пет.","суб."],weekdaysMin:["не","по","ут","ср","че","пе","су"],longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("sr-cyrl",{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],monthsShort:["јан.","феб.","мар.","апр.","мај","јун","јул","авг.","сеп.","окт.","нов.","дец."],weekdays:["недеља","понедељак","уторак","среда","четвртак","петак","субота"],weekdaysShort:["нед.","пон.","уто.","сре.","чет.","пет.","суб."],weekdaysMin:["не","по","ут","ср","че","пе","су"],longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){ //! moment.js locale configuration //! locale : Serbian-latin (sr) //! author : Milan Janačković : https://github.com/milan-j -!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&4>=e?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("sr",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sre.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("sr",{months:["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar"],monthsShort:["jan.","feb.","mar.","apr.","maj","jun","jul","avg.","sep.","okt.","nov.","dec."],weekdays:["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],weekdaysShort:["ned.","pon.","uto.","sre.","čet.","pet.","sub."],weekdaysMin:["ne","po","ut","sr","če","pe","su"],longDateFormat:{LT:"H:mm",LTS:"LT:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){ //! moment.js locale configuration //! locale : swedish (sv) //! author : Jens Alm : https://github.com/ulmus @@ -374,11 +380,11 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! moment.js locale configuration //! locale : tamil (ta) //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return 2>e?" யாமம்":6>e?" வைகறை":10>e?" காலை":14>e?" நண்பகல்":18>e?" எற்பாடு":22>e?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?2>e?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, LT",LLLL:"dddd, D MMMM YYYY, LT"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : thai (th) //! author : Kridsada Thanabulpong : https://github.com/sirn -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),longDateFormat:{LT:"H นาฬิกา m นาที",LTS:"LT s วินาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา LT",LLLL:"วันddddที่ D MMMM YYYY เวลา LT"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return 12>e?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),longDateFormat:{LT:"H นาฬิกา m นาที",LTS:"LT s วินาที",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา LT",LLLL:"วันddddที่ D MMMM YYYY เวลา LT"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return t})},function(e,t,n){ //! moment.js locale configuration //! locale : Tagalog/Filipino (tl-ph) //! author : Dan Hagman @@ -400,7 +406,7 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! locale : ukrainian (uk) //! author : zemlanin : https://github.com/zemlanin //! Author : Menelion Elensúle : https://github.com/Oire -!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:"хвилина_хвилини_хвилин",hh:"година_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(i[r],+e)}function r(e,t){var n={nominative:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),accusative:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_")},r=/D[oD]? *MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function i(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return n[r][e.day()]}function o(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var s=e.defineLocale("uk",{months:r,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:i,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., LT",LLLL:"dddd, D MMMM YYYY р., LT"},calendar:{sameDay:o("[Сьогодні "),nextDay:o("[Завтра "),lastDay:o("[Вчора "),nextWeek:o("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return o("[Минулої] dddd [").call(this);case 1:case 2:case 4:return o("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return 4>e?"ночі":12>e?"ранку":17>e?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return s})},function(e,t,n){ +!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:"хвилина_хвилини_хвилин",hh:"година_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(i[r],+e)}function r(e,t){var n={nominative:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),accusative:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_")},r=/D[oD]? *MMMM?/.test(t)?"accusative":"nominative";return n[r][e.month()]}function i(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return n[r][e.day()]}function o(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var s=e.defineLocale("uk",{months:r,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:i,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"LT:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., LT",LLLL:"dddd, D MMMM YYYY р., LT"},calendar:{sameDay:o("[Сьогодні "),nextDay:o("[Завтра "),lastDay:o("[Вчора "),nextWeek:o("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return o("[Минулої] dddd [").call(this);case 1:case 2:case 4:return o("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return s})},function(e,t,n){ //! moment.js locale configuration //! locale : uzbek (uz) //! author : Sardor Muminov : https://github.com/muminoff @@ -413,64 +419,64 @@ n.rfc3986.fragment="["+p+"\\/\\?]*",e.exports=n.rfc3986},function(e,t,n){functio //! locale : chinese (zh-cn) //! author : suupic : https://github.com/suupic //! author : Zeno Zeng : https://github.com/zenozeng -!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日LT",LLLL:"YYYY年MMMD日ddddLT",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日LT",llll:"YYYY年MMMD日ddddLT"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return 600>r?"凌晨":900>r?"早上":1130>r?"上午":1230>r?"中午":1800>r?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()-t.unix()>=604800?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()-t.unix()>=604800?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return 900>r?"早上":1130>r?"上午":1230>r?"中午":1800>r?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d分鐘",h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}});return t})},function(e,t){},function(e,t,n){"use strict";var r=n(82),i=function(e){return"undefined"!=typeof e&&null!==e},o=n(320)(),s=n(284),a=Object,l=Array.prototype.push,c=Object.prototype.propertyIsEnumerable,u=function(e,t){if(!i(e))throw new TypeError("target must be an object");var n,s,u,d,h,p=a(e);for(n=1;nc;++c)if(a=l[c],i[a]!==n[a])return!1;return r(o,s)&&r(s,o)})}function o(e,t){for(var n,r=0,i=e.length;i>r;++r)n=e[r],n.name&&(h(null==t[n.name],'You may not have more than one route named "%s"',n.name),t[n.name]=n),n.childRoutes&&o(n.childRoutes,t)}function s(e,t){return e.some(function(e){return e.name===t})}function a(e,t){for(var n in t)if(String(e[n])!==String(t[n]))return!1;return!0}function l(e,t){for(var n in t)if(String(e[n])!==String(t[n]))return!1;return!0}function c(e){e=e||{},E(e)&&(e={routes:e});var t=[],n=e.location||F,r=e.scrollBehavior||N,c={},m={},R=null,B=null;"string"==typeof n&&(n=new _(n)),n instanceof _?d(!p||!1,"You should not use a static location in a DOM environment because the router will not be kept in sync with the current URL"):h(p||n.needsDOM===!1,"You cannot use %s without a DOM",n),n!==v||T()||(n=y);var O=u.createClass({displayName:"Router",statics:{isRunning:!1,cancelPendingTransition:function(){R&&(R.cancel(),R=null)},clearAllRoutes:function(){O.cancelPendingTransition(),O.namedRoutes={},O.routes=[]},addRoutes:function(e){E(e)&&(e=w(e)),o(e,O.namedRoutes),O.routes.push.apply(O.routes,e)},replaceRoutes:function(e){O.clearAllRoutes(),O.addRoutes(e),O.refresh()},match:function(e){return L.findMatch(O.routes,e)},makePath:function(e,t,n){var r;if(S.isAbsolute(e))r=e;else{var i=e instanceof M?e:O.namedRoutes[e];h(i instanceof M,'Cannot find a route named "%s"',e),r=i.path}return S.withQuery(S.injectParams(r,t),n)},makeHref:function(e,t,r){var i=O.makePath(e,t,r);return n===g?"#"+i:i},transitionTo:function(e,t,r){var i=O.makePath(e,t,r);R?n.replace(i):n.push(i)},replaceWith:function(e,t,r){n.replace(O.makePath(e,t,r))},goBack:function(){return k.length>1||n===y?(n.pop(),!0):(d(!1,"goBack() was ignored because there is no router history"),!1)},handleAbort:e.onAbort||function(e){if(n instanceof _)throw new Error("Unhandled aborted transition! Reason: "+e);e instanceof D||(e instanceof x?n.replace(O.makePath(e.to,e.params,e.query)):n.pop())},handleError:e.onError||function(e){throw e},handleLocationChange:function(e){O.dispatch(e.path,e.type)},dispatch:function(e,n){O.cancelPendingTransition();var r=c.path,o=null==n;if(r!==e||o){r&&n===f.PUSH&&O.recordScrollPosition(r);var s=O.match(e);d(null!=s,'No route matches path "%s". Make sure you have somewhere in your routes',e,e),null==s&&(s={});var a,l,u=c.routes||[],h=c.params||{},p=c.query||{},m=s.routes||[],g=s.params||{},v=s.query||{};u.length?(a=u.filter(function(e){return!i(m,e,h,g,p,v)}),l=m.filter(function(e){return!i(u,e,h,g,p,v)})):(a=[],l=m);var y=new C(e,O.replaceWith.bind(O,e));R=y;var _=t.slice(u.length-a.length);C.from(y,a,_,function(t){return t||y.abortReason?B.call(O,t,y):void C.to(y,l,g,v,function(t){B.call(O,t,y,{path:e,action:n,pathname:s.pathname,routes:m,params:g,query:v})})})}},run:function(e){h(!O.isRunning,"Router is already running"),B=function(t,n,r){t&&O.handleError(t),R===n&&(R=null,n.abortReason?O.handleAbort(n.abortReason):e.call(O,O,m=r))},n instanceof _||(n.addChangeListener&&n.addChangeListener(O.handleLocationChange),O.isRunning=!0),O.refresh()},refresh:function(){O.dispatch(n.getCurrentPath(),null)},stop:function(){O.cancelPendingTransition(),n.removeChangeListener&&n.removeChangeListener(O.handleLocationChange),O.isRunning=!1},getLocation:function(){return n},getScrollBehavior:function(){return r},getRouteAtDepth:function(e){var t=c.routes;return t&&t[e]},setRouteComponentAtDepth:function(e,n){t[e]=n},getCurrentPath:function(){return c.path},getCurrentPathname:function(){return c.pathname},getCurrentParams:function(){return c.params},getCurrentQuery:function(){return c.query},getCurrentRoutes:function(){return c.routes},isActive:function(e,t,n){return S.isAbsolute(e)?e===c.path:s(c.routes,e)&&a(c.params,t)&&(null==n||l(c.query,n))}},mixins:[b],propTypes:{children:A.falsy},childContextTypes:{routeDepth:A.number.isRequired,router:A.router.isRequired},getChildContext:function(){return{routeDepth:1,router:O}},getInitialState:function(){return c=m},componentWillReceiveProps:function(){this.setState(c=m)},componentWillUnmount:function(){O.stop()},render:function(){var e=O.getRouteAtDepth(0);return e?u.createElement(e.handler,this.props):null}});return O.clearAllRoutes(),e.routes&&O.addRoutes(e.routes),O}var u=n(2),d=n(8),h=n(3),p=n(10).canUseDOM,f=n(54),m=n(210),g=n(216),v=n(86),y=n(217),_=n(218),b=n(331),w=n(215),E=n(338),C=n(333),A=n(32),x=n(209),k=n(45),D=n(208),L=n(329),M=n(41),T=n(341),S=n(85),F=p?g:"/",N=p?m:null;e.exports=c},function(e,t,n){"use strict";function r(e,t,n){e=e||"UnknownComponent";for(var r in t)if(t.hasOwnProperty(r)){var i=t[r](n,r,e);i instanceof Error&&c(!1,i.message)}}function i(e){var t=l({},e),n=t.handler;return n&&(t.onEnter=n.willTransitionTo,t.onLeave=n.willTransitionFrom),t}function o(e){if(a.isValidElement(e)){var t=e.type,n=l({},t.defaultProps,e.props);return t.propTypes&&r(t.displayName,t.propTypes,n),t===u?p.createDefaultRoute(i(n)):t===d?p.createNotFoundRoute(i(n)):t===h?p.createRedirect(i(n)):p.createRoute(i(n),function(){n.children&&s(n.children)})}}function s(e){var t=[];return a.Children.forEach(e,function(e){(e=o(e))&&t.push(e)}),t}var a=n(2),l=n(5),c=n(8),u=n(211),d=n(212),h=n(213),p=n(41);e.exports=s},function(e,t,n){"use strict";function r(e){e===a.PUSH&&(l.length+=1);var t={path:d.getCurrentPath(),type:e};c.forEach(function(e){e.call(d,t)})}function i(){var e=d.getCurrentPath();return"/"===e.charAt(0)?!0:(d.replace("/"+e),!1)}function o(){if(i()){var e=s;s=null,r(e||a.POP)}}var s,a=n(54),l=n(45),c=[],u=!1,d={addChangeListener:function(e){c.push(e),i(),u||(window.addEventListener?window.addEventListener("hashchange",o,!1):window.attachEvent("onhashchange",o),u=!0)},removeChangeListener:function(e){c=c.filter(function(t){return t!==e}),0===c.length&&(window.removeEventListener?window.removeEventListener("hashchange",o,!1):window.removeEvent("onhashchange",o),u=!1)},push:function(e){s=a.PUSH,window.location.hash=e},replace:function(e){s=a.REPLACE,window.location.replace(window.location.pathname+window.location.search+"#"+e)},pop:function(){s=a.POP,l.back()},getCurrentPath:function(){return decodeURI(window.location.href.split("#")[1]||"")},toString:function(){return""}};e.exports=d},function(e,t,n){"use strict";var r=n(86),i=n(45),o={push:function(e){window.location=e},replace:function(e){window.location.replace(e)},pop:i.back,getCurrentPath:r.getCurrentPath,toString:function(){return""}};e.exports=o},function(e,t,n){"use strict";function r(){s(!1,"You cannot modify a static location")}var i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var n=0;n'}}]),e}();a.prototype.push=r,a.prototype.replace=r,a.prototype.pop=r,e.exports=a},function(e,t){t.arrayToObject=function(e){for(var t={},n=0,r=e.length;r>n;++n)"undefined"!=typeof e[n]&&(t[n]=e[n]);return t},t.merge=function(e,n){if(!n)return e;if("object"!=typeof n)return Array.isArray(e)?e.push(n):e[n]=!0,e;if("object"!=typeof e)return e=[e].concat(n);Array.isArray(e)&&!Array.isArray(n)&&(e=t.arrayToObject(e));for(var r=Object.keys(n),i=0,o=r.length;o>i;++i){var s=r[i],a=n[s];e[s]?e[s]=t.merge(e[s],a):e[s]=a}return e},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},t.compact=function(e,n){if("object"!=typeof e||null===e)return e;n=n||[];var r=n.indexOf(e);if(-1!==r)return n[r];if(n.push(e),Array.isArray(e)){for(var i=[],o=0,s=e.length;s>o;++o)"undefined"!=typeof e[o]&&i.push(e[o]);return i}var a=Object.keys(e);for(o=0,s=a.length;s>o;++o){var l=a[o];e[l]=t.compact(e[l],n)}return e},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null===e||"undefined"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},function(e,t,n){var r,i,o;r=n(2),i=n(347),o=n(5),e.exports=r.createClass({displayName:"SpinKit",propTypes:{spinnerName:r.PropTypes.string.isRequired,noFadeIn:r.PropTypes.bool,overrideSpinnerClassName:r.PropTypes.string},getDefaultProps:function(){return{spinnerName:"three-bounce",noFadeIn:!1,overrideSpinnerClassName:""}},render:function(){var e,t;switch(e={"fade-in":!this.props.noFadeIn,spinner:""===this.props.overrideSpinnerClassName},e[this.props.overrideSpinnerClassName]=this.props.overrideSpinnerClassName,t=i(e),this.props.className&&(t=t+" "+this.props.className),this.props.noFadeIn||n(496),this.props.spinnerName){case"three-bounce":return n(499),r.createElement("div",r.__spread({},this.props,{className:"three-bounce "+t}),r.createElement("div",{className:"bounce1"}),r.createElement("div",{className:"bounce2"}),r.createElement("div",{className:"bounce3"}));case"double-bounce":return n(495),r.createElement("div",r.__spread({},this.props,{className:"double-bounce "+t}),r.createElement("div",{className:"double-bounce1"}),r.createElement("div",{className:"double-bounce2"}));case"rotating-plane":return n(498),r.createElement("div",r.__spread({},this.props,{className:t}),r.createElement("div",{className:"rotating-plane"}));case"wave":return n(501),r.createElement("div",r.__spread({},this.props,{className:"wave "+t}),r.createElement("div",{className:"rect1"}),r.createElement("div",{className:"rect2"}),r.createElement("div",{className:"rect3"}),r.createElement("div",{className:"rect4"}),r.createElement("div",{className:"rect5"}));case"wandering-cubes":return n(500),r.createElement("div",r.__spread({},this.props,{className:"wandering-cubes "+t}),r.createElement("div",{className:"cube1"}),r.createElement("div",{className:"cube2"}));case"pulse":return n(497),r.createElement("div",r.__spread({},this.props,{className:t}),r.createElement("div",{className:"pulse"}));case"chasing-dots":return n(492),r.createElement("div",r.__spread({},this.props,{className:t}),r.createElement("div",{className:"chasing-dots"},r.createElement("div",{className:"dot1"}),r.createElement("div",{className:"dot2"})));case"circle":return n(493),r.createElement("div",r.__spread({},this.props,{className:"circle-wrapper "+t}),r.createElement("div",{className:"circle1 circle"}),r.createElement("div",{className:"circle2 circle"}),r.createElement("div",{className:"circle3 circle"}),r.createElement("div",{className:"circle4 circle"}),r.createElement("div",{className:"circle5 circle"}),r.createElement("div",{className:"circle6 circle"}),r.createElement("div",{className:"circle7 circle"}),r.createElement("div",{className:"circle8 circle"}),r.createElement("div",{className:"circle9 circle"}),r.createElement("div",{className:"circle10 circle"}),r.createElement("div",{className:"circle11 circle"}),r.createElement("div",{className:"circle12 circle"}));case"cube-grid":return n(494),r.createElement("div",r.__spread({},this.props,{className:"cube-grid "+t}),r.createElement("div",{className:"cube"}),r.createElement("div",{className:"cube"}),r.createElement("div",{className:"cube"}),r.createElement("div",{className:"cube"}),r.createElement("div",{className:"cube"}),r.createElement("div",{className:"cube"}),r.createElement("div",{className:"cube"}),r.createElement("div",{className:"cube"}),r.createElement("div",{className:"cube"}));case"wordpress":return n(502),r.createElement("div",r.__spread({},this.props,{className:t}),r.createElement("div",{className:"wordpress"},r.createElement("span",{className:"inner-circle"})))}}})},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},i=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){i.forEach(function(t){r[n(t,e)]=r[e]})});var o={background:{backgroundImage:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundColor:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0}},s={isUnitlessNumber:r,shorthandPropertyExpansions:o};e.exports=s},function(e,t,n){"use strict";var r=n(221),i=n(10),o=(n(410),n(415)),s=n(422),a=n(426),l=(n(8),a(function(e){return s(e)})),c="cssFloat";i.canUseDOM&&void 0===document.documentElement.style.cssFloat&&(c="styleFloat");var u={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];null!=r&&(t+=l(n)+":",t+=o(n,r)+";")}return t||null},setValueForStyles:function(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var s=o(i,t[i]);if("float"===i&&(i=c),s)n[i]=s;else{var a=r.shorthandPropertyExpansions[i];if(a)for(var l in a)n[l]="";else n[i]=""}}}};e.exports=u},function(e,t,n){"use strict";function r(){if(a)for(var e in l){var t=l[e],n=a.indexOf(e);if(s(n>-1),!c.plugins[n]){s(t.extractEvents),c.plugins[n]=t;var r=t.eventTypes;for(var o in r)s(i(r[o],t,o))}}}function i(e,t,n){s(!c.eventNameDispatchConfigs.hasOwnProperty(n)),c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];o(a,t,n)}return!0}return e.registrationName?(o(e.registrationName,t,n),!0):!1}function o(e,t,n){s(!c.registrationNameModules[e]),c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var s=n(3),a=null,l={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){s(!a),a=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];l.hasOwnProperty(n)&&l[n]===i||(s(!l[n]),l[n]=i,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=c.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){a=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};e.exports=c},function(e,t,n){"use strict";function r(e,t){this.forEachFunction=e,this.forEachContext=t}function i(e,t,n,r){var i=e;i.forEachFunction.call(i.forEachContext,t,r)}function o(e,t,n){if(null==e)return e;var o=r.getPooled(t,n);p(e,i,o),r.release(o)}function s(e,t,n){this.mapResult=e,this.mapFunction=t,this.mapContext=n}function a(e,t,n,r){var i=e,o=i.mapResult,s=!o.hasOwnProperty(n);if(s){var a=i.mapFunction.call(i.mapContext,t,r);o[n]=a}}function l(e,t,n){if(null==e)return e;var r={},i=s.getPooled(r,t,n);return p(e,a,i),s.release(i),h.create(r)}function c(e,t,n,r){return null}function u(e,t){return p(e,c,null)}var d=n(34),h=n(48),p=n(248),f=(n(8),d.twoArgumentPooler),m=d.threeArgumentPooler;d.addPoolingTo(r,f),d.addPoolingTo(s,m);var g={forEach:o,map:l,count:u};e.exports=g},function(e,t,n){"use strict";function r(e,t){this.props=e,this.context=t}var i=n(98),o=n(3);n(8);r.prototype.setState=function(e,t){o("object"==typeof e||"function"==typeof e||null==e),i.enqueueSetState(this,e),t&&i.enqueueCallback(this,t)},r.prototype.forceUpdate=function(e){i.enqueueForceUpdate(this),e&&i.enqueueCallback(this,e)};e.exports=r},function(e,t,n){"use strict";var r=n(222),i=n(354),o=n(56),s=n(37),a=n(43),l=n(3),c=n(106),u={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},d={updatePropertyByID:function(e,t,n){var r=s.getNode(e);l(!u.hasOwnProperty(t)),null!=n?o.setValueForProperty(r,t,n):o.deleteValueForProperty(r,t)},deletePropertyByID:function(e,t,n){var r=s.getNode(e);l(!u.hasOwnProperty(t)),o.deleteValueForProperty(r,t,n)},updateStylesByID:function(e,t){var n=s.getNode(e);r.setValueForStyles(n,t)},updateInnerHTMLByID:function(e,t){var n=s.getNode(e);c(n,t)},updateTextContentByID:function(e,t){var n=s.getNode(e);i.updateTextContent(n,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=s.getNode(e);i.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n"+i+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;n!==this._stringText&&(this._stringText=n,o.BackendIDOperations.updateTextContentByID(this._rootNodeID,n))}},unmountComponent:function(){i.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=l},function(e,t,n){"use strict";function r(e){return o(document.documentElement,e)}var i=n(376),o=n(237),s=n(239),a=n(240),l={hasSelectionCapabilities:function(e){return e&&("INPUT"===e.nodeName&&"text"===e.type||"TEXTAREA"===e.nodeName||"true"===e.contentEditable)},getSelectionInformation:function(){var e=a();return{focusedElem:e,selectionRange:l.hasSelectionCapabilities(e)?l.getSelection(e):null}},restoreSelection:function(e){var t=a(),n=e.focusedElem,i=e.selectionRange;t!==n&&r(n)&&(l.hasSelectionCapabilities(n)&&l.setSelection(n,i),s(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&"INPUT"===e.nodeName){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=i.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if("undefined"==typeof r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&"INPUT"===e.nodeName){var o=e.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.select()}else i.setOffsets(e,t)}};e.exports=l},function(e,t,n){"use strict";var r=n(408),i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(">"," "+i.CHECKSUM_ATTR_NAME+'="'+t+'">')},canReuseMarkup:function(e,t){var n=t.getAttribute(i.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=i},function(e,t,n){"use strict";var r=n(61),i=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,TEXT_CONTENT:null});e.exports=i},function(e,t,n){"use strict";function r(e){function t(t,n,r,i,o){if(i=i||w,null==n[r]){var s=_[o];return t?new Error("Required "+s+" `"+r+"` was not specified in "+("`"+i+"`.")):null}return e(n,r,i,o)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function i(e){function t(t,n,r,i){var o=t[n],s=m(o);if(s!==e){var a=_[i],l=g(o);return new Error("Invalid "+a+" `"+n+"` of type `"+l+"` "+("supplied to `"+r+"`, expected `"+e+"`."))}return null}return r(t)}function o(){return r(b.thatReturns(null))}function s(e){function t(t,n,r,i){var o=t[n];if(!Array.isArray(o)){var s=_[i],a=m(o);return new Error("Invalid "+s+" `"+n+"` of type "+("`"+a+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l>",E=a(),C=h(),A={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),any:o(),arrayOf:s,element:E,instanceOf:l,node:C,objectOf:u,oneOf:c,oneOfType:d,shape:p};e.exports=A},function(e,t,n){"use strict";function r(){this.listenersToPut=[]}var i=n(34),o=n(47),s=n(5);s(r.prototype,{enqueuePutListener:function(e,t,n){this.listenersToPut.push({rootNodeID:e,propKey:t,propValue:n})},putListeners:function(){for(var e=0;e":s.innerHTML="<"+e+">",a[e]=!s.firstChild),a[e]?h[e]:null}var i=n(10),o=n(3),s=i.canUseDOM?document.createElement("div"):null,a={circle:!0,clipPath:!0,defs:!0,ellipse:!0,g:!0,line:!0,linearGradient:!0,path:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,text:!0},l=[1,'"],c=[1,"","
    "],u=[3,"","
    "],d=[1,"",""],h={"*":[1,"?
    ","
    "],area:[1,"",""],col:[2,"","
    "],legend:[1,"
    ","
    "],param:[1,"",""],tr:[2,"","
    "],optgroup:l,option:l,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:u,th:u,circle:d,clipPath:d,defs:d,ellipse:d,g:d,line:d,linearGradient:d,path:d,polygon:d,polyline:d,radialGradient:d,rect:d,stop:d,text:d};e.exports=r},function(e,t,n){"use strict";function r(){return!o&&i.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var i=n(10),o=null;e.exports=r},function(e,t){function n(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t){"use strict";function n(e){return e&&("INPUT"===e.nodeName&&r[e.type]||"TEXTAREA"===e.nodeName)}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){"use strict";function r(e){return o(i.isValidElement(e)),e}var i=n(9),o=n(3);e.exports=r},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n;for(n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||e[n]!==t[n]))return!1;for(n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}e.exports=n},function(e,t,n){"use strict";function r(e){return g[e]}function i(e,t){return e&&null!=e.key?s(e.key):t.toString(36)}function o(e){return(""+e).replace(v,r)}function s(e){return"$"+o(e)}function a(e,t,n,r,o){var l=typeof e;if("undefined"!==l&&"boolean"!==l||(e=null),null===e||"string"===l||"number"===l||c.isValidElement(e))return r(o,e,""===t?f+i(e,0):t,n),1;var d,g,v,y=0;if(Array.isArray(e))for(var _=0;_div{width:18px;height:18px;background-color:#333;border-radius:100%;display:inline-block;-webkit-animation:bouncedelay 1.4s infinite ease-in-out;animation:bouncedelay 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.three-bounce .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.three-bounce .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes bouncedelay{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}",""])},function(e,t,n){t=e.exports=n(20)(),t.push([e.id,".wandering-cubes{width:27px;height:27px;position:relative}.cube1,.cube2{background-color:#333;width:10px;height:10px;position:absolute;top:0;left:0;-webkit-animation:cubemove 1.8s infinite ease-in-out;animation:cubemove 1.8s infinite ease-in-out}.cube2{-webkit-animation-delay:-.9s;animation-delay:-.9s}@-webkit-keyframes cubemove{25%{-webkit-transform:translateX(22px) rotate(-90deg) scale(.5)}50%{-webkit-transform:translateX(22px) translateY(22px) rotate(-180deg)}75%{-webkit-transform:translateX(0) translateY(22px) rotate(-270deg) scale(.5)}100%{-webkit-transform:rotate(-360deg)}}@keyframes cubemove{25%{transform:translateX(42px) rotate(-90deg) scale(.5);-webkit-transform:translateX(42px) rotate(-90deg) scale(.5)}50%{transform:translateX(42px) translateY(42px) rotate(-179deg);-webkit-transform:translateX(42px) translateY(42px) rotate(-179deg)}50.1%{transform:translateX(42px) translateY(42px) rotate(-180deg);-webkit-transform:translateX(42px) translateY(42px) rotate(-180deg)}75%{transform:translateX(0) translateY(42px) rotate(-270deg) scale(.5);-webkit-transform:translateX(0) translateY(42px) rotate(-270deg) scale(.5)}100%{transform:rotate(-360deg);-webkit-transform:rotate(-360deg)}}",""])},function(e,t,n){t=e.exports=n(20)(),t.push([e.id,".wave{width:50px;height:27px}.wave>div{background-color:#333;height:100%;width:6px;display:inline-block;-webkit-animation:stretchdelay 1.2s infinite ease-in-out;animation:stretchdelay 1.2s infinite ease-in-out}.wave .rect2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.wave .rect3{-webkit-animation-delay:-1s;animation-delay:-1s}.wave .rect4{-webkit-animation-delay:-.9s;animation-delay:-.9s}.wave .rect5{-webkit-animation-delay:-.8s;animation-delay:-.8s}@-webkit-keyframes stretchdelay{0%,100%,40%{-webkit-transform:scaleY(.4)}20%{-webkit-transform:scaleY(1)}}@keyframes stretchdelay{0%,100%,40%{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}",""])},function(e,t,n){t=e.exports=n(20)(),t.push([e.id,".wordpress{background:#333;width:27px;height:27px;display:inline-block;border-radius:27px;position:relative;-webkit-animation:inner-circle 1s linear infinite;animation:inner-circle 1s linear infinite}.inner-circle{display:block;background:#fff;width:8px;height:8px;position:absolute;border-radius:8px;top:5px;left:5px}@-webkit-keyframes inner-circle{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes inner-circle{0%{transform:rotate(0);-webkit-transform:rotate(0)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg)}}",""])},function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===s||t===d?62:t===a||t===h?63:l>t?-1:l+10>t?t-l+26+26:u+26>t?t-u:c+26>t?t-c+26:void 0}function n(e){function n(e){c[d++]=e}var r,i,s,a,l,c;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=e.length;l="="===e.charAt(u-2)?2:"="===e.charAt(u-1)?1:0,c=new o(3*e.length/4-l),s=l>0?e.length-4:e.length;var d=0;for(r=0,i=0;s>r;r+=4,i+=3)a=t(e.charAt(r))<<18|t(e.charAt(r+1))<<12|t(e.charAt(r+2))<<6|t(e.charAt(r+3)),n((16711680&a)>>16),n((65280&a)>>8),n(255&a);return 2===l?(a=t(e.charAt(r))<<2|t(e.charAt(r+1))>>4,n(255&a)):1===l&&(a=t(e.charAt(r))<<10|t(e.charAt(r+1))<<4|t(e.charAt(r+2))>>2,n(a>>8&255),n(255&a)),c}function i(e){function t(e){return r.charAt(e)}function n(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var i,o,s,a=e.length%3,l="";for(i=0,s=e.length-a;s>i;i+=3)o=(e[i]<<16)+(e[i+1]<<8)+e[i+2],l+=n(o);switch(a){case 1:o=e[e.length-1],l+=t(o>>2),l+=t(o<<4&63),l+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],l+=t(o>>10),l+=t(o>>4&63),l+=t(o<<2&63),l+="="}return l}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="+".charCodeAt(0),a="/".charCodeAt(0),l="0".charCodeAt(0),c="a".charCodeAt(0),u="A".charCodeAt(0),d="-".charCodeAt(0),h="_".charCodeAt(0);e.toByteArray=n,e.fromByteArray=i}(t)},function(e,t,n){n(273),n(263),n(264),n(265),n(266),n(267),n(268),n(272),n(269),n(270),n(271),n(262)},function(e,t){+function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.affix"),o="object"==typeof t&&t;i||r.data("bs.affix",i=new n(this,o)),"string"==typeof t&&i[t]()})}var n=function(t,r){this.options=e.extend({},n.DEFAULTS,r),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.4",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(e,t,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return n>i?"top":!1;if("bottom"==this.affixed)return null!=n?i+this.unpin<=o.top?!1:"bottom":e-r>=i+s?!1:"bottom";var a=null==this.affixed,l=a?i:o.top,c=a?s:t;return null!=n&&n>=i?"top":null!=r&&l+c>=e-r?"bottom":!1},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},n.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),r=this.options.offset,i=r.top,o=r.bottom,s=e(document.body).height();"object"!=typeof r&&(o=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof o&&(o=r.bottom(this.$element));var a=this.getState(s,t,i,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),c=e.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-t-o})}};var r=e.fn.affix;e.fn.affix=t,e.fn.affix.Constructor=n,e.fn.affix.noConflict=function(){return e.fn.affix=r,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var n=e(this),r=n.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),t.call(n,r)})})}(jQuery)},function(e,t){+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.alert");i||n.data("bs.alert",i=new r(this)),"string"==typeof t&&i[t].call(n)})}var n='[data-dismiss="alert"]',r=function(t){e(t).on("click",n,this.close)};r.VERSION="3.3.4",r.TRANSITION_DURATION=150,r.prototype.close=function(t){function n(){s.detach().trigger("closed.bs.alert").remove()}var i=e(this),o=i.attr("data-target");o||(o=i.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var s=e(o);t&&t.preventDefault(),s.length||(s=i.closest(".alert")),s.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(s.removeClass("in"),e.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n())};var i=e.fn.alert;e.fn.alert=t,e.fn.alert.Constructor=r,e.fn.alert.noConflict=function(){return e.fn.alert=i,this},e(document).on("click.bs.alert.data-api",n,r.prototype.close)}(jQuery)},function(e,t){+function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.button"),o="object"==typeof t&&t;i||r.data("bs.button",i=new n(this,o)),"toggle"==t?i.toggle():t&&i.setState(t)})}var n=function(t,r){this.$element=e(t),this.options=e.extend({},n.DEFAULTS,r),this.isLoading=!1};n.VERSION="3.3.4",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();t+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(e.proxy(function(){r[i](null==o[t]?this.options[t]:o[t]),"loadingText"==t?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?e=!1:t.find(".active").removeClass("active")),e&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));e&&this.$element.toggleClass("active")};var r=e.fn.button;e.fn.button=t,e.fn.button.Constructor=n,e.fn.button.noConflict=function(){return e.fn.button=r,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var r=e(n.target);r.hasClass("btn")||(r=r.closest(".btn")),t.call(r,"toggle"),n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery)},function(e,t){+function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.carousel"),o=e.extend({},n.DEFAULTS,r.data(),"object"==typeof t&&t),s="string"==typeof t?t:o.slide;i||r.data("bs.carousel",i=new n(this,o)),"number"==typeof t?i.to(t):s?i[s]():o.interval&&i.pause().cycle()})}var n=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};n.VERSION="3.3.4",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},n.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},n.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t),r="prev"==e&&0===n||"next"==e&&n==this.$items.length-1;if(r&&!this.options.wrap)return t;var i="prev"==e?-1:1,o=(n+i)%this.$items.length;return this.$items.eq(o)},n.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},n.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(t,r){var i=this.$element.find(".item.active"),o=r||this.getItemForDirection(t,i),s=this.interval,a="next"==t?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var c=o[0],u=e.Event("slide.bs.carousel",{relatedTarget:c,direction:a});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=e(this.$indicators.children()[this.getItemIndex(o)]);d&&d.addClass("active")}var h=e.Event("slid.bs.carousel",{relatedTarget:c,direction:a});return e.support.transition&&this.$element.hasClass("slide")?(o.addClass(t),o[0].offsetWidth,i.addClass(a),o.addClass(a),i.one("bsTransitionEnd",function(){o.removeClass([t,a].join(" ")).addClass("active"),i.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(h)),s&&this.cycle(),this}};var r=e.fn.carousel;e.fn.carousel=t,e.fn.carousel.Constructor=n,e.fn.carousel.noConflict=function(){return e.fn.carousel=r,this};var i=function(n){var r,i=e(this),o=e(i.attr("data-target")||(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var s=e.extend({},o.data(),i.data()),a=i.attr("data-slide-to");a&&(s.interval=!1),t.call(o,s),a&&o.data("bs.carousel").to(a),n.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var n=e(this);t.call(n,n.data())})})}(jQuery)},function(e,t){+function(e){"use strict";function t(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(r)}function n(t){return this.each(function(){var n=e(this),i=n.data("bs.collapse"),o=e.extend({},r.DEFAULTS,n.data(),"object"==typeof t&&t);!i&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),i||n.data("bs.collapse",i=new r(this,o)),"string"==typeof t&&i[t]()})}var r=function(t,n){this.$element=e(t),this.options=e.extend({},r.DEFAULTS,n),this.$trigger=e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};r.VERSION="3.3.4",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){var e=this.$element.hasClass("width");return e?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(t=i.data("bs.collapse"),t&&t.transitioning))){var o=e.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(n.call(i,"hide"),t||i.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return a.call(this);var l=e.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",e.proxy(a,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[s](this.$element[0][l])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return e.support.transition?void this.$element[n](0).one("bsTransitionEnd",e.proxy(i,this)).emulateTransitionEnd(r.TRANSITION_DURATION):i.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},r.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(n,r){var i=e(r);this.addAriaAndCollapsedClass(t(i),i)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=r,e.fn.collapse.noConflict=function(){return e.fn.collapse=i,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(r){var i=e(this);i.attr("data-target")||r.preventDefault();var o=t(i),s=o.data("bs.collapse"),a=s?"toggle":i.data();n.call(o,a)})}(jQuery)},function(e,t){+function(e){"use strict";function t(t){t&&3===t.which||(e(i).remove(),e(o).each(function(){var r=e(this),i=n(r),o={relatedTarget:this};i.hasClass("open")&&(i.trigger(t=e.Event("hide.bs.dropdown",o)),t.isDefaultPrevented()||(r.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",o)))}))}function n(t){var n=t.attr("data-target");n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&e(n);return r&&r.length?r:t.parent()}function r(t){return this.each(function(){var n=e(this),r=n.data("bs.dropdown");r||n.data("bs.dropdown",r=new s(this)),"string"==typeof t&&r[t].call(n)})}var i=".dropdown-backdrop",o='[data-toggle="dropdown"]',s=function(t){e(t).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.4",s.prototype.toggle=function(r){var i=e(this);if(!i.is(".disabled, :disabled")){var o=n(i),s=o.hasClass("open");if(t(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&e(''}),n.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var r=e.fn.popover;e.fn.popover=t,e.fn.popover.Constructor=n,e.fn.popover.noConflict=function(){return e.fn.popover=r,this}}(jQuery)},function(e,t){+function(e){"use strict";function t(n,r){this.$body=e(document.body),this.$scrollElement=e(e(n).is(document.body)?window:n),this.options=e.extend({},t.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=e(this),i=r.data("bs.scrollspy"),o="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new t(this,o)),"string"==typeof n&&i[n]()})}t.VERSION="3.3.4",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),i=t.data("target")||t.attr("href"),o=/^#./.test(i)&&e(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+r,i]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=r)return s!=(e=o[o.length-1])&&this.activate(e);if(s&&t=i[e]&&(void 0===i[e+1]||t .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var s=r.find("> .active"),a=i&&e.support.transition&&(s.length&&s.hasClass("fade")||!!r.find("> .fade").length);s.length&&a?s.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),s.removeClass("in")};var r=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=r,this};var i=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery)},function(e,t){+function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.tooltip"),o="object"==typeof t&&t;!i&&/destroy|hide/.test(t)||(i||r.data("bs.tooltip",i=new n(this,o)),"string"==typeof t&&i[t]())})}var n=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",e,t)};n.VERSION="3.3.4",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){var s=i[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(t){return t=e.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},n.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,r){n[e]!=r&&(t[e]=r)}),t},n.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n&&n.$tip&&n.$tip.is(":visible")?void(n.hoverState="in"):(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var r=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!r)return;var i=this,o=this.tip(),s=this.getUID(this.type);this.setContent(),o.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(a);c&&(a=a.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element);var u=this.getPosition(),d=o[0].offsetWidth,h=o[0].offsetHeight;if(c){var p=a,f=this.options.container?e(this.options.container):this.$element.parent(),m=this.getPosition(f);a="bottom"==a&&u.bottom+h>m.bottom?"top":"top"==a&&u.top-hm.width?"left":"left"==a&&u.left-ds.top+s.height&&(i.top=s.top+s.height-l)}else{var c=t.left-o,u=t.left+o+n;cs.width&&(i.left=s.left+s.width-u)}return i},n.prototype.getTitle=function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)},n.prototype.getUID=function(e){do e+=~~(1e6*Math.random());while(document.getElementById(e));return e},n.prototype.tip=function(){return this.$tip=this.$tip||e(this.options.template)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(t){var n=this;t&&(n=e(t.currentTarget).data("bs."+this.type),n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type)})};var r=e.fn.tooltip;e.fn.tooltip=t,e.fn.tooltip.Constructor=n,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=r,this}}(jQuery)},function(e,t){+function(e){"use strict";function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;e(this).one("bsTransitionEnd",function(){n=!0});var i=function(){n||e(r).trigger(e.support.transition.end)};return setTimeout(i,t),this},e(function(){e.support.transition=t(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){return e(t.target).is(this)?t.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery)},function(e,t,n){ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"invalid.illegal",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"invalid.illegal",regex:"\\/\\/.*$"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'[^"\\\\]+'},{token:"string",regex:'"',next:"start"},{token:"string",regex:"",next:"start"}]}};r.inherits(o,i),t.JsonHighlightRules=o}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\s+$/.test(e)?/^\s*\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var o=i[1].length,s=e.findMatchingBracket({row:t,column:o});if(!s||s.row==t)return 0;var a=this.$getIndent(e.getLine(s.row));e.replace(new r(t,0,t,o-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(e,t,n){"use strict";var r,i=e("../../lib/oop"),o=e("../behaviour").Behaviour,s=e("../../token_iterator").TokenIterator,a=e("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],c=["text","paren.rparen","punctuation.operator","comment"],u={},d=function(e){var t=-1;return e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t]?r=u[t]:void(r=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""})},h=function(e,t,n,r){var i=e.end.row-e.start.row;return{text:n+t+r,selection:[0,e.start.column+1,i,e.end.column+(i?0:1)]}},p=function(){this.add("braces","insertion",function(e,t,n,i,o){var s=n.getCursorPosition(),l=i.doc.getLine(s.row);if("{"==o){d(n);var c=n.getSelectionRange(),u=i.doc.getTextRange(c);if(""!==u&&"{"!==u&&n.getWrapBehavioursEnabled())return h(c,u,"{","}");if(p.isSaneInsertion(n,i))return/[\]\}\)]/.test(l[s.column])||n.inMultiSelectMode?(p.recordAutoInsert(n,i,"}"),{text:"{}",selection:[1,1]}):(p.recordMaybeInsert(n,i,"{"),{text:"{",selection:[1,1]})}else if("}"==o){d(n);var f=l.substring(s.column,s.column+1);if("}"==f){var m=i.$findOpeningBracket("}",{column:s.column+1,row:s.row});if(null!==m&&p.isAutoInsertedClosing(s,l,o))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else{if("\n"==o||"\r\n"==o){d(n);var g="";p.isMaybeInsertedClosing(s,l)&&(g=a.stringRepeat("}",r.maybeInsertedBrackets),p.clearMaybeInsertedClosing());var f=l.substring(s.column,s.column+1);if("}"===f){var v=i.findMatchingBracket({row:s.row,column:s.column+1},"}");if(!v)return null;var y=this.$getIndent(i.getLine(v.row))}else{if(!g)return void p.clearMaybeInsertedClosing();var y=this.$getIndent(l)}var _=y+i.getTabString();return{text:"\n"+_+"\n"+y+g,selection:[1,_.length,1,_.length]}}p.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(e,t,n,i,o){var s=i.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==s){d(n);var a=i.doc.getLine(o.start.row),l=a.substring(o.end.column,o.end.column+1);if("}"==l)return o.end.column++,o;r.maybeInsertedBrackets--}}),this.add("parens","insertion",function(e,t,n,r,i){if("("==i){d(n);var o=n.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&n.getWrapBehavioursEnabled())return h(o,s,"(",")");if(p.isSaneInsertion(n,r))return p.recordAutoInsert(n,r,")"),{text:"()",selection:[1,1]}}else if(")"==i){d(n);var a=n.getCursorPosition(),l=r.doc.getLine(a.row),c=l.substring(a.column,a.column+1);if(")"==c){var u=r.$findOpeningBracket(")",{column:a.column+1,row:a.row});if(null!==u&&p.isAutoInsertedClosing(a,l,i))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"("==o){d(n);var s=r.doc.getLine(i.start.row),a=s.substring(i.start.column+1,i.start.column+2);if(")"==a)return i.end.column++,i}}),this.add("brackets","insertion",function(e,t,n,r,i){if("["==i){d(n);var o=n.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&n.getWrapBehavioursEnabled())return h(o,s,"[","]");if(p.isSaneInsertion(n,r))return p.recordAutoInsert(n,r,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){d(n);var a=n.getCursorPosition(),l=r.doc.getLine(a.row),c=l.substring(a.column,a.column+1);if("]"==c){var u=r.$findOpeningBracket("]",{column:a.column+1,row:a.row});if(null!==u&&p.isAutoInsertedClosing(a,l,i))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"["==o){d(n);var s=r.doc.getLine(i.start.row),a=s.substring(i.start.column+1,i.start.column+2);if("]"==a)return i.end.column++,i}}),this.add("string_dquotes","insertion",function(e,t,n,r,i){if('"'==i||"'"==i){d(n);var o=i,s=n.getSelectionRange(),a=r.doc.getTextRange(s);if(""!==a&&"'"!==a&&'"'!=a&&n.getWrapBehavioursEnabled())return h(s,a,o,o);if(!a){var l=n.getCursorPosition(),c=r.doc.getLine(l.row),u=c.substring(l.column-1,l.column),p=c.substring(l.column,l.column+1),f=r.getTokenAt(l.row,l.column),m=r.getTokenAt(l.row,l.column+1);if("\\"==u&&f&&/escape/.test(f.type))return null;var g,v=f&&/string/.test(f.type),y=!m||/string/.test(m.type);if(p==o)g=v!==y;else{if(v&&!y)return null;if(v&&y)return null;var _=r.$mode.tokenRe;_.lastIndex=0;var b=_.test(u);_.lastIndex=0;var w=_.test(u);if(b||w)return null;if(p&&!/[\s;,.})\]\\]/.test(p))return null;g=!0}return{text:g?o+o:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&('"'==o||"'"==o)){d(n);var s=r.doc.getLine(i.start.row),a=s.substring(i.start.column+1,i.start.column+2);if(a==o)return i.end.column++,i}})};p.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new s(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",l)){var i=new s(t,n.row,n.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",l))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",c)},p.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},p.recordAutoInsert=function(e,t,n){var i=e.getCursorPosition(),o=t.doc.getLine(i.row);this.isAutoInsertedClosing(i,o,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=i.row,r.autoInsertedLineEnd=n+o.substr(i.column),r.autoInsertedBrackets++},p.recordMaybeInsert=function(e,t,n){var i=e.getCursorPosition(),o=t.doc.getLine(i.row);this.isMaybeInsertedClosing(i,o)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=i.row,r.maybeInsertedLineStart=o.substr(0,i.column)+n,r.maybeInsertedLineEnd=o.substr(i.column),r.maybeInsertedBrackets++},p.isAutoInsertedClosing=function(e,t,n){return r.autoInsertedBrackets>0&&e.row===r.autoInsertedRow&&n===r.autoInsertedLineEnd[0]&&t.substr(e.column)===r.autoInsertedLineEnd},p.isMaybeInsertedClosing=function(e,t){return r.maybeInsertedBrackets>0&&e.row===r.maybeInsertedRow&&t.substr(e.column)===r.maybeInsertedLineEnd&&t.substr(0,e.column)==r.maybeInsertedLineStart},p.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},p.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},i.inherits(p,o),t.CstyleBehaviour=p}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.openingBracketBlock(e,o[1],n,s);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t){var o=i.match(this.foldingStopMarker);if(o){var s=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],n,s):e.getCommentFoldRange(n,s,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length;t+=1;for(var a=t,l=e.getLength();++tc)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==c)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/)#(end)?region\b/,l=1;++ns?new i(s,r,u,t.length):void 0}}.call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],function(e,t,r){"use strict";var i=e("../lib/oop"),o=e("./text").Mode,s=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,l=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,u=e("../worker/worker_client").WorkerClient,d=function(){this.HighlightRules=s,this.$outdent=new a,this.$behaviour=new l,this.foldingRules=new c};i.inherits(d,o),function(){this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);if("start"==e){var i=t.match(/^.*[\{\(\[]\s*$/);i&&(r+=n)}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new u(["ace"],n(276),"JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",function(t){e.setAnnotations(t.data)}),t.on("terminate",function(){e.clearAnnotations()}),t},this.$id="ace/mode/json"}.call(d.prototype),t.Mode=d})},function(e,t){ace.define("ace/theme/monokai",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-monokai",t.cssText=".ace-monokai .ace_gutter { background: #2F3129; color: #8F908A } .ace-monokai .ace_print-margin { width: 1px; background: #555651 } .ace-monokai { background-color: #272822; color: #F8F8F2 } .ace-monokai .ace_cursor { color: #F8F8F0 } .ace-monokai .ace_marker-layer .ace_selection { background: #49483E } .ace-monokai.ace_multiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #272822; border-radius: 2px } .ace-monokai .ace_marker-layer .ace_step { background: rgb(102, 82, 0) } .ace-monokai .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid #49483E } .ace-monokai .ace_marker-layer .ace_active-line { background: #202020 } .ace-monokai .ace_gutter-active-line { background-color: #272727 } .ace-monokai .ace_marker-layer .ace_selected-word { border: 1px solid #49483E } .ace-monokai .ace_invisible { color: #52524d } .ace-monokai .ace_entity.ace_name.ace_tag, .ace-monokai .ace_keyword, .ace-monokai .ace_meta.ace_tag, .ace-monokai .ace_storage { color: #F92672 } .ace-monokai .ace_punctuation, .ace-monokai .ace_punctuation.ace_tag { color: #fff } .ace-monokai .ace_constant.ace_character, .ace-monokai .ace_constant.ace_language, .ace-monokai .ace_constant.ace_numeric, .ace-monokai .ace_constant.ace_other { color: #AE81FF } .ace-monokai .ace_invalid { color: #F8F8F0; background-color: #F92672 } .ace-monokai .ace_invalid.ace_deprecated { color: #F8F8F0; background-color: #AE81FF } .ace-monokai .ace_support.ace_constant, .ace-monokai .ace_support.ace_function { color: #66D9EF } .ace-monokai .ace_fold { background-color: #A6E22E; border-color: #F8F8F2 } .ace-monokai .ace_storage.ace_type, .ace-monokai .ace_support.ace_class, .ace-monokai .ace_support.ace_type { font-style: italic; color: #66D9EF } .ace-monokai .ace_entity.ace_name.ace_function, .ace-monokai .ace_entity.ace_other, .ace-monokai .ace_entity.ace_other.ace_attribute-name, .ace-monokai .ace_variable { color: #A6E22E } .ace-monokai .ace_variable.ace_parameter { font-style: italic; color: #FD971F } .ace-monokai .ace_string { color: #E6DB74 } .ace-monokai .ace_comment { color: #75715E } .ace-monokai .ace_indent-guide { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y }";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)})},function(e,t){e.exports.id="ace/mode/json_worker",e.exports.src='"no use strict";(function(window){if(void 0===window.window||!window.document){window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console,window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;var chunks=id.split("/");if(!window.acequire.tlns)return console.log("unable to load "+id);chunks[0]=window.acequire.tlns[chunks[0]]||chunks[0];var path=chunks.join("/")+".js";return window.acequire.id=id,importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},window.initBaseUrls=function initBaseUrls(topLevelNamespaces){acequire.tlns=topLevelNamespaces},window.initSender=function initSender(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.command){if(!main[msg.command])throw Error("Unknown command:"+msg.command);main[msg.command].apply(main,msg.args)}else if(msg.init){initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}else msg.event&&sender&&sender._signal(msg.event,msg.data)}}})(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){var delta=e.data,range=delta.range;if(!(range.start.row==range.end.row&&range.start.row!=this.row||range.start.row>this.row||range.start.row==this.row&&range.start.column>this.column)){var row=this.row,column=this.column,start=range.start,end=range.end;"insertText"===delta.action?start.row===row&&column>=start.column?start.column===column&&this.$insertRight||(start.row===end.row?column+=end.column-start.column:(column-=start.column,row+=end.row-start.row)):start.row!==end.row&&row>start.row&&(row+=end.row-start.row):"insertLines"===delta.action?start.row===row&&0===column&&this.$insertRight||row>=start.row&&(row+=end.row-start.row):"removeText"===delta.action?start.row===row&&column>start.column?column=end.column>=column?start.column:Math.max(0,column-(end.column-start.column)):start.row!==end.row&&row>start.row?(end.row===row&&(column=Math.max(0,column-end.column)+start.column),row-=end.row-start.row):end.row===row&&(row-=end.row-start.row,column=Math.max(0,column-end.column)+start.column):"removeLines"==delta.action&&row>=start.row&&(row>=end.row?row-=end.row-start.row:(row=start.row,column=0)),this.setPosition(row,column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(text){this.$lines=[],0===text.length?this.$lines=[""]:Array.isArray(text)?this._insertLines(0,text):this.insert({row:0,column:0},text)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength();this.remove(new Range(0,0,len,this.getLine(len-1).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){if(range.start.row==range.end.row)return this.getLine(range.start.row).substring(range.start.column,range.end.column);var lines=this.getLines(range.start.row,range.end.row);lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;return range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column)),lines.join(this.getNewLineCharacter())},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):0>position.row&&(position.row=0),position},this.insert=function(position,text){if(!text||0===text.length)return position;position=this.$clipPosition(position),1>=this.getLength()&&this.$detectNewLine(text);var lines=this.$split(text),firstLine=lines.splice(0,1)[0],lastLine=0==lines.length?null:lines.splice(lines.length-1,1)[0];return position=this.insertInLine(position,firstLine),null!==lastLine&&(position=this.insertNewLine(position),position=this._insertLines(position.row,lines),position=this.insertInLine(position,lastLine||"")),position},this.insertLines=function(row,lines){return row>=this.getLength()?this.insert({row:row,column:0},"\\n"+lines.join("\\n")):this._insertLines(Math.max(row,0),lines)},this._insertLines=function(row,lines){if(0==lines.length)return{row:row,column:0};for(;lines.length>2e4;){var end=this._insertLines(row,lines.slice(0,2e4));lines=lines.slice(2e4),row=end.row}var args=[row,0];args.push.apply(args,lines),this.$lines.splice.apply(this.$lines,args);var range=new Range(row,0,row+lines.length,0),delta={action:"insertLines",range:range,lines:lines};return this._signal("change",{data:delta}),range.end},this.insertNewLine=function(position){position=this.$clipPosition(position);var line=this.$lines[position.row]||"";this.$lines[position.row]=line.substring(0,position.column),this.$lines.splice(position.row+1,0,line.substring(position.column,line.length));var end={row:position.row+1,column:0},delta={action:"insertText",range:Range.fromPoints(position,end),text:this.getNewLineCharacter()};return this._signal("change",{data:delta}),end},this.insertInLine=function(position,text){if(0==text.length)return position;var line=this.$lines[position.row]||"";this.$lines[position.row]=line.substring(0,position.column)+text+line.substring(position.column);var end={row:position.row,column:position.column+text.length},delta={action:"insertText",range:Range.fromPoints(position,end),text:text};return this._signal("change",{data:delta}),end},this.remove=function(range){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),range.start=this.$clipPosition(range.start),range.end=this.$clipPosition(range.end),range.isEmpty())return range.start;var firstRow=range.start.row,lastRow=range.end.row;if(range.isMultiLine()){var firstFullRow=0==range.start.column?firstRow:firstRow+1,lastFullRow=lastRow-1;range.end.column>0&&this.removeInLine(lastRow,0,range.end.column),lastFullRow>=firstFullRow&&this._removeLines(firstFullRow,lastFullRow),firstFullRow!=firstRow&&(this.removeInLine(firstRow,range.start.column,this.getLine(firstRow).length),this.removeNewLine(range.start.row))}else this.removeInLine(firstRow,range.start.column,range.end.column);return range.start},this.removeInLine=function(row,startColumn,endColumn){if(startColumn!=endColumn){var range=new Range(row,startColumn,row,endColumn),line=this.getLine(row),removed=line.substring(startColumn,endColumn),newLine=line.substring(0,startColumn)+line.substring(endColumn,line.length);this.$lines.splice(row,1,newLine);var delta={action:"removeText",range:range,text:removed};return this._signal("change",{data:delta}),range.start}},this.removeLines=function(firstRow,lastRow){return 0>firstRow||lastRow>=this.getLength()?this.remove(new Range(firstRow,0,lastRow+1,0)):this._removeLines(firstRow,lastRow)},this._removeLines=function(firstRow,lastRow){var range=new Range(firstRow,0,lastRow+1,0),removed=this.$lines.splice(firstRow,lastRow-firstRow+1),delta={action:"removeLines",range:range,nl:this.getNewLineCharacter(),lines:removed};return this._signal("change",{data:delta}),removed},this.removeNewLine=function(row){var firstLine=this.getLine(row),secondLine=this.getLine(row+1),range=new Range(row,firstLine.length,row+1,0),line=firstLine+secondLine;this.$lines.splice(row,2,line);var delta={action:"removeText",range:range,text:this.getNewLineCharacter()};this._signal("change",{data:delta})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0==text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;if(this.remove(range),text)var end=this.insert(range.start,text);else end=range.start;return end},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++){var delta=deltas[i],range=Range.fromPoints(delta.range.start,delta.range.end);"insertLines"==delta.action?this.insertLines(range.start.row,delta.lines):"insertText"==delta.action?this.insert(range.start,delta.text):"removeLines"==delta.action?this._removeLines(range.start.row,range.end.row-1):"removeText"==delta.action&&this.remove(range)}},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--){var delta=deltas[i],range=Range.fromPoints(delta.range.start,delta.range.end);"insertLines"==delta.action?this._removeLines(range.start.row,range.end.row-1):"insertText"==delta.action?this.remove(range):"removeLines"==delta.action?this._insertLines(range.start.row,delta.lines):"removeText"==delta.action&&this.insert(range.start,delta.text)}},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function(obj){if("object"!=typeof obj||!obj)return obj;var cons=obj.constructor;if(cons===RegExp)return obj;var copy=cons();for(var key in obj)copy[key]="object"==typeof obj[key]?exports.deepCopy(obj[key]):obj[key];return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&").replace(/"/g,""").replace(/\'/g,"'").replace(/="0"&&"9">=ch;)string+=ch,next();if("."===ch)for(string+=".";next()&&ch>="0"&&"9">=ch;)string+=ch;if("e"===ch||"E"===ch)for(string+=ch,next(),("-"===ch||"+"===ch)&&(string+=ch,next());ch>="0"&&"9">=ch;)string+=ch,next();return number=+string,isNaN(number)?(error("Bad number"),void 0):number},string=function(){var hex,i,uffff,string="";if(\'"\'===ch)for(;next();){if(\'"\'===ch)return next(),string;if("\\\\"===ch)if(next(),"u"===ch){for(uffff=0,i=0;4>i&&(hex=parseInt(next(),16),isFinite(hex));i+=1)uffff=16*uffff+hex;string+=String.fromCharCode(uffff)}else{if("string"!=typeof escapee[ch])break;string+=escapee[ch]}else string+=ch}error("Bad string")},white=function(){for(;ch&&" ">=ch;)next()},word=function(){switch(ch){case"t":return next("t"),next("r"),next("u"),next("e"),!0;case"f":return next("f"),next("a"),next("l"),next("s"),next("e"),!1;case"n":return next("n"),next("u"),next("l"),next("l"),null}error("Unexpected \'"+ch+"\'")},array=function(){var array=[];if("["===ch){if(next("["),white(),"]"===ch)return next("]"),array;for(;ch;){if(array.push(value()),white(),"]"===ch)return next("]"),array;next(","),white()}}error("Bad array")},object=function(){var key,object={};if("{"===ch){if(next("{"),white(),"}"===ch)return next("}"),object;for(;ch;){if(key=string(),white(),next(":"),Object.hasOwnProperty.call(object,key)&&error(\'Duplicate key "\'+key+\'"\'),object[key]=value(),white(),"}"===ch)return next("}"),object;next(","),white()}}error("Bad object")};return value=function(){switch(white(),ch){case"{":return object();case"[":return array();case\'"\':return string();case"-":return number();default:return ch>="0"&&"9">=ch?number():word()}},function(source,reviver){var result;return text=source,at=0,ch=" ",result=value(),white(),ch&&error("Syntax error"),"function"==typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&"object"==typeof value)for(k in value)Object.hasOwnProperty.call(value,k)&&(v=walk(value,k),void 0!==v?value[k]=v:delete value[k]);return reviver.call(holder,key,value)}({"":result},""):result}}),ace.define("ace/mode/json_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/json/json_parse"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,parse=acequire("./json/json_parse"),JsonWorker=exports.JsonWorker=function(sender){Mirror.call(this,sender),this.setTimeout(200)};oop.inherits(JsonWorker,Mirror),function(){this.onUpdate=function(){var value=this.doc.getValue(),errors=[];try{value&&parse(value)}catch(e){var pos=this.doc.indexToPosition(e.at-1);errors.push({row:pos.row,column:pos.column,text:e.message,type:"error"})}this.sender.emit("annotate",errors)}}.call(JsonWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;\nfor(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws=" \\n\x0B\\f\\r   ᠎              \\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'; -},function(e,t,n){var r,i;/*! - Copyright (c) 2016 Jed Watson. +!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日LT",LLLL:"YYYY年MMMD日ddddLT",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日LT",llll:"YYYY年MMMD日ddddLT"},meridiemParse:/早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d分鐘",h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}});return t})},function(e,t){"use strict";var n=Object.prototype.toString;e.exports=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),r}},function(e,t,n){"use strict";var r=n(93),i=function(e){return"undefined"!=typeof e&&null!==e},o=n(341)(),s=n(309),a=Object,l=Array.prototype.push,c=Object.prototype.propertyIsEnumerable,u=function(e,t){if(!i(e))throw new TypeError("target must be an object");var n,s,u,h,d,f=a(e);for(n=1;n1||n===y?(n.pop(),!0):(h(!1,"goBack() was ignored because there is no router history"),!1)},handleAbort:e.onAbort||function(e){if(n instanceof _)throw new Error("Unhandled aborted transition! Reason: "+e);e instanceof D||(e instanceof x?n.replace(O.makePath(e.to,e.params,e.query)):n.pop())},handleError:e.onError||function(e){throw e},handleLocationChange:function(e){O.dispatch(e.path,e.type)},dispatch:function(e,n){O.cancelPendingTransition();var r=c.path,o=null==n;if(r!==e||o){r&&n===p.PUSH&&O.recordScrollPosition(r);var s=O.match(e);h(null!=s,'No route matches path "%s". Make sure you have somewhere in your routes',e,e),null==s&&(s={});var a,l,u=c.routes||[],d=c.params||{},f=c.query||{},m=s.routes||[],g=s.params||{},v=s.query||{};u.length?(a=u.filter(function(e){return!i(m,e,d,g,f,v)}),l=m.filter(function(e){return!i(u,e,d,g,f,v)})):(a=[],l=m);var y=new C(e,O.replaceWith.bind(O,e));N=y;var _=t.slice(u.length-a.length);C.from(y,a,_,function(t){return t||y.abortReason?B.call(O,t,y):void C.to(y,l,g,v,function(t){B.call(O,t,y,{path:e,action:n,pathname:s.pathname,routes:m,params:g,query:v})})})}},run:function(e){d(!O.isRunning,"Router is already running"),B=function(t,n,r){t&&O.handleError(t),N===n&&(N=null,n.abortReason?O.handleAbort(n.abortReason):e.call(O,O,m=r))},n instanceof _||(n.addChangeListener&&n.addChangeListener(O.handleLocationChange),O.isRunning=!0),O.refresh()},refresh:function(){O.dispatch(n.getCurrentPath(),null)},stop:function(){O.cancelPendingTransition(),n.removeChangeListener&&n.removeChangeListener(O.handleLocationChange),O.isRunning=!1},getLocation:function(){return n},getScrollBehavior:function(){return r},getRouteAtDepth:function(e){var t=c.routes;return t&&t[e]},setRouteComponentAtDepth:function(e,n){t[e]=n},getCurrentPath:function(){return c.path},getCurrentPathname:function(){return c.pathname},getCurrentParams:function(){return c.params},getCurrentQuery:function(){return c.query},getCurrentRoutes:function(){return c.routes},isActive:function(e,t,n){return S.isAbsolute(e)?e===c.path:s(c.routes,e)&&a(c.params,t)&&(null==n||l(c.query,n))}},mixins:[b],propTypes:{children:A.falsy},childContextTypes:{routeDepth:A.number.isRequired,router:A.router.isRequired},getChildContext:function(){return{routeDepth:1,router:O}},getInitialState:function(){return c=m},componentWillReceiveProps:function(){this.setState(c=m)},componentWillUnmount:function(){O.stop()},render:function(){var e=O.getRouteAtDepth(0);return e?u.createElement(e.handler,this.props):null}});return O.clearAllRoutes(),e.routes&&O.addRoutes(e.routes),O}var u=n(2),h=n(8),d=n(3),f=n(11).canUseDOM,p=n(58),m=n(231),g=n(237),v=n(97),y=n(238),_=n(239),b=n(352),w=n(236),E=n(359),C=n(354),A=n(33),x=n(230),k=n(47),D=n(229),L=n(350),M=n(42),T=n(362),S=n(96),F=f?g:"/",R=f?m:null;e.exports=c},function(e,t,n){"use strict";function r(e,t,n){e=e||"UnknownComponent";for(var r in t)if(t.hasOwnProperty(r)){var i=t[r](n,r,e);i instanceof Error&&c(!1,i.message)}}function i(e){var t=l({},e),n=t.handler;return n&&(t.onEnter=n.willTransitionTo,t.onLeave=n.willTransitionFrom),t}function o(e){if(a.isValidElement(e)){var t=e.type,n=l({},t.defaultProps,e.props);return t.propTypes&&r(t.displayName,t.propTypes,n),t===u?f.createDefaultRoute(i(n)):t===h?f.createNotFoundRoute(i(n)):t===d?f.createRedirect(i(n)):f.createRoute(i(n),function(){n.children&&s(n.children)})}}function s(e){var t=[];return a.Children.forEach(e,function(e){(e=o(e))&&t.push(e)}),t}var a=n(2),l=n(5),c=n(8),u=n(232),h=n(233),d=n(234),f=n(42);e.exports=s},function(e,t,n){"use strict";function r(e){e===a.PUSH&&(l.length+=1);var t={path:h.getCurrentPath(),type:e};c.forEach(function(e){e.call(h,t)})}function i(){var e=h.getCurrentPath();return"/"===e.charAt(0)||(h.replace("/"+e),!1)}function o(){if(i()){var e=s;s=null,r(e||a.POP)}}var s,a=n(58),l=n(47),c=[],u=!1,h={addChangeListener:function(e){c.push(e),i(),u||(window.addEventListener?window.addEventListener("hashchange",o,!1):window.attachEvent("onhashchange",o),u=!0)},removeChangeListener:function(e){c=c.filter(function(t){return t!==e}),0===c.length&&(window.removeEventListener?window.removeEventListener("hashchange",o,!1):window.removeEvent("onhashchange",o),u=!1)},push:function(e){s=a.PUSH,window.location.hash=e},replace:function(e){s=a.REPLACE,window.location.replace(window.location.pathname+window.location.search+"#"+e)},pop:function(){s=a.POP,l.back()},getCurrentPath:function(){return decodeURI(window.location.href.split("#")[1]||"")},toString:function(){return""}};e.exports=h},function(e,t,n){"use strict";var r=n(97),i=n(47),o={push:function(e){window.location=e},replace:function(e){window.location.replace(e)},pop:i.back,getCurrentPath:r.getCurrentPath,toString:function(){return""}};e.exports=o},function(e,t,n){"use strict";function r(){s(!1,"You cannot modify a static location")}var i=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var n=0;n'}}]),e}();a.prototype.push=r,a.prototype.replace=r,a.prototype.pop=r,e.exports=a},function(e,t){t.arrayToObject=function(e){for(var t={},n=0,r=e.length;n-1),!c.plugins[n]){s(t.extractEvents),c.plugins[n]=t;var r=t.eventTypes;for(var o in r)s(i(r[o],t,o))}}}function i(e,t,n){s(!c.eventNameDispatchConfigs.hasOwnProperty(n)),c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];o(a,t,n)}return!0}return!!e.registrationName&&(o(e.registrationName,t,n),!0)}function o(e,t,n){s(!c.registrationNameModules[e]),c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var s=n(3),a=null,l={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){s(!a),a=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];l.hasOwnProperty(n)&&l[n]===i||(s(!l[n]),l[n]=i,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=c.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){a=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};e.exports=c},function(e,t,n){"use strict";function r(e,t){this.forEachFunction=e,this.forEachContext=t}function i(e,t,n,r){var i=e;i.forEachFunction.call(i.forEachContext,t,r)}function o(e,t,n){if(null==e)return e;var o=r.getPooled(t,n);f(e,i,o),r.release(o)}function s(e,t,n){this.mapResult=e,this.mapFunction=t,this.mapContext=n}function a(e,t,n,r){var i=e,o=i.mapResult,s=!o.hasOwnProperty(n);if(s){var a=i.mapFunction.call(i.mapContext,t,r);o[n]=a}}function l(e,t,n){if(null==e)return e;var r={},i=s.getPooled(r,t,n);return f(e,a,i),s.release(i),d.create(r)}function c(e,t,n,r){return null}function u(e,t){return f(e,c,null)}var h=n(35),d=n(50),f=n(269),p=(n(8),h.twoArgumentPooler),m=h.threeArgumentPooler;h.addPoolingTo(r,p),h.addPoolingTo(s,m);var g={forEach:o,map:l,count:u};e.exports=g},function(e,t,n){"use strict";function r(e,t){this.props=e,this.context=t}var i=n(109),o=n(3);n(8);r.prototype.setState=function(e,t){o("object"==typeof e||"function"==typeof e||null==e),i.enqueueSetState(this,e),t&&i.enqueueCallback(this,t)},r.prototype.forceUpdate=function(e){i.enqueueForceUpdate(this),e&&i.enqueueCallback(this,e)};e.exports=r},function(e,t,n){"use strict";var r=n(243),i=n(375),o=n(60),s=n(38),a=n(44),l=n(3),c=n(117),u={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},h={updatePropertyByID:function(e,t,n){var r=s.getNode(e);l(!u.hasOwnProperty(t)),null!=n?o.setValueForProperty(r,t,n):o.deleteValueForProperty(r,t)},deletePropertyByID:function(e,t,n){var r=s.getNode(e);l(!u.hasOwnProperty(t)),o.deleteValueForProperty(r,t,n)},updateStylesByID:function(e,t){var n=s.getNode(e);r.setValueForStyles(n,t)},updateInnerHTMLByID:function(e,t){var n=s.getNode(e);c(n,t)},updateTextContentByID:function(e,t){var n=s.getNode(e);i.updateTextContent(n,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=s.getNode(e);i.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n"+i+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;n!==this._stringText&&(this._stringText=n,o.BackendIDOperations.updateTextContentByID(this._rootNodeID,n))}},unmountComponent:function(){i.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=l},function(e,t,n){"use strict";function r(e){return o(document.documentElement,e)}var i=n(397),o=n(258),s=n(260),a=n(261),l={hasSelectionCapabilities:function(e){return e&&("INPUT"===e.nodeName&&"text"===e.type||"TEXTAREA"===e.nodeName||"true"===e.contentEditable)},getSelectionInformation:function(){var e=a();return{focusedElem:e,selectionRange:l.hasSelectionCapabilities(e)?l.getSelection(e):null}},restoreSelection:function(e){var t=a(),n=e.focusedElem,i=e.selectionRange;t!==n&&r(n)&&(l.hasSelectionCapabilities(n)&&l.setSelection(n,i),s(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&"INPUT"===e.nodeName){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=i.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if("undefined"==typeof r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&"INPUT"===e.nodeName){var o=e.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.select()}else i.setOffsets(e,t)}};e.exports=l},function(e,t,n){"use strict";var r=n(429),i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(">"," "+i.CHECKSUM_ATTR_NAME+'="'+t+'">')},canReuseMarkup:function(e,t){var n=t.getAttribute(i.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=i},function(e,t,n){"use strict";var r=n(65),i=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,TEXT_CONTENT:null});e.exports=i},function(e,t,n){"use strict";function r(e){function t(t,n,r,i,o){if(i=i||w,null==n[r]){var s=_[o];return t?new Error("Required "+s+" `"+r+"` was not specified in "+("`"+i+"`.")):null}return e(n,r,i,o)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function i(e){function t(t,n,r,i){var o=t[n],s=m(o);if(s!==e){var a=_[i],l=g(o);return new Error("Invalid "+a+" `"+n+"` of type `"+l+"` "+("supplied to `"+r+"`, expected `"+e+"`."))}return null}return r(t)}function o(){return r(b.thatReturns(null))}function s(e){function t(t,n,r,i){var o=t[n];if(!Array.isArray(o)){var s=_[i],a=m(o);return new Error("Invalid "+s+" `"+n+"` of type "+("`"+a+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l>",E=a(),C=d(),A={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),any:o(),arrayOf:s,element:E,instanceOf:l,node:C,objectOf:u,oneOf:c,oneOfType:h,shape:f};e.exports=A},function(e,t,n){"use strict";function r(){this.listenersToPut=[]}var i=n(35),o=n(49),s=n(5);s(r.prototype,{enqueuePutListener:function(e,t,n){ +this.listenersToPut.push({rootNodeID:e,propKey:t,propValue:n})},putListeners:function(){for(var e=0;e":s.innerHTML="<"+e+">",a[e]=!s.firstChild),a[e]?d[e]:null}var i=n(11),o=n(3),s=i.canUseDOM?document.createElement("div"):null,a={circle:!0,clipPath:!0,defs:!0,ellipse:!0,g:!0,line:!0,linearGradient:!0,path:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,text:!0},l=[1,'"],c=[1,"","
    "],u=[3,"","
    "],h=[1,"",""],d={"*":[1,"?
    ","
    "],area:[1,"",""],col:[2,"","
    "],legend:[1,"
    ","
    "],param:[1,"",""],tr:[2,"","
    "],optgroup:l,option:l,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:u,th:u,circle:h,clipPath:h,defs:h,ellipse:h,g:h,line:h,linearGradient:h,path:h,polygon:h,polyline:h,radialGradient:h,rect:h,stop:h,text:h};e.exports=r},function(e,t,n){"use strict";function r(){return!o&&i.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var i=n(11),o=null;e.exports=r},function(e,t){function n(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t){"use strict";function n(e){return e&&("INPUT"===e.nodeName&&r[e.type]||"TEXTAREA"===e.nodeName)}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){"use strict";function r(e){return o(i.isValidElement(e)),e}var i=n(9),o=n(3);e.exports=r},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n;for(n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||e[n]!==t[n]))return!1;for(n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}e.exports=n},function(e,t,n){"use strict";function r(e){return g[e]}function i(e,t){return e&&null!=e.key?s(e.key):t.toString(36)}function o(e){return(""+e).replace(v,r)}function s(e){return"$"+o(e)}function a(e,t,n,r,o){var l=typeof e;if("undefined"!==l&&"boolean"!==l||(e=null),null===e||"string"===l||"number"===l||c.isValidElement(e))return r(o,e,""===t?p+i(e,0):t,n),1;var h,g,v,y=0;if(Array.isArray(e))for(var _=0;_0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===P.prototype||(t=i(t)),r?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):u(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?u(e,s,t,!1):y(e,s)):u(e,s,t,!1))):r||(s.reading=!1)}return d(s)}function u(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&g(e)),y(e,t)}function h(e,t){var n;return o(t)||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function d(e){return!e.ended&&(e.needReadable||e.length=V?e=V:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function p(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=f(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function m(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,g(e)}}function g(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(j("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?F.nextTick(v,e):v(e))}function v(e){j("emit readable"),e.emit("readable"),A(e)}function y(e,t){t.readingMore||(t.readingMore=!0,F.nextTick(_,e,t))}function _(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=k(e,t.buffer,t.decoder),n}function k(e,t,n){var r;return eo.length?o.length:e;if(i+=s===o.length?o:o.slice(0,e),e-=s,0===e){s===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++r}return t.length-=r,i}function L(e,t){var n=P.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var o=r.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),e-=s,0===e){s===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++i}return t.length-=i,n}function M(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,F.nextTick(T,t,e))}function T(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function S(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return j("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?M(this):g(this),null;if(e=p(e,t),0===e&&t.ended)return 0===t.length&&M(this),null;var r=t.needReadable;j("need readable",r),(0===t.length||t.length-e0?x(e,t):null,null===i?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&M(this)),null!==i&&this.emit("data",i),i},l.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},l.prototype.pipe=function(e,t){function n(e,t){j("onunpipe"),e===d&&t&&t.hasUnpiped===!1&&(t.hasUnpiped=!0,o())}function i(){j("onend"),e.end()}function o(){j("cleanup"),e.removeListener("close",c),e.removeListener("finish",u),e.removeListener("drain",g),e.removeListener("error",l),e.removeListener("unpipe",n),d.removeListener("end",i),d.removeListener("end",h),d.removeListener("data",a),v=!0,!f.awaitDrain||e._writableState&&!e._writableState.needDrain||g()}function a(t){j("ondata"),y=!1;var n=e.write(t);!1!==n||y||((1===f.pipesCount&&f.pipes===e||f.pipesCount>1&&S(f.pipes,e)!==-1)&&!v&&(j("false write response, pause",d._readableState.awaitDrain),d._readableState.awaitDrain++,y=!0),d.pause())}function l(t){j("onerror",t),h(),e.removeListener("error",l),0===B(e,"error")&&e.emit("error",t)}function c(){e.removeListener("finish",u),h()}function u(){j("onfinish"),e.removeListener("close",c),h()}function h(){j("unpipe"),d.unpipe(e)}var d=this,f=this._readableState;switch(f.pipesCount){case 0:f.pipes=e;break;case 1:f.pipes=[f.pipes,e];break;default:f.pipes.push(e)}f.pipesCount+=1,j("pipe count=%d opts=%j",f.pipesCount,t);var p=(!t||t.end!==!1)&&e!==r.stdout&&e!==r.stderr,m=p?i:h;f.endEmitted?F.nextTick(m):d.once("end",m),e.on("unpipe",n);var g=b(d);e.on("drain",g);var v=!1,y=!1;return d.on("data",a),s(e,"error",l),e.once("close",c),e.once("finish",u),e.emit("pipe",d),f.flowing||(j("pipe resume"),d.resume()),e},l.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function a(e,t,n){var r=t.length-1;if(r=0?(i>0&&(e.lastNeed=i-1),i):--r=0?(i>0&&(e.lastNeed=i-2),i):--r=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0))}function l(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"�"}}function c(e){var t=this.lastTotal-this.lastNeed,n=l(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){var n=a(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function d(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function p(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function m(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function g(e){return e.toString(this.encoding)}function v(e){return e&&e.length?this.write(e):""}var y=n(81).Buffer,_=y.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return ndiv{width:18px;height:18px;background-color:#333;border-radius:100%;display:inline-block;-webkit-animation:bouncedelay 1.4s infinite ease-in-out;animation:bouncedelay 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.three-bounce .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.three-bounce .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes bouncedelay{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}",""]); +},function(e,t,n){t=e.exports=n(20)(),t.push([e.id,".wandering-cubes{width:27px;height:27px;position:relative}.cube1,.cube2{background-color:#333;width:10px;height:10px;position:absolute;top:0;left:0;-webkit-animation:cubemove 1.8s infinite ease-in-out;animation:cubemove 1.8s infinite ease-in-out}.cube2{-webkit-animation-delay:-.9s;animation-delay:-.9s}@-webkit-keyframes cubemove{25%{-webkit-transform:translateX(22px) rotate(-90deg) scale(.5)}50%{-webkit-transform:translateX(22px) translateY(22px) rotate(-180deg)}75%{-webkit-transform:translateX(0) translateY(22px) rotate(-270deg) scale(.5)}100%{-webkit-transform:rotate(-360deg)}}@keyframes cubemove{25%{transform:translateX(42px) rotate(-90deg) scale(.5);-webkit-transform:translateX(42px) rotate(-90deg) scale(.5)}50%{transform:translateX(42px) translateY(42px) rotate(-179deg);-webkit-transform:translateX(42px) translateY(42px) rotate(-179deg)}50.1%{transform:translateX(42px) translateY(42px) rotate(-180deg);-webkit-transform:translateX(42px) translateY(42px) rotate(-180deg)}75%{transform:translateX(0) translateY(42px) rotate(-270deg) scale(.5);-webkit-transform:translateX(0) translateY(42px) rotate(-270deg) scale(.5)}100%{transform:rotate(-360deg);-webkit-transform:rotate(-360deg)}}",""])},function(e,t,n){t=e.exports=n(20)(),t.push([e.id,".wave{width:50px;height:27px}.wave>div{background-color:#333;height:100%;width:6px;display:inline-block;-webkit-animation:stretchdelay 1.2s infinite ease-in-out;animation:stretchdelay 1.2s infinite ease-in-out}.wave .rect2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.wave .rect3{-webkit-animation-delay:-1s;animation-delay:-1s}.wave .rect4{-webkit-animation-delay:-.9s;animation-delay:-.9s}.wave .rect5{-webkit-animation-delay:-.8s;animation-delay:-.8s}@-webkit-keyframes stretchdelay{0%,100%,40%{-webkit-transform:scaleY(.4)}20%{-webkit-transform:scaleY(1)}}@keyframes stretchdelay{0%,100%,40%{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}",""])},function(e,t,n){t=e.exports=n(20)(),t.push([e.id,".wordpress{background:#333;width:27px;height:27px;display:inline-block;border-radius:27px;position:relative;-webkit-animation:inner-circle 1s linear infinite;animation:inner-circle 1s linear infinite}.inner-circle{display:block;background:#fff;width:8px;height:8px;position:absolute;border-radius:8px;top:5px;left:5px}@-webkit-keyframes inner-circle{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes inner-circle{0%{transform:rotate(0);-webkit-transform:rotate(0)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg)}}",""])},function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===s||t===h?62:t===a||t===d?63:t0)throw new Error("Invalid string. Length must be a multiple of 4");var u=e.length;l="="===e.charAt(u-2)?2:"="===e.charAt(u-1)?1:0,c=new o(3*e.length/4-l),s=l>0?e.length-4:e.length;var h=0;for(r=0,i=0;r>16),n((65280&a)>>8),n(255&a);return 2===l?(a=t(e.charAt(r))<<2|t(e.charAt(r+1))>>4,n(255&a)):1===l&&(a=t(e.charAt(r))<<10|t(e.charAt(r+1))<<4|t(e.charAt(r+2))>>2,n(a>>8&255),n(255&a)),c}function i(e){function t(e){return r.charAt(e)}function n(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var i,o,s,a=e.length%3,l="";for(i=0,s=e.length-a;i>2),l+=t(o<<4&63),l+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],l+=t(o>>10),l+=t(o>>4&63),l+=t(o<<2&63),l+="="}return l}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="+".charCodeAt(0),a="/".charCodeAt(0),l="0".charCodeAt(0),c="a".charCodeAt(0),u="A".charCodeAt(0),h="-".charCodeAt(0),d="_".charCodeAt(0);e.toByteArray=n,e.fromByteArray=i}(t)},function(e,t,n){n(301),n(291),n(292),n(293),n(294),n(295),n(296),n(300),n(297),n(298),n(299),n(290)},function(e,t){+function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.affix"),o="object"==typeof t&&t;i||r.data("bs.affix",i=new n(this,o)),"string"==typeof t&&i[t]()})}var n=function(t,r){this.options=e.extend({},n.DEFAULTS,r),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.4",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(e,t,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return i=e-r&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},n.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),r=this.options.offset,i=r.top,o=r.bottom,s=e(document.body).height();"object"!=typeof r&&(o=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof o&&(o=r.bottom(this.$element));var a=this.getState(s,t,i,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),c=e.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-t-o})}};var r=e.fn.affix;e.fn.affix=t,e.fn.affix.Constructor=n,e.fn.affix.noConflict=function(){return e.fn.affix=r,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var n=e(this),r=n.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),t.call(n,r)})})}(jQuery)},function(e,t){+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.alert");i||n.data("bs.alert",i=new r(this)),"string"==typeof t&&i[t].call(n)})}var n='[data-dismiss="alert"]',r=function(t){e(t).on("click",n,this.close)};r.VERSION="3.3.4",r.TRANSITION_DURATION=150,r.prototype.close=function(t){function n(){s.detach().trigger("closed.bs.alert").remove()}var i=e(this),o=i.attr("data-target");o||(o=i.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,""));var s=e(o);t&&t.preventDefault(),s.length||(s=i.closest(".alert")),s.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(s.removeClass("in"),e.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n())};var i=e.fn.alert;e.fn.alert=t,e.fn.alert.Constructor=r,e.fn.alert.noConflict=function(){return e.fn.alert=i,this},e(document).on("click.bs.alert.data-api",n,r.prototype.close)}(jQuery)},function(e,t){+function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.button"),o="object"==typeof t&&t;i||r.data("bs.button",i=new n(this,o)),"toggle"==t?i.toggle():t&&i.setState(t)})}var n=function(t,r){this.$element=e(t),this.options=e.extend({},n.DEFAULTS,r),this.isLoading=!1};n.VERSION="3.3.4",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();t+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(e.proxy(function(){r[i](null==o[t]?this.options[t]:o[t]),"loadingText"==t?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?e=!1:t.find(".active").removeClass("active")),e&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));e&&this.$element.toggleClass("active")};var r=e.fn.button;e.fn.button=t,e.fn.button.Constructor=n,e.fn.button.noConflict=function(){return e.fn.button=r,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var r=e(n.target);r.hasClass("btn")||(r=r.closest(".btn")),t.call(r,"toggle"),n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery)},function(e,t){+function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.carousel"),o=e.extend({},n.DEFAULTS,r.data(),"object"==typeof t&&t),s="string"==typeof t?t:o.slide;i||r.data("bs.carousel",i=new n(this,o)),"number"==typeof t?i.to(t):s?i[s]():o.interval&&i.pause().cycle()})}var n=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};n.VERSION="3.3.4",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},n.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},n.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t),r="prev"==e&&0===n||"next"==e&&n==this.$items.length-1;if(r&&!this.options.wrap)return t;var i="prev"==e?-1:1,o=(n+i)%this.$items.length;return this.$items.eq(o)},n.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},n.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(t,r){var i=this.$element.find(".item.active"),o=r||this.getItemForDirection(t,i),s=this.interval,a="next"==t?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var c=o[0],u=e.Event("slide.bs.carousel",{relatedTarget:c,direction:a});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=e(this.$indicators.children()[this.getItemIndex(o)]);h&&h.addClass("active")}var d=e.Event("slid.bs.carousel",{relatedTarget:c,direction:a});return e.support.transition&&this.$element.hasClass("slide")?(o.addClass(t),o[0].offsetWidth,i.addClass(a),o.addClass(a),i.one("bsTransitionEnd",function(){o.removeClass([t,a].join(" ")).addClass("active"),i.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(d)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(d)),s&&this.cycle(),this}};var r=e.fn.carousel;e.fn.carousel=t,e.fn.carousel.Constructor=n,e.fn.carousel.noConflict=function(){return e.fn.carousel=r,this};var i=function(n){var r,i=e(this),o=e(i.attr("data-target")||(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var s=e.extend({},o.data(),i.data()),a=i.attr("data-slide-to");a&&(s.interval=!1),t.call(o,s),a&&o.data("bs.carousel").to(a),n.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var n=e(this);t.call(n,n.data())})})}(jQuery)},function(e,t){+function(e){"use strict";function t(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(r)}function n(t){return this.each(function(){var n=e(this),i=n.data("bs.collapse"),o=e.extend({},r.DEFAULTS,n.data(),"object"==typeof t&&t);!i&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),i||n.data("bs.collapse",i=new r(this,o)),"string"==typeof t&&i[t]()})}var r=function(t,n){this.$element=e(t),this.options=e.extend({},r.DEFAULTS,n),this.$trigger=e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};r.VERSION="3.3.4",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){var e=this.$element.hasClass("width");return e?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(t=i.data("bs.collapse"),t&&t.transitioning))){var o=e.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(n.call(i,"hide"),t||i.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return a.call(this);var l=e.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",e.proxy(a,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[s](this.$element[0][l])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return e.support.transition?void this.$element[n](0).one("bsTransitionEnd",e.proxy(i,this)).emulateTransitionEnd(r.TRANSITION_DURATION):i.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},r.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(n,r){var i=e(r);this.addAriaAndCollapsedClass(t(i),i)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=r,e.fn.collapse.noConflict=function(){return e.fn.collapse=i,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(r){var i=e(this);i.attr("data-target")||r.preventDefault();var o=t(i),s=o.data("bs.collapse"),a=s?"toggle":i.data();n.call(o,a)})}(jQuery)},function(e,t){+function(e){"use strict";function t(t){t&&3===t.which||(e(i).remove(),e(o).each(function(){var r=e(this),i=n(r),o={relatedTarget:this};i.hasClass("open")&&(i.trigger(t=e.Event("hide.bs.dropdown",o)),t.isDefaultPrevented()||(r.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",o)))}))}function n(t){var n=t.attr("data-target");n||(n=t.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&e(n);return r&&r.length?r:t.parent()}function r(t){return this.each(function(){var n=e(this),r=n.data("bs.dropdown");r||n.data("bs.dropdown",r=new s(this)),"string"==typeof t&&r[t].call(n)})}var i=".dropdown-backdrop",o='[data-toggle="dropdown"]',s=function(t){e(t).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.4",s.prototype.toggle=function(r){var i=e(this);if(!i.is(".disabled, :disabled")){var o=n(i),s=o.hasClass("open");if(t(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&e(''}),n.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var r=e.fn.popover;e.fn.popover=t,e.fn.popover.Constructor=n,e.fn.popover.noConflict=function(){return e.fn.popover=r,this}}(jQuery)},function(e,t){+function(e){"use strict";function t(n,r){this.$body=e(document.body),this.$scrollElement=e(e(n).is(document.body)?window:n),this.options=e.extend({},t.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=e(this),i=r.data("bs.scrollspy"),o="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new t(this,o)),"string"==typeof n&&i[n]()})}t.VERSION="3.3.4",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),i=t.data("target")||t.attr("href"),o=/^#./.test(i)&&e(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+r,i]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=r)return s!=(e=o[o.length-1])&&this.activate(e);if(s&&t=i[e]&&(void 0===i[e+1]||t .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var s=r.find("> .active"),a=i&&e.support.transition&&(s.length&&s.hasClass("fade")||!!r.find("> .fade").length);s.length&&a?s.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),s.removeClass("in")};var r=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=r,this};var i=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery)},function(e,t){+function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.tooltip"),o="object"==typeof t&&t;!i&&/destroy|hide/.test(t)||(i||r.data("bs.tooltip",i=new n(this,o)),"string"==typeof t&&i[t]())})}var n=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",e,t)};n.VERSION="3.3.4",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),o=i.length;o--;){ +var s=i[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(t){return t=e.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},n.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,r){n[e]!=r&&(t[e]=r)}),t},n.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n&&n.$tip&&n.$tip.is(":visible")?void(n.hoverState="in"):(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var r=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!r)return;var i=this,o=this.tip(),s=this.getUID(this.type);this.setContent(),o.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(a);c&&(a=a.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element);var u=this.getPosition(),h=o[0].offsetWidth,d=o[0].offsetHeight;if(c){var f=a,p=this.options.container?e(this.options.container):this.$element.parent(),m=this.getPosition(p);a="bottom"==a&&u.bottom+d>m.bottom?"top":"top"==a&&u.top-dm.width?"left":"left"==a&&u.left-hs.top+s.height&&(i.top=s.top+s.height-l)}else{var c=t.left-o,u=t.left+o+n;cs.width&&(i.left=s.left+s.width-u)}return i},n.prototype.getTitle=function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)},n.prototype.getUID=function(e){do e+=~~(1e6*Math.random());while(document.getElementById(e));return e},n.prototype.tip=function(){return this.$tip=this.$tip||e(this.options.template)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(t){var n=this;t&&(n=e(t.currentTarget).data("bs."+this.type),n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type)})};var r=e.fn.tooltip;e.fn.tooltip=t,e.fn.tooltip.Constructor=n,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=r,this}}(jQuery)},function(e,t){+function(e){"use strict";function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;e(this).one("bsTransitionEnd",function(){n=!0});var i=function(){n||e(r).trigger(e.support.transition.end)};return setTimeout(i,t),this},e(function(){e.support.transition=t(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery)},function(e,t,n){ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"invalid.illegal",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"invalid.illegal",regex:"\\/\\/.*$"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'[^"\\\\]+'},{token:"string",regex:'"',next:"start"},{token:"string",regex:"",next:"start"}]}};r.inherits(o,i),t.JsonHighlightRules=o}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var o=i[1].length,s=e.findMatchingBracket({row:t,column:o});if(!s||s.row==t)return 0;var a=this.$getIndent(e.getLine(s.row));e.replace(new r(t,0,t,o-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(e,t,n){"use strict";var r,i=e("../../lib/oop"),o=e("../behaviour").Behaviour,s=e("../../token_iterator").TokenIterator,a=e("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],c=["text","paren.rparen","punctuation.operator","comment"],u={},h=function(e){var t=-1;return e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t]?r=u[t]:void(r=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""})},d=function(e,t,n,r){var i=e.end.row-e.start.row;return{text:n+t+r,selection:[0,e.start.column+1,i,e.end.column+(i?0:1)]}},f=function(){this.add("braces","insertion",function(e,t,n,i,o){var s=n.getCursorPosition(),l=i.doc.getLine(s.row);if("{"==o){h(n);var c=n.getSelectionRange(),u=i.doc.getTextRange(c);if(""!==u&&"{"!==u&&n.getWrapBehavioursEnabled())return d(c,u,"{","}");if(f.isSaneInsertion(n,i))return/[\]\}\)]/.test(l[s.column])||n.inMultiSelectMode?(f.recordAutoInsert(n,i,"}"),{text:"{}",selection:[1,1]}):(f.recordMaybeInsert(n,i,"{"),{text:"{",selection:[1,1]})}else if("}"==o){h(n);var p=l.substring(s.column,s.column+1);if("}"==p){var m=i.$findOpeningBracket("}",{column:s.column+1,row:s.row});if(null!==m&&f.isAutoInsertedClosing(s,l,o))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else{if("\n"==o||"\r\n"==o){h(n);var g="";f.isMaybeInsertedClosing(s,l)&&(g=a.stringRepeat("}",r.maybeInsertedBrackets),f.clearMaybeInsertedClosing());var p=l.substring(s.column,s.column+1);if("}"===p){var v=i.findMatchingBracket({row:s.row,column:s.column+1},"}");if(!v)return null;var y=this.$getIndent(i.getLine(v.row))}else{if(!g)return void f.clearMaybeInsertedClosing();var y=this.$getIndent(l)}var _=y+i.getTabString();return{text:"\n"+_+"\n"+y+g,selection:[1,_.length,1,_.length]}}f.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(e,t,n,i,o){var s=i.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==s){h(n);var a=i.doc.getLine(o.start.row),l=a.substring(o.end.column,o.end.column+1);if("}"==l)return o.end.column++,o;r.maybeInsertedBrackets--}}),this.add("parens","insertion",function(e,t,n,r,i){if("("==i){h(n);var o=n.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&n.getWrapBehavioursEnabled())return d(o,s,"(",")");if(f.isSaneInsertion(n,r))return f.recordAutoInsert(n,r,")"),{text:"()",selection:[1,1]}}else if(")"==i){h(n);var a=n.getCursorPosition(),l=r.doc.getLine(a.row),c=l.substring(a.column,a.column+1);if(")"==c){var u=r.$findOpeningBracket(")",{column:a.column+1,row:a.row});if(null!==u&&f.isAutoInsertedClosing(a,l,i))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"("==o){h(n);var s=r.doc.getLine(i.start.row),a=s.substring(i.start.column+1,i.start.column+2);if(")"==a)return i.end.column++,i}}),this.add("brackets","insertion",function(e,t,n,r,i){if("["==i){h(n);var o=n.getSelectionRange(),s=r.doc.getTextRange(o);if(""!==s&&n.getWrapBehavioursEnabled())return d(o,s,"[","]");if(f.isSaneInsertion(n,r))return f.recordAutoInsert(n,r,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){h(n);var a=n.getCursorPosition(),l=r.doc.getLine(a.row),c=l.substring(a.column,a.column+1);if("]"==c){var u=r.$findOpeningBracket("]",{column:a.column+1,row:a.row});if(null!==u&&f.isAutoInsertedClosing(a,l,i))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&"["==o){h(n);var s=r.doc.getLine(i.start.row),a=s.substring(i.start.column+1,i.start.column+2);if("]"==a)return i.end.column++,i}}),this.add("string_dquotes","insertion",function(e,t,n,r,i){if('"'==i||"'"==i){h(n);var o=i,s=n.getSelectionRange(),a=r.doc.getTextRange(s);if(""!==a&&"'"!==a&&'"'!=a&&n.getWrapBehavioursEnabled())return d(s,a,o,o);if(!a){var l=n.getCursorPosition(),c=r.doc.getLine(l.row),u=c.substring(l.column-1,l.column),f=c.substring(l.column,l.column+1),p=r.getTokenAt(l.row,l.column),m=r.getTokenAt(l.row,l.column+1);if("\\"==u&&p&&/escape/.test(p.type))return null;var g,v=p&&/string/.test(p.type),y=!m||/string/.test(m.type);if(f==o)g=v!==y;else{if(v&&!y)return null;if(v&&y)return null;var _=r.$mode.tokenRe;_.lastIndex=0;var b=_.test(u);_.lastIndex=0;var w=_.test(u);if(b||w)return null;if(f&&!/[\s;,.})\]\\]/.test(f))return null;g=!0}return{text:g?o+o:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(e,t,n,r,i){var o=r.doc.getTextRange(i);if(!i.isMultiLine()&&('"'==o||"'"==o)){h(n);var s=r.doc.getLine(i.start.row),a=s.substring(i.start.column+1,i.start.column+2);if(a==o)return i.end.column++,i}})};f.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new s(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",l)){var i=new s(t,n.row,n.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",l))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",c)},f.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},f.recordAutoInsert=function(e,t,n){var i=e.getCursorPosition(),o=t.doc.getLine(i.row);this.isAutoInsertedClosing(i,o,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=i.row,r.autoInsertedLineEnd=n+o.substr(i.column),r.autoInsertedBrackets++},f.recordMaybeInsert=function(e,t,n){var i=e.getCursorPosition(),o=t.doc.getLine(i.row);this.isMaybeInsertedClosing(i,o)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=i.row,r.maybeInsertedLineStart=o.substr(0,i.column)+n,r.maybeInsertedLineEnd=o.substr(i.column),r.maybeInsertedBrackets++},f.isAutoInsertedClosing=function(e,t,n){return r.autoInsertedBrackets>0&&e.row===r.autoInsertedRow&&n===r.autoInsertedLineEnd[0]&&t.substr(e.column)===r.autoInsertedLineEnd},f.isMaybeInsertedClosing=function(e,t){return r.maybeInsertedBrackets>0&&e.row===r.maybeInsertedRow&&t.substr(e.column)===r.maybeInsertedLineEnd&&t.substr(0,e.column)==r.maybeInsertedLineStart},f.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},f.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},i.inherits(f,o),t.CstyleBehaviour=f}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,o=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,o),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var o=i.match(this.foldingStartMarker);if(o){var s=o.index;if(o[1])return this.openingBracketBlock(e,o[1],n,s);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t){var o=i.match(this.foldingStopMarker);if(o){var s=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],n,s):e.getCommentFoldRange(n,s,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\S/),o=t,s=n.length;t+=1;for(var a=t,l=e.getLength();++tc)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=o)break;if(u.isMultiLine())t=u.end.row;else if(r==c)break}a=t}}return new i(o,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),o=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/)#(end)?region\b/,l=1;++ns)return new i(s,r,u,t.length)}}.call(s.prototype)}),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],function(e,t,r){"use strict";var i=e("../lib/oop"),o=e("./text").Mode,s=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,l=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,u=e("../worker/worker_client").WorkerClient,h=function(){this.HighlightRules=s,this.$outdent=new a,this.$behaviour=new l,this.foldingRules=new c};i.inherits(h,o),function(){this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);if("start"==e){var i=t.match(/^.*[\{\(\[]\s*$/);i&&(r+=n)}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new u(["ace"],n(304),"JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",function(t){e.setAnnotations(t.data)}),t.on("terminate",function(){e.clearAnnotations()}),t},this.$id="ace/mode/json"}.call(h.prototype),t.Mode=h})},function(e,t){ace.define("ace/theme/monokai",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-monokai",t.cssText=".ace-monokai .ace_gutter {\tbackground: #2F3129;\tcolor: #8F908A\t}\t.ace-monokai .ace_print-margin {\twidth: 1px;\tbackground: #555651\t}\t.ace-monokai {\tbackground-color: #272822;\tcolor: #F8F8F2\t}\t.ace-monokai .ace_cursor {\tcolor: #F8F8F0\t}\t.ace-monokai .ace_marker-layer .ace_selection {\tbackground: #49483E\t}\t.ace-monokai.ace_multiselect .ace_selection.ace_start {\tbox-shadow: 0 0 3px 0px #272822;\tborder-radius: 2px\t}\t.ace-monokai .ace_marker-layer .ace_step {\tbackground: rgb(102, 82, 0)\t}\t.ace-monokai .ace_marker-layer .ace_bracket {\tmargin: -1px 0 0 -1px;\tborder: 1px solid #49483E\t}\t.ace-monokai .ace_marker-layer .ace_active-line {\tbackground: #202020\t}\t.ace-monokai .ace_gutter-active-line {\tbackground-color: #272727\t}\t.ace-monokai .ace_marker-layer .ace_selected-word {\tborder: 1px solid #49483E\t}\t.ace-monokai .ace_invisible {\tcolor: #52524d\t}\t.ace-monokai .ace_entity.ace_name.ace_tag,\t.ace-monokai .ace_keyword,\t.ace-monokai .ace_meta.ace_tag,\t.ace-monokai .ace_storage {\tcolor: #F92672\t}\t.ace-monokai .ace_punctuation,\t.ace-monokai .ace_punctuation.ace_tag {\tcolor: #fff\t}\t.ace-monokai .ace_constant.ace_character,\t.ace-monokai .ace_constant.ace_language,\t.ace-monokai .ace_constant.ace_numeric,\t.ace-monokai .ace_constant.ace_other {\tcolor: #AE81FF\t}\t.ace-monokai .ace_invalid {\tcolor: #F8F8F0;\tbackground-color: #F92672\t}\t.ace-monokai .ace_invalid.ace_deprecated {\tcolor: #F8F8F0;\tbackground-color: #AE81FF\t}\t.ace-monokai .ace_support.ace_constant,\t.ace-monokai .ace_support.ace_function {\tcolor: #66D9EF\t}\t.ace-monokai .ace_fold {\tbackground-color: #A6E22E;\tborder-color: #F8F8F2\t}\t.ace-monokai .ace_storage.ace_type,\t.ace-monokai .ace_support.ace_class,\t.ace-monokai .ace_support.ace_type {\tfont-style: italic;\tcolor: #66D9EF\t}\t.ace-monokai .ace_entity.ace_name.ace_function,\t.ace-monokai .ace_entity.ace_other,\t.ace-monokai .ace_entity.ace_other.ace_attribute-name,\t.ace-monokai .ace_variable {\tcolor: #A6E22E\t}\t.ace-monokai .ace_variable.ace_parameter {\tfont-style: italic;\tcolor: #FD971F\t}\t.ace-monokai .ace_string {\tcolor: #E6DB74\t}\t.ace-monokai .ace_comment {\tcolor: #75715E\t}\t.ace-monokai .ace_indent-guide {\tbackground: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y\t}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)})},function(e,t){e.exports.id="ace/mode/json_worker",e.exports.src='"no use strict";(function(window){if(void 0===window.window||!window.document){window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console,window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;var chunks=id.split("/");if(!window.acequire.tlns)return console.log("unable to load "+id);chunks[0]=window.acequire.tlns[chunks[0]]||chunks[0];var path=chunks.join("/")+".js";return window.acequire.id=id,importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},window.initBaseUrls=function initBaseUrls(topLevelNamespaces){acequire.tlns=topLevelNamespaces},window.initSender=function initSender(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.command){if(!main[msg.command])throw Error("Unknown command:"+msg.command);main[msg.command].apply(main,msg.args)}else if(msg.init){initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}else msg.event&&sender&&sender._signal(msg.event,msg.data)}}})(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){var delta=e.data,range=delta.range;if(!(range.start.row==range.end.row&&range.start.row!=this.row||range.start.row>this.row||range.start.row==this.row&&range.start.column>this.column)){var row=this.row,column=this.column,start=range.start,end=range.end;"insertText"===delta.action?start.row===row&&column>=start.column?start.column===column&&this.$insertRight||(start.row===end.row?column+=end.column-start.column:(column-=start.column,row+=end.row-start.row)):start.row!==end.row&&row>start.row&&(row+=end.row-start.row):"insertLines"===delta.action?start.row===row&&0===column&&this.$insertRight||row>=start.row&&(row+=end.row-start.row):"removeText"===delta.action?start.row===row&&column>start.column?column=end.column>=column?start.column:Math.max(0,column-(end.column-start.column)):start.row!==end.row&&row>start.row?(end.row===row&&(column=Math.max(0,column-end.column)+start.column),row-=end.row-start.row):end.row===row&&(row-=end.row-start.row,column=Math.max(0,column-end.column)+start.column):"removeLines"==delta.action&&row>=start.row&&(row>=end.row?row-=end.row-start.row:(row=start.row,column=0)),this.setPosition(row,column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(text){this.$lines=[],0===text.length?this.$lines=[""]:Array.isArray(text)?this._insertLines(0,text):this.insert({row:0,column:0},text)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength();this.remove(new Range(0,0,len,this.getLine(len-1).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){if(range.start.row==range.end.row)return this.getLine(range.start.row).substring(range.start.column,range.end.column);var lines=this.getLines(range.start.row,range.end.row);lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;return range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column)),lines.join(this.getNewLineCharacter())},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):0>position.row&&(position.row=0),position},this.insert=function(position,text){if(!text||0===text.length)return position;position=this.$clipPosition(position),1>=this.getLength()&&this.$detectNewLine(text);var lines=this.$split(text),firstLine=lines.splice(0,1)[0],lastLine=0==lines.length?null:lines.splice(lines.length-1,1)[0];return position=this.insertInLine(position,firstLine),null!==lastLine&&(position=this.insertNewLine(position),position=this._insertLines(position.row,lines),position=this.insertInLine(position,lastLine||"")),position},this.insertLines=function(row,lines){return row>=this.getLength()?this.insert({row:row,column:0},"\\n"+lines.join("\\n")):this._insertLines(Math.max(row,0),lines)},this._insertLines=function(row,lines){if(0==lines.length)return{row:row,column:0};for(;lines.length>2e4;){var end=this._insertLines(row,lines.slice(0,2e4));lines=lines.slice(2e4),row=end.row}var args=[row,0];args.push.apply(args,lines),this.$lines.splice.apply(this.$lines,args);var range=new Range(row,0,row+lines.length,0),delta={action:"insertLines",range:range,lines:lines};return this._signal("change",{data:delta}),range.end},this.insertNewLine=function(position){position=this.$clipPosition(position);var line=this.$lines[position.row]||"";this.$lines[position.row]=line.substring(0,position.column),this.$lines.splice(position.row+1,0,line.substring(position.column,line.length));var end={row:position.row+1,column:0},delta={action:"insertText",range:Range.fromPoints(position,end),text:this.getNewLineCharacter()};return this._signal("change",{data:delta}),end},this.insertInLine=function(position,text){if(0==text.length)return position;var line=this.$lines[position.row]||"";this.$lines[position.row]=line.substring(0,position.column)+text+line.substring(position.column);var end={row:position.row,column:position.column+text.length},delta={action:"insertText",range:Range.fromPoints(position,end),text:text};return this._signal("change",{data:delta}),end},this.remove=function(range){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),range.start=this.$clipPosition(range.start),range.end=this.$clipPosition(range.end),range.isEmpty())return range.start;var firstRow=range.start.row,lastRow=range.end.row;if(range.isMultiLine()){var firstFullRow=0==range.start.column?firstRow:firstRow+1,lastFullRow=lastRow-1;range.end.column>0&&this.removeInLine(lastRow,0,range.end.column),lastFullRow>=firstFullRow&&this._removeLines(firstFullRow,lastFullRow),firstFullRow!=firstRow&&(this.removeInLine(firstRow,range.start.column,this.getLine(firstRow).length),this.removeNewLine(range.start.row))}else this.removeInLine(firstRow,range.start.column,range.end.column);return range.start},this.removeInLine=function(row,startColumn,endColumn){if(startColumn!=endColumn){var range=new Range(row,startColumn,row,endColumn),line=this.getLine(row),removed=line.substring(startColumn,endColumn),newLine=line.substring(0,startColumn)+line.substring(endColumn,line.length);this.$lines.splice(row,1,newLine);var delta={action:"removeText",range:range,text:removed};return this._signal("change",{data:delta}),range.start}},this.removeLines=function(firstRow,lastRow){return 0>firstRow||lastRow>=this.getLength()?this.remove(new Range(firstRow,0,lastRow+1,0)):this._removeLines(firstRow,lastRow)},this._removeLines=function(firstRow,lastRow){var range=new Range(firstRow,0,lastRow+1,0),removed=this.$lines.splice(firstRow,lastRow-firstRow+1),delta={action:"removeLines",range:range,nl:this.getNewLineCharacter(),lines:removed};return this._signal("change",{data:delta}),removed},this.removeNewLine=function(row){var firstLine=this.getLine(row),secondLine=this.getLine(row+1),range=new Range(row,firstLine.length,row+1,0),line=firstLine+secondLine;this.$lines.splice(row,2,line);var delta={action:"removeText",range:range,text:this.getNewLineCharacter()};this._signal("change",{data:delta})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0==text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;if(this.remove(range),text)var end=this.insert(range.start,text);else end=range.start;return end},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++){var delta=deltas[i],range=Range.fromPoints(delta.range.start,delta.range.end);"insertLines"==delta.action?this.insertLines(range.start.row,delta.lines):"insertText"==delta.action?this.insert(range.start,delta.text):"removeLines"==delta.action?this._removeLines(range.start.row,range.end.row-1):"removeText"==delta.action&&this.remove(range)}},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--){var delta=deltas[i],range=Range.fromPoints(delta.range.start,delta.range.end);"insertLines"==delta.action?this._removeLines(range.start.row,range.end.row-1):"insertText"==delta.action?this.remove(range):"removeLines"==delta.action?this._insertLines(range.start.row,delta.lines):"removeText"==delta.action&&this.insert(range.start,delta.text)}},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function(obj){if("object"!=typeof obj||!obj)return obj;var cons=obj.constructor;if(cons===RegExp)return obj;var copy=cons();for(var key in obj)copy[key]="object"==typeof obj[key]?exports.deepCopy(obj[key]):obj[key];return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&").replace(/"/g,""").replace(/\'/g,"'").replace(/="0"&&"9">=ch;)string+=ch,next();if("."===ch)for(string+=".";next()&&ch>="0"&&"9">=ch;)string+=ch;if("e"===ch||"E"===ch)for(string+=ch,next(),("-"===ch||"+"===ch)&&(string+=ch,next());ch>="0"&&"9">=ch;)string+=ch,next();return number=+string,isNaN(number)?(error("Bad number"),void 0):number},string=function(){var hex,i,uffff,string="";if(\'"\'===ch)for(;next();){if(\'"\'===ch)return next(),string;if("\\\\"===ch)if(next(),"u"===ch){for(uffff=0,i=0;4>i&&(hex=parseInt(next(),16),isFinite(hex));i+=1)uffff=16*uffff+hex;string+=String.fromCharCode(uffff)}else{if("string"!=typeof escapee[ch])break;string+=escapee[ch]}else string+=ch}error("Bad string")},white=function(){for(;ch&&" ">=ch;)next()},word=function(){switch(ch){case"t":return next("t"),next("r"),next("u"),next("e"),!0;case"f":return next("f"),next("a"),next("l"),next("s"),next("e"),!1;case"n":return next("n"),next("u"),next("l"),next("l"),null}error("Unexpected \'"+ch+"\'")},array=function(){var array=[];if("["===ch){if(next("["),white(),"]"===ch)return next("]"),array;for(;ch;){if(array.push(value()),white(),"]"===ch)return next("]"),array;next(","),white()}}error("Bad array")},object=function(){var key,object={};if("{"===ch){if(next("{"),white(),"}"===ch)return next("}"),object;for(;ch;){if(key=string(),white(),next(":"),Object.hasOwnProperty.call(object,key)&&error(\'Duplicate key "\'+key+\'"\'),object[key]=value(),white(),"}"===ch)return next("}"),object;next(","),white()}}error("Bad object")};return value=function(){switch(white(),ch){case"{":return object();case"[":return array();case\'"\':return string();case"-":return number();default:return ch>="0"&&"9">=ch?number():word()}},function(source,reviver){var result;return text=source,at=0,ch=" ",result=value(),white(),ch&&error("Syntax error"),"function"==typeof reviver?function walk(holder,key){var k,v,value=holder[key];if(value&&"object"==typeof value)for(k in value)Object.hasOwnProperty.call(value,k)&&(v=walk(value,k),void 0!==v?value[k]=v:delete value[k]);return reviver.call(holder,key,value)}({"":result},""):result}}),ace.define("ace/mode/json_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/json/json_parse"],function(acequire,exports){"use strict";var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,parse=acequire("./json/json_parse"),JsonWorker=exports.JsonWorker=function(sender){Mirror.call(this,sender),this.setTimeout(200)};oop.inherits(JsonWorker,Mirror),function(){this.onUpdate=function(){var value=this.doc.getValue(),errors=[];try{value&&parse(value)}catch(e){var pos=this.doc.indexToPosition(e.at-1);errors.push({row:pos.row,column:pos.column,text:e.message,type:"error"})}this.sender.emit("annotate",errors)}}.call(JsonWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;\nfor(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r   ᠎              \\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'; +},function(e,t,n){(function(t){function r(e,n,o){return this instanceof r?(a.call(this),this._cache=new i,this._last=void 0,this._cipher=new s.AES(n),this._prev=new t(o.length),o.copy(this._prev),void(this._mode=e)):new r(e,n,o)}function i(){return this instanceof i?void(this.cache=new t("")):new i}function o(e){var t=e[15];if(16!==t)return e.slice(0,16-t)}var s=n(86),a=n(87),l=n(68),c=n(88),u=n(130),h=n(124);l(r,a),r.prototype._transform=function(e,t,n){this._cache.add(e);for(var r,i;r=this._cache.get();)i=this._mode.decrypt(this,r),this.push(i);n()},r.prototype._flush=function(e){var t=this._cache.flush();return t?(this.push(o(this._mode.decrypt(this,t))),void e()):e},i.prototype.add=function(e){this.cache=t.concat([this.cache,e])},i.prototype.get=function(){if(this.cache.length>16){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},i.prototype.flush=function(){if(this.cache.length)return this.cache};var d={ECB:n(128),CBC:n(125),CFB:n(126),OFB:n(129),CTR:n(127)};e.exports=function(e){function n(e,n,i){var o=c[e];if(!o)throw new TypeError("invalid suite type");if("string"==typeof i&&(i=new t(i)),"string"==typeof n&&(n=new t(n)),n.length!==o.key/8)throw new TypeError("invalid key length "+n.length);if(i.length!==o.iv)throw new TypeError("invalid iv length "+i.length);return"stream"===o.type?new u(d[o.mode],n,i,!0):new r(d[o.mode],n,i)}function i(t,r){var i=c[t];if(!i)throw new TypeError("invalid suite type");var o=h(e,r,i.key,i.iv);return n(t,o.key,o.iv)}return{createDecipher:i,createDecipheriv:n}}}).call(t,n(10).Buffer)},function(e,t,n){(function(t){function r(e,n,a){return this instanceof r?(s.call(this),this._cache=new i,this._cipher=new o.AES(n),this._prev=new t(a.length),a.copy(this._prev),void(this._mode=e)):new r(e,n,a)}function i(){return this instanceof i?void(this.cache=new t("")):new i}var o=n(86),s=n(87),a=n(68),l=n(88),c=n(124),u=n(130);a(r,s),r.prototype._transform=function(e,t,n){this._cache.add(e);for(var r,i;r=this._cache.get();)i=this._mode.encrypt(this,r),this.push(i);n()},r.prototype._flush=function(e){var t=this._cache.flush();this.push(this._mode.encrypt(this,t)),this._cipher.scrub(),e()},i.prototype.add=function(e){this.cache=t.concat([this.cache,e])},i.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},i.prototype.flush=function(){for(var e=16-this.cache.length,n=new t(e),r=-1;++rs?n=i(e).update(n).digest():n.lengthc;c++)a[c]=54^n[c],l[c]=92^n[c];this._hash=i(e).update(a)}var i=n(111),o=new t(128);o.fill(0),e.exports=r,r.prototype.update=function(e,t){return this._hash.update(e,t),this},r.prototype.digest=function(e){var t=this._hash.digest();return i(this._alg).update(this._opad).update(t).digest(e)}}).call(t,n(14).Buffer)},function(e,t,n){(function(t){function n(e,n){if(e.length%o!==0){var r=e.length+(o-e.length%o);e=t.concat([e,s],r)}for(var i=[],a=n?e.readInt32BE:e.readInt32LE,l=0;l>5]|=128<>>9<<4)+14]=t;for(var n=1732584193,r=-271733879,i=-1732584194,u=271733878,d=0;d>16)+(t>>16)+(n>>16);return r<<16|65535&n}function u(e,t){return e<>>32-t}var d=n(279);e.exports=function(e){return d.hash(e,r,16)}},function(e,t,n){var r=n(322);e.exports=function(e,t){t=t||{};var n=r(e);return t.pbkdf2=n.pbkdf2,t.pbkdf2Sync=n.pbkdf2Sync,t}},function(e,t,n){(function(t,r){!function(){var i=("undefined"==typeof window?t:window)||{};_crypto=i.crypto||i.msCrypto||n(504),e.exports=function(e){if(_crypto.getRandomValues){var t=new r(e);return _crypto.getRandomValues(t),t}if(_crypto.randomBytes)return _crypto.randomBytes(e);throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}()}).call(t,function(){return this}(),n(14).Buffer)},function(e,t,n){"use strict";var r=n(82),i=n(288),o="function"==typeof Symbol&&"symbol"==typeof Symbol(),s=Object.prototype.toString,a=function(e){return"function"==typeof e&&"[object Function]"===s.call(e)},l=function(){var e={};try{Object.defineProperty(e,"x",{enumerable:!1,value:e});for(var t in e)return!1;return e.x===e}catch(n){return!1}},c=Object.defineProperty&&l(),u=function(e,t,n,r){(!(t in e)||a(r)&&r())&&(c?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},d=function(e,t){var n=arguments.length>2?arguments[2]:{},s=r(t);o&&(s=s.concat(Object.getOwnPropertySymbols(t))),i(s,function(r){u(e,r,t[r],n[r])})};d.supportsDescriptors=!!c,e.exports=d},function(e,t,n){e.exports.Dispatcher=n(286)},function(e,t,n){"use strict";function r(){this.$Dispatcher_callbacks={},this.$Dispatcher_isPending={},this.$Dispatcher_isHandled={},this.$Dispatcher_isDispatching=!1,this.$Dispatcher_pendingPayload=null}var i=n(287),o=1,s="ID_";r.prototype.register=function(e){var t=s+o++;return this.$Dispatcher_callbacks[t]=e,t},r.prototype.unregister=function(e){i(this.$Dispatcher_callbacks[e],"Dispatcher.unregister(...): `%s` does not map to a registered callback.",e),delete this.$Dispatcher_callbacks[e]},r.prototype.waitFor=function(e){i(this.$Dispatcher_isDispatching,"Dispatcher.waitFor(...): Must be invoked while dispatching.");for(var t=0;ts;s++)t.call(i,e[s],s,e);else for(var a in e)n.call(e,a)&&t.call(i,e[a],a,e)}},function(e,t,n){var r;(function(e,i){!function(o){var s="object"==typeof t&&t,a=("object"==typeof e&&e&&e.exports==s&&e,"object"==typeof i&&i);a.global!==a&&a.window!==a||(o=a);var l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,d=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,h={"Á":"Aacute","á":"aacute","Ă":"Abreve","ă":"abreve","∾":"ac","∿":"acd","∾̳":"acE","Â":"Acirc","â":"acirc","´":"acute","А":"Acy","а":"acy","Æ":"AElig","æ":"aelig","⁡":"af","𝔄":"Afr","𝔞":"afr","À":"Agrave","à":"agrave","ℵ":"aleph","Α":"Alpha","α":"alpha","Ā":"Amacr","ā":"amacr","⨿":"amalg","&":"amp","⩕":"andand","⩓":"And","∧":"and","⩜":"andd","⩘":"andslope","⩚":"andv","∠":"ang","⦤":"ange","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","∡":"angmsd","∟":"angrt","⊾":"angrtvb","⦝":"angrtvbd","∢":"angsph","Å":"angst","⍼":"angzarr","Ą":"Aogon","ą":"aogon","𝔸":"Aopf","𝕒":"aopf","⩯":"apacir","≈":"ap","⩰":"apE","≊":"ape","≋":"apid","'":"apos","å":"aring","𝒜":"Ascr","𝒶":"ascr","≔":"colone","*":"ast","≍":"CupCap","Ã":"Atilde","ã":"atilde","Ä":"Auml","ä":"auml","∳":"awconint","⨑":"awint","≌":"bcong","϶":"bepsi","‵":"bprime","∽":"bsim","⋍":"bsime","∖":"setmn","⫧":"Barv","⊽":"barvee","⌅":"barwed","⌆":"Barwed","⎵":"bbrk","⎶":"bbrktbrk","Б":"Bcy","б":"bcy","„":"bdquo","∵":"becaus","⦰":"bemptyv","ℬ":"Bscr","Β":"Beta","β":"beta","ℶ":"beth","≬":"twixt","𝔅":"Bfr","𝔟":"bfr","⋂":"xcap","◯":"xcirc","⋃":"xcup","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨆":"xsqcup","★":"starf","▽":"xdtri","△":"xutri","⨄":"xuplus","⋁":"Vee","⋀":"Wedge","⤍":"rbarr","⧫":"lozf","▪":"squf","▴":"utrif","▾":"dtrif","◂":"ltrif","▸":"rtrif","␣":"blank","▒":"blk12","░":"blk14","▓":"blk34","█":"block","=⃥":"bne","≡⃥":"bnequiv","⫭":"bNot","⌐":"bnot","𝔹":"Bopf","𝕓":"bopf","⊥":"bot","⋈":"bowtie","⧉":"boxbox","┐":"boxdl","╕":"boxdL","╖":"boxDl","╗":"boxDL","┌":"boxdr","╒":"boxdR","╓":"boxDr","╔":"boxDR","─":"boxh","═":"boxH","┬":"boxhd","╤":"boxHd","╥":"boxhD","╦":"boxHD","┴":"boxhu","╧":"boxHu","╨":"boxhU","╩":"boxHU","⊟":"minusb","⊞":"plusb","⊠":"timesb","┘":"boxul","╛":"boxuL","╜":"boxUl","╝":"boxUL","└":"boxur","╘":"boxuR","╙":"boxUr","╚":"boxUR","│":"boxv","║":"boxV","┼":"boxvh","╪":"boxvH","╫":"boxVh","╬":"boxVH","┤":"boxvl","╡":"boxvL","╢":"boxVl","╣":"boxVL","├":"boxvr","╞":"boxvR","╟":"boxVr","╠":"boxVR","˘":"breve","¦":"brvbar","𝒷":"bscr","⁏":"bsemi","⧅":"bsolb","\\":"bsol","⟈":"bsolhsub","•":"bull","≎":"bump","⪮":"bumpE","≏":"bumpe","Ć":"Cacute","ć":"cacute","⩄":"capand","⩉":"capbrcup","⩋":"capcap","∩":"cap","⋒":"Cap","⩇":"capcup","⩀":"capdot","ⅅ":"DD","∩︀":"caps","⁁":"caret","ˇ":"caron","ℭ":"Cfr","⩍":"ccaps","Č":"Ccaron","č":"ccaron","Ç":"Ccedil","ç":"ccedil","Ĉ":"Ccirc","ĉ":"ccirc","∰":"Cconint","⩌":"ccups","⩐":"ccupssm","Ċ":"Cdot","ċ":"cdot","¸":"cedil","⦲":"cemptyv","¢":"cent","·":"middot","𝔠":"cfr","Ч":"CHcy","ч":"chcy","✓":"check","Χ":"Chi","χ":"chi","ˆ":"circ","≗":"cire","↺":"olarr","↻":"orarr","⊛":"oast","⊚":"ocir","⊝":"odash","⊙":"odot","®":"reg","Ⓢ":"oS","⊖":"ominus","⊕":"oplus","⊗":"otimes","○":"cir","⧃":"cirE","⨐":"cirfnint","⫯":"cirmid","⧂":"cirscir","∲":"cwconint","”":"rdquo","’":"rsquo","♣":"clubs",":":"colon","∷":"Colon","⩴":"Colone",",":"comma","@":"commat","∁":"comp","∘":"compfn","ℂ":"Copf","≅":"cong","⩭":"congdot","≡":"equiv","∮":"oint","∯":"Conint","𝕔":"copf","∐":"coprod","©":"copy","℗":"copysr","↵":"crarr","✗":"cross","⨯":"Cross","𝒞":"Cscr","𝒸":"cscr","⫏":"csub","⫑":"csube","⫐":"csup","⫒":"csupe","⋯":"ctdot","⤸":"cudarrl","⤵":"cudarrr","⋞":"cuepr","⋟":"cuesc","↶":"cularr","⤽":"cularrp","⩈":"cupbrcap","⩆":"cupcap","∪":"cup","⋓":"Cup","⩊":"cupcup","⊍":"cupdot","⩅":"cupor","∪︀":"cups","↷":"curarr","⤼":"curarrm","⋎":"cuvee","⋏":"cuwed","¤":"curren","∱":"cwint","⌭":"cylcty","†":"dagger","‡":"Dagger","ℸ":"daleth","↓":"darr","↡":"Darr","⇓":"dArr","‐":"dash","⫤":"Dashv","⊣":"dashv","⤏":"rBarr","˝":"dblac","Ď":"Dcaron","ď":"dcaron","Д":"Dcy","д":"dcy","⇊":"ddarr","ⅆ":"dd","⤑":"DDotrahd","⩷":"eDDot","°":"deg","∇":"Del","Δ":"Delta","δ":"delta","⦱":"demptyv","⥿":"dfisht","𝔇":"Dfr","𝔡":"dfr","⥥":"dHar","⇃":"dharl","⇂":"dharr","˙":"dot","`":"grave","˜":"tilde","⋄":"diam","♦":"diams","¨":"die","ϝ":"gammad","⋲":"disin","÷":"div","⋇":"divonx","Ђ":"DJcy","ђ":"djcy","⌞":"dlcorn","⌍":"dlcrop",$:"dollar","𝔻":"Dopf","𝕕":"dopf","⃜":"DotDot","≐":"doteq","≑":"eDot","∸":"minusd","∔":"plusdo","⊡":"sdotb","⇐":"lArr","⇔":"iff","⟸":"xlArr","⟺":"xhArr","⟹":"xrArr","⇒":"rArr","⊨":"vDash","⇑":"uArr","⇕":"vArr","∥":"par","⤓":"DownArrowBar","⇵":"duarr","̑":"DownBreve","⥐":"DownLeftRightVector","⥞":"DownLeftTeeVector","⥖":"DownLeftVectorBar","↽":"lhard","⥟":"DownRightTeeVector","⥗":"DownRightVectorBar","⇁":"rhard","↧":"mapstodown","⊤":"top","⤐":"RBarr","⌟":"drcorn","⌌":"drcrop","𝒟":"Dscr","𝒹":"dscr","Ѕ":"DScy","ѕ":"dscy","⧶":"dsol","Đ":"Dstrok","đ":"dstrok","⋱":"dtdot","▿":"dtri","⥯":"duhar","⦦":"dwangle","Џ":"DZcy","џ":"dzcy","⟿":"dzigrarr","É":"Eacute","é":"eacute","⩮":"easter","Ě":"Ecaron","ě":"ecaron","Ê":"Ecirc","ê":"ecirc","≖":"ecir","≕":"ecolon","Э":"Ecy","э":"ecy","Ė":"Edot","ė":"edot","ⅇ":"ee","≒":"efDot","𝔈":"Efr","𝔢":"efr","⪚":"eg","È":"Egrave","è":"egrave","⪖":"egs","⪘":"egsdot","⪙":"el","∈":"in","⏧":"elinters","ℓ":"ell","⪕":"els","⪗":"elsdot","Ē":"Emacr","ē":"emacr","∅":"empty","◻":"EmptySmallSquare","▫":"EmptyVerySmallSquare"," ":"emsp13"," ":"emsp14"," ":"emsp","Ŋ":"ENG","ŋ":"eng"," ":"ensp","Ę":"Eogon","ę":"eogon","𝔼":"Eopf","𝕖":"eopf","⋕":"epar","⧣":"eparsl","⩱":"eplus","ε":"epsi","Ε":"Epsilon","ϵ":"epsiv","≂":"esim","⩵":"Equal","=":"equals","≟":"equest","⇌":"rlhar","⩸":"equivDD","⧥":"eqvparsl","⥱":"erarr","≓":"erDot","ℯ":"escr","ℰ":"Escr","⩳":"Esim","Η":"Eta","η":"eta","Ð":"ETH","ð":"eth","Ë":"Euml","ë":"euml","€":"euro","!":"excl","∃":"exist","Ф":"Fcy","ф":"fcy","♀":"female","ffi":"ffilig","ff":"fflig","ffl":"ffllig","𝔉":"Ffr","𝔣":"ffr","fi":"filig","◼":"FilledSmallSquare",fj:"fjlig","♭":"flat","fl":"fllig","▱":"fltns","ƒ":"fnof","𝔽":"Fopf","𝕗":"fopf","∀":"forall","⋔":"fork","⫙":"forkv","ℱ":"Fscr","⨍":"fpartint","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","⅔":"frac23","⅖":"frac25","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","⁄":"frasl","⌢":"frown","𝒻":"fscr","ǵ":"gacute","Γ":"Gamma","γ":"gamma","Ϝ":"Gammad","⪆":"gap","Ğ":"Gbreve","ğ":"gbreve","Ģ":"Gcedil","Ĝ":"Gcirc","ĝ":"gcirc","Г":"Gcy","г":"gcy","Ġ":"Gdot","ġ":"gdot","≥":"ge","≧":"gE","⪌":"gEl","⋛":"gel","⩾":"ges","⪩":"gescc","⪀":"gesdot","⪂":"gesdoto","⪄":"gesdotol","⋛︀":"gesl","⪔":"gesles","𝔊":"Gfr","𝔤":"gfr","≫":"gg","⋙":"Gg","ℷ":"gimel","Ѓ":"GJcy","ѓ":"gjcy","⪥":"gla","≷":"gl","⪒":"glE","⪤":"glj","⪊":"gnap","⪈":"gne","≩":"gnE","⋧":"gnsim","𝔾":"Gopf","𝕘":"gopf","⪢":"GreaterGreater","≳":"gsim","𝒢":"Gscr","ℊ":"gscr","⪎":"gsime","⪐":"gsiml","⪧":"gtcc","⩺":"gtcir",">":"gt","⋗":"gtdot","⦕":"gtlPar","⩼":"gtquest","⥸":"gtrarr","≩︀":"gvnE"," ":"hairsp","ℋ":"Hscr","Ъ":"HARDcy","ъ":"hardcy","⥈":"harrcir","↔":"harr","↭":"harrw","^":"Hat","ℏ":"hbar","Ĥ":"Hcirc","ĥ":"hcirc","♥":"hearts","…":"mldr","⊹":"hercon","𝔥":"hfr","ℌ":"Hfr","⤥":"searhk","⤦":"swarhk","⇿":"hoarr","∻":"homtht","↩":"larrhk","↪":"rarrhk","𝕙":"hopf","ℍ":"Hopf","―":"horbar","𝒽":"hscr","Ħ":"Hstrok","ħ":"hstrok","⁃":"hybull","Í":"Iacute","í":"iacute","⁣":"ic","Î":"Icirc","î":"icirc","И":"Icy","и":"icy","İ":"Idot","Е":"IEcy","е":"iecy","¡":"iexcl","𝔦":"ifr","ℑ":"Im","Ì":"Igrave","ì":"igrave","ⅈ":"ii","⨌":"qint","∭":"tint","⧜":"iinfin","℩":"iiota","IJ":"IJlig","ij":"ijlig","Ī":"Imacr","ī":"imacr","ℐ":"Iscr","ı":"imath","⊷":"imof","Ƶ":"imped","℅":"incare","∞":"infin","⧝":"infintie","⊺":"intcal","∫":"int","∬":"Int","ℤ":"Zopf","⨗":"intlarhk","⨼":"iprod","⁢":"it","Ё":"IOcy","ё":"iocy","Į":"Iogon","į":"iogon","𝕀":"Iopf","𝕚":"iopf","Ι":"Iota","ι":"iota","¿":"iquest","𝒾":"iscr","⋵":"isindot","⋹":"isinE","⋴":"isins","⋳":"isinsv","Ĩ":"Itilde","ĩ":"itilde","І":"Iukcy","і":"iukcy","Ï":"Iuml","ï":"iuml","Ĵ":"Jcirc","ĵ":"jcirc","Й":"Jcy","й":"jcy","𝔍":"Jfr","𝔧":"jfr","ȷ":"jmath","𝕁":"Jopf","𝕛":"jopf","𝒥":"Jscr","𝒿":"jscr","Ј":"Jsercy","ј":"jsercy","Є":"Jukcy","є":"jukcy","Κ":"Kappa","κ":"kappa","ϰ":"kappav","Ķ":"Kcedil","ķ":"kcedil","К":"Kcy","к":"kcy","𝔎":"Kfr","𝔨":"kfr","ĸ":"kgreen","Х":"KHcy","х":"khcy","Ќ":"KJcy","ќ":"kjcy","𝕂":"Kopf","𝕜":"kopf","𝒦":"Kscr","𝓀":"kscr","⇚":"lAarr","Ĺ":"Lacute","ĺ":"lacute","⦴":"laemptyv","ℒ":"Lscr","Λ":"Lambda","λ":"lambda","⟨":"lang","⟪":"Lang","⦑":"langd","⪅":"lap","«":"laquo","⇤":"larrb","⤟":"larrbfs","←":"larr","↞":"Larr","⤝":"larrfs","↫":"larrlp","⤹":"larrpl","⥳":"larrsim","↢":"larrtl","⤙":"latail","⤛":"lAtail","⪫":"lat","⪭":"late","⪭︀":"lates","⤌":"lbarr","⤎":"lBarr","❲":"lbbrk","{":"lcub","[":"lsqb","⦋":"lbrke","⦏":"lbrksld","⦍":"lbrkslu","Ľ":"Lcaron","ľ":"lcaron","Ļ":"Lcedil","ļ":"lcedil","⌈":"lceil","Л":"Lcy","л":"lcy","⤶":"ldca","“":"ldquo","⥧":"ldrdhar","⥋":"ldrushar","↲":"ldsh","≤":"le","≦":"lE","⇆":"lrarr","⟦":"lobrk","⥡":"LeftDownTeeVector","⥙":"LeftDownVectorBar","⌊":"lfloor","↼":"lharu","⇇":"llarr","⇋":"lrhar","⥎":"LeftRightVector","↤":"mapstoleft","⥚":"LeftTeeVector","⋋":"lthree","⧏":"LeftTriangleBar","⊲":"vltri","⊴":"ltrie","⥑":"LeftUpDownVector","⥠":"LeftUpTeeVector","⥘":"LeftUpVectorBar","↿":"uharl","⥒":"LeftVectorBar","⪋":"lEg","⋚":"leg","⩽":"les","⪨":"lescc","⩿":"lesdot","⪁":"lesdoto","⪃":"lesdotor","⋚︀":"lesg","⪓":"lesges","⋖":"ltdot","≶":"lg","⪡":"LessLess","≲":"lsim","⥼":"lfisht","𝔏":"Lfr","𝔩":"lfr","⪑":"lgE","⥢":"lHar","⥪":"lharul","▄":"lhblk","Љ":"LJcy","љ":"ljcy","≪":"ll","⋘":"Ll","⥫":"llhard","◺":"lltri","Ŀ":"Lmidot","ŀ":"lmidot","⎰":"lmoust","⪉":"lnap","⪇":"lne","≨":"lnE","⋦":"lnsim","⟬":"loang","⇽":"loarr","⟵":"xlarr","⟷":"xharr","⟼":"xmap","⟶":"xrarr","↬":"rarrlp","⦅":"lopar","𝕃":"Lopf","𝕝":"lopf","⨭":"loplus","⨴":"lotimes","∗":"lowast",_:"lowbar","↙":"swarr","↘":"searr","◊":"loz","(":"lpar","⦓":"lparlt","⥭":"lrhard","‎":"lrm","⊿":"lrtri","‹":"lsaquo","𝓁":"lscr","↰":"lsh","⪍":"lsime","⪏":"lsimg","‘":"lsquo","‚":"sbquo","Ł":"Lstrok","ł":"lstrok","⪦":"ltcc","⩹":"ltcir","<":"lt","⋉":"ltimes","⥶":"ltlarr","⩻":"ltquest","◃":"ltri","⦖":"ltrPar","⥊":"lurdshar","⥦":"luruhar","≨︀":"lvnE","¯":"macr","♂":"male","✠":"malt","⤅":"Map","↦":"map","↥":"mapstoup","▮":"marker","⨩":"mcomma","М":"Mcy","м":"mcy","—":"mdash","∺":"mDDot"," ":"MediumSpace","ℳ":"Mscr","𝔐":"Mfr","𝔪":"mfr","℧":"mho","µ":"micro","⫰":"midcir","∣":"mid","−":"minus","⨪":"minusdu","∓":"mp","⫛":"mlcp","⊧":"models","𝕄":"Mopf","𝕞":"mopf","𝓂":"mscr","Μ":"Mu","μ":"mu","⊸":"mumap","Ń":"Nacute","ń":"nacute","∠⃒":"nang","≉":"nap","⩰̸":"napE","≋̸":"napid","ʼn":"napos","♮":"natur","ℕ":"Nopf"," ":"nbsp","≎̸":"nbump","≏̸":"nbumpe","⩃":"ncap","Ň":"Ncaron","ň":"ncaron","Ņ":"Ncedil","ņ":"ncedil","≇":"ncong","⩭̸":"ncongdot","⩂":"ncup","Н":"Ncy","н":"ncy","–":"ndash","⤤":"nearhk","↗":"nearr","⇗":"neArr","≠":"ne","≐̸":"nedot","​":"ZeroWidthSpace","≢":"nequiv","⤨":"toea","≂̸":"nesim","\n":"NewLine","∄":"nexist","𝔑":"Nfr","𝔫":"nfr","≧̸":"ngE","≱":"nge","⩾̸":"nges","⋙̸":"nGg","≵":"ngsim","≫⃒":"nGt","≯":"ngt","≫̸":"nGtv","↮":"nharr","⇎":"nhArr","⫲":"nhpar","∋":"ni","⋼":"nis","⋺":"nisd","Њ":"NJcy","њ":"njcy","↚":"nlarr","⇍":"nlArr","‥":"nldr","≦̸":"nlE","≰":"nle","⩽̸":"nles","≮":"nlt","⋘̸":"nLl","≴":"nlsim","≪⃒":"nLt","⋪":"nltri","⋬":"nltrie","≪̸":"nLtv","∤":"nmid","⁠":"NoBreak","𝕟":"nopf","⫬":"Not","¬":"not","≭":"NotCupCap","∦":"npar","∉":"notin","≹":"ntgl","⋵̸":"notindot","⋹̸":"notinE","⋷":"notinvb","⋶":"notinvc","⧏̸":"NotLeftTriangleBar","≸":"ntlg","⪢̸":"NotNestedGreaterGreater","⪡̸":"NotNestedLessLess","∌":"notni","⋾":"notnivb","⋽":"notnivc","⊀":"npr","⪯̸":"npre","⋠":"nprcue","⧐̸":"NotRightTriangleBar","⋫":"nrtri","⋭":"nrtrie","⊏̸":"NotSquareSubset","⋢":"nsqsube","⊐̸":"NotSquareSuperset","⋣":"nsqsupe","⊂⃒":"vnsub","⊈":"nsube","⊁":"nsc","⪰̸":"nsce","⋡":"nsccue","≿̸":"NotSucceedsTilde","⊃⃒":"vnsup","⊉":"nsupe","≁":"nsim","≄":"nsime","⫽⃥":"nparsl","∂̸":"npart","⨔":"npolint","⤳̸":"nrarrc","↛":"nrarr","⇏":"nrArr","↝̸":"nrarrw","𝒩":"Nscr","𝓃":"nscr","⊄":"nsub","⫅̸":"nsubE","⊅":"nsup","⫆̸":"nsupE","Ñ":"Ntilde","ñ":"ntilde","Ν":"Nu","ν":"nu","#":"num","№":"numero"," ":"numsp","≍⃒":"nvap","⊬":"nvdash","⊭":"nvDash","⊮":"nVdash","⊯":"nVDash","≥⃒":"nvge",">⃒":"nvgt","⤄":"nvHarr","⧞":"nvinfin","⤂":"nvlArr","≤⃒":"nvle","<⃒":"nvlt","⊴⃒":"nvltrie","⤃":"nvrArr","⊵⃒":"nvrtrie","∼⃒":"nvsim","⤣":"nwarhk","↖":"nwarr","⇖":"nwArr","⤧":"nwnear","Ó":"Oacute","ó":"oacute","Ô":"Ocirc","ô":"ocirc","О":"Ocy","о":"ocy","Ő":"Odblac","ő":"odblac","⨸":"odiv","⦼":"odsold","Œ":"OElig","œ":"oelig","⦿":"ofcir","𝔒":"Ofr","𝔬":"ofr","˛":"ogon","Ò":"Ograve","ò":"ograve","⧁":"ogt","⦵":"ohbar","Ω":"ohm","⦾":"olcir","⦻":"olcross","‾":"oline","⧀":"olt","Ō":"Omacr","ō":"omacr","ω":"omega","Ο":"Omicron","ο":"omicron","⦶":"omid","𝕆":"Oopf","𝕠":"oopf","⦷":"opar","⦹":"operp","⩔":"Or","∨":"or","⩝":"ord","ℴ":"oscr","ª":"ordf","º":"ordm","⊶":"origof","⩖":"oror","⩗":"orslope","⩛":"orv","𝒪":"Oscr","Ø":"Oslash","ø":"oslash","⊘":"osol","Õ":"Otilde","õ":"otilde","⨶":"otimesas","⨷":"Otimes","Ö":"Ouml","ö":"ouml","⌽":"ovbar","⏞":"OverBrace","⎴":"tbrk","⏜":"OverParenthesis","¶":"para","⫳":"parsim","⫽":"parsl","∂":"part","П":"Pcy","п":"pcy","%":"percnt",".":"period","‰":"permil","‱":"pertenk","𝔓":"Pfr","𝔭":"pfr","Φ":"Phi","φ":"phi","ϕ":"phiv","☎":"phone","Π":"Pi","π":"pi","ϖ":"piv","ℎ":"planckh","⨣":"plusacir","⨢":"pluscir","+":"plus","⨥":"plusdu","⩲":"pluse","±":"pm","⨦":"plussim","⨧":"plustwo","⨕":"pointint","𝕡":"popf","ℙ":"Popf","£":"pound","⪷":"prap","⪻":"Pr","≺":"pr","≼":"prcue","⪯":"pre","≾":"prsim","⪹":"prnap","⪵":"prnE","⋨":"prnsim","⪳":"prE","′":"prime","″":"Prime","∏":"prod","⌮":"profalar","⌒":"profline","⌓":"profsurf","∝":"prop","⊰":"prurel","𝒫":"Pscr","𝓅":"pscr","Ψ":"Psi","ψ":"psi"," ":"puncsp","𝔔":"Qfr","𝔮":"qfr","𝕢":"qopf","ℚ":"Qopf","⁗":"qprime","𝒬":"Qscr","𝓆":"qscr","⨖":"quatint","?":"quest",'"':"quot","⇛":"rAarr","∽̱":"race","Ŕ":"Racute","ŕ":"racute","√":"Sqrt","⦳":"raemptyv","⟩":"rang","⟫":"Rang","⦒":"rangd","⦥":"range","»":"raquo","⥵":"rarrap","⇥":"rarrb","⤠":"rarrbfs","⤳":"rarrc","→":"rarr","↠":"Rarr","⤞":"rarrfs","⥅":"rarrpl","⥴":"rarrsim","⤖":"Rarrtl","↣":"rarrtl","↝":"rarrw","⤚":"ratail","⤜":"rAtail","∶":"ratio","❳":"rbbrk","}":"rcub","]":"rsqb","⦌":"rbrke","⦎":"rbrksld","⦐":"rbrkslu","Ř":"Rcaron","ř":"rcaron","Ŗ":"Rcedil","ŗ":"rcedil","⌉":"rceil","Р":"Rcy","р":"rcy","⤷":"rdca","⥩":"rdldhar","↳":"rdsh","ℜ":"Re","ℛ":"Rscr","ℝ":"Ropf","▭":"rect","⥽":"rfisht","⌋":"rfloor","𝔯":"rfr","⥤":"rHar","⇀":"rharu","⥬":"rharul","Ρ":"Rho","ρ":"rho","ϱ":"rhov","⇄":"rlarr","⟧":"robrk","⥝":"RightDownTeeVector","⥕":"RightDownVectorBar","⇉":"rrarr","⊢":"vdash","⥛":"RightTeeVector","⋌":"rthree","⧐":"RightTriangleBar","⊳":"vrtri","⊵":"rtrie","⥏":"RightUpDownVector","⥜":"RightUpTeeVector","⥔":"RightUpVectorBar","↾":"uharr","⥓":"RightVectorBar","˚":"ring","‏":"rlm","⎱":"rmoust","⫮":"rnmid","⟭":"roang","⇾":"roarr","⦆":"ropar","𝕣":"ropf","⨮":"roplus","⨵":"rotimes","⥰":"RoundImplies",")":"rpar","⦔":"rpargt","⨒":"rppolint","›":"rsaquo","𝓇":"rscr","↱":"rsh","⋊":"rtimes","▹":"rtri","⧎":"rtriltri","⧴":"RuleDelayed","⥨":"ruluhar","℞":"rx","Ś":"Sacute","ś":"sacute","⪸":"scap","Š":"Scaron","š":"scaron","⪼":"Sc","≻":"sc","≽":"sccue","⪰":"sce","⪴":"scE","Ş":"Scedil","ş":"scedil","Ŝ":"Scirc","ŝ":"scirc","⪺":"scnap","⪶":"scnE","⋩":"scnsim","⨓":"scpolint","≿":"scsim","С":"Scy","с":"scy","⋅":"sdot","⩦":"sdote","⇘":"seArr","§":"sect",";":"semi","⤩":"tosa","✶":"sext","𝔖":"Sfr","𝔰":"sfr","♯":"sharp","Щ":"SHCHcy","щ":"shchcy","Ш":"SHcy","ш":"shcy","↑":"uarr","­":"shy","Σ":"Sigma","σ":"sigma","ς":"sigmaf","∼":"sim","⩪":"simdot","≃":"sime","⪞":"simg","⪠":"simgE","⪝":"siml","⪟":"simlE","≆":"simne","⨤":"simplus","⥲":"simrarr","⨳":"smashp","⧤":"smeparsl","⌣":"smile","⪪":"smt","⪬":"smte","⪬︀":"smtes","Ь":"SOFTcy","ь":"softcy","⌿":"solbar","⧄":"solb","/":"sol","𝕊":"Sopf","𝕤":"sopf","♠":"spades","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊏":"sqsub","⊑":"sqsube","⊐":"sqsup","⊒":"sqsupe","□":"squ","𝒮":"Sscr","𝓈":"sscr","⋆":"Star","☆":"star","⊂":"sub","⋐":"Sub","⪽":"subdot","⫅":"subE","⊆":"sube","⫃":"subedot","⫁":"submult","⫋":"subnE","⊊":"subne","⪿":"subplus","⥹":"subrarr","⫇":"subsim","⫕":"subsub","⫓":"subsup","∑":"sum","♪":"sung","¹":"sup1","²":"sup2","³":"sup3","⊃":"sup","⋑":"Sup","⪾":"supdot","⫘":"supdsub","⫆":"supE","⊇":"supe","⫄":"supedot","⟉":"suphsol","⫗":"suphsub","⥻":"suplarr","⫂":"supmult","⫌":"supnE","⊋":"supne","⫀":"supplus","⫈":"supsim","⫔":"supsub","⫖":"supsup","⇙":"swArr","⤪":"swnwar","ß":"szlig"," ":"Tab","⌖":"target","Τ":"Tau","τ":"tau","Ť":"Tcaron","ť":"tcaron","Ţ":"Tcedil","ţ":"tcedil","Т":"Tcy","т":"tcy","⃛":"tdot","⌕":"telrec","𝔗":"Tfr","𝔱":"tfr","∴":"there4","Θ":"Theta","θ":"theta","ϑ":"thetav","  ":"ThickSpace"," ":"thinsp","Þ":"THORN","þ":"thorn","⨱":"timesbar","×":"times","⨰":"timesd","⌶":"topbot","⫱":"topcir","𝕋":"Topf","𝕥":"topf","⫚":"topfork","‴":"tprime","™":"trade","▵":"utri","≜":"trie","◬":"tridot","⨺":"triminus","⨹":"triplus","⧍":"trisb","⨻":"tritime","⏢":"trpezium","𝒯":"Tscr","𝓉":"tscr","Ц":"TScy","ц":"tscy","Ћ":"TSHcy","ћ":"tshcy","Ŧ":"Tstrok","ŧ":"tstrok","Ú":"Uacute","ú":"uacute","↟":"Uarr","⥉":"Uarrocir","Ў":"Ubrcy","ў":"ubrcy","Ŭ":"Ubreve","ŭ":"ubreve","Û":"Ucirc","û":"ucirc","У":"Ucy","у":"ucy","⇅":"udarr","Ű":"Udblac","ű":"udblac","⥮":"udhar","⥾":"ufisht","𝔘":"Ufr","𝔲":"ufr","Ù":"Ugrave","ù":"ugrave","⥣":"uHar","▀":"uhblk","⌜":"ulcorn","⌏":"ulcrop","◸":"ultri","Ū":"Umacr","ū":"umacr","⏟":"UnderBrace","⏝":"UnderParenthesis","⊎":"uplus","Ų":"Uogon","ų":"uogon","𝕌":"Uopf","𝕦":"uopf","⤒":"UpArrowBar","↕":"varr","υ":"upsi","ϒ":"Upsi","Υ":"Upsilon","⇈":"uuarr","⌝":"urcorn","⌎":"urcrop","Ů":"Uring","ů":"uring","◹":"urtri","𝒰":"Uscr","𝓊":"uscr","⋰":"utdot","Ũ":"Utilde","ũ":"utilde","Ü":"Uuml","ü":"uuml","⦧":"uwangle","⦜":"vangrt","⊊︀":"vsubne","⫋︀":"vsubnE","⊋︀":"vsupne","⫌︀":"vsupnE","⫨":"vBar","⫫":"Vbar","⫩":"vBarv","В":"Vcy","в":"vcy","⊩":"Vdash","⊫":"VDash","⫦":"Vdashl","⊻":"veebar","≚":"veeeq","⋮":"vellip","|":"vert","‖":"Vert","❘":"VerticalSeparator","≀":"wr","𝔙":"Vfr","𝔳":"vfr","𝕍":"Vopf","𝕧":"vopf","𝒱":"Vscr","𝓋":"vscr","⊪":"Vvdash","⦚":"vzigzag","Ŵ":"Wcirc","ŵ":"wcirc","⩟":"wedbar","≙":"wedgeq","℘":"wp","𝔚":"Wfr","𝔴":"wfr","𝕎":"Wopf","𝕨":"wopf","𝒲":"Wscr","𝓌":"wscr","𝔛":"Xfr","𝔵":"xfr","Ξ":"Xi","ξ":"xi","⋻":"xnis","𝕏":"Xopf","𝕩":"xopf","𝒳":"Xscr","𝓍":"xscr","Ý":"Yacute","ý":"yacute","Я":"YAcy","я":"yacy","Ŷ":"Ycirc","ŷ":"ycirc","Ы":"Ycy","ы":"ycy","¥":"yen","𝔜":"Yfr","𝔶":"yfr","Ї":"YIcy","ї":"yicy","𝕐":"Yopf","𝕪":"yopf","𝒴":"Yscr","𝓎":"yscr","Ю":"YUcy","ю":"yucy","ÿ":"yuml","Ÿ":"Yuml","Ź":"Zacute","ź":"zacute","Ž":"Zcaron","ž":"zcaron","З":"Zcy","з":"zcy","Ż":"Zdot","ż":"zdot","ℨ":"Zfr","Ζ":"Zeta","ζ":"zeta","𝔷":"zfr","Ж":"ZHcy","ж":"zhcy","⇝":"zigrarr","𝕫":"zopf","𝒵":"Zscr","𝓏":"zscr","‍":"zwj","‌":"zwnj"},p=/["&'<>`]/g,f={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+);|&(Aacute|iacute|Uacute|plusmn|otilde|Otilde|Agrave|agrave|yacute|Yacute|oslash|Oslash|Atilde|atilde|brvbar|Ccedil|ccedil|ograve|curren|divide|Eacute|eacute|Ograve|oacute|Egrave|egrave|ugrave|frac12|frac14|frac34|Ugrave|Oacute|Iacute|ntilde|Ntilde|uacute|middot|Igrave|igrave|iquest|aacute|laquo|THORN|micro|iexcl|icirc|Icirc|Acirc|ucirc|ecirc|Ocirc|ocirc|Ecirc|Ucirc|aring|Aring|aelig|AElig|acute|pound|raquo|acirc|times|thorn|szlig|cedil|COPY|Auml|ordf|ordm|uuml|macr|Uuml|auml|Ouml|ouml|para|nbsp|Euml|quot|QUOT|euml|yuml|cent|sect|copy|sup1|sup2|sup3|Iuml|iuml|shy|eth|reg|not|yen|amp|AMP|REG|uml|ETH|deg|gt|GT|LT|lt)([=a-zA-Z0-9])?/g,y={ -Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅","in":"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺","int":"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},_={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"},b={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],E=String.fromCharCode,C={},A=C.hasOwnProperty,x=function(e,t){return A.call(e,t)},k=function(e,t){for(var n=-1,r=e.length;++n=55296&&57343>=e||e>1114111?(t&&T("character reference outside the permissible Unicode range"),"�"):x(b,e)?(t&&T("disallowed character reference"),b[e]):(t&&k(w,e)&&T("disallowed character reference"),e>65535&&(e-=65536,n+=E(e>>>10&1023|55296),e=56320|1023&e),n+=E(e))},M=function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"},T=function(e){throw Error("Parse error: "+e)},S=function(e,t){t=D(t,S.options);var n=t.strict;n&&g.test(e)&&T("forbidden code point");var r=t.encodeEverything,i=t.useNamedReferences,o=t.allowUnsafeSymbols;return r?(e=e.replace(c,function(e){return i&&x(h,e)?"&"+h[e]+";":M(e)}),i&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),i&&(e=e.replace(d,function(e){return"&"+h[e]+";"}))):i?(o||(e=e.replace(p,function(e){return"&"+h[e]+";"})),e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),e=e.replace(d,function(e){return"&"+h[e]+";"})):o||(e=e.replace(p,M)),e.replace(l,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=1024*(t-55296)+n-56320+65536;return"&#x"+r.toString(16).toUpperCase()+";"}).replace(u,M)};S.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1};var F=function(e,t){t=D(t,F.options);var n=t.strict;return n&&m.test(e)&&T("malformed character reference"),e.replace(v,function(e,r,i,o,s,a,l,c){var u,d,h,p,f;return r?(u=r,d=i,n&&!d&&T("character reference was not terminated by a semicolon"),L(u,n)):o?(h=o,d=s,n&&!d&&T("character reference was not terminated by a semicolon"),u=parseInt(h,16),L(u,n)):a?(p=a,x(y,p)?y[p]:(n&&T("named character reference was not terminated by a semicolon"),e)):(p=l,f=c,f&&t.isAttributeValue?(n&&"="==f&&T("`&` did not start a character reference"),e):(n&&T("named character reference was not terminated by a semicolon"),_[p]+(f||"")))})};F.options={isAttributeValue:!1,strict:!1};var N=function(e){return e.replace(p,function(e){return f[e]})},R={version:"0.5.0",encode:S,decode:F,escape:N,unescape:F};r=function(){return R}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(this)}).call(t,n(108)(e),function(){return this}())},function(e,t,n){(function(e){var n={};t.escapeJavaScript=function(e){if(!e)return"";for(var t="",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);t+=n.isSafe(o)?e[r]:n.escapeJavaScriptChar(o)}return t},t.escapeHtml=function(e){if(!e)return"";for(var t="",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);t+=n.isSafe(o)?e[r]:n.escapeHtmlChar(o)}return t},n.escapeJavaScriptChar=function(t){if(t>=256)return"\\u"+n.padLeft(""+t,4);var r=new e(String.fromCharCode(t),"ascii").toString("hex");return"\\x"+n.padLeft(r,2)},n.escapeHtmlChar=function(t){var r=n.namedHtml[t];if("undefined"!=typeof r)return r;if(t>=256)return"&#"+t+";";var i=new e(String.fromCharCode(t),"ascii").toString("hex");return"&#x"+n.padLeft(i,2)+";"},n.padLeft=function(e,t){for(;e.lengtht;++t)(t>=97||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(t,n(14).Buffer)},function(e,t){t.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,l=(1<>1,u=-7,d=n?i-1:0,h=n?-1:1,p=e[t+d];for(d+=h,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+e[t+d],d+=h,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,r),o-=c}return(p?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,l,c=8*o-i-1,u=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,f=r?1:-1,m=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),t+=s+d>=1?h/l:h*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=u?(a=0,s=u):s+d>=1?(a=(t*l-1)*Math.pow(2,i),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[n+p]=255&a,p+=f,a/=256,i-=8);for(s=s<0;e[n+p]=255&s,p+=f,s/=256,c-=8);e[n+p-f]|=128*m}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){e.exports=n(295)},function(e,t,n){(function(t){/** - * To validate an email address according to RFCs 5321, 5322 and others - * - * Copyright © 2008-2011, Dominic Sayers - * Test schema documentation Copyright © 2011, Daniel Marschall - * Port for Node.js Copyright © 2013-2014, GlobeSherpa - * and Copyright © 2014-2015, Eli Skeggs - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - Neither the name of Dominic Sayers nor the names of its contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - * - * @author Dominic Sayers - * @author Eli Skeggs - * @copyright 2008-2011 Dominic Sayers - * @copyright 2013-2014 GlobeSherpa - * @copyright 2014-2015 Eli Skeggs - * @license http://www.opensource.org/licenses/bsd-license.php BSD License - * @link http://www.dominicsayers.com/isemail - * @link https://github.com/hapijs/isemail - * @version 1.2.0 Drop Node 0.8, fix style, switch to lab/code +!function(){"use strict";function n(){for(var e=[],t=0;t2?arguments[2]:{},o=r(t);i&&(o=s.call(o,Object.getOwnPropertySymbols(t)));for(var a=0;a\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,d={"Á":"Aacute","á":"aacute","Ă":"Abreve","ă":"abreve","∾":"ac","∿":"acd","∾̳":"acE","Â":"Acirc","â":"acirc","´":"acute","А":"Acy","а":"acy","Æ":"AElig","æ":"aelig","⁡":"af","𝔄":"Afr","𝔞":"afr","À":"Agrave","à":"agrave","ℵ":"aleph","Α":"Alpha","α":"alpha","Ā":"Amacr","ā":"amacr","⨿":"amalg","&":"amp","⩕":"andand","⩓":"And","∧":"and","⩜":"andd","⩘":"andslope","⩚":"andv","∠":"ang","⦤":"ange","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","∡":"angmsd","∟":"angrt","⊾":"angrtvb","⦝":"angrtvbd","∢":"angsph","Å":"angst","⍼":"angzarr","Ą":"Aogon","ą":"aogon","𝔸":"Aopf","𝕒":"aopf","⩯":"apacir","≈":"ap","⩰":"apE","≊":"ape","≋":"apid","'":"apos","å":"aring","𝒜":"Ascr","𝒶":"ascr","≔":"colone","*":"ast","≍":"CupCap","Ã":"Atilde","ã":"atilde","Ä":"Auml","ä":"auml","∳":"awconint","⨑":"awint","≌":"bcong","϶":"bepsi","‵":"bprime","∽":"bsim","⋍":"bsime","∖":"setmn","⫧":"Barv","⊽":"barvee","⌅":"barwed","⌆":"Barwed","⎵":"bbrk","⎶":"bbrktbrk","Б":"Bcy","б":"bcy","„":"bdquo","∵":"becaus","⦰":"bemptyv","ℬ":"Bscr","Β":"Beta","β":"beta","ℶ":"beth","≬":"twixt","𝔅":"Bfr","𝔟":"bfr","⋂":"xcap","◯":"xcirc","⋃":"xcup","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨆":"xsqcup","★":"starf","▽":"xdtri","△":"xutri","⨄":"xuplus","⋁":"Vee","⋀":"Wedge","⤍":"rbarr","⧫":"lozf","▪":"squf","▴":"utrif","▾":"dtrif","◂":"ltrif","▸":"rtrif","␣":"blank","▒":"blk12","░":"blk14","▓":"blk34","█":"block","=⃥":"bne","≡⃥":"bnequiv","⫭":"bNot","⌐":"bnot","𝔹":"Bopf","𝕓":"bopf","⊥":"bot","⋈":"bowtie","⧉":"boxbox","┐":"boxdl","╕":"boxdL","╖":"boxDl","╗":"boxDL","┌":"boxdr","╒":"boxdR","╓":"boxDr","╔":"boxDR","─":"boxh","═":"boxH","┬":"boxhd","╤":"boxHd","╥":"boxhD","╦":"boxHD","┴":"boxhu","╧":"boxHu","╨":"boxhU","╩":"boxHU","⊟":"minusb","⊞":"plusb","⊠":"timesb","┘":"boxul","╛":"boxuL","╜":"boxUl","╝":"boxUL","└":"boxur","╘":"boxuR","╙":"boxUr","╚":"boxUR","│":"boxv","║":"boxV","┼":"boxvh","╪":"boxvH","╫":"boxVh","╬":"boxVH","┤":"boxvl","╡":"boxvL","╢":"boxVl","╣":"boxVL","├":"boxvr","╞":"boxvR","╟":"boxVr","╠":"boxVR","˘":"breve","¦":"brvbar","𝒷":"bscr","⁏":"bsemi","⧅":"bsolb","\\":"bsol","⟈":"bsolhsub","•":"bull","≎":"bump","⪮":"bumpE","≏":"bumpe","Ć":"Cacute","ć":"cacute","⩄":"capand","⩉":"capbrcup","⩋":"capcap","∩":"cap","⋒":"Cap","⩇":"capcup","⩀":"capdot","ⅅ":"DD","∩︀":"caps","⁁":"caret","ˇ":"caron","ℭ":"Cfr","⩍":"ccaps","Č":"Ccaron","č":"ccaron","Ç":"Ccedil","ç":"ccedil","Ĉ":"Ccirc","ĉ":"ccirc","∰":"Cconint","⩌":"ccups","⩐":"ccupssm","Ċ":"Cdot","ċ":"cdot","¸":"cedil","⦲":"cemptyv","¢":"cent","·":"middot","𝔠":"cfr","Ч":"CHcy","ч":"chcy","✓":"check","Χ":"Chi","χ":"chi","ˆ":"circ","≗":"cire","↺":"olarr","↻":"orarr","⊛":"oast","⊚":"ocir","⊝":"odash","⊙":"odot","®":"reg","Ⓢ":"oS","⊖":"ominus","⊕":"oplus","⊗":"otimes","○":"cir","⧃":"cirE","⨐":"cirfnint","⫯":"cirmid","⧂":"cirscir","∲":"cwconint","”":"rdquo","’":"rsquo","♣":"clubs",":":"colon","∷":"Colon","⩴":"Colone",",":"comma","@":"commat","∁":"comp","∘":"compfn","ℂ":"Copf","≅":"cong","⩭":"congdot","≡":"equiv","∮":"oint","∯":"Conint","𝕔":"copf","∐":"coprod","©":"copy","℗":"copysr","↵":"crarr","✗":"cross","⨯":"Cross","𝒞":"Cscr","𝒸":"cscr","⫏":"csub","⫑":"csube","⫐":"csup","⫒":"csupe","⋯":"ctdot","⤸":"cudarrl","⤵":"cudarrr","⋞":"cuepr","⋟":"cuesc","↶":"cularr","⤽":"cularrp","⩈":"cupbrcap","⩆":"cupcap","∪":"cup","⋓":"Cup","⩊":"cupcup","⊍":"cupdot","⩅":"cupor","∪︀":"cups","↷":"curarr","⤼":"curarrm","⋎":"cuvee","⋏":"cuwed","¤":"curren","∱":"cwint","⌭":"cylcty","†":"dagger","‡":"Dagger","ℸ":"daleth","↓":"darr","↡":"Darr","⇓":"dArr","‐":"dash","⫤":"Dashv","⊣":"dashv","⤏":"rBarr","˝":"dblac","Ď":"Dcaron","ď":"dcaron","Д":"Dcy","д":"dcy","⇊":"ddarr","ⅆ":"dd","⤑":"DDotrahd","⩷":"eDDot","°":"deg","∇":"Del","Δ":"Delta","δ":"delta","⦱":"demptyv","⥿":"dfisht","𝔇":"Dfr","𝔡":"dfr","⥥":"dHar","⇃":"dharl","⇂":"dharr","˙":"dot","`":"grave","˜":"tilde","⋄":"diam","♦":"diams","¨":"die","ϝ":"gammad","⋲":"disin","÷":"div","⋇":"divonx","Ђ":"DJcy","ђ":"djcy","⌞":"dlcorn","⌍":"dlcrop",$:"dollar","𝔻":"Dopf","𝕕":"dopf","⃜":"DotDot","≐":"doteq","≑":"eDot","∸":"minusd","∔":"plusdo","⊡":"sdotb","⇐":"lArr","⇔":"iff","⟸":"xlArr","⟺":"xhArr","⟹":"xrArr","⇒":"rArr","⊨":"vDash","⇑":"uArr","⇕":"vArr","∥":"par","⤓":"DownArrowBar","⇵":"duarr","̑":"DownBreve","⥐":"DownLeftRightVector","⥞":"DownLeftTeeVector","⥖":"DownLeftVectorBar","↽":"lhard","⥟":"DownRightTeeVector","⥗":"DownRightVectorBar","⇁":"rhard","↧":"mapstodown","⊤":"top","⤐":"RBarr","⌟":"drcorn","⌌":"drcrop","𝒟":"Dscr","𝒹":"dscr","Ѕ":"DScy","ѕ":"dscy","⧶":"dsol","Đ":"Dstrok","đ":"dstrok","⋱":"dtdot","▿":"dtri","⥯":"duhar","⦦":"dwangle","Џ":"DZcy","џ":"dzcy","⟿":"dzigrarr","É":"Eacute","é":"eacute","⩮":"easter","Ě":"Ecaron","ě":"ecaron","Ê":"Ecirc","ê":"ecirc","≖":"ecir","≕":"ecolon","Э":"Ecy","э":"ecy","Ė":"Edot","ė":"edot","ⅇ":"ee","≒":"efDot","𝔈":"Efr","𝔢":"efr","⪚":"eg","È":"Egrave","è":"egrave","⪖":"egs","⪘":"egsdot","⪙":"el","∈":"in","⏧":"elinters","ℓ":"ell","⪕":"els","⪗":"elsdot","Ē":"Emacr","ē":"emacr","∅":"empty","◻":"EmptySmallSquare","▫":"EmptyVerySmallSquare"," ":"emsp13"," ":"emsp14"," ":"emsp","Ŋ":"ENG","ŋ":"eng"," ":"ensp","Ę":"Eogon","ę":"eogon","𝔼":"Eopf","𝕖":"eopf","⋕":"epar","⧣":"eparsl","⩱":"eplus","ε":"epsi","Ε":"Epsilon","ϵ":"epsiv","≂":"esim","⩵":"Equal","=":"equals","≟":"equest","⇌":"rlhar","⩸":"equivDD","⧥":"eqvparsl","⥱":"erarr","≓":"erDot","ℯ":"escr","ℰ":"Escr","⩳":"Esim","Η":"Eta","η":"eta","Ð":"ETH","ð":"eth","Ë":"Euml","ë":"euml","€":"euro","!":"excl","∃":"exist","Ф":"Fcy","ф":"fcy","♀":"female","ffi":"ffilig","ff":"fflig","ffl":"ffllig","𝔉":"Ffr","𝔣":"ffr","fi":"filig","◼":"FilledSmallSquare",fj:"fjlig","♭":"flat","fl":"fllig","▱":"fltns","ƒ":"fnof","𝔽":"Fopf","𝕗":"fopf","∀":"forall","⋔":"fork","⫙":"forkv","ℱ":"Fscr","⨍":"fpartint","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","⅔":"frac23","⅖":"frac25","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","⁄":"frasl","⌢":"frown","𝒻":"fscr","ǵ":"gacute","Γ":"Gamma","γ":"gamma","Ϝ":"Gammad","⪆":"gap","Ğ":"Gbreve","ğ":"gbreve","Ģ":"Gcedil","Ĝ":"Gcirc","ĝ":"gcirc","Г":"Gcy","г":"gcy","Ġ":"Gdot","ġ":"gdot","≥":"ge","≧":"gE","⪌":"gEl","⋛":"gel","⩾":"ges","⪩":"gescc","⪀":"gesdot","⪂":"gesdoto","⪄":"gesdotol","⋛︀":"gesl","⪔":"gesles","𝔊":"Gfr","𝔤":"gfr","≫":"gg","⋙":"Gg","ℷ":"gimel","Ѓ":"GJcy","ѓ":"gjcy","⪥":"gla","≷":"gl","⪒":"glE","⪤":"glj","⪊":"gnap","⪈":"gne","≩":"gnE","⋧":"gnsim","𝔾":"Gopf","𝕘":"gopf","⪢":"GreaterGreater","≳":"gsim","𝒢":"Gscr","ℊ":"gscr","⪎":"gsime","⪐":"gsiml","⪧":"gtcc","⩺":"gtcir",">":"gt","⋗":"gtdot","⦕":"gtlPar","⩼":"gtquest","⥸":"gtrarr","≩︀":"gvnE"," ":"hairsp","ℋ":"Hscr","Ъ":"HARDcy","ъ":"hardcy","⥈":"harrcir","↔":"harr","↭":"harrw","^":"Hat","ℏ":"hbar","Ĥ":"Hcirc","ĥ":"hcirc","♥":"hearts","…":"mldr","⊹":"hercon","𝔥":"hfr","ℌ":"Hfr","⤥":"searhk","⤦":"swarhk","⇿":"hoarr","∻":"homtht","↩":"larrhk","↪":"rarrhk","𝕙":"hopf","ℍ":"Hopf","―":"horbar","𝒽":"hscr","Ħ":"Hstrok","ħ":"hstrok","⁃":"hybull","Í":"Iacute","í":"iacute","⁣":"ic","Î":"Icirc","î":"icirc","И":"Icy","и":"icy","İ":"Idot","Е":"IEcy","е":"iecy","¡":"iexcl","𝔦":"ifr","ℑ":"Im","Ì":"Igrave","ì":"igrave","ⅈ":"ii","⨌":"qint","∭":"tint","⧜":"iinfin","℩":"iiota","IJ":"IJlig","ij":"ijlig","Ī":"Imacr","ī":"imacr","ℐ":"Iscr","ı":"imath","⊷":"imof","Ƶ":"imped","℅":"incare","∞":"infin","⧝":"infintie","⊺":"intcal","∫":"int","∬":"Int","ℤ":"Zopf","⨗":"intlarhk","⨼":"iprod","⁢":"it","Ё":"IOcy","ё":"iocy","Į":"Iogon","į":"iogon","𝕀":"Iopf","𝕚":"iopf","Ι":"Iota","ι":"iota","¿":"iquest","𝒾":"iscr","⋵":"isindot","⋹":"isinE","⋴":"isins","⋳":"isinsv","Ĩ":"Itilde","ĩ":"itilde","І":"Iukcy","і":"iukcy","Ï":"Iuml","ï":"iuml","Ĵ":"Jcirc","ĵ":"jcirc","Й":"Jcy","й":"jcy","𝔍":"Jfr","𝔧":"jfr","ȷ":"jmath","𝕁":"Jopf","𝕛":"jopf","𝒥":"Jscr","𝒿":"jscr","Ј":"Jsercy","ј":"jsercy","Є":"Jukcy","є":"jukcy","Κ":"Kappa","κ":"kappa","ϰ":"kappav","Ķ":"Kcedil","ķ":"kcedil","К":"Kcy","к":"kcy","𝔎":"Kfr","𝔨":"kfr","ĸ":"kgreen","Х":"KHcy","х":"khcy","Ќ":"KJcy","ќ":"kjcy","𝕂":"Kopf","𝕜":"kopf","𝒦":"Kscr","𝓀":"kscr","⇚":"lAarr","Ĺ":"Lacute","ĺ":"lacute","⦴":"laemptyv","ℒ":"Lscr","Λ":"Lambda","λ":"lambda","⟨":"lang","⟪":"Lang","⦑":"langd","⪅":"lap","«":"laquo","⇤":"larrb","⤟":"larrbfs","←":"larr","↞":"Larr","⤝":"larrfs","↫":"larrlp","⤹":"larrpl","⥳":"larrsim","↢":"larrtl","⤙":"latail","⤛":"lAtail","⪫":"lat","⪭":"late","⪭︀":"lates","⤌":"lbarr","⤎":"lBarr","❲":"lbbrk","{":"lcub","[":"lsqb","⦋":"lbrke","⦏":"lbrksld","⦍":"lbrkslu","Ľ":"Lcaron","ľ":"lcaron","Ļ":"Lcedil","ļ":"lcedil","⌈":"lceil","Л":"Lcy","л":"lcy","⤶":"ldca","“":"ldquo","⥧":"ldrdhar","⥋":"ldrushar","↲":"ldsh","≤":"le","≦":"lE","⇆":"lrarr","⟦":"lobrk","⥡":"LeftDownTeeVector","⥙":"LeftDownVectorBar","⌊":"lfloor","↼":"lharu","⇇":"llarr","⇋":"lrhar","⥎":"LeftRightVector","↤":"mapstoleft","⥚":"LeftTeeVector","⋋":"lthree","⧏":"LeftTriangleBar","⊲":"vltri","⊴":"ltrie","⥑":"LeftUpDownVector","⥠":"LeftUpTeeVector","⥘":"LeftUpVectorBar","↿":"uharl","⥒":"LeftVectorBar","⪋":"lEg","⋚":"leg","⩽":"les","⪨":"lescc","⩿":"lesdot","⪁":"lesdoto","⪃":"lesdotor","⋚︀":"lesg","⪓":"lesges","⋖":"ltdot","≶":"lg","⪡":"LessLess","≲":"lsim","⥼":"lfisht","𝔏":"Lfr","𝔩":"lfr","⪑":"lgE","⥢":"lHar","⥪":"lharul","▄":"lhblk","Љ":"LJcy","љ":"ljcy","≪":"ll","⋘":"Ll","⥫":"llhard","◺":"lltri","Ŀ":"Lmidot","ŀ":"lmidot","⎰":"lmoust","⪉":"lnap","⪇":"lne","≨":"lnE","⋦":"lnsim","⟬":"loang","⇽":"loarr","⟵":"xlarr","⟷":"xharr","⟼":"xmap","⟶":"xrarr","↬":"rarrlp","⦅":"lopar","𝕃":"Lopf","𝕝":"lopf","⨭":"loplus","⨴":"lotimes","∗":"lowast",_:"lowbar","↙":"swarr","↘":"searr","◊":"loz","(":"lpar","⦓":"lparlt","⥭":"lrhard","‎":"lrm","⊿":"lrtri","‹":"lsaquo","𝓁":"lscr","↰":"lsh","⪍":"lsime","⪏":"lsimg","‘":"lsquo","‚":"sbquo","Ł":"Lstrok","ł":"lstrok","⪦":"ltcc","⩹":"ltcir","<":"lt","⋉":"ltimes","⥶":"ltlarr","⩻":"ltquest","◃":"ltri","⦖":"ltrPar","⥊":"lurdshar","⥦":"luruhar","≨︀":"lvnE","¯":"macr","♂":"male","✠":"malt","⤅":"Map","↦":"map","↥":"mapstoup","▮":"marker","⨩":"mcomma","М":"Mcy","м":"mcy","—":"mdash","∺":"mDDot"," ":"MediumSpace","ℳ":"Mscr","𝔐":"Mfr","𝔪":"mfr","℧":"mho","µ":"micro","⫰":"midcir","∣":"mid","−":"minus","⨪":"minusdu","∓":"mp","⫛":"mlcp","⊧":"models","𝕄":"Mopf","𝕞":"mopf","𝓂":"mscr","Μ":"Mu","μ":"mu","⊸":"mumap","Ń":"Nacute","ń":"nacute","∠⃒":"nang","≉":"nap","⩰̸":"napE","≋̸":"napid","ʼn":"napos","♮":"natur","ℕ":"Nopf"," ":"nbsp","≎̸":"nbump","≏̸":"nbumpe","⩃":"ncap","Ň":"Ncaron","ň":"ncaron","Ņ":"Ncedil","ņ":"ncedil","≇":"ncong","⩭̸":"ncongdot","⩂":"ncup","Н":"Ncy","н":"ncy","–":"ndash","⤤":"nearhk","↗":"nearr","⇗":"neArr","≠":"ne","≐̸":"nedot","​":"ZeroWidthSpace","≢":"nequiv","⤨":"toea","≂̸":"nesim","\n":"NewLine","∄":"nexist","𝔑":"Nfr","𝔫":"nfr","≧̸":"ngE","≱":"nge","⩾̸":"nges","⋙̸":"nGg","≵":"ngsim","≫⃒":"nGt","≯":"ngt","≫̸":"nGtv","↮":"nharr","⇎":"nhArr","⫲":"nhpar","∋":"ni","⋼":"nis","⋺":"nisd","Њ":"NJcy","њ":"njcy","↚":"nlarr","⇍":"nlArr","‥":"nldr","≦̸":"nlE","≰":"nle","⩽̸":"nles","≮":"nlt","⋘̸":"nLl","≴":"nlsim","≪⃒":"nLt","⋪":"nltri","⋬":"nltrie","≪̸":"nLtv","∤":"nmid","⁠":"NoBreak","𝕟":"nopf","⫬":"Not","¬":"not","≭":"NotCupCap","∦":"npar","∉":"notin","≹":"ntgl","⋵̸":"notindot","⋹̸":"notinE","⋷":"notinvb","⋶":"notinvc","⧏̸":"NotLeftTriangleBar","≸":"ntlg","⪢̸":"NotNestedGreaterGreater","⪡̸":"NotNestedLessLess","∌":"notni","⋾":"notnivb","⋽":"notnivc","⊀":"npr","⪯̸":"npre","⋠":"nprcue","⧐̸":"NotRightTriangleBar","⋫":"nrtri","⋭":"nrtrie","⊏̸":"NotSquareSubset","⋢":"nsqsube","⊐̸":"NotSquareSuperset","⋣":"nsqsupe","⊂⃒":"vnsub","⊈":"nsube","⊁":"nsc","⪰̸":"nsce","⋡":"nsccue","≿̸":"NotSucceedsTilde","⊃⃒":"vnsup","⊉":"nsupe","≁":"nsim","≄":"nsime","⫽⃥":"nparsl","∂̸":"npart","⨔":"npolint","⤳̸":"nrarrc","↛":"nrarr","⇏":"nrArr","↝̸":"nrarrw","𝒩":"Nscr","𝓃":"nscr","⊄":"nsub","⫅̸":"nsubE","⊅":"nsup","⫆̸":"nsupE","Ñ":"Ntilde","ñ":"ntilde","Ν":"Nu","ν":"nu","#":"num","№":"numero"," ":"numsp","≍⃒":"nvap","⊬":"nvdash","⊭":"nvDash","⊮":"nVdash","⊯":"nVDash","≥⃒":"nvge",">⃒":"nvgt","⤄":"nvHarr","⧞":"nvinfin","⤂":"nvlArr","≤⃒":"nvle","<⃒":"nvlt","⊴⃒":"nvltrie","⤃":"nvrArr","⊵⃒":"nvrtrie","∼⃒":"nvsim","⤣":"nwarhk","↖":"nwarr","⇖":"nwArr","⤧":"nwnear","Ó":"Oacute","ó":"oacute","Ô":"Ocirc","ô":"ocirc","О":"Ocy","о":"ocy","Ő":"Odblac","ő":"odblac","⨸":"odiv","⦼":"odsold","Œ":"OElig","œ":"oelig","⦿":"ofcir","𝔒":"Ofr","𝔬":"ofr","˛":"ogon","Ò":"Ograve","ò":"ograve","⧁":"ogt","⦵":"ohbar","Ω":"ohm","⦾":"olcir","⦻":"olcross","‾":"oline","⧀":"olt","Ō":"Omacr","ō":"omacr","ω":"omega","Ο":"Omicron","ο":"omicron","⦶":"omid","𝕆":"Oopf","𝕠":"oopf","⦷":"opar","⦹":"operp","⩔":"Or","∨":"or","⩝":"ord","ℴ":"oscr","ª":"ordf","º":"ordm","⊶":"origof","⩖":"oror","⩗":"orslope","⩛":"orv","𝒪":"Oscr","Ø":"Oslash","ø":"oslash","⊘":"osol","Õ":"Otilde","õ":"otilde","⨶":"otimesas","⨷":"Otimes","Ö":"Ouml","ö":"ouml","⌽":"ovbar","⏞":"OverBrace","⎴":"tbrk","⏜":"OverParenthesis","¶":"para","⫳":"parsim","⫽":"parsl","∂":"part","П":"Pcy","п":"pcy","%":"percnt",".":"period","‰":"permil","‱":"pertenk","𝔓":"Pfr","𝔭":"pfr","Φ":"Phi","φ":"phi","ϕ":"phiv","☎":"phone","Π":"Pi","π":"pi","ϖ":"piv","ℎ":"planckh","⨣":"plusacir","⨢":"pluscir","+":"plus","⨥":"plusdu","⩲":"pluse","±":"pm","⨦":"plussim","⨧":"plustwo","⨕":"pointint","𝕡":"popf","ℙ":"Popf","£":"pound","⪷":"prap","⪻":"Pr","≺":"pr","≼":"prcue","⪯":"pre","≾":"prsim","⪹":"prnap","⪵":"prnE","⋨":"prnsim","⪳":"prE","′":"prime","″":"Prime","∏":"prod","⌮":"profalar","⌒":"profline","⌓":"profsurf","∝":"prop","⊰":"prurel","𝒫":"Pscr","𝓅":"pscr","Ψ":"Psi","ψ":"psi"," ":"puncsp","𝔔":"Qfr","𝔮":"qfr","𝕢":"qopf","ℚ":"Qopf","⁗":"qprime","𝒬":"Qscr","𝓆":"qscr","⨖":"quatint","?":"quest",'"':"quot","⇛":"rAarr","∽̱":"race","Ŕ":"Racute","ŕ":"racute","√":"Sqrt","⦳":"raemptyv","⟩":"rang","⟫":"Rang","⦒":"rangd","⦥":"range","»":"raquo","⥵":"rarrap","⇥":"rarrb","⤠":"rarrbfs","⤳":"rarrc","→":"rarr","↠":"Rarr","⤞":"rarrfs","⥅":"rarrpl","⥴":"rarrsim","⤖":"Rarrtl","↣":"rarrtl","↝":"rarrw","⤚":"ratail","⤜":"rAtail","∶":"ratio","❳":"rbbrk","}":"rcub","]":"rsqb","⦌":"rbrke","⦎":"rbrksld","⦐":"rbrkslu","Ř":"Rcaron","ř":"rcaron","Ŗ":"Rcedil","ŗ":"rcedil","⌉":"rceil","Р":"Rcy","р":"rcy","⤷":"rdca","⥩":"rdldhar","↳":"rdsh","ℜ":"Re","ℛ":"Rscr","ℝ":"Ropf","▭":"rect","⥽":"rfisht","⌋":"rfloor","𝔯":"rfr","⥤":"rHar","⇀":"rharu","⥬":"rharul","Ρ":"Rho","ρ":"rho","ϱ":"rhov","⇄":"rlarr","⟧":"robrk","⥝":"RightDownTeeVector","⥕":"RightDownVectorBar","⇉":"rrarr","⊢":"vdash","⥛":"RightTeeVector","⋌":"rthree","⧐":"RightTriangleBar","⊳":"vrtri","⊵":"rtrie","⥏":"RightUpDownVector","⥜":"RightUpTeeVector","⥔":"RightUpVectorBar","↾":"uharr","⥓":"RightVectorBar","˚":"ring","‏":"rlm","⎱":"rmoust","⫮":"rnmid","⟭":"roang","⇾":"roarr","⦆":"ropar","𝕣":"ropf","⨮":"roplus","⨵":"rotimes","⥰":"RoundImplies",")":"rpar","⦔":"rpargt","⨒":"rppolint","›":"rsaquo","𝓇":"rscr","↱":"rsh","⋊":"rtimes","▹":"rtri","⧎":"rtriltri","⧴":"RuleDelayed","⥨":"ruluhar","℞":"rx","Ś":"Sacute","ś":"sacute","⪸":"scap","Š":"Scaron","š":"scaron","⪼":"Sc","≻":"sc","≽":"sccue","⪰":"sce","⪴":"scE","Ş":"Scedil","ş":"scedil","Ŝ":"Scirc","ŝ":"scirc","⪺":"scnap","⪶":"scnE","⋩":"scnsim","⨓":"scpolint","≿":"scsim","С":"Scy","с":"scy","⋅":"sdot","⩦":"sdote","⇘":"seArr","§":"sect",";":"semi","⤩":"tosa","✶":"sext","𝔖":"Sfr","𝔰":"sfr","♯":"sharp","Щ":"SHCHcy","щ":"shchcy","Ш":"SHcy","ш":"shcy","↑":"uarr","­":"shy","Σ":"Sigma","σ":"sigma","ς":"sigmaf","∼":"sim","⩪":"simdot","≃":"sime","⪞":"simg","⪠":"simgE","⪝":"siml","⪟":"simlE","≆":"simne","⨤":"simplus","⥲":"simrarr","⨳":"smashp","⧤":"smeparsl","⌣":"smile","⪪":"smt","⪬":"smte","⪬︀":"smtes","Ь":"SOFTcy","ь":"softcy","⌿":"solbar","⧄":"solb","/":"sol","𝕊":"Sopf","𝕤":"sopf","♠":"spades","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊏":"sqsub","⊑":"sqsube","⊐":"sqsup","⊒":"sqsupe","□":"squ","𝒮":"Sscr","𝓈":"sscr","⋆":"Star","☆":"star","⊂":"sub","⋐":"Sub","⪽":"subdot","⫅":"subE","⊆":"sube","⫃":"subedot","⫁":"submult","⫋":"subnE","⊊":"subne","⪿":"subplus","⥹":"subrarr","⫇":"subsim","⫕":"subsub","⫓":"subsup","∑":"sum","♪":"sung","¹":"sup1","²":"sup2","³":"sup3","⊃":"sup","⋑":"Sup","⪾":"supdot","⫘":"supdsub","⫆":"supE","⊇":"supe","⫄":"supedot","⟉":"suphsol","⫗":"suphsub","⥻":"suplarr","⫂":"supmult","⫌":"supnE","⊋":"supne","⫀":"supplus","⫈":"supsim","⫔":"supsub","⫖":"supsup","⇙":"swArr","⤪":"swnwar","ß":"szlig","\t":"Tab","⌖":"target","Τ":"Tau","τ":"tau","Ť":"Tcaron","ť":"tcaron","Ţ":"Tcedil","ţ":"tcedil","Т":"Tcy","т":"tcy","⃛":"tdot","⌕":"telrec","𝔗":"Tfr","𝔱":"tfr","∴":"there4","Θ":"Theta","θ":"theta","ϑ":"thetav","  ":"ThickSpace"," ":"thinsp","Þ":"THORN","þ":"thorn","⨱":"timesbar","×":"times","⨰":"timesd","⌶":"topbot","⫱":"topcir","𝕋":"Topf","𝕥":"topf","⫚":"topfork","‴":"tprime","™":"trade","▵":"utri","≜":"trie","◬":"tridot","⨺":"triminus","⨹":"triplus","⧍":"trisb","⨻":"tritime","⏢":"trpezium","𝒯":"Tscr","𝓉":"tscr","Ц":"TScy","ц":"tscy","Ћ":"TSHcy","ћ":"tshcy","Ŧ":"Tstrok","ŧ":"tstrok","Ú":"Uacute","ú":"uacute","↟":"Uarr","⥉":"Uarrocir","Ў":"Ubrcy","ў":"ubrcy","Ŭ":"Ubreve","ŭ":"ubreve","Û":"Ucirc","û":"ucirc","У":"Ucy","у":"ucy","⇅":"udarr","Ű":"Udblac","ű":"udblac","⥮":"udhar","⥾":"ufisht","𝔘":"Ufr","𝔲":"ufr","Ù":"Ugrave","ù":"ugrave","⥣":"uHar","▀":"uhblk","⌜":"ulcorn","⌏":"ulcrop","◸":"ultri","Ū":"Umacr","ū":"umacr","⏟":"UnderBrace","⏝":"UnderParenthesis","⊎":"uplus","Ų":"Uogon","ų":"uogon","𝕌":"Uopf","𝕦":"uopf","⤒":"UpArrowBar","↕":"varr","υ":"upsi","ϒ":"Upsi","Υ":"Upsilon","⇈":"uuarr","⌝":"urcorn","⌎":"urcrop","Ů":"Uring","ů":"uring","◹":"urtri","𝒰":"Uscr","𝓊":"uscr","⋰":"utdot","Ũ":"Utilde","ũ":"utilde","Ü":"Uuml","ü":"uuml","⦧":"uwangle","⦜":"vangrt","⊊︀":"vsubne","⫋︀":"vsubnE","⊋︀":"vsupne","⫌︀":"vsupnE","⫨":"vBar","⫫":"Vbar","⫩":"vBarv","В":"Vcy","в":"vcy","⊩":"Vdash","⊫":"VDash","⫦":"Vdashl","⊻":"veebar","≚":"veeeq","⋮":"vellip","|":"vert","‖":"Vert","❘":"VerticalSeparator","≀":"wr","𝔙":"Vfr","𝔳":"vfr","𝕍":"Vopf","𝕧":"vopf","𝒱":"Vscr","𝓋":"vscr","⊪":"Vvdash","⦚":"vzigzag","Ŵ":"Wcirc","ŵ":"wcirc","⩟":"wedbar","≙":"wedgeq","℘":"wp","𝔚":"Wfr","𝔴":"wfr","𝕎":"Wopf","𝕨":"wopf","𝒲":"Wscr","𝓌":"wscr","𝔛":"Xfr","𝔵":"xfr","Ξ":"Xi","ξ":"xi","⋻":"xnis","𝕏":"Xopf","𝕩":"xopf","𝒳":"Xscr","𝓍":"xscr","Ý":"Yacute","ý":"yacute","Я":"YAcy","я":"yacy","Ŷ":"Ycirc","ŷ":"ycirc","Ы":"Ycy","ы":"ycy","¥":"yen","𝔜":"Yfr","𝔶":"yfr","Ї":"YIcy","ї":"yicy","𝕐":"Yopf","𝕪":"yopf","𝒴":"Yscr","𝓎":"yscr","Ю":"YUcy","ю":"yucy","ÿ":"yuml","Ÿ":"Yuml","Ź":"Zacute","ź":"zacute","Ž":"Zcaron","ž":"zcaron","З":"Zcy","з":"zcy","Ż":"Zdot","ż":"zdot","ℨ":"Zfr","Ζ":"Zeta","ζ":"zeta","𝔷":"zfr","Ж":"ZHcy","ж":"zhcy","⇝":"zigrarr","𝕫":"zopf","𝒵":"Zscr","𝓏":"zscr","‍":"zwj","‌":"zwnj"},f=/["&'<>`]/g,p={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+);|&(Aacute|iacute|Uacute|plusmn|otilde|Otilde|Agrave|agrave|yacute|Yacute|oslash|Oslash|Atilde|atilde|brvbar|Ccedil|ccedil|ograve|curren|divide|Eacute|eacute|Ograve|oacute|Egrave|egrave|ugrave|frac12|frac14|frac34|Ugrave|Oacute|Iacute|ntilde|Ntilde|uacute|middot|Igrave|igrave|iquest|aacute|laquo|THORN|micro|iexcl|icirc|Icirc|Acirc|ucirc|ecirc|Ocirc|ocirc|Ecirc|Ucirc|aring|Aring|aelig|AElig|acute|pound|raquo|acirc|times|thorn|szlig|cedil|COPY|Auml|ordf|ordm|uuml|macr|Uuml|auml|Ouml|ouml|para|nbsp|Euml|quot|QUOT|euml|yuml|cent|sect|copy|sup1|sup2|sup3|Iuml|iuml|shy|eth|reg|not|yen|amp|AMP|REG|uml|ETH|deg|gt|GT|LT|lt)([=a-zA-Z0-9])?/g,y={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě", +ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},_={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"},b={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],E=String.fromCharCode,C={},A=C.hasOwnProperty,x=function(e,t){return A.call(e,t)},k=function(e,t){for(var n=-1,r=e.length;++n=55296&&e<=57343||e>1114111?(t&&T("character reference outside the permissible Unicode range"),"�"):x(b,e)?(t&&T("disallowed character reference"),b[e]):(t&&k(w,e)&&T("disallowed character reference"),e>65535&&(e-=65536,n+=E(e>>>10&1023|55296),e=56320|1023&e),n+=E(e))},M=function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"},T=function(e){throw Error("Parse error: "+e)},S=function(e,t){t=D(t,S.options);var n=t.strict;n&&g.test(e)&&T("forbidden code point");var r=t.encodeEverything,i=t.useNamedReferences,o=t.allowUnsafeSymbols;return r?(e=e.replace(c,function(e){return i&&x(d,e)?"&"+d[e]+";":M(e)}),i&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),i&&(e=e.replace(h,function(e){return"&"+d[e]+";"}))):i?(o||(e=e.replace(f,function(e){return"&"+d[e]+";"})),e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),e=e.replace(h,function(e){return"&"+d[e]+";"})):o||(e=e.replace(f,M)),e.replace(l,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=1024*(t-55296)+n-56320+65536;return"&#x"+r.toString(16).toUpperCase()+";"}).replace(u,M)};S.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1};var F=function(e,t){t=D(t,F.options);var n=t.strict;return n&&m.test(e)&&T("malformed character reference"),e.replace(v,function(e,r,i,o,s,a,l,c){var u,h,d,f,p;return r?(u=r,h=i,n&&!h&&T("character reference was not terminated by a semicolon"),L(u,n)):o?(d=o,h=s,n&&!h&&T("character reference was not terminated by a semicolon"),u=parseInt(d,16),L(u,n)):a?(f=a,x(y,f)?y[f]:(n&&T("named character reference was not terminated by a semicolon"),e)):(f=l,p=c,p&&t.isAttributeValue?(n&&"="==p&&T("`&` did not start a character reference"),e):(n&&T("named character reference was not terminated by a semicolon"),_[f]+(p||"")))})};F.options={isAttributeValue:!1,strict:!1};var R=function(e){return e.replace(f,function(e){return p[e]})},N={version:"0.5.0",encode:S,decode:F,escape:R,unescape:F};r=function(){return N}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(this)}).call(t,n(119)(e),function(){return this}())},function(e,t,n){(function(e){var n={};t.escapeJavaScript=function(e){if(!e)return"";for(var t="",r=0,i=e.length;r=256)return"\\u"+n.padLeft(""+t,4);var r=new e(String.fromCharCode(t),"ascii").toString("hex");return"\\x"+n.padLeft(r,2)},n.escapeHtmlChar=function(t){var r=n.namedHtml[t];if("undefined"!=typeof r)return r;if(t>=256)return"&#"+t+";";var i=new e(String.fromCharCode(t),"ascii").toString("hex");return"&#x"+n.padLeft(i,2)+";"},n.padLeft=function(e,t){for(;e.length=97||t>=65&&t<=90||t>=48&&t<=57||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(t,n(10).Buffer)},function(e,t,n){e.exports=n(316)},function(e,t,n){(function(t){/** + * To validate an email address according to RFCs 5321, 5322 and others + * + * Copyright © 2008-2011, Dominic Sayers + * Test schema documentation Copyright © 2011, Daniel Marschall + * Port for Node.js Copyright © 2013-2014, GlobeSherpa + * and Copyright © 2014-2015, Eli Skeggs + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * - Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * - Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * - Neither the name of Dominic Sayers nor the names of its contributors may + * be used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * @author Dominic Sayers + * @author Eli Skeggs + * @copyright 2008-2011 Dominic Sayers + * @copyright 2013-2014 GlobeSherpa + * @copyright 2014-2015 Eli Skeggs + * @license http://www.opensource.org/licenses/bsd-license.php BSD License + * @link http://www.dominicsayers.com/isemail + * @link https://github.com/hapijs/isemail + * @version 1.2.0 Drop Node 0.8, fix style, switch to lab/code */ -var r=n(204),i={defaultThreshold:16,maxIPv6Groups:8,categories:{valid:1,dnsWarn:7,rfc5321:15,cfws:31,deprecated:63,rfc5322:127,error:255},diagnoses:{valid:0,dnsWarnNoMXRecord:5,dnsWarnNoRecord:6,rfc5321TLD:9,rfc5321TLDNumeric:10,rfc5321QuotedString:11,rfc5321AddressLiteral:12,cfwsComment:17,cfwsFWS:18,deprecatedLocalPart:33,deprecatedFWS:34,deprecatedQTEXT:35,deprecatedQP:36,deprecatedComment:37,deprecatedCTEXT:38,deprecatedIPv6:39,deprecatedCFWSNearAt:49,rfc5322Domain:65,rfc5322TooLong:66,rfc5322LocalTooLong:67,rfc5322DomainTooLong:68,rfc5322LabelTooLong:69,rfc5322DomainLiteral:70,rfc5322DomainLiteralOBSDText:71,rfc5322IPv6GroupCount:72,rfc5322IPv62x2xColon:73,rfc5322IPv6BadCharacter:74,rfc5322IPv6MaxGroups:75,rfc5322IPv6ColonStart:76,rfc5322IPv6ColonEnd:77,errExpectingDTEXT:129,errNoLocalPart:130,errNoDomain:131,errConsecutiveDots:132,errATEXTAfterCFWS:133,errATEXTAfterQS:134,errATEXTAfterDomainLiteral:135,errExpectingQPair:136,errExpectingATEXT:137,errExpectingQTEXT:138,errExpectingCTEXT:139,errBackslashEnd:140,errDotStart:141,errDotEnd:142,errDomainHyphenStart:143,errDomainHyphenEnd:144,errUnclosedQuotedString:145,errUnclosedComment:146,errUnclosedDomainLiteral:147,errFWSCRLFx2:148,errFWSCRLFEnd:149,errCRNoLF:150,errUnknownTLD:160,errDomainTooShort:161},components:{localpart:0,domain:1,literal:2,contextComment:3,contextFWS:4,contextQuotedString:5,contextQuotedPair:6}};i.defer="undefined"!=typeof t&&t&&"function"==typeof t.nextTick?t.nextTick.bind(t):function(e){return setTimeout(e,0)};var o='()<>[]:;@\\,."',s=function(e){for(var t=new Array(256),n=255;n>=0;--n)t[n]=!1;for(var r=e.length;r>n;++n)t[e.charCodeAt(n)]=!0;var i="return function (code) {\n";return i+=" return lookup[code];\n",i+="}",new Function("lookup",i)(t)},a=s(o),l=/\b(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,c=/^[a-fA-F\d]{0,4}$/,u=c.test.bind(c),d=Object.prototype.hasOwnProperty,h=function(e,t,n){if("function"==typeof t&&(n=t,t={}),t||(t={}),"function"!=typeof n){if(t.checkDNS)throw new TypeError("expected callback function for checkDNS option");n=null}var o,s;if("number"==typeof t.errorLevel?(o=!0,s=t.errorLevel):(o=!!t.errorLevel,s=i.diagnoses.valid),t.tldWhitelist)if("string"==typeof t.tldWhitelist)t.tldWhitelist=[t.tldWhitelist];else if("object"!=typeof t.tldWhitelist)throw new TypeError("expected array or object tldWhitelist");if(t.minDomainAtoms&&(t.minDomainAtoms!==(0|+t.minDomainAtoms)||t.minDomainAtoms<0))throw new TypeError("expected positive integer minDomainAtoms");for(var c,h=i.diagnoses.valid,p=function(e){e>h&&(h=e)},f={now:i.components.localpart,prev:i.components.localpart,stack:[i.components.localpart]},m="",g=0,v={local:"",domain:""},y={locals:[""],domains:[""]},_=0,b=0,w=0,E=!1,C=!1,A=e.length,x=0,k=A;k>x;++x){switch(c=e[x],f.now){case i.components.localpart:switch(c){case"(":0===b?p(0===_?i.diagnoses.cfwsComment:i.diagnoses.deprecatedComment):(p(i.diagnoses.cfwsComment),C=!0),f.stack.push(f.now),f.now=i.components.contextComment;break;case".":0===b?p(0===_?i.diagnoses.errDotStart:i.diagnoses.errConsecutiveDots):(C&&p(i.diagnoses.deprecatedLocalPart),C=!1,b=0,++_,v.local+=c,y.locals[_]="");break;case'"':0===b?(p(0===_?i.diagnoses.rfc5321QuotedString:i.diagnoses.deprecatedLocalPart),v.local+=c,y.locals[_]+=c,++b,C=!0,f.stack.push(f.now),f.now=i.components.contextQuotedString):p(i.diagnoses.errExpectingATEXT);break;case"\r":if(A===++x||"\n"!==e[x]){p(i.diagnoses.errCRNoLF);break}case" ":case" ":0===b?p(0===_?i.diagnoses.cfwsFWS:i.diagnoses.deprecatedFWS):C=!0,f.stack.push(f.now),f.now=i.components.contextFWS,m=c;break;case"@":if(1!==f.stack.length)throw new Error("unexpected item on context stack");0===v.local.length?p(i.diagnoses.errNoLocalPart):0===b?p(i.diagnoses.errDotEnd):v.local.length>64?p(i.diagnoses.rfc5322LocalTooLong):f.prev!==i.components.contextComment&&f.prev!==i.components.contextFWS||p(i.diagnoses.deprecatedCFWSNearAt),f.now=i.components.domain,f.stack[0]=i.components.domain,_=0,b=0,C=!1;break;default:if(C)switch(f.prev){case i.components.contextComment:case i.components.contextFWS:p(i.diagnoses.errATEXTAfterCFWS);break;case i.components.contextQuotedString:p(i.diagnoses.errATEXTAfterQS);break;default:throw new Error("more atext found where none is allowed, but unrecognized prev context: "+f.prev)}else f.prev=f.now,g=c.charCodeAt(0),(33>g||g>126||a(g))&&p(i.diagnoses.errExpectingATEXT),v.local+=c,y.locals[_]+=c,++b}break;case i.components.domain:switch(c){case"(":0===b?p(0===_?i.diagnoses.deprecatedCFWSNearAt:i.diagnoses.deprecatedComment):(C=!0,p(i.diagnoses.cfwsComment)),f.stack.push(f.now),f.now=i.components.contextComment;break;case".":0===b?p(0===_?i.diagnoses.errDotStart:i.diagnoses.errConsecutiveDots):E?p(i.diagnoses.errDomainHyphenEnd):b>63&&p(i.diagnoses.rfc5322LabelTooLong),C=!1,b=0,++_,y.domains[_]="",v.domain+=c;break;case"[":0===v.domain.length?(C=!0,++b,f.stack.push(f.now),f.now=i.components.literal,v.domain+=c,y.domains[_]+=c,v.literal=""):p(i.diagnoses.errExpectingATEXT);break;case"\r":if(A===++x||"\n"!==e[x]){p(i.diagnoses.errCRNoLF);break}case" ":case" ":0===b?p(0===_?i.diagnoses.deprecatedCFWSNearAt:i.diagnoses.deprecatedFWS):(p(i.diagnoses.cfwsFWS),C=!0),f.stack.push(f.now),f.now=i.components.contextFWS,m=c;break;default:if(C)switch(f.prev){case i.components.contextComment:case i.components.contextFWS:p(i.diagnoses.errATEXTAfterCFWS);break;case i.components.literal:p(i.diagnoses.errATEXTAfterDomainLiteral);break;default:throw new Error("more atext found where none is allowed, but unrecognized prev context: "+f.prev)}g=c.charCodeAt(0),E=!1,33>g||g>126||a(g)?p(i.diagnoses.errExpectingATEXT):"-"===c?(0===b&&p(i.diagnoses.errDomainHyphenStart),E=!0):(48>g||g>122||g>57&&65>g||g>90&&97>g)&&p(i.diagnoses.rfc5322Domain),v.domain+=c,y.domains[_]+=c,++b}break;case i.components.literal:switch(c){case"]":if(hS?p(i.diagnoses.rfc5322IPv6MaxGroups):F.length===S&&p(i.diagnoses.deprecatedIPv6)):F.length!==S&&p(i.diagnoses.rfc5322IPv6GroupCount),p(":"===T[0]&&":"!==T[1]?i.diagnoses.rfc5322IPv6ColonStart:":"===T[T.length-1]&&":"!==T[T.length-2]?i.diagnoses.rfc5322IPv6ColonEnd:F.every(u)?i.diagnoses.rfc5321AddressLiteral:i.diagnoses.rfc5322IPv6BadCharacter)}}else p(i.diagnoses.rfc5322DomainLiteral);v.domain+=c,y.domains[_]+=c,++b,f.prev=f.now,f.now=f.stack.pop();break;case"\\":p(i.diagnoses.rfc5322DomainLiteralOBSDText),f.stack.push(f.now),f.now=i.components.contextQuotedPair;break;case"\r":if(A===++x||"\n"!==e[x]){p(i.diagnoses.errCRNoLF);break}case" ":case" ":p(i.diagnoses.cfwsFWS),f.stack.push(f.now),f.now=i.components.contextFWS,m=c;break;default:if(g=c.charCodeAt(0),g>127||0===g||"["===c){p(i.diagnoses.errExpectingDTEXT);break}(33>g||127===g)&&p(i.diagnoses.rfc5322DomainLiteralOBSDText),v.literal+=c,v.domain+=c,y.domains[_]+=c,++b}break;case i.components.contextQuotedString:switch(c){case"\\":f.stack.push(f.now),f.now=i.components.contextQuotedPair;break;case"\r":if(A===++x||"\n"!==e[x]){p(i.diagnoses.errCRNoLF);break}case" ":v.local+=" ",y.locals[_]+=" ",++b,p(i.diagnoses.cfwsFWS),f.stack.push(f.now),f.now=i.components.contextFWS,m=c;break;case'"':v.local+=c,y.locals[_]+=c,++b,f.prev=f.now,f.now=f.stack.pop();break;default:g=c.charCodeAt(0),g>127||0===g||10===g?p(i.diagnoses.errExpectingQTEXT):(32>g||127===g)&&p(i.diagnoses.deprecatedQTEXT),v.local+=c,y.locals[_]+=c,++b}break;case i.components.contextQuotedPair:switch(g=c.charCodeAt(0),g>127?p(i.diagnoses.errExpectingQPair):(31>g&&9!==g||127===g)&&p(i.diagnoses.deprecatedQP),f.prev=f.now,f.now=f.stack.pop(),c="\\"+c,f.now){case i.components.contextComment:break;case i.components.contextQuotedString:v.local+=c,y.locals[_]+=c,b+=2;break;case i.components.literal:v.domain+=c,y.domains[_]+=c,b+=2;break;default:throw new Error("quoted pair logic invoked in an invalid context: "+f.now)}break;case i.components.contextComment:switch(c){case"(":f.stack.push(f.now),f.now=i.components.contextComment;break;case")":f.prev=f.now,f.now=f.stack.pop();break;case"\\":f.stack.push(f.now),f.now=i.components.contextQuotedPair;break;case"\r":if(A===++x||"\n"!==e[x]){p(i.diagnoses.errCRNoLF);break}case" ":case" ":p(i.diagnoses.cfwsFWS),f.stack.push(f.now),f.now=i.components.contextFWS,m=c;break;default:if(g=c.charCodeAt(0),g>127||0===g||10===g){p(i.diagnoses.errExpectingCTEXT);break}(32>g||127===g)&&p(i.diagnoses.deprecatedCTEXT)}break;case i.components.contextFWS:if("\r"===m){if("\r"===c){p(i.diagnoses.errFWSCRLFx2);break}++w>1?p(i.diagnoses.deprecatedFWS):w=1}switch(c){case"\r":A!==++x&&"\n"===e[x]||p(i.diagnoses.errCRNoLF);break;case" ":case" ":break;default:"\r"===m&&p(i.diagnoses.errFWSCRLFEnd),w=0,f.prev=f.now,f.now=f.stack.pop(),--x}m=c;break;default:throw new Error("unknown context: "+f.now)}if(h>i.categories.rfc5322)break}if(h255)p(i.diagnoses.rfc5322DomainTooLong);else if(v.local.length+v.domain.length+1>254)p(i.diagnoses.rfc5322TooLong);else if(b>63)p(i.diagnoses.rfc5322LabelTooLong);else if(t.minDomainAtoms&&y.domains.lengthx;++x)if(N===t.tldWhitelist[x]){R=!0;break}R||p(i.diagnoses.errUnknownTLD)}else d.call(t.tldWhitelist,N)||p(i.diagnoses.errUnknownTLD)}var B=!1,O=!1,P=function(){if(!B&&h=e?p(i.diagnoses.rfc5321TLDNumeric):0===_&&p(i.diagnoses.rfc5321TLD)}s>h&&(h=i.diagnoses.valid);var t=o?h:hr;)e[r++]=e[r];--e.length},a.Array=function(){r.call(this),this._type="array",this._inner.items=[],this._inner.inclusions=[],this._inner.exclusions=[],this._inner.requireds=[],this._flags.sparse=!1},s.inherits(a.Array,r),a.Array.prototype._base=function(e,t,n){var r={value:e};if("string"==typeof e&&n.convert)try{var i=JSON.parse(e);Array.isArray(i)&&(r.value=i)}catch(s){}var l=Array.isArray(r.value),c=l;if(n.convert&&this._flags.single&&!l&&(r.value=[r.value],l=!0),!l)return r.errors=o.create("array.base",null,t,n),r;if((this._inner.inclusions.length||this._inner.exclusions.length||!this._flags.sparse)&&(c&&(r.value=r.value.slice(0)),r.errors=a.checkItems.call(this,r.value,c,t,n),r.errors&&c&&n.convert&&this._flags.single)){var u=r.errors;r.value=[r.value],r.errors=a.checkItems.call(this,r.value,c,t,n),r.errors&&(r.errors=u,r.value=r.value[0])}return r},a.checkItems=function(e,t,n,r){for(var i,s=[],l=this._inner.requireds.slice(),c=this._inner.inclusions.concat(l),u=0,d=e.length;d>u;++u){i=!1;var h,p=e[u],f=!1,m={key:u,path:(n.path?n.path+".":"")+u,parent:e,reference:n.reference};if(this._flags.sparse||void 0!==p){for(var g=0,v=this._inner.exclusions.length;v>g;++g)if(h=this._inner.exclusions[g]._validate(p,m,{}),!h.errors){if(s.push(o.create(t?"array.excludes":"array.excludesSingle",{pos:u,value:p},{key:n.key,path:m.path},r)),i=!0,r.abortEarly)return s;break}if(!i){var y=[];for(g=0,v=l.length;v>g;++g)if(h=y[g]=l[g]._validate(p,m,r),!h.errors){e[u]=h.value,f=!0,a.fastSplice(l,g),--g,--v;break}if(!f){for(g=0,v=c.length;v>g;++g){var _=c[g],b=l.indexOf(_);if(-1!==b)h=y[b];else if(h=_._validate(p,m,r),!h.errors){_._flags.strip?(a.fastSplice(e,u),--u,--d):e[u]=h.value,f=!0;break}if(1===v){if(r.stripUnknown){a.fastSplice(e,u),--u,--d,f=!0;break}if(s.push(o.create(t?"array.includesOne":"array.includesOneSingle",{pos:u,reason:h.errors,value:p},{key:n.key,path:m.path},r)),i=!0,r.abortEarly)return s;break}}if(!i&&this._inner.inclusions.length&&!f){if(r.stripUnknown){a.fastSplice(e,u),--u,--d;continue}if(s.push(o.create(t?"array.includes":"array.includesSingle",{pos:u,value:p},{key:n.key,path:m.path},r)),r.abortEarly)return s}}}}else if(s.push(o.create("array.sparse",null,{key:n.key,path:m.path},r)),r.abortEarly)return s}return l.length&&a.fillMissedErrors(s,l,n,r),s.length?s:null},a.fillMissedErrors=function(e,t,n,r){for(var i=[],a=0,l=0,c=t.length;c>l;++l){var u=s.reach(t[l],"_settings.language.label");u?i.push(u):++a}i.length?a?e.push(o.create("array.includesRequiredBoth",{knownMisses:i,unknownMisses:a},{key:n.key,path:n.patk},r)):e.push(o.create("array.includesRequiredKnowns",{knownMisses:i},{key:n.key,path:n.path},r)):e.push(o.create("array.includesRequiredUnknowns",{unknownMisses:a},{key:n.key,path:n.path},r))},a.Array.prototype.describe=function(){var e=r.prototype.describe.call(this);if(this._inner.items.length){e.items=[];for(var t=0,n=this._inner.items.length;n>t;++t)e.items.push(this._inner.items[t].describe())}return e},a.Array.prototype.items=function(){var e=this.clone();return s.flatten(Array.prototype.slice.call(arguments)).forEach(function(t){t=i.schema(t),e._inner.items.push(t),"required"===t._flags.presence?e._inner.requireds.push(t):"forbidden"===t._flags.presence?e._inner.exclusions.push(t.optional()):e._inner.inclusions.push(t)}),e},a.Array.prototype.min=function(e){return s.assert(s.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("min",e,function(t,n,r){return t.length>=e?null:o.create("array.min",{limit:e,value:t},n,r)})},a.Array.prototype.max=function(e){return s.assert(s.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("max",e,function(t,n,r){return t.length<=e?null:o.create("array.max",{limit:e,value:t},n,r)})},a.Array.prototype.length=function(e){return s.assert(s.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("length",e,function(t,n,r){return t.length===e?null:o.create("array.length",{limit:e,value:t},n,r)})},a.Array.prototype.unique=function(){return this._test("unique",void 0,function(e,t,n){for(var r={string:{},number:{},undefined:{},"boolean":{},object:[],"function":[]},i=0,a=e.length;a>i;++i){var l=e[i],c=typeof l,u=r[c];if(u)if(Array.isArray(u)){for(var d=0,h=u.length;h>d;++d)if(s.deepEqual(u[d],l))return o.create("array.unique",{pos:i,value:l},t,n);u.push(l)}else{if(u[l])return o.create("array.unique",{pos:i,value:l},t,n);u[l]=!0}}})},a.Array.prototype.sparse=function(e){var t=this.clone();return t._flags.sparse=void 0===e?!0:!!e,t},a.Array.prototype.single=function(e){var t=this.clone();return t._flags.single=void 0===e?!0:!!e,t},e.exports=new a.Array},function(e,t,n){(function(t){var r=n(21),i=n(29),o=n(12),s={};s.Binary=function(){r.call(this),this._type="binary"},o.inherits(s.Binary,r),s.Binary.prototype._base=function(e,n,r){var o={value:e};if("string"==typeof e&&r.convert)try{var s=new t(e,this._flags.encoding);o.value=s}catch(a){}return o.errors=t.isBuffer(o.value)?null:i.create("binary.base",null,n,r),o},s.Binary.prototype.encoding=function(e){o.assert(t.isEncoding(e),"Invalid encoding:",e);var n=this.clone();return n._flags.encoding=e,n},s.Binary.prototype.min=function(e){return o.assert(o.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("min",e,function(t,n,r){return t.length>=e?null:i.create("binary.min",{limit:e,value:t},n,r)})},s.Binary.prototype.max=function(e){return o.assert(o.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("max",e,function(t,n,r){return t.length<=e?null:i.create("binary.max",{limit:e,value:t},n,r)})},s.Binary.prototype.length=function(e){return o.assert(o.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("length",e,function(t,n,r){return t.length===e?null:i.create("binary.length",{limit:e,value:t},n,r)})},e.exports=new s.Binary}).call(t,n(14).Buffer)},function(e,t,n){var r=n(21),i=n(29),o=n(12),s={};s.Function=function(){r.call(this),this._type="func"},o.inherits(s.Function,r),s.Function.prototype._base=function(e,t,n){return{value:e,errors:"function"==typeof e?null:i.create("function.base",null,t,n)}},e.exports=new s.Function},function(e,t){t.errors={root:"value",key:'"{{!key}}" ',messages:{wrapArrays:!0},any:{unknown:"is not allowed",invalid:"contains an invalid value",empty:"is not allowed to be empty",required:"is required",allowOnly:"must be one of {{valids}}","default":"threw an error when running default method"},alternatives:{base:"not matching any of the allowed alternatives"},array:{base:"must be an array",includes:"at position {{pos}} does not match any of the allowed types",includesSingle:'single value of "{{!key}}" does not match any of the allowed types',includesOne:"at position {{pos}} fails because {{reason}}",includesOneSingle:'single value of "{{!key}}" fails because {{reason}}',includesRequiredUnknowns:"does not contain {{unknownMisses}} required value(s)",includesRequiredKnowns:"does not contain {{knownMisses}}",includesRequiredBoth:"does not contain {{knownMisses}} and {{unknownMisses}} other required value(s)",excludes:"at position {{pos}} contains an excluded value",excludesSingle:'single value of "{{!key}}" contains an excluded value',min:"must contain at least {{limit}} items",max:"must contain less than or equal to {{limit}} items",length:"must contain {{limit}} items",sparse:"must not be a sparse array",unique:"position {{pos}} contains a duplicate value"},"boolean":{base:"must be a boolean"},binary:{base:"must be a buffer or a string",min:"must be at least {{limit}} bytes",max:"must be less than or equal to {{limit}} bytes",length:"must be {{limit}} bytes"},date:{base:"must be a number of milliseconds or valid date string",min:'must be larger than or equal to "{{limit}}"',max:'must be less than or equal to "{{limit}}"',isoDate:"must be a valid ISO 8601 date",ref:'references "{{ref}}" which is not a date'},"function":{base:"must be a Function"},object:{base:"must be an object",child:'child "{{!key}}" fails because {{reason}}',min:"must have at least {{limit}} children",max:"must have less than or equal to {{limit}} children",length:"must have {{limit}} children",allowUnknown:"is not allowed","with":'missing required peer "{{peer}}"',without:'conflict with forbidden peer "{{peer}}"',missing:"must contain at least one of {{peers}}",xor:"contains a conflict between exclusive peers {{peers}}",or:"must contain at least one of {{peers}}",and:"contains {{present}} without its required peers {{missing}}",nand:'!!"{{main}}" must not exist simultaneously with {{peers}}',assert:'!!"{{ref}}" validation failed because "{{ref}}" failed to {{message}}',rename:{multiple:'cannot rename child "{{from}}" because multiple renames are disabled and another key was already renamed to "{{to}}"',override:'cannot rename child "{{from}}" because override is disabled and target "{{to}}" exists'},type:'must be an instance of "{{type}}"'},number:{base:"must be a number",min:"must be larger than or equal to {{limit}}",max:"must be less than or equal to {{limit}}",less:"must be less than {{limit}}",greater:"must be greater than {{limit}}","float":"must be a float or double",integer:"must be an integer",negative:"must be a negative number",positive:"must be a positive number",precision:"must have no more than {{limit}} decimal places",ref:'references "{{ref}}" which is not a number',multiple:"must be a multiple of {{multiple}}"},string:{base:"must be a string",min:"length must be at least {{limit}} characters long",max:"length must be less than or equal to {{limit}} characters long",length:"length must be {{limit}} characters long",alphanum:"must only contain alpha-numeric characters",token:"must only contain alpha-numeric and underscore characters",regex:{base:'with value "{{!value}}" fails to match the required pattern: {{pattern}}',name:'with value "{{!value}}" fails to match the {{name}} pattern'},email:"must be a valid email",uri:"must be a valid uri",uriCustomScheme:"must be a valid uri with a scheme matching the {{scheme}} pattern",isoDate:"must be a valid ISO 8601 date",guid:"must be a valid GUID",hex:"must only contain hexadecimal characters",hostname:"must be a valid hostname",lowercase:"must only contain lowercase characters",uppercase:"must only contain uppercase characters",trim:"must not have leading or trailing whitespace",creditCard:"must be a credit card",ref:'references "{{ref}}" which is not a number',ip:"must be a valid ip address with a {{cidr}} CIDR",ipVersion:"must be a valid ip address of one of the following versions {{version}} with a {{cidr}} CIDR"}}},function(e,t,n){var r=n(116),i={Ip:{cidrs:{required:"\\/(?:"+r.cidr+")",optional:"(?:\\/(?:"+r.cidr+"))?",forbidden:""},versions:{ipv4:r.IPv4address,ipv6:r.IPv6address,ipvfuture:r.IPvFuture}}};i.Ip.createIpRegex=function(e,t){for(var n,r=0,o=e.length;o>r;++r){var s=e[r];n||(n="^(?:"+i.Ip.versions[s]),n+="|"+i.Ip.versions[s]}return new RegExp(n+")"+i.Ip.cidrs[t]+"$")},e.exports=i.Ip},function(e,t,n){var r=n(116),i={Uri:{createUriRegex:function(e){var t=r.scheme;return e&&(t="(?:"+e+")"),new RegExp("^"+t+":"+r.hierPart+"(?:\\?"+r.query+")?(?:#"+r.fragment+")?$")}}};e.exports=i.Uri},function(e,t,n){var r,i;/*! +var r=n(271),i={defaultThreshold:16,maxIPv6Groups:8,categories:{valid:1,dnsWarn:7,rfc5321:15,cfws:31,deprecated:63,rfc5322:127,error:255},diagnoses:{valid:0,dnsWarnNoMXRecord:5,dnsWarnNoRecord:6,rfc5321TLD:9,rfc5321TLDNumeric:10,rfc5321QuotedString:11,rfc5321AddressLiteral:12,cfwsComment:17,cfwsFWS:18,deprecatedLocalPart:33,deprecatedFWS:34,deprecatedQTEXT:35,deprecatedQP:36,deprecatedComment:37,deprecatedCTEXT:38,deprecatedIPv6:39,deprecatedCFWSNearAt:49,rfc5322Domain:65,rfc5322TooLong:66,rfc5322LocalTooLong:67,rfc5322DomainTooLong:68,rfc5322LabelTooLong:69,rfc5322DomainLiteral:70,rfc5322DomainLiteralOBSDText:71,rfc5322IPv6GroupCount:72,rfc5322IPv62x2xColon:73,rfc5322IPv6BadCharacter:74,rfc5322IPv6MaxGroups:75,rfc5322IPv6ColonStart:76,rfc5322IPv6ColonEnd:77,errExpectingDTEXT:129,errNoLocalPart:130,errNoDomain:131,errConsecutiveDots:132,errATEXTAfterCFWS:133,errATEXTAfterQS:134,errATEXTAfterDomainLiteral:135,errExpectingQPair:136,errExpectingATEXT:137,errExpectingQTEXT:138,errExpectingCTEXT:139,errBackslashEnd:140,errDotStart:141,errDotEnd:142,errDomainHyphenStart:143,errDomainHyphenEnd:144,errUnclosedQuotedString:145,errUnclosedComment:146,errUnclosedDomainLiteral:147,errFWSCRLFx2:148,errFWSCRLFEnd:149,errCRNoLF:150,errUnknownTLD:160,errDomainTooShort:161},components:{localpart:0,domain:1,literal:2,contextComment:3,contextFWS:4,contextQuotedString:5,contextQuotedPair:6}};i.defer="undefined"!=typeof t&&t&&"function"==typeof t.nextTick?t.nextTick.bind(t):function(e){return setTimeout(e,0)};var o='()<>[]:;@\\,."',s=function(e){for(var t=new Array(256),n=255;n>=0;--n)t[n]=!1;for(var r=e.length;nd&&(d=e)},p={now:i.components.localpart,prev:i.components.localpart,stack:[i.components.localpart]},m="",g=0,v={local:"",domain:""},y={locals:[""],domains:[""]},_=0,b=0,w=0,E=!1,C=!1,A=e.length,x=0,k=A;x64?f(i.diagnoses.rfc5322LocalTooLong):p.prev!==i.components.contextComment&&p.prev!==i.components.contextFWS||f(i.diagnoses.deprecatedCFWSNearAt),p.now=i.components.domain,p.stack[0]=i.components.domain,_=0,b=0,C=!1;break;default:if(C)switch(p.prev){case i.components.contextComment:case i.components.contextFWS:f(i.diagnoses.errATEXTAfterCFWS);break;case i.components.contextQuotedString:f(i.diagnoses.errATEXTAfterQS);break;default:throw new Error("more atext found where none is allowed, but unrecognized prev context: "+p.prev)}else p.prev=p.now,g=c.charCodeAt(0),(g<33||g>126||a(g))&&f(i.diagnoses.errExpectingATEXT),v.local+=c,y.locals[_]+=c,++b}break;case i.components.domain:switch(c){case"(":0===b?f(0===_?i.diagnoses.deprecatedCFWSNearAt:i.diagnoses.deprecatedComment):(C=!0,f(i.diagnoses.cfwsComment)),p.stack.push(p.now),p.now=i.components.contextComment;break;case".":0===b?f(0===_?i.diagnoses.errDotStart:i.diagnoses.errConsecutiveDots):E?f(i.diagnoses.errDomainHyphenEnd):b>63&&f(i.diagnoses.rfc5322LabelTooLong),C=!1,b=0,++_,y.domains[_]="",v.domain+=c;break;case"[":0===v.domain.length?(C=!0,++b,p.stack.push(p.now),p.now=i.components.literal,v.domain+=c,y.domains[_]+=c,v.literal=""):f(i.diagnoses.errExpectingATEXT);break;case"\r":if(A===++x||"\n"!==e[x]){f(i.diagnoses.errCRNoLF);break}case" ":case"\t":0===b?f(0===_?i.diagnoses.deprecatedCFWSNearAt:i.diagnoses.deprecatedFWS):(f(i.diagnoses.cfwsFWS),C=!0),p.stack.push(p.now),p.now=i.components.contextFWS,m=c;break;default:if(C)switch(p.prev){case i.components.contextComment:case i.components.contextFWS:f(i.diagnoses.errATEXTAfterCFWS);break;case i.components.literal:f(i.diagnoses.errATEXTAfterDomainLiteral);break;default:throw new Error("more atext found where none is allowed, but unrecognized prev context: "+p.prev)}g=c.charCodeAt(0),E=!1,g<33||g>126||a(g)?f(i.diagnoses.errExpectingATEXT):"-"===c?(0===b&&f(i.diagnoses.errDomainHyphenStart),E=!0):(g<48||g>122||g>57&&g<65||g>90&&g<97)&&f(i.diagnoses.rfc5322Domain),v.domain+=c,y.domains[_]+=c,++b}break;case i.components.literal:switch(c){case"]":if(dS?f(i.diagnoses.rfc5322IPv6MaxGroups):F.length===S&&f(i.diagnoses.deprecatedIPv6)):F.length!==S&&f(i.diagnoses.rfc5322IPv6GroupCount),f(":"===T[0]&&":"!==T[1]?i.diagnoses.rfc5322IPv6ColonStart:":"===T[T.length-1]&&":"!==T[T.length-2]?i.diagnoses.rfc5322IPv6ColonEnd:F.every(u)?i.diagnoses.rfc5321AddressLiteral:i.diagnoses.rfc5322IPv6BadCharacter)}}else f(i.diagnoses.rfc5322DomainLiteral);v.domain+=c,y.domains[_]+=c,++b,p.prev=p.now,p.now=p.stack.pop();break;case"\\":f(i.diagnoses.rfc5322DomainLiteralOBSDText),p.stack.push(p.now),p.now=i.components.contextQuotedPair;break;case"\r":if(A===++x||"\n"!==e[x]){f(i.diagnoses.errCRNoLF);break}case" ":case"\t":f(i.diagnoses.cfwsFWS),p.stack.push(p.now),p.now=i.components.contextFWS,m=c;break;default:if(g=c.charCodeAt(0),g>127||0===g||"["===c){f(i.diagnoses.errExpectingDTEXT);break}(g<33||127===g)&&f(i.diagnoses.rfc5322DomainLiteralOBSDText),v.literal+=c,v.domain+=c,y.domains[_]+=c,++b}break;case i.components.contextQuotedString:switch(c){case"\\":p.stack.push(p.now),p.now=i.components.contextQuotedPair;break;case"\r":if(A===++x||"\n"!==e[x]){f(i.diagnoses.errCRNoLF);break}case"\t":v.local+=" ",y.locals[_]+=" ",++b,f(i.diagnoses.cfwsFWS),p.stack.push(p.now),p.now=i.components.contextFWS,m=c;break;case'"':v.local+=c,y.locals[_]+=c,++b,p.prev=p.now,p.now=p.stack.pop();break;default:g=c.charCodeAt(0),g>127||0===g||10===g?f(i.diagnoses.errExpectingQTEXT):(g<32||127===g)&&f(i.diagnoses.deprecatedQTEXT),v.local+=c,y.locals[_]+=c,++b}break;case i.components.contextQuotedPair:switch(g=c.charCodeAt(0),g>127?f(i.diagnoses.errExpectingQPair):(g<31&&9!==g||127===g)&&f(i.diagnoses.deprecatedQP),p.prev=p.now,p.now=p.stack.pop(),c="\\"+c,p.now){case i.components.contextComment:break;case i.components.contextQuotedString:v.local+=c,y.locals[_]+=c,b+=2;break;case i.components.literal:v.domain+=c,y.domains[_]+=c,b+=2;break;default:throw new Error("quoted pair logic invoked in an invalid context: "+p.now)}break;case i.components.contextComment:switch(c){case"(":p.stack.push(p.now),p.now=i.components.contextComment;break;case")":p.prev=p.now,p.now=p.stack.pop();break;case"\\":p.stack.push(p.now),p.now=i.components.contextQuotedPair;break;case"\r":if(A===++x||"\n"!==e[x]){f(i.diagnoses.errCRNoLF);break}case" ":case"\t":f(i.diagnoses.cfwsFWS),p.stack.push(p.now),p.now=i.components.contextFWS,m=c;break;default:if(g=c.charCodeAt(0),g>127||0===g||10===g){f(i.diagnoses.errExpectingCTEXT);break}(g<32||127===g)&&f(i.diagnoses.deprecatedCTEXT)}break;case i.components.contextFWS:if("\r"===m){if("\r"===c){f(i.diagnoses.errFWSCRLFx2);break}++w>1?f(i.diagnoses.deprecatedFWS):w=1}switch(c){case"\r":A!==++x&&"\n"===e[x]||f(i.diagnoses.errCRNoLF);break;case" ":case"\t":break;default:"\r"===m&&f(i.diagnoses.errFWSCRLFEnd),w=0,p.prev=p.now,p.now=p.stack.pop(),--x}m=c;break;default:throw new Error("unknown context: "+p.now)}if(d>i.categories.rfc5322)break}if(d255)f(i.diagnoses.rfc5322DomainTooLong);else if(v.local.length+v.domain.length+1>254)f(i.diagnoses.rfc5322TooLong);else if(b>63)f(i.diagnoses.rfc5322LabelTooLong);else if(t.minDomainAtoms&&y.domains.length=0,"limit must be a positive integer"),this._test("min",e,function(t,n,r){return t.length>=e?null:o.create("array.min",{limit:e,value:t},n,r)})},a.Array.prototype.max=function(e){return s.assert(s.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("max",e,function(t,n,r){return t.length<=e?null:o.create("array.max",{limit:e,value:t},n,r)})},a.Array.prototype.length=function(e){return s.assert(s.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("length",e,function(t,n,r){return t.length===e?null:o.create("array.length",{limit:e,value:t},n,r)})},a.Array.prototype.unique=function(){return this._test("unique",void 0,function(e,t,n){for(var r={string:{},number:{},undefined:{},boolean:{},object:[],function:[]},i=0,a=e.length;i=0,"limit must be a positive integer"),this._test("min",e,function(t,n,r){return t.length>=e?null:i.create("binary.min",{limit:e,value:t},n,r)})},s.Binary.prototype.max=function(e){return o.assert(o.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("max",e,function(t,n,r){return t.length<=e?null:i.create("binary.max",{limit:e,value:t},n,r)})},s.Binary.prototype.length=function(e){return o.assert(o.isInteger(e)&&e>=0,"limit must be a positive integer"),this._test("length",e,function(t,n,r){return t.length===e?null:i.create("binary.length",{limit:e,value:t},n,r)})},e.exports=new s.Binary}).call(t,n(10).Buffer)},function(e,t,n){var r=n(22),i=n(30),o=n(13),s={};s.Function=function(){r.call(this),this._type="func"},o.inherits(s.Function,r),s.Function.prototype._base=function(e,t,n){return{value:e,errors:"function"==typeof e?null:i.create("function.base",null,t,n)}},e.exports=new s.Function},function(e,t){t.errors={root:"value",key:'"{{!key}}" ',messages:{wrapArrays:!0},any:{unknown:"is not allowed",invalid:"contains an invalid value",empty:"is not allowed to be empty",required:"is required",allowOnly:"must be one of {{valids}}",default:"threw an error when running default method"},alternatives:{base:"not matching any of the allowed alternatives"},array:{base:"must be an array",includes:"at position {{pos}} does not match any of the allowed types",includesSingle:'single value of "{{!key}}" does not match any of the allowed types',includesOne:"at position {{pos}} fails because {{reason}}",includesOneSingle:'single value of "{{!key}}" fails because {{reason}}',includesRequiredUnknowns:"does not contain {{unknownMisses}} required value(s)",includesRequiredKnowns:"does not contain {{knownMisses}}",includesRequiredBoth:"does not contain {{knownMisses}} and {{unknownMisses}} other required value(s)",excludes:"at position {{pos}} contains an excluded value",excludesSingle:'single value of "{{!key}}" contains an excluded value',min:"must contain at least {{limit}} items",max:"must contain less than or equal to {{limit}} items",length:"must contain {{limit}} items",sparse:"must not be a sparse array",unique:"position {{pos}} contains a duplicate value"},boolean:{base:"must be a boolean"},binary:{base:"must be a buffer or a string",min:"must be at least {{limit}} bytes",max:"must be less than or equal to {{limit}} bytes",length:"must be {{limit}} bytes"},date:{base:"must be a number of milliseconds or valid date string",min:'must be larger than or equal to "{{limit}}"',max:'must be less than or equal to "{{limit}}"',isoDate:"must be a valid ISO 8601 date",ref:'references "{{ref}}" which is not a date'},function:{base:"must be a Function"},object:{base:"must be an object",child:'child "{{!key}}" fails because {{reason}}',min:"must have at least {{limit}} children",max:"must have less than or equal to {{limit}} children",length:"must have {{limit}} children",allowUnknown:"is not allowed",with:'missing required peer "{{peer}}"',without:'conflict with forbidden peer "{{peer}}"',missing:"must contain at least one of {{peers}}",xor:"contains a conflict between exclusive peers {{peers}}",or:"must contain at least one of {{peers}}",and:"contains {{present}} without its required peers {{missing}}",nand:'!!"{{main}}" must not exist simultaneously with {{peers}}',assert:'!!"{{ref}}" validation failed because "{{ref}}" failed to {{message}}',rename:{multiple:'cannot rename child "{{from}}" because multiple renames are disabled and another key was already renamed to "{{to}}"',override:'cannot rename child "{{from}}" because override is disabled and target "{{to}}" exists'},type:'must be an instance of "{{type}}"'},number:{base:"must be a number",min:"must be larger than or equal to {{limit}}",max:"must be less than or equal to {{limit}}",less:"must be less than {{limit}}",greater:"must be greater than {{limit}}",float:"must be a float or double",integer:"must be an integer",negative:"must be a negative number",positive:"must be a positive number",precision:"must have no more than {{limit}} decimal places",ref:'references "{{ref}}" which is not a number',multiple:"must be a multiple of {{multiple}}"},string:{base:"must be a string",min:"length must be at least {{limit}} characters long",max:"length must be less than or equal to {{limit}} characters long",length:"length must be {{limit}} characters long",alphanum:"must only contain alpha-numeric characters",token:"must only contain alpha-numeric and underscore characters",regex:{base:'with value "{{!value}}" fails to match the required pattern: {{pattern}}',name:'with value "{{!value}}" fails to match the {{name}} pattern'},email:"must be a valid email",uri:"must be a valid uri",uriCustomScheme:"must be a valid uri with a scheme matching the {{scheme}} pattern",isoDate:"must be a valid ISO 8601 date",guid:"must be a valid GUID",hex:"must only contain hexadecimal characters",hostname:"must be a valid hostname",lowercase:"must only contain lowercase characters",uppercase:"must only contain uppercase characters",trim:"must not have leading or trailing whitespace",creditCard:"must be a credit card",ref:'references "{{ref}}" which is not a number',ip:"must be a valid ip address with a {{cidr}} CIDR",ipVersion:"must be a valid ip address of one of the following versions {{version}} with a {{cidr}} CIDR"}}},function(e,t,n){var r=n(137),i={Ip:{cidrs:{required:"\\/(?:"+r.cidr+")",optional:"(?:\\/(?:"+r.cidr+"))?",forbidden:""},versions:{ipv4:r.IPv4address,ipv6:r.IPv6address,ipvfuture:r.IPvFuture}}};i.Ip.createIpRegex=function(e,t){for(var n,r=0,o=e.length;r0&&t-1 in e}function a(e,t,n){if(re.isFunction(t))return re.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return re.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(de.test(t))return re.filter(t,e,n);t=re.filter(t,e)}return re.grep(e,function(e){return X.call(t,e)>=0!==n})}function l(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var t=ye[e]={};return re.each(e.match(ve)||[],function(e,n){t[n]=!0}),t}function u(){te.removeEventListener("DOMContentLoaded",u,!1),n.removeEventListener("load",u,!1),re.ready()}function d(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=re.expando+d.uid++}function h(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ae,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Ce.test(n)?re.parseJSON(n):n}catch(i){}Ee.set(e,t,n)}else n=void 0;return n}function p(){return!0}function f(){return!1}function m(){try{return te.activeElement}catch(e){}}function g(e,t){return re.nodeName(e,"table")&&re.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function v(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function y(e){var t=Ie.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _(e,t){for(var n=0,r=e.length;r>n;n++)we.set(e[n],"globalEval",!t||we.get(t[n],"globalEval"))}function b(e,t){var n,r,i,o,s,a,l,c;if(1===t.nodeType){if(we.hasData(e)&&(o=we.access(e),s=we.set(t,o),c=o.events)){delete s.handle,s.events={};for(i in c)for(n=0,r=c[i].length;r>n;n++)re.event.add(t,i,c[i][n])}Ee.hasData(e)&&(a=Ee.access(e),l=re.extend({},a),Ee.set(t,l))}}function w(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&re.nodeName(e,t)?re.merge([e],n):n}function E(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Le.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function C(e,t){var r,i=re(t.createElement(e)).appendTo(t.body),o=n.getDefaultComputedStyle&&(r=n.getDefaultComputedStyle(i[0]))?r.display:re.css(i[0],"display");return i.detach(),o}function A(e){var t=te,n=Ue[e];return n||(n=C(e,t),"none"!==n&&n||(He=(He||re("