From b11332d4fc15b328dec60138607be11b63a3f83a Mon Sep 17 00:00:00 2001 From: Sachin Fernandes Date: Thu, 19 Nov 2020 14:08:19 -0800 Subject: [PATCH] Bump cloudflare-plugin-frontend to v3.2.2 --- compiled.js | 10 +++++----- lang/en.js | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/compiled.js b/compiled.js index 90d4dae4..4f28bfba 100644 --- a/compiled.js +++ b/compiled.js @@ -1,14 +1,14 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=276)}([function(e,t,n){"use strict";e.exports=n(29)},function(e,t,n){e.exports=n(363)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(362),o=n(179),i=n(365);n.d(t,"Provider",function(){return r.b}),n.d(t,"createProvider",function(){return r.a}),n.d(t,"connectAdvanced",function(){return o.a}),n.d(t,"connect",function(){return i.a})},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach(function(e){e&&e.locale&&(R.a.__addLocaleData(e),j.a.__addLocaleData(e))})}function o(e){for(var t=(e||"").split("-");t.length>0;){if(i(t.join("-")))return!0;t.pop()}return!1}function i(e){var t=e&&e.toLowerCase();return!(!R.a.__localeData__[t]||!j.a.__localeData__[t])}function a(e){return(""+e).replace(be,function(e){return ve[e]})}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce(function(t,r){return e.hasOwnProperty(r)?t[r]=e[r]:n.hasOwnProperty(r)&&(t[r]=n[r]),t},{})}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intl;z.a(t,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function c(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":q(e))||null===e||"object"!==(void 0===t?"undefined":q(t))||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i3&&void 0!==arguments[3]?arguments[3]:{},l=a.intl,f=void 0===l?{}:l,p=s.intl,d=void 0===p?{}:p;return!c(t,r)||!c(n,o)||!(d===f||c(u(d,me),u(f,me)))}function f(e){return e.displayName||e.name||"Component"}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.intlPropName,r=void 0===n?"intl":n,o=t.withRef,i=void 0!==o&&o,a=function(t){function n(e,t){B(this,n);var r=K(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return s(t),r}return Y(n,t),H(n,[{key:"getWrappedInstance",value:function(){return z.a(i,"[React Intl] To access the wrapped instance, the `{withRef: true}` option must be set when calling: `injectIntl()`"),this.refs.wrappedInstance}},{key:"render",value:function(){return I.a.createElement(e,W({},this.props,Z({},r,this.context.intl),{ref:i?"wrappedInstance":null}))}}]),n}(L.Component);return a.displayName="InjectIntl("+f(e)+")",a.contextTypes={intl:pe},a.WrappedComponent=e,a}function d(e){return e}function h(e){return R.a.prototype._resolveLocale(e)}function g(e){return R.a.prototype._findPluralRuleFunction(e)}function y(e){var t=j.a.thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month}function m(e,t,n){var r=e&&e[t]&&e[t][n];if(r)return r}function v(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=r.format,s=new Date(n),c=a&&m(i,"date",a),l=u(r,xe,c);try{return t.getDateTimeFormat(o,l).format(s)}catch(e){}return String(s)}function b(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=r.format,s=new Date(n),c=a&&m(i,"time",a),l=u(r,xe,c);l.hour||l.minute||l.second||(l=W({},l,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(o,l).format(s)}catch(e){}return String(s)}function _(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=r.format,s=new Date(n),c=new Date(r.now),l=a&&m(i,"relative",a),f=u(r,Ee,l),p=W({},j.a.thresholds);y(Se);try{return t.getRelativeFormat(o,f).format(s,{now:isFinite(c)?c:t.now()})}catch(e){}finally{y(p)}return String(s)}function x(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=r.format,s=a&&m(i,"number",a),c=u(r,we,s);try{return t.getNumberFormat(o,c).format(n)}catch(e){}return String(n)}function w(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=u(r,Ce);try{return t.getPluralFormat(o,i).format(n)}catch(e){}return"other"}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=e.messages,u=e.defaultLocale,s=e.defaultFormats,c=n.id,l=n.defaultMessage;z.a(c,"[React Intl] An `id` must be provided to format a message.");var f=a&&a[c];if(!(Object.keys(r).length>0))return f||l||c;var p=void 0;if(f)try{p=t.getMessageFormat(f,o,i).format(r)}catch(e){}if(!p&&l)try{p=t.getMessageFormat(l,u,s).format(r)}catch(e){}return p||f||l||c}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return E(e,t,n,Object.keys(r).reduce(function(e,t){var n=r[t];return e[t]="string"==typeof n?a(n):n,e},{}))}function S(e){var t=Math.abs(e);return t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},K=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},$=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t":">","<":"<",'"':""","'":"'"},be=/[&><"']/g,_e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};B(this,e);var r="ordinal"===n.style,o=g(h(t));this.format=function(e){return o(e,r)}},xe=Object.keys(de),we=Object.keys(he),Ee=Object.keys(ge),Ce=Object.keys(ye),Se={second:60,minute:60,hour:24,day:30,month:12},Oe=Object.freeze({formatDate:v,formatTime:b,formatRelative:_,formatNumber:x,formatPlural:w,formatMessage:E,formatHTMLMessage:C}),Te=Object.keys(le),Pe=Object.keys(fe),Ae={formats:{},messages:{},textComponent:"span",defaultLocale:"en",defaultFormats:{}},ke=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};B(this,t);var r=K(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));z.a("undefined"!=typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var o=n.intl,i=void 0;i=isFinite(e.initialNow)?Number(e.initialNow):o?o.now():Date.now();var a=o||{},u=a.formatters,s=void 0===u?{getDateTimeFormat:U.a(Intl.DateTimeFormat),getNumberFormat:U.a(Intl.NumberFormat),getMessageFormat:U.a(R.a),getRelativeFormat:U.a(j.a),getPluralFormat:U.a(_e)}:u;return r.state=W({},s,{now:function(){return r._didDisplay?Date.now():i}}),r}return Y(t,e),H(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=u(this.props,Te,e);for(var n in Ae)void 0===t[n]&&(t[n]=Ae[n]);if(!o(t.locale)){var r=t,i=(r.locale,r.defaultLocale),a=r.defaultFormats;t=W({},t,{locale:i,formats:a,messages:Ae.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return Pe.reduce(function(n,r){return n[r]=Oe[r].bind(null,e,t),n},{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),n=this.state,r=n.now,o=X(n,["now"]);return{intl:W({},e,t,{formatters:o,now:r})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1?r-1:0),i=1;i0){var h=Math.floor(1099511627776*Math.random()).toString(16),g=function(){var e=0;return function(){return"ELEMENT-"+h+"-"+(e+=1)}}();f="@__"+h+"__@",p={},d={},Object.keys(u).forEach(function(e){var t=u[e];if(L.isValidElement(t)){var n=g();p[e]=f+n+f,d[n]=t}else p[e]=t})}var y={id:o,description:i,defaultMessage:a},m=t(y,p||u),v=void 0;return v=d&&Object.keys(d).length>0?m.split(f).filter(function(e){return!!e}).map(function(e){return d[e]||e}):[m],"function"==typeof l?l.apply(void 0,$(v)):L.createElement.apply(void 0,[c,null].concat($(v)))}}]),t}(L.Component);Ue.displayName="FormattedMessage",Ue.contextTypes={intl:pe},Ue.defaultProps={values:{}};var Ge=function(e){function t(e,n){B(this,t);var r=K(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return s(n),r}return Y(t,e),H(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!c(e.values,t))return!0;for(var n=W({},e,{values:t}),r=arguments.length,o=Array(r>1?r-1:0),i=1;i=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function l(e,t){var n=0;return i(O,t)?O[t]:35===t.charCodeAt(0)&&S.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),s(n))?c(n):e}function f(e){return e.indexOf("\\")<0?e:e.replace(w,"$1")}function p(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(C,function(e,t,n){return t||l(e,n)})}function d(e){return A[e]}function h(e){return T.test(e)?e.replace(P,d):e}function g(e){return e.replace(k,"\\$&")}function y(e){switch(e){case 9:case 32:return!0}return!1}function m(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function v(e){return R.test(e)}function b(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function _(e){return e.trim().replace(/\s+/g," ").toUpperCase()}var x=Object.prototype.hasOwnProperty,w=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,E=/&([a-z#][a-z0-9]{1,31});/gi,C=new RegExp(w.source+"|"+E.source,"gi"),S=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,O=n(227),T=/[&<>"]/,P=/[&<>"]/g,A={"&":"&","<":"<",">":">",'"':"""},k=/[.?*+^$[\]\\(){}|-]/g,R=n(133);t.lib={},t.lib.mdurl=n(228),t.lib.ucmicro=n(577),t.assign=a,t.isString=o,t.has=i,t.unescapeMd=f,t.unescapeAll=p,t.isValidEntityCode=s,t.fromCodePoint=c,t.escapeHtml=h,t.arrayReplaceAt=u,t.isSpace=y,t.isWhiteSpace=m,t.isMdAsciiPunct=b,t.isPunctChar=v,t.escapeRE=g,t.normalizeReference=_},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach(function(e){e&&e.locale&&(R.a.__addLocaleData(e),j.a.__addLocaleData(e))})}function o(e){for(var t=(e||"").split("-");t.length>0;){if(i(t.join("-")))return!0;t.pop()}return!1}function i(e){var t=e&&e.toLowerCase();return!(!R.a.__localeData__[t]||!j.a.__localeData__[t])}function a(e){return(""+e).replace(be,function(e){return ve[e]})}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce(function(t,r){return e.hasOwnProperty(r)?t[r]=e[r]:n.hasOwnProperty(r)&&(t[r]=n[r]),t},{})}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intl;z.a(t,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function c(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":q(e))||null===e||"object"!==(void 0===t?"undefined":q(t))||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i3&&void 0!==arguments[3]?arguments[3]:{},l=a.intl,f=void 0===l?{}:l,p=s.intl,d=void 0===p?{}:p;return!c(t,r)||!c(n,o)||!(d===f||c(u(d,me),u(f,me)))}function f(e){return e.displayName||e.name||"Component"}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.intlPropName,r=void 0===n?"intl":n,o=t.withRef,i=void 0!==o&&o,a=function(t){function n(e,t){B(this,n);var r=K(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return s(t),r}return Y(n,t),H(n,[{key:"getWrappedInstance",value:function(){return z.a(i,"[React Intl] To access the wrapped instance, the `{withRef: true}` option must be set when calling: `injectIntl()`"),this.refs.wrappedInstance}},{key:"render",value:function(){return I.a.createElement(e,W({},this.props,Z({},r,this.context.intl),{ref:i?"wrappedInstance":null}))}}]),n}(D.Component);return a.displayName="InjectIntl("+f(e)+")",a.contextTypes={intl:pe},a.WrappedComponent=e,a}function d(e){return e}function h(e){return R.a.prototype._resolveLocale(e)}function g(e){return R.a.prototype._findPluralRuleFunction(e)}function y(e){var t=j.a.thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month}function m(e,t,n){var r=e&&e[t]&&e[t][n];if(r)return r}function v(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=r.format,s=new Date(n),c=a&&m(i,"date",a),l=u(r,xe,c);try{return t.getDateTimeFormat(o,l).format(s)}catch(e){}return String(s)}function b(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=r.format,s=new Date(n),c=a&&m(i,"time",a),l=u(r,xe,c);l.hour||l.minute||l.second||(l=W({},l,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(o,l).format(s)}catch(e){}return String(s)}function _(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=r.format,s=new Date(n),c=new Date(r.now),l=a&&m(i,"relative",a),f=u(r,Ee,l),p=W({},j.a.thresholds);y(Se);try{return t.getRelativeFormat(o,f).format(s,{now:isFinite(c)?c:t.now()})}catch(e){}finally{y(p)}return String(s)}function x(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=r.format,s=a&&m(i,"number",a),c=u(r,we,s);try{return t.getNumberFormat(o,c).format(n)}catch(e){}return String(n)}function w(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=u(r,Ce);try{return t.getPluralFormat(o,i).format(n)}catch(e){}return"other"}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.locale,i=e.formats,a=e.messages,u=e.defaultLocale,s=e.defaultFormats,c=n.id,l=n.defaultMessage;z.a(c,"[React Intl] An `id` must be provided to format a message.");var f=a&&a[c];if(!(Object.keys(r).length>0))return f||l||c;var p=void 0;if(f)try{p=t.getMessageFormat(f,o,i).format(r)}catch(e){}if(!p&&l)try{p=t.getMessageFormat(l,u,s).format(r)}catch(e){}return p||f||l||c}function C(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return E(e,t,n,Object.keys(r).reduce(function(e,t){var n=r[t];return e[t]="string"==typeof n?a(n):n,e},{}))}function S(e){var t=Math.abs(e);return t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},K=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},$=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t":">","<":"<",'"':""","'":"'"},be=/[&><"']/g,_e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};B(this,e);var r="ordinal"===n.style,o=g(h(t));this.format=function(e){return o(e,r)}},xe=Object.keys(de),we=Object.keys(he),Ee=Object.keys(ge),Ce=Object.keys(ye),Se={second:60,minute:60,hour:24,day:30,month:12},Oe=Object.freeze({formatDate:v,formatTime:b,formatRelative:_,formatNumber:x,formatPlural:w,formatMessage:E,formatHTMLMessage:C}),Te=Object.keys(le),Pe=Object.keys(fe),Ae={formats:{},messages:{},textComponent:"span",defaultLocale:"en",defaultFormats:{}},ke=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};B(this,t);var r=K(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));z.a("undefined"!=typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var o=n.intl,i=void 0;i=isFinite(e.initialNow)?Number(e.initialNow):o?o.now():Date.now();var a=o||{},u=a.formatters,s=void 0===u?{getDateTimeFormat:U.a(Intl.DateTimeFormat),getNumberFormat:U.a(Intl.NumberFormat),getMessageFormat:U.a(R.a),getRelativeFormat:U.a(j.a),getPluralFormat:U.a(_e)}:u;return r.state=W({},s,{now:function(){return r._didDisplay?Date.now():i}}),r}return Y(t,e),H(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=u(this.props,Te,e);for(var n in Ae)void 0===t[n]&&(t[n]=Ae[n]);if(!o(t.locale)){var r=t,i=(r.locale,r.defaultLocale),a=r.defaultFormats;t=W({},t,{locale:i,formats:a,messages:Ae.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return Pe.reduce(function(n,r){return n[r]=Oe[r].bind(null,e,t),n},{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),n=this.state,r=n.now,o=X(n,["now"]);return{intl:W({},e,t,{formatters:o,now:r})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1?r-1:0),i=1;i0){var h=Math.floor(1099511627776*Math.random()).toString(16),g=function(){var e=0;return function(){return"ELEMENT-"+h+"-"+(e+=1)}}();f="@__"+h+"__@",p={},d={},Object.keys(u).forEach(function(e){var t=u[e];if(D.isValidElement(t)){var n=g();p[e]=f+n+f,d[n]=t}else p[e]=t})}var y={id:o,description:i,defaultMessage:a},m=t(y,p||u),v=void 0;return v=d&&Object.keys(d).length>0?m.split(f).filter(function(e){return!!e}).map(function(e){return d[e]||e}):[m],"function"==typeof l?l.apply(void 0,$(v)):D.createElement.apply(void 0,[c,null].concat($(v)))}}]),t}(D.Component);Ue.displayName="FormattedMessage",Ue.contextTypes={intl:pe},Ue.defaultProps={values:{}};var Ge=function(e){function t(e,n){B(this,t);var r=K(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return s(n),r}return Y(t,e),H(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!c(e.values,t))return!0;for(var n=W({},e,{values:t}),r=arguments.length,o=Array(r>1?r-1:0),i=1;i=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function l(e,t){var n=0;return i(O,t)?O[t]:35===t.charCodeAt(0)&&S.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),s(n))?c(n):e}function f(e){return e.indexOf("\\")<0?e:e.replace(w,"$1")}function p(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(C,function(e,t,n){return t||l(e,n)})}function d(e){return A[e]}function h(e){return T.test(e)?e.replace(P,d):e}function g(e){return e.replace(k,"\\$&")}function y(e){switch(e){case 9:case 32:return!0}return!1}function m(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function v(e){return R.test(e)}function b(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function _(e){return e.trim().replace(/\s+/g," ").toUpperCase()}var x=Object.prototype.hasOwnProperty,w=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,E=/&([a-z#][a-z0-9]{1,31});/gi,C=new RegExp(w.source+"|"+E.source,"gi"),S=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,O=n(227),T=/[&<>"]/,P=/[&<>"]/g,A={"&":"&","<":"<",">":">",'"':"""},k=/[.?*+^$[\]\\(){}|-]/g,R=n(133);t.lib={},t.lib.mdurl=n(228),t.lib.ucmicro=n(577),t.assign=a,t.isString=o,t.has=i,t.unescapeMd=f,t.unescapeAll=p,t.isValidEntityCode=s,t.fromCodePoint=c,t.escapeHtml=h,t.arrayReplaceAt=u,t.isSpace=y,t.isWhiteSpace=m,t.isMdAsciiPunct=b,t.isPunctChar=v,t.escapeRE=g,t.normalizeReference=_},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r-1?e.split("/")[2]:e.split("/")[0],t=t.split(":")[0]}function o(e,t){return t.substr(0,e.length)==e}function i(e,t){return-1!==e.indexOf(t,e.length-t.length)}function a(e){var t=r(document.URL);return!(!i(t,e)||o("www.",t)||e===t||!t||!e)}function u(e,t){var n=e.formatMessage,r=e.formatRelative;return t?n({id:"utils.utils.lastmodifieddate"},{date:r(new Date(t),{now:Date.now()})}):null}function s(e){if(Math.abs(e)<1e3)return e+" B";var t=["kB","MB","GB","TB","PB","EB","ZB","YB"],n=-1;do{e/=1e3,++n}while(Math.abs(e)>=1e3&&nt&&!i||!o||n&&!a&&u||r&&u)return 1;if(e-1;);return n}function f(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function p(e,t){return i(e.criteria,t.criteria)||e.index-t.index}function d(e,t,n){for(var r=-1,o=e.criteria,a=t.criteria,u=o.length,s=n.length;++r=s)return c;var l=n[r];return c*("asc"===l||!0===l?1:-1)}}return e.index-t.index}function h(e){return qe[e]}function g(e){return Be[e]}function y(e,t,n){return t?e=We[e]:n&&(e=Ye[e]),"\\"+e}function m(e){return"\\"+Ye[e]}function v(e,t,n){for(var r=e.length,o=t+(n?0:-1);n?o--:++o=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 x(e,t){for(var n=-1,r=e.length,o=-1,i=[];++n=G?gn(t):null,c=t.length;s&&(i=$e,a=!1,t=s);e:for(;++oo?0:o+n),r=r===T||r>o?o:+r||0,r<0&&(r+=o),o=n>r?0:r>>>0,n>>>=0;no?0:o+t),n=n===T||n>o?o:+n||0,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Ui(o);++r=G,s=a?gn():null,c=[];s?(r=$e,i=!1):(a=!1,s=t?[]:c);e:for(;++n>>1,a=e[i];(n?a<=t:a2?n[o-2]:T,a=o>2?n[2]:T,u=o>1?n[o-1]:T;for("function"==typeof i?(i=an(i,u,5),o-=2):(i="function"==typeof u?u:T,o-=i?1:0),a&&Jn(n[0],n[1],a)&&(i=o<3?T:i,o=1);++r-1?n[i]:T}return Pt(n,r,e)}}function wn(e){return function(t,n,r){return t&&t.length?(n=Un(n,r,3),a(t,n,e)):-1}}function En(e){return function(t,n,r){return n=Un(n,r,3),Pt(t,n,e,!0)}}function Cn(e){return function(){for(var t,n=arguments.length,o=e?n:-1,i=0,a=Ui(n);e?o--:++o=G)return t.plant(r).value();for(var o=0,i=n?a[o].apply(this,e):r;++o=t||!_a(t))return"";var o=t-r;return n=null==n?" ":n+"",mi(n,ya(o/n.length)).slice(0,o)}function Nn(e,t,n,r){function o(){for(var t=-1,u=arguments.length,s=-1,c=r.length,l=Ui(c+u);++ss))return!1;for(;++u-1&&e%1==0&&e-1&&e%1==0&&e<=Ma}function rr(e){return e===e&&!Do(e)}function or(e,t){var n=e[1],r=t[1],o=n|r,i=o-1;)da.call(t,i,1);return t}function Ar(e,t,n){var r=[];if(!e||!e.length)return r;var o=-1,i=[],a=e.length;for(t=Un(t,n,3);++o-1:!!o&&qn(e,t,n)>-1}function eo(e,t,n){var r=Au(e)?st:Ft;return t=Un(t,n,3),r(e,t)}function to(e,t){return eo(e,Ni(t))}function no(e,t,n){var r=Au(e)?ut:Tt;return t=Un(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function ro(e,t,n){if(n?Jn(e,t,n):null==t){e=lr(e);var r=e.length;return r>0?e[Zt(0,r-1)]:T}var o=-1,i=Yo(e),r=i.length,a=r-1;for(t=Ea(t<0?0:+t||0,r);++o0&&(n=t.apply(this,arguments)),e<=1&&(t=T),n}}function ho(e,t,n){function r(){d&&ua(d),c&&ua(c),g=0,c=d=h=T}function o(t,n){n&&ua(n),c=d=h=T,t&&(g=gu(),l=e.apply(p,s),d||c||(s=p=T))}function i(){var e=t-(gu()-f);e<=0||e>t?o(h,c):d=pa(i,e)}function a(){o(m,d)}function u(){if(s=arguments,f=gu(),p=this,h=m&&(d||!v),!1===y)var n=v&&!d;else{c||v||(g=f);var r=y-(f-g),o=r<=0||r>y;o?(c&&(c=ua(c)),g=f,l=e.apply(p,s)):c||(c=pa(a,r))}return o&&d?d=ua(d):d||t===y||(d=pa(i,t)),n&&(o=!0,l=e.apply(p,s)),!o||d||c||(s=p=T),l}var s,c,l,f,p,d,h,g=0,y=!1,m=!0;if("function"!=typeof e)throw new Ki(H);if(t=t<0?0:+t||0,!0===n){var v=!0;m=!1}else Do(n)&&(v=!!n.leading,y="maxWait"in n&&wa(+n.maxWait||0,t),m="trailing"in n?!!n.trailing:m);return u.cancel=r,u}function go(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Ki(H);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new go.Cache,n}function yo(e){if("function"!=typeof e)throw new Ki(H);return function(){return!e.apply(this,arguments)}}function mo(e){return po(2,e)}function vo(e,t){if("function"!=typeof e)throw new Ki(H);return t=wa(t===T?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,o=wa(n.length-t,0),i=Ui(o);++rt}function So(e,t){return e>=t}function Oo(e){return b(e)&&$n(e)&&ta.call(e,"callee")&&!la.call(e,"callee")}function To(e){return!0===e||!1===e||b(e)&&ra.call(e)==X}function Po(e){return b(e)&&ra.call(e)==K}function Ao(e){return!!e&&1===e.nodeType&&b(e)&&!Uo(e)}function ko(e){return null==e||($n(e)&&(Au(e)||qo(e)||Oo(e)||b(e)&&No(e.splice))?!e.length:!Vu(e).length)}function Ro(e,t,n,r){n="function"==typeof n?an(n,r,3):T;var o=n?n(e,t):T;return o===T?Dt(e,t,n):!!o}function Mo(e){return b(e)&&"string"==typeof e.message&&ra.call(e)==$}function jo(e){return"number"==typeof e&&_a(e)}function No(e){return Do(e)&&ra.call(e)==Q}function Do(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Lo(e,t,n,r){return n="function"==typeof n?an(n,r,3):T,It(e,Bn(t),n)}function Io(e){return Vo(e)&&e!=+e}function Fo(e){return null!=e&&(No(e)?ia.test(ea.call(e)):b(e)&&je.test(e))}function zo(e){return null===e}function Vo(e){return"number"==typeof e||b(e)&&ra.call(e)==J}function Uo(e){var t;if(!b(e)||ra.call(e)!=ee||Oo(e)||!ta.call(e,"constructor")&&"function"==typeof(t=e.constructor)&&!(t instanceof t))return!1;var n;return kt(e,function(e,t){n=t}),n===T||ta.call(e,n)}function Go(e){return Do(e)&&ra.call(e)==te}function qo(e){return"string"==typeof e||b(e)&&ra.call(e)==ne}function Bo(e){return b(e)&&nr(e.length)&&!!Ue[ra.call(e)]}function Ho(e){return e===T}function Zo(e,t){return e0;++r=Ea(t,n)&&e=0&&e.indexOf(t,n)==n}function di(e){return e=c(e),e&&be.test(e)?e.replace(me,g):e}function hi(e){return e=c(e),e&&Te.test(e)?e.replace(Oe,y):e||"(?:)"}function gi(e,t,n){e=c(e),t=+t;var r=e.length;if(r>=t||!_a(t))return e;var o=(t-r)/2,i=va(o);return n=jn("",ya(o),n),n.slice(0,i)+e+n}function yi(e,t,n){return(n?Jn(e,t,n):null==t)?t=0:t&&(t=+t),e=_i(e),Sa(e,t||(Me.test(e)?16:10))}function mi(e,t){var n="";if(e=c(e),(t=+t)<1||!e||!_a(t))return n;do{t%2&&(n+=e),t=va(t/2),e+=e}while(t);return n}function vi(e,t,n){return e=c(e),n=null==n?0:Ea(n<0?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function bi(e,n,r){var o=t.templateSettings;r&&Jn(e,n,r)&&(n=r=T),e=c(e),n=yt(mt({},r||n),o,gt);var i,a,u=yt(mt({},n.imports),o.imports,gt),s=Vu(u),l=en(u,s),f=0,p=n.interpolate||Le,d="__p += '",h=Yi((n.escape||Le).source+"|"+p.source+"|"+(p===we?ke:Le).source+"|"+(n.evaluate||Le).source+"|$","g"),g="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Ve+"]")+"\n";e.replace(h,function(t,n,r,o,u,s){return r||(r=o),d+=e.slice(f,s).replace(Ie,m),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),u&&(a=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=s+t.length,t}),d+="';\n";var y=n.variable;y||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(de,""):d).replace(he,"$1").replace(ge,"$1;"),d="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=$u(function(){return Bi(s,g+"return "+d).apply(T,l)});if(v.source=d,Mo(v))throw v;return v}function _i(e,t,n){var r=e;return(e=c(e))?(n?Jn(r,t,n):null==t)?e.slice(E(e),C(e)+1):(t+="",e.slice(l(e,t),f(e,t)+1)):e}function xi(e,t,n){var r=e;return e=c(e),e?(n?Jn(r,t,n):null==t)?e.slice(E(e)):e.slice(l(e,t+"")):e}function wi(e,t,n){var r=e;return e=c(e),e?(n?Jn(r,t,n):null==t)?e.slice(0,C(e)+1):e.slice(0,f(e,t+"")+1):e}function Ei(e,t,n){n&&Jn(e,t,n)&&(t=T);var r=F,o=z;if(null!=t)if(Do(t)){var i="separator"in t?t.separator:i;r="length"in t?+t.length||0:r,o="omission"in t?c(t.omission):o}else r=+t||0;if(e=c(e),r>=e.length)return e;var a=r-o.length;if(a<1)return o;var u=e.slice(0,a);if(null==i)return u+o;if(Go(i)){if(e.slice(a).search(i)){var s,l,f=e.slice(0,a);for(i.global||(i=Yi(i.source,(Re.exec(i)||"")+"g")),i.lastIndex=0;s=i.exec(f);)l=s.index;u=u.slice(0,null==l?a:l)}}else if(e.indexOf(i,a)!=a){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+o}function Ci(e){return e=c(e),e&&ve.test(e)?e.replace(ye,S):e}function Si(e,t,n){return n&&Jn(e,t,n)&&(t=T),e=c(e),e.match(t||Fe)||[]}function Oi(e,t,n){return n&&Jn(e,t,n)&&(t=T),b(e)?Ai(e):_t(e,t)}function Ti(e){return function(){return e}}function Pi(e){return e}function Ai(e){return zt(xt(e,!0))}function ki(e,t){return Vt(e,xt(t,!0))}function Ri(e,t,n){if(null==n){var r=Do(t),o=r?Vu(t):T,i=o&&o.length?jt(t,o):T;(i?i.length:r)||(i=!1,n=t,t=e,e=this)}i||(i=jt(t,Vu(t)));var a=!0,u=-1,s=No(e),c=i.length;!1===n?a=!1:Do(n)&&"chain"in n&&(a=n.chain);for(;++u>>1,Ma=9007199254740991,ja=ga&&new ga,Na={};t.support={};t.templateSettings={escape:_e,evaluate:xe,interpolate:we,variable:"",imports:{_:t}};var Da=function(){function e(){}return function(t){if(Do(t)){e.prototype=t;var n=new e;e.prototype=T}return n||{}}}(),La=pn(Rt),Ia=pn(Mt,!0),Fa=dn(),za=dn(!0),Va=ja?function(e,t){return ja.set(e,t),e}:Pi,Ua=ja?function(e){return ja.get(e)}:ji,Ga=qt("length"),qa=function(){var e=0,t=0;return function(n,r){var o=gu(),i=U-(o-t);if(t=o,i>0){if(++e>=V)return n}else e=0;return Va(n,r)}}(),Ba=vo(function(e,t){return b(e)&&$n(e)?Et(e,At(t,!1,!0)):[]}),Ha=wn(),Za=wn(!0),Wa=vo(function(e){for(var t=e.length,n=t,r=Ui(f),o=qn(),i=o==u,a=[];n--;){var s=e[n]=$n(s=e[n])?s:[];r[n]=i&&s.length>=120?gn(n&&s):null}var c=e[0],l=-1,f=c?c.length:0,p=r[0];e:for(;++l2?e[t-2]:T,r=t>1?e[t-1]:T;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):T,r=T),e.length=t,Fr(e,n,r)}),tu=vo(function(e){return e=At(e),this.thru(function(t){return Je(Au(t)?t:[fr(t)],e)})}),nu=vo(function(e,t){return vt(e,At(t))}),ru=ln(function(e,t,n){ta.call(e,n)?++e[n]:e[n]=1}),ou=xn(La),iu=xn(Ia,!0),au=Sn(rt,La),uu=Sn(ot,Ia),su=ln(function(e,t,n){ta.call(e,n)?e[n].push(t):e[n]=[t]}),cu=ln(function(e,t,n){e[n]=t}),lu=vo(function(e,t,n){var r=-1,o="function"==typeof t,i=er(t),a=$n(e)?Ui(e.length):[];return La(e,function(e){var u=o?t:i&&null!=e?e[t]:T;a[++r]=u?u.apply(e,n):Kn(e,t,n)}),a}),fu=ln(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),pu=Rn(lt,La),du=Rn(ft,Ia),hu=vo(function(e,t){if(null==e)return[];var n=t[2];return n&&Jn(t[0],t[1],n)&&(t.length=1),$t(e,At(t),[])}),gu=Ca||function(){return(new Gi).getTime()},yu=vo(function(e,t,n){var r=A;if(n.length){var o=x(n,yu.placeholder);r|=N}return In(e,r,t,n,o)}),mu=vo(function(e,t){t=t.length?At(t):$o(e);for(var n=-1,r=t.length;++n0||t<0)?new o(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==T&&(t=+t||0,n=t<0?n.dropRight(-t):n.take(t-e)),n)},o.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},o.prototype.toArray=function(){return this.take(Pa)},Rt(o.prototype,function(e,n){var i=/^(?:filter|map|reject)|While$/.test(n),a=/^(?:first|last)$/.test(n),u=t[a?"take"+("last"==n?"Right":""):n];u&&(t.prototype[n]=function(){var t=a?[1]:arguments,n=this.__chain__,s=this.__wrapped__,c=!!this.__actions__.length,l=s instanceof o,f=t[0],p=l||Au(s);p&&i&&"function"==typeof f&&1!=f.length&&(l=p=!1);var d=function(e){return a&&n?u(e,1)[0]:u.apply(T,ct([e],t))},h={func:qr,args:[d],thisArg:T},g=l&&!c;if(a&&!n)return g?(s=s.clone(),s.__actions__.push(h),e.call(s)):u.call(T,this.value())[0];if(!a&&p){s=g?s:new o(this);var y=e.apply(s,t);return y.__actions__.push(h),new r(y,n)}return this.thru(d)})}),rt(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var n=(/^(?:replace|split)$/.test(e)?Ji:$i)[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return o&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),Rt(o.prototype,function(e,n){var r=t[n];if(r){var o=r.name;(Na[o]||(Na[o]=[])).push({name:n,func:r})}}),Na[Mn(T,k).name]=[{name:"wrapper",func:T}],o.prototype.clone=_,o.prototype.reverse=qe,o.prototype.value=Be,t.prototype.chain=Br,t.prototype.commit=Hr,t.prototype.concat=tu,t.prototype.plant=Zr,t.prototype.reverse=Wr,t.prototype.toString=Yr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Xr,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 T,P="3.10.1",A=1,k=2,R=4,M=8,j=16,N=32,D=64,L=128,I=256,F=30,z="...",V=150,U=16,G=200,q=1,B=2,H="Expected a function",Z="__lodash_placeholder__",W="[object Arguments]",Y="[object Array]",X="[object Boolean]",K="[object Date]",$="[object Error]",Q="[object Function]",J="[object Number]",ee="[object Object]",te="[object RegExp]",ne="[object String]",re="[object ArrayBuffer]",oe="[object Float32Array]",ie="[object Float64Array]",ae="[object Int8Array]",ue="[object Int16Array]",se="[object Int32Array]",ce="[object Uint8Array]",le="[object Uint8ClampedArray]",fe="[object Uint16Array]",pe="[object Uint32Array]",de=/\b__p \+= '';/g,he=/\b(__p \+=) '' \+/g,ge=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ye=/&(?:amp|lt|gt|quot|#39|#96);/g,me=/[&<>"'`]/g,ve=RegExp(ye.source),be=RegExp(me.source),_e=/<%-([\s\S]+?)%>/g,xe=/<%([\s\S]+?)%>/g,we=/<%=([\s\S]+?)%>/g,Ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,Ce=/^\w*$/,Se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Oe=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,Te=RegExp(Oe.source),Pe=/[\u0300-\u036f\ufe20-\ufe23]/g,Ae=/\\(\\)?/g,ke=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Re=/\w*$/,Me=/^0[xX]/,je=/^\[object .+?Constructor\]$/,Ne=/^\d+$/,De=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Le=/($^)/,Ie=/['\n\r\u2028\u2029\\]/g,Fe=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")}(),ze=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Ve=-1,Ue={};Ue[oe]=Ue[ie]=Ue[ae]=Ue[ue]=Ue[se]=Ue[ce]=Ue[le]=Ue[fe]=Ue[pe]=!0,Ue[W]=Ue[Y]=Ue[re]=Ue[X]=Ue[K]=Ue[$]=Ue[Q]=Ue["[object Map]"]=Ue[J]=Ue[ee]=Ue[te]=Ue["[object Set]"]=Ue[ne]=Ue["[object WeakMap]"]=!1;var Ge={};Ge[W]=Ge[Y]=Ge[re]=Ge[X]=Ge[K]=Ge[oe]=Ge[ie]=Ge[ae]=Ge[ue]=Ge[se]=Ge[J]=Ge[ee]=Ge[te]=Ge[ne]=Ge[ce]=Ge[le]=Ge[fe]=Ge[pe]=!0,Ge[$]=Ge[Q]=Ge["[object Map]"]=Ge["[object Set]"]=Ge["[object WeakMap]"]=!1;var 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"},Be={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},He={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Ze={function:!0,object:!0},We={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Ye={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xe=Ze[typeof t]&&t&&!t.nodeType&&t,Ke=Ze[typeof e]&&e&&!e.nodeType&&e,$e=Xe&&Ke&&"object"==typeof r&&r&&r.Object&&r,Qe=Ze[typeof self]&&self&&self.Object&&self,Je=Ze[typeof window]&&window&&window.Object&&window,et=(Ke&&Ke.exports,$e||Je!==(this&&this.window)&&Je||Qe||this),tt=O();et._=tt,(o=function(){return tt}.call(t,n,t,e))!==T&&(e.exports=o)}).call(this)}).call(t,n(40)(e),n(24))},function(e,t,n){"use strict";function r(e,t,n){return u.default.get(n,["zoneSettings","entities",e,t,"value"],!1)}function o(e,t,n){return u.default.get(n,["zoneSettings","entities",e,t,"modified_on"],"")}function i(e,t){return u.default.get(t,["entities",e],!1)}Object.defineProperty(t,"__esModule",{value:!0}),t.getZoneSettingsValueForZoneId=r,t.getZoneSettingsModifiedDateForZoneId=o,t.getAllZoneSettingsForZoneId=i;var a=n(15),u=function(e){return e&&e.__esModule?e:{default:e}}(a)},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=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,o,i,a,u],l=0;s=new Error(t.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){"use strict";function r(){return{type:h.ZONE_FETCH_SETTINGS}}function o(e,t){return{type:h.ZONE_FETCH_SETTINGS_SUCCESS,zoneId:e,zoneSettings:t}}function i(){return{type:h.ZONE_FETCH_SETTINGS_ERROR}}function a(e){return function(t){t(r()),(0,f.zoneGetSettings)(e,function(n,r){r?(t(o(e,r.body.result)),t((0,p.notificationHandleDevelopmentMode)(e))):t((0,p.notificationAddClientAPIError)(i(),n))})}}function u(e,t){return{type:h.ZONE_UPDATE_SETTING,zoneId:e,setting:t}}function s(e,t){return{type:h.ZONE_UPDATE_SETTING_SUCCESS,zoneId:e,setting:t}}function c(e,t){return{type:h.ZONE_UPDATE_SETTING_ERROR,zoneId:e,setting:t}}function l(e,t,n){return function(r,o){var i=o().zoneSettings.entities[t][e];r(u(t,{id:e,value:n})),(0,f.zonePatchSetting)(e,t,n,function(e,n){n?(r(s(t,n.body.result)),r((0,p.notificationHandleDevelopmentMode)(t))):r((0,p.notificationAddClientAPIError)(c(t,i),e))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.zoneFetchSettings=r,t.zoneFetchSettingsSuccess=o,t.zoneFetchSettingsError=i,t.asyncZoneFetchSettings=a,t.zoneUpdateSetting=u,t.zoneUpdateSettingSuccess=s,t.zoneUpdateSettingError=c,t.asyncZoneUpdateSetting=l;var f=n(34),p=n(21),d=n(8),h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(d)},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";var r=n(0),o=n(387),i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:5e3;return{type:d.NOTIFICATION_ADD,level:e,message:t,localized:n,persistant:r,delay:o}}function o(e){return r("success",e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3)}function i(e){return r("info",e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3)}function a(e){return r("warning",e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3)}function u(e){return r("error",e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3)}function s(e){return{type:d.NOTIFICATION_REMOVE,key:e}}function c(e,t){return function(n){n(e),"string"==typeof t?n(u(t)):t.body.errors.forEach(function(e){n(u(e.message))})}}function l(e,t){return function(n){n(e),n("string"==typeof t?u(t):u(t.body.msg))}}function f(e){return function(t,n){var r=n().notifications,o=(0,h.getZoneSettingsValueForZoneId)(e,"development_mode",n()),i=null;y.default.forEach(r,function(e){"warning"===e.level&&"warning.developmentmode"===e.message&&(i=e.key)}),"on"===o&&null===i&&t(a("warning.developmentmode",!0,!0)),"off"===o&&null!==i&&t(s(i))}}Object.defineProperty(t,"__esModule",{value:!0}),t.notificationAdd=r,t.notificationAddSuccess=o,t.notificationAddInfo=i,t.notificationAddWarning=a,t.notificationAddError=u,t.notificationRemove=s,t.notificationAddClientAPIError=c,t.notificationAddHostAPIError=l,t.notificationHandleDevelopmentMode=f;var p=n(8),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(p),h=n(16),g=n(15),y=function(e){return e&&e.__esModule?e:{default:e}}(g)},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(764);t.default=r.a},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(e,t){return(void 0!==e.config[a.ABSOLUTE_URL_BASE_KEY]?e.config[a.ABSOLUTE_URL_BASE_KEY]:"")+t}function o(e,t){return e.config[t]}function i(e){return!0===o(e,"isDNSPageEnabled")}Object.defineProperty(t,"__esModule",{value:!0}),t.getAbsoluteUrl=r,t.getConfigValue=o,t.isDNSPageEnabled=i;var a=n(127)},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},function(e,t,n){"use strict";t.Button=n(668),t.ButtonGroup=n(669)},function(e,t,n){"use strict";function r(){T.ReactReconcileTransaction&&x||l("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=T.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),x.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function u(e){var t=e.dirtyComponentsLength;t!==m.length&&l("124",t,m.length),m.sort(a),v++;for(var n=0;n1){for(var h=Array(d),g=0;g1){for(var m=Array(y),v=0;v0||l.a(!1),null!=p&&(a+=encodeURI(p));else if("("===c)s[o]="",o+=1;else if(")"===c){var g=s.pop();o-=1,o?s[o-1]+=g:a+=g}else if("\\("===c)a+="(";else if("\\)"===c)a+=")";else if(":"===c.charAt(0))if(f=c.substring(1),p=t[f],null!=p||o>0||l.a(!1),null==p){if(o){s[o-1]="";for(var y=r.indexOf(c),m=r.slice(y,r.length),v=-1,b=0;b0||l.a(!1),d=y+v-1}}else o?s[o-1]+=encodeURIComponent(p):a+=encodeURIComponent(p);else o?s[o-1]+=c:a+=c;return o<=0||l.a(!1),a.replace(/\/+/g,"/")}t.c=a,t.b=u,t.a=s;var c=n(17),l=n.n(c),f=Object.create(null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.statesAreEqual=t.createLocation=t.createQuery=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1)for(var n=1;n should not have a "'+t+'" prop')}t.c=r,n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"d",function(){return s});var o=n(1),i=(n.n(o),o.shape({listen:o.func.isRequired,push:o.func.isRequired,replace:o.func.isRequired,go:o.func.isRequired,goBack:o.func.isRequired,goForward:o.func.isRequired}),o.oneOfType([o.func,o.string])),a=o.oneOfType([i,o.object]),u=o.oneOfType([o.object,o.element]),s=o.oneOfType([u,o.arrayOf(u)])},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";function r(e,t){return s.default.get(t,["entities",e],!1)}function o(e){return s.default.get(e,["pluginSettings","isFetching"])}function i(e,t,n){return s.default.get(n,["pluginSettings","entities",e,t,"value"],!1)}function a(e,t,n){return s.default.get(n,["pluginSettings","entities",e,t,"modified_on"],"")}Object.defineProperty(t,"__esModule",{value:!0}),t.getPluginSettingsForZoneId=r,t.getPluginSettingsIsFetching=o,t.getPluginSettingsValueForZoneId=i,t.getPluginSettingsModifiedDateForZoneId=a;var u=n(15),s=function(e){return e&&e.__esModule?e:{default:e}}(u)},function(e,t,n){"use strict";e.exports=n(643)},function(e,t,n){"use strict";function r(e){var t="";for(var n in e){var r=e[n];"string"!=typeof r&&"number"!=typeof r||(t&&(t+=";"),t+=(0,i.default)(n,r))}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(241),i=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";function r(e){return"string"==typeof e&&o.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=/-webkit-|-moz-|-ms-/;e.exports=t.default},function(e,t,n){function r(e){return null==e?void 0===e?s:u:c&&c in Object(e)?i(e):a(e)}var o=n(267),i=n(813),a=n(814),u="[object Null]",s="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){return{integrationName:(0,v.getConfigValue)(e.config,"integrationName"),activeZone:e.activeZone}}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n]/,s=n(106),c=s(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&u.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),l=null}e.exports=c},function(e,t,n){"use strict";function r(e){var t=""+e,n=i.exec(t);if(!n)return t;var r,o="",a=0,u=0;for(a=n.index;a]/;e.exports=o},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,g)||(e[g]=d++,f[e[g]]={}),f[e[g]]}var o,i=n(9),a=n(98),u=n(316),s=n(161),c=n(166),l=n(102),f={},p=!1,d=0,h={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},g="_reactListenersID"+String(Math.random()).slice(2),y=i({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=e}},setEnabled:function(e){y.ReactEventListener&&y.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),i=a.registrationNameDependencies[e],u=0;u=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=typeof e;return"string"===t?e:"object"===t?JSON.stringify(e):"number"===t||"boolean"===t?String(e):""}/*! +var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,s=r(e),c=1;c=1e3&&nt&&!i||!o||n&&!a&&u||r&&u)return 1;if(e-1;);return n}function f(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function p(e,t){return i(e.criteria,t.criteria)||e.index-t.index}function d(e,t,n){for(var r=-1,o=e.criteria,a=t.criteria,u=o.length,s=n.length;++r=s)return c;var l=n[r];return c*("asc"===l||!0===l?1:-1)}}return e.index-t.index}function h(e){return qe[e]}function g(e){return Be[e]}function y(e,t,n){return t?e=We[e]:n&&(e=Ye[e]),"\\"+e}function m(e){return"\\"+Ye[e]}function v(e,t,n){for(var r=e.length,o=t+(n?0:-1);n?o--:++o=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 x(e,t){for(var n=-1,r=e.length,o=-1,i=[];++n=G?gn(t):null,c=t.length;s&&(i=$e,a=!1,t=s);e:for(;++oo?0:o+n),r=r===T||r>o?o:+r||0,r<0&&(r+=o),o=n>r?0:r>>>0,n>>>=0;no?0:o+t),n=n===T||n>o?o:+n||0,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Ui(o);++r=G,s=a?gn():null,c=[];s?(r=$e,i=!1):(a=!1,s=t?[]:c);e:for(;++n>>1,a=e[i];(n?a<=t:a2?n[o-2]:T,a=o>2?n[2]:T,u=o>1?n[o-1]:T;for("function"==typeof i?(i=an(i,u,5),o-=2):(i="function"==typeof u?u:T,o-=i?1:0),a&&Jn(n[0],n[1],a)&&(i=o<3?T:i,o=1);++r-1?n[i]:T}return Pt(n,r,e)}}function wn(e){return function(t,n,r){return t&&t.length?(n=Un(n,r,3),a(t,n,e)):-1}}function En(e){return function(t,n,r){return n=Un(n,r,3),Pt(t,n,e,!0)}}function Cn(e){return function(){for(var t,n=arguments.length,o=e?n:-1,i=0,a=Ui(n);e?o--:++o=G)return t.plant(r).value();for(var o=0,i=n?a[o].apply(this,e):r;++o=t||!_a(t))return"";var o=t-r;return n=null==n?" ":n+"",mi(n,ya(o/n.length)).slice(0,o)}function Nn(e,t,n,r){function o(){for(var t=-1,u=arguments.length,s=-1,c=r.length,l=Ui(c+u);++ss))return!1;for(;++u-1&&e%1==0&&e-1&&e%1==0&&e<=Ma}function rr(e){return e===e&&!Lo(e)}function or(e,t){var n=e[1],r=t[1],o=n|r,i=o-1;)da.call(t,i,1);return t}function Ar(e,t,n){var r=[];if(!e||!e.length)return r;var o=-1,i=[],a=e.length;for(t=Un(t,n,3);++o-1:!!o&&qn(e,t,n)>-1}function eo(e,t,n){var r=Au(e)?st:Ft;return t=Un(t,n,3),r(e,t)}function to(e,t){return eo(e,Ni(t))}function no(e,t,n){var r=Au(e)?ut:Tt;return t=Un(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function ro(e,t,n){if(n?Jn(e,t,n):null==t){e=lr(e);var r=e.length;return r>0?e[Zt(0,r-1)]:T}var o=-1,i=Yo(e),r=i.length,a=r-1;for(t=Ea(t<0?0:+t||0,r);++o0&&(n=t.apply(this,arguments)),e<=1&&(t=T),n}}function ho(e,t,n){function r(){d&&ua(d),c&&ua(c),g=0,c=d=h=T}function o(t,n){n&&ua(n),c=d=h=T,t&&(g=gu(),l=e.apply(p,s),d||c||(s=p=T))}function i(){var e=t-(gu()-f);e<=0||e>t?o(h,c):d=pa(i,e)}function a(){o(m,d)}function u(){if(s=arguments,f=gu(),p=this,h=m&&(d||!v),!1===y)var n=v&&!d;else{c||v||(g=f);var r=y-(f-g),o=r<=0||r>y;o?(c&&(c=ua(c)),g=f,l=e.apply(p,s)):c||(c=pa(a,r))}return o&&d?d=ua(d):d||t===y||(d=pa(i,t)),n&&(o=!0,l=e.apply(p,s)),!o||d||c||(s=p=T),l}var s,c,l,f,p,d,h,g=0,y=!1,m=!0;if("function"!=typeof e)throw new Ki(H);if(t=t<0?0:+t||0,!0===n){var v=!0;m=!1}else Lo(n)&&(v=!!n.leading,y="maxWait"in n&&wa(+n.maxWait||0,t),m="trailing"in n?!!n.trailing:m);return u.cancel=r,u}function go(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Ki(H);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new go.Cache,n}function yo(e){if("function"!=typeof e)throw new Ki(H);return function(){return!e.apply(this,arguments)}}function mo(e){return po(2,e)}function vo(e,t){if("function"!=typeof e)throw new Ki(H);return t=wa(t===T?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,o=wa(n.length-t,0),i=Ui(o);++rt}function So(e,t){return e>=t}function Oo(e){return b(e)&&$n(e)&&ta.call(e,"callee")&&!la.call(e,"callee")}function To(e){return!0===e||!1===e||b(e)&&ra.call(e)==X}function Po(e){return b(e)&&ra.call(e)==K}function Ao(e){return!!e&&1===e.nodeType&&b(e)&&!Uo(e)}function ko(e){return null==e||($n(e)&&(Au(e)||qo(e)||Oo(e)||b(e)&&No(e.splice))?!e.length:!Vu(e).length)}function Ro(e,t,n,r){n="function"==typeof n?an(n,r,3):T;var o=n?n(e,t):T;return o===T?Lt(e,t,n):!!o}function Mo(e){return b(e)&&"string"==typeof e.message&&ra.call(e)==$}function jo(e){return"number"==typeof e&&_a(e)}function No(e){return Lo(e)&&ra.call(e)==Q}function Lo(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Do(e,t,n,r){return n="function"==typeof n?an(n,r,3):T,It(e,Bn(t),n)}function Io(e){return Vo(e)&&e!=+e}function Fo(e){return null!=e&&(No(e)?ia.test(ea.call(e)):b(e)&&je.test(e))}function zo(e){return null===e}function Vo(e){return"number"==typeof e||b(e)&&ra.call(e)==J}function Uo(e){var t;if(!b(e)||ra.call(e)!=ee||Oo(e)||!ta.call(e,"constructor")&&"function"==typeof(t=e.constructor)&&!(t instanceof t))return!1;var n;return kt(e,function(e,t){n=t}),n===T||ta.call(e,n)}function Go(e){return Lo(e)&&ra.call(e)==te}function qo(e){return"string"==typeof e||b(e)&&ra.call(e)==ne}function Bo(e){return b(e)&&nr(e.length)&&!!Ue[ra.call(e)]}function Ho(e){return e===T}function Zo(e,t){return e0;++r=Ea(t,n)&&e=0&&e.indexOf(t,n)==n}function di(e){return e=c(e),e&&be.test(e)?e.replace(me,g):e}function hi(e){return e=c(e),e&&Te.test(e)?e.replace(Oe,y):e||"(?:)"}function gi(e,t,n){e=c(e),t=+t;var r=e.length;if(r>=t||!_a(t))return e;var o=(t-r)/2,i=va(o);return n=jn("",ya(o),n),n.slice(0,i)+e+n}function yi(e,t,n){return(n?Jn(e,t,n):null==t)?t=0:t&&(t=+t),e=_i(e),Sa(e,t||(Me.test(e)?16:10))}function mi(e,t){var n="";if(e=c(e),(t=+t)<1||!e||!_a(t))return n;do{t%2&&(n+=e),t=va(t/2),e+=e}while(t);return n}function vi(e,t,n){return e=c(e),n=null==n?0:Ea(n<0?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function bi(e,n,r){var o=t.templateSettings;r&&Jn(e,n,r)&&(n=r=T),e=c(e),n=yt(mt({},r||n),o,gt);var i,a,u=yt(mt({},n.imports),o.imports,gt),s=Vu(u),l=en(u,s),f=0,p=n.interpolate||De,d="__p += '",h=Yi((n.escape||De).source+"|"+p.source+"|"+(p===we?ke:De).source+"|"+(n.evaluate||De).source+"|$","g"),g="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Ve+"]")+"\n";e.replace(h,function(t,n,r,o,u,s){return r||(r=o),d+=e.slice(f,s).replace(Ie,m),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),u&&(a=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=s+t.length,t}),d+="';\n";var y=n.variable;y||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(de,""):d).replace(he,"$1").replace(ge,"$1;"),d="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=$u(function(){return Bi(s,g+"return "+d).apply(T,l)});if(v.source=d,Mo(v))throw v;return v}function _i(e,t,n){var r=e;return(e=c(e))?(n?Jn(r,t,n):null==t)?e.slice(E(e),C(e)+1):(t+="",e.slice(l(e,t),f(e,t)+1)):e}function xi(e,t,n){var r=e;return e=c(e),e?(n?Jn(r,t,n):null==t)?e.slice(E(e)):e.slice(l(e,t+"")):e}function wi(e,t,n){var r=e;return e=c(e),e?(n?Jn(r,t,n):null==t)?e.slice(0,C(e)+1):e.slice(0,f(e,t+"")+1):e}function Ei(e,t,n){n&&Jn(e,t,n)&&(t=T);var r=F,o=z;if(null!=t)if(Lo(t)){var i="separator"in t?t.separator:i;r="length"in t?+t.length||0:r,o="omission"in t?c(t.omission):o}else r=+t||0;if(e=c(e),r>=e.length)return e;var a=r-o.length;if(a<1)return o;var u=e.slice(0,a);if(null==i)return u+o;if(Go(i)){if(e.slice(a).search(i)){var s,l,f=e.slice(0,a);for(i.global||(i=Yi(i.source,(Re.exec(i)||"")+"g")),i.lastIndex=0;s=i.exec(f);)l=s.index;u=u.slice(0,null==l?a:l)}}else if(e.indexOf(i,a)!=a){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+o}function Ci(e){return e=c(e),e&&ve.test(e)?e.replace(ye,S):e}function Si(e,t,n){return n&&Jn(e,t,n)&&(t=T),e=c(e),e.match(t||Fe)||[]}function Oi(e,t,n){return n&&Jn(e,t,n)&&(t=T),b(e)?Ai(e):_t(e,t)}function Ti(e){return function(){return e}}function Pi(e){return e}function Ai(e){return zt(xt(e,!0))}function ki(e,t){return Vt(e,xt(t,!0))}function Ri(e,t,n){if(null==n){var r=Lo(t),o=r?Vu(t):T,i=o&&o.length?jt(t,o):T;(i?i.length:r)||(i=!1,n=t,t=e,e=this)}i||(i=jt(t,Vu(t)));var a=!0,u=-1,s=No(e),c=i.length;!1===n?a=!1:Lo(n)&&"chain"in n&&(a=n.chain);for(;++u>>1,Ma=9007199254740991,ja=ga&&new ga,Na={};t.support={};t.templateSettings={escape:_e,evaluate:xe,interpolate:we,variable:"",imports:{_:t}};var La=function(){function e(){}return function(t){if(Lo(t)){e.prototype=t;var n=new e;e.prototype=T}return n||{}}}(),Da=pn(Rt),Ia=pn(Mt,!0),Fa=dn(),za=dn(!0),Va=ja?function(e,t){return ja.set(e,t),e}:Pi,Ua=ja?function(e){return ja.get(e)}:ji,Ga=qt("length"),qa=function(){var e=0,t=0;return function(n,r){var o=gu(),i=U-(o-t);if(t=o,i>0){if(++e>=V)return n}else e=0;return Va(n,r)}}(),Ba=vo(function(e,t){return b(e)&&$n(e)?Et(e,At(t,!1,!0)):[]}),Ha=wn(),Za=wn(!0),Wa=vo(function(e){for(var t=e.length,n=t,r=Ui(f),o=qn(),i=o==u,a=[];n--;){var s=e[n]=$n(s=e[n])?s:[];r[n]=i&&s.length>=120?gn(n&&s):null}var c=e[0],l=-1,f=c?c.length:0,p=r[0];e:for(;++l2?e[t-2]:T,r=t>1?e[t-1]:T;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):T,r=T),e.length=t,Fr(e,n,r)}),tu=vo(function(e){return e=At(e),this.thru(function(t){return Je(Au(t)?t:[fr(t)],e)})}),nu=vo(function(e,t){return vt(e,At(t))}),ru=ln(function(e,t,n){ta.call(e,n)?++e[n]:e[n]=1}),ou=xn(Da),iu=xn(Ia,!0),au=Sn(rt,Da),uu=Sn(ot,Ia),su=ln(function(e,t,n){ta.call(e,n)?e[n].push(t):e[n]=[t]}),cu=ln(function(e,t,n){e[n]=t}),lu=vo(function(e,t,n){var r=-1,o="function"==typeof t,i=er(t),a=$n(e)?Ui(e.length):[];return Da(e,function(e){var u=o?t:i&&null!=e?e[t]:T;a[++r]=u?u.apply(e,n):Kn(e,t,n)}),a}),fu=ln(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),pu=Rn(lt,Da),du=Rn(ft,Ia),hu=vo(function(e,t){if(null==e)return[];var n=t[2];return n&&Jn(t[0],t[1],n)&&(t.length=1),$t(e,At(t),[])}),gu=Ca||function(){return(new Gi).getTime()},yu=vo(function(e,t,n){var r=A;if(n.length){var o=x(n,yu.placeholder);r|=N}return In(e,r,t,n,o)}),mu=vo(function(e,t){t=t.length?At(t):$o(e);for(var n=-1,r=t.length;++n0||t<0)?new o(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==T&&(t=+t||0,n=t<0?n.dropRight(-t):n.take(t-e)),n)},o.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},o.prototype.toArray=function(){return this.take(Pa)},Rt(o.prototype,function(e,n){var i=/^(?:filter|map|reject)|While$/.test(n),a=/^(?:first|last)$/.test(n),u=t[a?"take"+("last"==n?"Right":""):n];u&&(t.prototype[n]=function(){var t=a?[1]:arguments,n=this.__chain__,s=this.__wrapped__,c=!!this.__actions__.length,l=s instanceof o,f=t[0],p=l||Au(s);p&&i&&"function"==typeof f&&1!=f.length&&(l=p=!1);var d=function(e){return a&&n?u(e,1)[0]:u.apply(T,ct([e],t))},h={func:qr,args:[d],thisArg:T},g=l&&!c;if(a&&!n)return g?(s=s.clone(),s.__actions__.push(h),e.call(s)):u.call(T,this.value())[0];if(!a&&p){s=g?s:new o(this);var y=e.apply(s,t);return y.__actions__.push(h),new r(y,n)}return this.thru(d)})}),rt(["join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var n=(/^(?:replace|split)$/.test(e)?Ji:$i)[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return o&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),Rt(o.prototype,function(e,n){var r=t[n];if(r){var o=r.name;(Na[o]||(Na[o]=[])).push({name:n,func:r})}}),Na[Mn(T,k).name]=[{name:"wrapper",func:T}],o.prototype.clone=_,o.prototype.reverse=qe,o.prototype.value=Be,t.prototype.chain=Br,t.prototype.commit=Hr,t.prototype.concat=tu,t.prototype.plant=Zr,t.prototype.reverse=Wr,t.prototype.toString=Yr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Xr,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 T,P="3.10.1",A=1,k=2,R=4,M=8,j=16,N=32,L=64,D=128,I=256,F=30,z="...",V=150,U=16,G=200,q=1,B=2,H="Expected a function",Z="__lodash_placeholder__",W="[object Arguments]",Y="[object Array]",X="[object Boolean]",K="[object Date]",$="[object Error]",Q="[object Function]",J="[object Number]",ee="[object Object]",te="[object RegExp]",ne="[object String]",re="[object ArrayBuffer]",oe="[object Float32Array]",ie="[object Float64Array]",ae="[object Int8Array]",ue="[object Int16Array]",se="[object Int32Array]",ce="[object Uint8Array]",le="[object Uint8ClampedArray]",fe="[object Uint16Array]",pe="[object Uint32Array]",de=/\b__p \+= '';/g,he=/\b(__p \+=) '' \+/g,ge=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ye=/&(?:amp|lt|gt|quot|#39|#96);/g,me=/[&<>"'`]/g,ve=RegExp(ye.source),be=RegExp(me.source),_e=/<%-([\s\S]+?)%>/g,xe=/<%([\s\S]+?)%>/g,we=/<%=([\s\S]+?)%>/g,Ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,Ce=/^\w*$/,Se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Oe=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,Te=RegExp(Oe.source),Pe=/[\u0300-\u036f\ufe20-\ufe23]/g,Ae=/\\(\\)?/g,ke=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Re=/\w*$/,Me=/^0[xX]/,je=/^\[object .+?Constructor\]$/,Ne=/^\d+$/,Le=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,De=/($^)/,Ie=/['\n\r\u2028\u2029\\]/g,Fe=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")}(),ze=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap"],Ve=-1,Ue={};Ue[oe]=Ue[ie]=Ue[ae]=Ue[ue]=Ue[se]=Ue[ce]=Ue[le]=Ue[fe]=Ue[pe]=!0,Ue[W]=Ue[Y]=Ue[re]=Ue[X]=Ue[K]=Ue[$]=Ue[Q]=Ue["[object Map]"]=Ue[J]=Ue[ee]=Ue[te]=Ue["[object Set]"]=Ue[ne]=Ue["[object WeakMap]"]=!1;var Ge={};Ge[W]=Ge[Y]=Ge[re]=Ge[X]=Ge[K]=Ge[oe]=Ge[ie]=Ge[ae]=Ge[ue]=Ge[se]=Ge[J]=Ge[ee]=Ge[te]=Ge[ne]=Ge[ce]=Ge[le]=Ge[fe]=Ge[pe]=!0,Ge[$]=Ge[Q]=Ge["[object Map]"]=Ge["[object Set]"]=Ge["[object WeakMap]"]=!1;var 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"},Be={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},He={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},Ze={function:!0,object:!0},We={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},Ye={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xe=Ze[typeof t]&&t&&!t.nodeType&&t,Ke=Ze[typeof e]&&e&&!e.nodeType&&e,$e=Xe&&Ke&&"object"==typeof r&&r&&r.Object&&r,Qe=Ze[typeof self]&&self&&self.Object&&self,Je=Ze[typeof window]&&window&&window.Object&&window,et=(Ke&&Ke.exports,$e||Je!==(this&&this.window)&&Je||Qe||this),tt=O();et._=tt,(o=function(){return tt}.call(t,n,t,e))!==T&&(e.exports=o)}).call(this)}).call(t,n(40)(e),n(24))},function(e,t,n){"use strict";function r(e,t,n){return u.default.get(n,["zoneSettings","entities",e,t,"value"],!1)}function o(e,t,n){return u.default.get(n,["zoneSettings","entities",e,t,"modified_on"],"")}function i(e,t){return u.default.get(t,["entities",e],!1)}Object.defineProperty(t,"__esModule",{value:!0}),t.getZoneSettingsValueForZoneId=r,t.getZoneSettingsModifiedDateForZoneId=o,t.getAllZoneSettingsForZoneId=i;var a=n(15),u=function(e){return e&&e.__esModule?e:{default:e}}(a)},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=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,o,i,a,u],l=0;s=new Error(t.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){"use strict";function r(){return{type:h.ZONE_FETCH_SETTINGS}}function o(e,t){return{type:h.ZONE_FETCH_SETTINGS_SUCCESS,zoneId:e,zoneSettings:t}}function i(){return{type:h.ZONE_FETCH_SETTINGS_ERROR}}function a(e){return function(t){t(r()),(0,f.zoneGetSettings)(e,function(n,r){r?(t(o(e,r.body.result)),t((0,p.notificationHandleDevelopmentMode)(e))):t((0,p.notificationAddClientAPIError)(i(),n))})}}function u(e,t){return{type:h.ZONE_UPDATE_SETTING,zoneId:e,setting:t}}function s(e,t){return{type:h.ZONE_UPDATE_SETTING_SUCCESS,zoneId:e,setting:t}}function c(e,t){return{type:h.ZONE_UPDATE_SETTING_ERROR,zoneId:e,setting:t}}function l(e,t,n){return function(r,o){var i=o().zoneSettings.entities[t][e];r(u(t,{id:e,value:n})),(0,f.zonePatchSetting)(e,t,n,function(e,n){n?(r(s(t,n.body.result)),r((0,p.notificationHandleDevelopmentMode)(t))):r((0,p.notificationAddClientAPIError)(c(t,i),e))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.zoneFetchSettings=r,t.zoneFetchSettingsSuccess=o,t.zoneFetchSettingsError=i,t.asyncZoneFetchSettings=a,t.zoneUpdateSetting=u,t.zoneUpdateSettingSuccess=s,t.zoneUpdateSettingError=c,t.asyncZoneUpdateSetting=l;var f=n(34),p=n(21),d=n(8),h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(d)},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";var r=n(0),o=n(387),i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:5e3;return{type:d.NOTIFICATION_ADD,level:e,message:t,localized:n,persistant:r,delay:o}}function o(e){return r("success",e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3)}function i(e){return r("info",e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3)}function a(e){return r("warning",e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3)}function u(e){return r("error",e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3)}function s(e){return{type:d.NOTIFICATION_REMOVE,key:e}}function c(e,t){return function(n){n(e),"string"==typeof t?n(u(t)):t.body.errors.forEach(function(e){n(u(e.message))})}}function l(e,t){return function(n){n(e),n("string"==typeof t?u(t):u(t.body.msg))}}function f(e){return function(t,n){var r=n().notifications,o=(0,h.getZoneSettingsValueForZoneId)(e,"development_mode",n()),i=null;y.default.forEach(r,function(e){"warning"===e.level&&"warning.developmentmode"===e.message&&(i=e.key)}),"on"===o&&null===i&&t(a("warning.developmentmode",!0,!0)),"off"===o&&null!==i&&t(s(i))}}Object.defineProperty(t,"__esModule",{value:!0}),t.notificationAdd=r,t.notificationAddSuccess=o,t.notificationAddInfo=i,t.notificationAddWarning=a,t.notificationAddError=u,t.notificationRemove=s,t.notificationAddClientAPIError=c,t.notificationAddHostAPIError=l,t.notificationHandleDevelopmentMode=f;var p=n(8),d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(p),h=n(16),g=n(15),y=function(e){return e&&e.__esModule?e:{default:e}}(g)},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(764);t.default=r.a},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(e,t){return(void 0!==e.config[a.ABSOLUTE_URL_BASE_KEY]?e.config[a.ABSOLUTE_URL_BASE_KEY]:"")+t}function o(e,t){return e.config[t]}function i(e){return!0===o(e,"isDNSPageEnabled")}Object.defineProperty(t,"__esModule",{value:!0}),t.getAbsoluteUrl=r,t.getConfigValue=o,t.isDNSPageEnabled=i;var a=n(127)},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},function(e,t,n){"use strict";t.Button=n(668),t.ButtonGroup=n(669)},function(e,t,n){"use strict";function r(){T.ReactReconcileTransaction&&x||l("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=T.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),x.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function u(e){var t=e.dirtyComponentsLength;t!==m.length&&l("124",t,m.length),m.sort(a),v++;for(var n=0;n1){for(var h=Array(d),g=0;g1){for(var m=Array(y),v=0;v0||l.a(!1),null!=p&&(a+=encodeURI(p));else if("("===c)s[o]="",o+=1;else if(")"===c){var g=s.pop();o-=1,o?s[o-1]+=g:a+=g}else if("\\("===c)a+="(";else if("\\)"===c)a+=")";else if(":"===c.charAt(0))if(f=c.substring(1),p=t[f],null!=p||o>0||l.a(!1),null==p){if(o){s[o-1]="";for(var y=r.indexOf(c),m=r.slice(y,r.length),v=-1,b=0;b0||l.a(!1),d=y+v-1}}else o?s[o-1]+=encodeURIComponent(p):a+=encodeURIComponent(p);else o?s[o-1]+=c:a+=c;return o<=0||l.a(!1),a.replace(/\/+/g,"/")}t.c=a,t.b=u,t.a=s;var c=n(17),l=n.n(c),f=Object.create(null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.statesAreEqual=t.createLocation=t.createQuery=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1)for(var n=1;n should not have a "'+t+'" prop')}t.c=r,n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"d",function(){return s});var o=n(1),i=(n.n(o),o.shape({listen:o.func.isRequired,push:o.func.isRequired,replace:o.func.isRequired,go:o.func.isRequired,goBack:o.func.isRequired,goForward:o.func.isRequired}),o.oneOfType([o.func,o.string])),a=o.oneOfType([i,o.object]),u=o.oneOfType([o.object,o.element]),s=o.oneOfType([u,o.arrayOf(u)])},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";function r(e,t){return s.default.get(t,["entities",e],!1)}function o(e){return s.default.get(e,["pluginSettings","isFetching"])}function i(e,t,n){return s.default.get(n,["pluginSettings","entities",e,t,"value"],!1)}function a(e,t,n){return s.default.get(n,["pluginSettings","entities",e,t,"modified_on"],"")}Object.defineProperty(t,"__esModule",{value:!0}),t.getPluginSettingsForZoneId=r,t.getPluginSettingsIsFetching=o,t.getPluginSettingsValueForZoneId=i,t.getPluginSettingsModifiedDateForZoneId=a;var u=n(15),s=function(e){return e&&e.__esModule?e:{default:e}}(u)},function(e,t,n){"use strict";e.exports=n(643)},function(e,t,n){"use strict";function r(e){var t="";for(var n in e){var r=e[n];"string"!=typeof r&&"number"!=typeof r||(t&&(t+=";"),t+=(0,i.default)(n,r))}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(241),i=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";function r(e){return"string"==typeof e&&o.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=/-webkit-|-moz-|-ms-/;e.exports=t.default},function(e,t,n){function r(e){return null==e?void 0===e?s:u:c&&c in Object(e)?i(e):a(e)}var o=n(267),i=n(813),a=n(814),u="[object Null]",s="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){return{integrationName:(0,v.getConfigValue)(e.config,"integrationName"),activeZone:e.activeZone}}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n]/,s=n(106),c=s(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&u.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),l=null}e.exports=c},function(e,t,n){"use strict";function r(e){var t=""+e,n=i.exec(t);if(!n)return t;var r,o="",a=0,u=0;for(a=n.index;a]/;e.exports=o},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,g)||(e[g]=d++,f[e[g]]={}),f[e[g]]}var o,i=n(9),a=n(98),u=n(316),s=n(161),c=n(166),l=n(102),f={},p=!1,d=0,h={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},g="_reactListenersID"+String(Math.random()).slice(2),y=i({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(y.handleTopLevel),y.ReactEventListener=e}},setEnabled:function(e){y.ReactEventListener&&y.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!y.ReactEventListener||!y.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),i=a.registrationNameDependencies[e],u=0;u=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=typeof e;return"string"===t?e:"object"===t?JSON.stringify(e):"number"===t||"boolean"===t?String(e):""}/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/react-select */ -Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;ta.bottom||i.topt.offsetHeight&&!(t.scrollHeight-t.offsetHeight-t.scrollTop)&&this.props.onMenuScrollToBottom()}},handleRequired:function(e,t){return!e||(t?0===e.length:0===Object.keys(e).length)},getOptionLabel:function(e){return e[this.props.labelKey]},getValueArray:function(e,t){var n=this,r="object"==typeof t?t:this.props;if(r.multi){if("string"==typeof e&&(e=e.split(r.delimiter)),!Array.isArray(e)){if(null===e||void 0===e)return[];e=[e]}return e.map(function(e){return n.expandValue(e,r)}).filter(function(e){return e})}var o=this.expandValue(e,r);return o?[o]:[]},expandValue:function(e,t){var n=typeof e;if("string"!==n&&"number"!==n&&"boolean"!==n)return e;var r=t.options,o=t.valueKey;if(r)for(var i=0;ir&&this.focusOption(n[r+1])},popValue:function(){var e=this.getValueArray(this.props.value);e.length&&!1!==e[e.length-1].clearableValue&&this.setValue(e.slice(0,e.length-1))},removeValue:function(e){var t=this.getValueArray(this.props.value);this.setValue(t.filter(function(t){return t!==e})),this.focus()},clearValue:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this.setValue(this.getResetValue()),this.setState({isOpen:!1,inputValue:""},this.focus))},getResetValue:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null},focusOption:function(e){this.setState({focusedOption:e})},focusNextOption:function(){this.focusAdjacentOption("next")},focusPreviousOption:function(){this.focusAdjacentOption("previous")},focusPageUpOption:function(){this.focusAdjacentOption("page_up")},focusPageDownOption:function(){this.focusAdjacentOption("page_down")},focusStartOption:function(){this.focusAdjacentOption("start")},focusEndOption:function(){this.focusAdjacentOption("end")},focusAdjacentOption:function(e){var t=this._visibleOptions.map(function(e,t){return{option:e,index:t}}).filter(function(e){return!e.option.disabled});if(this._scrollToFocusedOptionOnUpdate=!0,!this.state.isOpen)return void this.setState({isOpen:!0,inputValue:"",focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null)});if(t.length){for(var n=-1,r=0;r0?n-=1:n=t.length-1;else if("start"===e)n=0;else if("end"===e)n=t.length-1;else if("page_up"===e){var o=n-this.props.pageSize;n=o<0?0:o}else if("page_down"===e){var o=n+this.props.pageSize;n=o>t.length-1?t.length-1:o}-1===n&&(n=0),this.setState({focusedIndex:t[n].index,focusedOption:t[n].option})}},getFocusedOption:function(){return this._focusedOption},getInputValue:function(){return this.state.inputValue},selectFocusedOption:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)},renderLoading:function(){if(this.props.isLoading)return c.default.createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},c.default.createElement("span",{className:"Select-loading"}))},renderValue:function(e,t){var n=this,r=this.props.valueRenderer||this.getOptionLabel,o=this.props.valueComponent;if(!e.length)return this.state.inputValue?null:c.default.createElement("div",{className:"Select-placeholder"},this.props.placeholder);var i=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map(function(e,t){return c.default.createElement(o,{id:n._instancePrefix+"-value-"+t,instancePrefix:n._instancePrefix,disabled:n.props.disabled||!1===e.clearableValue,key:"value-"+t+"-"+e[n.props.valueKey],onClick:i,onRemove:n.removeValue,value:e},r(e,t),c.default.createElement("span",{className:"Select-aria-only"}," "))}):this.state.inputValue?void 0:(t&&(i=null),c.default.createElement(o,{id:this._instancePrefix+"-value-item",disabled:this.props.disabled,instancePrefix:this._instancePrefix,onClick:i,value:e[0]},r(e[0])))},renderInput:function(e,t){var n,r=this,a=(0,b.default)("Select-input",this.props.inputProps.className),s=!!this.state.isOpen,l=(0,b.default)((n={},i(n,this._instancePrefix+"-list",s),i(n,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),n)),f=u({},this.props.inputProps,{role:"combobox","aria-expanded":""+s,"aria-owns":l,"aria-haspopup":""+s,"aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-labelledby":this.props["aria-labelledby"],"aria-label":this.props["aria-label"],className:a,tabIndex:this.props.tabIndex,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},required:this.state.required,value:this.state.inputValue});if(this.props.inputRenderer)return this.props.inputRenderer(f);if(this.props.disabled||!this.props.searchable){var p=this.props.inputProps,d=(p.inputClassName,o(p,["inputClassName"]));return c.default.createElement("div",u({},d,{role:"combobox","aria-expanded":s,"aria-owns":s?this._instancePrefix+"-list":this._instancePrefix+"-value","aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value",className:a,tabIndex:this.props.tabIndex||0,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},"aria-readonly":""+!!this.props.disabled,style:{border:0,width:1,display:"inline-block"}}))}return this.props.autosize?c.default.createElement(m.default,u({},f,{minWidth:"5"})):c.default.createElement("div",{className:a},c.default.createElement("input",f))},renderClear:function(){if(this.props.clearable&&this.props.value&&0!==this.props.value&&(!this.props.multi||this.props.value.length)&&!this.props.disabled&&!this.props.isLoading){var e=this.props.clearRenderer();return c.default.createElement("span",{className:"Select-clear-zone",title:this.props.multi?this.props.clearAllText:this.props.clearValueText,"aria-label":this.props.multi?this.props.clearAllText:this.props.clearValueText,onMouseDown:this.clearValue,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEndClearValue},e)}},renderArrow:function(){var e=this.handleMouseDownOnArrow,t=this.state.isOpen,n=this.props.arrowRenderer({onMouseDown:e,isOpen:t});return c.default.createElement("span",{className:"Select-arrow-zone",onMouseDown:e},n)},filterOptions:function(e){var t=this.state.inputValue,n=this.props.options||[];if(this.props.filterOptions){return("function"==typeof this.props.filterOptions?this.props.filterOptions:E.default)(n,t,e,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,valueKey:this.props.valueKey})}return n},onOptionRef:function(e,t){t&&(this.focused=e)},renderMenu:function(e,t,n){return e&&e.length?this.props.menuRenderer({focusedOption:n,focusOption:this.focusOption,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:e,selectValue:this.selectValue,valueArray:t,valueKey:this.props.valueKey,onOptionRef:this.onOptionRef}):this.props.noResultsText?c.default.createElement("div",{className:"Select-noresults"},this.props.noResultsText):null},renderHiddenField:function(e){var t=this;if(this.props.name){if(this.props.joinValues){var n=e.map(function(e){return a(e[t.props.valueKey])}).join(this.props.delimiter);return c.default.createElement("input",{type:"hidden",ref:function(e){return t.value=e},name:this.props.name,value:n,disabled:this.props.disabled})}return e.map(function(e,n){return c.default.createElement("input",{key:"hidden."+n,type:"hidden",ref:"value"+n,name:t.props.name,value:a(e[t.props.valueKey]),disabled:t.props.disabled})})}},getFocusableOptionIndex:function(e){var t=this._visibleOptions;if(!t.length)return null;var n=this.state.focusedOption||e;if(n&&!n.disabled){var r=-1;if(t.some(function(e,t){var o=e.value===n.value;return o&&(r=t),o}),-1!==r)return r}for(var o=0;oa.bottom||i.topt.offsetHeight&&!(t.scrollHeight-t.offsetHeight-t.scrollTop)&&this.props.onMenuScrollToBottom()}},handleRequired:function(e,t){return!e||(t?0===e.length:0===Object.keys(e).length)},getOptionLabel:function(e){return e[this.props.labelKey]},getValueArray:function(e,t){var n=this,r="object"==typeof t?t:this.props;if(r.multi){if("string"==typeof e&&(e=e.split(r.delimiter)),!Array.isArray(e)){if(null===e||void 0===e)return[];e=[e]}return e.map(function(e){return n.expandValue(e,r)}).filter(function(e){return e})}var o=this.expandValue(e,r);return o?[o]:[]},expandValue:function(e,t){var n=typeof e;if("string"!==n&&"number"!==n&&"boolean"!==n)return e;var r=t.options,o=t.valueKey;if(r)for(var i=0;ir&&this.focusOption(n[r+1])},popValue:function(){var e=this.getValueArray(this.props.value);e.length&&!1!==e[e.length-1].clearableValue&&this.setValue(e.slice(0,e.length-1))},removeValue:function(e){var t=this.getValueArray(this.props.value);this.setValue(t.filter(function(t){return t!==e})),this.focus()},clearValue:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this.setValue(this.getResetValue()),this.setState({isOpen:!1,inputValue:""},this.focus))},getResetValue:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null},focusOption:function(e){this.setState({focusedOption:e})},focusNextOption:function(){this.focusAdjacentOption("next")},focusPreviousOption:function(){this.focusAdjacentOption("previous")},focusPageUpOption:function(){this.focusAdjacentOption("page_up")},focusPageDownOption:function(){this.focusAdjacentOption("page_down")},focusStartOption:function(){this.focusAdjacentOption("start")},focusEndOption:function(){this.focusAdjacentOption("end")},focusAdjacentOption:function(e){var t=this._visibleOptions.map(function(e,t){return{option:e,index:t}}).filter(function(e){return!e.option.disabled});if(this._scrollToFocusedOptionOnUpdate=!0,!this.state.isOpen)return void this.setState({isOpen:!0,inputValue:"",focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null)});if(t.length){for(var n=-1,r=0;r0?n-=1:n=t.length-1;else if("start"===e)n=0;else if("end"===e)n=t.length-1;else if("page_up"===e){var o=n-this.props.pageSize;n=o<0?0:o}else if("page_down"===e){var o=n+this.props.pageSize;n=o>t.length-1?t.length-1:o}-1===n&&(n=0),this.setState({focusedIndex:t[n].index,focusedOption:t[n].option})}},getFocusedOption:function(){return this._focusedOption},getInputValue:function(){return this.state.inputValue},selectFocusedOption:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)},renderLoading:function(){if(this.props.isLoading)return c.default.createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},c.default.createElement("span",{className:"Select-loading"}))},renderValue:function(e,t){var n=this,r=this.props.valueRenderer||this.getOptionLabel,o=this.props.valueComponent;if(!e.length)return this.state.inputValue?null:c.default.createElement("div",{className:"Select-placeholder"},this.props.placeholder);var i=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map(function(e,t){return c.default.createElement(o,{id:n._instancePrefix+"-value-"+t,instancePrefix:n._instancePrefix,disabled:n.props.disabled||!1===e.clearableValue,key:"value-"+t+"-"+e[n.props.valueKey],onClick:i,onRemove:n.removeValue,value:e},r(e,t),c.default.createElement("span",{className:"Select-aria-only"}," "))}):this.state.inputValue?void 0:(t&&(i=null),c.default.createElement(o,{id:this._instancePrefix+"-value-item",disabled:this.props.disabled,instancePrefix:this._instancePrefix,onClick:i,value:e[0]},r(e[0])))},renderInput:function(e,t){var n,r=this,a=(0,b.default)("Select-input",this.props.inputProps.className),s=!!this.state.isOpen,l=(0,b.default)((n={},i(n,this._instancePrefix+"-list",s),i(n,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),n)),f=u({},this.props.inputProps,{role:"combobox","aria-expanded":""+s,"aria-owns":l,"aria-haspopup":""+s,"aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-labelledby":this.props["aria-labelledby"],"aria-label":this.props["aria-label"],className:a,tabIndex:this.props.tabIndex,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},required:this.state.required,value:this.state.inputValue});if(this.props.inputRenderer)return this.props.inputRenderer(f);if(this.props.disabled||!this.props.searchable){var p=this.props.inputProps,d=(p.inputClassName,o(p,["inputClassName"]));return c.default.createElement("div",u({},d,{role:"combobox","aria-expanded":s,"aria-owns":s?this._instancePrefix+"-list":this._instancePrefix+"-value","aria-activedescendant":s?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value",className:a,tabIndex:this.props.tabIndex||0,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},"aria-readonly":""+!!this.props.disabled,style:{border:0,width:1,display:"inline-block"}}))}return this.props.autosize?c.default.createElement(m.default,u({},f,{minWidth:"5"})):c.default.createElement("div",{className:a},c.default.createElement("input",f))},renderClear:function(){if(this.props.clearable&&this.props.value&&0!==this.props.value&&(!this.props.multi||this.props.value.length)&&!this.props.disabled&&!this.props.isLoading){var e=this.props.clearRenderer();return c.default.createElement("span",{className:"Select-clear-zone",title:this.props.multi?this.props.clearAllText:this.props.clearValueText,"aria-label":this.props.multi?this.props.clearAllText:this.props.clearValueText,onMouseDown:this.clearValue,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEndClearValue},e)}},renderArrow:function(){var e=this.handleMouseDownOnArrow,t=this.state.isOpen,n=this.props.arrowRenderer({onMouseDown:e,isOpen:t});return c.default.createElement("span",{className:"Select-arrow-zone",onMouseDown:e},n)},filterOptions:function(e){var t=this.state.inputValue,n=this.props.options||[];if(this.props.filterOptions){return("function"==typeof this.props.filterOptions?this.props.filterOptions:E.default)(n,t,e,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,valueKey:this.props.valueKey})}return n},onOptionRef:function(e,t){t&&(this.focused=e)},renderMenu:function(e,t,n){return e&&e.length?this.props.menuRenderer({focusedOption:n,focusOption:this.focusOption,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:e,selectValue:this.selectValue,valueArray:t,valueKey:this.props.valueKey,onOptionRef:this.onOptionRef}):this.props.noResultsText?c.default.createElement("div",{className:"Select-noresults"},this.props.noResultsText):null},renderHiddenField:function(e){var t=this;if(this.props.name){if(this.props.joinValues){var n=e.map(function(e){return a(e[t.props.valueKey])}).join(this.props.delimiter);return c.default.createElement("input",{type:"hidden",ref:function(e){return t.value=e},name:this.props.name,value:n,disabled:this.props.disabled})}return e.map(function(e,n){return c.default.createElement("input",{key:"hidden."+n,type:"hidden",ref:"value"+n,name:t.props.name,value:a(e[t.props.valueKey]),disabled:t.props.disabled})})}},getFocusableOptionIndex:function(e){var t=this._visibleOptions;if(!t.length)return null;var n=this.state.focusedOption||e;if(n&&!n.disabled){var r=-1;if(t.some(function(e,t){var o=e.value===n.value;return o&&(r=t),o}),-1!==r)return r}for(var o=0;o0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=u.get(e);if(!n){return null}return n}var a=n(7),u=(n(30),n(62)),s=(n(26),n(28)),c=(n(4),n(5),{isMounted:function(e){var t=u.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){c.validateCallback(t,n);var o=i(e);if(!o)return null;o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],r(o)},enqueueCallbackInternal:function(e,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,n){var o=i(e,"replaceState");o&&(o._pendingStateQueue=[t],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(c.validateCallback(n,"replaceState"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&a("122",t,o(e))}});e.exports=c},function(e,t,n){"use strict";var r=(n(9),n(22)),o=(n(5),r);e.exports=o},function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}e.exports=r},function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(181),o=n(379),i=n(380),a=n(381),u=n(184);n(183);n.d(t,"createStore",function(){return r.b}),n.d(t,"combineReducers",function(){return o.a}),n.d(t,"bindActionCreators",function(){return i.a}),n.d(t,"applyMiddleware",function(){return a.a}),n.d(t,"compose",function(){return u.a})},function(e,t,n){"use strict";function r(e){if(!a.a(e)||o.a(e)!=u)return!1;var t=i.a(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==p}var o=n(368),i=n(373),a=n(375),u="[object Object]",s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,p=l.call(Object);t.a=r},function(e,t,n){"use strict";function r(e,t,n){function r(){if(a=!0,u)return void(c=[].concat(Array.prototype.slice.call(arguments)));n.apply(this,arguments)}function o(){if(!a&&(s=!0,!u)){for(u=!0;!a&&i=e&&s&&(a=!0,n())}}var i=0,a=!1,u=!1,s=!1,c=void 0;o()}function o(e,t,n){function r(e,t,r){a||(t?(a=!0,n(t)):(i[e]=r,(a=++u===o)&&n(null,i)))}var o=e.length,i=[];if(0===o)return n(null,i);var a=!1,u=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.a=r,t.b=o},function(e,t,n){"use strict";var r=n(17),o=n.n(r),i=n(0),a=n.n(i),u=n(20),s=n.n(u),c=n(1),l=(n.n(c),n(393)),f=n(121),p=n(35),d=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case u.CONFIG_FETCH:return i({},e,{isFetching:!0});case u.CONFIG_FETCH_SUCCESS:case u.CONFIG_FETCH_ERROR:return i({},e,{isFetching:!1});case u.CONFIG_UPDATE_BY_KEY:return i({},e,{config:i({},e.config,r({},t.key,t.value))});default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ABSOLUTE_URL_BASE_KEY=void 0;var i=Object.assign||function(e){for(var t=1;t1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(562);t.default=r.a},function(e,t){e.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){return{activeZone:e.activeZone,zoneSettings:e.zoneSettings,zonePluginSettings:e.pluginSettings,zoneAnalytics:e.zoneAnalytics,config:e.config}}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n>",s=a||r;if(null==n[r])return t?new Error("Required "+i+" `"+s+"` was not specified in `"+u+"`."):null;for(var c=arguments.length,l=Array(c>6?c-6:0),f=6;f.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,u=y.createElement(F,{child:t});if(e){var s=w.get(e);a=s._processChildContext(s._context)}else a=T;var l=p(n);if(l){var f=l._currentElement,h=f.props.child;if(k(h,t)){var g=l._renderedComponent.getPublicInstance(),m=r&&function(){r.call(g)};return z._updateRootComponent(l,u,a,n,m),g}z.unmountComponentAtNode(n)}var v=o(n),b=v&&!!i(v),_=c(n),x=b&&!l&&!_,E=z._renderNewRootComponent(u,n,x,a)._renderedComponent.getPublicInstance();return r&&r.call(E),E},render:function(e,t,n){return z._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){l(e)||d("40");var t=p(e);if(!t){c(e),1===e.nodeType&&e.hasAttribute(M);return!1}return delete L[t._instance.rootID],O.batchedUpdates(s,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(l(t)||d("41"),i){var u=o(t);if(E.canReuseMarkup(e,u))return void v.precacheNode(n,u);var s=u.getAttribute(E.CHECKSUM_ATTR_NAME);u.removeAttribute(E.CHECKSUM_ATTR_NAME);var c=u.outerHTML;u.setAttribute(E.CHECKSUM_ATTR_NAME,s);var f=e,p=r(f,c),g=" (client) "+f.substring(p-20,p+20)+"\n (server) "+c.substring(p-20,p+20);t.nodeType===N&&d("42",g)}if(t.nodeType===N&&d("43"),a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else A(t,e),v.precacheNode(n,t.firstChild)}};e.exports=z},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(169);e.exports=r},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return a});var r=n(1),o=n.n(r),i=o.a.shape({trySubscribe:o.a.func.isRequired,tryUnsubscribe:o.a.func.isRequired,notifyNestedSubs:o.a.func.isRequired,isSubscribed:o.a.func.isRequired}),a=o.a.shape({subscribe:o.a.func.isRequired,dispatch:o.a.func.isRequired,getState:o.a.func.isRequired})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(){}function s(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function c(e){var t,n,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=c.getDisplayName,p=void 0===l?function(e){return"ConnectAdvanced("+e+")"}:l,_=c.methodName,x=void 0===_?"connectAdvanced":_,w=c.renderCountProp,E=void 0===w?void 0:w,C=c.shouldHandleStateChanges,S=void 0===C||C,O=c.storeKey,T=void 0===O?"store":O,P=c.withRef,A=void 0!==P&&P,k=a(c,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),R=T+"Subscription",M=v++,j=(t={},t[T]=y.a,t[R]=y.b,t),N=(n={},n[R]=y.b,n);return function(t){d.a("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",a=p(n),c=m({},k,{getDisplayName:p,methodName:x,renderCountProp:E,shouldHandleStateChanges:S,storeKey:T,withRef:A,displayName:a,wrappedComponentName:n,WrappedComponent:t}),l=function(n){function l(e,t){r(this,l);var i=o(this,n.call(this,e,t));return i.version=M,i.state={},i.renderCount=0,i.store=e[T]||t[T],i.propsMode=Boolean(e[T]),i.setWrappedInstance=i.setWrappedInstance.bind(i),d.a(i.store,'Could not find "'+T+'" in either the context or props of "'+a+'". Either wrap the root component in a , or explicitly pass "'+T+'" as a prop to "'+a+'".'),i.initSelector(),i.initSubscription(),i}return i(l,n),l.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[R]=t||this.context[R],e},l.prototype.componentDidMount=function(){S&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},l.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},l.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},l.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=u,this.store=null,this.selector.run=u,this.selector.shouldComponentUpdate=!1},l.prototype.getWrappedInstance=function(){return d.a(A,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+x+"() call."),this.wrappedInstance},l.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},l.prototype.initSelector=function(){var t=e(this.store.dispatch,c);this.selector=s(t,this.store),this.selector.run(this.props)},l.prototype.initSubscription=function(){if(S){var e=(this.propsMode?this.props:this.context)[R];this.subscription=new g.a(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},l.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(b)):this.notifyNestedSubs()},l.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},l.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},l.prototype.addExtraProps=function(e){if(!(A||E||this.propsMode&&this.subscription))return e;var t=m({},e);return A&&(t.ref=this.setWrappedInstance),E&&(t[E]=this.renderCount++),this.propsMode&&this.subscription&&(t[R]=this.subscription),t},l.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return h.createElement(t,this.addExtraProps(e.props))},l}(h.Component);return l.WrappedComponent=t,l.displayName=a,l.childContextTypes=N,l.contextTypes=j,l.propTypes=j,f.a(l,t)}}t.a=c;var l=n(180),f=n.n(l),p=n(17),d=n.n(p),h=n(0),g=(n.n(h),n(364)),y=n(178),m=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1];return e.__id__||t&&(e.__id__=S++)}function d(e){return e.map(function(e){return O[p(e)]}).filter(function(e){return e})}function h(e,n){c.a(t,e,function(t,r){if(null==r)return void n();C=l({},r,{location:e});for(var o=d(i.a(b,C).leaveRoutes),a=void 0,u=0,s=o.length;null==a&&u=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return 0===e.button}function i(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function a(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function u(e,t){return"function"==typeof e?e(t.location):e}var s=n(0),c=n.n(s),l=n(20),f=n.n(l),p=n(1),d=(n.n(p),n(17)),h=n.n(d),g=n(122),y=n(121),m=Object.assign||function(e){for(var t=1;t=0;r--){var o=e[r],i=o.path||"";if(n=i.replace(/\/*$/,"/")+n,0===i.indexOf("/"))break}return"/"+n}},propTypes:{path:i.string,from:i.string,to:i.string.isRequired,query:i.object,state:i.object,onEnter:l.c,children:l.c},render:function(){u.a(!1)}});t.a=f},function(e,t,n){"use strict";function r(e){var t=c.a(e),n=function(){return t};return i.a(u.a(n))(e)}t.a=r;var o=n(193),i=n.n(o),a=n(194),u=n.n(a),s=n(402),c=n.n(s)},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t1?t-1:0),o=1;o1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,r=t.payload;return n===i?o({},e,{locationBeforeTransitions:r}):e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,P.default)(e))throw new Error("Normalize accepts an object or an array as its input.");if(!(0,P.default)(t)||Array.isArray(t))throw new Error("Normalize accepts an object for schema.");var r={};return{entities:r,result:d(p(e,t,r,n))}}Object.defineProperty(t,"__esModule",{value:!0}),t.Schema=void 0;var v=Object.assign||function(e){for(var t=1;tp))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var g=-1,y=!0,m=n&s?new o:void 0;for(l.set(e,t),l.set(t,e);++g-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){"use strict";var r=n(506).default;n(513),t=e.exports=r,t.default=t},function(e,t,n){"use strict";function r(e){var t,n,r,i,a=Array.prototype.slice.call(arguments,1);for(t=0,n=a.length;t-1)return!1;if(r.filterOption)return r.filterOption.call(o,e,t);if(!t)return!0;var a=String(e[r.valueKey]),u=String(e[r.labelKey]);return r.ignoreAccents&&("label"!==r.matchProp&&(a=(0,i.default)(a)),"value"!==r.matchProp&&(u=(0,i.default)(u))),r.ignoreCase&&("label"!==r.matchProp&&(a=a.toLowerCase()),"value"!==r.matchProp&&(u=u.toLowerCase())),"start"===r.matchPos?"label"!==r.matchProp&&a.substr(0,t.length)===t||"value"!==r.matchProp&&u.substr(0,t.length)===t:"label"!==r.matchProp&&a.indexOf(t)>=0||"value"!==r.matchProp&&u.indexOf(t)>=0})}var o=n(216),i=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=r},function(e,t,n){"use strict";var r=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];e.exports=function(e){for(var t=0;t-1,g=e===t,y=(0,a.default)(i,{"Select-option":!0,"is-selected":l,"is-focused":g,"is-disabled":e.disabled});return s.default.createElement(h,{className:y,instancePrefix:n,isDisabled:e.disabled,isFocused:g,isSelected:l,key:"option-"+u+"-"+e[p],onFocus:r,onSelect:o,option:e,optionIndex:u,ref:function(e){d(e,g)}},c(e,u))})}var i=n(89),a=r(i),u=n(0),s=r(u);e.exports=o},function(e,t,n){"use strict";var r=n(90),o=n(547),i=n(548),a=n(219),u=n(220),s=n(221),c=n(551),l=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];t.a=function(e){function t(e){function t(e){var t,i,a,u=_,p=x;if("c"===b)p=w(e)+p,e="";else{e=+e;var g=e<0;if(e=w(Math.abs(e),v),g&&0==+e&&(g=!1),u=(g?"("===o?o:"-":"-"===o||"("===o?"":o)+u,p=p+("s"===b?l[8+s.b/3]:"")+(g&&"("===o?")":""),E)for(t=-1,i=e.length;++t(a=e.charCodeAt(t))||a>57){p=(46===a?d+e.slice(t+1):e.slice(t))+p,e=e.slice(0,t);break}}m&&!c&&(e=f(e,1/0));var C=u.length+e.length+p.length,S=C>1)+u+e+p+S.slice(C);break;default:e=S+u+e+p}return h(e)}e=a.a(e);var n=e.fill,r=e.align,o=e.sign,i=e.symbol,c=e.zero,y=e.width,m=e.comma,v=e.precision,b=e.type,_="$"===i?p[0]:"#"===i&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===i?p[1]:/[%p]/.test(b)?g:"",w=u.a[b],E=!b||/[defgprs%]/.test(b);return v=null==v?b?6:12:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),t.toString=function(){return e+""},t}function n(e,n){var o=t((e=a.a(e),e.type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor(r.a(n)/3))),u=Math.pow(10,-i),s=l[8+i/3];return function(e){return o(u*e)+s}}var f=e.grouping&&e.thousands?o.a(e.grouping,e.thousands):c.a,p=e.currency,d=e.decimal,h=e.numerals?i.a(e.numerals):c.a,g=e.percent||"%";return{format:t,formatPrefix:n}}},function(e,t,n){"use strict";function r(e){return new o(e)}function o(e){if(!(t=a.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",o=t[3]||"-",u=t[4]||"",s=!!t[5],c=t[6]&&+t[6],l=!!t[7],f=t[8]&&+t[8].slice(1),p=t[9]||"";"n"===p?(l=!0,p="g"):i.a[p]||(p=""),(s||"0"===n&&"="===r)&&(s=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=u,this.zero=s,this.width=c,this.comma=l,this.precision=f,this.type=p}t.a=r;var i=n(220),a=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;r.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(e,t,n){"use strict";var r=n(549),o=n(221),i=n(550);t.a={"":r.a,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return i.a(100*e,t)},r:i.a,s:o.a,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";n.d(t,"b",function(){return r});var r,o=n(131);t.a=function(e,t){var n=o.a(e,t);if(!n)return e+"";var i=n[0],a=n[1],u=a-(r=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,s=i.length;return u===s?i:u>s?i+new Array(u-s+1).join("0"):u>0?i.slice(0,u)+"."+i.slice(u):"0."+new Array(1-u).join("0")+o.a(e,Math.max(0,t+u-1))[0]}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(1),c=n.n(s),l=function(){function e(e,t){for(var n=0;nt?1:e>=t?0:NaN}function s(e){return null===e?NaN:+e}function c(e){return!isNaN(e)}function l(e){return{left:function(t,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=t.length);r>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=t.length);r>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}function f(e){return e.length}function p(e){for(var t=1;e*t%1;)t*=10;return t}function d(e,t){for(var n in t)Object.defineProperty(e.prototype,n,{value:t[n],enumerable:!1})}function h(){this._=Object.create(null)}function g(e){return(e+="")===Ca||e[0]===Sa?Sa+e:e}function y(e){return(e+="")[0]===Sa?e.slice(1):e}function m(e){return g(e)in this._}function v(e){return(e=g(e))in this._&&delete this._[e]}function b(){var e=[];for(var t in this._)e.push(y(t));return e}function _(){var e=0;for(var t in this._)++e;return e}function x(){for(var e in this._)return!1;return!0}function w(){this._=Object.create(null)}function E(e){return e}function C(e,t,n){return function(){var r=n.apply(t,arguments);return r===t?e:r}}function S(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var n=0,r=Oa.length;n=t&&(t=o+1);!(a=u[t])&&++t0&&(e=e.slice(0,u));var c=La.get(e);return c&&(e=c,s=J),u?t?o:r:t?O:i}function Q(e,t){return function(n){var r=da.event;da.event=n,t[0]=this.__data__;try{e.apply(this,t)}finally{da.event=r}}}function J(e,t){var n=Q(e,t);return function(e){var t=this,r=e.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||n.call(t,e)}}function ee(e){var t=".dragsuppress-"+ ++Fa,n="click"+t,r=da.select(a(e)).on("touchmove"+t,A).on("dragstart"+t,A).on("selectstart"+t,A);if(null==Ia&&(Ia=!("onselectstart"in e)&&S(e.style,"userSelect")),Ia){var o=i(e).style,u=o[Ia];o[Ia]="none"}return function(e){if(r.on(t,null),Ia&&(o[Ia]=u),e){var i=function(){r.on(n,null)};r.on(n,function(){A(),i()},!0),setTimeout(i,0)}}}function te(e,t){t.changedTouches&&(t=t.changedTouches[0]);var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();if(za<0){var o=a(e);if(o.scrollX||o.scrollY){n=da.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var i=n[0][0].getScreenCTM();za=!(i.f||i.e),n.remove()}}return za?(r.x=t.pageX,r.y=t.pageY):(r.x=t.clientX,r.y=t.clientY),r=r.matrixTransform(e.getScreenCTM().inverse()),[r.x,r.y]}var u=e.getBoundingClientRect();return[t.clientX-u.left-e.clientLeft,t.clientY-u.top-e.clientTop]}function ne(){return da.event.changedTouches[0].identifier}function re(e){return e>0?1:e<0?-1:0}function oe(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}function ie(e){return e>1?0:e<-1?Ga:Math.acos(e)}function ae(e){return e>1?Ha:e<-1?-Ha:Math.asin(e)}function ue(e){return((e=Math.exp(e))-1/e)/2}function se(e){return((e=Math.exp(e))+1/e)/2}function ce(e){return((e=Math.exp(2*e))-1)/(e+1)}function le(e){return(e=Math.sin(e/2))*e}function fe(){}function pe(e,t,n){return this instanceof pe?(this.h=+e,this.s=+t,void(this.l=+n)):arguments.length<2?e instanceof pe?new pe(e.h,e.s,e.l):Oe(""+e,Te,pe):new pe(e,t,n)}function de(e,t,n){function r(e){return e>360?e-=360:e<0&&(e+=360),e<60?i+(a-i)*e/60:e<180?a:e<240?i+(a-i)*(240-e)/60:i}function o(e){return Math.round(255*r(e))}var i,a;return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)?0:t<0?0:t>1?1:t,n=n<0?0:n>1?1:n,a=n<=.5?n*(1+t):n+t-n*t,i=2*n-a,new we(o(e+120),o(e),o(e-120))}function he(e,t,n){return this instanceof he?(this.h=+e,this.c=+t,void(this.l=+n)):arguments.length<2?e instanceof he?new he(e.h,e.c,e.l):e instanceof ye?ve(e.l,e.a,e.b):ve((e=Pe((e=da.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new he(e,t,n)}function ge(e,t,n){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new ye(n,Math.cos(e*=Za)*t,Math.sin(e)*t)}function ye(e,t,n){return this instanceof ye?(this.l=+e,this.a=+t,void(this.b=+n)):arguments.length<2?e instanceof ye?new ye(e.l,e.a,e.b):e instanceof he?ge(e.h,e.c,e.l):Pe((e=we(e)).r,e.g,e.b):new ye(e,t,n)}function me(e,t,n){var r=(e+16)/116,o=r+t/500,i=r-n/200;return o=be(o)*tu,r=be(r)*nu,i=be(i)*ru,new we(xe(3.2404542*o-1.5371385*r-.4985314*i),xe(-.969266*o+1.8760108*r+.041556*i),xe(.0556434*o-.2040259*r+1.0572252*i))}function ve(e,t,n){return e>0?new he(Math.atan2(n,t)*Wa,Math.sqrt(t*t+n*n),e):new he(NaN,NaN,e)}function be(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function _e(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function xe(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function we(e,t,n){return this instanceof we?(this.r=~~e,this.g=~~t,void(this.b=~~n)):arguments.length<2?e instanceof we?new we(e.r,e.g,e.b):Oe(""+e,we,de):new we(e,t,n)}function Ee(e){return new we(e>>16,e>>8&255,255&e)}function Ce(e){return Ee(e)+""}function Se(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function Oe(e,t,n){var r,o,i,a=0,u=0,s=0;if(r=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(o=r[2].split(","),r[1]){case"hsl":return n(parseFloat(o[0]),parseFloat(o[1])/100,parseFloat(o[2])/100);case"rgb":return t(ke(o[0]),ke(o[1]),ke(o[2]))}return(i=au.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(a=(3840&i)>>4,a|=a>>4,u=240&i,u|=u>>4,s=15&i,s|=s<<4):7===e.length&&(a=(16711680&i)>>16,u=(65280&i)>>8,s=255&i)),t(a,u,s))}function Te(e,t,n){var r,o,i=Math.min(e/=255,t/=255,n/=255),a=Math.max(e,t,n),u=a-i,s=(a+i)/2;return u?(o=s<.5?u/(a+i):u/(2-a-i),r=e==a?(t-n)/u+(t0&&s<1?0:r),new pe(r,o,s)}function Pe(e,t,n){e=Ae(e),t=Ae(t),n=Ae(n);var r=_e((.4124564*e+.3575761*t+.1804375*n)/tu),o=_e((.2126729*e+.7151522*t+.072175*n)/nu);return ye(116*o-16,500*(r-o),200*(o-_e((.0193339*e+.119192*t+.9503041*n)/ru)))}function Ae(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function ke(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}function Re(e){return"function"==typeof e?e:function(){return e}}function Me(e){return function(t,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=null),je(t,n,e,r)}}function je(e,t,n,r){function o(){var e,t=s.status;if(!t&&De(s)||t>=200&&t<300||304===t){try{e=n.call(i,s)}catch(e){return void a.error.call(i,e)}a.load.call(i,e)}else a.error.call(i,s)}var i={},a=da.dispatch("beforesend","progress","load","error"),u={},s=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(e)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=o:s.onreadystatechange=function(){s.readyState>3&&o()},s.onprogress=function(e){var t=da.event;da.event=e;try{a.progress.call(i,s)}finally{da.event=t}},i.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?u[e]:(null==t?delete u[e]:u[e]=t+"",i)},i.mimeType=function(e){return arguments.length?(t=null==e?null:e+"",i):t},i.responseType=function(e){return arguments.length?(c=e,i):c},i.response=function(e){return n=e,i},["get","post"].forEach(function(e){i[e]=function(){return i.send.apply(i,[e].concat(ga(arguments)))}}),i.send=function(n,r,o){if(2===arguments.length&&"function"==typeof r&&(o=r,r=null),s.open(n,e,!0),null==t||"accept"in u||(u.accept=t+",*/*"),s.setRequestHeader)for(var l in u)s.setRequestHeader(l,u[l]);return null!=t&&s.overrideMimeType&&s.overrideMimeType(t),null!=c&&(s.responseType=c),null!=o&&i.on("error",o).on("load",function(e){o(null,e)}),a.beforesend.call(i,s),s.send(null==r?null:r),i},i.abort=function(){return s.abort(),i},da.rebind(i,a,"on"),null==r?i:i.get(Ne(r))}function Ne(e){return 1===e.length?function(t,n){e(null==t?n:null)}:e}function De(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}function Le(e,t,n){var r=arguments.length;r<2&&(t=0),r<3&&(n=Date.now());var o=n+t,i={c:e,t:o,n:null};return su?su.n=i:uu=i,su=i,cu||(lu=clearTimeout(lu),cu=1,fu(Ie)),i}function Ie(){var e=Fe(),t=ze()-e;t>24?(isFinite(t)&&(clearTimeout(lu),lu=setTimeout(Ie,t)),cu=0):(cu=1,fu(Ie))}function Fe(){for(var e=Date.now(),t=uu;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function ze(){for(var e,t=uu,n=1/0;t;)t.c?(t.t8?function(e){return e/n}:function(e){return e*n},symbol:e}}function Ge(e){var t=e.decimal,n=e.thousands,r=e.grouping,o=e.currency,i=r&&n?function(e,t){for(var o=e.length,i=[],a=0,u=r[0],s=0;o>0&&u>0&&(s+u+1>t&&(u=Math.max(1,t-s)),i.push(e.substring(o-=u,o+u)),!((s+=u+1)>t));)u=r[a=(a+1)%r.length];return i.reverse().join(n)}:E;return function(e){var n=du.exec(e),r=n[1]||" ",a=n[2]||">",u=n[3]||"-",s=n[4]||"",c=n[5],l=+n[6],f=n[7],p=n[8],d=n[9],h=1,g="",y="",m=!1,v=!0;switch(p&&(p=+p.substring(1)),(c||"0"===r&&"="===a)&&(c=r="0",a="="),d){case"n":f=!0,d="g";break;case"%":h=100,y="%",d="f";break;case"p":h=100,y="%",d="r";break;case"b":case"o":case"x":case"X":"#"===s&&(g="0"+d.toLowerCase());case"c":v=!1;case"d":m=!0,p=0;break;case"s":h=-1,d="r"}"$"===s&&(g=o[0],y=o[1]),"r"!=d||p||(d="g"),null!=p&&("g"==d?p=Math.max(1,Math.min(21,p)):"e"!=d&&"f"!=d||(p=Math.max(0,Math.min(20,p)))),d=hu.get(d)||qe;var b=c&&f;return function(e){var n=y;if(m&&e%1)return"";var o=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===u?"":u;if(h<0){var s=da.formatPrefix(e,p);e=s.scale(e),n=s.symbol+y}else e*=h;e=d(e,p);var _,x,w=e.lastIndexOf(".");if(w<0){var E=v?e.lastIndexOf("e"):-1;E<0?(_=e,x=""):(_=e.substring(0,E),x=e.substring(E))}else _=e.substring(0,w),x=t+e.substring(w+1);!c&&f&&(_=i(_,1/0));var C=g.length+_.length+x.length+(b?0:o.length),S=C"===a?S+o+e:"^"===a?S.substring(0,C>>=1)+o+e+S.substring(C):o+(b?e:S+e))+n}}}function qe(e){return e+""}function Be(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function He(e,t,n){function r(t){var n=e(t),r=i(n,1);return t-n1)for(;a=c)return-1;if(37===(o=t.charCodeAt(u++))){if(a=t.charAt(u++),!(i=A[a in vu?t.charAt(u++):a])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function r(e,t,n){w.lastIndex=0;var r=w.exec(t.slice(n));return r?(e.w=E.get(r[0].toLowerCase()),n+r[0].length):-1}function o(e,t,n){_.lastIndex=0;var r=_.exec(t.slice(n));return r?(e.w=x.get(r[0].toLowerCase()),n+r[0].length):-1}function i(e,t,n){O.lastIndex=0;var r=O.exec(t.slice(n));return r?(e.m=T.get(r[0].toLowerCase()),n+r[0].length):-1}function a(e,t,n){C.lastIndex=0;var r=C.exec(t.slice(n));return r?(e.m=S.get(r[0].toLowerCase()),n+r[0].length):-1}function u(e,t,r){return n(e,P.c.toString(),t,r)}function s(e,t,r){return n(e,P.x.toString(),t,r)}function c(e,t,r){return n(e,P.X.toString(),t,r)}function l(e,t,n){var r=b.get(t.slice(n,n+=2).toLowerCase());return null==r?-1:(e.p=r,n)}var f=e.dateTime,p=e.date,d=e.time,h=e.periods,g=e.days,y=e.shortDays,m=e.months,v=e.shortMonths;t.utc=function(e){function n(e){try{yu=Be;var t=new yu;return t._=e,r(t)}finally{yu=Date}}var r=t(e);return n.parse=function(e){try{yu=Be;var t=r.parse(e);return t&&t._}finally{yu=Date}},n.toString=r.toString,n},t.multi=t.utc.multi=dt;var b=da.map(),_=Xe(g),x=Ke(g),w=Xe(y),E=Ke(y),C=Xe(m),S=Ke(m),O=Xe(v),T=Ke(v);h.forEach(function(e,t){b.set(e.toLowerCase(),t)});var P={a:function(e){return y[e.getDay()]},A:function(e){return g[e.getDay()]},b:function(e){return v[e.getMonth()]},B:function(e){return m[e.getMonth()]},c:t(f),d:function(e,t){return Ye(e.getDate(),t,2)},e:function(e,t){return Ye(e.getDate(),t,2)},H:function(e,t){return Ye(e.getHours(),t,2)},I:function(e,t){return Ye(e.getHours()%12||12,t,2)},j:function(e,t){return Ye(1+gu.dayOfYear(e),t,3)},L:function(e,t){return Ye(e.getMilliseconds(),t,3)},m:function(e,t){return Ye(e.getMonth()+1,t,2)},M:function(e,t){return Ye(e.getMinutes(),t,2)},p:function(e){return h[+(e.getHours()>=12)]},S:function(e,t){return Ye(e.getSeconds(),t,2)},U:function(e,t){return Ye(gu.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Ye(gu.mondayOfYear(e),t,2)},x:t(p),X:t(d),y:function(e,t){return Ye(e.getFullYear()%100,t,2)},Y:function(e,t){return Ye(e.getFullYear()%1e4,t,4)},Z:ft,"%":function(){return"%"}},A={a:r,A:o,b:i,B:a,c:u,d:it,e:it,H:ut,I:ut,j:at,L:lt,m:ot,M:st,p:l,S:ct,U:Qe,w:$e,W:Je,x:s,X:c,y:tt,Y:et,Z:nt,"%":pt};return t}function Ye(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i68?1900:2e3)}function ot(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function it(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function at(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+3));return r?(e.j=+r[0],n+r[0].length):-1}function ut(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function st(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function ct(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function lt(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ft(e){var t=e.getTimezoneOffset(),n=t>0?"-":"+",r=Ea(t)/60|0,o=Ea(t)%60;return n+Ye(r,"0",2)+Ye(o,"0",2)}function pt(e,t,n){_u.lastIndex=0;var r=_u.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function dt(e){for(var t=e.length,n=-1;++n=0?1:-1,u=a*n,s=Math.cos(t),c=Math.sin(t),l=i*c,f=o*s+l*Math.cos(u),p=l*a*Math.sin(u);Ou.add(Math.atan2(p,f)),r=e,o=s,i=c}var t,n,r,o,i;Tu.point=function(a,u){Tu.point=e,r=(t=a)*Za,o=Math.cos(u=(n=u)*Za/2+Ga/4),i=Math.sin(u)},Tu.lineEnd=function(){e(t,n)}}function _t(e){var t=e[0],n=e[1],r=Math.cos(n);return[r*Math.cos(t),r*Math.sin(t),Math.sin(n)]}function xt(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function wt(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Et(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Ct(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function St(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Ot(e){return[Math.atan2(e[1],e[0]),ae(e[2])]}function Tt(e,t){return Ea(e[0]-t[0])=0;--u)o.point((f=l[u])[0],f[1])}else r(d.x,d.p.x,-1,o);d=d.p}d=d.o,l=d.z,h=!h}while(!d.v);o.lineEnd()}}}function Lt(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r0){for(x||(i.polygonStart(),x=!0),i.lineStart();++a1&&2&t&&n.push(n.pop().concat(n.shift())),d.push(n.filter(zt))}var d,h,g,y=t(i),m=o.invert(r[0],r[1]),v={point:a,lineStart:s,lineEnd:c,polygonStart:function(){v.point=l,v.lineStart=f,v.lineEnd=p,d=[],h=[]},polygonEnd:function(){v.point=a,v.lineStart=s,v.lineEnd=c,d=da.merge(d);var e=Ht(m,h);d.length?(x||(i.polygonStart(),x=!0),Dt(d,Ut,e,n,i)):e&&(x||(i.polygonStart(),x=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),x&&(i.polygonEnd(),x=!1),d=h=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}},b=Vt(),_=t(b),x=!1;return v}}function zt(e){return e.length>1}function Vt(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,n){e.push([t,n])},lineEnd:O,buffer:function(){var n=t;return t=[],e=null,n},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(e,t){return((e=e.x)[0]<0?e[1]-Ha-Va:Ha-e[1])-((t=t.x)[0]<0?t[1]-Ha-Va:Ha-t[1])}function Gt(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,a){var u=i>0?Ga:-Ga,s=Ea(i-n);Ea(s-Ga)0?Ha:-Ha),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(u,r),e.point(i,r),t=0):o!==u&&s>=Ga&&(Ea(n-o)Va?Math.atan((Math.sin(t)*(i=Math.cos(r))*Math.sin(n)-Math.sin(r)*(o=Math.cos(t))*Math.sin(e))/(o*i*a)):(t+r)/2}function Bt(e,t,n,r){var o;if(null==e)o=n*Ha,r.point(-Ga,o),r.point(0,o),r.point(Ga,o),r.point(Ga,0),r.point(Ga,-o),r.point(0,-o),r.point(-Ga,-o),r.point(-Ga,0),r.point(-Ga,o);else if(Ea(e[0]-t[0])>Va){var i=e[0]=0?1:-1,E=w*x,C=E>Ga,S=h*b;if(Ou.add(Math.atan2(S*w*Math.sin(E),g*_+S*Math.cos(E))),i+=C?x+w*qa:x,C^p>=n^m>=n){var O=wt(_t(f),_t(e));St(O);var T=wt(o,O);St(T);var P=(C^x>=0?-1:1)*ae(T[2]);(r>P||r===P&&(O[0]||O[1]))&&(a+=C^x>=0?1:-1)}if(!y++)break;p=m,h=b,g=_,f=e}}return(i<-Va||ii}function n(e){var n,i,s,c,l;return{lineStart:function(){c=s=!1,l=1},point:function(f,p){var d,h=[f,p],g=t(f,p),y=a?g?0:o(f,p):g?o(f+(f<0?Ga:-Ga),p):0;if(!n&&(c=s=g)&&e.lineStart(),g!==s&&(d=r(n,h),(Tt(n,d)||Tt(h,d))&&(h[0]+=Va,h[1]+=Va,g=t(h[0],h[1]))),g!==s)l=0,g?(e.lineStart(),d=r(h,n),e.point(d[0],d[1])):(d=r(n,h),e.point(d[0],d[1]),e.lineEnd()),n=d;else if(u&&n&&a^g){var m;y&i||!(m=r(h,n,!0))||(l=0,a?(e.lineStart(),e.point(m[0][0],m[0][1]),e.point(m[1][0],m[1][1]),e.lineEnd()):(e.point(m[1][0],m[1][1]),e.lineEnd(),e.lineStart(),e.point(m[0][0],m[0][1])))}!g||n&&Tt(n,h)||e.point(h[0],h[1]),n=h,s=g,i=y},lineEnd:function(){s&&e.lineEnd(),n=null},clean:function(){return l|(c&&s)<<1}}}function r(e,t,n){var r=_t(e),o=_t(t),a=[1,0,0],u=wt(r,o),s=xt(u,u),c=u[0],l=s-c*c;if(!l)return!n&&e;var f=i*s/l,p=-i*c/l,d=wt(a,u),h=Ct(a,f);Et(h,Ct(u,p));var g=d,y=xt(h,g),m=xt(g,g),v=y*y-m*(xt(h,h)-1);if(!(v<0)){var b=Math.sqrt(v),_=Ct(g,(-y-b)/m);if(Et(_,h),_=Ot(_),!n)return _;var x,w=e[0],E=t[0],C=e[1],S=t[1];E0^_[1]<(Ea(_[0]-w)Ga^(w<=_[0]&&_[0]<=E)){var A=Ct(g,(-y+b)/m);return Et(A,h),[_,Ot(A)]}}}function o(t,n){var r=a?e:Ga-e,o=0;return t<-r?o|=1:t>r&&(o|=2),n<-r?o|=4:n>r&&(o|=8),o}var i=Math.cos(e),a=i>0,u=Ea(i)>Va;return Ft(t,n,_n(e,6*Za),a?[0,-e]:[-Ga,e-Ga])}function Wt(e,t,n,r){return function(o){var i,a=o.a,u=o.b,s=a.x,c=a.y,l=u.x,f=u.y,p=0,d=1,h=l-s,g=f-c;if(i=e-s,h||!(i>0)){if(i/=h,h<0){if(i0){if(i>d)return;i>p&&(p=i)}if(i=n-s,h||!(i<0)){if(i/=h,h<0){if(i>d)return;i>p&&(p=i)}else if(h>0){if(i0)){if(i/=g,g<0){if(i0){if(i>d)return;i>p&&(p=i)}if(i=r-c,g||!(i<0)){if(i/=g,g<0){if(i>d)return;i>p&&(p=i)}else if(g>0){if(i0&&(o.a={x:s+p*h,y:c+p*g}),d<1&&(o.b={x:s+d*h,y:c+d*g}),o}}}}}}function Yt(e,t,n,r){function o(r,o){return Ea(r[0]-e)0?0:3:Ea(r[0]-n)0?2:1:Ea(r[1]-t)0?1:0:o>0?3:2}function i(e,t){return a(e.x,t.x)}function a(e,t){var n=o(e,1),r=o(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(u){function s(e){for(var t=0,n=y.length,r=e[1],o=0;or&&oe(c,i,e)>0&&++t:i[1]<=r&&oe(c,i,e)<0&&--t,c=i;return 0!==t}function c(i,u,s,c){var l=0,f=0;if(null==i||(l=o(i,s))!==(f=o(u,s))||a(i,u)<0^s>0)do{c.point(0===l||3===l?e:n,l>1?r:t)}while((l=(l+s+4)%4)!==f);else c.point(u[0],u[1])}function l(o,i){return e<=o&&o<=n&&t<=i&&i<=r}function f(e,t){l(e,t)&&u.point(e,t)}function p(){A.point=h,y&&y.push(m=[]),C=!0,E=!1,x=w=NaN}function d(){g&&(h(v,b),_&&E&&T.rejoin(),g.push(T.buffer())),A.point=f,E&&u.lineEnd()}function h(e,t){e=Math.max(-Uu,Math.min(Uu,e)),t=Math.max(-Uu,Math.min(Uu,t));var n=l(e,t);if(y&&m.push([e,t]),C)v=e,b=t,_=n,C=!1,n&&(u.lineStart(),u.point(e,t));else if(n&&E)u.point(e,t);else{var r={a:{x:x,y:w},b:{x:e,y:t}};P(r)?(E||(u.lineStart(),u.point(r.a.x,r.a.y)),u.point(r.b.x,r.b.y),n||u.lineEnd(),S=!1):n&&(u.lineStart(),u.point(e,t),S=!1)}x=e,w=t,E=n}var g,y,m,v,b,_,x,w,E,C,S,O=u,T=Vt(),P=Wt(e,t,n,r),A={point:f,lineStart:p,lineEnd:d,polygonStart:function(){u=T,g=[],y=[],S=!0},polygonEnd:function(){u=O,g=da.merge(g);var t=s([e,r]),n=S&&t,o=g.length;(n||o)&&(u.polygonStart(),n&&(u.lineStart(),c(null,null,1,u),u.lineEnd()),o&&Dt(g,i,t,c,u),u.polygonEnd()),g=y=m=null}};return A}}function Xt(e){var t=0,n=Ga/3,r=pn(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*Ga/180,n=e[1]*Ga/180):[t/Ga*180,n/Ga*180]},o}function Kt(e,t){function n(e,t){var n=Math.sqrt(i-2*o*Math.sin(t))/o;return[n*Math.sin(e*=o),a-n*Math.cos(e)]}var r=Math.sin(e),o=(r+Math.sin(t))/2,i=1+r*(2*o-r),a=Math.sqrt(i)/o;return n.invert=function(e,t){var n=a-t;return[Math.atan2(e,n)/o,ae((i-(e*e+n*n)*o*o)/(2*o))]},n}function $t(){function e(e,t){qu+=o*e-r*t,r=e,o=t}var t,n,r,o;Yu.point=function(i,a){Yu.point=e,t=r=i,n=o=a},Yu.lineEnd=function(){e(t,n)}}function Qt(e,t){eZu&&(Zu=e),tWu&&(Wu=t)}function Jt(){function e(e,t){a.push("M",e,",",t,i)}function t(e,t){a.push("M",e,",",t),u.point=n}function n(e,t){a.push("L",e,",",t)}function r(){u.point=e}function o(){a.push("Z")}var i=en(4.5),a=[],u={point:e,lineStart:function(){u.point=t},lineEnd:r,polygonStart:function(){u.lineEnd=o},polygonEnd:function(){u.lineEnd=r,u.point=e},pointRadius:function(e){return i=en(e),u},result:function(){if(a.length){var e=a.join("");return a=[],e}}};return u}function en(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function tn(e,t){ku+=e,Ru+=t,++Mu}function nn(){function e(e,r){var o=e-t,i=r-n,a=Math.sqrt(o*o+i*i);ju+=a*(t+e)/2,Nu+=a*(n+r)/2,Du+=a,tn(t=e,n=r)}var t,n;Ku.point=function(r,o){Ku.point=e,tn(t=r,n=o)}}function rn(){Ku.point=tn}function on(){function e(e,t){var n=e-r,i=t-o,a=Math.sqrt(n*n+i*i);ju+=a*(r+e)/2,Nu+=a*(o+t)/2,Du+=a,a=o*e-r*t,Lu+=a*(r+e),Iu+=a*(o+t),Fu+=3*a,tn(r=e,o=t)}var t,n,r,o;Ku.point=function(i,a){Ku.point=e,tn(t=r=i,n=o=a)},Ku.lineEnd=function(){e(t,n)}}function an(e){function t(t,n){e.moveTo(t+a,n),e.arc(t,n,a,0,qa)}function n(t,n){e.moveTo(t,n),u.point=r}function r(t,n){e.lineTo(t,n)}function o(){u.point=t}function i(){e.closePath()}var a=4.5,u={point:t,lineStart:function(){u.point=n},lineEnd:o,polygonStart:function(){u.lineEnd=i},polygonEnd:function(){u.lineEnd=o,u.point=t},pointRadius:function(e){return a=e,u},result:O};return u}function un(e){function t(e){return(u?r:n)(e)}function n(t){return ln(t,function(n,r){n=e(n,r),t.point(n[0],n[1])})}function r(t){function n(n,r){n=e(n,r),t.point(n[0],n[1])}function r(){b=NaN,C.point=i,t.lineStart()}function i(n,r){var i=_t([n,r]),a=e(n,r);o(b,_,v,x,w,E,b=a[0],_=a[1],v=n,x=i[0],w=i[1],E=i[2],u,t),t.point(b,_)}function a(){C.point=n,t.lineEnd()}function s(){r(),C.point=c,C.lineEnd=l}function c(e,t){i(f=e,p=t),d=b,h=_,g=x,y=w,m=E,C.point=i}function l(){o(b,_,v,x,w,E,d,h,f,g,y,m,u,t),C.lineEnd=a,a()}var f,p,d,h,g,y,m,v,b,_,x,w,E,C={point:n,lineStart:r,lineEnd:a,polygonStart:function(){t.polygonStart(),C.lineStart=s},polygonEnd:function(){t.polygonEnd(),C.lineStart=r}};return C}function o(t,n,r,u,s,c,l,f,p,d,h,g,y,m){var v=l-t,b=f-n,_=v*v+b*b;if(_>4*i&&y--){var x=u+d,w=s+h,E=c+g,C=Math.sqrt(x*x+w*w+E*E),S=Math.asin(E/=C),O=Ea(Ea(E)-1)i||Ea((v*k+b*R)/_-.5)>.3||u*d+s*h+c*g0&&16,t):Math.sqrt(i)},t}function sn(e){var t=un(function(t,n){return e([t*Wa,n*Wa])});return function(e){return dn(t(e))}}function cn(e){this.stream=e}function ln(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function fn(e){return pn(function(){return e})()}function pn(e){function t(e){return e=u(e[0]*Za,e[1]*Za),[e[0]*p+s,c-e[1]*p]}function n(e){return(e=u.invert((e[0]-s)/p,(c-e[1])/p))&&[e[0]*Wa,e[1]*Wa]}function r(){u=jt(a=yn(m,v,b),i);var e=i(g,y);return s=d-e[0]*p,c=h+e[1]*p,o()}function o(){return l&&(l.valid=!1,l=null),t}var i,a,u,s,c,l,f=un(function(e,t){return e=i(e,t),[e[0]*p+s,c-e[1]*p]}),p=150,d=480,h=250,g=0,y=0,m=0,v=0,b=0,_=Vu,x=E,w=null,C=null;return t.stream=function(e){return l&&(l.valid=!1),l=dn(_(a,f(x(e)))),l.valid=!0,l},t.clipAngle=function(e){return arguments.length?(_=null==e?(w=e,Vu):Zt((w=+e)*Za),o()):w},t.clipExtent=function(e){return arguments.length?(C=e,x=e?Yt(e[0][0],e[0][1],e[1][0],e[1][1]):E,o()):C},t.scale=function(e){return arguments.length?(p=+e,r()):p},t.translate=function(e){return arguments.length?(d=+e[0],h=+e[1],r()):[d,h]},t.center=function(e){return arguments.length?(g=e[0]%360*Za,y=e[1]%360*Za,r()):[g*Wa,y*Wa]},t.rotate=function(e){return arguments.length?(m=e[0]%360*Za,v=e[1]%360*Za,b=e.length>2?e[2]%360*Za:0,r()):[m*Wa,v*Wa,b*Wa]},da.rebind(t,f,"precision"),function(){return i=e.apply(this,arguments),t.invert=i.invert&&n,r()}}function dn(e){return ln(e,function(t,n){e.point(t*Za,n*Za)})}function hn(e,t){return[e,t]}function gn(e,t){return[e>Ga?e-qa:e<-Ga?e+qa:e,t]}function yn(e,t,n){return e?t||n?jt(vn(e),bn(t,n)):vn(e):t||n?bn(t,n):gn}function mn(e){return function(t,n){return t+=e,[t>Ga?t-qa:t<-Ga?t+qa:t,n]}}function vn(e){var t=mn(e);return t.invert=mn(-e),t}function bn(e,t){function n(e,t){var n=Math.cos(t),u=Math.cos(e)*n,s=Math.sin(e)*n,c=Math.sin(t),l=c*r+u*o;return[Math.atan2(s*i-l*a,u*r-c*o),ae(l*i+s*a)]}var r=Math.cos(e),o=Math.sin(e),i=Math.cos(t),a=Math.sin(t);return n.invert=function(e,t){var n=Math.cos(t),u=Math.cos(e)*n,s=Math.sin(e)*n,c=Math.sin(t),l=c*i-s*a;return[Math.atan2(s*i+c*a,u*r+l*o),ae(l*r-u*o)]},n}function _n(e,t){var n=Math.cos(e),r=Math.sin(e);return function(o,i,a,u){var s=a*t;null!=o?(o=xn(n,o),i=xn(n,i),(a>0?oi)&&(o+=a*qa)):(o=e+a*qa,i=e-.5*s);for(var c,l=o;a>0?l>i:l0?t<-Ha+Va&&(t=-Ha+Va):t>Ha-Va&&(t=Ha-Va);var n=a/Math.pow(o(t),i);return[n*Math.sin(i*e),a-n*Math.cos(i*e)]}var r=Math.cos(e),o=function(e){return Math.tan(Ga/4+e/2)},i=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(o(t)/o(e)),a=r*Math.pow(o(e),i)/i;return i?(n.invert=function(e,t){var n=a-t,r=re(i)*Math.sqrt(e*e+n*n);return[Math.atan2(e,n)/i,2*Math.atan(Math.pow(a/r,1/i))-Ha]},n):Rn}function kn(e,t){function n(e,t){var n=i-t;return[n*Math.sin(o*e),i-n*Math.cos(o*e)]}var r=Math.cos(e),o=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),i=r/o+e;return Ea(o)1&&oe(e[n[r-2]],e[n[r-1]],e[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function In(e,t){return e[0]-t[0]||e[1]-t[1]}function Fn(e,t,n){return(n[0]-t[0])*(e[1]-t[1])<(n[1]-t[1])*(e[0]-t[0])}function zn(e,t,n,r){var o=e[0],i=n[0],a=t[0]-o,u=r[0]-i,s=e[1],c=n[1],l=t[1]-s,f=r[1]-c,p=(u*(s-c)-f*(o-i))/(f*a-u*l);return[o+p*a,s+p*l]}function Vn(e){var t=e[0],n=e[e.length-1];return!(t[0]-n[0]||t[1]-n[1])}function Un(){sr(this),this.edge=this.site=this.circle=null}function Gn(e){var t=ls.pop()||new Un;return t.site=e,t}function qn(e){Jn(e),us.remove(e),ls.push(e),sr(e)}function Bn(e){var t=e.circle,n=t.x,r=t.cy,o={x:n,y:r},i=e.P,a=e.N,u=[e];qn(e);for(var s=i;s.circle&&Ea(n-s.circle.x)Va)u=u.L;else{if(!((o=i-Wn(u,a))>Va)){r>-Va?(t=u.P,n=u):o>-Va?(t=u,n=u.N):t=n=u;break}if(!u.R){t=u;break}u=u.R}var s=Gn(e);if(us.insert(t,s),t||n){if(t===n)return Jn(t),n=Gn(t.site),us.insert(s,n),s.edge=n.edge=rr(t.site,s.site),Qn(t),void Qn(n);if(!n)return void(s.edge=rr(t.site,s.site));Jn(t),Jn(n);var c=t.site,l=c.x,f=c.y,p=e.x-l,d=e.y-f,h=n.site,g=h.x-l,y=h.y-f,m=2*(p*y-d*g),v=p*p+d*d,b=g*g+y*y,_={x:(y*v-d*b)/m+l,y:(p*b-g*v)/m+f};ir(n.edge,c,h,_),s.edge=rr(c,e,null,_),n.edge=rr(e,h,null,_),Qn(t),Qn(n)}}function Zn(e,t){var n=e.site,r=n.x,o=n.y,i=o-t;if(!i)return r;var a=e.P;if(!a)return-1/0;n=a.site;var u=n.x,s=n.y,c=s-t;if(!c)return u;var l=u-r,f=1/i-1/c,p=l/c;return f?(-p+Math.sqrt(p*p-2*f*(l*l/(-2*c)-s+c/2+o-i/2)))/f+r:(r+u)/2}function Wn(e,t){var n=e.N;if(n)return Zn(n,t);var r=e.site;return r.y===t?r.x:1/0}function Yn(e){this.site=e,this.edges=[]}function Xn(e){for(var t,n,r,o,i,a,u,s,c,l,f=e[0][0],p=e[1][0],d=e[0][1],h=e[1][1],g=as,y=g.length;y--;)if((i=g[y])&&i.prepare())for(u=i.edges,s=u.length,a=0;aVa||Ea(o-n)>Va)&&(u.splice(a,0,new ar(or(i.site,l,Ea(r-f)Va?{x:f,y:Ea(t-f)Va?{x:Ea(n-h)Va?{x:p,y:Ea(t-p)Va?{x:Ea(n-d)=-Ua)){var d=s*s+c*c,h=l*l+f*f,g=(f*d-c*h)/p,y=(s*h-l*d)/p,f=y+u,m=fs.pop()||new $n;m.arc=e,m.site=o,m.x=g+a,m.y=f+Math.sqrt(g*g+y*y),m.cy=f,e.circle=m;for(var v=null,b=cs._;b;)if(m.y=u)return;if(p>h){if(i){if(i.y>=c)return}else i={x:y,y:s};n={x:y,y:c}}else{if(i){if(i.y1)if(p>h){if(i){if(i.y>=c)return}else i={x:(s-o)/r,y:s};n={x:(c-o)/r,y:c}}else{if(i){if(i.y=u)return}else i={x:a,y:r*a+o};n={x:u,y:r*u+o}}else{if(i){if(i.xi||f>a||p=_,E=n>=x,C=E<<1|w,S=C+4;Ci&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:wr(n,r)})),i=hs.lastIndex;return i=0&&!(n=da.interpolators[r](e,t)););return n}function Sr(e,t){var n,r=[],o=[],i=e.length,a=t.length,u=Math.min(e.length,t.length);for(n=0;n=1?1:e(t)}}function Tr(e){return function(t){return 1-e(1-t)}}function Pr(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function Ar(e){return e*e}function kr(e){return e*e*e}function Rr(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,n=t*e;return 4*(e<.5?n:3*(e-t)+n-.75)}function Mr(e){return function(t){return Math.pow(t,e)}}function jr(e){return 1-Math.cos(e*Ha)}function Nr(e){return Math.pow(2,10*(e-1))}function Dr(e){return 1-Math.sqrt(1-e*e)}function Lr(e,t){var n;return arguments.length<2&&(t=.45),arguments.length?n=t/qa*Math.asin(1/e):(e=1,n=t/4),function(r){return 1+e*Math.pow(2,-10*r)*Math.sin((r-n)*qa/t)}}function Ir(e){return e||(e=1.70158),function(t){return t*t*((e+1)*t-e)}}function Fr(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function zr(e,t){e=da.hcl(e),t=da.hcl(t);var n=e.h,r=e.c,o=e.l,i=t.h-n,a=t.c-r,u=t.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?t.c:r),isNaN(i)?(i=0,n=isNaN(n)?t.h:n):i>180?i-=360:i<-180&&(i+=360),function(e){return ge(n+i*e,r+a*e,o+u*e)+""}}function Vr(e,t){e=da.hsl(e),t=da.hsl(t);var n=e.h,r=e.s,o=e.l,i=t.h-n,a=t.s-r,u=t.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?t.s:r),isNaN(i)?(i=0,n=isNaN(n)?t.h:n):i>180?i-=360:i<-180&&(i+=360),function(e){return de(n+i*e,r+a*e,o+u*e)+""}}function Ur(e,t){e=da.lab(e),t=da.lab(t);var n=e.l,r=e.a,o=e.b,i=t.l-n,a=t.a-r,u=t.b-o;return function(e){return me(n+i*e,r+a*e,o+u*e)+""}}function Gr(e,t){return t-=e,function(n){return Math.round(e+t*n)}}function qr(e){var t=[e.a,e.b],n=[e.c,e.d],r=Hr(t),o=Br(t,n),i=Hr(Zr(n,t,-o))||0;t[0]*n[1]180?t+=360:t-e>180&&(e+=360),r.push({i:n.push(Wr(n)+"rotate(",null,")")-2,x:wr(e,t)})):t&&n.push(Wr(n)+"rotate("+t+")")}function Kr(e,t,n,r){e!==t?r.push({i:n.push(Wr(n)+"skewX(",null,")")-2,x:wr(e,t)}):t&&n.push(Wr(n)+"skewX("+t+")")}function $r(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var o=n.push(Wr(n)+"scale(",null,",",null,")");r.push({i:o-4,x:wr(e[0],t[0])},{i:o-2,x:wr(e[1],t[1])})}else 1===t[0]&&1===t[1]||n.push(Wr(n)+"scale("+t+")")}function Qr(e,t){var n=[],r=[];return e=da.transform(e),t=da.transform(t),Yr(e.translate,t.translate,n,r),Xr(e.rotate,t.rotate,n,r),Kr(e.skew,t.skew,n,r),$r(e.scale,t.scale,n,r),e=t=null,function(e){for(var t,o=-1,i=r.length;++o=0;)n.push(o[r])}function fo(e,t){for(var n=[e],r=[];null!=(e=n.pop());)if(r.push(e),(i=e.children)&&(o=i.length))for(var o,i,a=-1;++ao&&(r=n,o=t);return r}function Eo(e){return e.reduce(Co,0)}function Co(e,t){return e+t[1]}function So(e,t){return Oo(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function Oo(e,t){for(var n=-1,r=+e[0],o=(e[1]-r)/t,i=[];++n<=t;)i[n]=o*n+r;return i}function To(e){return[da.min(e),da.max(e)]}function Po(e,t){return e.value-t.value}function Ao(e,t){var n=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=n,n._pack_prev=t}function ko(e,t){e._pack_next=t,t._pack_prev=e}function Ro(e,t){var n=t.x-e.x,r=t.y-e.y,o=e.r+t.r;return.999*o*o>n*n+r*r}function Mo(e){function t(e){l=Math.min(e.x-e.r,l),f=Math.max(e.x+e.r,f),p=Math.min(e.y-e.r,p),d=Math.max(e.y+e.r,d)}if((n=e.children)&&(c=n.length)){var n,r,o,i,a,u,s,c,l=1/0,f=-1/0,p=1/0,d=-1/0;if(n.forEach(jo),r=n[0],r.x=-r.r,r.y=0,t(r),c>1&&(o=n[1],o.x=o.r,o.y=0,t(o),c>2))for(i=n[2],Lo(r,o,i),t(i),Ao(r,i),r._pack_prev=i,Ao(i,o),o=r._pack_next,a=3;a=0;)t=o[i],t.z+=n,t.m+=n,n+=t.s+(r+=t.c)}function Go(e,t,n){return e.a.parent===t.parent?e.a:n}function qo(e){return 1+da.max(e,function(e){return e.y})}function Bo(e){return e.reduce(function(e,t){return e+t.x},0)/e.length}function Ho(e){var t=e.children;return t&&t.length?Ho(t[0]):e}function Zo(e){var t,n=e.children;return n&&(t=n.length)?Zo(n[t-1]):e}function Wo(e){return{x:e.x,y:e.y,dx:e.dx,dy:e.dy}}function Yo(e,t){var n=e.x+t[3],r=e.y+t[0],o=e.dx-t[1]-t[3],i=e.dy-t[0]-t[2];return o<0&&(n+=o/2,o=0),i<0&&(r+=i/2,i=0),{x:n,y:r,dx:o,dy:i}}function Xo(e){var t=e[0],n=e[e.length-1];return t2?ei:$o,s=r?eo:Jr;return a=o(e,t,s,n),u=o(t,e,s,Cr),i}function i(e){return a(e)}var a,u;return i.invert=function(e){return u(e)},i.domain=function(t){return arguments.length?(e=t.map(Number),o()):e},i.range=function(e){return arguments.length?(t=e,o()):t},i.rangeRound=function(e){return i.range(e).interpolate(Gr)},i.clamp=function(e){return arguments.length?(r=e,o()):r},i.interpolate=function(e){return arguments.length?(n=e,o()):n},i.ticks=function(t){return ii(e,t)},i.tickFormat=function(t,n){return ai(e,t,n)},i.nice=function(t){return ri(e,t),o()},i.copy=function(){return ti(e,t,n,r)},o()}function ni(e,t){return da.rebind(e,t,"range","rangeRound","interpolate","clamp")}function ri(e,t){return Qo(e,Jo(oi(e,t)[2])),Qo(e,Jo(oi(e,t)[2])),e}function oi(e,t){null==t&&(t=10);var n=Xo(e),r=n[1]-n[0],o=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),i=t/r*o;return i<=.15?o*=10:i<=.35?o*=5:i<=.75&&(o*=2),n[0]=Math.ceil(n[0]/o)*o,n[1]=Math.floor(n[1]/o)*o+.5*o,n[2]=o,n}function ii(e,t){return da.range.apply(da,oi(e,t))}function ai(e,t,n){var r=oi(e,t);if(n){var o=du.exec(n);if(o.shift(),"s"===o[8]){var i=da.formatPrefix(Math.max(Ea(r[0]),Ea(r[1])));return o[7]||(o[7]="."+ui(i.scale(r[2]))),o[8]="f",n=da.format(o.join("")),function(e){return n(i.scale(e))+i.symbol}}o[7]||(o[7]="."+si(o[8],r)),n=o.join("")}else n=",."+ui(r[2])+"f";return da.format(n)}function ui(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function si(e,t){var n=ui(t[2]);return e in Os?Math.abs(n-ui(Math.max(Ea(t[0]),Ea(t[1]))))+ +("e"!==e):n-2*("%"===e)}function ci(e,t,n,r){function o(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(t)}function i(e){return n?Math.pow(t,e):-Math.pow(t,-e)}function a(t){return e(o(t))}return a.invert=function(t){return i(e.invert(t))},a.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((r=t.map(Number)).map(o)),a):r},a.base=function(n){return arguments.length?(t=+n,e.domain(r.map(o)),a):t},a.nice=function(){var t=Qo(r.map(o),n?Math:Ps);return e.domain(t),r=t.map(i),a},a.ticks=function(){var e=Xo(r),a=[],u=e[0],s=e[1],c=Math.floor(o(u)),l=Math.ceil(o(s)),f=t%1?2:t;if(isFinite(l-c)){if(n){for(;c0;p--)a.push(i(c)*p);for(c=0;a[c]s;l--);a=a.slice(c,l)}return a},a.tickFormat=function(e,n){if(!arguments.length)return Ts;arguments.length<2?n=Ts:"function"!=typeof n&&(n=da.format(n));var r=Math.max(1,t*e/a.ticks().length);return function(e){var a=e/i(Math.round(o(e)));return a*t0?o[n-1]:e[0],n0?0:1}function Ci(e,t,n,r,o){var i=e[0]-t[0],a=e[1]-t[1],u=(o?r:-r)/Math.sqrt(i*i+a*a),s=u*a,c=-u*i,l=e[0]+s,f=e[1]+c,p=t[0]+s,d=t[1]+c,h=(l+p)/2,g=(f+d)/2,y=p-l,m=d-f,v=y*y+m*m,b=n-r,_=l*d-p*f,x=(m<0?-1:1)*Math.sqrt(Math.max(0,b*b*v-_*_)),w=(_*m-y*x)/v,E=(-_*y-m*x)/v,C=(_*m+y*x)/v,S=(-_*y+m*x)/v,O=w-h,T=E-g,P=C-h,A=S-g;return O*O+T*T>P*P+A*A&&(w=C,E=S),[[w-s,E-c],[w*n/b,E*n/b]]}function Si(e){function t(t){function a(){c.push("M",i(e(l),u))}for(var s,c=[],l=[],f=-1,p=t.length,d=Re(n),h=Re(r);++f1?e.join("L"):e+"Z"}function Ti(e){return e.join("L")+"Z"}function Pi(e){for(var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];++t1&&o.push("H",r[0]),o.join("")}function Ai(e){for(var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];++t1){u=t[1],i=e[s],s++,r+="C"+(o[0]+a[0])+","+(o[1]+a[1])+","+(i[0]-u[0])+","+(i[1]-u[1])+","+i[0]+","+i[1];for(var c=2;c9&&(o=3*t/Math.sqrt(o),a[u]=o*n,a[u+1]=o*r));for(u=-1;++u<=s;)o=(e[Math.min(s,u+1)][0]-e[Math.max(0,u-1)][0])/(6*(1+a[u]*a[u])),i.push([o||0,a[u]*o||0]);return i}function Hi(e){return e.length<3?Oi(e):e[0]+Ni(e,Bi(e))}function Zi(e){for(var t,n,r,o=-1,i=e.length;++o0;)p[--u].call(e,a);if(i>=1)return g.event&&g.event.end.call(e,e.__data__,t),--d.count?delete d[r]:delete e[n],1}var s,c,l,f,p,d=e[n]||(e[n]={active:0,count:0}),g=d[r];g||(s=o.time,c=Le(i,0,s),g=d[r]={tween:new h,time:s,timer:c,delay:o.delay,duration:o.duration,ease:o.ease,index:t},o=null,++d.count)}function aa(e,t,n){e.attr("transform",function(e){var r=t(e);return"translate("+(isFinite(r)?r:n(e))+",0)"})}function ua(e,t,n){e.attr("transform",function(e){var r=t(e);return"translate(0,"+(isFinite(r)?r:n(e))+")"})}function sa(e){return e.toISOString()}function ca(e,t,n){function r(t){return e(t)}function o(e,n){var r=e[1]-e[0],o=r/n,i=da.bisect(Js,o);return i==Js.length?[t.year,oi(e.map(function(e){return e/31536e6}),n)[2]]:i?t[o/Js[i-1]1?{floor:function(t){for(;n(t=e.floor(t));)t=la(t-1);return t},ceil:function(t){for(;n(t=e.ceil(t));)t=la(+t+1);return t}}:e))},r.ticks=function(e,t){var n=Xo(r.domain()),i=null==e?o(n,10):"number"==typeof e?o(n,e):!e.range&&[{range:e},t];return i&&(e=i[0],t=i[1]),e.range(n[0],la(+n[1]+1),t<1?1:t)},r.tickFormat=function(){return n},r.copy=function(){return ca(e.copy(),t,n)},ni(r,e)}function la(e){return new Date(e)}function fa(e){return JSON.parse(e.responseText)}function pa(e){var t=ya.createRange();return t.selectNode(ya.body),t.createContextualFragment(e.responseText)}var da={version:"3.5.17"},ha=[].slice,ga=function(e){return ha.call(e)},ya=this.document;if(ya)try{ga(ya.documentElement.childNodes)[0].nodeType}catch(e){ga=function(e){for(var t=e.length,n=new Array(t);t--;)n[t]=e[t];return n}}if(Date.now||(Date.now=function(){return+new Date}),ya)try{ya.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var ma=this.Element.prototype,va=ma.setAttribute,ba=ma.setAttributeNS,_a=this.CSSStyleDeclaration.prototype,xa=_a.setProperty;ma.setAttribute=function(e,t){va.call(this,e,t+"")},ma.setAttributeNS=function(e,t,n){ba.call(this,e,t,n+"")},_a.setProperty=function(e,t,n){xa.call(this,e,t+"",n)}}da.ascending=u,da.descending=function(e,t){return te?1:t>=e?0:NaN},da.min=function(e,t){var n,r,o=-1,i=e.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++or&&(n=r)}else{for(;++o=r){n=r;break}for(;++or&&(n=r)}return n},da.max=function(e,t){var n,r,o=-1,i=e.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++on&&(n=r)}else{for(;++o=r){n=r;break}for(;++on&&(n=r)}return n},da.extent=function(e,t){var n,r,o,i=-1,a=e.length;if(1===arguments.length){for(;++i=r){n=o=r;break}for(;++ir&&(n=r),o=r){n=o=r;break}for(;++ir&&(n=r),o1)return a/(l-1)},da.deviation=function(){var e=da.variance.apply(this,arguments);return e?Math.sqrt(e):e};var wa=l(u);da.bisectLeft=wa.left,da.bisect=da.bisectRight=wa.right,da.bisector=function(e){return l(1===e.length?function(t,n){return u(e(t),n)}:e)},da.shuffle=function(e,t,n){(i=arguments.length)<3&&(n=e.length,i<2&&(t=0));for(var r,o,i=n-t;i;)o=Math.random()*i--|0,r=e[i+t],e[i+t]=e[o+t],e[o+t]=r;return e},da.permute=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},da.pairs=function(e){for(var t=0,n=e.length-1,r=e[0],o=new Array(n<0?0:n);t=0;)for(r=e[o],t=r.length;--t>=0;)n[--a]=r[t];return n};var Ea=Math.abs;da.range=function(e,t,n){if(arguments.length<3&&(n=1,arguments.length<2&&(t=e,e=0)),(t-e)/n==1/0)throw new Error("infinite range");var r,o=[],i=p(Ea(n)),a=-1;if(e*=i,t*=i,n*=i,n<0)for(;(r=e+n*++a)>t;)o.push(r/i);else for(;(r=e+n*++a)=i.length)return r?r.call(o,a):n?a.sort(n):a;for(var s,c,l,f,p=-1,d=a.length,g=i[u++],y=new h;++p=i.length)return e;var r=[],o=a[n++];return e.forEach(function(e,o){r.push({key:e,values:t(o,n)})}),o?r.sort(function(e,t){return o(e.key,t.key)}):r}var n,r,o={},i=[],a=[];return o.map=function(t,n){return e(n,t,0)},o.entries=function(n){return t(e(da.map,n,0),0)},o.key=function(e){return i.push(e),o},o.sortKeys=function(e){return a[i.length-1]=e,o},o.sortValues=function(e){return n=e,o},o.rollup=function(e){return r=e,o},o},da.set=function(e){var t=new w;if(e)for(var n=0,r=e.length;n=0&&(r=e.slice(n+1),e=e.slice(0,n)),e)return arguments.length<2?this[e].on(r):this[e].on(r,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(r,null);return this}},da.event=null,da.requote=function(e){return e.replace(Ta,"\\$&")};var Ta=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Pa={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)e[n]=t[n]},Aa=function(e,t){return t.querySelector(e)},ka=function(e,t){return t.querySelectorAll(e)},Ra=function(e,t){var n=e.matches||e[S(e,"matchesSelector")];return(Ra=function(e,t){return n.call(e,t)})(e,t)};"function"==typeof Sizzle&&(Aa=function(e,t){return Sizzle(e,t)[0]||null},ka=Sizzle,Ra=Sizzle.matchesSelector),da.selection=function(){return da.select(ya.documentElement)};var Ma=da.selection.prototype=[];Ma.select=function(e){var t,n,r,o,i=[];e=j(e);for(var a=-1,u=this.length;++a=0&&"xmlns"!==(n=e.slice(0,t))&&(e=e.slice(t+1)),Na.hasOwnProperty(n)?{space:Na[n],local:e}:e}},Ma.attr=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node();return e=da.ns.qualify(e),e.local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(t in e)this.each(D(t,e[t]));return this}return this.each(D(e,t))},Ma.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node(),r=(e=F(e)).length,o=-1;if(t=n.classList){for(;++o=0;)(n=r[o])&&(i&&i!==n.nextSibling&&i.parentNode.insertBefore(n,i),i=n);return this},Ma.sort=function(e){e=W.apply(this,arguments);for(var t=-1,n=this.length;++t0&&(t=t.transition().duration(T)),t.call(e.event)}function u(){x&&x.domain(_.range().map(function(e){return(e-C.x)/C.k}).map(_.invert)),E&&E.domain(w.range().map(function(e){return(e-C.y)/C.k}).map(w.invert))}function s(e){P++||e({type:"zoomstart"})}function c(e){u(),e({type:"zoom",scale:C.k,translate:[C.x,C.y]})}function l(e){--P||(e({type:"zoomend"}),y=null)}function f(){function e(){u=1,o(da.mouse(r),p),c(i)}function n(){f.on(M,null).on(j,null),d(u),l(i)}var r=this,i=D.of(r,arguments),u=0,f=da.select(a(r)).on(M,e).on(j,n),p=t(da.mouse(r)),d=ee(r);qs.call(r),s(i)}function p(){function e(){var e=da.touches(h);return d=C.k,e.forEach(function(e){e.identifier in y&&(y[e.identifier]=t(e))}),e}function n(){var t=da.event.target;da.select(t).on(_,a).on(x,u),w.push(t);for(var n=da.event.changedTouches,r=0,o=n.length;r1){var l=s[0],f=s[1],p=l[0]-f[0],d=l[1]-f[1];m=p*p+d*d}}function a(){var e,t,n,i,a=da.touches(h);qs.call(h);for(var u=0,s=a.length;u=c)return a;if(o)return o=!1,i;var t=l;if(34===e.charCodeAt(t)){for(var n=t;n++=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,hu=da.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,t){return(e=da.round(e,Ve(e,t))).toFixed(Math.max(0,Math.min(20,Ve(e*(1+1e-15),t))))}}),gu=da.time={},yu=Date;Be.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){mu.setUTCDate.apply(this._,arguments)},setDay:function(){mu.setUTCDay.apply(this._,arguments)},setFullYear:function(){mu.setUTCFullYear.apply(this._,arguments)},setHours:function(){mu.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){mu.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){mu.setUTCMinutes.apply(this._,arguments)},setMonth:function(){mu.setUTCMonth.apply(this._,arguments)},setSeconds:function(){mu.setUTCSeconds.apply(this._,arguments)},setTime:function(){mu.setTime.apply(this._,arguments)}};var mu=Date.prototype;gu.year=He(function(e){return e=gu.day(e),e.setMonth(0,1),e},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e){return e.getFullYear()}),gu.years=gu.year.range,gu.years.utc=gu.year.utc.range,gu.day=He(function(e){var t=new yu(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t},function(e,t){e.setDate(e.getDate()+t)},function(e){return e.getDate()-1}),gu.days=gu.day.range,gu.days.utc=gu.day.utc.range,gu.dayOfYear=function(e){var t=gu.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(e,t){t=7-t;var n=gu[e]=He(function(e){return(e=gu.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e},function(e,t){e.setDate(e.getDate()+7*Math.floor(t))},function(e){var n=gu.year(e).getDay();return Math.floor((gu.dayOfYear(e)+(n+t)%7)/7)-(n!==t)});gu[e+"s"]=n.range,gu[e+"s"].utc=n.utc.range,gu[e+"OfYear"]=function(e){var n=gu.year(e).getDay();return Math.floor((gu.dayOfYear(e)+(n+t)%7)/7)}}),gu.week=gu.sunday,gu.weeks=gu.sunday.range,gu.weeks.utc=gu.sunday.utc.range,gu.weekOfYear=gu.sundayOfYear;var vu={"-":"",_:" ",0:"0"},bu=/^\s*\d+/,_u=/^%/;da.locale=function(e){return{numberFormat:Ge(e),timeFormat:We(e)}};var xu=da.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],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"]});da.format=xu.numberFormat,da.geo={},ht.prototype={s:0,t:0,add:function(e){gt(e,this.t,wu),gt(wu.s,this.s,this),this.s?this.t+=wu.t:this.s=wu.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var wu=new ht;da.geo.stream=function(e,t){e&&Eu.hasOwnProperty(e.type)?Eu[e.type](e,t):yt(e,t)};var Eu={Feature:function(e,t){yt(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++rd&&(d=t)}function t(t,n){var r=_t([t*Za,n*Za]);if(m){var o=wt(m,r),i=[o[1],-o[0],0],a=wt(i,o);St(a),a=Ot(a);var s=t-h,c=s>0?1:-1,g=a[0]*Wa*c,y=Ea(s)>180;if(y^(c*hd&&(d=v)}else if(g=(g+360)%360-180,y^(c*hd&&(d=n);y?tu(l,p)&&(p=t):u(t,p)>u(l,p)&&(l=t):p>=l?(tp&&(p=t)):t>h?u(l,t)>u(l,p)&&(p=t):u(t,p)>u(l,p)&&(l=t)}else e(t,n);m=r,h=t}function n(){x.point=t}function r(){_[0]=l,_[1]=p,x.point=e,m=null}function o(e,n){if(m){var r=e-h;v+=Ea(r)>180?r+(r>0?360:-360):r}else g=e,y=n;Tu.point(e,n),t(e,n)}function i(){Tu.lineStart()}function a(){o(g,y),Tu.lineEnd(),Ea(v)>Va&&(l=-(p=180)),_[0]=l,_[1]=p,m=null}function u(e,t){return(t-=e)<0?t+360:t}function s(e,t){return e[0]-t[0]}function c(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:eVa?d=90:v<-Va&&(f=-90),_[0]=l,_[1]=p}};return function(e){d=p=-(l=f=1/0),b=[],da.geo.stream(e,x);var t=b.length;if(t){b.sort(s);for(var n,r=1,o=b[0],i=[o];ru(o[0],o[1])&&(o[1]=n[1]),u(n[0],o[1])>u(o[0],o[1])&&(o[0]=n[0])):i.push(o=n);for(var a,n,h=-1/0,t=i.length-1,r=0,o=i[t];r<=t;o=n,++r)n=i[r],(a=u(o[1],n[0]))>h&&(h=a,l=n[0],p=o[1])}return b=_=null,l===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[l,f],[p,d]]}}(),da.geo.centroid=function(e){Pu=Au=ku=Ru=Mu=ju=Nu=Du=Lu=Iu=Fu=0,da.geo.stream(e,zu);var t=Lu,n=Iu,r=Fu,o=t*t+n*n+r*r;return o=.12&&o<.234&&r>=-.425&&r<-.214?a:o>=.166&&o<.234&&r>=-.214&&r<-.115?u:i).invert(e)},e.stream=function(e){var t=i.stream(e),n=a.stream(e),r=u.stream(e);return{point:function(e,o){t.point(e,o),n.point(e,o),r.point(e,o)},sphere:function(){t.sphere(),n.sphere(),r.sphere()},lineStart:function(){t.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},e.precision=function(t){return arguments.length?(i.precision(t),a.precision(t),u.precision(t),e):i.precision()},e.scale=function(t){return arguments.length?(i.scale(t),a.scale(.35*t),u.scale(t),e.translate(i.translate())):i.scale()},e.translate=function(t){if(!arguments.length)return i.translate();var c=i.scale(),l=+t[0],f=+t[1];return n=i.translate(t).clipExtent([[l-.455*c,f-.238*c],[l+.455*c,f+.238*c]]).stream(s).point,r=a.translate([l-.307*c,f+.201*c]).clipExtent([[l-.425*c+Va,f+.12*c+Va],[l-.214*c-Va,f+.234*c-Va]]).stream(s).point,o=u.translate([l-.205*c,f+.212*c]).clipExtent([[l-.214*c+Va,f+.166*c+Va],[l-.115*c-Va,f+.234*c-Va]]).stream(s).point,e},e.scale(1070)};var Gu,qu,Bu,Hu,Zu,Wu,Yu={point:O,lineStart:O,lineEnd:O,polygonStart:function(){qu=0,Yu.lineStart=$t},polygonEnd:function(){Yu.lineStart=Yu.lineEnd=Yu.point=O,Gu+=Ea(qu/2)}},Xu={point:Qt,lineStart:O,lineEnd:O,polygonStart:O,polygonEnd:O},Ku={point:tn,lineStart:nn,lineEnd:rn,polygonStart:function(){Ku.lineStart=on},polygonEnd:function(){Ku.point=tn,Ku.lineStart=nn,Ku.lineEnd=rn}};da.geo.path=function(){function e(e){return e&&("function"==typeof u&&i.pointRadius(+u.apply(this,arguments)),a&&a.valid||(a=o(i)),da.geo.stream(e,a)),i.result()}function t(){return a=null,e}var n,r,o,i,a,u=4.5;return e.area=function(e){return Gu=0,da.geo.stream(e,o(Yu)),Gu},e.centroid=function(e){return ku=Ru=Mu=ju=Nu=Du=Lu=Iu=Fu=0,da.geo.stream(e,o(Ku)),Fu?[Lu/Fu,Iu/Fu]:Du?[ju/Du,Nu/Du]:Mu?[ku/Mu,Ru/Mu]:[NaN,NaN]},e.bounds=function(e){return Zu=Wu=-(Bu=Hu=1/0),da.geo.stream(e,o(Xu)),[[Bu,Hu],[Zu,Wu]]},e.projection=function(e){return arguments.length?(o=(n=e)?e.stream||sn(e):E,t()):n},e.context=function(e){return arguments.length?(i=null==(r=e)?new Jt:new an(e),"function"!=typeof u&&i.pointRadius(u),t()):r},e.pointRadius=function(t){return arguments.length?(u="function"==typeof t?t:(i.pointRadius(+t),+t),e):u},e.projection(da.geo.albersUsa()).context(null)},da.geo.transform=function(e){return{stream:function(t){var n=new cn(t);for(var r in e)n[r]=e[r];return n}}},cn.prototype={point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},da.geo.projection=fn,da.geo.projectionMutator=pn,(da.geo.equirectangular=function(){return fn(hn)}).raw=hn.invert=hn,da.geo.rotation=function(e){function t(t){return t=e(t[0]*Za,t[1]*Za),t[0]*=Wa,t[1]*=Wa,t}return e=yn(e[0]%360*Za,e[1]*Za,e.length>2?e[2]*Za:0),t.invert=function(t){return t=e.invert(t[0]*Za,t[1]*Za),t[0]*=Wa,t[1]*=Wa,t},t},gn.invert=hn,da.geo.circle=function(){function e(){var e="function"==typeof r?r.apply(this,arguments):r,t=yn(-e[0]*Za,-e[1]*Za,0).invert,o=[];return n(null,null,1,{point:function(e,n){o.push(e=t(e,n)),e[0]*=Wa,e[1]*=Wa}}),{type:"Polygon",coordinates:[o]}}var t,n,r=[0,0],o=6;return e.origin=function(t){return arguments.length?(r=t,e):r},e.angle=function(r){return arguments.length?(n=_n((t=+r)*Za,o*Za),e):t},e.precision=function(r){return arguments.length?(n=_n(t*Za,(o=+r)*Za),e):o},e.angle(90)},da.geo.distance=function(e,t){var n,r=(t[0]-e[0])*Za,o=e[1]*Za,i=t[1]*Za,a=Math.sin(r),u=Math.cos(r),s=Math.sin(o),c=Math.cos(o),l=Math.sin(i),f=Math.cos(i);return Math.atan2(Math.sqrt((n=f*a)*n+(n=c*l-s*f*u)*n),s*l+c*f*u)},da.geo.graticule=function(){function e(){return{type:"MultiLineString",coordinates:t()}}function t(){return da.range(Math.ceil(i/y)*y,o,y).map(p).concat(da.range(Math.ceil(c/m)*m,s,m).map(d)).concat(da.range(Math.ceil(r/h)*h,n,h).filter(function(e){return Ea(e%y)>Va}).map(l)).concat(da.range(Math.ceil(u/g)*g,a,g).filter(function(e){return Ea(e%m)>Va}).map(f))}var n,r,o,i,a,u,s,c,l,f,p,d,h=10,g=h,y=90,m=360,v=2.5;return e.lines=function(){return t().map(function(e){return{type:"LineString",coordinates:e}})},e.outline=function(){return{type:"Polygon",coordinates:[p(i).concat(d(s).slice(1),p(o).reverse().slice(1),d(c).reverse().slice(1))]}},e.extent=function(t){return arguments.length?e.majorExtent(t).minorExtent(t):e.minorExtent()},e.majorExtent=function(t){return arguments.length?(i=+t[0][0],o=+t[1][0],c=+t[0][1],s=+t[1][1],i>o&&(t=i,i=o,o=t),c>s&&(t=c,c=s,s=t),e.precision(v)):[[i,c],[o,s]]},e.minorExtent=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],u=+t[0][1],a=+t[1][1],r>n&&(t=r,r=n,n=t),u>a&&(t=u,u=a,a=t),e.precision(v)):[[r,u],[n,a]]},e.step=function(t){return arguments.length?e.majorStep(t).minorStep(t):e.minorStep()},e.majorStep=function(t){return arguments.length?(y=+t[0],m=+t[1],e):[y,m]},e.minorStep=function(t){return arguments.length?(h=+t[0],g=+t[1],e):[h,g]},e.precision=function(t){return arguments.length?(v=+t,l=wn(u,a,90),f=En(r,n,v),p=wn(c,s,90),d=En(i,o,v),e):v},e.majorExtent([[-180,-90+Va],[180,90-Va]]).minorExtent([[-180,-80-Va],[180,80+Va]])},da.geo.greatArc=function(){function e(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),n||o.apply(this,arguments)]}}var t,n,r=Cn,o=Sn;return e.distance=function(){return da.geo.distance(t||r.apply(this,arguments),n||o.apply(this,arguments))},e.source=function(n){return arguments.length?(r=n,t="function"==typeof n?null:n,e):r},e.target=function(t){return arguments.length?(o=t,n="function"==typeof t?null:t,e):o},e.precision=function(){return arguments.length?e:0},e},da.geo.interpolate=function(e,t){return On(e[0]*Za,e[1]*Za,t[0]*Za,t[1]*Za)},da.geo.length=function(e){return $u=0,da.geo.stream(e,Qu),$u};var $u,Qu={sphere:O,point:O,lineStart:Tn,lineEnd:O,polygonStart:O,polygonEnd:O},Ju=Pn(function(e){return Math.sqrt(2/(1+e))},function(e){return 2*Math.asin(e/2)});(da.geo.azimuthalEqualArea=function(){return fn(Ju)}).raw=Ju;var es=Pn(function(e){var t=Math.acos(e);return t&&t/Math.sin(t)},E);(da.geo.azimuthalEquidistant=function(){return fn(es)}).raw=es,(da.geo.conicConformal=function(){return Xt(An)}).raw=An,(da.geo.conicEquidistant=function(){return Xt(kn)}).raw=kn;var ts=Pn(function(e){return 1/e},Math.atan);(da.geo.gnomonic=function(){return fn(ts)}).raw=ts,Rn.invert=function(e,t){return[e,2*Math.atan(Math.exp(t))-Ha]},(da.geo.mercator=function(){return Mn(Rn)}).raw=Rn;var ns=Pn(function(){return 1},Math.asin);(da.geo.orthographic=function(){return fn(ns)}).raw=ns;var rs=Pn(function(e){return 1/(1+e)},function(e){return 2*Math.atan(e)});(da.geo.stereographic=function(){return fn(rs)}).raw=rs,jn.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Ha]},(da.geo.transverseMercator=function(){var e=Mn(jn),t=e.center,n=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):(e=t(),[e[1],-e[0]])},e.rotate=function(e){return e?n([e[0],e[1],e.length>2?e[2]+90:90]):(e=n(),[e[0],e[1],e[2]-90])},n([0,0,90])}).raw=jn,da.geom={},da.geom.hull=function(e){function t(e){if(e.length<3)return[];var t,o=Re(n),i=Re(r),a=e.length,u=[],s=[];for(t=0;t=0;--t)d.push(e[u[c[t]][2]]);for(t=+f;t=r&&c.x<=i&&c.y>=o&&c.y<=a?[[r,a],[i,a],[i,o],[r,o]]:[]).point=e[u]}),t}function n(e){return e.map(function(e,t){return{x:Math.round(i(e,t)/Va)*Va,y:Math.round(a(e,t)/Va)*Va,i:t}})}var r=Nn,o=Dn,i=r,a=o,u=ps;return e?t(e):(t.links=function(e){return pr(n(e)).edges.filter(function(e){return e.l&&e.r}).map(function(t){return{source:e[t.l.i],target:e[t.r.i]}})},t.triangles=function(e){var t=[];return pr(n(e)).cells.forEach(function(n,r){for(var o,i=n.site,a=n.edges.sort(Kn),u=-1,s=a.length,c=a[s-1].edge,l=c.l===i?c.r:c.l;++u=c,p=r>=l,d=p<<1|f;e.leaf=!1,e=e.nodes[d]||(e.nodes[d]=mr()),f?o=c:u=c,p?a=l:s=l,i(e,t,n,r,o,a,u,s)}var l,f,p,d,h,g,y,m,v,b=Re(u),_=Re(s);if(null!=t)g=t,y=n,m=r,v=o;else if(m=v=-(g=y=1/0),f=[],p=[],h=e.length,a)for(d=0;dm&&(m=l.x),l.y>v&&(v=l.y),f.push(l.x),p.push(l.y);else for(d=0;dm&&(m=x),w>v&&(v=w),f.push(x),p.push(w)}var E=m-g,C=v-y;E>C?v=y+E:m=g+C;var S=mr();if(S.add=function(e){i(S,e,+b(e,++d),+_(e,d),g,y,m,v)},S.visit=function(e){vr(e,S,g,y,m,v)},S.find=function(e){return br(S,e[0],e[1],g,y,m,v)},d=-1,null==t){for(;++d=0?e.slice(0,t):e,r=t>=0?e.slice(t+1):"in";return n=ys.get(n)||gs,r=ms.get(r)||E,Or(r(n.apply(null,ha.call(arguments,1))))},da.interpolateHcl=zr,da.interpolateHsl=Vr,da.interpolateLab=Ur,da.interpolateRound=Gr,da.transform=function(e){var t=ya.createElementNS(da.ns.prefix.svg,"g");return(da.transform=function(e){if(null!=e){t.setAttribute("transform",e);var n=t.transform.baseVal.consolidate()}return new qr(n?n.matrix:vs)})(e)},qr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var vs={a:1,b:0,c:0,d:1,e:0,f:0};da.interpolateTransform=Qr,da.layout={},da.layout.bundle=function(){return function(e){for(var t=[],n=-1,r=e.length;++n0?o=e:(n.c=null,n.t=NaN,n=null,c.end({type:"end",alpha:o=0})):e>0&&(c.start({type:"start",alpha:o=e}),n=Le(s.tick)),s):o},s.start=function(){function e(e,r){if(!n){for(n=new Array(o),s=0;s=0;)a.push(l=c[s]),l.parent=i,l.depth=i.depth+1;r&&(i.value=0),i.children=c}else r&&(i.value=+r.call(e,i,i.depth)||0),delete i.children;return fo(o,function(e){var n,o;t&&(n=e.children)&&n.sort(t),r&&(o=e.parent)&&(o.value+=e.value)}),u}var t=go,n=po,r=ho;return e.sort=function(n){return arguments.length?(t=n,e):t},e.children=function(t){return arguments.length?(n=t,e):n},e.value=function(t){return arguments.length?(r=t,e):r},e.revalue=function(t){return r&&(lo(t,function(e){e.children&&(e.value=0)}),fo(t,function(t){var n;t.children||(t.value=+r.call(e,t,t.depth)||0),(n=t.parent)&&(n.value+=t.value)})),t},e},da.layout.partition=function(){function e(t,n,r,o){var i=t.children;if(t.x=n,t.y=t.depth*o,t.dx=r,t.dy=o,i&&(a=i.length)){var a,u,s,c=-1;for(r=t.value?r/t.value:0;++cu&&(u=r),a.push(r)}for(n=0;n0)for(i=-1;++i=l[0]&&u<=l[1]&&(a=s[da.bisect(f,u,1,d)-1],a.y+=h,a.push(e[i]));return s}var t=!0,n=Number,r=To,o=So;return e.value=function(t){return arguments.length?(n=t,e):n},e.range=function(t){return arguments.length?(r=Re(t),e):r},e.bins=function(t){return arguments.length?(o="number"==typeof t?function(e){return Oo(e,t)}:Re(t),e):o},e.frequency=function(n){return arguments.length?(t=!!n,e):t},e},da.layout.pack=function(){function e(e,i){var a=n.call(this,e,i),u=a[0],s=o[0],c=o[1],l=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(u.x=u.y=0,fo(u,function(e){e.r=+l(e.value)}),fo(u,Mo),r){var f=r*(t?1:Math.max(2*u.r/s,2*u.r/c))/2;fo(u,function(e){e.r+=f}),fo(u,Mo),fo(u,function(e){e.r-=f})}return Do(u,s/2,c/2,t?1:1/Math.max(2*u.r/s,2*u.r/c)),a}var t,n=da.layout.hierarchy().sort(Po),r=0,o=[1,1];return e.size=function(t){return arguments.length?(o=t,e):o},e.radius=function(n){return arguments.length?(t=null==n||"function"==typeof n?n:+n,e):t},e.padding=function(t){return arguments.length?(r=+t,e):r},co(e,n)},da.layout.tree=function(){function e(e,o){var l=a.call(this,e,o),f=l[0],p=t(f);if(fo(p,n),p.parent.m=-p.z,lo(p,r),c)lo(f,i);else{var d=f,h=f,g=f;lo(f,function(e){e.xh.x&&(h=e),e.depth>g.depth&&(g=e)});var y=u(d,h)/2-d.x,m=s[0]/(h.x+u(h,d)/2+y),v=s[1]/(g.depth||1);lo(f,function(e){e.x=(e.x+y)*m,e.y=e.depth*v})}return l}function t(e){for(var t,n={A:null,children:[e]},r=[n];null!=(t=r.pop());)for(var o,i=t.children,a=0,u=i.length;a0&&(Vo(Go(a,e,n),e,r),c+=r,l+=r),f+=a.m,c+=o.m,p+=s.m,l+=i.m;a&&!zo(i)&&(i.t=a,i.m+=f-l),o&&!Fo(s)&&(s.t=o,s.m+=c-p,n=e)}return n}function i(e){e.x*=s[0],e.y=e.depth*s[1]}var a=da.layout.hierarchy().sort(null).value(null),u=Io,s=[1,1],c=null;return e.separation=function(t){return arguments.length?(u=t,e):u},e.size=function(t){return arguments.length?(c=null==(s=t)?i:null,e):c?null:s},e.nodeSize=function(t){return arguments.length?(c=null==(s=t)?null:i,e):c?s:null},co(e,a)},da.layout.cluster=function(){function e(e,i){var a,u=t.call(this,e,i),s=u[0],c=0;fo(s,function(e){var t=e.children;t&&t.length?(e.x=Bo(t),e.y=qo(t)):(e.x=a?c+=n(e,a):0,e.y=0,a=e)});var l=Ho(s),f=Zo(s),p=l.x-n(l,f)/2,d=f.x+n(f,l)/2;return fo(s,o?function(e){e.x=(e.x-s.x)*r[0],e.y=(s.y-e.y)*r[1]}:function(e){e.x=(e.x-p)/(d-p)*r[0],e.y=(1-(s.y?e.y/s.y:1))*r[1]}),u}var t=da.layout.hierarchy().sort(null).value(null),n=Io,r=[1,1],o=!1;return e.separation=function(t){return arguments.length?(n=t,e):n},e.size=function(t){return arguments.length?(o=null==(r=t),e):o?null:r},e.nodeSize=function(t){return arguments.length?(o=null!=(r=t),e):o?r:null},co(e,t)},da.layout.treemap=function(){function e(e,t){for(var n,r,o=-1,i=e.length;++o0;)l.push(a=p[s-1]),l.area+=a.area,"squarify"!==d||(u=r(l,g))<=h?(p.pop(),h=u):(l.area-=l.pop().area,o(l,g,c,!1),g=Math.min(c.dx,c.dy),l.length=l.area=0,h=1/0);l.length&&(o(l,g,c,!0),l.length=l.area=0),i.forEach(t)}}function n(t){var r=t.children;if(r&&r.length){var i,a=f(t),u=r.slice(),s=[];for(e(u,a.dx*a.dy/t.value),s.area=0;i=u.pop();)s.push(i),s.area+=i.area,null!=i.z&&(o(s,i.z?a.dx:a.dy,a,!u.length),s.length=s.area=0);r.forEach(n)}}function r(e,t){for(var n,r=e.area,o=0,i=1/0,a=-1,u=e.length;++ao&&(o=n));return r*=r,t*=t,r?Math.max(t*o*h/r,r/(t*i*h)):1/0}function o(e,t,n,r){var o,i=-1,a=e.length,u=n.x,c=n.y,l=t?s(e.area/t):0;if(t==n.dx){for((r||l>n.dy)&&(l=n.dy);++in.dx)&&(l=n.dx);++i1);return e+t*n*Math.sqrt(-2*Math.log(o)/o)}},logNormal:function(){var e=da.random.normal.apply(da,arguments);return function(){return Math.exp(e())}},bates:function(e){var t=da.random.irwinHall(e);return function(){return t()/e}},irwinHall:function(e){return function(){for(var t=0,n=0;nf?0:1;if(c=Ba)return t(c,d)+(e?t(e,1-d):"")+"Z";var h,g,y,m,v,b,_,x,w,E,C,S,O=0,T=0,P=[];if((m=(+s.apply(this,arguments)||0)/2)&&(y=i===js?Math.sqrt(e*e+c*c):+i.apply(this,arguments),d||(T*=-1),c&&(T=ae(y/c*Math.sin(m))),e&&(O=ae(y/e*Math.sin(m)))),c){v=c*Math.cos(l+T),b=c*Math.sin(l+T),_=c*Math.cos(f-T),x=c*Math.sin(f-T);var A=Math.abs(f-l-2*T)<=Ga?0:1;if(T&&Ei(v,b,_,x)===d^A){var k=(l+f)/2;v=c*Math.cos(k),b=c*Math.sin(k),_=x=null}}else v=b=0;if(e){w=e*Math.cos(f-O),E=e*Math.sin(f-O),C=e*Math.cos(l+O),S=e*Math.sin(l+O);var R=Math.abs(l-f+2*O)<=Ga?0:1;if(O&&Ei(w,E,C,S)===1-d^R){var M=(l+f)/2;w=e*Math.cos(M),E=e*Math.sin(M),C=S=null}}else w=E=0;if(p>Va&&(h=Math.min(Math.abs(c-e)/2,+o.apply(this,arguments)))>.001){g=eGa)+",1 "+t}function o(e,t,n,r){return"Q 0,0 "+r}var i=Cn,a=Sn,u=Yi,s=_i,c=xi;return e.radius=function(t){return arguments.length?(u=Re(t),e):u},e.source=function(t){return arguments.length?(i=Re(t),e):i},e.target=function(t){return arguments.length?(a=Re(t),e):a},e.startAngle=function(t){return arguments.length?(s=Re(t),e):s},e.endAngle=function(t){return arguments.length?(c=Re(t),e):c},e},da.svg.diagonal=function(){function e(e,o){var i=t.call(this,e,o),a=n.call(this,e,o),u=(i.y+a.y)/2,s=[i,{x:i.x,y:u},{x:a.x,y:u},a];return s=s.map(r),"M"+s[0]+"C"+s[1]+" "+s[2]+" "+s[3]}var t=Cn,n=Sn,r=Xi;return e.source=function(n){return arguments.length?(t=Re(n),e):t},e.target=function(t){return arguments.length?(n=Re(t),e):n},e.projection=function(t){return arguments.length?(r=t,e):r},e},da.svg.diagonal.radial=function(){var e=da.svg.diagonal(),t=Xi,n=e.projection;return e.projection=function(e){return arguments.length?n(Ki(t=e)):t},e},da.svg.symbol=function(){function e(e,r){return(Fs.get(t.call(this,e,r))||Ji)(n.call(this,e,r))}var t=Qi,n=$i;return e.type=function(n){return arguments.length?(t=Re(n),e):t},e.size=function(t){return arguments.length?(n=Re(t),e):n},e};var Fs=da.map({circle:Ji,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Vs)),n=t*Vs;return"M0,"+-t+"L"+n+",0 0,"+t+" "+-n+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/zs),n=t*zs/2;return"M0,"+n+"L"+t+","+-n+" "+-t+","+-n+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/zs),n=t*zs/2;return"M0,"+-n+"L"+t+","+n+" "+-t+","+n+"Z"}});da.svg.symbolTypes=Fs.keys();var zs=Math.sqrt(3),Vs=Math.tan(30*Za);Ma.transition=function(e){for(var t,n,r=Us||++Hs,o=oa(e),i=[],a=Gs||{time:Date.now(),ease:Rr,delay:0,duration:250},u=-1,s=this.length;++urect,.s>rect").attr("width",f[1]-f[0])}function r(e){e.select(".extent").attr("y",p[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",p[1]-p[0])}function o(){function o(){32==da.event.keyCode&&(P||(b=null,R[0]-=f[1],R[1]-=p[1],P=2),A())}function g(){32==da.event.keyCode&&2==P&&(R[0]+=f[1],R[1]+=p[1],P=0,A())}function y(){var e=da.mouse(x),o=!1;_&&(e[0]+=_[0],e[1]+=_[1]),P||(da.event.altKey?(b||(b=[(f[0]+f[1])/2,(p[0]+p[1])/2]),R[0]=f[+(e[0]`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+r+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),a=new RegExp("^(?:"+r+"|"+o+")");e.exports.HTML_TAG_RE=i,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,o,i,a,u=e.pos,s=e.src.charCodeAt(u);if(t)return!1;if(126!==s)return!1;if(r=e.scanDelims(e.pos,!0),i=r.length,a=String.fromCharCode(s),i<2)return!1;for(i%2&&(o=e.push("text","",0),o.content=a,i--),n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=arguments[2],o=r(),i=document.createElement("style");return i.setAttribute("data-fela-type",e),i.type="text/css",t.length>0?(i.media=t,o.appendChild(i)):o.insertBefore(i,n),i}t.a=o},function(e,t,n){"use strict";function r(e,t,n){for(var r in e)n=t(n,e[r],r);return n}t.a=r},function(e,t,n){"use strict";function r(e){return e.replace(/\s{2,}/g,"")}t.a=r},function(e,t,n){"use strict";function r(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return e.plugins.length>0?o.a(e.plugins,function(t,o){return t=o(t,n,e,r)},t):t}t.a=r;var o=n(57)},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"e",function(){return a}),n.d(t,"a",function(){return u});var r="RULE",o="KEYFRAME",i="FONT",a="STATIC",u="CLEAR"},function(e,t,n){"use strict";var r=(n(700),n(701)),o=n(249);n(702);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return o.a})},function(e,t,n){"use strict";function r(e){var t=e.fontFaces+e.statics+e.keyframes+e.rules;return o.E(e.mediaRules,function(e,t,n){return e+o.n(n,t)},t)}t.a=r;var o=n(13)},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n3&&void 0!==arguments[3]?arguments[3]:i;if(0===t)return r(n,n,n);var o=e%360/60,a=(1-Math.abs(2*n-1))*t,u=a*(1-Math.abs(o%2-1)),s=0,c=0,l=0;o>=0&&o<1?(s=a,c=u):o>=1&&o<2?(s=u,c=a):o>=2&&o<3?(c=a,l=u):o>=3&&o<4?(c=u,l=a):o>=4&&o<5?(s=u,l=a):o>=5&&o<6&&(s=a,l=u);var f=n-a/2;return r(s+f,c+f,l+f)}function u(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return B[t]?"#"+B[t]:e}function s(e){if("string"!=typeof e)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");var t=u(e);if(t.match(H))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Z))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};var n=W.exec(t);if(n)return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10)};var r=Y.exec(t);if(r)return{red:parseInt(""+r[1],10),green:parseInt(""+r[2],10),blue:parseInt(""+r[3],10),alpha:parseFloat(""+r[4],10)};var o=X.exec(t);if(o){var i=parseInt(""+o[1],10),s=parseInt(""+o[2],10)/100,c=parseInt(""+o[3],10)/100,l="rgb("+a(i,s,c)+")",f=W.exec(l);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10)}}var p=K.exec(t);if(p){var d=parseInt(""+p[1],10),h=parseInt(""+p[2],10)/100,g=parseInt(""+p[3],10)/100,y="rgb("+a(d,h,g)+")",m=W.exec(y);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10),alpha:parseFloat(""+p[4],10)}}throw new Error("Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.")}function c(e){var t=e.red/255,n=e.green/255,r=e.blue/255,o=Math.max(t,n,r),i=Math.min(t,n,r),a=(o+i)/2;if(o===i)return void 0!==e.alpha?{hue:0,saturation:0,lightness:a,alpha:e.alpha}:{hue:0,saturation:0,lightness:a};var u=void 0,s=o-i,c=a>.5?s/(2-o-i):s/(o+i);switch(o){case t:u=(n-r)/s+(n=1?p(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"===(void 0===e?"undefined":U(e))&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?p(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Error("Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).")}function h(e){return f(Math.round(255*e))}function g(e,t,n){return $("#"+h(e)+h(t)+h(n))}function y(e,t,n){return a(e,t,n,g)}function m(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return y(e,t,n);if("object"===(void 0===e?"undefined":U(e))&&void 0===t&&void 0===n)return y(e.hue,e.saturation,e.lightness);throw new Error("Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).")}function v(e,t,n,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?y(e,t,n):"rgba("+a(e,t,n)+","+r+")";if("object"===(void 0===e?"undefined":U(e))&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?y(e.hue,e.saturation,e.lightness):"rgba("+a(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Error("Passed invalid arguments to hsla, please pass multiple numbers e.g. hsl(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).")}function b(e){if(J(e))return d(e);if(Q(e))return p(e);if(te(e))return v(e);if(ee(e))return m(e);throw new Error("Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.")}function _(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):_(e,t,r)}}function x(e){return _(e,e.length,[])}function w(e,t){var n=l(t);return b(q({},n,{hue:(n.hue+e)%360}))}function E(e,t,n){return Math.max(e,Math.min(t,n))}function C(e,t){var n=l(t);return b(q({},n,{lightness:E(0,1,n.lightness-e)}))}function S(e,t){var n=l(t);return b(q({},n,{saturation:E(0,1,n.saturation-e)}))}function O(e,t){var n=l(t);return b(q({},n,{lightness:E(0,1,n.lightness+e)}))}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.5,t=arguments[1],n=arguments[2],r=s(t),o=q({},r,{alpha:"number"==typeof r.alpha?r.alpha:1}),i=s(n),a=q({},i,{alpha:"number"==typeof i.alpha?i.alpha:1}),u=o.alpha-a.alpha,c=2*e-1,l=c*u==-1?c:c+u,f=1+c*u,p=(l/f+1)/2,h=1-p;return d({red:Math.floor(o.red*p+a.red*h),green:Math.floor(o.green*p+a.green*h),blue:Math.floor(o.blue*p+a.blue*h),alpha:o.alpha+(a.alpha-o.alpha)*(e/1)})}function P(e,t){var n=s(t),r="number"==typeof n.alpha?n.alpha:1;return d(q({},n,{alpha:E(0,1,(100*r+100*e)/100)}))}function A(e,t){var n=l(t);return b(q({},n,{saturation:E(0,1,n.saturation+e)}))}function k(e,t){return b(q({},l(t),{hue:e}))}function R(e,t){return b(q({},l(t),{lightness:e}))}function M(e,t){return b(q({},l(t),{saturation:e}))}function j(e,t){if("number"!=typeof e||e>1||e<-1)throw new Error("Passed an incorrect argument to shade, please pass a percentage less than or equal to 1 and larger than or equal to -1.");if("string"!=typeof t)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");return oe(e,t,"rgb(0, 0, 0)")}function N(e,t){if("number"!=typeof e||e>1||e<-1)throw new Error("Passed an incorrect argument to tint, please pass a percentage less than or equal to 1 and larger than or equal to -1.");if("string"!=typeof t)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");return oe(e,t,"rgb(255, 255, 255)")}function D(e,t){var n=s(t),r="number"==typeof n.alpha?n.alpha:1;return d(q({},n,{alpha:E(0,1,(100*r-100*e)/100)}))}n.d(t,"a",function(){return ne}),n.d(t,"b",function(){return re}),n.d(t,"c",function(){return V});var L,I,F=function(e,t){return e.substr(-t.length)===t},z=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"16px",o=t,i=n;if("string"==typeof t){if(!F(t,"px"))throw new Error('Expected a string ending in "px" or a number passed as the first argument to '+e+'(), got "'+t+'" instead.');o=r(t)}if("string"==typeof n){if(!F(n,"px"))throw new Error('Expected a string ending in "px" or a number passed as the second argument to '+e+'(), got "'+n+'" instead.');i=r(n)}if("string"==typeof o)throw new Error('Passed invalid pixel value ("'+t+'") to '+e+'(), please pass a value like "12px" or 12.');if("string"==typeof i)throw new Error('Passed invalid base value ("'+n+'") to '+e+'(), please pass a value like "12px" or 12.');return""+o/i+e}},V=(z("em"),z("rem")),U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},q=Object.assign||function(e){for(var t=1;t0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=u.get(e);if(!n){return null}return n}var a=n(7),u=(n(30),n(62)),s=(n(26),n(28)),c=(n(4),n(5),{isMounted:function(e){var t=u.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){c.validateCallback(t,n);var o=i(e);if(!o)return null;o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],r(o)},enqueueCallbackInternal:function(e,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,n){var o=i(e,"replaceState");o&&(o._pendingStateQueue=[t],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(c.validateCallback(n,"replaceState"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&a("122",t,o(e))}});e.exports=c},function(e,t,n){"use strict";var r=(n(9),n(22)),o=(n(5),r);e.exports=o},function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}e.exports=r},function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(181),o=n(379),i=n(380),a=n(381),u=n(184);n(183);n.d(t,"createStore",function(){return r.b}),n.d(t,"combineReducers",function(){return o.a}),n.d(t,"bindActionCreators",function(){return i.a}),n.d(t,"applyMiddleware",function(){return a.a}),n.d(t,"compose",function(){return u.a})},function(e,t,n){"use strict";function r(e){if(!a.a(e)||o.a(e)!=u)return!1;var t=i.a(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==p}var o=n(368),i=n(373),a=n(375),u="[object Object]",s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,p=l.call(Object);t.a=r},function(e,t,n){"use strict";function r(e,t,n){function r(){if(a=!0,u)return void(c=[].concat(Array.prototype.slice.call(arguments)));n.apply(this,arguments)}function o(){if(!a&&(s=!0,!u)){for(u=!0;!a&&i=e&&s&&(a=!0,n())}}var i=0,a=!1,u=!1,s=!1,c=void 0;o()}function o(e,t,n){function r(e,t,r){a||(t?(a=!0,n(t)):(i[e]=r,(a=++u===o)&&n(null,i)))}var o=e.length,i=[];if(0===o)return n(null,i);var a=!1,u=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.a=r,t.b=o},function(e,t,n){"use strict";var r=n(17),o=n.n(r),i=n(0),a=n.n(i),u=n(20),s=n.n(u),c=n(1),l=(n.n(c),n(393)),f=n(121),p=n(35),d=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case u.CONFIG_FETCH:return i({},e,{isFetching:!0});case u.CONFIG_FETCH_SUCCESS:case u.CONFIG_FETCH_ERROR:return i({},e,{isFetching:!1});case u.CONFIG_UPDATE_BY_KEY:return i({},e,{config:i({},e.config,r({},t.key,t.value))});default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ABSOLUTE_URL_BASE_KEY=void 0;var i=Object.assign||function(e){for(var t=1;t1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(562);t.default=r.a},function(e,t){e.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){return{activeZone:e.activeZone,zoneSettings:e.zoneSettings,zonePluginSettings:e.pluginSettings,zoneAnalytics:e.zoneAnalytics,config:e.config}}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n>",s=a||r;if(null==n[r])return t?new Error("Required "+i+" `"+s+"` was not specified in `"+u+"`."):null;for(var c=arguments.length,l=Array(c>6?c-6:0),f=6;f.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,u=y.createElement(F,{child:t});if(e){var s=w.get(e);a=s._processChildContext(s._context)}else a=T;var l=p(n);if(l){var f=l._currentElement,h=f.props.child;if(k(h,t)){var g=l._renderedComponent.getPublicInstance(),m=r&&function(){r.call(g)};return z._updateRootComponent(l,u,a,n,m),g}z.unmountComponentAtNode(n)}var v=o(n),b=v&&!!i(v),_=c(n),x=b&&!l&&!_,E=z._renderNewRootComponent(u,n,x,a)._renderedComponent.getPublicInstance();return r&&r.call(E),E},render:function(e,t,n){return z._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){l(e)||d("40");var t=p(e);if(!t){c(e),1===e.nodeType&&e.hasAttribute(M);return!1}return delete D[t._instance.rootID],O.batchedUpdates(s,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(l(t)||d("41"),i){var u=o(t);if(E.canReuseMarkup(e,u))return void v.precacheNode(n,u);var s=u.getAttribute(E.CHECKSUM_ATTR_NAME);u.removeAttribute(E.CHECKSUM_ATTR_NAME);var c=u.outerHTML;u.setAttribute(E.CHECKSUM_ATTR_NAME,s);var f=e,p=r(f,c),g=" (client) "+f.substring(p-20,p+20)+"\n (server) "+c.substring(p-20,p+20);t.nodeType===N&&d("42",g)}if(t.nodeType===N&&d("43"),a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else A(t,e),v.precacheNode(n,t.firstChild)}};e.exports=z},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(169);e.exports=r},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return a});var r=n(1),o=n.n(r),i=o.a.shape({trySubscribe:o.a.func.isRequired,tryUnsubscribe:o.a.func.isRequired,notifyNestedSubs:o.a.func.isRequired,isSubscribed:o.a.func.isRequired}),a=o.a.shape({subscribe:o.a.func.isRequired,dispatch:o.a.func.isRequired,getState:o.a.func.isRequired})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(){}function s(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function c(e){var t,n,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=c.getDisplayName,p=void 0===l?function(e){return"ConnectAdvanced("+e+")"}:l,_=c.methodName,x=void 0===_?"connectAdvanced":_,w=c.renderCountProp,E=void 0===w?void 0:w,C=c.shouldHandleStateChanges,S=void 0===C||C,O=c.storeKey,T=void 0===O?"store":O,P=c.withRef,A=void 0!==P&&P,k=a(c,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),R=T+"Subscription",M=v++,j=(t={},t[T]=y.a,t[R]=y.b,t),N=(n={},n[R]=y.b,n);return function(t){d.a("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",a=p(n),c=m({},k,{getDisplayName:p,methodName:x,renderCountProp:E,shouldHandleStateChanges:S,storeKey:T,withRef:A,displayName:a,wrappedComponentName:n,WrappedComponent:t}),l=function(n){function l(e,t){r(this,l);var i=o(this,n.call(this,e,t));return i.version=M,i.state={},i.renderCount=0,i.store=e[T]||t[T],i.propsMode=Boolean(e[T]),i.setWrappedInstance=i.setWrappedInstance.bind(i),d.a(i.store,'Could not find "'+T+'" in either the context or props of "'+a+'". Either wrap the root component in a , or explicitly pass "'+T+'" as a prop to "'+a+'".'),i.initSelector(),i.initSubscription(),i}return i(l,n),l.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[R]=t||this.context[R],e},l.prototype.componentDidMount=function(){S&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},l.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},l.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},l.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=u,this.store=null,this.selector.run=u,this.selector.shouldComponentUpdate=!1},l.prototype.getWrappedInstance=function(){return d.a(A,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+x+"() call."),this.wrappedInstance},l.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},l.prototype.initSelector=function(){var t=e(this.store.dispatch,c);this.selector=s(t,this.store),this.selector.run(this.props)},l.prototype.initSubscription=function(){if(S){var e=(this.propsMode?this.props:this.context)[R];this.subscription=new g.a(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},l.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(b)):this.notifyNestedSubs()},l.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},l.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},l.prototype.addExtraProps=function(e){if(!(A||E||this.propsMode&&this.subscription))return e;var t=m({},e);return A&&(t.ref=this.setWrappedInstance),E&&(t[E]=this.renderCount++),this.propsMode&&this.subscription&&(t[R]=this.subscription),t},l.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return h.createElement(t,this.addExtraProps(e.props))},l}(h.Component);return l.WrappedComponent=t,l.displayName=a,l.childContextTypes=N,l.contextTypes=j,l.propTypes=j,f.a(l,t)}}t.a=c;var l=n(180),f=n.n(l),p=n(17),d=n.n(p),h=n(0),g=(n.n(h),n(364)),y=n(178),m=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1];return e.__id__||t&&(e.__id__=S++)}function d(e){return e.map(function(e){return O[p(e)]}).filter(function(e){return e})}function h(e,n){c.a(t,e,function(t,r){if(null==r)return void n();C=l({},r,{location:e});for(var o=d(i.a(b,C).leaveRoutes),a=void 0,u=0,s=o.length;null==a&&u=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return 0===e.button}function i(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function a(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function u(e,t){return"function"==typeof e?e(t.location):e}var s=n(0),c=n.n(s),l=n(20),f=n.n(l),p=n(1),d=(n.n(p),n(17)),h=n.n(d),g=n(122),y=n(121),m=Object.assign||function(e){for(var t=1;t=0;r--){var o=e[r],i=o.path||"";if(n=i.replace(/\/*$/,"/")+n,0===i.indexOf("/"))break}return"/"+n}},propTypes:{path:i.string,from:i.string,to:i.string.isRequired,query:i.object,state:i.object,onEnter:l.c,children:l.c},render:function(){u.a(!1)}});t.a=f},function(e,t,n){"use strict";function r(e){var t=c.a(e),n=function(){return t};return i.a(u.a(n))(e)}t.a=r;var o=n(193),i=n.n(o),a=n(194),u=n.n(a),s=n(402),c=n.n(s)},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t1?t-1:0),o=1;o1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,r=t.payload;return n===i?o({},e,{locationBeforeTransitions:r}):e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,P.default)(e))throw new Error("Normalize accepts an object or an array as its input.");if(!(0,P.default)(t)||Array.isArray(t))throw new Error("Normalize accepts an object for schema.");var r={};return{entities:r,result:d(p(e,t,r,n))}}Object.defineProperty(t,"__esModule",{value:!0}),t.Schema=void 0;var v=Object.assign||function(e){for(var t=1;tp))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var g=-1,y=!0,m=n&s?new o:void 0;for(l.set(e,t),l.set(t,e);++g-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){"use strict";var r=n(506).default;n(513),t=e.exports=r,t.default=t},function(e,t,n){"use strict";function r(e){var t,n,r,i,a=Array.prototype.slice.call(arguments,1);for(t=0,n=a.length;t-1)return!1;if(r.filterOption)return r.filterOption.call(o,e,t);if(!t)return!0;var a=String(e[r.valueKey]),u=String(e[r.labelKey]);return r.ignoreAccents&&("label"!==r.matchProp&&(a=(0,i.default)(a)),"value"!==r.matchProp&&(u=(0,i.default)(u))),r.ignoreCase&&("label"!==r.matchProp&&(a=a.toLowerCase()),"value"!==r.matchProp&&(u=u.toLowerCase())),"start"===r.matchPos?"label"!==r.matchProp&&a.substr(0,t.length)===t||"value"!==r.matchProp&&u.substr(0,t.length)===t:"label"!==r.matchProp&&a.indexOf(t)>=0||"value"!==r.matchProp&&u.indexOf(t)>=0})}var o=n(216),i=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=r},function(e,t,n){"use strict";var r=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];e.exports=function(e){for(var t=0;t-1,g=e===t,y=(0,a.default)(i,{"Select-option":!0,"is-selected":l,"is-focused":g,"is-disabled":e.disabled});return s.default.createElement(h,{className:y,instancePrefix:n,isDisabled:e.disabled,isFocused:g,isSelected:l,key:"option-"+u+"-"+e[p],onFocus:r,onSelect:o,option:e,optionIndex:u,ref:function(e){d(e,g)}},c(e,u))})}var i=n(89),a=r(i),u=n(0),s=r(u);e.exports=o},function(e,t,n){"use strict";var r=n(90),o=n(547),i=n(548),a=n(219),u=n(220),s=n(221),c=n(551),l=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];t.a=function(e){function t(e){function t(e){var t,i,a,u=_,p=x;if("c"===b)p=w(e)+p,e="";else{e=+e;var g=e<0;if(e=w(Math.abs(e),v),g&&0==+e&&(g=!1),u=(g?"("===o?o:"-":"-"===o||"("===o?"":o)+u,p=p+("s"===b?l[8+s.b/3]:"")+(g&&"("===o?")":""),E)for(t=-1,i=e.length;++t(a=e.charCodeAt(t))||a>57){p=(46===a?d+e.slice(t+1):e.slice(t))+p,e=e.slice(0,t);break}}m&&!c&&(e=f(e,1/0));var C=u.length+e.length+p.length,S=C>1)+u+e+p+S.slice(C);break;default:e=S+u+e+p}return h(e)}e=a.a(e);var n=e.fill,r=e.align,o=e.sign,i=e.symbol,c=e.zero,y=e.width,m=e.comma,v=e.precision,b=e.type,_="$"===i?p[0]:"#"===i&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===i?p[1]:/[%p]/.test(b)?g:"",w=u.a[b],E=!b||/[defgprs%]/.test(b);return v=null==v?b?6:12:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),t.toString=function(){return e+""},t}function n(e,n){var o=t((e=a.a(e),e.type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor(r.a(n)/3))),u=Math.pow(10,-i),s=l[8+i/3];return function(e){return o(u*e)+s}}var f=e.grouping&&e.thousands?o.a(e.grouping,e.thousands):c.a,p=e.currency,d=e.decimal,h=e.numerals?i.a(e.numerals):c.a,g=e.percent||"%";return{format:t,formatPrefix:n}}},function(e,t,n){"use strict";function r(e){return new o(e)}function o(e){if(!(t=a.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",o=t[3]||"-",u=t[4]||"",s=!!t[5],c=t[6]&&+t[6],l=!!t[7],f=t[8]&&+t[8].slice(1),p=t[9]||"";"n"===p?(l=!0,p="g"):i.a[p]||(p=""),(s||"0"===n&&"="===r)&&(s=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=u,this.zero=s,this.width=c,this.comma=l,this.precision=f,this.type=p}t.a=r;var i=n(220),a=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;r.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},function(e,t,n){"use strict";var r=n(549),o=n(221),i=n(550);t.a={"":r.a,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return i.a(100*e,t)},r:i.a,s:o.a,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},function(e,t,n){"use strict";n.d(t,"b",function(){return r});var r,o=n(131);t.a=function(e,t){var n=o.a(e,t);if(!n)return e+"";var i=n[0],a=n[1],u=a-(r=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,s=i.length;return u===s?i:u>s?i+new Array(u-s+1).join("0"):u>0?i.slice(0,u)+"."+i.slice(u):"0."+new Array(1-u).join("0")+o.a(e,Math.max(0,t+u-1))[0]}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(1),c=n.n(s),l=function(){function e(e,t){for(var n=0;nt?1:e>=t?0:NaN}function s(e){return null===e?NaN:+e}function c(e){return!isNaN(e)}function l(e){return{left:function(t,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=t.length);r>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=t.length);r>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}function f(e){return e.length}function p(e){for(var t=1;e*t%1;)t*=10;return t}function d(e,t){for(var n in t)Object.defineProperty(e.prototype,n,{value:t[n],enumerable:!1})}function h(){this._=Object.create(null)}function g(e){return(e+="")===Ca||e[0]===Sa?Sa+e:e}function y(e){return(e+="")[0]===Sa?e.slice(1):e}function m(e){return g(e)in this._}function v(e){return(e=g(e))in this._&&delete this._[e]}function b(){var e=[];for(var t in this._)e.push(y(t));return e}function _(){var e=0;for(var t in this._)++e;return e}function x(){for(var e in this._)return!1;return!0}function w(){this._=Object.create(null)}function E(e){return e}function C(e,t,n){return function(){var r=n.apply(t,arguments);return r===t?e:r}}function S(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var n=0,r=Oa.length;n=t&&(t=o+1);!(a=u[t])&&++t0&&(e=e.slice(0,u));var c=Da.get(e);return c&&(e=c,s=J),u?t?o:r:t?O:i}function Q(e,t){return function(n){var r=da.event;da.event=n,t[0]=this.__data__;try{e.apply(this,t)}finally{da.event=r}}}function J(e,t){var n=Q(e,t);return function(e){var t=this,r=e.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||n.call(t,e)}}function ee(e){var t=".dragsuppress-"+ ++Fa,n="click"+t,r=da.select(a(e)).on("touchmove"+t,A).on("dragstart"+t,A).on("selectstart"+t,A);if(null==Ia&&(Ia=!("onselectstart"in e)&&S(e.style,"userSelect")),Ia){var o=i(e).style,u=o[Ia];o[Ia]="none"}return function(e){if(r.on(t,null),Ia&&(o[Ia]=u),e){var i=function(){r.on(n,null)};r.on(n,function(){A(),i()},!0),setTimeout(i,0)}}}function te(e,t){t.changedTouches&&(t=t.changedTouches[0]);var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();if(za<0){var o=a(e);if(o.scrollX||o.scrollY){n=da.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var i=n[0][0].getScreenCTM();za=!(i.f||i.e),n.remove()}}return za?(r.x=t.pageX,r.y=t.pageY):(r.x=t.clientX,r.y=t.clientY),r=r.matrixTransform(e.getScreenCTM().inverse()),[r.x,r.y]}var u=e.getBoundingClientRect();return[t.clientX-u.left-e.clientLeft,t.clientY-u.top-e.clientTop]}function ne(){return da.event.changedTouches[0].identifier}function re(e){return e>0?1:e<0?-1:0}function oe(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}function ie(e){return e>1?0:e<-1?Ga:Math.acos(e)}function ae(e){return e>1?Ha:e<-1?-Ha:Math.asin(e)}function ue(e){return((e=Math.exp(e))-1/e)/2}function se(e){return((e=Math.exp(e))+1/e)/2}function ce(e){return((e=Math.exp(2*e))-1)/(e+1)}function le(e){return(e=Math.sin(e/2))*e}function fe(){}function pe(e,t,n){return this instanceof pe?(this.h=+e,this.s=+t,void(this.l=+n)):arguments.length<2?e instanceof pe?new pe(e.h,e.s,e.l):Oe(""+e,Te,pe):new pe(e,t,n)}function de(e,t,n){function r(e){return e>360?e-=360:e<0&&(e+=360),e<60?i+(a-i)*e/60:e<180?a:e<240?i+(a-i)*(240-e)/60:i}function o(e){return Math.round(255*r(e))}var i,a;return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)?0:t<0?0:t>1?1:t,n=n<0?0:n>1?1:n,a=n<=.5?n*(1+t):n+t-n*t,i=2*n-a,new we(o(e+120),o(e),o(e-120))}function he(e,t,n){return this instanceof he?(this.h=+e,this.c=+t,void(this.l=+n)):arguments.length<2?e instanceof he?new he(e.h,e.c,e.l):e instanceof ye?ve(e.l,e.a,e.b):ve((e=Pe((e=da.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new he(e,t,n)}function ge(e,t,n){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new ye(n,Math.cos(e*=Za)*t,Math.sin(e)*t)}function ye(e,t,n){return this instanceof ye?(this.l=+e,this.a=+t,void(this.b=+n)):arguments.length<2?e instanceof ye?new ye(e.l,e.a,e.b):e instanceof he?ge(e.h,e.c,e.l):Pe((e=we(e)).r,e.g,e.b):new ye(e,t,n)}function me(e,t,n){var r=(e+16)/116,o=r+t/500,i=r-n/200;return o=be(o)*tu,r=be(r)*nu,i=be(i)*ru,new we(xe(3.2404542*o-1.5371385*r-.4985314*i),xe(-.969266*o+1.8760108*r+.041556*i),xe(.0556434*o-.2040259*r+1.0572252*i))}function ve(e,t,n){return e>0?new he(Math.atan2(n,t)*Wa,Math.sqrt(t*t+n*n),e):new he(NaN,NaN,e)}function be(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function _e(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function xe(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function we(e,t,n){return this instanceof we?(this.r=~~e,this.g=~~t,void(this.b=~~n)):arguments.length<2?e instanceof we?new we(e.r,e.g,e.b):Oe(""+e,we,de):new we(e,t,n)}function Ee(e){return new we(e>>16,e>>8&255,255&e)}function Ce(e){return Ee(e)+""}function Se(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function Oe(e,t,n){var r,o,i,a=0,u=0,s=0;if(r=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(o=r[2].split(","),r[1]){case"hsl":return n(parseFloat(o[0]),parseFloat(o[1])/100,parseFloat(o[2])/100);case"rgb":return t(ke(o[0]),ke(o[1]),ke(o[2]))}return(i=au.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(a=(3840&i)>>4,a|=a>>4,u=240&i,u|=u>>4,s=15&i,s|=s<<4):7===e.length&&(a=(16711680&i)>>16,u=(65280&i)>>8,s=255&i)),t(a,u,s))}function Te(e,t,n){var r,o,i=Math.min(e/=255,t/=255,n/=255),a=Math.max(e,t,n),u=a-i,s=(a+i)/2;return u?(o=s<.5?u/(a+i):u/(2-a-i),r=e==a?(t-n)/u+(t0&&s<1?0:r),new pe(r,o,s)}function Pe(e,t,n){e=Ae(e),t=Ae(t),n=Ae(n);var r=_e((.4124564*e+.3575761*t+.1804375*n)/tu),o=_e((.2126729*e+.7151522*t+.072175*n)/nu);return ye(116*o-16,500*(r-o),200*(o-_e((.0193339*e+.119192*t+.9503041*n)/ru)))}function Ae(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function ke(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}function Re(e){return"function"==typeof e?e:function(){return e}}function Me(e){return function(t,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=null),je(t,n,e,r)}}function je(e,t,n,r){function o(){var e,t=s.status;if(!t&&Le(s)||t>=200&&t<300||304===t){try{e=n.call(i,s)}catch(e){return void a.error.call(i,e)}a.load.call(i,e)}else a.error.call(i,s)}var i={},a=da.dispatch("beforesend","progress","load","error"),u={},s=new XMLHttpRequest,c=null;return!this.XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(e)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=o:s.onreadystatechange=function(){s.readyState>3&&o()},s.onprogress=function(e){var t=da.event;da.event=e;try{a.progress.call(i,s)}finally{da.event=t}},i.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?u[e]:(null==t?delete u[e]:u[e]=t+"",i)},i.mimeType=function(e){return arguments.length?(t=null==e?null:e+"",i):t},i.responseType=function(e){return arguments.length?(c=e,i):c},i.response=function(e){return n=e,i},["get","post"].forEach(function(e){i[e]=function(){return i.send.apply(i,[e].concat(ga(arguments)))}}),i.send=function(n,r,o){if(2===arguments.length&&"function"==typeof r&&(o=r,r=null),s.open(n,e,!0),null==t||"accept"in u||(u.accept=t+",*/*"),s.setRequestHeader)for(var l in u)s.setRequestHeader(l,u[l]);return null!=t&&s.overrideMimeType&&s.overrideMimeType(t),null!=c&&(s.responseType=c),null!=o&&i.on("error",o).on("load",function(e){o(null,e)}),a.beforesend.call(i,s),s.send(null==r?null:r),i},i.abort=function(){return s.abort(),i},da.rebind(i,a,"on"),null==r?i:i.get(Ne(r))}function Ne(e){return 1===e.length?function(t,n){e(null==t?n:null)}:e}function Le(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}function De(e,t,n){var r=arguments.length;r<2&&(t=0),r<3&&(n=Date.now());var o=n+t,i={c:e,t:o,n:null};return su?su.n=i:uu=i,su=i,cu||(lu=clearTimeout(lu),cu=1,fu(Ie)),i}function Ie(){var e=Fe(),t=ze()-e;t>24?(isFinite(t)&&(clearTimeout(lu),lu=setTimeout(Ie,t)),cu=0):(cu=1,fu(Ie))}function Fe(){for(var e=Date.now(),t=uu;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function ze(){for(var e,t=uu,n=1/0;t;)t.c?(t.t8?function(e){return e/n}:function(e){return e*n},symbol:e}}function Ge(e){var t=e.decimal,n=e.thousands,r=e.grouping,o=e.currency,i=r&&n?function(e,t){for(var o=e.length,i=[],a=0,u=r[0],s=0;o>0&&u>0&&(s+u+1>t&&(u=Math.max(1,t-s)),i.push(e.substring(o-=u,o+u)),!((s+=u+1)>t));)u=r[a=(a+1)%r.length];return i.reverse().join(n)}:E;return function(e){var n=du.exec(e),r=n[1]||" ",a=n[2]||">",u=n[3]||"-",s=n[4]||"",c=n[5],l=+n[6],f=n[7],p=n[8],d=n[9],h=1,g="",y="",m=!1,v=!0;switch(p&&(p=+p.substring(1)),(c||"0"===r&&"="===a)&&(c=r="0",a="="),d){case"n":f=!0,d="g";break;case"%":h=100,y="%",d="f";break;case"p":h=100,y="%",d="r";break;case"b":case"o":case"x":case"X":"#"===s&&(g="0"+d.toLowerCase());case"c":v=!1;case"d":m=!0,p=0;break;case"s":h=-1,d="r"}"$"===s&&(g=o[0],y=o[1]),"r"!=d||p||(d="g"),null!=p&&("g"==d?p=Math.max(1,Math.min(21,p)):"e"!=d&&"f"!=d||(p=Math.max(0,Math.min(20,p)))),d=hu.get(d)||qe;var b=c&&f;return function(e){var n=y;if(m&&e%1)return"";var o=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===u?"":u;if(h<0){var s=da.formatPrefix(e,p);e=s.scale(e),n=s.symbol+y}else e*=h;e=d(e,p);var _,x,w=e.lastIndexOf(".");if(w<0){var E=v?e.lastIndexOf("e"):-1;E<0?(_=e,x=""):(_=e.substring(0,E),x=e.substring(E))}else _=e.substring(0,w),x=t+e.substring(w+1);!c&&f&&(_=i(_,1/0));var C=g.length+_.length+x.length+(b?0:o.length),S=C"===a?S+o+e:"^"===a?S.substring(0,C>>=1)+o+e+S.substring(C):o+(b?e:S+e))+n}}}function qe(e){return e+""}function Be(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function He(e,t,n){function r(t){var n=e(t),r=i(n,1);return t-n1)for(;a=c)return-1;if(37===(o=t.charCodeAt(u++))){if(a=t.charAt(u++),!(i=A[a in vu?t.charAt(u++):a])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function r(e,t,n){w.lastIndex=0;var r=w.exec(t.slice(n));return r?(e.w=E.get(r[0].toLowerCase()),n+r[0].length):-1}function o(e,t,n){_.lastIndex=0;var r=_.exec(t.slice(n));return r?(e.w=x.get(r[0].toLowerCase()),n+r[0].length):-1}function i(e,t,n){O.lastIndex=0;var r=O.exec(t.slice(n));return r?(e.m=T.get(r[0].toLowerCase()),n+r[0].length):-1}function a(e,t,n){C.lastIndex=0;var r=C.exec(t.slice(n));return r?(e.m=S.get(r[0].toLowerCase()),n+r[0].length):-1}function u(e,t,r){return n(e,P.c.toString(),t,r)}function s(e,t,r){return n(e,P.x.toString(),t,r)}function c(e,t,r){return n(e,P.X.toString(),t,r)}function l(e,t,n){var r=b.get(t.slice(n,n+=2).toLowerCase());return null==r?-1:(e.p=r,n)}var f=e.dateTime,p=e.date,d=e.time,h=e.periods,g=e.days,y=e.shortDays,m=e.months,v=e.shortMonths;t.utc=function(e){function n(e){try{yu=Be;var t=new yu;return t._=e,r(t)}finally{yu=Date}}var r=t(e);return n.parse=function(e){try{yu=Be;var t=r.parse(e);return t&&t._}finally{yu=Date}},n.toString=r.toString,n},t.multi=t.utc.multi=dt;var b=da.map(),_=Xe(g),x=Ke(g),w=Xe(y),E=Ke(y),C=Xe(m),S=Ke(m),O=Xe(v),T=Ke(v);h.forEach(function(e,t){b.set(e.toLowerCase(),t)});var P={a:function(e){return y[e.getDay()]},A:function(e){return g[e.getDay()]},b:function(e){return v[e.getMonth()]},B:function(e){return m[e.getMonth()]},c:t(f),d:function(e,t){return Ye(e.getDate(),t,2)},e:function(e,t){return Ye(e.getDate(),t,2)},H:function(e,t){return Ye(e.getHours(),t,2)},I:function(e,t){return Ye(e.getHours()%12||12,t,2)},j:function(e,t){return Ye(1+gu.dayOfYear(e),t,3)},L:function(e,t){return Ye(e.getMilliseconds(),t,3)},m:function(e,t){return Ye(e.getMonth()+1,t,2)},M:function(e,t){return Ye(e.getMinutes(),t,2)},p:function(e){return h[+(e.getHours()>=12)]},S:function(e,t){return Ye(e.getSeconds(),t,2)},U:function(e,t){return Ye(gu.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Ye(gu.mondayOfYear(e),t,2)},x:t(p),X:t(d),y:function(e,t){return Ye(e.getFullYear()%100,t,2)},Y:function(e,t){return Ye(e.getFullYear()%1e4,t,4)},Z:ft,"%":function(){return"%"}},A={a:r,A:o,b:i,B:a,c:u,d:it,e:it,H:ut,I:ut,j:at,L:lt,m:ot,M:st,p:l,S:ct,U:Qe,w:$e,W:Je,x:s,X:c,y:tt,Y:et,Z:nt,"%":pt};return t}function Ye(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i68?1900:2e3)}function ot(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function it(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function at(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+3));return r?(e.j=+r[0],n+r[0].length):-1}function ut(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function st(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function ct(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function lt(e,t,n){bu.lastIndex=0;var r=bu.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ft(e){var t=e.getTimezoneOffset(),n=t>0?"-":"+",r=Ea(t)/60|0,o=Ea(t)%60;return n+Ye(r,"0",2)+Ye(o,"0",2)}function pt(e,t,n){_u.lastIndex=0;var r=_u.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function dt(e){for(var t=e.length,n=-1;++n=0?1:-1,u=a*n,s=Math.cos(t),c=Math.sin(t),l=i*c,f=o*s+l*Math.cos(u),p=l*a*Math.sin(u);Ou.add(Math.atan2(p,f)),r=e,o=s,i=c}var t,n,r,o,i;Tu.point=function(a,u){Tu.point=e,r=(t=a)*Za,o=Math.cos(u=(n=u)*Za/2+Ga/4),i=Math.sin(u)},Tu.lineEnd=function(){e(t,n)}}function _t(e){var t=e[0],n=e[1],r=Math.cos(n);return[r*Math.cos(t),r*Math.sin(t),Math.sin(n)]}function xt(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function wt(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Et(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Ct(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function St(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Ot(e){return[Math.atan2(e[1],e[0]),ae(e[2])]}function Tt(e,t){return Ea(e[0]-t[0])=0;--u)o.point((f=l[u])[0],f[1])}else r(d.x,d.p.x,-1,o);d=d.p}d=d.o,l=d.z,h=!h}while(!d.v);o.lineEnd()}}}function Dt(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r0){for(x||(i.polygonStart(),x=!0),i.lineStart();++a1&&2&t&&n.push(n.pop().concat(n.shift())),d.push(n.filter(zt))}var d,h,g,y=t(i),m=o.invert(r[0],r[1]),v={point:a,lineStart:s,lineEnd:c,polygonStart:function(){v.point=l,v.lineStart=f,v.lineEnd=p,d=[],h=[]},polygonEnd:function(){v.point=a,v.lineStart=s,v.lineEnd=c,d=da.merge(d);var e=Ht(m,h);d.length?(x||(i.polygonStart(),x=!0),Lt(d,Ut,e,n,i)):e&&(x||(i.polygonStart(),x=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),x&&(i.polygonEnd(),x=!1),d=h=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}},b=Vt(),_=t(b),x=!1;return v}}function zt(e){return e.length>1}function Vt(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,n){e.push([t,n])},lineEnd:O,buffer:function(){var n=t;return t=[],e=null,n},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Ut(e,t){return((e=e.x)[0]<0?e[1]-Ha-Va:Ha-e[1])-((t=t.x)[0]<0?t[1]-Ha-Va:Ha-t[1])}function Gt(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,a){var u=i>0?Ga:-Ga,s=Ea(i-n);Ea(s-Ga)0?Ha:-Ha),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(u,r),e.point(i,r),t=0):o!==u&&s>=Ga&&(Ea(n-o)Va?Math.atan((Math.sin(t)*(i=Math.cos(r))*Math.sin(n)-Math.sin(r)*(o=Math.cos(t))*Math.sin(e))/(o*i*a)):(t+r)/2}function Bt(e,t,n,r){var o;if(null==e)o=n*Ha,r.point(-Ga,o),r.point(0,o),r.point(Ga,o),r.point(Ga,0),r.point(Ga,-o),r.point(0,-o),r.point(-Ga,-o),r.point(-Ga,0),r.point(-Ga,o);else if(Ea(e[0]-t[0])>Va){var i=e[0]=0?1:-1,E=w*x,C=E>Ga,S=h*b;if(Ou.add(Math.atan2(S*w*Math.sin(E),g*_+S*Math.cos(E))),i+=C?x+w*qa:x,C^p>=n^m>=n){var O=wt(_t(f),_t(e));St(O);var T=wt(o,O);St(T);var P=(C^x>=0?-1:1)*ae(T[2]);(r>P||r===P&&(O[0]||O[1]))&&(a+=C^x>=0?1:-1)}if(!y++)break;p=m,h=b,g=_,f=e}}return(i<-Va||ii}function n(e){var n,i,s,c,l;return{lineStart:function(){c=s=!1,l=1},point:function(f,p){var d,h=[f,p],g=t(f,p),y=a?g?0:o(f,p):g?o(f+(f<0?Ga:-Ga),p):0;if(!n&&(c=s=g)&&e.lineStart(),g!==s&&(d=r(n,h),(Tt(n,d)||Tt(h,d))&&(h[0]+=Va,h[1]+=Va,g=t(h[0],h[1]))),g!==s)l=0,g?(e.lineStart(),d=r(h,n),e.point(d[0],d[1])):(d=r(n,h),e.point(d[0],d[1]),e.lineEnd()),n=d;else if(u&&n&&a^g){var m;y&i||!(m=r(h,n,!0))||(l=0,a?(e.lineStart(),e.point(m[0][0],m[0][1]),e.point(m[1][0],m[1][1]),e.lineEnd()):(e.point(m[1][0],m[1][1]),e.lineEnd(),e.lineStart(),e.point(m[0][0],m[0][1])))}!g||n&&Tt(n,h)||e.point(h[0],h[1]),n=h,s=g,i=y},lineEnd:function(){s&&e.lineEnd(),n=null},clean:function(){return l|(c&&s)<<1}}}function r(e,t,n){var r=_t(e),o=_t(t),a=[1,0,0],u=wt(r,o),s=xt(u,u),c=u[0],l=s-c*c;if(!l)return!n&&e;var f=i*s/l,p=-i*c/l,d=wt(a,u),h=Ct(a,f);Et(h,Ct(u,p));var g=d,y=xt(h,g),m=xt(g,g),v=y*y-m*(xt(h,h)-1);if(!(v<0)){var b=Math.sqrt(v),_=Ct(g,(-y-b)/m);if(Et(_,h),_=Ot(_),!n)return _;var x,w=e[0],E=t[0],C=e[1],S=t[1];E0^_[1]<(Ea(_[0]-w)Ga^(w<=_[0]&&_[0]<=E)){var A=Ct(g,(-y+b)/m);return Et(A,h),[_,Ot(A)]}}}function o(t,n){var r=a?e:Ga-e,o=0;return t<-r?o|=1:t>r&&(o|=2),n<-r?o|=4:n>r&&(o|=8),o}var i=Math.cos(e),a=i>0,u=Ea(i)>Va;return Ft(t,n,_n(e,6*Za),a?[0,-e]:[-Ga,e-Ga])}function Wt(e,t,n,r){return function(o){var i,a=o.a,u=o.b,s=a.x,c=a.y,l=u.x,f=u.y,p=0,d=1,h=l-s,g=f-c;if(i=e-s,h||!(i>0)){if(i/=h,h<0){if(i0){if(i>d)return;i>p&&(p=i)}if(i=n-s,h||!(i<0)){if(i/=h,h<0){if(i>d)return;i>p&&(p=i)}else if(h>0){if(i0)){if(i/=g,g<0){if(i0){if(i>d)return;i>p&&(p=i)}if(i=r-c,g||!(i<0)){if(i/=g,g<0){if(i>d)return;i>p&&(p=i)}else if(g>0){if(i0&&(o.a={x:s+p*h,y:c+p*g}),d<1&&(o.b={x:s+d*h,y:c+d*g}),o}}}}}}function Yt(e,t,n,r){function o(r,o){return Ea(r[0]-e)0?0:3:Ea(r[0]-n)0?2:1:Ea(r[1]-t)0?1:0:o>0?3:2}function i(e,t){return a(e.x,t.x)}function a(e,t){var n=o(e,1),r=o(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(u){function s(e){for(var t=0,n=y.length,r=e[1],o=0;or&&oe(c,i,e)>0&&++t:i[1]<=r&&oe(c,i,e)<0&&--t,c=i;return 0!==t}function c(i,u,s,c){var l=0,f=0;if(null==i||(l=o(i,s))!==(f=o(u,s))||a(i,u)<0^s>0)do{c.point(0===l||3===l?e:n,l>1?r:t)}while((l=(l+s+4)%4)!==f);else c.point(u[0],u[1])}function l(o,i){return e<=o&&o<=n&&t<=i&&i<=r}function f(e,t){l(e,t)&&u.point(e,t)}function p(){A.point=h,y&&y.push(m=[]),C=!0,E=!1,x=w=NaN}function d(){g&&(h(v,b),_&&E&&T.rejoin(),g.push(T.buffer())),A.point=f,E&&u.lineEnd()}function h(e,t){e=Math.max(-Uu,Math.min(Uu,e)),t=Math.max(-Uu,Math.min(Uu,t));var n=l(e,t);if(y&&m.push([e,t]),C)v=e,b=t,_=n,C=!1,n&&(u.lineStart(),u.point(e,t));else if(n&&E)u.point(e,t);else{var r={a:{x:x,y:w},b:{x:e,y:t}};P(r)?(E||(u.lineStart(),u.point(r.a.x,r.a.y)),u.point(r.b.x,r.b.y),n||u.lineEnd(),S=!1):n&&(u.lineStart(),u.point(e,t),S=!1)}x=e,w=t,E=n}var g,y,m,v,b,_,x,w,E,C,S,O=u,T=Vt(),P=Wt(e,t,n,r),A={point:f,lineStart:p,lineEnd:d,polygonStart:function(){u=T,g=[],y=[],S=!0},polygonEnd:function(){u=O,g=da.merge(g);var t=s([e,r]),n=S&&t,o=g.length;(n||o)&&(u.polygonStart(),n&&(u.lineStart(),c(null,null,1,u),u.lineEnd()),o&&Lt(g,i,t,c,u),u.polygonEnd()),g=y=m=null}};return A}}function Xt(e){var t=0,n=Ga/3,r=pn(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*Ga/180,n=e[1]*Ga/180):[t/Ga*180,n/Ga*180]},o}function Kt(e,t){function n(e,t){var n=Math.sqrt(i-2*o*Math.sin(t))/o;return[n*Math.sin(e*=o),a-n*Math.cos(e)]}var r=Math.sin(e),o=(r+Math.sin(t))/2,i=1+r*(2*o-r),a=Math.sqrt(i)/o;return n.invert=function(e,t){var n=a-t;return[Math.atan2(e,n)/o,ae((i-(e*e+n*n)*o*o)/(2*o))]},n}function $t(){function e(e,t){qu+=o*e-r*t,r=e,o=t}var t,n,r,o;Yu.point=function(i,a){Yu.point=e,t=r=i,n=o=a},Yu.lineEnd=function(){e(t,n)}}function Qt(e,t){eZu&&(Zu=e),tWu&&(Wu=t)}function Jt(){function e(e,t){a.push("M",e,",",t,i)}function t(e,t){a.push("M",e,",",t),u.point=n}function n(e,t){a.push("L",e,",",t)}function r(){u.point=e}function o(){a.push("Z")}var i=en(4.5),a=[],u={point:e,lineStart:function(){u.point=t},lineEnd:r,polygonStart:function(){u.lineEnd=o},polygonEnd:function(){u.lineEnd=r,u.point=e},pointRadius:function(e){return i=en(e),u},result:function(){if(a.length){var e=a.join("");return a=[],e}}};return u}function en(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function tn(e,t){ku+=e,Ru+=t,++Mu}function nn(){function e(e,r){var o=e-t,i=r-n,a=Math.sqrt(o*o+i*i);ju+=a*(t+e)/2,Nu+=a*(n+r)/2,Lu+=a,tn(t=e,n=r)}var t,n;Ku.point=function(r,o){Ku.point=e,tn(t=r,n=o)}}function rn(){Ku.point=tn}function on(){function e(e,t){var n=e-r,i=t-o,a=Math.sqrt(n*n+i*i);ju+=a*(r+e)/2,Nu+=a*(o+t)/2,Lu+=a,a=o*e-r*t,Du+=a*(r+e),Iu+=a*(o+t),Fu+=3*a,tn(r=e,o=t)}var t,n,r,o;Ku.point=function(i,a){Ku.point=e,tn(t=r=i,n=o=a)},Ku.lineEnd=function(){e(t,n)}}function an(e){function t(t,n){e.moveTo(t+a,n),e.arc(t,n,a,0,qa)}function n(t,n){e.moveTo(t,n),u.point=r}function r(t,n){e.lineTo(t,n)}function o(){u.point=t}function i(){e.closePath()}var a=4.5,u={point:t,lineStart:function(){u.point=n},lineEnd:o,polygonStart:function(){u.lineEnd=i},polygonEnd:function(){u.lineEnd=o,u.point=t},pointRadius:function(e){return a=e,u},result:O};return u}function un(e){function t(e){return(u?r:n)(e)}function n(t){return ln(t,function(n,r){n=e(n,r),t.point(n[0],n[1])})}function r(t){function n(n,r){n=e(n,r),t.point(n[0],n[1])}function r(){b=NaN,C.point=i,t.lineStart()}function i(n,r){var i=_t([n,r]),a=e(n,r);o(b,_,v,x,w,E,b=a[0],_=a[1],v=n,x=i[0],w=i[1],E=i[2],u,t),t.point(b,_)}function a(){C.point=n,t.lineEnd()}function s(){r(),C.point=c,C.lineEnd=l}function c(e,t){i(f=e,p=t),d=b,h=_,g=x,y=w,m=E,C.point=i}function l(){o(b,_,v,x,w,E,d,h,f,g,y,m,u,t),C.lineEnd=a,a()}var f,p,d,h,g,y,m,v,b,_,x,w,E,C={point:n,lineStart:r,lineEnd:a,polygonStart:function(){t.polygonStart(),C.lineStart=s},polygonEnd:function(){t.polygonEnd(),C.lineStart=r}};return C}function o(t,n,r,u,s,c,l,f,p,d,h,g,y,m){var v=l-t,b=f-n,_=v*v+b*b;if(_>4*i&&y--){var x=u+d,w=s+h,E=c+g,C=Math.sqrt(x*x+w*w+E*E),S=Math.asin(E/=C),O=Ea(Ea(E)-1)i||Ea((v*k+b*R)/_-.5)>.3||u*d+s*h+c*g0&&16,t):Math.sqrt(i)},t}function sn(e){var t=un(function(t,n){return e([t*Wa,n*Wa])});return function(e){return dn(t(e))}}function cn(e){this.stream=e}function ln(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function fn(e){return pn(function(){return e})()}function pn(e){function t(e){return e=u(e[0]*Za,e[1]*Za),[e[0]*p+s,c-e[1]*p]}function n(e){return(e=u.invert((e[0]-s)/p,(c-e[1])/p))&&[e[0]*Wa,e[1]*Wa]}function r(){u=jt(a=yn(m,v,b),i);var e=i(g,y);return s=d-e[0]*p,c=h+e[1]*p,o()}function o(){return l&&(l.valid=!1,l=null),t}var i,a,u,s,c,l,f=un(function(e,t){return e=i(e,t),[e[0]*p+s,c-e[1]*p]}),p=150,d=480,h=250,g=0,y=0,m=0,v=0,b=0,_=Vu,x=E,w=null,C=null;return t.stream=function(e){return l&&(l.valid=!1),l=dn(_(a,f(x(e)))),l.valid=!0,l},t.clipAngle=function(e){return arguments.length?(_=null==e?(w=e,Vu):Zt((w=+e)*Za),o()):w},t.clipExtent=function(e){return arguments.length?(C=e,x=e?Yt(e[0][0],e[0][1],e[1][0],e[1][1]):E,o()):C},t.scale=function(e){return arguments.length?(p=+e,r()):p},t.translate=function(e){return arguments.length?(d=+e[0],h=+e[1],r()):[d,h]},t.center=function(e){return arguments.length?(g=e[0]%360*Za,y=e[1]%360*Za,r()):[g*Wa,y*Wa]},t.rotate=function(e){return arguments.length?(m=e[0]%360*Za,v=e[1]%360*Za,b=e.length>2?e[2]%360*Za:0,r()):[m*Wa,v*Wa,b*Wa]},da.rebind(t,f,"precision"),function(){return i=e.apply(this,arguments),t.invert=i.invert&&n,r()}}function dn(e){return ln(e,function(t,n){e.point(t*Za,n*Za)})}function hn(e,t){return[e,t]}function gn(e,t){return[e>Ga?e-qa:e<-Ga?e+qa:e,t]}function yn(e,t,n){return e?t||n?jt(vn(e),bn(t,n)):vn(e):t||n?bn(t,n):gn}function mn(e){return function(t,n){return t+=e,[t>Ga?t-qa:t<-Ga?t+qa:t,n]}}function vn(e){var t=mn(e);return t.invert=mn(-e),t}function bn(e,t){function n(e,t){var n=Math.cos(t),u=Math.cos(e)*n,s=Math.sin(e)*n,c=Math.sin(t),l=c*r+u*o;return[Math.atan2(s*i-l*a,u*r-c*o),ae(l*i+s*a)]}var r=Math.cos(e),o=Math.sin(e),i=Math.cos(t),a=Math.sin(t);return n.invert=function(e,t){var n=Math.cos(t),u=Math.cos(e)*n,s=Math.sin(e)*n,c=Math.sin(t),l=c*i-s*a;return[Math.atan2(s*i+c*a,u*r+l*o),ae(l*r-u*o)]},n}function _n(e,t){var n=Math.cos(e),r=Math.sin(e);return function(o,i,a,u){var s=a*t;null!=o?(o=xn(n,o),i=xn(n,i),(a>0?oi)&&(o+=a*qa)):(o=e+a*qa,i=e-.5*s);for(var c,l=o;a>0?l>i:l0?t<-Ha+Va&&(t=-Ha+Va):t>Ha-Va&&(t=Ha-Va);var n=a/Math.pow(o(t),i);return[n*Math.sin(i*e),a-n*Math.cos(i*e)]}var r=Math.cos(e),o=function(e){return Math.tan(Ga/4+e/2)},i=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(o(t)/o(e)),a=r*Math.pow(o(e),i)/i;return i?(n.invert=function(e,t){var n=a-t,r=re(i)*Math.sqrt(e*e+n*n);return[Math.atan2(e,n)/i,2*Math.atan(Math.pow(a/r,1/i))-Ha]},n):Rn}function kn(e,t){function n(e,t){var n=i-t;return[n*Math.sin(o*e),i-n*Math.cos(o*e)]}var r=Math.cos(e),o=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),i=r/o+e;return Ea(o)1&&oe(e[n[r-2]],e[n[r-1]],e[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function In(e,t){return e[0]-t[0]||e[1]-t[1]}function Fn(e,t,n){return(n[0]-t[0])*(e[1]-t[1])<(n[1]-t[1])*(e[0]-t[0])}function zn(e,t,n,r){var o=e[0],i=n[0],a=t[0]-o,u=r[0]-i,s=e[1],c=n[1],l=t[1]-s,f=r[1]-c,p=(u*(s-c)-f*(o-i))/(f*a-u*l);return[o+p*a,s+p*l]}function Vn(e){var t=e[0],n=e[e.length-1];return!(t[0]-n[0]||t[1]-n[1])}function Un(){sr(this),this.edge=this.site=this.circle=null}function Gn(e){var t=ls.pop()||new Un;return t.site=e,t}function qn(e){Jn(e),us.remove(e),ls.push(e),sr(e)}function Bn(e){var t=e.circle,n=t.x,r=t.cy,o={x:n,y:r},i=e.P,a=e.N,u=[e];qn(e);for(var s=i;s.circle&&Ea(n-s.circle.x)Va)u=u.L;else{if(!((o=i-Wn(u,a))>Va)){r>-Va?(t=u.P,n=u):o>-Va?(t=u,n=u.N):t=n=u;break}if(!u.R){t=u;break}u=u.R}var s=Gn(e);if(us.insert(t,s),t||n){if(t===n)return Jn(t),n=Gn(t.site),us.insert(s,n),s.edge=n.edge=rr(t.site,s.site),Qn(t),void Qn(n);if(!n)return void(s.edge=rr(t.site,s.site));Jn(t),Jn(n);var c=t.site,l=c.x,f=c.y,p=e.x-l,d=e.y-f,h=n.site,g=h.x-l,y=h.y-f,m=2*(p*y-d*g),v=p*p+d*d,b=g*g+y*y,_={x:(y*v-d*b)/m+l,y:(p*b-g*v)/m+f};ir(n.edge,c,h,_),s.edge=rr(c,e,null,_),n.edge=rr(e,h,null,_),Qn(t),Qn(n)}}function Zn(e,t){var n=e.site,r=n.x,o=n.y,i=o-t;if(!i)return r;var a=e.P;if(!a)return-1/0;n=a.site;var u=n.x,s=n.y,c=s-t;if(!c)return u;var l=u-r,f=1/i-1/c,p=l/c;return f?(-p+Math.sqrt(p*p-2*f*(l*l/(-2*c)-s+c/2+o-i/2)))/f+r:(r+u)/2}function Wn(e,t){var n=e.N;if(n)return Zn(n,t);var r=e.site;return r.y===t?r.x:1/0}function Yn(e){this.site=e,this.edges=[]}function Xn(e){for(var t,n,r,o,i,a,u,s,c,l,f=e[0][0],p=e[1][0],d=e[0][1],h=e[1][1],g=as,y=g.length;y--;)if((i=g[y])&&i.prepare())for(u=i.edges,s=u.length,a=0;aVa||Ea(o-n)>Va)&&(u.splice(a,0,new ar(or(i.site,l,Ea(r-f)Va?{x:f,y:Ea(t-f)Va?{x:Ea(n-h)Va?{x:p,y:Ea(t-p)Va?{x:Ea(n-d)=-Ua)){var d=s*s+c*c,h=l*l+f*f,g=(f*d-c*h)/p,y=(s*h-l*d)/p,f=y+u,m=fs.pop()||new $n;m.arc=e,m.site=o,m.x=g+a,m.y=f+Math.sqrt(g*g+y*y),m.cy=f,e.circle=m;for(var v=null,b=cs._;b;)if(m.y=u)return;if(p>h){if(i){if(i.y>=c)return}else i={x:y,y:s};n={x:y,y:c}}else{if(i){if(i.y1)if(p>h){if(i){if(i.y>=c)return}else i={x:(s-o)/r,y:s};n={x:(c-o)/r,y:c}}else{if(i){if(i.y=u)return}else i={x:a,y:r*a+o};n={x:u,y:r*u+o}}else{if(i){if(i.xi||f>a||p=_,E=n>=x,C=E<<1|w,S=C+4;Ci&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:wr(n,r)})),i=hs.lastIndex;return i=0&&!(n=da.interpolators[r](e,t)););return n}function Sr(e,t){var n,r=[],o=[],i=e.length,a=t.length,u=Math.min(e.length,t.length);for(n=0;n=1?1:e(t)}}function Tr(e){return function(t){return 1-e(1-t)}}function Pr(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function Ar(e){return e*e}function kr(e){return e*e*e}function Rr(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,n=t*e;return 4*(e<.5?n:3*(e-t)+n-.75)}function Mr(e){return function(t){return Math.pow(t,e)}}function jr(e){return 1-Math.cos(e*Ha)}function Nr(e){return Math.pow(2,10*(e-1))}function Lr(e){return 1-Math.sqrt(1-e*e)}function Dr(e,t){var n;return arguments.length<2&&(t=.45),arguments.length?n=t/qa*Math.asin(1/e):(e=1,n=t/4),function(r){return 1+e*Math.pow(2,-10*r)*Math.sin((r-n)*qa/t)}}function Ir(e){return e||(e=1.70158),function(t){return t*t*((e+1)*t-e)}}function Fr(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function zr(e,t){e=da.hcl(e),t=da.hcl(t);var n=e.h,r=e.c,o=e.l,i=t.h-n,a=t.c-r,u=t.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?t.c:r),isNaN(i)?(i=0,n=isNaN(n)?t.h:n):i>180?i-=360:i<-180&&(i+=360),function(e){return ge(n+i*e,r+a*e,o+u*e)+""}}function Vr(e,t){e=da.hsl(e),t=da.hsl(t);var n=e.h,r=e.s,o=e.l,i=t.h-n,a=t.s-r,u=t.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?t.s:r),isNaN(i)?(i=0,n=isNaN(n)?t.h:n):i>180?i-=360:i<-180&&(i+=360),function(e){return de(n+i*e,r+a*e,o+u*e)+""}}function Ur(e,t){e=da.lab(e),t=da.lab(t);var n=e.l,r=e.a,o=e.b,i=t.l-n,a=t.a-r,u=t.b-o;return function(e){return me(n+i*e,r+a*e,o+u*e)+""}}function Gr(e,t){return t-=e,function(n){return Math.round(e+t*n)}}function qr(e){var t=[e.a,e.b],n=[e.c,e.d],r=Hr(t),o=Br(t,n),i=Hr(Zr(n,t,-o))||0;t[0]*n[1]180?t+=360:t-e>180&&(e+=360),r.push({i:n.push(Wr(n)+"rotate(",null,")")-2,x:wr(e,t)})):t&&n.push(Wr(n)+"rotate("+t+")")}function Kr(e,t,n,r){e!==t?r.push({i:n.push(Wr(n)+"skewX(",null,")")-2,x:wr(e,t)}):t&&n.push(Wr(n)+"skewX("+t+")")}function $r(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var o=n.push(Wr(n)+"scale(",null,",",null,")");r.push({i:o-4,x:wr(e[0],t[0])},{i:o-2,x:wr(e[1],t[1])})}else 1===t[0]&&1===t[1]||n.push(Wr(n)+"scale("+t+")")}function Qr(e,t){var n=[],r=[];return e=da.transform(e),t=da.transform(t),Yr(e.translate,t.translate,n,r),Xr(e.rotate,t.rotate,n,r),Kr(e.skew,t.skew,n,r),$r(e.scale,t.scale,n,r),e=t=null,function(e){for(var t,o=-1,i=r.length;++o=0;)n.push(o[r])}function fo(e,t){for(var n=[e],r=[];null!=(e=n.pop());)if(r.push(e),(i=e.children)&&(o=i.length))for(var o,i,a=-1;++ao&&(r=n,o=t);return r}function Eo(e){return e.reduce(Co,0)}function Co(e,t){return e+t[1]}function So(e,t){return Oo(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function Oo(e,t){for(var n=-1,r=+e[0],o=(e[1]-r)/t,i=[];++n<=t;)i[n]=o*n+r;return i}function To(e){return[da.min(e),da.max(e)]}function Po(e,t){return e.value-t.value}function Ao(e,t){var n=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=n,n._pack_prev=t}function ko(e,t){e._pack_next=t,t._pack_prev=e}function Ro(e,t){var n=t.x-e.x,r=t.y-e.y,o=e.r+t.r;return.999*o*o>n*n+r*r}function Mo(e){function t(e){l=Math.min(e.x-e.r,l),f=Math.max(e.x+e.r,f),p=Math.min(e.y-e.r,p),d=Math.max(e.y+e.r,d)}if((n=e.children)&&(c=n.length)){var n,r,o,i,a,u,s,c,l=1/0,f=-1/0,p=1/0,d=-1/0;if(n.forEach(jo),r=n[0],r.x=-r.r,r.y=0,t(r),c>1&&(o=n[1],o.x=o.r,o.y=0,t(o),c>2))for(i=n[2],Do(r,o,i),t(i),Ao(r,i),r._pack_prev=i,Ao(i,o),o=r._pack_next,a=3;a=0;)t=o[i],t.z+=n,t.m+=n,n+=t.s+(r+=t.c)}function Go(e,t,n){return e.a.parent===t.parent?e.a:n}function qo(e){return 1+da.max(e,function(e){return e.y})}function Bo(e){return e.reduce(function(e,t){return e+t.x},0)/e.length}function Ho(e){var t=e.children;return t&&t.length?Ho(t[0]):e}function Zo(e){var t,n=e.children;return n&&(t=n.length)?Zo(n[t-1]):e}function Wo(e){return{x:e.x,y:e.y,dx:e.dx,dy:e.dy}}function Yo(e,t){var n=e.x+t[3],r=e.y+t[0],o=e.dx-t[1]-t[3],i=e.dy-t[0]-t[2];return o<0&&(n+=o/2,o=0),i<0&&(r+=i/2,i=0),{x:n,y:r,dx:o,dy:i}}function Xo(e){var t=e[0],n=e[e.length-1];return t2?ei:$o,s=r?eo:Jr;return a=o(e,t,s,n),u=o(t,e,s,Cr),i}function i(e){return a(e)}var a,u;return i.invert=function(e){return u(e)},i.domain=function(t){return arguments.length?(e=t.map(Number),o()):e},i.range=function(e){return arguments.length?(t=e,o()):t},i.rangeRound=function(e){return i.range(e).interpolate(Gr)},i.clamp=function(e){return arguments.length?(r=e,o()):r},i.interpolate=function(e){return arguments.length?(n=e,o()):n},i.ticks=function(t){return ii(e,t)},i.tickFormat=function(t,n){return ai(e,t,n)},i.nice=function(t){return ri(e,t),o()},i.copy=function(){return ti(e,t,n,r)},o()}function ni(e,t){return da.rebind(e,t,"range","rangeRound","interpolate","clamp")}function ri(e,t){return Qo(e,Jo(oi(e,t)[2])),Qo(e,Jo(oi(e,t)[2])),e}function oi(e,t){null==t&&(t=10);var n=Xo(e),r=n[1]-n[0],o=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),i=t/r*o;return i<=.15?o*=10:i<=.35?o*=5:i<=.75&&(o*=2),n[0]=Math.ceil(n[0]/o)*o,n[1]=Math.floor(n[1]/o)*o+.5*o,n[2]=o,n}function ii(e,t){return da.range.apply(da,oi(e,t))}function ai(e,t,n){var r=oi(e,t);if(n){var o=du.exec(n);if(o.shift(),"s"===o[8]){var i=da.formatPrefix(Math.max(Ea(r[0]),Ea(r[1])));return o[7]||(o[7]="."+ui(i.scale(r[2]))),o[8]="f",n=da.format(o.join("")),function(e){return n(i.scale(e))+i.symbol}}o[7]||(o[7]="."+si(o[8],r)),n=o.join("")}else n=",."+ui(r[2])+"f";return da.format(n)}function ui(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function si(e,t){var n=ui(t[2]);return e in Os?Math.abs(n-ui(Math.max(Ea(t[0]),Ea(t[1]))))+ +("e"!==e):n-2*("%"===e)}function ci(e,t,n,r){function o(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(t)}function i(e){return n?Math.pow(t,e):-Math.pow(t,-e)}function a(t){return e(o(t))}return a.invert=function(t){return i(e.invert(t))},a.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((r=t.map(Number)).map(o)),a):r},a.base=function(n){return arguments.length?(t=+n,e.domain(r.map(o)),a):t},a.nice=function(){var t=Qo(r.map(o),n?Math:Ps);return e.domain(t),r=t.map(i),a},a.ticks=function(){var e=Xo(r),a=[],u=e[0],s=e[1],c=Math.floor(o(u)),l=Math.ceil(o(s)),f=t%1?2:t;if(isFinite(l-c)){if(n){for(;c0;p--)a.push(i(c)*p);for(c=0;a[c]s;l--);a=a.slice(c,l)}return a},a.tickFormat=function(e,n){if(!arguments.length)return Ts;arguments.length<2?n=Ts:"function"!=typeof n&&(n=da.format(n));var r=Math.max(1,t*e/a.ticks().length);return function(e){var a=e/i(Math.round(o(e)));return a*t0?o[n-1]:e[0],n0?0:1}function Ci(e,t,n,r,o){var i=e[0]-t[0],a=e[1]-t[1],u=(o?r:-r)/Math.sqrt(i*i+a*a),s=u*a,c=-u*i,l=e[0]+s,f=e[1]+c,p=t[0]+s,d=t[1]+c,h=(l+p)/2,g=(f+d)/2,y=p-l,m=d-f,v=y*y+m*m,b=n-r,_=l*d-p*f,x=(m<0?-1:1)*Math.sqrt(Math.max(0,b*b*v-_*_)),w=(_*m-y*x)/v,E=(-_*y-m*x)/v,C=(_*m+y*x)/v,S=(-_*y+m*x)/v,O=w-h,T=E-g,P=C-h,A=S-g;return O*O+T*T>P*P+A*A&&(w=C,E=S),[[w-s,E-c],[w*n/b,E*n/b]]}function Si(e){function t(t){function a(){c.push("M",i(e(l),u))}for(var s,c=[],l=[],f=-1,p=t.length,d=Re(n),h=Re(r);++f1?e.join("L"):e+"Z"}function Ti(e){return e.join("L")+"Z"}function Pi(e){for(var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];++t1&&o.push("H",r[0]),o.join("")}function Ai(e){for(var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];++t1){u=t[1],i=e[s],s++,r+="C"+(o[0]+a[0])+","+(o[1]+a[1])+","+(i[0]-u[0])+","+(i[1]-u[1])+","+i[0]+","+i[1];for(var c=2;c9&&(o=3*t/Math.sqrt(o),a[u]=o*n,a[u+1]=o*r));for(u=-1;++u<=s;)o=(e[Math.min(s,u+1)][0]-e[Math.max(0,u-1)][0])/(6*(1+a[u]*a[u])),i.push([o||0,a[u]*o||0]);return i}function Hi(e){return e.length<3?Oi(e):e[0]+Ni(e,Bi(e))}function Zi(e){for(var t,n,r,o=-1,i=e.length;++o0;)p[--u].call(e,a);if(i>=1)return g.event&&g.event.end.call(e,e.__data__,t),--d.count?delete d[r]:delete e[n],1}var s,c,l,f,p,d=e[n]||(e[n]={active:0,count:0}),g=d[r];g||(s=o.time,c=De(i,0,s),g=d[r]={tween:new h,time:s,timer:c,delay:o.delay,duration:o.duration,ease:o.ease,index:t},o=null,++d.count)}function aa(e,t,n){e.attr("transform",function(e){var r=t(e);return"translate("+(isFinite(r)?r:n(e))+",0)"})}function ua(e,t,n){e.attr("transform",function(e){var r=t(e);return"translate(0,"+(isFinite(r)?r:n(e))+")"})}function sa(e){return e.toISOString()}function ca(e,t,n){function r(t){return e(t)}function o(e,n){var r=e[1]-e[0],o=r/n,i=da.bisect(Js,o);return i==Js.length?[t.year,oi(e.map(function(e){return e/31536e6}),n)[2]]:i?t[o/Js[i-1]1?{floor:function(t){for(;n(t=e.floor(t));)t=la(t-1);return t},ceil:function(t){for(;n(t=e.ceil(t));)t=la(+t+1);return t}}:e))},r.ticks=function(e,t){var n=Xo(r.domain()),i=null==e?o(n,10):"number"==typeof e?o(n,e):!e.range&&[{range:e},t];return i&&(e=i[0],t=i[1]),e.range(n[0],la(+n[1]+1),t<1?1:t)},r.tickFormat=function(){return n},r.copy=function(){return ca(e.copy(),t,n)},ni(r,e)}function la(e){return new Date(e)}function fa(e){return JSON.parse(e.responseText)}function pa(e){var t=ya.createRange();return t.selectNode(ya.body),t.createContextualFragment(e.responseText)}var da={version:"3.5.17"},ha=[].slice,ga=function(e){return ha.call(e)},ya=this.document;if(ya)try{ga(ya.documentElement.childNodes)[0].nodeType}catch(e){ga=function(e){for(var t=e.length,n=new Array(t);t--;)n[t]=e[t];return n}}if(Date.now||(Date.now=function(){return+new Date}),ya)try{ya.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var ma=this.Element.prototype,va=ma.setAttribute,ba=ma.setAttributeNS,_a=this.CSSStyleDeclaration.prototype,xa=_a.setProperty;ma.setAttribute=function(e,t){va.call(this,e,t+"")},ma.setAttributeNS=function(e,t,n){ba.call(this,e,t,n+"")},_a.setProperty=function(e,t,n){xa.call(this,e,t+"",n)}}da.ascending=u,da.descending=function(e,t){return te?1:t>=e?0:NaN},da.min=function(e,t){var n,r,o=-1,i=e.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++or&&(n=r)}else{for(;++o=r){n=r;break}for(;++or&&(n=r)}return n},da.max=function(e,t){var n,r,o=-1,i=e.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++on&&(n=r)}else{for(;++o=r){n=r;break}for(;++on&&(n=r)}return n},da.extent=function(e,t){var n,r,o,i=-1,a=e.length;if(1===arguments.length){for(;++i=r){n=o=r;break}for(;++ir&&(n=r),o=r){n=o=r;break}for(;++ir&&(n=r),o1)return a/(l-1)},da.deviation=function(){var e=da.variance.apply(this,arguments);return e?Math.sqrt(e):e};var wa=l(u);da.bisectLeft=wa.left,da.bisect=da.bisectRight=wa.right,da.bisector=function(e){return l(1===e.length?function(t,n){return u(e(t),n)}:e)},da.shuffle=function(e,t,n){(i=arguments.length)<3&&(n=e.length,i<2&&(t=0));for(var r,o,i=n-t;i;)o=Math.random()*i--|0,r=e[i+t],e[i+t]=e[o+t],e[o+t]=r;return e},da.permute=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},da.pairs=function(e){for(var t=0,n=e.length-1,r=e[0],o=new Array(n<0?0:n);t=0;)for(r=e[o],t=r.length;--t>=0;)n[--a]=r[t];return n};var Ea=Math.abs;da.range=function(e,t,n){if(arguments.length<3&&(n=1,arguments.length<2&&(t=e,e=0)),(t-e)/n==1/0)throw new Error("infinite range");var r,o=[],i=p(Ea(n)),a=-1;if(e*=i,t*=i,n*=i,n<0)for(;(r=e+n*++a)>t;)o.push(r/i);else for(;(r=e+n*++a)=i.length)return r?r.call(o,a):n?a.sort(n):a;for(var s,c,l,f,p=-1,d=a.length,g=i[u++],y=new h;++p=i.length)return e;var r=[],o=a[n++];return e.forEach(function(e,o){r.push({key:e,values:t(o,n)})}),o?r.sort(function(e,t){return o(e.key,t.key)}):r}var n,r,o={},i=[],a=[];return o.map=function(t,n){return e(n,t,0)},o.entries=function(n){return t(e(da.map,n,0),0)},o.key=function(e){return i.push(e),o},o.sortKeys=function(e){return a[i.length-1]=e,o},o.sortValues=function(e){return n=e,o},o.rollup=function(e){return r=e,o},o},da.set=function(e){var t=new w;if(e)for(var n=0,r=e.length;n=0&&(r=e.slice(n+1),e=e.slice(0,n)),e)return arguments.length<2?this[e].on(r):this[e].on(r,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(r,null);return this}},da.event=null,da.requote=function(e){return e.replace(Ta,"\\$&")};var Ta=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Pa={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)e[n]=t[n]},Aa=function(e,t){return t.querySelector(e)},ka=function(e,t){return t.querySelectorAll(e)},Ra=function(e,t){var n=e.matches||e[S(e,"matchesSelector")];return(Ra=function(e,t){return n.call(e,t)})(e,t)};"function"==typeof Sizzle&&(Aa=function(e,t){return Sizzle(e,t)[0]||null},ka=Sizzle,Ra=Sizzle.matchesSelector),da.selection=function(){return da.select(ya.documentElement)};var Ma=da.selection.prototype=[];Ma.select=function(e){var t,n,r,o,i=[];e=j(e);for(var a=-1,u=this.length;++a=0&&"xmlns"!==(n=e.slice(0,t))&&(e=e.slice(t+1)),Na.hasOwnProperty(n)?{space:Na[n],local:e}:e}},Ma.attr=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node();return e=da.ns.qualify(e),e.local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(t in e)this.each(L(t,e[t]));return this}return this.each(L(e,t))},Ma.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node(),r=(e=F(e)).length,o=-1;if(t=n.classList){for(;++o=0;)(n=r[o])&&(i&&i!==n.nextSibling&&i.parentNode.insertBefore(n,i),i=n);return this},Ma.sort=function(e){e=W.apply(this,arguments);for(var t=-1,n=this.length;++t0&&(t=t.transition().duration(T)),t.call(e.event)}function u(){x&&x.domain(_.range().map(function(e){return(e-C.x)/C.k}).map(_.invert)),E&&E.domain(w.range().map(function(e){return(e-C.y)/C.k}).map(w.invert))}function s(e){P++||e({type:"zoomstart"})}function c(e){u(),e({type:"zoom",scale:C.k,translate:[C.x,C.y]})}function l(e){--P||(e({type:"zoomend"}),y=null)}function f(){function e(){u=1,o(da.mouse(r),p),c(i)}function n(){f.on(M,null).on(j,null),d(u),l(i)}var r=this,i=L.of(r,arguments),u=0,f=da.select(a(r)).on(M,e).on(j,n),p=t(da.mouse(r)),d=ee(r);qs.call(r),s(i)}function p(){function e(){var e=da.touches(h);return d=C.k,e.forEach(function(e){e.identifier in y&&(y[e.identifier]=t(e))}),e}function n(){var t=da.event.target;da.select(t).on(_,a).on(x,u),w.push(t);for(var n=da.event.changedTouches,r=0,o=n.length;r1){var l=s[0],f=s[1],p=l[0]-f[0],d=l[1]-f[1];m=p*p+d*d}}function a(){var e,t,n,i,a=da.touches(h);qs.call(h);for(var u=0,s=a.length;u=c)return a;if(o)return o=!1,i;var t=l;if(34===e.charCodeAt(t)){for(var n=t;n++=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,hu=da.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,t){return(e=da.round(e,Ve(e,t))).toFixed(Math.max(0,Math.min(20,Ve(e*(1+1e-15),t))))}}),gu=da.time={},yu=Date;Be.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){mu.setUTCDate.apply(this._,arguments)},setDay:function(){mu.setUTCDay.apply(this._,arguments)},setFullYear:function(){mu.setUTCFullYear.apply(this._,arguments)},setHours:function(){mu.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){mu.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){mu.setUTCMinutes.apply(this._,arguments)},setMonth:function(){mu.setUTCMonth.apply(this._,arguments)},setSeconds:function(){mu.setUTCSeconds.apply(this._,arguments)},setTime:function(){mu.setTime.apply(this._,arguments)}};var mu=Date.prototype;gu.year=He(function(e){return e=gu.day(e),e.setMonth(0,1),e},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e){return e.getFullYear()}),gu.years=gu.year.range,gu.years.utc=gu.year.utc.range,gu.day=He(function(e){var t=new yu(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t},function(e,t){e.setDate(e.getDate()+t)},function(e){return e.getDate()-1}),gu.days=gu.day.range,gu.days.utc=gu.day.utc.range,gu.dayOfYear=function(e){var t=gu.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(e,t){t=7-t;var n=gu[e]=He(function(e){return(e=gu.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e},function(e,t){e.setDate(e.getDate()+7*Math.floor(t))},function(e){var n=gu.year(e).getDay();return Math.floor((gu.dayOfYear(e)+(n+t)%7)/7)-(n!==t)});gu[e+"s"]=n.range,gu[e+"s"].utc=n.utc.range,gu[e+"OfYear"]=function(e){var n=gu.year(e).getDay();return Math.floor((gu.dayOfYear(e)+(n+t)%7)/7)}}),gu.week=gu.sunday,gu.weeks=gu.sunday.range,gu.weeks.utc=gu.sunday.utc.range,gu.weekOfYear=gu.sundayOfYear;var vu={"-":"",_:" ",0:"0"},bu=/^\s*\d+/,_u=/^%/;da.locale=function(e){return{numberFormat:Ge(e),timeFormat:We(e)}};var xu=da.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],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"]});da.format=xu.numberFormat,da.geo={},ht.prototype={s:0,t:0,add:function(e){gt(e,this.t,wu),gt(wu.s,this.s,this),this.s?this.t+=wu.t:this.s=wu.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var wu=new ht;da.geo.stream=function(e,t){e&&Eu.hasOwnProperty(e.type)?Eu[e.type](e,t):yt(e,t)};var Eu={Feature:function(e,t){yt(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++rd&&(d=t)}function t(t,n){var r=_t([t*Za,n*Za]);if(m){var o=wt(m,r),i=[o[1],-o[0],0],a=wt(i,o);St(a),a=Ot(a);var s=t-h,c=s>0?1:-1,g=a[0]*Wa*c,y=Ea(s)>180;if(y^(c*hd&&(d=v)}else if(g=(g+360)%360-180,y^(c*hd&&(d=n);y?tu(l,p)&&(p=t):u(t,p)>u(l,p)&&(l=t):p>=l?(tp&&(p=t)):t>h?u(l,t)>u(l,p)&&(p=t):u(t,p)>u(l,p)&&(l=t)}else e(t,n);m=r,h=t}function n(){x.point=t}function r(){_[0]=l,_[1]=p,x.point=e,m=null}function o(e,n){if(m){var r=e-h;v+=Ea(r)>180?r+(r>0?360:-360):r}else g=e,y=n;Tu.point(e,n),t(e,n)}function i(){Tu.lineStart()}function a(){o(g,y),Tu.lineEnd(),Ea(v)>Va&&(l=-(p=180)),_[0]=l,_[1]=p,m=null}function u(e,t){return(t-=e)<0?t+360:t}function s(e,t){return e[0]-t[0]}function c(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:eVa?d=90:v<-Va&&(f=-90),_[0]=l,_[1]=p}};return function(e){d=p=-(l=f=1/0),b=[],da.geo.stream(e,x);var t=b.length;if(t){b.sort(s);for(var n,r=1,o=b[0],i=[o];ru(o[0],o[1])&&(o[1]=n[1]),u(n[0],o[1])>u(o[0],o[1])&&(o[0]=n[0])):i.push(o=n);for(var a,n,h=-1/0,t=i.length-1,r=0,o=i[t];r<=t;o=n,++r)n=i[r],(a=u(o[1],n[0]))>h&&(h=a,l=n[0],p=o[1])}return b=_=null,l===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[l,f],[p,d]]}}(),da.geo.centroid=function(e){Pu=Au=ku=Ru=Mu=ju=Nu=Lu=Du=Iu=Fu=0,da.geo.stream(e,zu);var t=Du,n=Iu,r=Fu,o=t*t+n*n+r*r;return o=.12&&o<.234&&r>=-.425&&r<-.214?a:o>=.166&&o<.234&&r>=-.214&&r<-.115?u:i).invert(e)},e.stream=function(e){var t=i.stream(e),n=a.stream(e),r=u.stream(e);return{point:function(e,o){t.point(e,o),n.point(e,o),r.point(e,o)},sphere:function(){t.sphere(),n.sphere(),r.sphere()},lineStart:function(){t.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},e.precision=function(t){return arguments.length?(i.precision(t),a.precision(t),u.precision(t),e):i.precision()},e.scale=function(t){return arguments.length?(i.scale(t),a.scale(.35*t),u.scale(t),e.translate(i.translate())):i.scale()},e.translate=function(t){if(!arguments.length)return i.translate();var c=i.scale(),l=+t[0],f=+t[1];return n=i.translate(t).clipExtent([[l-.455*c,f-.238*c],[l+.455*c,f+.238*c]]).stream(s).point,r=a.translate([l-.307*c,f+.201*c]).clipExtent([[l-.425*c+Va,f+.12*c+Va],[l-.214*c-Va,f+.234*c-Va]]).stream(s).point,o=u.translate([l-.205*c,f+.212*c]).clipExtent([[l-.214*c+Va,f+.166*c+Va],[l-.115*c-Va,f+.234*c-Va]]).stream(s).point,e},e.scale(1070)};var Gu,qu,Bu,Hu,Zu,Wu,Yu={point:O,lineStart:O,lineEnd:O,polygonStart:function(){qu=0,Yu.lineStart=$t},polygonEnd:function(){Yu.lineStart=Yu.lineEnd=Yu.point=O,Gu+=Ea(qu/2)}},Xu={point:Qt,lineStart:O,lineEnd:O,polygonStart:O,polygonEnd:O},Ku={point:tn,lineStart:nn,lineEnd:rn,polygonStart:function(){Ku.lineStart=on},polygonEnd:function(){Ku.point=tn,Ku.lineStart=nn,Ku.lineEnd=rn}};da.geo.path=function(){function e(e){return e&&("function"==typeof u&&i.pointRadius(+u.apply(this,arguments)),a&&a.valid||(a=o(i)),da.geo.stream(e,a)),i.result()}function t(){return a=null,e}var n,r,o,i,a,u=4.5;return e.area=function(e){return Gu=0,da.geo.stream(e,o(Yu)),Gu},e.centroid=function(e){return ku=Ru=Mu=ju=Nu=Lu=Du=Iu=Fu=0,da.geo.stream(e,o(Ku)),Fu?[Du/Fu,Iu/Fu]:Lu?[ju/Lu,Nu/Lu]:Mu?[ku/Mu,Ru/Mu]:[NaN,NaN]},e.bounds=function(e){return Zu=Wu=-(Bu=Hu=1/0),da.geo.stream(e,o(Xu)),[[Bu,Hu],[Zu,Wu]]},e.projection=function(e){return arguments.length?(o=(n=e)?e.stream||sn(e):E,t()):n},e.context=function(e){return arguments.length?(i=null==(r=e)?new Jt:new an(e),"function"!=typeof u&&i.pointRadius(u),t()):r},e.pointRadius=function(t){return arguments.length?(u="function"==typeof t?t:(i.pointRadius(+t),+t),e):u},e.projection(da.geo.albersUsa()).context(null)},da.geo.transform=function(e){return{stream:function(t){var n=new cn(t);for(var r in e)n[r]=e[r];return n}}},cn.prototype={point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},da.geo.projection=fn,da.geo.projectionMutator=pn,(da.geo.equirectangular=function(){return fn(hn)}).raw=hn.invert=hn,da.geo.rotation=function(e){function t(t){return t=e(t[0]*Za,t[1]*Za),t[0]*=Wa,t[1]*=Wa,t}return e=yn(e[0]%360*Za,e[1]*Za,e.length>2?e[2]*Za:0),t.invert=function(t){return t=e.invert(t[0]*Za,t[1]*Za),t[0]*=Wa,t[1]*=Wa,t},t},gn.invert=hn,da.geo.circle=function(){function e(){var e="function"==typeof r?r.apply(this,arguments):r,t=yn(-e[0]*Za,-e[1]*Za,0).invert,o=[];return n(null,null,1,{point:function(e,n){o.push(e=t(e,n)),e[0]*=Wa,e[1]*=Wa}}),{type:"Polygon",coordinates:[o]}}var t,n,r=[0,0],o=6;return e.origin=function(t){return arguments.length?(r=t,e):r},e.angle=function(r){return arguments.length?(n=_n((t=+r)*Za,o*Za),e):t},e.precision=function(r){return arguments.length?(n=_n(t*Za,(o=+r)*Za),e):o},e.angle(90)},da.geo.distance=function(e,t){var n,r=(t[0]-e[0])*Za,o=e[1]*Za,i=t[1]*Za,a=Math.sin(r),u=Math.cos(r),s=Math.sin(o),c=Math.cos(o),l=Math.sin(i),f=Math.cos(i);return Math.atan2(Math.sqrt((n=f*a)*n+(n=c*l-s*f*u)*n),s*l+c*f*u)},da.geo.graticule=function(){function e(){return{type:"MultiLineString",coordinates:t()}}function t(){return da.range(Math.ceil(i/y)*y,o,y).map(p).concat(da.range(Math.ceil(c/m)*m,s,m).map(d)).concat(da.range(Math.ceil(r/h)*h,n,h).filter(function(e){return Ea(e%y)>Va}).map(l)).concat(da.range(Math.ceil(u/g)*g,a,g).filter(function(e){return Ea(e%m)>Va}).map(f))}var n,r,o,i,a,u,s,c,l,f,p,d,h=10,g=h,y=90,m=360,v=2.5;return e.lines=function(){return t().map(function(e){return{type:"LineString",coordinates:e}})},e.outline=function(){return{type:"Polygon",coordinates:[p(i).concat(d(s).slice(1),p(o).reverse().slice(1),d(c).reverse().slice(1))]}},e.extent=function(t){return arguments.length?e.majorExtent(t).minorExtent(t):e.minorExtent()},e.majorExtent=function(t){return arguments.length?(i=+t[0][0],o=+t[1][0],c=+t[0][1],s=+t[1][1],i>o&&(t=i,i=o,o=t),c>s&&(t=c,c=s,s=t),e.precision(v)):[[i,c],[o,s]]},e.minorExtent=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],u=+t[0][1],a=+t[1][1],r>n&&(t=r,r=n,n=t),u>a&&(t=u,u=a,a=t),e.precision(v)):[[r,u],[n,a]]},e.step=function(t){return arguments.length?e.majorStep(t).minorStep(t):e.minorStep()},e.majorStep=function(t){return arguments.length?(y=+t[0],m=+t[1],e):[y,m]},e.minorStep=function(t){return arguments.length?(h=+t[0],g=+t[1],e):[h,g]},e.precision=function(t){return arguments.length?(v=+t,l=wn(u,a,90),f=En(r,n,v),p=wn(c,s,90),d=En(i,o,v),e):v},e.majorExtent([[-180,-90+Va],[180,90-Va]]).minorExtent([[-180,-80-Va],[180,80+Va]])},da.geo.greatArc=function(){function e(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),n||o.apply(this,arguments)]}}var t,n,r=Cn,o=Sn;return e.distance=function(){return da.geo.distance(t||r.apply(this,arguments),n||o.apply(this,arguments))},e.source=function(n){return arguments.length?(r=n,t="function"==typeof n?null:n,e):r},e.target=function(t){return arguments.length?(o=t,n="function"==typeof t?null:t,e):o},e.precision=function(){return arguments.length?e:0},e},da.geo.interpolate=function(e,t){return On(e[0]*Za,e[1]*Za,t[0]*Za,t[1]*Za)},da.geo.length=function(e){return $u=0,da.geo.stream(e,Qu),$u};var $u,Qu={sphere:O,point:O,lineStart:Tn,lineEnd:O,polygonStart:O,polygonEnd:O},Ju=Pn(function(e){return Math.sqrt(2/(1+e))},function(e){return 2*Math.asin(e/2)});(da.geo.azimuthalEqualArea=function(){return fn(Ju)}).raw=Ju;var es=Pn(function(e){var t=Math.acos(e);return t&&t/Math.sin(t)},E);(da.geo.azimuthalEquidistant=function(){return fn(es)}).raw=es,(da.geo.conicConformal=function(){return Xt(An)}).raw=An,(da.geo.conicEquidistant=function(){return Xt(kn)}).raw=kn;var ts=Pn(function(e){return 1/e},Math.atan);(da.geo.gnomonic=function(){return fn(ts)}).raw=ts,Rn.invert=function(e,t){return[e,2*Math.atan(Math.exp(t))-Ha]},(da.geo.mercator=function(){return Mn(Rn)}).raw=Rn;var ns=Pn(function(){return 1},Math.asin);(da.geo.orthographic=function(){return fn(ns)}).raw=ns;var rs=Pn(function(e){return 1/(1+e)},function(e){return 2*Math.atan(e)});(da.geo.stereographic=function(){return fn(rs)}).raw=rs,jn.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Ha]},(da.geo.transverseMercator=function(){var e=Mn(jn),t=e.center,n=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):(e=t(),[e[1],-e[0]])},e.rotate=function(e){return e?n([e[0],e[1],e.length>2?e[2]+90:90]):(e=n(),[e[0],e[1],e[2]-90])},n([0,0,90])}).raw=jn,da.geom={},da.geom.hull=function(e){function t(e){if(e.length<3)return[];var t,o=Re(n),i=Re(r),a=e.length,u=[],s=[];for(t=0;t=0;--t)d.push(e[u[c[t]][2]]);for(t=+f;t=r&&c.x<=i&&c.y>=o&&c.y<=a?[[r,a],[i,a],[i,o],[r,o]]:[]).point=e[u]}),t}function n(e){return e.map(function(e,t){return{x:Math.round(i(e,t)/Va)*Va,y:Math.round(a(e,t)/Va)*Va,i:t}})}var r=Nn,o=Ln,i=r,a=o,u=ps;return e?t(e):(t.links=function(e){return pr(n(e)).edges.filter(function(e){return e.l&&e.r}).map(function(t){return{source:e[t.l.i],target:e[t.r.i]}})},t.triangles=function(e){var t=[];return pr(n(e)).cells.forEach(function(n,r){for(var o,i=n.site,a=n.edges.sort(Kn),u=-1,s=a.length,c=a[s-1].edge,l=c.l===i?c.r:c.l;++u=c,p=r>=l,d=p<<1|f;e.leaf=!1,e=e.nodes[d]||(e.nodes[d]=mr()),f?o=c:u=c,p?a=l:s=l,i(e,t,n,r,o,a,u,s)}var l,f,p,d,h,g,y,m,v,b=Re(u),_=Re(s);if(null!=t)g=t,y=n,m=r,v=o;else if(m=v=-(g=y=1/0),f=[],p=[],h=e.length,a)for(d=0;dm&&(m=l.x),l.y>v&&(v=l.y),f.push(l.x),p.push(l.y);else for(d=0;dm&&(m=x),w>v&&(v=w),f.push(x),p.push(w)}var E=m-g,C=v-y;E>C?v=y+E:m=g+C;var S=mr();if(S.add=function(e){i(S,e,+b(e,++d),+_(e,d),g,y,m,v)},S.visit=function(e){vr(e,S,g,y,m,v)},S.find=function(e){return br(S,e[0],e[1],g,y,m,v)},d=-1,null==t){for(;++d=0?e.slice(0,t):e,r=t>=0?e.slice(t+1):"in";return n=ys.get(n)||gs,r=ms.get(r)||E,Or(r(n.apply(null,ha.call(arguments,1))))},da.interpolateHcl=zr,da.interpolateHsl=Vr,da.interpolateLab=Ur,da.interpolateRound=Gr,da.transform=function(e){var t=ya.createElementNS(da.ns.prefix.svg,"g");return(da.transform=function(e){if(null!=e){t.setAttribute("transform",e);var n=t.transform.baseVal.consolidate()}return new qr(n?n.matrix:vs)})(e)},qr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var vs={a:1,b:0,c:0,d:1,e:0,f:0};da.interpolateTransform=Qr,da.layout={},da.layout.bundle=function(){return function(e){for(var t=[],n=-1,r=e.length;++n0?o=e:(n.c=null,n.t=NaN,n=null,c.end({type:"end",alpha:o=0})):e>0&&(c.start({type:"start",alpha:o=e}),n=De(s.tick)),s):o},s.start=function(){function e(e,r){if(!n){for(n=new Array(o),s=0;s=0;)a.push(l=c[s]),l.parent=i,l.depth=i.depth+1;r&&(i.value=0),i.children=c}else r&&(i.value=+r.call(e,i,i.depth)||0),delete i.children;return fo(o,function(e){var n,o;t&&(n=e.children)&&n.sort(t),r&&(o=e.parent)&&(o.value+=e.value)}),u}var t=go,n=po,r=ho;return e.sort=function(n){return arguments.length?(t=n,e):t},e.children=function(t){return arguments.length?(n=t,e):n},e.value=function(t){return arguments.length?(r=t,e):r},e.revalue=function(t){return r&&(lo(t,function(e){e.children&&(e.value=0)}),fo(t,function(t){var n;t.children||(t.value=+r.call(e,t,t.depth)||0),(n=t.parent)&&(n.value+=t.value)})),t},e},da.layout.partition=function(){function e(t,n,r,o){var i=t.children;if(t.x=n,t.y=t.depth*o,t.dx=r,t.dy=o,i&&(a=i.length)){var a,u,s,c=-1;for(r=t.value?r/t.value:0;++cu&&(u=r),a.push(r)}for(n=0;n0)for(i=-1;++i=l[0]&&u<=l[1]&&(a=s[da.bisect(f,u,1,d)-1],a.y+=h,a.push(e[i]));return s}var t=!0,n=Number,r=To,o=So;return e.value=function(t){return arguments.length?(n=t,e):n},e.range=function(t){return arguments.length?(r=Re(t),e):r},e.bins=function(t){return arguments.length?(o="number"==typeof t?function(e){return Oo(e,t)}:Re(t),e):o},e.frequency=function(n){return arguments.length?(t=!!n,e):t},e},da.layout.pack=function(){function e(e,i){var a=n.call(this,e,i),u=a[0],s=o[0],c=o[1],l=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(u.x=u.y=0,fo(u,function(e){e.r=+l(e.value)}),fo(u,Mo),r){var f=r*(t?1:Math.max(2*u.r/s,2*u.r/c))/2;fo(u,function(e){e.r+=f}),fo(u,Mo),fo(u,function(e){e.r-=f})}return Lo(u,s/2,c/2,t?1:1/Math.max(2*u.r/s,2*u.r/c)),a}var t,n=da.layout.hierarchy().sort(Po),r=0,o=[1,1];return e.size=function(t){return arguments.length?(o=t,e):o},e.radius=function(n){return arguments.length?(t=null==n||"function"==typeof n?n:+n,e):t},e.padding=function(t){return arguments.length?(r=+t,e):r},co(e,n)},da.layout.tree=function(){function e(e,o){var l=a.call(this,e,o),f=l[0],p=t(f);if(fo(p,n),p.parent.m=-p.z,lo(p,r),c)lo(f,i);else{var d=f,h=f,g=f;lo(f,function(e){e.xh.x&&(h=e),e.depth>g.depth&&(g=e)});var y=u(d,h)/2-d.x,m=s[0]/(h.x+u(h,d)/2+y),v=s[1]/(g.depth||1);lo(f,function(e){e.x=(e.x+y)*m,e.y=e.depth*v})}return l}function t(e){for(var t,n={A:null,children:[e]},r=[n];null!=(t=r.pop());)for(var o,i=t.children,a=0,u=i.length;a0&&(Vo(Go(a,e,n),e,r),c+=r,l+=r),f+=a.m,c+=o.m,p+=s.m,l+=i.m;a&&!zo(i)&&(i.t=a,i.m+=f-l),o&&!Fo(s)&&(s.t=o,s.m+=c-p,n=e)}return n}function i(e){e.x*=s[0],e.y=e.depth*s[1]}var a=da.layout.hierarchy().sort(null).value(null),u=Io,s=[1,1],c=null;return e.separation=function(t){return arguments.length?(u=t,e):u},e.size=function(t){return arguments.length?(c=null==(s=t)?i:null,e):c?null:s},e.nodeSize=function(t){return arguments.length?(c=null==(s=t)?null:i,e):c?s:null},co(e,a)},da.layout.cluster=function(){function e(e,i){var a,u=t.call(this,e,i),s=u[0],c=0;fo(s,function(e){var t=e.children;t&&t.length?(e.x=Bo(t),e.y=qo(t)):(e.x=a?c+=n(e,a):0,e.y=0,a=e)});var l=Ho(s),f=Zo(s),p=l.x-n(l,f)/2,d=f.x+n(f,l)/2;return fo(s,o?function(e){e.x=(e.x-s.x)*r[0],e.y=(s.y-e.y)*r[1]}:function(e){e.x=(e.x-p)/(d-p)*r[0],e.y=(1-(s.y?e.y/s.y:1))*r[1]}),u}var t=da.layout.hierarchy().sort(null).value(null),n=Io,r=[1,1],o=!1;return e.separation=function(t){return arguments.length?(n=t,e):n},e.size=function(t){return arguments.length?(o=null==(r=t),e):o?null:r},e.nodeSize=function(t){return arguments.length?(o=null!=(r=t),e):o?r:null},co(e,t)},da.layout.treemap=function(){function e(e,t){for(var n,r,o=-1,i=e.length;++o0;)l.push(a=p[s-1]),l.area+=a.area,"squarify"!==d||(u=r(l,g))<=h?(p.pop(),h=u):(l.area-=l.pop().area,o(l,g,c,!1),g=Math.min(c.dx,c.dy),l.length=l.area=0,h=1/0);l.length&&(o(l,g,c,!0),l.length=l.area=0),i.forEach(t)}}function n(t){var r=t.children;if(r&&r.length){var i,a=f(t),u=r.slice(),s=[];for(e(u,a.dx*a.dy/t.value),s.area=0;i=u.pop();)s.push(i),s.area+=i.area,null!=i.z&&(o(s,i.z?a.dx:a.dy,a,!u.length),s.length=s.area=0);r.forEach(n)}}function r(e,t){for(var n,r=e.area,o=0,i=1/0,a=-1,u=e.length;++ao&&(o=n));return r*=r,t*=t,r?Math.max(t*o*h/r,r/(t*i*h)):1/0}function o(e,t,n,r){var o,i=-1,a=e.length,u=n.x,c=n.y,l=t?s(e.area/t):0;if(t==n.dx){for((r||l>n.dy)&&(l=n.dy);++in.dx)&&(l=n.dx);++i1);return e+t*n*Math.sqrt(-2*Math.log(o)/o)}},logNormal:function(){var e=da.random.normal.apply(da,arguments);return function(){return Math.exp(e())}},bates:function(e){var t=da.random.irwinHall(e);return function(){return t()/e}},irwinHall:function(e){return function(){for(var t=0,n=0;nf?0:1;if(c=Ba)return t(c,d)+(e?t(e,1-d):"")+"Z";var h,g,y,m,v,b,_,x,w,E,C,S,O=0,T=0,P=[];if((m=(+s.apply(this,arguments)||0)/2)&&(y=i===js?Math.sqrt(e*e+c*c):+i.apply(this,arguments),d||(T*=-1),c&&(T=ae(y/c*Math.sin(m))),e&&(O=ae(y/e*Math.sin(m)))),c){v=c*Math.cos(l+T),b=c*Math.sin(l+T),_=c*Math.cos(f-T),x=c*Math.sin(f-T);var A=Math.abs(f-l-2*T)<=Ga?0:1;if(T&&Ei(v,b,_,x)===d^A){var k=(l+f)/2;v=c*Math.cos(k),b=c*Math.sin(k),_=x=null}}else v=b=0;if(e){w=e*Math.cos(f-O),E=e*Math.sin(f-O),C=e*Math.cos(l+O),S=e*Math.sin(l+O);var R=Math.abs(l-f+2*O)<=Ga?0:1;if(O&&Ei(w,E,C,S)===1-d^R){var M=(l+f)/2;w=e*Math.cos(M),E=e*Math.sin(M),C=S=null}}else w=E=0;if(p>Va&&(h=Math.min(Math.abs(c-e)/2,+o.apply(this,arguments)))>.001){g=eGa)+",1 "+t}function o(e,t,n,r){return"Q 0,0 "+r}var i=Cn,a=Sn,u=Yi,s=_i,c=xi;return e.radius=function(t){return arguments.length?(u=Re(t),e):u},e.source=function(t){return arguments.length?(i=Re(t),e):i},e.target=function(t){return arguments.length?(a=Re(t),e):a},e.startAngle=function(t){return arguments.length?(s=Re(t),e):s},e.endAngle=function(t){return arguments.length?(c=Re(t),e):c},e},da.svg.diagonal=function(){function e(e,o){var i=t.call(this,e,o),a=n.call(this,e,o),u=(i.y+a.y)/2,s=[i,{x:i.x,y:u},{x:a.x,y:u},a];return s=s.map(r),"M"+s[0]+"C"+s[1]+" "+s[2]+" "+s[3]}var t=Cn,n=Sn,r=Xi;return e.source=function(n){return arguments.length?(t=Re(n),e):t},e.target=function(t){return arguments.length?(n=Re(t),e):n},e.projection=function(t){return arguments.length?(r=t,e):r},e},da.svg.diagonal.radial=function(){var e=da.svg.diagonal(),t=Xi,n=e.projection;return e.projection=function(e){return arguments.length?n(Ki(t=e)):t},e},da.svg.symbol=function(){function e(e,r){return(Fs.get(t.call(this,e,r))||Ji)(n.call(this,e,r))}var t=Qi,n=$i;return e.type=function(n){return arguments.length?(t=Re(n),e):t},e.size=function(t){return arguments.length?(n=Re(t),e):n},e};var Fs=da.map({circle:Ji,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Vs)),n=t*Vs;return"M0,"+-t+"L"+n+",0 0,"+t+" "+-n+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/zs),n=t*zs/2;return"M0,"+n+"L"+t+","+-n+" "+-t+","+-n+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/zs),n=t*zs/2;return"M0,"+-n+"L"+t+","+n+" "+-t+","+n+"Z"}});da.svg.symbolTypes=Fs.keys();var zs=Math.sqrt(3),Vs=Math.tan(30*Za);Ma.transition=function(e){for(var t,n,r=Us||++Hs,o=oa(e),i=[],a=Gs||{time:Date.now(),ease:Rr,delay:0,duration:250},u=-1,s=this.length;++urect,.s>rect").attr("width",f[1]-f[0])}function r(e){e.select(".extent").attr("y",p[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",p[1]-p[0])}function o(){function o(){32==da.event.keyCode&&(P||(b=null,R[0]-=f[1],R[1]-=p[1],P=2),A())}function g(){32==da.event.keyCode&&2==P&&(R[0]+=f[1],R[1]+=p[1],P=0,A())}function y(){var e=da.mouse(x),o=!1;_&&(e[0]+=_[0],e[1]+=_[1]),P||(da.event.altKey?(b||(b=[(f[0]+f[1])/2,(p[0]+p[1])/2]),R[0]=f[+(e[0]`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+r+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),a=new RegExp("^(?:"+r+"|"+o+")");e.exports.HTML_TAG_RE=i,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,o,i,a,u=e.pos,s=e.src.charCodeAt(u);if(t)return!1;if(126!==s)return!1;if(r=e.scanDelims(e.pos,!0),i=r.length,a=String.fromCharCode(s),i<2)return!1;for(i%2&&(o=e.push("text","",0),o.content=a,i--),n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=arguments[2],o=r(),i=document.createElement("style");return i.setAttribute("data-fela-type",e),i.type="text/css",t.length>0?(i.media=t,o.appendChild(i)):o.insertBefore(i,n),i}t.a=o},function(e,t,n){"use strict";function r(e,t,n){for(var r in e)n=t(n,e[r],r);return n}t.a=r},function(e,t,n){"use strict";function r(e){return e.replace(/\s{2,}/g,"")}t.a=r},function(e,t,n){"use strict";function r(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return e.plugins.length>0?o.a(e.plugins,function(t,o){return t=o(t,n,e,r)},t):t}t.a=r;var o=n(57)},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"e",function(){return a}),n.d(t,"a",function(){return u});var r="RULE",o="KEYFRAME",i="FONT",a="STATIC",u="CLEAR"},function(e,t,n){"use strict";var r=(n(700),n(701)),o=n(249);n(702);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return o.a})},function(e,t,n){"use strict";function r(e){var t=e.fontFaces+e.statics+e.keyframes+e.rules;return o.E(e.mediaRules,function(e,t,n){return e+o.n(n,t)},t)}t.a=r;var o=n(13)},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n3&&void 0!==arguments[3]?arguments[3]:i;if(0===t)return r(n,n,n);var o=e%360/60,a=(1-Math.abs(2*n-1))*t,u=a*(1-Math.abs(o%2-1)),s=0,c=0,l=0;o>=0&&o<1?(s=a,c=u):o>=1&&o<2?(s=u,c=a):o>=2&&o<3?(c=a,l=u):o>=3&&o<4?(c=u,l=a):o>=4&&o<5?(s=u,l=a):o>=5&&o<6&&(s=a,l=u);var f=n-a/2;return r(s+f,c+f,l+f)}function u(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return B[t]?"#"+B[t]:e}function s(e){if("string"!=typeof e)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");var t=u(e);if(t.match(H))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Z))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};var n=W.exec(t);if(n)return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10)};var r=Y.exec(t);if(r)return{red:parseInt(""+r[1],10),green:parseInt(""+r[2],10),blue:parseInt(""+r[3],10),alpha:parseFloat(""+r[4],10)};var o=X.exec(t);if(o){var i=parseInt(""+o[1],10),s=parseInt(""+o[2],10)/100,c=parseInt(""+o[3],10)/100,l="rgb("+a(i,s,c)+")",f=W.exec(l);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10)}}var p=K.exec(t);if(p){var d=parseInt(""+p[1],10),h=parseInt(""+p[2],10)/100,g=parseInt(""+p[3],10)/100,y="rgb("+a(d,h,g)+")",m=W.exec(y);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10),alpha:parseFloat(""+p[4],10)}}throw new Error("Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.")}function c(e){var t=e.red/255,n=e.green/255,r=e.blue/255,o=Math.max(t,n,r),i=Math.min(t,n,r),a=(o+i)/2;if(o===i)return void 0!==e.alpha?{hue:0,saturation:0,lightness:a,alpha:e.alpha}:{hue:0,saturation:0,lightness:a};var u=void 0,s=o-i,c=a>.5?s/(2-o-i):s/(o+i);switch(o){case t:u=(n-r)/s+(n=1?p(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"===(void 0===e?"undefined":U(e))&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?p(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new Error("Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).")}function h(e){return f(Math.round(255*e))}function g(e,t,n){return $("#"+h(e)+h(t)+h(n))}function y(e,t,n){return a(e,t,n,g)}function m(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return y(e,t,n);if("object"===(void 0===e?"undefined":U(e))&&void 0===t&&void 0===n)return y(e.hue,e.saturation,e.lightness);throw new Error("Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).")}function v(e,t,n,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?y(e,t,n):"rgba("+a(e,t,n)+","+r+")";if("object"===(void 0===e?"undefined":U(e))&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?y(e.hue,e.saturation,e.lightness):"rgba("+a(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Error("Passed invalid arguments to hsla, please pass multiple numbers e.g. hsl(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).")}function b(e){if(J(e))return d(e);if(Q(e))return p(e);if(te(e))return v(e);if(ee(e))return m(e);throw new Error("Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.")}function _(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):_(e,t,r)}}function x(e){return _(e,e.length,[])}function w(e,t){var n=l(t);return b(q({},n,{hue:(n.hue+e)%360}))}function E(e,t,n){return Math.max(e,Math.min(t,n))}function C(e,t){var n=l(t);return b(q({},n,{lightness:E(0,1,n.lightness-e)}))}function S(e,t){var n=l(t);return b(q({},n,{saturation:E(0,1,n.saturation-e)}))}function O(e,t){var n=l(t);return b(q({},n,{lightness:E(0,1,n.lightness+e)}))}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.5,t=arguments[1],n=arguments[2],r=s(t),o=q({},r,{alpha:"number"==typeof r.alpha?r.alpha:1}),i=s(n),a=q({},i,{alpha:"number"==typeof i.alpha?i.alpha:1}),u=o.alpha-a.alpha,c=2*e-1,l=c*u==-1?c:c+u,f=1+c*u,p=(l/f+1)/2,h=1-p;return d({red:Math.floor(o.red*p+a.red*h),green:Math.floor(o.green*p+a.green*h),blue:Math.floor(o.blue*p+a.blue*h),alpha:o.alpha+(a.alpha-o.alpha)*(e/1)})}function P(e,t){var n=s(t),r="number"==typeof n.alpha?n.alpha:1;return d(q({},n,{alpha:E(0,1,(100*r+100*e)/100)}))}function A(e,t){var n=l(t);return b(q({},n,{saturation:E(0,1,n.saturation+e)}))}function k(e,t){return b(q({},l(t),{hue:e}))}function R(e,t){return b(q({},l(t),{lightness:e}))}function M(e,t){return b(q({},l(t),{saturation:e}))}function j(e,t){if("number"!=typeof e||e>1||e<-1)throw new Error("Passed an incorrect argument to shade, please pass a percentage less than or equal to 1 and larger than or equal to -1.");if("string"!=typeof t)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");return oe(e,t,"rgb(0, 0, 0)")}function N(e,t){if("number"!=typeof e||e>1||e<-1)throw new Error("Passed an incorrect argument to tint, please pass a percentage less than or equal to 1 and larger than or equal to -1.");if("string"!=typeof t)throw new Error("Passed an incorrect argument to a color function, please pass a string representation of a color.");return oe(e,t,"rgb(255, 255, 255)")}function L(e,t){var n=s(t),r="number"==typeof n.alpha?n.alpha:1;return d(q({},n,{alpha:E(0,1,(100*r-100*e)/100)}))}n.d(t,"a",function(){return ne}),n.d(t,"b",function(){return re}),n.d(t,"c",function(){return V});var D,I,F=function(e,t){return e.substr(-t.length)===t},z=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"16px",o=t,i=n;if("string"==typeof t){if(!F(t,"px"))throw new Error('Expected a string ending in "px" or a number passed as the first argument to '+e+'(), got "'+t+'" instead.');o=r(t)}if("string"==typeof n){if(!F(n,"px"))throw new Error('Expected a string ending in "px" or a number passed as the second argument to '+e+'(), got "'+n+'" instead.');i=r(n)}if("string"==typeof o)throw new Error('Passed invalid pixel value ("'+t+'") to '+e+'(), please pass a value like "12px" or 12.');if("string"==typeof i)throw new Error('Passed invalid base value ("'+n+'") to '+e+'(), please pass a value like "12px" or 12.');return""+o/i+e}},V=(z("em"),z("rem")),U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},q=Object.assign||function(e){for(var t=1;t-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return s.default.map(e,function(e,t){return a.default.createElement(c.cardMapper[e],{key:t})})}Object.defineProperty(t,"__esModule",{value:!0}),t.renderCards=o;var i=n(0),a=r(i),u=n(15),s=r(u),c=n(840)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(1),c=n.n(s),l=function(){function e(e,t){for(var n=0;n8&&_<=11),E=32,C=String.fromCharCode(E),S={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},O=!1,T=null,P={eventTypes:S,extractEvents:function(e,t,n,r){return[s(e,t,n,r),f(e,t,n,r)]}};e.exports=P},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(9),i=n(39),a=n(157);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e1?1-t:void 0;return this._fallbackText=o.slice(e,u),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=C.getPooled(P.change,k,e,S(e));_.accumulateTwoPhaseDispatches(t),E.batchedUpdates(i,t)}function i(e){b.enqueueEvents(e),b.processEventQueue(!1)}function a(e,t){A=e,k=t,A.attachEvent("onchange",o)}function u(){A&&(A.detachEvent("onchange",o),A=null,k=null)}function s(e,t){if("topChange"===e)return t}function c(e,t,n){"topFocus"===e?(u(),a(t,n)):"topBlur"===e&&u()}function l(e,t){A=e,k=t,R=e.value,M=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(A,"value",D),A.attachEvent?A.attachEvent("onpropertychange",p):A.addEventListener("propertychange",p,!1)}function f(){A&&(delete A.value,A.detachEvent?A.detachEvent("onpropertychange",p):A.removeEventListener("propertychange",p,!1),A=null,k=null,R=null,M=null)}function p(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==R&&(R=t,o(e))}}function d(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(f(),l(t,n)):"topBlur"===e&&f()}function g(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&A&&A.value!==R)return R=A.value,k}function y(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function m(e,t){if("topClick"===e)return t}function v(e,t){if(null!=e){var n=e._wrapperState||t._wrapperState;if(n&&n.controlled&&"number"===t.type){var r=""+t.value;t.getAttribute("value")!==r&&t.setAttribute("value",r)}}}var b=n(60),_=n(59),x=n(19),w=n(14),E=n(28),C=n(31),S=n(101),O=n(102),T=n(160),P={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},A=null,k=null,R=null,M=null,j=!1;x.canUseDOM&&(j=O("change")&&(!document.documentMode||document.documentMode>8));var N=!1;x.canUseDOM&&(N=O("input")&&(!document.documentMode||document.documentMode>11));var D={get:function(){return M.get.call(this)},set:function(e){R=""+e,M.set.call(this,e)}},L={eventTypes:P,extractEvents:function(e,t,n,o){var i,a,u=t?w.getNodeFromInstance(t):window;if(r(u)?j?i=s:a=c:T(u)?N?i=d:(i=g,a=h):y(u)&&(i=m),i){var l=i(e,t);if(l){var f=C.getPooled(P.change,l,n,o);return f.type="change",_.accumulateTwoPhaseDispatches(f),f}}a&&a(e,u,t),"topBlur"===e&&v(t,u)}};e.exports=L},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(296),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(7),i=(n(4),{addComponentAsRefTo:function(e,t,n){r(n)||o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)||o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=r},function(e,t,n){"use strict";var r=n(59),o=n(14),i=n(76),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:a,extractEvents:function(e,t,n,u){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var s;if(u.window===u)s=u;else{var c=u.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var l,f;if("topMouseOut"===e){l=t;var p=n.relatedTarget||n.toElement;f=p?o.getClosestInstanceFromNode(p):null}else l=null,f=t;if(l===f)return null;var d=null==l?s:o.getNodeFromInstance(l),h=null==f?s:o.getNodeFromInstance(f),g=i.getPooled(a.mouseLeave,l,n,u);g.type="mouseleave",g.target=d,g.relatedTarget=h;var y=i.getPooled(a.mouseEnter,f,n,u);return y.type="mouseenter",y.target=h,y.relatedTarget=d,r.accumulateEnterLeaveDispatches(g,y,l,f),[g,y]}};e.exports=u},function(e,t,n){"use strict";var r=n(46),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,u=r.injection.HAS_POSITIVE_NUMERIC_VALUE,s=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:u,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}};e.exports=c},function(e,t,n){"use strict";var r=n(104),o=n(305),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";var r=n(7),o=n(48),i=n(19),a=n(302),u=n(22),s=(n(4),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM||r("56"),t||r("57"),"HTML"===e.nodeName&&r("58"),"string"==typeof t){var n=a(t,u)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=s},function(e,t,n){"use strict";function r(e){var t=e.match(l);return t&&t[1].toLowerCase()}function o(e,t){var n=c;c||s(!1);var o=r(e),i=o&&u(o);if(i){n.innerHTML=i[1]+e+i[2];for(var l=i[0];l--;)n=n.lastChild}else n.innerHTML=e;var f=n.getElementsByTagName("script");f.length&&(t||s(!1),a(f).forEach(t));for(var p=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return p}var i=n(19),a=n(303),u=n(304),s=n(4),c=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&a(!1),"number"!=typeof t&&a(!1),0===t||t-1 in e||a(!1),"function"==typeof e.callee&&a(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r":"<"+e+">",u[e]=!a.firstChild),u[e]?p[e]:null}var o=n(19),i=n(4),a=o.canUseDOM?document.createElement("div"):null,u={},s=[1,'"],c=[1,"","
"],l=[3,"","
"],f=[1,'',""],p={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:s,option:s,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){p[e]=f,u[e]=!0}),e.exports=r},function(e,t,n){"use strict";var r=n(104),o=n(14),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&(W[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&g("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&g("60"),"object"==typeof t.dangerouslySetInnerHTML&&U in t.dangerouslySetInnerHTML||g("61")),null!=t.style&&"object"!=typeof t.style&&g("62",r(e)))}function i(e,t,n,r){if(!(r instanceof j)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===q,u=i?o._node:o._ownerDocument;F(t,u),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;E.putListener(e.inst,e.registrationName,e.listener)}function u(){var e=this;P.postMountWrapper(e)}function s(){var e=this;R.postMountWrapper(e)}function c(){var e=this;A.postMountWrapper(e)}function l(){var e=this;e._rootNodeID||g("63");var t=I(e);switch(t||g("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[S.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in B)B.hasOwnProperty(n)&&e._wrapperState.listeners.push(S.trapBubbledEvent(n,B[n],t));break;case"source":e._wrapperState.listeners=[S.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[S.trapBubbledEvent("topError","error",t),S.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[S.trapBubbledEvent("topReset","reset",t),S.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[S.trapBubbledEvent("topInvalid","invalid",t)]}}function f(){k.postUpdateWrapper(this)}function p(e){K.call(X,e)||(Y.test(e)||g("65",e),X[e]=!0)}function d(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;p(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=n(7),y=n(9),m=n(307),v=n(308),b=n(48),_=n(105),x=n(46),w=n(165),E=n(60),C=n(98),S=n(79),O=n(154),T=n(14),P=n(317),A=n(319),k=n(167),R=n(320),M=(n(26),n(321)),j=n(328),N=(n(22),n(78)),D=(n(4),n(102),n(109),n(114),n(5),O),L=E.deleteListener,I=T.getNodeFromInstance,F=S.listenTo,z=C.registrationNameModules,V={string:!0,number:!0},U="__html",G={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},q=11,B={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},H={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Z={listing:!0,pre:!0,textarea:!0},W=y({menuitem:!0},H),Y=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},K={}.hasOwnProperty,$=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=$++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(l,this);break;case"input":P.mountWrapper(this,i,t),i=P.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"option":A.mountWrapper(this,i,t),i=A.getHostProps(this,i);break;case"select":k.mountWrapper(this,i,t),i=k.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"textarea":R.mountWrapper(this,i,t),i=R.getHostProps(this,i),e.getReactMountReady().enqueue(l,this)}o(this,i);var a,f;null!=t?(a=t._namespaceURI,f=t._tag):n._tag&&(a=n._namespaceURI,f=n._tag),(null==a||a===_.svg&&"foreignobject"===f)&&(a=_.html),a===_.html&&("svg"===this._tag?a=_.svg:"math"===this._tag&&(a=_.mathml)),this._namespaceURI=a;var p;if(e.useCreateElement){var d,h=n._ownerDocument;if(a===_.html)if("script"===this._tag){var g=h.createElement("div"),y=this._currentElement.type;g.innerHTML="<"+y+">",d=g.removeChild(g.firstChild)}else d=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else d=h.createElementNS(a,this._currentElement.type);T.precacheNode(this,d),this._flags|=D.hasCachedChildNodes,this._hostParent||w.setAttributeForRoot(d),this._updateDOMProperties(null,i,e);var v=b(d);this._createInitialChildren(e,i,r,v),p=v}else{var x=this._createOpenTagMarkupAndPutListeners(e,i),E=this._createContentMarkup(e,i,r);p=!E&&H[this._tag]?x+"/>":x+">"+E+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"select":case"button":i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(c,this)}return p},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(z.hasOwnProperty(r))o&&i(this,r,o,e);else{"style"===r&&(o&&(o=this._previousStyleCopy=y({},t.style)),o=v.createMarkupForStyles(o,this));var a=null;null!=this._tag&&d(this._tag,t)?G.hasOwnProperty(r)||(a=w.createMarkupForCustomAttribute(r,o)):a=w.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+w.createMarkupForRoot()),n+=" "+w.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=N(i);else if(null!=a){var u=this.mountChildren(a,e,n);r=u.join("")}}return Z[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&b.queueText(r,i);else if(null!=a)for(var u=this.mountChildren(a,e,n),s=0;s0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e||s("35"),"_hostNode"in t||s("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e||s("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o0;)n(s[c],"captured",i)}var s=n(7);n(4);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:u}},function(e,t,n){"use strict";var r=n(7),o=n(9),i=n(104),a=n(48),u=n(14),s=n(78),c=(n(4),n(114),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,l=c.createComment(i),f=c.createComment(" /react-text "),p=a(c.createDocumentFragment());return a.queueChild(p,a(l)),this._stringText&&a.queueChild(p,a(c.createTextNode(this._stringText))),a.queueChild(p,a(f)),u.precacheNode(this,l),this._closingComment=f,p}var d=s(this._stringText);return e.renderToStaticMarkup?d:"\x3c!--"+i+"--\x3e"+d+"\x3c!-- /react-text --\x3e"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=u.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,u.uncacheNode(this)}}),e.exports=c},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(9),i=n(28),a=n(75),u=n(22),s={initialize:u,close:function(){p.isBatchingUpdates=!1}},c={initialize:u,close:i.flushBatchedUpdates.bind(i)},l=[c,s];o(r.prototype,a,{getTransactionWrappers:function(){return l}});var f=new r,p={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=p.isBatchingUpdates;return p.isBatchingUpdates=!0,a?e(t,n,r,o,i):f.perform(e,null,t,n,r,o,i)}};e.exports=p},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=f.getNodeFromInstance(e),n=t.parentNode;return f.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=d(e.nativeEvent),n=f.getClosestInstanceFromNode(t),o=n;do{e.ancestors.push(o),o=o&&r(o)}while(o);for(var i=0;it.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function u(e,t){if(window.getSelection){var n=window.getSelection(),r=e[l()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var u=c(e,o),s=c(e,i);if(u&&s){var f=document.createRange();f.setStart(u.node,u.offset),n.removeAllRanges(),o>i?(n.addRange(f),n.extend(s.node,s.offset)):(f.setEnd(s.node,s.offset),n.addRange(f))}}}var s=n(19),c=n(339),l=n(157),f=s.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:f?o:i,setOffsets:f?a:u};e.exports=p},function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var n=r(e),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=t&&a>=t)return{node:n,offset:t-i};i=a}n=r(o(n))}}e.exports=i},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(341);e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(342);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},i={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(e){i.Properties[e]=0,o[e]&&(i.DOMAttributeNames[e]=o[e])}),e.exports=i},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&s.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(v||null==g||g!==l())return null;var n=r(g);if(!m||!p(m,n)){m=n;var o=c.getPooled(h.select,y,e,t);return o.type="select",o.target=g,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(59),a=n(19),u=n(14),s=n(174),c=n(31),l=n(175),f=n(160),p=n(109),d=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},g=null,y=null,m=null,v=!1,b=!1,_={eventTypes:h,extractEvents:function(e,t,n,r){if(!b)return null;var i=t?u.getNodeFromInstance(t):window;switch(e){case"topFocus":(f(i)||"true"===i.contentEditable)&&(g=i,y=t,m=null);break;case"topBlur":g=null,y=null,m=null;break;case"topMouseDown":v=!0;break;case"topContextMenu":case"topMouseUp":return v=!1,o(n,r);case"topSelectionChange":if(d)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(b=!0)}};e.exports=_},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(7),a=n(173),u=n(59),s=n(14),c=n(346),l=n(347),f=n(31),p=n(348),d=n(349),h=n(76),g=n(351),y=n(352),m=n(353),v=n(61),b=n(354),_=n(22),x=n(115),w=(n(4),{}),E={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};w[e]=o,E[r]=o});var C={},S={eventTypes:w,extractEvents:function(e,t,n,r){var o=E[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=f;break;case"topKeyPress":if(0===x(n))return null;case"topKeyDown":case"topKeyUp":a=d;break;case"topBlur":case"topFocus":a=p;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=g;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=y;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=c;break;case"topTransitionEnd":a=m;break;case"topScroll":a=v;break;case"topWheel":a=b;break;case"topCopy":case"topCut":case"topPaste":a=l}a||i("86",e);var s=a.getPooled(o,t,n,r);return u.accumulateTwoPhaseDispatches(s),s},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),u=s.getNodeFromInstance(e);C[i]||(C[i]=a.listen(u,"click",_))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);C[n].remove(),delete C[n]}}};e.exports=S},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i=n(115),a=n(350),u=n(103),s={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(115),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(76),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i=n(103),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(76),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(114),9);e.exports=r},function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};e.exports=r},function(e,t,n){"use strict";var r=n(358),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};e.exports=a},function(e,t,n){"use strict";function r(e){for(var t=1,n=0,r=0,i=e.length,a=-4&i;r0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],a=n||t+"Subscription",s=function(e){function n(i,a){r(this,n);var u=o(this,e.call(this,i,a));return u[t]=i.store,u}return i(n,e),n.prototype.getChildContext=function(){var e;return e={},e[t]=this[t],e[a]=null,e},n.prototype.render=function(){return u.Children.only(this.props.children)},n}(u.Component);return s.propTypes={store:l.a.isRequired,children:c.a.element.isRequired},s.childContextTypes=(e={},e[t]=l.a.isRequired,e[a]=l.b,e),s.displayName="Provider",s}t.a=a;var u=n(0),s=(n.n(u),n(1)),c=n.n(s),l=n(178);n(116);t.b=a()},function(e,t,n){"use strict";var r=n(22),o=n(4),i=n(150);e.exports=function(){function e(e,t,n,r,a,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e=[],t=[];return{clear:function(){t=i,e=i},notify:function(){for(var n=e=t,r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function i(e,t){return e===t}var a=n(179),u=n(366),s=n(367),c=n(382),l=n(383),f=n(384),p=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?a.a:t,d=e.mapStateToPropsFactories,h=void 0===d?c.a:d,g=e.mapDispatchToPropsFactories,y=void 0===g?s.a:g,m=e.mergePropsFactories,v=void 0===m?l.a:m,b=e.selectorFactory,_=void 0===b?f.a:b;return function(e,t,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=s.pure,l=void 0===c||c,f=s.areStatesEqual,d=void 0===f?i:f,g=s.areOwnPropsEqual,m=void 0===g?u.a:g,b=s.areStatePropsEqual,x=void 0===b?u.a:b,w=s.areMergedPropsEqual,E=void 0===w?u.a:w,C=r(s,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),S=o(e,h,"mapStateToProps"),O=o(t,y,"mapDispatchToProps"),T=o(a,v,"mergeProps");return n(_,p({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:S,initMapDispatchToProps:O,initMergeProps:T,pure:l,areStatesEqual:d,areOwnPropsEqual:m,areStatePropsEqual:x,areMergedPropsEqual:E},C))}}()},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function i(e,t,n,r,o){function i(o,i){return h=o,g=i,y=e(h,g),m=t(r,g),v=n(y,m,g),d=!0,v}function a(){return y=e(h,g),t.dependsOnOwnProps&&(m=t(r,g)),v=n(y,m,g)}function u(){return e.dependsOnOwnProps&&(y=e(h,g)),t.dependsOnOwnProps&&(m=t(r,g)),v=n(y,m,g)}function s(){var t=e(h,g),r=!p(t,y);return y=t,r&&(v=n(y,m,g)),v}function c(e,t){var n=!f(t,g),r=!l(e,h);return h=e,g=t,n&&r?a():n?u():r?s():v}var l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1,h=void 0,g=void 0,y=void 0,m=void 0,v=void 0;return function(e,t){return d?c(e,t):i(e,t)}}function a(e,t){var n=t.initMapStateToProps,a=t.initMapDispatchToProps,u=t.initMergeProps,s=r(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=n(e,s),l=a(e,s),f=u(e,s);return(s.pure?i:o)(c,l,f,e,s)}t.a=a;n(385)},function(e,t,n){"use strict";n(116)},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=n(17),i=n.n(o),a=n(0),u=n.n(a),s=n(20),c=n.n(s),l=n(1),f=(n.n(l),n(187)),p=n(65),d=n(120),h=n(35),g=n(189),y=(n(49),Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=d({},t,{pathname:"/"+t.pathname})),r=t.pathname),c.a(e.length,function(n,a,s){u(e[n],t,r,o,i,function(e,t){e||t?s(e,t):a()})},n)}t.a=s;var c=n(119),l=n(188),f=n(50),p=(n(49),n(35)),d=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=e.history,o=e.routes,a=e.location,d=r(e,["history","routes","location"]);n||a||u.a(!1),n=n||s.a(d);var h=c.a(n,l.b(o));a=a?n.createLocation(a):n.getCurrentLocation(),h.match(a,function(e,r,o){var a=void 0;if(o){var u=f.b(n,h,o);a=p({},o,{router:u,matchContext:{transitionManager:h,router:u}})}t(e,r&&n.createLocation(r,i.REPLACE),a)})}var i=n(80),a=(n.n(i),n(17)),u=n.n(a),s=n(192),c=n(187),l=n(35),f=n(189),p=Object.assign||function(e){for(var t=1;t=0&&t=0&&y=e&&a&&(o=!0,n())}}()}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(120),a=(n(49),Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:r.createElement;return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return u.reduceRight(function(t,n){return n(t,e)},o.a.createElement(i.a,a({},e,{createElement:c(e.createElement)})))}}},function(e,t,n){"use strict";var r=n(406),o=n.n(r),i=n(197);t.a=i.a(o.a)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},p=t.getCurrentLocation=function(e,t){var n=e.decodePath(c()),r=(0,s.getQueryStringValueFromPath)(n,t),o=void 0;r&&(n=(0,s.stripQueryStringValueFromPath)(n,t),o=(0,u.readState)(r));var a=(0,s.parsePath)(n);return a.state=o,(0,i.createLocation)(a,void 0,r)},d=void 0,h=(t.startListener=function(e,t,n){var r=function(){var r=c(),o=t.encodePath(r);if(r!==o)f(o);else{var i=p(t,n);if(d&&i.key&&d.key===i.key)return;d=i,e(i)}},o=c(),i=t.encodePath(o);return o!==i&&f(i),(0,a.addEventListener)(window,"hashchange",r),function(){return(0,a.removeEventListener)(window,"hashchange",r)}},function(e,t,n,r){var o=e.state,i=e.key,a=t.encodePath((0,s.createPath)(e));void 0!==o&&(a=(0,s.addQueryStringValueToPath)(a,n,i),(0,u.saveState)(i,o)),d=e,r(a)});t.pushLocation=function(e,t,n){return h(e,t,n,function(e){c()!==e&&l(e)})},t.replaceLocation=function(e,t,n){return h(e,t,n,function(e){c()!==e&&f(e)})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,p.routerMiddleware)(e),r=(0,c.default)({collapsed:!0});return(0,i.applyMiddleware)(u.default,r,n)(i.createStore)(f.default,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(117),a=n(411),u=r(a),s=n(412),c=r(s),l=n(417),f=r(l),p=n(37)},function(e,t,n){"use strict";function r(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(t,n):e(r)}}}e.exports=r},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o({},s.default,e),n=t.logger,r=t.transformer,u=t.stateTransformer,c=t.errorTransformer,l=t.predicate,f=t.logErrors,p=t.diffPredicate;if(void 0===n)return function(){return function(e){return function(t){return e(t)}}};if(r&&console.error("Option 'transformer' is deprecated, use 'stateTransformer' instead!"),e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n\n\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\n\nconst logger = createLogger({\n // ...options\n});\n\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var d=[];return function(e){var n=e.getState;return function(e){return function(r){if("function"==typeof l&&!l(n,r))return e(r);var s={};d.push(s),s.started=a.timer.now(),s.startedTime=new Date,s.prevState=u(n()),s.action=r;var h=void 0;if(f)try{h=e(r)}catch(e){s.error=c(e)}else h=e(r);s.took=a.timer.now()-s.started,s.nextState=u(n());var g=t.diff&&"function"==typeof p?p(n,r):t.diff;if((0,i.printBuffer)(d,o({},t,{diff:g})),d.length=0,s.error)throw s.error;return h}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.defaults=void 0;var o=Object.assign||function(e){for(var t=1;t=n.length?r(new u(g,b,new a(e,t[b]))):l(t[b],n[b],r,f,g,b,h);for(;b=0?(l(t[o],n[o],r,f,g,o,h),x=s(x,a)):l(t[o],e,r,f,g,o,h)}),x.forEach(function(t){l(e,n[t],r,f,g,t,h)})}h.length=h.length-1}}else t!==n&&("number"===m&&isNaN(t)&&isNaN(n)||r(new o(g,t,n)))}function f(t,n,r,o){return o=o||[],l(t,n,function(e){e&&o.push(e)},r),o.length?o:e}function p(e,t,n){if(n.path&&n.path.length){var r,o=e[t],i=n.path.length-1;for(r=0;r2&&void 0!==arguments[2]?arguments[2]:{},r=n.selectLocationState,u=void 0===r?a:r,s=n.adjustUrlOnReplay,c=void 0===s||s;if(void 0===u(t.getState()))throw new Error("Expected the routing state to be available either as `state.routing` or as the custom expression you can specify as `selectLocationState` in the `syncHistoryWithStore()` options. Ensure you have added the `routerReducer` to your store's reducers via `combineReducers` or whatever method you use to isolate your reducers.");var l=void 0,f=void 0,p=void 0,d=void 0,h=void 0,g=function(e){return u(t.getState()).locationBeforeTransitions||(e?l:void 0)};if(l=g(),c){var y=function(){var t=g(!0);h!==t&&l!==t&&(f=!0,h=t,e.transitionTo(o({},t,{action:"PUSH"})),f=!1)};p=t.subscribe(y),y()}var m=function(e){f||(h=e,!l&&(l=e,g())||t.dispatch({type:i.LOCATION_CHANGE,payload:e}))};return d=e.listen(m),e.getCurrentLocation&&m(e.getCurrentLocation()),o({},e,{listen:function(e){var n=g(!0),r=!1,o=t.subscribe(function(){var t=g(!0);t!==n&&(n=t,r||e(n))});return e(n),function(){r=!0,o()}},unsubscribe:function(){c&&p(),d()}})}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.ZONES_SET_ACTIVE_ZONE:return o({},e,{id:t.zone.id,name:t.zone.name,account:t.zone.account});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u;switch(arguments[1].type){case a.APPLICATION_INIT:return o({},e,{isInitialized:!0});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case l.DNS_RECORD_CLEAR_ALL:var n=e.entities;return n[t.zoneId]={},i({},e,{entities:n});case l.DNS_RECORD_CREATE:return i({},e,{updateIsFetching:t.name});case l.DNS_RECORD_CREATE_SUCCESS:return i({},e,{entities:o(t.zoneId,e.entities,t.dnsRecord),updateIsFetching:""});case l.DNS_RECORD_CREATE_ERROR:return i({},e,{updateIsFetching:""});case l.DNS_RECORD_FETCH_LIST:return i({},e,{isFetching:!0});case l.DNS_RECORD_FETCH_LIST_SUCCESS:var r=new a.Schema(t.zoneId,{idAttribute:"name"}),u=(0,a.normalize)(t.dnsRecords,(0,a.arrayOf)(r));return i({},e,{entities:s.default.merge(e.entities,u.entities),result:s.default.merge(e.result,u.result),isFetching:!1});case l.DNS_RECORD_FETCH_LIST_ERROR:return i({},e,{isFetching:!1});case l.DNS_RECORD_UPDATE:return i({},e,{updateIsFetching:t.name});case l.DNS_RECORD_UPDATE_SUCCESS:return i({},e,{entities:o(t.zoneId,e.entities,t.dnsRecord),updateIsFetching:""});case l.DNS_RECORD_UPDATE_ERROR:return i({},e,{updateIsFetching:""});default:return e}}function o(e,t,n){return t[e][n.name]=n,t}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,e),!t||"string"!=typeof t)throw new Error("A string non-empty key is required");this._key=t,this._assignEntity=n.assignEntity;var o=n.idAttribute||"id";this._getId="function"==typeof o?o:function(e){return e[o]},this._idAttribute=o,this._meta=n.meta,this._defaults=n.defaults}return o(e,[{key:"getAssignEntity",value:function(){return this._assignEntity}},{key:"getKey",value:function(){return this._key}},{key:"getId",value:function(e,t){return this._getId(e,t)}},{key:"getIdAttribute",value:function(){return this._idAttribute}},{key:"getMeta",value:function(e){if(!e||"string"!=typeof e)throw new Error("A string non-empty property name is required");return this._meta&&this._meta[e]}},{key:"getDefaults",value:function(){return this._defaults}},{key:"define",value:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}]),e}();t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(o(this,e),!(0,u.default)(t))throw new Error("ArraySchema requires item schema to be an object.");if(n.schemaAttribute){var r=n.schemaAttribute;this._itemSchema=new c.default(t,{schemaAttribute:r})}else this._itemSchema=t}return i(e,[{key:"getItemSchema",value:function(){return this._itemSchema}}]),e}();t.default=l},function(e,t,n){function r(e,t){return o(e,t)}var o=n(426);e.exports=r},function(e,t,n){function r(e,t,n,a,u){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,u))}var o=n(427),i=n(87);e.exports=r},function(e,t,n){function r(e,t,n,r,y,v){var b=c(e),_=c(t),x=b?h:s(e),w=_?h:s(t);x=x==d?g:x,w=w==d?g:w;var E=x==g,C=w==g,S=x==w;if(S&&l(e)){if(!l(t))return!1;b=!0,E=!1}if(S&&!E)return v||(v=new o),b||f(e)?i(e,t,n,r,y,v):a(e,t,x,n,r,y,v);if(!(n&p)){var O=E&&m.call(e,"__wrapped__"),T=C&&m.call(t,"__wrapped__");if(O||T){var P=O?e.value():e,A=T?t.value():t;return v||(v=new o),y(P,A,n,r,v)}}return!!S&&(v||(v=new o),u(e,t,n,r,y,v))}var o=n(428),i=n(209),a=n(462),u=n(466),s=n(488),c=n(130),l=n(210),f=n(211),p=1,d="[object Arguments]",h="[object Array]",g="[object Object]",y=Object.prototype,m=y.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(82),i=n(434),a=n(435),u=n(436),s=n(437),c=n(438);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}var o=n(83),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(83);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(83);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(83);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(82);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length-1&&e%1==0&&e0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.INTL_FETCH_TRANSLATIONS:return o({},e,{isFetching:!0});case a.INTL_FETCH_TRANSLATIONS_SUCCESS:return o({},e,{locale:t.locale,translations:t.translations,isFetching:!1});case a.INTL_FETCH_TRANSLATIONS_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.NOTIFICATION_ADD:return[{key:Date.now(),level:t.level,message:t.message,localized:t.localized,persistant:t.persistant,delay:t.delay}].concat(r(e));case a.NOTIFICATION_REMOVE:return e.filter(function(e){return e.key!==t.key});default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.notificationsReducer=o;var i=n(8),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),u=[]},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.USER_LOGIN:return o({},e,{isFetching:!0});case a.USER_LOGIN_SUCCESS:return(0,u.setEmail)(t.email),o({},e,{isLoggedIn:!0,isFetching:!1});case a.USER_LOGIN_ERROR:return o({},e,{isFetching:!1});case a.USER_SIGNUP:return o({},e,{isFetching:!0});case a.USER_SIGNUP_SUCCESS:case a.USER_SIGNUP_ERROR:return o({},e,{isFetching:!1});case a.USER_LOGOUT:return(0,u.setEmail)(""),o({},e,{isLoggedIn:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case u.ZONE_FETCH_ANALYTICS:return i({},e,{isFetching:!0});case u.ZONE_FETCH_ANALYTICS_SUCCESS:var n={};return n[t.zoneId]=o(t.zoneAnalytics),i({},e,{entities:c.default.merge(e.entities,n),isFetching:!1});case u.ZONE_FETCH_ANALYTICS_ERROR:return i({},e,{isFetching:!1});default:return e}}function o(e){var t={totals:[],timeSeries:[],requests:[[],[]],bandwidth:[[],[]],threats:[[]],uniques:[[]]};return t.totals=c.default.clone(e.totals),e.timeseries.forEach(function(e){t.timeSeries.push(new Date(e.since)),void 0!==e.requests&&(t.requests[0].push(e.requests.cached),t.requests[1].push(e.requests.uncached)),void 0!==e.bandwidth&&(t.bandwidth[0].push(e.bandwidth.cached),t.bandwidth[1].push(e.bandwidth.uncached)),void 0!==e.threats&&t.threats[0].push(e.threats.all),void 0!==e.uniques&&t.uniques[0].push(e.uniques.all)}),t}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u;switch(arguments[1].type){case a.ZONE_PURGE_CACHE:return o({},e,{isFetching:!0});case a.ZONE_PURGE_CACHE_SUCCESS:case a.ZONE_PURGE_CACHE_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case u.ZONE_RAILGUNS_FETCH_ALL:return i({},e,{isFetching:!0});case u.ZONE_RAILGUNS_FETCH_ALL_SUCCESS:var n=(0,s.normalizeZoneRailgunGetAll)(t.zoneRailguns),r=i({},e.entities);return r[t.zoneId]=n.entities.railguns,i({},e,{entities:r,isFetching:!1});case u.ZONE_RAILGUNS_FETCH_ALL_ERROR:return i({},e,{isFetching:!1});case u.ZONE_RAILGUNS_CONNECTION_UPDATE:return i({},e,{entities:o(e,t),isFetching:!0});case u.ZONE_RAILGUNS_CONNECTION_UPDATE_SUCCESSS:case u.ZONE_RAILGUNS_CONNECTION_UPDATE_ERROR:return i({},e,{entities:o(e,t),isFetching:!1});default:return e}}function o(e,t){var n=i({},e.entities);return n[t.zoneId][t.zoneRailgun.id]=t.zoneRailgun,n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.ZONE_ENTITLEMENTS:return o({},e,{isFetching:!0});case a.ZONE_ENTITLEMENTS_SUCCESS:var n=(0,u.normalizeZoneEntitlements)(t.zoneEntitlements),r=o({},e.entities);return r[t.zoneId]=n.entities.entitlements,o({},e,{entities:r,isFetching:!1});case a.ZONE_ENTITLEMENTS_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case c.ZONE_FETCH_SETTINGS:return i({},e,{isFetching:"fetchAllSettings"});case c.ZONE_FETCH_SETTINGS_SUCCESS:var n=(0,l.normalizeZoneByIdGetAll)(t.zoneId,t.zoneSettings);return i({},e,{entities:u.default.merge(e.entities,n.entities),result:u.default.merge(e.result,n.result),isFetching:""});case c.ZONE_FETCH_SETTINGS_ERROR:return i({},e,{isFetching:""});case c.ZONE_UPDATE_SETTING:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:t.setting.id});case c.ZONE_UPDATE_SETTING_SUCCESS:case c.ZONE_UPDATE_SETTING_ERROR:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:""});default:return e}}function o(e,t,n){var r=i({},n.entities);return r[e][t.id]=t,r}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case s.ZONES_DELETE_ZONE:return o({},e,{zoneDeleteIsFetching:!0});case s.ZONES_DELETE_ZONE_SUCCESS:case s.ZONES_DELETE_ZONE_ERROR:return o({},e,{zoneDeleteIsFetching:!1});case s.ZONES_FETCH:return o({},e,{zoneFetchIsFetching:!0});case s.ZONES_FETCH_SUCCESS:var n=(0,c.normalizeZoneGetAll)(t.zoneList);return o({},e,{entities:a.default.merge(e.entities,n.entities),result:a.default.merge(e.result,n.result),zoneFetchIsFetching:!1});case s.ZONES_FETCH_ERROR:return o({},e,{zoneFetchIsFetching:!1});case s.ZONES_PROVISION_CNAME:return o({},e,{zoneProvisionCnameIsFetching:!0});case s.ZONES_PROVISION_CNAME_SUCCESS:case s.ZONES_PROVISION_CNAME_ERROR:return o({},e,{zoneProvisionCnameIsFetching:!1});case s.ZONES_PROVISION_FULL:return o({},e,{zoneProvisionFullIsFetching:!0});case s.ZONES_PROVISION_FULL_SUCCESS:case s.ZONES_PROVISION_FULL_ERROR:return o({},e,{zoneProvisionFullIsFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case c.PLUGIN_SETTINGS_FETCH:return i({},e,{isFetching:"FETCH ALL PLUGIN SETTINGS"});case c.PLUGIN_SETTINGS_FETCH_SUCCESS:var n=(0,l.normalizeZoneByIdGetAll)(t.zoneId,t.setting);return i({},e,{entities:u.default.merge(e.entities,n.entities),result:u.default.merge(e.result,n.result),isFetching:""});case c.PLUGIN_SETTINGS_FETCH_ERROR:return i({},e,{isFetching:""});case c.PLUGIN_SETTING_UPDATE:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:t.setting.id});case c.PLUGIN_SETTING_UPDATE_SUCCESS:case c.PLUGIN_SETTING_UPDATE_ERROR:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:""});default:return e}}function o(e,t,n){var r=i({},n.entities);return r[e][t.id]=t,r}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;te&&(Xe=0,Ke={line:1,column:1,seenCR:!1}),function(e,n,r){var o,i;for(o=n;o$e&&($e=We,Qe=[]),Qe.push(e))}function o(r,o,i){var a=n(i),u=it.description?1:0});t1?i.slice(0,-1).join(", ")+" or "+i[e.length-1]:i[0],r=t?'"'+function(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0180-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1080-\uFFFF]/g,function(e){return"\\u"+t(e)})}(t)+'"':"end of input","Expected "+n+" but "+r+" found."}(o,u),o,u,i,a.line,a.column)}function i(){return a()}function a(){var e,t,n;for(e=We,t=[],n=u();n!==k;)t.push(n),n=u();return t!==k&&(Ye=e,t=j(t)),e=t}function u(){var e;return e=c(),e===k&&(e=f()),e}function s(){var e,n,r,o,i,a;if(e=We,n=[],r=We,o=w(),o!==k?(i=T(),i!==k?(a=w(),a!==k?(o=[o,i,a],r=o):(We=r,r=N)):(We=r,r=N)):(We=r,r=N),r!==k)for(;r!==k;)n.push(r),r=We,o=w(),o!==k?(i=T(),i!==k?(a=w(),a!==k?(o=[o,i,a],r=o):(We=r,r=N)):(We=r,r=N)):(We=r,r=N);else n=N;return n!==k&&(Ye=e,n=D(n)),e=n,e===k&&(e=We,n=x(),n!==k&&(n=t.substring(e,We)),e=n),e}function c(){var e,t;return e=We,t=s(),t!==k&&(Ye=e,t=L(t)),e=t}function l(){var e,n,o;if((e=S())===k){if(e=We,n=[],I.test(t.charAt(We))?(o=t.charAt(We),We++):(o=k,0===Je&&r(F)),o!==k)for(;o!==k;)n.push(o),I.test(t.charAt(We))?(o=t.charAt(We),We++):(o=k,0===Je&&r(F));else n=N;n!==k&&(n=t.substring(e,We)),e=n}return e}function f(){var e,n,o,i,a,u,s,c,f;return e=We,123===t.charCodeAt(We)?(n=z,We++):(n=k,0===Je&&r(V)),n!==k?(o=w(),o!==k?(i=l(),i!==k?(a=w(),a!==k?(u=We,44===t.charCodeAt(We)?(s=G,We++):(s=k,0===Je&&r(q)),s!==k?(c=w(),c!==k?(f=p(),f!==k?(s=[s,c,f],u=s):(We=u,u=N)):(We=u,u=N)):(We=u,u=N),u===k&&(u=U),u!==k?(s=w(),s!==k?(125===t.charCodeAt(We)?(c=B,We++):(c=k,0===Je&&r(H)),c!==k?(Ye=e,n=Z(i,u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function p(){var e;return e=d(),e===k&&(e=h())===k&&(e=g())===k&&(e=y()),e}function d(){var e,n,o,i,a,u,s;return e=We,t.substr(We,6)===W?(n=W,We+=6):(n=k,0===Je&&r(Y)),n===k&&(t.substr(We,4)===X?(n=X,We+=4):(n=k,0===Je&&r(K)),n===k&&(t.substr(We,4)===$?(n=$,We+=4):(n=k,0===Je&&r(Q)))),n!==k?(o=w(),o!==k?(i=We,44===t.charCodeAt(We)?(a=G,We++):(a=k,0===Je&&r(q)),a!==k?(u=w(),u!==k?(s=T(),s!==k?(a=[a,u,s],i=a):(We=i,i=N)):(We=i,i=N)):(We=i,i=N),i===k&&(i=U),i!==k?(Ye=e,n=J(n,i),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function h(){var e,n,o,i,a,u;return e=We,t.substr(We,6)===ee?(n=ee,We+=6):(n=k,0===Je&&r(te)),n!==k?(o=w(),o!==k?(44===t.charCodeAt(We)?(i=G,We++):(i=k,0===Je&&r(q)),i!==k?(a=w(),a!==k?(u=_(),u!==k?(Ye=e,n=ne(u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function g(){var e,n,o,i,a,u;return e=We,t.substr(We,13)===re?(n=re,We+=13):(n=k,0===Je&&r(oe)),n!==k?(o=w(),o!==k?(44===t.charCodeAt(We)?(i=G,We++):(i=k,0===Je&&r(q)),i!==k?(a=w(),a!==k?(u=_(),u!==k?(Ye=e,n=ie(u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function y(){var e,n,o,i,a;if(e=We,t.substr(We,6)===ae?(n=ae,We+=6):(n=k,0===Je&&r(ue)),n!==k)if(w()!==k)if(44===t.charCodeAt(We)?(o=G,We++):(o=k,0===Je&&r(q)),o!==k)if(w()!==k){if(i=[],(a=v())!==k)for(;a!==k;)i.push(a),a=v();else i=N;i!==k?(Ye=e,n=se(i),e=n):(We=e,e=N)}else We=e,e=N;else We=e,e=N;else We=e,e=N;else We=e,e=N;return e}function m(){var e,n,o,i;return e=We,n=We,61===t.charCodeAt(We)?(o=ce,We++):(o=k,0===Je&&r(le)),o!==k?(i=S(),i!==k?(o=[o,i],n=o):(We=n,n=N)):(We=n,n=N),n!==k&&(n=t.substring(e,We)),e=n,e===k&&(e=T()),e}function v(){var e,n,o,i,u,s,c,l,f;return e=We,n=w(),n!==k?(o=m(),o!==k?(i=w(),i!==k?(123===t.charCodeAt(We)?(u=z,We++):(u=k,0===Je&&r(V)),u!==k?(s=w(),s!==k?(c=a(),c!==k?(l=w(),l!==k?(125===t.charCodeAt(We)?(f=B,We++):(f=k,0===Je&&r(H)),f!==k?(Ye=e,n=fe(o,c),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function b(){var e,n,o,i;return e=We,t.substr(We,7)===pe?(n=pe,We+=7):(n=k,0===Je&&r(de)),n!==k?(o=w(),o!==k?(i=S(),i!==k?(Ye=e,n=he(i),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function _(){var e,t,n,r;if(e=We,t=b(),t===k&&(t=U),t!==k)if(w()!==k){if(n=[],(r=v())!==k)for(;r!==k;)n.push(r),r=v();else n=N;n!==k?(Ye=e,t=ge(t,n),e=t):(We=e,e=N)}else We=e,e=N;else We=e,e=N;return e}function x(){var e,n;if(Je++,e=[],me.test(t.charAt(We))?(n=t.charAt(We),We++):(n=k,0===Je&&r(ve)),n!==k)for(;n!==k;)e.push(n),me.test(t.charAt(We))?(n=t.charAt(We),We++):(n=k,0===Je&&r(ve));else e=N;return Je--,e===k&&(n=k,0===Je&&r(ye)),e}function w(){var e,n,o;for(Je++,e=We,n=[],o=x();o!==k;)n.push(o),o=x();return n!==k&&(n=t.substring(e,We)),e=n,Je--,e===k&&(n=k,0===Je&&r(be)),e}function E(){var e;return _e.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(xe)),e}function C(){var e;return we.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(Ee)),e}function S(){var e,n,o,i,a,u;if(e=We,48===t.charCodeAt(We)?(n=Ce,We++):(n=k,0===Je&&r(Se)),n===k){if(n=We,o=We,Oe.test(t.charAt(We))?(i=t.charAt(We),We++):(i=k,0===Je&&r(Te)),i!==k){for(a=[],u=E();u!==k;)a.push(u),u=E();a!==k?(i=[i,a],o=i):(We=o,o=N)}else We=o,o=N;o!==k&&(o=t.substring(n,We)),n=o}return n!==k&&(Ye=e,n=Pe(n)),e=n}function O(){var e,n,o,i,a,u,s,c;return Ae.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(ke)),e===k&&(e=We,t.substr(We,2)===Re?(n=Re,We+=2):(n=k,0===Je&&r(Me)),n!==k&&(Ye=e,n=je()),(e=n)===k&&(e=We,t.substr(We,2)===Ne?(n=Ne,We+=2):(n=k,0===Je&&r(De)),n!==k&&(Ye=e,n=Le()),(e=n)===k&&(e=We,t.substr(We,2)===Ie?(n=Ie,We+=2):(n=k,0===Je&&r(Fe)),n!==k&&(Ye=e,n=ze()),(e=n)===k&&(e=We,t.substr(We,2)===Ve?(n=Ve,We+=2):(n=k,0===Je&&r(Ue)),n!==k&&(Ye=e,n=Ge()),(e=n)===k&&(e=We,t.substr(We,2)===qe?(n=qe,We+=2):(n=k,0===Je&&r(Be)),n!==k?(o=We,i=We,a=C(),a!==k?(u=C(),u!==k?(s=C(),s!==k?(c=C(),c!==k?(a=[a,u,s,c],i=a):(We=i,i=N)):(We=i,i=N)):(We=i,i=N)):(We=i,i=N),i!==k&&(i=t.substring(o,We)),o=i,o!==k?(Ye=e,n=He(o),e=n):(We=e,e=N)):(We=e,e=N)))))),e}function T(){var e,t,n;if(e=We,t=[],(n=O())!==k)for(;n!==k;)t.push(n),n=O();else t=N;return t!==k&&(Ye=e,t=Ze(t)),e=t}var P,A=arguments.length>1?arguments[1]:{},k={},R={start:i},M=i,j=function(e){return{type:"messageFormatPattern",elements:e}},N=k,D=function(e){var t,n,r,o,i,a="";for(t=0,r=e.length;t=0)return!0;if("string"==typeof e){var t=/s$/.test(e)&&e.substr(0,e.length-1);if(t&&a.arrIndexOf.call(u,t)>=0)throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, did you mean: '+t)}throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, it must be one of: "'+u.join('", "')+'"')},r.prototype._resolveLocale=function(e){"string"==typeof e&&(e=[e]),e=(e||[]).concat(r.defaultLocale);var t,n,o,i,a=r.__localeData__;for(t=0,n=e.length;t=0)return e;throw new Error('"'+e+'" is not a valid IntlRelativeFormat `style` value, it must be one of: "'+s.join('", "')+'"')},r.prototype._selectUnits=function(e){var t,n,o;for(t=0,n=u.length;t0,n=f.default.Children.count(this.props.children);return this.props.component||n>1||"string"==typeof this.props.children||Array.isArray(this.props.children)&&1==n||void 0===this.props.children?f.default.createElement(this.props.component||"div",e,this.props.children):t?f.default.cloneElement(this.props.children,e):n?this.props.children:null}}]),t}(f.default.Component);O.displayName="MediaQuery",O.defaultProps={values:{}},t.default=O,e.exports=t.default},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){g&&d&&(g=!1,d.length?h=d.concat(h):y=-1,h.length&&u())}function u(){if(!g){var e=o(a);g=!0;for(var t=h.length;t;){for(d=h,h=[];++y1)for(var n=1;n1?t-1:0),r=1;r2?r-2:0),i=2;i=u;case"max":return s<=u;default:return s===u}});return u&&!n||!u&&n})}function r(e){return e.split(",").map(function(e){e=e.trim();var t=e.match(u),n=t[1],r=t[2],o=t[3]||"",i={};return i.inverse=!!n&&"not"===n.toLowerCase(),i.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],i.expressions=o.map(function(e){var t=e.match(s),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}}),i})}function o(e){var t,n=Number(e);return n||(t=e.match(/^(\d+)\s*\/\s*(\d+)$/),n=t[1]/t[2]),n}function i(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function a(e){var t=parseFloat(e);switch(String(e).match(l)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=n,t.parse=r;var u=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,s=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,l=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/},function(e,t,n){"use strict";function r(e,t){function n(e){s&&s.addListener(e)}function r(e){s&&s.removeListener(e)}function o(e){u.matches=e.matches,u.media=e.media}var u=this;if(a){var s=a.call(window,e);this.matches=s.matches,this.media=s.media,s.addListener(o)}else this.matches=i(e,t),this.media=e;this.addListener=n,this.removeListener=r}function o(e,t){return new r(e,t)}var i=n(10).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=o},function(e,t,n){(function(t){"use strict";function r(e,n,r,s,c){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var f;try{o("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",s||"React class",r,l),f=e[l](n,l,s,r,null,a)}catch(e){f=e}if(i(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",r,l,typeof f),f instanceof Error&&!(f.message in u)){u[f.message]=!0;var p=c?c():"";i(!1,"Failed %s type: %s%s",r,f.message,null!=p?p:"")}}}if("production"!==t.env.NODE_ENV)var o=n(3),i=n(5),a=n(8),u={};e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";var r=n(2),o=n(3);e.exports=function(){function e(){o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){(function(t){"use strict";var r=n(2),o=n(3),i=n(5),a=n(8),u=n(12);e.exports=function(e,n){function s(e){var t=e&&(C&&e[C]||e[S]);if("function"==typeof t)return t}function c(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function f(e){function r(r,c,f,p,d,h,g){if(p=p||O,h=h||f,g!==a)if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var y=p+":"+f;!u[y]&&s<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,p),u[y]=!0,s++)}return null==c[f]?r?new l(null===c[f]?"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `null`.":"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(c,f,p,d,h)}if("production"!==t.env.NODE_ENV)var u={},s=0;var c=r.bind(null,!1);return c.isRequired=r.bind(null,!0),c}function p(e){function t(t,n,r,o,i,a){var u=t[n];if(x(u)!==e)return new l("Invalid "+o+" `"+i+"` of type `"+w(u)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return f(t)}function d(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u)){return new l("Invalid "+o+" `"+i+"` of type `"+x(u)+"` supplied to `"+r+"`, expected an array.")}for(var s=0;s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=(n.n(c),n(88)),f=n.n(l),p=Object.assign||function(e){for(var t=1;te.props.value.length&&e.clearOptions(),e.props.onChange(t)}};return n(s({},this.props,c,{isLoading:a,onInputChange:this._onInputChange}))}}]),t}(f.Component);t.default=w,w.propTypes=b,w.defaultProps=x,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return Object.keys(e).reduce(function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t},t)}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return d.default.createElement(b.default,e)}function a(e){var t=e.option,n=e.options,r=e.labelKey,o=e.valueKey;return 0===n.filter(function(e){return e[r]===t[r]||e[o]===t[o]}).length}function u(e){return!!e.label}function s(e){var t=e.label,n=e.labelKey,r=e.valueKey,o={};return o[r]=t,o[n]=t,o.className="Select-create-option-placeholder",o}function c(e){return'Create option "'+e+'"'}function l(e){switch(e.keyCode){case 9:case 13:case 188:return!0}return!1}var f=Object.assign||function(e){for(var t=1;t0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),i.push(n.substring(o-=u,o+u)),!((s+=u+1)>r));)u=e[a=(a+1)%e.length];return i.reverse().join(t)}}},function(e,t,n){"use strict";t.a=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";t.a=function(e,t){e=e.toPrecision(t);e:for(var n,r=e.length,o=1,i=-1;o0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e}},function(e,t,n){"use strict";var r=n(131);t.a=function(e,t){var n=r.a(e,t);if(!n)return e+"";var o=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+o:o.length>i+1?o.slice(0,i+1)+"."+o.slice(i+1):o+new Array(i-o.length+2).join("0")}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";var r=n(90);t.a=function(e){return Math.max(0,-r.a(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(90);t.a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(r.a(t)/3)))-r.a(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(90);t.a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,r.a(t)-r.a(e))+1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(){return{}}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(563),p=function(){function e(e,t){for(var n=0;n requires either a `to` or `onClick` prop");var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleClick=r.handleClick.bind(r),r.focus=r.focus.bind(r),r}return a(t,e),p(t,[{key:"focus",value:function(){this.link.focus()}},{key:"handleClick",value:function(e){e.preventDefault(),this.props.disabled||(this.props.to?f.a(this.props.to):this.props.onClick(e))}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,o=t.to,i=t.children,a=t.className,u=t.disabled,c=r(t,["tagName","to","children","className","disabled"]);return c.href||"a"!==n||(c.href=o||"#!"),c.role||(o&&"a"!==n?c.role="link":o||(c.role="button")),c.className="cf-link",u&&(c.className+=" cf-link--disabled",c.disabled=!0),a&&(c.className+=" "+a),c.onClick=this.handleClick,c.ref=function(t){return e.link=t},s.a.createElement(n,c,i)}}]),t}(s.a.Component);d.propTypes={to:l.a.string,onClick:l.a.func,tagName:l.a.string,disabled:l.a.bool,className:l.a.string,children:l.a.node},d.defaultProps={tagName:"a"},t.a=d},function(e,t,n){"use strict";var r=n(564);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){if(!o)return void console.error("Warning: Route Handler: A handler needs to be setup before you can route");o(e)}t.a=r;var o=void 0},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=function(){function e(e,t){for(var n=0;n0&&e(t[o],n[o],r)})}(f,this,this)}function s(e){var t=this;t.d3=i.d3?i.d3:n(226),t.api=e,t.config=t.getDefaultConfig(),t.data={},t.cache={},t.axes={}}function c(e){a.call(this,e)}function l(e,t){function n(e,t){e.attr("transform",function(e){return"translate("+Math.ceil(t(e)+_)+", 0)"})}function r(e,t){e.attr("transform",function(e){return"translate(0,"+Math.ceil(t(e))+")"})}function o(e){var t=e[0],n=e[e.length-1];return t0&&r[0]>0&&r.unshift(r[0]-(r[1]-r[0])),r}function a(){var e,n=g.copy();return t.isCategory&&(e=g.domain(),n.domain([e[0],e[1]-1])),n}function u(e){var t=p?p(e):e;return void 0!==t?t:""}function s(e){if(A)return A;var t={h:11.5,w:5.5};return e.select("text").text(u).each(function(e){var n=this.getBoundingClientRect(),r=u(e),o=n.height,i=r?n.width/r.length:void 0;o&&i&&(t.h=o,t.w=i)}).text(""),A=t,t}function c(n){return t.withoutTransition?n:e.transition(n)}function l(p){p.each(function(){function p(e,n){function r(e,t){i=void 0;for(var u=1;u0?1:-1):B}(Z)).style("text-anchor",function(e){return e?e>0?"start":"end":"middle"}(Z)).attr("transform",function(e){return e?"rotate("+e+")":""}(Z)),U.attr("x",0).attr("dy",d).attr("dx",function(e){return e?8*Math.sin(Math.PI*(e/180)):0}(Z)),D.attr("d","M"+j[0]+","+f+"V0H"+j[1]+"V"+f);break;case"top":w=n,L.attr("y2",-m),F.attr("y",-B),I.attr("x2",0).attr("y2",-m),z.attr("x",0).attr("y",-B),V.style("text-anchor","middle"),U.attr("x",0).attr("dy","0em"),D.attr("d","M"+j[0]+","+-f+"V0H"+j[1]+"V"+-f);break;case"left":w=r,L.attr("x2",-m),F.attr("x",-B),I.attr("x2",-m).attr("y1",C).attr("y2",C),z.attr("x",-B).attr("y",_),V.style("text-anchor","end"),U.attr("x",-B).attr("dy",d),D.attr("d","M"+-f+","+j[0]+"H0V"+j[1]+"H"+-f);break;case"right":w=r,L.attr("x2",m),F.attr("x",B),I.attr("x2",m).attr("y2",0),z.attr("x",B).attr("y",0),V.style("text-anchor","start"),U.attr("x",B).attr("dy",d),D.attr("d","M"+f+","+j[0]+"H0V"+j[1]+"H"+f)}if(T.rangeBand){var W=T,Y=W.rangeBand()/2;O=T=function(e){return W(e)+Y}}else O.rangeBand?O=T:R.call(w,T);k.call(w,O),M.call(w,T)})}var f,p,d,h,g=e.scale.linear(),y="bottom",m=6,v=3,b=null,_=0,x=!0;return t=t||{},f=t.withOuterTick?6:0,l.scale=function(e){return arguments.length?(g=e,l):g},l.orient=function(e){return arguments.length?(y=e in{top:1,right:1,bottom:1,left:1}?e+"":"bottom",l):y},l.tickFormat=function(e){return arguments.length?(p=e,l):p},l.tickCentered=function(e){return arguments.length?(h=e,l):h},l.tickOffset=function(){return _},l.tickInterval=function(){var e,n;return t.isCategory?e=2*_:(n=l.g.select("path.domain").node().getTotalLength()-2*f,e=n/l.g.selectAll("line").size()),e===1/0?0:e},l.ticks=function(){return arguments.length?(d=arguments,l):d},l.tickCulling=function(e){return arguments.length?(x=e,l):x},l.tickValues=function(e){if("function"==typeof e)b=function(){return e(g.domain())};else{if(!arguments.length)return b;b=e}return l},l}var f,p,d={version:"0.4.11"};d.generate=function(e){return new u(e)},d.chart={fn:u.prototype,internal:{fn:s.prototype,axis:{fn:c.prototype}}},f=d.chart.fn,p=d.chart.internal.fn,d.chart.internal.axis.fn,p.beforeInit=function(){},p.afterInit=function(){},p.init=function(){var e=this,t=e.config;if(e.initParams(),t.data_url)e.convertUrlToData(t.data_url,t.data_mimeType,t.data_headers,t.data_keys,e.initWithData);else if(t.data_json)e.initWithData(e.convertJsonToData(t.data_json,t.data_keys));else if(t.data_rows)e.initWithData(e.convertRowsToData(t.data_rows));else{if(!t.data_columns)throw Error("url or json or rows or columns is required.");e.initWithData(e.convertColumnsToData(t.data_columns))}},p.initParams=function(){var e=this,t=e.d3,n=e.config;e.clipId="c3-"+ +new Date+"-clip",e.clipIdForXAxis=e.clipId+"-xaxis",e.clipIdForYAxis=e.clipId+"-yaxis",e.clipIdForGrid=e.clipId+"-grid",e.clipIdForSubchart=e.clipId+"-subchart",e.clipPath=e.getClipPath(e.clipId),e.clipPathForXAxis=e.getClipPath(e.clipIdForXAxis),e.clipPathForYAxis=e.getClipPath(e.clipIdForYAxis),e.clipPathForGrid=e.getClipPath(e.clipIdForGrid),e.clipPathForSubchart=e.getClipPath(e.clipIdForSubchart),e.dragStart=null,e.dragging=!1,e.flowing=!1,e.cancelClick=!1,e.mouseover=!1,e.transiting=!1,e.color=e.generateColor(),e.levelColor=e.generateLevelColor(),e.dataTimeFormat=n.data_xLocaltime?t.time.format:t.time.format.utc,e.axisTimeFormat=n.axis_x_localtime?t.time.format:t.time.format.utc,e.defaultAxisTimeFormat=e.axisTimeFormat.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%-m/%-d",function(e){return e.getDay()&&1!==e.getDate()}],["%-m/%-d",function(e){return 1!==e.getDate()}],["%-m/%-d",function(e){return e.getMonth()}],["%Y/%-m/%-d",function(){return!0}]]),e.hiddenTargetIds=[],e.hiddenLegendIds=[],e.focusedTargetIds=[],e.defocusedTargetIds=[],e.xOrient=n.axis_rotated?"left":"bottom",e.yOrient=n.axis_rotated?n.axis_y_inner?"top":"bottom":n.axis_y_inner?"right":"left",e.y2Orient=n.axis_rotated?n.axis_y2_inner?"bottom":"top":n.axis_y2_inner?"left":"right",e.subXOrient=n.axis_rotated?"left":"bottom",e.isLegendRight="right"===n.legend_position,e.isLegendInset="inset"===n.legend_position,e.isLegendTop="top-left"===n.legend_inset_anchor||"top-right"===n.legend_inset_anchor,e.isLegendLeft="top-left"===n.legend_inset_anchor||"bottom-left"===n.legend_inset_anchor,e.legendStep=0,e.legendItemWidth=0,e.legendItemHeight=0,e.currentMaxTickWidths={x:0,y:0,y2:0},e.rotated_padding_left=30,e.rotated_padding_right=n.axis_rotated&&!n.axis_x_show?0:30,e.rotated_padding_top=5,e.withoutFadeIn={},e.intervalForObserveInserted=void 0,e.axes.subx=t.selectAll([])},p.initChartElements=function(){this.initBar&&this.initBar(),this.initLine&&this.initLine(),this.initArc&&this.initArc(),this.initGauge&&this.initGauge(),this.initText&&this.initText()},p.initWithData=function(e){var t,n,r=this,o=r.d3,i=r.config,a=!0;r.axis=new c(r),r.initPie&&r.initPie(),r.initBrush&&r.initBrush(),r.initZoom&&r.initZoom(),i.bindto?"function"==typeof i.bindto.node?r.selectChart=i.bindto:r.selectChart=o.select(i.bindto):r.selectChart=o.selectAll([]),r.selectChart.empty()&&(r.selectChart=o.select(document.createElement("div")).style("opacity",0),r.observeInserted(r.selectChart),a=!1),r.selectChart.html("").classed("c3",!0),r.data.xs={},r.data.targets=r.convertDataToTargets(e),i.data_filter&&(r.data.targets=r.data.targets.filter(i.data_filter)),i.data_hide&&r.addHiddenTargetIds(!0===i.data_hide?r.mapToIds(r.data.targets):i.data_hide),i.legend_hide&&r.addHiddenLegendIds(!0===i.legend_hide?r.mapToIds(r.data.targets):i.legend_hide),r.hasType("gauge")&&(i.legend_show=!1),r.updateSizes(),r.updateScales(),r.x.domain(o.extent(r.getXDomain(r.data.targets))),r.y.domain(r.getYDomain(r.data.targets,"y")),r.y2.domain(r.getYDomain(r.data.targets,"y2")),r.subX.domain(r.x.domain()),r.subY.domain(r.y.domain()),r.subY2.domain(r.y2.domain()),r.orgXDomain=r.x.domain(),r.brush&&r.brush.scale(r.subX),i.zoom_enabled&&r.zoom.scale(r.x),r.svg=r.selectChart.append("svg").style("overflow","hidden").on("mouseenter",function(){return i.onmouseover.call(r)}).on("mouseleave",function(){return i.onmouseout.call(r)}),r.config.svg_classname&&r.svg.attr("class",r.config.svg_classname),t=r.svg.append("defs"),r.clipChart=r.appendClip(t,r.clipId),r.clipXAxis=r.appendClip(t,r.clipIdForXAxis),r.clipYAxis=r.appendClip(t,r.clipIdForYAxis),r.clipGrid=r.appendClip(t,r.clipIdForGrid),r.clipSubchart=r.appendClip(t,r.clipIdForSubchart),r.updateSvgSize(),n=r.main=r.svg.append("g").attr("transform",r.getTranslate("main")),r.initSubchart&&r.initSubchart(),r.initTooltip&&r.initTooltip(),r.initLegend&&r.initLegend(),r.initTitle&&r.initTitle(),n.append("text").attr("class",h.text+" "+h.empty).attr("text-anchor","middle").attr("dominant-baseline","middle"),r.initRegion(),r.initGrid(),n.append("g").attr("clip-path",r.clipPath).attr("class",h.chart),i.grid_lines_front&&r.initGridLines(),r.initEventRect(),r.initChartElements(),n.insert("rect",i.zoom_privileged?null:"g."+h.regions).attr("class",h.zoomRect).attr("width",r.width).attr("height",r.height).style("opacity",0).on("dblclick.zoom",null),i.axis_x_extent&&r.brush.extent(r.getDefaultExtent()),r.axis.init(),r.updateTargets(r.data.targets),a&&(r.updateDimension(),r.config.oninit.call(r),r.redraw({withTransition:!1,withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransitionForAxis:!1})),r.bindResize(),r.api.element=r.selectChart.node()},p.smoothLines=function(e,t){var n=this;"grid"===t&&e.each(function(){var e=n.d3.select(this),t=e.attr("x1"),r=e.attr("x2"),o=e.attr("y1"),i=e.attr("y2");e.attr({x1:Math.ceil(t),x2:Math.ceil(r),y1:Math.ceil(o),y2:Math.ceil(i)})})},p.updateSizes=function(){var e=this,t=e.config,n=e.legend?e.getLegendHeight():0,r=e.legend?e.getLegendWidth():0,o=e.isLegendRight||e.isLegendInset?0:n,i=e.hasArcType(),a=t.axis_rotated||i?0:e.getHorizontalAxisHeight("x"),u=t.subchart_show&&!i?t.subchart_size_height+a:0;e.currentWidth=e.getCurrentWidth(),e.currentHeight=e.getCurrentHeight(),e.margin=t.axis_rotated?{top:e.getHorizontalAxisHeight("y2")+e.getCurrentPaddingTop(),right:i?0:e.getCurrentPaddingRight(),bottom:e.getHorizontalAxisHeight("y")+o+e.getCurrentPaddingBottom(),left:u+(i?0:e.getCurrentPaddingLeft())}:{top:4+e.getCurrentPaddingTop(),right:i?0:e.getCurrentPaddingRight(),bottom:a+u+o+e.getCurrentPaddingBottom(),left:i?0:e.getCurrentPaddingLeft()},e.margin2=t.axis_rotated?{top:e.margin.top,right:NaN,bottom:20+o,left:e.rotated_padding_left}:{top:e.currentHeight-u-o,right:NaN,bottom:a+o,left:e.margin.left},e.margin3={top:0,right:NaN,bottom:0,left:0},e.updateSizeForLegend&&e.updateSizeForLegend(n,r),e.width=e.currentWidth-e.margin.left-e.margin.right,e.height=e.currentHeight-e.margin.top-e.margin.bottom,e.width<0&&(e.width=0),e.height<0&&(e.height=0),e.width2=t.axis_rotated?e.margin.left-e.rotated_padding_left-e.rotated_padding_right:e.width,e.height2=t.axis_rotated?e.height:e.currentHeight-e.margin2.top-e.margin2.bottom,e.width2<0&&(e.width2=0),e.height2<0&&(e.height2=0),e.arcWidth=e.width-(e.isLegendRight?r+10:0),e.arcHeight=e.height-(e.isLegendRight?0:10),e.hasType("gauge")&&!t.gauge_fullCircle&&(e.arcHeight+=e.height-e.getGaugeLabelHeight()),e.updateRadius&&e.updateRadius(),e.isLegendRight&&i&&(e.margin3.left=e.arcWidth/2+1.1*e.radiusExpanded)},p.updateTargets=function(e){var t=this;t.updateTargetsForText(e),t.updateTargetsForBar(e),t.updateTargetsForLine(e),t.hasArcType()&&t.updateTargetsForArc&&t.updateTargetsForArc(e),t.updateTargetsForSubchart&&t.updateTargetsForSubchart(e),t.showTargets()},p.showTargets=function(){var e=this;e.svg.selectAll("."+h.target).filter(function(t){return e.isTargetToShow(t.id)}).transition().duration(e.config.transition_duration).style("opacity",1)},p.redraw=function(e,t){var n,r,o,i,a,u,s,c,l,f,p,d,g,y,m,v,b,_,x,w,E,C,O,T,P,A,k,R,M,j=this,N=j.main,D=j.d3,L=j.config,I=j.getShapeIndices(j.isAreaType),F=j.getShapeIndices(j.isBarType),z=j.getShapeIndices(j.isLineType),V=j.hasArcType(),U=j.filterTargetsToShow(j.data.targets),G=j.xv.bind(j);if(e=e||{},n=S(e,"withY",!0),r=S(e,"withSubchart",!0),o=S(e,"withTransition",!0),u=S(e,"withTransform",!1),s=S(e,"withUpdateXDomain",!1),c=S(e,"withUpdateOrgXDomain",!1),l=S(e,"withTrimXDomain",!0),g=S(e,"withUpdateXAxis",s),f=S(e,"withLegend",!1),p=S(e,"withEventRect",!0),d=S(e,"withDimension",!0),i=S(e,"withTransitionForExit",o),a=S(e,"withTransitionForAxis",o),x=o?L.transition_duration:0,w=i?x:0,E=a?x:0,t=t||j.axis.generateTransitions(E),f&&L.legend_show?j.updateLegend(j.mapToIds(j.data.targets),e,t):d&&j.updateDimension(!0),j.isCategorized()&&0===U.length&&j.x.domain([0,j.axes.x.selectAll(".tick").size()]),U.length?(j.updateXDomain(U,s,c,l),L.axis_x_tick_values||(T=j.axis.updateXAxisTickValues(U))):(j.xAxis.tickValues([]),j.subXAxis.tickValues([])),L.zoom_rescale&&!e.flow&&(k=j.x.orgDomain()),j.y.domain(j.getYDomain(U,"y",k)),j.y2.domain(j.getYDomain(U,"y2",k)),!L.axis_y_tick_values&&L.axis_y_tick_count&&j.yAxis.tickValues(j.axis.generateTickValues(j.y.domain(),L.axis_y_tick_count)),!L.axis_y2_tick_values&&L.axis_y2_tick_count&&j.y2Axis.tickValues(j.axis.generateTickValues(j.y2.domain(),L.axis_y2_tick_count)),j.axis.redraw(t,V),j.axis.updateLabels(o),(s||g)&&U.length)if(L.axis_x_tick_culling&&T){for(P=1;P=0&&D.select(this).style("display",t%A?"none":"block")})}else j.svg.selectAll("."+h.axisX+" .tick text").style("display","block");y=j.generateDrawArea?j.generateDrawArea(I,!1):void 0,m=j.generateDrawBar?j.generateDrawBar(F):void 0,v=j.generateDrawLine?j.generateDrawLine(z,!1):void 0,b=j.generateXYForText(I,F,z,!0),_=j.generateXYForText(I,F,z,!1),n&&(j.subY.domain(j.getYDomain(U,"y")),j.subY2.domain(j.getYDomain(U,"y2"))),j.updateXgridFocus(),N.select("text."+h.text+"."+h.empty).attr("x",j.width/2).attr("y",j.height/2).text(L.data_empty_label_text).transition().style("opacity",U.length?0:1),j.updateGrid(x),j.updateRegion(x),j.updateBar(w),j.updateLine(w),j.updateArea(w),j.updateCircle(),j.hasDataLabel()&&j.updateText(w),j.redrawTitle&&j.redrawTitle(),j.redrawArc&&j.redrawArc(x,w,u),j.redrawSubchart&&j.redrawSubchart(r,t,x,w,I,F,z),N.selectAll("."+h.selectedCircles).filter(j.isBarType.bind(j)).selectAll("circle").remove(),L.interaction_enabled&&!e.flow&&p&&(j.redrawEventRect(),j.updateZoom&&j.updateZoom()),j.updateCircleY(),R=(j.config.axis_rotated?j.circleY:j.circleX).bind(j),M=(j.config.axis_rotated?j.circleX:j.circleY).bind(j),e.flow&&(O=j.generateFlow({targets:U,flow:e.flow,duration:e.flow.duration,drawBar:m,drawLine:v,drawArea:y,cx:R,cy:M,xv:G,xForText:b,yForText:_})),(x||O)&&j.isTabVisible()?D.transition().duration(x).each(function(){var t=[];[j.redrawBar(m,!0),j.redrawLine(v,!0),j.redrawArea(y,!0),j.redrawCircle(R,M,!0),j.redrawText(b,_,e.flow,!0),j.redrawRegion(!0),j.redrawGrid(!0)].forEach(function(e){e.forEach(function(e){t.push(e)})}),C=j.generateWait(),t.forEach(function(e){C.add(e)})}).call(C,function(){O&&O(),L.onrendered&&L.onrendered.call(j)}):(j.redrawBar(m),j.redrawLine(v),j.redrawArea(y),j.redrawCircle(R,M),j.redrawText(b,_,e.flow),j.redrawRegion(),j.redrawGrid(),L.onrendered&&L.onrendered.call(j)),j.mapToIds(j.data.targets).forEach(function(e){j.withoutFadeIn[e]=!0})},p.updateAndRedraw=function(e){var t,n=this,r=n.config;e=e||{},e.withTransition=S(e,"withTransition",!0),e.withTransform=S(e,"withTransform",!1),e.withLegend=S(e,"withLegend",!1),e.withUpdateXDomain=!0,e.withUpdateOrgXDomain=!0,e.withTransitionForExit=!1,e.withTransitionForTransform=S(e,"withTransitionForTransform",e.withTransition),n.updateSizes(),e.withLegend&&r.legend_show||(t=n.axis.generateTransitions(e.withTransitionForAxis?r.transition_duration:0),n.updateScales(),n.updateSvgSize(),n.transformAll(e.withTransitionForTransform,t)),n.redraw(e,t)},p.redrawWithoutRescale=function(){this.redraw({withY:!1,withSubchart:!1,withEventRect:!1,withTransitionForAxis:!1})},p.isTimeSeries=function(){return"timeseries"===this.config.axis_x_type},p.isCategorized=function(){return this.config.axis_x_type.indexOf("categor")>=0},p.isCustomX=function(){var e=this,t=e.config;return!e.isTimeSeries()&&(t.data_x||C(t.data_xs))},p.isTimeSeriesY=function(){return"timeseries"===this.config.axis_y_type},p.getTranslate=function(e){var t,n,r=this,o=r.config;return"main"===e?(t=x(r.margin.left),n=x(r.margin.top)):"context"===e?(t=x(r.margin2.left),n=x(r.margin2.top)):"legend"===e?(t=r.margin3.left,n=r.margin3.top):"x"===e?(t=0,n=o.axis_rotated?0:r.height):"y"===e?(t=0,n=o.axis_rotated?r.height:0):"y2"===e?(t=o.axis_rotated?0:r.width,n=o.axis_rotated?1:0):"subx"===e?(t=0,n=o.axis_rotated?0:r.height2):"arc"===e&&(t=r.arcWidth/2,n=r.arcHeight/2),"translate("+t+","+n+")"},p.initialOpacity=function(e){return null!==e.value&&this.withoutFadeIn[e.id]?1:0},p.initialOpacityForCircle=function(e){return null!==e.value&&this.withoutFadeIn[e.id]?this.opacityForCircle(e):0},p.opacityForCircle=function(e){var t=this.config.point_show?1:0;return g(e.value)?this.isScatterType(e)?.5:t:0},p.opacityForText=function(){return this.hasDataLabel()?1:0},p.xx=function(e){return e?this.x(e.x):null},p.xv=function(e){var t=this,n=e.value;return t.isTimeSeries()?n=t.parseDate(e.value):t.isCategorized()&&"string"==typeof e.value&&(n=t.config.axis_x_categories.indexOf(e.value)),Math.ceil(t.x(n))},p.yv=function(e){var t=this,n=e.axis&&"y2"===e.axis?t.y2:t.y;return Math.ceil(n(e.value))},p.subxx=function(e){return e?this.subX(e.x):null},p.transformMain=function(e,t){var n,r,o,i=this;t&&t.axisX?n=t.axisX:(n=i.main.select("."+h.axisX),e&&(n=n.transition())),t&&t.axisY?r=t.axisY:(r=i.main.select("."+h.axisY),e&&(r=r.transition())),t&&t.axisY2?o=t.axisY2:(o=i.main.select("."+h.axisY2),e&&(o=o.transition())),(e?i.main.transition():i.main).attr("transform",i.getTranslate("main")),n.attr("transform",i.getTranslate("x")),r.attr("transform",i.getTranslate("y")),o.attr("transform",i.getTranslate("y2")),i.main.select("."+h.chartArcs).attr("transform",i.getTranslate("arc"))},p.transformAll=function(e,t){var n=this;n.transformMain(e,t),n.config.subchart_show&&n.transformContext(e,t),n.legend&&n.transformLegend(e)},p.updateSvgSize=function(){var e=this,t=e.svg.select(".c3-brush .background");e.svg.attr("width",e.currentWidth).attr("height",e.currentHeight),e.svg.selectAll(["#"+e.clipId,"#"+e.clipIdForGrid]).select("rect").attr("width",e.width).attr("height",e.height),e.svg.select("#"+e.clipIdForXAxis).select("rect").attr("x",e.getXAxisClipX.bind(e)).attr("y",e.getXAxisClipY.bind(e)).attr("width",e.getXAxisClipWidth.bind(e)).attr("height",e.getXAxisClipHeight.bind(e)),e.svg.select("#"+e.clipIdForYAxis).select("rect").attr("x",e.getYAxisClipX.bind(e)).attr("y",e.getYAxisClipY.bind(e)).attr("width",e.getYAxisClipWidth.bind(e)).attr("height",e.getYAxisClipHeight.bind(e)),e.svg.select("#"+e.clipIdForSubchart).select("rect").attr("width",e.width).attr("height",t.size()?t.attr("height"):0),e.svg.select("."+h.zoomRect).attr("width",e.width).attr("height",e.height),e.selectChart.style("max-height",e.currentHeight+"px")},p.updateDimension=function(e){var t=this;e||(t.config.axis_rotated?(t.axes.x.call(t.xAxis),t.axes.subx.call(t.subXAxis)):(t.axes.y.call(t.yAxis),t.axes.y2.call(t.y2Axis))),t.updateSizes(),t.updateScales(),t.updateSvgSize(),t.transformAll(!1)},p.observeInserted=function(e){var t,n=this;if("undefined"==typeof MutationObserver)return void i.console.error("MutationObserver not defined.");t=new MutationObserver(function(r){r.forEach(function(r){"childList"===r.type&&r.previousSibling&&(t.disconnect(),n.intervalForObserveInserted=i.setInterval(function(){e.node().parentNode&&(i.clearInterval(n.intervalForObserveInserted),n.updateDimension(),n.brush&&n.brush.update(),n.config.oninit.call(n),n.redraw({withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransition:!1,withTransitionForTransform:!1,withLegend:!0}),e.transition().style("opacity",1))},10))})}),t.observe(e.node(),{attributes:!0,childList:!0,characterData:!0})},p.bindResize=function(){var e=this,t=e.config;if(e.resizeFunction=e.generateResize(),e.resizeFunction.add(function(){t.onresize.call(e)}),t.resize_auto&&e.resizeFunction.add(function(){void 0!==e.resizeTimeout&&i.clearTimeout(e.resizeTimeout),e.resizeTimeout=i.setTimeout(function(){delete e.resizeTimeout,e.api.flush()},100)}),e.resizeFunction.add(function(){t.onresized.call(e)}),i.attachEvent)i.attachEvent("onresize",e.resizeFunction);else if(i.addEventListener)i.addEventListener("resize",e.resizeFunction,!1);else{var n=i.onresize;n?n.add&&n.remove||(n=e.generateResize(),n.add(i.onresize)):n=e.generateResize(),n.add(e.resizeFunction),i.onresize=n}},p.generateResize=function(){function e(){t.forEach(function(e){e()})}var t=[];return e.add=function(e){t.push(e)},e.remove=function(e){for(var n=0;n0)for(a=u.hasNegativeValueInTargets(e),t=0;t=0}),0!==o.length)for(r=o[0],a&&l[r]&&l[r].forEach(function(e,t){l[r][t]=e<0?e:0}),n=1;n0||(l[r][t]+=+e)});return u.d3.min(Object.keys(l).map(function(e){return u.d3.min(l[e])}))},p.getYDomainMax=function(e){var t,n,r,o,i,a,u=this,s=u.config,c=u.mapToIds(e),l=u.getValuesAsIdKeyed(e);if(s.data_groups.length>0)for(a=u.hasPositiveValueInTargets(e),t=0;t=0}),0!==o.length)for(r=o[0],a&&l[r]&&l[r].forEach(function(e,t){l[r][t]=e>0?e:0}),n=1;n=0&&x>=0,p=_<=0&&x<=0,(g(v)&&f||g(b)&&p)&&(S=!1),S&&(f&&(_=0),p&&(x=0)),o=Math.abs(x-_),i=a=.1*o,void 0!==E&&(u=Math.max(Math.abs(_),Math.abs(x)),x=E+u,_=E-u),T?(s=d.getDataLabelLength(_,x,"width"),c=w(d.y.range()),l=[s[0]/c,s[1]/c],i+=o*(l[1]/(1-l[0]-l[1])),a+=o*(l[0]/(1-l[0]-l[1]))):P&&(s=d.getDataLabelLength(_,x,"height"),i+=d.axis.convertPixelsToAxisPadding(s[1],o),a+=d.axis.convertPixelsToAxisPadding(s[0],o)),"y"===t&&C(h.axis_y_padding)&&(i=d.axis.getPadding(h.axis_y_padding,"top",i,o),a=d.axis.getPadding(h.axis_y_padding,"bottom",a,o)),"y2"===t&&C(h.axis_y2_padding)&&(i=d.axis.getPadding(h.axis_y2_padding,"top",i,o),a=d.axis.getPadding(h.axis_y2_padding,"bottom",a,o)),S&&(f&&(a=_),p&&(i=-x)),r=[_-a,x+i],O?r.reverse():r)},p.getXDomainMin=function(e){var t=this,n=t.config;return b(n.axis_x_min)?t.isTimeSeries()?this.parseDate(n.axis_x_min):n.axis_x_min:t.d3.min(e,function(e){return t.d3.min(e.values,function(e){return e.x})})},p.getXDomainMax=function(e){var t=this,n=t.config;return b(n.axis_x_max)?t.isTimeSeries()?this.parseDate(n.axis_x_max):n.axis_x_max:t.d3.max(e,function(e){return t.d3.max(e.values,function(e){return e.x})})},p.getXDomainPadding=function(e){var t,n,r,o,i=this,a=i.config,u=e[1]-e[0];return i.isCategorized()?n=0:i.hasType("bar")?(t=i.getMaxDataCount(),n=t>1?u/(t-1)/2:.5):n=.01*u,"object"==typeof a.axis_x_padding&&C(a.axis_x_padding)?(r=g(a.axis_x_padding.left)?a.axis_x_padding.left:n,o=g(a.axis_x_padding.right)?a.axis_x_padding.right:n):r=o="number"==typeof a.axis_x_padding?a.axis_x_padding:n,{left:r,right:o}},p.getXDomain=function(e){var t=this,n=[t.getXDomainMin(e),t.getXDomainMax(e)],r=n[0],o=n[1],i=t.getXDomainPadding(n),a=0,u=0;return r-o!=0||t.isCategorized()||(t.isTimeSeries()?(r=new Date(.5*r.getTime()),o=new Date(1.5*o.getTime())):(r=0===r?1:.5*r,o=0===o?-1:1.5*o)),(r||0===r)&&(a=t.isTimeSeries()?new Date(r.getTime()-i.left):r-i.left),(o||0===o)&&(u=t.isTimeSeries()?new Date(o.getTime()+i.right):o+i.right),[a,u]},p.updateXDomain=function(e,t,n,r,o){var i=this,a=i.config;return n&&(i.x.domain(o||i.d3.extent(i.getXDomain(e))),i.orgXDomain=i.x.domain(),a.zoom_enabled&&i.zoom.scale(i.x).updateScaleExtent(),i.subX.domain(i.x.domain()),i.brush&&i.brush.scale(i.subX)),t&&(i.x.domain(o||(!i.brush||i.brush.empty()?i.orgXDomain:i.brush.extent())),a.zoom_enabled&&i.zoom.scale(i.x).updateScaleExtent()),r&&i.x.domain(i.trimXDomain(i.x.orgDomain())),i.x.domain()},p.trimXDomain=function(e){var t=this.getZoomDomain(),n=t[0],r=t[1];return e[0]<=n&&(e[1]=+e[1]+(n-e[0]),e[0]=n),r<=e[1]&&(e[0]=+e[0]-(e[1]-r),e[1]=r),e},p.isX=function(e){var t=this,n=t.config;return n.data_x&&e===n.data_x||C(n.data_xs)&&O(n.data_xs,e)},p.isNotX=function(e){return!this.isX(e)},p.getXKey=function(e){var t=this,n=t.config;return n.data_x?n.data_x:C(n.data_xs)?n.data_xs[e]:null},p.getXValuesOfXKey=function(e,t){var n,r=this;return(t&&C(t)?r.mapToIds(t):[]).forEach(function(t){r.getXKey(t)===e&&(n=r.data.xs[t])}),n},p.getIndexByX=function(e){var t=this,n=t.filterByX(t.data.targets,e);return n.length?n[0].index:null},p.getXValue=function(e,t){var n=this;return e in n.data.xs&&n.data.xs[e]&&g(n.data.xs[e][t])?n.data.xs[e][t]:t},p.getOtherTargetXs=function(){var e=this,t=Object.keys(e.data.xs);return t.length?e.data.xs[t[0]]:null},p.getOtherTargetX=function(e){var t=this.getOtherTargetXs();return t&&e1},p.isMultipleX=function(){return C(this.config.data_xs)||!this.config.data_xSort||this.hasType("scatter")},p.addName=function(e){var t,n=this;return e&&(t=n.config.data_names[e.id],e.name=void 0!==t?t:e.id),e},p.getValueOnIndex=function(e,t){var n=e.filter(function(e){return e.index===t});return n.length?n[0]:null},p.updateTargetX=function(e,t){var n=this;e.forEach(function(e){e.values.forEach(function(r,o){r.x=n.generateTargetX(t[o],e.id,o)}),n.data.xs[e.id]=t})},p.updateTargetXs=function(e,t){var n=this;e.forEach(function(e){t[e.id]&&n.updateTargetX([e],t[e.id])})},p.generateTargetX=function(e,t,n){var r=this;return r.isTimeSeries()?e?r.parseDate(e):r.parseDate(r.getXValue(t,n)):r.isCustomX()&&!r.isCategorized()?g(e)?+e:r.getXValue(t,n):n},p.cloneTarget=function(e){return{id:e.id,id_org:e.id_org,values:e.values.map(function(e){return{x:e.x,value:e.value,id:e.id}})}},p.updateXs=function(){var e=this;e.data.targets.length&&(e.xs=[],e.data.targets[0].values.forEach(function(t){e.xs[t.index]=t.x}))},p.getPrevX=function(e){var t=this.xs[e-1];return void 0!==t?t:null},p.getNextX=function(e){var t=this.xs[e+1];return void 0!==t?t:null},p.getMaxDataCount=function(){var e=this;return e.d3.max(e.data.targets,function(e){return e.values.length})},p.getMaxDataCountTarget=function(e){var t,n=e.length,r=0;return n>1?e.forEach(function(e){e.values.length>r&&(t=e,r=e.values.length)}):t=n?e[0]:null,t},p.getEdgeX=function(e){var t=this;return e.length?[t.d3.min(e,function(e){return e.values[0].x}),t.d3.max(e,function(e){return e.values[e.values.length-1].x})]:[0,0]},p.mapToIds=function(e){return e.map(function(e){return e.id})},p.mapToTargetIds=function(e){var t=this;return e?[].concat(e):t.mapToIds(t.data.targets)},p.hasTarget=function(e,t){var n,r=this.mapToIds(e);for(n=0;nt?1:e>=t?0:NaN})},p.addHiddenTargetIds=function(e){this.hiddenTargetIds=this.hiddenTargetIds.concat(e)},p.removeHiddenTargetIds=function(e){this.hiddenTargetIds=this.hiddenTargetIds.filter(function(t){return e.indexOf(t)<0})},p.addHiddenLegendIds=function(e){this.hiddenLegendIds=this.hiddenLegendIds.concat(e)},p.removeHiddenLegendIds=function(e){this.hiddenLegendIds=this.hiddenLegendIds.filter(function(t){return e.indexOf(t)<0})},p.getValuesAsIdKeyed=function(e){var t={};return e.forEach(function(e){t[e.id]=[],e.values.forEach(function(n){t[e.id].push(n.value)})}),t},p.checkValueInTargets=function(e,t){var n,r,o,i=Object.keys(e);for(n=0;n0})},p.isOrderDesc=function(){var e=this.config;return"string"==typeof e.data_order&&"desc"===e.data_order.toLowerCase()},p.isOrderAsc=function(){var e=this.config;return"string"==typeof e.data_order&&"asc"===e.data_order.toLowerCase()},p.orderTargets=function(e){var t=this,n=t.config,r=t.isOrderAsc(),o=t.isOrderDesc();return r||o?e.sort(function(e,t){var n=function(e,t){return e+Math.abs(t.value)},o=e.values.reduce(n,0),i=t.values.reduce(n,0);return r?i-o:o-i}):y(n.data_order)&&e.sort(n.data_order),e},p.filterByX=function(e,t){return this.d3.merge(e.map(function(e){return e.values})).filter(function(e){return e.x-t==0})},p.filterRemoveNull=function(e){return e.filter(function(e){return g(e.value)})},p.filterByXDomain=function(e,t){return e.map(function(e){return{id:e.id,id_org:e.id_org,values:e.values.filter(function(e){return t[0]<=e.x&&e.x<=t[1]})}})},p.hasDataLabel=function(){var e=this.config;return!("boolean"!=typeof e.data_labels||!e.data_labels)||!("object"!=typeof e.data_labels||!C(e.data_labels))},p.getDataLabelLength=function(e,t,n){var r=this,o=[0,0];return r.selectChart.select("svg").selectAll(".dummy").data([e,t]).enter().append("text").text(function(e){return r.dataLabelFormat(e.id)(e)}).each(function(e,t){o[t]=1.3*this.getBoundingClientRect()[n]}).remove(),o},p.isNoneArc=function(e){return this.hasTarget(this.data.targets,e.id)},p.isArc=function(e){return"data"in e&&this.hasTarget(this.data.targets,e.data.id)},p.findSameXOfValues=function(e,t){var n,r=e[t].x,o=[];for(n=t-1;n>=0&&r===e[n].x;n--)o.push(e[n]);for(n=t;n=0?r.data.xs[n]=(t&&r.data.xs[n]?r.data.xs[n]:[]).concat(e.map(function(e){return e[i]}).filter(g).map(function(e,t){return r.generateTargetX(e,n,t)})):o.data_x?r.data.xs[n]=r.getOtherTargetXs():C(o.data_xs)&&(r.data.xs[n]=r.getXValuesOfXKey(i,r.data.targets)):r.data.xs[n]=e.map(function(e,t){return t})}),i.forEach(function(e){if(!r.data.xs[e])throw new Error('x is not defined for id = "'+e+'".')}),n=i.map(function(t,n){var i=o.data_idConverter(t);return{id:i,id_org:t,values:e.map(function(e,a){var u,s=r.getXKey(t),c=e[s],l=null===e[t]||isNaN(e[t])?null:+e[t];return r.isCustomX()&&r.isCategorized()&&0===n&&!v(c)?(0===n&&0===a&&(o.axis_x_categories=[]),-1===(u=o.axis_x_categories.indexOf(c))&&(u=o.axis_x_categories.length,o.axis_x_categories.push(c))):u=r.generateTargetX(c,t,a),(v(e[t])||r.data.xs[t].length<=a)&&(u=void 0),{x:u,value:l,id:i}}).filter(function(e){return b(e.x)})}}),n.forEach(function(e){var t;o.data_xSort&&(e.values=e.values.sort(function(e,t){return(e.x||0===e.x?e.x:1/0)-(t.x||0===t.x?t.x:1/0)})),t=0,e.values.forEach(function(e){e.index=t++}),r.data.xs[e.id].sort(function(e,t){return e-t})}),r.hasNegativeValue=r.hasNegativeValueInTargets(n),r.hasPositiveValue=r.hasPositiveValueInTargets(n),o.data_type&&r.setTargetType(r.mapToIds(n).filter(function(e){return!(e in o.data_types)}),o.data_type),n.forEach(function(e){r.addCache(e.id_org,e)}),n},p.load=function(e,t){var n=this;e&&(t.filter&&(e=e.filter(t.filter)),(t.type||t.types)&&e.forEach(function(e){var r=t.types&&t.types[e.id]?t.types[e.id]:t.type;n.setTargetType(e.id,r)}),n.data.targets.forEach(function(t){for(var n=0;n0?n:320/(e.hasType("gauge")&&!t.gauge_fullCircle?2:1)},p.getCurrentPaddingTop=function(){var e=this,t=e.config,n=g(t.padding_top)?t.padding_top:0;return e.title&&e.title.node()&&(n+=e.getTitlePadding()),n},p.getCurrentPaddingBottom=function(){var e=this.config;return g(e.padding_bottom)?e.padding_bottom:0},p.getCurrentPaddingLeft=function(e){var t=this,n=t.config;return g(n.padding_left)?n.padding_left:n.axis_rotated?n.axis_x_show?Math.max(_(t.getAxisWidthByAxisId("x",e)),40):1:!n.axis_y_show||n.axis_y_inner?t.axis.getYAxisLabelPosition().isOuter?30:1:_(t.getAxisWidthByAxisId("y",e))},p.getCurrentPaddingRight=function(){var e=this,t=e.config,n=e.isLegendRight?e.getLegendWidth()+20:0;return g(t.padding_right)?t.padding_right+1:t.axis_rotated?10+n:!t.axis_y2_show||t.axis_y2_inner?2+n+(e.axis.getY2AxisLabelPosition().isOuter?20:0):_(e.getAxisWidthByAxisId("y2"))+n},p.getParentRectValue=function(e){for(var t,n=this.selectChart.node();n&&"BODY"!==n.tagName;){try{t=n.getBoundingClientRect()[e]}catch(r){"width"===e&&(t=n.offsetWidth)}if(t)break;n=n.parentNode}return t},p.getParentWidth=function(){return this.getParentRectValue("width")},p.getParentHeight=function(){var e=this.selectChart.style("height");return e.indexOf("px")>0?+e.replace("px",""):0},p.getSvgLeft=function(e){var t=this,n=t.config,r=n.axis_rotated||!n.axis_rotated&&!n.axis_y_inner,o=n.axis_rotated?h.axisX:h.axisY,i=t.main.select("."+o).node(),a=i&&r?i.getBoundingClientRect():{right:0},u=t.selectChart.node().getBoundingClientRect(),s=t.hasArcType(),c=a.right-u.left-(s?0:t.getCurrentPaddingLeft(e));return c>0?c:0},p.getAxisWidthByAxisId=function(e,t){var n=this,r=n.axis.getLabelPositionById(e);return n.axis.getMaxTickWidth(e,t)+(r.isInner?20:40)},p.getHorizontalAxisHeight=function(e){var t=this,n=t.config,r=30;return"x"!==e||n.axis_x_show?"x"===e&&n.axis_x_height?n.axis_x_height:"y"!==e||n.axis_y_show?"y2"!==e||n.axis_y2_show?("x"===e&&!n.axis_rotated&&n.axis_x_tick_rotate&&(r=30+t.axis.getMaxTickWidth(e)*Math.cos(Math.PI*(90-n.axis_x_tick_rotate)/180)),"y"===e&&n.axis_rotated&&n.axis_y_tick_rotate&&(r=30+t.axis.getMaxTickWidth(e)*Math.cos(Math.PI*(90-n.axis_y_tick_rotate)/180)),r+(t.axis.getLabelPositionById(e).isInner?0:10)+("y2"===e?-10:0)):t.rotated_padding_top:!n.legend_show||t.isLegendRight||t.isLegendInset?1:10:8},p.getEventRectWidth=function(){return Math.max(0,this.xAxis.tickInterval())},p.getShapeIndices=function(e){var t,n,r=this,o=r.config,i={},a=0;return r.filterTargetsToShow(r.data.targets.filter(e,r)).forEach(function(e){for(t=0;t=0&&(c+=u(o[a].value)-s))}),c}},p.isWithinShape=function(e,t){var n,r=this,o=r.d3.select(e);return r.isTargetToShow(t.id)?"circle"===e.nodeName?n=r.isStepType(t)?r.isWithinStep(e,r.getYScale(t.id)(t.value)):r.isWithinCircle(e,1.5*r.pointSelectR(t)):"path"===e.nodeName&&(n=!o.classed(h.bar)||r.isWithinBar(e)):n=!1,n},p.getInterpolate=function(e){var t=this,n=t.isInterpolationType(t.config.spline_interpolation_type)?t.config.spline_interpolation_type:"cardinal";return t.isSplineType(e)?n:t.isStepType(e)?t.config.line_step_type:"linear"},p.initLine=function(){this.main.select("."+h.chart).append("g").attr("class",h.chartLines)},p.updateTargetsForLine=function(e){var t,n,r=this,o=r.config,i=r.classChartLine.bind(r),a=r.classLines.bind(r),u=r.classAreas.bind(r),s=r.classCircles.bind(r),c=r.classFocus.bind(r);t=r.main.select("."+h.chartLines).selectAll("."+h.chartLine).data(e).attr("class",function(e){return i(e)+c(e)}),n=t.enter().append("g").attr("class",i).style("opacity",0).style("pointer-events","none"),n.append("g").attr("class",a),n.append("g").attr("class",u),n.append("g").attr("class",function(e){return r.generateClass(h.selectedCircles,e.id)}),n.append("g").attr("class",s).style("cursor",function(e){return o.data_selection_isselectable(e)?"pointer":null}),e.forEach(function(e){r.main.selectAll("."+h.selectedCircles+r.getTargetSelectorSuffix(e.id)).selectAll("."+h.selectedCircle).each(function(t){t.value=e.values[t.index].value})})},p.updateLine=function(e){var t=this;t.mainLine=t.main.selectAll("."+h.lines).selectAll("."+h.line).data(t.lineData.bind(t)),t.mainLine.enter().append("path").attr("class",t.classLine.bind(t)).style("stroke",t.color),t.mainLine.style("opacity",t.initialOpacity.bind(t)).style("shape-rendering",function(e){return t.isStepType(e)?"crispEdges":""}).attr("transform",null),t.mainLine.exit().transition().duration(e).style("opacity",0).remove()},p.redrawLine=function(e,t){return[(t?this.mainLine.transition(Math.random().toString()):this.mainLine).attr("d",e).style("stroke",this.color).style("opacity",1)]},p.generateDrawLine=function(e,t){var n=this,r=n.config,o=n.d3.svg.line(),i=n.generateGetLinePoints(e,t),a=t?n.getSubYScale:n.getYScale,u=function(e){return(t?n.subxx:n.xx).call(n,e)},s=function(e,t){return r.data_groups.length>0?i(e,t)[0][1]:a.call(n,e.id)(e.value)};return o=r.axis_rotated?o.x(s).y(u):o.x(u).y(s),r.line_connectNull||(o=o.defined(function(e){return null!=e.value})),function(e){var i,u=r.line_connectNull?n.filterRemoveNull(e.values):e.values,s=t?n.x:n.subX,c=a.call(n,e.id),l=0,f=0;return n.isLineType(e)?r.data_regions[e.id]?i=n.lineWithRegions(u,s,c,r.data_regions[e.id]):(n.isStepType(e)&&(u=n.convertValuesToStep(u)),i=o.interpolate(n.getInterpolate(e))(u)):(u[0]&&(l=s(u[0].x),f=c(u[0].value)),i=r.axis_rotated?"M "+f+" "+l:"M "+l+" "+f),i||"M 0 0"}},p.generateGetLinePoints=function(e,t){var n=this,r=n.config,o=e.__max__+1,i=n.getShapeX(0,o,e,!!t),a=n.getShapeY(!!t),u=n.getShapeOffset(n.isLineType,e,!!t),s=t?n.getSubYScale:n.getYScale;return function(e,t){var o=s.call(n,e.id)(0),c=u(e,t)||o,l=i(e),f=a(e);return r.axis_rotated&&(00?i(e,t)[0][1]:a.call(n,e.id)(n.getAreaBaseValue(e.id))},c=function(e,t){return r.data_groups.length>0?i(e,t)[1][1]:a.call(n,e.id)(e.value)};return o=r.axis_rotated?o.x0(s).x1(c).y(u):o.x(u).y0(r.area_above?0:s).y1(c),r.line_connectNull||(o=o.defined(function(e){return null!==e.value})),function(e){var t,i=r.line_connectNull?n.filterRemoveNull(e.values):e.values,a=0,u=0;return n.isAreaType(e)?(n.isStepType(e)&&(i=n.convertValuesToStep(i)),t=o.interpolate(n.getInterpolate(e))(i)):(i[0]&&(a=n.x(i[0].x),u=n.getYScale(e.id)(i[0].value)),t=r.axis_rotated?"M "+u+" "+a:"M "+a+" "+u),t||"M 0 0"}},p.getAreaBaseValue=function(){return 0},p.generateGetAreaPoints=function(e,t){var n=this,r=n.config,o=e.__max__+1,i=n.getShapeX(0,o,e,!!t),a=n.getShapeY(!!t),u=n.getShapeOffset(n.isAreaType,e,!!t),s=t?n.getSubYScale:n.getYScale;return function(e,t){var o=s.call(n,e.id)(0),c=u(e,t)||o,l=i(e),f=a(e);return r.axis_rotated&&(00?(e=n.getShapeIndices(n.isLineType),t=n.generateGetLinePoints(e),n.circleY=function(e,n){return t(e,n)[0][1]}):n.circleY=function(e){return n.getYScale(e.id)(e.value)}},p.getCircles=function(e,t){var n=this;return(t?n.main.selectAll("."+h.circles+n.getTargetSelectorSuffix(t)):n.main).selectAll("."+h.circle+(g(e)?"-"+e:""))},p.expandCircles=function(e,t,n){var r=this,o=r.pointExpandedR.bind(r);n&&r.unexpandCircles(),r.getCircles(e,t).classed(h.EXPANDED,!0).attr("r",o)},p.unexpandCircles=function(e){var t=this,n=t.pointR.bind(t);t.getCircles(e).filter(function(){return t.d3.select(this).classed(h.EXPANDED)}).classed(h.EXPANDED,!1).attr("r",n)},p.pointR=function(e){var t=this,n=t.config;return t.isStepType(e)?0:y(n.point_r)?n.point_r(e):n.point_r},p.pointExpandedR=function(e){var t=this,n=t.config;return n.point_focus_expand_enabled?n.point_focus_expand_r?n.point_focus_expand_r:1.75*t.pointR(e):t.pointR(e)},p.pointSelectR=function(e){var t=this,n=t.config;return y(n.point_select_r)?n.point_select_r(e):n.point_select_r?n.point_select_r:4*t.pointR(e)},p.isWithinCircle=function(e,t){var n=this.d3,r=n.mouse(e),o=n.select(e),i=+o.attr("cx"),a=+o.attr("cy");return Math.sqrt(Math.pow(i-r[0],2)+Math.pow(a-r[1],2))r.bar_width_max?r.bar_width_max:o},p.getBars=function(e,t){var n=this;return(t?n.main.selectAll("."+h.bars+n.getTargetSelectorSuffix(t)):n.main).selectAll("."+h.bar+(g(e)?"-"+e:""))},p.expandBars=function(e,t,n){var r=this;n&&r.unexpandBars(),r.getBars(e,t).classed(h.EXPANDED,!0)},p.unexpandBars=function(e){this.getBars(e).classed(h.EXPANDED,!1)},p.generateDrawBar=function(e,t){var n=this,r=n.config,o=n.generateGetBarPoints(e,t);return function(e,t){var n=o(e,t),i=r.axis_rotated?1:0,a=r.axis_rotated?0:1;return"M "+n[0][i]+","+n[0][a]+" L"+n[1][i]+","+n[1][a]+" L"+n[2][i]+","+n[2][a]+" L"+n[3][i]+","+n[3][a]+" z"}},p.generateGetBarPoints=function(e,t){var n=this,r=t?n.subXAxis:n.xAxis,o=e.__max__+1,i=n.getBarW(r,o),a=n.getShapeX(i,o,e,!!t),u=n.getShapeY(!!t),s=n.getShapeOffset(n.isBarType,e,!!t),c=t?n.getSubYScale:n.getYScale;return function(e,t){var r=c.call(n,e.id)(0),o=s(e,t)||r,l=a(e),f=u(e);return n.config.axis_rotated&&(0i.width?r=i.width-a.width:r<0&&(r=4)),r},p.getYForText=function(e,t,n){var r,o=this,i=n.getBoundingClientRect();return o.config.axis_rotated?r=(e[0][0]+e[2][0]+.6*i.height)/2:(r=e[2][1],t.value<0||0===t.value&&!o.hasPositiveValue?(r+=i.height,o.isBarType(t)&&o.isSafari()?r-=3:!o.isBarType(t)&&o.isChrome()&&(r+=3)):r+=o.isBarType(t)?-3:-6),null!==t.value||o.config.axis_rotated||(rthis.height&&(r=this.height-4)),r},p.setTargetType=function(e,t){var n=this,r=n.config;n.mapToTargetIds(e).forEach(function(e){n.withoutFadeIn[e]=t===r.data_types[e],r.data_types[e]=t}),e||(r.data_type=t)},p.hasType=function(e,t){var n=this,r=n.config.data_types,o=!1;return t=t||n.data.targets,t&&t.length?t.forEach(function(t){var n=r[t.id];(n&&n.indexOf(e)>=0||!n&&"line"===e)&&(o=!0)}):Object.keys(r).length?Object.keys(r).forEach(function(t){r[t]===e&&(o=!0)}):o=n.config.data_type===e,o},p.hasArcType=function(e){return this.hasType("pie",e)||this.hasType("donut",e)||this.hasType("gauge",e)},p.isLineType=function(e){var t=this.config,n=m(e)?e:e.id;return!t.data_types[n]||["line","spline","area","area-spline","step","area-step"].indexOf(t.data_types[n])>=0},p.isStepType=function(e){var t=m(e)?e:e.id;return["step","area-step"].indexOf(this.config.data_types[t])>=0},p.isSplineType=function(e){var t=m(e)?e:e.id;return["spline","area-spline"].indexOf(this.config.data_types[t])>=0},p.isAreaType=function(e){var t=m(e)?e:e.id;return["area","area-spline","area-step"].indexOf(this.config.data_types[t])>=0},p.isBarType=function(e){var t=m(e)?e:e.id;return"bar"===this.config.data_types[t]},p.isScatterType=function(e){var t=m(e)?e:e.id;return"scatter"===this.config.data_types[t]},p.isPieType=function(e){var t=m(e)?e:e.id;return"pie"===this.config.data_types[t]},p.isGaugeType=function(e){var t=m(e)?e:e.id;return"gauge"===this.config.data_types[t]},p.isDonutType=function(e){var t=m(e)?e:e.id;return"donut"===this.config.data_types[t]},p.isArcType=function(e){return this.isPieType(e)||this.isDonutType(e)||this.isGaugeType(e)},p.lineData=function(e){return this.isLineType(e)?[e]:[]},p.arcData=function(e){return this.isArcType(e.data)?[e]:[]},p.barData=function(e){return this.isBarType(e)?e.values:[]},p.lineOrScatterData=function(e){return this.isLineType(e)||this.isScatterType(e)?e.values:[]},p.barOrLineData=function(e){return this.isBarType(e)||this.isLineType(e)?e.values:[]},p.isInterpolationType=function(e){return["linear","linear-closed","basis","basis-open","basis-closed","bundle","cardinal","cardinal-open","cardinal-closed","monotone"].indexOf(e)>=0},p.initGrid=function(){var e=this,t=e.config,n=e.d3;e.grid=e.main.append("g").attr("clip-path",e.clipPathForGrid).attr("class",h.grid),t.grid_x_show&&e.grid.append("g").attr("class",h.xgrids),t.grid_y_show&&e.grid.append("g").attr("class",h.ygrids),t.grid_focus_show&&e.grid.append("g").attr("class",h.xgridFocus).append("line").attr("class",h.xgridFocus),e.xgrid=n.selectAll([]),t.grid_lines_front||e.initGridLines()},p.initGridLines=function(){var e=this,t=e.d3;e.gridLines=e.main.append("g").attr("clip-path",e.clipPathForGrid).attr("class",h.grid+" "+h.gridLines),e.gridLines.append("g").attr("class",h.xgridLines),e.gridLines.append("g").attr("class",h.ygridLines),e.xgridLines=t.selectAll([])},p.updateXGrid=function(e){var t=this,n=t.config,r=t.d3,o=t.generateGridData(n.grid_x_type,t.x),i=t.isCategorized()?t.xAxis.tickOffset():0;t.xgridAttr=n.axis_rotated?{x1:0,x2:t.width,y1:function(e){return t.x(e)-i},y2:function(e){return t.x(e)-i}}:{x1:function(e){return t.x(e)+i},x2:function(e){return t.x(e)+i},y1:0,y2:t.height},t.xgrid=t.main.select("."+h.xgrids).selectAll("."+h.xgrid).data(o),t.xgrid.enter().append("line").attr("class",h.xgrid),e||t.xgrid.attr(t.xgridAttr).style("opacity",function(){return+r.select(this).attr(n.axis_rotated?"y1":"x1")===(n.axis_rotated?t.height:0)?0:1}),t.xgrid.exit().remove()},p.updateYGrid=function(){var e=this,t=e.config,n=e.yAxis.tickValues()||e.y.ticks(t.grid_y_ticks);e.ygrid=e.main.select("."+h.ygrids).selectAll("."+h.ygrid).data(n),e.ygrid.enter().append("line").attr("class",h.ygrid),e.ygrid.attr("x1",t.axis_rotated?e.y:0).attr("x2",t.axis_rotated?e.y:e.width).attr("y1",t.axis_rotated?0:e.y).attr("y2",t.axis_rotated?e.height:e.y),e.ygrid.exit().remove(),e.smoothLines(e.ygrid,"grid")},p.gridTextAnchor=function(e){return e.position?e.position:"end"},p.gridTextDx=function(e){return"start"===e.position?4:"middle"===e.position?0:-4},p.xGridTextX=function(e){return"start"===e.position?-this.height:"middle"===e.position?-this.height/2:0},p.yGridTextX=function(e){return"start"===e.position?0:"middle"===e.position?this.width/2:this.width},p.updateGrid=function(e){var t,n,r,o=this,i=o.main,a=o.config;o.grid.style("visibility",o.hasArcType()?"hidden":"visible"),i.select("line."+h.xgridFocus).style("visibility","hidden"),a.grid_x_show&&o.updateXGrid(),o.xgridLines=i.select("."+h.xgridLines).selectAll("."+h.xgridLine).data(a.grid_x_lines),t=o.xgridLines.enter().append("g").attr("class",function(e){return h.xgridLine+(e.class?" "+e.class:"")}),t.append("line").style("opacity",0),t.append("text").attr("text-anchor",o.gridTextAnchor).attr("transform",a.axis_rotated?"":"rotate(-90)").attr("dx",o.gridTextDx).attr("dy",-5).style("opacity",0),o.xgridLines.exit().transition().duration(e).style("opacity",0).remove(),a.grid_y_show&&o.updateYGrid(),o.ygridLines=i.select("."+h.ygridLines).selectAll("."+h.ygridLine).data(a.grid_y_lines),n=o.ygridLines.enter().append("g").attr("class",function(e){return h.ygridLine+(e.class?" "+e.class:"")}),n.append("line").style("opacity",0),n.append("text").attr("text-anchor",o.gridTextAnchor).attr("transform",a.axis_rotated?"rotate(-90)":"").attr("dx",o.gridTextDx).attr("dy",-5).style("opacity",0),r=o.yv.bind(o),o.ygridLines.select("line").transition().duration(e).attr("x1",a.axis_rotated?r:0).attr("x2",a.axis_rotated?r:o.width).attr("y1",a.axis_rotated?0:r).attr("y2",a.axis_rotated?o.height:r).style("opacity",1),o.ygridLines.select("text").transition().duration(e).attr("x",a.axis_rotated?o.xGridTextX.bind(o):o.yGridTextX.bind(o)).attr("y",r).text(function(e){return e.text}).style("opacity",1),o.ygridLines.exit().transition().duration(e).style("opacity",0).remove()},p.redrawGrid=function(e){var t=this,n=t.config,r=t.xv.bind(t),o=t.xgridLines.select("line"),i=t.xgridLines.select("text");return[(e?o.transition():o).attr("x1",n.axis_rotated?0:r).attr("x2",n.axis_rotated?t.width:r).attr("y1",n.axis_rotated?r:0).attr("y2",n.axis_rotated?r:t.height).style("opacity",1),(e?i.transition():i).attr("x",n.axis_rotated?t.yGridTextX.bind(t):t.xGridTextX.bind(t)).attr("y",r).text(function(e){return e.text}).style("opacity",1)]},p.showXGridFocus=function(e){var t=this,n=t.config,r=e.filter(function(e){return e&&g(e.value)}),o=t.main.selectAll("line."+h.xgridFocus),i=t.xx.bind(t);n.tooltip_show&&(t.hasType("scatter")||t.hasArcType()||(o.style("visibility","visible").data([r[0]]).attr(n.axis_rotated?"y1":"x1",i).attr(n.axis_rotated?"y2":"x2",i),t.smoothLines(o,"grid")))},p.hideXGridFocus=function(){this.main.select("line."+h.xgridFocus).style("visibility","hidden")},p.updateXgridFocus=function(){var e=this,t=e.config;e.main.select("line."+h.xgridFocus).attr("x1",t.axis_rotated?0:-10).attr("x2",t.axis_rotated?e.width:-10).attr("y1",t.axis_rotated?-10:0).attr("y2",t.axis_rotated?-10:e.height)},p.generateGridData=function(e,t){var n,r,o,i,a=this,u=[],s=a.main.select("."+h.axisX).selectAll(".tick").size();if("year"===e)for(n=a.getXDomain(),r=n[0].getFullYear(),o=n[1].getFullYear(),i=r;i<=o;i++)u.push(new Date(i+"-01-01 00:00:00"));else u=t.ticks(10),u.length>s&&(u=u.filter(function(e){return(""+e).indexOf(".")<0}));return u},p.getGridFilterToRemove=function(e){return e?function(t){var n=!1;return[].concat(e).forEach(function(e){("value"in e&&t.value===e.value||"class"in e&&t.class===e.class)&&(n=!0)}),n}:function(){return!0}},p.removeGridLines=function(e,t){var n=this,r=n.config,o=n.getGridFilterToRemove(e),i=function(e){return!o(e)},a=t?h.xgridLines:h.ygridLines,u=t?h.xgridLine:h.ygridLine;n.main.select("."+a).selectAll("."+u).filter(o).transition().duration(r.transition_duration).style("opacity",0).remove(),t?r.grid_x_lines=r.grid_x_lines.filter(i):r.grid_y_lines=r.grid_y_lines.filter(i)},p.initTooltip=function(){var e,t=this,n=t.config;if(t.tooltip=t.selectChart.style("position","relative").append("div").attr("class",h.tooltipContainer).style("position","absolute").style("pointer-events","none").style("display","none"),n.tooltip_init_show){if(t.isTimeSeries()&&m(n.tooltip_init_x)){for(n.tooltip_init_x=t.parseDate(n.tooltip_init_x),e=0;e0&&r>0&&(n=e?y.indexOf(e.id):null,r=t?y.indexOf(t.id):null),g?n-r:r-n})}for(i=0;i"+(a||0===a?""+a+"":"")),void 0!==(u=T(h(e[i].value,e[i].ratio,e[i].id,e[i].index,e))))){if(null===e[i].name)continue;s=T(d(e[i].name,e[i].ratio,e[i].id,e[i].index)),c=l.levelColor?l.levelColor(e[i].value):r(e[i].id),o+="",o+=""+s+"",o+=""+u+"",o+=""}return o+""},p.tooltipPosition=function(e,t,n,r){var o,i,a,u,s,c=this,l=c.config,f=c.d3,p=c.hasArcType(),d=f.mouse(r);return p?(i=(c.width-(c.isLegendRight?c.getLegendWidth():0))/2+d[0],u=c.height/2+d[1]+20):(o=c.getSvgLeft(!0),l.axis_rotated?(i=o+d[0]+100,a=i+t,s=c.currentWidth-c.getCurrentPaddingRight(),u=c.x(e[0].x)+20):(i=o+c.getCurrentPaddingLeft(!0)+c.x(e[0].x)+20,a=i+t,s=o+c.currentWidth-c.getCurrentPaddingRight(),u=d[1]+15),a>s&&(i-=a-s+20),u+n>c.currentHeight&&(u-=n+30)),u<0&&(u=0),{top:u,left:i}},p.showTooltip=function(e,t){var n,r,o,i=this,a=i.config,u=i.hasArcType(),s=e.filter(function(e){return e&&g(e.value)}),c=a.tooltip_position||p.tooltipPosition;0!==s.length&&a.tooltip_show&&(i.tooltip.html(a.tooltip_contents.call(i,e,i.axis.getXAxisTickFormat(),i.getYFormat(u),i.color)).style("display","block"),n=i.tooltip.property("offsetWidth"),r=i.tooltip.property("offsetHeight"),o=c.call(this,s,n,r,t),i.tooltip.style("top",o.top+"px").style("left",o.left+"px"))},p.hideTooltip=function(){this.tooltip.style("display","none")},p.initLegend=function(){var e=this;if(e.legendItemTextBox={},e.legendHasRendered=!1,e.legend=e.svg.append("g").attr("transform",e.getTranslate("legend")),!e.config.legend_show)return e.legend.style("visibility","hidden"),void(e.hiddenLegendIds=e.mapToIds(e.data.targets));e.updateLegendWithDefaults()},p.updateLegendWithDefaults=function(){var e=this;e.updateLegend(e.mapToIds(e.data.targets),{withTransform:!1,withTransitionForTransform:!1,withTransition:!1})},p.updateSizeForLegend=function(e,t){var n=this,r=n.config,o={top:n.isLegendTop?n.getCurrentPaddingTop()+r.legend_inset_y+5.5:n.currentHeight-e-n.getCurrentPaddingBottom()-r.legend_inset_y,left:n.isLegendLeft?n.getCurrentPaddingLeft()+r.legend_inset_x+.5:n.currentWidth-t-n.getCurrentPaddingRight()-r.legend_inset_x+.5};n.margin3={top:n.isLegendRight?0:n.isLegendInset?o.top:n.currentHeight-e,right:NaN,bottom:0,left:n.isLegendRight?n.currentWidth-t:n.isLegendInset?o.left:0}},p.transformLegend=function(e){var t=this;(e?t.legend.transition():t.legend).attr("transform",t.getTranslate("legend"))},p.updateLegendStep=function(e){this.legendStep=e},p.updateLegendItemWidth=function(e){this.legendItemWidth=e},p.updateLegendItemHeight=function(e){this.legendItemHeight=e},p.getLegendWidth=function(){var e=this;return e.config.legend_show?e.isLegendRight||e.isLegendInset?e.legendItemWidth*(e.legendStep+1):e.currentWidth:0},p.getLegendHeight=function(){var e=this,t=0;return e.config.legend_show&&(t=e.isLegendRight?e.currentHeight:Math.max(20,e.legendItemHeight)*(e.legendStep+1)),t},p.opacityForLegend=function(e){return e.classed(h.legendItemHidden)?null:1},p.opacityForUnfocusedLegend=function(e){return e.classed(h.legendItemHidden)?null:.3},p.toggleFocusLegend=function(e,t){var n=this;e=n.mapToTargetIds(e),n.legend.selectAll("."+h.legendItem).filter(function(t){return e.indexOf(t)>=0}).classed(h.legendItemFocused,t).transition().duration(100).style("opacity",function(){return(t?n.opacityForLegend:n.opacityForUnfocusedLegend).call(n,n.d3.select(this))})},p.revertLegend=function(){var e=this,t=e.d3;e.legend.selectAll("."+h.legendItem).classed(h.legendItemFocused,!1).transition().duration(100).style("opacity",function(){return e.opacityForLegend(t.select(this))})},p.showLegend=function(e){var t=this,n=t.config;n.legend_show||(n.legend_show=!0,t.legend.style("visibility","visible"),t.legendHasRendered||t.updateLegendWithDefaults()),t.removeHiddenLegendIds(e),t.legend.selectAll(t.selectorLegends(e)).style("visibility","visible").transition().style("opacity",function(){return t.opacityForLegend(t.d3.select(this))})},p.hideLegend=function(e){var t=this,n=t.config;n.legend_show&&E(e)&&(n.legend_show=!1,t.legend.style("visibility","hidden")),t.addHiddenLegendIds(e),t.legend.selectAll(t.selectorLegends(e)).style("opacity",0).style("visibility","hidden")},p.clearLegendItemTextBoxCache=function(){this.legendItemTextBox={}},p.updateLegend=function(e,t,n){function r(e,t){return E.legendItemTextBox[t]||(E.legendItemTextBox[t]=E.getTextRect(e.textContent,h.legendItem,e)),E.legendItemTextBox[t]}function o(t,n,o){function i(e,t){t||(a=(h-M-d)/2)=P)&&(P=f),(!A||p>=A)&&(A=p),u=E.isLegendRight||E.isLegendInset?A:P,C.legend_equally?(Object.keys(N).forEach(function(e){N[e]=P}),Object.keys(D).forEach(function(e){D[e]=A}),a=(h-u*e.length)/2,a0&&0===w.size()&&(w=E.legend.insert("g","."+h.legendItem).attr("class",h.legendBackground).append("rect")),v=E.legend.selectAll("text").data(e).text(function(e){return b(C.data_names[e])?C.data_names[e]:e}).each(function(e,t){o(this,e,t)}),(y?v.transition():v).attr("x",a).attr("y",c),_=E.legend.selectAll("rect."+h.legendItemEvent).data(e),(y?_.transition():_).attr("width",function(e){return N[e]}).attr("height",function(e){return D[e]}).attr("x",u).attr("y",l),x=E.legend.selectAll("line."+h.legendItemTile).data(e),(y?x.transition():x).style("stroke",E.color).attr("x1",f).attr("y1",d).attr("x2",p).attr("y2",d),w&&(y?w.transition():w).attr("height",E.getLegendHeight()-12).attr("width",P*(F+1)+10),E.legend.selectAll("."+h.legendItem).classed(h.legendItemHidden,function(e){return!E.isTargetToShow(e)}),E.updateLegendItemWidth(P),E.updateLegendItemHeight(A),E.updateLegendStep(F),E.updateSizes(),E.updateScales(),E.updateSvgSize(),E.transformAll(m,n),E.legendHasRendered=!0},p.initTitle=function(){var e=this;e.title=e.svg.append("text").text(e.config.title_text).attr("class",e.CLASS.title)},p.redrawTitle=function(){var e=this;e.title.attr("x",e.xForTitle.bind(e)).attr("y",e.yForTitle.bind(e))},p.xForTitle=function(){var e=this,t=e.config,n=t.title_position||"left";return n.indexOf("right")>=0?e.currentWidth-e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).width-t.title_padding.right:n.indexOf("center")>=0?(e.currentWidth-e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).width)/2:t.title_padding.left},p.yForTitle=function(){var e=this;return e.config.title_padding.top+e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).height},p.getTitlePadding=function(){var e=this;return e.yForTitle()+e.config.title_padding.bottom},function(e,t){if(Object.create)t.prototype=Object.create(e.prototype);else{var n=function(){};n.prototype=e.prototype,t.prototype=new n}t.prototype.constructor=t}(a,c),c.prototype.init=function(){var e=this.owner,t=e.config,n=e.main;e.axes.x=n.append("g").attr("class",h.axis+" "+h.axisX).attr("clip-path",e.clipPathForXAxis).attr("transform",e.getTranslate("x")).style("visibility",t.axis_x_show?"visible":"hidden"),e.axes.x.append("text").attr("class",h.axisXLabel).attr("transform",t.axis_rotated?"rotate(-90)":"").style("text-anchor",this.textAnchorForXAxisLabel.bind(this)),e.axes.y=n.append("g").attr("class",h.axis+" "+h.axisY).attr("clip-path",t.axis_y_inner?"":e.clipPathForYAxis).attr("transform",e.getTranslate("y")).style("visibility",t.axis_y_show?"visible":"hidden"),e.axes.y.append("text").attr("class",h.axisYLabel).attr("transform",t.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForYAxisLabel.bind(this)),e.axes.y2=n.append("g").attr("class",h.axis+" "+h.axisY2).attr("transform",e.getTranslate("y2")).style("visibility",t.axis_y2_show?"visible":"hidden"),e.axes.y2.append("text").attr("class",h.axisY2Label).attr("transform",t.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForY2AxisLabel.bind(this))},c.prototype.getXAxis=function(e,t,n,r,o,i,a){var u=this.owner,s=u.config,c={isCategory:u.isCategorized(),withOuterTick:o,tickMultiline:s.axis_x_tick_multiline,tickWidth:s.axis_x_tick_width,tickTextRotate:a?0:s.axis_x_tick_rotate,withoutTransition:i},f=l(u.d3,c).scale(e).orient(t);return u.isTimeSeries()&&r&&"function"!=typeof r&&(r=r.map(function(e){return u.parseDate(e)})),f.tickFormat(n).tickValues(r),u.isCategorized()&&(f.tickCentered(s.axis_x_tick_centered),E(s.axis_x_tick_culling)&&(s.axis_x_tick_culling=!1)),f},c.prototype.updateXAxisTickValues=function(e,t){var n,r=this.owner,o=r.config;return(o.axis_x_tick_fit||o.axis_x_tick_count)&&(n=this.generateTickValues(r.mapTargetsToUniqueXs(e),o.axis_x_tick_count,r.isTimeSeries())),t?t.tickValues(n):(r.xAxis.tickValues(n),r.subXAxis.tickValues(n)),n},c.prototype.getYAxis=function(e,t,n,r,o,i,a){var u=this.owner,s=u.config,c={withOuterTick:o,withoutTransition:i,tickTextRotate:a?0:s.axis_y_tick_rotate},f=l(u.d3,c).scale(e).orient(t).tickFormat(n);return u.isTimeSeriesY()?f.ticks(u.d3.time[s.axis_y_tick_time_value],s.axis_y_tick_time_interval):f.tickValues(r),f},c.prototype.getId=function(e){var t=this.owner.config;return e in t.data_axes?t.data_axes[e]:"y"},c.prototype.getXAxisTickFormat=function(){var e=this.owner,t=e.config,n=e.isTimeSeries()?e.defaultAxisTimeFormat:e.isCategorized()?e.categoryName:function(e){return e<0?e.toFixed(0):e};return t.axis_x_tick_format&&(y(t.axis_x_tick_format)?n=t.axis_x_tick_format:e.isTimeSeries()&&(n=function(n){return n?e.axisTimeFormat(t.axis_x_tick_format)(n):""})),y(n)?function(t){return n.call(e,t)}:n},c.prototype.getTickValues=function(e,t){return e||(t?t.tickValues():void 0)},c.prototype.getXAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_x_tick_values,this.owner.xAxis)},c.prototype.getYAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y_tick_values,this.owner.yAxis)},c.prototype.getY2AxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y2_tick_values,this.owner.y2Axis)},c.prototype.getLabelOptionByAxisId=function(e){var t,n=this.owner,r=n.config;return"y"===e?t=r.axis_y_label:"y2"===e?t=r.axis_y2_label:"x"===e&&(t=r.axis_x_label),t},c.prototype.getLabelText=function(e){var t=this.getLabelOptionByAxisId(e);return m(t)?t:t?t.text:null},c.prototype.setLabelText=function(e,t){var n=this.owner,r=n.config,o=this.getLabelOptionByAxisId(e);m(o)?"y"===e?r.axis_y_label=t:"y2"===e?r.axis_y2_label=t:"x"===e&&(r.axis_x_label=t):o&&(o.text=t)},c.prototype.getLabelPosition=function(e,t){var n=this.getLabelOptionByAxisId(e),r=n&&"object"==typeof n&&n.position?n.position:t;return{isInner:r.indexOf("inner")>=0,isOuter:r.indexOf("outer")>=0,isLeft:r.indexOf("left")>=0,isCenter:r.indexOf("center")>=0,isRight:r.indexOf("right")>=0,isTop:r.indexOf("top")>=0,isMiddle:r.indexOf("middle")>=0,isBottom:r.indexOf("bottom")>=0}},c.prototype.getXAxisLabelPosition=function(){return this.getLabelPosition("x",this.owner.config.axis_rotated?"inner-top":"inner-right")},c.prototype.getYAxisLabelPosition=function(){return this.getLabelPosition("y",this.owner.config.axis_rotated?"inner-right":"inner-top")},c.prototype.getY2AxisLabelPosition=function(){return this.getLabelPosition("y2",this.owner.config.axis_rotated?"inner-right":"inner-top")},c.prototype.getLabelPositionById=function(e){return"y2"===e?this.getY2AxisLabelPosition():"y"===e?this.getYAxisLabelPosition():this.getXAxisLabelPosition()},c.prototype.textForXAxisLabel=function(){return this.getLabelText("x")},c.prototype.textForYAxisLabel=function(){return this.getLabelText("y")},c.prototype.textForY2AxisLabel=function(){return this.getLabelText("y2")},c.prototype.xForAxisLabel=function(e,t){var n=this.owner;return e?t.isLeft?0:t.isCenter?n.width/2:n.width:t.isBottom?-n.height:t.isMiddle?-n.height/2:0},c.prototype.dxForAxisLabel=function(e,t){return e?t.isLeft?"0.5em":t.isRight?"-0.5em":"0":t.isTop?"-0.5em":t.isBottom?"0.5em":"0"},c.prototype.textAnchorForAxisLabel=function(e,t){return e?t.isLeft?"start":t.isCenter?"middle":"end":t.isBottom?"start":t.isMiddle?"middle":"end"},c.prototype.xForXAxisLabel=function(){return this.xForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.xForYAxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.xForY2AxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.dxForXAxisLabel=function(){return this.dxForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.dxForYAxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.dxForY2AxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.dyForXAxisLabel=function(){var e=this.owner,t=e.config,n=this.getXAxisLabelPosition();return t.axis_rotated?n.isInner?"1.2em":-25-this.getMaxTickWidth("x"):n.isInner?"-0.5em":t.axis_x_height?t.axis_x_height-10:"3em"},c.prototype.dyForYAxisLabel=function(){var e=this.owner,t=this.getYAxisLabelPosition();return e.config.axis_rotated?t.isInner?"-0.5em":"3em":t.isInner?"1.2em":-10-(e.config.axis_y_inner?0:this.getMaxTickWidth("y")+10)},c.prototype.dyForY2AxisLabel=function(){var e=this.owner,t=this.getY2AxisLabelPosition();return e.config.axis_rotated?t.isInner?"1.2em":"-2.2em":t.isInner?"-0.5em":15+(e.config.axis_y2_inner?0:this.getMaxTickWidth("y2")+15)},c.prototype.textAnchorForXAxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(!e.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.textAnchorForYAxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(e.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.textAnchorForY2AxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(e.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.getMaxTickWidth=function(e,t){var n,r,o,i,a,u=this.owner,s=u.config,c=0;return t&&u.currentMaxTickWidths[e]?u.currentMaxTickWidths[e]:(u.svg&&(n=u.filterTargetsToShow(u.data.targets),"y"===e?(r=u.y.copy().domain(u.getYDomain(n,"y")),o=this.getYAxis(r,u.yOrient,s.axis_y_tick_format,u.yAxisTickValues,!1,!0,!0)):"y2"===e?(r=u.y2.copy().domain(u.getYDomain(n,"y2")),o=this.getYAxis(r,u.y2Orient,s.axis_y2_tick_format,u.y2AxisTickValues,!1,!0,!0)):(r=u.x.copy().domain(u.getXDomain(n)),o=this.getXAxis(r,u.xOrient,u.xAxisTickFormat,u.xAxisTickValues,!1,!0,!0),this.updateXAxisTickValues(n,o)),i=u.d3.select("body").append("div").classed("c3",!0),a=i.append("svg").style("visibility","hidden").style("position","fixed").style("top",0).style("left",0),a.append("g").call(o).each(function(){u.d3.select(this).selectAll("text").each(function(){var e=this.getBoundingClientRect();c2){for(a=r-2,o=e[0],i=e[e.length-1],u=(i-o)/(a+1),l=[o],s=0;s=0?"":document.URL.split("#")[0])+"#"+e+")"},p.appendClip=function(e,t){return e.append("clipPath").attr("id",t).append("rect")},p.getAxisClipX=function(e){var t=Math.max(30,this.margin.left);return e?-(1+t):-(t-1)},p.getAxisClipY=function(e){return e?-20:-this.margin.top},p.getXAxisClipX=function(){var e=this;return e.getAxisClipX(!e.config.axis_rotated)},p.getXAxisClipY=function(){var e=this;return e.getAxisClipY(!e.config.axis_rotated)},p.getYAxisClipX=function(){var e=this;return e.config.axis_y_inner?-1:e.getAxisClipX(e.config.axis_rotated)},p.getYAxisClipY=function(){var e=this;return e.getAxisClipY(e.config.axis_rotated)},p.getAxisClipWidth=function(e){var t=this,n=Math.max(30,t.margin.left),r=Math.max(30,t.margin.right);return e?t.width+2+n+r:t.margin.left+20},p.getAxisClipHeight=function(e){return(e?this.margin.bottom:this.margin.top+this.height)+20},p.getXAxisClipWidth=function(){var e=this;return e.getAxisClipWidth(!e.config.axis_rotated)},p.getXAxisClipHeight=function(){var e=this;return e.getAxisClipHeight(!e.config.axis_rotated)},p.getYAxisClipWidth=function(){var e=this;return e.getAxisClipWidth(e.config.axis_rotated)+(e.config.axis_y_inner?20:0)},p.getYAxisClipHeight=function(){var e=this;return e.getAxisClipHeight(e.config.axis_rotated)},p.initPie=function(){var e=this,t=e.d3,n=e.config;e.pie=t.layout.pie().value(function(e){return e.values.reduce(function(e,t){return e+t.value},0)}),n.data_order||e.pie.sort(null)},p.updateRadius=function(){var e=this,t=e.config,n=t.gauge_width||t.donut_width;e.radiusExpanded=Math.min(e.arcWidth,e.arcHeight)/2,e.radius=.95*e.radiusExpanded,e.innerRadiusRatio=n?(e.radius-n)/e.radius:.6,e.innerRadius=e.hasType("donut")||e.hasType("gauge")?e.radius*e.innerRadiusRatio:0},p.updateArc=function(){var e=this;e.svgArc=e.getSvgArc(),e.svgArcExpanded=e.getSvgArcExpanded(),e.svgArcExpandedSub=e.getSvgArcExpanded(.98)},p.updateAngle=function(e){var t,n,r,o,i=this,a=i.config,u=!1,s=0;return a?(i.pie(i.filterTargetsToShow(i.data.targets)).forEach(function(t){u||t.data.id!==e.data.id||(u=!0,e=t,e.index=s),s++}),isNaN(e.startAngle)&&(e.startAngle=0),isNaN(e.endAngle)&&(e.endAngle=e.startAngle),i.isGaugeType(e.data)&&(t=a.gauge_min,n=a.gauge_max,r=Math.PI*(a.gauge_fullCircle?2:1)/(n-t),o=e.value.375?1.175-36/a.radius:.8)*a.radius/o:0,c="translate("+n*i+","+r*i+")"),c},p.getArcRatio=function(e){var t=this,n=t.config,r=Math.PI*(t.hasType("gauge")&&!n.gauge_fullCircle?1:2);return e?(e.endAngle-e.startAngle)/r:null},p.convertToArcData=function(e){return this.addName({id:e.data.id,value:e.value,ratio:this.getArcRatio(e),index:e.index})},p.textForArcLabel=function(e){var t,n,r,o,i,a=this;return a.shouldShowArcLabel()?(t=a.updateAngle(e),n=t?t.value:null,r=a.getArcRatio(t),o=e.data.id,a.hasType("gauge")||a.meetsArcLabelThreshold(r)?(i=a.getArcLabelFormat(),i?i(n,r,o):a.defaultArcValueFormat(n,r)):""):""},p.expandArc=function(e){var t,n=this;if(n.transiting)return void(t=i.setInterval(function(){n.transiting||(i.clearInterval(t),n.legend.selectAll(".c3-legend-item-focused").size()>0&&n.expandArc(e))},10));e=n.mapToTargetIds(e),n.svg.selectAll(n.selectorTargets(e,"."+h.chartArc)).each(function(e){n.shouldExpand(e.data.id)&&n.d3.select(this).selectAll("path").transition().duration(n.expandDuration(e.data.id)).attr("d",n.svgArcExpanded).transition().duration(2*n.expandDuration(e.data.id)).attr("d",n.svgArcExpandedSub).each(function(e){n.isDonutType(e.data)})})},p.unexpandArc=function(e){var t=this;t.transiting||(e=t.mapToTargetIds(e),t.svg.selectAll(t.selectorTargets(e,"."+h.chartArc)).selectAll("path").transition().duration(function(e){return t.expandDuration(e.data.id)}).attr("d",t.svgArc),t.svg.selectAll("."+h.arc).style("opacity",1))},p.expandDuration=function(e){var t=this,n=t.config;return t.isDonutType(e)?n.donut_expand_duration:t.isGaugeType(e)?n.gauge_expand_duration:t.isPieType(e)?n.pie_expand_duration:50},p.shouldExpand=function(e){var t=this,n=t.config;return t.isDonutType(e)&&n.donut_expand||t.isGaugeType(e)&&n.gauge_expand||t.isPieType(e)&&n.pie_expand},p.shouldShowArcLabel=function(){var e=this,t=e.config,n=!0;return e.hasType("donut")?n=t.donut_label_show:e.hasType("pie")&&(n=t.pie_label_show),n},p.meetsArcLabelThreshold=function(e){var t=this,n=t.config;return e>=(t.hasType("donut")?n.donut_label_threshold:n.pie_label_threshold)},p.getArcLabelFormat=function(){var e=this,t=e.config,n=t.pie_label_format;return e.hasType("gauge")?n=t.gauge_label_format:e.hasType("donut")&&(n=t.donut_label_format),n},p.getArcTitle=function(){var e=this;return e.hasType("donut")?e.config.donut_title:""},p.updateTargetsForArc=function(e){var t,n,r=this,o=r.main,i=r.classChartArc.bind(r),a=r.classArcs.bind(r),u=r.classFocus.bind(r);t=o.select("."+h.chartArcs).selectAll("."+h.chartArc).data(r.pie(e)).attr("class",function(e){return i(e)+u(e.data)}),n=t.enter().append("g").attr("class",i),n.append("g").attr("class",a),n.append("text").attr("dy",r.hasType("gauge")?"-.1em":".35em").style("opacity",0).style("text-anchor","middle").style("pointer-events","none")},p.initArc=function(){var e=this;e.arcs=e.main.select("."+h.chart).append("g").attr("class",h.chartArcs).attr("transform",e.getTranslate("arc")),e.arcs.append("text").attr("class",h.chartArcsTitle).style("text-anchor","middle").text(e.getArcTitle())},p.redrawArc=function(e,t,n){var r,o=this,i=o.d3,a=o.config,u=o.main;r=u.selectAll("."+h.arcs).selectAll("."+h.arc).data(o.arcData.bind(o)),r.enter().append("path").attr("class",o.classArc.bind(o)).style("fill",function(e){return o.color(e.data)}).style("cursor",function(e){return a.interaction_enabled&&a.data_selection_isselectable(e)?"pointer":null}).style("opacity",0).each(function(e){o.isGaugeType(e.data)&&(e.startAngle=e.endAngle=a.gauge_startingAngle),this._current=e}),r.attr("transform",function(e){return!o.isGaugeType(e.data)&&n?"scale(0)":""}).style("opacity",function(e){return e===this._current?0:1}).on("mouseover",a.interaction_enabled?function(e){var t,n;o.transiting||(t=o.updateAngle(e))&&(n=o.convertToArcData(t),o.expandArc(t.data.id),o.api.focus(t.data.id),o.toggleFocusLegend(t.data.id,!0),o.config.data_onmouseover(n,this))}:null).on("mousemove",a.interaction_enabled?function(e){var t,n,r=o.updateAngle(e);r&&(t=o.convertToArcData(r),n=[t],o.showTooltip(n,this))}:null).on("mouseout",a.interaction_enabled?function(e){var t,n;o.transiting||(t=o.updateAngle(e))&&(n=o.convertToArcData(t),o.unexpandArc(t.data.id),o.api.revert(),o.revertLegend(),o.hideTooltip(),o.config.data_onmouseout(n,this))}:null).on("click",a.interaction_enabled?function(e,t){var n,r=o.updateAngle(e);r&&(n=o.convertToArcData(r),o.toggleShape&&o.toggleShape(this,n,t),o.config.data_onclick.call(o.api,n,this))}:null).each(function(){o.transiting=!0}).transition().duration(e).attrTween("d",function(e){var t,n=o.updateAngle(e);return n?(isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle),t=i.interpolate(this._current,n),this._current=t(0),function(n){var r=t(n);return r.data=e.data,o.getArc(r,!0)}):function(){return"M 0 0"}}).attr("transform",n?"scale(1)":"").style("fill",function(e){return o.levelColor?o.levelColor(e.data.values[0].value):o.color(e.data.id)}).style("opacity",1).call(o.endall,function(){o.transiting=!1}),r.exit().transition().duration(t).style("opacity",0).remove(),u.selectAll("."+h.chartArc).select("text").style("opacity",0).attr("class",function(e){return o.isGaugeType(e.data)?h.gaugeValue:""}).text(o.textForArcLabel.bind(o)).attr("transform",o.transformForArcLabel.bind(o)).style("font-size",function(e){return o.isGaugeType(e.data)?Math.round(o.radius/5)+"px":""}).transition().duration(e).style("opacity",function(e){return o.isTargetToShow(e.data.id)&&o.isArcType(e.data)?1:0}),u.select("."+h.chartArcsTitle).style("opacity",o.hasType("donut")||o.hasType("gauge")?1:0),o.hasType("gauge")&&(o.arcs.select("."+h.chartArcsBackground).attr("d",function(){var e={data:[{value:a.gauge_max}],startAngle:a.gauge_startingAngle,endAngle:-1*a.gauge_startingAngle};return o.getArc(e,!0,!0)}),o.arcs.select("."+h.chartArcsGaugeUnit).attr("dy",".75em").text(a.gauge_label_show?a.gauge_units:""),o.arcs.select("."+h.chartArcsGaugeMin).attr("dx",-1*(o.innerRadius+(o.radius-o.innerRadius)/(a.gauge_fullCircle?1:2))+"px").attr("dy","1.2em").text(a.gauge_label_show?a.gauge_min:""),o.arcs.select("."+h.chartArcsGaugeMax).attr("dx",o.innerRadius+(o.radius-o.innerRadius)/(a.gauge_fullCircle?1:2)+"px").attr("dy","1.2em").text(a.gauge_label_show?a.gauge_max:""))},p.initGauge=function(){var e=this.arcs;this.hasType("gauge")&&(e.append("path").attr("class",h.chartArcsBackground),e.append("text").attr("class",h.chartArcsGaugeUnit).style("text-anchor","middle").style("pointer-events","none"),e.append("text").attr("class",h.chartArcsGaugeMin).style("text-anchor","middle").style("pointer-events","none"),e.append("text").attr("class",h.chartArcsGaugeMax).style("text-anchor","middle").style("pointer-events","none"))},p.getGaugeLabelHeight=function(){return this.config.gauge_label_show?20:0},p.initRegion=function(){var e=this;e.region=e.main.append("g").attr("clip-path",e.clipPath).attr("class",h.regions)},p.updateRegion=function(e){var t=this,n=t.config;t.region.style("visibility",t.hasArcType()?"hidden":"visible"),t.mainRegion=t.main.select("."+h.regions).selectAll("."+h.region).data(n.regions),t.mainRegion.enter().append("g").append("rect").style("fill-opacity",0),t.mainRegion.attr("class",t.classRegion.bind(t)),t.mainRegion.exit().transition().duration(e).style("opacity",0).remove()},p.redrawRegion=function(e){var t=this,n=t.mainRegion.selectAll("rect").each(function(){var e=t.d3.select(this.parentNode).datum();t.d3.select(this).datum(e)}),r=t.regionX.bind(t),o=t.regionY.bind(t),i=t.regionWidth.bind(t),a=t.regionHeight.bind(t);return[(e?n.transition():n).attr("x",r).attr("y",o).attr("width",i).attr("height",a).style("fill-opacity",function(e){return g(e.opacity)?e.opacity:.1})]},p.regionX=function(e){var t=this,n=t.config,r="y"===e.axis?t.y:t.y2;return"y"===e.axis||"y2"===e.axis?n.axis_rotated&&"start"in e?r(e.start):0:n.axis_rotated?0:"start"in e?t.x(t.isTimeSeries()?t.parseDate(e.start):e.start):0},p.regionY=function(e){var t=this,n=t.config,r="y"===e.axis?t.y:t.y2;return"y"===e.axis||"y2"===e.axis?n.axis_rotated?0:"end"in e?r(e.end):0:n.axis_rotated&&"start"in e?t.x(t.isTimeSeries()?t.parseDate(e.start):e.start):0},p.regionWidth=function(e){var t,n=this,r=n.config,o=n.regionX(e),i="y"===e.axis?n.y:n.y2;return t="y"===e.axis||"y2"===e.axis?r.axis_rotated&&"end"in e?i(e.end):n.width:r.axis_rotated?n.width:"end"in e?n.x(n.isTimeSeries()?n.parseDate(e.end):e.end):n.width,t=0?h.focused:"")},p.classDefocused=function(e){return" "+(this.defocusedTargetIds.indexOf(e.id)>=0?h.defocused:"")},p.classChartText=function(e){return h.chartText+this.classTarget(e.id)},p.classChartLine=function(e){return h.chartLine+this.classTarget(e.id)},p.classChartBar=function(e){return h.chartBar+this.classTarget(e.id)},p.classChartArc=function(e){return h.chartArc+this.classTarget(e.data.id)},p.getTargetSelectorSuffix=function(e){return e||0===e?("-"+e).replace(/[\s?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\]/g,"-"):""},p.selectorTarget=function(e,t){return(t||"")+"."+h.target+this.getTargetSelectorSuffix(e)},p.selectorTargets=function(e,t){var n=this;return e=e||[],e.length?e.map(function(e){return n.selectorTarget(e,t)}):null},p.selectorLegend=function(e){return"."+h.legendItem+this.getTargetSelectorSuffix(e)},p.selectorLegends=function(e){var t=this;return e&&e.length?e.map(function(e){return t.selectorLegend(e)}):null};var g=p.isValue=function(e){return e||0===e},y=p.isFunction=function(e){return"function"==typeof e},m=p.isString=function(e){return"string"==typeof e},v=p.isUndefined=function(e){return void 0===e},b=p.isDefined=function(e){return void 0!==e},_=p.ceil10=function(e){return 10*Math.ceil(e/10)},x=p.asHalfPixel=function(e){return Math.ceil(e)+.5},w=p.diffDomain=function(e){return e[1]-e[0]},E=p.isEmpty=function(e){return void 0===e||null===e||m(e)&&0===e.length||"object"==typeof e&&0===Object.keys(e).length},C=p.notEmpty=function(e){return!p.isEmpty(e)},S=p.getOption=function(e,t,n){return b(e[t])?e[t]:n},O=p.hasValue=function(e,t){var n=!1;return Object.keys(e).forEach(function(r){e[r]===t&&(n=!0)}),n},T=p.sanitise=function(e){return"string"==typeof e?e.replace(//g,">"):e},P=p.getPathBox=function(e){var t=e.getBoundingClientRect(),n=[e.pathSegList.getItem(0),e.pathSegList.getItem(1)];return{x:n[0].x,y:Math.min(n[0].y,n[1].y),width:t.width,height:t.height}};f.focus=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e.filter(n.isTargetToShow,n))),this.revert(),this.defocus(),t.classed(h.focused,!0).classed(h.defocused,!1),n.hasArcType()&&n.expandArc(e),n.toggleFocusLegend(e,!0),n.focusedTargetIds=e,n.defocusedTargetIds=n.defocusedTargetIds.filter(function(t){return e.indexOf(t)<0})},f.defocus=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e.filter(n.isTargetToShow,n))),t.classed(h.focused,!1).classed(h.defocused,!0),n.hasArcType()&&n.unexpandArc(e),n.toggleFocusLegend(e,!1),n.focusedTargetIds=n.focusedTargetIds.filter(function(t){return e.indexOf(t)<0}),n.defocusedTargetIds=e},f.revert=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e)),t.classed(h.focused,!1).classed(h.defocused,!1),n.hasArcType()&&n.unexpandArc(e),n.config.legend_show&&(n.showLegend(e.filter(n.isLegendToShow.bind(n))),n.legend.selectAll(n.selectorLegends(e)).filter(function(){return n.d3.select(this).classed(h.legendItemFocused)}).classed(h.legendItemFocused,!1)),n.focusedTargetIds=[],n.defocusedTargetIds=[]},f.show=function(e,t){var n,r=this.internal;e=r.mapToTargetIds(e),t=t||{},r.removeHiddenTargetIds(e),n=r.svg.selectAll(r.selectorTargets(e)),n.transition().style("opacity",1,"important").call(r.endall,function(){n.style("opacity",null).style("opacity",1)}),t.withLegend&&r.showLegend(e),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},f.hide=function(e,t){var n,r=this.internal;e=r.mapToTargetIds(e),t=t||{},r.addHiddenTargetIds(e),n=r.svg.selectAll(r.selectorTargets(e)),n.transition().style("opacity",0,"important").call(r.endall,function(){n.style("opacity",null).style("opacity",0)}),t.withLegend&&r.hideLegend(e),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},f.toggle=function(e,t){var n=this,r=this.internal;r.mapToTargetIds(e).forEach(function(e){r.isTargetToShow(e)?n.hide(e,t):n.show(e,t)})},f.zoom=function(e){var t=this.internal;return e&&(t.isTimeSeries()&&(e=e.map(function(e){return t.parseDate(e)})),t.brush.extent(e),t.redraw({withUpdateXDomain:!0,withY:t.config.zoom_rescale}),t.config.zoom_onzoom.call(this,t.x.orgDomain())),t.brush.extent()},f.zoom.enable=function(e){var t=this.internal;t.config.zoom_enabled=e,t.updateAndRedraw()},f.unzoom=function(){var e=this.internal;e.brush.clear().update(),e.redraw({withUpdateXDomain:!0})},f.zoom.max=function(e){var t=this.internal,n=t.config,r=t.d3;if(0!==e&&!e)return n.zoom_x_max;n.zoom_x_max=r.max([t.orgXDomain[1],e])},f.zoom.min=function(e){var t=this.internal,n=t.config,r=t.d3;if(0!==e&&!e)return n.zoom_x_min;n.zoom_x_min=r.min([t.orgXDomain[0],e])},f.zoom.range=function(e){if(!arguments.length)return{max:this.domain.max(),min:this.domain.min()};b(e.max)&&this.domain.max(e.max),b(e.min)&&this.domain.min(e.min)},f.load=function(e){var t=this.internal,n=t.config;if(e.xs&&t.addXs(e.xs),"names"in e&&f.data.names.bind(this)(e.names),"classes"in e&&Object.keys(e.classes).forEach(function(t){n.data_classes[t]=e.classes[t]}),"categories"in e&&t.isCategorized()&&(n.axis_x_categories=e.categories),"axes"in e&&Object.keys(e.axes).forEach(function(t){n.data_axes[t]=e.axes[t]}),"colors"in e&&Object.keys(e.colors).forEach(function(t){n.data_colors[t]=e.colors[t]}),"cacheIds"in e&&t.hasCaches(e.cacheIds))return void t.load(t.getCaches(e.cacheIds),e.done);"unload"in e?t.unload(t.mapToTargetIds("boolean"==typeof e.unload&&e.unload?null:e.unload),function(){t.loadFromArgs(e)}):t.loadFromArgs(e)},f.unload=function(e){var t=this.internal;e=e||{},e instanceof Array?e={ids:e}:"string"==typeof e&&(e={ids:[e]}),t.unload(t.mapToTargetIds(e.ids),function(){t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),e.done&&e.done()})},f.flow=function(e){var t,n,r,o,i,a,u,s=this.internal,c=[],l=s.getMaxDataCount(),f=0,p=0;if(e.json)n=s.convertJsonToData(e.json,e.keys);else if(e.rows)n=s.convertRowsToData(e.rows);else{if(!e.columns)return;n=s.convertColumnsToData(e.columns)}t=s.convertDataToTargets(n,!0),s.data.targets.forEach(function(e){var n,r,o=!1;for(n=0;n1?o.values[o.values.length-1].x-i.x:i.x-s.getXDomain(s.data.targets)[0]:1,r=[i.x-a,i.x],s.updateXDomain(null,!0,!0,!1,r)),s.updateTargets(s.data.targets),s.redraw({flow:{index:i.index,length:f,duration:g(e.duration)?e.duration:s.config.transition_duration,done:e.done,orgDataCount:l},withLegend:!0,withTransition:l>1,withTrimXDomain:!1,withUpdateXAxis:!0})},p.generateFlow=function(e){var t=this,n=t.config,r=t.d3;return function(){var o,i,a,u=e.targets,s=e.flow,c=e.drawBar,l=e.drawLine,f=e.drawArea,p=e.cx,d=e.cy,g=e.xv,y=e.xForText,m=e.yForText,v=e.duration,b=1,_=s.index,x=s.length,E=t.getValueOnIndex(t.data.targets[0].values,_),C=t.getValueOnIndex(t.data.targets[0].values,_+x),S=t.x.domain(),O=s.duration||v,T=s.done||function(){},P=t.generateWait(),A=t.xgrid||r.selectAll([]),k=t.xgridLines||r.selectAll([]),R=t.mainRegion||r.selectAll([]),M=t.mainText||r.selectAll([]),j=t.mainBar||r.selectAll([]),N=t.mainLine||r.selectAll([]),D=t.mainArea||r.selectAll([]),L=t.mainCircle||r.selectAll([]);t.flowing=!0,t.data.targets.forEach(function(e){e.values.splice(0,x)}),a=t.updateXDomain(u,!0,!0),t.updateXGrid&&t.updateXGrid(!0),s.orgDataCount?o=1===s.orgDataCount||(E&&E.x)===(C&&C.x)?t.x(S[0])-t.x(a[0]):t.isTimeSeries()?t.x(S[0])-t.x(a[0]):t.x(E.x)-t.x(C.x):1!==t.data.targets[0].values.length?o=t.x(S[0])-t.x(a[0]):t.isTimeSeries()?(E=t.getValueOnIndex(t.data.targets[0].values,0),C=t.getValueOnIndex(t.data.targets[0].values,t.data.targets[0].values.length-1),o=t.x(E.x)-t.x(C.x)):o=w(a)/2,b=w(S)/w(a),i="translate("+o+",0) scale("+b+",1)",t.hideXGridFocus(),r.transition().ease("linear").duration(O).each(function(){P.add(t.axes.x.transition().call(t.xAxis)),P.add(j.transition().attr("transform",i)),P.add(N.transition().attr("transform",i)),P.add(D.transition().attr("transform",i)),P.add(L.transition().attr("transform",i)),P.add(M.transition().attr("transform",i)),P.add(R.filter(t.isRegionOnX).transition().attr("transform",i)),P.add(A.transition().attr("transform",i)),P.add(k.transition().attr("transform",i))}).call(P,function(){var e,r=[],o=[],i=[];if(x){for(e=0;e=0,p=!t||t.indexOf(u)>=0,d=s.classed(h.SELECTED);s.classed(h.line)||s.classed(h.area)||(f&&p?i.data_selection_isselectable(a)&&!d&&l(!0,s.classed(h.SELECTED,!0),a,u):b(n)&&n&&d&&l(!1,s.classed(h.SELECTED,!1),a,u))})},f.unselect=function(e,t){var n=this.internal,r=n.d3,o=n.config;o.data_selection_enabled&&n.main.selectAll("."+h.shapes).selectAll("."+h.shape).each(function(i,a){var u=r.select(this),s=i.data?i.data.id:i.id,c=n.getToggle(this,i).bind(n),l=o.data_selection_grouped||!e||e.indexOf(s)>=0,f=!t||t.indexOf(a)>=0,p=u.classed(h.SELECTED);u.classed(h.line)||u.classed(h.area)||l&&f&&o.data_selection_isselectable(i)&&p&&c(!1,u.classed(h.SELECTED,!1),i,a)})},f.transform=function(e,t){var n=this.internal,r=["pie","donut"].indexOf(e)>=0?{withTransform:!0}:null;n.transformTo(t,e,r)},p.transformTo=function(e,t,n){var r=this,o=!r.hasArcType(),i=n||{withTransitionForAxis:o};i.withTransitionForTransform=!1,r.transiting=!1,r.setTargetType(e,t),r.updateTargets(r.data.targets),r.updateAndRedraw(i)},f.groups=function(e){var t=this.internal,n=t.config;return v(e)?n.data_groups:(n.data_groups=e,t.redraw(),n.data_groups)},f.xgrids=function(e){var t=this.internal,n=t.config;return e?(n.grid_x_lines=e,t.redrawWithoutRescale(),n.grid_x_lines):n.grid_x_lines},f.xgrids.add=function(e){var t=this.internal;return this.xgrids(t.config.grid_x_lines.concat(e||[]))},f.xgrids.remove=function(e){this.internal.removeGridLines(e,!0)},f.ygrids=function(e){var t=this.internal,n=t.config;return e?(n.grid_y_lines=e,t.redrawWithoutRescale(),n.grid_y_lines):n.grid_y_lines},f.ygrids.add=function(e){var t=this.internal;return this.ygrids(t.config.grid_y_lines.concat(e||[]))},f.ygrids.remove=function(e){this.internal.removeGridLines(e,!1)},f.regions=function(e){var t=this.internal,n=t.config;return e?(n.regions=e,t.redrawWithoutRescale(),n.regions):n.regions},f.regions.add=function(e){var t=this.internal,n=t.config;return e?(n.regions=n.regions.concat(e),t.redrawWithoutRescale(),n.regions):n.regions},f.regions.remove=function(e){var t,n,r,o=this.internal,i=o.config;return e=e||{},t=o.getOption(e,"duration",i.transition_duration),n=o.getOption(e,"classes",[h.region]),r=o.main.select("."+h.regions).selectAll(n.map(function(e){return"."+e})),(t?r.transition().duration(t):r).style("opacity",0).remove(),i.regions=i.regions.filter(function(e){var t=!1;return!e.class||(e.class.split(" ").forEach(function(e){n.indexOf(e)>=0&&(t=!0)}),!t)}),i.regions},f.data=function(e){var t=this.internal.data.targets;return void 0===e?t:t.filter(function(t){return[].concat(e).indexOf(t.id)>=0})},f.data.shown=function(e){return this.internal.filterTargetsToShow(this.data(e))},f.data.values=function(e){var t,n=null;return e&&(t=this.data(e),n=t[0]?t[0].values.map(function(e){return e.value}):null),n},f.data.names=function(e){return this.internal.clearLegendItemTextBoxCache(),this.internal.updateDataAttributes("names",e)},f.data.colors=function(e){return this.internal.updateDataAttributes("colors",e)},f.data.axes=function(e){return this.internal.updateDataAttributes("axes",e)},f.category=function(e,t){var n=this.internal,r=n.config;return arguments.length>1&&(r.axis_x_categories[e]=t,n.redraw()),r.axis_x_categories[e]},f.categories=function(e){var t=this.internal,n=t.config;return arguments.length?(n.axis_x_categories=e,t.redraw(),n.axis_x_categories):n.axis_x_categories},f.color=function(e){return this.internal.color(e)},f.x=function(e){var t=this.internal;return arguments.length&&(t.updateTargetX(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs},f.xs=function(e){var t=this.internal;return arguments.length&&(t.updateTargetXs(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs},f.axis=function(){},f.axis.labels=function(e){var t=this.internal;arguments.length&&(Object.keys(e).forEach(function(n){t.axis.setLabelText(n,e[n])}),t.axis.updateLabels())},f.axis.max=function(e){var t=this.internal,n=t.config;if(!arguments.length)return{x:n.axis_x_max,y:n.axis_y_max,y2:n.axis_y2_max};"object"==typeof e?(g(e.x)&&(n.axis_x_max=e.x),g(e.y)&&(n.axis_y_max=e.y),g(e.y2)&&(n.axis_y2_max=e.y2)):n.axis_y_max=n.axis_y2_max=e,t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},f.axis.min=function(e){var t=this.internal,n=t.config;if(!arguments.length)return{x:n.axis_x_min,y:n.axis_y_min,y2:n.axis_y2_min};"object"==typeof e?(g(e.x)&&(n.axis_x_min=e.x),g(e.y)&&(n.axis_y_min=e.y),g(e.y2)&&(n.axis_y2_min=e.y2)):n.axis_y_min=n.axis_y2_min=e,t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},f.axis.range=function(e){if(!arguments.length)return{max:this.axis.max(),min:this.axis.min()};b(e.max)&&this.axis.max(e.max),b(e.min)&&this.axis.min(e.min)},f.legend=function(){},f.legend.show=function(e){var t=this.internal;t.showLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},f.legend.hide=function(e){var t=this.internal;t.hideLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},f.resize=function(e){var t=this.internal,n=t.config;n.size_width=e?e.width:null,n.size_height=e?e.height:null,this.flush()},f.flush=function(){this.internal.updateAndRedraw({withLegend:!0,withTransition:!1,withTransitionForTransform:!1})},f.destroy=function(){var e=this.internal;if(i.clearInterval(e.intervalForObserveInserted),void 0!==e.resizeTimeout&&i.clearTimeout(e.resizeTimeout),i.detachEvent)i.detachEvent("onresize",e.resizeFunction);else if(i.removeEventListener)i.removeEventListener("resize",e.resizeFunction);else{var t=i.onresize;t&&t.add&&t.remove&&t.remove(e.resizeFunction)}return e.selectChart.classed("c3",!1).html(""),Object.keys(e).forEach(function(t){e[t]=null}),null},f.tooltip=function(){},f.tooltip.show=function(e){var t,n,r=this.internal;e.mouse&&(n=e.mouse),e.data?r.isMultipleX()?(n=[r.x(e.data.x),r.getYScale(e.data.id)(e.data.value)],t=null):t=g(e.data.index)?e.data.index:r.getIndexByX(e.data.x):void 0!==e.x?t=r.getIndexByX(e.x):void 0!==e.index&&(t=e.index),r.dispatchEvent("mouseover",t,n),r.dispatchEvent("mousemove",t,n),r.config.tooltip_onshow.call(r,e.data)},f.tooltip.hide=function(){this.internal.dispatchEvent("mouseout",0),this.internal.config.tooltip_onhide.call(this)};var A;p.isSafari=function(){var e=i.navigator.userAgent;return e.indexOf("Safari")>=0&&e.indexOf("Chrome")<0},p.isChrome=function(){return i.navigator.userAgent.indexOf("Chrome")>=0},Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,o.prototype=new r,o}),function(){"SVGPathSeg"in i||(i.SVGPathSeg=function(e,t,n){this.pathSegType=e,this.pathSegTypeAsLetter=t,this._owningPathSegList=n},SVGPathSeg.PATHSEG_UNKNOWN=0,SVGPathSeg.PATHSEG_CLOSEPATH=1,SVGPathSeg.PATHSEG_MOVETO_ABS=2,SVGPathSeg.PATHSEG_MOVETO_REL=3,SVGPathSeg.PATHSEG_LINETO_ABS=4,SVGPathSeg.PATHSEG_LINETO_REL=5,SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,SVGPathSeg.PATHSEG_ARC_ABS=10,SVGPathSeg.PATHSEG_ARC_REL=11,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},i.SVGPathSegClosePath=function(e){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CLOSEPATH,"z",e)},SVGPathSegClosePath.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},SVGPathSegClosePath.prototype.clone=function(){return new SVGPathSegClosePath(void 0)},i.SVGPathSegMovetoAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_MOVETO_ABS,"M",e),this._x=t,this._y=n},SVGPathSegMovetoAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},SVGPathSegMovetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegMovetoAbs.prototype.clone=function(){return new SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegMovetoRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_MOVETO_REL,"m",e),this._x=t,this._y=n},SVGPathSegMovetoRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},SVGPathSegMovetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegMovetoRel.prototype.clone=function(){return new SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_ABS,"L",e),this._x=t,this._y=n},SVGPathSegLinetoAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},SVGPathSegLinetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegLinetoAbs.prototype.clone=function(){return new SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_REL,"l",e),this._x=t,this._y=n},SVGPathSegLinetoRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},SVGPathSegLinetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegLinetoRel.prototype.clone=function(){return new SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicAbs=function(e,t,n,r,o,i,a){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",e),this._x=t,this._y=n,this._x1=r,this._y1=o,this._x2=i,this._y2=a},SVGPathSegCurvetoCubicAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicRel=function(e,t,n,r,o,i,a){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",e),this._x=t,this._y=n,this._x1=r,this._y1=o,this._x2=i,this._y2=a},SVGPathSegCurvetoCubicRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticAbs=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",e),this._x=t,this._y=n,this._x1=r,this._y1=o},SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticRel=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",e),this._x=t,this._y=n,this._x1=r,this._y1=o},SVGPathSegCurvetoQuadraticRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegArcAbs=function(e,t,n,r,o,i,a,u){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_ARC_ABS,"A",e),this._x=t,this._y=n,this._r1=r,this._r2=o,this._angle=i,this._largeArcFlag=a,this._sweepFlag=u},SVGPathSegArcAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},SVGPathSegArcAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},SVGPathSegArcAbs.prototype.clone=function(){return new SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegArcRel=function(e,t,n,r,o,i,a,u){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_ARC_REL,"a",e),this._x=t,this._y=n,this._r1=r,this._r2=o,this._angle=i,this._largeArcFlag=a,this._sweepFlag=u},SVGPathSegArcRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},SVGPathSegArcRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},SVGPathSegArcRel.prototype.clone=function(){return new SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoHorizontalAbs=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",e),this._x=t},SVGPathSegLinetoHorizontalAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoHorizontalRel=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",e),this._x=t},SVGPathSegLinetoHorizontalRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoVerticalAbs=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",e),this._y=t},SVGPathSegLinetoVerticalAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoVerticalRel=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",e),this._y=t},SVGPathSegLinetoVerticalRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",e),this._x=t,this._y=n,this._x2=r,this._y2=o},SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicSmoothRel=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",e),this._x=t,this._y=n,this._x2=r,this._y2=o},SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticSmoothAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",e),this._x=t,this._y=n},SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticSmoothRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",e),this._x=t,this._y=n},SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new SVGPathSegClosePath(void 0)},SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(e,t){return new SVGPathSegMovetoAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegMovetoRel=function(e,t){return new SVGPathSegMovetoRel(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(e,t){return new SVGPathSegLinetoAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegLinetoRel=function(e,t){return new SVGPathSegLinetoRel(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(e,t,n,r,o,i){return new SVGPathSegCurvetoCubicAbs(void 0,e,t,n,r,o,i)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(e,t,n,r,o,i){return new SVGPathSegCurvetoCubicRel(void 0,e,t,n,r,o,i)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(e,t,n,r){return new SVGPathSegCurvetoQuadraticAbs(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(e,t,n,r){return new SVGPathSegCurvetoQuadraticRel(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegArcAbs=function(e,t,n,r,o,i,a){return new SVGPathSegArcAbs(void 0,e,t,n,r,o,i,a)},SVGPathElement.prototype.createSVGPathSegArcRel=function(e,t,n,r,o,i,a){return new SVGPathSegArcRel(void 0,e,t,n,r,o,i,a)},SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(e){return new SVGPathSegLinetoHorizontalAbs(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(e){return new SVGPathSegLinetoHorizontalRel(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(e){return new SVGPathSegLinetoVerticalAbs(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(e){return new SVGPathSegLinetoVerticalRel(void 0,e)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,r){return new SVGPathSegCurvetoCubicSmoothAbs(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(e,t,n,r){return new SVGPathSegCurvetoCubicSmoothRel(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(e,t){return new SVGPathSegCurvetoQuadraticSmoothAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(e,t){return new SVGPathSegCurvetoQuadraticSmoothRel(void 0,e,t)}),"SVGPathSegList"in i||(i.SVGPathSegList=function(e){this._pathElement=e,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},Object.defineProperty(SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},SVGPathSegList.prototype._updateListFromPathMutations=function(e){if(this._pathElement){var t=!1;e.forEach(function(e){"d"==e.attributeName&&(t=!0)}),t&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))}},SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},SVGPathSegList.prototype.segmentChanged=function(e){this._writeListToPath()},SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach(function(e){e._owningPathSegList=null}),this._list=[],this._writeListToPath()},SVGPathSegList.prototype.initialize=function(e){return this._checkPathSynchronizedToList(),this._list=[e],e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype._checkValidIndex=function(e){if(isNaN(e)||e<0||e>=this.numberOfItems)throw"INDEX_SIZE_ERR"},SVGPathSegList.prototype.getItem=function(e){return this._checkPathSynchronizedToList(),this._checkValidIndex(e),this._list[e]},SVGPathSegList.prototype.insertItemBefore=function(e,t){return this._checkPathSynchronizedToList(),t>this.numberOfItems&&(t=this.numberOfItems),e._owningPathSegList&&(e=e.clone()),this._list.splice(t,0,e),e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype.replaceItem=function(e,t){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._checkValidIndex(t),this._list[t]=e,e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype.removeItem=function(e){this._checkPathSynchronizedToList(),this._checkValidIndex(e);var t=this._list[e];return this._list.splice(e,1),this._writeListToPath(),t},SVGPathSegList.prototype.appendItem=function(e){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._list.push(e),e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList._pathSegArrayAsString=function(e){var t="",n=!0;return e.forEach(function(e){n?(n=!1,t+=e._asPathString()):t+=" "+e._asPathString()}),t},SVGPathSegList.prototype._parsePath=function(e){if(!e||0==e.length)return[];var t=this,n=function(){this.pathSegList=[]};n.prototype.appendSegment=function(e){this.pathSegList.push(e)};var r=function(e){this._string=e,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};r.prototype._isCurrentSpace=function(){var e=this._string[this._currentIndex];return e<=" "&&(" "==e||"\n"==e||"\t"==e||"\r"==e||"\f"==e)},r.prototype._skipOptionalSpaces=function(){for(;this._currentIndex="0"&&e<="9")&&t!=SVGPathSeg.PATHSEG_CLOSEPATH?t==SVGPathSeg.PATHSEG_MOVETO_ABS?SVGPathSeg.PATHSEG_LINETO_ABS:t==SVGPathSeg.PATHSEG_MOVETO_REL?SVGPathSeg.PATHSEG_LINETO_REL:t:SVGPathSeg.PATHSEG_UNKNOWN},r.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;var e=this.peekSegmentType();return e==SVGPathSeg.PATHSEG_MOVETO_ABS||e==SVGPathSeg.PATHSEG_MOVETO_REL},r.prototype._parseNumber=function(){var e=0,t=0,n=1,r=0,o=1,i=1,a=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex"9")&&"."!=this._string.charAt(this._currentIndex))){for(var u=this._currentIndex;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)this._currentIndex++;if(this._currentIndex!=u)for(var s=this._currentIndex-1,c=1;s>=u;)t+=c*(this._string.charAt(s--)-"0"),c*=10;if(this._currentIndex=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)r+=(this._string.charAt(this._currentIndex++)-"0")*(n*=.1)}if(this._currentIndex!=a&&this._currentIndex+1=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)e*=10,e+=this._string.charAt(this._currentIndex)-"0",this._currentIndex++}var l=t+r;if(l*=o,e&&(l*=Math.pow(10,i*e)),a!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),l}},r.prototype._parseArcFlag=function(){if(!(this._currentIndex>=this._endIndex)){var e=!1,t=this._string.charAt(this._currentIndex++);if("0"==t)e=!1;else{if("1"!=t)return;e=!0}return this._skipOptionalSpacesOrDelimiter(),e}},r.prototype.parseSegment=function(){var e=this._string[this._currentIndex],n=this._pathSegTypeFromChar(e);if(n==SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==SVGPathSeg.PATHSEG_UNKNOWN)return null;if((n=this._nextCommandHelper(e,this._previousCommand))==SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=n,n){case SVGPathSeg.PATHSEG_MOVETO_REL:return new SVGPathSegMovetoRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_MOVETO_ABS:return new SVGPathSegMovetoAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_REL:return new SVGPathSegLinetoRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_ABS:return new SVGPathSegLinetoAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new SVGPathSegLinetoHorizontalRel(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new SVGPathSegLinetoHorizontalAbs(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new SVGPathSegLinetoVerticalRel(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new SVGPathSegLinetoVerticalAbs(t,this._parseNumber());case SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new SVGPathSegClosePath(t);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicRel(t,r.x,r.y,r.x1,r.y1,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicAbs(t,r.x,r.y,r.x1,r.y1,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:var r={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicSmoothRel(t,r.x,r.y,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:var r={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicSmoothAbs(t,r.x,r.y,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoQuadraticRel(t,r.x,r.y,r.x1,r.y1);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoQuadraticAbs(t,r.x,r.y,r.x1,r.y1);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new SVGPathSegCurvetoQuadraticSmoothRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new SVGPathSegCurvetoQuadraticSmoothAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_ARC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegArcRel(t,r.x,r.y,r.x1,r.y1,r.arcAngle,r.arcLarge,r.arcSweep);case SVGPathSeg.PATHSEG_ARC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegArcAbs(t,r.x,r.y,r.x1,r.y1,r.arcAngle,r.arcLarge,r.arcSweep);default:throw"Unknown path seg type."}};var o=new n,i=new r(e);if(!i.initialCommandIsMoveTo())return[];for(;i.hasMoreData();){var a=i.parseSegment();if(!a)return[];o.appendSegment(a)}return o.pathSegList})}(),r=[n(226)],void 0!==(o=function(){return d}.apply(t,r))&&(e.exports=o)}(window)},function(e,t,n){"use strict";e.exports=n(571)},function(e,t,n){"use strict";function r(e){var t=e.trim().toLowerCase();return!m.test(t)||!!v.test(t)}function o(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=g.toASCII(t.hostname)}catch(e){}return h.encode(h.format(t))}function i(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=g.toUnicode(t.hostname)}catch(e){}return h.decode(h.format(t))}function a(e,t){if(!(this instanceof a))return new a(e,t);t||u.isString(e)||(t=e||{},e="default"),this.inline=new p,this.block=new f,this.core=new l,this.renderer=new c,this.linkify=new d,this.validateLink=r,this.normalizeLink=o,this.normalizeLinkText=i,this.utils=u,this.helpers=u.assign({},s),this.options={},this.configure(e),t&&this.set(t)}var u=n(6),s=n(579),c=n(583),l=n(584),f=n(592),p=n(606),d=n(619),h=n(228),g=n(621),y={default:n(622),zero:n(623),commonmark:n(624)},m=/^(vbscript|javascript|file|data):/,v=/^data:image\/(gif|png|jpeg|webp);/,b=["http:","https:","mailto:"];a.prototype.set=function(e){return u.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(u.isString(e)&&(t=e,!(e=y[t])))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},a.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},a.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=a},function(e,t){e.exports={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:"‌"}},function(e,t,n){"use strict";function r(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1=56320&&s<=57343){l+=encodeURIComponent(e[i]+e[i+1]),i++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[i]);return l}var i={};o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",e.exports=o},function(e,t,n){"use strict";function r(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&o)&&t+91114111?c+="����":(s-=65536,c+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):c+="�";return c})}var i={};o.defaultChars=";/?:@&=+$,#",o.componentChars="",e.exports=o},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function o(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(s),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,o,a,s,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var l=u.exec(c);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var m=i.exec(c);if(m&&(m=m[0],o=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===c.substr(0,2))||m&&g[m]||(c=c.substr(2),this.slashes=!0)),!g[m]&&(s||m&&!y[m])){var v=-1;for(n=0;n127?S+="x":S+=C[O];if(!S.match(d)){var P=E.slice(0,n),A=E.slice(n+1),k=C.match(h);k&&(P.push(k[1]),A.unshift(k[2])),A.length&&(c=A.join(".")+c),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var R=c.indexOf("#");-1!==R&&(this.hash=c.substr(R),c=c.slice(0,R));var M=c.indexOf("?");return-1!==M&&(this.search=c.substr(M),c=c.slice(0,M)),c&&(this.pathname=c),y[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=o},function(e,t,n){"use strict";t.Any=n(229),t.Cc=n(230),t.Cf=n(578),t.P=n(133),t.Z=n(231)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(580),t.parseLinkDestination=n(581),t.parseLinkTitle=n(582)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a,u=-1,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos1)break;if(41===i&&--a<0)break;t++}return u===t?s:(s.str=o(e.slice(u,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(6).unescapeAll;e.exports=function(e,t,n){var o,i,a=0,u=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t"+a(e[t].content)+""},u.code_block=function(e,t,n,r,o){var i=e[t];return""+a(e[t].content)+"\n"},u.fence=function(e,t,n,r,o){var u,s,c,l,f=e[t],p=f.info?i(f.info).trim():"",d="";return p&&(d=p.split(/\s+/g)[0]),u=n.highlight?n.highlight(f.content,d)||a(f.content):a(f.content),0===u.indexOf(""+u+"\n"):"
"+u+"
\n"},u.image=function(e,t,n,r,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(e,t,n)},u.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},u.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},u.text=function(e,t){return a(e[t].content)},u.html_block=function(e,t){return e[t].content},u.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,o="",i=this.rules,a=0,u=e.length;a\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}var i=n(6).arrayReplaceAt;e.exports=function(e){var t,n,a,u,s,c,l,f,p,d,h,g,y,m,v,b,_,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=u[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&y>0&&y--,o(c.content)&&y++),!(y>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(p=c.content,_=e.md.linkify.match(p),l=[],g=c.level,h=0,f=0;f<_.length;f++)m=_[f].url,v=e.md.normalizeLink(m),e.md.validateLink(v)&&(b=_[f].text,b=_[f].schema?"mailto:"!==_[f].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),d=_[f].index,d>h&&(s=new e.Token("text","",0),s.content=p.slice(h,d),s.level=g,l.push(s)),s=new e.Token("link_open","a",1),s.attrs=[["href",v]],s.level=g++,s.markup="linkify",s.info="auto",l.push(s),s=new e.Token("text","",0),s.content=b,s.level=g,l.push(s),s=new e.Token("link_close","a",-1),s.level=--g,s.markup="linkify",s.info="auto",l.push(s),h=_[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||o||(n.content=n.content.replace(s,r)),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}function i(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,u=/\((c|tm|r|p)\)/i,s=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(u.test(e.tokens[t].content)&&o(e.tokens[t].children),a.test(e.tokens[t].content)&&i(e.tokens[t].children))}},function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function o(e,t){var n,o,s,f,p,d,h,g,y,m,v,b,_,x,w,E,C,S,O,T,P;for(O=[],n=0;n=0&&!(O[C].level<=h);C--);if(O.length=C+1,"text"===o.type){s=o.content,p=0,d=s.length;e:for(;p=0)y=s.charCodeAt(f.index-1);else for(C=n-1;C>=0;C--)if("text"===e[C].type){y=e[C].content.charCodeAt(e[C].content.length-1);break}if(m=32,p=48&&y<=57&&(E=w=!1),w&&E&&(w=!1,E=b),w||E){if(E)for(C=O.length-1;C>=0&&(g=O[C],!(O[C].level=0;t--)"inline"===e.tokens[t].type&&s.test(e.tokens[t].content)&&o(e.tokens[t].children,e)}},function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var o=n(135);r.prototype.Token=o,e.exports=r},function(e,t,n){"use strict";function r(){this.ruler=new o;for(var e=0;e=n))&&!(e.sCount[a]=s){e.line=n;break}for(r=0;rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(u=e.src.charCodeAt(c++))&&45!==u&&58!==u)return!1;for(;c=4)return!1;if(p=o(s.replace(/^\||\|$/g,"")),(d=p.length)>g.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=m=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],l=0;l=4);f++){for(p=o(s.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),l=0;l=4))break;r++,o=r}return e.line=o,i=e.push("code_block","code",0),i.content=e.getLines(t,o,4+e.blkIndent,!0),i.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var o,i,a,u,s,c,l,f=!1,p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>d)return!1;if(126!==(o=e.src.charCodeAt(p))&&96!==o)return!1;if(s=p,p=e.skipChars(p,o),(i=p-s)<3)return!1;if(l=e.src.slice(s,p),a=e.src.slice(p,d),a.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;for(u=t;!(++u>=n)&&(p=s=e.bMarks[u]+e.tShift[u],d=e.eMarks[u],!(p=4||(p=e.skipChars(p,o))-s=4)return!1;if(62!==e.src.charCodeAt(O++))return!1;if(o)return!0;for(s=h=e.sCount[t]+O-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(O)?(O++,s++,h++,i=!1,x=!0):9===e.src.charCodeAt(O)?(x=!0,(e.bsCount[t]+h)%4==3?(O++,s++,h++,i=!1):i=!0):x=!1,g=[e.bMarks[t]],e.bMarks[t]=O;O=T,b=[e.sCount[t]],e.sCount[t]=h-s,_=[e.tShift[t]],e.tShift[t]=O-e.bMarks[t],E=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",d=t+1;d=T));d++)if(62!==e.src.charCodeAt(O++)||c){if(f)break;for(w=!1,u=0,l=E.length;u=T,y.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(x?1:0),b.push(e.sCount[d]),e.sCount[d]=h-s,_.push(e.tShift[d]),e.tShift[d]=O-e.bMarks[d]}for(m=e.blkIndent,e.blkIndent=0,C=e.push("blockquote_open","blockquote",1),C.markup=">",C.map=p=[t,0],e.md.block.tokenize(e,t,d),C=e.push("blockquote_close","blockquote",-1),C.markup=">",e.lineMax=S,e.parentType=v,p[1]=e.line,u=0;u<_.length;u++)e.bMarks[u+t]=g[u],e.tShift[u+t]=_[u],e.sCount[u+t]=b[u],e.bsCount[u+t]=y[u];return e.blkIndent=m,!0}},function(e,t,n){"use strict";var r=n(6).isSpace;e.exports=function(e,t,n,o){var i,a,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(c++))&&45!==i&&95!==i)return!1;for(a=1;c=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;n=e.src.charCodeAt(o++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}}return o=4)return!1;if(u&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(L=!0),(k=o(e,t))>=0){if(h=!0,M=e.bMarks[t]+e.tShift[t],_=Number(e.src.substr(M,k-M-1)),L&&1!==_)return!1}else{if(!((k=r(e,t))>=0))return!1;h=!1}if(L&&e.skipSpaces(k)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(k-1),u)return!0;for(v=e.tokens.length,h?(D=e.push("ordered_list_open","ol",1),1!==_&&(D.attrs=[["start",_]])):D=e.push("bullet_list_open","ul",1),D.map=m=[t,0],D.markup=String.fromCharCode(b),w=t,R=!1,N=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";w=x?1:E-d,p>4&&(p=1),f=d+p,D=e.push("list_item_open","li",1),D.markup=String.fromCharCode(b),D.map=g=[t,0],C=e.blkIndent,P=e.tight,T=e.tShift[t],S=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=E,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!R||(I=!1),R=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=C,e.tShift[t]=T,e.sCount[t]=S,e.tight=P,D=e.push("list_item_close","li",-1),D.markup=String.fromCharCode(b),w=t=e.line,g[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]=4)return!1;if(91!==e.src.charCodeAt(E))return!1;for(;++E3||e.sCount[S]<0)){for(b=!1,f=0,p=_.length;f=4)return!1;if(35!==(i=e.src.charCodeAt(c))||c>=l)return!1;for(a=1,i=e.src.charCodeAt(++c);35===i&&c6||cc&&r(e.src.charCodeAt(u-1))&&(l=u),e.line=t+1,s=e.push("heading_open","h"+String(a),1),s.markup="########".slice(0,a),s.map=[t,e.line],s=e.push("inline","",0),s.content=e.src.slice(c,l).trim(),s.map=[t,e.line],s.children=[],s=e.push("heading_close","h"+String(a),-1),s.markup="########".slice(0,a),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a,u,s,c,l,f,p,d=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(s=e.bMarks[d]+e.tShift[d],c=e.eMarks[d],s=c))){l=61===f?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,i=0,a=h.length;i|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(s=e.src.slice(c,l),o=0;o3||e.sCount[s]<0)){for(r=!1,o=0,i=c.length;o0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var o,a,u,s,c,l,f,p=e;if(e>=t)return"";for(l=new Array(t-e),o=0;pn?new Array(a-n+1).join(" ")+this.src.slice(s,c):this.src.slice(s,c)}return l.join("")},r.prototype.Token=o,e.exports=r},function(e,t,n){"use strict";function r(){var e;for(this.ruler=new o,e=0;e=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var o,i,a,u=new this.State(e,t,n,r);for(this.tokenize(u),i=this.ruler2.getRules(""),a=i.length,o=0;o=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,i=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i=y)return!1;for(m=c,l=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),l.ok&&(h=e.md.normalizeLink(l.str),e.md.validateLink(h)?c=l.pos:h=""),m=c;c=y||41!==e.src.charCodeAt(c))&&(v=!0),c++}if(v){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(m,c++):c=u+1):c=u+1,a||(a=e.src.slice(s,u)),!(f=e.env.references[r(a)]))return e.pos=g,!1;h=f.href,p=f.title}return t||(e.pos=s,e.posMax=u,d=e.push("link_open","a",1),d.attrs=n=[["href",h]],p&&n.push(["title",p]),e.md.inline.tokenize(e),d=e.push("link_close","a",-1)),e.pos=c,e.posMax=y,!0}},function(e,t,n){"use strict";var r=n(6).normalizeReference,o=n(6).isSpace;e.exports=function(e,t){var n,i,a,u,s,c,l,f,p,d,h,g,y,m="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=s+1)=b)return!1;for(y=l,p=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),p.ok&&(m=e.md.normalizeLink(p.str),e.md.validateLink(m)?l=p.pos:m=""),y=l;l=b||41!==e.src.charCodeAt(l))return e.pos=v,!1;l++}else{if(void 0===e.env.references)return!1;if(l=0?u=e.src.slice(y,l++):l=s+1):l=s+1,u||(u=e.src.slice(c,s)),!(f=e.env.references[r(u)]))return e.pos=v,!1;m=f.href,d=f.title}return t||(a=e.src.slice(c,s),e.md.inline.parse(a,e.md,e.env,g=[]),h=e.push("image","img",0),h.attrs=n=[["src",m],["alt",""]],h.children=g,h.content=a,d&&n.push(["title",d])),e.pos=l,e.posMax=b,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,i,a,u,s,c,l=e.pos;return 60===e.src.charCodeAt(l)&&(n=e.src.slice(l),!(n.indexOf(">")<0)&&(o.test(n)?(i=n.match(o),u=i[0].slice(1,-1),s=e.md.normalizeLink(u),!!e.md.validateLink(s)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",s]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(u),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=i[0].length,!0)):!!r.test(n)&&(a=n.match(r),u=a[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+u),!!e.md.validateLink(s)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",s]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(u),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";function r(e){var t=32|e;return t>=97&&t<=122}var o=n(232).HTML_TAG_RE;e.exports=function(e,t){var n,i,a,u,s=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(s)||s+2>=a)&&(!(33!==(n=e.src.charCodeAt(s+1))&&63!==n&&47!==n&&!r(n))&&(!!(i=e.src.slice(s).match(o))&&(t||(u=e.push("html_inline","",0),u.content=e.src.slice(s,s+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(227),o=n(6).has,i=n(6).isValidEntityCode,a=n(6).fromCodePoint,u=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,l=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1=0;){if(o=i[n],o.open&&o.marker===r.marker&&o.end<0&&o.level===r.level){var u=(o.close||r.open)&&void 0!==o.length&&void 0!==r.length&&(o.length+r.length)%3==0;if(!u){r.jump=t-n,r.open=!1,o.end=t,o.jump=0;break}}n-=o.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,o=e.tokens,i=e.tokens.length;for(t=n=0;t0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,o,s,c,l,f,p,d,h=e,g=!0,y=!0,m=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h0&&e.__compiled__[t]}).map(c).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+o.src_ZPCc+"))("+g+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+o.src_ZPCc+"))("+g+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),f(e)}function g(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function y(e,t){var n=new g(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);t||l(e)&&(t=e,e={}),this.__opts__=r({},v,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},b,e),this.__compiled__={},this.__tlds__=x,this.__tlds_replaced__=!1,this.re={},h(this)}var v={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},b={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},_="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",x="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");m.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,u,s;if(this.re.schema_test.test(e))for(u=this.re.schema_search,u.lastIndex=0;null!==(t=u.exec(e));)if(o=this.testSchemaAt(e,t[2],u.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(y(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(y(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(229).source,t.src_Cc=n(230).source,t.src_Z=n(231).source,t.src_P=n(133).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(M[e])}function u(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function s(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(R,"."),r+u(e.split("."),t).join(".")}function c(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(e-=65536,t+=D(e>>>10&1023|55296),e=56320|1023&e),t+=D(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:x}function p(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?N(e/S):e>>1,e+=N(e/t);e>j*E>>1;r+=x)e=N(e/j);return N(r+(j+1)*e/(e+C))}function h(e){var t,n,r,o,i,u,s,c,p,h,g=[],y=e.length,m=0,v=T,b=O;for(n=e.lastIndexOf(P),n<0&&(n=0),r=0;r=128&&a("not-basic"),g.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=y&&a("invalid-input"),c=f(e.charCodeAt(o++)),(c>=x||c>N((_-m)/u))&&a("overflow"),m+=c*u,p=s<=b?w:s>=b+E?E:s-b,!(cN(_/h)&&a("overflow"),u*=h;t=g.length+1,b=d(m-i,t,0==i),N(m/t)>_-v&&a("overflow"),v+=N(m/t),m%=t,g.splice(m++,0,v)}return l(g)}function g(e){var t,n,r,o,i,u,s,l,f,h,g,y,m,v,b,C=[];for(e=c(e),y=e.length,t=T,n=0,i=O,u=0;u=t&&gN((_-n)/m)&&a("overflow"),n+=(s-t)*m,t=s,u=0;u_&&a("overflow"),g==t){for(l=n,f=x;h=f<=i?w:f>=i+E?E:f-i,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=x-w,N=Math.floor,D=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:c,encode:l},decode:h,encode:g,toASCII:m,toUnicode:y},void 0!==(o=function(){return b}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(40)(e),n(24))},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){"use strict";function r(e){return void 0!==e.id}Object.defineProperty(t,"__esModule",{value:!0}),t.isActiveZoneOnCloudflare=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(235),c=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(0),c=r(s),l=n(1),f=r(l),p=n(92),d=r(p),h=n(632),g=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.state={child:null},o.gatewayRegistry=r.gatewayRegistry,o}return u(t,e),t.prototype.componentWillMount=function(){this.gatewayRegistry.addContainer(this.props.name,this)},t.prototype.componentWillUnmount=function(){this.gatewayRegistry.removeContainer(this.props.name,this)},t.prototype.render=function(){var e=this.props,t=e.component,n=e.tagName,r=o(e,["component","tagName"]);return delete r.name,c.default.createElement(t||n||"div",r,this.state.children)},t}(c.default.Component);g.contextTypes={gatewayRegistry:f.default.instanceOf(d.default).isRequired},g.propTypes={name:f.default.string.isRequired,tagName:(0,h.deprecated)(f.default.string,'Use "component" instead.'),component:f.default.oneOfType([f.default.string,f.default.func])},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.isRequiredForA11y=t.elementType=t.deprecated=t.componentOrElement=t.all=void 0;var o=n(633),i=r(o),a=n(634),u=r(a),s=n(635),c=r(s),l=n(636),f=r(l),p=n(637),d=r(p);t.all=i.default,t.componentOrElement=u.default,t.deprecated=c.default,t.elementType=f.default,t.isRequiredForA11y=d.default},function(e,t,n){"use strict";function r(){function e(){for(var e=arguments.length,t=Array(e),r=0;r>",l=s||r;if(null!=n[r]){var f=o+"."+r;(0,a.default)(u[f],"The "+i+" `"+l+"` of `"+c+"` is deprecated. "+t+"."),u[f]=!0}for(var p=arguments.length,d=Array(p>5?p-5:0),h=5;h>",u=i||n;if(null==t[n])return new Error("The "+o+" `"+u+"` is required to make `"+a+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,c=Array(s>5?s-5:0),l=5;l=200&&t.status<300)return n.callback(e,t);var r=new Error(t.statusText||"Unsuccessful HTTP response");r.original=e,r.response=t,r.status=t.status,n.callback(r,t)})}function h(e,t){var n=_("DELETE",e);return t&&n.end(t),n}var g,y=n(645),m=n(646),v=n(647),b=n(238);g="undefined"!=typeof window?window:"undefined"!=typeof self?self:this;var _=e.exports=n(648).bind(null,d);_.getXHR=function(){if(!(!g.XMLHttpRequest||g.location&&"file:"==g.location.protocol&&g.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}return!1};var x="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};_.serializeObject=i,_.parseString=u,_.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},_.serialize={"application/x-www-form-urlencoded":i,"application/json":JSON.stringify},_.parse={"application/x-www-form-urlencoded":u,"application/json":JSON.parse},p.prototype.get=function(e){return this.header[e.toLowerCase()]},p.prototype.setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=l(t);var n=f(t);for(var r in n)this[r]=n[r]},p.prototype.parseBody=function(e){var t=_.parse[this.type];return!t&&c(this.type)&&(t=_.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null},p.prototype.setStatusProperties=function(e){1223===e&&(e=204);var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},p.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},_.Response=p,y(d.prototype);for(var w in v)d.prototype[w]=v[w];d.prototype.abort=function(){if(!this.aborted)return this.aborted=!0,this.xhr&&this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this},d.prototype.type=function(e){return this.set("Content-Type",_.types[e]||e),this},d.prototype.responseType=function(e){return this._responseType=e,this},d.prototype.accept=function(e){return this.set("Accept",_.types[e]||e),this},d.prototype.auth=function(e,t,n){switch(n||(n={type:"basic"}),n.type){case"basic":var r=btoa(e+":"+t);this.set("Authorization","Basic "+r);break;case"auto":this.username=e,this.password=t}return this},d.prototype.query=function(e){return"string"!=typeof e&&(e=i(e)),e&&this._query.push(e),this},d.prototype.attach=function(e,t,n){return this._getFormData().append(e,t,n||t.name),this},d.prototype._getFormData=function(){return this._formData||(this._formData=new g.FormData),this._formData},d.prototype.send=function(e){var t=b(e),n=this._header["content-type"];if(t&&b(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||o(e)?this:(n||this.type("json"),this)},p.prototype.parse=function(e){return g.console&&console.warn("Client-side parse() method has been renamed to serialize(). This method is not compatible with superagent v2.0"),this.serialize(e),this},p.prototype.serialize=function(e){return this._parser=e,this},d.prototype.callback=function(e,t){var n=this._callback;this.clearTimeout(),n(e,t)},d.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},d.prototype.timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},d.prototype.withCredentials=function(){return this._withCredentials=!0,this},d.prototype.end=function(e){var t=this,n=this.xhr=_.getXHR(),i=this._query.join("&"),a=this._timeout,u=this._formData||this._data;this._callback=e||r,n.onreadystatechange=function(){if(4==n.readyState){var e;try{e=n.status}catch(t){e=0}if(0==e){if(t.timedout)return t.timeoutError();if(t.aborted)return;return t.crossDomainError()}t.emit("end")}};var s=function(e){e.total>0&&(e.percent=e.loaded/e.total*100),e.direction="download",t.emit("progress",e)};this.hasListeners("progress")&&(n.onprogress=s);try{n.upload&&this.hasListeners("progress")&&(n.upload.onprogress=s)}catch(e){}if(a&&!this._timer&&(this._timer=setTimeout(function(){t.timedout=!0,t.abort()},a)),i&&(i=_.serializeObject(i),this.url+=~this.url.indexOf("?")?"&"+i:"?"+i),this.username&&this.password?n.open(this.method,this.url,!0,this.username,this.password):n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof u&&!o(u)){var l=this._header["content-type"],f=this._parser||_.serialize[l?l.split(";")[0]:""];!f&&c(l)&&(f=_.serialize["application/json"]),f&&(u=f(u))}for(var p in this.header)null!=this.header[p]&&n.setRequestHeader(p,this.header[p]);return this._responseType&&(n.responseType=this._responseType),this.emit("request",this),n.send(void 0!==u?u:null),this},_.Request=d,_.get=function(e,t,n){var r=_("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},_.head=function(e,t,n){var r=_("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.del=h,_.delete=h,_.patch=function(e,t,n){var r=_("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.post=function(e,t,n){var r=_("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.put=function(e,t,n){var r=_("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,o=0;o=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function u(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function s(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}t=e.exports=n(652),t.log=a,t.formatArgs=i,t.save=u,t.load=s,t.useColors=o,t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(s())}).call(t,n(63))},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function o(e){function n(){if(n.enabled){var e=n,r=+new Date,o=r-(c||r);e.diff=o,e.prev=c,e.curr=r,c=r;for(var i=new Array(arguments.length),a=0;a100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*s;case"minutes":case"minute":case"mins":case"min":case"m":return n*u;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=c?Math.round(e/c)+"d":e>=s?Math.round(e/s)+"h":e>=u?Math.round(e/u)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function o(e){return i(e,c,"day")||i(e,s,"hour")||i(e,u,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,n){if(!(e0)return n(e);if("number"===i&&!1===isNaN(e))return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";function r(){return{type:i.APPLICATION_INIT}}Object.defineProperty(t,"__esModule",{value:!0}),t.applicationInit=r;var o=n(8),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o)},function(e,t,n){"use strict";function r(e){return e.intl.locale}Object.defineProperty(t,"__esModule",{value:!0}),t.getLocale=r},function(e,t,n){"use strict";function r(){return{type:l.ZONE_FETCH_ANALYTICS}}function o(e,t){return{type:l.ZONE_FETCH_ANALYTICS_SUCCESS,zoneId:e,zoneAnalytics:t}}function i(){return{type:l.ZONE_FETCH_ANALYTICS_ERROR}}function a(e){return function(t){t(r()),(0,u.zoneAnalyticsDashboardGet)({zoneId:e,since:-43200},function(n,r){t(r?o(e,r.body.result):(0,s.notificationAddClientAPIError)(i(),n))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.zoneFetchAnalytics=r,t.zoneFetchAnalyticsSuccess=o,t.zoneFetchAnalyticsError=i,t.asyncZoneFetchAnalytics=a;var u=n(34),s=n(21),c=n(8),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(c)},function(e,t,n){"use strict";function r(){return{type:l.ZONE_ENTITLEMENTS}}function o(e,t){return{type:l.ZONE_ENTITLEMENTS_SUCCESS,zoneId:e,zoneEntitlements:t}}function i(){return{type:l.ZONE_ENTITLEMENTS_ERROR}}function a(e){return function(t){t(r()),(0,u.zoneGetEntitlements)(e,function(n,r){t(r?o(e,r.body.result):(0,s.notificationAddClientAPIError)(i(),n))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.zoneEntitlements=r,t.zoneEntitlementsSuccess=o,t.zoneEntitlementsError=i,t.asyncZoneEntitlements=a;var u=n(34),s=n(21),c=n(8),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(c)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return{notifications:e.notifications}}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t={listeners:[],keyframePrefixes:e.keyframePrefixes||["-webkit-","-moz-"],plugins:e.plugins||[],mediaQueryOrder:e.mediaQueryOrder||[],selectorPrefix:e.selectorPrefix||"",fontFaces:"",keyframes:"",statics:"",rules:"",mediaRules:a.f(e.mediaQueryOrder||[]),uniqueRuleIdentifier:0,uniqueKeyframeIdentifier:0,cache:{},styleNodes:{},renderRule:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.F(t,e(n),a.d,n);return t._renderStyleToClassNames(r).slice(1)},renderKeyframe:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e(n),o=JSON.stringify(r);if(!t.cache.hasOwnProperty(o)){var i=a.q(++t.uniqueKeyframeIdentifier),u=a.F(t,r,a.c,n),s=a.m(u,i,t.keyframePrefixes);t.cache[o]=i,t.keyframes+=s,t._emitChange({name:i,keyframe:s,type:a.c})}return t.cache[o]},renderFont:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e+JSON.stringify(r);if(!t.cache.hasOwnProperty(o)){var i=a.I(e),u=s({},r,{src:n.map(function(e){return"url("+a.j(e)+") format('"+a.i(e)+"')"}).join(","),fontFamily:i}),c=a.l(u);t.cache[o]=i,t.fontFaces+=c,t._emitChange({fontFamily:i,fontFace:c,type:a.b})}return t.cache[o]},renderStatic:function(e,n){var r=a.w(e,n);if(!t.cache.hasOwnProperty(r)){var o=a.o(e,t);t.cache[r]="","string"==typeof e?(t.statics+=o,t._emitChange({type:a.e,css:o})):n&&(t.statics+=a.r(n,o)),t._emitChange({type:a.e,css:o})}},renderToString:function(){return u.b(t)},subscribe:function(e){return t.listeners.push(e),{unsubscribe:function(){return t.listeners.splice(t.listeners.indexOf(e),1)}}},clear:function(){t.fontFaces="",t.keyframes="",t.statics="",t.rules="",t.mediaRules=a.f(t.mediaQueryOrder),t.uniqueRuleIdentifier=0,t.uniqueKeyframeIdentifier=0,t.cache={},t._emitChange({type:a.a})},_renderStyleToClassNames:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";for(var u in e){var s=e[u];if(a.A(s)){if(a.z(u))o+=t._renderStyleToClassNames(s,n+a.D(u),r);else if(a.y(u)){var c=a.u(r,u.slice(6).trim());o+=t._renderStyleToClassNames(s,n,c)}}else{var l=r+n+u+s;if(!t.cache.hasOwnProperty(l)){if(a.B(s)){t.cache[l]="";continue}var f=t.selectorPrefix+a.t(++t.uniqueRuleIdentifier);t.cache[l]=f;var p=i.a(u,s),d=a.s(f,n),h=a.r(d,p);r.length>0?(t.mediaRules.hasOwnProperty(r)||(t.mediaRules[r]=""),t.mediaRules[r]+=h):t.rules+=h,t._emitChange({selector:d,declaration:p,media:r,type:a.d})}o+=" "+t.cache[l]}}return o},_emitChange:function(e){a.g(t.listeners,function(t){return t(e)})}};return t.keyframePrefixes.push(""),t.clear(),e.enhancers&&a.g(e.enhancers,function(e){t=e(t)}),t}t.a=r;var o=n(241),i=n.n(o),a=n(13),u=n(248),s=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"";return'"}t.a=r},function(e,t,n){"use strict";function r(e){return"@font-face{"+i.a(e)+"}"}t.a=r;var o=n(69),i=n.n(o)},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=u.a(e,function(e,t,n){return""+e+n+"{"+i.a(t)+"}"},"");return a.a(n,function(e,n){return e+"@"+n+"keyframes "+t+"{"+r+"}"},"")}t.a=r;var o=n(69),i=n.n(o),a=n(57),u=n(244)},function(e,t,n){"use strict";function r(e,t){return t?"@media "+e+"{"+t+"}":""}t.a=r},function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return a.a(e);var n=u.a(t,e,s.e);return i.a(n)}t.a=r;var o=n(69),i=n.n(o),a=n(245),u=n(246),s=n(247)},function(e,t,n){"use strict";function r(e,t){return o.a(e,function(e,n){return e[n]=t[n],e},{})}t.a=r;var o=n(57)},function(e,t,n){"use strict";function r(e){return"k"+e}t.a=r},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e<=i?o[e-1]+t:r(e/i|0,o[e%i]+t)}t.a=r;var o="abcdefghijklmnopqrstuvwxyz",i=o.length},function(e,t,n){"use strict";function r(e,t){return 0===e.length?t:e+" and "+t}t.a=r},function(e,t,n){"use strict";function r(e,t){return e+"{"+t+"}"}t.a=r},function(e,t,n){"use strict";function r(e){return"."+e+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}t.a=r},function(e,t,n){"use strict";function r(e,t){if(e.className){var n=t+e.className;return delete e.className,n}for(var r=JSON.stringify(e),o=5381,i=r.length;i;)o=33*o^r.charCodeAt(--i);return t+(o>>>0).toString(36)}t.a=r},function(e,t,n){"use strict";function r(e,t){return"string"==typeof e?e:t?t+JSON.stringify(e):""}t.a=r},function(e,t,n){"use strict";function r(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=n+r;return e[i]||(e[i]=o.a(n,r,t)),e[i]}t.a=r;var o=n(243)},function(e,t,n){"use strict";function r(e){return"@media"===e.substr(0,6)}t.a=r},function(e,t,n){"use strict";function r(e){return o.test(e)}t.a=r;var o=/^(:|\[|>|&)/},function(e,t,n){"use strict";function r(e){return"object"===(void 0===e?"undefined":o(e))&&!Array.isArray(e)}t.a=r;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}},function(e,t,n){"use strict";function r(e){return void 0===e||"string"==typeof e&&-1!==e.indexOf("undefined")}t.a=r},function(e,t,n){"use strict";function r(e){return e&&1===e.nodeType}t.a=r},function(e,t,n){"use strict";function r(e){return"&"===e.charAt(0)?e.slice(1):e}t.a=r},function(e,t,n){"use strict";function r(){return o.a(document.querySelectorAll("[data-fela-type]"),function(e,t){return e[(t.getAttribute("data-fela-type")||"")+(t.getAttribute("media")||"")]=t,e},{})}t.a=r;var o=n(57)},function(e,t,n){"use strict";function r(e,t){if("function"==typeof e){var n=e(t);return Array.isArray(n)?n:Object.keys(n)}return e}t.a=r},function(e,t,n){"use strict";function r(e){return'"'===e.charAt(0)?e:'"'+e+'"'}t.a=r},function(e,t,n){"use strict";n(13)},function(e,t,n){"use strict";function r(e,t){if(!o.C(t))throw new Error("You need to specify a valid element node (mountNode.nodeType = 1) to render into.");var n=i.a(e);return t.textContent!==n&&(t.textContent=n),e.subscribe(function(){t.textContent=i.a(e)})}t.a=r;var o=n(13),i=n(249)},function(e,t,n){"use strict";n(13)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?t-1:0),a=1;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){return function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=n.name?n.name:"FelaComponent",f=function(t,f){var p=f.renderer,d=f.theme,h=t.children,g=t._felaRule,y=t.passThrough,m=void 0===y?[]:y,v=o(t,["children","_felaRule","passThrough"]);if(!p)throw new Error("createComponent() can't render styles without the renderer in the context. Missing react-fela's at the app root?");var b=g?u.a(n,g):n;if(p.prettySelectors){var _="string"==typeof i?i:i.displayName||i.name||"";b.selectorPrefix=l+"_"+_+"__"}var x=[].concat(r(a.H(c,v)),r(a.H(m,v)));if(i._isFelaComponent)return e(i,s({_felaRule:b,passThrough:x},v),h);var w=a.p(x,v);if(v.theme=d||{},p.isNativeRenderer){var E=p.renderRule(b,v);w.style=v.style?[v.style,E]:E}else{v.style&&(w.style=v.style);var C=v.className?v.className+" ":"";w.className=C+p.renderRule(b,v)}v.id&&(w.id=v.id),v.innerRef&&(w.ref=v.innerRef);var S=v.is||i;return e(S,w,h)};return t&&(f.contextTypes=t),f.displayName=l,f._isFelaComponent=!0,f}}t.a=i;var a=n(13),u=n(250),s=Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4]?arguments[4]:"",a=i.x(e,t,r,o);a.textContent!==n&&(a.textContent=n)}function o(e){e.styleNodes=i.G();var t=e.styleNodes[i.d];for(var n in a)e[n].length>0&&r(e.styleNodes,t,e[n],a[n]);for(var o in e.mediaRules){var u=e.mediaRules[o];u.length>0&&r(e.styleNodes,t,u,i.d,o)}}t.a=o;var i=n(13),a={fontFaces:i.b,statics:i.e,keyframes:i.c,rules:i.d}},function(e,t,n){"use strict";var r=n(13);r.b,r.e,r.c,r.d},function(e,t,n){"use strict";var r=n(13);r.b,r.e,r.c,r.d},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=n.n(o),a=n(94);t.a=a.b(r.Component,r.createElement,{renderer:i.a.object,theme:i.a.object})},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=n.n(o),a=n(94);t.a=a.c(r.createElement,{renderer:i.a.object,theme:i.a.object})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=(n.n(a),n(1)),s=n.n(u),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"createRenderer",function(){return w}),n.d(t,"StyleProvider",function(){return E});var o=n(0),i=n.n(o),a=n(1),u=n.n(a),s=n(94),c=n(721),l=n(253),f=n(740),p=n(742),d=n(743),h=n(744),g=n(745),y=n(747),m=n(251),v=n(254),b=n(93),_=Object.assign||function(e){for(var t=1;t0&&(e[o]=u)}else{var h=(0,s.default)(r,o,i,e,n);h&&(e[o]=h),(0,a.default)(n,o,e)}}return e}var n=e.prefixMap,r=e.plugins;return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(724),a=r(i),u=n(725),s=r(u),c=n(726),l=r(c),f=n(727),p=r(f);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(e.hasOwnProperty(t))for(var r=e[t],o=0,a=r.length;o-1)return a.map(function(e){return t.replace(/cross-fade\(/g,e+"cross-fade(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("filter(")>-1)return a.map(function(e){return t.replace(/filter\(/g,e+"filter(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("display"===e&&o.hasOwnProperty(t))return o[t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?n.WebkitBoxOrient="vertical":n.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?n.WebkitBoxDirection="reverse":n.WebkitBoxDirection="normal"),i.hasOwnProperty(e)&&(n[i[e]]=o[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},i={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&u.test(t))return a.map(function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-","-moz-",""],u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("image-set(")>-1)return a.map(function(e){return t.replace(/image-set\(/g,e+"image-set(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(i.hasOwnProperty(e)&&a.hasOwnProperty(t))return o.map(function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=["-webkit-","-moz-",""],i={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},a={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if((0,c.default)(e))return e;for(var n=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),r=0,o=n.length;r-1&&"order"!==l)for(var f=t[s],p=0,h=f.length;p-1)return a;var u=i.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?u:(n["Webkit"+(0,f.default)(e)]=a,n["Moz"+(0,f.default)(e)]=u,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(95),u=r(a),s=n(70),c=r(s),l=n(252),f=r(l),p={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},d={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=(0,i.default)(e);return t.join(";"+n+":")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(95),i=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){var r=void 0===t?"undefined":c(t);return("number"===r||"string"===r&&t==parseFloat(t))&&(t+=n),t}function o(e,t,n){for(var i in e)!function(i){if(!u.a(i)){var a=e[i],c=n[i]||t;s.A(a)?e[i]=o(a,t,n):Array.isArray(a)?e[i]=a.map(function(e){return r(i,e,c)}):e[i]=r(i,a,c)}}(i);return e}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"px",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){return o(n,e,t)}}t.a=i;var a=n(741),u=n.n(a),s=n(13),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}},function(e,t,n){"use strict";function r(e){return a.hasOwnProperty(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;for(var o=n(95),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},u=["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridColumn","order","lineClamp"],s=["Webkit","ms","Moz","O"],c=0,l=u.length;c=0&&t<=100}function i(e,t,n){for(var r in e){var i=e[r];s.A(i)?"from"===r||"to"===r||o(r)||(t&&console.error((n?"[Deleted] ":" ")+"Invalid keyframe property.\n Expected either `to`, `from` or a percentage value between 0 and 100.",{percentage:r,style:i}),n&&delete e[r]):(t&&console.error((n?"[Deleted] ":" ")+"Invalid keyframe value. An object was expected.",{percentage:r,style:i}),n&&delete e[r])}}function a(e,t,n){var o=n.logInvalid,a=n.deleteInvalid;return t===s.c?i(e,o,a):t===s.d&&r(e,o,a),e}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,n){return a(t,n,c({},l,e))}}t.a=u;var s=n(13),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var a in e)!function(a){var u=e[a];if("fontFace"===a&&i.A(u)){var s=u.fontFamily,c=u.src,l=r(u,["fontFamily","src"]);"string"==typeof s&&Array.isArray(c)&&(e.fontFamily=n.renderFont(s,c,l),delete e.fontFace)}else"animationName"===a&&i.A(u)?e[a]=n.renderKeyframe(function(){return u}):i.A(u)&&o(u,t,n)}(a);return e}var i=n(13);t.a=function(){return o}},function(e,t,n){"use strict";function r(e,t){return e.subscribe(function(){e.fontFaces=a.a(e.fontFaces,t),e.keyframes=a.a(e.keyframes,t),e.statics=a.a(e.statics,t),e.rules=a.a(e.rules,t),e.mediaRules=u.E(e.mediaRules,function(e,n,r){return e[r]=a.a(n,t),e},{})}),e}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return r(t,s({},c,e))}}t.a=o;var i=n(746),a=n.n(i),u=n(13),s=Object.assign||function(e){for(var t=1;t="a"&&l<="z"||l>="A"&&l<="Z"||l>="0"&&l<="9"||"-_*.:#[]".indexOf(e)>=0}function i(){var e;for(e=g;e>0;e-=1)x+=s.indent}function a(){x=v(x),w?x+=" {":(x+="\n",i(),x+="{"),"\n"!==f&&(x+="\n"),g+=1}function u(){var e;g-=1,x=v(x),x.length>0&&E&&";"!==(e=x.charAt(x.length-1))&&"{"!==e&&(x+=";"),x+="\n",i(),x+="}",c.push(x),x=""}var s,c,l,f,p,d,h,g,y,m,v,b=0,_=e.length,x="",w=!0,E=!1;for(s=arguments.length>1?t:{},void 0===s.indent&&(s.indent=" "),"string"==typeof s.openbrace&&(w="end-of-line"===s.openbrace),"boolean"==typeof s.autosemicolon&&(E=s.autosemicolon),v=String.prototype.trimRight?function(e){return e.trimRight()}:function(e){return e.replace(/\s+$/,"")},h={Start:0,AtRule:1,Block:2,Selector:3,Ruleset:4,Property:5,Separator:6,Expression:7,URL:8},g=0,d=h.Start,m=!1,c=[],e=e.replace(/\r\n/g,"\n");b<_;)if(l=e.charAt(b),f=e.charAt(b+1),b+=1,r(y))x+=l,l===y&&(y=null),"\\"===l&&f===y&&(x+=f,b+=1);else if(r(l))x+=l,y=l;else if(m)x+=l,"*"===l&&"/"===f&&(m=!1,x+=f,b+=1);else if("/"!==l||"*"!==f){if(d===h.Start){if(0===c.length&&n(l)&&0===x.length)continue;if(l<=" "||l.charCodeAt(0)>=128){d=h.Start,x+=l;continue}if(o(l)||"@"===l){if(p=v(x),0===p.length)c.length>0&&(x="\n\n");else if("}"===p.charAt(p.length-1)||";"===p.charAt(p.length-1))x=p+"\n\n";else for(;;){if(" "!==(f=x.charAt(x.length-1))&&9!==f.charCodeAt(0))break;x=x.substr(0,x.length-1)}x+=l,d="@"===l?h.AtRule:h.Selector;continue}}if(d!==h.AtRule)if(d!==h.Block)if(d!==h.Selector)if(d!==h.Ruleset)if(d!==h.Property)if(d!==h.Separator)if(d!==h.Expression)d===h.URL&&")"===l&&x.charAt(x.length-1!=="\\")?(x+=l,d=h.Expression):x+=l;else{if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}if(";"===l){x=v(x),x+=";\n",d=h.Ruleset;continue}if(x+=l,"("===l&&"l"===x.charAt(x.length-2)&&"r"===x.charAt(x.length-3)&&"u"===x.charAt(x.length-4)){d=h.URL;continue}}else{if(!n(l)){x+=l,d=h.Expression;continue}r(f)&&(d=h.Expression)}else{if(":"===l){x=v(x),x+=": ",d=h.Expression,n(f)&&(d=h.Separator);continue}if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}x+=l}else{if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}if("\n"===l){x=v(x),x+="\n";continue}if(!n(l)){x=v(x),x+="\n",i(),x+=l,d=h.Property;continue}x+=l}else{if("{"===l){a(),d=h.Ruleset;continue}if("}"===l){u(),d=h.Start;continue}x+=l}else{if(o(l)){if(p=v(x),0===p.length)c.length>0&&(x="\n\n");else if("}"===p.charAt(p.length-1))x=p+"\n\n";else for(;;){if(" "!==(f=x.charAt(x.length-1))&&9!==f.charCodeAt(0))break;x=x.substr(0,x.length-1)}i(),x+=l,d=h.Selector;continue}if("}"===l){u(),d=h.Start;continue}x+=l}else{if(";"===l){x+=l,d=h.Start;continue}if("{"===l){p=v(x),a(),d="@font-face"===p?h.Ruleset:h.Block;continue}x+=l}}else m=!0,x+=l,x+=f,b+=1;return x=c.join("")+x}e.exports=t=n}()},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.prettySelectors=t,e._renderStyleToCache=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=u.E(n,function(n,i,a){if(u.A(i)){if(u.z(a))e._renderStyleToCache(t,i,r+u.D(a),o);else if(u.y(a)){var s=u.u(o,a.slice(6).trim());e._renderStyleToCache(t,i,r,s)}}else u.B(i)||(n[a]=i);return n},{});if(Object.keys(i).length>0){var s=a.a(i),c=u.s(t,r),l=u.r(c,s);o.length>0?(e.mediaRules.hasOwnProperty(o)||(e.mediaRules[o]=""),e.mediaRules[o]+=l):e.rules+=l,e._emitChange({selector:c,declaration:s,media:o,type:u.d})}},e._renderStyleToClassNames=function(t,n){if(Object.keys(t).length<1)return"";var r=e.prettySelectors&&n.name?n.name+"_":"",o=u.v(t,(e.selectorPrefix||"")+(n.selectorPrefix||r));return e.cache.hasOwnProperty(o)||(e._renderStyleToCache(o,t),e.cache[o]=!0),o},e.renderRule=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=u.F(e,t(n),u.d,n);return e._renderStyleToClassNames(r,t)},e}function o(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e){return r(e,!1)}}t.a=o;var i=n(69),a=n.n(i),u=n(13)},function(e,t,n){"use strict";var r=n(255);t.a={gradient:{primary:"linear-gradient(left, #76C4E2, #85CBA8)",two:"linear-gradient(left, #8176B5, #85CBA8)",three:"linear-gradient(left, #8176B5, #76C4E2)",four:"linear-gradient(left, #8176B5, #BA77B1)",five:"linear-gradient(left, #8176B5, #F16975)",six:"linear-gradient(left, #F16975, #F69259)",seven:"linear-gradient(left, #F69259, #FFDB6F)",eight:"linear-gradient(left, #85CBA8, #FFDB6F)"},color:{rain:"#408BC9",sky:"#76C4E2",dew:"#85CBA8",twilight:"#8176B5",sunset:"#BA77B1",dawn:"#F16975",sunrise:"#F69259",lightning:"#FFDB6F",night:"#404041",dusk:"#4D4D4F",storm:"#808285",hail:"#BCBEC0",moonshine:"#F7F7F7",cement:"#7D7D7D",grass:"#9BCA3E",marine:"#2F7BBF",tangerine:"#FF7900",apple:"#BD2527"},fontSize:"15px",boxShadow:"0 0 20px 0 rgba(136,136,136,0.50)",inputFontSize:"13px",lineHeight:1.5,inputLineHeight:1.4,em:"1em",rem:"1rem",fontFamily:'"Open Sans", Helvetica, Arial, sans-serif',weightLight:300,weightNormal:400,weightSemiBold:600,weightBold:700,fontWeight:400,fontColorHeadingCaption:"#888",borderRadius:"2px",arrowSize:"5px",disabledBackground:"#ededed",bodyBackground:"#ebebeb",bodyAccentColor:"#333",bodyOffsetColor:"#787878",fontColor:"#333",colorWhite:"#fff",colorBlack:"#000",colorOffsetLight:.15,colorOffsetDark:.07,colorInfo:"#00a9eb",colorSuccess:"#68970f",colorWarning:"#fca520",colorError:"#ff3100",colorMuted:"#7c7c7c",colorSmoke:"#f2f2f2",colorBlue:"#2f7bbf",colorBlueLight:r.b(.15,"#2f7bbf"),colorBlueDark:r.a(.07,"#2f7bbf"),colorOrange:"#ff7900",colorOrangeLight:r.b(.15,"#ff7900"),colorOrangeDark:r.a(.07,"#ff7900"),colorGray:"#7c7c7c",colorGrayLight:"#dedede",colorGrayLightOnboarding:"#F7F7F7",colorGrayDark:"#333",colorGrayBorder:"#666",colorGreen:"#9bca3e",colorGreenLight:r.b(.15,"#9bca3e"),colorGreenDark:r.a(.07,"#9bca3e"),colorRed:"#bd2527",colorRedLight:r.b(.15,"#bd2527"),colorRedDark:r.a(.07,"#bd2527"),colorYellow:"#ffd24d",colorYellowLight:r.b(.15,"#ffd24d"),colorYellowDark:r.a(.07,"#ffd24d"),colorPink:"#d91698",colorPinkLight:r.b(.15,"#d91698"),colorPinkDark:r.a(.07,"#d91698"),colorPurple:"#9545e5",colorPurpleLight:r.b(.15,"#d91698"),colorPurpleDark:r.a(.07,"#d91698"),colorTwitterBlue:"#00aced",colorFacebookBlue:"#3b5998",colorMainBackground:"#e6e6e6",colorOverlay:"rgba(0, 0, 0, .7)",zIndexMax:1e3}},function(e,t,n){(function(t){t.IntlPolyfill=n(750),n(751),t.Intl||(t.Intl=t.IntlPolyfill,t.IntlPolyfill.__applyLocaleSensitivePrototypes()),e.exports=t.IntlPolyfill}).call(t,n(24))},function(e,t,n){"use strict";(function(t){function n(e){if("function"==typeof Math.log10)return Math.floor(Math.log10(e));var t=Math.round(Math.log(e)*Math.LOG10E);return t-(Number("1e"+t)>e)}function r(e){for(var t in e)(e instanceof r||Ie.call(e,t))&&Fe(this,t,{value:e[t],enumerable:!0,writable:!0,configurable:!0})}function o(){Fe(this,"length",{writable:!0,value:0}),arguments.length&&qe.apply(this,Ue.call(arguments))}function i(){if(We.disableRegExpRestore)return function(){};for(var e={lastMatch:RegExp.lastMatch||"",leftContext:RegExp.leftContext,multiline:RegExp.multiline,input:RegExp.input},t=!1,n=1;n<=9;n++)t=(e["$"+n]=RegExp["$"+n])||t;return function(){var n=/[.?*+^$[\]\\(){}|-]/g,r=e.lastMatch.replace(n,"\\$&"),i=new o;if(t)for(var a=1;a<=9;a++){var u=e["$"+a];u?(u=u.replace(n,"\\$&"),r=r.replace(u,"("+u+")")):r="()"+r,qe.call(i,r.slice(0,r.indexOf("(")+1)),r=r.slice(r.indexOf("(")+1)}var s=Be.call(i,"")+r;s=s.replace(/(\\\(|\\\)|[^()])+/g,function(e){return"[\\s\\S]{"+e.replace("\\","").length+"}"});var c=new RegExp(s,e.multiline?"gm":"g");c.lastIndex=e.leftContext.length,c.exec(e.input)}}function a(e){if(null===e)throw new TypeError("Cannot convert null or undefined to object");return"object"===(void 0===e?"undefined":Ne.typeof(e))?e:Object(e)}function u(e){return"number"==typeof e?e:Number(e)}function s(e){var t=u(e);return isNaN(t)?0:0===t||-0===t||t===1/0||t===-1/0?t:t<0?-1*Math.floor(Math.abs(t)):Math.floor(Math.abs(t))}function c(e){var t=s(e);return t<=0?0:t===1/0?Math.pow(2,53)-1:Math.min(t,Math.pow(2,53)-1)}function l(e){return Ie.call(e,"__getInternalProperties")?e.__getInternalProperties(Ye):Ve(null)}function f(e){tt=e}function p(e){for(var t=e.length;t--;){var n=e.charAt(t);n>="a"&&n<="z"&&(e=e.slice(0,t)+n.toUpperCase()+e.slice(t+1))}return e}function d(e){return!!$e.test(e)&&(!Qe.test(e)&&!Je.test(e))}function h(e){var t=void 0,n=void 0;e=e.toLowerCase(),n=e.split("-");for(var r=1,o=n.length;r1&&(t.sort(),e=e.replace(RegExp("(?:"+et.source+")+","i"),Be.call(t,""))),Ie.call(nt.tags,e)&&(e=nt.tags[e]),n=e.split("-");for(var i=1,a=n.length;i-1)return n;var r=n.lastIndexOf("-");if(r<0)return;r>=2&&"-"===n.charAt(r-2)&&(r-=2),n=n.substring(0,r)}}function b(e,t){for(var n=0,o=t.length,i=void 0,a=void 0,u=void 0;n2){var O=c[S+1],T=C.call(x,O);-1!==T&&(w=O,E="-"+m+"-"+w)}else{var P=C(x,"true");-1!==P&&(w="true")}}if(Ie.call(n,"[["+m+"]]")){var A=n["[["+m+"]]"];-1!==C.call(x,A)&&A!==w&&(w=A,E="")}p["[["+m+"]]"]=w,d+=E,g++}if(d.length>2){var k=s.indexOf("-x-");if(-1===k)s+=d;else{s=s.substring(0,k)+d+s.substring(k)}s=h(s)}return p["[[locale]]"]=s,p}function w(e,t){for(var n=t.length,r=new o,i=0;ir)throw new RangeError("Value is not a number or outside accepted range");return Math.floor(i)}return o}function T(e){for(var t=m(e),n=[],r=t.length,o=0;oi;i++){var a=n[i],u={};u.type=a["[[type]]"],u.value=a["[[value]]"],r[o]=u,o+=1}return r}function N(e,t){var n=l(e),r=n["[[dataLocale]]"],i=n["[[numberingSystem]]"],a=We.NumberFormat["[[localeData]]"][r],u=a.symbols[i]||a.symbols.latn,s=void 0;!isNaN(t)&&t<0?(t=-t,s=n["[[negativePattern]]"]):s=n["[[positivePattern]]"];for(var c=new o,f=s.indexOf("{",0),p=0,d=0,h=s.length;f>-1&&fd){var g=s.substring(d,f);qe.call(c,{"[[type]]":"literal","[[value]]":g})}var y=s.substring(f+1,p);if("number"===y)if(isNaN(t)){var m=u.nan;qe.call(c,{"[[type]]":"nan","[[value]]":m})}else if(isFinite(t)){"percent"===n["[[style]]"]&&isFinite(t)&&(t*=100);var v=void 0;v=Ie.call(n,"[[minimumSignificantDigits]]")&&Ie.call(n,"[[maximumSignificantDigits]]")?L(t,n["[[minimumSignificantDigits]]"],n["[[maximumSignificantDigits]]"]):I(t,n["[[minimumIntegerDigits]]"],n["[[minimumFractionDigits]]"],n["[[maximumFractionDigits]]"]),ut[i]?function(){var e=ut[i];v=String(v).replace(/\d/g,function(t){return e[t]})}():v=String(v);var b=void 0,_=void 0,x=v.indexOf(".",0);if(x>0?(b=v.substring(0,x),_=v.substring(x+1,x.length)):(b=v,_=void 0),!0===n["[[useGrouping]]"]){var w=u.group,E=[],C=a.patterns.primaryGroupSize||3,S=a.patterns.secondaryGroupSize||C;if(b.length>C){var O=b.length-C,T=O%S,P=b.slice(0,T);for(P.length&&qe.call(E,P);To;o++){r+=n[o]["[[value]]"]}return r}function L(e,t,r){var o=r,i=void 0,a=void 0;if(0===e)i=Be.call(Array(o+1),"0"),a=0;else{a=n(Math.abs(e));var u=Math.round(Math.exp(Math.abs(a-o+1)*Math.LN10));i=String(Math.round(a-o+1<0?e*u:e/u))}if(a>=o)return i+Be.call(Array(a-o+1+1),"0");if(a===o-1)return i;if(a>=0?i=i.slice(0,a+1)+"."+i.slice(a+1):a<0&&(i="0."+Be.call(Array(1-(a+1)),"0")+i),i.indexOf(".")>=0&&r>t){for(var s=r-t;s>0&&"0"===i.charAt(i.length-1);)i=i.slice(0,-1),s--;"."===i.charAt(i.length-1)&&(i=i.slice(0,-1))}return i}function I(e,t,n,r){var o=r,i=Math.pow(10,o)*e,a=0===i?"0":i.toFixed(0),u=void 0,s=(u=a.indexOf("e"))>-1?a.slice(u+1):0;s&&(a=a.slice(0,u).replace(".",""),a+=Be.call(Array(s-(a.length-1)+1),"0"));var c=void 0;if(0!==o){var l=a.length;if(l<=o){a=Be.call(Array(o+1-l+1),"0")+a,l=o+1}var f=a.substring(0,l-o);a=f+"."+a.substring(l-o,a.length),c=f.length}else c=a.length;for(var p=r-n;p>0&&"0"===a.slice(-1);)a=a.slice(0,-1),p--;if("."===a.slice(-1)&&(a=a.slice(0,-1)),cn&&(n=u,r=a),o++}return r}function Q(e,t){var n=[];for(var r in gt)Ie.call(gt,r)&&void 0!==e["[["+r+"]]"]&&n.push(r);if(1===n.length){var o=H(n[0],e["[["+n[0]+"]]"]);if(o)return o}for(var i=-1/0,a=void 0,u=0,s=t.length;u=2||m>=2&&y<=1?v>0?l-=6:v<0&&(l-=8):v>1?l-=3:v<-1&&(l-=6)}}c._.hour12!==e.hour12&&(l-=1),l>i&&(i=l,a=c),u++}return a}function J(){var e=null!==this&&"object"===Ne.typeof(this)&&l(this);if(!e||!e["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.DateTimeFormat object.");if(void 0===e["[[boundFormat]]"]){var t=function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0];return ne(this,void 0===e?Date.now():u(e))},n=Ze.call(t,this);e["[[boundFormat]]"]=n}return e["[[boundFormat]]"]}function ee(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0],t=null!==this&&"object"===Ne.typeof(this)&&l(this);if(!t||!t["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for formatToParts() is not an initialized Intl.DateTimeFormat object.");return re(this,void 0===e?Date.now():u(e))}function te(e,t){if(!isFinite(t))throw new RangeError("Invalid valid date passed to format");var n=e.__getInternalProperties(Ye);i();for(var r=n["[[locale]]"],a=new it.NumberFormat([r],{useGrouping:!1}),u=new it.NumberFormat([r],{minimumIntegerDigits:2,useGrouping:!1}),s=oe(t,n["[[calendar]]"],n["[[timeZone]]"]),c=n["[[pattern]]"],l=new o,f=0,p=c.indexOf("{"),d=0,h=n["[[dataLocale]]"],g=We.DateTimeFormat["[[localeData]]"][h].calendars,y=n["[[calendar]]"];-1!==p;){var m=void 0;if(-1===(d=c.indexOf("}",p)))throw new Error("Unclosed pattern");p>f&&qe.call(l,{type:"literal",value:c.substring(f,p)});var v=c.substring(p+1,d);if(gt.hasOwnProperty(v)){var b=n["[["+v+"]]"],_=s["[["+v+"]]"];if("year"===v&&_<=0?_=1-_:"month"===v?_++:"hour"===v&&!0===n["[[hour12]]"]&&0===(_%=12)&&!0===n["[[hourNo0]]"]&&(_=12),"numeric"===b)m=D(a,_);else if("2-digit"===b)m=D(u,_),m.length>2&&(m=m.slice(-2));else if(b in ht)switch(v){case"month":m=Z(g,y,"months",b,s["[["+v+"]]"]);break;case"weekday":try{m=Z(g,y,"days",b,s["[["+v+"]]"])}catch(e){throw new Error("Could not find weekday data for locale "+r)}break;case"timeZoneName":m="";break;case"era":try{m=Z(g,y,"eras",b,s["[["+v+"]]"])}catch(e){throw new Error("Could not find era data for locale "+r)}break;default:m=s["[["+v+"]]"]}qe.call(l,{type:v,value:m})}else if("ampm"===v){var x=s["[[hour]]"];m=Z(g,y,"dayPeriods",x>11?"pm":"am",null),qe.call(l,{type:"dayPeriod",value:m})}else qe.call(l,{type:"literal",value:c.substring(p,d+1)});f=d+1,p=c.indexOf("{",f)}return do;o++){r+=n[o].value}return r}function re(e,t){for(var n=te(e,t),r=[],o=0;n.length>o;o++){var i=n[o];r.push({type:i.type,value:i.value})}return r}function oe(e,t,n){var o=new Date(e),i="get"+(n||"");return new r({"[[weekday]]":o[i+"Day"](),"[[era]]":+(o[i+"FullYear"]()>=0),"[[year]]":o[i+"FullYear"](),"[[month]]":o[i+"Month"](),"[[day]]":o[i+"Date"](),"[[hour]]":o[i+"Hours"](),"[[minute]]":o[i+"Minutes"](),"[[second]]":o[i+"Seconds"](),"[[inDST]]":!1})}function ie(e,t){if(!e.number)throw new Error("Object passed doesn't contain locale data for Intl.NumberFormat");var n=void 0,r=[t],o=t.split("-");for(o.length>2&&4===o[1].length&&qe.call(r,o[0]+"-"+o[2]);n=He.call(r);)qe.call(We.NumberFormat["[[availableLocales]]"],n),We.NumberFormat["[[localeData]]"][n]=e.number,e.date&&(e.date.nu=e.number.nu,qe.call(We.DateTimeFormat["[[availableLocales]]"],n),We.DateTimeFormat["[[localeData]]"][n]=e.date);void 0===tt&&f(t)}var ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},ue=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,r,o){var i=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&i)for(var u in i)void 0===n[u]&&(n[u]=i[u]);else n||(n=i||{});if(1===a)n.children=o;else if(a>1){for(var s=Array(a),c=0;c=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Ee=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},Ce=void 0===t?self:t,Se=function e(t,n,r,o){var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var a=Object.getPrototypeOf(t);null!==a&&e(a,n,r,o)}else if("value"in i&&i.writable)i.value=r;else{var u=i.set;void 0!==u&&u.call(o,r)}return r},Oe=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Te=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){for(var n,r=[],o=e[Symbol.iterator]();!(n=o.next()).done&&(r.push(n.value),!t||r.length!==t););return r}throw new TypeError("Invalid attempt to destructure non-iterable instance")},Pe=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},Ae=function(e,t){return e.raw=t,e},ke=function(e,t,n){if(e===n)throw new ReferenceError(t+" is not defined - temporal dead zone");return e},Re={},Me=function(e){return Array.isArray(e)?e:Array.from(e)},je=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(257),p=Object.assign||function(e){for(var t=1;t-1},matchesSelector:function(e,t){return(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||function(t){return r(e,t)}).call(e,t)}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){e.addEventListener(t,n,!1)}function o(e,t,n){e.removeEventListener(t,n,!1)}var i=n(19),a=n(166),u=[];i.canUseDOM&&function(){var e=a("animationend"),t=a("transitionend");e&&u.push(e),t&&u.push(t)}();var s={addEndEventListener:function(e,t){if(0===u.length)return void window.setTimeout(t,0);u.forEach(function(n){r(e,n,t)})},removeEndEventListener:function(e,t){0!==u.length&&u.forEach(function(n){o(e,n,t)})}};e.exports=s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t-1:!!l&&o(e,t,n)>-1}var o=n(808),i=n(266),a=n(815),u=n(816),s=n(820),c=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(809),i=n(810),a=n(811);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i-1&&e%1==0&&e requires either a `to` or `onClick` prop");var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.dropdownRegistry=n.dropdownRegistry,i.handleLinkBlur=i.handleLinkBlur.bind(i),i.handleLinkFocus=i.handleLinkFocus.bind(i),i.focus=i.focus.bind(i),i}return i(t,e),p(t,[{key:"componentDidMount",value:function(){this.dropdownRegistry.addChild(this)}},{key:"componentWillUnmount",value:function(){this.dropdownRegistry.removeChild(this)}},{key:"focus",value:function(){this.link.focus()}},{key:"handleLinkFocus",value:function(){this.dropdownRegistry.setFocusedChild(this)}},{key:"handleLinkBlur",value:function(){this.dropdownRegistry.removeFocusedChild()}},{key:"render",value:function(){var e=this;return u.a.createElement("li",{className:"cf-dropdown__link",role:"menuitem"},u.a.createElement(l.default,{ref:function(t){return e.link=t},to:this.props.to,onClick:this.props.onClick,onFocus:this.handleLinkFocus,onBlur:this.handleLinkBlur},this.props.children))}}]),t}(u.a.Component);d.propTypes={to:c.a.string,onClick:c.a.func,children:c.a.node},d.contextTypes={dropdownRegistry:c.a.instanceOf(f.a).isRequired},t.a=d},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=function(){return o.a.createElement("div",{className:"cf-dropdown__separator",role:"separator"})};t.a=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(861);t.default=r.a},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(862),p=n.n(f),d=Object.assign||function(e){for(var t=1;t-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return s.default.map(e,function(e,t){return a.default.createElement(c.cardMapper[e],{key:t})})}Object.defineProperty(t,"__esModule",{value:!0}),t.renderCards=o;var i=n(0),a=r(i),u=n(15),s=r(u),c=n(840)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(1),c=n.n(s),l=function(){function e(e,t){for(var n=0;n8&&_<=11),E=32,C=String.fromCharCode(E),S={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},O=!1,T=null,P={eventTypes:S,extractEvents:function(e,t,n,r){return[s(e,t,n,r),f(e,t,n,r)]}};e.exports=P},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(9),i=n(39),a=n(157);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),i=o.length;for(e=0;e1?1-t:void 0;return this._fallbackText=o.slice(e,u),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={data:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=C.getPooled(P.change,k,e,S(e));_.accumulateTwoPhaseDispatches(t),E.batchedUpdates(i,t)}function i(e){b.enqueueEvents(e),b.processEventQueue(!1)}function a(e,t){A=e,k=t,A.attachEvent("onchange",o)}function u(){A&&(A.detachEvent("onchange",o),A=null,k=null)}function s(e,t){if("topChange"===e)return t}function c(e,t,n){"topFocus"===e?(u(),a(t,n)):"topBlur"===e&&u()}function l(e,t){A=e,k=t,R=e.value,M=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(A,"value",L),A.attachEvent?A.attachEvent("onpropertychange",p):A.addEventListener("propertychange",p,!1)}function f(){A&&(delete A.value,A.detachEvent?A.detachEvent("onpropertychange",p):A.removeEventListener("propertychange",p,!1),A=null,k=null,R=null,M=null)}function p(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==R&&(R=t,o(e))}}function d(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(f(),l(t,n)):"topBlur"===e&&f()}function g(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&A&&A.value!==R)return R=A.value,k}function y(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function m(e,t){if("topClick"===e)return t}function v(e,t){if(null!=e){var n=e._wrapperState||t._wrapperState;if(n&&n.controlled&&"number"===t.type){var r=""+t.value;t.getAttribute("value")!==r&&t.setAttribute("value",r)}}}var b=n(60),_=n(59),x=n(19),w=n(14),E=n(28),C=n(31),S=n(101),O=n(102),T=n(160),P={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},A=null,k=null,R=null,M=null,j=!1;x.canUseDOM&&(j=O("change")&&(!document.documentMode||document.documentMode>8));var N=!1;x.canUseDOM&&(N=O("input")&&(!document.documentMode||document.documentMode>11));var L={get:function(){return M.get.call(this)},set:function(e){R=""+e,M.set.call(this,e)}},D={eventTypes:P,extractEvents:function(e,t,n,o){var i,a,u=t?w.getNodeFromInstance(t):window;if(r(u)?j?i=s:a=c:T(u)?N?i=d:(i=g,a=h):y(u)&&(i=m),i){var l=i(e,t);if(l){var f=C.getPooled(P.change,l,n,o);return f.type="change",_.accumulateTwoPhaseDispatches(f),f}}a&&a(e,u,t),"topBlur"===e&&v(t,u)}};e.exports=D},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n(296),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(7),i=(n(4),{addComponentAsRefTo:function(e,t,n){r(n)||o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)||o("120");var i=n.getPublicInstance();i&&i.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=i},function(e,t,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=r},function(e,t,n){"use strict";var r=n(59),o=n(14),i=n(76),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:a,extractEvents:function(e,t,n,u){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var s;if(u.window===u)s=u;else{var c=u.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var l,f;if("topMouseOut"===e){l=t;var p=n.relatedTarget||n.toElement;f=p?o.getClosestInstanceFromNode(p):null}else l=null,f=t;if(l===f)return null;var d=null==l?s:o.getNodeFromInstance(l),h=null==f?s:o.getNodeFromInstance(f),g=i.getPooled(a.mouseLeave,l,n,u);g.type="mouseleave",g.target=d,g.relatedTarget=h;var y=i.getPooled(a.mouseEnter,f,n,u);return y.type="mouseenter",y.target=h,y.relatedTarget=d,r.accumulateEnterLeaveDispatches(g,y,l,f),[g,y]}};e.exports=u},function(e,t,n){"use strict";var r=n(46),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,u=r.injection.HAS_POSITIVE_NUMERIC_VALUE,s=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:u,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}};e.exports=c},function(e,t,n){"use strict";var r=n(104),o=n(305),i={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";var r=n(7),o=n(48),i=n(19),a=n(302),u=n(22),s=(n(4),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(i.canUseDOM||r("56"),t||r("57"),"HTML"===e.nodeName&&r("58"),"string"==typeof t){var n=a(t,u)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=s},function(e,t,n){"use strict";function r(e){var t=e.match(l);return t&&t[1].toLowerCase()}function o(e,t){var n=c;c||s(!1);var o=r(e),i=o&&u(o);if(i){n.innerHTML=i[1]+e+i[2];for(var l=i[0];l--;)n=n.lastChild}else n.innerHTML=e;var f=n.getElementsByTagName("script");f.length&&(t||s(!1),a(f).forEach(t));for(var p=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return p}var i=n(19),a=n(303),u=n(304),s=n(4),c=i.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&a(!1),"number"!=typeof t&&a(!1),0===t||t-1 in e||a(!1),"function"==typeof e.callee&&a(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r":"<"+e+">",u[e]=!a.firstChild),u[e]?p[e]:null}var o=n(19),i=n(4),a=o.canUseDOM?document.createElement("div"):null,u={},s=[1,'"],c=[1,"","
"],l=[3,"","
"],f=[1,'',""],p={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:s,option:s,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){p[e]=f,u[e]=!0}),e.exports=r},function(e,t,n){"use strict";var r=n(104),o=n(14),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&(W[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&g("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&g("60"),"object"==typeof t.dangerouslySetInnerHTML&&U in t.dangerouslySetInnerHTML||g("61")),null!=t.style&&"object"!=typeof t.style&&g("62",r(e)))}function i(e,t,n,r){if(!(r instanceof j)){var o=e._hostContainerInfo,i=o._node&&o._node.nodeType===q,u=i?o._node:o._ownerDocument;F(t,u),r.getReactMountReady().enqueue(a,{inst:e,registrationName:t,listener:n})}}function a(){var e=this;E.putListener(e.inst,e.registrationName,e.listener)}function u(){var e=this;P.postMountWrapper(e)}function s(){var e=this;R.postMountWrapper(e)}function c(){var e=this;A.postMountWrapper(e)}function l(){var e=this;e._rootNodeID||g("63");var t=I(e);switch(t||g("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[S.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in B)B.hasOwnProperty(n)&&e._wrapperState.listeners.push(S.trapBubbledEvent(n,B[n],t));break;case"source":e._wrapperState.listeners=[S.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[S.trapBubbledEvent("topError","error",t),S.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[S.trapBubbledEvent("topReset","reset",t),S.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[S.trapBubbledEvent("topInvalid","invalid",t)]}}function f(){k.postUpdateWrapper(this)}function p(e){K.call(X,e)||(Y.test(e)||g("65",e),X[e]=!0)}function d(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;p(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=n(7),y=n(9),m=n(307),v=n(308),b=n(48),_=n(105),x=n(46),w=n(165),E=n(60),C=n(98),S=n(79),O=n(154),T=n(14),P=n(317),A=n(319),k=n(167),R=n(320),M=(n(26),n(321)),j=n(328),N=(n(22),n(78)),L=(n(4),n(102),n(109),n(114),n(5),O),D=E.deleteListener,I=T.getNodeFromInstance,F=S.listenTo,z=C.registrationNameModules,V={string:!0,number:!0},U="__html",G={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},q=11,B={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},H={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Z={listing:!0,pre:!0,textarea:!0},W=y({menuitem:!0},H),Y=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},K={}.hasOwnProperty,$=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=$++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(l,this);break;case"input":P.mountWrapper(this,i,t),i=P.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"option":A.mountWrapper(this,i,t),i=A.getHostProps(this,i);break;case"select":k.mountWrapper(this,i,t),i=k.getHostProps(this,i),e.getReactMountReady().enqueue(l,this);break;case"textarea":R.mountWrapper(this,i,t),i=R.getHostProps(this,i),e.getReactMountReady().enqueue(l,this)}o(this,i);var a,f;null!=t?(a=t._namespaceURI,f=t._tag):n._tag&&(a=n._namespaceURI,f=n._tag),(null==a||a===_.svg&&"foreignobject"===f)&&(a=_.html),a===_.html&&("svg"===this._tag?a=_.svg:"math"===this._tag&&(a=_.mathml)),this._namespaceURI=a;var p;if(e.useCreateElement){var d,h=n._ownerDocument;if(a===_.html)if("script"===this._tag){var g=h.createElement("div"),y=this._currentElement.type;g.innerHTML="<"+y+">",d=g.removeChild(g.firstChild)}else d=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else d=h.createElementNS(a,this._currentElement.type);T.precacheNode(this,d),this._flags|=L.hasCachedChildNodes,this._hostParent||w.setAttributeForRoot(d),this._updateDOMProperties(null,i,e);var v=b(d);this._createInitialChildren(e,i,r,v),p=v}else{var x=this._createOpenTagMarkupAndPutListeners(e,i),E=this._createContentMarkup(e,i,r);p=!E&&H[this._tag]?x+"/>":x+">"+E+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(u,this),i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"select":case"button":i.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(c,this)}return p},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(z.hasOwnProperty(r))o&&i(this,r,o,e);else{"style"===r&&(o&&(o=this._previousStyleCopy=y({},t.style)),o=v.createMarkupForStyles(o,this));var a=null;null!=this._tag&&d(this._tag,t)?G.hasOwnProperty(r)||(a=w.createMarkupForCustomAttribute(r,o)):a=w.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+w.createMarkupForRoot()),n+=" "+w.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=N(i);else if(null!=a){var u=this.mountChildren(a,e,n);r=u.join("")}}return Z[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var i=V[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&b.queueText(r,i);else if(null!=a)for(var u=this.mountChildren(a,e,n),s=0;s0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e||s("35"),"_hostNode"in t||s("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e||s("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o0;)n(s[c],"captured",i)}var s=n(7);n(4);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:u}},function(e,t,n){"use strict";var r=n(7),o=n(9),i=n(104),a=n(48),u=n(14),s=n(78),c=(n(4),n(114),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,l=c.createComment(i),f=c.createComment(" /react-text "),p=a(c.createDocumentFragment());return a.queueChild(p,a(l)),this._stringText&&a.queueChild(p,a(c.createTextNode(this._stringText))),a.queueChild(p,a(f)),u.precacheNode(this,l),this._closingComment=f,p}var d=s(this._stringText);return e.renderToStaticMarkup?d:"\x3c!--"+i+"--\x3e"+d+"\x3c!-- /react-text --\x3e"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=u.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,u.uncacheNode(this)}}),e.exports=c},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(9),i=n(28),a=n(75),u=n(22),s={initialize:u,close:function(){p.isBatchingUpdates=!1}},c={initialize:u,close:i.flushBatchedUpdates.bind(i)},l=[c,s];o(r.prototype,a,{getTransactionWrappers:function(){return l}});var f=new r,p={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=p.isBatchingUpdates;return p.isBatchingUpdates=!0,a?e(t,n,r,o,i):f.perform(e,null,t,n,r,o,i)}};e.exports=p},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=f.getNodeFromInstance(e),n=t.parentNode;return f.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=d(e.nativeEvent),n=f.getClosestInstanceFromNode(t),o=n;do{e.ancestors.push(o),o=o&&r(o)}while(o);for(var i=0;it.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function u(e,t){if(window.getSelection){var n=window.getSelection(),r=e[l()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var u=c(e,o),s=c(e,i);if(u&&s){var f=document.createRange();f.setStart(u.node,u.offset),n.removeAllRanges(),o>i?(n.addRange(f),n.extend(s.node,s.offset)):(f.setEnd(s.node,s.offset),n.addRange(f))}}}var s=n(19),c=n(339),l=n(157),f=s.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:f?o:i,setOffsets:f?a:u};e.exports=p},function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var n=r(e),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=t&&a>=t)return{node:n,offset:t-i};i=a}n=r(o(n))}}e.exports=i},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(341);e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(342);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},function(e,t,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},i={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(e){i.Properties[e]=0,o[e]&&(i.DOMAttributeNames[e]=o[e])}),e.exports=i},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&s.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(v||null==g||g!==l())return null;var n=r(g);if(!m||!p(m,n)){m=n;var o=c.getPooled(h.select,y,e,t);return o.type="select",o.target=g,i.accumulateTwoPhaseDispatches(o),o}return null}var i=n(59),a=n(19),u=n(14),s=n(174),c=n(31),l=n(175),f=n(160),p=n(109),d=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},g=null,y=null,m=null,v=!1,b=!1,_={eventTypes:h,extractEvents:function(e,t,n,r){if(!b)return null;var i=t?u.getNodeFromInstance(t):window;switch(e){case"topFocus":(f(i)||"true"===i.contentEditable)&&(g=i,y=t,m=null);break;case"topBlur":g=null,y=null,m=null;break;case"topMouseDown":v=!0;break;case"topContextMenu":case"topMouseUp":return v=!1,o(n,r);case"topSelectionChange":if(d)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(b=!0)}};e.exports=_},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var i=n(7),a=n(173),u=n(59),s=n(14),c=n(346),l=n(347),f=n(31),p=n(348),d=n(349),h=n(76),g=n(351),y=n(352),m=n(353),v=n(61),b=n(354),_=n(22),x=n(115),w=(n(4),{}),E={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};w[e]=o,E[r]=o});var C={},S={eventTypes:w,extractEvents:function(e,t,n,r){var o=E[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=f;break;case"topKeyPress":if(0===x(n))return null;case"topKeyDown":case"topKeyUp":a=d;break;case"topBlur":case"topFocus":a=p;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=g;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=y;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=c;break;case"topTransitionEnd":a=m;break;case"topScroll":a=v;break;case"topWheel":a=b;break;case"topCopy":case"topCut":case"topPaste":a=l}a||i("86",e);var s=a.getPooled(o,t,n,r);return u.accumulateTwoPhaseDispatches(s),s},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var i=r(e),u=s.getNodeFromInstance(e);C[i]||(C[i]=a.listen(u,"click",_))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);C[n].remove(),delete C[n]}}};e.exports=S},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i={relatedTarget:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i=n(115),a=n(350),u=n(103),s={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(e){return"keypress"===e.type?i(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?i(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n(115),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(76),i={dataTransfer:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),i=n(103),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:i};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(31),i={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(76),i={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(114),9);e.exports=r},function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};e.exports=r},function(e,t,n){"use strict";var r=n(358),o=/\/?>/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};e.exports=a},function(e,t,n){"use strict";function r(e){for(var t=1,n=0,r=0,i=e.length,a=-4&i;r0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],a=n||t+"Subscription",s=function(e){function n(i,a){r(this,n);var u=o(this,e.call(this,i,a));return u[t]=i.store,u}return i(n,e),n.prototype.getChildContext=function(){var e;return e={},e[t]=this[t],e[a]=null,e},n.prototype.render=function(){return u.Children.only(this.props.children)},n}(u.Component);return s.propTypes={store:l.a.isRequired,children:c.a.element.isRequired},s.childContextTypes=(e={},e[t]=l.a.isRequired,e[a]=l.b,e),s.displayName="Provider",s}t.a=a;var u=n(0),s=(n.n(u),n(1)),c=n.n(s),l=n(178);n(116);t.b=a()},function(e,t,n){"use strict";var r=n(22),o=n(4),i=n(150);e.exports=function(){function e(e,t,n,r,a,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e=[],t=[];return{clear:function(){t=i,e=i},notify:function(){for(var n=e=t,r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function i(e,t){return e===t}var a=n(179),u=n(366),s=n(367),c=n(382),l=n(383),f=n(384),p=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?a.a:t,d=e.mapStateToPropsFactories,h=void 0===d?c.a:d,g=e.mapDispatchToPropsFactories,y=void 0===g?s.a:g,m=e.mergePropsFactories,v=void 0===m?l.a:m,b=e.selectorFactory,_=void 0===b?f.a:b;return function(e,t,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=s.pure,l=void 0===c||c,f=s.areStatesEqual,d=void 0===f?i:f,g=s.areOwnPropsEqual,m=void 0===g?u.a:g,b=s.areStatePropsEqual,x=void 0===b?u.a:b,w=s.areMergedPropsEqual,E=void 0===w?u.a:w,C=r(s,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),S=o(e,h,"mapStateToProps"),O=o(t,y,"mapDispatchToProps"),T=o(a,v,"mergeProps");return n(_,p({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:S,initMapDispatchToProps:O,initMergeProps:T,pure:l,areStatesEqual:d,areOwnPropsEqual:m,areStatePropsEqual:x,areMergedPropsEqual:E},C))}}()},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var a=0;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function i(e,t,n,r,o){function i(o,i){return h=o,g=i,y=e(h,g),m=t(r,g),v=n(y,m,g),d=!0,v}function a(){return y=e(h,g),t.dependsOnOwnProps&&(m=t(r,g)),v=n(y,m,g)}function u(){return e.dependsOnOwnProps&&(y=e(h,g)),t.dependsOnOwnProps&&(m=t(r,g)),v=n(y,m,g)}function s(){var t=e(h,g),r=!p(t,y);return y=t,r&&(v=n(y,m,g)),v}function c(e,t){var n=!f(t,g),r=!l(e,h);return h=e,g=t,n&&r?a():n?u():r?s():v}var l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1,h=void 0,g=void 0,y=void 0,m=void 0,v=void 0;return function(e,t){return d?c(e,t):i(e,t)}}function a(e,t){var n=t.initMapStateToProps,a=t.initMapDispatchToProps,u=t.initMergeProps,s=r(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=n(e,s),l=a(e,s),f=u(e,s);return(s.pure?i:o)(c,l,f,e,s)}t.a=a;n(385)},function(e,t,n){"use strict";n(116)},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=n(17),i=n.n(o),a=n(0),u=n.n(a),s=n(20),c=n.n(s),l=n(1),f=(n.n(l),n(187)),p=n(65),d=n(120),h=n(35),g=n(189),y=(n(49),Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4]?arguments[4]:[],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=d({},t,{pathname:"/"+t.pathname})),r=t.pathname),c.a(e.length,function(n,a,s){u(e[n],t,r,o,i,function(e,t){e||t?s(e,t):a()})},n)}t.a=s;var c=n(119),l=n(188),f=n(50),p=(n(49),n(35)),d=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=e.history,o=e.routes,a=e.location,d=r(e,["history","routes","location"]);n||a||u.a(!1),n=n||s.a(d);var h=c.a(n,l.b(o));a=a?n.createLocation(a):n.getCurrentLocation(),h.match(a,function(e,r,o){var a=void 0;if(o){var u=f.b(n,h,o);a=p({},o,{router:u,matchContext:{transitionManager:h,router:u}})}t(e,r&&n.createLocation(r,i.REPLACE),a)})}var i=n(80),a=(n.n(i),n(17)),u=n.n(a),s=n(192),c=n(187),l=n(35),f=n(189),p=Object.assign||function(e){for(var t=1;t=0&&t=0&&y=e&&a&&(o=!0,n())}}()}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(120),a=(n(49),Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:r.createElement;return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return u.reduceRight(function(t,n){return n(t,e)},o.a.createElement(i.a,a({},e,{createElement:c(e.createElement)})))}}},function(e,t,n){"use strict";var r=n(406),o=n.n(r),i=n(197);t.a=i.a(o.a)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},p=t.getCurrentLocation=function(e,t){var n=e.decodePath(c()),r=(0,s.getQueryStringValueFromPath)(n,t),o=void 0;r&&(n=(0,s.stripQueryStringValueFromPath)(n,t),o=(0,u.readState)(r));var a=(0,s.parsePath)(n);return a.state=o,(0,i.createLocation)(a,void 0,r)},d=void 0,h=(t.startListener=function(e,t,n){var r=function(){var r=c(),o=t.encodePath(r);if(r!==o)f(o);else{var i=p(t,n);if(d&&i.key&&d.key===i.key)return;d=i,e(i)}},o=c(),i=t.encodePath(o);return o!==i&&f(i),(0,a.addEventListener)(window,"hashchange",r),function(){return(0,a.removeEventListener)(window,"hashchange",r)}},function(e,t,n,r){var o=e.state,i=e.key,a=t.encodePath((0,s.createPath)(e));void 0!==o&&(a=(0,s.addQueryStringValueToPath)(a,n,i),(0,u.saveState)(i,o)),d=e,r(a)});t.pushLocation=function(e,t,n){return h(e,t,n,function(e){c()!==e&&l(e)})},t.replaceLocation=function(e,t,n){return h(e,t,n,function(e){c()!==e&&f(e)})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,p.routerMiddleware)(e),r=(0,c.default)({collapsed:!0});return(0,i.applyMiddleware)(u.default,r,n)(i.createStore)(f.default,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(117),a=n(411),u=r(a),s=n(412),c=r(s),l=n(417),f=r(l),p=n(37)},function(e,t,n){"use strict";function r(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(t,n):e(r)}}}e.exports=r},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o({},s.default,e),n=t.logger,r=t.transformer,u=t.stateTransformer,c=t.errorTransformer,l=t.predicate,f=t.logErrors,p=t.diffPredicate;if(void 0===n)return function(){return function(e){return function(t){return e(t)}}};if(r&&console.error("Option 'transformer' is deprecated, use 'stateTransformer' instead!"),e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n\n\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\n\nconst logger = createLogger({\n // ...options\n});\n\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var d=[];return function(e){var n=e.getState;return function(e){return function(r){if("function"==typeof l&&!l(n,r))return e(r);var s={};d.push(s),s.started=a.timer.now(),s.startedTime=new Date,s.prevState=u(n()),s.action=r;var h=void 0;if(f)try{h=e(r)}catch(e){s.error=c(e)}else h=e(r);s.took=a.timer.now()-s.started,s.nextState=u(n());var g=t.diff&&"function"==typeof p?p(n,r):t.diff;if((0,i.printBuffer)(d,o({},t,{diff:g})),d.length=0,s.error)throw s.error;return h}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.defaults=void 0;var o=Object.assign||function(e){for(var t=1;t=n.length?r(new u(g,b,new a(e,t[b]))):l(t[b],n[b],r,f,g,b,h);for(;b=0?(l(t[o],n[o],r,f,g,o,h),x=s(x,a)):l(t[o],e,r,f,g,o,h)}),x.forEach(function(t){l(e,n[t],r,f,g,t,h)})}h.length=h.length-1}}else t!==n&&("number"===m&&isNaN(t)&&isNaN(n)||r(new o(g,t,n)))}function f(t,n,r,o){return o=o||[],l(t,n,function(e){e&&o.push(e)},r),o.length?o:e}function p(e,t,n){if(n.path&&n.path.length){var r,o=e[t],i=n.path.length-1;for(r=0;r2&&void 0!==arguments[2]?arguments[2]:{},r=n.selectLocationState,u=void 0===r?a:r,s=n.adjustUrlOnReplay,c=void 0===s||s;if(void 0===u(t.getState()))throw new Error("Expected the routing state to be available either as `state.routing` or as the custom expression you can specify as `selectLocationState` in the `syncHistoryWithStore()` options. Ensure you have added the `routerReducer` to your store's reducers via `combineReducers` or whatever method you use to isolate your reducers.");var l=void 0,f=void 0,p=void 0,d=void 0,h=void 0,g=function(e){return u(t.getState()).locationBeforeTransitions||(e?l:void 0)};if(l=g(),c){var y=function(){var t=g(!0);h!==t&&l!==t&&(f=!0,h=t,e.transitionTo(o({},t,{action:"PUSH"})),f=!1)};p=t.subscribe(y),y()}var m=function(e){f||(h=e,!l&&(l=e,g())||t.dispatch({type:i.LOCATION_CHANGE,payload:e}))};return d=e.listen(m),e.getCurrentLocation&&m(e.getCurrentLocation()),o({},e,{listen:function(e){var n=g(!0),r=!1,o=t.subscribe(function(){var t=g(!0);t!==n&&(n=t,r||e(n))});return e(n),function(){r=!0,o()}},unsubscribe:function(){c&&p(),d()}})}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.ZONES_SET_ACTIVE_ZONE:return o({},e,{id:t.zone.id,name:t.zone.name,account:t.zone.account});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u;switch(arguments[1].type){case a.APPLICATION_INIT:return o({},e,{isInitialized:!0});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case l.DNS_RECORD_CLEAR_ALL:var n=e.entities;return n[t.zoneId]={},i({},e,{entities:n});case l.DNS_RECORD_CREATE:return i({},e,{updateIsFetching:t.name});case l.DNS_RECORD_CREATE_SUCCESS:return i({},e,{entities:o(t.zoneId,e.entities,t.dnsRecord),updateIsFetching:""});case l.DNS_RECORD_CREATE_ERROR:return i({},e,{updateIsFetching:""});case l.DNS_RECORD_FETCH_LIST:return i({},e,{isFetching:!0});case l.DNS_RECORD_FETCH_LIST_SUCCESS:var r=new a.Schema(t.zoneId,{idAttribute:"name"}),u=(0,a.normalize)(t.dnsRecords,(0,a.arrayOf)(r));return i({},e,{entities:s.default.merge(e.entities,u.entities),result:s.default.merge(e.result,u.result),isFetching:!1});case l.DNS_RECORD_FETCH_LIST_ERROR:return i({},e,{isFetching:!1});case l.DNS_RECORD_UPDATE:return i({},e,{updateIsFetching:t.name});case l.DNS_RECORD_UPDATE_SUCCESS:return i({},e,{entities:o(t.zoneId,e.entities,t.dnsRecord),updateIsFetching:""});case l.DNS_RECORD_UPDATE_ERROR:return i({},e,{updateIsFetching:""});default:return e}}function o(e,t,n){return t[e][n.name]=n,t}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,e),!t||"string"!=typeof t)throw new Error("A string non-empty key is required");this._key=t,this._assignEntity=n.assignEntity;var o=n.idAttribute||"id";this._getId="function"==typeof o?o:function(e){return e[o]},this._idAttribute=o,this._meta=n.meta,this._defaults=n.defaults}return o(e,[{key:"getAssignEntity",value:function(){return this._assignEntity}},{key:"getKey",value:function(){return this._key}},{key:"getId",value:function(e,t){return this._getId(e,t)}},{key:"getIdAttribute",value:function(){return this._idAttribute}},{key:"getMeta",value:function(e){if(!e||"string"!=typeof e)throw new Error("A string non-empty property name is required");return this._meta&&this._meta[e]}},{key:"getDefaults",value:function(){return this._defaults}},{key:"define",value:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}]),e}();t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(o(this,e),!(0,u.default)(t))throw new Error("ArraySchema requires item schema to be an object.");if(n.schemaAttribute){var r=n.schemaAttribute;this._itemSchema=new c.default(t,{schemaAttribute:r})}else this._itemSchema=t}return i(e,[{key:"getItemSchema",value:function(){return this._itemSchema}}]),e}();t.default=l},function(e,t,n){function r(e,t){return o(e,t)}var o=n(426);e.exports=r},function(e,t,n){function r(e,t,n,a,u){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,u))}var o=n(427),i=n(87);e.exports=r},function(e,t,n){function r(e,t,n,r,y,v){var b=c(e),_=c(t),x=b?h:s(e),w=_?h:s(t);x=x==d?g:x,w=w==d?g:w;var E=x==g,C=w==g,S=x==w;if(S&&l(e)){if(!l(t))return!1;b=!0,E=!1}if(S&&!E)return v||(v=new o),b||f(e)?i(e,t,n,r,y,v):a(e,t,x,n,r,y,v);if(!(n&p)){var O=E&&m.call(e,"__wrapped__"),T=C&&m.call(t,"__wrapped__");if(O||T){var P=O?e.value():e,A=T?t.value():t;return v||(v=new o),y(P,A,n,r,v)}}return!!S&&(v||(v=new o),u(e,t,n,r,y,v))}var o=n(428),i=n(209),a=n(462),u=n(466),s=n(488),c=n(130),l=n(210),f=n(211),p=1,d="[object Arguments]",h="[object Array]",g="[object Object]",y=Object.prototype,m=y.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(82),i=n(434),a=n(435),u=n(436),s=n(437),c=n(438);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}var o=n(83),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(83);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(83);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(83);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(82);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length-1&&e%1==0&&e0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.INTL_FETCH_TRANSLATIONS:return o({},e,{isFetching:!0});case a.INTL_FETCH_TRANSLATIONS_SUCCESS:return o({},e,{locale:t.locale,translations:t.translations,isFetching:!1});case a.INTL_FETCH_TRANSLATIONS_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case a.NOTIFICATION_ADD:return[{key:Date.now(),level:t.level,message:t.message,localized:t.localized,persistant:t.persistant,delay:t.delay}].concat(r(e));case a.NOTIFICATION_REMOVE:return e.filter(function(e){return e.key!==t.key});default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.notificationsReducer=o;var i=n(8),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),u=[]},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.USER_LOGIN:return o({},e,{isFetching:!0});case a.USER_LOGIN_SUCCESS:return(0,u.setEmail)(t.email),o({},e,{isLoggedIn:!0,isFetching:!1});case a.USER_LOGIN_ERROR:return o({},e,{isFetching:!1});case a.USER_SIGNUP:return o({},e,{isFetching:!0});case a.USER_SIGNUP_SUCCESS:case a.USER_SIGNUP_ERROR:return o({},e,{isFetching:!1});case a.USER_LOGOUT:return(0,u.setEmail)(""),o({},e,{isLoggedIn:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case u.ZONE_FETCH_ANALYTICS:return i({},e,{isFetching:!0});case u.ZONE_FETCH_ANALYTICS_SUCCESS:var n={};return n[t.zoneId]=o(t.zoneAnalytics),i({},e,{entities:c.default.merge(e.entities,n),isFetching:!1});case u.ZONE_FETCH_ANALYTICS_ERROR:return i({},e,{isFetching:!1});default:return e}}function o(e){var t={totals:[],timeSeries:[],requests:[[],[]],bandwidth:[[],[]],threats:[[]],uniques:[[]]};return t.totals=c.default.clone(e.totals),e.timeseries.forEach(function(e){t.timeSeries.push(new Date(e.since)),void 0!==e.requests&&(t.requests[0].push(e.requests.cached),t.requests[1].push(e.requests.uncached)),void 0!==e.bandwidth&&(t.bandwidth[0].push(e.bandwidth.cached),t.bandwidth[1].push(e.bandwidth.uncached)),void 0!==e.threats&&t.threats[0].push(e.threats.all),void 0!==e.uniques&&t.uniques[0].push(e.uniques.all)}),t}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u;switch(arguments[1].type){case a.ZONE_PURGE_CACHE:return o({},e,{isFetching:!0});case a.ZONE_PURGE_CACHE_SUCCESS:case a.ZONE_PURGE_CACHE_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1];switch(t.type){case u.ZONE_RAILGUNS_FETCH_ALL:return i({},e,{isFetching:!0});case u.ZONE_RAILGUNS_FETCH_ALL_SUCCESS:var n=(0,s.normalizeZoneRailgunGetAll)(t.zoneRailguns),r=i({},e.entities);return r[t.zoneId]=n.entities.railguns,i({},e,{entities:r,isFetching:!1});case u.ZONE_RAILGUNS_FETCH_ALL_ERROR:return i({},e,{isFetching:!1});case u.ZONE_RAILGUNS_CONNECTION_UPDATE:return i({},e,{entities:o(e,t),isFetching:!0});case u.ZONE_RAILGUNS_CONNECTION_UPDATE_SUCCESSS:case u.ZONE_RAILGUNS_CONNECTION_UPDATE_ERROR:return i({},e,{entities:o(e,t),isFetching:!1});default:return e}}function o(e,t){var n=i({},e.entities);return n[t.zoneId][t.zoneRailgun.id]=t.zoneRailgun,n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.ZONE_ENTITLEMENTS:return o({},e,{isFetching:!0});case a.ZONE_ENTITLEMENTS_SUCCESS:var n=(0,u.normalizeZoneEntitlements)(t.zoneEntitlements),r=o({},e.entities);return r[t.zoneId]=n.entities.entitlements,o({},e,{entities:r,isFetching:!1});case a.ZONE_ENTITLEMENTS_ERROR:return o({},e,{isFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case c.ZONE_FETCH_SETTINGS:return i({},e,{isFetching:"fetchAllSettings"});case c.ZONE_FETCH_SETTINGS_SUCCESS:var n=(0,l.normalizeZoneByIdGetAll)(t.zoneId,t.zoneSettings);return i({},e,{entities:u.default.merge(e.entities,n.entities),result:u.default.merge(e.result,n.result),isFetching:""});case c.ZONE_FETCH_SETTINGS_ERROR:return i({},e,{isFetching:""});case c.ZONE_UPDATE_SETTING:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:t.setting.id});case c.ZONE_UPDATE_SETTING_SUCCESS:case c.ZONE_UPDATE_SETTING_ERROR:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:""});default:return e}}function o(e,t,n){var r=i({},n.entities);return r[e][t.id]=t,r}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case s.ZONES_DELETE_ZONE:return o({},e,{zoneDeleteIsFetching:!0});case s.ZONES_DELETE_ZONE_SUCCESS:case s.ZONES_DELETE_ZONE_ERROR:return o({},e,{zoneDeleteIsFetching:!1});case s.ZONES_FETCH:return o({},e,{zoneFetchIsFetching:!0});case s.ZONES_FETCH_SUCCESS:var n=(0,c.normalizeZoneGetAll)(t.zoneList);return o({},e,{entities:a.default.merge(e.entities,n.entities),result:a.default.merge(e.result,n.result),zoneFetchIsFetching:!1});case s.ZONES_FETCH_ERROR:return o({},e,{zoneFetchIsFetching:!1});case s.ZONES_PROVISION_CNAME:return o({},e,{zoneProvisionCnameIsFetching:!0});case s.ZONES_PROVISION_CNAME_SUCCESS:case s.ZONES_PROVISION_CNAME_ERROR:return o({},e,{zoneProvisionCnameIsFetching:!1});case s.ZONES_PROVISION_FULL:return o({},e,{zoneProvisionFullIsFetching:!0});case s.ZONES_PROVISION_FULL_SUCCESS:case s.ZONES_PROVISION_FULL_ERROR:return o({},e,{zoneProvisionFullIsFetching:!1});default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:f,t=arguments[1];switch(t.type){case c.PLUGIN_SETTINGS_FETCH:return i({},e,{isFetching:"FETCH ALL PLUGIN SETTINGS"});case c.PLUGIN_SETTINGS_FETCH_SUCCESS:var n=(0,l.normalizeZoneByIdGetAll)(t.zoneId,t.setting);return i({},e,{entities:u.default.merge(e.entities,n.entities),result:u.default.merge(e.result,n.result),isFetching:""});case c.PLUGIN_SETTINGS_FETCH_ERROR:return i({},e,{isFetching:""});case c.PLUGIN_SETTING_UPDATE:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:t.setting.id});case c.PLUGIN_SETTING_UPDATE_SUCCESS:case c.PLUGIN_SETTING_UPDATE_ERROR:return i({},e,{entities:o(t.zoneId,t.setting,e),isFetching:""});default:return e}}function o(e,t,n){var r=i({},n.entities);return r[e][t.id]=t,r}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;te&&(Xe=0,Ke={line:1,column:1,seenCR:!1}),function(e,n,r){var o,i;for(o=n;o$e&&($e=We,Qe=[]),Qe.push(e))}function o(r,o,i){var a=n(i),u=it.description?1:0});t1?i.slice(0,-1).join(", ")+" or "+i[e.length-1]:i[0],r=t?'"'+function(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0180-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1080-\uFFFF]/g,function(e){return"\\u"+t(e)})}(t)+'"':"end of input","Expected "+n+" but "+r+" found."}(o,u),o,u,i,a.line,a.column)}function i(){return a()}function a(){var e,t,n;for(e=We,t=[],n=u();n!==k;)t.push(n),n=u();return t!==k&&(Ye=e,t=j(t)),e=t}function u(){var e;return e=c(),e===k&&(e=f()),e}function s(){var e,n,r,o,i,a;if(e=We,n=[],r=We,o=w(),o!==k?(i=T(),i!==k?(a=w(),a!==k?(o=[o,i,a],r=o):(We=r,r=N)):(We=r,r=N)):(We=r,r=N),r!==k)for(;r!==k;)n.push(r),r=We,o=w(),o!==k?(i=T(),i!==k?(a=w(),a!==k?(o=[o,i,a],r=o):(We=r,r=N)):(We=r,r=N)):(We=r,r=N);else n=N;return n!==k&&(Ye=e,n=L(n)),e=n,e===k&&(e=We,n=x(),n!==k&&(n=t.substring(e,We)),e=n),e}function c(){var e,t;return e=We,t=s(),t!==k&&(Ye=e,t=D(t)),e=t}function l(){var e,n,o;if((e=S())===k){if(e=We,n=[],I.test(t.charAt(We))?(o=t.charAt(We),We++):(o=k,0===Je&&r(F)),o!==k)for(;o!==k;)n.push(o),I.test(t.charAt(We))?(o=t.charAt(We),We++):(o=k,0===Je&&r(F));else n=N;n!==k&&(n=t.substring(e,We)),e=n}return e}function f(){var e,n,o,i,a,u,s,c,f;return e=We,123===t.charCodeAt(We)?(n=z,We++):(n=k,0===Je&&r(V)),n!==k?(o=w(),o!==k?(i=l(),i!==k?(a=w(),a!==k?(u=We,44===t.charCodeAt(We)?(s=G,We++):(s=k,0===Je&&r(q)),s!==k?(c=w(),c!==k?(f=p(),f!==k?(s=[s,c,f],u=s):(We=u,u=N)):(We=u,u=N)):(We=u,u=N),u===k&&(u=U),u!==k?(s=w(),s!==k?(125===t.charCodeAt(We)?(c=B,We++):(c=k,0===Je&&r(H)),c!==k?(Ye=e,n=Z(i,u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function p(){var e;return e=d(),e===k&&(e=h())===k&&(e=g())===k&&(e=y()),e}function d(){var e,n,o,i,a,u,s;return e=We,t.substr(We,6)===W?(n=W,We+=6):(n=k,0===Je&&r(Y)),n===k&&(t.substr(We,4)===X?(n=X,We+=4):(n=k,0===Je&&r(K)),n===k&&(t.substr(We,4)===$?(n=$,We+=4):(n=k,0===Je&&r(Q)))),n!==k?(o=w(),o!==k?(i=We,44===t.charCodeAt(We)?(a=G,We++):(a=k,0===Je&&r(q)),a!==k?(u=w(),u!==k?(s=T(),s!==k?(a=[a,u,s],i=a):(We=i,i=N)):(We=i,i=N)):(We=i,i=N),i===k&&(i=U),i!==k?(Ye=e,n=J(n,i),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function h(){var e,n,o,i,a,u;return e=We,t.substr(We,6)===ee?(n=ee,We+=6):(n=k,0===Je&&r(te)),n!==k?(o=w(),o!==k?(44===t.charCodeAt(We)?(i=G,We++):(i=k,0===Je&&r(q)),i!==k?(a=w(),a!==k?(u=_(),u!==k?(Ye=e,n=ne(u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function g(){var e,n,o,i,a,u;return e=We,t.substr(We,13)===re?(n=re,We+=13):(n=k,0===Je&&r(oe)),n!==k?(o=w(),o!==k?(44===t.charCodeAt(We)?(i=G,We++):(i=k,0===Je&&r(q)),i!==k?(a=w(),a!==k?(u=_(),u!==k?(Ye=e,n=ie(u),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function y(){var e,n,o,i,a;if(e=We,t.substr(We,6)===ae?(n=ae,We+=6):(n=k,0===Je&&r(ue)),n!==k)if(w()!==k)if(44===t.charCodeAt(We)?(o=G,We++):(o=k,0===Je&&r(q)),o!==k)if(w()!==k){if(i=[],(a=v())!==k)for(;a!==k;)i.push(a),a=v();else i=N;i!==k?(Ye=e,n=se(i),e=n):(We=e,e=N)}else We=e,e=N;else We=e,e=N;else We=e,e=N;else We=e,e=N;return e}function m(){var e,n,o,i;return e=We,n=We,61===t.charCodeAt(We)?(o=ce,We++):(o=k,0===Je&&r(le)),o!==k?(i=S(),i!==k?(o=[o,i],n=o):(We=n,n=N)):(We=n,n=N),n!==k&&(n=t.substring(e,We)),e=n,e===k&&(e=T()),e}function v(){var e,n,o,i,u,s,c,l,f;return e=We,n=w(),n!==k?(o=m(),o!==k?(i=w(),i!==k?(123===t.charCodeAt(We)?(u=z,We++):(u=k,0===Je&&r(V)),u!==k?(s=w(),s!==k?(c=a(),c!==k?(l=w(),l!==k?(125===t.charCodeAt(We)?(f=B,We++):(f=k,0===Je&&r(H)),f!==k?(Ye=e,n=fe(o,c),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function b(){var e,n,o,i;return e=We,t.substr(We,7)===pe?(n=pe,We+=7):(n=k,0===Je&&r(de)),n!==k?(o=w(),o!==k?(i=S(),i!==k?(Ye=e,n=he(i),e=n):(We=e,e=N)):(We=e,e=N)):(We=e,e=N),e}function _(){var e,t,n,r;if(e=We,t=b(),t===k&&(t=U),t!==k)if(w()!==k){if(n=[],(r=v())!==k)for(;r!==k;)n.push(r),r=v();else n=N;n!==k?(Ye=e,t=ge(t,n),e=t):(We=e,e=N)}else We=e,e=N;else We=e,e=N;return e}function x(){var e,n;if(Je++,e=[],me.test(t.charAt(We))?(n=t.charAt(We),We++):(n=k,0===Je&&r(ve)),n!==k)for(;n!==k;)e.push(n),me.test(t.charAt(We))?(n=t.charAt(We),We++):(n=k,0===Je&&r(ve));else e=N;return Je--,e===k&&(n=k,0===Je&&r(ye)),e}function w(){var e,n,o;for(Je++,e=We,n=[],o=x();o!==k;)n.push(o),o=x();return n!==k&&(n=t.substring(e,We)),e=n,Je--,e===k&&(n=k,0===Je&&r(be)),e}function E(){var e;return _e.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(xe)),e}function C(){var e;return we.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(Ee)),e}function S(){var e,n,o,i,a,u;if(e=We,48===t.charCodeAt(We)?(n=Ce,We++):(n=k,0===Je&&r(Se)),n===k){if(n=We,o=We,Oe.test(t.charAt(We))?(i=t.charAt(We),We++):(i=k,0===Je&&r(Te)),i!==k){for(a=[],u=E();u!==k;)a.push(u),u=E();a!==k?(i=[i,a],o=i):(We=o,o=N)}else We=o,o=N;o!==k&&(o=t.substring(n,We)),n=o}return n!==k&&(Ye=e,n=Pe(n)),e=n}function O(){var e,n,o,i,a,u,s,c;return Ae.test(t.charAt(We))?(e=t.charAt(We),We++):(e=k,0===Je&&r(ke)),e===k&&(e=We,t.substr(We,2)===Re?(n=Re,We+=2):(n=k,0===Je&&r(Me)),n!==k&&(Ye=e,n=je()),(e=n)===k&&(e=We,t.substr(We,2)===Ne?(n=Ne,We+=2):(n=k,0===Je&&r(Le)),n!==k&&(Ye=e,n=De()),(e=n)===k&&(e=We,t.substr(We,2)===Ie?(n=Ie,We+=2):(n=k,0===Je&&r(Fe)),n!==k&&(Ye=e,n=ze()),(e=n)===k&&(e=We,t.substr(We,2)===Ve?(n=Ve,We+=2):(n=k,0===Je&&r(Ue)),n!==k&&(Ye=e,n=Ge()),(e=n)===k&&(e=We,t.substr(We,2)===qe?(n=qe,We+=2):(n=k,0===Je&&r(Be)),n!==k?(o=We,i=We,a=C(),a!==k?(u=C(),u!==k?(s=C(),s!==k?(c=C(),c!==k?(a=[a,u,s,c],i=a):(We=i,i=N)):(We=i,i=N)):(We=i,i=N)):(We=i,i=N),i!==k&&(i=t.substring(o,We)),o=i,o!==k?(Ye=e,n=He(o),e=n):(We=e,e=N)):(We=e,e=N)))))),e}function T(){var e,t,n;if(e=We,t=[],(n=O())!==k)for(;n!==k;)t.push(n),n=O();else t=N;return t!==k&&(Ye=e,t=Ze(t)),e=t}var P,A=arguments.length>1?arguments[1]:{},k={},R={start:i},M=i,j=function(e){return{type:"messageFormatPattern",elements:e}},N=k,L=function(e){var t,n,r,o,i,a="";for(t=0,r=e.length;t=0)return!0;if("string"==typeof e){var t=/s$/.test(e)&&e.substr(0,e.length-1);if(t&&a.arrIndexOf.call(u,t)>=0)throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, did you mean: '+t)}throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, it must be one of: "'+u.join('", "')+'"')},r.prototype._resolveLocale=function(e){"string"==typeof e&&(e=[e]),e=(e||[]).concat(r.defaultLocale);var t,n,o,i,a=r.__localeData__;for(t=0,n=e.length;t=0)return e;throw new Error('"'+e+'" is not a valid IntlRelativeFormat `style` value, it must be one of: "'+s.join('", "')+'"')},r.prototype._selectUnits=function(e){var t,n,o;for(t=0,n=u.length;t0,n=f.default.Children.count(this.props.children);return this.props.component||n>1||"string"==typeof this.props.children||Array.isArray(this.props.children)&&1==n||void 0===this.props.children?f.default.createElement(this.props.component||"div",e,this.props.children):t?f.default.cloneElement(this.props.children,e):n?this.props.children:null}}]),t}(f.default.Component);O.displayName="MediaQuery",O.defaultProps={values:{}},t.default=O,e.exports=t.default},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){g&&d&&(g=!1,d.length?h=d.concat(h):y=-1,h.length&&u())}function u(){if(!g){var e=o(a);g=!0;for(var t=h.length;t;){for(d=h,h=[];++y1)for(var n=1;n1?t-1:0),r=1;r2?r-2:0),i=2;i=u;case"max":return s<=u;default:return s===u}});return u&&!n||!u&&n})}function r(e){return e.split(",").map(function(e){e=e.trim();var t=e.match(u),n=t[1],r=t[2],o=t[3]||"",i={};return i.inverse=!!n&&"not"===n.toLowerCase(),i.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],i.expressions=o.map(function(e){var t=e.match(s),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}}),i})}function o(e){var t,n=Number(e);return n||(t=e.match(/^(\d+)\s*\/\s*(\d+)$/),n=t[1]/t[2]),n}function i(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function a(e){var t=parseFloat(e);switch(String(e).match(l)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=n,t.parse=r;var u=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,s=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,l=/(em|rem|px|cm|mm|in|pt|pc)?$/,f=/(dpi|dpcm|dppx)?$/},function(e,t,n){"use strict";function r(e,t){function n(e){s&&s.addListener(e)}function r(e){s&&s.removeListener(e)}function o(e){u.matches=e.matches,u.media=e.media}var u=this;if(a){var s=a.call(window,e);this.matches=s.matches,this.media=s.media,s.addListener(o)}else this.matches=i(e,t),this.media=e;this.addListener=n,this.removeListener=r}function o(e,t){return new r(e,t)}var i=n(10).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=o},function(e,t,n){(function(t){"use strict";function r(e,n,r,s,c){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var f;try{o("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",s||"React class",r,l),f=e[l](n,l,s,r,null,a)}catch(e){f=e}if(i(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",r,l,typeof f),f instanceof Error&&!(f.message in u)){u[f.message]=!0;var p=c?c():"";i(!1,"Failed %s type: %s%s",r,f.message,null!=p?p:"")}}}if("production"!==t.env.NODE_ENV)var o=n(3),i=n(5),a=n(8),u={};e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";var r=n(2),o=n(3);e.exports=function(){function e(){o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){(function(t){"use strict";var r=n(2),o=n(3),i=n(5),a=n(8),u=n(12);e.exports=function(e,n){function s(e){var t=e&&(C&&e[C]||e[S]);if("function"==typeof t)return t}function c(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function f(e){function r(r,c,f,p,d,h,g){if(p=p||O,h=h||f,g!==a)if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var y=p+":"+f;!u[y]&&s<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,p),u[y]=!0,s++)}return null==c[f]?r?new l(null===c[f]?"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `null`.":"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(c,f,p,d,h)}if("production"!==t.env.NODE_ENV)var u={},s=0;var c=r.bind(null,!1);return c.isRequired=r.bind(null,!0),c}function p(e){function t(t,n,r,o,i,a){var u=t[n];if(x(u)!==e)return new l("Invalid "+o+" `"+i+"` of type `"+w(u)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return f(t)}function d(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u)){return new l("Invalid "+o+" `"+i+"` of type `"+x(u)+"` supplied to `"+r+"`, expected an array.")}for(var s=0;s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=(n.n(c),n(88)),f=n.n(l),p=Object.assign||function(e){for(var t=1;te.props.value.length&&e.clearOptions(),e.props.onChange(t)}};return n(s({},this.props,c,{isLoading:a,onInputChange:this._onInputChange}))}}]),t}(f.Component);t.default=w,w.propTypes=b,w.defaultProps=x,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return Object.keys(e).reduce(function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t},t)}var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){return d.default.createElement(b.default,e)}function a(e){var t=e.option,n=e.options,r=e.labelKey,o=e.valueKey;return 0===n.filter(function(e){return e[r]===t[r]||e[o]===t[o]}).length}function u(e){return!!e.label}function s(e){var t=e.label,n=e.labelKey,r=e.valueKey,o={};return o[r]=t,o[n]=t,o.className="Select-create-option-placeholder",o}function c(e){return'Create option "'+e+'"'}function l(e){switch(e.keyCode){case 9:case 13:case 188:return!0}return!1}var f=Object.assign||function(e){for(var t=1;t0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),i.push(n.substring(o-=u,o+u)),!((s+=u+1)>r));)u=e[a=(a+1)%e.length];return i.reverse().join(t)}}},function(e,t,n){"use strict";t.a=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},function(e,t,n){"use strict";t.a=function(e,t){e=e.toPrecision(t);e:for(var n,r=e.length,o=1,i=-1;o0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e}},function(e,t,n){"use strict";var r=n(131);t.a=function(e,t){var n=r.a(e,t);if(!n)return e+"";var o=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+o:o.length>i+1?o.slice(0,i+1)+"."+o.slice(i+1):o+new Array(i-o.length+2).join("0")}},function(e,t,n){"use strict";t.a=function(e){return e}},function(e,t,n){"use strict";var r=n(90);t.a=function(e){return Math.max(0,-r.a(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(90);t.a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(r.a(t)/3)))-r.a(Math.abs(e)))}},function(e,t,n){"use strict";var r=n(90);t.a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,r.a(t)-r.a(e))+1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(){return{}}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(563),p=function(){function e(e,t){for(var n=0;n requires either a `to` or `onClick` prop");var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleClick=r.handleClick.bind(r),r.focus=r.focus.bind(r),r}return a(t,e),p(t,[{key:"focus",value:function(){this.link.focus()}},{key:"handleClick",value:function(e){e.preventDefault(),this.props.disabled||(this.props.to?f.a(this.props.to):this.props.onClick(e))}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,o=t.to,i=t.children,a=t.className,u=t.disabled,c=r(t,["tagName","to","children","className","disabled"]);return c.href||"a"!==n||(c.href=o||"#!"),c.role||(o&&"a"!==n?c.role="link":o||(c.role="button")),c.className="cf-link",u&&(c.className+=" cf-link--disabled",c.disabled=!0),a&&(c.className+=" "+a),c.onClick=this.handleClick,c.ref=function(t){return e.link=t},s.a.createElement(n,c,i)}}]),t}(s.a.Component);d.propTypes={to:l.a.string,onClick:l.a.func,tagName:l.a.string,disabled:l.a.bool,className:l.a.string,children:l.a.node},d.defaultProps={tagName:"a"},t.a=d},function(e,t,n){"use strict";var r=n(564);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e){if(!o)return void console.error("Warning: Route Handler: A handler needs to be setup before you can route");o(e)}t.a=r;var o=void 0},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=function(){function e(e,t){for(var n=0;n0&&e(t[o],n[o],r)})}(f,this,this)}function s(e){var t=this;t.d3=i.d3?i.d3:n(226),t.api=e,t.config=t.getDefaultConfig(),t.data={},t.cache={},t.axes={}}function c(e){a.call(this,e)}function l(e,t){function n(e,t){e.attr("transform",function(e){return"translate("+Math.ceil(t(e)+_)+", 0)"})}function r(e,t){e.attr("transform",function(e){return"translate(0,"+Math.ceil(t(e))+")"})}function o(e){var t=e[0],n=e[e.length-1];return t0&&r[0]>0&&r.unshift(r[0]-(r[1]-r[0])),r}function a(){var e,n=g.copy();return t.isCategory&&(e=g.domain(),n.domain([e[0],e[1]-1])),n}function u(e){var t=p?p(e):e;return void 0!==t?t:""}function s(e){if(A)return A;var t={h:11.5,w:5.5};return e.select("text").text(u).each(function(e){var n=this.getBoundingClientRect(),r=u(e),o=n.height,i=r?n.width/r.length:void 0;o&&i&&(t.h=o,t.w=i)}).text(""),A=t,t}function c(n){return t.withoutTransition?n:e.transition(n)}function l(p){p.each(function(){function p(e,n){function r(e,t){i=void 0;for(var u=1;u0?1:-1):B}(Z)).style("text-anchor",function(e){return e?e>0?"start":"end":"middle"}(Z)).attr("transform",function(e){return e?"rotate("+e+")":""}(Z)),U.attr("x",0).attr("dy",d).attr("dx",function(e){return e?8*Math.sin(Math.PI*(e/180)):0}(Z)),L.attr("d","M"+j[0]+","+f+"V0H"+j[1]+"V"+f);break;case"top":w=n,D.attr("y2",-m),F.attr("y",-B),I.attr("x2",0).attr("y2",-m),z.attr("x",0).attr("y",-B),V.style("text-anchor","middle"),U.attr("x",0).attr("dy","0em"),L.attr("d","M"+j[0]+","+-f+"V0H"+j[1]+"V"+-f);break;case"left":w=r,D.attr("x2",-m),F.attr("x",-B),I.attr("x2",-m).attr("y1",C).attr("y2",C),z.attr("x",-B).attr("y",_),V.style("text-anchor","end"),U.attr("x",-B).attr("dy",d),L.attr("d","M"+-f+","+j[0]+"H0V"+j[1]+"H"+-f);break;case"right":w=r,D.attr("x2",m),F.attr("x",B),I.attr("x2",m).attr("y2",0),z.attr("x",B).attr("y",0),V.style("text-anchor","start"),U.attr("x",B).attr("dy",d),L.attr("d","M"+f+","+j[0]+"H0V"+j[1]+"H"+f)}if(T.rangeBand){var W=T,Y=W.rangeBand()/2;O=T=function(e){return W(e)+Y}}else O.rangeBand?O=T:R.call(w,T);k.call(w,O),M.call(w,T)})}var f,p,d,h,g=e.scale.linear(),y="bottom",m=6,v=3,b=null,_=0,x=!0;return t=t||{},f=t.withOuterTick?6:0,l.scale=function(e){return arguments.length?(g=e,l):g},l.orient=function(e){return arguments.length?(y=e in{top:1,right:1,bottom:1,left:1}?e+"":"bottom",l):y},l.tickFormat=function(e){return arguments.length?(p=e,l):p},l.tickCentered=function(e){return arguments.length?(h=e,l):h},l.tickOffset=function(){return _},l.tickInterval=function(){var e,n;return t.isCategory?e=2*_:(n=l.g.select("path.domain").node().getTotalLength()-2*f,e=n/l.g.selectAll("line").size()),e===1/0?0:e},l.ticks=function(){return arguments.length?(d=arguments,l):d},l.tickCulling=function(e){return arguments.length?(x=e,l):x},l.tickValues=function(e){if("function"==typeof e)b=function(){return e(g.domain())};else{if(!arguments.length)return b;b=e}return l},l}var f,p,d={version:"0.4.11"};d.generate=function(e){return new u(e)},d.chart={fn:u.prototype,internal:{fn:s.prototype,axis:{fn:c.prototype}}},f=d.chart.fn,p=d.chart.internal.fn,d.chart.internal.axis.fn,p.beforeInit=function(){},p.afterInit=function(){},p.init=function(){var e=this,t=e.config;if(e.initParams(),t.data_url)e.convertUrlToData(t.data_url,t.data_mimeType,t.data_headers,t.data_keys,e.initWithData);else if(t.data_json)e.initWithData(e.convertJsonToData(t.data_json,t.data_keys));else if(t.data_rows)e.initWithData(e.convertRowsToData(t.data_rows));else{if(!t.data_columns)throw Error("url or json or rows or columns is required.");e.initWithData(e.convertColumnsToData(t.data_columns))}},p.initParams=function(){var e=this,t=e.d3,n=e.config;e.clipId="c3-"+ +new Date+"-clip",e.clipIdForXAxis=e.clipId+"-xaxis",e.clipIdForYAxis=e.clipId+"-yaxis",e.clipIdForGrid=e.clipId+"-grid",e.clipIdForSubchart=e.clipId+"-subchart",e.clipPath=e.getClipPath(e.clipId),e.clipPathForXAxis=e.getClipPath(e.clipIdForXAxis),e.clipPathForYAxis=e.getClipPath(e.clipIdForYAxis),e.clipPathForGrid=e.getClipPath(e.clipIdForGrid),e.clipPathForSubchart=e.getClipPath(e.clipIdForSubchart),e.dragStart=null,e.dragging=!1,e.flowing=!1,e.cancelClick=!1,e.mouseover=!1,e.transiting=!1,e.color=e.generateColor(),e.levelColor=e.generateLevelColor(),e.dataTimeFormat=n.data_xLocaltime?t.time.format:t.time.format.utc,e.axisTimeFormat=n.axis_x_localtime?t.time.format:t.time.format.utc,e.defaultAxisTimeFormat=e.axisTimeFormat.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%-m/%-d",function(e){return e.getDay()&&1!==e.getDate()}],["%-m/%-d",function(e){return 1!==e.getDate()}],["%-m/%-d",function(e){return e.getMonth()}],["%Y/%-m/%-d",function(){return!0}]]),e.hiddenTargetIds=[],e.hiddenLegendIds=[],e.focusedTargetIds=[],e.defocusedTargetIds=[],e.xOrient=n.axis_rotated?"left":"bottom",e.yOrient=n.axis_rotated?n.axis_y_inner?"top":"bottom":n.axis_y_inner?"right":"left",e.y2Orient=n.axis_rotated?n.axis_y2_inner?"bottom":"top":n.axis_y2_inner?"left":"right",e.subXOrient=n.axis_rotated?"left":"bottom",e.isLegendRight="right"===n.legend_position,e.isLegendInset="inset"===n.legend_position,e.isLegendTop="top-left"===n.legend_inset_anchor||"top-right"===n.legend_inset_anchor,e.isLegendLeft="top-left"===n.legend_inset_anchor||"bottom-left"===n.legend_inset_anchor,e.legendStep=0,e.legendItemWidth=0,e.legendItemHeight=0,e.currentMaxTickWidths={x:0,y:0,y2:0},e.rotated_padding_left=30,e.rotated_padding_right=n.axis_rotated&&!n.axis_x_show?0:30,e.rotated_padding_top=5,e.withoutFadeIn={},e.intervalForObserveInserted=void 0,e.axes.subx=t.selectAll([])},p.initChartElements=function(){this.initBar&&this.initBar(),this.initLine&&this.initLine(),this.initArc&&this.initArc(),this.initGauge&&this.initGauge(),this.initText&&this.initText()},p.initWithData=function(e){var t,n,r=this,o=r.d3,i=r.config,a=!0;r.axis=new c(r),r.initPie&&r.initPie(),r.initBrush&&r.initBrush(),r.initZoom&&r.initZoom(),i.bindto?"function"==typeof i.bindto.node?r.selectChart=i.bindto:r.selectChart=o.select(i.bindto):r.selectChart=o.selectAll([]),r.selectChart.empty()&&(r.selectChart=o.select(document.createElement("div")).style("opacity",0),r.observeInserted(r.selectChart),a=!1),r.selectChart.html("").classed("c3",!0),r.data.xs={},r.data.targets=r.convertDataToTargets(e),i.data_filter&&(r.data.targets=r.data.targets.filter(i.data_filter)),i.data_hide&&r.addHiddenTargetIds(!0===i.data_hide?r.mapToIds(r.data.targets):i.data_hide),i.legend_hide&&r.addHiddenLegendIds(!0===i.legend_hide?r.mapToIds(r.data.targets):i.legend_hide),r.hasType("gauge")&&(i.legend_show=!1),r.updateSizes(),r.updateScales(),r.x.domain(o.extent(r.getXDomain(r.data.targets))),r.y.domain(r.getYDomain(r.data.targets,"y")),r.y2.domain(r.getYDomain(r.data.targets,"y2")),r.subX.domain(r.x.domain()),r.subY.domain(r.y.domain()),r.subY2.domain(r.y2.domain()),r.orgXDomain=r.x.domain(),r.brush&&r.brush.scale(r.subX),i.zoom_enabled&&r.zoom.scale(r.x),r.svg=r.selectChart.append("svg").style("overflow","hidden").on("mouseenter",function(){return i.onmouseover.call(r)}).on("mouseleave",function(){return i.onmouseout.call(r)}),r.config.svg_classname&&r.svg.attr("class",r.config.svg_classname),t=r.svg.append("defs"),r.clipChart=r.appendClip(t,r.clipId),r.clipXAxis=r.appendClip(t,r.clipIdForXAxis),r.clipYAxis=r.appendClip(t,r.clipIdForYAxis),r.clipGrid=r.appendClip(t,r.clipIdForGrid),r.clipSubchart=r.appendClip(t,r.clipIdForSubchart),r.updateSvgSize(),n=r.main=r.svg.append("g").attr("transform",r.getTranslate("main")),r.initSubchart&&r.initSubchart(),r.initTooltip&&r.initTooltip(),r.initLegend&&r.initLegend(),r.initTitle&&r.initTitle(),n.append("text").attr("class",h.text+" "+h.empty).attr("text-anchor","middle").attr("dominant-baseline","middle"),r.initRegion(),r.initGrid(),n.append("g").attr("clip-path",r.clipPath).attr("class",h.chart),i.grid_lines_front&&r.initGridLines(),r.initEventRect(),r.initChartElements(),n.insert("rect",i.zoom_privileged?null:"g."+h.regions).attr("class",h.zoomRect).attr("width",r.width).attr("height",r.height).style("opacity",0).on("dblclick.zoom",null),i.axis_x_extent&&r.brush.extent(r.getDefaultExtent()),r.axis.init(),r.updateTargets(r.data.targets),a&&(r.updateDimension(),r.config.oninit.call(r),r.redraw({withTransition:!1,withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransitionForAxis:!1})),r.bindResize(),r.api.element=r.selectChart.node()},p.smoothLines=function(e,t){var n=this;"grid"===t&&e.each(function(){var e=n.d3.select(this),t=e.attr("x1"),r=e.attr("x2"),o=e.attr("y1"),i=e.attr("y2");e.attr({x1:Math.ceil(t),x2:Math.ceil(r),y1:Math.ceil(o),y2:Math.ceil(i)})})},p.updateSizes=function(){var e=this,t=e.config,n=e.legend?e.getLegendHeight():0,r=e.legend?e.getLegendWidth():0,o=e.isLegendRight||e.isLegendInset?0:n,i=e.hasArcType(),a=t.axis_rotated||i?0:e.getHorizontalAxisHeight("x"),u=t.subchart_show&&!i?t.subchart_size_height+a:0;e.currentWidth=e.getCurrentWidth(),e.currentHeight=e.getCurrentHeight(),e.margin=t.axis_rotated?{top:e.getHorizontalAxisHeight("y2")+e.getCurrentPaddingTop(),right:i?0:e.getCurrentPaddingRight(),bottom:e.getHorizontalAxisHeight("y")+o+e.getCurrentPaddingBottom(),left:u+(i?0:e.getCurrentPaddingLeft())}:{top:4+e.getCurrentPaddingTop(),right:i?0:e.getCurrentPaddingRight(),bottom:a+u+o+e.getCurrentPaddingBottom(),left:i?0:e.getCurrentPaddingLeft()},e.margin2=t.axis_rotated?{top:e.margin.top,right:NaN,bottom:20+o,left:e.rotated_padding_left}:{top:e.currentHeight-u-o,right:NaN,bottom:a+o,left:e.margin.left},e.margin3={top:0,right:NaN,bottom:0,left:0},e.updateSizeForLegend&&e.updateSizeForLegend(n,r),e.width=e.currentWidth-e.margin.left-e.margin.right,e.height=e.currentHeight-e.margin.top-e.margin.bottom,e.width<0&&(e.width=0),e.height<0&&(e.height=0),e.width2=t.axis_rotated?e.margin.left-e.rotated_padding_left-e.rotated_padding_right:e.width,e.height2=t.axis_rotated?e.height:e.currentHeight-e.margin2.top-e.margin2.bottom,e.width2<0&&(e.width2=0),e.height2<0&&(e.height2=0),e.arcWidth=e.width-(e.isLegendRight?r+10:0),e.arcHeight=e.height-(e.isLegendRight?0:10),e.hasType("gauge")&&!t.gauge_fullCircle&&(e.arcHeight+=e.height-e.getGaugeLabelHeight()),e.updateRadius&&e.updateRadius(),e.isLegendRight&&i&&(e.margin3.left=e.arcWidth/2+1.1*e.radiusExpanded)},p.updateTargets=function(e){var t=this;t.updateTargetsForText(e),t.updateTargetsForBar(e),t.updateTargetsForLine(e),t.hasArcType()&&t.updateTargetsForArc&&t.updateTargetsForArc(e),t.updateTargetsForSubchart&&t.updateTargetsForSubchart(e),t.showTargets()},p.showTargets=function(){var e=this;e.svg.selectAll("."+h.target).filter(function(t){return e.isTargetToShow(t.id)}).transition().duration(e.config.transition_duration).style("opacity",1)},p.redraw=function(e,t){var n,r,o,i,a,u,s,c,l,f,p,d,g,y,m,v,b,_,x,w,E,C,O,T,P,A,k,R,M,j=this,N=j.main,L=j.d3,D=j.config,I=j.getShapeIndices(j.isAreaType),F=j.getShapeIndices(j.isBarType),z=j.getShapeIndices(j.isLineType),V=j.hasArcType(),U=j.filterTargetsToShow(j.data.targets),G=j.xv.bind(j);if(e=e||{},n=S(e,"withY",!0),r=S(e,"withSubchart",!0),o=S(e,"withTransition",!0),u=S(e,"withTransform",!1),s=S(e,"withUpdateXDomain",!1),c=S(e,"withUpdateOrgXDomain",!1),l=S(e,"withTrimXDomain",!0),g=S(e,"withUpdateXAxis",s),f=S(e,"withLegend",!1),p=S(e,"withEventRect",!0),d=S(e,"withDimension",!0),i=S(e,"withTransitionForExit",o),a=S(e,"withTransitionForAxis",o),x=o?D.transition_duration:0,w=i?x:0,E=a?x:0,t=t||j.axis.generateTransitions(E),f&&D.legend_show?j.updateLegend(j.mapToIds(j.data.targets),e,t):d&&j.updateDimension(!0),j.isCategorized()&&0===U.length&&j.x.domain([0,j.axes.x.selectAll(".tick").size()]),U.length?(j.updateXDomain(U,s,c,l),D.axis_x_tick_values||(T=j.axis.updateXAxisTickValues(U))):(j.xAxis.tickValues([]),j.subXAxis.tickValues([])),D.zoom_rescale&&!e.flow&&(k=j.x.orgDomain()),j.y.domain(j.getYDomain(U,"y",k)),j.y2.domain(j.getYDomain(U,"y2",k)),!D.axis_y_tick_values&&D.axis_y_tick_count&&j.yAxis.tickValues(j.axis.generateTickValues(j.y.domain(),D.axis_y_tick_count)),!D.axis_y2_tick_values&&D.axis_y2_tick_count&&j.y2Axis.tickValues(j.axis.generateTickValues(j.y2.domain(),D.axis_y2_tick_count)),j.axis.redraw(t,V),j.axis.updateLabels(o),(s||g)&&U.length)if(D.axis_x_tick_culling&&T){for(P=1;P=0&&L.select(this).style("display",t%A?"none":"block")})}else j.svg.selectAll("."+h.axisX+" .tick text").style("display","block");y=j.generateDrawArea?j.generateDrawArea(I,!1):void 0,m=j.generateDrawBar?j.generateDrawBar(F):void 0,v=j.generateDrawLine?j.generateDrawLine(z,!1):void 0,b=j.generateXYForText(I,F,z,!0),_=j.generateXYForText(I,F,z,!1),n&&(j.subY.domain(j.getYDomain(U,"y")),j.subY2.domain(j.getYDomain(U,"y2"))),j.updateXgridFocus(),N.select("text."+h.text+"."+h.empty).attr("x",j.width/2).attr("y",j.height/2).text(D.data_empty_label_text).transition().style("opacity",U.length?0:1),j.updateGrid(x),j.updateRegion(x),j.updateBar(w),j.updateLine(w),j.updateArea(w),j.updateCircle(),j.hasDataLabel()&&j.updateText(w),j.redrawTitle&&j.redrawTitle(),j.redrawArc&&j.redrawArc(x,w,u),j.redrawSubchart&&j.redrawSubchart(r,t,x,w,I,F,z),N.selectAll("."+h.selectedCircles).filter(j.isBarType.bind(j)).selectAll("circle").remove(),D.interaction_enabled&&!e.flow&&p&&(j.redrawEventRect(),j.updateZoom&&j.updateZoom()),j.updateCircleY(),R=(j.config.axis_rotated?j.circleY:j.circleX).bind(j),M=(j.config.axis_rotated?j.circleX:j.circleY).bind(j),e.flow&&(O=j.generateFlow({targets:U,flow:e.flow,duration:e.flow.duration,drawBar:m,drawLine:v,drawArea:y,cx:R,cy:M,xv:G,xForText:b,yForText:_})),(x||O)&&j.isTabVisible()?L.transition().duration(x).each(function(){var t=[];[j.redrawBar(m,!0),j.redrawLine(v,!0),j.redrawArea(y,!0),j.redrawCircle(R,M,!0),j.redrawText(b,_,e.flow,!0),j.redrawRegion(!0),j.redrawGrid(!0)].forEach(function(e){e.forEach(function(e){t.push(e)})}),C=j.generateWait(),t.forEach(function(e){C.add(e)})}).call(C,function(){O&&O(),D.onrendered&&D.onrendered.call(j)}):(j.redrawBar(m),j.redrawLine(v),j.redrawArea(y),j.redrawCircle(R,M),j.redrawText(b,_,e.flow),j.redrawRegion(),j.redrawGrid(),D.onrendered&&D.onrendered.call(j)),j.mapToIds(j.data.targets).forEach(function(e){j.withoutFadeIn[e]=!0})},p.updateAndRedraw=function(e){var t,n=this,r=n.config;e=e||{},e.withTransition=S(e,"withTransition",!0),e.withTransform=S(e,"withTransform",!1),e.withLegend=S(e,"withLegend",!1),e.withUpdateXDomain=!0,e.withUpdateOrgXDomain=!0,e.withTransitionForExit=!1,e.withTransitionForTransform=S(e,"withTransitionForTransform",e.withTransition),n.updateSizes(),e.withLegend&&r.legend_show||(t=n.axis.generateTransitions(e.withTransitionForAxis?r.transition_duration:0),n.updateScales(),n.updateSvgSize(),n.transformAll(e.withTransitionForTransform,t)),n.redraw(e,t)},p.redrawWithoutRescale=function(){this.redraw({withY:!1,withSubchart:!1,withEventRect:!1,withTransitionForAxis:!1})},p.isTimeSeries=function(){return"timeseries"===this.config.axis_x_type},p.isCategorized=function(){return this.config.axis_x_type.indexOf("categor")>=0},p.isCustomX=function(){var e=this,t=e.config;return!e.isTimeSeries()&&(t.data_x||C(t.data_xs))},p.isTimeSeriesY=function(){return"timeseries"===this.config.axis_y_type},p.getTranslate=function(e){var t,n,r=this,o=r.config;return"main"===e?(t=x(r.margin.left),n=x(r.margin.top)):"context"===e?(t=x(r.margin2.left),n=x(r.margin2.top)):"legend"===e?(t=r.margin3.left,n=r.margin3.top):"x"===e?(t=0,n=o.axis_rotated?0:r.height):"y"===e?(t=0,n=o.axis_rotated?r.height:0):"y2"===e?(t=o.axis_rotated?0:r.width,n=o.axis_rotated?1:0):"subx"===e?(t=0,n=o.axis_rotated?0:r.height2):"arc"===e&&(t=r.arcWidth/2,n=r.arcHeight/2),"translate("+t+","+n+")"},p.initialOpacity=function(e){return null!==e.value&&this.withoutFadeIn[e.id]?1:0},p.initialOpacityForCircle=function(e){return null!==e.value&&this.withoutFadeIn[e.id]?this.opacityForCircle(e):0},p.opacityForCircle=function(e){var t=this.config.point_show?1:0;return g(e.value)?this.isScatterType(e)?.5:t:0},p.opacityForText=function(){return this.hasDataLabel()?1:0},p.xx=function(e){return e?this.x(e.x):null},p.xv=function(e){var t=this,n=e.value;return t.isTimeSeries()?n=t.parseDate(e.value):t.isCategorized()&&"string"==typeof e.value&&(n=t.config.axis_x_categories.indexOf(e.value)),Math.ceil(t.x(n))},p.yv=function(e){var t=this,n=e.axis&&"y2"===e.axis?t.y2:t.y;return Math.ceil(n(e.value))},p.subxx=function(e){return e?this.subX(e.x):null},p.transformMain=function(e,t){var n,r,o,i=this;t&&t.axisX?n=t.axisX:(n=i.main.select("."+h.axisX),e&&(n=n.transition())),t&&t.axisY?r=t.axisY:(r=i.main.select("."+h.axisY),e&&(r=r.transition())),t&&t.axisY2?o=t.axisY2:(o=i.main.select("."+h.axisY2),e&&(o=o.transition())),(e?i.main.transition():i.main).attr("transform",i.getTranslate("main")),n.attr("transform",i.getTranslate("x")),r.attr("transform",i.getTranslate("y")),o.attr("transform",i.getTranslate("y2")),i.main.select("."+h.chartArcs).attr("transform",i.getTranslate("arc"))},p.transformAll=function(e,t){var n=this;n.transformMain(e,t),n.config.subchart_show&&n.transformContext(e,t),n.legend&&n.transformLegend(e)},p.updateSvgSize=function(){var e=this,t=e.svg.select(".c3-brush .background");e.svg.attr("width",e.currentWidth).attr("height",e.currentHeight),e.svg.selectAll(["#"+e.clipId,"#"+e.clipIdForGrid]).select("rect").attr("width",e.width).attr("height",e.height),e.svg.select("#"+e.clipIdForXAxis).select("rect").attr("x",e.getXAxisClipX.bind(e)).attr("y",e.getXAxisClipY.bind(e)).attr("width",e.getXAxisClipWidth.bind(e)).attr("height",e.getXAxisClipHeight.bind(e)),e.svg.select("#"+e.clipIdForYAxis).select("rect").attr("x",e.getYAxisClipX.bind(e)).attr("y",e.getYAxisClipY.bind(e)).attr("width",e.getYAxisClipWidth.bind(e)).attr("height",e.getYAxisClipHeight.bind(e)),e.svg.select("#"+e.clipIdForSubchart).select("rect").attr("width",e.width).attr("height",t.size()?t.attr("height"):0),e.svg.select("."+h.zoomRect).attr("width",e.width).attr("height",e.height),e.selectChart.style("max-height",e.currentHeight+"px")},p.updateDimension=function(e){var t=this;e||(t.config.axis_rotated?(t.axes.x.call(t.xAxis),t.axes.subx.call(t.subXAxis)):(t.axes.y.call(t.yAxis),t.axes.y2.call(t.y2Axis))),t.updateSizes(),t.updateScales(),t.updateSvgSize(),t.transformAll(!1)},p.observeInserted=function(e){var t,n=this;if("undefined"==typeof MutationObserver)return void i.console.error("MutationObserver not defined.");t=new MutationObserver(function(r){r.forEach(function(r){"childList"===r.type&&r.previousSibling&&(t.disconnect(),n.intervalForObserveInserted=i.setInterval(function(){e.node().parentNode&&(i.clearInterval(n.intervalForObserveInserted),n.updateDimension(),n.brush&&n.brush.update(),n.config.oninit.call(n),n.redraw({withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransition:!1,withTransitionForTransform:!1,withLegend:!0}),e.transition().style("opacity",1))},10))})}),t.observe(e.node(),{attributes:!0,childList:!0,characterData:!0})},p.bindResize=function(){var e=this,t=e.config;if(e.resizeFunction=e.generateResize(),e.resizeFunction.add(function(){t.onresize.call(e)}),t.resize_auto&&e.resizeFunction.add(function(){void 0!==e.resizeTimeout&&i.clearTimeout(e.resizeTimeout),e.resizeTimeout=i.setTimeout(function(){delete e.resizeTimeout,e.api.flush()},100)}),e.resizeFunction.add(function(){t.onresized.call(e)}),i.attachEvent)i.attachEvent("onresize",e.resizeFunction);else if(i.addEventListener)i.addEventListener("resize",e.resizeFunction,!1);else{var n=i.onresize;n?n.add&&n.remove||(n=e.generateResize(),n.add(i.onresize)):n=e.generateResize(),n.add(e.resizeFunction),i.onresize=n}},p.generateResize=function(){function e(){t.forEach(function(e){e()})}var t=[];return e.add=function(e){t.push(e)},e.remove=function(e){for(var n=0;n0)for(a=u.hasNegativeValueInTargets(e),t=0;t=0}),0!==o.length)for(r=o[0],a&&l[r]&&l[r].forEach(function(e,t){l[r][t]=e<0?e:0}),n=1;n0||(l[r][t]+=+e)});return u.d3.min(Object.keys(l).map(function(e){return u.d3.min(l[e])}))},p.getYDomainMax=function(e){var t,n,r,o,i,a,u=this,s=u.config,c=u.mapToIds(e),l=u.getValuesAsIdKeyed(e);if(s.data_groups.length>0)for(a=u.hasPositiveValueInTargets(e),t=0;t=0}),0!==o.length)for(r=o[0],a&&l[r]&&l[r].forEach(function(e,t){l[r][t]=e>0?e:0}),n=1;n=0&&x>=0,p=_<=0&&x<=0,(g(v)&&f||g(b)&&p)&&(S=!1),S&&(f&&(_=0),p&&(x=0)),o=Math.abs(x-_),i=a=.1*o,void 0!==E&&(u=Math.max(Math.abs(_),Math.abs(x)),x=E+u,_=E-u),T?(s=d.getDataLabelLength(_,x,"width"),c=w(d.y.range()),l=[s[0]/c,s[1]/c],i+=o*(l[1]/(1-l[0]-l[1])),a+=o*(l[0]/(1-l[0]-l[1]))):P&&(s=d.getDataLabelLength(_,x,"height"),i+=d.axis.convertPixelsToAxisPadding(s[1],o),a+=d.axis.convertPixelsToAxisPadding(s[0],o)),"y"===t&&C(h.axis_y_padding)&&(i=d.axis.getPadding(h.axis_y_padding,"top",i,o),a=d.axis.getPadding(h.axis_y_padding,"bottom",a,o)),"y2"===t&&C(h.axis_y2_padding)&&(i=d.axis.getPadding(h.axis_y2_padding,"top",i,o),a=d.axis.getPadding(h.axis_y2_padding,"bottom",a,o)),S&&(f&&(a=_),p&&(i=-x)),r=[_-a,x+i],O?r.reverse():r)},p.getXDomainMin=function(e){var t=this,n=t.config;return b(n.axis_x_min)?t.isTimeSeries()?this.parseDate(n.axis_x_min):n.axis_x_min:t.d3.min(e,function(e){return t.d3.min(e.values,function(e){return e.x})})},p.getXDomainMax=function(e){var t=this,n=t.config;return b(n.axis_x_max)?t.isTimeSeries()?this.parseDate(n.axis_x_max):n.axis_x_max:t.d3.max(e,function(e){return t.d3.max(e.values,function(e){return e.x})})},p.getXDomainPadding=function(e){var t,n,r,o,i=this,a=i.config,u=e[1]-e[0];return i.isCategorized()?n=0:i.hasType("bar")?(t=i.getMaxDataCount(),n=t>1?u/(t-1)/2:.5):n=.01*u,"object"==typeof a.axis_x_padding&&C(a.axis_x_padding)?(r=g(a.axis_x_padding.left)?a.axis_x_padding.left:n,o=g(a.axis_x_padding.right)?a.axis_x_padding.right:n):r=o="number"==typeof a.axis_x_padding?a.axis_x_padding:n,{left:r,right:o}},p.getXDomain=function(e){var t=this,n=[t.getXDomainMin(e),t.getXDomainMax(e)],r=n[0],o=n[1],i=t.getXDomainPadding(n),a=0,u=0;return r-o!=0||t.isCategorized()||(t.isTimeSeries()?(r=new Date(.5*r.getTime()),o=new Date(1.5*o.getTime())):(r=0===r?1:.5*r,o=0===o?-1:1.5*o)),(r||0===r)&&(a=t.isTimeSeries()?new Date(r.getTime()-i.left):r-i.left),(o||0===o)&&(u=t.isTimeSeries()?new Date(o.getTime()+i.right):o+i.right),[a,u]},p.updateXDomain=function(e,t,n,r,o){var i=this,a=i.config;return n&&(i.x.domain(o||i.d3.extent(i.getXDomain(e))),i.orgXDomain=i.x.domain(),a.zoom_enabled&&i.zoom.scale(i.x).updateScaleExtent(),i.subX.domain(i.x.domain()),i.brush&&i.brush.scale(i.subX)),t&&(i.x.domain(o||(!i.brush||i.brush.empty()?i.orgXDomain:i.brush.extent())),a.zoom_enabled&&i.zoom.scale(i.x).updateScaleExtent()),r&&i.x.domain(i.trimXDomain(i.x.orgDomain())),i.x.domain()},p.trimXDomain=function(e){var t=this.getZoomDomain(),n=t[0],r=t[1];return e[0]<=n&&(e[1]=+e[1]+(n-e[0]),e[0]=n),r<=e[1]&&(e[0]=+e[0]-(e[1]-r),e[1]=r),e},p.isX=function(e){var t=this,n=t.config;return n.data_x&&e===n.data_x||C(n.data_xs)&&O(n.data_xs,e)},p.isNotX=function(e){return!this.isX(e)},p.getXKey=function(e){var t=this,n=t.config;return n.data_x?n.data_x:C(n.data_xs)?n.data_xs[e]:null},p.getXValuesOfXKey=function(e,t){var n,r=this;return(t&&C(t)?r.mapToIds(t):[]).forEach(function(t){r.getXKey(t)===e&&(n=r.data.xs[t])}),n},p.getIndexByX=function(e){var t=this,n=t.filterByX(t.data.targets,e);return n.length?n[0].index:null},p.getXValue=function(e,t){var n=this;return e in n.data.xs&&n.data.xs[e]&&g(n.data.xs[e][t])?n.data.xs[e][t]:t},p.getOtherTargetXs=function(){var e=this,t=Object.keys(e.data.xs);return t.length?e.data.xs[t[0]]:null},p.getOtherTargetX=function(e){var t=this.getOtherTargetXs();return t&&e1},p.isMultipleX=function(){return C(this.config.data_xs)||!this.config.data_xSort||this.hasType("scatter")},p.addName=function(e){var t,n=this;return e&&(t=n.config.data_names[e.id],e.name=void 0!==t?t:e.id),e},p.getValueOnIndex=function(e,t){var n=e.filter(function(e){return e.index===t});return n.length?n[0]:null},p.updateTargetX=function(e,t){var n=this;e.forEach(function(e){e.values.forEach(function(r,o){r.x=n.generateTargetX(t[o],e.id,o)}),n.data.xs[e.id]=t})},p.updateTargetXs=function(e,t){var n=this;e.forEach(function(e){t[e.id]&&n.updateTargetX([e],t[e.id])})},p.generateTargetX=function(e,t,n){var r=this;return r.isTimeSeries()?e?r.parseDate(e):r.parseDate(r.getXValue(t,n)):r.isCustomX()&&!r.isCategorized()?g(e)?+e:r.getXValue(t,n):n},p.cloneTarget=function(e){return{id:e.id,id_org:e.id_org,values:e.values.map(function(e){return{x:e.x,value:e.value,id:e.id}})}},p.updateXs=function(){var e=this;e.data.targets.length&&(e.xs=[],e.data.targets[0].values.forEach(function(t){e.xs[t.index]=t.x}))},p.getPrevX=function(e){var t=this.xs[e-1];return void 0!==t?t:null},p.getNextX=function(e){var t=this.xs[e+1];return void 0!==t?t:null},p.getMaxDataCount=function(){var e=this;return e.d3.max(e.data.targets,function(e){return e.values.length})},p.getMaxDataCountTarget=function(e){var t,n=e.length,r=0;return n>1?e.forEach(function(e){e.values.length>r&&(t=e,r=e.values.length)}):t=n?e[0]:null,t},p.getEdgeX=function(e){var t=this;return e.length?[t.d3.min(e,function(e){return e.values[0].x}),t.d3.max(e,function(e){return e.values[e.values.length-1].x})]:[0,0]},p.mapToIds=function(e){return e.map(function(e){return e.id})},p.mapToTargetIds=function(e){var t=this;return e?[].concat(e):t.mapToIds(t.data.targets)},p.hasTarget=function(e,t){var n,r=this.mapToIds(e);for(n=0;nt?1:e>=t?0:NaN})},p.addHiddenTargetIds=function(e){this.hiddenTargetIds=this.hiddenTargetIds.concat(e)},p.removeHiddenTargetIds=function(e){this.hiddenTargetIds=this.hiddenTargetIds.filter(function(t){return e.indexOf(t)<0})},p.addHiddenLegendIds=function(e){this.hiddenLegendIds=this.hiddenLegendIds.concat(e)},p.removeHiddenLegendIds=function(e){this.hiddenLegendIds=this.hiddenLegendIds.filter(function(t){return e.indexOf(t)<0})},p.getValuesAsIdKeyed=function(e){var t={};return e.forEach(function(e){t[e.id]=[],e.values.forEach(function(n){t[e.id].push(n.value)})}),t},p.checkValueInTargets=function(e,t){var n,r,o,i=Object.keys(e);for(n=0;n0})},p.isOrderDesc=function(){var e=this.config;return"string"==typeof e.data_order&&"desc"===e.data_order.toLowerCase()},p.isOrderAsc=function(){var e=this.config;return"string"==typeof e.data_order&&"asc"===e.data_order.toLowerCase()},p.orderTargets=function(e){var t=this,n=t.config,r=t.isOrderAsc(),o=t.isOrderDesc();return r||o?e.sort(function(e,t){var n=function(e,t){return e+Math.abs(t.value)},o=e.values.reduce(n,0),i=t.values.reduce(n,0);return r?i-o:o-i}):y(n.data_order)&&e.sort(n.data_order),e},p.filterByX=function(e,t){return this.d3.merge(e.map(function(e){return e.values})).filter(function(e){return e.x-t==0})},p.filterRemoveNull=function(e){return e.filter(function(e){return g(e.value)})},p.filterByXDomain=function(e,t){return e.map(function(e){return{id:e.id,id_org:e.id_org,values:e.values.filter(function(e){return t[0]<=e.x&&e.x<=t[1]})}})},p.hasDataLabel=function(){var e=this.config;return!("boolean"!=typeof e.data_labels||!e.data_labels)||!("object"!=typeof e.data_labels||!C(e.data_labels))},p.getDataLabelLength=function(e,t,n){var r=this,o=[0,0];return r.selectChart.select("svg").selectAll(".dummy").data([e,t]).enter().append("text").text(function(e){return r.dataLabelFormat(e.id)(e)}).each(function(e,t){o[t]=1.3*this.getBoundingClientRect()[n]}).remove(),o},p.isNoneArc=function(e){return this.hasTarget(this.data.targets,e.id)},p.isArc=function(e){return"data"in e&&this.hasTarget(this.data.targets,e.data.id)},p.findSameXOfValues=function(e,t){var n,r=e[t].x,o=[];for(n=t-1;n>=0&&r===e[n].x;n--)o.push(e[n]);for(n=t;n=0?r.data.xs[n]=(t&&r.data.xs[n]?r.data.xs[n]:[]).concat(e.map(function(e){return e[i]}).filter(g).map(function(e,t){return r.generateTargetX(e,n,t)})):o.data_x?r.data.xs[n]=r.getOtherTargetXs():C(o.data_xs)&&(r.data.xs[n]=r.getXValuesOfXKey(i,r.data.targets)):r.data.xs[n]=e.map(function(e,t){return t})}),i.forEach(function(e){if(!r.data.xs[e])throw new Error('x is not defined for id = "'+e+'".')}),n=i.map(function(t,n){var i=o.data_idConverter(t);return{id:i,id_org:t,values:e.map(function(e,a){var u,s=r.getXKey(t),c=e[s],l=null===e[t]||isNaN(e[t])?null:+e[t];return r.isCustomX()&&r.isCategorized()&&0===n&&!v(c)?(0===n&&0===a&&(o.axis_x_categories=[]),-1===(u=o.axis_x_categories.indexOf(c))&&(u=o.axis_x_categories.length,o.axis_x_categories.push(c))):u=r.generateTargetX(c,t,a),(v(e[t])||r.data.xs[t].length<=a)&&(u=void 0),{x:u,value:l,id:i}}).filter(function(e){return b(e.x)})}}),n.forEach(function(e){var t;o.data_xSort&&(e.values=e.values.sort(function(e,t){return(e.x||0===e.x?e.x:1/0)-(t.x||0===t.x?t.x:1/0)})),t=0,e.values.forEach(function(e){e.index=t++}),r.data.xs[e.id].sort(function(e,t){return e-t})}),r.hasNegativeValue=r.hasNegativeValueInTargets(n),r.hasPositiveValue=r.hasPositiveValueInTargets(n),o.data_type&&r.setTargetType(r.mapToIds(n).filter(function(e){return!(e in o.data_types)}),o.data_type),n.forEach(function(e){r.addCache(e.id_org,e)}),n},p.load=function(e,t){var n=this;e&&(t.filter&&(e=e.filter(t.filter)),(t.type||t.types)&&e.forEach(function(e){var r=t.types&&t.types[e.id]?t.types[e.id]:t.type;n.setTargetType(e.id,r)}),n.data.targets.forEach(function(t){for(var n=0;n0?n:320/(e.hasType("gauge")&&!t.gauge_fullCircle?2:1)},p.getCurrentPaddingTop=function(){var e=this,t=e.config,n=g(t.padding_top)?t.padding_top:0;return e.title&&e.title.node()&&(n+=e.getTitlePadding()),n},p.getCurrentPaddingBottom=function(){var e=this.config;return g(e.padding_bottom)?e.padding_bottom:0},p.getCurrentPaddingLeft=function(e){var t=this,n=t.config;return g(n.padding_left)?n.padding_left:n.axis_rotated?n.axis_x_show?Math.max(_(t.getAxisWidthByAxisId("x",e)),40):1:!n.axis_y_show||n.axis_y_inner?t.axis.getYAxisLabelPosition().isOuter?30:1:_(t.getAxisWidthByAxisId("y",e))},p.getCurrentPaddingRight=function(){var e=this,t=e.config,n=e.isLegendRight?e.getLegendWidth()+20:0;return g(t.padding_right)?t.padding_right+1:t.axis_rotated?10+n:!t.axis_y2_show||t.axis_y2_inner?2+n+(e.axis.getY2AxisLabelPosition().isOuter?20:0):_(e.getAxisWidthByAxisId("y2"))+n},p.getParentRectValue=function(e){for(var t,n=this.selectChart.node();n&&"BODY"!==n.tagName;){try{t=n.getBoundingClientRect()[e]}catch(r){"width"===e&&(t=n.offsetWidth)}if(t)break;n=n.parentNode}return t},p.getParentWidth=function(){return this.getParentRectValue("width")},p.getParentHeight=function(){var e=this.selectChart.style("height");return e.indexOf("px")>0?+e.replace("px",""):0},p.getSvgLeft=function(e){var t=this,n=t.config,r=n.axis_rotated||!n.axis_rotated&&!n.axis_y_inner,o=n.axis_rotated?h.axisX:h.axisY,i=t.main.select("."+o).node(),a=i&&r?i.getBoundingClientRect():{right:0},u=t.selectChart.node().getBoundingClientRect(),s=t.hasArcType(),c=a.right-u.left-(s?0:t.getCurrentPaddingLeft(e));return c>0?c:0},p.getAxisWidthByAxisId=function(e,t){var n=this,r=n.axis.getLabelPositionById(e);return n.axis.getMaxTickWidth(e,t)+(r.isInner?20:40)},p.getHorizontalAxisHeight=function(e){var t=this,n=t.config,r=30;return"x"!==e||n.axis_x_show?"x"===e&&n.axis_x_height?n.axis_x_height:"y"!==e||n.axis_y_show?"y2"!==e||n.axis_y2_show?("x"===e&&!n.axis_rotated&&n.axis_x_tick_rotate&&(r=30+t.axis.getMaxTickWidth(e)*Math.cos(Math.PI*(90-n.axis_x_tick_rotate)/180)),"y"===e&&n.axis_rotated&&n.axis_y_tick_rotate&&(r=30+t.axis.getMaxTickWidth(e)*Math.cos(Math.PI*(90-n.axis_y_tick_rotate)/180)),r+(t.axis.getLabelPositionById(e).isInner?0:10)+("y2"===e?-10:0)):t.rotated_padding_top:!n.legend_show||t.isLegendRight||t.isLegendInset?1:10:8},p.getEventRectWidth=function(){return Math.max(0,this.xAxis.tickInterval())},p.getShapeIndices=function(e){var t,n,r=this,o=r.config,i={},a=0;return r.filterTargetsToShow(r.data.targets.filter(e,r)).forEach(function(e){for(t=0;t=0&&(c+=u(o[a].value)-s))}),c}},p.isWithinShape=function(e,t){var n,r=this,o=r.d3.select(e);return r.isTargetToShow(t.id)?"circle"===e.nodeName?n=r.isStepType(t)?r.isWithinStep(e,r.getYScale(t.id)(t.value)):r.isWithinCircle(e,1.5*r.pointSelectR(t)):"path"===e.nodeName&&(n=!o.classed(h.bar)||r.isWithinBar(e)):n=!1,n},p.getInterpolate=function(e){var t=this,n=t.isInterpolationType(t.config.spline_interpolation_type)?t.config.spline_interpolation_type:"cardinal";return t.isSplineType(e)?n:t.isStepType(e)?t.config.line_step_type:"linear"},p.initLine=function(){this.main.select("."+h.chart).append("g").attr("class",h.chartLines)},p.updateTargetsForLine=function(e){var t,n,r=this,o=r.config,i=r.classChartLine.bind(r),a=r.classLines.bind(r),u=r.classAreas.bind(r),s=r.classCircles.bind(r),c=r.classFocus.bind(r);t=r.main.select("."+h.chartLines).selectAll("."+h.chartLine).data(e).attr("class",function(e){return i(e)+c(e)}),n=t.enter().append("g").attr("class",i).style("opacity",0).style("pointer-events","none"),n.append("g").attr("class",a),n.append("g").attr("class",u),n.append("g").attr("class",function(e){return r.generateClass(h.selectedCircles,e.id)}),n.append("g").attr("class",s).style("cursor",function(e){return o.data_selection_isselectable(e)?"pointer":null}),e.forEach(function(e){r.main.selectAll("."+h.selectedCircles+r.getTargetSelectorSuffix(e.id)).selectAll("."+h.selectedCircle).each(function(t){t.value=e.values[t.index].value})})},p.updateLine=function(e){var t=this;t.mainLine=t.main.selectAll("."+h.lines).selectAll("."+h.line).data(t.lineData.bind(t)),t.mainLine.enter().append("path").attr("class",t.classLine.bind(t)).style("stroke",t.color),t.mainLine.style("opacity",t.initialOpacity.bind(t)).style("shape-rendering",function(e){return t.isStepType(e)?"crispEdges":""}).attr("transform",null),t.mainLine.exit().transition().duration(e).style("opacity",0).remove()},p.redrawLine=function(e,t){return[(t?this.mainLine.transition(Math.random().toString()):this.mainLine).attr("d",e).style("stroke",this.color).style("opacity",1)]},p.generateDrawLine=function(e,t){var n=this,r=n.config,o=n.d3.svg.line(),i=n.generateGetLinePoints(e,t),a=t?n.getSubYScale:n.getYScale,u=function(e){return(t?n.subxx:n.xx).call(n,e)},s=function(e,t){return r.data_groups.length>0?i(e,t)[0][1]:a.call(n,e.id)(e.value)};return o=r.axis_rotated?o.x(s).y(u):o.x(u).y(s),r.line_connectNull||(o=o.defined(function(e){return null!=e.value})),function(e){var i,u=r.line_connectNull?n.filterRemoveNull(e.values):e.values,s=t?n.x:n.subX,c=a.call(n,e.id),l=0,f=0;return n.isLineType(e)?r.data_regions[e.id]?i=n.lineWithRegions(u,s,c,r.data_regions[e.id]):(n.isStepType(e)&&(u=n.convertValuesToStep(u)),i=o.interpolate(n.getInterpolate(e))(u)):(u[0]&&(l=s(u[0].x),f=c(u[0].value)),i=r.axis_rotated?"M "+f+" "+l:"M "+l+" "+f),i||"M 0 0"}},p.generateGetLinePoints=function(e,t){var n=this,r=n.config,o=e.__max__+1,i=n.getShapeX(0,o,e,!!t),a=n.getShapeY(!!t),u=n.getShapeOffset(n.isLineType,e,!!t),s=t?n.getSubYScale:n.getYScale;return function(e,t){var o=s.call(n,e.id)(0),c=u(e,t)||o,l=i(e),f=a(e);return r.axis_rotated&&(00?i(e,t)[0][1]:a.call(n,e.id)(n.getAreaBaseValue(e.id))},c=function(e,t){return r.data_groups.length>0?i(e,t)[1][1]:a.call(n,e.id)(e.value)};return o=r.axis_rotated?o.x0(s).x1(c).y(u):o.x(u).y0(r.area_above?0:s).y1(c),r.line_connectNull||(o=o.defined(function(e){return null!==e.value})),function(e){var t,i=r.line_connectNull?n.filterRemoveNull(e.values):e.values,a=0,u=0;return n.isAreaType(e)?(n.isStepType(e)&&(i=n.convertValuesToStep(i)),t=o.interpolate(n.getInterpolate(e))(i)):(i[0]&&(a=n.x(i[0].x),u=n.getYScale(e.id)(i[0].value)),t=r.axis_rotated?"M "+u+" "+a:"M "+a+" "+u),t||"M 0 0"}},p.getAreaBaseValue=function(){return 0},p.generateGetAreaPoints=function(e,t){var n=this,r=n.config,o=e.__max__+1,i=n.getShapeX(0,o,e,!!t),a=n.getShapeY(!!t),u=n.getShapeOffset(n.isAreaType,e,!!t),s=t?n.getSubYScale:n.getYScale;return function(e,t){var o=s.call(n,e.id)(0),c=u(e,t)||o,l=i(e),f=a(e);return r.axis_rotated&&(00?(e=n.getShapeIndices(n.isLineType),t=n.generateGetLinePoints(e),n.circleY=function(e,n){return t(e,n)[0][1]}):n.circleY=function(e){return n.getYScale(e.id)(e.value)}},p.getCircles=function(e,t){var n=this;return(t?n.main.selectAll("."+h.circles+n.getTargetSelectorSuffix(t)):n.main).selectAll("."+h.circle+(g(e)?"-"+e:""))},p.expandCircles=function(e,t,n){var r=this,o=r.pointExpandedR.bind(r);n&&r.unexpandCircles(),r.getCircles(e,t).classed(h.EXPANDED,!0).attr("r",o)},p.unexpandCircles=function(e){var t=this,n=t.pointR.bind(t);t.getCircles(e).filter(function(){return t.d3.select(this).classed(h.EXPANDED)}).classed(h.EXPANDED,!1).attr("r",n)},p.pointR=function(e){var t=this,n=t.config;return t.isStepType(e)?0:y(n.point_r)?n.point_r(e):n.point_r},p.pointExpandedR=function(e){var t=this,n=t.config;return n.point_focus_expand_enabled?n.point_focus_expand_r?n.point_focus_expand_r:1.75*t.pointR(e):t.pointR(e)},p.pointSelectR=function(e){var t=this,n=t.config;return y(n.point_select_r)?n.point_select_r(e):n.point_select_r?n.point_select_r:4*t.pointR(e)},p.isWithinCircle=function(e,t){var n=this.d3,r=n.mouse(e),o=n.select(e),i=+o.attr("cx"),a=+o.attr("cy");return Math.sqrt(Math.pow(i-r[0],2)+Math.pow(a-r[1],2))r.bar_width_max?r.bar_width_max:o},p.getBars=function(e,t){var n=this;return(t?n.main.selectAll("."+h.bars+n.getTargetSelectorSuffix(t)):n.main).selectAll("."+h.bar+(g(e)?"-"+e:""))},p.expandBars=function(e,t,n){var r=this;n&&r.unexpandBars(),r.getBars(e,t).classed(h.EXPANDED,!0)},p.unexpandBars=function(e){this.getBars(e).classed(h.EXPANDED,!1)},p.generateDrawBar=function(e,t){var n=this,r=n.config,o=n.generateGetBarPoints(e,t);return function(e,t){var n=o(e,t),i=r.axis_rotated?1:0,a=r.axis_rotated?0:1;return"M "+n[0][i]+","+n[0][a]+" L"+n[1][i]+","+n[1][a]+" L"+n[2][i]+","+n[2][a]+" L"+n[3][i]+","+n[3][a]+" z"}},p.generateGetBarPoints=function(e,t){var n=this,r=t?n.subXAxis:n.xAxis,o=e.__max__+1,i=n.getBarW(r,o),a=n.getShapeX(i,o,e,!!t),u=n.getShapeY(!!t),s=n.getShapeOffset(n.isBarType,e,!!t),c=t?n.getSubYScale:n.getYScale;return function(e,t){var r=c.call(n,e.id)(0),o=s(e,t)||r,l=a(e),f=u(e);return n.config.axis_rotated&&(0i.width?r=i.width-a.width:r<0&&(r=4)),r},p.getYForText=function(e,t,n){var r,o=this,i=n.getBoundingClientRect();return o.config.axis_rotated?r=(e[0][0]+e[2][0]+.6*i.height)/2:(r=e[2][1],t.value<0||0===t.value&&!o.hasPositiveValue?(r+=i.height,o.isBarType(t)&&o.isSafari()?r-=3:!o.isBarType(t)&&o.isChrome()&&(r+=3)):r+=o.isBarType(t)?-3:-6),null!==t.value||o.config.axis_rotated||(rthis.height&&(r=this.height-4)),r},p.setTargetType=function(e,t){var n=this,r=n.config;n.mapToTargetIds(e).forEach(function(e){n.withoutFadeIn[e]=t===r.data_types[e],r.data_types[e]=t}),e||(r.data_type=t)},p.hasType=function(e,t){var n=this,r=n.config.data_types,o=!1;return t=t||n.data.targets,t&&t.length?t.forEach(function(t){var n=r[t.id];(n&&n.indexOf(e)>=0||!n&&"line"===e)&&(o=!0)}):Object.keys(r).length?Object.keys(r).forEach(function(t){r[t]===e&&(o=!0)}):o=n.config.data_type===e,o},p.hasArcType=function(e){return this.hasType("pie",e)||this.hasType("donut",e)||this.hasType("gauge",e)},p.isLineType=function(e){var t=this.config,n=m(e)?e:e.id;return!t.data_types[n]||["line","spline","area","area-spline","step","area-step"].indexOf(t.data_types[n])>=0},p.isStepType=function(e){var t=m(e)?e:e.id;return["step","area-step"].indexOf(this.config.data_types[t])>=0},p.isSplineType=function(e){var t=m(e)?e:e.id;return["spline","area-spline"].indexOf(this.config.data_types[t])>=0},p.isAreaType=function(e){var t=m(e)?e:e.id;return["area","area-spline","area-step"].indexOf(this.config.data_types[t])>=0},p.isBarType=function(e){var t=m(e)?e:e.id;return"bar"===this.config.data_types[t]},p.isScatterType=function(e){var t=m(e)?e:e.id;return"scatter"===this.config.data_types[t]},p.isPieType=function(e){var t=m(e)?e:e.id;return"pie"===this.config.data_types[t]},p.isGaugeType=function(e){var t=m(e)?e:e.id;return"gauge"===this.config.data_types[t]},p.isDonutType=function(e){var t=m(e)?e:e.id;return"donut"===this.config.data_types[t]},p.isArcType=function(e){return this.isPieType(e)||this.isDonutType(e)||this.isGaugeType(e)},p.lineData=function(e){return this.isLineType(e)?[e]:[]},p.arcData=function(e){return this.isArcType(e.data)?[e]:[]},p.barData=function(e){return this.isBarType(e)?e.values:[]},p.lineOrScatterData=function(e){return this.isLineType(e)||this.isScatterType(e)?e.values:[]},p.barOrLineData=function(e){return this.isBarType(e)||this.isLineType(e)?e.values:[]},p.isInterpolationType=function(e){return["linear","linear-closed","basis","basis-open","basis-closed","bundle","cardinal","cardinal-open","cardinal-closed","monotone"].indexOf(e)>=0},p.initGrid=function(){var e=this,t=e.config,n=e.d3;e.grid=e.main.append("g").attr("clip-path",e.clipPathForGrid).attr("class",h.grid),t.grid_x_show&&e.grid.append("g").attr("class",h.xgrids),t.grid_y_show&&e.grid.append("g").attr("class",h.ygrids),t.grid_focus_show&&e.grid.append("g").attr("class",h.xgridFocus).append("line").attr("class",h.xgridFocus),e.xgrid=n.selectAll([]),t.grid_lines_front||e.initGridLines()},p.initGridLines=function(){var e=this,t=e.d3;e.gridLines=e.main.append("g").attr("clip-path",e.clipPathForGrid).attr("class",h.grid+" "+h.gridLines),e.gridLines.append("g").attr("class",h.xgridLines),e.gridLines.append("g").attr("class",h.ygridLines),e.xgridLines=t.selectAll([])},p.updateXGrid=function(e){var t=this,n=t.config,r=t.d3,o=t.generateGridData(n.grid_x_type,t.x),i=t.isCategorized()?t.xAxis.tickOffset():0;t.xgridAttr=n.axis_rotated?{x1:0,x2:t.width,y1:function(e){return t.x(e)-i},y2:function(e){return t.x(e)-i}}:{x1:function(e){return t.x(e)+i},x2:function(e){return t.x(e)+i},y1:0,y2:t.height},t.xgrid=t.main.select("."+h.xgrids).selectAll("."+h.xgrid).data(o),t.xgrid.enter().append("line").attr("class",h.xgrid),e||t.xgrid.attr(t.xgridAttr).style("opacity",function(){return+r.select(this).attr(n.axis_rotated?"y1":"x1")===(n.axis_rotated?t.height:0)?0:1}),t.xgrid.exit().remove()},p.updateYGrid=function(){var e=this,t=e.config,n=e.yAxis.tickValues()||e.y.ticks(t.grid_y_ticks);e.ygrid=e.main.select("."+h.ygrids).selectAll("."+h.ygrid).data(n),e.ygrid.enter().append("line").attr("class",h.ygrid),e.ygrid.attr("x1",t.axis_rotated?e.y:0).attr("x2",t.axis_rotated?e.y:e.width).attr("y1",t.axis_rotated?0:e.y).attr("y2",t.axis_rotated?e.height:e.y),e.ygrid.exit().remove(),e.smoothLines(e.ygrid,"grid")},p.gridTextAnchor=function(e){return e.position?e.position:"end"},p.gridTextDx=function(e){return"start"===e.position?4:"middle"===e.position?0:-4},p.xGridTextX=function(e){return"start"===e.position?-this.height:"middle"===e.position?-this.height/2:0},p.yGridTextX=function(e){return"start"===e.position?0:"middle"===e.position?this.width/2:this.width},p.updateGrid=function(e){var t,n,r,o=this,i=o.main,a=o.config;o.grid.style("visibility",o.hasArcType()?"hidden":"visible"),i.select("line."+h.xgridFocus).style("visibility","hidden"),a.grid_x_show&&o.updateXGrid(),o.xgridLines=i.select("."+h.xgridLines).selectAll("."+h.xgridLine).data(a.grid_x_lines),t=o.xgridLines.enter().append("g").attr("class",function(e){return h.xgridLine+(e.class?" "+e.class:"")}),t.append("line").style("opacity",0),t.append("text").attr("text-anchor",o.gridTextAnchor).attr("transform",a.axis_rotated?"":"rotate(-90)").attr("dx",o.gridTextDx).attr("dy",-5).style("opacity",0),o.xgridLines.exit().transition().duration(e).style("opacity",0).remove(),a.grid_y_show&&o.updateYGrid(),o.ygridLines=i.select("."+h.ygridLines).selectAll("."+h.ygridLine).data(a.grid_y_lines),n=o.ygridLines.enter().append("g").attr("class",function(e){return h.ygridLine+(e.class?" "+e.class:"")}),n.append("line").style("opacity",0),n.append("text").attr("text-anchor",o.gridTextAnchor).attr("transform",a.axis_rotated?"rotate(-90)":"").attr("dx",o.gridTextDx).attr("dy",-5).style("opacity",0),r=o.yv.bind(o),o.ygridLines.select("line").transition().duration(e).attr("x1",a.axis_rotated?r:0).attr("x2",a.axis_rotated?r:o.width).attr("y1",a.axis_rotated?0:r).attr("y2",a.axis_rotated?o.height:r).style("opacity",1),o.ygridLines.select("text").transition().duration(e).attr("x",a.axis_rotated?o.xGridTextX.bind(o):o.yGridTextX.bind(o)).attr("y",r).text(function(e){return e.text}).style("opacity",1),o.ygridLines.exit().transition().duration(e).style("opacity",0).remove()},p.redrawGrid=function(e){var t=this,n=t.config,r=t.xv.bind(t),o=t.xgridLines.select("line"),i=t.xgridLines.select("text");return[(e?o.transition():o).attr("x1",n.axis_rotated?0:r).attr("x2",n.axis_rotated?t.width:r).attr("y1",n.axis_rotated?r:0).attr("y2",n.axis_rotated?r:t.height).style("opacity",1),(e?i.transition():i).attr("x",n.axis_rotated?t.yGridTextX.bind(t):t.xGridTextX.bind(t)).attr("y",r).text(function(e){return e.text}).style("opacity",1)]},p.showXGridFocus=function(e){var t=this,n=t.config,r=e.filter(function(e){return e&&g(e.value)}),o=t.main.selectAll("line."+h.xgridFocus),i=t.xx.bind(t);n.tooltip_show&&(t.hasType("scatter")||t.hasArcType()||(o.style("visibility","visible").data([r[0]]).attr(n.axis_rotated?"y1":"x1",i).attr(n.axis_rotated?"y2":"x2",i),t.smoothLines(o,"grid")))},p.hideXGridFocus=function(){this.main.select("line."+h.xgridFocus).style("visibility","hidden")},p.updateXgridFocus=function(){var e=this,t=e.config;e.main.select("line."+h.xgridFocus).attr("x1",t.axis_rotated?0:-10).attr("x2",t.axis_rotated?e.width:-10).attr("y1",t.axis_rotated?-10:0).attr("y2",t.axis_rotated?-10:e.height)},p.generateGridData=function(e,t){var n,r,o,i,a=this,u=[],s=a.main.select("."+h.axisX).selectAll(".tick").size();if("year"===e)for(n=a.getXDomain(),r=n[0].getFullYear(),o=n[1].getFullYear(),i=r;i<=o;i++)u.push(new Date(i+"-01-01 00:00:00"));else u=t.ticks(10),u.length>s&&(u=u.filter(function(e){return(""+e).indexOf(".")<0}));return u},p.getGridFilterToRemove=function(e){return e?function(t){var n=!1;return[].concat(e).forEach(function(e){("value"in e&&t.value===e.value||"class"in e&&t.class===e.class)&&(n=!0)}),n}:function(){return!0}},p.removeGridLines=function(e,t){var n=this,r=n.config,o=n.getGridFilterToRemove(e),i=function(e){return!o(e)},a=t?h.xgridLines:h.ygridLines,u=t?h.xgridLine:h.ygridLine;n.main.select("."+a).selectAll("."+u).filter(o).transition().duration(r.transition_duration).style("opacity",0).remove(),t?r.grid_x_lines=r.grid_x_lines.filter(i):r.grid_y_lines=r.grid_y_lines.filter(i)},p.initTooltip=function(){var e,t=this,n=t.config;if(t.tooltip=t.selectChart.style("position","relative").append("div").attr("class",h.tooltipContainer).style("position","absolute").style("pointer-events","none").style("display","none"),n.tooltip_init_show){if(t.isTimeSeries()&&m(n.tooltip_init_x)){for(n.tooltip_init_x=t.parseDate(n.tooltip_init_x),e=0;e0&&r>0&&(n=e?y.indexOf(e.id):null,r=t?y.indexOf(t.id):null),g?n-r:r-n})}for(i=0;i"+(a||0===a?""+a+"":"")),void 0!==(u=T(h(e[i].value,e[i].ratio,e[i].id,e[i].index,e))))){if(null===e[i].name)continue;s=T(d(e[i].name,e[i].ratio,e[i].id,e[i].index)),c=l.levelColor?l.levelColor(e[i].value):r(e[i].id),o+="",o+=""+s+"",o+=""+u+"",o+=""}return o+""},p.tooltipPosition=function(e,t,n,r){var o,i,a,u,s,c=this,l=c.config,f=c.d3,p=c.hasArcType(),d=f.mouse(r);return p?(i=(c.width-(c.isLegendRight?c.getLegendWidth():0))/2+d[0],u=c.height/2+d[1]+20):(o=c.getSvgLeft(!0),l.axis_rotated?(i=o+d[0]+100,a=i+t,s=c.currentWidth-c.getCurrentPaddingRight(),u=c.x(e[0].x)+20):(i=o+c.getCurrentPaddingLeft(!0)+c.x(e[0].x)+20,a=i+t,s=o+c.currentWidth-c.getCurrentPaddingRight(),u=d[1]+15),a>s&&(i-=a-s+20),u+n>c.currentHeight&&(u-=n+30)),u<0&&(u=0),{top:u,left:i}},p.showTooltip=function(e,t){var n,r,o,i=this,a=i.config,u=i.hasArcType(),s=e.filter(function(e){return e&&g(e.value)}),c=a.tooltip_position||p.tooltipPosition;0!==s.length&&a.tooltip_show&&(i.tooltip.html(a.tooltip_contents.call(i,e,i.axis.getXAxisTickFormat(),i.getYFormat(u),i.color)).style("display","block"),n=i.tooltip.property("offsetWidth"),r=i.tooltip.property("offsetHeight"),o=c.call(this,s,n,r,t),i.tooltip.style("top",o.top+"px").style("left",o.left+"px"))},p.hideTooltip=function(){this.tooltip.style("display","none")},p.initLegend=function(){var e=this;if(e.legendItemTextBox={},e.legendHasRendered=!1,e.legend=e.svg.append("g").attr("transform",e.getTranslate("legend")),!e.config.legend_show)return e.legend.style("visibility","hidden"),void(e.hiddenLegendIds=e.mapToIds(e.data.targets));e.updateLegendWithDefaults()},p.updateLegendWithDefaults=function(){var e=this;e.updateLegend(e.mapToIds(e.data.targets),{withTransform:!1,withTransitionForTransform:!1,withTransition:!1})},p.updateSizeForLegend=function(e,t){var n=this,r=n.config,o={top:n.isLegendTop?n.getCurrentPaddingTop()+r.legend_inset_y+5.5:n.currentHeight-e-n.getCurrentPaddingBottom()-r.legend_inset_y,left:n.isLegendLeft?n.getCurrentPaddingLeft()+r.legend_inset_x+.5:n.currentWidth-t-n.getCurrentPaddingRight()-r.legend_inset_x+.5};n.margin3={top:n.isLegendRight?0:n.isLegendInset?o.top:n.currentHeight-e,right:NaN,bottom:0,left:n.isLegendRight?n.currentWidth-t:n.isLegendInset?o.left:0}},p.transformLegend=function(e){var t=this;(e?t.legend.transition():t.legend).attr("transform",t.getTranslate("legend"))},p.updateLegendStep=function(e){this.legendStep=e},p.updateLegendItemWidth=function(e){this.legendItemWidth=e},p.updateLegendItemHeight=function(e){this.legendItemHeight=e},p.getLegendWidth=function(){var e=this;return e.config.legend_show?e.isLegendRight||e.isLegendInset?e.legendItemWidth*(e.legendStep+1):e.currentWidth:0},p.getLegendHeight=function(){var e=this,t=0;return e.config.legend_show&&(t=e.isLegendRight?e.currentHeight:Math.max(20,e.legendItemHeight)*(e.legendStep+1)),t},p.opacityForLegend=function(e){return e.classed(h.legendItemHidden)?null:1},p.opacityForUnfocusedLegend=function(e){return e.classed(h.legendItemHidden)?null:.3},p.toggleFocusLegend=function(e,t){var n=this;e=n.mapToTargetIds(e),n.legend.selectAll("."+h.legendItem).filter(function(t){return e.indexOf(t)>=0}).classed(h.legendItemFocused,t).transition().duration(100).style("opacity",function(){return(t?n.opacityForLegend:n.opacityForUnfocusedLegend).call(n,n.d3.select(this))})},p.revertLegend=function(){var e=this,t=e.d3;e.legend.selectAll("."+h.legendItem).classed(h.legendItemFocused,!1).transition().duration(100).style("opacity",function(){return e.opacityForLegend(t.select(this))})},p.showLegend=function(e){var t=this,n=t.config;n.legend_show||(n.legend_show=!0,t.legend.style("visibility","visible"),t.legendHasRendered||t.updateLegendWithDefaults()),t.removeHiddenLegendIds(e),t.legend.selectAll(t.selectorLegends(e)).style("visibility","visible").transition().style("opacity",function(){return t.opacityForLegend(t.d3.select(this))})},p.hideLegend=function(e){var t=this,n=t.config;n.legend_show&&E(e)&&(n.legend_show=!1,t.legend.style("visibility","hidden")),t.addHiddenLegendIds(e),t.legend.selectAll(t.selectorLegends(e)).style("opacity",0).style("visibility","hidden")},p.clearLegendItemTextBoxCache=function(){this.legendItemTextBox={}},p.updateLegend=function(e,t,n){function r(e,t){return E.legendItemTextBox[t]||(E.legendItemTextBox[t]=E.getTextRect(e.textContent,h.legendItem,e)),E.legendItemTextBox[t]}function o(t,n,o){function i(e,t){t||(a=(h-M-d)/2)=P)&&(P=f),(!A||p>=A)&&(A=p),u=E.isLegendRight||E.isLegendInset?A:P,C.legend_equally?(Object.keys(N).forEach(function(e){N[e]=P}),Object.keys(L).forEach(function(e){L[e]=A}),a=(h-u*e.length)/2,a0&&0===w.size()&&(w=E.legend.insert("g","."+h.legendItem).attr("class",h.legendBackground).append("rect")),v=E.legend.selectAll("text").data(e).text(function(e){return b(C.data_names[e])?C.data_names[e]:e}).each(function(e,t){o(this,e,t)}),(y?v.transition():v).attr("x",a).attr("y",c),_=E.legend.selectAll("rect."+h.legendItemEvent).data(e),(y?_.transition():_).attr("width",function(e){return N[e]}).attr("height",function(e){return L[e]}).attr("x",u).attr("y",l),x=E.legend.selectAll("line."+h.legendItemTile).data(e),(y?x.transition():x).style("stroke",E.color).attr("x1",f).attr("y1",d).attr("x2",p).attr("y2",d),w&&(y?w.transition():w).attr("height",E.getLegendHeight()-12).attr("width",P*(F+1)+10),E.legend.selectAll("."+h.legendItem).classed(h.legendItemHidden,function(e){return!E.isTargetToShow(e)}),E.updateLegendItemWidth(P),E.updateLegendItemHeight(A),E.updateLegendStep(F),E.updateSizes(),E.updateScales(),E.updateSvgSize(),E.transformAll(m,n),E.legendHasRendered=!0},p.initTitle=function(){var e=this;e.title=e.svg.append("text").text(e.config.title_text).attr("class",e.CLASS.title)},p.redrawTitle=function(){var e=this;e.title.attr("x",e.xForTitle.bind(e)).attr("y",e.yForTitle.bind(e))},p.xForTitle=function(){var e=this,t=e.config,n=t.title_position||"left";return n.indexOf("right")>=0?e.currentWidth-e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).width-t.title_padding.right:n.indexOf("center")>=0?(e.currentWidth-e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).width)/2:t.title_padding.left},p.yForTitle=function(){var e=this;return e.config.title_padding.top+e.getTextRect(e.title.node().textContent,e.CLASS.title,e.title.node()).height},p.getTitlePadding=function(){var e=this;return e.yForTitle()+e.config.title_padding.bottom},function(e,t){if(Object.create)t.prototype=Object.create(e.prototype);else{var n=function(){};n.prototype=e.prototype,t.prototype=new n}t.prototype.constructor=t}(a,c),c.prototype.init=function(){var e=this.owner,t=e.config,n=e.main;e.axes.x=n.append("g").attr("class",h.axis+" "+h.axisX).attr("clip-path",e.clipPathForXAxis).attr("transform",e.getTranslate("x")).style("visibility",t.axis_x_show?"visible":"hidden"),e.axes.x.append("text").attr("class",h.axisXLabel).attr("transform",t.axis_rotated?"rotate(-90)":"").style("text-anchor",this.textAnchorForXAxisLabel.bind(this)),e.axes.y=n.append("g").attr("class",h.axis+" "+h.axisY).attr("clip-path",t.axis_y_inner?"":e.clipPathForYAxis).attr("transform",e.getTranslate("y")).style("visibility",t.axis_y_show?"visible":"hidden"),e.axes.y.append("text").attr("class",h.axisYLabel).attr("transform",t.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForYAxisLabel.bind(this)),e.axes.y2=n.append("g").attr("class",h.axis+" "+h.axisY2).attr("transform",e.getTranslate("y2")).style("visibility",t.axis_y2_show?"visible":"hidden"),e.axes.y2.append("text").attr("class",h.axisY2Label).attr("transform",t.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForY2AxisLabel.bind(this))},c.prototype.getXAxis=function(e,t,n,r,o,i,a){var u=this.owner,s=u.config,c={isCategory:u.isCategorized(),withOuterTick:o,tickMultiline:s.axis_x_tick_multiline,tickWidth:s.axis_x_tick_width,tickTextRotate:a?0:s.axis_x_tick_rotate,withoutTransition:i},f=l(u.d3,c).scale(e).orient(t);return u.isTimeSeries()&&r&&"function"!=typeof r&&(r=r.map(function(e){return u.parseDate(e)})),f.tickFormat(n).tickValues(r),u.isCategorized()&&(f.tickCentered(s.axis_x_tick_centered),E(s.axis_x_tick_culling)&&(s.axis_x_tick_culling=!1)),f},c.prototype.updateXAxisTickValues=function(e,t){var n,r=this.owner,o=r.config;return(o.axis_x_tick_fit||o.axis_x_tick_count)&&(n=this.generateTickValues(r.mapTargetsToUniqueXs(e),o.axis_x_tick_count,r.isTimeSeries())),t?t.tickValues(n):(r.xAxis.tickValues(n),r.subXAxis.tickValues(n)),n},c.prototype.getYAxis=function(e,t,n,r,o,i,a){var u=this.owner,s=u.config,c={withOuterTick:o,withoutTransition:i,tickTextRotate:a?0:s.axis_y_tick_rotate},f=l(u.d3,c).scale(e).orient(t).tickFormat(n);return u.isTimeSeriesY()?f.ticks(u.d3.time[s.axis_y_tick_time_value],s.axis_y_tick_time_interval):f.tickValues(r),f},c.prototype.getId=function(e){var t=this.owner.config;return e in t.data_axes?t.data_axes[e]:"y"},c.prototype.getXAxisTickFormat=function(){var e=this.owner,t=e.config,n=e.isTimeSeries()?e.defaultAxisTimeFormat:e.isCategorized()?e.categoryName:function(e){return e<0?e.toFixed(0):e};return t.axis_x_tick_format&&(y(t.axis_x_tick_format)?n=t.axis_x_tick_format:e.isTimeSeries()&&(n=function(n){return n?e.axisTimeFormat(t.axis_x_tick_format)(n):""})),y(n)?function(t){return n.call(e,t)}:n},c.prototype.getTickValues=function(e,t){return e||(t?t.tickValues():void 0)},c.prototype.getXAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_x_tick_values,this.owner.xAxis)},c.prototype.getYAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y_tick_values,this.owner.yAxis)},c.prototype.getY2AxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y2_tick_values,this.owner.y2Axis)},c.prototype.getLabelOptionByAxisId=function(e){var t,n=this.owner,r=n.config;return"y"===e?t=r.axis_y_label:"y2"===e?t=r.axis_y2_label:"x"===e&&(t=r.axis_x_label),t},c.prototype.getLabelText=function(e){var t=this.getLabelOptionByAxisId(e);return m(t)?t:t?t.text:null},c.prototype.setLabelText=function(e,t){var n=this.owner,r=n.config,o=this.getLabelOptionByAxisId(e);m(o)?"y"===e?r.axis_y_label=t:"y2"===e?r.axis_y2_label=t:"x"===e&&(r.axis_x_label=t):o&&(o.text=t)},c.prototype.getLabelPosition=function(e,t){var n=this.getLabelOptionByAxisId(e),r=n&&"object"==typeof n&&n.position?n.position:t;return{isInner:r.indexOf("inner")>=0,isOuter:r.indexOf("outer")>=0,isLeft:r.indexOf("left")>=0,isCenter:r.indexOf("center")>=0,isRight:r.indexOf("right")>=0,isTop:r.indexOf("top")>=0,isMiddle:r.indexOf("middle")>=0,isBottom:r.indexOf("bottom")>=0}},c.prototype.getXAxisLabelPosition=function(){return this.getLabelPosition("x",this.owner.config.axis_rotated?"inner-top":"inner-right")},c.prototype.getYAxisLabelPosition=function(){return this.getLabelPosition("y",this.owner.config.axis_rotated?"inner-right":"inner-top")},c.prototype.getY2AxisLabelPosition=function(){return this.getLabelPosition("y2",this.owner.config.axis_rotated?"inner-right":"inner-top")},c.prototype.getLabelPositionById=function(e){return"y2"===e?this.getY2AxisLabelPosition():"y"===e?this.getYAxisLabelPosition():this.getXAxisLabelPosition()},c.prototype.textForXAxisLabel=function(){return this.getLabelText("x")},c.prototype.textForYAxisLabel=function(){return this.getLabelText("y")},c.prototype.textForY2AxisLabel=function(){return this.getLabelText("y2")},c.prototype.xForAxisLabel=function(e,t){var n=this.owner;return e?t.isLeft?0:t.isCenter?n.width/2:n.width:t.isBottom?-n.height:t.isMiddle?-n.height/2:0},c.prototype.dxForAxisLabel=function(e,t){return e?t.isLeft?"0.5em":t.isRight?"-0.5em":"0":t.isTop?"-0.5em":t.isBottom?"0.5em":"0"},c.prototype.textAnchorForAxisLabel=function(e,t){return e?t.isLeft?"start":t.isCenter?"middle":"end":t.isBottom?"start":t.isMiddle?"middle":"end"},c.prototype.xForXAxisLabel=function(){return this.xForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.xForYAxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.xForY2AxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.dxForXAxisLabel=function(){return this.dxForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.dxForYAxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.dxForY2AxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.dyForXAxisLabel=function(){var e=this.owner,t=e.config,n=this.getXAxisLabelPosition();return t.axis_rotated?n.isInner?"1.2em":-25-this.getMaxTickWidth("x"):n.isInner?"-0.5em":t.axis_x_height?t.axis_x_height-10:"3em"},c.prototype.dyForYAxisLabel=function(){var e=this.owner,t=this.getYAxisLabelPosition();return e.config.axis_rotated?t.isInner?"-0.5em":"3em":t.isInner?"1.2em":-10-(e.config.axis_y_inner?0:this.getMaxTickWidth("y")+10)},c.prototype.dyForY2AxisLabel=function(){var e=this.owner,t=this.getY2AxisLabelPosition();return e.config.axis_rotated?t.isInner?"1.2em":"-2.2em":t.isInner?"-0.5em":15+(e.config.axis_y2_inner?0:this.getMaxTickWidth("y2")+15)},c.prototype.textAnchorForXAxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(!e.config.axis_rotated,this.getXAxisLabelPosition())},c.prototype.textAnchorForYAxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(e.config.axis_rotated,this.getYAxisLabelPosition())},c.prototype.textAnchorForY2AxisLabel=function(){var e=this.owner;return this.textAnchorForAxisLabel(e.config.axis_rotated,this.getY2AxisLabelPosition())},c.prototype.getMaxTickWidth=function(e,t){var n,r,o,i,a,u=this.owner,s=u.config,c=0;return t&&u.currentMaxTickWidths[e]?u.currentMaxTickWidths[e]:(u.svg&&(n=u.filterTargetsToShow(u.data.targets),"y"===e?(r=u.y.copy().domain(u.getYDomain(n,"y")),o=this.getYAxis(r,u.yOrient,s.axis_y_tick_format,u.yAxisTickValues,!1,!0,!0)):"y2"===e?(r=u.y2.copy().domain(u.getYDomain(n,"y2")),o=this.getYAxis(r,u.y2Orient,s.axis_y2_tick_format,u.y2AxisTickValues,!1,!0,!0)):(r=u.x.copy().domain(u.getXDomain(n)),o=this.getXAxis(r,u.xOrient,u.xAxisTickFormat,u.xAxisTickValues,!1,!0,!0),this.updateXAxisTickValues(n,o)),i=u.d3.select("body").append("div").classed("c3",!0),a=i.append("svg").style("visibility","hidden").style("position","fixed").style("top",0).style("left",0),a.append("g").call(o).each(function(){u.d3.select(this).selectAll("text").each(function(){var e=this.getBoundingClientRect();c2){for(a=r-2,o=e[0],i=e[e.length-1],u=(i-o)/(a+1),l=[o],s=0;s=0?"":document.URL.split("#")[0])+"#"+e+")"},p.appendClip=function(e,t){return e.append("clipPath").attr("id",t).append("rect")},p.getAxisClipX=function(e){var t=Math.max(30,this.margin.left);return e?-(1+t):-(t-1)},p.getAxisClipY=function(e){return e?-20:-this.margin.top},p.getXAxisClipX=function(){var e=this;return e.getAxisClipX(!e.config.axis_rotated)},p.getXAxisClipY=function(){var e=this;return e.getAxisClipY(!e.config.axis_rotated)},p.getYAxisClipX=function(){var e=this;return e.config.axis_y_inner?-1:e.getAxisClipX(e.config.axis_rotated)},p.getYAxisClipY=function(){var e=this;return e.getAxisClipY(e.config.axis_rotated)},p.getAxisClipWidth=function(e){var t=this,n=Math.max(30,t.margin.left),r=Math.max(30,t.margin.right);return e?t.width+2+n+r:t.margin.left+20},p.getAxisClipHeight=function(e){return(e?this.margin.bottom:this.margin.top+this.height)+20},p.getXAxisClipWidth=function(){var e=this;return e.getAxisClipWidth(!e.config.axis_rotated)},p.getXAxisClipHeight=function(){var e=this;return e.getAxisClipHeight(!e.config.axis_rotated)},p.getYAxisClipWidth=function(){var e=this;return e.getAxisClipWidth(e.config.axis_rotated)+(e.config.axis_y_inner?20:0)},p.getYAxisClipHeight=function(){var e=this;return e.getAxisClipHeight(e.config.axis_rotated)},p.initPie=function(){var e=this,t=e.d3,n=e.config;e.pie=t.layout.pie().value(function(e){return e.values.reduce(function(e,t){return e+t.value},0)}),n.data_order||e.pie.sort(null)},p.updateRadius=function(){var e=this,t=e.config,n=t.gauge_width||t.donut_width;e.radiusExpanded=Math.min(e.arcWidth,e.arcHeight)/2,e.radius=.95*e.radiusExpanded,e.innerRadiusRatio=n?(e.radius-n)/e.radius:.6,e.innerRadius=e.hasType("donut")||e.hasType("gauge")?e.radius*e.innerRadiusRatio:0},p.updateArc=function(){var e=this;e.svgArc=e.getSvgArc(),e.svgArcExpanded=e.getSvgArcExpanded(),e.svgArcExpandedSub=e.getSvgArcExpanded(.98)},p.updateAngle=function(e){var t,n,r,o,i=this,a=i.config,u=!1,s=0;return a?(i.pie(i.filterTargetsToShow(i.data.targets)).forEach(function(t){u||t.data.id!==e.data.id||(u=!0,e=t,e.index=s),s++}),isNaN(e.startAngle)&&(e.startAngle=0),isNaN(e.endAngle)&&(e.endAngle=e.startAngle),i.isGaugeType(e.data)&&(t=a.gauge_min,n=a.gauge_max,r=Math.PI*(a.gauge_fullCircle?2:1)/(n-t),o=e.value.375?1.175-36/a.radius:.8)*a.radius/o:0,c="translate("+n*i+","+r*i+")"),c},p.getArcRatio=function(e){var t=this,n=t.config,r=Math.PI*(t.hasType("gauge")&&!n.gauge_fullCircle?1:2);return e?(e.endAngle-e.startAngle)/r:null},p.convertToArcData=function(e){return this.addName({id:e.data.id,value:e.value,ratio:this.getArcRatio(e),index:e.index})},p.textForArcLabel=function(e){var t,n,r,o,i,a=this;return a.shouldShowArcLabel()?(t=a.updateAngle(e),n=t?t.value:null,r=a.getArcRatio(t),o=e.data.id,a.hasType("gauge")||a.meetsArcLabelThreshold(r)?(i=a.getArcLabelFormat(),i?i(n,r,o):a.defaultArcValueFormat(n,r)):""):""},p.expandArc=function(e){var t,n=this;if(n.transiting)return void(t=i.setInterval(function(){n.transiting||(i.clearInterval(t),n.legend.selectAll(".c3-legend-item-focused").size()>0&&n.expandArc(e))},10));e=n.mapToTargetIds(e),n.svg.selectAll(n.selectorTargets(e,"."+h.chartArc)).each(function(e){n.shouldExpand(e.data.id)&&n.d3.select(this).selectAll("path").transition().duration(n.expandDuration(e.data.id)).attr("d",n.svgArcExpanded).transition().duration(2*n.expandDuration(e.data.id)).attr("d",n.svgArcExpandedSub).each(function(e){n.isDonutType(e.data)})})},p.unexpandArc=function(e){var t=this;t.transiting||(e=t.mapToTargetIds(e),t.svg.selectAll(t.selectorTargets(e,"."+h.chartArc)).selectAll("path").transition().duration(function(e){return t.expandDuration(e.data.id)}).attr("d",t.svgArc),t.svg.selectAll("."+h.arc).style("opacity",1))},p.expandDuration=function(e){var t=this,n=t.config;return t.isDonutType(e)?n.donut_expand_duration:t.isGaugeType(e)?n.gauge_expand_duration:t.isPieType(e)?n.pie_expand_duration:50},p.shouldExpand=function(e){var t=this,n=t.config;return t.isDonutType(e)&&n.donut_expand||t.isGaugeType(e)&&n.gauge_expand||t.isPieType(e)&&n.pie_expand},p.shouldShowArcLabel=function(){var e=this,t=e.config,n=!0;return e.hasType("donut")?n=t.donut_label_show:e.hasType("pie")&&(n=t.pie_label_show),n},p.meetsArcLabelThreshold=function(e){var t=this,n=t.config;return e>=(t.hasType("donut")?n.donut_label_threshold:n.pie_label_threshold)},p.getArcLabelFormat=function(){var e=this,t=e.config,n=t.pie_label_format;return e.hasType("gauge")?n=t.gauge_label_format:e.hasType("donut")&&(n=t.donut_label_format),n},p.getArcTitle=function(){var e=this;return e.hasType("donut")?e.config.donut_title:""},p.updateTargetsForArc=function(e){var t,n,r=this,o=r.main,i=r.classChartArc.bind(r),a=r.classArcs.bind(r),u=r.classFocus.bind(r);t=o.select("."+h.chartArcs).selectAll("."+h.chartArc).data(r.pie(e)).attr("class",function(e){return i(e)+u(e.data)}),n=t.enter().append("g").attr("class",i),n.append("g").attr("class",a),n.append("text").attr("dy",r.hasType("gauge")?"-.1em":".35em").style("opacity",0).style("text-anchor","middle").style("pointer-events","none")},p.initArc=function(){var e=this;e.arcs=e.main.select("."+h.chart).append("g").attr("class",h.chartArcs).attr("transform",e.getTranslate("arc")),e.arcs.append("text").attr("class",h.chartArcsTitle).style("text-anchor","middle").text(e.getArcTitle())},p.redrawArc=function(e,t,n){var r,o=this,i=o.d3,a=o.config,u=o.main;r=u.selectAll("."+h.arcs).selectAll("."+h.arc).data(o.arcData.bind(o)),r.enter().append("path").attr("class",o.classArc.bind(o)).style("fill",function(e){return o.color(e.data)}).style("cursor",function(e){return a.interaction_enabled&&a.data_selection_isselectable(e)?"pointer":null}).style("opacity",0).each(function(e){o.isGaugeType(e.data)&&(e.startAngle=e.endAngle=a.gauge_startingAngle),this._current=e}),r.attr("transform",function(e){return!o.isGaugeType(e.data)&&n?"scale(0)":""}).style("opacity",function(e){return e===this._current?0:1}).on("mouseover",a.interaction_enabled?function(e){var t,n;o.transiting||(t=o.updateAngle(e))&&(n=o.convertToArcData(t),o.expandArc(t.data.id),o.api.focus(t.data.id),o.toggleFocusLegend(t.data.id,!0),o.config.data_onmouseover(n,this))}:null).on("mousemove",a.interaction_enabled?function(e){var t,n,r=o.updateAngle(e);r&&(t=o.convertToArcData(r),n=[t],o.showTooltip(n,this))}:null).on("mouseout",a.interaction_enabled?function(e){var t,n;o.transiting||(t=o.updateAngle(e))&&(n=o.convertToArcData(t),o.unexpandArc(t.data.id),o.api.revert(),o.revertLegend(),o.hideTooltip(),o.config.data_onmouseout(n,this))}:null).on("click",a.interaction_enabled?function(e,t){var n,r=o.updateAngle(e);r&&(n=o.convertToArcData(r),o.toggleShape&&o.toggleShape(this,n,t),o.config.data_onclick.call(o.api,n,this))}:null).each(function(){o.transiting=!0}).transition().duration(e).attrTween("d",function(e){var t,n=o.updateAngle(e);return n?(isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle),t=i.interpolate(this._current,n),this._current=t(0),function(n){var r=t(n);return r.data=e.data,o.getArc(r,!0)}):function(){return"M 0 0"}}).attr("transform",n?"scale(1)":"").style("fill",function(e){return o.levelColor?o.levelColor(e.data.values[0].value):o.color(e.data.id)}).style("opacity",1).call(o.endall,function(){o.transiting=!1}),r.exit().transition().duration(t).style("opacity",0).remove(),u.selectAll("."+h.chartArc).select("text").style("opacity",0).attr("class",function(e){return o.isGaugeType(e.data)?h.gaugeValue:""}).text(o.textForArcLabel.bind(o)).attr("transform",o.transformForArcLabel.bind(o)).style("font-size",function(e){return o.isGaugeType(e.data)?Math.round(o.radius/5)+"px":""}).transition().duration(e).style("opacity",function(e){return o.isTargetToShow(e.data.id)&&o.isArcType(e.data)?1:0}),u.select("."+h.chartArcsTitle).style("opacity",o.hasType("donut")||o.hasType("gauge")?1:0),o.hasType("gauge")&&(o.arcs.select("."+h.chartArcsBackground).attr("d",function(){var e={data:[{value:a.gauge_max}],startAngle:a.gauge_startingAngle,endAngle:-1*a.gauge_startingAngle};return o.getArc(e,!0,!0)}),o.arcs.select("."+h.chartArcsGaugeUnit).attr("dy",".75em").text(a.gauge_label_show?a.gauge_units:""),o.arcs.select("."+h.chartArcsGaugeMin).attr("dx",-1*(o.innerRadius+(o.radius-o.innerRadius)/(a.gauge_fullCircle?1:2))+"px").attr("dy","1.2em").text(a.gauge_label_show?a.gauge_min:""),o.arcs.select("."+h.chartArcsGaugeMax).attr("dx",o.innerRadius+(o.radius-o.innerRadius)/(a.gauge_fullCircle?1:2)+"px").attr("dy","1.2em").text(a.gauge_label_show?a.gauge_max:""))},p.initGauge=function(){var e=this.arcs;this.hasType("gauge")&&(e.append("path").attr("class",h.chartArcsBackground),e.append("text").attr("class",h.chartArcsGaugeUnit).style("text-anchor","middle").style("pointer-events","none"),e.append("text").attr("class",h.chartArcsGaugeMin).style("text-anchor","middle").style("pointer-events","none"),e.append("text").attr("class",h.chartArcsGaugeMax).style("text-anchor","middle").style("pointer-events","none"))},p.getGaugeLabelHeight=function(){return this.config.gauge_label_show?20:0},p.initRegion=function(){var e=this;e.region=e.main.append("g").attr("clip-path",e.clipPath).attr("class",h.regions)},p.updateRegion=function(e){var t=this,n=t.config;t.region.style("visibility",t.hasArcType()?"hidden":"visible"),t.mainRegion=t.main.select("."+h.regions).selectAll("."+h.region).data(n.regions),t.mainRegion.enter().append("g").append("rect").style("fill-opacity",0),t.mainRegion.attr("class",t.classRegion.bind(t)),t.mainRegion.exit().transition().duration(e).style("opacity",0).remove()},p.redrawRegion=function(e){var t=this,n=t.mainRegion.selectAll("rect").each(function(){var e=t.d3.select(this.parentNode).datum();t.d3.select(this).datum(e)}),r=t.regionX.bind(t),o=t.regionY.bind(t),i=t.regionWidth.bind(t),a=t.regionHeight.bind(t);return[(e?n.transition():n).attr("x",r).attr("y",o).attr("width",i).attr("height",a).style("fill-opacity",function(e){return g(e.opacity)?e.opacity:.1})]},p.regionX=function(e){var t=this,n=t.config,r="y"===e.axis?t.y:t.y2;return"y"===e.axis||"y2"===e.axis?n.axis_rotated&&"start"in e?r(e.start):0:n.axis_rotated?0:"start"in e?t.x(t.isTimeSeries()?t.parseDate(e.start):e.start):0},p.regionY=function(e){var t=this,n=t.config,r="y"===e.axis?t.y:t.y2;return"y"===e.axis||"y2"===e.axis?n.axis_rotated?0:"end"in e?r(e.end):0:n.axis_rotated&&"start"in e?t.x(t.isTimeSeries()?t.parseDate(e.start):e.start):0},p.regionWidth=function(e){var t,n=this,r=n.config,o=n.regionX(e),i="y"===e.axis?n.y:n.y2;return t="y"===e.axis||"y2"===e.axis?r.axis_rotated&&"end"in e?i(e.end):n.width:r.axis_rotated?n.width:"end"in e?n.x(n.isTimeSeries()?n.parseDate(e.end):e.end):n.width,t=0?h.focused:"")},p.classDefocused=function(e){return" "+(this.defocusedTargetIds.indexOf(e.id)>=0?h.defocused:"")},p.classChartText=function(e){return h.chartText+this.classTarget(e.id)},p.classChartLine=function(e){return h.chartLine+this.classTarget(e.id)},p.classChartBar=function(e){return h.chartBar+this.classTarget(e.id)},p.classChartArc=function(e){return h.chartArc+this.classTarget(e.data.id)},p.getTargetSelectorSuffix=function(e){return e||0===e?("-"+e).replace(/[\s?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\]/g,"-"):""},p.selectorTarget=function(e,t){return(t||"")+"."+h.target+this.getTargetSelectorSuffix(e)},p.selectorTargets=function(e,t){var n=this;return e=e||[],e.length?e.map(function(e){return n.selectorTarget(e,t)}):null},p.selectorLegend=function(e){return"."+h.legendItem+this.getTargetSelectorSuffix(e)},p.selectorLegends=function(e){var t=this;return e&&e.length?e.map(function(e){return t.selectorLegend(e)}):null};var g=p.isValue=function(e){return e||0===e},y=p.isFunction=function(e){return"function"==typeof e},m=p.isString=function(e){return"string"==typeof e},v=p.isUndefined=function(e){return void 0===e},b=p.isDefined=function(e){return void 0!==e},_=p.ceil10=function(e){return 10*Math.ceil(e/10)},x=p.asHalfPixel=function(e){return Math.ceil(e)+.5},w=p.diffDomain=function(e){return e[1]-e[0]},E=p.isEmpty=function(e){return void 0===e||null===e||m(e)&&0===e.length||"object"==typeof e&&0===Object.keys(e).length},C=p.notEmpty=function(e){return!p.isEmpty(e)},S=p.getOption=function(e,t,n){return b(e[t])?e[t]:n},O=p.hasValue=function(e,t){var n=!1;return Object.keys(e).forEach(function(r){e[r]===t&&(n=!0)}),n},T=p.sanitise=function(e){return"string"==typeof e?e.replace(//g,">"):e},P=p.getPathBox=function(e){var t=e.getBoundingClientRect(),n=[e.pathSegList.getItem(0),e.pathSegList.getItem(1)];return{x:n[0].x,y:Math.min(n[0].y,n[1].y),width:t.width,height:t.height}};f.focus=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e.filter(n.isTargetToShow,n))),this.revert(),this.defocus(),t.classed(h.focused,!0).classed(h.defocused,!1),n.hasArcType()&&n.expandArc(e),n.toggleFocusLegend(e,!0),n.focusedTargetIds=e,n.defocusedTargetIds=n.defocusedTargetIds.filter(function(t){return e.indexOf(t)<0})},f.defocus=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e.filter(n.isTargetToShow,n))),t.classed(h.focused,!1).classed(h.defocused,!0),n.hasArcType()&&n.unexpandArc(e),n.toggleFocusLegend(e,!1),n.focusedTargetIds=n.focusedTargetIds.filter(function(t){return e.indexOf(t)<0}),n.defocusedTargetIds=e},f.revert=function(e){var t,n=this.internal;e=n.mapToTargetIds(e),t=n.svg.selectAll(n.selectorTargets(e)),t.classed(h.focused,!1).classed(h.defocused,!1),n.hasArcType()&&n.unexpandArc(e),n.config.legend_show&&(n.showLegend(e.filter(n.isLegendToShow.bind(n))),n.legend.selectAll(n.selectorLegends(e)).filter(function(){return n.d3.select(this).classed(h.legendItemFocused)}).classed(h.legendItemFocused,!1)),n.focusedTargetIds=[],n.defocusedTargetIds=[]},f.show=function(e,t){var n,r=this.internal;e=r.mapToTargetIds(e),t=t||{},r.removeHiddenTargetIds(e),n=r.svg.selectAll(r.selectorTargets(e)),n.transition().style("opacity",1,"important").call(r.endall,function(){n.style("opacity",null).style("opacity",1)}),t.withLegend&&r.showLegend(e),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},f.hide=function(e,t){var n,r=this.internal;e=r.mapToTargetIds(e),t=t||{},r.addHiddenTargetIds(e),n=r.svg.selectAll(r.selectorTargets(e)),n.transition().style("opacity",0,"important").call(r.endall,function(){n.style("opacity",null).style("opacity",0)}),t.withLegend&&r.hideLegend(e),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},f.toggle=function(e,t){var n=this,r=this.internal;r.mapToTargetIds(e).forEach(function(e){r.isTargetToShow(e)?n.hide(e,t):n.show(e,t)})},f.zoom=function(e){var t=this.internal;return e&&(t.isTimeSeries()&&(e=e.map(function(e){return t.parseDate(e)})),t.brush.extent(e),t.redraw({withUpdateXDomain:!0,withY:t.config.zoom_rescale}),t.config.zoom_onzoom.call(this,t.x.orgDomain())),t.brush.extent()},f.zoom.enable=function(e){var t=this.internal;t.config.zoom_enabled=e,t.updateAndRedraw()},f.unzoom=function(){var e=this.internal;e.brush.clear().update(),e.redraw({withUpdateXDomain:!0})},f.zoom.max=function(e){var t=this.internal,n=t.config,r=t.d3;if(0!==e&&!e)return n.zoom_x_max;n.zoom_x_max=r.max([t.orgXDomain[1],e])},f.zoom.min=function(e){var t=this.internal,n=t.config,r=t.d3;if(0!==e&&!e)return n.zoom_x_min;n.zoom_x_min=r.min([t.orgXDomain[0],e])},f.zoom.range=function(e){if(!arguments.length)return{max:this.domain.max(),min:this.domain.min()};b(e.max)&&this.domain.max(e.max),b(e.min)&&this.domain.min(e.min)},f.load=function(e){var t=this.internal,n=t.config;if(e.xs&&t.addXs(e.xs),"names"in e&&f.data.names.bind(this)(e.names),"classes"in e&&Object.keys(e.classes).forEach(function(t){n.data_classes[t]=e.classes[t]}),"categories"in e&&t.isCategorized()&&(n.axis_x_categories=e.categories),"axes"in e&&Object.keys(e.axes).forEach(function(t){n.data_axes[t]=e.axes[t]}),"colors"in e&&Object.keys(e.colors).forEach(function(t){n.data_colors[t]=e.colors[t]}),"cacheIds"in e&&t.hasCaches(e.cacheIds))return void t.load(t.getCaches(e.cacheIds),e.done);"unload"in e?t.unload(t.mapToTargetIds("boolean"==typeof e.unload&&e.unload?null:e.unload),function(){t.loadFromArgs(e)}):t.loadFromArgs(e)},f.unload=function(e){var t=this.internal;e=e||{},e instanceof Array?e={ids:e}:"string"==typeof e&&(e={ids:[e]}),t.unload(t.mapToTargetIds(e.ids),function(){t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),e.done&&e.done()})},f.flow=function(e){var t,n,r,o,i,a,u,s=this.internal,c=[],l=s.getMaxDataCount(),f=0,p=0;if(e.json)n=s.convertJsonToData(e.json,e.keys);else if(e.rows)n=s.convertRowsToData(e.rows);else{if(!e.columns)return;n=s.convertColumnsToData(e.columns)}t=s.convertDataToTargets(n,!0),s.data.targets.forEach(function(e){var n,r,o=!1;for(n=0;n1?o.values[o.values.length-1].x-i.x:i.x-s.getXDomain(s.data.targets)[0]:1,r=[i.x-a,i.x],s.updateXDomain(null,!0,!0,!1,r)),s.updateTargets(s.data.targets),s.redraw({flow:{index:i.index,length:f,duration:g(e.duration)?e.duration:s.config.transition_duration,done:e.done,orgDataCount:l},withLegend:!0,withTransition:l>1,withTrimXDomain:!1,withUpdateXAxis:!0})},p.generateFlow=function(e){var t=this,n=t.config,r=t.d3;return function(){var o,i,a,u=e.targets,s=e.flow,c=e.drawBar,l=e.drawLine,f=e.drawArea,p=e.cx,d=e.cy,g=e.xv,y=e.xForText,m=e.yForText,v=e.duration,b=1,_=s.index,x=s.length,E=t.getValueOnIndex(t.data.targets[0].values,_),C=t.getValueOnIndex(t.data.targets[0].values,_+x),S=t.x.domain(),O=s.duration||v,T=s.done||function(){},P=t.generateWait(),A=t.xgrid||r.selectAll([]),k=t.xgridLines||r.selectAll([]),R=t.mainRegion||r.selectAll([]),M=t.mainText||r.selectAll([]),j=t.mainBar||r.selectAll([]),N=t.mainLine||r.selectAll([]),L=t.mainArea||r.selectAll([]),D=t.mainCircle||r.selectAll([]);t.flowing=!0,t.data.targets.forEach(function(e){e.values.splice(0,x)}),a=t.updateXDomain(u,!0,!0),t.updateXGrid&&t.updateXGrid(!0),s.orgDataCount?o=1===s.orgDataCount||(E&&E.x)===(C&&C.x)?t.x(S[0])-t.x(a[0]):t.isTimeSeries()?t.x(S[0])-t.x(a[0]):t.x(E.x)-t.x(C.x):1!==t.data.targets[0].values.length?o=t.x(S[0])-t.x(a[0]):t.isTimeSeries()?(E=t.getValueOnIndex(t.data.targets[0].values,0),C=t.getValueOnIndex(t.data.targets[0].values,t.data.targets[0].values.length-1),o=t.x(E.x)-t.x(C.x)):o=w(a)/2,b=w(S)/w(a),i="translate("+o+",0) scale("+b+",1)",t.hideXGridFocus(),r.transition().ease("linear").duration(O).each(function(){P.add(t.axes.x.transition().call(t.xAxis)),P.add(j.transition().attr("transform",i)),P.add(N.transition().attr("transform",i)),P.add(L.transition().attr("transform",i)),P.add(D.transition().attr("transform",i)),P.add(M.transition().attr("transform",i)),P.add(R.filter(t.isRegionOnX).transition().attr("transform",i)),P.add(A.transition().attr("transform",i)),P.add(k.transition().attr("transform",i))}).call(P,function(){var e,r=[],o=[],i=[];if(x){for(e=0;e=0,p=!t||t.indexOf(u)>=0,d=s.classed(h.SELECTED);s.classed(h.line)||s.classed(h.area)||(f&&p?i.data_selection_isselectable(a)&&!d&&l(!0,s.classed(h.SELECTED,!0),a,u):b(n)&&n&&d&&l(!1,s.classed(h.SELECTED,!1),a,u))})},f.unselect=function(e,t){var n=this.internal,r=n.d3,o=n.config;o.data_selection_enabled&&n.main.selectAll("."+h.shapes).selectAll("."+h.shape).each(function(i,a){var u=r.select(this),s=i.data?i.data.id:i.id,c=n.getToggle(this,i).bind(n),l=o.data_selection_grouped||!e||e.indexOf(s)>=0,f=!t||t.indexOf(a)>=0,p=u.classed(h.SELECTED);u.classed(h.line)||u.classed(h.area)||l&&f&&o.data_selection_isselectable(i)&&p&&c(!1,u.classed(h.SELECTED,!1),i,a)})},f.transform=function(e,t){var n=this.internal,r=["pie","donut"].indexOf(e)>=0?{withTransform:!0}:null;n.transformTo(t,e,r)},p.transformTo=function(e,t,n){var r=this,o=!r.hasArcType(),i=n||{withTransitionForAxis:o};i.withTransitionForTransform=!1,r.transiting=!1,r.setTargetType(e,t),r.updateTargets(r.data.targets),r.updateAndRedraw(i)},f.groups=function(e){var t=this.internal,n=t.config;return v(e)?n.data_groups:(n.data_groups=e,t.redraw(),n.data_groups)},f.xgrids=function(e){var t=this.internal,n=t.config;return e?(n.grid_x_lines=e,t.redrawWithoutRescale(),n.grid_x_lines):n.grid_x_lines},f.xgrids.add=function(e){var t=this.internal;return this.xgrids(t.config.grid_x_lines.concat(e||[]))},f.xgrids.remove=function(e){this.internal.removeGridLines(e,!0)},f.ygrids=function(e){var t=this.internal,n=t.config;return e?(n.grid_y_lines=e,t.redrawWithoutRescale(),n.grid_y_lines):n.grid_y_lines},f.ygrids.add=function(e){var t=this.internal;return this.ygrids(t.config.grid_y_lines.concat(e||[]))},f.ygrids.remove=function(e){this.internal.removeGridLines(e,!1)},f.regions=function(e){var t=this.internal,n=t.config;return e?(n.regions=e,t.redrawWithoutRescale(),n.regions):n.regions},f.regions.add=function(e){var t=this.internal,n=t.config;return e?(n.regions=n.regions.concat(e),t.redrawWithoutRescale(),n.regions):n.regions},f.regions.remove=function(e){var t,n,r,o=this.internal,i=o.config;return e=e||{},t=o.getOption(e,"duration",i.transition_duration),n=o.getOption(e,"classes",[h.region]),r=o.main.select("."+h.regions).selectAll(n.map(function(e){return"."+e})),(t?r.transition().duration(t):r).style("opacity",0).remove(),i.regions=i.regions.filter(function(e){var t=!1;return!e.class||(e.class.split(" ").forEach(function(e){n.indexOf(e)>=0&&(t=!0)}),!t)}),i.regions},f.data=function(e){var t=this.internal.data.targets;return void 0===e?t:t.filter(function(t){return[].concat(e).indexOf(t.id)>=0})},f.data.shown=function(e){return this.internal.filterTargetsToShow(this.data(e))},f.data.values=function(e){var t,n=null;return e&&(t=this.data(e),n=t[0]?t[0].values.map(function(e){return e.value}):null),n},f.data.names=function(e){return this.internal.clearLegendItemTextBoxCache(),this.internal.updateDataAttributes("names",e)},f.data.colors=function(e){return this.internal.updateDataAttributes("colors",e)},f.data.axes=function(e){return this.internal.updateDataAttributes("axes",e)},f.category=function(e,t){var n=this.internal,r=n.config;return arguments.length>1&&(r.axis_x_categories[e]=t,n.redraw()),r.axis_x_categories[e]},f.categories=function(e){var t=this.internal,n=t.config;return arguments.length?(n.axis_x_categories=e,t.redraw(),n.axis_x_categories):n.axis_x_categories},f.color=function(e){return this.internal.color(e)},f.x=function(e){var t=this.internal;return arguments.length&&(t.updateTargetX(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs},f.xs=function(e){var t=this.internal;return arguments.length&&(t.updateTargetXs(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs},f.axis=function(){},f.axis.labels=function(e){var t=this.internal;arguments.length&&(Object.keys(e).forEach(function(n){t.axis.setLabelText(n,e[n])}),t.axis.updateLabels())},f.axis.max=function(e){var t=this.internal,n=t.config;if(!arguments.length)return{x:n.axis_x_max,y:n.axis_y_max,y2:n.axis_y2_max};"object"==typeof e?(g(e.x)&&(n.axis_x_max=e.x),g(e.y)&&(n.axis_y_max=e.y),g(e.y2)&&(n.axis_y2_max=e.y2)):n.axis_y_max=n.axis_y2_max=e,t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},f.axis.min=function(e){var t=this.internal,n=t.config;if(!arguments.length)return{x:n.axis_x_min,y:n.axis_y_min,y2:n.axis_y2_min};"object"==typeof e?(g(e.x)&&(n.axis_x_min=e.x),g(e.y)&&(n.axis_y_min=e.y),g(e.y2)&&(n.axis_y2_min=e.y2)):n.axis_y_min=n.axis_y2_min=e,t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},f.axis.range=function(e){if(!arguments.length)return{max:this.axis.max(),min:this.axis.min()};b(e.max)&&this.axis.max(e.max),b(e.min)&&this.axis.min(e.min)},f.legend=function(){},f.legend.show=function(e){var t=this.internal;t.showLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},f.legend.hide=function(e){var t=this.internal;t.hideLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},f.resize=function(e){var t=this.internal,n=t.config;n.size_width=e?e.width:null,n.size_height=e?e.height:null,this.flush()},f.flush=function(){this.internal.updateAndRedraw({withLegend:!0,withTransition:!1,withTransitionForTransform:!1})},f.destroy=function(){var e=this.internal;if(i.clearInterval(e.intervalForObserveInserted),void 0!==e.resizeTimeout&&i.clearTimeout(e.resizeTimeout),i.detachEvent)i.detachEvent("onresize",e.resizeFunction);else if(i.removeEventListener)i.removeEventListener("resize",e.resizeFunction);else{var t=i.onresize;t&&t.add&&t.remove&&t.remove(e.resizeFunction)}return e.selectChart.classed("c3",!1).html(""),Object.keys(e).forEach(function(t){e[t]=null}),null},f.tooltip=function(){},f.tooltip.show=function(e){var t,n,r=this.internal;e.mouse&&(n=e.mouse),e.data?r.isMultipleX()?(n=[r.x(e.data.x),r.getYScale(e.data.id)(e.data.value)],t=null):t=g(e.data.index)?e.data.index:r.getIndexByX(e.data.x):void 0!==e.x?t=r.getIndexByX(e.x):void 0!==e.index&&(t=e.index),r.dispatchEvent("mouseover",t,n),r.dispatchEvent("mousemove",t,n),r.config.tooltip_onshow.call(r,e.data)},f.tooltip.hide=function(){this.internal.dispatchEvent("mouseout",0),this.internal.config.tooltip_onhide.call(this)};var A;p.isSafari=function(){var e=i.navigator.userAgent;return e.indexOf("Safari")>=0&&e.indexOf("Chrome")<0},p.isChrome=function(){return i.navigator.userAgent.indexOf("Chrome")>=0},Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,o.prototype=new r,o}),function(){"SVGPathSeg"in i||(i.SVGPathSeg=function(e,t,n){this.pathSegType=e,this.pathSegTypeAsLetter=t,this._owningPathSegList=n},SVGPathSeg.PATHSEG_UNKNOWN=0,SVGPathSeg.PATHSEG_CLOSEPATH=1,SVGPathSeg.PATHSEG_MOVETO_ABS=2,SVGPathSeg.PATHSEG_MOVETO_REL=3,SVGPathSeg.PATHSEG_LINETO_ABS=4,SVGPathSeg.PATHSEG_LINETO_REL=5,SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,SVGPathSeg.PATHSEG_ARC_ABS=10,SVGPathSeg.PATHSEG_ARC_REL=11,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},i.SVGPathSegClosePath=function(e){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CLOSEPATH,"z",e)},SVGPathSegClosePath.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},SVGPathSegClosePath.prototype.clone=function(){return new SVGPathSegClosePath(void 0)},i.SVGPathSegMovetoAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_MOVETO_ABS,"M",e),this._x=t,this._y=n},SVGPathSegMovetoAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},SVGPathSegMovetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegMovetoAbs.prototype.clone=function(){return new SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegMovetoRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_MOVETO_REL,"m",e),this._x=t,this._y=n},SVGPathSegMovetoRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},SVGPathSegMovetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegMovetoRel.prototype.clone=function(){return new SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_ABS,"L",e),this._x=t,this._y=n},SVGPathSegLinetoAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},SVGPathSegLinetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegLinetoAbs.prototype.clone=function(){return new SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_REL,"l",e),this._x=t,this._y=n},SVGPathSegLinetoRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},SVGPathSegLinetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegLinetoRel.prototype.clone=function(){return new SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicAbs=function(e,t,n,r,o,i,a){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",e),this._x=t,this._y=n,this._x1=r,this._y1=o,this._x2=i,this._y2=a},SVGPathSegCurvetoCubicAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicRel=function(e,t,n,r,o,i,a){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",e),this._x=t,this._y=n,this._x1=r,this._y1=o,this._x2=i,this._y2=a},SVGPathSegCurvetoCubicRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticAbs=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",e),this._x=t,this._y=n,this._x1=r,this._y1=o},SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticRel=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",e),this._x=t,this._y=n,this._x1=r,this._y1=o},SVGPathSegCurvetoQuadraticRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegArcAbs=function(e,t,n,r,o,i,a,u){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_ARC_ABS,"A",e),this._x=t,this._y=n,this._r1=r,this._r2=o,this._angle=i,this._largeArcFlag=a,this._sweepFlag=u},SVGPathSegArcAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},SVGPathSegArcAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},SVGPathSegArcAbs.prototype.clone=function(){return new SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegArcRel=function(e,t,n,r,o,i,a,u){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_ARC_REL,"a",e),this._x=t,this._y=n,this._r1=r,this._r2=o,this._angle=i,this._largeArcFlag=a,this._sweepFlag=u},SVGPathSegArcRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},SVGPathSegArcRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},SVGPathSegArcRel.prototype.clone=function(){return new SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoHorizontalAbs=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",e),this._x=t},SVGPathSegLinetoHorizontalAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoHorizontalRel=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",e),this._x=t},SVGPathSegLinetoHorizontalRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoVerticalAbs=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",e),this._y=t},SVGPathSegLinetoVerticalAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegLinetoVerticalRel=function(e,t){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",e),this._y=t},SVGPathSegLinetoVerticalRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",e),this._x=t,this._y=n,this._x2=r,this._y2=o},SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoCubicSmoothRel=function(e,t,n,r,o){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",e),this._x=t,this._y=n,this._x2=r,this._y2=o},SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticSmoothAbs=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",e),this._x=t,this._y=n},SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),i.SVGPathSegCurvetoQuadraticSmoothRel=function(e,t,n){SVGPathSeg.call(this,SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",e),this._x=t,this._y=n},SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(SVGPathSeg.prototype),SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new SVGPathSegClosePath(void 0)},SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(e,t){return new SVGPathSegMovetoAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegMovetoRel=function(e,t){return new SVGPathSegMovetoRel(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(e,t){return new SVGPathSegLinetoAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegLinetoRel=function(e,t){return new SVGPathSegLinetoRel(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(e,t,n,r,o,i){return new SVGPathSegCurvetoCubicAbs(void 0,e,t,n,r,o,i)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(e,t,n,r,o,i){return new SVGPathSegCurvetoCubicRel(void 0,e,t,n,r,o,i)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(e,t,n,r){return new SVGPathSegCurvetoQuadraticAbs(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(e,t,n,r){return new SVGPathSegCurvetoQuadraticRel(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegArcAbs=function(e,t,n,r,o,i,a){return new SVGPathSegArcAbs(void 0,e,t,n,r,o,i,a)},SVGPathElement.prototype.createSVGPathSegArcRel=function(e,t,n,r,o,i,a){return new SVGPathSegArcRel(void 0,e,t,n,r,o,i,a)},SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(e){return new SVGPathSegLinetoHorizontalAbs(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(e){return new SVGPathSegLinetoHorizontalRel(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(e){return new SVGPathSegLinetoVerticalAbs(void 0,e)},SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(e){return new SVGPathSegLinetoVerticalRel(void 0,e)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,r){return new SVGPathSegCurvetoCubicSmoothAbs(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(e,t,n,r){return new SVGPathSegCurvetoCubicSmoothRel(void 0,e,t,n,r)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(e,t){return new SVGPathSegCurvetoQuadraticSmoothAbs(void 0,e,t)},SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(e,t){return new SVGPathSegCurvetoQuadraticSmoothRel(void 0,e,t)}),"SVGPathSegList"in i||(i.SVGPathSegList=function(e){this._pathElement=e,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},Object.defineProperty(SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},SVGPathSegList.prototype._updateListFromPathMutations=function(e){if(this._pathElement){var t=!1;e.forEach(function(e){"d"==e.attributeName&&(t=!0)}),t&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))}},SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},SVGPathSegList.prototype.segmentChanged=function(e){this._writeListToPath()},SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach(function(e){e._owningPathSegList=null}),this._list=[],this._writeListToPath()},SVGPathSegList.prototype.initialize=function(e){return this._checkPathSynchronizedToList(),this._list=[e],e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype._checkValidIndex=function(e){if(isNaN(e)||e<0||e>=this.numberOfItems)throw"INDEX_SIZE_ERR"},SVGPathSegList.prototype.getItem=function(e){return this._checkPathSynchronizedToList(),this._checkValidIndex(e),this._list[e]},SVGPathSegList.prototype.insertItemBefore=function(e,t){return this._checkPathSynchronizedToList(),t>this.numberOfItems&&(t=this.numberOfItems),e._owningPathSegList&&(e=e.clone()),this._list.splice(t,0,e),e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype.replaceItem=function(e,t){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._checkValidIndex(t),this._list[t]=e,e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList.prototype.removeItem=function(e){this._checkPathSynchronizedToList(),this._checkValidIndex(e);var t=this._list[e];return this._list.splice(e,1),this._writeListToPath(),t},SVGPathSegList.prototype.appendItem=function(e){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._list.push(e),e._owningPathSegList=this,this._writeListToPath(),e},SVGPathSegList._pathSegArrayAsString=function(e){var t="",n=!0;return e.forEach(function(e){n?(n=!1,t+=e._asPathString()):t+=" "+e._asPathString()}),t},SVGPathSegList.prototype._parsePath=function(e){if(!e||0==e.length)return[];var t=this,n=function(){this.pathSegList=[]};n.prototype.appendSegment=function(e){this.pathSegList.push(e)};var r=function(e){this._string=e,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};r.prototype._isCurrentSpace=function(){var e=this._string[this._currentIndex];return e<=" "&&(" "==e||"\n"==e||"\t"==e||"\r"==e||"\f"==e)},r.prototype._skipOptionalSpaces=function(){for(;this._currentIndex="0"&&e<="9")&&t!=SVGPathSeg.PATHSEG_CLOSEPATH?t==SVGPathSeg.PATHSEG_MOVETO_ABS?SVGPathSeg.PATHSEG_LINETO_ABS:t==SVGPathSeg.PATHSEG_MOVETO_REL?SVGPathSeg.PATHSEG_LINETO_REL:t:SVGPathSeg.PATHSEG_UNKNOWN},r.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;var e=this.peekSegmentType();return e==SVGPathSeg.PATHSEG_MOVETO_ABS||e==SVGPathSeg.PATHSEG_MOVETO_REL},r.prototype._parseNumber=function(){var e=0,t=0,n=1,r=0,o=1,i=1,a=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex"9")&&"."!=this._string.charAt(this._currentIndex))){for(var u=this._currentIndex;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)this._currentIndex++;if(this._currentIndex!=u)for(var s=this._currentIndex-1,c=1;s>=u;)t+=c*(this._string.charAt(s--)-"0"),c*=10;if(this._currentIndex=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)r+=(this._string.charAt(this._currentIndex++)-"0")*(n*=.1)}if(this._currentIndex!=a&&this._currentIndex+1=this._endIndex||this._string.charAt(this._currentIndex)<"0"||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex="0"&&this._string.charAt(this._currentIndex)<="9";)e*=10,e+=this._string.charAt(this._currentIndex)-"0",this._currentIndex++}var l=t+r;if(l*=o,e&&(l*=Math.pow(10,i*e)),a!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),l}},r.prototype._parseArcFlag=function(){if(!(this._currentIndex>=this._endIndex)){var e=!1,t=this._string.charAt(this._currentIndex++);if("0"==t)e=!1;else{if("1"!=t)return;e=!0}return this._skipOptionalSpacesOrDelimiter(),e}},r.prototype.parseSegment=function(){var e=this._string[this._currentIndex],n=this._pathSegTypeFromChar(e);if(n==SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==SVGPathSeg.PATHSEG_UNKNOWN)return null;if((n=this._nextCommandHelper(e,this._previousCommand))==SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=n,n){case SVGPathSeg.PATHSEG_MOVETO_REL:return new SVGPathSegMovetoRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_MOVETO_ABS:return new SVGPathSegMovetoAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_REL:return new SVGPathSegLinetoRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_ABS:return new SVGPathSegLinetoAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new SVGPathSegLinetoHorizontalRel(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new SVGPathSegLinetoHorizontalAbs(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new SVGPathSegLinetoVerticalRel(t,this._parseNumber());case SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new SVGPathSegLinetoVerticalAbs(t,this._parseNumber());case SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new SVGPathSegClosePath(t);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicRel(t,r.x,r.y,r.x1,r.y1,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicAbs(t,r.x,r.y,r.x1,r.y1,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:var r={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicSmoothRel(t,r.x,r.y,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:var r={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoCubicSmoothAbs(t,r.x,r.y,r.x2,r.y2);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoQuadraticRel(t,r.x,r.y,r.x1,r.y1);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegCurvetoQuadraticAbs(t,r.x,r.y,r.x1,r.y1);case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new SVGPathSegCurvetoQuadraticSmoothRel(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new SVGPathSegCurvetoQuadraticSmoothAbs(t,this._parseNumber(),this._parseNumber());case SVGPathSeg.PATHSEG_ARC_REL:var r={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegArcRel(t,r.x,r.y,r.x1,r.y1,r.arcAngle,r.arcLarge,r.arcSweep);case SVGPathSeg.PATHSEG_ARC_ABS:var r={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()};return new SVGPathSegArcAbs(t,r.x,r.y,r.x1,r.y1,r.arcAngle,r.arcLarge,r.arcSweep);default:throw"Unknown path seg type."}};var o=new n,i=new r(e);if(!i.initialCommandIsMoveTo())return[];for(;i.hasMoreData();){var a=i.parseSegment();if(!a)return[];o.appendSegment(a)}return o.pathSegList})}(),r=[n(226)],void 0!==(o=function(){return d}.apply(t,r))&&(e.exports=o)}(window)},function(e,t,n){"use strict";e.exports=n(571)},function(e,t,n){"use strict";function r(e){var t=e.trim().toLowerCase();return!m.test(t)||!!v.test(t)}function o(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=g.toASCII(t.hostname)}catch(e){}return h.encode(h.format(t))}function i(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=g.toUnicode(t.hostname)}catch(e){}return h.decode(h.format(t))}function a(e,t){if(!(this instanceof a))return new a(e,t);t||u.isString(e)||(t=e||{},e="default"),this.inline=new p,this.block=new f,this.core=new l,this.renderer=new c,this.linkify=new d,this.validateLink=r,this.normalizeLink=o,this.normalizeLinkText=i,this.utils=u,this.helpers=u.assign({},s),this.options={},this.configure(e),t&&this.set(t)}var u=n(6),s=n(579),c=n(583),l=n(584),f=n(592),p=n(606),d=n(619),h=n(228),g=n(621),y={default:n(622),zero:n(623),commonmark:n(624)},m=/^(vbscript|javascript|file|data):/,v=/^data:image\/(gif|png|jpeg|webp);/,b=["http:","https:","mailto:"];a.prototype.set=function(e){return u.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(u.isString(e)&&(t=e,!(e=y[t])))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},a.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},a.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=a},function(e,t){e.exports={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:"‌"}},function(e,t,n){"use strict";function r(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1=56320&&s<=57343){l+=encodeURIComponent(e[i]+e[i+1]),i++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[i]);return l}var i={};o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",e.exports=o},function(e,t,n){"use strict";function r(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&o)&&t+91114111?c+="����":(s-=65536,c+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):c+="�";return c})}var i={};o.defaultChars=";/?:@&=+$,#",o.componentChars="",e.exports=o},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function o(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(s),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,o,a,s,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var l=u.exec(c);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var m=i.exec(c);if(m&&(m=m[0],o=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===c.substr(0,2))||m&&g[m]||(c=c.substr(2),this.slashes=!0)),!g[m]&&(s||m&&!y[m])){var v=-1;for(n=0;n127?S+="x":S+=C[O];if(!S.match(d)){var P=E.slice(0,n),A=E.slice(n+1),k=C.match(h);k&&(P.push(k[1]),A.unshift(k[2])),A.length&&(c=A.join(".")+c),this.hostname=P.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var R=c.indexOf("#");-1!==R&&(this.hash=c.substr(R),c=c.slice(0,R));var M=c.indexOf("?");return-1!==M&&(this.search=c.substr(M),c=c.slice(0,M)),c&&(this.pathname=c),y[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=o},function(e,t,n){"use strict";t.Any=n(229),t.Cc=n(230),t.Cf=n(578),t.P=n(133),t.Z=n(231)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(580),t.parseLinkDestination=n(581),t.parseLinkTitle=n(582)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a,u=-1,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos1)break;if(41===i&&--a<0)break;t++}return u===t?s:(s.str=o(e.slice(u,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(6).unescapeAll;e.exports=function(e,t,n){var o,i,a=0,u=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t"+a(e[t].content)+""},u.code_block=function(e,t,n,r,o){var i=e[t];return""+a(e[t].content)+"\n"},u.fence=function(e,t,n,r,o){var u,s,c,l,f=e[t],p=f.info?i(f.info).trim():"",d="";return p&&(d=p.split(/\s+/g)[0]),u=n.highlight?n.highlight(f.content,d)||a(f.content):a(f.content),0===u.indexOf(""+u+"\n"):"
"+u+"
\n"},u.image=function(e,t,n,r,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(e,t,n)},u.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},u.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},u.text=function(e,t){return a(e[t].content)},u.html_block=function(e,t){return e[t].content},u.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,o="",i=this.rules,a=0,u=e.length;a\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}var i=n(6).arrayReplaceAt;e.exports=function(e){var t,n,a,u,s,c,l,f,p,d,h,g,y,m,v,b,_,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=u[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&y>0&&y--,o(c.content)&&y++),!(y>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(p=c.content,_=e.md.linkify.match(p),l=[],g=c.level,h=0,f=0;f<_.length;f++)m=_[f].url,v=e.md.normalizeLink(m),e.md.validateLink(v)&&(b=_[f].text,b=_[f].schema?"mailto:"!==_[f].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),d=_[f].index,d>h&&(s=new e.Token("text","",0),s.content=p.slice(h,d),s.level=g,l.push(s)),s=new e.Token("link_open","a",1),s.attrs=[["href",v]],s.level=g++,s.markup="linkify",s.info="auto",l.push(s),s=new e.Token("text","",0),s.content=b,s.level=g,l.push(s),s=new e.Token("link_close","a",-1),s.level=--g,s.markup="linkify",s.info="auto",l.push(s),h=_[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||o||(n.content=n.content.replace(s,r)),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}function i(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,u=/\((c|tm|r|p)\)/i,s=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(u.test(e.tokens[t].content)&&o(e.tokens[t].children),a.test(e.tokens[t].content)&&i(e.tokens[t].children))}},function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function o(e,t){var n,o,s,f,p,d,h,g,y,m,v,b,_,x,w,E,C,S,O,T,P;for(O=[],n=0;n=0&&!(O[C].level<=h);C--);if(O.length=C+1,"text"===o.type){s=o.content,p=0,d=s.length;e:for(;p=0)y=s.charCodeAt(f.index-1);else for(C=n-1;C>=0;C--)if("text"===e[C].type){y=e[C].content.charCodeAt(e[C].content.length-1);break}if(m=32,p=48&&y<=57&&(E=w=!1),w&&E&&(w=!1,E=b),w||E){if(E)for(C=O.length-1;C>=0&&(g=O[C],!(O[C].level=0;t--)"inline"===e.tokens[t].type&&s.test(e.tokens[t].content)&&o(e.tokens[t].children,e)}},function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var o=n(135);r.prototype.Token=o,e.exports=r},function(e,t,n){"use strict";function r(){this.ruler=new o;for(var e=0;e=n))&&!(e.sCount[a]=s){e.line=n;break}for(r=0;rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(u=e.src.charCodeAt(c++))&&45!==u&&58!==u)return!1;for(;c=4)return!1;if(p=o(s.replace(/^\||\|$/g,"")),(d=p.length)>g.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=m=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],l=0;l=4);f++){for(p=o(s.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),l=0;l=4))break;r++,o=r}return e.line=o,i=e.push("code_block","code",0),i.content=e.getLines(t,o,4+e.blkIndent,!0),i.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var o,i,a,u,s,c,l,f=!1,p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>d)return!1;if(126!==(o=e.src.charCodeAt(p))&&96!==o)return!1;if(s=p,p=e.skipChars(p,o),(i=p-s)<3)return!1;if(l=e.src.slice(s,p),a=e.src.slice(p,d),a.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;for(u=t;!(++u>=n)&&(p=s=e.bMarks[u]+e.tShift[u],d=e.eMarks[u],!(p=4||(p=e.skipChars(p,o))-s=4)return!1;if(62!==e.src.charCodeAt(O++))return!1;if(o)return!0;for(s=h=e.sCount[t]+O-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(O)?(O++,s++,h++,i=!1,x=!0):9===e.src.charCodeAt(O)?(x=!0,(e.bsCount[t]+h)%4==3?(O++,s++,h++,i=!1):i=!0):x=!1,g=[e.bMarks[t]],e.bMarks[t]=O;O=T,b=[e.sCount[t]],e.sCount[t]=h-s,_=[e.tShift[t]],e.tShift[t]=O-e.bMarks[t],E=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",d=t+1;d=T));d++)if(62!==e.src.charCodeAt(O++)||c){if(f)break;for(w=!1,u=0,l=E.length;u=T,y.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(x?1:0),b.push(e.sCount[d]),e.sCount[d]=h-s,_.push(e.tShift[d]),e.tShift[d]=O-e.bMarks[d]}for(m=e.blkIndent,e.blkIndent=0,C=e.push("blockquote_open","blockquote",1),C.markup=">",C.map=p=[t,0],e.md.block.tokenize(e,t,d),C=e.push("blockquote_close","blockquote",-1),C.markup=">",e.lineMax=S,e.parentType=v,p[1]=e.line,u=0;u<_.length;u++)e.bMarks[u+t]=g[u],e.tShift[u+t]=_[u],e.sCount[u+t]=b[u],e.bsCount[u+t]=y[u];return e.blkIndent=m,!0}},function(e,t,n){"use strict";var r=n(6).isSpace;e.exports=function(e,t,n,o){var i,a,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(c++))&&45!==i&&95!==i)return!1;for(a=1;c=i)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=i)return-1;n=e.src.charCodeAt(o++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}}return o=4)return!1;if(u&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(D=!0),(k=o(e,t))>=0){if(h=!0,M=e.bMarks[t]+e.tShift[t],_=Number(e.src.substr(M,k-M-1)),D&&1!==_)return!1}else{if(!((k=r(e,t))>=0))return!1;h=!1}if(D&&e.skipSpaces(k)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(k-1),u)return!0;for(v=e.tokens.length,h?(L=e.push("ordered_list_open","ol",1),1!==_&&(L.attrs=[["start",_]])):L=e.push("bullet_list_open","ul",1),L.map=m=[t,0],L.markup=String.fromCharCode(b),w=t,R=!1,N=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";w=x?1:E-d,p>4&&(p=1),f=d+p,L=e.push("list_item_open","li",1),L.markup=String.fromCharCode(b),L.map=g=[t,0],C=e.blkIndent,P=e.tight,T=e.tShift[t],S=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=E,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!R||(I=!1),R=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=C,e.tShift[t]=T,e.sCount[t]=S,e.tight=P,L=e.push("list_item_close","li",-1),L.markup=String.fromCharCode(b),w=t=e.line,g[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]=4)return!1;if(91!==e.src.charCodeAt(E))return!1;for(;++E3||e.sCount[S]<0)){for(b=!1,f=0,p=_.length;f=4)return!1;if(35!==(i=e.src.charCodeAt(c))||c>=l)return!1;for(a=1,i=e.src.charCodeAt(++c);35===i&&c6||cc&&r(e.src.charCodeAt(u-1))&&(l=u),e.line=t+1,s=e.push("heading_open","h"+String(a),1),s.markup="########".slice(0,a),s.map=[t,e.line],s=e.push("inline","",0),s.content=e.src.slice(c,l).trim(),s.map=[t,e.line],s.children=[],s=e.push("heading_close","h"+String(a),-1),s.markup="########".slice(0,a),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a,u,s,c,l,f,p,d=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(s=e.bMarks[d]+e.tShift[d],c=e.eMarks[d],s=c))){l=61===f?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,i=0,a=h.length;i|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,u,s,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(s=e.src.slice(c,l),o=0;o3||e.sCount[s]<0)){for(r=!1,o=0,i=c.length;o0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var o,a,u,s,c,l,f,p=e;if(e>=t)return"";for(l=new Array(t-e),o=0;pn?new Array(a-n+1).join(" ")+this.src.slice(s,c):this.src.slice(s,c)}return l.join("")},r.prototype.Token=o,e.exports=r},function(e,t,n){"use strict";function r(){var e;for(this.ruler=new o,e=0;e=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var o,i,a,u=new this.State(e,t,n,r);for(this.tokenize(u),i=this.ruler2.getRules(""),a=i.length,o=0;o=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,i=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i=y)return!1;for(m=c,l=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),l.ok&&(h=e.md.normalizeLink(l.str),e.md.validateLink(h)?c=l.pos:h=""),m=c;c=y||41!==e.src.charCodeAt(c))&&(v=!0),c++}if(v){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(m,c++):c=u+1):c=u+1,a||(a=e.src.slice(s,u)),!(f=e.env.references[r(a)]))return e.pos=g,!1;h=f.href,p=f.title}return t||(e.pos=s,e.posMax=u,d=e.push("link_open","a",1),d.attrs=n=[["href",h]],p&&n.push(["title",p]),e.md.inline.tokenize(e),d=e.push("link_close","a",-1)),e.pos=c,e.posMax=y,!0}},function(e,t,n){"use strict";var r=n(6).normalizeReference,o=n(6).isSpace;e.exports=function(e,t){var n,i,a,u,s,c,l,f,p,d,h,g,y,m="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=s+1)=b)return!1;for(y=l,p=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),p.ok&&(m=e.md.normalizeLink(p.str),e.md.validateLink(m)?l=p.pos:m=""),y=l;l=b||41!==e.src.charCodeAt(l))return e.pos=v,!1;l++}else{if(void 0===e.env.references)return!1;if(l=0?u=e.src.slice(y,l++):l=s+1):l=s+1,u||(u=e.src.slice(c,s)),!(f=e.env.references[r(u)]))return e.pos=v,!1;m=f.href,d=f.title}return t||(a=e.src.slice(c,s),e.md.inline.parse(a,e.md,e.env,g=[]),h=e.push("image","img",0),h.attrs=n=[["src",m],["alt",""]],h.children=g,h.content=a,d&&n.push(["title",d])),e.pos=l,e.posMax=b,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,o=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,i,a,u,s,c,l=e.pos;return 60===e.src.charCodeAt(l)&&(n=e.src.slice(l),!(n.indexOf(">")<0)&&(o.test(n)?(i=n.match(o),u=i[0].slice(1,-1),s=e.md.normalizeLink(u),!!e.md.validateLink(s)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",s]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(u),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=i[0].length,!0)):!!r.test(n)&&(a=n.match(r),u=a[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+u),!!e.md.validateLink(s)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",s]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(u),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";function r(e){var t=32|e;return t>=97&&t<=122}var o=n(232).HTML_TAG_RE;e.exports=function(e,t){var n,i,a,u,s=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(s)||s+2>=a)&&(!(33!==(n=e.src.charCodeAt(s+1))&&63!==n&&47!==n&&!r(n))&&(!!(i=e.src.slice(s).match(o))&&(t||(u=e.push("html_inline","",0),u.content=e.src.slice(s,s+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(227),o=n(6).has,i=n(6).isValidEntityCode,a=n(6).fromCodePoint,u=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,l=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1=0;){if(o=i[n],o.open&&o.marker===r.marker&&o.end<0&&o.level===r.level){var u=(o.close||r.open)&&void 0!==o.length&&void 0!==r.length&&(o.length+r.length)%3==0;if(!u){r.jump=t-n,r.open=!1,o.end=t,o.jump=0;break}}n-=o.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,o=e.tokens,i=e.tokens.length;for(t=n=0;t0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,o,s,c,l,f,p,d,h=e,g=!0,y=!0,m=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h0&&e.__compiled__[t]}).map(c).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+o.src_ZPCc+"))("+g+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+o.src_ZPCc+"))("+g+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),f(e)}function g(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function y(e,t){var n=new g(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);t||l(e)&&(t=e,e={}),this.__opts__=r({},v,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},b,e),this.__compiled__={},this.__tlds__=x,this.__tlds_replaced__=!1,this.re={},h(this)}var v={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},b={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},_="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",x="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");m.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,u,s;if(this.re.schema_test.test(e))for(u=this.re.schema_search,u.lastIndex=0;null!==(t=u.exec(e));)if(o=this.testSchemaAt(e,t[2],u.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(y(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(y(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(229).source,t.src_Cc=n(230).source,t.src_Z=n(231).source,t.src_P=n(133).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-(?!-)|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|[><|]|\\(|"+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){(function(e,r){var o;!function(i){function a(e){throw new RangeError(M[e])}function u(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function s(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(R,"."),r+u(e.split("."),t).join(".")}function c(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(e-=65536,t+=L(e>>>10&1023|55296),e=56320|1023&e),t+=L(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:x}function p(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?N(e/S):e>>1,e+=N(e/t);e>j*E>>1;r+=x)e=N(e/j);return N(r+(j+1)*e/(e+C))}function h(e){var t,n,r,o,i,u,s,c,p,h,g=[],y=e.length,m=0,v=T,b=O;for(n=e.lastIndexOf(P),n<0&&(n=0),r=0;r=128&&a("not-basic"),g.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=y&&a("invalid-input"),c=f(e.charCodeAt(o++)),(c>=x||c>N((_-m)/u))&&a("overflow"),m+=c*u,p=s<=b?w:s>=b+E?E:s-b,!(cN(_/h)&&a("overflow"),u*=h;t=g.length+1,b=d(m-i,t,0==i),N(m/t)>_-v&&a("overflow"),v+=N(m/t),m%=t,g.splice(m++,0,v)}return l(g)}function g(e){var t,n,r,o,i,u,s,l,f,h,g,y,m,v,b,C=[];for(e=c(e),y=e.length,t=T,n=0,i=O,u=0;u=t&&gN((_-n)/m)&&a("overflow"),n+=(s-t)*m,t=s,u=0;u_&&a("overflow"),g==t){for(l=n,f=x;h=f<=i?w:f>=i+E?E:f-i,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=x-w,N=Math.floor,L=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:c,encode:l},decode:h,encode:g,toASCII:m,toUnicode:y},void 0!==(o=function(){return b}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(40)(e),n(24))},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){"use strict";function r(e){return void 0!==e.id}Object.defineProperty(t,"__esModule",{value:!0}),t.isActiveZoneOnCloudflare=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=n(235),c=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(0),c=r(s),l=n(1),f=r(l),p=n(92),d=r(p),h=n(632),g=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.state={child:null},o.gatewayRegistry=r.gatewayRegistry,o}return u(t,e),t.prototype.componentWillMount=function(){this.gatewayRegistry.addContainer(this.props.name,this)},t.prototype.componentWillUnmount=function(){this.gatewayRegistry.removeContainer(this.props.name,this)},t.prototype.render=function(){var e=this.props,t=e.component,n=e.tagName,r=o(e,["component","tagName"]);return delete r.name,c.default.createElement(t||n||"div",r,this.state.children)},t}(c.default.Component);g.contextTypes={gatewayRegistry:f.default.instanceOf(d.default).isRequired},g.propTypes={name:f.default.string.isRequired,tagName:(0,h.deprecated)(f.default.string,'Use "component" instead.'),component:f.default.oneOfType([f.default.string,f.default.func])},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.isRequiredForA11y=t.elementType=t.deprecated=t.componentOrElement=t.all=void 0;var o=n(633),i=r(o),a=n(634),u=r(a),s=n(635),c=r(s),l=n(636),f=r(l),p=n(637),d=r(p);t.all=i.default,t.componentOrElement=u.default,t.deprecated=c.default,t.elementType=f.default,t.isRequiredForA11y=d.default},function(e,t,n){"use strict";function r(){function e(){for(var e=arguments.length,t=Array(e),r=0;r>",l=s||r;if(null!=n[r]){var f=o+"."+r;(0,a.default)(u[f],"The "+i+" `"+l+"` of `"+c+"` is deprecated. "+t+"."),u[f]=!0}for(var p=arguments.length,d=Array(p>5?p-5:0),h=5;h>",u=i||n;if(null==t[n])return new Error("The "+o+" `"+u+"` is required to make `"+a+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,c=Array(s>5?s-5:0),l=5;l=200&&t.status<300)return n.callback(e,t);var r=new Error(t.statusText||"Unsuccessful HTTP response");r.original=e,r.response=t,r.status=t.status,n.callback(r,t)})}function h(e,t){var n=_("DELETE",e);return t&&n.end(t),n}var g,y=n(645),m=n(646),v=n(647),b=n(238);g="undefined"!=typeof window?window:"undefined"!=typeof self?self:this;var _=e.exports=n(648).bind(null,d);_.getXHR=function(){if(!(!g.XMLHttpRequest||g.location&&"file:"==g.location.protocol&&g.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}return!1};var x="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};_.serializeObject=i,_.parseString=u,_.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},_.serialize={"application/x-www-form-urlencoded":i,"application/json":JSON.stringify},_.parse={"application/x-www-form-urlencoded":u,"application/json":JSON.parse},p.prototype.get=function(e){return this.header[e.toLowerCase()]},p.prototype.setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=l(t);var n=f(t);for(var r in n)this[r]=n[r]},p.prototype.parseBody=function(e){var t=_.parse[this.type];return!t&&c(this.type)&&(t=_.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null},p.prototype.setStatusProperties=function(e){1223===e&&(e=204);var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},p.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},_.Response=p,y(d.prototype);for(var w in v)d.prototype[w]=v[w];d.prototype.abort=function(){if(!this.aborted)return this.aborted=!0,this.xhr&&this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this},d.prototype.type=function(e){return this.set("Content-Type",_.types[e]||e),this},d.prototype.responseType=function(e){return this._responseType=e,this},d.prototype.accept=function(e){return this.set("Accept",_.types[e]||e),this},d.prototype.auth=function(e,t,n){switch(n||(n={type:"basic"}),n.type){case"basic":var r=btoa(e+":"+t);this.set("Authorization","Basic "+r);break;case"auto":this.username=e,this.password=t}return this},d.prototype.query=function(e){return"string"!=typeof e&&(e=i(e)),e&&this._query.push(e),this},d.prototype.attach=function(e,t,n){return this._getFormData().append(e,t,n||t.name),this},d.prototype._getFormData=function(){return this._formData||(this._formData=new g.FormData),this._formData},d.prototype.send=function(e){var t=b(e),n=this._header["content-type"];if(t&&b(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||o(e)?this:(n||this.type("json"),this)},p.prototype.parse=function(e){return g.console&&console.warn("Client-side parse() method has been renamed to serialize(). This method is not compatible with superagent v2.0"),this.serialize(e),this},p.prototype.serialize=function(e){return this._parser=e,this},d.prototype.callback=function(e,t){var n=this._callback;this.clearTimeout(),n(e,t)},d.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},d.prototype.timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},d.prototype.withCredentials=function(){return this._withCredentials=!0,this},d.prototype.end=function(e){var t=this,n=this.xhr=_.getXHR(),i=this._query.join("&"),a=this._timeout,u=this._formData||this._data;this._callback=e||r,n.onreadystatechange=function(){if(4==n.readyState){var e;try{e=n.status}catch(t){e=0}if(0==e){if(t.timedout)return t.timeoutError();if(t.aborted)return;return t.crossDomainError()}t.emit("end")}};var s=function(e){e.total>0&&(e.percent=e.loaded/e.total*100),e.direction="download",t.emit("progress",e)};this.hasListeners("progress")&&(n.onprogress=s);try{n.upload&&this.hasListeners("progress")&&(n.upload.onprogress=s)}catch(e){}if(a&&!this._timer&&(this._timer=setTimeout(function(){t.timedout=!0,t.abort()},a)),i&&(i=_.serializeObject(i),this.url+=~this.url.indexOf("?")?"&"+i:"?"+i),this.username&&this.password?n.open(this.method,this.url,!0,this.username,this.password):n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof u&&!o(u)){var l=this._header["content-type"],f=this._parser||_.serialize[l?l.split(";")[0]:""];!f&&c(l)&&(f=_.serialize["application/json"]),f&&(u=f(u))}for(var p in this.header)null!=this.header[p]&&n.setRequestHeader(p,this.header[p]);return this._responseType&&(n.responseType=this._responseType),this.emit("request",this),n.send(void 0!==u?u:null),this},_.Request=d,_.get=function(e,t,n){var r=_("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},_.head=function(e,t,n){var r=_("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.del=h,_.delete=h,_.patch=function(e,t,n){var r=_("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.post=function(e,t,n){var r=_("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},_.put=function(e,t,n){var r=_("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,o=0;o=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function u(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function s(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}t=e.exports=n(652),t.log=a,t.formatArgs=i,t.save=u,t.load=s,t.useColors=o,t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(s())}).call(t,n(63))},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function o(e){function n(){if(n.enabled){var e=n,r=+new Date,o=r-(c||r);e.diff=o,e.prev=c,e.curr=r,c=r;for(var i=new Array(arguments.length),a=0;a100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*s;case"minutes":case"minute":case"mins":case"min":case"m":return n*u;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=c?Math.round(e/c)+"d":e>=s?Math.round(e/s)+"h":e>=u?Math.round(e/u)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function o(e){return i(e,c,"day")||i(e,s,"hour")||i(e,u,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,n){if(!(e0)return n(e);if("number"===i&&!1===isNaN(e))return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";function r(){return{type:i.APPLICATION_INIT}}Object.defineProperty(t,"__esModule",{value:!0}),t.applicationInit=r;var o=n(8),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o)},function(e,t,n){"use strict";function r(e){return e.intl.locale}Object.defineProperty(t,"__esModule",{value:!0}),t.getLocale=r},function(e,t,n){"use strict";function r(){return{type:l.ZONE_FETCH_ANALYTICS}}function o(e,t){return{type:l.ZONE_FETCH_ANALYTICS_SUCCESS,zoneId:e,zoneAnalytics:t}}function i(){return{type:l.ZONE_FETCH_ANALYTICS_ERROR}}function a(e){return function(t){t(r()),(0,u.zoneAnalyticsDashboardGet)({zoneId:e,since:-43200},function(n,r){t(r?o(e,r.body.result):(0,s.notificationAddClientAPIError)(i(),n))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.zoneFetchAnalytics=r,t.zoneFetchAnalyticsSuccess=o,t.zoneFetchAnalyticsError=i,t.asyncZoneFetchAnalytics=a;var u=n(34),s=n(21),c=n(8),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(c)},function(e,t,n){"use strict";function r(){return{type:l.ZONE_ENTITLEMENTS}}function o(e,t){return{type:l.ZONE_ENTITLEMENTS_SUCCESS,zoneId:e,zoneEntitlements:t}}function i(){return{type:l.ZONE_ENTITLEMENTS_ERROR}}function a(e){return function(t){t(r()),(0,u.zoneGetEntitlements)(e,function(n,r){t(r?o(e,r.body.result):(0,s.notificationAddClientAPIError)(i(),n))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.zoneEntitlements=r,t.zoneEntitlementsSuccess=o,t.zoneEntitlementsError=i,t.asyncZoneEntitlements=a;var u=n(34),s=n(21),c=n(8),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(c)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return{notifications:e.notifications}}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t={listeners:[],keyframePrefixes:e.keyframePrefixes||["-webkit-","-moz-"],plugins:e.plugins||[],mediaQueryOrder:e.mediaQueryOrder||[],selectorPrefix:e.selectorPrefix||"",fontFaces:"",keyframes:"",statics:"",rules:"",mediaRules:a.f(e.mediaQueryOrder||[]),uniqueRuleIdentifier:0,uniqueKeyframeIdentifier:0,cache:{},styleNodes:{},renderRule:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.F(t,e(n),a.d,n);return t._renderStyleToClassNames(r).slice(1)},renderKeyframe:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e(n),o=JSON.stringify(r);if(!t.cache.hasOwnProperty(o)){var i=a.q(++t.uniqueKeyframeIdentifier),u=a.F(t,r,a.c,n),s=a.m(u,i,t.keyframePrefixes);t.cache[o]=i,t.keyframes+=s,t._emitChange({name:i,keyframe:s,type:a.c})}return t.cache[o]},renderFont:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e+JSON.stringify(r);if(!t.cache.hasOwnProperty(o)){var i=a.I(e),u=s({},r,{src:n.map(function(e){return"url("+a.j(e)+") format('"+a.i(e)+"')"}).join(","),fontFamily:i}),c=a.l(u);t.cache[o]=i,t.fontFaces+=c,t._emitChange({fontFamily:i,fontFace:c,type:a.b})}return t.cache[o]},renderStatic:function(e,n){var r=a.w(e,n);if(!t.cache.hasOwnProperty(r)){var o=a.o(e,t);t.cache[r]="","string"==typeof e?(t.statics+=o,t._emitChange({type:a.e,css:o})):n&&(t.statics+=a.r(n,o)),t._emitChange({type:a.e,css:o})}},renderToString:function(){return u.b(t)},subscribe:function(e){return t.listeners.push(e),{unsubscribe:function(){return t.listeners.splice(t.listeners.indexOf(e),1)}}},clear:function(){t.fontFaces="",t.keyframes="",t.statics="",t.rules="",t.mediaRules=a.f(t.mediaQueryOrder),t.uniqueRuleIdentifier=0,t.uniqueKeyframeIdentifier=0,t.cache={},t._emitChange({type:a.a})},_renderStyleToClassNames:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";for(var u in e){var s=e[u];if(a.A(s)){if(a.z(u))o+=t._renderStyleToClassNames(s,n+a.D(u),r);else if(a.y(u)){var c=a.u(r,u.slice(6).trim());o+=t._renderStyleToClassNames(s,n,c)}}else{var l=r+n+u+s;if(!t.cache.hasOwnProperty(l)){if(a.B(s)){t.cache[l]="";continue}var f=t.selectorPrefix+a.t(++t.uniqueRuleIdentifier);t.cache[l]=f;var p=i.a(u,s),d=a.s(f,n),h=a.r(d,p);r.length>0?(t.mediaRules.hasOwnProperty(r)||(t.mediaRules[r]=""),t.mediaRules[r]+=h):t.rules+=h,t._emitChange({selector:d,declaration:p,media:r,type:a.d})}o+=" "+t.cache[l]}}return o},_emitChange:function(e){a.g(t.listeners,function(t){return t(e)})}};return t.keyframePrefixes.push(""),t.clear(),e.enhancers&&a.g(e.enhancers,function(e){t=e(t)}),t}t.a=r;var o=n(241),i=n.n(o),a=n(13),u=n(248),s=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"";return'"}t.a=r},function(e,t,n){"use strict";function r(e){return"@font-face{"+i.a(e)+"}"}t.a=r;var o=n(69),i=n.n(o)},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=u.a(e,function(e,t,n){return""+e+n+"{"+i.a(t)+"}"},"");return a.a(n,function(e,n){return e+"@"+n+"keyframes "+t+"{"+r+"}"},"")}t.a=r;var o=n(69),i=n.n(o),a=n(57),u=n(244)},function(e,t,n){"use strict";function r(e,t){return t?"@media "+e+"{"+t+"}":""}t.a=r},function(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return a.a(e);var n=u.a(t,e,s.e);return i.a(n)}t.a=r;var o=n(69),i=n.n(o),a=n(245),u=n(246),s=n(247)},function(e,t,n){"use strict";function r(e,t){return o.a(e,function(e,n){return e[n]=t[n],e},{})}t.a=r;var o=n(57)},function(e,t,n){"use strict";function r(e){return"k"+e}t.a=r},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e<=i?o[e-1]+t:r(e/i|0,o[e%i]+t)}t.a=r;var o="abcdefghijklmnopqrstuvwxyz",i=o.length},function(e,t,n){"use strict";function r(e,t){return 0===e.length?t:e+" and "+t}t.a=r},function(e,t,n){"use strict";function r(e,t){return e+"{"+t+"}"}t.a=r},function(e,t,n){"use strict";function r(e){return"."+e+(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}t.a=r},function(e,t,n){"use strict";function r(e,t){if(e.className){var n=t+e.className;return delete e.className,n}for(var r=JSON.stringify(e),o=5381,i=r.length;i;)o=33*o^r.charCodeAt(--i);return t+(o>>>0).toString(36)}t.a=r},function(e,t,n){"use strict";function r(e,t){return"string"==typeof e?e:t?t+JSON.stringify(e):""}t.a=r},function(e,t,n){"use strict";function r(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=n+r;return e[i]||(e[i]=o.a(n,r,t)),e[i]}t.a=r;var o=n(243)},function(e,t,n){"use strict";function r(e){return"@media"===e.substr(0,6)}t.a=r},function(e,t,n){"use strict";function r(e){return o.test(e)}t.a=r;var o=/^(:|\[|>|&)/},function(e,t,n){"use strict";function r(e){return"object"===(void 0===e?"undefined":o(e))&&!Array.isArray(e)}t.a=r;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}},function(e,t,n){"use strict";function r(e){return void 0===e||"string"==typeof e&&-1!==e.indexOf("undefined")}t.a=r},function(e,t,n){"use strict";function r(e){return e&&1===e.nodeType}t.a=r},function(e,t,n){"use strict";function r(e){return"&"===e.charAt(0)?e.slice(1):e}t.a=r},function(e,t,n){"use strict";function r(){return o.a(document.querySelectorAll("[data-fela-type]"),function(e,t){return e[(t.getAttribute("data-fela-type")||"")+(t.getAttribute("media")||"")]=t,e},{})}t.a=r;var o=n(57)},function(e,t,n){"use strict";function r(e,t){if("function"==typeof e){var n=e(t);return Array.isArray(n)?n:Object.keys(n)}return e}t.a=r},function(e,t,n){"use strict";function r(e){return'"'===e.charAt(0)?e:'"'+e+'"'}t.a=r},function(e,t,n){"use strict";n(13)},function(e,t,n){"use strict";function r(e,t){if(!o.C(t))throw new Error("You need to specify a valid element node (mountNode.nodeType = 1) to render into.");var n=i.a(e);return t.textContent!==n&&(t.textContent=n),e.subscribe(function(){t.textContent=i.a(e)})}t.a=r;var o=n(13),i=n(249)},function(e,t,n){"use strict";n(13)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?t-1:0),a=1;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){return function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=n.name?n.name:"FelaComponent",f=function(t,f){var p=f.renderer,d=f.theme,h=t.children,g=t._felaRule,y=t.passThrough,m=void 0===y?[]:y,v=o(t,["children","_felaRule","passThrough"]);if(!p)throw new Error("createComponent() can't render styles without the renderer in the context. Missing react-fela's at the app root?");var b=g?u.a(n,g):n;if(p.prettySelectors){var _="string"==typeof i?i:i.displayName||i.name||"";b.selectorPrefix=l+"_"+_+"__"}var x=[].concat(r(a.H(c,v)),r(a.H(m,v)));if(i._isFelaComponent)return e(i,s({_felaRule:b,passThrough:x},v),h);var w=a.p(x,v);if(v.theme=d||{},p.isNativeRenderer){var E=p.renderRule(b,v);w.style=v.style?[v.style,E]:E}else{v.style&&(w.style=v.style);var C=v.className?v.className+" ":"";w.className=C+p.renderRule(b,v)}v.id&&(w.id=v.id),v.innerRef&&(w.ref=v.innerRef);var S=v.is||i;return e(S,w,h)};return t&&(f.contextTypes=t),f.displayName=l,f._isFelaComponent=!0,f}}t.a=i;var a=n(13),u=n(250),s=Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4]?arguments[4]:"",a=i.x(e,t,r,o);a.textContent!==n&&(a.textContent=n)}function o(e){e.styleNodes=i.G();var t=e.styleNodes[i.d];for(var n in a)e[n].length>0&&r(e.styleNodes,t,e[n],a[n]);for(var o in e.mediaRules){var u=e.mediaRules[o];u.length>0&&r(e.styleNodes,t,u,i.d,o)}}t.a=o;var i=n(13),a={fontFaces:i.b,statics:i.e,keyframes:i.c,rules:i.d}},function(e,t,n){"use strict";var r=n(13);r.b,r.e,r.c,r.d},function(e,t,n){"use strict";var r=n(13);r.b,r.e,r.c,r.d},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=n.n(o),a=n(94);t.a=a.b(r.Component,r.createElement,{renderer:i.a.object,theme:i.a.object})},function(e,t,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=n.n(o),a=n(94);t.a=a.c(r.createElement,{renderer:i.a.object,theme:i.a.object})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=(n.n(a),n(1)),s=n.n(u),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"createRenderer",function(){return w}),n.d(t,"StyleProvider",function(){return E});var o=n(0),i=n.n(o),a=n(1),u=n.n(a),s=n(94),c=n(721),l=n(253),f=n(740),p=n(742),d=n(743),h=n(744),g=n(745),y=n(747),m=n(251),v=n(254),b=n(93),_=Object.assign||function(e){for(var t=1;t0&&(e[o]=u)}else{var h=(0,s.default)(r,o,i,e,n);h&&(e[o]=h),(0,a.default)(n,o,e)}}return e}var n=e.prefixMap,r=e.plugins;return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(724),a=r(i),u=n(725),s=r(u),c=n(726),l=r(c),f=n(727),p=r(f);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){if(e.hasOwnProperty(t))for(var r=e[t],o=0,a=r.length;o-1)return a.map(function(e){return t.replace(/cross-fade\(/g,e+"cross-fade(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("filter(")>-1)return a.map(function(e){return t.replace(/filter\(/g,e+"filter(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("display"===e&&o.hasOwnProperty(t))return o[t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?n.WebkitBoxOrient="vertical":n.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?n.WebkitBoxDirection="reverse":n.WebkitBoxDirection="normal"),i.hasOwnProperty(e)&&(n[i[e]]=o[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},i={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&u.test(t))return a.map(function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-","-moz-",""],u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("image-set(")>-1)return a.map(function(e){return t.replace(/image-set\(/g,e+"image-set(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(70),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a=["-webkit-",""];e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(i.hasOwnProperty(e)&&a.hasOwnProperty(t))return o.map(function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=["-webkit-","-moz-",""],i={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},a={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if((0,c.default)(e))return e;for(var n=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),r=0,o=n.length;r-1&&"order"!==l)for(var f=t[s],p=0,h=f.length;p-1)return a;var u=i.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?u:(n["Webkit"+(0,f.default)(e)]=a,n["Moz"+(0,f.default)(e)]=u,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(95),u=r(a),s=n(70),c=r(s),l=n(252),f=r(l),p={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},d={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=(0,i.default)(e);return t.join(";"+n+":")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(95),i=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){"use strict";function r(e,t,n){var r=void 0===t?"undefined":c(t);return("number"===r||"string"===r&&t==parseFloat(t))&&(t+=n),t}function o(e,t,n){for(var i in e)!function(i){if(!u.a(i)){var a=e[i],c=n[i]||t;s.A(a)?e[i]=o(a,t,n):Array.isArray(a)?e[i]=a.map(function(e){return r(i,e,c)}):e[i]=r(i,a,c)}}(i);return e}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"px",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){return o(n,e,t)}}t.a=i;var a=n(741),u=n.n(a),s=n(13),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}},function(e,t,n){"use strict";function r(e){return a.hasOwnProperty(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;for(var o=n(95),i=function(e){return e&&e.__esModule?e:{default:e}}(o),a={borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},u=["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridColumn","order","lineClamp"],s=["Webkit","ms","Moz","O"],c=0,l=u.length;c=0&&t<=100}function i(e,t,n){for(var r in e){var i=e[r];s.A(i)?"from"===r||"to"===r||o(r)||(t&&console.error((n?"[Deleted] ":" ")+"Invalid keyframe property.\n Expected either `to`, `from` or a percentage value between 0 and 100.",{percentage:r,style:i}),n&&delete e[r]):(t&&console.error((n?"[Deleted] ":" ")+"Invalid keyframe value. An object was expected.",{percentage:r,style:i}),n&&delete e[r])}}function a(e,t,n){var o=n.logInvalid,a=n.deleteInvalid;return t===s.c?i(e,o,a):t===s.d&&r(e,o,a),e}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,n){return a(t,n,c({},l,e))}}t.a=u;var s=n(13),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){for(var a in e)!function(a){var u=e[a];if("fontFace"===a&&i.A(u)){var s=u.fontFamily,c=u.src,l=r(u,["fontFamily","src"]);"string"==typeof s&&Array.isArray(c)&&(e.fontFamily=n.renderFont(s,c,l),delete e.fontFace)}else"animationName"===a&&i.A(u)?e[a]=n.renderKeyframe(function(){return u}):i.A(u)&&o(u,t,n)}(a);return e}var i=n(13);t.a=function(){return o}},function(e,t,n){"use strict";function r(e,t){return e.subscribe(function(){e.fontFaces=a.a(e.fontFaces,t),e.keyframes=a.a(e.keyframes,t),e.statics=a.a(e.statics,t),e.rules=a.a(e.rules,t),e.mediaRules=u.E(e.mediaRules,function(e,n,r){return e[r]=a.a(n,t),e},{})}),e}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return r(t,s({},c,e))}}t.a=o;var i=n(746),a=n.n(i),u=n(13),s=Object.assign||function(e){for(var t=1;t="a"&&l<="z"||l>="A"&&l<="Z"||l>="0"&&l<="9"||"-_*.:#[]".indexOf(e)>=0}function i(){var e;for(e=g;e>0;e-=1)x+=s.indent}function a(){x=v(x),w?x+=" {":(x+="\n",i(),x+="{"),"\n"!==f&&(x+="\n"),g+=1}function u(){var e;g-=1,x=v(x),x.length>0&&E&&";"!==(e=x.charAt(x.length-1))&&"{"!==e&&(x+=";"),x+="\n",i(),x+="}",c.push(x),x=""}var s,c,l,f,p,d,h,g,y,m,v,b=0,_=e.length,x="",w=!0,E=!1;for(s=arguments.length>1?t:{},void 0===s.indent&&(s.indent=" "),"string"==typeof s.openbrace&&(w="end-of-line"===s.openbrace),"boolean"==typeof s.autosemicolon&&(E=s.autosemicolon),v=String.prototype.trimRight?function(e){return e.trimRight()}:function(e){return e.replace(/\s+$/,"")},h={Start:0,AtRule:1,Block:2,Selector:3,Ruleset:4,Property:5,Separator:6,Expression:7,URL:8},g=0,d=h.Start,m=!1,c=[],e=e.replace(/\r\n/g,"\n");b<_;)if(l=e.charAt(b),f=e.charAt(b+1),b+=1,r(y))x+=l,l===y&&(y=null),"\\"===l&&f===y&&(x+=f,b+=1);else if(r(l))x+=l,y=l;else if(m)x+=l,"*"===l&&"/"===f&&(m=!1,x+=f,b+=1);else if("/"!==l||"*"!==f){if(d===h.Start){if(0===c.length&&n(l)&&0===x.length)continue;if(l<=" "||l.charCodeAt(0)>=128){d=h.Start,x+=l;continue}if(o(l)||"@"===l){if(p=v(x),0===p.length)c.length>0&&(x="\n\n");else if("}"===p.charAt(p.length-1)||";"===p.charAt(p.length-1))x=p+"\n\n";else for(;;){if(" "!==(f=x.charAt(x.length-1))&&9!==f.charCodeAt(0))break;x=x.substr(0,x.length-1)}x+=l,d="@"===l?h.AtRule:h.Selector;continue}}if(d!==h.AtRule)if(d!==h.Block)if(d!==h.Selector)if(d!==h.Ruleset)if(d!==h.Property)if(d!==h.Separator)if(d!==h.Expression)d===h.URL&&")"===l&&x.charAt(x.length-1!=="\\")?(x+=l,d=h.Expression):x+=l;else{if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}if(";"===l){x=v(x),x+=";\n",d=h.Ruleset;continue}if(x+=l,"("===l&&"l"===x.charAt(x.length-2)&&"r"===x.charAt(x.length-3)&&"u"===x.charAt(x.length-4)){d=h.URL;continue}}else{if(!n(l)){x+=l,d=h.Expression;continue}r(f)&&(d=h.Expression)}else{if(":"===l){x=v(x),x+=": ",d=h.Expression,n(f)&&(d=h.Separator);continue}if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}x+=l}else{if("}"===l){u(),d=h.Start,g>0&&(d=h.Block);continue}if("\n"===l){x=v(x),x+="\n";continue}if(!n(l)){x=v(x),x+="\n",i(),x+=l,d=h.Property;continue}x+=l}else{if("{"===l){a(),d=h.Ruleset;continue}if("}"===l){u(),d=h.Start;continue}x+=l}else{if(o(l)){if(p=v(x),0===p.length)c.length>0&&(x="\n\n");else if("}"===p.charAt(p.length-1))x=p+"\n\n";else for(;;){if(" "!==(f=x.charAt(x.length-1))&&9!==f.charCodeAt(0))break;x=x.substr(0,x.length-1)}i(),x+=l,d=h.Selector;continue}if("}"===l){u(),d=h.Start;continue}x+=l}else{if(";"===l){x+=l,d=h.Start;continue}if("{"===l){p=v(x),a(),d="@font-face"===p?h.Ruleset:h.Block;continue}x+=l}}else m=!0,x+=l,x+=f,b+=1;return x=c.join("")+x}e.exports=t=n}()},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.prettySelectors=t,e._renderStyleToCache=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=u.E(n,function(n,i,a){if(u.A(i)){if(u.z(a))e._renderStyleToCache(t,i,r+u.D(a),o);else if(u.y(a)){var s=u.u(o,a.slice(6).trim());e._renderStyleToCache(t,i,r,s)}}else u.B(i)||(n[a]=i);return n},{});if(Object.keys(i).length>0){var s=a.a(i),c=u.s(t,r),l=u.r(c,s);o.length>0?(e.mediaRules.hasOwnProperty(o)||(e.mediaRules[o]=""),e.mediaRules[o]+=l):e.rules+=l,e._emitChange({selector:c,declaration:s,media:o,type:u.d})}},e._renderStyleToClassNames=function(t,n){if(Object.keys(t).length<1)return"";var r=e.prettySelectors&&n.name?n.name+"_":"",o=u.v(t,(e.selectorPrefix||"")+(n.selectorPrefix||r));return e.cache.hasOwnProperty(o)||(e._renderStyleToCache(o,t),e.cache[o]=!0),o},e.renderRule=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=u.F(e,t(n),u.d,n);return e._renderStyleToClassNames(r,t)},e}function o(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e){return r(e,!1)}}t.a=o;var i=n(69),a=n.n(i),u=n(13)},function(e,t,n){"use strict";var r=n(255);t.a={gradient:{primary:"linear-gradient(left, #76C4E2, #85CBA8)",two:"linear-gradient(left, #8176B5, #85CBA8)",three:"linear-gradient(left, #8176B5, #76C4E2)",four:"linear-gradient(left, #8176B5, #BA77B1)",five:"linear-gradient(left, #8176B5, #F16975)",six:"linear-gradient(left, #F16975, #F69259)",seven:"linear-gradient(left, #F69259, #FFDB6F)",eight:"linear-gradient(left, #85CBA8, #FFDB6F)"},color:{rain:"#408BC9",sky:"#76C4E2",dew:"#85CBA8",twilight:"#8176B5",sunset:"#BA77B1",dawn:"#F16975",sunrise:"#F69259",lightning:"#FFDB6F",night:"#404041",dusk:"#4D4D4F",storm:"#808285",hail:"#BCBEC0",moonshine:"#F7F7F7",cement:"#7D7D7D",grass:"#9BCA3E",marine:"#2F7BBF",tangerine:"#FF7900",apple:"#BD2527"},fontSize:"15px",boxShadow:"0 0 20px 0 rgba(136,136,136,0.50)",inputFontSize:"13px",lineHeight:1.5,inputLineHeight:1.4,em:"1em",rem:"1rem",fontFamily:'"Open Sans", Helvetica, Arial, sans-serif',weightLight:300,weightNormal:400,weightSemiBold:600,weightBold:700,fontWeight:400,fontColorHeadingCaption:"#888",borderRadius:"2px",arrowSize:"5px",disabledBackground:"#ededed",bodyBackground:"#ebebeb",bodyAccentColor:"#333",bodyOffsetColor:"#787878",fontColor:"#333",colorWhite:"#fff",colorBlack:"#000",colorOffsetLight:.15,colorOffsetDark:.07,colorInfo:"#00a9eb",colorSuccess:"#68970f",colorWarning:"#fca520",colorError:"#ff3100",colorMuted:"#7c7c7c",colorSmoke:"#f2f2f2",colorBlue:"#2f7bbf",colorBlueLight:r.b(.15,"#2f7bbf"),colorBlueDark:r.a(.07,"#2f7bbf"),colorOrange:"#ff7900",colorOrangeLight:r.b(.15,"#ff7900"),colorOrangeDark:r.a(.07,"#ff7900"),colorGray:"#7c7c7c",colorGrayLight:"#dedede",colorGrayLightOnboarding:"#F7F7F7",colorGrayDark:"#333",colorGrayBorder:"#666",colorGreen:"#9bca3e",colorGreenLight:r.b(.15,"#9bca3e"),colorGreenDark:r.a(.07,"#9bca3e"),colorRed:"#bd2527",colorRedLight:r.b(.15,"#bd2527"),colorRedDark:r.a(.07,"#bd2527"),colorYellow:"#ffd24d",colorYellowLight:r.b(.15,"#ffd24d"),colorYellowDark:r.a(.07,"#ffd24d"),colorPink:"#d91698",colorPinkLight:r.b(.15,"#d91698"),colorPinkDark:r.a(.07,"#d91698"),colorPurple:"#9545e5",colorPurpleLight:r.b(.15,"#d91698"),colorPurpleDark:r.a(.07,"#d91698"),colorTwitterBlue:"#00aced",colorFacebookBlue:"#3b5998",colorMainBackground:"#e6e6e6",colorOverlay:"rgba(0, 0, 0, .7)",zIndexMax:1e3}},function(e,t,n){(function(t){t.IntlPolyfill=n(750),n(751),t.Intl||(t.Intl=t.IntlPolyfill,t.IntlPolyfill.__applyLocaleSensitivePrototypes()),e.exports=t.IntlPolyfill}).call(t,n(24))},function(e,t,n){"use strict";(function(t){function n(e){if("function"==typeof Math.log10)return Math.floor(Math.log10(e));var t=Math.round(Math.log(e)*Math.LOG10E);return t-(Number("1e"+t)>e)}function r(e){for(var t in e)(e instanceof r||Ie.call(e,t))&&Fe(this,t,{value:e[t],enumerable:!0,writable:!0,configurable:!0})}function o(){Fe(this,"length",{writable:!0,value:0}),arguments.length&&qe.apply(this,Ue.call(arguments))}function i(){if(We.disableRegExpRestore)return function(){};for(var e={lastMatch:RegExp.lastMatch||"",leftContext:RegExp.leftContext,multiline:RegExp.multiline,input:RegExp.input},t=!1,n=1;n<=9;n++)t=(e["$"+n]=RegExp["$"+n])||t;return function(){var n=/[.?*+^$[\]\\(){}|-]/g,r=e.lastMatch.replace(n,"\\$&"),i=new o;if(t)for(var a=1;a<=9;a++){var u=e["$"+a];u?(u=u.replace(n,"\\$&"),r=r.replace(u,"("+u+")")):r="()"+r,qe.call(i,r.slice(0,r.indexOf("(")+1)),r=r.slice(r.indexOf("(")+1)}var s=Be.call(i,"")+r;s=s.replace(/(\\\(|\\\)|[^()])+/g,function(e){return"[\\s\\S]{"+e.replace("\\","").length+"}"});var c=new RegExp(s,e.multiline?"gm":"g");c.lastIndex=e.leftContext.length,c.exec(e.input)}}function a(e){if(null===e)throw new TypeError("Cannot convert null or undefined to object");return"object"===(void 0===e?"undefined":Ne.typeof(e))?e:Object(e)}function u(e){return"number"==typeof e?e:Number(e)}function s(e){var t=u(e);return isNaN(t)?0:0===t||-0===t||t===1/0||t===-1/0?t:t<0?-1*Math.floor(Math.abs(t)):Math.floor(Math.abs(t))}function c(e){var t=s(e);return t<=0?0:t===1/0?Math.pow(2,53)-1:Math.min(t,Math.pow(2,53)-1)}function l(e){return Ie.call(e,"__getInternalProperties")?e.__getInternalProperties(Ye):Ve(null)}function f(e){tt=e}function p(e){for(var t=e.length;t--;){var n=e.charAt(t);n>="a"&&n<="z"&&(e=e.slice(0,t)+n.toUpperCase()+e.slice(t+1))}return e}function d(e){return!!$e.test(e)&&(!Qe.test(e)&&!Je.test(e))}function h(e){var t=void 0,n=void 0;e=e.toLowerCase(),n=e.split("-");for(var r=1,o=n.length;r1&&(t.sort(),e=e.replace(RegExp("(?:"+et.source+")+","i"),Be.call(t,""))),Ie.call(nt.tags,e)&&(e=nt.tags[e]),n=e.split("-");for(var i=1,a=n.length;i-1)return n;var r=n.lastIndexOf("-");if(r<0)return;r>=2&&"-"===n.charAt(r-2)&&(r-=2),n=n.substring(0,r)}}function b(e,t){for(var n=0,o=t.length,i=void 0,a=void 0,u=void 0;n2){var O=c[S+1],T=C.call(x,O);-1!==T&&(w=O,E="-"+m+"-"+w)}else{var P=C(x,"true");-1!==P&&(w="true")}}if(Ie.call(n,"[["+m+"]]")){var A=n["[["+m+"]]"];-1!==C.call(x,A)&&A!==w&&(w=A,E="")}p["[["+m+"]]"]=w,d+=E,g++}if(d.length>2){var k=s.indexOf("-x-");if(-1===k)s+=d;else{s=s.substring(0,k)+d+s.substring(k)}s=h(s)}return p["[[locale]]"]=s,p}function w(e,t){for(var n=t.length,r=new o,i=0;ir)throw new RangeError("Value is not a number or outside accepted range");return Math.floor(i)}return o}function T(e){for(var t=m(e),n=[],r=t.length,o=0;oi;i++){var a=n[i],u={};u.type=a["[[type]]"],u.value=a["[[value]]"],r[o]=u,o+=1}return r}function N(e,t){var n=l(e),r=n["[[dataLocale]]"],i=n["[[numberingSystem]]"],a=We.NumberFormat["[[localeData]]"][r],u=a.symbols[i]||a.symbols.latn,s=void 0;!isNaN(t)&&t<0?(t=-t,s=n["[[negativePattern]]"]):s=n["[[positivePattern]]"];for(var c=new o,f=s.indexOf("{",0),p=0,d=0,h=s.length;f>-1&&fd){var g=s.substring(d,f);qe.call(c,{"[[type]]":"literal","[[value]]":g})}var y=s.substring(f+1,p);if("number"===y)if(isNaN(t)){var m=u.nan;qe.call(c,{"[[type]]":"nan","[[value]]":m})}else if(isFinite(t)){"percent"===n["[[style]]"]&&isFinite(t)&&(t*=100);var v=void 0;v=Ie.call(n,"[[minimumSignificantDigits]]")&&Ie.call(n,"[[maximumSignificantDigits]]")?D(t,n["[[minimumSignificantDigits]]"],n["[[maximumSignificantDigits]]"]):I(t,n["[[minimumIntegerDigits]]"],n["[[minimumFractionDigits]]"],n["[[maximumFractionDigits]]"]),ut[i]?function(){var e=ut[i];v=String(v).replace(/\d/g,function(t){return e[t]})}():v=String(v);var b=void 0,_=void 0,x=v.indexOf(".",0);if(x>0?(b=v.substring(0,x),_=v.substring(x+1,x.length)):(b=v,_=void 0),!0===n["[[useGrouping]]"]){var w=u.group,E=[],C=a.patterns.primaryGroupSize||3,S=a.patterns.secondaryGroupSize||C;if(b.length>C){var O=b.length-C,T=O%S,P=b.slice(0,T);for(P.length&&qe.call(E,P);To;o++){r+=n[o]["[[value]]"]}return r}function D(e,t,r){var o=r,i=void 0,a=void 0;if(0===e)i=Be.call(Array(o+1),"0"),a=0;else{a=n(Math.abs(e));var u=Math.round(Math.exp(Math.abs(a-o+1)*Math.LN10));i=String(Math.round(a-o+1<0?e*u:e/u))}if(a>=o)return i+Be.call(Array(a-o+1+1),"0");if(a===o-1)return i;if(a>=0?i=i.slice(0,a+1)+"."+i.slice(a+1):a<0&&(i="0."+Be.call(Array(1-(a+1)),"0")+i),i.indexOf(".")>=0&&r>t){for(var s=r-t;s>0&&"0"===i.charAt(i.length-1);)i=i.slice(0,-1),s--;"."===i.charAt(i.length-1)&&(i=i.slice(0,-1))}return i}function I(e,t,n,r){var o=r,i=Math.pow(10,o)*e,a=0===i?"0":i.toFixed(0),u=void 0,s=(u=a.indexOf("e"))>-1?a.slice(u+1):0;s&&(a=a.slice(0,u).replace(".",""),a+=Be.call(Array(s-(a.length-1)+1),"0"));var c=void 0;if(0!==o){var l=a.length;if(l<=o){a=Be.call(Array(o+1-l+1),"0")+a,l=o+1}var f=a.substring(0,l-o);a=f+"."+a.substring(l-o,a.length),c=f.length}else c=a.length;for(var p=r-n;p>0&&"0"===a.slice(-1);)a=a.slice(0,-1),p--;if("."===a.slice(-1)&&(a=a.slice(0,-1)),cn&&(n=u,r=a),o++}return r}function Q(e,t){var n=[];for(var r in gt)Ie.call(gt,r)&&void 0!==e["[["+r+"]]"]&&n.push(r);if(1===n.length){var o=H(n[0],e["[["+n[0]+"]]"]);if(o)return o}for(var i=-1/0,a=void 0,u=0,s=t.length;u=2||m>=2&&y<=1?v>0?l-=6:v<0&&(l-=8):v>1?l-=3:v<-1&&(l-=6)}}c._.hour12!==e.hour12&&(l-=1),l>i&&(i=l,a=c),u++}return a}function J(){var e=null!==this&&"object"===Ne.typeof(this)&&l(this);if(!e||!e["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.DateTimeFormat object.");if(void 0===e["[[boundFormat]]"]){var t=function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0];return ne(this,void 0===e?Date.now():u(e))},n=Ze.call(t,this);e["[[boundFormat]]"]=n}return e["[[boundFormat]]"]}function ee(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0],t=null!==this&&"object"===Ne.typeof(this)&&l(this);if(!t||!t["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for formatToParts() is not an initialized Intl.DateTimeFormat object.");return re(this,void 0===e?Date.now():u(e))}function te(e,t){if(!isFinite(t))throw new RangeError("Invalid valid date passed to format");var n=e.__getInternalProperties(Ye);i();for(var r=n["[[locale]]"],a=new it.NumberFormat([r],{useGrouping:!1}),u=new it.NumberFormat([r],{minimumIntegerDigits:2,useGrouping:!1}),s=oe(t,n["[[calendar]]"],n["[[timeZone]]"]),c=n["[[pattern]]"],l=new o,f=0,p=c.indexOf("{"),d=0,h=n["[[dataLocale]]"],g=We.DateTimeFormat["[[localeData]]"][h].calendars,y=n["[[calendar]]"];-1!==p;){var m=void 0;if(-1===(d=c.indexOf("}",p)))throw new Error("Unclosed pattern");p>f&&qe.call(l,{type:"literal",value:c.substring(f,p)});var v=c.substring(p+1,d);if(gt.hasOwnProperty(v)){var b=n["[["+v+"]]"],_=s["[["+v+"]]"];if("year"===v&&_<=0?_=1-_:"month"===v?_++:"hour"===v&&!0===n["[[hour12]]"]&&0===(_%=12)&&!0===n["[[hourNo0]]"]&&(_=12),"numeric"===b)m=L(a,_);else if("2-digit"===b)m=L(u,_),m.length>2&&(m=m.slice(-2));else if(b in ht)switch(v){case"month":m=Z(g,y,"months",b,s["[["+v+"]]"]);break;case"weekday":try{m=Z(g,y,"days",b,s["[["+v+"]]"])}catch(e){throw new Error("Could not find weekday data for locale "+r)}break;case"timeZoneName":m="";break;case"era":try{m=Z(g,y,"eras",b,s["[["+v+"]]"])}catch(e){throw new Error("Could not find era data for locale "+r)}break;default:m=s["[["+v+"]]"]}qe.call(l,{type:v,value:m})}else if("ampm"===v){var x=s["[[hour]]"];m=Z(g,y,"dayPeriods",x>11?"pm":"am",null),qe.call(l,{type:"dayPeriod",value:m})}else qe.call(l,{type:"literal",value:c.substring(p,d+1)});f=d+1,p=c.indexOf("{",f)}return do;o++){r+=n[o].value}return r}function re(e,t){for(var n=te(e,t),r=[],o=0;n.length>o;o++){var i=n[o];r.push({type:i.type,value:i.value})}return r}function oe(e,t,n){var o=new Date(e),i="get"+(n||"");return new r({"[[weekday]]":o[i+"Day"](),"[[era]]":+(o[i+"FullYear"]()>=0),"[[year]]":o[i+"FullYear"](),"[[month]]":o[i+"Month"](),"[[day]]":o[i+"Date"](),"[[hour]]":o[i+"Hours"](),"[[minute]]":o[i+"Minutes"](),"[[second]]":o[i+"Seconds"](),"[[inDST]]":!1})}function ie(e,t){if(!e.number)throw new Error("Object passed doesn't contain locale data for Intl.NumberFormat");var n=void 0,r=[t],o=t.split("-");for(o.length>2&&4===o[1].length&&qe.call(r,o[0]+"-"+o[2]);n=He.call(r);)qe.call(We.NumberFormat["[[availableLocales]]"],n),We.NumberFormat["[[localeData]]"][n]=e.number,e.date&&(e.date.nu=e.number.nu,qe.call(We.DateTimeFormat["[[availableLocales]]"],n),We.DateTimeFormat["[[localeData]]"][n]=e.date);void 0===tt&&f(t)}var ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},ue=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,r,o){var i=t&&t.defaultProps,a=arguments.length-3;if(n||0===a||(n={}),n&&i)for(var u in i)void 0===n[u]&&(n[u]=i[u]);else n||(n=i||{});if(1===a)n.children=o;else if(a>1){for(var s=Array(a),c=0;c=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Ee=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},Ce=void 0===t?self:t,Se=function e(t,n,r,o){var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var a=Object.getPrototypeOf(t);null!==a&&e(a,n,r,o)}else if("value"in i&&i.writable)i.value=r;else{var u=i.set;void 0!==u&&u.call(o,r)}return r},Oe=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Te=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){for(var n,r=[],o=e[Symbol.iterator]();!(n=o.next()).done&&(r.push(n.value),!t||r.length!==t););return r}throw new TypeError("Invalid attempt to destructure non-iterable instance")},Pe=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},Ae=function(e,t){return e.raw=t,e},ke=function(e,t,n){if(e===n)throw new ReferenceError(t+" is not defined - temporal dead zone");return e},Re={},Me=function(e){return Array.isArray(e)?e:Array.from(e)},je=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(257),p=Object.assign||function(e){for(var t=1;t-1},matchesSelector:function(e,t){return(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||function(t){return r(e,t)}).call(e,t)}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){e.addEventListener(t,n,!1)}function o(e,t,n){e.removeEventListener(t,n,!1)}var i=n(19),a=n(166),u=[];i.canUseDOM&&function(){var e=a("animationend"),t=a("transitionend");e&&u.push(e),t&&u.push(t)}();var s={addEndEventListener:function(e,t){if(0===u.length)return void window.setTimeout(t,0);u.forEach(function(n){r(e,n,t)})},removeEndEventListener:function(e,t){0!==u.length&&u.forEach(function(n){o(e,n,t)})}};e.exports=s},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),u=n.n(a),s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=Object.assign||function(e){for(var t=1;t-1:!!l&&o(e,t,n)>-1}var o=n(808),i=n(266),a=n(815),u=n(816),s=n(820),c=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(809),i=n(810),a=n(811);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i-1&&e%1==0&&e requires either a `to` or `onClick` prop");var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return i.dropdownRegistry=n.dropdownRegistry,i.handleLinkBlur=i.handleLinkBlur.bind(i),i.handleLinkFocus=i.handleLinkFocus.bind(i),i.focus=i.focus.bind(i),i}return i(t,e),p(t,[{key:"componentDidMount",value:function(){this.dropdownRegistry.addChild(this)}},{key:"componentWillUnmount",value:function(){this.dropdownRegistry.removeChild(this)}},{key:"focus",value:function(){this.link.focus()}},{key:"handleLinkFocus",value:function(){this.dropdownRegistry.setFocusedChild(this)}},{key:"handleLinkBlur",value:function(){this.dropdownRegistry.removeFocusedChild()}},{key:"render",value:function(){var e=this;return u.a.createElement("li",{className:"cf-dropdown__link",role:"menuitem"},u.a.createElement(l.default,{ref:function(t){return e.link=t},to:this.props.to,onClick:this.props.onClick,onFocus:this.handleLinkFocus,onBlur:this.handleLinkBlur},this.props.children))}}]),t}(u.a.Component);d.propTypes={to:c.a.string,onClick:c.a.func,children:c.a.node},d.contextTypes={dropdownRegistry:c.a.instanceOf(f.a).isRequired},t.a=d},function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=function(){return o.a.createElement("div",{className:"cf-dropdown__separator",role:"separator"})};t.a=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(861);t.default=r.a},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n(0),s=n.n(u),c=n(1),l=n.n(c),f=n(862),p=n.n(f),d=Object.assign||function(e){for(var t=1;t0||n?o&&a.includes(t):o}},{key:"handleDrawerClick",value:function(e){this.setState({activeDrawer:e===this.state.activeDrawer?null:e})}},{key:"handleChange",value:function(e){var t=this.props,n=t.activeZoneId,r=t.dispatch,i=t.settings.hostnames,a=void 0===i?[]:i,u=t.defaultHostnames;e?a.push.apply(a,o(u.filter(function(e){return!a.includes(e)}))):(T.default.remove(a,function(e){return u.includes(e)}),a.length>0&&(e=!0)),r((0,v.asyncZoneUpdateSetting)(P,n,{enabled:e,cf:!0,wordpress:!0,wp_plugin:!0,hostnames:a})),r((0,b.asyncPluginUpdateSetting)(P,n,e))}},{key:"render",value:function(){var e=this.props.intl.formatMessage,t=this.props,n=t.modifiedDate,r=t.entitlements,o=t.settings,i=o.hostnames,a=void 0===i?[]:i,u=o.enabled,s=t.defaultHostnames,c=r["zone.automatic_platform_optimization"],l=T.default.get(c,"allocation.value",!1),f=e({id:"container.automaticplatformoptimization.description_hostnames"},{hostnames:a.length>0?a.join(", "):s.join(", ")});return p.default.createElement("div",null,p.default.createElement(m.Card,null,p.default.createElement(m.CardSection,null,p.default.createElement(m.CardContent,{title:e({id:"container.automaticplatformoptimization.title"}),footerMessage:(0,_.getLastModifiedDate)(this.props.intl,n)},p.default.createElement("div",null,p.default.createElement(h.FormattedMessage,{id:"container.automaticplatformoptimization.description"}),u&&p.default.createElement(w.default,{formattedMessage:f}))),p.default.createElement(S.default,{purchaseSubscription:!l,purchaseSubscriptionPath:"/speed/optimization/apo/purchase",indentifier:P},p.default.createElement(y.default,{label:"",value:this.isFeatureEnabled(),onChange:this.handleChange.bind(this)}))),p.default.createElement(m.CardDrawers,{onClick:this.handleDrawerClick,active:this.state.activeDrawer,drawers:[{id:"help",name:e({id:"container.drawer.help"}),content:p.default.createElement(w.default,{text:"container.automaticplatformoptimization.drawer.help"})}]})))}}]),t}(f.Component);t.default=(0,h.injectIntl)((0,d.connect)(c)(A))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){return{config:e.config.config}}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n