Files
topola-viewer/static/js/1.8fa13ada.chunk.js
Przemek Wiech 8e42e34aff Updates
2019-02-15 00:40:11 +01:00

2 lines
671 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(e,t,n){"use strict";e.exports=n(261)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){e.exports=n(279)()},function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"someByType",function(){return l}),n.d(r,"findByType",function(){return s}),n.d(r,"isNil",function(){return f});var i=n(101),o=n.n(i),a=n(49),u=n.n(a),c=n(0),l=function(e,t){return u()(c.Children.toArray(e),{type:t})},s=function(e,t){return o()(c.Children.toArray(e),{type:t})},f=function(e){return null===e||void 0===e||Array.isArray(e)&&0===e.length};n.d(t,"a",function(){return r})},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var u in r)n.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}"undefined"!==typeof e&&e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(364),i=n(69)(r);e.exports=i},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=function(e){return null==e}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(30),i=n(1);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?i(e):t}},function(e,t,n){var r=n(297);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(2);e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(55),i=n(43),o=n(358),a=n(15);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(162),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){var r=n(161),i=n(69),o=n(85),a=i(function(e,t){return o(e)?r(e,t):[]});e.exports=a},function(e,t,n){var r=n(54),i=n(302),o=n(303),a="[object Null]",u="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?u:a:c&&c in Object(e)?i(e):o(e)}},function(e,t,n){var r=n(48),i=n(114);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"d",function(){return u}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return l}),n.d(t,"e",function(){return s}),n.d(t,"f",function(){return f});var r=n(30),i=n.n(r),o=n(63),a=function(e,t){return e&&t},u=function(e,t){return e&&!0!==e&&"".concat(e," ").concat(t)},c=function(e,t){return e&&(!0===e?t:"".concat(e," ").concat(t))},l=function(e){return"justified"===e?"justified":u(e,"aligned")},s=function(e){return u(e,"aligned")},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&"equal"===e)return"equal width";var n=i()(e);return"string"!==n&&"number"!==n||!t?Object(o.a)(e):"".concat(Object(o.a)(e)," ").concat(t)}},function(e,t,n){"use strict";n.d(t,"c",function(){return g}),n.d(t,"d",function(){return W}),n.d(t,"b",function(){return ve}),n.d(t,"a",function(){return Ce});var r=n(224),i=n.n(r),o=n(51),a=n.n(o),u=n(67),c=n.n(u),l=n(4),s=n.n(l),f=n(0),d=n.n(f),h=(n(225),n(27)),p=n.n(h),v=n(59),m=n.n(v),y={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],i=Number(n[0])==e,o=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&r?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}};function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach(function(e){e&&e.locale&&(a.a.__addLocaleData(e),c.a.__addLocaleData(e))})}function b(e){var t=e&&e.toLowerCase();return!(!a.a.__localeData__[t]||!c.a.__localeData__[t])}var x="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(){function e(e){this.value=e}function t(t){var n,r;function i(n,r){try{var a=t[n](r),u=a.value;u instanceof e?Promise.resolve(u.value).then(function(e){i("next",e)},function(e){i("throw",e)}):o(a.done?"return":"normal",a.value)}catch(c){o("throw",c)}}function o(e,t){switch(e){case"return":n.resolve({value:t,done:!0});break;case"throw":n.reject(t);break;default:n.resolve({value:t,done:!1})}(n=n.next)?i(n.key,n.arg):r=null}this._invoke=function(e,t){return new Promise(function(o,a){var u={key:e,arg:t,resolve:o,reject:a,next:null};r?r=r.next=u:(n=r=u,i(e,t))})},"function"!==typeof t.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),w=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O=function(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=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},E=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},C=s.a.bool,S=s.a.number,M=s.a.string,j=s.a.func,N=s.a.object,P=s.a.oneOf,A=s.a.shape,I=s.a.any,R=s.a.oneOfType,z=P(["best fit","lookup"]),D=P(["narrow","short","long"]),L=P(["numeric","2-digit"]),F=j.isRequired,U={locale:M,timeZone:M,formats:N,messages:N,textComponent:I,defaultLocale:M,defaultFormats:N,onError:j},B={formatDate:F,formatTime:F,formatRelative:F,formatNumber:F,formatPlural:F,formatMessage:F,formatHTMLMessage:F},W=A(k({},U,B,{formatters:N,now:F})),H=(M.isRequired,R([M,N]),{localeMatcher:z,formatMatcher:P(["basic","best fit"]),timeZone:M,hour12:C,weekday:D,era:D,year:L,month:P(["numeric","2-digit","narrow","short","long"]),day:L,hour:L,minute:L,second:L,timeZoneName:P(["short","long"])}),q={localeMatcher:z,style:P(["decimal","currency","percent"]),currency:M,currencyDisplay:P(["symbol","code","name"]),useGrouping:C,minimumIntegerDigits:S,minimumFractionDigits:S,maximumFractionDigits:S,minimumSignificantDigits:S,maximumSignificantDigits:S},V={style:P(["best fit","numeric"]),units:P(["second","minute","hour","day","month","year","second-short","minute-short","hour-short","day-short","month-short","year-short"])},Y={style:P(["cardinal","ordinal"])},G=Object.keys(U),$={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},K=/[&><"']/g;function X(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 Q(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intl;p()(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Z(e,t){if(e===t)return!0;if("object"!==("undefined"===typeof e?"undefined":x(e))||null===e||"object"!==("undefined"===typeof t?"undefined":x(t))||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),o=0;o<n.length;o++)if(!i(n[o])||e[n[o]]!==t[n[o]])return!1;return!0}function J(e,t,n){var r=e.props,i=e.state,o=e.context,a=void 0===o?{}:o,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=a.intl,l=void 0===c?{}:c,s=u.intl,f=void 0===s?{}:s;return!Z(t,r)||!Z(n,i)||!(f===l||Z(X(f,G),X(l,G)))}function ee(e,t){return"[React Intl] "+e+(t?"\n"+t:"")}function te(e){0}var ne=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_(this,e);var r,i="ordinal"===n.style,o=(r=function(e){return a.a.prototype._resolveLocale(e)}(t),a.a.prototype._findPluralRuleFunction(r));this.format=function(e){return o(e,i)}},re=Object.keys(H),ie=Object.keys(q),oe=Object.keys(V),ae=Object.keys(Y),ue={second:60,minute:60,hour:24,day:30,month:12};function ce(e){var t=c.a.thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month,t["second-short"]=e["second-short"],t["minute-short"]=e["minute-short"],t["hour-short"]=e["hour-short"],t["day-short"]=e["day-short"],t["month-short"]=e["month-short"]}function le(e,t,n,r){var i=e&&e[t]&&e[t][n];if(i)return i;r(ee("No "+t+" format named: "+n))}function se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,o=e.formats,a=e.messages,u=e.defaultLocale,c=e.defaultFormats,l=n.id,s=n.defaultMessage;p()(l,"[React Intl] An `id` must be provided to format a message.");var f=a&&a[l];if(!(Object.keys(r).length>0))return f||s||l;var d=void 0,h=e.onError||te;if(f)try{d=t.getMessageFormat(f,i,o).format(r)}catch(v){h(ee('Error formatting message: "'+l+'" for locale: "'+i+'"'+(s?", using default message as fallback.":""),v))}else(!s||i&&i.toLowerCase()!==u.toLowerCase())&&h(ee('Missing message: "'+l+'" for locale: "'+i+'"'+(s?", using default message as fallback.":"")));if(!d&&s)try{d=t.getMessageFormat(s,u,c).format(r)}catch(v){h(ee('Error formatting the default message for: "'+l+'"',v))}return d||h(ee('Cannot format message: "'+l+'", using message '+(f||s?"source":"id")+" as fallback.")),d||f||s||l}var fe=Object.freeze({formatDate:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,o=e.formats,a=e.timeZone,u=r.format,c=e.onError||te,l=new Date(n),s=k({},a&&{timeZone:a},u&&le(o,"date",u,c)),f=X(r,re,s);try{return t.getDateTimeFormat(i,f).format(l)}catch(d){c(ee("Error formatting date.",d))}return String(l)},formatTime:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,o=e.formats,a=e.timeZone,u=r.format,c=e.onError||te,l=new Date(n),s=k({},a&&{timeZone:a},u&&le(o,"time",u,c)),f=X(r,re,s);f.hour||f.minute||f.second||(f=k({},f,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(i,f).format(l)}catch(d){c(ee("Error formatting time.",d))}return String(l)},formatRelative:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,o=e.formats,a=r.format,u=e.onError||te,l=new Date(n),s=new Date(r.now),f=a&&le(o,"relative",a,u),d=X(r,oe,f),h=k({},c.a.thresholds);ce(ue);try{return t.getRelativeFormat(i,d).format(l,{now:isFinite(s)?s:t.now()})}catch(p){u(ee("Error formatting relative time.",p))}finally{ce(h)}return String(l)},formatNumber:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,o=e.formats,a=r.format,u=e.onError||te,c=a&&le(o,"number",a,u),l=X(r,ie,c);try{return t.getNumberFormat(i,l).format(n)}catch(s){u(ee("Error formatting number.",s))}return String(n)},formatPlural:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,o=X(r,ae),a=e.onError||te;try{return t.getPluralFormat(i,o).format(n)}catch(u){a(ee("Error formatting plural.",u))}return"other"},formatMessage:se,formatHTMLMessage:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return se(e,t,n,Object.keys(r).reduce(function(e,t){var n=r[t];return e[t]="string"===typeof n?(""+n).replace(K,function(e){return $[e]}):n,e},{}))}}),de=Object.keys(U),he=Object.keys(B),pe={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:te},ve=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_(this,t);var r=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));p()("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 i=n.intl,o=void 0;o=isFinite(e.initialNow)?Number(e.initialNow):i?i.now():Date.now();var u=(i||{}).formatters,l=void 0===u?{getDateTimeFormat:m()(Intl.DateTimeFormat),getNumberFormat:m()(Intl.NumberFormat),getMessageFormat:m()(a.a),getRelativeFormat:m()(c.a),getPluralFormat:m()(ne)}:u;return r.state=k({},l,{now:function(){return r._didDisplay?Date.now():o}}),r}return O(t,e),w(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=X(this.props,de,e);for(var n in pe)void 0===t[n]&&(t[n]=pe[n]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(b(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var r=t,i=r.locale,o=r.defaultLocale,a=r.defaultFormats;(0,r.onError)(ee('Missing locale data for locale: "'+i+'". Using default locale: "'+o+'" as fallback.')),t=k({},t,{locale:o,formats:a,messages:pe.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return he.reduce(function(n,r){return n[r]=fe[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,i=function(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}(n,["now"]);return{intl:k({},e,t,{formatters:i,now:r})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return J.apply(void 0,[this].concat(t))}},{key:"componentDidMount",value:function(){this._didDisplay=!0}},{key:"render",value:function(){return f.Children.only(this.props.children)}}]),t}(f.Component);ve.displayName="IntlProvider",ve.contextTypes={intl:W},ve.childContextTypes={intl:W.isRequired};var me=function(e){function t(e,n){_(this,t);var r=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return Q(n),r}return O(t,e),w(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return J.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatDate,n=e.textComponent,r=this.props,i=r.value,o=r.children,a=t(i,this.props);return"function"===typeof o?o(a):d.a.createElement(n,null,a)}}]),t}(f.Component);me.displayName="FormattedDate",me.contextTypes={intl:W};var ye=function(e){function t(e,n){_(this,t);var r=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return Q(n),r}return O(t,e),w(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return J.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatTime,n=e.textComponent,r=this.props,i=r.value,o=r.children,a=t(i,this.props);return"function"===typeof o?o(a):d.a.createElement(n,null,a)}}]),t}(f.Component);ye.displayName="FormattedTime",ye.contextTypes={intl:W};var ge=1e3,be=6e4,xe=36e5,_e=864e5,we=2147483647;var ke=function(e){function t(e,n){_(this,t);var r=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));Q(n);var i=isFinite(e.initialNow)?Number(e.initialNow):n.intl.now();return r.state={now:i},r}return O(t,e),w(t,[{key:"scheduleNextUpdate",value:function(e,t){var n=this;clearTimeout(this._timer);var r=e.value,i=e.units,o=e.updateInterval,a=new Date(r).getTime();if(o&&isFinite(a)){var u=a-t.now,c=function(e){switch(e){case"second":return ge;case"minute":return be;case"hour":return xe;case"day":return _e;default:return we}}(i||function(e){var t=Math.abs(e);return t<be?"second":t<xe?"minute":t<_e?"hour":"day"}(u)),l=Math.abs(u%c),s=u<0?Math.max(o,c-l):Math.max(o,l);this._timer=setTimeout(function(){n.setState({now:n.context.intl.now()})},s)}}},{key:"componentDidMount",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentWillReceiveProps",value:function(e){(function(e,t){if(e===t)return!0;var n=new Date(e).getTime(),r=new Date(t).getTime();return isFinite(n)&&isFinite(r)&&n===r})(e.value,this.props.value)||this.setState({now:this.context.intl.now()})}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return J.apply(void 0,[this].concat(t))}},{key:"componentWillUpdate",value:function(e,t){this.scheduleNextUpdate(e,t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this._timer)}},{key:"render",value:function(){var e=this.context.intl,t=e.formatRelative,n=e.textComponent,r=this.props,i=r.value,o=r.children,a=t(i,k({},this.props,this.state));return"function"===typeof o?o(a):d.a.createElement(n,null,a)}}]),t}(f.Component);ke.displayName="FormattedRelative",ke.contextTypes={intl:W},ke.defaultProps={updateInterval:1e4};var Oe=function(e){function t(e,n){_(this,t);var r=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return Q(n),r}return O(t,e),w(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return J.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatNumber,n=e.textComponent,r=this.props,i=r.value,o=r.children,a=t(i,this.props);return"function"===typeof o?o(a):d.a.createElement(n,null,a)}}]),t}(f.Component);Oe.displayName="FormattedNumber",Oe.contextTypes={intl:W};var Te=function(e){function t(e,n){_(this,t);var r=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return Q(n),r}return O(t,e),w(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return J.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatPlural,n=e.textComponent,r=this.props,i=r.value,o=r.other,a=r.children,u=t(i,this.props),c=this.props[u]||o;return"function"===typeof a?a(c):d.a.createElement(n,null,c)}}]),t}(f.Component);Te.displayName="FormattedPlural",Te.contextTypes={intl:W},Te.defaultProps={style:"cardinal"};var Ee=function(e,t){return se({},{getMessageFormat:m()(a.a)},e,t)},Ce=function(e){function t(e,n){_(this,t);var r=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.defaultMessage||Q(n),r}return O(t,e),w(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!Z(e.values,t))return!0;for(var n=k({},e,{values:t}),r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return J.apply(void 0,[this,n].concat(i))}},{key:"render",value:function(){var e=this.context.intl||{},t=e.formatMessage,n=void 0===t?Ee:t,r=e.textComponent,i=void 0===r?"span":r,o=this.props,a=o.id,u=o.description,c=o.defaultMessage,l=o.values,s=o.tagName,d=void 0===s?i:s,h=o.children,p=void 0,v=void 0,m=void 0;if(l&&Object.keys(l).length>0){var y=Math.floor(1099511627776*Math.random()).toString(16),g=function(){var e=0;return function(){return"ELEMENT-"+y+"-"+(e+=1)}}();p="@__"+y+"__@",v={},m={},Object.keys(l).forEach(function(e){var t=l[e];if(Object(f.isValidElement)(t)){var n=g();v[e]=p+n+p,m[n]=t}else v[e]=t})}var b=n({id:a,description:u,defaultMessage:c},v||l),x=void 0;return x=m&&Object.keys(m).length>0?b.split(p).filter(function(e){return!!e}).map(function(e){return m[e]||e}):[b],"function"===typeof h?h.apply(void 0,E(x)):f.createElement.apply(void 0,[d,null].concat(E(x)))}}]),t}(f.Component);Ce.displayName="FormattedMessage",Ce.contextTypes={intl:W},Ce.defaultProps={values:{}};var Se=function(e){function t(e,n){_(this,t);var r=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return Q(n),r}return O(t,e),w(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!Z(e.values,t))return!0;for(var n=k({},e,{values:t}),r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return J.apply(void 0,[this,n].concat(i))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatHTMLMessage,n=e.textComponent,r=this.props,i=r.id,o=r.description,a=r.defaultMessage,u=r.values,c=r.tagName,l=void 0===c?n:c,s=r.children,f=t({id:i,description:o,defaultMessage:a},u);if("function"===typeof s)return s(f);var h={__html:f};return d.a.createElement(l,{dangerouslySetInnerHTML:h})}}]),t}(f.Component);Se.displayName="FormattedHTMLMessage",Se.contextTypes={intl:W},Se.defaultProps={values:{}},g(y),g(i.a)},function(e,t,n){"use strict";n.r(t);var r=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},i=function(e){var t;return 1===e.length&&(t=e,e=function(e,n){return r(t(e),n)}),{left:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var o=r+i>>>1;e(t[o],n)<0?r=o+1:i=o}return r},right:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var o=r+i>>>1;e(t[o],n)>0?i=o:r=o+1}return r}}};var o=i(r),a=o.right,u=o.left,c=a,l=function(e,t){null==t&&(t=s);for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return o};function s(e,t){return[e,t]}var f=function(e,t,n){var r,i,o,a,u=e.length,c=t.length,l=new Array(u*c);for(null==n&&(n=s),r=o=0;r<u;++r)for(a=e[r],i=0;i<c;++i,++o)l[o]=n(a,t[i]);return l},d=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},h=function(e){return null===e?NaN:+e},p=function(e,t){var n,r,i=e.length,o=0,a=-1,u=0,c=0;if(null==t)for(;++a<i;)isNaN(n=h(e[a]))||(c+=(r=n-u)*(n-(u+=r/++o)));else for(;++a<i;)isNaN(n=h(t(e[a],a,e)))||(c+=(r=n-u)*(n-(u+=r/++o)));if(o>1)return c/(o-1)},v=function(e,t){var n=p(e,t);return n?Math.sqrt(n):n},m=function(e,t){var n,r,i,o=e.length,a=-1;if(null==t){for(;++a<o;)if(null!=(n=e[a])&&n>=n)for(r=i=n;++a<o;)null!=(n=e[a])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++a<o;)if(null!=(n=t(e[a],a,e))&&n>=n)for(r=i=n;++a<o;)null!=(n=t(e[a],a,e))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]},y=Array.prototype,g=y.slice,b=y.map,x=function(e){return function(){return e}},_=function(e){return e},w=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o},k=Math.sqrt(50),O=Math.sqrt(10),T=Math.sqrt(2),E=function(e,t,n){var r,i,o,a,u=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(i=e,e=t,t=i),0===(a=C(e,t,n))||!isFinite(a))return[];if(a>0)for(e=Math.ceil(e/a),t=Math.floor(t/a),o=new Array(i=Math.ceil(t-e+1));++u<i;)o[u]=(e+u)*a;else for(e=Math.floor(e*a),t=Math.ceil(t*a),o=new Array(i=Math.ceil(e-t+1));++u<i;)o[u]=(e-u)/a;return r&&o.reverse(),o};function C(e,t,n){var r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=k?10:o>=O?5:o>=T?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=k?10:o>=O?5:o>=T?2:1)}function S(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=k?i*=10:o>=O?i*=5:o>=T&&(i*=2),t<e?-i:i}var M=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1},j=function(){var e=_,t=m,n=M;function r(r){var i,o,a=r.length,u=new Array(a);for(i=0;i<a;++i)u[i]=e(r[i],i,r);var l=t(u),s=l[0],f=l[1],d=n(u,s,f);Array.isArray(d)||(d=S(s,f,d),d=w(Math.ceil(s/d)*d,f,d));for(var h=d.length;d[0]<=s;)d.shift(),--h;for(;d[h-1]>f;)d.pop(),--h;var p,v=new Array(h+1);for(i=0;i<=h;++i)(p=v[i]=[]).x0=i>0?d[i-1]:s,p.x1=i<h?d[i]:f;for(i=0;i<a;++i)s<=(o=u[i])&&o<=f&&v[c(d,o,0,h)].push(r[i]);return v}return r.value=function(t){return arguments.length?(e="function"===typeof t?t:x(t),r):e},r.domain=function(e){return arguments.length?(t="function"===typeof e?e:x([e[0],e[1]]),r):t},r.thresholds=function(e){return arguments.length?(n="function"===typeof e?e:Array.isArray(e)?x(g.call(e)):x(e),r):n},r},N=function(e,t,n){if(null==n&&(n=h),r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),a=+n(e[o],o,e);return a+(+n(e[o+1],o+1,e)-a)*(i-o)}},P=function(e,t,n){return e=b.call(e,h).sort(r),Math.ceil((n-t)/(2*(N(e,.75)-N(e,.25))*Math.pow(e.length,-1/3)))},A=function(e,t,n){return Math.ceil((n-t)/(3.5*v(e)*Math.pow(e.length,-1/3)))},I=function(e,t){var n,r,i=e.length,o=-1;if(null==t){for(;++o<i;)if(null!=(n=e[o])&&n>=n)for(r=n;++o<i;)null!=(n=e[o])&&n>r&&(r=n)}else for(;++o<i;)if(null!=(n=t(e[o],o,e))&&n>=n)for(r=n;++o<i;)null!=(n=t(e[o],o,e))&&n>r&&(r=n);return r},R=function(e,t){var n,r=e.length,i=r,o=-1,a=0;if(null==t)for(;++o<r;)isNaN(n=h(e[o]))?--i:a+=n;else for(;++o<r;)isNaN(n=h(t(e[o],o,e)))?--i:a+=n;if(i)return a/i},z=function(e,t){var n,i=e.length,o=-1,a=[];if(null==t)for(;++o<i;)isNaN(n=h(e[o]))||a.push(n);else for(;++o<i;)isNaN(n=h(t(e[o],o,e)))||a.push(n);return N(a.sort(r),.5)},D=function(e){for(var t,n,r,i=e.length,o=-1,a=0;++o<i;)a+=e[o].length;for(n=new Array(a);--i>=0;)for(t=(r=e[i]).length;--t>=0;)n[--a]=r[t];return n},L=function(e,t){var n,r,i=e.length,o=-1;if(null==t){for(;++o<i;)if(null!=(n=e[o])&&n>=n)for(r=n;++o<i;)null!=(n=e[o])&&r>n&&(r=n)}else for(;++o<i;)if(null!=(n=t(e[o],o,e))&&n>=n)for(r=n;++o<i;)null!=(n=t(e[o],o,e))&&r>n&&(r=n);return r},F=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},U=function(e,t){if(n=e.length){var n,i,o=0,a=0,u=e[a];for(null==t&&(t=r);++o<n;)(t(i=e[o],u)<0||0!==t(u,u))&&(u=i,a=o);return 0===t(u,u)?a:void 0}},B=function(e,t,n){for(var r,i,o=(null==n?e.length:n)-(t=null==t?0:+t);o;)i=Math.random()*o--|0,r=e[o+t],e[o+t]=e[i+t],e[i+t]=r;return e},W=function(e,t){var n,r=e.length,i=-1,o=0;if(null==t)for(;++i<r;)(n=+e[i])&&(o+=n);else for(;++i<r;)(n=+t(e[i],i,e))&&(o+=n);return o},H=function(e){if(!(i=e.length))return[];for(var t=-1,n=L(e,q),r=new Array(n);++t<n;)for(var i,o=-1,a=r[t]=new Array(i);++o<i;)a[o]=e[o][t];return r};function q(e){return e.length}var V=function(){return H(arguments)},Y=Array.prototype.slice,G=function(e){return e},$=1,K=2,X=3,Q=4,Z=1e-6;function J(e){return"translate("+(e+.5)+",0)"}function ee(e){return"translate(0,"+(e+.5)+")"}function te(){return!this.__axis}function ne(e,t){var n=[],r=null,i=null,o=6,a=6,u=3,c=e===$||e===Q?-1:1,l=e===Q||e===K?"x":"y",s=e===$||e===X?J:ee;function f(f){var d=null==r?t.ticks?t.ticks.apply(t,n):t.domain():r,h=null==i?t.tickFormat?t.tickFormat.apply(t,n):G:i,p=Math.max(o,0)+u,v=t.range(),m=+v[0]+.5,y=+v[v.length-1]+.5,g=(t.bandwidth?function(e){var t=Math.max(0,e.bandwidth()-1)/2;return e.round()&&(t=Math.round(t)),function(n){return+e(n)+t}}:function(e){return function(t){return+e(t)}})(t.copy()),b=f.selection?f.selection():f,x=b.selectAll(".domain").data([null]),_=b.selectAll(".tick").data(d,t).order(),w=_.exit(),k=_.enter().append("g").attr("class","tick"),O=_.select("line"),T=_.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),_=_.merge(k),O=O.merge(k.append("line").attr("stroke","currentColor").attr(l+"2",c*o)),T=T.merge(k.append("text").attr("fill","currentColor").attr(l,c*p).attr("dy",e===$?"0em":e===X?"0.71em":"0.32em")),f!==b&&(x=x.transition(f),_=_.transition(f),O=O.transition(f),T=T.transition(f),w=w.transition(f).attr("opacity",Z).attr("transform",function(e){return isFinite(e=g(e))?s(e):this.getAttribute("transform")}),k.attr("opacity",Z).attr("transform",function(e){var t=this.parentNode.__axis;return s(t&&isFinite(t=t(e))?t:g(e))})),w.remove(),x.attr("d",e===Q||e==K?a?"M"+c*a+","+m+"H0.5V"+y+"H"+c*a:"M0.5,"+m+"V"+y:a?"M"+m+","+c*a+"V0.5H"+y+"V"+c*a:"M"+m+",0.5H"+y),_.attr("opacity",1).attr("transform",function(e){return s(g(e))}),O.attr(l+"2",c*o),T.attr(l,c*p).text(h),b.filter(te).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===K?"start":e===Q?"end":"middle"),b.each(function(){this.__axis=g})}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Y.call(arguments),f},f.tickArguments=function(e){return arguments.length?(n=null==e?[]:Y.call(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=null==e?null:Y.call(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(o=a=+e,f):o},f.tickSizeInner=function(e){return arguments.length?(o=+e,f):o},f.tickSizeOuter=function(e){return arguments.length?(a=+e,f):a},f.tickPadding=function(e){return arguments.length?(u=+e,f):u},f}function re(e){return ne($,e)}function ie(e){return ne(K,e)}function oe(e){return ne(X,e)}function ae(e){return ne(Q,e)}var ue={value:function(){}};function ce(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r)throw new Error("illegal type: "+e);r[e]=[]}return new le(r)}function le(e){this._=e}function se(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function fe(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=ue,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}le.prototype=ce.prototype={constructor:le,on:function(e,t){var n,r,i=this._,o=(r=i,(e+"").trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})),a=-1,u=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!==typeof t)throw new Error("invalid callback: "+t);for(;++a<u;)if(n=(e=o[a]).type)i[n]=fe(i[n],e.name,t);else if(null==t)for(n in i)i[n]=fe(i[n],e.name,null);return this}for(;++a<u;)if((n=(e=o[a]).type)&&(n=se(i[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new le(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};var de=ce,he="http://www.w3.org/1999/xhtml",pe={svg:"http://www.w3.org/2000/svg",xhtml:he,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},ve=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),pe.hasOwnProperty(t)?{space:pe[t],local:e}:e};var me=function(e){var t=ve(e);return(t.local?function(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}:function(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===he&&t.documentElement.namespaceURI===he?t.createElement(e):t.createElementNS(n,e)}})(t)};function ye(){}var ge=function(e){return null==e?ye:function(){return this.querySelector(e)}};function be(){return[]}var xe=function(e){return null==e?be:function(){return this.querySelectorAll(e)}},_e=function(e){return function(){return this.matches(e)}},we=function(e){return new Array(e.length)};function ke(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}ke.prototype={constructor:ke,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var Oe="$";function Te(e,t,n,r,i,o){for(var a,u=0,c=t.length,l=o.length;u<l;++u)(a=t[u])?(a.__data__=o[u],r[u]=a):n[u]=new ke(e,o[u]);for(;u<c;++u)(a=t[u])&&(i[u]=a)}function Ee(e,t,n,r,i,o,a){var u,c,l,s={},f=t.length,d=o.length,h=new Array(f);for(u=0;u<f;++u)(c=t[u])&&(h[u]=l=Oe+a.call(c,c.__data__,u,t),l in s?i[u]=c:s[l]=c);for(u=0;u<d;++u)(c=s[l=Oe+a.call(e,o[u],u,o)])?(r[u]=c,c.__data__=o[u],s[l]=null):n[u]=new ke(e,o[u]);for(u=0;u<f;++u)(c=t[u])&&s[h[u]]===c&&(i[u]=c)}function Ce(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}var Se=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView};function Me(e,t){return e.style.getPropertyValue(t)||Se(e).getComputedStyle(e,null).getPropertyValue(t)}function je(e){return e.trim().split(/^|\s+/)}function Ne(e){return e.classList||new Pe(e)}function Pe(e){this._node=e,this._names=je(e.getAttribute("class")||"")}function Ae(e,t){for(var n=Ne(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function Ie(e,t){for(var n=Ne(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}Pe.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Re(){this.textContent=""}function ze(){this.innerHTML=""}function De(){this.nextSibling&&this.parentNode.appendChild(this)}function Le(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Fe(){return null}function Ue(){var e=this.parentNode;e&&e.removeChild(this)}function Be(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function We(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}var He={},qe=null;"undefined"!==typeof document&&("onmouseenter"in document.documentElement||(He={mouseenter:"mouseover",mouseleave:"mouseout"}));function Ve(e,t,n){return e=Ye(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function Ye(e,t,n){return function(r){var i=qe;qe=r;try{e.call(this,this.__data__,t,n)}finally{qe=i}}}function Ge(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,o=t.length;r<o;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?t.length=i:delete this.__on}}}function $e(e,t,n){var r=He.hasOwnProperty(e.type)?Ve:Ye;return function(i,o,a){var u,c=this.__on,l=r(t,o,a);if(c)for(var s=0,f=c.length;s<f;++s)if((u=c[s]).type===e.type&&u.name===e.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=l,u.capture=n),void(u.value=t);this.addEventListener(e.type,l,n),u={type:e.type,name:e.name,value:t,listener:l,capture:n},c?c.push(u):this.__on=[u]}}function Ke(e,t,n,r){var i=qe;e.sourceEvent=qe,qe=e;try{return t.apply(n,r)}finally{qe=i}}function Xe(e,t,n){var r=Se(e),i=r.CustomEvent;"function"===typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}var Qe=[null];function Ze(e,t){this._groups=e,this._parents=t}function Je(){return new Ze([[document.documentElement]],Qe)}Ze.prototype=Je.prototype={constructor:Ze,select:function(e){"function"!==typeof e&&(e=ge(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a,u=t[i],c=u.length,l=r[i]=new Array(c),s=0;s<c;++s)(o=u[s])&&(a=e.call(o,o.__data__,s,u))&&("__data__"in o&&(a.__data__=o.__data__),l[s]=a);return new Ze(r,this._parents)},selectAll:function(e){"function"!==typeof e&&(e=xe(e));for(var t=this._groups,n=t.length,r=[],i=[],o=0;o<n;++o)for(var a,u=t[o],c=u.length,l=0;l<c;++l)(a=u[l])&&(r.push(e.call(a,a.__data__,l,u)),i.push(a));return new Ze(r,i)},filter:function(e){"function"!==typeof e&&(e=_e(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],u=a.length,c=r[i]=[],l=0;l<u;++l)(o=a[l])&&e.call(o,o.__data__,l,a)&&c.push(o);return new Ze(r,this._parents)},data:function(e,t){if(!e)return p=new Array(this.size()),s=-1,this.each(function(e){p[++s]=e}),p;var n,r=t?Ee:Te,i=this._parents,o=this._groups;"function"!==typeof e&&(n=e,e=function(){return n});for(var a=o.length,u=new Array(a),c=new Array(a),l=new Array(a),s=0;s<a;++s){var f=i[s],d=o[s],h=d.length,p=e.call(f,f&&f.__data__,s,i),v=p.length,m=c[s]=new Array(v),y=u[s]=new Array(v);r(f,d,m,y,l[s]=new Array(h),p,t);for(var g,b,x=0,_=0;x<v;++x)if(g=m[x]){for(x>=_&&(_=x+1);!(b=y[_])&&++_<v;);g._next=b||null}}return(u=new Ze(u,i))._enter=c,u._exit=l,u},enter:function(){return new Ze(this._enter||this._groups.map(we),this._parents)},exit:function(){return new Ze(this._exit||this._groups.map(we),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,o=this.exit();return r="function"===typeof e?e(r):r.append(e+""),null!=t&&(i=t(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(e){for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var c,l=t[u],s=n[u],f=l.length,d=a[u]=new Array(f),h=0;h<f;++h)(c=l[h]||s[h])&&(d[h]=c);for(;u<r;++u)a[u]=t[u];return new Ze(a,this._parents)},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=Ce);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,u=n[o],c=u.length,l=i[o]=new Array(c),s=0;s<c;++s)(a=u[s])&&(l[s]=a);l.sort(t)}return new Ze(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var e=0;return this.each(function(){++e}),e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,o=t[n],a=0,u=o.length;a<u;++a)(i=o[a])&&e.call(i,i.__data__,a,o);return this},attr:function(e,t){var n=ve(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}}:"function"===typeof t?n.local?function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}:function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}:n.local?function(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}:function(e,t){return function(){this.setAttribute(e,t)}})(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"===typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):Me(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"===typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]},classed:function(e,t){var n=je(e+"");if(arguments.length<2){for(var r=Ne(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"===typeof t?function(e,t){return function(){(t.apply(this,arguments)?Ae:Ie)(this,e)}}:t?function(e){return function(){Ae(this,e)}}:function(e){return function(){Ie(this,e)}})(n,t))},text:function(e){return arguments.length?this.each(null==e?Re:("function"===typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?ze:("function"===typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML},raise:function(){return this.each(De)},lower:function(){return this.each(Le)},append:function(e){var t="function"===typeof e?e:me(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})},insert:function(e,t){var n="function"===typeof e?e:me(e),r=null==t?Fe:"function"===typeof t?t:ge(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(Ue)},clone:function(e){return this.select(e?We:Be)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,o=function(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}(e+""),a=o.length;if(!(arguments.length<2)){for(u=t?$e:Ge,null==n&&(n=!1),r=0;r<a;++r)this.each(u(o[r],t,n));return this}var u=this.node().__on;if(u)for(var c,l=0,s=u.length;l<s;++l)for(r=0,c=u[l];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(e,t){return this.each(("function"===typeof t?function(e,t){return function(){return Xe(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return Xe(this,e,t)}})(e,t))}};var et=Je,tt=function(e){return"string"===typeof e?new Ze([[document.querySelector(e)]],[document.documentElement]):new Ze([[e]],Qe)},nt=function(e){return tt(me(e).call(document.documentElement))},rt=0;function it(){return new ot}function ot(){this._="@"+(++rt).toString(36)}ot.prototype=it.prototype={constructor:ot,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};var at=function(){for(var e,t=qe;e=t.sourceEvent;)t=e;return t},ut=function(e,t){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]},ct=function(e){var t=at();return t.changedTouches&&(t=t.changedTouches[0]),ut(e,t)},lt=function(e){return"string"===typeof e?new Ze([document.querySelectorAll(e)],[document.documentElement]):new Ze([null==e?[]:e],Qe)},st=function(e,t,n){arguments.length<3&&(n=t,t=at().changedTouches);for(var r,i=0,o=t?t.length:0;i<o;++i)if((r=t[i]).identifier===n)return ut(e,r);return null},ft=function(e,t){null==t&&(t=at().touches);for(var n=0,r=t?t.length:0,i=new Array(r);n<r;++n)i[n]=ut(e,t[n]);return i};function dt(){qe.stopImmediatePropagation()}var ht=function(){qe.preventDefault(),qe.stopImmediatePropagation()},pt=function(e){var t=e.document.documentElement,n=tt(e).on("dragstart.drag",ht,!0);"onselectstart"in t?n.on("selectstart.drag",ht,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")};function vt(e,t){var n=e.document.documentElement,r=tt(e).on("dragstart.drag",null);t&&(r.on("click.drag",ht,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var mt=function(e){return function(){return e}};function yt(e,t,n,r,i,o,a,u,c,l){this.target=e,this.type=t,this.subject=n,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=u,this.dy=c,this._=l}function gt(){return!qe.button}function bt(){return this.parentNode}function xt(e){return null==e?{x:qe.x,y:qe.y}:e}function _t(){return"ontouchstart"in this}yt.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};var wt=function(){var e,t,n,r,i=gt,o=bt,a=xt,u=_t,c={},l=de("start","drag","end"),s=0,f=0;function d(e){e.on("mousedown.drag",h).filter(u).on("touchstart.drag",m).on("touchmove.drag",y).on("touchend.drag touchcancel.drag",g).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function h(){if(!r&&i.apply(this,arguments)){var a=b("mouse",o.apply(this,arguments),ct,this,arguments);a&&(tt(qe.view).on("mousemove.drag",p,!0).on("mouseup.drag",v,!0),pt(qe.view),dt(),n=!1,e=qe.clientX,t=qe.clientY,a("start"))}}function p(){if(ht(),!n){var r=qe.clientX-e,i=qe.clientY-t;n=r*r+i*i>f}c.mouse("drag")}function v(){tt(qe.view).on("mousemove.drag mouseup.drag",null),vt(qe.view,n),ht(),c.mouse("end")}function m(){if(i.apply(this,arguments)){var e,t,n=qe.changedTouches,r=o.apply(this,arguments),a=n.length;for(e=0;e<a;++e)(t=b(n[e].identifier,r,st,this,arguments))&&(dt(),t("start"))}}function y(){var e,t,n=qe.changedTouches,r=n.length;for(e=0;e<r;++e)(t=c[n[e].identifier])&&(ht(),t("drag"))}function g(){var e,t,n=qe.changedTouches,i=n.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),e=0;e<i;++e)(t=c[n[e].identifier])&&(dt(),t("end"))}function b(e,t,n,r,i){var o,u,f,h=n(t,e),p=l.copy();if(Ke(new yt(d,"beforestart",o,e,s,h[0],h[1],0,0,p),function(){return null!=(qe.subject=o=a.apply(r,i))&&(u=o.x-h[0]||0,f=o.y-h[1]||0,!0)}))return function a(l){var v,m=h;switch(l){case"start":c[e]=a,v=s++;break;case"end":delete c[e],--s;case"drag":h=n(t,e),v=s}Ke(new yt(d,l,o,e,v,h[0]+u,h[1]+f,h[0]-m[0],h[1]-m[1],p),p.apply,p,[l,r,i])}}return d.filter=function(e){return arguments.length?(i="function"===typeof e?e:mt(!!e),d):i},d.container=function(e){return arguments.length?(o="function"===typeof e?e:mt(e),d):o},d.subject=function(e){return arguments.length?(a="function"===typeof e?e:mt(e),d):a},d.touchable=function(e){return arguments.length?(u="function"===typeof e?e:mt(!!e),d):u},d.on=function(){var e=l.on.apply(l,arguments);return e===l?d:e},d.clickDistance=function(e){return arguments.length?(f=(e=+e)*e,d):Math.sqrt(f)},d},kt=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e};function Ot(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Tt(){}var Et="\\s*([+-]?\\d+)\\s*",Ct="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",St="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Mt=/^#([0-9a-f]{3})$/,jt=/^#([0-9a-f]{6})$/,Nt=new RegExp("^rgb\\("+[Et,Et,Et]+"\\)$"),Pt=new RegExp("^rgb\\("+[St,St,St]+"\\)$"),At=new RegExp("^rgba\\("+[Et,Et,Et,Ct]+"\\)$"),It=new RegExp("^rgba\\("+[St,St,St,Ct]+"\\)$"),Rt=new RegExp("^hsl\\("+[Ct,St,St]+"\\)$"),zt=new RegExp("^hsla\\("+[Ct,St,St,Ct]+"\\)$"),Dt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Lt(e){var t;return e=(e+"").trim().toLowerCase(),(t=Mt.exec(e))?new Ht((t=parseInt(t[1],16))>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=jt.exec(e))?Ft(parseInt(t[1],16)):(t=Nt.exec(e))?new Ht(t[1],t[2],t[3],1):(t=Pt.exec(e))?new Ht(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=At.exec(e))?Ut(t[1],t[2],t[3],t[4]):(t=It.exec(e))?Ut(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Rt.exec(e))?Vt(t[1],t[2]/100,t[3]/100,1):(t=zt.exec(e))?Vt(t[1],t[2]/100,t[3]/100,t[4]):Dt.hasOwnProperty(e)?Ft(Dt[e]):"transparent"===e?new Ht(NaN,NaN,NaN,0):null}function Ft(e){return new Ht(e>>16&255,e>>8&255,255&e,1)}function Ut(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ht(e,t,n,r)}function Bt(e){return e instanceof Tt||(e=Lt(e)),e?new Ht((e=e.rgb()).r,e.g,e.b,e.opacity):new Ht}function Wt(e,t,n,r){return 1===arguments.length?Bt(e):new Ht(e,t,n,null==r?1:r)}function Ht(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function qt(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Vt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Gt(e,t,n,r)}function Yt(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Gt)return new Gt(e.h,e.s,e.l,e.opacity);if(e instanceof Tt||(e=Lt(e)),!e)return new Gt;if(e instanceof Gt)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,u=o-i,c=(o+i)/2;return u?(a=t===o?(n-r)/u+6*(n<r):n===o?(r-t)/u+2:(t-n)/u+4,u/=c<.5?o+i:2-o-i,a*=60):u=c>0&&c<1?0:a,new Gt(a,u,c,e.opacity)}(e):new Gt(e,t,n,null==r?1:r)}function Gt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function $t(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}kt(Tt,Lt,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),kt(Ht,Wt,Ot(Tt,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Ht(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Ht(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+qt(this.r)+qt(this.g)+qt(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),kt(Gt,Yt,Ot(Tt,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Gt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Gt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Ht($t(e>=240?e-240:e+120,i,r),$t(e,i,r),$t(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var Kt=Math.PI/180,Xt=180/Math.PI,Qt=.96422,Zt=1,Jt=.82521,en=4/29,tn=6/29,nn=3*tn*tn,rn=tn*tn*tn;function on(e){if(e instanceof cn)return new cn(e.l,e.a,e.b,e.opacity);if(e instanceof mn){if(isNaN(e.h))return new cn(e.l,0,0,e.opacity);var t=e.h*Kt;return new cn(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Ht||(e=Bt(e));var n,r,i=dn(e.r),o=dn(e.g),a=dn(e.b),u=ln((.2225045*i+.7168786*o+.0606169*a)/Zt);return i===o&&o===a?n=r=u:(n=ln((.4360747*i+.3850649*o+.1430804*a)/Qt),r=ln((.0139322*i+.0971045*o+.7141733*a)/Jt)),new cn(116*u-16,500*(n-u),200*(u-r),e.opacity)}function an(e,t){return new cn(e,0,0,null==t?1:t)}function un(e,t,n,r){return 1===arguments.length?on(e):new cn(e,t,n,null==r?1:r)}function cn(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function ln(e){return e>rn?Math.pow(e,1/3):e/nn+en}function sn(e){return e>tn?e*e*e:nn*(e-en)}function fn(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function dn(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function hn(e){if(e instanceof mn)return new mn(e.h,e.c,e.l,e.opacity);if(e instanceof cn||(e=on(e)),0===e.a&&0===e.b)return new mn(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Xt;return new mn(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function pn(e,t,n,r){return 1===arguments.length?hn(e):new mn(n,t,e,null==r?1:r)}function vn(e,t,n,r){return 1===arguments.length?hn(e):new mn(e,t,n,null==r?1:r)}function mn(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}kt(cn,un,Ot(Tt,{brighter:function(e){return new cn(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new cn(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Ht(fn(3.1338561*(t=Qt*sn(t))-1.6168667*(e=Zt*sn(e))-.4906146*(n=Jt*sn(n))),fn(-.9787684*t+1.9161415*e+.033454*n),fn(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),kt(mn,vn,Ot(Tt,{brighter:function(e){return new mn(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new mn(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return on(this).rgb()}}));var yn=-.29227,gn=-.90649,bn=1.97294,xn=bn*gn,_n=1.78277*bn,wn=1.78277*yn- -.14861*gn;function kn(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof On)return new On(e.h,e.s,e.l,e.opacity);e instanceof Ht||(e=Bt(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(wn*r+xn*t-_n*n)/(wn+xn-_n),o=r-i,a=(bn*(n-i)-yn*o)/gn,u=Math.sqrt(a*a+o*o)/(bn*i*(1-i)),c=u?Math.atan2(a,o)*Xt-120:NaN;return new On(c<0?c+360:c,u,i,e.opacity)}(e):new On(e,t,n,null==r?1:r)}function On(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Tn(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}kt(On,kn,Ot(Tt,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new On(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new On(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Kt,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Ht(255*(t+n*(-.14861*r+1.78277*i)),255*(t+n*(yn*r+gn*i)),255*(t+n*(bn*r)),this.opacity)}}));var En=function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,u=r<t-1?e[r+2]:2*o-i;return Tn((n-r/t)*t,a,i,o,u)}},Cn=function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],o=e[r%t],a=e[(r+1)%t],u=e[(r+2)%t];return Tn((n-r/t)*t,i,o,a,u)}},Sn=function(e){return function(){return e}};function Mn(e,t){return function(n){return e+n*t}}function jn(e,t){var n=t-e;return n?Mn(e,n>180||n<-180?n-360*Math.round(n/360):n):Sn(isNaN(e)?t:e)}function Nn(e){return 1===(e=+e)?Pn:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Sn(isNaN(t)?n:t)}}function Pn(e,t){var n=t-e;return n?Mn(e,n):Sn(isNaN(e)?t:e)}var An=function e(t){var n=Nn(t);function r(e,t){var r=n((e=Wt(e)).r,(t=Wt(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=Pn(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function In(e){return function(t){var n,r,i=t.length,o=new Array(i),a=new Array(i),u=new Array(i);for(n=0;n<i;++n)r=Wt(t[n]),o[n]=r.r||0,a[n]=r.g||0,u[n]=r.b||0;return o=e(o),a=e(a),u=e(u),r.opacity=1,function(e){return r.r=o(e),r.g=a(e),r.b=u(e),r+""}}}var Rn=In(En),zn=In(Cn),Dn=function(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=$n(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<i;++n)a[n]=o[n](e);return a}},Ln=function(e,t){var n=new Date;return t-=e=+e,function(r){return n.setTime(e+t*r),n}},Fn=function(e,t){return t-=e=+e,function(n){return e+t*n}},Un=function(e,t){var n,r={},i={};for(n in null!==e&&"object"===typeof e||(e={}),null!==t&&"object"===typeof t||(t={}),t)n in e?r[n]=$n(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}},Bn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Wn=new RegExp(Bn.source,"g");var Hn,qn,Vn,Yn,Gn=function(e,t){var n,r,i,o=Bn.lastIndex=Wn.lastIndex=0,a=-1,u=[],c=[];for(e+="",t+="";(n=Bn.exec(e))&&(r=Wn.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,c.push({i:a,x:Fn(n,r)})),o=Wn.lastIndex;return o<t.length&&(i=t.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)u[(n=c[r]).i]=n.x(e);return u.join("")})},$n=function(e,t){var n,r=typeof t;return null==t||"boolean"===r?Sn(t):("number"===r?Fn:"string"===r?(n=Lt(t))?(t=n,An):Gn:t instanceof Lt?An:t instanceof Date?Ln:Array.isArray(t)?Dn:"function"!==typeof t.valueOf&&"function"!==typeof t.toString||isNaN(t)?Un:Fn)(e,t)},Kn=function(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}},Xn=function(e,t){var n=jn(+e,+t);return function(e){var t=n(e);return t-360*Math.floor(t/360)}},Qn=function(e,t){return t-=e=+e,function(n){return Math.round(e+t*n)}},Zn=180/Math.PI,Jn={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},er=function(e,t,n,r,i,o){var a,u,c;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(c=e*n+t*r)&&(n-=e*c,r-=t*c),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,c/=u),e*r<t*n&&(e=-e,t=-t,c=-c,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*Zn,skewX:Math.atan(c)*Zn,scaleX:a,scaleY:u}};function tr(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(o,a){var u=[],c=[];return o=e(o),a=e(a),function(e,r,i,o,a,u){if(e!==i||r!==o){var c=a.push("translate(",null,t,null,n);u.push({i:c-4,x:Fn(e,i)},{i:c-2,x:Fn(r,o)})}else(i||o)&&a.push("translate("+i+t+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,u,c),function(e,t,n,o){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Fn(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(o.rotate,a.rotate,u,c),function(e,t,n,o){e!==t?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Fn(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(o.skewX,a.skewX,u,c),function(e,t,n,r,o,a){if(e!==n||t!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:Fn(e,n)},{i:u-2,x:Fn(t,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,c),o=a=null,function(e){for(var t,n=-1,r=c.length;++n<r;)u[(t=c[n]).i]=t.x(e);return u.join("")}}}var nr=tr(function(e){return"none"===e?Jn:(Hn||(Hn=document.createElement("DIV"),qn=document.documentElement,Vn=document.defaultView),Hn.style.transform=e,e=Vn.getComputedStyle(qn.appendChild(Hn),null).getPropertyValue("transform"),qn.removeChild(Hn),e=e.slice(7,-1).split(","),er(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))},"px, ","px)","deg)"),rr=tr(function(e){return null==e?Jn:(Yn||(Yn=document.createElementNS("http://www.w3.org/2000/svg","g")),Yn.setAttribute("transform",e),(e=Yn.transform.baseVal.consolidate())?(e=e.matrix,er(e.a,e.b,e.c,e.d,e.e,e.f)):Jn)},", ",")",")"),ir=Math.SQRT2;function or(e){return((e=Math.exp(e))+1/e)/2}var ar=function(e,t){var n,r,i=e[0],o=e[1],a=e[2],u=t[0],c=t[1],l=t[2],s=u-i,f=c-o,d=s*s+f*f;if(d<1e-12)r=Math.log(l/a)/ir,n=function(e){return[i+e*s,o+e*f,a*Math.exp(ir*e*r)]};else{var h=Math.sqrt(d),p=(l*l-a*a+4*d)/(2*a*2*h),v=(l*l-a*a-4*d)/(2*l*2*h),m=Math.log(Math.sqrt(p*p+1)-p),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-m)/ir,n=function(e){var t,n=e*r,u=or(m),c=a/(2*h)*(u*(t=ir*n+m,((t=Math.exp(2*t))-1)/(t+1))-function(e){return((e=Math.exp(e))-1/e)/2}(m));return[i+c*s,o+c*f,a*u/or(ir*n+m)]}}return n.duration=1e3*r,n};function ur(e){return function(t,n){var r=e((t=Yt(t)).h,(n=Yt(n)).h),i=Pn(t.s,n.s),o=Pn(t.l,n.l),a=Pn(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=i(e),t.l=o(e),t.opacity=a(e),t+""}}}var cr=ur(jn),lr=ur(Pn);function sr(e,t){var n=Pn((e=un(e)).l,(t=un(t)).l),r=Pn(e.a,t.a),i=Pn(e.b,t.b),o=Pn(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=i(t),e.opacity=o(t),e+""}}function fr(e){return function(t,n){var r=e((t=vn(t)).h,(n=vn(n)).h),i=Pn(t.c,n.c),o=Pn(t.l,n.l),a=Pn(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=o(e),t.opacity=a(e),t+""}}}var dr=fr(jn),hr=fr(Pn);function pr(e){return function t(n){function r(t,r){var i=e((t=kn(t)).h,(r=kn(r)).h),o=Pn(t.s,r.s),a=Pn(t.l,r.l),u=Pn(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=u(e),t+""}}return n=+n,r.gamma=t,r}(1)}var vr=pr(jn),mr=pr(Pn);function yr(e,t){for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return o[t](e-t)}}var gr,br,xr=function(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e(r/(t-1));return n},_r=0,wr=0,kr=0,Or=1e3,Tr=0,Er=0,Cr=0,Sr="object"===typeof performance&&performance.now?performance:Date,Mr="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function jr(){return Er||(Mr(Nr),Er=Sr.now()+Cr)}function Nr(){Er=0}function Pr(){this._call=this._time=this._next=null}function Ar(e,t,n){var r=new Pr;return r.restart(e,t,n),r}function Ir(){jr(),++_r;for(var e,t=gr;t;)(e=Er-t._time)>=0&&t._call.call(null,e),t=t._next;--_r}function Rr(){Er=(Tr=Sr.now())+Cr,_r=wr=0;try{Ir()}finally{_r=0,function(){var e,t,n=gr,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:gr=t);br=e,Dr(r)}(),Er=0}}function zr(){var e=Sr.now(),t=e-Tr;t>Or&&(Cr-=t,Tr=e)}function Dr(e){_r||(wr&&(wr=clearTimeout(wr)),e-Er>24?(e<1/0&&(wr=setTimeout(Rr,e-Sr.now()-Cr)),kr&&(kr=clearInterval(kr))):(kr||(Tr=Sr.now(),kr=setInterval(zr,Or)),_r=1,Mr(Rr)))}Pr.prototype=Ar.prototype={constructor:Pr,restart:function(e,t,n){if("function"!==typeof e)throw new TypeError("callback is not a function");n=(null==n?jr():+n)+(null==t?0:+t),this._next||br===this||(br?br._next=this:gr=this,br=this),this._call=e,this._time=n,Dr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Dr())}};var Lr=function(e,t,n){var r=new Pr;return t=null==t?0:+t,r.restart(function(n){r.stop(),e(n+t)},t,n),r},Fr=function(e,t,n){var r=new Pr,i=t;return null==t?(r.restart(e,t,n),r):(t=+t,n=null==n?jr():+n,r.restart(function o(a){a+=i,r.restart(o,i+=t,n),e(a)},t,n),r)},Ur=de("start","end","cancel","interrupt"),Br=[],Wr=0,Hr=1,qr=2,Vr=3,Yr=4,Gr=5,$r=6,Kr=function(e,t,n,r,i,o){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(c){var l,s,f,d;if(n.state!==Hr)return u();for(l in i)if((d=i[l]).name===n.name){if(d.state===Vr)return Lr(o);d.state===Yr?(d.state=$r,d.timer.stop(),d.on.call("interrupt",e,e.__data__,d.index,d.group),delete i[l]):+l<t&&(d.state=$r,d.timer.stop(),d.on.call("cancel",e,e.__data__,d.index,d.group),delete i[l])}if(Lr(function(){n.state===Vr&&(n.state=Yr,n.timer.restart(a,n.delay,n.time),a(c))}),n.state=qr,n.on.call("start",e,e.__data__,n.index,n.group),n.state===qr){for(n.state=Vr,r=new Array(f=n.tween.length),l=0,s=-1;l<f;++l)(d=n.tween[l].value.call(e,e.__data__,n.index,n.group))&&(r[++s]=d);r.length=s+1}}function a(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(u),n.state=Gr,1),o=-1,a=r.length;++o<a;)r[o].call(e,i);n.state===Gr&&(n.on.call("end",e,e.__data__,n.index,n.group),u())}function u(){for(var r in n.state=$r,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=Ar(function(e){n.state=Hr,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)},0,n.time)}(e,n,{name:t,index:r,group:i,on:Ur,tween:Br,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Wr})};function Xr(e,t){var n=Zr(e,t);if(n.state>Wr)throw new Error("too late; already scheduled");return n}function Qr(e,t){var n=Zr(e,t);if(n.state>Vr)throw new Error("too late; already running");return n}function Zr(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}var Jr=function(e,t){var n,r,i,o=e.__transition,a=!0;if(o){for(i in t=null==t?null:t+"",o)(n=o[i]).name===t?(r=n.state>qr&&n.state<Gr,n.state=$r,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete e.__transition}};function ei(e,t,n){var r=e._id;return e.each(function(){var e=Qr(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)}),function(e){return Zr(e,r).value[t]}}var ti=function(e,t){var n;return("number"===typeof t?Fn:t instanceof Lt?An:(n=Lt(t))?(t=n,An):Gn)(e,t)};var ni=et.prototype.constructor;function ri(e){return function(){this.style.removeProperty(e)}}var ii=0;function oi(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function ai(e){return et().transition(e)}function ui(){return++ii}var ci=et.prototype;function li(e){return+e}function si(e){return e*e}function fi(e){return e*(2-e)}function di(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function hi(e){return e*e*e}function pi(e){return--e*e*e+1}function vi(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}oi.prototype=ai.prototype={constructor:oi,select:function(e){var t=this._name,n=this._id;"function"!==typeof e&&(e=ge(e));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var u,c,l=r[a],s=l.length,f=o[a]=new Array(s),d=0;d<s;++d)(u=l[d])&&(c=e.call(u,u.__data__,d,l))&&("__data__"in u&&(c.__data__=u.__data__),f[d]=c,Kr(f[d],t,n,d,f,Zr(u,n)));return new oi(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!==typeof e&&(e=xe(e));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var c,l=r[u],s=l.length,f=0;f<s;++f)if(c=l[f]){for(var d,h=e.call(c,c.__data__,f,l),p=Zr(c,n),v=0,m=h.length;v<m;++v)(d=h[v])&&Kr(d,t,n,v,h,p);o.push(h),a.push(c)}return new oi(o,a,t,n)},filter:function(e){"function"!==typeof e&&(e=_e(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var o,a=t[i],u=a.length,c=r[i]=[],l=0;l<u;++l)(o=a[l])&&e.call(o,o.__data__,l,a)&&c.push(o);return new oi(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var c,l=t[u],s=n[u],f=l.length,d=a[u]=new Array(f),h=0;h<f;++h)(c=l[h]||s[h])&&(d[h]=c);for(;u<r;++u)a[u]=t[u];return new oi(a,this._parents,this._name,this._id)},selection:function(){return new ni(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=ui(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],c=u.length,l=0;l<c;++l)if(a=u[l]){var s=Zr(a,t);Kr(a,e,n,l,u,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new oi(r,this._parents,e,n)},call:ci.call,nodes:ci.nodes,node:ci.node,size:ci.size,empty:ci.empty,each:ci.each,on:function(e,t){var n=this._id;return arguments.length<2?Zr(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,o=function(e){return(e+"").trim().split(/^|\s+/).every(function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e})}(t)?Xr:Qr;return function(){var a=o(this,e),u=a.on;u!==r&&(i=(r=u).copy()).on(t,n),a.on=i}}(n,e,t))},attr:function(e,t){var n=ve(e),r="transform"===n?rr:ti;return this.attrTween(e,"function"===typeof t?(n.local?function(e,t,n){var r,i,o;return function(){var a,u,c=n(this);if(null!=c)return(a=this.getAttributeNS(e.space,e.local))===(u=c+"")?null:a===r&&u===i?o:(i=u,o=t(r=a,c));this.removeAttributeNS(e.space,e.local)}}:function(e,t,n){var r,i,o;return function(){var a,u,c=n(this);if(null!=c)return(a=this.getAttribute(e))===(u=c+"")?null:a===r&&u===i?o:(i=u,o=t(r=a,c));this.removeAttribute(e)}})(n,r,ei(this,"attr."+e,t)):null==t?(n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}})(n):(n.local?function(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===o?null:a===r?i:i=t(r=a,n)}}:function(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttribute(e);return a===o?null:a===r?i:i=t(r=a,n)}})(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!==typeof t)throw new Error;var r=ve(e);return this.tween(n,(r.local?function(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t(n))}}(e,i)),n}return i._value=t,i}:function(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t(n))}}(e,i)),n}return i._value=t,i})(r,t))},style:function(e,t,n){var r="transform"===(e+="")?nr:ti;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=Me(this,e),a=(this.style.removeProperty(e),Me(this,e));return o===a?null:o===n&&a===r?i:i=t(n=o,r=a)}}(e,r)).on("end.style."+e,ri(e)):"function"===typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var a=Me(this,e),u=n(this),c=u+"";return null==u&&(this.style.removeProperty(e),c=u=Me(this,e)),a===c?null:a===r&&c===i?o:(i=c,o=t(r=a,u))}}(e,r,ei(this,"style."+e,t))).each(function(e,t){var n,r,i,o,a="style."+t,u="end."+a;return function(){var c=Qr(this,e),l=c.on,s=null==c.value[a]?o||(o=ri(t)):void 0;l===n&&i===s||(r=(n=l).copy()).on(u,i=s),c.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,o=n+"";return function(){var a=Me(this,e);return a===o?null:a===r?i:i=t(r=a,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!==typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e,t,n){return function(r){this.style.setProperty(e,t(r),n)}}(e,o,n)),r}return o._value=t,o}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"===typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(ei(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},remove:function(){return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}));var e},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=Zr(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===e)return r.value;return null}return this.each((null==t?function(e,t){var n,r;return function(){var i=Qr(this,e),o=i.tween;if(o!==n)for(var a=0,u=(r=n=o).length;a<u;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}i.tween=r}}:function(e,t,n){var r,i;if("function"!==typeof n)throw new Error;return function(){var o=Qr(this,e),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:t,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===t){i[c]=u;break}c===l&&i.push(u)}o.tween=i}})(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"===typeof e?function(e,t){return function(){Xr(this,e).delay=+t.apply(this,arguments)}}:function(e,t){return t=+t,function(){Xr(this,e).delay=t}})(t,e)):Zr(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"===typeof e?function(e,t){return function(){Qr(this,e).duration=+t.apply(this,arguments)}}:function(e,t){return t=+t,function(){Qr(this,e).duration=t}})(t,e)):Zr(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!==typeof t)throw new Error;return function(){Qr(this,e).ease=t}}(t,e)):Zr(this.node(),t).ease},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(o,a){var u={value:a},c={value:function(){0===--i&&o()}};n.each(function(){var n=Qr(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(u),t._.interrupt.push(u),t._.end.push(c)),n.on=t})})}};var mi=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),yi=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),gi=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),bi=Math.PI,xi=bi/2;function _i(e){return 1-Math.cos(e*xi)}function wi(e){return Math.sin(e*xi)}function ki(e){return(1-Math.cos(bi*e))/2}function Oi(e){return Math.pow(2,10*e-10)}function Ti(e){return 1-Math.pow(2,-10*e)}function Ei(e){return((e*=2)<=1?Math.pow(2,10*e-10):2-Math.pow(2,10-10*e))/2}function Ci(e){return 1-Math.sqrt(1-e*e)}function Si(e){return Math.sqrt(1- --e*e)}function Mi(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var ji=4/11,Ni=6/11,Pi=8/11,Ai=.75,Ii=9/11,Ri=10/11,zi=.9375,Di=21/22,Li=63/64,Fi=1/ji/ji;function Ui(e){return 1-Bi(1-e)}function Bi(e){return(e=+e)<ji?Fi*e*e:e<Pi?Fi*(e-=Ni)*e+Ai:e<Ri?Fi*(e-=Ii)*e+zi:Fi*(e-=Di)*e+Li}function Wi(e){return((e*=2)<=1?1-Bi(1-e):Bi(e-1)+1)/2}var Hi=function e(t){function n(e){return e*e*((t+1)*e-t)}return t=+t,n.overshoot=e,n}(1.70158),qi=function e(t){function n(e){return--e*e*((t+1)*e+t)+1}return t=+t,n.overshoot=e,n}(1.70158),Vi=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(1.70158),Yi=2*Math.PI,Gi=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Yi);function i(e){return t*Math.pow(2,10*--e)*Math.sin((r-e)/n)}return i.amplitude=function(t){return e(t,n*Yi)},i.period=function(n){return e(t,n)},i}(1,.3),$i=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Yi);function i(e){return 1-t*Math.pow(2,-10*(e=+e))*Math.sin((e+r)/n)}return i.amplitude=function(t){return e(t,n*Yi)},i.period=function(n){return e(t,n)},i}(1,.3),Ki=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=Yi);function i(e){return((e=2*e-1)<0?t*Math.pow(2,10*e)*Math.sin((r-e)/n):2-t*Math.pow(2,-10*e)*Math.sin((r+e)/n))/2}return i.amplitude=function(t){return e(t,n*Yi)},i.period=function(n){return e(t,n)},i}(1,.3),Xi={time:null,delay:0,duration:250,ease:vi};function Qi(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))return Xi.time=jr(),Xi;return n}et.prototype.interrupt=function(e){return this.each(function(){Jr(this,e)})},et.prototype.transition=function(e){var t,n;e instanceof oi?(t=e._id,e=e._name):(t=ui(),(n=Xi).time=jr(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],c=u.length,l=0;l<c;++l)(a=u[l])&&Kr(a,e,t,l,u,n||Qi(a,t));return new oi(r,this._parents,e,t)};var Zi=[null],Ji=function(e,t){var n,r,i=e.__transition;if(i)for(r in t=null==t?null:t+"",i)if((n=i[r]).state>Hr&&n.name===t)return new oi([[e]],Zi,t,+r);return null},eo=function(e){return function(){return e}},to=function(e,t,n){this.target=e,this.type=t,this.selection=n};function no(){qe.stopImmediatePropagation()}var ro=function(){qe.preventDefault(),qe.stopImmediatePropagation()},io={name:"drag"},oo={name:"space"},ao={name:"handle"},uo={name:"center"},co={name:"x",handles:["e","w"].map(yo),input:function(e,t){return e&&[[e[0],t[0][1]],[e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},lo={name:"y",handles:["n","s"].map(yo),input:function(e,t){return e&&[[t[0][0],e[0]],[t[1][0],e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}},so={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(yo),input:function(e){return e},output:function(e){return e}},fo={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},ho={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},po={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},vo={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},mo={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function yo(e){return{type:e}}function go(){return!qe.button}function bo(){var e=this.ownerSVGElement||this;return[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]}function xo(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function _o(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}function wo(e){var t=e.__brush;return t?t.dim.output(t.selection):null}function ko(){return Eo(co)}function Oo(){return Eo(lo)}var To=function(){return Eo(so)};function Eo(e){var t,n=bo,r=go,i=de(a,"start","brush","end"),o=6;function a(t){var n=t.property("__brush",f).selectAll(".overlay").data([yo("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",fo.overlay).merge(n).each(function(){var e=xo(this).extent;tt(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])}),t.selectAll(".selection").data([yo("selection")]).enter().append("rect").attr("class","selection").attr("cursor",fo.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=t.selectAll(".handle").data(e.handles,function(e){return e.type});r.exit().remove(),r.enter().append("rect").attr("class",function(e){return"handle handle--"+e.type}).attr("cursor",function(e){return fo[e.type]}),t.each(u).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",s)}function u(){var e=tt(this),t=xo(this).selection;t?(e.selectAll(".selection").style("display",null).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1]),e.selectAll(".handle").style("display",null).attr("x",function(e){return"e"===e.type[e.type.length-1]?t[1][0]-o/2:t[0][0]-o/2}).attr("y",function(e){return"s"===e.type[0]?t[1][1]-o/2:t[0][1]-o/2}).attr("width",function(e){return"n"===e.type||"s"===e.type?t[1][0]-t[0][0]+o:o}).attr("height",function(e){return"e"===e.type||"w"===e.type?t[1][1]-t[0][1]+o:o})):e.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function c(e,t){return e.__brush.emitter||new l(e,t)}function l(e,t){this.that=e,this.args=t,this.state=e.__brush,this.active=0}function s(){if(qe.touches){if(qe.changedTouches.length<qe.touches.length)return ro()}else if(t)return;if(r.apply(this,arguments)){var n,i,o,a,l,s,f,d,h,p,v,m,y,g=this,b=qe.target.__data__.type,x="selection"===(qe.metaKey?b="overlay":b)?io:qe.altKey?uo:ao,_=e===lo?null:vo[b],w=e===co?null:mo[b],k=xo(g),O=k.extent,T=k.selection,E=O[0][0],C=O[0][1],S=O[1][0],M=O[1][1],j=_&&w&&qe.shiftKey,N=ct(g),P=N,A=c(g,arguments).beforestart();"overlay"===b?k.selection=T=[[n=e===lo?E:N[0],o=e===co?C:N[1]],[l=e===lo?S:n,f=e===co?M:o]]:(n=T[0][0],o=T[0][1],l=T[1][0],f=T[1][1]),i=n,a=o,s=l,d=f;var I=tt(g).attr("pointer-events","none"),R=I.selectAll(".overlay").attr("cursor",fo[b]);if(qe.touches)I.on("touchmove.brush",D,!0).on("touchend.brush touchcancel.brush",F,!0);else{var z=tt(qe.view).on("keydown.brush",function(){switch(qe.keyCode){case 16:j=_&&w;break;case 18:x===ao&&(_&&(l=s-h*_,n=i+h*_),w&&(f=d-p*w,o=a+p*w),x=uo,L());break;case 32:x!==ao&&x!==uo||(_<0?l=s-h:_>0&&(n=i-h),w<0?f=d-p:w>0&&(o=a-p),x=oo,R.attr("cursor",fo.selection),L());break;default:return}ro()},!0).on("keyup.brush",function(){switch(qe.keyCode){case 16:j&&(m=y=j=!1,L());break;case 18:x===uo&&(_<0?l=s:_>0&&(n=i),w<0?f=d:w>0&&(o=a),x=ao,L());break;case 32:x===oo&&(qe.altKey?(_&&(l=s-h*_,n=i+h*_),w&&(f=d-p*w,o=a+p*w),x=uo):(_<0?l=s:_>0&&(n=i),w<0?f=d:w>0&&(o=a),x=ao),R.attr("cursor",fo[b]),L());break;default:return}ro()},!0).on("mousemove.brush",D,!0).on("mouseup.brush",F,!0);pt(qe.view)}no(),Jr(g),u.call(g),A.start()}function D(){var e=ct(g);!j||m||y||(Math.abs(e[0]-P[0])>Math.abs(e[1]-P[1])?y=!0:m=!0),P=e,v=!0,ro(),L()}function L(){var e;switch(h=P[0]-N[0],p=P[1]-N[1],x){case oo:case io:_&&(h=Math.max(E-n,Math.min(S-l,h)),i=n+h,s=l+h),w&&(p=Math.max(C-o,Math.min(M-f,p)),a=o+p,d=f+p);break;case ao:_<0?(h=Math.max(E-n,Math.min(S-n,h)),i=n+h,s=l):_>0&&(h=Math.max(E-l,Math.min(S-l,h)),i=n,s=l+h),w<0?(p=Math.max(C-o,Math.min(M-o,p)),a=o+p,d=f):w>0&&(p=Math.max(C-f,Math.min(M-f,p)),a=o,d=f+p);break;case uo:_&&(i=Math.max(E,Math.min(S,n-h*_)),s=Math.max(E,Math.min(S,l+h*_))),w&&(a=Math.max(C,Math.min(M,o-p*w)),d=Math.max(C,Math.min(M,f+p*w)))}s<i&&(_*=-1,e=n,n=l,l=e,e=i,i=s,s=e,b in ho&&R.attr("cursor",fo[b=ho[b]])),d<a&&(w*=-1,e=o,o=f,f=e,e=a,a=d,d=e,b in po&&R.attr("cursor",fo[b=po[b]])),k.selection&&(T=k.selection),m&&(i=T[0][0],s=T[1][0]),y&&(a=T[0][1],d=T[1][1]),T[0][0]===i&&T[0][1]===a&&T[1][0]===s&&T[1][1]===d||(k.selection=[[i,a],[s,d]],u.call(g),A.brush())}function F(){if(no(),qe.touches){if(qe.touches.length)return;t&&clearTimeout(t),t=setTimeout(function(){t=null},500),I.on("touchmove.brush touchend.brush touchcancel.brush",null)}else vt(qe.view,v),z.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);I.attr("pointer-events","all"),R.attr("cursor",fo.overlay),k.selection&&(T=k.selection),_o(T)&&(k.selection=null,u.call(g)),A.end()}}function f(){var t=this.__brush||{selection:null};return t.extent=n.apply(this,arguments),t.dim=e,t}return a.move=function(t,n){t.selection?t.on("start.brush",function(){c(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){c(this,arguments).end()}).tween("brush",function(){var t=this,r=t.__brush,i=c(t,arguments),o=r.selection,a=e.input("function"===typeof n?n.apply(this,arguments):n,r.extent),l=$n(o,a);function s(e){r.selection=1===e&&_o(a)?null:l(e),u.call(t),i.brush()}return o&&a?s:s(1)}):t.each(function(){var t=arguments,r=this.__brush,i=e.input("function"===typeof n?n.apply(this,t):n,r.extent),o=c(this,t).beforestart();Jr(this),r.selection=null==i||_o(i)?null:i,u.call(this),o.start().brush().end()})},l.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0===--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(t){Ke(new to(a,t,e.output(this.state.selection)),i.apply,i,[t,this.that,this.args])}},a.extent=function(e){return arguments.length?(n="function"===typeof e?e:eo([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),a):n},a.filter=function(e){return arguments.length?(r="function"===typeof e?e:eo(!!e),a):r},a.handleSize=function(e){return arguments.length?(o=+e,a):o},a.on=function(){var e=i.on.apply(i,arguments);return e===i?a:e},a}var Co=Math.cos,So=Math.sin,Mo=Math.PI,jo=Mo/2,No=2*Mo,Po=Math.max;var Ao=function(){var e=0,t=null,n=null,r=null;function i(i){var o,a,u,c,l,s,f=i.length,d=[],h=w(f),p=[],v=[],m=v.groups=new Array(f),y=new Array(f*f);for(o=0,l=-1;++l<f;){for(a=0,s=-1;++s<f;)a+=i[l][s];d.push(a),p.push(w(f)),o+=a}for(t&&h.sort(function(e,n){return t(d[e],d[n])}),n&&p.forEach(function(e,t){e.sort(function(e,r){return n(i[t][e],i[t][r])})}),c=(o=Po(0,No-e*f)/o)?e:No/f,a=0,l=-1;++l<f;){for(u=a,s=-1;++s<f;){var g=h[l],b=p[g][s],x=i[g][b],_=a,k=a+=x*o;y[b*f+g]={index:g,subindex:b,startAngle:_,endAngle:k,value:x}}m[g]={index:g,startAngle:u,endAngle:a,value:d[g]},a+=c}for(l=-1;++l<f;)for(s=l-1;++s<f;){var O=y[s*f+l],T=y[l*f+s];(O.value||T.value)&&v.push(O.value<T.value?{source:T,target:O}:{source:O,target:T})}return r?v.sort(r):v}return i.padAngle=function(t){return arguments.length?(e=Po(0,t),i):e},i.sortGroups=function(e){return arguments.length?(t=e,i):t},i.sortSubgroups=function(e){return arguments.length?(n=e,i):n},i.sortChords=function(e){return arguments.length?(null==e?r=null:(t=e,r=function(e,n){return t(e.source.value+e.target.value,n.source.value+n.target.value)})._=e,i):r&&r._;var t},i},Io=Array.prototype.slice,Ro=function(e){return function(){return e}},zo=Math.PI,Do=2*zo,Lo=Do-1e-6;function Fo(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Uo(){return new Fo}Fo.prototype=Uo.prototype={constructor:Fo,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,o){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,n,r,i){e=+e,t=+t,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,u=n-e,c=r-t,l=o-e,s=a-t,f=l*l+s*s;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>1e-6)if(Math.abs(s*u-c*l)>1e-6&&i){var d=n-o,h=r-a,p=u*u+c*c,v=d*d+h*h,m=Math.sqrt(p),y=Math.sqrt(f),g=i*Math.tan((zo-Math.acos((p+f-v)/(2*m*y)))/2),b=g/y,x=g/m;Math.abs(b-1)>1e-6&&(this._+="L"+(e+b*l)+","+(t+b*s)),this._+="A"+i+","+i+",0,0,"+ +(s*d>l*h)+","+(this._x1=e+x*u)+","+(this._y1=t+x*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,i,o){e=+e,t=+t;var a=(n=+n)*Math.cos(r),u=n*Math.sin(r),c=e+a,l=t+u,s=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&(this._+="L"+c+","+l),n&&(f<0&&(f=f%Do+Do),f>Lo?this._+="A"+n+","+n+",0,1,"+s+","+(e-a)+","+(t-u)+"A"+n+","+n+",0,1,"+s+","+(this._x1=c)+","+(this._y1=l):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=zo)+","+s+","+(this._x1=e+n*Math.cos(i))+","+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Bo=Uo;function Wo(e){return e.source}function Ho(e){return e.target}function qo(e){return e.radius}function Vo(e){return e.startAngle}function Yo(e){return e.endAngle}var Go=function(){var e=Wo,t=Ho,n=qo,r=Vo,i=Yo,o=null;function a(){var a,u=Io.call(arguments),c=e.apply(this,u),l=t.apply(this,u),s=+n.apply(this,(u[0]=c,u)),f=r.apply(this,u)-jo,d=i.apply(this,u)-jo,h=s*Co(f),p=s*So(f),v=+n.apply(this,(u[0]=l,u)),m=r.apply(this,u)-jo,y=i.apply(this,u)-jo;if(o||(o=a=Bo()),o.moveTo(h,p),o.arc(0,0,s,f,d),f===m&&d===y||(o.quadraticCurveTo(0,0,v*Co(m),v*So(m)),o.arc(0,0,v,m,y)),o.quadraticCurveTo(0,0,h,p),o.closePath(),a)return o=null,a+""||null}return a.radius=function(e){return arguments.length?(n="function"===typeof e?e:Ro(+e),a):n},a.startAngle=function(e){return arguments.length?(r="function"===typeof e?e:Ro(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"===typeof e?e:Ro(+e),a):i},a.source=function(t){return arguments.length?(e=t,a):e},a.target=function(e){return arguments.length?(t=e,a):t},a.context=function(e){return arguments.length?(o=null==e?null:e,a):o},a};function $o(){}function Ko(e,t){var n=new $o;if(e instanceof $o)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,i=-1,o=e.length;if(null==t)for(;++i<o;)n.set(i,e[i]);else for(;++i<o;)n.set(t(r=e[i],i,e),r)}else if(e)for(var a in e)n.set(a,e[a]);return n}$o.prototype=Ko.prototype={constructor:$o,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var Xo=Ko,Qo=function(){var e,t,n,r=[],i=[];function o(n,i,a,u){if(i>=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var c,l,s,f=-1,d=n.length,h=r[i++],p=Xo(),v=a();++f<d;)(s=p.get(c=h(l=n[f])+""))?s.push(l):p.set(c,[l]);return p.each(function(e,t){u(v,t,o(e,i,a,u))}),v}return n={object:function(e){return o(e,0,Zo,Jo)},map:function(e){return o(e,0,ea,ta)},entries:function(e){return function e(n,o){if(++o>r.length)return n;var a,u=i[o-1];return null!=t&&o>=r.length?a=n.entries():(a=[],n.each(function(t,n){a.push({key:n,values:e(t,o)})})),null!=u?a.sort(function(e,t){return u(e.key,t.key)}):a}(o(e,0,ea,ta),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return i[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}};function Zo(){return{}}function Jo(e,t,n){e[t]=n}function ea(){return Xo()}function ta(e,t,n){e.set(t,n)}function na(){}var ra=Xo.prototype;function ia(e,t){var n=new na;if(e instanceof na)e.each(function(e){n.add(e)});else if(e){var r=-1,i=e.length;if(null==t)for(;++r<i;)n.add(e[r]);else for(;++r<i;)n.add(t(e[r],r,e))}return n}na.prototype=ia.prototype={constructor:na,has:ra.has,add:function(e){return this["$"+(e+="")]=e,this},remove:ra.remove,clear:ra.clear,values:ra.keys,size:ra.size,empty:ra.empty,each:ra.each};var oa=ia,aa=function(e){var t=[];for(var n in e)t.push(n);return t},ua=function(e){var t=[];for(var n in e)t.push(e[n]);return t},ca=function(e){var t=[];for(var n in e)t.push({key:n,value:e[n]});return t},la=Array.prototype.slice,sa=function(e,t){return e-t},fa=function(e){for(var t=0,n=e.length,r=e[n-1][1]*e[0][0]-e[n-1][0]*e[0][1];++t<n;)r+=e[t-1][1]*e[t][0]-e[t-1][0]*e[t][1];return r},da=function(e){return function(){return e}},ha=function(e,t){for(var n,r=-1,i=t.length;++r<i;)if(n=pa(e,t[r]))return n;return 0};function pa(e,t){for(var n=t[0],r=t[1],i=-1,o=0,a=e.length,u=a-1;o<a;u=o++){var c=e[o],l=c[0],s=c[1],f=e[u],d=f[0],h=f[1];if(va(c,f,t))return 0;s>r!==h>r&&n<(d-l)*(r-s)/(h-s)+l&&(i=-i)}return i}function va(e,t,n){var r,i,o,a;return function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])===(n[0]-e[0])*(t[1]-e[1])}(e,t,n)&&(i=e[r=+(e[0]===t[0])],o=n[r],a=t[r],i<=o&&o<=a||a<=o&&o<=i)}var ma=function(){},ya=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],ga=function(){var e=1,t=1,n=M,r=u;function i(e){var t=n(e);if(Array.isArray(t))t=t.slice().sort(sa);else{var r=m(e),i=r[0],a=r[1];t=S(i,a,t),t=w(Math.floor(i/t)*t,Math.floor(a/t)*t,t)}return t.map(function(t){return o(e,t)})}function o(n,i){var o=[],u=[];return function(n,r,i){var o,u,c,l,s,f,d=new Array,h=new Array;o=u=-1,l=n[0]>=r,ya[l<<1].forEach(p);for(;++o<e-1;)c=l,l=n[o+1]>=r,ya[c|l<<1].forEach(p);ya[l<<0].forEach(p);for(;++u<t-1;){for(o=-1,l=n[u*e+e]>=r,s=n[u*e]>=r,ya[l<<1|s<<2].forEach(p);++o<e-1;)c=l,l=n[u*e+e+o+1]>=r,f=s,s=n[u*e+o+1]>=r,ya[c|l<<1|s<<2|f<<3].forEach(p);ya[l|s<<3].forEach(p)}o=-1,s=n[u*e]>=r,ya[s<<2].forEach(p);for(;++o<e-1;)f=s,s=n[u*e+o+1]>=r,ya[s<<2|f<<3].forEach(p);function p(e){var t,n,r=[e[0][0]+o,e[0][1]+u],c=[e[1][0]+o,e[1][1]+u],l=a(r),s=a(c);(t=h[l])?(n=d[s])?(delete h[t.end],delete d[n.start],t===n?(t.ring.push(c),i(t.ring)):d[t.start]=h[n.end]={start:t.start,end:n.end,ring:t.ring.concat(n.ring)}):(delete h[t.end],t.ring.push(c),h[t.end=s]=t):(t=d[s])?(n=h[l])?(delete d[t.start],delete h[n.end],t===n?(t.ring.push(c),i(t.ring)):d[n.start]=h[t.end]={start:n.start,end:t.end,ring:n.ring.concat(t.ring)}):(delete d[t.start],t.ring.unshift(r),d[t.start=l]=t):d[l]=h[s]={start:l,end:s,ring:[r,c]}}ya[s<<3].forEach(p)}(n,i,function(e){r(e,n,i),fa(e)>0?o.push([e]):u.push(e)}),u.forEach(function(e){for(var t,n=0,r=o.length;n<r;++n)if(-1!==ha((t=o[n])[0],e))return void t.push(e)}),{type:"MultiPolygon",value:i,coordinates:o}}function a(t){return 2*t[0]+t[1]*(e+1)*4}function u(n,r,i){n.forEach(function(n){var o,a=n[0],u=n[1],c=0|a,l=0|u,s=r[l*e+c];a>0&&a<e&&c===a&&(o=r[l*e+c-1],n[0]=a+(i-o)/(s-o)-.5),u>0&&u<t&&l===u&&(o=r[(l-1)*e+c],n[1]=u+(i-o)/(s-o)-.5)})}return i.contour=o,i.size=function(n){if(!arguments.length)return[e,t];var r=Math.ceil(n[0]),o=Math.ceil(n[1]);if(!(r>0)||!(o>0))throw new Error("invalid size");return e=r,t=o,i},i.thresholds=function(e){return arguments.length?(n="function"===typeof e?e:Array.isArray(e)?da(la.call(e)):da(e),i):n},i.smooth=function(e){return arguments.length?(r=e?u:ma,i):r===u},i};function ba(e,t,n){for(var r=e.width,i=e.height,o=1+(n<<1),a=0;a<i;++a)for(var u=0,c=0;u<r+n;++u)u<r&&(c+=e.data[u+a*r]),u>=n&&(u>=o&&(c-=e.data[u-o+a*r]),t.data[u-n+a*r]=c/Math.min(u+1,r-1+o-u,o))}function xa(e,t,n){for(var r=e.width,i=e.height,o=1+(n<<1),a=0;a<r;++a)for(var u=0,c=0;u<i+n;++u)u<i&&(c+=e.data[a+u*r]),u>=n&&(u>=o&&(c-=e.data[a+(u-o)*r]),t.data[a+(u-n)*r]=c/Math.min(u+1,i-1+o-u,o))}function _a(e){return e[0]}function wa(e){return e[1]}function ka(){return 1}var Oa=function(){var e=_a,t=wa,n=ka,r=960,i=500,o=20,a=2,u=3*o,c=r+2*u>>a,l=i+2*u>>a,s=da(20);function f(r){var i=new Float32Array(c*l),f=new Float32Array(c*l);r.forEach(function(r,o,s){var f=+e(r,o,s)+u>>a,d=+t(r,o,s)+u>>a,h=+n(r,o,s);f>=0&&f<c&&d>=0&&d<l&&(i[f+d*c]+=h)}),ba({width:c,height:l,data:i},{width:c,height:l,data:f},o>>a),xa({width:c,height:l,data:f},{width:c,height:l,data:i},o>>a),ba({width:c,height:l,data:i},{width:c,height:l,data:f},o>>a),xa({width:c,height:l,data:f},{width:c,height:l,data:i},o>>a),ba({width:c,height:l,data:i},{width:c,height:l,data:f},o>>a),xa({width:c,height:l,data:f},{width:c,height:l,data:i},o>>a);var h=s(i);if(!Array.isArray(h)){var p=I(i);h=S(0,p,h),(h=w(0,Math.floor(p/h)*h,h)).shift()}return ga().thresholds(h).size([c,l])(i).map(d)}function d(e){return e.value*=Math.pow(2,-2*a),e.coordinates.forEach(h),e}function h(e){e.forEach(p)}function p(e){e.forEach(v)}function v(e){e[0]=e[0]*Math.pow(2,a)-u,e[1]=e[1]*Math.pow(2,a)-u}function m(){return c=r+2*(u=3*o)>>a,l=i+2*u>>a,f}return f.x=function(t){return arguments.length?(e="function"===typeof t?t:da(+t),f):e},f.y=function(e){return arguments.length?(t="function"===typeof e?e:da(+e),f):t},f.weight=function(e){return arguments.length?(n="function"===typeof e?e:da(+e),f):n},f.size=function(e){if(!arguments.length)return[r,i];var t=Math.ceil(e[0]),n=Math.ceil(e[1]);if(!(t>=0)&&!(t>=0))throw new Error("invalid size");return r=t,i=n,m()},f.cellSize=function(e){if(!arguments.length)return 1<<a;if(!((e=+e)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(e)/Math.LN2),m()},f.thresholds=function(e){return arguments.length?(s="function"===typeof e?e:Array.isArray(e)?da(la.call(e)):da(e),f):s},f.bandwidth=function(e){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((e=+e)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*e*e+1)-1)/2),m()},f},Ta={},Ea={},Ca=34,Sa=10,Ma=13;function ja(e){return new Function("d","return {"+e.map(function(e,t){return JSON.stringify(e)+": d["+t+"]"}).join(",")+"}")}var Na=function(e){var t=new RegExp('["'+e+"\n\r]"),n=e.charCodeAt(0);function r(e,t){var r,i=[],o=e.length,a=0,u=0,c=o<=0,l=!1;function s(){if(c)return Ea;if(l)return l=!1,Ta;var t,r,i=a;if(e.charCodeAt(i)===Ca){for(;a++<o&&e.charCodeAt(a)!==Ca||e.charCodeAt(++a)===Ca;);return(t=a)>=o?c=!0:(r=e.charCodeAt(a++))===Sa?l=!0:r===Ma&&(l=!0,e.charCodeAt(a)===Sa&&++a),e.slice(i+1,t-1).replace(/""/g,'"')}for(;a<o;){if((r=e.charCodeAt(t=a++))===Sa)l=!0;else if(r===Ma)l=!0,e.charCodeAt(a)===Sa&&++a;else if(r!==n)continue;return e.slice(i,t)}return c=!0,e.slice(i,o)}for(e.charCodeAt(o-1)===Sa&&--o,e.charCodeAt(o-1)===Ma&&--o;(r=s())!==Ea;){for(var f=[];r!==Ta&&r!==Ea;)f.push(r),r=s();t&&null==(f=t(f,u++))||i.push(f)}return i}function i(t){return t.map(o).join(e)}function o(e){return null==e?"":t.test(e+="")?'"'+e.replace(/"/g,'""')+'"':e}return{parse:function(e,t){var n,i,o=r(e,function(e,r){if(n)return n(e,r-1);i=e,n=t?function(e,t){var n=ja(e);return function(r,i){return t(n(r),i,e)}}(e,t):ja(e)});return o.columns=i||[],o},parseRows:r,format:function(t,n){return null==n&&(n=function(e){var t=Object.create(null),n=[];return e.forEach(function(e){for(var r in e)r in t||n.push(t[r]=r)}),n}(t)),[n.map(o).join(e)].concat(t.map(function(t){return n.map(function(e){return o(t[e])}).join(e)})).join("\n")},formatRows:function(e){return e.map(i).join("\n")}}},Pa=Na(","),Aa=Pa.parse,Ia=Pa.parseRows,Ra=Pa.format,za=Pa.formatRows,Da=Na("\t"),La=Da.parse,Fa=Da.parseRows,Ua=Da.format,Ba=Da.formatRows;function Wa(e){if(!e.ok)throw new Error(e.status+" "+e.statusText);return e.blob()}var Ha=function(e,t){return fetch(e,t).then(Wa)};function qa(e){if(!e.ok)throw new Error(e.status+" "+e.statusText);return e.arrayBuffer()}var Va=function(e,t){return fetch(e,t).then(qa)};function Ya(e){if(!e.ok)throw new Error(e.status+" "+e.statusText);return e.text()}var Ga=function(e,t){return fetch(e,t).then(Ya)};function $a(e){return function(t,n,r){return 2===arguments.length&&"function"===typeof n&&(r=n,n=void 0),Ga(t,n).then(function(t){return e(t,r)})}}function Ka(e,t,n,r){3===arguments.length&&"function"===typeof n&&(r=n,n=void 0);var i=Na(e);return Ga(t,n).then(function(e){return i.parse(e,r)})}var Xa=$a(Aa),Qa=$a(La),Za=function(e,t){return new Promise(function(n,r){var i=new Image;for(var o in t)i[o]=t[o];i.onerror=r,i.onload=function(){n(i)},i.src=e})};function Ja(e){if(!e.ok)throw new Error(e.status+" "+e.statusText);return e.json()}var eu=function(e,t){return fetch(e,t).then(Ja)};function tu(e){return function(t,n){return Ga(t,n).then(function(t){return(new DOMParser).parseFromString(t,e)})}}var nu=tu("application/xml"),ru=tu("text/html"),iu=tu("image/svg+xml"),ou=function(e,t){var n;function r(){var r,i,o=n.length,a=0,u=0;for(r=0;r<o;++r)a+=(i=n[r]).x,u+=i.y;for(a=a/o-e,u=u/o-t,r=0;r<o;++r)(i=n[r]).x-=a,i.y-=u}return null==e&&(e=0),null==t&&(t=0),r.initialize=function(e){n=e},r.x=function(t){return arguments.length?(e=+t,r):e},r.y=function(e){return arguments.length?(t=+e,r):t},r},au=function(e){return function(){return e}},uu=function(){return 1e-6*(Math.random()-.5)};function cu(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var i,o,a,u,c,l,s,f,d,h=e._root,p={data:r},v=e._x0,m=e._y0,y=e._x1,g=e._y1;if(!h)return e._root=p,e;for(;h.length;)if((l=t>=(o=(v+y)/2))?v=o:y=o,(s=n>=(a=(m+g)/2))?m=a:g=a,i=h,!(h=h[f=s<<1|l]))return i[f]=p,e;if(u=+e._x.call(null,h.data),c=+e._y.call(null,h.data),t===u&&n===c)return p.next=h,i?i[f]=p:e._root=p,e;do{i=i?i[f]=new Array(4):e._root=new Array(4),(l=t>=(o=(v+y)/2))?v=o:y=o,(s=n>=(a=(m+g)/2))?m=a:g=a}while((f=s<<1|l)===(d=(c>=a)<<1|u>=o));return i[d]=h,i[f]=p,e}var lu=function(e,t,n,r,i){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=i};function su(e){return e[0]}function fu(e){return e[1]}function du(e,t,n){var r=new hu(null==t?su:t,null==n?fu:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}function hu(e,t,n,r,i,o){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function pu(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var vu=du.prototype=hu.prototype;function mu(e){return e.x+e.vx}function yu(e){return e.y+e.vy}vu.copy=function(){var e,t,n=new hu(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=pu(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var i=0;i<4;++i)(t=r.source[i])&&(t.length?e.push({source:t,target:r.target[i]=new Array(4)}):r.target[i]=pu(t));return n},vu.add=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return cu(this.cover(t,n),t,n,e)},vu.addAll=function(e){var t,n,r,i,o=e.length,a=new Array(o),u=new Array(o),c=1/0,l=1/0,s=-1/0,f=-1/0;for(n=0;n<o;++n)isNaN(r=+this._x.call(null,t=e[n]))||isNaN(i=+this._y.call(null,t))||(a[n]=r,u[n]=i,r<c&&(c=r),r>s&&(s=r),i<l&&(l=i),i>f&&(f=i));for(s<c&&(c=this._x0,s=this._x1),f<l&&(l=this._y0,f=this._y1),this.cover(c,l).cover(s,f),n=0;n<o;++n)cu(this,a[n],u[n],e[n]);return this},vu.cover=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(e))+1,o=(r=Math.floor(t))+1;else{if(!(n>e||e>i||r>t||t>o))return this;var a,u,c=i-n,l=this._root;switch(u=(t<(r+o)/2)<<1|e<(n+i)/2){case 0:do{(a=new Array(4))[u]=l,l=a}while(o=r+(c*=2),e>(i=n+c)||t>o);break;case 1:do{(a=new Array(4))[u]=l,l=a}while(o=r+(c*=2),(n=i-c)>e||t>o);break;case 2:do{(a=new Array(4))[u]=l,l=a}while(r=o-(c*=2),e>(i=n+c)||r>t);break;case 3:do{(a=new Array(4))[u]=l,l=a}while(r=o-(c*=2),(n=i-c)>e||r>t)}this._root&&this._root.length&&(this._root=l)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this},vu.data=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e},vu.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},vu.find=function(e,t,n){var r,i,o,a,u,c,l,s=this._x0,f=this._y0,d=this._x1,h=this._y1,p=[],v=this._root;for(v&&p.push(new lu(v,s,f,d,h)),null==n?n=1/0:(s=e-n,f=t-n,d=e+n,h=t+n,n*=n);c=p.pop();)if(!(!(v=c.node)||(i=c.x0)>d||(o=c.y0)>h||(a=c.x1)<s||(u=c.y1)<f))if(v.length){var m=(i+a)/2,y=(o+u)/2;p.push(new lu(v[3],m,y,a,u),new lu(v[2],i,y,m,u),new lu(v[1],m,o,a,y),new lu(v[0],i,o,m,y)),(l=(t>=y)<<1|e>=m)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-l],p[p.length-1-l]=c)}else{var g=e-+this._x.call(null,v.data),b=t-+this._y.call(null,v.data),x=g*g+b*b;if(x<n){var _=Math.sqrt(n=x);s=e-_,f=t-_,d=e+_,h=t+_,r=v.data}}return r},vu.remove=function(e){if(isNaN(o=+this._x.call(null,e))||isNaN(a=+this._y.call(null,e)))return this;var t,n,r,i,o,a,u,c,l,s,f,d,h=this._root,p=this._x0,v=this._y0,m=this._x1,y=this._y1;if(!h)return this;if(h.length)for(;;){if((l=o>=(u=(p+m)/2))?p=u:m=u,(s=a>=(c=(v+y)/2))?v=c:y=c,t=h,!(h=h[f=s<<1|l]))return this;if(!h.length)break;(t[f+1&3]||t[f+2&3]||t[f+3&3])&&(n=t,d=f)}for(;h.data!==e;)if(r=h,!(h=h.next))return this;return(i=h.next)&&delete h.next,r?(i?r.next=i:delete r.next,this):t?(i?t[f]=i:delete t[f],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=i,this)},vu.removeAll=function(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this},vu.root=function(){return this._root},vu.size=function(){var e=0;return this.visit(function(t){if(!t.length)do{++e}while(t=t.next)}),e},vu.visit=function(e){var t,n,r,i,o,a,u=[],c=this._root;for(c&&u.push(new lu(c,this._x0,this._y0,this._x1,this._y1));t=u.pop();)if(!e(c=t.node,r=t.x0,i=t.y0,o=t.x1,a=t.y1)&&c.length){var l=(r+o)/2,s=(i+a)/2;(n=c[3])&&u.push(new lu(n,l,s,o,a)),(n=c[2])&&u.push(new lu(n,r,s,l,a)),(n=c[1])&&u.push(new lu(n,l,i,o,s)),(n=c[0])&&u.push(new lu(n,r,i,l,s))}return this},vu.visitAfter=function(e){var t,n=[],r=[];for(this._root&&n.push(new lu(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var i=t.node;if(i.length){var o,a=t.x0,u=t.y0,c=t.x1,l=t.y1,s=(a+c)/2,f=(u+l)/2;(o=i[0])&&n.push(new lu(o,a,u,s,f)),(o=i[1])&&n.push(new lu(o,s,u,c,f)),(o=i[2])&&n.push(new lu(o,a,f,s,l)),(o=i[3])&&n.push(new lu(o,s,f,c,l))}r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},vu.x=function(e){return arguments.length?(this._x=e,this):this._x},vu.y=function(e){return arguments.length?(this._y=e,this):this._y};var gu=function(e){var t,n,r=1,i=1;function o(){for(var e,o,u,c,l,s,f,d=t.length,h=0;h<i;++h)for(o=du(t,mu,yu).visitAfter(a),e=0;e<d;++e)u=t[e],s=n[u.index],f=s*s,c=u.x+u.vx,l=u.y+u.vy,o.visit(p);function p(e,t,n,i,o){var a=e.data,d=e.r,h=s+d;if(!a)return t>c+h||i<c-h||n>l+h||o<l-h;if(a.index>u.index){var p=c-a.x-a.vx,v=l-a.y-a.vy,m=p*p+v*v;m<h*h&&(0===p&&(m+=(p=uu())*p),0===v&&(m+=(v=uu())*v),m=(h-(m=Math.sqrt(m)))/m*r,u.vx+=(p*=m)*(h=(d*=d)/(f+d)),u.vy+=(v*=m)*h,a.vx-=p*(h=1-h),a.vy-=v*h)}}}function a(e){if(e.data)return e.r=n[e.data.index];for(var t=e.r=0;t<4;++t)e[t]&&e[t].r>e.r&&(e.r=e[t].r)}function u(){if(t){var r,i,o=t.length;for(n=new Array(o),r=0;r<o;++r)i=t[r],n[i.index]=+e(i,r,t)}}return"function"!==typeof e&&(e=au(null==e?1:+e)),o.initialize=function(e){t=e,u()},o.iterations=function(e){return arguments.length?(i=+e,o):i},o.strength=function(e){return arguments.length?(r=+e,o):r},o.radius=function(t){return arguments.length?(e="function"===typeof t?t:au(+t),u(),o):e},o};function bu(e){return e.index}function xu(e,t){var n=e.get(t);if(!n)throw new Error("missing: "+t);return n}var _u=function(e){var t,n,r,i,o,a=bu,u=function(e){return 1/Math.min(i[e.source.index],i[e.target.index])},c=au(30),l=1;function s(r){for(var i=0,a=e.length;i<l;++i)for(var u,c,s,f,d,h,p,v=0;v<a;++v)c=(u=e[v]).source,f=(s=u.target).x+s.vx-c.x-c.vx||uu(),d=s.y+s.vy-c.y-c.vy||uu(),f*=h=((h=Math.sqrt(f*f+d*d))-n[v])/h*r*t[v],d*=h,s.vx-=f*(p=o[v]),s.vy-=d*p,c.vx+=f*(p=1-p),c.vy+=d*p}function f(){if(r){var u,c,l=r.length,s=e.length,f=Xo(r,a);for(u=0,i=new Array(l);u<s;++u)(c=e[u]).index=u,"object"!==typeof c.source&&(c.source=xu(f,c.source)),"object"!==typeof c.target&&(c.target=xu(f,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(u=0,o=new Array(s);u<s;++u)c=e[u],o[u]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);t=new Array(s),d(),n=new Array(s),h()}}function d(){if(r)for(var n=0,i=e.length;n<i;++n)t[n]=+u(e[n],n,e)}function h(){if(r)for(var t=0,i=e.length;t<i;++t)n[t]=+c(e[t],t,e)}return null==e&&(e=[]),s.initialize=function(e){r=e,f()},s.links=function(t){return arguments.length?(e=t,f(),s):e},s.id=function(e){return arguments.length?(a=e,s):a},s.iterations=function(e){return arguments.length?(l=+e,s):l},s.strength=function(e){return arguments.length?(u="function"===typeof e?e:au(+e),d(),s):u},s.distance=function(e){return arguments.length?(c="function"===typeof e?e:au(+e),h(),s):c},s};function wu(e){return e.x}function ku(e){return e.y}var Ou=10,Tu=Math.PI*(3-Math.sqrt(5)),Eu=function(e){var t,n=1,r=.001,i=1-Math.pow(r,1/300),o=0,a=.6,u=Xo(),c=Ar(s),l=de("tick","end");function s(){f(),l.call("tick",t),n<r&&(c.stop(),l.call("end",t))}function f(r){var c,l,s=e.length;void 0===r&&(r=1);for(var f=0;f<r;++f)for(n+=(o-n)*i,u.each(function(e){e(n)}),c=0;c<s;++c)null==(l=e[c]).fx?l.x+=l.vx*=a:(l.x=l.fx,l.vx=0),null==l.fy?l.y+=l.vy*=a:(l.y=l.fy,l.vy=0);return t}function d(){for(var t,n=0,r=e.length;n<r;++n){if((t=e[n]).index=n,isNaN(t.fx)||(t.x=t.fx),isNaN(t.fy)||(t.y=t.fy),isNaN(t.x)||isNaN(t.y)){var i=Ou*Math.sqrt(n),o=n*Tu;t.x=i*Math.cos(o),t.y=i*Math.sin(o)}(isNaN(t.vx)||isNaN(t.vy))&&(t.vx=t.vy=0)}}function h(t){return t.initialize&&t.initialize(e),t}return null==e&&(e=[]),d(),t={tick:f,restart:function(){return c.restart(s),t},stop:function(){return c.stop(),t},nodes:function(n){return arguments.length?(e=n,d(),u.each(h),t):e},alpha:function(e){return arguments.length?(n=+e,t):n},alphaMin:function(e){return arguments.length?(r=+e,t):r},alphaDecay:function(e){return arguments.length?(i=+e,t):+i},alphaTarget:function(e){return arguments.length?(o=+e,t):o},velocityDecay:function(e){return arguments.length?(a=1-e,t):1-a},force:function(e,n){return arguments.length>1?(null==n?u.remove(e):u.set(e,h(n)),t):u.get(e)},find:function(t,n,r){var i,o,a,u,c,l=0,s=e.length;for(null==r?r=1/0:r*=r,l=0;l<s;++l)(a=(i=t-(u=e[l]).x)*i+(o=n-u.y)*o)<r&&(c=u,r=a);return c},on:function(e,n){return arguments.length>1?(l.on(e,n),t):l.on(e)}}},Cu=function(){var e,t,n,r,i=au(-30),o=1,a=1/0,u=.81;function c(r){var i,o=e.length,a=du(e,wu,ku).visitAfter(s);for(n=r,i=0;i<o;++i)t=e[i],a.visit(f)}function l(){if(e){var t,n,o=e.length;for(r=new Array(o),t=0;t<o;++t)n=e[t],r[n.index]=+i(n,t,e)}}function s(e){var t,n,i,o,a,u=0,c=0;if(e.length){for(i=o=a=0;a<4;++a)(t=e[a])&&(n=Math.abs(t.value))&&(u+=t.value,c+=n,i+=n*t.x,o+=n*t.y);e.x=i/c,e.y=o/c}else{(t=e).x=t.data.x,t.y=t.data.y;do{u+=r[t.data.index]}while(t=t.next)}e.value=u}function f(e,i,c,l){if(!e.value)return!0;var s=e.x-t.x,f=e.y-t.y,d=l-i,h=s*s+f*f;if(d*d/u<h)return h<a&&(0===s&&(h+=(s=uu())*s),0===f&&(h+=(f=uu())*f),h<o&&(h=Math.sqrt(o*h)),t.vx+=s*e.value*n/h,t.vy+=f*e.value*n/h),!0;if(!(e.length||h>=a)){(e.data!==t||e.next)&&(0===s&&(h+=(s=uu())*s),0===f&&(h+=(f=uu())*f),h<o&&(h=Math.sqrt(o*h)));do{e.data!==t&&(d=r[e.data.index]*n/h,t.vx+=s*d,t.vy+=f*d)}while(e=e.next)}}return c.initialize=function(t){e=t,l()},c.strength=function(e){return arguments.length?(i="function"===typeof e?e:au(+e),l(),c):i},c.distanceMin=function(e){return arguments.length?(o=e*e,c):Math.sqrt(o)},c.distanceMax=function(e){return arguments.length?(a=e*e,c):Math.sqrt(a)},c.theta=function(e){return arguments.length?(u=e*e,c):Math.sqrt(u)},c},Su=function(e,t,n){var r,i,o,a=au(.1);function u(e){for(var a=0,u=r.length;a<u;++a){var c=r[a],l=c.x-t||1e-6,s=c.y-n||1e-6,f=Math.sqrt(l*l+s*s),d=(o[a]-f)*i[a]*e/f;c.vx+=l*d,c.vy+=s*d}}function c(){if(r){var t,n=r.length;for(i=new Array(n),o=new Array(n),t=0;t<n;++t)o[t]=+e(r[t],t,r),i[t]=isNaN(o[t])?0:+a(r[t],t,r)}}return"function"!==typeof e&&(e=au(+e)),null==t&&(t=0),null==n&&(n=0),u.initialize=function(e){r=e,c()},u.strength=function(e){return arguments.length?(a="function"===typeof e?e:au(+e),c(),u):a},u.radius=function(t){return arguments.length?(e="function"===typeof t?t:au(+t),c(),u):e},u.x=function(e){return arguments.length?(t=+e,u):t},u.y=function(e){return arguments.length?(n=+e,u):n},u},Mu=function(e){var t,n,r,i=au(.1);function o(e){for(var i,o=0,a=t.length;o<a;++o)(i=t[o]).vx+=(r[o]-i.x)*n[o]*e}function a(){if(t){var o,a=t.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+e(t[o],o,t))?0:+i(t[o],o,t)}}return"function"!==typeof e&&(e=au(null==e?0:+e)),o.initialize=function(e){t=e,a()},o.strength=function(e){return arguments.length?(i="function"===typeof e?e:au(+e),a(),o):i},o.x=function(t){return arguments.length?(e="function"===typeof t?t:au(+t),a(),o):e},o},ju=function(e){var t,n,r,i=au(.1);function o(e){for(var i,o=0,a=t.length;o<a;++o)(i=t[o]).vy+=(r[o]-i.y)*n[o]*e}function a(){if(t){var o,a=t.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+e(t[o],o,t))?0:+i(t[o],o,t)}}return"function"!==typeof e&&(e=au(null==e?0:+e)),o.initialize=function(e){t=e,a()},o.strength=function(e){return arguments.length?(i="function"===typeof e?e:au(+e),a(),o):i},o.y=function(t){return arguments.length?(e="function"===typeof t?t:au(+t),a(),o):e},o},Nu=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]},Pu=function(e){return(e=Nu(Math.abs(e)))?e[1]:NaN},Au=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Iu(e){return new Ru(e)}function Ru(e){if(!(t=Au.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}Iu.prototype=Ru.prototype,Ru.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.trim?"~":"")+this.type};var zu,Du,Lu,Fu,Uu=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(i>0){if(!+e[r])break e;i=0}}return i>0?e.slice(0,i)+e.slice(t+1):e},Bu=function(e,t){var n=Nu(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Wu={"%":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 Bu(100*e,t)},r:Bu,s:function(e,t){var n=Nu(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(zu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Nu(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Hu=function(e){return e},qu=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"],Vu=function(e){var t,n,r=e.grouping&&e.thousands?(t=e.grouping,n=e.thousands,function(e,r){for(var i=e.length,o=[],a=0,u=t[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(n)}):Hu,i=e.currency,o=e.decimal,a=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(e.numerals):Hu,u=e.percent||"%";function c(e){var t=(e=Iu(e)).fill,n=e.align,c=e.sign,l=e.symbol,s=e.zero,f=e.width,d=e.comma,h=e.precision,p=e.trim,v=e.type;"n"===v?(d=!0,v="g"):Wu[v]||(null==h&&(h=12),p=!0,v="g"),(s||"0"===t&&"="===n)&&(s=!0,t="0",n="=");var m="$"===l?i[0]:"#"===l&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",y="$"===l?i[1]:/[%p]/.test(v)?u:"",g=Wu[v],b=/[defgprs%]/.test(v);function x(e){var i,u,l,x=m,_=y;if("c"===v)_=g(e)+_,e="";else{var w=(e=+e)<0;if(e=g(Math.abs(e),h),p&&(e=Uu(e)),w&&0===+e&&(w=!1),x=(w?"("===c?c:"-":"-"===c||"("===c?"":c)+x,_=("s"===v?qu[8+zu/3]:"")+_+(w&&"("===c?")":""),b)for(i=-1,u=e.length;++i<u;)if(48>(l=e.charCodeAt(i))||l>57){_=(46===l?o+e.slice(i+1):e.slice(i))+_,e=e.slice(0,i);break}}d&&!s&&(e=r(e,1/0));var k=x.length+e.length+_.length,O=k<f?new Array(f-k+1).join(t):"";switch(d&&s&&(e=r(O+e,O.length?f-_.length:1/0),O=""),n){case"<":e=x+e+_+O;break;case"=":e=x+O+e+_;break;case"^":e=O.slice(0,k=O.length>>1)+x+e+_+O.slice(k);break;default:e=O+x+e+_}return a(e)}return h=null==h?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,h)):Math.max(0,Math.min(20,h)),x.toString=function(){return e+""},x}return{format:c,formatPrefix:function(e,t){var n=c(((e=Iu(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Pu(t)/3))),i=Math.pow(10,-r),o=qu[8+r/3];return function(e){return n(i*e)+o}}}};function Yu(e){return Du=Vu(e),Lu=Du.format,Fu=Du.formatPrefix,Du}Yu({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Gu=function(e){return Math.max(0,-Pu(Math.abs(e)))},$u=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Pu(t)/3)))-Pu(Math.abs(e)))},Ku=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Pu(t)-Pu(e))+1},Xu=function(){return new Qu};function Qu(){this.reset()}Qu.prototype={constructor:Qu,reset:function(){this.s=this.t=0},add:function(e){Ju(Zu,e,this.t),Ju(this,Zu.s,this.s),this.s?this.t+=Zu.t:this.s=Zu.t},valueOf:function(){return this.s}};var Zu=new Qu;function Ju(e,t,n){var r=e.s=t+n,i=r-t,o=r-i;e.t=t-o+(n-i)}var ec=1e-6,tc=Math.PI,nc=tc/2,rc=tc/4,ic=2*tc,oc=180/tc,ac=tc/180,uc=Math.abs,cc=Math.atan,lc=Math.atan2,sc=Math.cos,fc=Math.ceil,dc=Math.exp,hc=(Math.floor,Math.log),pc=Math.pow,vc=Math.sin,mc=Math.sign||function(e){return e>0?1:e<0?-1:0},yc=Math.sqrt,gc=Math.tan;function bc(e){return e>1?0:e<-1?tc:Math.acos(e)}function xc(e){return e>1?nc:e<-1?-nc:Math.asin(e)}function _c(e){return(e=vc(e/2))*e}function wc(){}function kc(e,t){e&&Tc.hasOwnProperty(e.type)&&Tc[e.type](e,t)}var Oc={Feature:function(e,t){kc(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r<i;)kc(n[r].geometry,t)}},Tc={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)e=n[r],t.point(e[0],e[1],e[2])},LineString:function(e,t){Ec(e.coordinates,t,0)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)Ec(n[r],t,0)},Polygon:function(e,t){Cc(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)Cc(n[r],t)},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,i=n.length;++r<i;)kc(n[r],t)}};function Ec(e,t,n){var r,i=-1,o=e.length-n;for(t.lineStart();++i<o;)r=e[i],t.point(r[0],r[1],r[2]);t.lineEnd()}function Cc(e,t){var n=-1,r=e.length;for(t.polygonStart();++n<r;)Ec(e[n],t,1);t.polygonEnd()}var Sc,Mc,jc,Nc,Pc,Ac=function(e,t){e&&Oc.hasOwnProperty(e.type)?Oc[e.type](e,t):kc(e,t)},Ic=Xu(),Rc=Xu(),zc={point:wc,lineStart:wc,lineEnd:wc,polygonStart:function(){Ic.reset(),zc.lineStart=Dc,zc.lineEnd=Lc},polygonEnd:function(){var e=+Ic;Rc.add(e<0?ic+e:e),this.lineStart=this.lineEnd=this.point=wc},sphere:function(){Rc.add(ic)}};function Dc(){zc.point=Fc}function Lc(){Uc(Sc,Mc)}function Fc(e,t){zc.point=Uc,Sc=e,Mc=t,jc=e*=ac,Nc=sc(t=(t*=ac)/2+rc),Pc=vc(t)}function Uc(e,t){var n=(e*=ac)-jc,r=n>=0?1:-1,i=r*n,o=sc(t=(t*=ac)/2+rc),a=vc(t),u=Pc*a,c=Nc*o+u*sc(i),l=u*r*vc(i);Ic.add(lc(l,c)),jc=e,Nc=o,Pc=a}var Bc=function(e){return Rc.reset(),Ac(e,zc),2*Rc};function Wc(e){return[lc(e[1],e[0]),xc(e[2])]}function Hc(e){var t=e[0],n=e[1],r=sc(n);return[r*sc(t),r*vc(t),vc(n)]}function qc(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Vc(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 Yc(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Gc(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function $c(e){var t=yc(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var Kc,Xc,Qc,Zc,Jc,el,tl,nl,rl,il,ol=Xu(),al={point:ul,lineStart:ll,lineEnd:sl,polygonStart:function(){al.point=fl,al.lineStart=dl,al.lineEnd=hl,ol.reset(),zc.polygonStart()},polygonEnd:function(){zc.polygonEnd(),al.point=ul,al.lineStart=ll,al.lineEnd=sl,Ic<0?(Kc=-(Qc=180),Xc=-(Zc=90)):ol>ec?Zc=90:ol<-ec&&(Xc=-90),il[0]=Kc,il[1]=Qc}};function ul(e,t){rl.push(il=[Kc=e,Qc=e]),t<Xc&&(Xc=t),t>Zc&&(Zc=t)}function cl(e,t){var n=Hc([e*ac,t*ac]);if(nl){var r=Vc(nl,n),i=Vc([r[1],-r[0],0],r);$c(i),i=Wc(i);var o,a=e-Jc,u=a>0?1:-1,c=i[0]*oc*u,l=uc(a)>180;l^(u*Jc<c&&c<u*e)?(o=i[1]*oc)>Zc&&(Zc=o):l^(u*Jc<(c=(c+360)%360-180)&&c<u*e)?(o=-i[1]*oc)<Xc&&(Xc=o):(t<Xc&&(Xc=t),t>Zc&&(Zc=t)),l?e<Jc?pl(Kc,e)>pl(Kc,Qc)&&(Qc=e):pl(e,Qc)>pl(Kc,Qc)&&(Kc=e):Qc>=Kc?(e<Kc&&(Kc=e),e>Qc&&(Qc=e)):e>Jc?pl(Kc,e)>pl(Kc,Qc)&&(Qc=e):pl(e,Qc)>pl(Kc,Qc)&&(Kc=e)}else rl.push(il=[Kc=e,Qc=e]);t<Xc&&(Xc=t),t>Zc&&(Zc=t),nl=n,Jc=e}function ll(){al.point=cl}function sl(){il[0]=Kc,il[1]=Qc,al.point=ul,nl=null}function fl(e,t){if(nl){var n=e-Jc;ol.add(uc(n)>180?n+(n>0?360:-360):n)}else el=e,tl=t;zc.point(e,t),cl(e,t)}function dl(){zc.lineStart()}function hl(){fl(el,tl),zc.lineEnd(),uc(ol)>ec&&(Kc=-(Qc=180)),il[0]=Kc,il[1]=Qc,nl=null}function pl(e,t){return(t-=e)<0?t+360:t}function vl(e,t){return e[0]-t[0]}function ml(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}var yl,gl,bl,xl,_l,wl,kl,Ol,Tl,El,Cl,Sl,Ml,jl,Nl,Pl,Al=function(e){var t,n,r,i,o,a,u;if(Zc=Qc=-(Kc=Xc=1/0),rl=[],Ac(e,al),n=rl.length){for(rl.sort(vl),t=1,o=[r=rl[0]];t<n;++t)ml(r,(i=rl[t])[0])||ml(r,i[1])?(pl(r[0],i[1])>pl(r[0],r[1])&&(r[1]=i[1]),pl(i[0],r[1])>pl(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,t=0,r=o[n=o.length-1];t<=n;r=i,++t)i=o[t],(u=pl(r[1],i[0]))>a&&(a=u,Kc=i[0],Qc=r[1])}return rl=il=null,Kc===1/0||Xc===1/0?[[NaN,NaN],[NaN,NaN]]:[[Kc,Xc],[Qc,Zc]]},Il={sphere:wc,point:Rl,lineStart:Dl,lineEnd:Ul,polygonStart:function(){Il.lineStart=Bl,Il.lineEnd=Wl},polygonEnd:function(){Il.lineStart=Dl,Il.lineEnd=Ul}};function Rl(e,t){e*=ac;var n=sc(t*=ac);zl(n*sc(e),n*vc(e),vc(t))}function zl(e,t,n){bl+=(e-bl)/++yl,xl+=(t-xl)/yl,_l+=(n-_l)/yl}function Dl(){Il.point=Ll}function Ll(e,t){e*=ac;var n=sc(t*=ac);jl=n*sc(e),Nl=n*vc(e),Pl=vc(t),Il.point=Fl,zl(jl,Nl,Pl)}function Fl(e,t){e*=ac;var n=sc(t*=ac),r=n*sc(e),i=n*vc(e),o=vc(t),a=lc(yc((a=Nl*o-Pl*i)*a+(a=Pl*r-jl*o)*a+(a=jl*i-Nl*r)*a),jl*r+Nl*i+Pl*o);gl+=a,wl+=a*(jl+(jl=r)),kl+=a*(Nl+(Nl=i)),Ol+=a*(Pl+(Pl=o)),zl(jl,Nl,Pl)}function Ul(){Il.point=Rl}function Bl(){Il.point=Hl}function Wl(){ql(Sl,Ml),Il.point=Rl}function Hl(e,t){Sl=e,Ml=t,e*=ac,t*=ac,Il.point=ql;var n=sc(t);jl=n*sc(e),Nl=n*vc(e),Pl=vc(t),zl(jl,Nl,Pl)}function ql(e,t){e*=ac;var n=sc(t*=ac),r=n*sc(e),i=n*vc(e),o=vc(t),a=Nl*o-Pl*i,u=Pl*r-jl*o,c=jl*i-Nl*r,l=yc(a*a+u*u+c*c),s=xc(l),f=l&&-s/l;Tl+=f*a,El+=f*u,Cl+=f*c,gl+=s,wl+=s*(jl+(jl=r)),kl+=s*(Nl+(Nl=i)),Ol+=s*(Pl+(Pl=o)),zl(jl,Nl,Pl)}var Vl=function(e){yl=gl=bl=xl=_l=wl=kl=Ol=Tl=El=Cl=0,Ac(e,Il);var t=Tl,n=El,r=Cl,i=t*t+n*n+r*r;return i<1e-12&&(t=wl,n=kl,r=Ol,gl<ec&&(t=bl,n=xl,r=_l),(i=t*t+n*n+r*r)<1e-12)?[NaN,NaN]:[lc(n,t)*oc,xc(r/yc(i))*oc]},Yl=function(e){return function(){return e}},Gl=function(e,t){function n(n,r){return n=e(n,r),t(n[0],n[1])}return e.invert&&t.invert&&(n.invert=function(n,r){return(n=t.invert(n,r))&&e.invert(n[0],n[1])}),n};function $l(e,t){return[uc(e)>tc?e+Math.round(-e/ic)*ic:e,t]}function Kl(e,t,n){return(e%=ic)?t||n?Gl(Ql(e),Zl(t,n)):Ql(e):t||n?Zl(t,n):$l}function Xl(e){return function(t,n){return[(t+=e)>tc?t-ic:t<-tc?t+ic:t,n]}}function Ql(e){var t=Xl(e);return t.invert=Xl(-e),t}function Zl(e,t){var n=sc(e),r=vc(e),i=sc(t),o=vc(t);function a(e,t){var a=sc(t),u=sc(e)*a,c=vc(e)*a,l=vc(t),s=l*n+u*r;return[lc(c*i-s*o,u*n-l*r),xc(s*i+c*o)]}return a.invert=function(e,t){var a=sc(t),u=sc(e)*a,c=vc(e)*a,l=vc(t),s=l*i-c*o;return[lc(c*i+l*o,u*n+s*r),xc(s*n-u*r)]},a}$l.invert=$l;var Jl=function(e){function t(t){return(t=e(t[0]*ac,t[1]*ac))[0]*=oc,t[1]*=oc,t}return e=Kl(e[0]*ac,e[1]*ac,e.length>2?e[2]*ac:0),t.invert=function(t){return(t=e.invert(t[0]*ac,t[1]*ac))[0]*=oc,t[1]*=oc,t},t};function es(e,t,n,r,i,o){if(n){var a=sc(t),u=vc(t),c=r*n;null==i?(i=t+r*ic,o=t-c/2):(i=ts(a,i),o=ts(a,o),(r>0?i<o:i>o)&&(i+=r*ic));for(var l,s=i;r>0?s>o:s<o;s-=c)l=Wc([a,-u*sc(s),-u*vc(s)]),e.point(l[0],l[1])}}function ts(e,t){(t=Hc(t))[0]-=e,$c(t);var n=bc(-t[1]);return((-t[2]<0?-n:n)+ic-ec)%ic}var ns=function(){var e,t,n=Yl([0,0]),r=Yl(90),i=Yl(6),o={point:function(n,r){e.push(n=t(n,r)),n[0]*=oc,n[1]*=oc}};function a(){var a=n.apply(this,arguments),u=r.apply(this,arguments)*ac,c=i.apply(this,arguments)*ac;return e=[],t=Kl(-a[0]*ac,-a[1]*ac,0).invert,es(o,u,c,1),a={type:"Polygon",coordinates:[e]},e=t=null,a}return a.center=function(e){return arguments.length?(n="function"===typeof e?e:Yl([+e[0],+e[1]]),a):n},a.radius=function(e){return arguments.length?(r="function"===typeof e?e:Yl(+e),a):r},a.precision=function(e){return arguments.length?(i="function"===typeof e?e:Yl(+e),a):i},a},rs=function(){var e,t=[];return{point:function(t,n){e.push([t,n])},lineStart:function(){t.push(e=[])},lineEnd:wc,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}},is=function(e,t){return uc(e[0]-t[0])<ec&&uc(e[1]-t[1])<ec};function os(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}var as=function(e,t,n,r,i){var o,a,u=[],c=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],a=e[t];if(is(r,a)){for(i.lineStart(),o=0;o<t;++o)i.point((r=e[o])[0],r[1]);i.lineEnd()}else u.push(n=new os(r,e,null,!0)),c.push(n.o=new os(r,null,n,!1)),u.push(n=new os(a,e,null,!1)),c.push(n.o=new os(a,null,n,!0))}}),u.length){for(c.sort(t),us(u),us(c),o=0,a=c.length;o<a;++o)c[o].e=n=!n;for(var l,s,f=u[0];;){for(var d=f,h=!0;d.v;)if((d=d.n)===f)return;l=d.z,i.lineStart();do{if(d.v=d.o.v=!0,d.e){if(h)for(o=0,a=l.length;o<a;++o)i.point((s=l[o])[0],s[1]);else r(d.x,d.n.x,1,i);d=d.n}else{if(h)for(l=d.p.z,o=l.length-1;o>=0;--o)i.point((s=l[o])[0],s[1]);else r(d.x,d.p.x,-1,i);d=d.p}l=(d=d.o).z,h=!h}while(!d.v);i.lineEnd()}}};function us(e){if(t=e.length){for(var t,n,r=0,i=e[0];++r<t;)i.n=n=e[r],n.p=i,i=n;i.n=n=e[0],n.p=i}}var cs=Xu(),ls=function(e,t){var n=t[0],r=t[1],i=vc(r),o=[vc(n),-sc(n),0],a=0,u=0;cs.reset(),1===i?r=nc+ec:-1===i&&(r=-nc-ec);for(var c=0,l=e.length;c<l;++c)if(f=(s=e[c]).length)for(var s,f,d=s[f-1],h=d[0],p=d[1]/2+rc,v=vc(p),m=sc(p),y=0;y<f;++y,h=b,v=_,m=w,d=g){var g=s[y],b=g[0],x=g[1]/2+rc,_=vc(x),w=sc(x),k=b-h,O=k>=0?1:-1,T=O*k,E=T>tc,C=v*_;if(cs.add(lc(C*O*vc(T),m*w+C*sc(T))),a+=E?k+O*ic:k,E^h>=n^b>=n){var S=Vc(Hc(d),Hc(g));$c(S);var M=Vc(o,S);$c(M);var j=(E^k>=0?-1:1)*xc(M[2]);(r>j||r===j&&(S[0]||S[1]))&&(u+=E^k>=0?1:-1)}}return(a<-ec||a<ec&&cs<-ec)^1&u},ss=function(e,t,n,r){return function(i){var o,a,u,c=t(i),l=rs(),s=t(l),f=!1,d={point:h,lineStart:v,lineEnd:m,polygonStart:function(){d.point=y,d.lineStart=g,d.lineEnd=b,a=[],o=[]},polygonEnd:function(){d.point=h,d.lineStart=v,d.lineEnd=m,a=D(a);var e=ls(o,r);a.length?(f||(i.polygonStart(),f=!0),as(a,ds,e,n,i)):e&&(f||(i.polygonStart(),f=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function h(t,n){e(t,n)&&i.point(t,n)}function p(e,t){c.point(e,t)}function v(){d.point=p,c.lineStart()}function m(){d.point=h,c.lineEnd()}function y(e,t){u.push([e,t]),s.point(e,t)}function g(){s.lineStart(),u=[]}function b(){y(u[0][0],u[0][1]),s.lineEnd();var e,t,n,r,c=s.clean(),d=l.result(),h=d.length;if(u.pop(),o.push(u),u=null,h)if(1&c){if((t=(n=d[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),e=0;e<t;++e)i.point((r=n[e])[0],r[1]);i.lineEnd()}}else h>1&&2&c&&d.push(d.pop().concat(d.shift())),a.push(d.filter(fs))}return d}};function fs(e){return e.length>1}function ds(e,t){return((e=e.x)[0]<0?e[1]-nc-ec:nc-e[1])-((t=t.x)[0]<0?t[1]-nc-ec:nc-t[1])}var hs=ss(function(){return!0},function(e){var t,n=NaN,r=NaN,i=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(o,a){var u=o>0?tc:-tc,c=uc(o-n);uc(c-tc)<ec?(e.point(n,r=(r+a)/2>0?nc:-nc),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(u,r),e.point(o,r),t=0):i!==u&&c>=tc&&(uc(n-i)<ec&&(n-=i*ec),uc(o-u)<ec&&(o-=u*ec),r=function(e,t,n,r){var i,o,a=vc(e-n);return uc(a)>ec?cc((vc(t)*(o=sc(r))*vc(n)-vc(r)*(i=sc(t))*vc(e))/(i*o*a)):(t+r)/2}(n,r,o,a),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(u,r),t=0),e.point(n=o,r=a),i=u},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}},function(e,t,n,r){var i;if(null==e)i=n*nc,r.point(-tc,i),r.point(0,i),r.point(tc,i),r.point(tc,0),r.point(tc,-i),r.point(0,-i),r.point(-tc,-i),r.point(-tc,0),r.point(-tc,i);else if(uc(e[0]-t[0])>ec){var o=e[0]<t[0]?tc:-tc;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(t[0],t[1])},[-tc,-nc]);var ps=function(e){var t=sc(e),n=6*ac,r=t>0,i=uc(t)>ec;function o(e,n){return sc(e)*sc(n)>t}function a(e,n,r){var i=[1,0,0],o=Vc(Hc(e),Hc(n)),a=qc(o,o),u=o[0],c=a-u*u;if(!c)return!r&&e;var l=t*a/c,s=-t*u/c,f=Vc(i,o),d=Gc(i,l);Yc(d,Gc(o,s));var h=f,p=qc(d,h),v=qc(h,h),m=p*p-v*(qc(d,d)-1);if(!(m<0)){var y=yc(m),g=Gc(h,(-p-y)/v);if(Yc(g,d),g=Wc(g),!r)return g;var b,x=e[0],_=n[0],w=e[1],k=n[1];_<x&&(b=x,x=_,_=b);var O=_-x,T=uc(O-tc)<ec;if(!T&&k<w&&(b=w,w=k,k=b),T||O<ec?T?w+k>0^g[1]<(uc(g[0]-x)<ec?w:k):w<=g[1]&&g[1]<=k:O>tc^(x<=g[0]&&g[0]<=_)){var E=Gc(h,(-p+y)/v);return Yc(E,d),[g,Wc(E)]}}}function u(t,n){var i=r?e:tc-e,o=0;return t<-i?o|=1:t>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return ss(o,function(e){var t,n,c,l,s;return{lineStart:function(){l=c=!1,s=1},point:function(f,d){var h,p=[f,d],v=o(f,d),m=r?v?0:u(f,d):v?u(f+(f<0?tc:-tc),d):0;if(!t&&(l=c=v)&&e.lineStart(),v!==c&&(!(h=a(t,p))||is(t,h)||is(p,h))&&(p[0]+=ec,p[1]+=ec,v=o(p[0],p[1])),v!==c)s=0,v?(e.lineStart(),h=a(p,t),e.point(h[0],h[1])):(h=a(t,p),e.point(h[0],h[1]),e.lineEnd()),t=h;else if(i&&t&&r^v){var y;m&n||!(y=a(p,t,!0))||(s=0,r?(e.lineStart(),e.point(y[0][0],y[0][1]),e.point(y[1][0],y[1][1]),e.lineEnd()):(e.point(y[1][0],y[1][1]),e.lineEnd(),e.lineStart(),e.point(y[0][0],y[0][1])))}!v||t&&is(t,p)||e.point(p[0],p[1]),t=p,c=v,n=m},lineEnd:function(){c&&e.lineEnd(),t=null},clean:function(){return s|(l&&c)<<1}}},function(t,r,i,o){es(o,e,n,i,t,r)},r?[0,-e]:[-tc,e-tc])},vs=function(e,t,n,r,i,o){var a,u=e[0],c=e[1],l=0,s=1,f=t[0]-u,d=t[1]-c;if(a=n-u,f||!(a>0)){if(a/=f,f<0){if(a<l)return;a<s&&(s=a)}else if(f>0){if(a>s)return;a>l&&(l=a)}if(a=i-u,f||!(a<0)){if(a/=f,f<0){if(a>s)return;a>l&&(l=a)}else if(f>0){if(a<l)return;a<s&&(s=a)}if(a=r-c,d||!(a>0)){if(a/=d,d<0){if(a<l)return;a<s&&(s=a)}else if(d>0){if(a>s)return;a>l&&(l=a)}if(a=o-c,d||!(a<0)){if(a/=d,d<0){if(a>s)return;a>l&&(l=a)}else if(d>0){if(a<l)return;a<s&&(s=a)}return l>0&&(e[0]=u+l*f,e[1]=c+l*d),s<1&&(t[0]=u+s*f,t[1]=c+s*d),!0}}}}},ms=1e9,ys=-ms;function gs(e,t,n,r){function i(i,o){return e<=i&&i<=n&&t<=o&&o<=r}function o(i,o,u,l){var s=0,f=0;if(null==i||(s=a(i,u))!==(f=a(o,u))||c(i,o)<0^u>0)do{l.point(0===s||3===s?e:n,s>1?r:t)}while((s=(s+u+4)%4)!==f);else l.point(o[0],o[1])}function a(r,i){return uc(r[0]-e)<ec?i>0?0:3:uc(r[0]-n)<ec?i>0?2:1:uc(r[1]-t)<ec?i>0?1:0:i>0?3:2}function u(e,t){return c(e.x,t.x)}function c(e,t){var n=a(e,1),r=a(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(a){var c,l,s,f,d,h,p,v,m,y,g,b=a,x=rs(),_={point:w,lineStart:function(){_.point=k,l&&l.push(s=[]);y=!0,m=!1,p=v=NaN},lineEnd:function(){c&&(k(f,d),h&&m&&x.rejoin(),c.push(x.result()));_.point=w,m&&b.lineEnd()},polygonStart:function(){b=x,c=[],l=[],g=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,i=l.length;n<i;++n)for(var o,a,u=l[n],c=1,s=u.length,f=u[0],d=f[0],h=f[1];c<s;++c)o=d,a=h,f=u[c],d=f[0],h=f[1],a<=r?h>r&&(d-o)*(r-a)>(h-a)*(e-o)&&++t:h<=r&&(d-o)*(r-a)<(h-a)*(e-o)&&--t;return t}(),n=g&&t,i=(c=D(c)).length;(n||i)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&as(c,u,t,o,a),a.polygonEnd());b=a,c=l=s=null}};function w(e,t){i(e,t)&&b.point(e,t)}function k(o,a){var u=i(o,a);if(l&&s.push([o,a]),y)f=o,d=a,h=u,y=!1,u&&(b.lineStart(),b.point(o,a));else if(u&&m)b.point(o,a);else{var c=[p=Math.max(ys,Math.min(ms,p)),v=Math.max(ys,Math.min(ms,v))],x=[o=Math.max(ys,Math.min(ms,o)),a=Math.max(ys,Math.min(ms,a))];vs(c,x,e,t,n,r)?(m||(b.lineStart(),b.point(c[0],c[1])),b.point(x[0],x[1]),u||b.lineEnd(),g=!1):u&&(b.lineStart(),b.point(o,a),g=!1)}p=o,v=a,m=u}return _}}var bs,xs,_s,ws=function(){var e,t,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return e&&t===n?e:e=gs(r,i,o,a)(t=n)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],e=t=null,n):[[r,i],[o,a]]}}},ks=Xu(),Os={sphere:wc,point:wc,lineStart:function(){Os.point=Es,Os.lineEnd=Ts},lineEnd:wc,polygonStart:wc,polygonEnd:wc};function Ts(){Os.point=Os.lineEnd=wc}function Es(e,t){bs=e*=ac,xs=vc(t*=ac),_s=sc(t),Os.point=Cs}function Cs(e,t){e*=ac;var n=vc(t*=ac),r=sc(t),i=uc(e-bs),o=sc(i),a=r*vc(i),u=_s*n-xs*r*o,c=xs*n+_s*r*o;ks.add(lc(yc(a*a+u*u),c)),bs=e,xs=n,_s=r}var Ss=function(e){return ks.reset(),Ac(e,Os),+ks},Ms=[null,null],js={type:"LineString",coordinates:Ms},Ns=function(e,t){return Ms[0]=e,Ms[1]=t,Ss(js)},Ps={Feature:function(e,t){return Is(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++r<i;)if(Is(n[r].geometry,t))return!0;return!1}},As={Sphere:function(){return!0},Point:function(e,t){return Rs(e.coordinates,t)},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)if(Rs(n[r],t))return!0;return!1},LineString:function(e,t){return zs(e.coordinates,t)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)if(zs(n[r],t))return!0;return!1},Polygon:function(e,t){return Ds(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,i=n.length;++r<i;)if(Ds(n[r],t))return!0;return!1},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,i=n.length;++r<i;)if(Is(n[r],t))return!0;return!1}};function Is(e,t){return!(!e||!As.hasOwnProperty(e.type))&&As[e.type](e,t)}function Rs(e,t){return 0===Ns(e,t)}function zs(e,t){var n=Ns(e[0],e[1]);return Ns(e[0],t)+Ns(t,e[1])<=n+ec}function Ds(e,t){return!!ls(e.map(Ls),Fs(t))}function Ls(e){return(e=e.map(Fs)).pop(),e}function Fs(e){return[e[0]*ac,e[1]*ac]}var Us=function(e,t){return(e&&Ps.hasOwnProperty(e.type)?Ps[e.type]:Is)(e,t)};function Bs(e,t,n){var r=w(e,t-ec,n).concat(t);return function(e){return r.map(function(t){return[e,t]})}}function Ws(e,t,n){var r=w(e,t-ec,n).concat(t);return function(e){return r.map(function(t){return[t,e]})}}function Hs(){var e,t,n,r,i,o,a,u,c,l,s,f,d=10,h=d,p=90,v=360,m=2.5;function y(){return{type:"MultiLineString",coordinates:g()}}function g(){return w(fc(r/p)*p,n,p).map(s).concat(w(fc(u/v)*v,a,v).map(f)).concat(w(fc(t/d)*d,e,d).filter(function(e){return uc(e%p)>ec}).map(c)).concat(w(fc(o/h)*h,i,h).filter(function(e){return uc(e%v)>ec}).map(l))}return y.lines=function(){return g().map(function(e){return{type:"LineString",coordinates:e}})},y.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(f(a).slice(1),s(n).reverse().slice(1),f(u).reverse().slice(1))]}},y.extent=function(e){return arguments.length?y.extentMajor(e).extentMinor(e):y.extentMinor()},y.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],u=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),u>a&&(e=u,u=a,a=e),y.precision(m)):[[r,u],[n,a]]},y.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],o=+n[0][1],i=+n[1][1],t>e&&(n=t,t=e,e=n),o>i&&(n=o,o=i,i=n),y.precision(m)):[[t,o],[e,i]]},y.step=function(e){return arguments.length?y.stepMajor(e).stepMinor(e):y.stepMinor()},y.stepMajor=function(e){return arguments.length?(p=+e[0],v=+e[1],y):[p,v]},y.stepMinor=function(e){return arguments.length?(d=+e[0],h=+e[1],y):[d,h]},y.precision=function(d){return arguments.length?(m=+d,c=Bs(o,i,90),l=Ws(t,e,m),s=Bs(u,a,90),f=Ws(r,n,m),y):m},y.extentMajor([[-180,-90+ec],[180,90-ec]]).extentMinor([[-180,-80-ec],[180,80+ec]])}function qs(){return Hs()()}var Vs,Ys,Gs,$s,Ks=function(e,t){var n=e[0]*ac,r=e[1]*ac,i=t[0]*ac,o=t[1]*ac,a=sc(r),u=vc(r),c=sc(o),l=vc(o),s=a*sc(n),f=a*vc(n),d=c*sc(i),h=c*vc(i),p=2*xc(yc(_c(o-r)+a*c*_c(i-n))),v=vc(p),m=p?function(e){var t=vc(e*=p)/v,n=vc(p-e)/v,r=n*s+t*d,i=n*f+t*h,o=n*u+t*l;return[lc(i,r)*oc,lc(o,yc(r*r+i*i))*oc]}:function(){return[n*oc,r*oc]};return m.distance=p,m},Xs=function(e){return e},Qs=Xu(),Zs=Xu(),Js={point:wc,lineStart:wc,lineEnd:wc,polygonStart:function(){Js.lineStart=ef,Js.lineEnd=rf},polygonEnd:function(){Js.lineStart=Js.lineEnd=Js.point=wc,Qs.add(uc(Zs)),Zs.reset()},result:function(){var e=Qs/2;return Qs.reset(),e}};function ef(){Js.point=tf}function tf(e,t){Js.point=nf,Vs=Gs=e,Ys=$s=t}function nf(e,t){Zs.add($s*e-Gs*t),Gs=e,$s=t}function rf(){nf(Vs,Ys)}var of=Js,af=1/0,uf=af,cf=-af,lf=cf;var sf,ff,df,hf,pf={point:function(e,t){e<af&&(af=e);e>cf&&(cf=e);t<uf&&(uf=t);t>lf&&(lf=t)},lineStart:wc,lineEnd:wc,polygonStart:wc,polygonEnd:wc,result:function(){var e=[[af,uf],[cf,lf]];return cf=lf=-(uf=af=1/0),e}},vf=0,mf=0,yf=0,gf=0,bf=0,xf=0,_f=0,wf=0,kf=0,Of={point:Tf,lineStart:Ef,lineEnd:Mf,polygonStart:function(){Of.lineStart=jf,Of.lineEnd=Nf},polygonEnd:function(){Of.point=Tf,Of.lineStart=Ef,Of.lineEnd=Mf},result:function(){var e=kf?[_f/kf,wf/kf]:xf?[gf/xf,bf/xf]:yf?[vf/yf,mf/yf]:[NaN,NaN];return vf=mf=yf=gf=bf=xf=_f=wf=kf=0,e}};function Tf(e,t){vf+=e,mf+=t,++yf}function Ef(){Of.point=Cf}function Cf(e,t){Of.point=Sf,Tf(df=e,hf=t)}function Sf(e,t){var n=e-df,r=t-hf,i=yc(n*n+r*r);gf+=i*(df+e)/2,bf+=i*(hf+t)/2,xf+=i,Tf(df=e,hf=t)}function Mf(){Of.point=Tf}function jf(){Of.point=Pf}function Nf(){Af(sf,ff)}function Pf(e,t){Of.point=Af,Tf(sf=df=e,ff=hf=t)}function Af(e,t){var n=e-df,r=t-hf,i=yc(n*n+r*r);gf+=i*(df+e)/2,bf+=i*(hf+t)/2,xf+=i,_f+=(i=hf*e-df*t)*(df+e),wf+=i*(hf+t),kf+=3*i,Tf(df=e,hf=t)}var If=Of;function Rf(e){this._context=e}Rf.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,ic)}},result:wc};var zf,Df,Lf,Ff,Uf,Bf=Xu(),Wf={point:wc,lineStart:function(){Wf.point=Hf},lineEnd:function(){zf&&qf(Df,Lf),Wf.point=wc},polygonStart:function(){zf=!0},polygonEnd:function(){zf=null},result:function(){var e=+Bf;return Bf.reset(),e}};function Hf(e,t){Wf.point=qf,Df=Ff=e,Lf=Uf=t}function qf(e,t){Ff-=e,Uf-=t,Bf.add(yc(Ff*Ff+Uf*Uf)),Ff=e,Uf=t}var Vf=Wf;function Yf(){this._string=[]}function Gf(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Yf.prototype={_radius:4.5,_circle:Gf(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=Gf(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}};var $f=function(e,t){var n,r,i=4.5;function o(e){return e&&("function"===typeof i&&r.pointRadius(+i.apply(this,arguments)),Ac(e,n(r))),r.result()}return o.area=function(e){return Ac(e,n(of)),of.result()},o.measure=function(e){return Ac(e,n(Vf)),Vf.result()},o.bounds=function(e){return Ac(e,n(pf)),pf.result()},o.centroid=function(e){return Ac(e,n(If)),If.result()},o.projection=function(t){return arguments.length?(n=null==t?(e=null,Xs):(e=t).stream,o):e},o.context=function(e){return arguments.length?(r=null==e?(t=null,new Yf):new Rf(t=e),"function"!==typeof i&&r.pointRadius(i),o):t},o.pointRadius=function(e){return arguments.length?(i="function"===typeof e?e:(r.pointRadius(+e),+e),o):i},o.projection(e).context(t)},Kf=function(e){return{stream:Xf(e)}};function Xf(e){return function(t){var n=new Qf;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Qf(){}function Zf(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),Ac(n,e.stream(pf)),t(pf.result()),null!=r&&e.clipExtent(r),e}function Jf(e,t,n){return Zf(e,function(n){var r=t[1][0]-t[0][0],i=t[1][1]-t[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+t[0][0]+(r-o*(n[1][0]+n[0][0]))/2,u=+t[0][1]+(i-o*(n[1][1]+n[0][1]))/2;e.scale(150*o).translate([a,u])},n)}function ed(e,t,n){return Jf(e,[[0,0],t],n)}function td(e,t,n){return Zf(e,function(n){var r=+t,i=r/(n[1][0]-n[0][0]),o=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];e.scale(150*i).translate([o,a])},n)}function nd(e,t,n){return Zf(e,function(n){var r=+t,i=r/(n[1][1]-n[0][1]),o=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([o,a])},n)}Qf.prototype={constructor:Qf,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()}};var rd=16,id=sc(30*ac),od=function(e,t){return+t?function(e,t){function n(r,i,o,a,u,c,l,s,f,d,h,p,v,m){var y=l-r,g=s-i,b=y*y+g*g;if(b>4*t&&v--){var x=a+d,_=u+h,w=c+p,k=yc(x*x+_*_+w*w),O=xc(w/=k),T=uc(uc(w)-1)<ec||uc(o-f)<ec?(o+f)/2:lc(_,x),E=e(T,O),C=E[0],S=E[1],M=C-r,j=S-i,N=g*M-y*j;(N*N/b>t||uc((y*M+g*j)/b-.5)>.3||a*d+u*h+c*p<id)&&(n(r,i,o,a,u,c,C,S,T,x/=k,_/=k,w,v,m),m.point(C,S),n(C,S,T,x,_,w,l,s,f,d,h,p,v,m))}}return function(t){var r,i,o,a,u,c,l,s,f,d,h,p,v={point:m,lineStart:y,lineEnd:b,polygonStart:function(){t.polygonStart(),v.lineStart=x},polygonEnd:function(){t.polygonEnd(),v.lineStart=y}};function m(n,r){n=e(n,r),t.point(n[0],n[1])}function y(){s=NaN,v.point=g,t.lineStart()}function g(r,i){var o=Hc([r,i]),a=e(r,i);n(s,f,l,d,h,p,s=a[0],f=a[1],l=r,d=o[0],h=o[1],p=o[2],rd,t),t.point(s,f)}function b(){v.point=m,t.lineEnd()}function x(){y(),v.point=_,v.lineEnd=w}function _(e,t){g(r=e,t),i=s,o=f,a=d,u=h,c=p,v.point=g}function w(){n(s,f,l,d,h,p,i,o,r,a,u,c,rd,t),v.lineEnd=b,b()}return v}}(e,t):function(e){return Xf({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}(e)};var ad=Xf({point:function(e,t){this.stream.point(e*ac,t*ac)}});function ud(e,t,n,r){var i=sc(r),o=vc(r),a=i*e,u=o*e,c=i/e,l=o/e,s=(o*n-i*t)/e,f=(o*t+i*n)/e;function d(e,r){return[a*e-u*r+t,n-u*e-a*r]}return d.invert=function(e,t){return[c*e-l*t+s,f-l*e-c*t]},d}function cd(e){return ld(function(){return e})()}function ld(e){var t,n,r,i,o,a,u,c,l,s,f=150,d=480,h=250,p=0,v=0,m=0,y=0,g=0,b=0,x=null,_=hs,w=null,k=Xs,O=.5;function T(e){return c(e[0]*ac,e[1]*ac)}function E(e){return(e=c.invert(e[0],e[1]))&&[e[0]*oc,e[1]*oc]}function C(){var e=ud(f,0,0,b).apply(null,t(p,v)),r=(b?ud:function(e,t,n){function r(r,i){return[t+e*r,n-e*i]}return r.invert=function(r,i){return[(r-t)/e,(n-i)/e]},r})(f,d-e[0],h-e[1],b);return n=Kl(m,y,g),u=Gl(t,r),c=Gl(n,u),a=od(u,O),S()}function S(){return l=s=null,T}return T.stream=function(e){return l&&s===e?l:l=ad(function(e){return Xf({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}(n)(_(a(k(s=e)))))},T.preclip=function(e){return arguments.length?(_=e,x=void 0,S()):_},T.postclip=function(e){return arguments.length?(k=e,w=r=i=o=null,S()):k},T.clipAngle=function(e){return arguments.length?(_=+e?ps(x=e*ac):(x=null,hs),S()):x*oc},T.clipExtent=function(e){return arguments.length?(k=null==e?(w=r=i=o=null,Xs):gs(w=+e[0][0],r=+e[0][1],i=+e[1][0],o=+e[1][1]),S()):null==w?null:[[w,r],[i,o]]},T.scale=function(e){return arguments.length?(f=+e,C()):f},T.translate=function(e){return arguments.length?(d=+e[0],h=+e[1],C()):[d,h]},T.center=function(e){return arguments.length?(p=e[0]%360*ac,v=e[1]%360*ac,C()):[p*oc,v*oc]},T.rotate=function(e){return arguments.length?(m=e[0]%360*ac,y=e[1]%360*ac,g=e.length>2?e[2]%360*ac:0,C()):[m*oc,y*oc,g*oc]},T.angle=function(e){return arguments.length?(b=e%360*ac,C()):b*oc},T.precision=function(e){return arguments.length?(a=od(u,O=e*e),S()):yc(O)},T.fitExtent=function(e,t){return Jf(T,e,t)},T.fitSize=function(e,t){return ed(T,e,t)},T.fitWidth=function(e,t){return td(T,e,t)},T.fitHeight=function(e,t){return nd(T,e,t)},function(){return t=e.apply(this,arguments),T.invert=t.invert&&E,C()}}function sd(e){var t=0,n=tc/3,r=ld(e),i=r(t,n);return i.parallels=function(e){return arguments.length?r(t=e[0]*ac,n=e[1]*ac):[t*oc,n*oc]},i}function fd(e,t){var n=vc(e),r=(n+vc(t))/2;if(uc(r)<ec)return function(e){var t=sc(e);function n(e,n){return[e*t,vc(n)/t]}return n.invert=function(e,n){return[e/t,xc(n*t)]},n}(e);var i=1+n*(2*r-n),o=yc(i)/r;function a(e,t){var n=yc(i-2*r*vc(t))/r;return[n*vc(e*=r),o-n*sc(e)]}return a.invert=function(e,t){var n=o-t;return[lc(e,uc(n))/r*mc(n),xc((i-(e*e+n*n)*r*r)/(2*r))]},a}var dd=function(){return sd(fd).scale(155.424).center([0,33.6442])},hd=function(){return dd().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var pd=function(){var e,t,n,r,i,o,a=hd(),u=dd().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=dd().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(e,t){o=[e,t]}};function s(e){var t=e[0],a=e[1];return o=null,n.point(t,a),o||(r.point(t,a),o)||(i.point(t,a),o)}function f(){return e=t=null,s}return s.invert=function(e){var t=a.scale(),n=a.translate(),r=(e[0]-n[0])/t,i=(e[1]-n[1])/t;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:a).invert(e)},s.stream=function(n){return e&&t===n?e:e=function(e){var t=e.length;return{point:function(n,r){for(var i=-1;++i<t;)e[i].point(n,r)},sphere:function(){for(var n=-1;++n<t;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<t;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<t;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<t;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<t;)e[n].polygonEnd()}}}([a.stream(t=n),u.stream(n),c.stream(n)])},s.precision=function(e){return arguments.length?(a.precision(e),u.precision(e),c.precision(e),f()):a.precision()},s.scale=function(e){return arguments.length?(a.scale(e),u.scale(.35*e),c.scale(e),s.translate(a.translate())):a.scale()},s.translate=function(e){if(!arguments.length)return a.translate();var t=a.scale(),o=+e[0],s=+e[1];return n=a.translate(e).clipExtent([[o-.455*t,s-.238*t],[o+.455*t,s+.238*t]]).stream(l),r=u.translate([o-.307*t,s+.201*t]).clipExtent([[o-.425*t+ec,s+.12*t+ec],[o-.214*t-ec,s+.234*t-ec]]).stream(l),i=c.translate([o-.205*t,s+.212*t]).clipExtent([[o-.214*t+ec,s+.166*t+ec],[o-.115*t-ec,s+.234*t-ec]]).stream(l),f()},s.fitExtent=function(e,t){return Jf(s,e,t)},s.fitSize=function(e,t){return ed(s,e,t)},s.fitWidth=function(e,t){return td(s,e,t)},s.fitHeight=function(e,t){return nd(s,e,t)},s.scale(1070)};function vd(e){return function(t,n){var r=sc(t),i=sc(n),o=e(r*i);return[o*i*vc(t),o*vc(n)]}}function md(e){return function(t,n){var r=yc(t*t+n*n),i=e(r),o=vc(i),a=sc(i);return[lc(t*o,r*a),xc(r&&n*o/r)]}}var yd=vd(function(e){return yc(2/(1+e))});yd.invert=md(function(e){return 2*xc(e/2)});var gd=function(){return cd(yd).scale(124.75).clipAngle(179.999)},bd=vd(function(e){return(e=bc(e))&&e/vc(e)});bd.invert=md(function(e){return e});var xd=function(){return cd(bd).scale(79.4188).clipAngle(179.999)};function _d(e,t){return[e,hc(gc((nc+t)/2))]}_d.invert=function(e,t){return[e,2*cc(dc(t))-nc]};var wd=function(){return kd(_d).scale(961/ic)};function kd(e){var t,n,r,i=cd(e),o=i.center,a=i.scale,u=i.translate,c=i.clipExtent,l=null;function s(){var o=tc*a(),u=i(Jl(i.rotate()).invert([0,0]));return c(null==l?[[u[0]-o,u[1]-o],[u[0]+o,u[1]+o]]:e===_d?[[Math.max(u[0]-o,l),t],[Math.min(u[0]+o,n),r]]:[[l,Math.max(u[1]-o,t)],[n,Math.min(u[1]+o,r)]])}return i.scale=function(e){return arguments.length?(a(e),s()):a()},i.translate=function(e){return arguments.length?(u(e),s()):u()},i.center=function(e){return arguments.length?(o(e),s()):o()},i.clipExtent=function(e){return arguments.length?(null==e?l=t=n=r=null:(l=+e[0][0],t=+e[0][1],n=+e[1][0],r=+e[1][1]),s()):null==l?null:[[l,t],[n,r]]},s()}function Od(e){return gc((nc+e)/2)}function Td(e,t){var n=sc(e),r=e===t?vc(e):hc(n/sc(t))/hc(Od(t)/Od(e)),i=n*pc(Od(e),r)/r;if(!r)return _d;function o(e,t){i>0?t<-nc+ec&&(t=-nc+ec):t>nc-ec&&(t=nc-ec);var n=i/pc(Od(t),r);return[n*vc(r*e),i-n*sc(r*e)]}return o.invert=function(e,t){var n=i-t,o=mc(r)*yc(e*e+n*n);return[lc(e,uc(n))/r*mc(n),2*cc(pc(i/o,1/r))-nc]},o}var Ed=function(){return sd(Td).scale(109.5).parallels([30,30])};function Cd(e,t){return[e,t]}Cd.invert=Cd;var Sd=function(){return cd(Cd).scale(152.63)};function Md(e,t){var n=sc(e),r=e===t?vc(e):(n-sc(t))/(t-e),i=n/r+e;if(uc(r)<ec)return Cd;function o(e,t){var n=i-t,o=r*e;return[n*vc(o),i-n*sc(o)]}return o.invert=function(e,t){var n=i-t;return[lc(e,uc(n))/r*mc(n),i-mc(r)*yc(e*e+n*n)]},o}var jd=function(){return sd(Md).scale(131.154).center([0,13.9389])},Nd=1.340264,Pd=-.081106,Ad=893e-6,Id=.003796,Rd=yc(3)/2;function zd(e,t){var n=xc(Rd*vc(t)),r=n*n,i=r*r*r;return[e*sc(n)/(Rd*(Nd+3*Pd*r+i*(7*Ad+9*Id*r))),n*(Nd+Pd*r+i*(Ad+Id*r))]}zd.invert=function(e,t){for(var n,r=t,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=n=(r*(Nd+Pd*i+o*(Ad+Id*i))-t)/(Nd+3*Pd*i+o*(7*Ad+9*Id*i)))*r)*i*i,!(uc(n)<1e-12));++a);return[Rd*e*(Nd+3*Pd*i+o*(7*Ad+9*Id*i))/sc(r),xc(vc(r)/Rd)]};var Dd=function(){return cd(zd).scale(177.158)};function Ld(e,t){var n=sc(t),r=sc(e)*n;return[n*vc(e)/r,vc(t)/r]}Ld.invert=md(cc);var Fd=function(){return cd(Ld).scale(144.049).clipAngle(60)};function Ud(e,t,n,r){return 1===e&&1===t&&0===n&&0===r?Xs:Xf({point:function(i,o){this.stream.point(i*e+n,o*t+r)}})}var Bd=function(){var e,t,n,r,i,o,a=1,u=0,c=0,l=1,s=1,f=Xs,d=null,h=Xs;function p(){return r=i=null,o}return o={stream:function(e){return r&&i===e?r:r=f(h(i=e))},postclip:function(r){return arguments.length?(h=r,d=e=t=n=null,p()):h},clipExtent:function(r){return arguments.length?(h=null==r?(d=e=t=n=null,Xs):gs(d=+r[0][0],e=+r[0][1],t=+r[1][0],n=+r[1][1]),p()):null==d?null:[[d,e],[t,n]]},scale:function(e){return arguments.length?(f=Ud((a=+e)*l,a*s,u,c),p()):a},translate:function(e){return arguments.length?(f=Ud(a*l,a*s,u=+e[0],c=+e[1]),p()):[u,c]},reflectX:function(e){return arguments.length?(f=Ud(a*(l=e?-1:1),a*s,u,c),p()):l<0},reflectY:function(e){return arguments.length?(f=Ud(a*l,a*(s=e?-1:1),u,c),p()):s<0},fitExtent:function(e,t){return Jf(o,e,t)},fitSize:function(e,t){return ed(o,e,t)},fitWidth:function(e,t){return td(o,e,t)},fitHeight:function(e,t){return nd(o,e,t)}}};function Wd(e,t){var n=t*t,r=n*n;return[e*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),t*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}Wd.invert=function(e,t){var n,r=t,i=25;do{var o=r*r,a=o*o;r-=n=(r*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-t)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(uc(n)>ec&&--i>0);return[e/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]};var Hd=function(){return cd(Wd).scale(175.295)};function qd(e,t){return[sc(t)*vc(e),vc(t)]}qd.invert=md(xc);var Vd=function(){return cd(qd).scale(249.5).clipAngle(90+ec)};function Yd(e,t){var n=sc(t),r=1+sc(e)*n;return[n*vc(e)/r,vc(t)/r]}Yd.invert=md(function(e){return 2*cc(e)});var Gd=function(){return cd(Yd).scale(250).clipAngle(142)};function $d(e,t){return[hc(gc((nc+t)/2)),-e]}$d.invert=function(e,t){return[-t,2*cc(dc(e))-nc]};var Kd=function(){var e=kd($d),t=e.center,n=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return arguments.length?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)},Xd=n(99),Qd=function(e){for(var t,n=-1,r=e.length,i=e[r-1],o=0;++n<r;)t=i,i=e[n],o+=t[1]*i[0]-t[0]*i[1];return o/2},Zd=function(e){for(var t,n,r=-1,i=e.length,o=0,a=0,u=e[i-1],c=0;++r<i;)t=u,u=e[r],c+=n=t[0]*u[1]-u[0]*t[1],o+=(t[0]+u[0])*n,a+=(t[1]+u[1])*n;return[o/(c*=3),a/c]},Jd=function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])};function eh(e,t){return e[0]-t[0]||e[1]-t[1]}function th(e){for(var t=e.length,n=[0,1],r=2,i=2;i<t;++i){for(;r>1&&Jd(e[n[r-2]],e[n[r-1]],e[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}var nh=function(e){if((n=e.length)<3)return null;var t,n,r=new Array(n),i=new Array(n);for(t=0;t<n;++t)r[t]=[+e[t][0],+e[t][1],t];for(r.sort(eh),t=0;t<n;++t)i[t]=[r[t][0],-r[t][1]];var o=th(r),a=th(i),u=a[0]===o[0],c=a[a.length-1]===o[o.length-1],l=[];for(t=o.length-1;t>=0;--t)l.push(e[r[o[t]][2]]);for(t=+u;t<a.length-c;++t)l.push(e[r[a[t]][2]]);return l},rh=function(e,t){for(var n,r,i=e.length,o=e[i-1],a=t[0],u=t[1],c=o[0],l=o[1],s=!1,f=0;f<i;++f)n=(o=e[f])[0],(r=o[1])>u!==l>u&&a<(c-n)*(u-r)/(l-r)+n&&(s=!s),c=n,l=r;return s},ih=function(e){for(var t,n,r=-1,i=e.length,o=e[i-1],a=o[0],u=o[1],c=0;++r<i;)t=a,n=u,t-=a=(o=e[r])[0],n-=u=o[1],c+=Math.sqrt(t*t+n*n);return c},oh=function(){return Math.random()},ah=function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(oh),uh=function e(t){function n(e,n){var r,i;return e=null==e?0:+e,n=null==n?1:+n,function(){var o;if(null!=r)o=r,r=null;else do{r=2*t()-1,o=2*t()-1,i=r*r+o*o}while(!i||i>1);return e+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=e,n}(oh),ch=function e(t){function n(){var e=uh.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(oh),lh=function e(t){function n(e){return function(){for(var n=0,r=0;r<e;++r)n+=t();return n}}return n.source=e,n}(oh),sh=function e(t){function n(e){var n=lh.source(t)(e);return function(){return n()/e}}return n.source=e,n}(oh),fh=function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(oh);function dh(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function hh(e,t){switch(arguments.length){case 0:break;case 1:this.interpolator(e);break;default:this.interpolator(t).domain(e)}return this}var ph=Array.prototype,vh=ph.map,mh=ph.slice,yh={name:"implicit"};function gh(){var e=Xo(),t=[],n=[],r=yh;function i(i){var o=i+"",a=e.get(o);if(!a){if(r!==yh)return r;e.set(o,a=t.push(i))}return n[(a-1)%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=Xo();for(var r,o,a=-1,u=n.length;++a<u;)e.has(o=(r=n[a])+"")||e.set(o,t.push(r));return i},i.range=function(e){return arguments.length?(n=mh.call(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return gh(t,n).unknown(r)},dh.apply(i,arguments),i}function bh(){var e,t,n=gh().unknown(void 0),r=n.domain,i=n.range,o=[0,1],a=!1,u=0,c=0,l=.5;function s(){var n=r().length,s=o[1]<o[0],f=o[s-0],d=o[1-s];e=(d-f)/Math.max(1,n-u+2*c),a&&(e=Math.floor(e)),f+=(d-f-e*(n-u))*l,t=e*(1-u),a&&(f=Math.round(f),t=Math.round(t));var h=w(n).map(function(t){return f+e*t});return i(s?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),s()):r()},n.range=function(e){return arguments.length?(o=[+e[0],+e[1]],s()):o.slice()},n.rangeRound=function(e){return o=[+e[0],+e[1]],a=!0,s()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,s()):a},n.padding=function(e){return arguments.length?(u=Math.min(1,c=+e),s()):u},n.paddingInner=function(e){return arguments.length?(u=Math.min(1,e),s()):u},n.paddingOuter=function(e){return arguments.length?(c=+e,s()):c},n.align=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),s()):l},n.copy=function(){return bh(r(),o).round(a).paddingInner(u).paddingOuter(c).align(l)},dh.apply(s(),arguments)}function xh(){return function e(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return e(n())},t}(bh.apply(null,arguments).paddingInner(1))}var _h=function(e){return function(){return e}},wh=function(e){return+e},kh=[0,1];function Oh(e){return e}function Th(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:_h(isNaN(t)?NaN:.5)}function Eh(e){var t,n=e[0],r=e[e.length-1];return n>r&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function Ch(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=Th(i,r),o=n(a,o)):(r=Th(r,i),o=n(o,a)),function(e){return o(r(e))}}function Sh(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)i[a]=Th(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=c(e,t,1,r)-1;return o[n](i[n](t))}}function Mh(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function jh(){var e,t,n,r,i,o,a=kh,u=kh,c=$n,l=Oh;function s(){return r=Math.min(a.length,u.length)>2?Sh:Ch,i=o=null,f}function f(t){return isNaN(t=+t)?n:(i||(i=r(a.map(e),u,c)))(e(l(t)))}return f.invert=function(n){return l(t((o||(o=r(u,a.map(e),Fn)))(n)))},f.domain=function(e){return arguments.length?(a=vh.call(e,wh),l===Oh||(l=Eh(a)),s()):a.slice()},f.range=function(e){return arguments.length?(u=mh.call(e),s()):u.slice()},f.rangeRound=function(e){return u=mh.call(e),c=Qn,s()},f.clamp=function(e){return arguments.length?(l=e?Eh(a):Oh,f):l!==Oh},f.interpolate=function(e){return arguments.length?(c=e,s()):c},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,s()}}function Nh(e,t){return jh()(e,t)}var Ph=function(e,t,n,r){var i,o=S(e,t,n);switch((r=Iu(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=$u(o,a))||(r.precision=i),Fu(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Ku(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Gu(o))||(r.precision=i-2*("%"===r.type))}return Lu(r)};function Ah(e){var t=e.domain;return e.ticks=function(e){var n=t();return E(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Ph(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i=t(),o=0,a=i.length-1,u=i[o],c=i[a];return c<u&&(r=u,u=c,c=r,r=o,o=a,a=r),(r=C(u,c,n))>0?r=C(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=C(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,n)),r>0?(i[o]=Math.floor(u/r)*r,i[a]=Math.ceil(c/r)*r,t(i)):r<0&&(i[o]=Math.ceil(u*r)/r,i[a]=Math.floor(c*r)/r,t(i)),e},e}function Ih(){var e=Nh(Oh,Oh);return e.copy=function(){return Mh(e,Ih())},dh.apply(e,arguments),Ah(e)}function Rh(e){var t;function n(e){return isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=vh.call(t,wh),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return Rh(e).unknown(t)},e=arguments.length?vh.call(e,wh):[0,1],Ah(n)}var zh=function(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),e[r]=t.floor(o),e[i]=t.ceil(a),e};function Dh(e){return Math.log(e)}function Lh(e){return Math.exp(e)}function Fh(e){return-Math.log(-e)}function Uh(e){return-Math.exp(-e)}function Bh(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Wh(e){return function(t){return-e(-t)}}function Hh(e){var t,n,r=e(Dh,Lh),i=r.domain,o=10;function a(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(o),n=function(e){return 10===e?Bh:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(o),i()[0]<0?(t=Wh(t),n=Wh(n),e(Fh,Uh)):e(Dh,Lh),r}return r.base=function(e){return arguments.length?(o=+e,a()):o},r.domain=function(e){return arguments.length?(i(e),a()):i()},r.ticks=function(e){var r,a=i(),u=a[0],c=a[a.length-1];(r=c<u)&&(d=u,u=c,c=d);var l,s,f,d=t(u),h=t(c),p=null==e?10:+e,v=[];if(!(o%1)&&h-d<p){if(d=Math.round(d)-1,h=Math.round(h)+1,u>0){for(;d<h;++d)for(s=1,l=n(d);s<o;++s)if(!((f=l*s)<u)){if(f>c)break;v.push(f)}}else for(;d<h;++d)for(s=o-1,l=n(d);s>=1;--s)if(!((f=l*s)<u)){if(f>c)break;v.push(f)}}else v=E(d,h,Math.min(h-d,p)).map(n);return r?v.reverse():v},r.tickFormat=function(e,i){if(null==i&&(i=10===o?".0e":","),"function"!==typeof i&&(i=Lu(i)),e===1/0)return i;null==e&&(e=10);var a=Math.max(1,o*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*o<o-.5&&(r*=o),r<=a?i(e):""}},r.nice=function(){return i(zh(i(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function qh(){var e=Hh(jh()).domain([1,10]);return e.copy=function(){return Mh(e,qh()).base(e.base())},dh.apply(e,arguments),e}function Vh(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Yh(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Gh(e){var t=1,n=e(Vh(t),Yh(t));return n.constant=function(n){return arguments.length?e(Vh(t=+n),Yh(t)):t},Ah(n)}function $h(){var e=Gh(jh());return e.copy=function(){return Mh(e,$h()).constant(e.constant())},dh.apply(e,arguments)}function Kh(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Xh(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Qh(e){return e<0?-e*e:e*e}function Zh(e){var t=e(Oh,Oh),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(Oh,Oh):.5===n?e(Xh,Qh):e(Kh(n),Kh(1/n)):n},Ah(t)}function Jh(){var e=Zh(jh());return e.copy=function(){return Mh(e,Jh()).exponent(e.exponent())},dh.apply(e,arguments),e}function ep(){return Jh.apply(null,arguments).exponent(.5)}function tp(){var e,t=[],n=[],i=[];function o(){var e=0,r=Math.max(1,n.length);for(i=new Array(r-1);++e<r;)i[e-1]=N(t,e/r);return a}function a(t){return isNaN(t=+t)?e:n[c(i,t)]}return a.invertExtent=function(e){var r=n.indexOf(e);return r<0?[NaN,NaN]:[r>0?i[r-1]:t[0],r<i.length?i[r]:t[t.length-1]]},a.domain=function(e){if(!arguments.length)return t.slice();t=[];for(var n,i=0,a=e.length;i<a;++i)null==(n=e[i])||isNaN(n=+n)||t.push(n);return t.sort(r),o()},a.range=function(e){return arguments.length?(n=mh.call(e),o()):n.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return i.slice()},a.copy=function(){return tp().domain(t).range(n).unknown(e)},dh.apply(a,arguments)}function np(){var e,t=0,n=1,r=1,i=[.5],o=[0,1];function a(t){return t<=t?o[c(i,t,0,r)]:e}function u(){var e=-1;for(i=new Array(r);++e<r;)i[e]=((e+1)*n-(e-r)*t)/(r+1);return a}return a.domain=function(e){return arguments.length?(t=+e[0],n=+e[1],u()):[t,n]},a.range=function(e){return arguments.length?(r=(o=mh.call(e)).length-1,u()):o.slice()},a.invertExtent=function(e){var a=o.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return np().domain([t,n]).range(o).unknown(e)},dh.apply(Ah(a),arguments)}function rp(){var e,t=[.5],n=[0,1],r=1;function i(i){return i<=i?n[c(t,i,0,r)]:e}return i.domain=function(e){return arguments.length?(t=mh.call(e),r=Math.min(t.length,n.length-1),i):t.slice()},i.range=function(e){return arguments.length?(n=mh.call(e),r=Math.min(t.length,n.length-1),i):n.slice()},i.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return rp().domain(t).range(n).unknown(e)},dh.apply(i,arguments)}var ip=new Date,op=new Date;function ap(e,t,n,r){function i(t){return e(t=new Date(+t)),t}return i.floor=i,i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var a,u=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r)||!(o>0))return u;do{u.push(a=new Date(+n)),t(n,o),e(n)}while(a<n&&n<r);return u},i.filter=function(n){return ap(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return ip.setTime(+t),op.setTime(+r),e(ip),e(op),Math.floor(n(ip,op))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var up=ap(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});up.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?ap(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):up:null};var cp=up,lp=up.range,sp=6e4,fp=6048e5,dp=ap(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}),hp=dp,pp=dp.range,vp=ap(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},function(e,t){e.setTime(+e+t*sp)},function(e,t){return(t-e)/sp},function(e){return e.getMinutes()}),mp=vp,yp=vp.range,gp=ap(function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-e.getMinutes()*sp)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()}),bp=gp,xp=gp.range,_p=ap(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*sp)/864e5},function(e){return e.getDate()-1}),wp=_p,kp=_p.range;function Op(e){return ap(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*sp)/fp})}var Tp=Op(0),Ep=Op(1),Cp=Op(2),Sp=Op(3),Mp=Op(4),jp=Op(5),Np=Op(6),Pp=Tp.range,Ap=Ep.range,Ip=Cp.range,Rp=Sp.range,zp=Mp.range,Dp=jp.range,Lp=Np.range,Fp=ap(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),Up=Fp,Bp=Fp.range,Wp=ap(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Wp.every=function(e){return isFinite(e=Math.floor(e))&&e>0?ap(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var Hp=Wp,qp=Wp.range,Vp=ap(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*sp)},function(e,t){return(t-e)/sp},function(e){return e.getUTCMinutes()}),Yp=Vp,Gp=Vp.range,$p=ap(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()}),Kp=$p,Xp=$p.range,Qp=ap(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1}),Zp=Qp,Jp=Qp.range;function ev(e){return ap(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/fp})}var tv=ev(0),nv=ev(1),rv=ev(2),iv=ev(3),ov=ev(4),av=ev(5),uv=ev(6),cv=tv.range,lv=nv.range,sv=rv.range,fv=iv.range,dv=ov.range,hv=av.range,pv=uv.range,vv=ap(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),mv=vv,yv=vv.range,gv=ap(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});gv.every=function(e){return isFinite(e=Math.floor(e))&&e>0?ap(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var bv=gv,xv=gv.range;function _v(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function wv(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function kv(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function Ov(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,u=e.months,c=e.shortMonths,l=zv(i),s=Dv(i),f=zv(o),d=Dv(o),h=zv(a),p=Dv(a),v=zv(u),m=Dv(u),y=zv(c),g=Dv(c),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:rm,e:rm,f:cm,H:im,I:om,j:am,L:um,m:lm,M:sm,p:function(e){return i[+(e.getHours()>=12)]},Q:Lm,s:Fm,S:fm,u:dm,U:hm,V:pm,w:vm,W:mm,x:null,X:null,y:ym,Y:gm,Z:bm,"%":Dm},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:xm,e:xm,f:Tm,H:_m,I:wm,j:km,L:Om,m:Em,M:Cm,p:function(e){return i[+(e.getUTCHours()>=12)]},Q:Lm,s:Fm,S:Sm,u:Mm,U:jm,V:Nm,w:Pm,W:Am,x:null,X:null,y:Im,Y:Rm,Z:zm,"%":Dm},_={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=m[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return O(e,t,n,r)},d:Gv,e:Gv,f:Jv,H:Kv,I:Kv,j:$v,L:Zv,m:Yv,M:Xv,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=s[r[0].toLowerCase()],n+r[0].length):-1},Q:tm,s:nm,S:Qv,u:Fv,U:Uv,V:Bv,w:Lv,W:Wv,x:function(e,t,r){return O(e,n,t,r)},X:function(e,t,n){return O(e,r,t,n)},y:qv,Y:Hv,Z:Vv,"%":em};function w(e,t){return function(n){var r,i,o,a=[],u=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++u<l;)37===e.charCodeAt(u)&&(a.push(e.slice(c,u)),null!=(i=jv[r=e.charAt(++u)])?r=e.charAt(++u):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),c=u+1);return a.push(e.slice(c,u)),a.join("")}}function k(e,t){return function(n){var r,i,o=kv(1900);if(O(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=wv(kv(o.y))).getUTCDay(),r=i>4||0===i?nv.ceil(r):nv(r),r=Zp.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=t(kv(o.y))).getDay(),r=i>4||0===i?Ep.ceil(r):Ep(r),r=wp.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?wv(kv(o.y)).getUTCDay():t(kv(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,wv(o)):t(o)}}function O(e,t,n,r){for(var i,o,a=0,u=t.length,c=n.length;a<u;){if(r>=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=_[i in jv?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(t,b),x.x=w(n,x),x.X=w(r,x),x.c=w(t,x),{format:function(e){var t=w(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",_v);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e,wv);return t.toString=function(){return e},t}}}var Tv,Ev,Cv,Sv,Mv,jv={"-":"",_:" ",0:"0"},Nv=/^\s*\d+/,Pv=/^%/,Av=/[\\^$*+?|[\]().{}]/g;function Iv(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function Rv(e){return e.replace(Av,"\\$&")}function zv(e){return new RegExp("^(?:"+e.map(Rv).join("|")+")","i")}function Dv(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function Lv(e,t,n){var r=Nv.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Fv(e,t,n){var r=Nv.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Uv(e,t,n){var r=Nv.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Bv(e,t,n){var r=Nv.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Wv(e,t,n){var r=Nv.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Hv(e,t,n){var r=Nv.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function qv(e,t,n){var r=Nv.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Vv(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Yv(e,t,n){var r=Nv.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Gv(e,t,n){var r=Nv.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function $v(e,t,n){var r=Nv.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Kv(e,t,n){var r=Nv.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Xv(e,t,n){var r=Nv.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Qv(e,t,n){var r=Nv.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Zv(e,t,n){var r=Nv.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Jv(e,t,n){var r=Nv.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function em(e,t,n){var r=Pv.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function tm(e,t,n){var r=Nv.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function nm(e,t,n){var r=Nv.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function rm(e,t){return Iv(e.getDate(),t,2)}function im(e,t){return Iv(e.getHours(),t,2)}function om(e,t){return Iv(e.getHours()%12||12,t,2)}function am(e,t){return Iv(1+wp.count(Hp(e),e),t,3)}function um(e,t){return Iv(e.getMilliseconds(),t,3)}function cm(e,t){return um(e,t)+"000"}function lm(e,t){return Iv(e.getMonth()+1,t,2)}function sm(e,t){return Iv(e.getMinutes(),t,2)}function fm(e,t){return Iv(e.getSeconds(),t,2)}function dm(e){var t=e.getDay();return 0===t?7:t}function hm(e,t){return Iv(Tp.count(Hp(e),e),t,2)}function pm(e,t){var n=e.getDay();return e=n>=4||0===n?Mp(e):Mp.ceil(e),Iv(Mp.count(Hp(e),e)+(4===Hp(e).getDay()),t,2)}function vm(e){return e.getDay()}function mm(e,t){return Iv(Ep.count(Hp(e),e),t,2)}function ym(e,t){return Iv(e.getFullYear()%100,t,2)}function gm(e,t){return Iv(e.getFullYear()%1e4,t,4)}function bm(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Iv(t/60|0,"0",2)+Iv(t%60,"0",2)}function xm(e,t){return Iv(e.getUTCDate(),t,2)}function _m(e,t){return Iv(e.getUTCHours(),t,2)}function wm(e,t){return Iv(e.getUTCHours()%12||12,t,2)}function km(e,t){return Iv(1+Zp.count(bv(e),e),t,3)}function Om(e,t){return Iv(e.getUTCMilliseconds(),t,3)}function Tm(e,t){return Om(e,t)+"000"}function Em(e,t){return Iv(e.getUTCMonth()+1,t,2)}function Cm(e,t){return Iv(e.getUTCMinutes(),t,2)}function Sm(e,t){return Iv(e.getUTCSeconds(),t,2)}function Mm(e){var t=e.getUTCDay();return 0===t?7:t}function jm(e,t){return Iv(tv.count(bv(e),e),t,2)}function Nm(e,t){var n=e.getUTCDay();return e=n>=4||0===n?ov(e):ov.ceil(e),Iv(ov.count(bv(e),e)+(4===bv(e).getUTCDay()),t,2)}function Pm(e){return e.getUTCDay()}function Am(e,t){return Iv(nv.count(bv(e),e),t,2)}function Im(e,t){return Iv(e.getUTCFullYear()%100,t,2)}function Rm(e,t){return Iv(e.getUTCFullYear()%1e4,t,4)}function zm(){return"+0000"}function Dm(){return"%"}function Lm(e){return+e}function Fm(e){return Math.floor(+e/1e3)}function Um(e){return Tv=Ov(e),Ev=Tv.format,Cv=Tv.parse,Sv=Tv.utcFormat,Mv=Tv.utcParse,Tv}Um({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",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"]});var Bm=Date.prototype.toISOString?function(e){return e.toISOString()}:Sv("%Y-%m-%dT%H:%M:%S.%LZ");var Wm=+new Date("2000-01-01T00:00:00.000Z")?function(e){var t=new Date(e);return isNaN(t)?null:t}:Mv("%Y-%m-%dT%H:%M:%S.%LZ"),Hm=1e3,qm=60*Hm,Vm=60*qm,Ym=24*Vm,Gm=7*Ym,$m=30*Ym,Km=365*Ym;function Xm(e){return new Date(e)}function Qm(e){return e instanceof Date?+e:+new Date(+e)}function Zm(e,t,n,r,o,a,u,c,l){var s=Nh(Oh,Oh),f=s.invert,d=s.domain,h=l(".%L"),p=l(":%S"),v=l("%I:%M"),m=l("%I %p"),y=l("%a %d"),g=l("%b %d"),b=l("%B"),x=l("%Y"),_=[[u,1,Hm],[u,5,5*Hm],[u,15,15*Hm],[u,30,30*Hm],[a,1,qm],[a,5,5*qm],[a,15,15*qm],[a,30,30*qm],[o,1,Vm],[o,3,3*Vm],[o,6,6*Vm],[o,12,12*Vm],[r,1,Ym],[r,2,2*Ym],[n,1,Gm],[t,1,$m],[t,3,3*$m],[e,1,Km]];function w(i){return(u(i)<i?h:a(i)<i?p:o(i)<i?v:r(i)<i?m:t(i)<i?n(i)<i?y:g:e(i)<i?b:x)(i)}function k(t,n,r,o){if(null==t&&(t=10),"number"===typeof t){var a=Math.abs(r-n)/t,u=i(function(e){return e[2]}).right(_,a);u===_.length?(o=S(n/Km,r/Km,t),t=e):u?(o=(u=_[a/_[u-1][2]<_[u][2]/a?u-1:u])[1],t=u[0]):(o=Math.max(S(n,r,t),1),t=c)}return null==o?t:t.every(o)}return s.invert=function(e){return new Date(f(e))},s.domain=function(e){return arguments.length?d(vh.call(e,Qm)):d().map(Xm)},s.ticks=function(e,t){var n,r=d(),i=r[0],o=r[r.length-1],a=o<i;return a&&(n=i,i=o,o=n),n=(n=k(e,i,o,t))?n.range(i,o+1):[],a?n.reverse():n},s.tickFormat=function(e,t){return null==t?w:l(t)},s.nice=function(e,t){var n=d();return(e=k(e,n[0],n[n.length-1],t))?d(zh(n,e)):s},s.copy=function(){return Mh(s,Zm(e,t,n,r,o,a,u,c,l))},s}var Jm=function(){return dh.apply(Zm(Hp,Up,Tp,wp,bp,mp,hp,cp,Ev).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},ey=function(){return dh.apply(Zm(bv,mv,tv,Zp,Kp,Yp,hp,cp,Sv).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)};function ty(){var e,t,n,r,i,o=0,a=1,u=Oh,c=!1;function l(t){return isNaN(t=+t)?i:u(0===n?.5:(t=(r(t)-e)*n,c?Math.max(0,Math.min(1,t)):t))}return l.domain=function(i){return arguments.length?(e=r(o=+i[0]),t=r(a=+i[1]),n=e===t?0:1/(t-e),l):[o,a]},l.clamp=function(e){return arguments.length?(c=!!e,l):c},l.interpolator=function(e){return arguments.length?(u=e,l):u},l.unknown=function(e){return arguments.length?(i=e,l):i},function(i){return r=i,e=i(o),t=i(a),n=e===t?0:1/(t-e),l}}function ny(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function ry(){var e=Ah(ty()(Oh));return e.copy=function(){return ny(e,ry())},hh.apply(e,arguments)}function iy(){var e=Hh(ty()).domain([1,10]);return e.copy=function(){return ny(e,iy()).base(e.base())},hh.apply(e,arguments)}function oy(){var e=Gh(ty());return e.copy=function(){return ny(e,oy()).constant(e.constant())},hh.apply(e,arguments)}function ay(){var e=Zh(ty());return e.copy=function(){return ny(e,ay()).exponent(e.exponent())},hh.apply(e,arguments)}function uy(){return ay.apply(null,arguments).exponent(.5)}function cy(){var e=[],t=Oh;function n(n){if(!isNaN(n=+n))return t((c(e,n)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(var i,o=0,a=t.length;o<a;++o)null==(i=t[o])||isNaN(i=+i)||e.push(i);return e.sort(r),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return cy(t).domain(e)},hh.apply(n,arguments)}function ly(){var e,t,n,r,i,o,a,u=0,c=.5,l=1,s=Oh,f=!1;function d(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(e<t?r:i),s(f?Math.max(0,Math.min(1,e)):e))}return d.domain=function(a){return arguments.length?(e=o(u=+a[0]),t=o(c=+a[1]),n=o(l=+a[2]),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),d):[u,c,l]},d.clamp=function(e){return arguments.length?(f=!!e,d):f},d.interpolator=function(e){return arguments.length?(s=e,d):s},d.unknown=function(e){return arguments.length?(a=e,d):a},function(a){return o=a,e=a(u),t=a(c),n=a(l),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),d}}function sy(){var e=Ah(ly()(Oh));return e.copy=function(){return ny(e,sy())},hh.apply(e,arguments)}function fy(){var e=Hh(ly()).domain([.1,1,10]);return e.copy=function(){return ny(e,fy()).base(e.base())},hh.apply(e,arguments)}function dy(){var e=Gh(ly());return e.copy=function(){return ny(e,dy()).constant(e.constant())},hh.apply(e,arguments)}function hy(){var e=Zh(ly());return e.copy=function(){return ny(e,hy()).exponent(e.exponent())},hh.apply(e,arguments)}function py(){return hy.apply(null,arguments).exponent(.5)}var vy=function(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n},my=vy("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),yy=vy("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),gy=vy("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),by=vy("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),xy=vy("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),_y=vy("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),wy=vy("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),ky=vy("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Oy=vy("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),Ty=function(e){return Rn(e[e.length-1])},Ey=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(vy),Cy=Ty(Ey),Sy=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(vy),My=Ty(Sy),jy=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(vy),Ny=Ty(jy),Py=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(vy),Ay=Ty(Py),Iy=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(vy),Ry=Ty(Iy),zy=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(vy),Dy=Ty(zy),Ly=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(vy),Fy=Ty(Ly),Uy=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(vy),By=Ty(Uy),Wy=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(vy),Hy=Ty(Wy),qy=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(vy),Vy=Ty(qy),Yy=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(vy),Gy=Ty(Yy),$y=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(vy),Ky=Ty($y),Xy=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(vy),Qy=Ty(Xy),Zy=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(vy),Jy=Ty(Zy),eg=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(vy),tg=Ty(eg),ng=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(vy),rg=Ty(ng),ig=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(vy),og=Ty(ig),ag=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(vy),ug=Ty(ag),cg=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(vy),lg=Ty(cg),sg=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(vy),fg=Ty(sg),dg=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(vy),hg=Ty(dg),pg=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(vy),vg=Ty(pg),mg=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(vy),yg=Ty(mg),gg=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(vy),bg=Ty(gg),xg=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(vy),_g=Ty(xg),wg=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(vy),kg=Ty(wg),Og=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(vy),Tg=Ty(Og),Eg=mr(kn(300,.5,0),kn(-240,.5,1)),Cg=mr(kn(-100,.75,.35),kn(80,1.5,.8)),Sg=mr(kn(260,.75,.35),kn(80,1.5,.8)),Mg=kn(),jg=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Mg.h=360*e-100,Mg.s=1.5-1.5*t,Mg.l=.8-.9*t,Mg+""},Ng=Wt(),Pg=Math.PI/3,Ag=2*Math.PI/3,Ig=function(e){var t;return e=(.5-e)*Math.PI,Ng.r=255*(t=Math.sin(e))*t,Ng.g=255*(t=Math.sin(e+Pg))*t,Ng.b=255*(t=Math.sin(e+Ag))*t,Ng+""};function Rg(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var zg=Rg(vy("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Dg=Rg(vy("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Lg=Rg(vy("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Fg=Rg(vy("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),Ug=function(e){return function(){return e}},Bg=Math.abs,Wg=Math.atan2,Hg=Math.cos,qg=Math.max,Vg=Math.min,Yg=Math.sin,Gg=Math.sqrt,$g=1e-12,Kg=Math.PI,Xg=Kg/2,Qg=2*Kg;function Zg(e){return e>=1?Xg:e<=-1?-Xg:Math.asin(e)}function Jg(e){return e.innerRadius}function eb(e){return e.outerRadius}function tb(e){return e.startAngle}function nb(e){return e.endAngle}function rb(e){return e&&e.padAngle}function ib(e,t,n,r,i,o,a){var u=e-n,c=t-r,l=(a?o:-o)/Gg(u*u+c*c),s=l*c,f=-l*u,d=e+s,h=t+f,p=n+s,v=r+f,m=(d+p)/2,y=(h+v)/2,g=p-d,b=v-h,x=g*g+b*b,_=i-o,w=d*v-p*h,k=(b<0?-1:1)*Gg(qg(0,_*_*x-w*w)),O=(w*b-g*k)/x,T=(-w*g-b*k)/x,E=(w*b+g*k)/x,C=(-w*g+b*k)/x,S=O-m,M=T-y,j=E-m,N=C-y;return S*S+M*M>j*j+N*N&&(O=E,T=C),{cx:O,cy:T,x01:-s,y01:-f,x11:O*(i/_-1),y11:T*(i/_-1)}}var ob=function(){var e=Jg,t=eb,n=Ug(0),r=null,i=tb,o=nb,a=rb,u=null;function c(){var c,l,s,f=+e.apply(this,arguments),d=+t.apply(this,arguments),h=i.apply(this,arguments)-Xg,p=o.apply(this,arguments)-Xg,v=Bg(p-h),m=p>h;if(u||(u=c=Bo()),d<f&&(l=d,d=f,f=l),d>$g)if(v>Qg-$g)u.moveTo(d*Hg(h),d*Yg(h)),u.arc(0,0,d,h,p,!m),f>$g&&(u.moveTo(f*Hg(p),f*Yg(p)),u.arc(0,0,f,p,h,m));else{var y,g,b=h,x=p,_=h,w=p,k=v,O=v,T=a.apply(this,arguments)/2,E=T>$g&&(r?+r.apply(this,arguments):Gg(f*f+d*d)),C=Vg(Bg(d-f)/2,+n.apply(this,arguments)),S=C,M=C;if(E>$g){var j=Zg(E/f*Yg(T)),N=Zg(E/d*Yg(T));(k-=2*j)>$g?(_+=j*=m?1:-1,w-=j):(k=0,_=w=(h+p)/2),(O-=2*N)>$g?(b+=N*=m?1:-1,x-=N):(O=0,b=x=(h+p)/2)}var P=d*Hg(b),A=d*Yg(b),I=f*Hg(w),R=f*Yg(w);if(C>$g){var z,D=d*Hg(x),L=d*Yg(x),F=f*Hg(_),U=f*Yg(_);if(v<Kg&&(z=function(e,t,n,r,i,o,a,u){var c=n-e,l=r-t,s=a-i,f=u-o,d=f*c-s*l;if(!(d*d<$g))return[e+(d=(s*(t-o)-f*(e-i))/d)*c,t+d*l]}(P,A,F,U,D,L,I,R))){var B=P-z[0],W=A-z[1],H=D-z[0],q=L-z[1],V=1/Yg(((s=(B*H+W*q)/(Gg(B*B+W*W)*Gg(H*H+q*q)))>1?0:s<-1?Kg:Math.acos(s))/2),Y=Gg(z[0]*z[0]+z[1]*z[1]);S=Vg(C,(f-Y)/(V-1)),M=Vg(C,(d-Y)/(V+1))}}O>$g?M>$g?(y=ib(F,U,P,A,d,M,m),g=ib(D,L,I,R,d,M,m),u.moveTo(y.cx+y.x01,y.cy+y.y01),M<C?u.arc(y.cx,y.cy,M,Wg(y.y01,y.x01),Wg(g.y01,g.x01),!m):(u.arc(y.cx,y.cy,M,Wg(y.y01,y.x01),Wg(y.y11,y.x11),!m),u.arc(0,0,d,Wg(y.cy+y.y11,y.cx+y.x11),Wg(g.cy+g.y11,g.cx+g.x11),!m),u.arc(g.cx,g.cy,M,Wg(g.y11,g.x11),Wg(g.y01,g.x01),!m))):(u.moveTo(P,A),u.arc(0,0,d,b,x,!m)):u.moveTo(P,A),f>$g&&k>$g?S>$g?(y=ib(I,R,D,L,f,-S,m),g=ib(P,A,F,U,f,-S,m),u.lineTo(y.cx+y.x01,y.cy+y.y01),S<C?u.arc(y.cx,y.cy,S,Wg(y.y01,y.x01),Wg(g.y01,g.x01),!m):(u.arc(y.cx,y.cy,S,Wg(y.y01,y.x01),Wg(y.y11,y.x11),!m),u.arc(0,0,f,Wg(y.cy+y.y11,y.cx+y.x11),Wg(g.cy+g.y11,g.cx+g.x11),m),u.arc(g.cx,g.cy,S,Wg(g.y11,g.x11),Wg(g.y01,g.x01),!m))):u.arc(0,0,f,w,_,m):u.lineTo(I,R)}else u.moveTo(0,0);if(u.closePath(),c)return u=null,c+""||null}return c.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Kg/2;return[Hg(r)*n,Yg(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"===typeof t?t:Ug(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"===typeof e?e:Ug(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"===typeof e?e:Ug(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:Ug(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"===typeof e?e:Ug(+e),c):i},c.endAngle=function(e){return arguments.length?(o="function"===typeof e?e:Ug(+e),c):o},c.padAngle=function(e){return arguments.length?(a="function"===typeof e?e:Ug(+e),c):a},c.context=function(e){return arguments.length?(u=null==e?null:e,c):u},c};function ab(e){this._context=e}ab.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var ub=function(e){return new ab(e)};function cb(e){return e[0]}function lb(e){return e[1]}var sb=function(){var e=cb,t=lb,n=Ug(!0),r=null,i=ub,o=null;function a(a){var u,c,l,s=a.length,f=!1;for(null==r&&(o=i(l=Bo())),u=0;u<=s;++u)!(u<s&&n(c=a[u],u,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+e(c,u,a),+t(c,u,a));if(l)return o=null,l+""||null}return a.x=function(t){return arguments.length?(e="function"===typeof t?t:Ug(+t),a):e},a.y=function(e){return arguments.length?(t="function"===typeof e?e:Ug(+e),a):t},a.defined=function(e){return arguments.length?(n="function"===typeof e?e:Ug(!!e),a):n},a.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),a):i},a.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),a):r},a},fb=function(){var e=cb,t=null,n=Ug(0),r=lb,i=Ug(!0),o=null,a=ub,u=null;function c(c){var l,s,f,d,h,p=c.length,v=!1,m=new Array(p),y=new Array(p);for(null==o&&(u=a(h=Bo())),l=0;l<=p;++l){if(!(l<p&&i(d=c[l],l,c))===v)if(v=!v)s=l,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),f=l-1;f>=s;--f)u.point(m[f],y[f]);u.lineEnd(),u.areaEnd()}v&&(m[l]=+e(d,l,c),y[l]=+n(d,l,c),u.point(t?+t(d,l,c):m[l],r?+r(d,l,c):y[l]))}if(h)return u=null,h+""||null}function l(){return sb().defined(i).curve(a).context(o)}return c.x=function(n){return arguments.length?(e="function"===typeof n?n:Ug(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"===typeof t?t:Ug(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"===typeof e?e:Ug(+e),c):t},c.y=function(e){return arguments.length?(n="function"===typeof e?e:Ug(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"===typeof e?e:Ug(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:Ug(+e),c):r},c.lineX0=c.lineY0=function(){return l().x(e).y(n)},c.lineY1=function(){return l().x(e).y(r)},c.lineX1=function(){return l().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"===typeof e?e:Ug(!!e),c):i},c.curve=function(e){return arguments.length?(a=e,null!=o&&(u=a(o)),c):a},c.context=function(e){return arguments.length?(null==e?o=u=null:u=a(o=e),c):o},c},db=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},hb=function(e){return e},pb=function(){var e=hb,t=db,n=null,r=Ug(0),i=Ug(Qg),o=Ug(0);function a(a){var u,c,l,s,f,d=a.length,h=0,p=new Array(d),v=new Array(d),m=+r.apply(this,arguments),y=Math.min(Qg,Math.max(-Qg,i.apply(this,arguments)-m)),g=Math.min(Math.abs(y)/d,o.apply(this,arguments)),b=g*(y<0?-1:1);for(u=0;u<d;++u)(f=v[p[u]=u]=+e(a[u],u,a))>0&&(h+=f);for(null!=t?p.sort(function(e,n){return t(v[e],v[n])}):null!=n&&p.sort(function(e,t){return n(a[e],a[t])}),u=0,l=h?(y-d*b)/h:0;u<d;++u,m=s)c=p[u],s=m+((f=v[c])>0?f*l:0)+b,v[c]={data:a[c],index:u,value:f,startAngle:m,endAngle:s,padAngle:g};return v}return a.value=function(t){return arguments.length?(e="function"===typeof t?t:Ug(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(r="function"===typeof e?e:Ug(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"===typeof e?e:Ug(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"===typeof e?e:Ug(+e),a):o},a},vb=yb(ub);function mb(e){this._curve=e}function yb(e){function t(t){return new mb(e(t))}return t._curve=e,t}function gb(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(yb(e)):t()._curve},e}mb.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var bb=function(){return gb(sb().curve(vb))},xb=function(){var e=fb().curve(vb),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,o=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return gb(n())},delete e.lineX0,e.lineEndAngle=function(){return gb(r())},delete e.lineX1,e.lineInnerRadius=function(){return gb(i())},delete e.lineY0,e.lineOuterRadius=function(){return gb(o())},delete e.lineY1,e.curve=function(e){return arguments.length?t(yb(e)):t()._curve},e},_b=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},wb=Array.prototype.slice;function kb(e){return e.source}function Ob(e){return e.target}function Tb(e){var t=kb,n=Ob,r=cb,i=lb,o=null;function a(){var a,u=wb.call(arguments),c=t.apply(this,u),l=n.apply(this,u);if(o||(o=a=Bo()),e(o,+r.apply(this,(u[0]=c,u)),+i.apply(this,u),+r.apply(this,(u[0]=l,u)),+i.apply(this,u)),a)return o=null,a+""||null}return a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(e){return arguments.length?(n=e,a):n},a.x=function(e){return arguments.length?(r="function"===typeof e?e:Ug(+e),a):r},a.y=function(e){return arguments.length?(i="function"===typeof e?e:Ug(+e),a):i},a.context=function(e){return arguments.length?(o=null==e?null:e,a):o},a}function Eb(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Cb(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function Sb(e,t,n,r,i){var o=_b(t,n),a=_b(t,n=(n+i)/2),u=_b(r,n),c=_b(r,i);e.moveTo(o[0],o[1]),e.bezierCurveTo(a[0],a[1],u[0],u[1],c[0],c[1])}function Mb(){return Tb(Eb)}function jb(){return Tb(Cb)}function Nb(){var e=Tb(Sb);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var Pb={draw:function(e,t){var n=Math.sqrt(t/Kg);e.moveTo(n,0),e.arc(0,0,n,0,Qg)}},Ab={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Ib=Math.sqrt(1/3),Rb=2*Ib,zb={draw:function(e,t){var n=Math.sqrt(t/Rb),r=n*Ib;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Db=Math.sin(Kg/10)/Math.sin(7*Kg/10),Lb=Math.sin(Qg/10)*Db,Fb=-Math.cos(Qg/10)*Db,Ub={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=Lb*n,i=Fb*n;e.moveTo(0,-n),e.lineTo(r,i);for(var o=1;o<5;++o){var a=Qg*o/5,u=Math.cos(a),c=Math.sin(a);e.lineTo(c*n,-u*n),e.lineTo(u*r-c*i,c*r+u*i)}e.closePath()}},Bb={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},Wb=Math.sqrt(3),Hb={draw:function(e,t){var n=-Math.sqrt(t/(3*Wb));e.moveTo(0,2*n),e.lineTo(-Wb*n,-n),e.lineTo(Wb*n,-n),e.closePath()}},qb=Math.sqrt(3)/2,Vb=1/Math.sqrt(12),Yb=3*(Vb/2+1),Gb={draw:function(e,t){var n=Math.sqrt(t/Yb),r=n/2,i=n*Vb,o=r,a=n*Vb+n,u=-o,c=a;e.moveTo(r,i),e.lineTo(o,a),e.lineTo(u,c),e.lineTo(-.5*r-qb*i,qb*r+-.5*i),e.lineTo(-.5*o-qb*a,qb*o+-.5*a),e.lineTo(-.5*u-qb*c,qb*u+-.5*c),e.lineTo(-.5*r+qb*i,-.5*i-qb*r),e.lineTo(-.5*o+qb*a,-.5*a-qb*o),e.lineTo(-.5*u+qb*c,-.5*c-qb*u),e.closePath()}},$b=[Pb,Ab,zb,Bb,Ub,Hb,Gb],Kb=function(){var e=Ug(Pb),t=Ug(64),n=null;function r(){var r;if(n||(n=r=Bo()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"===typeof t?t:Ug(t),r):e},r.size=function(e){return arguments.length?(t="function"===typeof e?e:Ug(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},Xb=function(){};function Qb(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Zb(e){this._context=e}Zb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Qb(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Qb(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Jb=function(e){return new Zb(e)};function ex(e){this._context=e}ex.prototype={areaStart:Xb,areaEnd:Xb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Qb(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var tx=function(e){return new ex(e)};function nx(e){this._context=e}nx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Qb(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var rx=function(e){return new nx(e)};function ix(e,t){this._basis=new Zb(e),this._beta=t}ix.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],a=e[n]-i,u=t[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(i+r*a),this._beta*t[c]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var ox=function e(t){function n(e){return 1===t?new Zb(e):new ix(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function ax(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function ux(e,t){this._context=e,this._k=(1-t)/6}ux.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ax(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:ax(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var cx=function e(t){function n(e){return new ux(e,t)}return n.tension=function(t){return e(+t)},n}(0);function lx(e,t){this._context=e,this._k=(1-t)/6}lx.prototype={areaStart:Xb,areaEnd:Xb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:ax(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var sx=function e(t){function n(e){return new lx(e,t)}return n.tension=function(t){return e(+t)},n}(0);function fx(e,t){this._context=e,this._k=(1-t)/6}fx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ax(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var dx=function e(t){function n(e){return new fx(e,t)}return n.tension=function(t){return e(+t)},n}(0);function hx(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>$g){var u=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*u-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*u-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>$g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,s=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*l+e._x1*e._l23_2a-t*e._l12_2a)/s,a=(a*l+e._y1*e._l23_2a-n*e._l12_2a)/s}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function px(e,t){this._context=e,this._alpha=t}px.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:hx(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var vx=function e(t){function n(e){return t?new px(e,t):new ux(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function mx(e,t){this._context=e,this._alpha=t}mx.prototype={areaStart:Xb,areaEnd:Xb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:hx(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var yx=function e(t){function n(e){return t?new mx(e,t):new lx(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function gx(e,t){this._context=e,this._alpha=t}gx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:hx(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var bx=function e(t){function n(e){return t?new gx(e,t):new fx(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function xx(e){this._context=e}xx.prototype={areaStart:Xb,areaEnd:Xb,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var _x=function(e){return new xx(e)};function wx(e){return e<0?-1:1}function kx(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(wx(o)+wx(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Ox(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Tx(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,u=(o-r)/3;e._context.bezierCurveTo(r+u,i+u*t,o-u,a-u*n,o,a)}function Ex(e){this._context=e}function Cx(e){this._context=new Sx(e)}function Sx(e){this._context=e}function Mx(e){return new Ex(e)}function jx(e){return new Cx(e)}function Nx(e){this._context=e}function Px(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,a[t]-=n*a[t-1];for(i[r-1]=a[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}Ex.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Tx(this,this._t0,Ox(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Tx(this,Ox(this,n=kx(this,e,t)),n);break;default:Tx(this,this._t0,n=kx(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Cx.prototype=Object.create(Ex.prototype)).point=function(e,t){Ex.prototype.point.call(this,t,e)},Sx.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}},Nx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Px(e),i=Px(t),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Ax=function(e){return new Nx(e)};function Ix(e,t){this._context=e,this._t=t}Ix.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var Rx=function(e){return new Ix(e,.5)};function zx(e){return new Ix(e,0)}function Dx(e){return new Ix(e,1)}var Lx=function(e,t){if((i=e.length)>1)for(var n,r,i,o=1,a=e[t[0]],u=a.length;o<i;++o)for(r=a,a=e[t[o]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]},Fx=function(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n};function Ux(e,t){return e[t]}var Bx=function(){var e=Ug([]),t=Fx,n=Lx,r=Ux;function i(i){var o,a,u=e.apply(this,arguments),c=i.length,l=u.length,s=new Array(l);for(o=0;o<l;++o){for(var f,d=u[o],h=s[o]=new Array(c),p=0;p<c;++p)h[p]=f=[0,+r(i[p],d,p,i)],f.data=i[p];h.key=d}for(o=0,a=t(s);o<l;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(t){return arguments.length?(e="function"===typeof t?t:Ug(wb.call(t)),i):e},i.value=function(e){return arguments.length?(r="function"===typeof e?e:Ug(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?Fx:"function"===typeof e?e:Ug(wb.call(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Lx:e,i):n},i},Wx=function(e,t){if((r=e.length)>0){for(var n,r,i,o=0,a=e[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=e[n][o][1]||0;if(i)for(n=0;n<r;++n)e[n][o][1]/=i}Lx(e,t)}},Hx=function(e,t){if((u=e.length)>1)for(var n,r,i,o,a,u,c=0,l=e[t[0]].length;c<l;++c)for(o=a=0,n=0;n<u;++n)(i=(r=e[t[n]][c])[1]-r[0])>=0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):r[0]=o},qx=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r<o;++r){for(var a=0,u=0;a<n;++a)u+=e[a][r][1]||0;i[r][1]+=i[r][0]=-u/2}Lx(e,t)}},Vx=function(e,t){if((i=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var u=0,c=0,l=0;u<i;++u){for(var s=e[t[u]],f=s[a][1]||0,d=(f-(s[a-1][1]||0))/2,h=0;h<u;++h){var p=e[t[h]];d+=(p[a][1]||0)-(p[a-1][1]||0)}c+=f,l+=d*f}n[a-1][1]+=n[a-1][0]=o,c&&(o-=l/c)}n[a-1][1]+=n[a-1][0]=o,Lx(e,t)}},Yx=function(e){var t=e.map(Gx);return Fx(e).sort(function(e,n){return t[e]-t[n]})};function Gx(e){for(var t,n=-1,r=0,i=e.length,o=-1/0;++n<i;)(t=+e[n][1])>o&&(o=t,r=n);return r}var $x=function(e){var t=e.map(Kx);return Fx(e).sort(function(e,n){return t[e]-t[n]})};function Kx(e){for(var t,n=0,r=-1,i=e.length;++r<i;)(t=+e[r][1])&&(n+=t);return n}var Xx=function(e){return $x(e).reverse()},Qx=function(e){var t,n,r=e.length,i=e.map(Kx),o=Yx(e),a=0,u=0,c=[],l=[];for(t=0;t<r;++t)n=o[t],a<u?(a+=i[n],c.push(n)):(u+=i[n],l.push(n));return l.reverse().concat(c)},Zx=function(e){return Fx(e).reverse()},Jx=function(e){return function(){return e}};function e_(e){return e[0]}function t_(e){return e[1]}function n_(){this._=null}function r_(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function i_(e,t){var n=t,r=t.R,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function o_(e,t){var n=t,r=t.L,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function a_(e){for(;e.L;)e=e.L;return e}n_.prototype={constructor:n_,insert:function(e,t){var n,r,i;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=a_(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.R&&(i_(this,n),n=(e=n).U),n.C=!1,r.C=!0,o_(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.L&&(o_(this,n),n=(e=n).U),n.C=!1,r.C=!0,i_(this,r)),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,i=e.U,o=e.L,a=e.R;if(n=o?a?a_(a):o:a,i?i.L===e?i.L=n:i.R=n:this._=n,o&&a?(r=n.C,n.C=e.C,n.L=o,o.U=n,n!==a?(i=n.U,n.U=e.U,e=n.R,i.L=e,n.R=a,a.U=n):(n.U=i,i=n,e=n.R)):(r=e.C,e=n),e&&(e.U=i),!r)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===i.L){if((t=i.R).C&&(t.C=!1,i.C=!0,i_(this,i),t=i.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,o_(this,t),t=i.R),t.C=i.C,i.C=t.R.C=!1,i_(this,i),e=this._;break}}else if((t=i.L).C&&(t.C=!1,i.C=!0,o_(this,i),t=i.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,i_(this,t),t=i.L),t.C=i.C,i.C=t.L.C=!1,o_(this,i),e=this._;break}t.C=!0,e=i,i=i.U}while(!e.C);e&&(e.C=!1)}}};var u_=n_;function c_(e,t,n,r){var i=[null,null],o=P_.push(i)-1;return i.left=e,i.right=t,n&&s_(i,e,t,n),r&&s_(i,t,e,r),j_[e.index].halfedges.push(o),j_[t.index].halfedges.push(o),i}function l_(e,t,n){var r=[t,n];return r.left=e,r}function s_(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function f_(e,t,n,r,i){var o,a=e[0],u=e[1],c=a[0],l=a[1],s=0,f=1,d=u[0]-c,h=u[1]-l;if(o=t-c,d||!(o>0)){if(o/=d,d<0){if(o<s)return;o<f&&(f=o)}else if(d>0){if(o>f)return;o>s&&(s=o)}if(o=r-c,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>s&&(s=o)}else if(d>0){if(o<s)return;o<f&&(f=o)}if(o=n-l,h||!(o>0)){if(o/=h,h<0){if(o<s)return;o<f&&(f=o)}else if(h>0){if(o>f)return;o>s&&(s=o)}if(o=i-l,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>s&&(s=o)}else if(h>0){if(o<s)return;o<f&&(f=o)}return!(s>0||f<1)||(s>0&&(e[0]=[c+s*d,l+s*h]),f<1&&(e[1]=[c+f*d,l+f*h]),!0)}}}}}function d_(e,t,n,r,i){var o=e[1];if(o)return!0;var a,u,c=e[0],l=e.left,s=e.right,f=l[0],d=l[1],h=s[0],p=s[1],v=(f+h)/2,m=(d+p)/2;if(p===d){if(v<t||v>=r)return;if(f>h){if(c){if(c[1]>=i)return}else c=[v,n];o=[v,i]}else{if(c){if(c[1]<n)return}else c=[v,i];o=[v,n]}}else if(u=m-(a=(f-h)/(p-d))*v,a<-1||a>1)if(f>h){if(c){if(c[1]>=i)return}else c=[(n-u)/a,n];o=[(i-u)/a,i]}else{if(c){if(c[1]<n)return}else c=[(i-u)/a,i];o=[(n-u)/a,n]}else if(d<p){if(c){if(c[0]>=r)return}else c=[t,a*t+u];o=[r,a*r+u]}else{if(c){if(c[0]<t)return}else c=[r,a*r+u];o=[t,a*t+u]}return e[0]=c,e[1]=o,!0}function h_(e,t){var n=e.site,r=t.left,i=t.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=t[1],i=t[0]):(r=t[0],i=t[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function p_(e,t){return t[+(t.left!==e.site)]}function v_(e,t){return t[+(t.left===e.site)]}var m_,y_=[];function g_(){r_(this),this.x=this.y=this.arc=this.site=this.cy=null}function b_(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,i=e.site,o=n.site;if(r!==o){var a=i[0],u=i[1],c=r[0]-a,l=r[1]-u,s=o[0]-a,f=o[1]-u,d=2*(c*f-l*s);if(!(d>=-I_)){var h=c*c+l*l,p=s*s+f*f,v=(f*h-l*p)/d,m=(c*p-s*h)/d,y=y_.pop()||new g_;y.arc=e,y.site=i,y.x=v+a,y.y=(y.cy=m+u)+Math.sqrt(v*v+m*m),e.circle=y;for(var g=null,b=N_._;b;)if(y.y<b.y||y.y===b.y&&y.x<=b.x){if(!b.L){g=b.P;break}b=b.L}else{if(!b.R){g=b;break}b=b.R}N_.insert(g,y),g||(m_=y)}}}}function x_(e){var t=e.circle;t&&(t.P||(m_=t.N),N_.remove(t),y_.push(t),r_(t),e.circle=null)}var __=[];function w_(){r_(this),this.edge=this.site=this.circle=null}function k_(e){var t=__.pop()||new w_;return t.site=e,t}function O_(e){x_(e),M_.remove(e),__.push(e),r_(e)}function T_(e){var t=e.circle,n=t.x,r=t.cy,i=[n,r],o=e.P,a=e.N,u=[e];O_(e);for(var c=o;c.circle&&Math.abs(n-c.circle.x)<A_&&Math.abs(r-c.circle.cy)<A_;)o=c.P,u.unshift(c),O_(c),c=o;u.unshift(c),x_(c);for(var l=a;l.circle&&Math.abs(n-l.circle.x)<A_&&Math.abs(r-l.circle.cy)<A_;)a=l.N,u.push(l),O_(l),l=a;u.push(l),x_(l);var s,f=u.length;for(s=1;s<f;++s)l=u[s],c=u[s-1],s_(l.edge,c.site,l.site,i);c=u[0],(l=u[f-1]).edge=c_(c.site,l.site,null,i),b_(c),b_(l)}function E_(e){for(var t,n,r,i,o=e[0],a=e[1],u=M_._;u;)if((r=C_(u,a)-o)>A_)u=u.L;else{if(!((i=o-S_(u,a))>A_)){r>-A_?(t=u.P,n=u):i>-A_?(t=u,n=u.N):t=n=u;break}if(!u.R){t=u;break}u=u.R}!function(e){j_[e.index]={site:e,halfedges:[]}}(e);var c=k_(e);if(M_.insert(t,c),t||n){if(t===n)return x_(t),n=k_(t.site),M_.insert(c,n),c.edge=n.edge=c_(t.site,c.site),b_(t),void b_(n);if(n){x_(t),x_(n);var l=t.site,s=l[0],f=l[1],d=e[0]-s,h=e[1]-f,p=n.site,v=p[0]-s,m=p[1]-f,y=2*(d*m-h*v),g=d*d+h*h,b=v*v+m*m,x=[(m*g-h*b)/y+s,(d*b-v*g)/y+f];s_(n.edge,l,p,x),c.edge=c_(l,e,null,x),n.edge=c_(e,p,null,x),b_(t),b_(n)}else c.edge=c_(t.site,c.site)}}function C_(e,t){var n=e.site,r=n[0],i=n[1],o=i-t;if(!o)return r;var a=e.P;if(!a)return-1/0;var u=(n=a.site)[0],c=n[1],l=c-t;if(!l)return u;var s=u-r,f=1/o-1/l,d=s/l;return f?(-d+Math.sqrt(d*d-2*f*(s*s/(-2*l)-c+l/2+i-o/2)))/f+r:(r+u)/2}function S_(e,t){var n=e.N;if(n)return C_(n,t);var r=e.site;return r[1]===t?r[0]:1/0}var M_,j_,N_,P_,A_=1e-6,I_=1e-12;function R_(e,t){return t[1]-e[1]||t[0]-e[0]}function z_(e,t){var n,r,i,o=e.sort(R_).pop();for(P_=[],j_=new Array(e.length),M_=new u_,N_=new u_;;)if(i=m_,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===n&&o[1]===r||(E_(o),n=o[0],r=o[1]),o=e.pop();else{if(!i)break;T_(i.arc)}if(function(){for(var e,t,n,r,i=0,o=j_.length;i<o;++i)if((e=j_[i])&&(r=(t=e.halfedges).length)){var a=new Array(r),u=new Array(r);for(n=0;n<r;++n)a[n]=n,u[n]=h_(e,P_[t[n]]);for(a.sort(function(e,t){return u[t]-u[e]}),n=0;n<r;++n)u[n]=t[a[n]];for(n=0;n<r;++n)t[n]=u[n]}}(),t){var a=+t[0][0],u=+t[0][1],c=+t[1][0],l=+t[1][1];!function(e,t,n,r){for(var i,o=P_.length;o--;)d_(i=P_[o],e,t,n,r)&&f_(i,e,t,n,r)&&(Math.abs(i[0][0]-i[1][0])>A_||Math.abs(i[0][1]-i[1][1])>A_)||delete P_[o]}(a,u,c,l),function(e,t,n,r){var i,o,a,u,c,l,s,f,d,h,p,v,m=j_.length,y=!0;for(i=0;i<m;++i)if(o=j_[i]){for(a=o.site,u=(c=o.halfedges).length;u--;)P_[c[u]]||c.splice(u,1);for(u=0,l=c.length;u<l;)p=(h=v_(o,P_[c[u]]))[0],v=h[1],f=(s=p_(o,P_[c[++u%l]]))[0],d=s[1],(Math.abs(p-f)>A_||Math.abs(v-d)>A_)&&(c.splice(u,0,P_.push(l_(a,h,Math.abs(p-e)<A_&&r-v>A_?[e,Math.abs(f-e)<A_?d:r]:Math.abs(v-r)<A_&&n-p>A_?[Math.abs(d-r)<A_?f:n,r]:Math.abs(p-n)<A_&&v-t>A_?[n,Math.abs(f-n)<A_?d:t]:Math.abs(v-t)<A_&&p-e>A_?[Math.abs(d-t)<A_?f:e,t]:null))-1),++l);l&&(y=!1)}if(y){var g,b,x,_=1/0;for(i=0,y=null;i<m;++i)(o=j_[i])&&(x=(g=(a=o.site)[0]-e)*g+(b=a[1]-t)*b)<_&&(_=x,y=o);if(y){var w=[e,t],k=[e,r],O=[n,r],T=[n,t];y.halfedges.push(P_.push(l_(a=y.site,w,k))-1,P_.push(l_(a,k,O))-1,P_.push(l_(a,O,T))-1,P_.push(l_(a,T,w))-1)}}for(i=0;i<m;++i)(o=j_[i])&&(o.halfedges.length||delete j_[i])}(a,u,c,l)}this.edges=P_,this.cells=j_,M_=N_=P_=j_=null}z_.prototype={constructor:z_,polygons:function(){var e=this.edges;return this.cells.map(function(t){var n=t.halfedges.map(function(n){return p_(t,e[n])});return n.data=t.site.data,n})},triangles:function(){var e=[],t=this.edges;return this.cells.forEach(function(n,r){if(o=(i=n.halfedges).length)for(var i,o,a,u,c,l,s=n.site,f=-1,d=t[i[o-1]],h=d.left===s?d.right:d.left;++f<o;)a=h,h=(d=t[i[f]]).left===s?d.right:d.left,a&&h&&r<a.index&&r<h.index&&(c=a,l=h,((u=s)[0]-l[0])*(c[1]-u[1])-(u[0]-c[0])*(l[1]-u[1])<0)&&e.push([s.data,a.data,h.data])}),e},links:function(){return this.edges.filter(function(e){return e.right}).map(function(e){return{source:e.left.data,target:e.right.data}})},find:function(e,t,n){for(var r,i,o=this,a=o._found||0,u=o.cells.length;!(i=o.cells[a]);)if(++a>=u)return null;var c=e-i.site[0],l=t-i.site[1],s=c*c+l*l;do{i=o.cells[r=a],a=null,i.halfedges.forEach(function(n){var r=o.edges[n],u=r.left;if(u!==i.site&&u||(u=r.right)){var c=e-u[0],l=t-u[1],f=c*c+l*l;f<s&&(s=f,a=u.index)}})}while(null!==a);return o._found=r,null==n||s<=n*n?i.site:null}};var D_=function(){var e=e_,t=t_,n=null;function r(r){return new z_(r.map(function(n,i){var o=[Math.round(e(n,i,r)/A_)*A_,Math.round(t(n,i,r)/A_)*A_];return o.index=i,o.data=n,o}),n)}return r.polygons=function(e){return r(e).polygons()},r.links=function(e){return r(e).links()},r.triangles=function(e){return r(e).triangles()},r.x=function(t){return arguments.length?(e="function"===typeof t?t:Jx(+t),r):e},r.y=function(e){return arguments.length?(t="function"===typeof e?e:Jx(+e),r):t},r.extent=function(e){return arguments.length?(n=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],r):n&&[[n[0][0],n[0][1]],[n[1][0],n[1][1]]]},r.size=function(e){return arguments.length?(n=null==e?null:[[0,0],[+e[0],+e[1]]],r):n&&[n[1][0]-n[0][0],n[1][1]-n[0][1]]},r},L_=function(e){return function(){return e}};function F_(e,t,n){this.target=e,this.type=t,this.transform=n}function U_(e,t,n){this.k=e,this.x=t,this.y=n}U_.prototype={constructor:U_,scale:function(e){return 1===e?this:new U_(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new U_(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var B_=new U_(1,0,0);function W_(e){return e.__zoom||B_}function H_(){qe.stopImmediatePropagation()}W_.prototype=U_.prototype;var q_=function(){qe.preventDefault(),qe.stopImmediatePropagation()};function V_(){return!qe.button}function Y_(){var e,t,n=this;return n instanceof SVGElement?(e=(n=n.ownerSVGElement||n).width.baseVal.value,t=n.height.baseVal.value):(e=n.clientWidth,t=n.clientHeight),[[0,0],[e,t]]}function G_(){return this.__zoom||B_}function $_(){return-qe.deltaY*(qe.deltaMode?120:1)/500}function K_(){return"ontouchstart"in this}function X_(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],o=e.invertY(t[0][1])-n[0][1],a=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}var Q_=function(){var e,t,n=V_,r=Y_,i=X_,o=$_,a=K_,u=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],l=250,s=ar,f=[],d=de("start","zoom","end"),h=500,p=150,v=0;function m(e){e.property("__zoom",G_).on("wheel.zoom",k).on("mousedown.zoom",O).on("dblclick.zoom",T).filter(a).on("touchstart.zoom",E).on("touchmove.zoom",C).on("touchend.zoom touchcancel.zoom",S).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function y(e,t){return(t=Math.max(u[0],Math.min(u[1],t)))===e.k?e:new U_(t,e.x,e.y)}function g(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new U_(e.k,r,i)}function b(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function x(e,t,n){e.on("start.zoom",function(){_(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){_(this,arguments).end()}).tween("zoom",function(){var e=arguments,i=_(this,e),o=r.apply(this,e),a=n||b(o),u=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),c=this.__zoom,l="function"===typeof t?t.apply(this,e):t,f=s(c.invert(a).concat(u/c.k),l.invert(a).concat(u/l.k));return function(e){if(1===e)e=l;else{var t=f(e),n=u/t[2];e=new U_(n,a[0]-t[0]*n,a[1]-t[1]*n)}i.zoom(null,e)}})}function _(e,t){for(var n,r=0,i=f.length;r<i;++r)if((n=f[r]).that===e)return n;return new w(e,t)}function w(e,t){this.that=e,this.args=t,this.index=-1,this.active=0,this.extent=r.apply(e,t)}function k(){if(n.apply(this,arguments)){var e=_(this,arguments),t=this.__zoom,r=Math.max(u[0],Math.min(u[1],t.k*Math.pow(2,o.apply(this,arguments)))),a=ct(this);if(e.wheel)e.mouse[0][0]===a[0]&&e.mouse[0][1]===a[1]||(e.mouse[1]=t.invert(e.mouse[0]=a)),clearTimeout(e.wheel);else{if(t.k===r)return;e.mouse=[a,t.invert(a)],Jr(this),e.start()}q_(),e.wheel=setTimeout(function(){e.wheel=null,e.end()},p),e.zoom("mouse",i(g(y(t,r),e.mouse[0],e.mouse[1]),e.extent,c))}}function O(){if(!t&&n.apply(this,arguments)){var e=_(this,arguments),r=tt(qe.view).on("mousemove.zoom",function(){if(q_(),!e.moved){var t=qe.clientX-a,n=qe.clientY-u;e.moved=t*t+n*n>v}e.zoom("mouse",i(g(e.that.__zoom,e.mouse[0]=ct(e.that),e.mouse[1]),e.extent,c))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),vt(qe.view,e.moved),q_(),e.end()},!0),o=ct(this),a=qe.clientX,u=qe.clientY;pt(qe.view),H_(),e.mouse=[o,this.__zoom.invert(o)],Jr(this),e.start()}}function T(){if(n.apply(this,arguments)){var e=this.__zoom,t=ct(this),o=e.invert(t),a=e.k*(qe.shiftKey?.5:2),u=i(g(y(e,a),t,o),r.apply(this,arguments),c);q_(),l>0?tt(this).transition().duration(l).call(x,u,t):tt(this).call(m.transform,u)}}function E(){if(n.apply(this,arguments)){var t,r,i,o,a=_(this,arguments),u=qe.changedTouches,c=u.length;for(H_(),r=0;r<c;++r)i=u[r],o=[o=st(this,u,i.identifier),this.__zoom.invert(o),i.identifier],a.touch0?a.touch1||(a.touch1=o):(a.touch0=o,t=!0);if(e&&(e=clearTimeout(e),!a.touch1))return a.end(),void((o=tt(this).on("dblclick.zoom"))&&o.apply(this,arguments));t&&(e=setTimeout(function(){e=null},h),Jr(this),a.start())}}function C(){var t,n,r,o,a=_(this,arguments),u=qe.changedTouches,l=u.length;for(q_(),e&&(e=clearTimeout(e)),t=0;t<l;++t)n=u[t],r=st(this,u,n.identifier),a.touch0&&a.touch0[2]===n.identifier?a.touch0[0]=r:a.touch1&&a.touch1[2]===n.identifier&&(a.touch1[0]=r);if(n=a.that.__zoom,a.touch1){var s=a.touch0[0],f=a.touch0[1],d=a.touch1[0],h=a.touch1[1],p=(p=d[0]-s[0])*p+(p=d[1]-s[1])*p,v=(v=h[0]-f[0])*v+(v=h[1]-f[1])*v;n=y(n,Math.sqrt(p/v)),r=[(s[0]+d[0])/2,(s[1]+d[1])/2],o=[(f[0]+h[0])/2,(f[1]+h[1])/2]}else{if(!a.touch0)return;r=a.touch0[0],o=a.touch0[1]}a.zoom("touch",i(g(n,r,o),a.extent,c))}function S(){var e,n,r=_(this,arguments),i=qe.changedTouches,o=i.length;for(H_(),t&&clearTimeout(t),t=setTimeout(function(){t=null},h),e=0;e<o;++e)n=i[e],r.touch0&&r.touch0[2]===n.identifier?delete r.touch0:r.touch1&&r.touch1[2]===n.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0?r.touch0[1]=this.__zoom.invert(r.touch0[0]):r.end()}return m.transform=function(e,t){var n=e.selection?e.selection():e;n.property("__zoom",G_),e!==n?x(e,t):n.interrupt().each(function(){_(this,arguments).start().zoom(null,"function"===typeof t?t.apply(this,arguments):t).end()})},m.scaleBy=function(e,t){m.scaleTo(e,function(){return this.__zoom.k*("function"===typeof t?t.apply(this,arguments):t)})},m.scaleTo=function(e,t){m.transform(e,function(){var e=r.apply(this,arguments),n=this.__zoom,o=b(e),a=n.invert(o),u="function"===typeof t?t.apply(this,arguments):t;return i(g(y(n,u),o,a),e,c)})},m.translateBy=function(e,t,n){m.transform(e,function(){return i(this.__zoom.translate("function"===typeof t?t.apply(this,arguments):t,"function"===typeof n?n.apply(this,arguments):n),r.apply(this,arguments),c)})},m.translateTo=function(e,t,n){m.transform(e,function(){var e=r.apply(this,arguments),o=this.__zoom,a=b(e);return i(B_.translate(a[0],a[1]).scale(o.k).translate("function"===typeof t?-t.apply(this,arguments):-t,"function"===typeof n?-n.apply(this,arguments):-n),e,c)})},w.prototype={start:function(){return 1===++this.active&&(this.index=f.push(this)-1,this.emit("start")),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0===--this.active&&(f.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(e){Ke(new F_(m,e,this.that.__zoom),d.apply,d,[e,this.that,this.args])}},m.wheelDelta=function(e){return arguments.length?(o="function"===typeof e?e:L_(+e),m):o},m.filter=function(e){return arguments.length?(n="function"===typeof e?e:L_(!!e),m):n},m.touchable=function(e){return arguments.length?(a="function"===typeof e?e:L_(!!e),m):a},m.extent=function(e){return arguments.length?(r="function"===typeof e?e:L_([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),m):r},m.scaleExtent=function(e){return arguments.length?(u[0]=+e[0],u[1]=+e[1],m):[u[0],u[1]]},m.translateExtent=function(e){return arguments.length?(c[0][0]=+e[0][0],c[1][0]=+e[1][0],c[0][1]=+e[0][1],c[1][1]=+e[1][1],m):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},m.constrain=function(e){return arguments.length?(i=e,m):i},m.duration=function(e){return arguments.length?(l=+e,m):l},m.interpolate=function(e){return arguments.length?(s=e,m):s},m.on=function(){var e=d.on.apply(d,arguments);return e===d?m:e},m.clickDistance=function(e){return arguments.length?(v=(e=+e)*e,m):Math.sqrt(v)},m};n.d(t,"version",function(){return"5.8.2"}),n.d(t,"bisect",function(){return c}),n.d(t,"bisectRight",function(){return a}),n.d(t,"bisectLeft",function(){return u}),n.d(t,"ascending",function(){return r}),n.d(t,"bisector",function(){return i}),n.d(t,"cross",function(){return f}),n.d(t,"descending",function(){return d}),n.d(t,"deviation",function(){return v}),n.d(t,"extent",function(){return m}),n.d(t,"histogram",function(){return j}),n.d(t,"thresholdFreedmanDiaconis",function(){return P}),n.d(t,"thresholdScott",function(){return A}),n.d(t,"thresholdSturges",function(){return M}),n.d(t,"max",function(){return I}),n.d(t,"mean",function(){return R}),n.d(t,"median",function(){return z}),n.d(t,"merge",function(){return D}),n.d(t,"min",function(){return L}),n.d(t,"pairs",function(){return l}),n.d(t,"permute",function(){return F}),n.d(t,"quantile",function(){return N}),n.d(t,"range",function(){return w}),n.d(t,"scan",function(){return U}),n.d(t,"shuffle",function(){return B}),n.d(t,"sum",function(){return W}),n.d(t,"ticks",function(){return E}),n.d(t,"tickIncrement",function(){return C}),n.d(t,"tickStep",function(){return S}),n.d(t,"transpose",function(){return H}),n.d(t,"variance",function(){return p}),n.d(t,"zip",function(){return V}),n.d(t,"axisTop",function(){return re}),n.d(t,"axisRight",function(){return ie}),n.d(t,"axisBottom",function(){return oe}),n.d(t,"axisLeft",function(){return ae}),n.d(t,"brush",function(){return To}),n.d(t,"brushX",function(){return ko}),n.d(t,"brushY",function(){return Oo}),n.d(t,"brushSelection",function(){return wo}),n.d(t,"chord",function(){return Ao}),n.d(t,"ribbon",function(){return Go}),n.d(t,"nest",function(){return Qo}),n.d(t,"set",function(){return oa}),n.d(t,"map",function(){return Xo}),n.d(t,"keys",function(){return aa}),n.d(t,"values",function(){return ua}),n.d(t,"entries",function(){return ca}),n.d(t,"color",function(){return Lt}),n.d(t,"rgb",function(){return Wt}),n.d(t,"hsl",function(){return Yt}),n.d(t,"lab",function(){return un}),n.d(t,"hcl",function(){return vn}),n.d(t,"lch",function(){return pn}),n.d(t,"gray",function(){return an}),n.d(t,"cubehelix",function(){return kn}),n.d(t,"contours",function(){return ga}),n.d(t,"contourDensity",function(){return Oa}),n.d(t,"dispatch",function(){return de}),n.d(t,"drag",function(){return wt}),n.d(t,"dragDisable",function(){return pt}),n.d(t,"dragEnable",function(){return vt}),n.d(t,"dsvFormat",function(){return Na}),n.d(t,"csvParse",function(){return Aa}),n.d(t,"csvParseRows",function(){return Ia}),n.d(t,"csvFormat",function(){return Ra}),n.d(t,"csvFormatRows",function(){return za}),n.d(t,"tsvParse",function(){return La}),n.d(t,"tsvParseRows",function(){return Fa}),n.d(t,"tsvFormat",function(){return Ua}),n.d(t,"tsvFormatRows",function(){return Ba}),n.d(t,"easeLinear",function(){return li}),n.d(t,"easeQuad",function(){return di}),n.d(t,"easeQuadIn",function(){return si}),n.d(t,"easeQuadOut",function(){return fi}),n.d(t,"easeQuadInOut",function(){return di}),n.d(t,"easeCubic",function(){return vi}),n.d(t,"easeCubicIn",function(){return hi}),n.d(t,"easeCubicOut",function(){return pi}),n.d(t,"easeCubicInOut",function(){return vi}),n.d(t,"easePoly",function(){return gi}),n.d(t,"easePolyIn",function(){return mi}),n.d(t,"easePolyOut",function(){return yi}),n.d(t,"easePolyInOut",function(){return gi}),n.d(t,"easeSin",function(){return ki}),n.d(t,"easeSinIn",function(){return _i}),n.d(t,"easeSinOut",function(){return wi}),n.d(t,"easeSinInOut",function(){return ki}),n.d(t,"easeExp",function(){return Ei}),n.d(t,"easeExpIn",function(){return Oi}),n.d(t,"easeExpOut",function(){return Ti}),n.d(t,"easeExpInOut",function(){return Ei}),n.d(t,"easeCircle",function(){return Mi}),n.d(t,"easeCircleIn",function(){return Ci}),n.d(t,"easeCircleOut",function(){return Si}),n.d(t,"easeCircleInOut",function(){return Mi}),n.d(t,"easeBounce",function(){return Bi}),n.d(t,"easeBounceIn",function(){return Ui}),n.d(t,"easeBounceOut",function(){return Bi}),n.d(t,"easeBounceInOut",function(){return Wi}),n.d(t,"easeBack",function(){return Vi}),n.d(t,"easeBackIn",function(){return Hi}),n.d(t,"easeBackOut",function(){return qi}),n.d(t,"easeBackInOut",function(){return Vi}),n.d(t,"easeElastic",function(){return $i}),n.d(t,"easeElasticIn",function(){return Gi}),n.d(t,"easeElasticOut",function(){return $i}),n.d(t,"easeElasticInOut",function(){return Ki}),n.d(t,"blob",function(){return Ha}),n.d(t,"buffer",function(){return Va}),n.d(t,"dsv",function(){return Ka}),n.d(t,"csv",function(){return Xa}),n.d(t,"tsv",function(){return Qa}),n.d(t,"image",function(){return Za}),n.d(t,"json",function(){return eu}),n.d(t,"text",function(){return Ga}),n.d(t,"xml",function(){return nu}),n.d(t,"html",function(){return ru}),n.d(t,"svg",function(){return iu}),n.d(t,"forceCenter",function(){return ou}),n.d(t,"forceCollide",function(){return gu}),n.d(t,"forceLink",function(){return _u}),n.d(t,"forceManyBody",function(){return Cu}),n.d(t,"forceRadial",function(){return Su}),n.d(t,"forceSimulation",function(){return Eu}),n.d(t,"forceX",function(){return Mu}),n.d(t,"forceY",function(){return ju}),n.d(t,"formatDefaultLocale",function(){return Yu}),n.d(t,"format",function(){return Lu}),n.d(t,"formatPrefix",function(){return Fu}),n.d(t,"formatLocale",function(){return Vu}),n.d(t,"formatSpecifier",function(){return Iu}),n.d(t,"precisionFixed",function(){return Gu}),n.d(t,"precisionPrefix",function(){return $u}),n.d(t,"precisionRound",function(){return Ku}),n.d(t,"geoArea",function(){return Bc}),n.d(t,"geoBounds",function(){return Al}),n.d(t,"geoCentroid",function(){return Vl}),n.d(t,"geoCircle",function(){return ns}),n.d(t,"geoClipAntimeridian",function(){return hs}),n.d(t,"geoClipCircle",function(){return ps}),n.d(t,"geoClipExtent",function(){return ws}),n.d(t,"geoClipRectangle",function(){return gs}),n.d(t,"geoContains",function(){return Us}),n.d(t,"geoDistance",function(){return Ns}),n.d(t,"geoGraticule",function(){return Hs}),n.d(t,"geoGraticule10",function(){return qs}),n.d(t,"geoInterpolate",function(){return Ks}),n.d(t,"geoLength",function(){return Ss}),n.d(t,"geoPath",function(){return $f}),n.d(t,"geoAlbers",function(){return hd}),n.d(t,"geoAlbersUsa",function(){return pd}),n.d(t,"geoAzimuthalEqualArea",function(){return gd}),n.d(t,"geoAzimuthalEqualAreaRaw",function(){return yd}),n.d(t,"geoAzimuthalEquidistant",function(){return xd}),n.d(t,"geoAzimuthalEquidistantRaw",function(){return bd}),n.d(t,"geoConicConformal",function(){return Ed}),n.d(t,"geoConicConformalRaw",function(){return Td}),n.d(t,"geoConicEqualArea",function(){return dd}),n.d(t,"geoConicEqualAreaRaw",function(){return fd}),n.d(t,"geoConicEquidistant",function(){return jd}),n.d(t,"geoConicEquidistantRaw",function(){return Md}),n.d(t,"geoEqualEarth",function(){return Dd}),n.d(t,"geoEqualEarthRaw",function(){return zd}),n.d(t,"geoEquirectangular",function(){return Sd}),n.d(t,"geoEquirectangularRaw",function(){return Cd}),n.d(t,"geoGnomonic",function(){return Fd}),n.d(t,"geoGnomonicRaw",function(){return Ld}),n.d(t,"geoIdentity",function(){return Bd}),n.d(t,"geoProjection",function(){return cd}),n.d(t,"geoProjectionMutator",function(){return ld}),n.d(t,"geoMercator",function(){return wd}),n.d(t,"geoMercatorRaw",function(){return _d}),n.d(t,"geoNaturalEarth1",function(){return Hd}),n.d(t,"geoNaturalEarth1Raw",function(){return Wd}),n.d(t,"geoOrthographic",function(){return Vd}),n.d(t,"geoOrthographicRaw",function(){return qd}),n.d(t,"geoStereographic",function(){return Gd}),n.d(t,"geoStereographicRaw",function(){return Yd}),n.d(t,"geoTransverseMercator",function(){return Kd}),n.d(t,"geoTransverseMercatorRaw",function(){return $d}),n.d(t,"geoRotation",function(){return Jl}),n.d(t,"geoStream",function(){return Ac}),n.d(t,"geoTransform",function(){return Kf}),n.d(t,"cluster",function(){return Xd.a}),n.d(t,"hierarchy",function(){return Xd.b}),n.d(t,"pack",function(){return Xd.c}),n.d(t,"packSiblings",function(){return Xd.e}),n.d(t,"packEnclose",function(){return Xd.d}),n.d(t,"partition",function(){return Xd.f}),n.d(t,"stratify",function(){return Xd.g}),n.d(t,"tree",function(){return Xd.h}),n.d(t,"treemap",function(){return Xd.i}),n.d(t,"treemapBinary",function(){return Xd.j}),n.d(t,"treemapDice",function(){return Xd.k}),n.d(t,"treemapSlice",function(){return Xd.m}),n.d(t,"treemapSliceDice",function(){return Xd.n}),n.d(t,"treemapSquarify",function(){return Xd.o}),n.d(t,"treemapResquarify",function(){return Xd.l}),n.d(t,"interpolate",function(){return $n}),n.d(t,"interpolateArray",function(){return Dn}),n.d(t,"interpolateBasis",function(){return En}),n.d(t,"interpolateBasisClosed",function(){return Cn}),n.d(t,"interpolateDate",function(){return Ln}),n.d(t,"interpolateDiscrete",function(){return Kn}),n.d(t,"interpolateHue",function(){return Xn}),n.d(t,"interpolateNumber",function(){return Fn}),n.d(t,"interpolateObject",function(){return Un}),n.d(t,"interpolateRound",function(){return Qn}),n.d(t,"interpolateString",function(){return Gn}),n.d(t,"interpolateTransformCss",function(){return nr}),n.d(t,"interpolateTransformSvg",function(){return rr}),n.d(t,"interpolateZoom",function(){return ar}),n.d(t,"interpolateRgb",function(){return An}),n.d(t,"interpolateRgbBasis",function(){return Rn}),n.d(t,"interpolateRgbBasisClosed",function(){return zn}),n.d(t,"interpolateHsl",function(){return cr}),n.d(t,"interpolateHslLong",function(){return lr}),n.d(t,"interpolateLab",function(){return sr}),n.d(t,"interpolateHcl",function(){return dr}),n.d(t,"interpolateHclLong",function(){return hr}),n.d(t,"interpolateCubehelix",function(){return vr}),n.d(t,"interpolateCubehelixLong",function(){return mr}),n.d(t,"piecewise",function(){return yr}),n.d(t,"quantize",function(){return xr}),n.d(t,"path",function(){return Bo}),n.d(t,"polygonArea",function(){return Qd}),n.d(t,"polygonCentroid",function(){return Zd}),n.d(t,"polygonHull",function(){return nh}),n.d(t,"polygonContains",function(){return rh}),n.d(t,"polygonLength",function(){return ih}),n.d(t,"quadtree",function(){return du}),n.d(t,"randomUniform",function(){return ah}),n.d(t,"randomNormal",function(){return uh}),n.d(t,"randomLogNormal",function(){return ch}),n.d(t,"randomBates",function(){return sh}),n.d(t,"randomIrwinHall",function(){return lh}),n.d(t,"randomExponential",function(){return fh}),n.d(t,"scaleBand",function(){return bh}),n.d(t,"scalePoint",function(){return xh}),n.d(t,"scaleIdentity",function(){return Rh}),n.d(t,"scaleLinear",function(){return Ih}),n.d(t,"scaleLog",function(){return qh}),n.d(t,"scaleSymlog",function(){return $h}),n.d(t,"scaleOrdinal",function(){return gh}),n.d(t,"scaleImplicit",function(){return yh}),n.d(t,"scalePow",function(){return Jh}),n.d(t,"scaleSqrt",function(){return ep}),n.d(t,"scaleQuantile",function(){return tp}),n.d(t,"scaleQuantize",function(){return np}),n.d(t,"scaleThreshold",function(){return rp}),n.d(t,"scaleTime",function(){return Jm}),n.d(t,"scaleUtc",function(){return ey}),n.d(t,"scaleSequential",function(){return ry}),n.d(t,"scaleSequentialLog",function(){return iy}),n.d(t,"scaleSequentialPow",function(){return ay}),n.d(t,"scaleSequentialSqrt",function(){return uy}),n.d(t,"scaleSequentialSymlog",function(){return oy}),n.d(t,"scaleSequentialQuantile",function(){return cy}),n.d(t,"scaleDiverging",function(){return sy}),n.d(t,"scaleDivergingLog",function(){return fy}),n.d(t,"scaleDivergingPow",function(){return hy}),n.d(t,"scaleDivergingSqrt",function(){return py}),n.d(t,"scaleDivergingSymlog",function(){return dy}),n.d(t,"tickFormat",function(){return Ph}),n.d(t,"schemeCategory10",function(){return my}),n.d(t,"schemeAccent",function(){return yy}),n.d(t,"schemeDark2",function(){return gy}),n.d(t,"schemePaired",function(){return by}),n.d(t,"schemePastel1",function(){return xy}),n.d(t,"schemePastel2",function(){return _y}),n.d(t,"schemeSet1",function(){return wy}),n.d(t,"schemeSet2",function(){return ky}),n.d(t,"schemeSet3",function(){return Oy}),n.d(t,"interpolateBrBG",function(){return Cy}),n.d(t,"schemeBrBG",function(){return Ey}),n.d(t,"interpolatePRGn",function(){return My}),n.d(t,"schemePRGn",function(){return Sy}),n.d(t,"interpolatePiYG",function(){return Ny}),n.d(t,"schemePiYG",function(){return jy}),n.d(t,"interpolatePuOr",function(){return Ay}),n.d(t,"schemePuOr",function(){return Py}),n.d(t,"interpolateRdBu",function(){return Ry}),n.d(t,"schemeRdBu",function(){return Iy}),n.d(t,"interpolateRdGy",function(){return Dy}),n.d(t,"schemeRdGy",function(){return zy}),n.d(t,"interpolateRdYlBu",function(){return Fy}),n.d(t,"schemeRdYlBu",function(){return Ly}),n.d(t,"interpolateRdYlGn",function(){return By}),n.d(t,"schemeRdYlGn",function(){return Uy}),n.d(t,"interpolateSpectral",function(){return Hy}),n.d(t,"schemeSpectral",function(){return Wy}),n.d(t,"interpolateBuGn",function(){return Vy}),n.d(t,"schemeBuGn",function(){return qy}),n.d(t,"interpolateBuPu",function(){return Gy}),n.d(t,"schemeBuPu",function(){return Yy}),n.d(t,"interpolateGnBu",function(){return Ky}),n.d(t,"schemeGnBu",function(){return $y}),n.d(t,"interpolateOrRd",function(){return Qy}),n.d(t,"schemeOrRd",function(){return Xy}),n.d(t,"interpolatePuBuGn",function(){return Jy}),n.d(t,"schemePuBuGn",function(){return Zy}),n.d(t,"interpolatePuBu",function(){return tg}),n.d(t,"schemePuBu",function(){return eg}),n.d(t,"interpolatePuRd",function(){return rg}),n.d(t,"schemePuRd",function(){return ng}),n.d(t,"interpolateRdPu",function(){return og}),n.d(t,"schemeRdPu",function(){return ig}),n.d(t,"interpolateYlGnBu",function(){return ug}),n.d(t,"schemeYlGnBu",function(){return ag}),n.d(t,"interpolateYlGn",function(){return lg}),n.d(t,"schemeYlGn",function(){return cg}),n.d(t,"interpolateYlOrBr",function(){return fg}),n.d(t,"schemeYlOrBr",function(){return sg}),n.d(t,"interpolateYlOrRd",function(){return hg}),n.d(t,"schemeYlOrRd",function(){return dg}),n.d(t,"interpolateBlues",function(){return vg}),n.d(t,"schemeBlues",function(){return pg}),n.d(t,"interpolateGreens",function(){return yg}),n.d(t,"schemeGreens",function(){return mg}),n.d(t,"interpolateGreys",function(){return bg}),n.d(t,"schemeGreys",function(){return gg}),n.d(t,"interpolatePurples",function(){return _g}),n.d(t,"schemePurples",function(){return xg}),n.d(t,"interpolateReds",function(){return kg}),n.d(t,"schemeReds",function(){return wg}),n.d(t,"interpolateOranges",function(){return Tg}),n.d(t,"schemeOranges",function(){return Og}),n.d(t,"interpolateCubehelixDefault",function(){return Eg}),n.d(t,"interpolateRainbow",function(){return jg}),n.d(t,"interpolateWarm",function(){return Cg}),n.d(t,"interpolateCool",function(){return Sg}),n.d(t,"interpolateSinebow",function(){return Ig}),n.d(t,"interpolateViridis",function(){return zg}),n.d(t,"interpolateMagma",function(){return Dg}),n.d(t,"interpolateInferno",function(){return Lg}),n.d(t,"interpolatePlasma",function(){return Fg}),n.d(t,"create",function(){return nt}),n.d(t,"creator",function(){return me}),n.d(t,"local",function(){return it}),n.d(t,"matcher",function(){return _e}),n.d(t,"mouse",function(){return ct}),n.d(t,"namespace",function(){return ve}),n.d(t,"namespaces",function(){return pe}),n.d(t,"clientPoint",function(){return ut}),n.d(t,"select",function(){return tt}),n.d(t,"selectAll",function(){return lt}),n.d(t,"selection",function(){return et}),n.d(t,"selector",function(){return ge}),n.d(t,"selectorAll",function(){return xe}),n.d(t,"style",function(){return Me}),n.d(t,"touch",function(){return st}),n.d(t,"touches",function(){return ft}),n.d(t,"window",function(){return Se}),n.d(t,"event",function(){return qe}),n.d(t,"customEvent",function(){return Ke}),n.d(t,"arc",function(){return ob}),n.d(t,"area",function(){return fb}),n.d(t,"line",function(){return sb}),n.d(t,"pie",function(){return pb}),n.d(t,"areaRadial",function(){return xb}),n.d(t,"radialArea",function(){return xb}),n.d(t,"lineRadial",function(){return bb}),n.d(t,"radialLine",function(){return bb}),n.d(t,"pointRadial",function(){return _b}),n.d(t,"linkHorizontal",function(){return Mb}),n.d(t,"linkVertical",function(){return jb}),n.d(t,"linkRadial",function(){return Nb}),n.d(t,"symbol",function(){return Kb}),n.d(t,"symbols",function(){return $b}),n.d(t,"symbolCircle",function(){return Pb}),n.d(t,"symbolCross",function(){return Ab}),n.d(t,"symbolDiamond",function(){return zb}),n.d(t,"symbolSquare",function(){return Bb}),n.d(t,"symbolStar",function(){return Ub}),n.d(t,"symbolTriangle",function(){return Hb}),n.d(t,"symbolWye",function(){return Gb}),n.d(t,"curveBasisClosed",function(){return tx}),n.d(t,"curveBasisOpen",function(){return rx}),n.d(t,"curveBasis",function(){return Jb}),n.d(t,"curveBundle",function(){return ox}),n.d(t,"curveCardinalClosed",function(){return sx}),n.d(t,"curveCardinalOpen",function(){return dx}),n.d(t,"curveCardinal",function(){return cx}),n.d(t,"curveCatmullRomClosed",function(){return yx}),n.d(t,"curveCatmullRomOpen",function(){return bx}),n.d(t,"curveCatmullRom",function(){return vx}),n.d(t,"curveLinearClosed",function(){return _x}),n.d(t,"curveLinear",function(){return ub}),n.d(t,"curveMonotoneX",function(){return Mx}),n.d(t,"curveMonotoneY",function(){return jx}),n.d(t,"curveNatural",function(){return Ax}),n.d(t,"curveStep",function(){return Rx}),n.d(t,"curveStepAfter",function(){return Dx}),n.d(t,"curveStepBefore",function(){return zx}),n.d(t,"stack",function(){return Bx}),n.d(t,"stackOffsetExpand",function(){return Wx}),n.d(t,"stackOffsetDiverging",function(){return Hx}),n.d(t,"stackOffsetNone",function(){return Lx}),n.d(t,"stackOffsetSilhouette",function(){return qx}),n.d(t,"stackOffsetWiggle",function(){return Vx}),n.d(t,"stackOrderAppearance",function(){return Yx}),n.d(t,"stackOrderAscending",function(){return $x}),n.d(t,"stackOrderDescending",function(){return Xx}),n.d(t,"stackOrderInsideOut",function(){return Qx}),n.d(t,"stackOrderNone",function(){return Fx}),n.d(t,"stackOrderReverse",function(){return Zx}),n.d(t,"timeInterval",function(){return ap}),n.d(t,"timeMillisecond",function(){return cp}),n.d(t,"timeMilliseconds",function(){return lp}),n.d(t,"utcMillisecond",function(){return cp}),n.d(t,"utcMilliseconds",function(){return lp}),n.d(t,"timeSecond",function(){return hp}),n.d(t,"timeSeconds",function(){return pp}),n.d(t,"utcSecond",function(){return hp}),n.d(t,"utcSeconds",function(){return pp}),n.d(t,"timeMinute",function(){return mp}),n.d(t,"timeMinutes",function(){return yp}),n.d(t,"timeHour",function(){return bp}),n.d(t,"timeHours",function(){return xp}),n.d(t,"timeDay",function(){return wp}),n.d(t,"timeDays",function(){return kp}),n.d(t,"timeWeek",function(){return Tp}),n.d(t,"timeWeeks",function(){return Pp}),n.d(t,"timeSunday",function(){return Tp}),n.d(t,"timeSundays",function(){return Pp}),n.d(t,"timeMonday",function(){return Ep}),n.d(t,"timeMondays",function(){return Ap}),n.d(t,"timeTuesday",function(){return Cp}),n.d(t,"timeTuesdays",function(){return Ip}),n.d(t,"timeWednesday",function(){return Sp}),n.d(t,"timeWednesdays",function(){return Rp}),n.d(t,"timeThursday",function(){return Mp}),n.d(t,"timeThursdays",function(){return zp}),n.d(t,"timeFriday",function(){return jp}),n.d(t,"timeFridays",function(){return Dp}),n.d(t,"timeSaturday",function(){return Np}),n.d(t,"timeSaturdays",function(){return Lp}),n.d(t,"timeMonth",function(){return Up}),n.d(t,"timeMonths",function(){return Bp}),n.d(t,"timeYear",function(){return Hp}),n.d(t,"timeYears",function(){return qp}),n.d(t,"utcMinute",function(){return Yp}),n.d(t,"utcMinutes",function(){return Gp}),n.d(t,"utcHour",function(){return Kp}),n.d(t,"utcHours",function(){return Xp}),n.d(t,"utcDay",function(){return Zp}),n.d(t,"utcDays",function(){return Jp}),n.d(t,"utcWeek",function(){return tv}),n.d(t,"utcWeeks",function(){return cv}),n.d(t,"utcSunday",function(){return tv}),n.d(t,"utcSundays",function(){return cv}),n.d(t,"utcMonday",function(){return nv}),n.d(t,"utcMondays",function(){return lv}),n.d(t,"utcTuesday",function(){return rv}),n.d(t,"utcTuesdays",function(){return sv}),n.d(t,"utcWednesday",function(){return iv}),n.d(t,"utcWednesdays",function(){return fv}),n.d(t,"utcThursday",function(){return ov}),n.d(t,"utcThursdays",function(){return dv}),n.d(t,"utcFriday",function(){return av}),n.d(t,"utcFridays",function(){return hv}),n.d(t,"utcSaturday",function(){return uv}),n.d(t,"utcSaturdays",function(){return pv}),n.d(t,"utcMonth",function(){return mv}),n.d(t,"utcMonths",function(){return yv}),n.d(t,"utcYear",function(){return bv}),n.d(t,"utcYears",function(){return xv}),n.d(t,"timeFormatDefaultLocale",function(){return Um}),n.d(t,"timeFormat",function(){return Ev}),n.d(t,"timeParse",function(){return Cv}),n.d(t,"utcFormat",function(){return Sv}),n.d(t,"utcParse",function(){return Mv}),n.d(t,"timeFormatLocale",function(){return Ov}),n.d(t,"isoFormat",function(){return Bm}),n.d(t,"isoParse",function(){return Wm}),n.d(t,"now",function(){return jr}),n.d(t,"timer",function(){return Ar}),n.d(t,"timerFlush",function(){return Ir}),n.d(t,"timeout",function(){return Lr}),n.d(t,"interval",function(){return Fr}),n.d(t,"transition",function(){return ai}),n.d(t,"active",function(){return Ji}),n.d(t,"interrupt",function(){return Jr}),n.d(t,"voronoi",function(){return D_}),n.d(t,"zoom",function(){return Q_}),n.d(t,"zoomTransform",function(){return W_}),n.d(t,"zoomIdentity",function(){return B_})},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,u){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,u],s=0;(c=new Error(t.replace(/%s/g,function(){return l[s++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";for(var r=function(e){return null!==e&&!Array.isArray(e)&&"object"===typeof e},i={3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"},o=0;o<24;o+=1)i[112+o]="F"+(o+1);for(var a=0;a<26;a+=1){var u=a+65;i[u]=[String.fromCharCode(u+32),String.fromCharCode(u)]}var c={codes:i,getCode:function(e){return r(e)?e.keyCode||e.which||this[e.key]:this[e]},getKey:function(e){var t=r(e);if(t&&e.key)return e.key;var n=i[t?e.keyCode||e.which:e];return Array.isArray(n)&&(n=t?n[e.shiftKey?1:0]:n[0]),n},Cancel:3,Help:6,Backspace:8,Tab:9,Clear:12,Enter:13,Shift:16,Control:17,Alt:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Accept:30,ModeChange:31," ":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Select:41,Print:42,Execute:43,PrintScreen:44,Insert:45,Delete:46,0:48,")":48,1:49,"!":49,2:50,"@":50,3:51,"#":51,4:52,$:52,5:53,"%":53,6:54,"^":54,7:55,"&":55,8:56,"*":56,9:57,"(":57,a:65,A:65,b:66,B:66,c:67,C:67,d:68,D:68,e:69,E:69,f:70,F:70,g:71,G:71,h:72,H:72,i:73,I:73,j:74,J:74,k:75,K:75,l:76,L:76,m:77,M:77,n:78,N:78,o:79,O:79,p:80,P:80,q:81,Q:81,r:82,R:82,s:83,S:83,t:84,T:84,u:85,U:85,v:86,V:86,w:87,W:87,x:88,X:88,y:89,Y:89,z:90,Z:90,OS:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,VolumeMute:181,VolumeDown:182,VolumeUp:183,";":186,":":186,"=":187,"+":187,",":188,"<":188,"-":189,_:189,".":190,">":190,"/":191,"?":191,"`":192,"~":192,"[":219,"{":219,"\\":220,"|":220,"]":221,"}":221,"'":222,'"':222,Meta:224,AltGraph:225,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251};c.Spacebar=c[" "],c.Digit0=c[0],c.Digit1=c[1],c.Digit2=c[2],c.Digit3=c[3],c.Digit4=c[4],c.Digit5=c[5],c.Digit6=c[6],c.Digit7=c[7],c.Digit8=c[8],c.Digit9=c[9],c.Tilde=c["~"],c.GraveAccent=c["`"],c.ExclamationPoint=c["!"],c.AtSign=c["@"],c.PoundSign=c["#"],c.PercentSign=c["%"],c.Caret=c["^"],c.Ampersand=c["&"],c.PlusSign=c["+"],c.MinusSign=c["-"],c.EqualsSign=c["="],c.DivisionSign=c["/"],c.MultiplicationSign=c["*"],c.Comma=c[","],c.Decimal=c["."],c.Colon=c[":"],c.Semicolon=c[";"],c.Pipe=c["|"],c.BackSlash=c["\\"],c.QuestionMark=c["?"],c.SingleQuote=c["'"],c.DoubleQuote=c['"'],c.LeftCurlyBrace=c["{"],c.RightCurlyBrace=c["}"],c.LeftParenthesis=c["("],c.RightParenthesis=c[")"],c.LeftAngleBracket=c["<"],c.RightAngleBracket=c[">"],c.LeftSquareBracket=c["["],c.RightSquareBracket=c["]"],e.exports=c},function(e,t,n){var r=n(92);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t){function n(e){return(n="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})(e)}function r(t){return"function"===typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"a",function(){return l}),n.d(t,"c",function(){return s});var r=n(33),i=n.n(r),o=n(64),a=n.n(o),u=["selected","defaultValue","defaultChecked","accept","autoCapitalize","autoComplete","autoCorrect","autoFocus","checked","disabled","form","id","lang","list","max","maxLength","min","minLength","multiple","name","pattern","placeholder","readOnly","required","step","title","type","value"],c=u.concat(["onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onClick","onContextMenu","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"]),l=["alt","height","src","srcSet","width"],s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.htmlProps,r=void 0===n?c:n,o=t.includeAria,u=void 0===o||o,l={},s={};return a()(e,function(e,t){var n=u&&(/^aria-.*$/.test(t)||"role"===t);(i()(r,t)||n?l:s)[t]=e}),[l,s]}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){var r=n(164),i=n(21),o=n(74),a=n(61),u=n(194),c=Math.max;e.exports=function(e,t,n,l){e=i(e)?e:u(e),n=n&&!l?a(n):0;var s=e.length;return n<0&&(n=c(s+n,0)),o(e)?n<=s&&e.indexOf(t,n)>-1:!!s&&r(e,t,n)>-1}},function(e,t,n){"use strict";var r=function(){};e.exports=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")}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",function(){return i})},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){return r})},function(e,t,n){var r=n(359),i=n(360),o=n(361);e.exports=function(e,t){return r(e)||i(e,t)||o()}},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",function(){return i})},function(e,t,n){"use strict";function r(e){return(r="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})(e)}function i(e){return(i="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}var o=n(42);function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?Object(o.a)(e):t}n.d(t,"a",function(){return a})},function(e,t,n){"use strict";var r=n(284),i=n(109),o=n(285);function a(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function c(e,t){var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=i({arrayFormat:"none"},t)),r=Object.create(null);return"string"!==typeof e?r:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach(function(e){var t=e.replace(/\+/g," ").split("="),i=t.shift(),a=t.length>0?t.join("="):void 0;a=void 0===a?null:o(a),n(o(i),a,r)}),Object.keys(r).sort().reduce(function(e,t){var n=r[t];return Boolean(n)&&"object"===typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"===typeof t?e(Object.keys(t)).sort(function(e,t){return Number(e)-Number(t)}).map(function(e){return t[e]}):t}(n):e[t]=n,e},Object.create(null))):r}t.extract=u,t.parse=c,t.stringify=function(e,t){!1===(t=i({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var n=function(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[a(t,e),"[",r,"]"].join(""):[a(t,e),"[",a(r,e),"]=",a(n,e)].join("")};case"bracket":return function(t,n){return null===n?a(t,e):[a(t,e),"[]=",a(n,e)].join("")};default:return function(t,n){return null===n?a(t,e):[a(t,e),"=",a(n,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map(function(r){var i=e[r];if(void 0===i)return"";if(null===i)return a(r,t);if(Array.isArray(i)){var o=[];return i.slice().forEach(function(e){void 0!==e&&o.push(n(r,e,o.length))}),o.join("&")}return a(r,t)+"="+a(i,t)}).filter(function(e){return e.length>0}).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:c(u(e),t)}}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return r})},function(e,t,n){var r=n(328),i=n(346),o=n(56),a=n(15),u=n(350);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):u(e)}},function(e,t,n){var r=n(179),i=n(90),o=n(21);e.exports=function(e){return o(e)?r(e):i(e)}},function(e,t,n){var r=n(343),i=n(111),o=n(344),a=n(181),u=n(182),c=n(20),l=n(163),s=l(r),f=l(i),d=l(o),h=l(a),p=l(u),v=c;(r&&"[object DataView]"!=v(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=v(new i)||o&&"[object Promise]"!=v(o.resolve())||a&&"[object Set]"!=v(new a)||u&&"[object WeakMap]"!=v(new u))&&(v=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case s:return"[object DataView]";case f:return"[object Map]";case d:return"[object Promise]";case h:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=v},function(e,t,n){var r=n(122);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(385),i=n(387);e.exports=function(e,t,n){return r(i,e,t,n)}},function(e,t,n){var r=n(20),i=n(22),o="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==a||t==u||t==o||t==c}},function(e,t,n){var r=n(172),i=n(43),o=n(352),a=n(15),u=n(123);e.exports=function(e,t,n){var c=a(e)?r:o;return n&&u(e,t,n)&&(t=void 0),c(e,i(t,3))}},function(e,t,n){var r=n(90),i=n(45),o=n(87),a=n(15),u=n(21),c=n(88),l=n(91),s=n(120),f="[object Map]",d="[object Set]",h=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||s(e)||o(e)))return!e.length;var t=i(e);if(t==f||t==d)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(h.call(e,n))return!1;return!0}},function(e,t,n){"use strict";var r=n(265).default;n(272),(t=e.exports=r).default=t},,function(e,t,n){var r=n(301),i=n(306);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(18).Symbol;e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(72),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(262)},function(e,t,n){"use strict";(t=e.exports=n(281).default).default=t},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){var r=n(189);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},function(e,t,n){var r=n(353),i=n(356)(r);e.exports=i},function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(30),i=n.n(r),o={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen"};function a(e){var t=i()(e);return"string"===t||"number"===t?o[e]||e:""}},function(e,t,n){var r=n(93),i=n(62),o=n(363),a=n(15);e.exports=function(e,t){return(a(e)?r:i)(e,o(t))}},function(e,t){e.exports=function(e){return void 0===e}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(157)),r(n(68)),r(n(159)),r(n(160)),r(n(288)),r(n(290)),r(n(294)),r(n(295)),r(n(296))},function(e,t,n){"use strict";var r=n(273).default;n(278),(t=e.exports=r).default=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),i=n(462);function o(e){if(!e.parent)return e.id+":A";var t=e.data.generation>e.parent.data.generation?[e.data,e.parent.data]:[e.parent.data,e.data],n=t[0],r=t[1];return n.additionalMarriage?n.id+":A":r.id+":"+n.id}function a(e){var t=e.indi&&e.indi.width||0,n=e.spouse&&e.spouse.width||0,r=e.family.width;return!e.indi||!e.spouse||t+n<=r?(t+n-r)/2:r/2>=n?t+n-r:r/2>=t?0:t-r/2}function u(e){var t=e.indi&&e.indi.height||0,n=e.spouse&&e.spouse.height||0,r=e.family.height;return e.indi&&e.spouse?t-r/2:(t+n-r)/2}t.getFamPositionVertical=a,t.getFamPositionHorizontal=u;var c=function(){function e(e){this.options=e}return e.prototype.getHSize=function(e){if(this.options.horizontal)return(e.indi&&e.indi.height||0)+(e.spouse&&e.spouse.height||0);var t=(e.indi&&e.indi.width||0)+(e.spouse&&e.spouse.width||0);return r.max([t,e.family&&e.family.width])},e.prototype.getVSize=function(e){return this.getIndiVSize(e)+this.getFamVSize(e)},e.prototype.getFamVSize=function(e){return this.options.horizontal?e.family&&e.family.width||0:e.family&&e.family.height||0},e.prototype.getIndiVSize=function(e){return this.options.horizontal?r.max([e.indi&&e.indi.width,e.spouse&&e.spouse.width,0]):r.max([e.indi&&e.indi.height,e.spouse&&e.spouse.height,0])},e.prototype.linkHorizontal=function(e,t){var n=(e.x+e.data.width/2+t.x-t.data.width/2)/2,i=e.x-e.data.width/2+this.getIndiVSize(e.data)/2,o=e.data.family?r.max([-u(e.data),0]):0,a=e.y-(e.data.indi&&e.data.spouse&&e.data.height/2-e.data.indi.height||0)+o,c=t.x-t.data.width/2+this.getIndiVSize(t.data)/2,l=t.data.spouse?e.data.parentsOfSpouse?t.y+(t.data.indi&&t.data.indi.height/2||0):t.y-t.data.spouse.height/2:t.y;return"M "+i+" "+a+"\n L "+n+" "+a+",\n "+n+" "+l+",\n "+c+" "+l},e.prototype.linkVertical=function(e,t){var n=(e.y+e.data.height/2+t.y-t.data.height/2)/2,i=e.data.family?r.max([-a(e.data),0]):0,o=e.x-(e.data.indi&&e.data.spouse&&e.data.width/2-e.data.indi.width||0)+i,u=e.y-e.data.height/2+this.getIndiVSize(e.data)/2,c=t.data.spouse?e.data.parentsOfSpouse?t.x+(t.data.indi&&t.data.indi.width/2||0):t.x-t.data.spouse.width/2:t.x;return"M "+o+" "+u+"\n L "+o+" "+n+",\n "+c+" "+n+",\n "+c+" "+(t.y-t.data.height/2+this.getIndiVSize(t.data)/2)},e.prototype.linkAdditionalMarriage=function(e){var t=e.parent.children.findIndex(function(t){return t.id===e.id}),n=e.parent.children[t-1];return"M "+(e.x+(e.data.indi.width-e.data.width)/2)+", "+(e.y+(e.data.indi.height-e.data.height)/2)+"\n L "+(n.x+(n.data.indi.width-n.data.width)/2)+", "+(n.y+(n.data.indi.height-n.data.height)/2)},e.prototype.setPreferredIndiSize=function(e){var t;e&&(t=this.options.renderer.getPreferredIndiSize(e.id),e.width=t[0],e.height=t[1])},e.prototype.getChartInfo=function(e){var t=r.min(e.map(function(e){return e.x-e.data.width/2}))-15,n=r.min(e.map(function(e){return e.y-e.data.height/2}))-15;return{size:[r.max(e.map(function(e){return e.x+e.data.width/2}))+15-t,r.max(e.map(function(e){return e.y+e.data.height/2}))+15-n],origin:[-t,-n]}},e.prototype.updateSvgDimensions=function(e){var t=r.select(this.options.svgSelector).select("g");(this.options.animate?t.transition().delay(200).duration(500):t).attr("transform","translate("+e.origin[0]+", "+e.origin[1]+")")},e.prototype.layOutChart=function(e,t){var n=this;void 0===t&&(t=!1);var o=r.select(this.options.svgSelector);o.select("style").empty()&&o.append("style").text(this.options.renderer.getCss());var a=i.flextree().nodeSize(function(e){if(n.options.horizontal){var t=r.max(e.children||[],function(e){return e.data.width})||0;return[e.data.height,(t+e.data.width)/2+30]}var i=r.max(e.children||[],function(e){return e.data.height})||0;return[e.data.width,(i+e.data.height)/2+30]}).spacing(function(e,t){return 15});e.each(function(e){e.data.generation=e.depth*(t?-1:1)+(n.options.baseGeneration||0)}),e.each(function(e){var t;n.setPreferredIndiSize(e.data.indi),n.setPreferredIndiSize(e.data.spouse),e.data.family&&(t=n.options.renderer.getPreferredFamSize(e.data.family.id),e.data.family.width=t[0],e.data.family.height=t[1])});var u=new Map;e.each(function(e){var t=e.depth,i=r.max([n.getIndiVSize(e.data),u.get(t)]);u.set(t,i)}),e.each(function(e){n.options.horizontal?(e.data.indi&&(e.data.indi.width=u.get(e.depth)),e.data.spouse&&(e.data.spouse.width=u.get(e.depth))):(e.data.indi&&(e.data.indi.height=u.get(e.depth)),e.data.spouse&&(e.data.spouse.height=u.get(e.depth)))});var c=new Map;e.each(function(e){var t=e.depth,i=r.max([n.getVSize(e.data),c.get(t)]);c.set(t,i)}),e.each(function(e){n.options.horizontal?(e.data.width=c.get(e.depth),e.data.height=n.getHSize(e.data)):(e.data.height=c.get(e.depth),e.data.width=n.getHSize(e.data))});var l=a(e).descendants();return l.forEach(function(e){var r;t&&(e.y=-e.y),n.options.horizontal&&(r=[e.y,e.x],e.x=r[0],e.y=r[1])}),l},e.prototype.renderChart=function(e){var t=this,n=r.select(this.options.svgSelector);n.select("g").empty()&&n.append("g");var i=n.select("g").selectAll("g.node").data(e,function(e){return e.id}),a=i.enter().append("g");a.merge(i).attr("class",function(e){return"node generation"+e.data.generation}),a.attr("transform",function(e){return"translate("+(e.x-e.data.width/2)+", "+(e.y-e.data.height/2)+")"}),this.options.animate&&a.style("opacity",0).transition().delay(700).duration(200).style("opacity",1),(this.options.animate?i.transition().delay(200).duration(500):i).attr("transform",function(e){return"translate("+(e.x-e.data.width/2)+", "+(e.y-e.data.height/2)+")"}),this.options.renderer.render(a,i),this.options.animate?i.exit().transition().duration(200).style("opacity",0).remove():i.exit().remove();var u=function(e,n){if(n.data.additionalMarriage)return t.linkAdditionalMarriage(n);var r=e.data.generation>n.data.generation;return t.options.horizontal?r?t.linkHorizontal(n,e):t.linkHorizontal(e,n):r?t.linkVertical(n,e):t.linkVertical(e,n)},c=e.filter(function(e){return!!e.parent||e.data.additionalMarriage}),l=n.select("g").selectAll("path.link").data(c,o),s=l.enter().insert("path","g").attr("class",function(e){return e.data.additionalMarriage?"link additional-marriage":"link"}).attr("d",function(e){return u(e.parent,e)});(this.options.animate?l.transition().delay(200).duration(500):l).attr("d",function(e){return u(e.parent,e)}),this.options.animate&&s.style("opacity",0).transition().delay(900).duration(0).style("opacity",1),this.options.animate?l.exit().transition().duration(0).style("opacity",0).remove():l.exit().remove()},e}();t.ChartUtil=c},function(e,t,n){var r=n(56),i=n(166),o=n(113);e.exports=function(e,t){return o(i(e,t,r),e+"")}},function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var i=typeof e;return!!(t=null==t?n:t)&&("number"==i||"symbol"!=i&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(15),i=n(121),o=n(185),a=n(46);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},function(e,t,n){var r=n(20),i=n(17),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&r(e)==o}},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(20),i=n(15),o=n(17),a="[object String]";e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&r(e)==a}},function(e,t,n){var r=n(177),i=n(374),o=n(43),a=n(15);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},function(e,t,n){var r=n(110),i=n(321),o=n(322);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},function(e,t,n){var r=n(53)(Object,"create");e.exports=r},function(e,t,n){var r=n(311),i=n(312),o=n(313),a=n(314),u=n(315);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(80);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t){e.exports=function(e,t){return e===t||e!==e&&t!==t}},function(e,t,n){var r=n(317);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(164);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(21),i=n(17);e.exports=function(e){return i(e)&&r(e)}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var r=n(339),i=n(17),o=Object.prototype,a=o.hasOwnProperty,u=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=c},function(e,t,n){(function(e){var r=n(18),i=n(340),o="object"==typeof t&&t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,u=a&&a.exports===o?r.Buffer:void 0,c=(u?u.isBuffer:void 0)||i;e.exports=c}).call(this,n(119)(e))},function(e,t,n){(function(e){var r=n(162),i="object"==typeof t&&t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,u=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=u}).call(this,n(119)(e))},function(e,t,n){var r=n(91),i=n(342),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(71),i=n(57);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(117),i=n(371);e.exports=function e(t,n,o,a,u){var c=-1,l=t.length;for(o||(o=i),u||(u=[]);++c<l;){var s=t[c];n>0&&o(s)?n>1?e(s,n-1,o,a,u):r(u,s):a||(u[u.length]=s)}return u}},function(e,t,n){var r=n(96),i=n(22);e.exports=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=r(e.prototype),o=e.apply(n,t);return i(o)?o:n}}},function(e,t,n){var r=n(22),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},function(e,t,n){var r=n(127),i=n(200);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var l=t[u],s=o?o(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),a?i(n,l,s):r(n,l,s)}return n}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){"use strict";function r(e,t){return e.parent===t.parent?1:2}function i(e,t){return e+t.x}function o(e,t){return Math.max(e,t.y)}var a=function(){var e=r,t=1,n=1,a=!1;function u(r){var u,c=0;r.eachAfter(function(t){var n=t.children;n?(t.x=function(e){return e.reduce(i,0)/e.length}(n),t.y=function(e){return 1+e.reduce(o,0)}(n)):(t.x=u?c+=e(t,u):0,t.y=0,u=t)});var l=function(e){for(var t;t=e.children;)e=t[0];return e}(r),s=function(e){for(var t;t=e.children;)e=t[t.length-1];return e}(r),f=l.x-e(l,s)/2,d=s.x+e(s,l)/2;return r.eachAfter(a?function(e){e.x=(e.x-r.x)*t,e.y=(r.y-e.y)*n}:function(e){e.x=(e.x-f)/(d-f)*t,e.y=(1-(r.y?e.y/r.y:1))*n})}return u.separation=function(t){return arguments.length?(e=t,u):e},u.size=function(e){return arguments.length?(a=!1,t=+e[0],n=+e[1],u):a?null:[t,n]},u.nodeSize=function(e){return arguments.length?(a=!0,t=+e[0],n=+e[1],u):a?[t,n]:null},u};function u(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function c(e,t){var n,r,i,o,a,u=new d(e),c=+e.value&&(u.value=e.value),s=[u];for(null==t&&(t=l);n=s.pop();)if(c&&(n.value=+n.data.value),(i=t(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)s.push(r=n.children[o]=new d(i[o])),r.parent=n,r.depth=n.depth+1;return u.eachBefore(f)}function l(e){return e.children}function s(e){e.data=e.data.data}function f(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function d(e){this.data=e,this.depth=this.height=0,this.parent=null}d.prototype=c.prototype={constructor:d,count:function(){return this.eachAfter(u)},each:function(e){var t,n,r,i,o=this,a=[o];do{for(t=a.reverse(),a=[];o=t.pop();)if(e(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r])}while(a.length);return this},eachAfter:function(e){for(var t,n,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),t=i.children)for(n=0,r=t.length;n<r;++n)o.push(t[n]);for(;i=a.pop();)e(i);return this},eachBefore:function(e){for(var t,n,r=this,i=[r];r=i.pop();)if(e(r),t=r.children)for(n=t.length-1;n>=0;--n)i.push(t[n]);return this},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){var e=[];return this.each(function(t){e.push(t)}),e},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return c(this).eachBefore(s)}};var h=Array.prototype.slice;var p=function(e){for(var t,n,r=0,i=(e=function(e){for(var t,n,r=e.length;r;)n=Math.random()*r--|0,t=e[r],e[r]=e[n],e[n]=t;return e}(h.call(e))).length,o=[];r<i;)t=e[r],n&&y(n,t)?++r:(n=b(o=v(o,t)),r=0);return n};function v(e,t){var n,r;if(g(t,e))return[t];for(n=0;n<e.length;++n)if(m(t,e[n])&&g(x(e[n],t),e))return[e[n],t];for(n=0;n<e.length-1;++n)for(r=n+1;r<e.length;++r)if(m(x(e[n],e[r]),t)&&m(x(e[n],t),e[r])&&m(x(e[r],t),e[n])&&g(_(e[n],e[r],t),e))return[e[n],e[r],t];throw new Error}function m(e,t){var n=e.r-t.r,r=t.x-e.x,i=t.y-e.y;return n<0||n*n<r*r+i*i}function y(e,t){var n=e.r-t.r+1e-6,r=t.x-e.x,i=t.y-e.y;return n>0&&n*n>r*r+i*i}function g(e,t){for(var n=0;n<t.length;++n)if(!y(e,t[n]))return!1;return!0}function b(e){switch(e.length){case 1:return{x:(t=e[0]).x,y:t.y,r:t.r};case 2:return x(e[0],e[1]);case 3:return _(e[0],e[1],e[2])}var t}function x(e,t){var n=e.x,r=e.y,i=e.r,o=t.x,a=t.y,u=t.r,c=o-n,l=a-r,s=u-i,f=Math.sqrt(c*c+l*l);return{x:(n+o+c/f*s)/2,y:(r+a+l/f*s)/2,r:(f+i+u)/2}}function _(e,t,n){var r=e.x,i=e.y,o=e.r,a=t.x,u=t.y,c=t.r,l=n.x,s=n.y,f=n.r,d=r-a,h=r-l,p=i-u,v=i-s,m=c-o,y=f-o,g=r*r+i*i-o*o,b=g-a*a-u*u+c*c,x=g-l*l-s*s+f*f,_=h*p-d*v,w=(p*x-v*b)/(2*_)-r,k=(v*m-p*y)/_,O=(h*b-d*x)/(2*_)-i,T=(d*y-h*m)/_,E=k*k+T*T-1,C=2*(o+w*k+O*T),S=w*w+O*O-o*o,M=-(E?(C+Math.sqrt(C*C-4*E*S))/(2*E):S/C);return{x:r+w+k*M,y:i+O+T*M,r:M}}function w(e,t,n){var r,i,o,a,u=e.x-t.x,c=e.y-t.y,l=u*u+c*c;l?(i=t.r+n.r,i*=i,a=e.r+n.r,i>(a*=a)?(r=(l+a-i)/(2*l),o=Math.sqrt(Math.max(0,a/l-r*r)),n.x=e.x-r*u-o*c,n.y=e.y-r*c+o*u):(r=(l+i-a)/(2*l),o=Math.sqrt(Math.max(0,i/l-r*r)),n.x=t.x+r*u-o*c,n.y=t.y+r*c+o*u)):(n.x=t.x+n.r,n.y=t.y)}function k(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,i=t.y-e.y;return n>0&&n*n>r*r+i*i}function O(e){var t=e._,n=e.next._,r=t.r+n.r,i=(t.x*n.r+n.x*t.r)/r,o=(t.y*n.r+n.y*t.r)/r;return i*i+o*o}function T(e){this._=e,this.next=null,this.previous=null}function E(e){if(!(i=e.length))return 0;var t,n,r,i,o,a,u,c,l,s,f;if((t=e[0]).x=0,t.y=0,!(i>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(i>2))return t.r+n.r;w(n,t,r=e[2]),t=new T(t),n=new T(n),r=new T(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(u=3;u<i;++u){w(t._,n._,r=e[u]),r=new T(r),c=n.next,l=t.previous,s=n._.r,f=t._.r;do{if(s<=f){if(k(c._,r._)){n=c,t.next=n,n.previous=t,--u;continue e}s+=c._.r,c=c.next}else{if(k(l._,r._)){(t=l).next=n,n.previous=t,--u;continue e}f+=l._.r,l=l.previous}}while(c!==l.next);for(r.previous=t,r.next=n,t.next=n.previous=n=r,o=O(t);(r=r.next)!==n;)(a=O(r))<o&&(t=r,o=a);n=t.next}for(t=[n._],r=n;(r=r.next)!==n;)t.push(r._);for(r=p(t),u=0;u<i;++u)(t=e[u]).x-=r.x,t.y-=r.y;return r.r}var C=function(e){return E(e),e};function S(e){if("function"!==typeof e)throw new Error;return e}function M(){return 0}var j=function(e){return function(){return e}};function N(e){return Math.sqrt(e.value)}var P=function(){var e=null,t=1,n=1,r=M;function i(i){return i.x=t/2,i.y=n/2,e?i.eachBefore(A(e)).eachAfter(I(r,.5)).eachBefore(R(1)):i.eachBefore(A(N)).eachAfter(I(M,1)).eachAfter(I(r,i.r/Math.min(t,n))).eachBefore(R(Math.min(t,n)/(2*i.r))),i}return i.radius=function(t){return arguments.length?(e=null==(n=t)?null:S(n),i):e;var n},i.size=function(e){return arguments.length?(t=+e[0],n=+e[1],i):[t,n]},i.padding=function(e){return arguments.length?(r="function"===typeof e?e:j(+e),i):r},i};function A(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function I(e,t){return function(n){if(r=n.children){var r,i,o,a=r.length,u=e(n)*t||0;if(u)for(i=0;i<a;++i)r[i].r+=u;if(o=E(r),u)for(i=0;i<a;++i)r[i].r-=u;n.r=o+u}}}function R(e){return function(t){var n=t.parent;t.r*=e,n&&(t.x=n.x+e*t.x,t.y=n.y+e*t.y)}}var z=function(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)},D=function(e,t,n,r,i){for(var o,a=e.children,u=-1,c=a.length,l=e.value&&(r-t)/e.value;++u<c;)(o=a[u]).y0=n,o.y1=i,o.x0=t,o.x1=t+=o.value*l},L=function(){var e=1,t=1,n=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=n,i.x1=e,i.y1=t/o,i.eachBefore(function(e,t){return function(r){r.children&&D(r,r.x0,e*(r.depth+1)/t,r.x1,e*(r.depth+2)/t);var i=r.x0,o=r.y0,a=r.x1-n,u=r.y1-n;a<i&&(i=a=(i+a)/2),u<o&&(o=u=(o+u)/2),r.x0=i,r.y0=o,r.x1=a,r.y1=u}}(t,o)),r&&i.eachBefore(z),i}return i.round=function(e){return arguments.length?(r=!!e,i):r},i.size=function(n){return arguments.length?(e=+n[0],t=+n[1],i):[e,t]},i.padding=function(e){return arguments.length?(n=+e,i):n},i},F="$",U={depth:-1},B={};function W(e){return e.id}function H(e){return e.parentId}var q=function(){var e=W,t=H;function n(n){var r,i,o,a,u,c,l,s=n.length,h=new Array(s),p={};for(i=0;i<s;++i)r=n[i],u=h[i]=new d(r),null!=(c=e(r,i,n))&&(c+="")&&(p[l=F+(u.id=c)]=l in p?B:u);for(i=0;i<s;++i)if(u=h[i],null!=(c=t(n[i],i,n))&&(c+="")){if(!(a=p[F+c]))throw new Error("missing: "+c);if(a===B)throw new Error("ambiguous: "+c);a.children?a.children.push(u):a.children=[u],u.parent=a}else{if(o)throw new Error("multiple roots");o=u}if(!o)throw new Error("no root");if(o.parent=U,o.eachBefore(function(e){e.depth=e.parent.depth+1,--s}).eachBefore(f),o.parent=null,s>0)throw new Error("cycle");return o}return n.id=function(t){return arguments.length?(e=S(t),n):e},n.parentId=function(e){return arguments.length?(t=S(e),n):t},n};function V(e,t){return e.parent===t.parent?1:2}function Y(e){var t=e.children;return t?t[0]:e.t}function G(e){var t=e.children;return t?t[t.length-1]:e.t}function $(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function K(e,t,n){return e.a.parent===t.parent?e.a:n}function X(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}X.prototype=Object.create(d.prototype);var Q=function(){var e=V,t=1,n=1,r=null;function i(i){var c=function(e){for(var t,n,r,i,o,a=new X(e,0),u=[a];t=u.pop();)if(r=t._.children)for(t.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(n=t.children[i]=new X(r[i],i)),n.parent=t;return(a.parent=new X(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),r)i.eachBefore(u);else{var l=i,s=i,f=i;i.eachBefore(function(e){e.x<l.x&&(l=e),e.x>s.x&&(s=e),e.depth>f.depth&&(f=e)});var d=l===s?1:e(l,s)/2,h=d-l.x,p=t/(s.x+d+h),v=n/(f.depth||1);i.eachBefore(function(e){e.x=(e.x+h)*p,e.y=e.depth*v})}return i}function o(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){!function(e){for(var t,n=0,r=0,i=e.children,o=i.length;--o>=0;)(t=i[o]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(t);var o=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-o):t.z=o}else i&&(t.z=i.z+e(t._,i._));t.parent.A=function(t,n,r){if(n){for(var i,o=t,a=t,u=n,c=o.parent.children[0],l=o.m,s=a.m,f=u.m,d=c.m;u=G(u),o=Y(o),u&&o;)c=Y(c),(a=G(a)).a=t,(i=u.z+f-o.z-l+e(u._,o._))>0&&($(K(u,t,r),t,i),l+=i,s+=i),f+=u.m,l+=o.m,d+=c.m,s+=a.m;u&&!G(a)&&(a.t=u,a.m+=f-s),o&&!Y(c)&&(c.t=o,c.m+=l-d,r=t)}return r}(t,i,t.parent.A||r[0])}function a(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function u(e){e.x*=t,e.y=e.depth*n}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i},Z=function(e,t,n,r,i){for(var o,a=e.children,u=-1,c=a.length,l=e.value&&(i-n)/e.value;++u<c;)(o=a[u]).x0=t,o.x1=r,o.y0=n,o.y1=n+=o.value*l},J=(1+Math.sqrt(5))/2;function ee(e,t,n,r,i,o){for(var a,u,c,l,s,f,d,h,p,v,m,y=[],g=t.children,b=0,x=0,_=g.length,w=t.value;b<_;){c=i-n,l=o-r;do{s=g[x++].value}while(!s&&x<_);for(f=d=s,m=s*s*(v=Math.max(l/c,c/l)/(w*e)),p=Math.max(d/m,m/f);x<_;++x){if(s+=u=g[x].value,u<f&&(f=u),u>d&&(d=u),m=s*s*v,(h=Math.max(d/m,m/f))>p){s-=u;break}p=h}y.push(a={value:s,dice:c<l,children:g.slice(b,x)}),a.dice?D(a,n,r,i,w?r+=l*s/w:o):Z(a,n,r,w?n+=c*s/w:i,o),w-=s,b=x}return y}var te=function e(t){function n(e,n,r,i,o){ee(t,e,n,r,i,o)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(J),ne=function(){var e=te,t=!1,n=1,r=1,i=[0],o=M,a=M,u=M,c=M,l=M;function s(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(f),i=[0],t&&e.eachBefore(z),e}function f(t){var n=i[t.depth],r=t.x0+n,s=t.y0+n,f=t.x1-n,d=t.y1-n;f<r&&(r=f=(r+f)/2),d<s&&(s=d=(s+d)/2),t.x0=r,t.y0=s,t.x1=f,t.y1=d,t.children&&(n=i[t.depth+1]=o(t)/2,r+=l(t)-n,s+=a(t)-n,(f-=u(t)-n)<r&&(r=f=(r+f)/2),(d-=c(t)-n)<s&&(s=d=(s+d)/2),e(t,r,s,f,d))}return s.round=function(e){return arguments.length?(t=!!e,s):t},s.size=function(e){return arguments.length?(n=+e[0],r=+e[1],s):[n,r]},s.tile=function(t){return arguments.length?(e=S(t),s):e},s.padding=function(e){return arguments.length?s.paddingInner(e).paddingOuter(e):s.paddingInner()},s.paddingInner=function(e){return arguments.length?(o="function"===typeof e?e:j(+e),s):o},s.paddingOuter=function(e){return arguments.length?s.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):s.paddingTop()},s.paddingTop=function(e){return arguments.length?(a="function"===typeof e?e:j(+e),s):a},s.paddingRight=function(e){return arguments.length?(u="function"===typeof e?e:j(+e),s):u},s.paddingBottom=function(e){return arguments.length?(c="function"===typeof e?e:j(+e),s):c},s.paddingLeft=function(e){return arguments.length?(l="function"===typeof e?e:j(+e),s):l},s},re=function(e,t,n,r,i){var o,a,u=e.children,c=u.length,l=new Array(c+1);for(l[0]=a=o=0;o<c;++o)l[o+1]=a+=u[o].value;!function e(t,n,r,i,o,a,c){if(t>=n-1){var s=u[t];return s.x0=i,s.y0=o,s.x1=a,void(s.y1=c)}var f=l[t],d=r/2+f,h=t+1,p=n-1;for(;h<p;){var v=h+p>>>1;l[v]<d?h=v+1:p=v}d-l[h-1]<l[h]-d&&t+1<h&&--h;var m=l[h]-f,y=r-m;if(a-i>c-o){var g=(i*y+a*m)/r;e(t,h,m,i,o,g,c),e(h,n,y,g,o,a,c)}else{var b=(o*y+c*m)/r;e(t,h,m,i,o,a,b),e(h,n,y,i,b,a,c)}}(0,c,e.value,t,n,r,i)},ie=function(e,t,n,r,i){(1&e.depth?Z:D)(e,t,n,r,i)},oe=function e(t){function n(e,n,r,i,o){if((a=e._squarify)&&a.ratio===t)for(var a,u,c,l,s,f=-1,d=a.length,h=e.value;++f<d;){for(c=(u=a[f]).children,l=u.value=0,s=c.length;l<s;++l)u.value+=c[l].value;u.dice?D(u,n,r,i,r+=(o-r)*u.value/h):Z(u,n,r,n+=(i-n)*u.value/h,o),h-=u.value}else e._squarify=a=ee(t,e,n,r,i,o),a.ratio=t}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(J);n.d(t,"a",function(){return a}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return P}),n.d(t,"e",function(){return C}),n.d(t,"d",function(){return p}),n.d(t,"f",function(){return L}),n.d(t,"g",function(){return q}),n.d(t,"h",function(){return Q}),n.d(t,"i",function(){return ne}),n.d(t,"j",function(){return re}),n.d(t,"k",function(){return D}),n.d(t,"m",function(){return Z}),n.d(t,"n",function(){return ie}),n.d(t,"o",function(){return te}),n.d(t,"l",function(){return oe})},function(e,t,n){!function(){var t=n(286),r=n(156).utf8,i=n(287),o=n(156).bin,a=function e(n,a){n.constructor==String?n=a&&"binary"===a.encoding?o.stringToBytes(n):r.stringToBytes(n):i(n)?n=Array.prototype.slice.call(n,0):Array.isArray(n)||(n=n.toString());for(var u=t.bytesToWords(n),c=8*n.length,l=1732584193,s=-271733879,f=-1732584194,d=271733878,h=0;h<u.length;h++)u[h]=16711935&(u[h]<<8|u[h]>>>24)|4278255360&(u[h]<<24|u[h]>>>8);u[c>>>5]|=128<<c%32,u[14+(c+64>>>9<<4)]=c;var p=e._ff,v=e._gg,m=e._hh,y=e._ii;for(h=0;h<u.length;h+=16){var g=l,b=s,x=f,_=d;l=p(l,s,f,d,u[h+0],7,-680876936),d=p(d,l,s,f,u[h+1],12,-389564586),f=p(f,d,l,s,u[h+2],17,606105819),s=p(s,f,d,l,u[h+3],22,-1044525330),l=p(l,s,f,d,u[h+4],7,-176418897),d=p(d,l,s,f,u[h+5],12,1200080426),f=p(f,d,l,s,u[h+6],17,-1473231341),s=p(s,f,d,l,u[h+7],22,-45705983),l=p(l,s,f,d,u[h+8],7,1770035416),d=p(d,l,s,f,u[h+9],12,-1958414417),f=p(f,d,l,s,u[h+10],17,-42063),s=p(s,f,d,l,u[h+11],22,-1990404162),l=p(l,s,f,d,u[h+12],7,1804603682),d=p(d,l,s,f,u[h+13],12,-40341101),f=p(f,d,l,s,u[h+14],17,-1502002290),l=v(l,s=p(s,f,d,l,u[h+15],22,1236535329),f,d,u[h+1],5,-165796510),d=v(d,l,s,f,u[h+6],9,-1069501632),f=v(f,d,l,s,u[h+11],14,643717713),s=v(s,f,d,l,u[h+0],20,-373897302),l=v(l,s,f,d,u[h+5],5,-701558691),d=v(d,l,s,f,u[h+10],9,38016083),f=v(f,d,l,s,u[h+15],14,-660478335),s=v(s,f,d,l,u[h+4],20,-405537848),l=v(l,s,f,d,u[h+9],5,568446438),d=v(d,l,s,f,u[h+14],9,-1019803690),f=v(f,d,l,s,u[h+3],14,-187363961),s=v(s,f,d,l,u[h+8],20,1163531501),l=v(l,s,f,d,u[h+13],5,-1444681467),d=v(d,l,s,f,u[h+2],9,-51403784),f=v(f,d,l,s,u[h+7],14,1735328473),l=m(l,s=v(s,f,d,l,u[h+12],20,-1926607734),f,d,u[h+5],4,-378558),d=m(d,l,s,f,u[h+8],11,-2022574463),f=m(f,d,l,s,u[h+11],16,1839030562),s=m(s,f,d,l,u[h+14],23,-35309556),l=m(l,s,f,d,u[h+1],4,-1530992060),d=m(d,l,s,f,u[h+4],11,1272893353),f=m(f,d,l,s,u[h+7],16,-155497632),s=m(s,f,d,l,u[h+10],23,-1094730640),l=m(l,s,f,d,u[h+13],4,681279174),d=m(d,l,s,f,u[h+0],11,-358537222),f=m(f,d,l,s,u[h+3],16,-722521979),s=m(s,f,d,l,u[h+6],23,76029189),l=m(l,s,f,d,u[h+9],4,-640364487),d=m(d,l,s,f,u[h+12],11,-421815835),f=m(f,d,l,s,u[h+15],16,530742520),l=y(l,s=m(s,f,d,l,u[h+2],23,-995338651),f,d,u[h+0],6,-198630844),d=y(d,l,s,f,u[h+7],10,1126891415),f=y(f,d,l,s,u[h+14],15,-1416354905),s=y(s,f,d,l,u[h+5],21,-57434055),l=y(l,s,f,d,u[h+12],6,1700485571),d=y(d,l,s,f,u[h+3],10,-1894986606),f=y(f,d,l,s,u[h+10],15,-1051523),s=y(s,f,d,l,u[h+1],21,-2054922799),l=y(l,s,f,d,u[h+8],6,1873313359),d=y(d,l,s,f,u[h+15],10,-30611744),f=y(f,d,l,s,u[h+6],15,-1560198380),s=y(s,f,d,l,u[h+13],21,1309151649),l=y(l,s,f,d,u[h+4],6,-145523070),d=y(d,l,s,f,u[h+11],10,-1120210379),f=y(f,d,l,s,u[h+2],15,718787259),s=y(s,f,d,l,u[h+9],21,-343485551),l=l+g>>>0,s=s+b>>>0,f=f+x>>>0,d=d+_>>>0}return t.endian([l,s,f,d])};a._ff=function(e,t,n,r,i,o,a){var u=e+(t&n|~t&r)+(i>>>0)+a;return(u<<o|u>>>32-o)+t},a._gg=function(e,t,n,r,i,o,a){var u=e+(t&r|n&~r)+(i>>>0)+a;return(u<<o|u>>>32-o)+t},a._hh=function(e,t,n,r,i,o,a){var u=e+(t^n^r)+(i>>>0)+a;return(u<<o|u>>>32-o)+t},a._ii=function(e,t,n,r,i,o,a){var u=e+(n^(t|~r))+(i>>>0)+a;return(u<<o|u>>>32-o)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var r=t.wordsToBytes(a(e,n));return n&&n.asBytes?r:n&&n.asString?o.bytesToString(r):t.bytesToHex(r)}}()},function(e,t,n){var r=n(327)(n(138));e.exports=r},function(e,t,n){var r=n(161),i=n(94),o=n(69),a=n(85),u=o(function(e,t){return a(e)?r(e,i(t,1,a,!0)):[]});e.exports=u},function(e,t,n){var r=n(380),i=n(128)(function(e,t){return null==e?{}:r(e,t)});e.exports=i},function(e,t,n){var r=n(201),i=n(62),o=n(43),a=n(384),u=n(15);e.exports=function(e,t,n){var c=u(e)?r:a,l=arguments.length<3;return c(e,o(t,4),n,l,i)}},function(e,t,n){var r=n(442),i=n(46),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},function(e,t,n){"use strict";var r=n(250),i=n.n(r),o={},a=0;t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"===typeof t&&(t={path:t});var r=t,u=r.path,c=r.exact,l=void 0!==c&&c,s=r.strict,f=void 0!==s&&s,d=r.sensitive;if(null==u)return n;var h=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=o[n]||(o[n]={});if(r[e])return r[e];var u=[],c={re:i()(e,u,t),keys:u};return a<1e4&&(r[e]=c,a++),c}(u,{end:l,strict:f,sensitive:void 0!==d&&d}),p=h.re,v=h.keys,m=p.exec(e);if(!m)return null;var y=m[0],g=m.slice(1),b=e===y;return l&&!b?null:{path:u,url:"/"===u&&""===y?"/":y,isExact:b,params:v.reduce(function(e,t,n){return e[t.name]=g[n],e},{})}}},function(e,t,n){"use strict";var r=n(32),i=n.n(r),o=n(27),a=n.n(o);function u(e){return"/"===e.charAt(0)}function c(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&u(e),o=t&&u(t),a=i||o;if(e&&u(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var l=void 0;if(r.length){var s=r[r.length-1];l="."===s||".."===s||""===s}else l=!1;for(var f=0,d=r.length;d>=0;d--){var h=r[d];"."===h?c(r,d):".."===h?(c(r,d),f++):f&&(c(r,d),f--)}if(!a)for(;f--;f)r.unshift("..");!a||""===r[0]||r[0]&&u(r[0])||r.unshift("");var p=r.join("/");return l&&"/"!==p.substr(-1)&&(p+="/"),p},s="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};var f=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r="undefined"===typeof t?"undefined":s(t);if(r!==("undefined"===typeof n?"undefined":s(n)))return!1;if("object"===r){var i=t.valueOf(),o=n.valueOf();if(i!==t||o!==n)return e(i,o);var a=Object.keys(t),u=Object.keys(n);return a.length===u.length&&a.every(function(r){return e(t[r],n[r])})}return!1},d=function(e){return"/"===e.charAt(0)?e:"/"+e},h=function(e){return"/"===e.charAt(0)?e.substr(1):e},p=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},v=function(e,t){return p(e,t)?e.substr(t.length):e},m=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},y=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b=function(e,t,n,r){var i=void 0;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=g({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(o){throw o instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):o}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=l(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i},x=function(){var e=null,t=[];return{setPrompt:function(t){return i()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"===typeof e?e(t,n):e;"string"===typeof a?"function"===typeof r?r(a,o):(i()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}},_=!("undefined"===typeof window||!window.document||!window.document.createElement),w=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},k=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},O=function(e,t){return t(window.confirm(e))},T=("function"===typeof Symbol&&Symbol.iterator,Object.assign,Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),E={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+h(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:h,decodePath:d},slash:{encodePath:d,decodePath:d}},C=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},S=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a()(_,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,o=void 0===r?O:r,u=e.hashType,c=void 0===u?"slash":u,l=e.basename?m(d(e.basename)):"",s=E[c],h=s.encodePath,g=s.decodePath,M=function(){var e=g(C());return i()(!l||p(e,l),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+l+'".'),l&&(e=v(e,l)),b(e)},j=x(),N=function(e){T(V,e),V.length=t.length,j.notifyListeners(V.location,V.action)},P=!1,A=null,I=function(){var e,t,n=C(),r=h(n);if(n!==r)S(r);else{var i=M(),o=V.location;if(!P&&(t=i,(e=o).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&f(e.state,t.state)))return;if(A===y(i))return;A=null,R(i)}},R=function(e){P?(P=!1,N()):j.confirmTransitionTo(e,"POP",o,function(t){t?N({action:"POP",location:e}):z(e)})},z=function(e){var t=V.location,n=U.lastIndexOf(y(t));-1===n&&(n=0);var r=U.lastIndexOf(y(e));-1===r&&(r=0);var i=n-r;i&&(P=!0,B(i))},D=C(),L=h(D);D!==L&&S(L);var F=M(),U=[y(F)],B=function(e){i()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},W=0,H=function(e){1===(W+=e)?w(window,"hashchange",I):0===W&&k(window,"hashchange",I)},q=!1,V={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+h(l+y(e))},push:function(e,t){i()(void 0===t,"Hash history cannot push state; it is ignored");var n=b(e,void 0,void 0,V.location);j.confirmTransitionTo(n,"PUSH",o,function(e){if(e){var t=y(n),r=h(l+t);if(C()!==r){A=t,function(e){window.location.hash=e}(r);var o=U.lastIndexOf(y(V.location)),a=U.slice(0,-1===o?0:o+1);a.push(t),U=a,N({action:"PUSH",location:n})}else i()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),N()}})},replace:function(e,t){i()(void 0===t,"Hash history cannot replace state; it is ignored");var n=b(e,void 0,void 0,V.location);j.confirmTransitionTo(n,"REPLACE",o,function(e){if(e){var t=y(n),r=h(l+t);C()!==r&&(A=t,S(r));var i=U.indexOf(y(V.location));-1!==i&&(U[i]=t),N({action:"REPLACE",location:n})}})},go:B,goBack:function(){return B(-1)},goForward:function(){return B(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=j.setPrompt(e);return q||(H(1),q=!0),function(){return q&&(q=!1,H(-1)),t()}},listen:function(e){var t=j.appendListener(e);return H(1),function(){H(-1),t()}}};return V};"function"===typeof Symbol&&Symbol.iterator,Object.assign;n.d(t,"a",function(){return M}),n.d(t,"b",function(){return b})},function(e,t){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),c=0;c<o.length;c++){var l=o[c];if(!u(l))return!1;var s=e[l],f=t[l];if(!1===(i=n?n.call(r,s,f,l):void 0)||void 0===i&&s!==f)return!1}return!0}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=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(i){return!1}}()?Object.assign:function(e,t){for(var n,a,u=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(u[l]=n[l]);if(r){a=r(n);for(var s=0;s<a.length;s++)o.call(n,a[s])&&(u[a[s]]=n[a[s]])}}return u}},function(e,t,n){var r=n(298),i=n(316),o=n(318),a=n(319),u=n(320);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(53)(n(18),"Map");e.exports=r},function(e,t){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},function(e,t,n){var r=n(325),i=n(168)(r);e.exports=i},function(e,t){var n=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var r=n(78),i=n(330),o=n(331),a=n(332),u=n(333),c=n(334);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=u,l.prototype.set=c,e.exports=l},function(e,t,n){var r=n(335),i=n(17);e.exports=function e(t,n,o,a,u){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!==t&&n!==n:r(t,n,o,a,e,u))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},function(e,t,n){var r=n(177),i=n(178),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(e){return null==e?[]:(e=Object(e),r(a(e),function(t){return o.call(e,t)}))}:i;e.exports=u},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(341),i=n(60),o=n(89),a=o&&o.isTypedArray,u=a?i(a):r;e.exports=u},function(e,t,n){var r=n(15),i=n(72),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},function(e,t,n){var r=n(54),i=n(55),o=n(15),a=n(72),u=1/0,c=r?r.prototype:void 0,l=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-u?"-0":n}},function(e,t,n){var r=n(80),i=n(21),o=n(70),a=n(22);e.exports=function(e,t,n){if(!a(n))return!1;var u=typeof t;return!!("number"==u?i(n)&&o(t,n.length):"string"==u&&t in n)&&r(n[t],e)}},function(e,t,n){var r=n(180)(Object.getPrototypeOf,Object);e.exports=r},function(e,t){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},function(e,t,n){"use strict";var r=n(30),i=n.n(r);t.a=function(e,t){"function"!==typeof e?null!==e&&"object"===i()(e)&&(e.current=t):e(t)}},function(e,t,n){var r=n(200),i=n(80),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(383),i=n(166),o=n(113);e.exports=function(e){return o(i(e,void 0,r),e+"")}},function(e,t,n){var r=n(202),i=n(389),o=n(390),a=n(204),u=n(399),c=n(132),l=n(400),s=n(210),f=n(211),d=n(61),h="Expected a function",p=1,v=2,m=8,y=16,g=32,b=64,x=Math.max;e.exports=function(e,t,n,_,w,k,O,T){var E=t&v;if(!E&&"function"!=typeof e)throw new TypeError(h);var C=_?_.length:0;if(C||(t&=~(g|b),_=w=void 0),O=void 0===O?O:x(d(O),0),T=void 0===T?T:d(T),C-=w?w.length:0,t&b){var S=_,M=w;_=w=void 0}var j=E?void 0:c(e),N=[e,t,n,_,w,S,M,k,O,T];if(j&&l(N,j),e=N[0],t=N[1],n=N[2],_=N[3],w=N[4],!(T=N[9]=void 0===N[9]?E?0:e.length:x(N[9]-C,0))&&t&(m|y)&&(t&=~(m|y)),t&&t!=p)P=t==m||t==y?o(e,t,T):t!=g&&t!=(p|g)||w.length?a.apply(void 0,N):u(e,t,n,_);else var P=i(e,t,n);return f((j?r:s)(P,N),e,t)}},function(e,t,n){var r=n(96),i=n(131),o=4294967295;function a(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=o,this.__views__=[]}a.prototype=r(i.prototype),a.prototype.constructor=a,e.exports=a},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(203),i=n(193),o=r?function(e){return r.get(e)}:i;e.exports=o},function(e,t,n){var r=n(96),i=n(131);function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}o.prototype=r(i.prototype),o.prototype.constructor=o,e.exports=o},function(e,t){var n="__lodash_placeholder__";e.exports=function(e,t){for(var r=-1,i=e.length,o=0,a=[];++r<i;){var u=e[r];u!==t&&u!==n||(e[r]=n,a[o++]=r)}return a}},function(e,t,n){var r=n(173);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t){e.exports={cap:!1,curry:!1,fixed:!1,immutable:!1,rearg:!1}},function(e,t,n){var r=n(429),i=n(98),o=n(430);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t,n){var r=n(165),i=n(43),o=n(61),a=Math.max;e.exports=function(e,t,n){var u=null==e?0:e.length;if(!u)return-1;var c=null==n?0:o(n);return c<0&&(c=a(u+c,0)),r(e,i(t,3),c)}},function(e,t,n){var r=n(192);e.exports=function(e){return e&&e.length?r(e):[]}},function(e,t,n){var r=n(20),i=n(124),o=n(17),a="[object Object]",u=Function.prototype,c=Object.prototype,l=u.toString,s=c.hasOwnProperty,f=l.call(Object);e.exports=function(e){if(!o(e)||r(e)!=a)return!1;var t=i(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==f}},function(e,t,n){var r=n(367),i=n(189),o=n(190);e.exports=function(e,t,n){return t=i(t),void 0===n?(n=t,t=0):n=i(n),e=o(e),r(e,t,n)}},function(e,t,n){var r=n(94),i=n(69),o=n(192),a=n(85),u=i(function(e){return o(r(e,1,a,!0))});e.exports=u},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",function(){return r})},,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.extend=function(e){var t,n,i,o,a=Array.prototype.slice.call(arguments,1);for(t=0,n=a.length;t<n;t+=1)if(i=a[t])for(o in i)r.call(i,o)&&(e[o]=i[o]);return e};var r=Object.prototype.hasOwnProperty;t.hop=r},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),i=n(68),o=n(158),a=function(){function e(e){this.options=e,this.util=new i.ChartUtil(e)}return e.prototype.createHierarchy=function(){var e=[],t=[];this.options.startIndi?((s=this.options.data.getIndi(this.options.startIndi).getFamilyAsChild())&&t.push({id:s,parentId:this.options.startIndi,family:{id:s}}),e.push({id:this.options.startIndi,indi:{id:this.options.startIndi}})):t.push({id:this.options.startFam,family:{id:this.options.startFam}});for(var n=new o.IdGenerator;t.length;){var i=t.pop(),a=this.options.data.getFam(i.id);if(i.id=n.getId(i.id),a){var u=i.id===this.options.startFam&&this.options.swapStartSpouses?[a.getMother(),a.getFather()]:[a.getFather(),a.getMother()],c=u[0],l=u[1];if(c||l){var s;if(l)i.spouse={id:l},(s=this.options.data.getIndi(l).getFamilyAsChild())&&t.push({id:s,parentId:i.id,parentsOfSpouse:!0,family:{id:s}});if(c)i.indi={id:c},(s=this.options.data.getIndi(c).getFamilyAsChild())&&t.push({id:s,parentId:i.id,parentsOfSpouse:!1,family:{id:s}});e.push(i)}}}return r.stratify()(e)},e.prototype.render=function(){var e=this.createHierarchy(),t=this.util.layOutChart(e,!0);this.util.renderChart(t);var n=this.util.getChartInfo(t);return this.util.updateSvgDimensions(n),n},e}();t.AncestorChart=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.ids=new Map}return e.prototype.getId=function(e){if(this.ids.has(e)){var t=this.ids.get(e);return this.ids.set(e,t+1),e+":"+t}return this.ids.set(e,1),e},e}();t.IdGenerator=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.json=e}return e.prototype.getId=function(){return this.json.id},e.prototype.getFamiliesAsSpouse=function(){return this.json.fams||[]},e.prototype.getFamilyAsChild=function(){return this.json.famc||null},e.prototype.getFirstName=function(){return this.json.firstName||null},e.prototype.getLastName=function(){return this.json.lastName||null},e.prototype.getBirthDate=function(){return this.json.birth||null},e.prototype.getBirthPlace=function(){return this.json.birth&&this.json.birth.place||null},e.prototype.getDeathDate=function(){return this.json.death||null},e.prototype.getDeathPlace=function(){return this.json.death&&this.json.death.place||null},e.prototype.isConfirmedDeath=function(){return this.json.death&&this.json.death.confirmed},e.prototype.getSex=function(){return this.json.sex||null},e.prototype.getImageUrl=function(){return this.json.imageUrl||null},e}(),i=function(){function e(e){this.json=e}return e.prototype.getId=function(){return this.json.id},e.prototype.getFather=function(){return this.json.husb||null},e.prototype.getMother=function(){return this.json.wife||null},e.prototype.getChildren=function(){return this.json.children||[]},e.prototype.getMarriageDate=function(){return this.json.marriage},e.prototype.getMarriagePlace=function(){return this.json.marriage&&this.json.marriage.place||null},e}(),o=function(){function e(e){var t=this;this.json=e,this.indis=new Map,this.fams=new Map,e.indis.forEach(function(e){return t.indis.set(e.id,new r(e))}),e.fams.forEach(function(e){return t.fams.set(e.id,new i(e))})}return e.prototype.getIndi=function(e){return this.indis.get(e)||null},e.prototype.getFam=function(e){return this.fams.get(e)||null},e}();t.JsonDataProvider=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),i=n(68),o=n(158),a="DUMMY_ROOT_NODE";function u(e){if(e[0].id!==a)return e;var t=e.slice(1),n=-t[0].x,r=-t[0].y;return t.forEach(function(e){e.parent&&e.parent.id===a&&!e.data.additionalMarriage&&delete e.parent,e.x+=n,e.y+=r,e.data.generation--}),t}t.removeDummyNode=u;var c=function(){function e(e){this.options=e,this.util=new i.ChartUtil(e)}return e.prototype.getNodes=function(e){var t=this,n=this.options.data.getIndi(e).getFamiliesAsSpouse();if(!n.length)return[{id:e,indi:{id:e}}];var r=n.map(function(n){var r={id:n,indi:{id:e},family:{id:n}},i=t.options.data.getFam(n),o=function(e,t){return t.getFather()===e?t.getMother():t.getFather()}(e,i);return o&&(r.spouse={id:o}),r});return r.slice(1).forEach(function(e){e.additionalMarriage=!0}),r},e.prototype.getFamNode=function(e){var t={id:e,family:{id:e}},n=this.options.data.getFam(e),r=n.getFather();r&&(t.indi={id:r});var i=n.getMother();return i&&(t.spouse={id:i}),t},e.prototype.createHierarchy=function(){var e=this,t=[],n=this.options.startIndi?this.getNodes(this.options.startIndi):[this.getFamNode(this.options.startFam)];if(n.length>1){var i={id:a,height:1,width:1};t.push(i),n.forEach(function(e){return e.parentId=i.id})}t.push.apply(t,n);var u=[];n.forEach(function(e){e.family&&u.push(e)});for(var c=new o.IdGenerator,l=function(){var n=u.pop();s.options.data.getFam(n.family.id).getChildren().forEach(function(r){var i=e.getNodes(r);i.forEach(function(e){e.parentId=n.id,e.family&&(e.id=""+c.getId(e.family.id),u.push(e))}),t.push.apply(t,i)})},s=this;u.length;)l();return r.stratify()(t)},e.prototype.render=function(){var e=this.createHierarchy(),t=u(this.util.layOutChart(e));this.util.renderChart(t);var n=this.util.getChartInfo(t);return this.util.updateSvgDimensions(n),n},e}();t.DescendantChart=c},function(e,t,n){var r=n(76),i=n(82),o=n(112),a=n(55),u=n(60),c=n(83),l=200;e.exports=function(e,t,n,s){var f=-1,d=i,h=!0,p=e.length,v=[],m=t.length;if(!p)return v;n&&(t=a(t,u(n))),s?(d=o,h=!1):t.length>=l&&(d=c,h=!1,t=new r(t));e:for(;++f<p;){var y=e[f],g=null==n?y:n(y);if(y=s||0!==y?y:0,h&&g===g){for(var b=m;b--;)if(t[b]===g)continue e;v.push(y)}else d(t,g,s)||v.push(y)}return v}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(154))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},function(e,t,n){var r=n(165),i=n(323),o=n(324);e.exports=function(e,t,n){return t===t?o(e,t,n):r(e,i,n)}},function(e,t){e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},function(e,t,n){var r=n(84),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,u=i(o.length-t,0),c=Array(u);++a<u;)c[a]=o[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=o[a];return l[t]=n(c),r(e,this,l)}}},function(e,t,n){var r=n(53),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},function(e,t){var n=800,r=16,i=Date.now;e.exports=function(e){var t=0,o=0;return function(){var a=i(),u=r-(a-o);if(o=a,u>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){"use strict";t.a=function(e,t){var n=e.handledProps,r=void 0===n?[]:n;return Object.keys(t).reduce(function(e,n){return"childKey"===n?e:(-1===r.indexOf(n)&&(e[n]=t[n]),e)},{})}},function(e,t,n){"use strict";t.a=function(e,t,n){var r=e.defaultProps,i=void 0===r?{}:r;if(t.as&&t.as!==i.as)return t.as;if(n){var o=n();if(o)return o}return t.href?"a":i.as||"div"}},function(e,t,n){var r=n(76),i=n(172),o=n(83),a=1,u=2;e.exports=function(e,t,n,c,l,s){var f=n&a,d=e.length,h=t.length;if(d!=h&&!(f&&h>d))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var v=-1,m=!0,y=n&u?new r:void 0;for(s.set(e,t),s.set(t,e);++v<d;){var g=e[v],b=t[v];if(c)var x=f?c(b,g,v,t,e,s):c(g,b,v,e,t,s);if(void 0!==x){if(x)continue;m=!1;break}if(y){if(!i(t,function(e,t){if(!o(y,t)&&(g===e||l(g,e,n,c,s)))return y.push(t)})){m=!1;break}}else if(g!==b&&!l(g,b,n,c,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t,n){var r=n(18).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},function(e,t,n){var r=n(176),i=n(118),o=n(44);e.exports=function(e){return r(e,o,i)}},function(e,t,n){var r=n(117),i=n(15);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(338),i=n(87),o=n(15),a=n(88),u=n(70),c=n(120),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),s=!n&&i(e),f=!n&&!s&&a(e),d=!n&&!s&&!f&&c(e),h=n||s||f||d,p=h?r(e.length,String):[],v=p.length;for(var m in e)!t&&!l.call(e,m)||h&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||u(m,v))||p.push(m);return p}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(53)(n(18),"Set");e.exports=r},function(e,t,n){var r=n(53)(n(18),"WeakMap");e.exports=r},function(e,t,n){var r=n(22);e.exports=function(e){return e===e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t,n){var r=n(347),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t});e.exports=a},function(e,t,n){var r=n(349),i=n(187);e.exports=function(e,t){return null!=e&&i(e,t,r)}},function(e,t,n){var r=n(71),i=n(87),o=n(15),a=n(70),u=n(114),c=n(57);e.exports=function(e,t,n){for(var l=-1,s=(t=r(t,e)).length,f=!1;++l<s;){var d=c(t[l]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++l!=s?f:!!(s=null==e?0:e.length)&&u(s)&&a(d,s)&&(o(e)||i(e))}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(190),i=1/0,o=1.7976931348623157e308;e.exports=function(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*o:e===e?e:0:0===e?e:0}},function(e,t,n){var r=n(22),i=n(72),o=NaN,a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=c.test(e);return n||l.test(e)?s(e.slice(2),n?2:8):u.test(e)?o:+e}},function(e,t,n){"use strict";n.d(t,"d",function(){return T}),n.d(t,"e",function(){return E}),n.d(t,"a",function(){return C}),n.d(t,"b",function(){return S}),n.d(t,"c",function(){return M});var r=n(14),i=n.n(r),o=(n(30),n(139)),a=n.n(o),u=n(15),c=n.n(u),l=n(140),s=n.n(l),f=n(48),d=n.n(f),h=n(228),p=n.n(h),v=n(74),m=n.n(v),y=n(229),g=n.n(y),b=n(10),x=n.n(b),_=n(6),w=n.n(_),k=n(0),O=n.n(k);function T(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthand() Component must be a string or function.");if(x()(n)||g()(n))return null;var o=m()(n),u=p()(n),l=d()(n),f=Object(k.isValidElement)(n),h=s()(n),v=o||u||c()(n);if(!l&&!f&&!h&&!v)return null;var y=r.defaultProps,b=void 0===y?{}:y,_=f&&n.props||h&&n||v&&t(n),T=r.overrideProps,E=void 0===T?{}:T;E=d()(E)?E(i()({},b,_)):E;var C=i()({},b,_,E);if(b.className||E.className||_.className){var S=w()(b.className,E.className,_.className);C.className=a()(S.split(" ")).join(" ")}if((b.style||E.style||_.style)&&(C.style=i()({},b.style,_.style,E.style)),x()(C.key)){var M=C.childKey,j=r.autoGenerateKey,N=void 0===j||j;x()(M)?N&&(o||u)&&(C.key=n):(C.key="function"===typeof M?M(C):M,delete C.childKey)}return f?Object(k.cloneElement)(n,C):v||h?O.a.createElement(e,C):l?n(e,C,C.children):void 0}function E(e,t){if("function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthandFactory() Component must be a string or function.");return function(n,r){return T(e,t,n,r)}}T.handledProps=[];E("div",function(e){return{children:e}}),E("iframe",function(e){return{src:e}}),E("img",function(e){return{src:e}});var C=E("input",function(e){return{type:e}}),S=E("label",function(e){return{children:e}}),M=E("p",function(e){return{children:e}})},function(e,t,n){var r=n(76),i=n(82),o=n(112),a=n(83),u=n(357),c=n(86),l=200;e.exports=function(e,t,n){var s=-1,f=i,d=e.length,h=!0,p=[],v=p;if(n)h=!1,f=o;else if(d>=l){var m=t?null:u(e);if(m)return c(m);h=!1,f=a,v=new r}else v=t?[]:p;e:for(;++s<d;){var y=e[s],g=t?t(y):y;if(y=n||0!==y?y:0,h&&g===g){for(var b=v.length;b--;)if(v[b]===g)continue e;t&&v.push(g),p.push(y)}else f(v,g,n)||(v!==p&&v.push(g),p.push(y))}return p}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(362),i=n(44);e.exports=function(e){return null==e?[]:r(e,i(e))}},function(e,t,n){"use strict";var r=n(30),i=n.n(r),o=n(10),a=n.n(o),u="object"===("undefined"===typeof document?"undefined":i()(document))&&null!==document,c="object"===("undefined"===typeof window?"undefined":i()(window))&&null!==window&&window.self===window;t.a=function e(){return a()(e.override)?u&&c:e.override}},function(e,t,n){"use strict";var r=n(141),i=n.n(r),o=n(230),a=n.n(o),u=n(7),c=n.n(u),l=n(10),s=n.n(l),f=n(49),d=n.n(f);t.a=function(e,t){if(d()([t,e],s.a))return!1;if(t.target&&(c()(t.target,"setAttribute","data-suir-click-target",!0),document.querySelector("[data-suir-click-target=true]")))return c()(t.target,"removeAttribute","data-suir-click-target"),e.contains(t.target);var n=t.clientX,r=t.clientY;if(d()([n,r],s.a))return!1;var o=e.getClientRects();if(!e.offsetWidth||!e.offsetHeight||!o||!o.length)return!1;var u=a()(o),l=u.top,f=u.bottom,h=u.left,p=u.right;return!d()([l,f,h,p],s.a)&&i()(r,l,f+.001)&&i()(n,h,p+.001)}},function(e,t,n){"use strict";var r=n(231);t.a=r.instance},function(e,t,n){"use strict";n.d(t,"a",function(){return T});var r=n(14),i=n.n(r),o=n(9),a=n.n(o),u=n(11),c=n.n(u),l=n(12),s=n.n(l),f=n(8),d=n.n(f),h=n(13),p=n.n(h),v=n(1),m=n.n(v),y=n(2),g=n.n(y),b=(n(102),n(65)),x=n.n(b),_=(n(372),n(75),n(50),n(44),n(375),n(199),n(379),n(7)),w=n.n(_),k=n(0),O=function(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t[e];if(void 0!==o)return o;if(i){var a=t[(r=e,"default".concat(r[0].toUpperCase()+r.slice(1)))];if(void 0!==a)return a;if(n){var u=n[e];if(void 0!==u)return u}}return"checked"!==e&&("value"===e?t.multiple?[]:"":void 0)},T=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,o=new Array(r),u=0;u<r;u++)o[u]=arguments[u];n=s()(this,(e=d()(t)).call.apply(e,[this].concat(o))),g()(m()(m()(n)),"trySetState",function(e,t){var r=n.constructor.autoControlledProps,o=Object.keys(e).reduce(function(t,i){return void 0!==n.props[i]?t:-1===r.indexOf(i)?t:(t[i]=e[i],t)},{});t&&(o=i()({},o,t)),Object.keys(o).length>0&&n.setState(o)});var c=n.constructor.autoControlledProps,l=w()(m()(m()(n)),"getInitialAutoControlledState",n.props)||{},f=c.reduce(function(e,t){return e[t]=O(t,n.props,l,!0),e},{});return n.state=i()({},l,f),n}return p()(t,e),c()(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.constructor.autoControlledProps.reduce(function(t,n){return!x()(e[n])&&(t[n]=e[n]),t},{});Object.keys(t).length>0&&this.setState(t)}}]),t}(k.Component)},function(e,t,n){var r=n(378),i=n(187);e.exports=function(e,t){return null!=e&&i(e,t,r)}},function(e,t,n){var r=n(167);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t){e.exports=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}},function(e,t,n){var r=n(56),i=n(203),o=i?function(e,t){return i.set(e,t),e}:r;e.exports=o},function(e,t,n){var r=n(182),i=r&&new r;e.exports=i},function(e,t,n){var r=n(205),i=n(206),o=n(391),a=n(95),u=n(207),c=n(212),l=n(398),s=n(134),f=n(18),d=1,h=2,p=8,v=16,m=128,y=512;e.exports=function e(t,n,g,b,x,_,w,k,O,T){var E=n&m,C=n&d,S=n&h,M=n&(p|v),j=n&y,N=S?void 0:a(t);return function d(){for(var h=arguments.length,p=Array(h),v=h;v--;)p[v]=arguments[v];if(M)var m=c(d),y=o(p,m);if(b&&(p=r(p,b,x,M)),_&&(p=i(p,_,w,M)),h-=y,M&&h<T){var P=s(p,m);return u(t,n,e,d.placeholder,g,p,P,k,O,T-h)}var A=C?g:this,I=S?A[t]:t;return h=p.length,k?p=l(p,k):j&&h>1&&p.reverse(),E&&O<h&&(p.length=O),this&&this!==f&&this instanceof d&&(I=N||a(I)),I.apply(A,p)}}},function(e,t){var n=Math.max;e.exports=function(e,t,r,i){for(var o=-1,a=e.length,u=r.length,c=-1,l=t.length,s=n(a-u,0),f=Array(l+s),d=!i;++c<l;)f[c]=t[c];for(;++o<u;)(d||o<a)&&(f[r[o]]=e[o]);for(;s--;)f[c++]=e[o++];return f}},function(e,t){var n=Math.max;e.exports=function(e,t,r,i){for(var o=-1,a=e.length,u=-1,c=r.length,l=-1,s=t.length,f=n(a-c,0),d=Array(f+s),h=!i;++o<f;)d[o]=e[o];for(var p=o;++l<s;)d[p+l]=t[l];for(;++u<c;)(h||o<a)&&(d[p+r[u]]=e[o++]);return d}},function(e,t,n){var r=n(208),i=n(210),o=n(211),a=1,u=2,c=4,l=8,s=32,f=64;e.exports=function(e,t,n,d,h,p,v,m,y,g){var b=t&l;t|=b?s:f,(t&=~(b?f:s))&c||(t&=~(a|u));var x=[e,t,h,b?p:void 0,b?v:void 0,b?void 0:p,b?void 0:v,m,y,g],_=n.apply(void 0,x);return r(e)&&i(_,x),_.placeholder=d,o(_,e,t)}},function(e,t,n){var r=n(130),i=n(132),o=n(209),a=n(393);e.exports=function(e){var t=o(e),n=a[t];if("function"!=typeof n||!(t in r.prototype))return!1;if(e===n)return!0;var u=i(n);return!!u&&e===u[0]}},function(e,t,n){var r=n(392),i=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t=e.name+"",n=r[t],o=i.call(r,t)?n.length:0;o--;){var a=n[o],u=a.func;if(null==u||u==e)return a.name}return t}},function(e,t,n){var r=n(202),i=n(168)(r);e.exports=i},function(e,t,n){var r=n(395),i=n(396),o=n(113),a=n(397);e.exports=function(e,t,n){var u=t+"";return o(e,i(u,a(r(u),n)))}},function(e,t){e.exports=function(e){return e.placeholder}},function(e,t,n){var r=n(97),i=n(44);e.exports=function(e,t){return e&&r(t,i(t),e)}},function(e,t,n){var r=n(115),i=n(93),o=n(127),a=n(213),u=n(402),c=n(405),l=n(73),s=n(406),f=n(407),d=n(175),h=n(408),p=n(45),v=n(409),m=n(410),y=n(415),g=n(15),b=n(88),x=n(416),_=n(22),w=n(418),k=n(44),O=1,T=2,E=4,C="[object Arguments]",S="[object Function]",M="[object GeneratorFunction]",j="[object Object]",N={};N[C]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[j]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[S]=N["[object WeakMap]"]=!1,e.exports=function e(t,n,P,A,I,R){var z,D=n&O,L=n&T,F=n&E;if(P&&(z=I?P(t,A,I,R):P(t)),void 0!==z)return z;if(!_(t))return t;var U=g(t);if(U){if(z=v(t),!D)return l(t,z)}else{var B=p(t),W=B==S||B==M;if(b(t))return c(t,D);if(B==j||B==C||W&&!I){if(z=L||W?{}:y(t),!D)return L?f(t,u(z,t)):s(t,a(z,t))}else{if(!N[B])return I?t:{};z=m(t,B,D)}}R||(R=new r);var H=R.get(t);if(H)return H;if(R.set(t,z),w(t))return t.forEach(function(r){z.add(e(r,n,P,r,t,R))}),z;if(x(t))return t.forEach(function(r,i){z.set(i,e(r,n,P,i,t,R))}),z;var q=F?L?h:d:L?keysIn:k,V=U?void 0:q(t);return i(V||t,function(r,i){V&&(r=t[i=r]),o(z,i,e(r,n,P,i,t,R))}),z}},function(e,t,n){var r=n(179),i=n(403),o=n(21);e.exports=function(e){return o(e)?r(e,!0):i(e)}},function(e,t,n){var r=n(117),i=n(124),o=n(118),a=n(178),u=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=u},function(e,t,n){var r=n(125);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},function(e,t,n){var r=n(436),i=n(437),o=n(438);e.exports=function(e){return r(e)||i(e)||o()}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n.n(o),u=n(11),c=n.n(u),l=n(12),s=n.n(l),f=n(8),d=n.n(f),h=n(13),p=n.n(h),v=n(1),m=n.n(v),y=n(2),g=n.n(y),b=n(65),x=n.n(b),_=n(7),w=n.n(_),k=n(6),O=n.n(k),T=(n(4),n(0)),E=n.n(T),C=n(24),S=n(169),M=n(170),j=n(5),N=n(191),P=n(220),A=n(463);function I(e){var t=e.children,n=e.className,r=e.content,o=O()("detail",n),a=Object(S.a)(I,e),u=Object(M.a)(I,e);return E.a.createElement(u,i()({},a,{className:o}),j.a.isNil(t)?r:t)}I.handledProps=["as","children","className","content"],I.propTypes={},I.create=Object(N.e)(I,function(e){return{content:e}});var R=I;function z(e){var t=e.children,n=e.circular,r=e.className,o=e.color,a=e.content,u=e.size,c=e.tag,l=O()("ui",o,u,Object(C.a)(n,"circular"),Object(C.a)(c,"tag"),"labels",r),s=Object(S.a)(z,e),f=Object(M.a)(z,e);return E.a.createElement(f,i()({},s,{className:l}),j.a.isNil(t)?a:t)}z.handledProps=["as","children","circular","className","color","content","size","tag"],z.propTypes={};var D=z;n.d(t,"a",function(){return L});var L=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"handleClick",function(e){var t=n.props.onClick;t&&t(e,n.props)}),g()(m()(m()(n)),"handleIconOverrides",function(e){return{onClick:function(t){w()(e,"onClick",t),w()(n.props,"onRemove",t,n.props)}}}),n}return p()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,n=e.active,r=e.attached,o=e.basic,a=e.children,u=e.circular,c=e.className,l=e.color,s=e.content,f=e.corner,d=e.detail,h=e.empty,p=e.floating,v=e.horizontal,m=e.icon,y=e.image,g=e.onRemove,b=e.pointing,_=e.removeIcon,w=e.ribbon,k=e.size,T=e.tag,N=(!0===b?"pointing":("left"===b||"right"===b)&&"".concat(b," pointing"))||("above"===b||"below"===b)&&"pointing ".concat(b),I=O()("ui",l,N,k,Object(C.a)(n,"active"),Object(C.a)(o,"basic"),Object(C.a)(u,"circular"),Object(C.a)(h,"empty"),Object(C.a)(p,"floating"),Object(C.a)(v,"horizontal"),Object(C.a)(!0===y,"image"),Object(C.a)(T,"tag"),Object(C.b)(f,"corner"),Object(C.b)(w,"ribbon"),Object(C.d)(r,"attached"),"label",c),z=Object(S.a)(t,this.props),D=Object(M.a)(t,this.props);if(!j.a.isNil(a))return E.a.createElement(D,i()({},z,{className:I,onClick:this.handleClick}),a);var L=x()(_)?"delete":_;return E.a.createElement(D,i()({className:I,onClick:this.handleClick},z),P.a.create(m,{autoGenerateKey:!1}),"boolean"!==typeof y&&A.a.create(y,{autoGenerateKey:!1}),s,R.create(d,{autoGenerateKey:!1}),g&&P.a.create(L,{autoGenerateKey:!1,overrideProps:this.handleIconOverrides}))}}]),t}(T.Component);g()(L,"Detail",R),g()(L,"Group",D),g()(L,"handledProps",["active","as","attached","basic","children","circular","className","color","content","corner","detail","empty","floating","horizontal","icon","image","onClick","onRemove","pointing","removeIcon","ribbon","size","tag"]),L.propTypes={},L.create=Object(N.e)(L,function(e){return{content:e}})},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n.n(o),u=n(11),c=n.n(u),l=n(12),s=n.n(l),f=n(8),d=n.n(f),h=n(13),p=n.n(h),v=n(2),m=n.n(v),y=n(10),g=n.n(y),b=(n(19),n(6)),x=n.n(b),_=(n(4),n(0)),w=n.n(_),k=n(24),O=n(169),T=n(170),E=n(191),C=n(5);function S(e){var t=e.children,n=e.className,r=e.content,o=e.size,a=x()(o,"icons",n),u=Object(O.a)(S,e),c=Object(T.a)(S,e);return w.a.createElement(c,i()({},u,{className:a}),C.a.isNil(t)?r:t)}S.handledProps=["as","children","className","content","size"],S.propTypes={},S.defaultProps={as:"i"};var M=S,j=function(e){function t(){return a()(this,t),s()(this,d()(t).apply(this,arguments))}return p()(t,e),c()(t,[{key:"getIconAriaOptions",value:function(){var e={},t=this.props,n=t["aria-label"],r=t["aria-hidden"];return g()(n)?e["aria-hidden"]="true":e["aria-label"]=n,g()(r)||(e["aria-hidden"]=r),e}},{key:"render",value:function(){var e=this.props,n=e.bordered,r=e.circular,o=e.className,a=e.color,u=e.corner,c=e.disabled,l=e.fitted,s=e.flipped,f=e.inverted,d=e.link,h=e.loading,p=e.name,v=e.rotated,m=e.size,y=x()(a,p,m,Object(k.a)(n,"bordered"),Object(k.a)(r,"circular"),Object(k.a)(c,"disabled"),Object(k.a)(l,"fitted"),Object(k.a)(f,"inverted"),Object(k.a)(d,"link"),Object(k.a)(h,"loading"),Object(k.b)(u,"corner"),Object(k.d)(s,"flipped"),Object(k.d)(v,"rotated"),"icon",o),g=Object(O.a)(t,this.props),b=Object(T.a)(t,this.props),_=this.getIconAriaOptions();return w.a.createElement(b,i()({},g,_,{className:y}))}}]),t}(_.PureComponent);m()(j,"defaultProps",{as:"i"}),m()(j,"Group",M),m()(j,"handledProps",["aria-hidden","aria-label","as","bordered","circular","className","color","corner","disabled","fitted","flipped","inverted","link","loading","name","rotated","size"]),j.propTypes={},j.create=Object(E.e)(j,function(e){return{name:e}});t.a=j},function(e,t,n){e.exports=function(){"use strict";return[{locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],i=Number(n[0])==e,o=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&r?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}},{locale:"en-001",parentLocale:"en",fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}}}},{locale:"en-150",parentLocale:"en-001"},{locale:"en-AG",parentLocale:"en-001"},{locale:"en-AI",parentLocale:"en-001"},{locale:"en-AS",parentLocale:"en"},{locale:"en-AT",parentLocale:"en-150"},{locale:"en-AU",parentLocale:"en-001",fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr",other:"in {0} yrs"},past:{one:"{0} yr ago",other:"{0} yrs ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"h",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr",other:"in {0} hrs"},past:{one:"{0} hr ago",other:"{0} hrs ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} mins"},past:{one:"{0} min. ago",other:"{0} mins ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} secs"},past:{one:"{0} sec. ago",other:"{0} secs ago"}}}}},{locale:"en-BB",parentLocale:"en-001"},{locale:"en-BE",parentLocale:"en-001"},{locale:"en-BI",parentLocale:"en"},{locale:"en-BM",parentLocale:"en-001"},{locale:"en-BS",parentLocale:"en-001"},{locale:"en-BW",parentLocale:"en-001"},{locale:"en-BZ",parentLocale:"en-001"},{locale:"en-CA",parentLocale:"en-001",fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yrs."},past:{one:"{0} yr. ago",other:"{0} yrs. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mos."},past:{one:"{0} mo. ago",other:"{0} mos. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hrs."},past:{one:"{0} hr. ago",other:"{0} hrs. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} mins."},past:{one:"{0} min. ago",other:"{0} mins. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} secs."},past:{one:"{0} sec. ago",other:"{0} secs. ago"}}}}},{locale:"en-CC",parentLocale:"en-001"},{locale:"en-CH",parentLocale:"en-150"},{locale:"en-CK",parentLocale:"en-001"},{locale:"en-CM",parentLocale:"en-001"},{locale:"en-CX",parentLocale:"en-001"},{locale:"en-CY",parentLocale:"en-001"},{locale:"en-DE",parentLocale:"en-150"},{locale:"en-DG",parentLocale:"en-001"},{locale:"en-DK",parentLocale:"en-150"},{locale:"en-DM",parentLocale:"en-001"},{locale:"en-Dsrt",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},"year-short":{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},month:{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},"month-short":{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},day:{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},"day-short":{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},hour:{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},"hour-short":{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},minute:{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},"minute-short":{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},second:{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}},"second-short":{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}}}},{locale:"en-ER",parentLocale:"en-001"},{locale:"en-FI",parentLocale:"en-150"},{locale:"en-FJ",parentLocale:"en-001"},{locale:"en-FK",parentLocale:"en-001"},{locale:"en-FM",parentLocale:"en-001"},{locale:"en-GB",parentLocale:"en-001"},{locale:"en-GD",parentLocale:"en-001"},{locale:"en-GG",parentLocale:"en-001"},{locale:"en-GH",parentLocale:"en-001"},{locale:"en-GI",parentLocale:"en-001"},{locale:"en-GM",parentLocale:"en-001"},{locale:"en-GU",parentLocale:"en"},{locale:"en-GY",parentLocale:"en-001"},{locale:"en-HK",parentLocale:"en-001"},{locale:"en-IE",parentLocale:"en-001"},{locale:"en-IL",parentLocale:"en-001"},{locale:"en-IM",parentLocale:"en-001"},{locale:"en-IN",parentLocale:"en-001"},{locale:"en-IO",parentLocale:"en-001"},{locale:"en-JE",parentLocale:"en-001"},{locale:"en-JM",parentLocale:"en-001"},{locale:"en-KE",parentLocale:"en-001"},{locale:"en-KI",parentLocale:"en-001"},{locale:"en-KN",parentLocale:"en-001"},{locale:"en-KY",parentLocale:"en-001"},{locale:"en-LC",parentLocale:"en-001"},{locale:"en-LR",parentLocale:"en-001"},{locale:"en-LS",parentLocale:"en-001"},{locale:"en-MG",parentLocale:"en-001"},{locale:"en-MH",parentLocale:"en"},{locale:"en-MO",parentLocale:"en-001"},{locale:"en-MP",parentLocale:"en"},{locale:"en-MS",parentLocale:"en-001"},{locale:"en-MT",parentLocale:"en-001"},{locale:"en-MU",parentLocale:"en-001"},{locale:"en-MW",parentLocale:"en-001"},{locale:"en-MY",parentLocale:"en-001"},{locale:"en-NA",parentLocale:"en-001"},{locale:"en-NF",parentLocale:"en-001"},{locale:"en-NG",parentLocale:"en-001"},{locale:"en-NL",parentLocale:"en-150"},{locale:"en-NR",parentLocale:"en-001"},{locale:"en-NU",parentLocale:"en-001"},{locale:"en-NZ",parentLocale:"en-001"},{locale:"en-PG",parentLocale:"en-001"},{locale:"en-PH",parentLocale:"en-001"},{locale:"en-PK",parentLocale:"en-001"},{locale:"en-PN",parentLocale:"en-001"},{locale:"en-PR",parentLocale:"en"},{locale:"en-PW",parentLocale:"en-001"},{locale:"en-RW",parentLocale:"en-001"},{locale:"en-SB",parentLocale:"en-001"},{locale:"en-SC",parentLocale:"en-001"},{locale:"en-SD",parentLocale:"en-001"},{locale:"en-SE",parentLocale:"en-150"},{locale:"en-SG",parentLocale:"en-001",fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr",relative:{0:"this yr",1:"next yr","-1":"last yr"},relativeTime:{future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mth",relative:{0:"this mth",1:"next mth","-1":"last mth"},relativeTime:{future:{one:"in {0} mth",other:"in {0} mth"},past:{one:"{0} mth ago",other:"{0} mth ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}}}},{locale:"en-SH",parentLocale:"en-001"},{locale:"en-SI",parentLocale:"en-150"},{locale:"en-SL",parentLocale:"en-001"},{locale:"en-SS",parentLocale:"en-001"},{locale:"en-SX",parentLocale:"en-001"},{locale:"en-SZ",parentLocale:"en-001"},{locale:"en-Shaw",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},"year-short":{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},month:{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},"month-short":{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},day:{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},"day-short":{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},hour:{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},"hour-short":{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},minute:{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},"minute-short":{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},second:{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}},"second-short":{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}}}},{locale:"en-TC",parentLocale:"en-001"},{locale:"en-TK",parentLocale:"en-001"},{locale:"en-TO",parentLocale:"en-001"},{locale:"en-TT",parentLocale:"en-001"},{locale:"en-TV",parentLocale:"en-001"},{locale:"en-TZ",parentLocale:"en-001"},{locale:"en-UG",parentLocale:"en-001"},{locale:"en-UM",parentLocale:"en"},{locale:"en-US",parentLocale:"en"},{locale:"en-VC",parentLocale:"en-001"},{locale:"en-VG",parentLocale:"en-001"},{locale:"en-VI",parentLocale:"en"},{locale:"en-VU",parentLocale:"en-001"},{locale:"en-WS",parentLocale:"en-001"},{locale:"en-ZA",parentLocale:"en-001"},{locale:"en-ZM",parentLocale:"en-001"},{locale:"en-ZW",parentLocale:"en-001"}]}()},function(e,t,n){e.exports=function(){"use strict";return[{locale:"pl",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],i=!n[1],o=r.slice(-1),a=r.slice(-2);return t?"other":1==e&&i?"one":i&&o>=2&&o<=4&&(a<12||a>14)?"few":i&&1!=r&&(0==o||1==o)||i&&o>=5&&o<=9||i&&a>=12&&a<=14?"many":"other"},fields:{year:{displayName:"rok",relative:{0:"w tym roku",1:"w przysz\u0142ym roku","-1":"w zesz\u0142ym roku"},relativeTime:{future:{one:"za {0} rok",few:"za {0} lata",many:"za {0} lat",other:"za {0} roku"},past:{one:"{0} rok temu",few:"{0} lata temu",many:"{0} lat temu",other:"{0} roku temu"}}},"year-short":{displayName:"r.",relative:{0:"w tym roku",1:"w przysz\u0142ym roku","-1":"w zesz\u0142ym roku"},relativeTime:{future:{one:"za {0} rok",few:"za {0} lata",many:"za {0} lat",other:"za {0} roku"},past:{one:"{0} rok temu",few:"{0} lata temu",many:"{0} lat temu",other:"{0} roku temu"}}},month:{displayName:"miesi\u0105c",relative:{0:"w tym miesi\u0105cu",1:"w przysz\u0142ym miesi\u0105cu","-1":"w zesz\u0142ym miesi\u0105cu"},relativeTime:{future:{one:"za {0} miesi\u0105c",few:"za {0} miesi\u0105ce",many:"za {0} miesi\u0119cy",other:"za {0} miesi\u0105ca"},past:{one:"{0} miesi\u0105c temu",few:"{0} miesi\u0105ce temu",many:"{0} miesi\u0119cy temu",other:"{0} miesi\u0105ca temu"}}},"month-short":{displayName:"mies.",relative:{0:"w tym miesi\u0105cu",1:"w przysz\u0142ym miesi\u0105cu","-1":"w zesz\u0142ym miesi\u0105cu"},relativeTime:{future:{one:"za {0} mies.",few:"za {0} mies.",many:"za {0} mies.",other:"za {0} mies."},past:{one:"{0} mies. temu",few:"{0} mies. temu",many:"{0} mies. temu",other:"{0} mies. temu"}}},day:{displayName:"dzie\u0144",relative:{0:"dzisiaj",1:"jutro",2:"pojutrze","-2":"przedwczoraj","-1":"wczoraj"},relativeTime:{future:{one:"za {0} dzie\u0144",few:"za {0} dni",many:"za {0} dni",other:"za {0} dnia"},past:{one:"{0} dzie\u0144 temu",few:"{0} dni temu",many:"{0} dni temu",other:"{0} dnia temu"}}},"day-short":{displayName:"dzie\u0144",relative:{0:"dzisiaj",1:"jutro",2:"pojutrze","-2":"przedwczoraj","-1":"wczoraj"},relativeTime:{future:{one:"za {0} dzie\u0144",few:"za {0} dni",many:"za {0} dni",other:"za {0} dnia"},past:{one:"{0} dzie\u0144 temu",few:"{0} dni temu",many:"{0} dni temu",other:"{0} dnia temu"}}},hour:{displayName:"godzina",relative:{0:"ta godzina"},relativeTime:{future:{one:"za {0} godzin\u0119",few:"za {0} godziny",many:"za {0} godzin",other:"za {0} godziny"},past:{one:"{0} godzin\u0119 temu",few:"{0} godziny temu",many:"{0} godzin temu",other:"{0} godziny temu"}}},"hour-short":{displayName:"godz.",relative:{0:"ta godzina"},relativeTime:{future:{one:"za {0} godz.",few:"za {0} godz.",many:"za {0} godz.",other:"za {0} godz."},past:{one:"{0} godz. temu",few:"{0} godz. temu",many:"{0} godz. temu",other:"{0} godz. temu"}}},minute:{displayName:"minuta",relative:{0:"ta minuta"},relativeTime:{future:{one:"za {0} minut\u0119",few:"za {0} minuty",many:"za {0} minut",other:"za {0} minuty"},past:{one:"{0} minut\u0119 temu",few:"{0} minuty temu",many:"{0} minut temu",other:"{0} minuty temu"}}},"minute-short":{displayName:"min",relative:{0:"ta minuta"},relativeTime:{future:{one:"za {0} min",few:"za {0} min",many:"za {0} min",other:"za {0} min"},past:{one:"{0} min temu",few:"{0} min temu",many:"{0} min temu",other:"{0} min temu"}}},second:{displayName:"sekunda",relative:{0:"teraz"},relativeTime:{future:{one:"za {0} sekund\u0119",few:"za {0} sekundy",many:"za {0} sekund",other:"za {0} sekundy"},past:{one:"{0} sekund\u0119 temu",few:"{0} sekundy temu",many:"{0} sekund temu",other:"{0} sekundy temu"}}},"second-short":{displayName:"sek.",relative:{0:"teraz"},relativeTime:{future:{one:"za {0} sek.",few:"za {0} sek.",many:"za {0} sek.",other:"za {0} sek."},past:{one:"{0} sek. temu",few:"{0} sek. temu",many:"{0} sek. temu",other:"{0} sek. temu"}}}}}]}()},,,function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o=Object.defineProperty,a=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,s=l&&l(Object);e.exports=function e(t,n,f){if("string"!==typeof n){if(s){var d=l(n);d&&d!==s&&e(t,d,f)}var h=a(n);u&&(h=h.concat(u(n)));for(var p=0;p<h.length;++p){var v=h[p];if(!r[v]&&!i[v]&&(!f||!f[v])){var m=c(n,v);try{o(t,v,m)}catch(y){}}}return t}return t}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return function(e,t,n){this.name=e,this.version=t,this.os=n}}();t.BrowserInfo=n;var r=function(){return function(t){this.version=t,this.name="node",this.os=e.platform}}();t.NodeInfo=r;var i=function(){return function(){this.bot=!0,this.name="bot",this.version=null,this.os=null}}();t.BotInfo=i;var o=3,a=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],u=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/]];function c(e){var t=""!==e&&a.reduce(function(t,n){var r=n[0],i=n[1];if(t)return t;var o=i.exec(e);return!!o&&[r,o]},!1);if(!t)return null;var r=t[0],u=t[1];if("searchbot"===r)return new i;var c=u[1]&&u[1].split(/[._]/).slice(0,3);return c?c.length<o&&(c=c.concat(function(e){for(var t=[],n=0;n<e;n++)t.push("0");return t}(o-c.length))):c=[],new n(r,c.join("."),l(e))}function l(e){for(var t=0,n=u.length;t<n;t++){var r=u[t],i=r[0];if(r[1].test(e))return i}return null}function s(){return"undefined"!==typeof e&&e.version?new r(e.version.slice(1)):null}t.detect=function(){return"undefined"!==typeof navigator?c(navigator.userAgent):s()},t.parseUserAgent=c,t.detectOS=l,t.getNodeVersion=s}).call(this,n(283))},function(e){e.exports={a:"2.1.1"}},function(e,t,n){var r=n(20),i=n(17),o="[object Number]";e.exports=function(e){return"number"==typeof e||i(e)&&r(e)==o}},function(e,t,n){var r=n(20),i=n(17),o="[object Boolean]";e.exports=function(e){return!0===e||!1===e||i(e)&&r(e)==o}},function(e,t,n){e.exports=n(368)},function(e,t,n){"use strict";var r;r=n(369),e.exports=r.default,e.exports.instance=r.instance},function(e,t,n){var r=n(47)("uniq",n(139),n(136));r.placeholder=n(23),e.exports=r},function(e,t,n){var r=n(47)("identity",n(56),n(136));r.placeholder=n(23),e.exports=r},function(e,t,n){var r=n(47)("filter",n(75));r.placeholder=n(23),e.exports=r},function(e,t,n){var r=n(47)("split",n(426));r.placeholder=n(23),e.exports=r},function(e,t,n){var r=n(47)("flatMap",n(431));r.placeholder=n(23),e.exports=r},function(e,t,n){var r=n(47)("map",n(16));r.placeholder=n(23),e.exports=r},function(e,t,n){var r=n(47)("toArray",n(432),n(136));r.placeholder=n(23),e.exports=r},function(e,t,n){var r=n(47)("flow",n(434));r.placeholder=n(23),e.exports=r},function(e,t,n){n(8);var r=n(439);function i(t,n,o){return"undefined"!==typeof Reflect&&Reflect.get?e.exports=i=Reflect.get:e.exports=i=function(e,t,n){var i=r(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}},i(t,n,o||t)}e.exports=i},function(e,t){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}},function(e,t,n){var r=n(440),i=n(441),o=n(43),a=n(15),u=n(123);e.exports=function(e,t,n){var c=a(e)?r:i;return n&&u(e,t,n)&&(t=void 0),c(e,o(t,3))}},function(e,t,n){var r=n(46),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},function(e,t,n){var r=n(125),i=n(61);e.exports=function(e,t,n){var o=null==e?0:e.length;return o?(t=n||void 0===t?1:i(t),r(e,0,(t=o-t)<0?0:t)):[]}},function(e,t,n){var r=n(90),i=n(45),o=n(21),a=n(74),u=n(444),c="[object Map]",l="[object Set]";e.exports=function(e){if(null==e)return 0;if(o(e))return a(e)?u(e):e.length;var t=i(e);return t==c||t==l?e.size:r(e).length}},function(e,t,n){var r=n(116);e.exports=function(e,t){return r(e,t)}},function(e,t,n){var r=n(447),i=n(56);e.exports=function(e){return e&&e.length?r(e,i):0}},function(e,t,n){var r=n(448),i=n(453),o=r(function(e,t,n){return e+(n?" ":"")+i(t)});e.exports=o},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){var r=n(460);e.exports=h,e.exports.parse=o,e.exports.compile=function(e,t){return u(o(e,t))},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=d;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,u="",s=t&&t.delimiter||"/";null!=(n=i.exec(e));){var f=n[0],d=n[1],h=n.index;if(u+=e.slice(a,h),a=h+f.length,d)u+=d[1];else{var p=e[a],v=n[2],m=n[3],y=n[4],g=n[5],b=n[6],x=n[7];u&&(r.push(u),u="");var _=null!=v&&null!=p&&p!==v,w="+"===b||"*"===b,k="?"===b||"*"===b,O=n[2]||s,T=y||g;r.push({name:m||o++,prefix:v||"",delimiter:O,optional:k,repeat:w,partial:_,asterisk:!!x,pattern:T?l(T):x?".*":"[^"+c(O)+"]+?"})}}return a<e.length&&(u+=e.substr(a)),u&&r.push(u),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function u(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"===typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,i){for(var o="",u=n||{},c=(i||{}).pretty?a:encodeURIComponent,l=0;l<e.length;l++){var s=e[l];if("string"!==typeof s){var f,d=u[s.name];if(null==d){if(s.optional){s.partial&&(o+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(r(d)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(f=c(d[h]),!t[l].test(f))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===h?s.prefix:s.delimiter)+f}}else{if(f=s.asterisk?encodeURI(d).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):c(d),!t[l].test(f))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+f+'"');o+=s.prefix+f}}else o+=s}return o}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function f(e){return e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,a="",u=0;u<e.length;u++){var l=e[u];if("string"===typeof l)a+=c(l);else{var d=c(l.prefix),h="(?:"+l.pattern+")";t.push(l),l.repeat&&(h+="(?:"+d+h+")*"),a+=h=l.optional?l.partial?d+"("+h+")?":"(?:"+d+"("+h+"))?":d+"("+h+")"}}var p=c(n.delimiter||"/"),v=a.slice(-p.length)===p;return i||(a=(v?a.slice(0,-p.length):a)+"(?:"+p+"(?=$))?"),a+=o?"$":i&&v?"":"(?="+p+"|$)",s(new RegExp("^"+a,f(n)),t)}function h(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(h(e[i],t,n).source);return s(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return d(o(e,n),t,n)}(e,t,n)}},,,,,,,,,,,function(e,t,n){"use strict";var r=n(109),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,c=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,s=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.concurrent_mode"):60111,h=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,v=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,y="function"===typeof Symbol&&Symbol.iterator;function g(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,i,o,a,u){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,u],l=0;(e=Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x={};function _(e,t,n){this.props=e,this.context=t,this.refs=x,this.updater=n||b}function w(){}function k(e,t,n){this.props=e,this.context=t,this.refs=x,this.updater=n||b}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&g("85"),this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var O=k.prototype=new w;O.constructor=k,r(O,_.prototype),O.isPureReactComponent=!0;var T={current:null},E={current:null},C=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,n){var r=void 0,i={},a=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)C.call(t,r)&&!S.hasOwnProperty(r)&&(i[r]=t[r]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var l=Array(c),s=0;s<c;s++)l[s]=arguments[s+2];i.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===i[r]&&(i[r]=c[r]);return{$$typeof:o,type:e,key:a,ref:u,props:i,_owner:E.current}}function j(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var N=/\/+/g,P=[];function A(e,t,n,r){if(P.length){var i=P.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function R(e,t,n){return null==e?0:function e(t,n,r,i){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var c=!1;if(null===t)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case o:case a:c=!0}}if(c)return r(i,t,""===n?"."+z(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var s=n+z(u=t[l],l);c+=e(u,s,r,i)}else if(s=null===t||"object"!==typeof t?null:"function"===typeof(s=y&&t[y]||t["@@iterator"])?s:null,"function"===typeof s)for(t=s.call(t),l=0;!(u=t.next()).done;)c+=e(u=u.value,s=n+z(u,l++),r,i);else"object"===u&&g("31","[object Object]"===(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return c}(e,"",t,n)}function z(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function D(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?F(e,r,n,function(e){return e}):null!=e&&(j(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+n)),r.push(e))}function F(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(N,"$&/")+"/"),R(e,L,t=A(t,o,r,i)),I(t)}function U(){var e=T.current;return null===e&&g("307"),e}var B={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return F(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;R(e,D,t=A(null,null,t,n)),I(t)},count:function(e){return R(e,function(){return null},null)},toArray:function(e){var t=[];return F(e,t,null,function(e){return e}),t},only:function(e){return j(e)||g("143"),e}},createRef:function(){return{current:null}},Component:_,PureComponent:k,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:h,render:e}},lazy:function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:v,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return U().useCallback(e,t)},useContext:function(e,t){return U().useContext(e,t)},useEffect:function(e,t){return U().useEffect(e,t)},useImperativeHandle:function(e,t,n){return U().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return U().useLayoutEffect(e,t)},useMemo:function(e,t){return U().useMemo(e,t)},useReducer:function(e,t,n){return U().useReducer(e,t,n)},useRef:function(e){return U().useRef(e)},useState:function(e){return U().useState(e)},Fragment:u,StrictMode:c,Suspense:p,createElement:M,cloneElement:function(e,t,n){(null===e||void 0===e)&&g("267",e);var i=void 0,a=r({},e.props),u=e.key,c=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,l=E.current),void 0!==t.key&&(u=""+t.key);var s=void 0;for(i in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)C.call(t,i)&&!S.hasOwnProperty(i)&&(a[i]=void 0===t[i]&&void 0!==s?s[i]:t[i])}if(1===(i=arguments.length-2))a.children=n;else if(1<i){s=Array(i);for(var f=0;f<i;f++)s[f]=arguments[f+2];a.children=s}return{$$typeof:o,type:e.type,key:u,ref:c,props:a,_owner:l}},createFactory:function(e){var t=M.bind(null,e);return t.type=e,t},isValidElement:j,version:"16.8.1",unstable_ConcurrentMode:d,unstable_Profiler:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:T,ReactCurrentOwner:E,assign:r}},W={default:B},H=W&&B||W;e.exports=H.default||H},function(e,t,n){"use strict";var r=n(0),i=n(109),o=n(263);function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,i,o,a,u){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,u],l=0;(e=Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}r||a("227");var u=!1,c=null,l=!1,s=null,f={onError:function(e){u=!0,c=e}};function d(e,t,n,r,i,o,a,l,s){u=!1,c=null,function(e,t,n,r,i,o,a,u,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(s){this.onError(s)}}.apply(f,arguments)}var h=null,p={};function v(){if(h)for(var e in p){var t=p[e],n=h.indexOf(e);if(-1<n||a("96",e),!y[n])for(var r in t.extractEvents||a("97",e),y[n]=t,n=t.eventTypes){var i=void 0,o=n[r],u=t,c=r;g.hasOwnProperty(c)&&a("99",c),g[c]=o;var l=o.phasedRegistrationNames;if(l){for(i in l)l.hasOwnProperty(i)&&m(l[i],u,c);i=!0}else o.registrationName?(m(o.registrationName,u,c),i=!0):i=!1;i||a("98",r,e)}}}function m(e,t,n){b[e]&&a("100",e),b[e]=t,x[e]=t.eventTypes[n].dependencies}var y=[],g={},b={},x={},_=null,w=null,k=null;function O(e,t,n){var r=e.type||"unknown-event";e.currentTarget=k(n),function(e,t,n,r,i,o,f,h,p){if(d.apply(this,arguments),u){if(u){var v=c;u=!1,c=null}else a("198"),v=void 0;l||(l=!0,s=v)}}(r,t,void 0,e),e.currentTarget=null}function T(e,t){return null==t&&a("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function E(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var C=null;function S(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)O(e,t[r],n[r]);else t&&O(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var M={injectEventPluginOrder:function(e){h&&a("101"),h=Array.prototype.slice.call(e),v()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];p.hasOwnProperty(t)&&p[t]===r||(p[t]&&a("102",t),p[t]=r,n=!0)}n&&v()}};function j(e,t){var n=e.stateNode;if(!n)return null;var r=_(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!==typeof n&&a("231",t,typeof n),n)}function N(e){if(null!==e&&(C=T(C,e)),e=C,C=null,e&&(E(e,S),C&&a("95"),l))throw e=s,l=!1,s=null,e}var P=Math.random().toString(36).slice(2),A="__reactInternalInstance$"+P,I="__reactEventHandlers$"+P;function R(e){if(e[A])return e[A];for(;!e[A];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[A]).tag||6===e.tag?e:null}function z(e){return!(e=e[A])||5!==e.tag&&6!==e.tag?null:e}function D(e){if(5===e.tag||6===e.tag)return e.stateNode;a("33")}function L(e){return e[I]||null}function F(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function U(e,t,n){(t=j(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=T(n._dispatchListeners,t),n._dispatchInstances=T(n._dispatchInstances,e))}function B(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=F(t);for(t=n.length;0<t--;)U(n[t],"captured",e);for(t=0;t<n.length;t++)U(n[t],"bubbled",e)}}function W(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=j(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=T(n._dispatchListeners,t),n._dispatchInstances=T(n._dispatchInstances,e))}function H(e){e&&e.dispatchConfig.registrationName&&W(e._targetInst,null,e)}function q(e){E(e,B)}var V=!("undefined"===typeof window||!window.document||!window.document.createElement);function Y(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var G={animationend:Y("Animation","AnimationEnd"),animationiteration:Y("Animation","AnimationIteration"),animationstart:Y("Animation","AnimationStart"),transitionend:Y("Transition","TransitionEnd")},$={},K={};function X(e){if($[e])return $[e];if(!G[e])return e;var t,n=G[e];for(t in n)if(n.hasOwnProperty(t)&&t in K)return $[e]=n[t];return e}V&&(K=document.createElement("div").style,"AnimationEvent"in window||(delete G.animationend.animation,delete G.animationiteration.animation,delete G.animationstart.animation),"TransitionEvent"in window||delete G.transitionend.transition);var Q=X("animationend"),Z=X("animationiteration"),J=X("animationstart"),ee=X("transitionend"),te="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ne=null,re=null,ie=null;function oe(){if(ie)return ie;var e,t,n=re,r=n.length,i="value"in ne?ne.value:ne.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return ie=i.slice(e,1<t?1-t:void 0)}function ae(){return!0}function ue(){return!1}function ce(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?ae:ue,this.isPropagationStopped=ue,this}function le(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function se(e){e instanceof this||a("279"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=le,e.release=se}i(ce.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ae)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ae)},persist:function(){this.isPersistent=ae},isPersistent:ue,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ue,this._dispatchInstances=this._dispatchListeners=null}}),ce.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ce.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(ce);var de=ce.extend({data:null}),he=ce.extend({data:null}),pe=[9,13,27,32],ve=V&&"CompositionEvent"in window,me=null;V&&"documentMode"in document&&(me=document.documentMode);var ye=V&&"TextEvent"in window&&!me,ge=V&&(!ve||me&&8<me&&11>=me),be=String.fromCharCode(32),xe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},_e=!1;function we(e,t){switch(e){case"keyup":return-1!==pe.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ke(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Oe=!1;var Te={eventTypes:xe,extractEvents:function(e,t,n,r){var i=void 0,o=void 0;if(ve)e:{switch(e){case"compositionstart":i=xe.compositionStart;break e;case"compositionend":i=xe.compositionEnd;break e;case"compositionupdate":i=xe.compositionUpdate;break e}i=void 0}else Oe?we(e,n)&&(i=xe.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=xe.compositionStart);return i?(ge&&"ko"!==n.locale&&(Oe||i!==xe.compositionStart?i===xe.compositionEnd&&Oe&&(o=oe()):(re="value"in(ne=r)?ne.value:ne.textContent,Oe=!0)),i=de.getPooled(i,t,n,r),o?i.data=o:null!==(o=ke(n))&&(i.data=o),q(i),o=i):o=null,(e=ye?function(e,t){switch(e){case"compositionend":return ke(t);case"keypress":return 32!==t.which?null:(_e=!0,be);case"textInput":return(e=t.data)===be&&_e?null:e;default:return null}}(e,n):function(e,t){if(Oe)return"compositionend"===e||!ve&&we(e,t)?(e=oe(),ie=re=ne=null,Oe=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ge&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=he.getPooled(xe.beforeInput,t,n,r)).data=e,q(t)):t=null,null===o?t:null===t?o:[o,t]}},Ee=null,Ce=null,Se=null;function Me(e){if(e=w(e)){"function"!==typeof Ee&&a("280");var t=_(e.stateNode);Ee(e.stateNode,e.type,t)}}function je(e){Ce?Se?Se.push(e):Se=[e]:Ce=e}function Ne(){if(Ce){var e=Ce,t=Se;if(Se=Ce=null,Me(e),t)for(e=0;e<t.length;e++)Me(t[e])}}function Pe(e,t){return e(t)}function Ae(e,t,n){return e(t,n)}function Ie(){}var Re=!1;function ze(e,t){if(Re)return e(t);Re=!0;try{return Pe(e,t)}finally{Re=!1,(null!==Ce||null!==Se)&&(Ie(),Ne())}}var De={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Le(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!De[e.type]:"textarea"===t}function Fe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ue(e){if(!V)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"===typeof t[e]),t}function Be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function We(e){e._valueTracker||(e._valueTracker=function(e){var t=Be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function He(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var qe=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;qe.hasOwnProperty("ReactCurrentDispatcher")||(qe.ReactCurrentDispatcher={current:null});var Ve=/^(.*)[\\\/]/,Ye="function"===typeof Symbol&&Symbol.for,Ge=Ye?Symbol.for("react.element"):60103,$e=Ye?Symbol.for("react.portal"):60106,Ke=Ye?Symbol.for("react.fragment"):60107,Xe=Ye?Symbol.for("react.strict_mode"):60108,Qe=Ye?Symbol.for("react.profiler"):60114,Ze=Ye?Symbol.for("react.provider"):60109,Je=Ye?Symbol.for("react.context"):60110,et=Ye?Symbol.for("react.concurrent_mode"):60111,tt=Ye?Symbol.for("react.forward_ref"):60112,nt=Ye?Symbol.for("react.suspense"):60113,rt=Ye?Symbol.for("react.memo"):60115,it=Ye?Symbol.for("react.lazy"):60116,ot="function"===typeof Symbol&&Symbol.iterator;function at(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=ot&&e[ot]||e["@@iterator"])?e:null}function ut(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case et:return"ConcurrentMode";case Ke:return"Fragment";case $e:return"Portal";case Qe:return"Profiler";case Xe:return"StrictMode";case nt:return"Suspense"}if("object"===typeof e)switch(e.$$typeof){case Je:return"Context.Consumer";case Ze:return"Context.Provider";case tt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case rt:return ut(e.type);case it:if(e=1===e._status?e._result:null)return ut(e)}return null}function ct(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=ut(e.type);n=null,r&&(n=ut(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(Ve,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}var lt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,st=Object.prototype.hasOwnProperty,ft={},dt={};function ht(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}var pt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pt[e]=new ht(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pt[t]=new ht(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){pt[e]=new ht(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pt[e]=new ht(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){pt[e]=new ht(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){pt[e]=new ht(e,3,!0,e,null)}),["capture","download"].forEach(function(e){pt[e]=new ht(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){pt[e]=new ht(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){pt[e]=new ht(e,5,!1,e.toLowerCase(),null)});var vt=/[\-:]([a-z])/g;function mt(e){return e[1].toUpperCase()}function yt(e,t,n,r){var i=pt.hasOwnProperty(t)?pt[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!st.call(dt,e)||!st.call(ft,e)&&(lt.test(e)?dt[e]=!0:(ft[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function gt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function bt(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function xt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=gt(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function _t(e,t){null!=(t=t.checked)&&yt(e,"checked",t,!1)}function wt(e,t){_t(e,t);var n=gt(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ot(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ot(e,t.type,gt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function kt(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ot(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(vt,mt);pt[t]=new ht(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(vt,mt);pt[t]=new ht(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(vt,mt);pt[t]=new ht(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),pt.tabIndex=new ht("tabIndex",1,!1,"tabindex",null);var Tt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Et(e,t,n){return(e=ce.getPooled(Tt.change,e,t,n)).type="change",je(n),q(e),e}var Ct=null,St=null;function Mt(e){N(e)}function jt(e){if(He(D(e)))return e}function Nt(e,t){if("change"===e)return t}var Pt=!1;function At(){Ct&&(Ct.detachEvent("onpropertychange",It),St=Ct=null)}function It(e){"value"===e.propertyName&&jt(St)&&ze(Mt,e=Et(St,e,Fe(e)))}function Rt(e,t,n){"focus"===e?(At(),St=n,(Ct=t).attachEvent("onpropertychange",It)):"blur"===e&&At()}function zt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return jt(St)}function Dt(e,t){if("click"===e)return jt(t)}function Lt(e,t){if("input"===e||"change"===e)return jt(t)}V&&(Pt=Ue("input")&&(!document.documentMode||9<document.documentMode));var Ft={eventTypes:Tt,_isInputEventSupported:Pt,extractEvents:function(e,t,n,r){var i=t?D(t):window,o=void 0,a=void 0,u=i.nodeName&&i.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===i.type?o=Nt:Le(i)?Pt?o=Lt:(o=zt,a=Rt):(u=i.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(o=Dt),o&&(o=o(e,t)))return Et(o,n,r);a&&a(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ot(i,"number",i.value)}},Ut=ce.extend({view:null,detail:null}),Bt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Bt[e])&&!!t[e]}function Ht(){return Wt}var qt=0,Vt=0,Yt=!1,Gt=!1,$t=Ut.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ht,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=qt;return qt=e.screenX,Yt?"mousemove"===e.type?e.screenX-t:0:(Yt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Vt;return Vt=e.screenY,Gt?"mousemove"===e.type?e.screenY-t:0:(Gt=!0,0)}}),Kt=$t.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Xt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Qt={eventTypes:Xt,extractEvents:function(e,t,n,r){var i="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(i&&(n.relatedTarget||n.fromElement)||!o&&!i)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,o?(o=t,t=(t=n.relatedTarget||n.toElement)?R(t):null):o=null,o===t)return null;var a=void 0,u=void 0,c=void 0,l=void 0;"mouseout"===e||"mouseover"===e?(a=$t,u=Xt.mouseLeave,c=Xt.mouseEnter,l="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Kt,u=Xt.pointerLeave,c=Xt.pointerEnter,l="pointer");var s=null==o?i:D(o);if(i=null==t?i:D(t),(e=a.getPooled(u,o,n,r)).type=l+"leave",e.target=s,e.relatedTarget=i,(n=a.getPooled(c,t,n,r)).type=l+"enter",n.target=i,n.relatedTarget=s,r=t,o&&r)e:{for(i=r,l=0,a=t=o;a;a=F(a))l++;for(a=0,c=i;c;c=F(c))a++;for(;0<l-a;)t=F(t),l--;for(;0<a-l;)i=F(i),a--;for(;l--;){if(t===i||t===i.alternate)break e;t=F(t),i=F(i)}t=null}else t=null;for(i=t,t=[];o&&o!==i&&(null===(l=o.alternate)||l!==i);)t.push(o),o=F(o);for(o=[];r&&r!==i&&(null===(l=r.alternate)||l!==i);)o.push(r),r=F(r);for(r=0;r<t.length;r++)W(t[r],"bubbled",e);for(r=o.length;0<r--;)W(o[r],"captured",n);return[e,n]}};function Zt(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t}var Jt=Object.prototype.hasOwnProperty;function en(e,t){if(Zt(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Jt.call(t,n[r])||!Zt(e[n[r]],t[n[r]]))return!1;return!0}function tn(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!==(2&t.effectTag))return 1;for(;t.return;)if(0!==(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function nn(e){2!==tn(e)&&a("188")}function rn(e){if(!(e=function(e){var t=e.alternate;if(!t)return 3===(t=tn(e))&&a("188"),1===t?null:e;for(var n=e,r=t;;){var i=n.return,o=i?i.alternate:null;if(!i||!o)break;if(i.child===o.child){for(var u=i.child;u;){if(u===n)return nn(i),e;if(u===r)return nn(i),t;u=u.sibling}a("188")}if(n.return!==r.return)n=i,r=o;else{u=!1;for(var c=i.child;c;){if(c===n){u=!0,n=i,r=o;break}if(c===r){u=!0,r=i,n=o;break}c=c.sibling}if(!u){for(c=o.child;c;){if(c===n){u=!0,n=o,r=i;break}if(c===r){u=!0,r=o,n=i;break}c=c.sibling}u||a("189")}}n.alternate!==r&&a("190")}return 3!==n.tag&&a("188"),n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var on=ce.extend({animationName:null,elapsedTime:null,pseudoElement:null}),an=ce.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),un=Ut.extend({relatedTarget:null});function cn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var ln={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sn={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"},fn=Ut.extend({key:function(e){if(e.key){var t=ln[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=cn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?sn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ht,charCode:function(e){return"keypress"===e.type?cn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?cn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),dn=$t.extend({dataTransfer:null}),hn=Ut.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ht}),pn=ce.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vn=$t.extend({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}),mn=[["abort","abort"],[Q,"animationEnd"],[Z,"animationIteration"],[J,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[ee,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],yn={},gn={};function bn(e,t){var n=e[0],r="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},yn[e]=t,gn[n]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){bn(e,!0)}),mn.forEach(function(e){bn(e,!1)});var xn={eventTypes:yn,isInteractiveTopLevelEventType:function(e){return void 0!==(e=gn[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var i=gn[e];if(!i)return null;switch(e){case"keypress":if(0===cn(n))return null;case"keydown":case"keyup":e=fn;break;case"blur":case"focus":e=un;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=$t;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=dn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=hn;break;case Q:case Z:case J:e=on;break;case ee:e=pn;break;case"scroll":e=Ut;break;case"wheel":e=vn;break;case"copy":case"cut":case"paste":e=an;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Kt;break;default:e=ce}return q(t=e.getPooled(i,t,n,r)),t}},_n=xn.isInteractiveTopLevelEventType,wn=[];function kn(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r;for(r=n;r.return;)r=r.return;if(!(r=3!==r.tag?null:r.stateNode.containerInfo))break;e.ancestors.push(n),n=R(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=Fe(e.nativeEvent);r=e.topLevelType;for(var o=e.nativeEvent,a=null,u=0;u<y.length;u++){var c=y[u];c&&(c=c.extractEvents(r,t,o,i))&&(a=T(a,c))}N(a)}}var On=!0;function Tn(e,t){if(!t)return null;var n=(_n(e)?Cn:Sn).bind(null,e);t.addEventListener(e,n,!1)}function En(e,t){if(!t)return null;var n=(_n(e)?Cn:Sn).bind(null,e);t.addEventListener(e,n,!0)}function Cn(e,t){Ae(Sn,e,t)}function Sn(e,t){if(On){var n=Fe(t);if(null===(n=R(n))||"number"!==typeof n.tag||2===tn(n)||(n=null),wn.length){var r=wn.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{ze(kn,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>wn.length&&wn.push(e)}}}var Mn={},jn=0,Nn="_reactListenersID"+(""+Math.random()).slice(2);function Pn(e){return Object.prototype.hasOwnProperty.call(e,Nn)||(e[Nn]=jn++,Mn[e[Nn]]={}),Mn[e[Nn]]}function An(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function In(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rn(e,t){var n,r=In(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=In(r)}}function zn(){for(var e=window,t=An();t instanceof e.HTMLIFrameElement;){try{e=t.contentDocument.defaultView}catch(n){break}t=An(e.document)}return t}function Dn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Ln=V&&"documentMode"in document&&11>=document.documentMode,Fn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Un=null,Bn=null,Wn=null,Hn=!1;function qn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Hn||null==Un||Un!==An(n)?null:("selectionStart"in(n=Un)&&Dn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Wn&&en(Wn,n)?null:(Wn=n,(e=ce.getPooled(Fn.select,Bn,e,t)).type="select",e.target=Un,q(e),e))}var Vn={eventTypes:Fn,extractEvents:function(e,t,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){e:{o=Pn(o),i=x.onSelect;for(var a=0;a<i.length;a++){var u=i[a];if(!o.hasOwnProperty(u)||!o[u]){o=!1;break e}}o=!0}i=!o}if(i)return null;switch(o=t?D(t):window,e){case"focus":(Le(o)||"true"===o.contentEditable)&&(Un=o,Bn=t,Wn=null);break;case"blur":Wn=Bn=Un=null;break;case"mousedown":Hn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Hn=!1,qn(n,r);case"selectionchange":if(Ln)break;case"keydown":case"keyup":return qn(n,r)}return null}};function Yn(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function Gn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+gt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function $n(e,t){return null!=t.dangerouslySetInnerHTML&&a("91"),i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Kn(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&a("92"),Array.isArray(t)&&(1>=t.length||a("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:gt(n)}}function Xn(e,t){var n=gt(t.value),r=gt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Qn(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}M.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),_=L,w=z,k=D,M.injectEventPluginsByName({SimpleEventPlugin:xn,EnterLeaveEventPlugin:Qt,ChangeEventPlugin:Ft,SelectEventPlugin:Vn,BeforeInputEventPlugin:Te});var Zn={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Jn(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function er(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Jn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var tr,nr=void 0,rr=(tr=function(e,t){if(e.namespaceURI!==Zn.svg||"innerHTML"in e)e.innerHTML=t;else{for((nr=nr||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=nr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return tr(e,t)})}:tr);function ir(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var or={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!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},ar=["Webkit","ms","Moz","O"];function ur(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||or.hasOwnProperty(e)&&or[e]?(""+t).trim():t+"px"}function cr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ur(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(or).forEach(function(e){ar.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),or[t]=or[e]})});var lr=i({menuitem:!0},{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});function sr(e,t){t&&(lr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&a("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&a("60"),"object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||a("61")),null!=t.style&&"object"!==typeof t.style&&a("62",""))}function fr(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function dr(e,t){var n=Pn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=x[t];for(var r=0;r<t.length;r++){var i=t[r];if(!n.hasOwnProperty(i)||!n[i]){switch(i){case"scroll":En("scroll",e);break;case"focus":case"blur":En("focus",e),En("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":Ue(i)&&En(i,e);break;case"invalid":case"submit":case"reset":break;default:-1===te.indexOf(i)&&Tn(i,e)}n[i]=!0}}}function hr(){}var pr=null,vr=null;function mr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function yr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var gr="function"===typeof setTimeout?setTimeout:void 0,br="function"===typeof clearTimeout?clearTimeout:void 0,xr=o.unstable_scheduleCallback,_r=o.unstable_cancelCallback;function wr(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function kr(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var Or=[],Tr=-1;function Er(e){0>Tr||(e.current=Or[Tr],Or[Tr]=null,Tr--)}function Cr(e,t){Or[++Tr]=e.current,e.current=t}var Sr={},Mr={current:Sr},jr={current:!1},Nr=Sr;function Pr(e,t){var n=e.type.contextTypes;if(!n)return Sr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ar(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ir(e){Er(jr),Er(Mr)}function Rr(e){Er(jr),Er(Mr)}function zr(e,t,n){Mr.current!==Sr&&a("168"),Cr(Mr,t),Cr(jr,n)}function Dr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())o in e||a("108",ut(t)||"Unknown",o);return i({},n,r)}function Lr(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Sr,Nr=Mr.current,Cr(Mr,t),Cr(jr,jr.current),!0}function Fr(e,t,n){var r=e.stateNode;r||a("169"),n?(t=Dr(e,t,Nr),r.__reactInternalMemoizedMergedChildContext=t,Er(jr),Er(Mr),Cr(Mr,t)):Er(jr),Cr(jr,n)}var Ur=null,Br=null;function Wr(e){return function(t){try{return e(t)}catch(n){}}}function Hr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function qr(e,t,n,r){return new Hr(e,t,n,r)}function Vr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Yr(e,t){var n=e.alternate;return null===n?((n=qr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Gr(e,t,n,r,i,o){var u=2;if(r=e,"function"===typeof e)Vr(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case Ke:return $r(n.children,i,o,t);case et:return Kr(n,3|i,o,t);case Xe:return Kr(n,2|i,o,t);case Qe:return(e=qr(12,n,t,4|i)).elementType=Qe,e.type=Qe,e.expirationTime=o,e;case nt:return(e=qr(13,n,t,i)).elementType=nt,e.type=nt,e.expirationTime=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case Ze:u=10;break e;case Je:u=9;break e;case tt:u=11;break e;case rt:u=14;break e;case it:u=16,r=null;break e}a("130",null==e?e:typeof e,"")}return(t=qr(u,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function $r(e,t,n,r){return(e=qr(7,e,r,t)).expirationTime=n,e}function Kr(e,t,n,r){return e=qr(8,e,r,t),t=0===(1&t)?Xe:et,e.elementType=t,e.type=t,e.expirationTime=n,e}function Xr(e,t,n){return(e=qr(6,e,null,t)).expirationTime=n,e}function Qr(e,t,n){return(t=qr(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zr(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:n<t?e.earliestPendingTime=t:e.latestPendingTime>t&&(e.latestPendingTime=t),ti(t,e)}function Jr(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:n<t?e.earliestSuspendedTime=t:r>t&&(e.latestSuspendedTime=t),ti(t,e)}function ei(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function ti(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,i=t.earliestPendingTime,o=t.latestPingedTime;0===(i=0!==i?i:o)&&(0===e||r<e)&&(i=r),0!==(e=i)&&n>e&&(e=n),t.nextExpirationTimeToWorkOn=i,t.expirationTime=e}function ni(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var ri=(new r.Component).refs;function ii(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:i({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var oi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===tn(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=bu(),i=Ko(r=Va(r,e));i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Ua(),Qo(e,i),$a(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=bu(),i=Ko(r=Va(r,e));i.tag=Ho,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Ua(),Qo(e,i),$a(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=bu(),r=Ko(n=Va(n,e));r.tag=qo,void 0!==t&&null!==t&&(r.callback=t),Ua(),Qo(e,r),$a(e,n)}};function ai(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!en(n,r)||!en(i,o))}function ui(e,t,n){var r=!1,i=Sr,o=t.contextType;return"object"===typeof o&&null!==o?o=Bo(o):(i=Ar(t)?Nr:Mr.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Pr(e,i):Sr),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=oi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ci(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&oi.enqueueReplaceState(t,t.state,null)}function li(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=ri;var o=t.contextType;"object"===typeof o&&null!==o?i.context=Bo(o):(o=Ar(t)?Nr:Mr.current,i.context=Pr(e,o)),null!==(o=e.updateQueue)&&(ta(e,o,n,i,r),i.state=e.memoizedState),"function"===typeof(o=t.getDerivedStateFromProps)&&(ii(e,t,o,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&oi.enqueueReplaceState(i,i.state,null),null!==(o=e.updateQueue)&&(ta(e,o,n,i,r),i.state=e.memoizedState)),"function"===typeof i.componentDidMount&&(e.effectTag|=4)}var si=Array.isArray;function fi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&a("309"),r=n.stateNode),r||a("147",e);var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===ri&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}"string"!==typeof e&&a("284"),n._owner||a("290",e)}return e}function di(e,t){"textarea"!==e.type&&a("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function hi(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return(e=Yr(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function c(e,t,n,r){return null===t||6!==t.tag?((t=Xr(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=fi(e,t,n),r.return=e,r):((r=Gr(n.type,n.key,n.props,null,e.mode,r)).ref=fi(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Qr(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=$r(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Xr(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case Ge:return(n=Gr(t.type,t.key,t.props,null,e.mode,n)).ref=fi(e,null,t),n.return=e,n;case $e:return(t=Qr(t,e.mode,n)).return=e,t}if(si(t)||at(t))return(t=$r(t,e.mode,n,null)).return=e,t;di(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:c(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case Ge:return n.key===i?n.type===Ke?f(e,t,n.props.children,r,i):l(e,t,n,r):null;case $e:return n.key===i?s(e,t,n,r):null}if(si(n)||at(n))return null!==i?null:f(e,t,n,r,null);di(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return c(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case Ge:return e=e.get(null===r.key?n:r.key)||null,r.type===Ke?f(t,e,r.props.children,i,r.key):l(t,e,r,i);case $e:return s(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(si(r)||at(r))return f(t,e=e.get(n)||null,r,i,null);di(t,r)}return null}function v(i,a,u,c){for(var l=null,s=null,f=a,v=a=0,m=null;null!==f&&v<u.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var y=h(i,f,u[v],c);if(null===y){null===f&&(f=m);break}e&&f&&null===y.alternate&&t(i,f),a=o(y,a,v),null===s?l=y:s.sibling=y,s=y,f=m}if(v===u.length)return n(i,f),l;if(null===f){for(;v<u.length;v++)(f=d(i,u[v],c))&&(a=o(f,a,v),null===s?l=f:s.sibling=f,s=f);return l}for(f=r(i,f);v<u.length;v++)(m=p(f,i,v,u[v],c))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),a=o(m,a,v),null===s?l=m:s.sibling=m,s=m);return e&&f.forEach(function(e){return t(i,e)}),l}function m(i,u,c,l){var s=at(c);"function"!==typeof s&&a("150"),null==(c=s.call(c))&&a("151");for(var f=s=null,v=u,m=u=0,y=null,g=c.next();null!==v&&!g.done;m++,g=c.next()){v.index>m?(y=v,v=null):y=v.sibling;var b=h(i,v,g.value,l);if(null===b){v||(v=y);break}e&&v&&null===b.alternate&&t(i,v),u=o(b,u,m),null===f?s=b:f.sibling=b,f=b,v=y}if(g.done)return n(i,v),s;if(null===v){for(;!g.done;m++,g=c.next())null!==(g=d(i,g.value,l))&&(u=o(g,u,m),null===f?s=g:f.sibling=g,f=g);return s}for(v=r(i,v);!g.done;m++,g=c.next())null!==(g=p(v,i,m,g.value,l))&&(e&&null!==g.alternate&&v.delete(null===g.key?m:g.key),u=o(g,u,m),null===f?s=g:f.sibling=g,f=g);return e&&v.forEach(function(e){return t(i,e)}),s}return function(e,r,o,c){var l="object"===typeof o&&null!==o&&o.type===Ke&&null===o.key;l&&(o=o.props.children);var s="object"===typeof o&&null!==o;if(s)switch(o.$$typeof){case Ge:e:{for(s=o.key,l=r;null!==l;){if(l.key===s){if(7===l.tag?o.type===Ke:l.elementType===o.type){n(e,l.sibling),(r=i(l,o.type===Ke?o.props.children:o.props)).ref=fi(e,l,o),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}o.type===Ke?((r=$r(o.props.children,e.mode,c,o.key)).return=e,e=r):((c=Gr(o.type,o.key,o.props,null,e.mode,c)).ref=fi(e,r,o),c.return=e,e=c)}return u(e);case $e:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Qr(o,e.mode,c)).return=e,e=r}return u(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Xr(o,e.mode,c)).return=e,e=r),u(e);if(si(o))return v(e,r,o,c);if(at(o))return m(e,r,o,c);if(s&&di(e,o),"undefined"===typeof o&&!l)switch(e.tag){case 1:case 0:a("152",(c=e.type).displayName||c.name||"Component")}return n(e,r)}}var pi=hi(!0),vi=hi(!1),mi={},yi={current:mi},gi={current:mi},bi={current:mi};function xi(e){return e===mi&&a("174"),e}function _i(e,t){Cr(bi,t),Cr(gi,e),Cr(yi,mi);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:er(null,"");break;default:t=er(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}Er(yi),Cr(yi,t)}function wi(e){Er(yi),Er(gi),Er(bi)}function ki(e){xi(bi.current);var t=xi(yi.current),n=er(t,e.type);t!==n&&(Cr(gi,e),Cr(yi,n))}function Oi(e){gi.current===e&&(Er(yi),Er(gi))}var Ti=0,Ei=2,Ci=4,Si=8,Mi=16,ji=32,Ni=64,Pi=128,Ai=qe.ReactCurrentDispatcher,Ii=0,Ri=null,zi=null,Di=null,Li=null,Fi=null,Ui=null,Bi=0,Wi=null,Hi=0,qi=!1,Vi=null,Yi=0;function Gi(){a("307")}function $i(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Zt(e[n],t[n]))return!1;return!0}function Ki(e,t,n,r,i,o){if(Ii=o,Ri=t,Di=null!==e?e.memoizedState:null,Ai.current=null===Di?co:lo,t=n(r,i),qi){do{qi=!1,Yi+=1,Di=null!==e?e.memoizedState:null,Ui=Li,Wi=Fi=zi=null,Ai.current=lo,t=n(r,i)}while(qi);Vi=null,Yi=0}return Ai.current=uo,(e=Ri).memoizedState=Li,e.expirationTime=Bi,e.updateQueue=Wi,e.effectTag|=Hi,e=null!==zi&&null!==zi.next,Ii=0,Ui=Fi=Li=Di=zi=Ri=null,Bi=0,Wi=null,Hi=0,e&&a("300"),t}function Xi(){Ai.current=uo,Ii=0,Ui=Fi=Li=Di=zi=Ri=null,Bi=0,Wi=null,Hi=0,qi=!1,Vi=null,Yi=0}function Qi(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Fi?Li=Fi=e:Fi=Fi.next=e,Fi}function Zi(){if(null!==Ui)Ui=(Fi=Ui).next,Di=null!==(zi=Di)?zi.next:null;else{null===Di&&a("310");var e={memoizedState:(zi=Di).memoizedState,baseState:zi.baseState,queue:zi.queue,baseUpdate:zi.baseUpdate,next:null};Fi=null===Fi?Li=e:Fi.next=e,Di=zi.next}return Fi}function Ji(e,t){return"function"===typeof t?t(e):t}function eo(e){var t=Zi(),n=t.queue;if(null===n&&a("311"),0<Yi){var r=n.dispatch;if(null!==Vi){var i=Vi.get(n);if(void 0!==i){Vi.delete(n);var o=t.memoizedState;do{o=e(o,i.action),i=i.next}while(null!==i);return Zt(o,t.memoizedState)||(_o=!0),t.memoizedState=o,t.baseUpdate===n.last&&(t.baseState=o),[o,r]}}return[t.memoizedState,r]}r=n.last;var u=t.baseUpdate;if(o=t.baseState,null!==u?(null!==r&&(r.next=null),r=u.next):r=null!==r?r.next:null,null!==r){var c=i=null,l=r,s=!1;do{var f=l.expirationTime;f<Ii?(s||(s=!0,c=u,i=o),f>Bi&&(Bi=f)):o=l.eagerReducer===e?l.eagerState:e(o,l.action),u=l,l=l.next}while(null!==l&&l!==r);s||(c=u,i=o),Zt(o,t.memoizedState)||(_o=!0),t.memoizedState=o,t.baseUpdate=c,t.baseState=i,n.eagerReducer=e,n.eagerState=o}return[t.memoizedState,n.dispatch]}function to(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Wi?(Wi={lastEffect:null}).lastEffect=e.next=e:null===(t=Wi.lastEffect)?Wi.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Wi.lastEffect=e),e}function no(e,t,n,r){var i=Qi();Hi|=e,i.memoizedState=to(t,n,void 0,void 0===r?null:r)}function ro(e,t,n,r){var i=Zi();r=void 0===r?null:r;var o=void 0;if(null!==zi){var a=zi.memoizedState;if(o=a.destroy,null!==r&&$i(r,a.deps))return void to(Ti,n,o,r)}Hi|=e,i.memoizedState=to(t,n,o,r)}function io(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function oo(){}function ao(e,t,n){25>Yi||a("301");var r=e.alternate;if(e===Ri||null!==r&&r===Ri)if(qi=!0,e={expirationTime:Ii,action:n,eagerReducer:null,eagerState:null,next:null},null===Vi&&(Vi=new Map),void 0===(n=Vi.get(t)))Vi.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{Ua();var i=bu(),o={expirationTime:i=Va(i,e),action:n,eagerReducer:null,eagerState:null,next:null},u=t.last;if(null===u)o.next=o;else{var c=u.next;null!==c&&(o.next=c),u.next=o}if(t.last=o,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.eagerReducer))try{var l=t.eagerState,s=r(l,n);if(o.eagerReducer=r,o.eagerState=s,Zt(s,l))return}catch(f){}$a(e,i)}}var uo={readContext:Bo,useCallback:Gi,useContext:Gi,useEffect:Gi,useImperativeHandle:Gi,useLayoutEffect:Gi,useMemo:Gi,useReducer:Gi,useRef:Gi,useState:Gi,useDebugValue:Gi},co={readContext:Bo,useCallback:function(e,t){return Qi().memoizedState=[e,void 0===t?null:t],e},useContext:Bo,useEffect:function(e,t){return no(516,Pi|Ni,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):[e],no(4,Ci|ji,io.bind(null,t,e),n)},useLayoutEffect:function(e,t){return no(4,Ci|ji,e,t)},useMemo:function(e,t){var n=Qi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,eagerReducer:e,eagerState:t}).dispatch=ao.bind(null,Ri,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Qi().memoizedState=e},useState:function(e){var t=Qi();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,eagerReducer:Ji,eagerState:e}).dispatch=ao.bind(null,Ri,e),[t.memoizedState,e]},useDebugValue:oo},lo={readContext:Bo,useCallback:function(e,t){var n=Zi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$i(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Bo,useEffect:function(e,t){return ro(516,Pi|Ni,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):[e],ro(4,Ci|ji,io.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ro(4,Ci|ji,e,t)},useMemo:function(e,t){var n=Zi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$i(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:eo,useRef:function(){return Zi().memoizedState},useState:function(e){return eo(Ji)},useDebugValue:oo},so=null,fo=null,ho=!1;function po(e,t){var n=qr(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function vo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function mo(e){if(ho){var t=fo;if(t){var n=t;if(!vo(e,t)){if(!(t=wr(n))||!vo(e,t))return e.effectTag|=2,ho=!1,void(so=e);po(so,n)}so=e,fo=kr(t)}else e.effectTag|=2,ho=!1,so=e}}function yo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;so=e}function go(e){if(e!==so)return!1;if(!ho)return yo(e),ho=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!yr(t,e.memoizedProps))for(t=fo;t;)po(e,t),t=wr(t);return yo(e),fo=so?wr(e.stateNode):null,!0}function bo(){fo=so=null,ho=!1}var xo=qe.ReactCurrentOwner,_o=!1;function wo(e,t,n,r){t.child=null===e?vi(t,null,n,r):pi(t,e.child,n,r)}function ko(e,t,n,r,i){n=n.render;var o=t.ref;return Uo(t,i),r=Ki(e,t,n,r,o,i),null===e||_o?(t.effectTag|=1,wo(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Po(e,t,i))}function Oo(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!==typeof a||Vr(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Gr(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,To(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:en)(i,r)&&e.ref===t.ref)?Po(e,t,o):(t.effectTag|=1,(e=Yr(a,r)).ref=t.ref,e.return=t,t.child=e)}function To(e,t,n,r,i,o){return null!==e&&en(e.memoizedProps,r)&&e.ref===t.ref&&(_o=!1,i<o)?Po(e,t,o):Co(e,t,n,r,o)}function Eo(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Co(e,t,n,r,i){var o=Ar(n)?Nr:Mr.current;return o=Pr(t,o),Uo(t,i),n=Ki(e,t,n,r,o,i),null===e||_o?(t.effectTag|=1,wo(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Po(e,t,i))}function So(e,t,n,r,i){if(Ar(n)){var o=!0;Lr(t)}else o=!1;if(Uo(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ui(t,n,r),li(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var c=a.context,l=n.contextType;"object"===typeof l&&null!==l?l=Bo(l):l=Pr(t,l=Ar(n)?Nr:Mr.current);var s=n.getDerivedStateFromProps,f="function"===typeof s||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||c!==l)&&ci(t,a,r,l),Yo=!1;var d=t.memoizedState;c=a.state=d;var h=t.updateQueue;null!==h&&(ta(t,h,r,a,i),c=t.memoizedState),u!==r||d!==c||jr.current||Yo?("function"===typeof s&&(ii(t,n,s,r),c=t.memoizedState),(u=Yo||ai(t,n,u,r,d,c,l))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.effectTag|=4)):("function"===typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=l,r=u):("function"===typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,u=t.memoizedProps,a.props=t.type===t.elementType?u:ni(t.type,u),c=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=Bo(l):l=Pr(t,l=Ar(n)?Nr:Mr.current),(f="function"===typeof(s=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||c!==l)&&ci(t,a,r,l),Yo=!1,c=t.memoizedState,d=a.state=c,null!==(h=t.updateQueue)&&(ta(t,h,r,a,i),d=t.memoizedState),u!==r||c!==d||jr.current||Yo?("function"===typeof s&&(ii(t,n,s,r),d=t.memoizedState),(s=Yo||ai(t,n,u,r,c,d,l))?(f||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,l)),"function"===typeof a.componentDidUpdate&&(t.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=l,r=s):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Mo(e,t,n,r,o,i)}function Mo(e,t,n,r,i,o){Eo(e,t);var a=0!==(64&t.effectTag);if(!r&&!a)return i&&Fr(t,n,!1),Po(e,t,o);r=t.stateNode,xo.current=t;var u=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=pi(t,e.child,null,o),t.child=pi(t,null,u,o)):wo(e,t,u,o),t.memoizedState=r.state,i&&Fr(t,n,!0),t.child}function jo(e){var t=e.stateNode;t.pendingContext?zr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&zr(0,t.context,!1),_i(e,t.containerInfo)}function No(e,t,n){var r=t.mode,i=t.pendingProps,o=t.memoizedState;if(0===(64&t.effectTag)){o=null;var a=!1}else o={timedOutAt:null!==o?o.timedOutAt:0},a=!0,t.effectTag&=-65;if(null===e)if(a){var u=i.fallback;e=$r(null,r,0,null),0===(1&t.mode)&&(e.child=null!==t.memoizedState?t.child.child:t.child),r=$r(u,r,n,null),e.sibling=r,(n=e).return=r.return=t}else n=r=vi(t,null,i.children,n);else null!==e.memoizedState?(u=(r=e.child).sibling,a?(n=i.fallback,i=Yr(r,r.pendingProps),0===(1&t.mode)&&((a=null!==t.memoizedState?t.child.child:t.child)!==r.child&&(i.child=a)),r=i.sibling=Yr(u,n,u.expirationTime),n=i,i.childExpirationTime=0,n.return=r.return=t):n=r=pi(t,r.child,i.children,n)):(u=e.child,a?(a=i.fallback,(i=$r(null,r,0,null)).child=u,0===(1&t.mode)&&(i.child=null!==t.memoizedState?t.child.child:t.child),(r=i.sibling=$r(a,r,n,null)).effectTag|=2,n=i,i.childExpirationTime=0,n.return=r.return=t):r=n=pi(t,u,i.children,n)),t.stateNode=e.stateNode;return t.memoizedState=o,t.child=n,r}function Po(e,t,n){if(null!==e&&(t.contextDependencies=e.contextDependencies),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child&&a("153"),null!==t.child){for(n=Yr(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Yr(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function Ao(e,t,n){var r=t.expirationTime;if(null!==e){if(e.memoizedProps!==t.pendingProps||jr.current)_o=!0;else if(r<n){switch(_o=!1,t.tag){case 3:jo(t),bo();break;case 5:ki(t);break;case 1:Ar(t.type)&&Lr(t);break;case 4:_i(t,t.stateNode.containerInfo);break;case 10:Lo(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?No(e,t,n):null!==(t=Po(e,t,n))?t.sibling:null}return Po(e,t,n)}}else _o=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var i=Pr(t,Mr.current);if(Uo(t,n),i=Ki(null,t,r,e,i,n),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,Xi(),Ar(r)){var o=!0;Lr(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var u=r.getDerivedStateFromProps;"function"===typeof u&&ii(t,r,u,e),i.updater=oi,t.stateNode=i,i._reactInternalFiber=t,li(t,r,e,n),t=Mo(null,t,r,!0,o,n)}else t.tag=0,wo(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),o=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(i),t.type=e,i=t.tag=function(e){if("function"===typeof e)return Vr(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===tt)return 11;if(e===rt)return 14}return 2}(e),o=ni(e,o),u=void 0,i){case 0:u=Co(null,t,e,o,n);break;case 1:u=So(null,t,e,o,n);break;case 11:u=ko(null,t,e,o,n);break;case 14:u=Oo(null,t,e,ni(e.type,o),r,n);break;default:a("306",e,"")}return u;case 0:return r=t.type,i=t.pendingProps,Co(e,t,r,i=t.elementType===r?i:ni(r,i),n);case 1:return r=t.type,i=t.pendingProps,So(e,t,r,i=t.elementType===r?i:ni(r,i),n);case 3:return jo(t),null===(r=t.updateQueue)&&a("282"),i=null!==(i=t.memoizedState)?i.element:null,ta(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===i?(bo(),t=Po(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(fo=kr(t.stateNode.containerInfo),so=t,i=ho=!0),i?(t.effectTag|=2,t.child=vi(t,null,r,n)):(wo(e,t,r,n),bo()),t=t.child),t;case 5:return ki(t),null===e&&mo(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,u=i.children,yr(r,i)?u=null:null!==o&&yr(r,o)&&(t.effectTag|=16),Eo(e,t),1!==n&&1&t.mode&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(wo(e,t,u,n),t=t.child),t;case 6:return null===e&&mo(t),null;case 13:return No(e,t,n);case 4:return _i(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=pi(t,null,r,n):wo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,ko(e,t,r,i=t.elementType===r?i:ni(r,i),n);case 7:return wo(e,t,t.pendingProps,n),t.child;case 8:case 12:return wo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,u=t.memoizedProps,Lo(t,o=i.value),null!==u){var c=u.value;if(0===(o=Zt(c,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(c,o):1073741823))){if(u.children===i.children&&!jr.current){t=Po(e,t,n);break e}}else for(null!==(c=t.child)&&(c.return=t);null!==c;){var l=c.contextDependencies;if(null!==l){u=c.child;for(var s=l.first;null!==s;){if(s.context===r&&0!==(s.observedBits&o)){1===c.tag&&((s=Ko(n)).tag=qo,Qo(c,s)),c.expirationTime<n&&(c.expirationTime=n),null!==(s=c.alternate)&&s.expirationTime<n&&(s.expirationTime=n);for(var f=c.return;null!==f;){if(s=f.alternate,f.childExpirationTime<n)f.childExpirationTime=n,null!==s&&s.childExpirationTime<n&&(s.childExpirationTime=n);else{if(!(null!==s&&s.childExpirationTime<n))break;s.childExpirationTime=n}f=f.return}l.expirationTime<n&&(l.expirationTime=n);break}s=s.next}}else u=10===c.tag&&c.type===t.type?null:c.child;if(null!==u)u.return=c;else for(u=c;null!==u;){if(u===t){u=null;break}if(null!==(c=u.sibling)){c.return=u.return,u=c;break}u=u.return}c=u}}wo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,Uo(t,n),r=r(i=Bo(i,o.unstable_observedBits)),t.effectTag|=1,wo(e,t,r,n),t.child;case 14:return o=ni(i=t.type,t.pendingProps),Oo(e,t,i,o=ni(i.type,o),r,n);case 15:return To(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ni(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Ar(r)?(e=!0,Lr(t)):e=!1,Uo(t,n),ui(t,r,i),li(t,r,i,n),Mo(null,t,r,!0,e,n);default:a("156")}}var Io={current:null},Ro=null,zo=null,Do=null;function Lo(e,t){var n=e.type._context;Cr(Io,n._currentValue),n._currentValue=t}function Fo(e){var t=Io.current;Er(Io),e.type._context._currentValue=t}function Uo(e,t){Ro=e,Do=zo=null;var n=e.contextDependencies;null!==n&&n.expirationTime>=t&&(_o=!0),e.contextDependencies=null}function Bo(e,t){return Do!==e&&!1!==t&&0!==t&&("number"===typeof t&&1073741823!==t||(Do=e,t=1073741823),t={context:e,observedBits:t,next:null},null===zo?(null===Ro&&a("308"),zo=t,Ro.contextDependencies={first:t,expirationTime:0}):zo=zo.next=t),e._currentValue}var Wo=0,Ho=1,qo=2,Vo=3,Yo=!1;function Go(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function $o(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ko(e){return{expirationTime:e,tag:Wo,payload:null,callback:null,next:null,nextEffect:null}}function Xo(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Qo(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=Go(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=Go(e.memoizedState),i=n.updateQueue=Go(n.memoizedState)):r=e.updateQueue=$o(i):null===i&&(i=n.updateQueue=$o(r));null===i||r===i?Xo(r,t):null===r.lastUpdate||null===i.lastUpdate?(Xo(r,t),Xo(i,t)):(Xo(r,t),i.lastUpdate=t)}function Zo(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=Go(e.memoizedState):Jo(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Jo(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=$o(t)),t}function ea(e,t,n,r,o,a){switch(n.tag){case Ho:return"function"===typeof(e=n.payload)?e.call(a,r,o):e;case Vo:e.effectTag=-2049&e.effectTag|64;case Wo:if(null===(o="function"===typeof(e=n.payload)?e.call(a,r,o):e)||void 0===o)break;return i({},r,o);case qo:Yo=!0}return r}function ta(e,t,n,r,i){Yo=!1;for(var o=(t=Jo(e,t)).baseState,a=null,u=0,c=t.firstUpdate,l=o;null!==c;){var s=c.expirationTime;s<i?(null===a&&(a=c,o=l),u<s&&(u=s)):(l=ea(e,0,c,l,n,r),null!==c.callback&&(e.effectTag|=32,c.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=c:(t.lastEffect.nextEffect=c,t.lastEffect=c))),c=c.next}for(s=null,c=t.firstCapturedUpdate;null!==c;){var f=c.expirationTime;f<i?(null===s&&(s=c,null===a&&(o=l)),u<f&&(u=f)):(l=ea(e,0,c,l,n,r),null!==c.callback&&(e.effectTag|=32,c.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=c:(t.lastCapturedEffect.nextEffect=c,t.lastCapturedEffect=c))),c=c.next}null===a&&(t.lastUpdate=null),null===s?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===s&&(o=l),t.baseState=o,t.firstUpdate=a,t.firstCapturedUpdate=s,e.expirationTime=u,e.memoizedState=l}function na(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),ra(t.firstEffect,n),t.firstEffect=t.lastEffect=null,ra(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function ra(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;"function"!==typeof n&&a("191",n),n.call(r)}e=e.nextEffect}}function ia(e,t){return{value:e,source:t,stack:ct(t)}}function oa(e){e.effectTag|=4}var aa=void 0,ua=void 0,ca=void 0,la=void 0;aa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ua=function(){},ca=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var u=t.stateNode;switch(xi(yi.current),e=null,n){case"input":a=bt(u,a),r=bt(u,r),e=[];break;case"option":a=Yn(u,a),r=Yn(u,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=$n(u,a),r=$n(u,r),e=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(u.onclick=hr)}sr(n,r),u=n=void 0;var c=null;for(n in a)if(!r.hasOwnProperty(n)&&a.hasOwnProperty(n)&&null!=a[n])if("style"===n){var l=a[n];for(u in l)l.hasOwnProperty(u)&&(c||(c={}),c[u]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(b.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var s=r[n];if(l=null!=a?a[n]:void 0,r.hasOwnProperty(n)&&s!==l&&(null!=s||null!=l))if("style"===n)if(l){for(u in l)!l.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(c||(c={}),c[u]="");for(u in s)s.hasOwnProperty(u)&&l[u]!==s[u]&&(c||(c={}),c[u]=s[u])}else c||(e||(e=[]),e.push(n,c)),c=s;else"dangerouslySetInnerHTML"===n?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(e=e||[]).push(n,""+s)):"children"===n?l===s||"string"!==typeof s&&"number"!==typeof s||(e=e||[]).push(n,""+s):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(b.hasOwnProperty(n)?(null!=s&&dr(o,n),e||l===s||(e=[])):(e=e||[]).push(n,s))}c&&(e=e||[]).push("style",c),o=e,(t.updateQueue=o)&&oa(t)}},la=function(e,t,n,r){n!==r&&oa(t)};var sa="function"===typeof WeakSet?WeakSet:Set;function fa(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ct(n)),null!==n&&ut(n.type),t=t.value,null!==e&&1===e.tag&&ut(e.type);try{console.error(t)}catch(i){setTimeout(function(){throw i})}}function da(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){qa(e,n)}else t.current=null}function ha(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if((r.tag&e)!==Ti){var i=r.destroy;r.destroy=void 0,void 0!==i&&i()}(r.tag&t)!==Ti&&(i=r.create,r.destroy=i()),r=r.next}while(r!==n)}}function pa(e){switch("function"===typeof Br&&Br(e),e.tag){case 0:case 11:case 14:case 15:var t=e.updateQueue;if(null!==t&&null!==(t=t.lastEffect)){var n=t=t.next;do{var r=n.destroy;if(void 0!==r){var i=e;try{r()}catch(o){qa(i,o)}}n=n.next}while(n!==t)}break;case 1:if(da(e),"function"===typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(o){qa(e,o)}break;case 5:da(e);break;case 4:ya(e)}}function va(e){return 5===e.tag||3===e.tag||4===e.tag}function ma(e){e:{for(var t=e.return;null!==t;){if(va(t)){var n=t;break e}t=t.return}a("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:a("161")}16&n.effectTag&&(ir(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||va(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var i=e;;){if(5===i.tag||6===i.tag)if(n)if(r){var o=t,u=i.stateNode,c=n;8===o.nodeType?o.parentNode.insertBefore(u,c):o.insertBefore(u,c)}else t.insertBefore(i.stateNode,n);else r?(u=t,c=i.stateNode,8===u.nodeType?(o=u.parentNode).insertBefore(c,u):(o=u).appendChild(c),null!==(u=u._reactRootContainer)&&void 0!==u||null!==o.onclick||(o.onclick=hr)):t.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function ya(e){for(var t=e,n=!1,r=void 0,i=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&a("160"),n.tag){case 5:r=n.stateNode,i=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,i=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var o=t,u=o;;)if(pa(u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===o)break;for(;null===u.sibling;){if(null===u.return||u.return===o)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}i?(o=r,u=t.stateNode,8===o.nodeType?o.parentNode.removeChild(u):o.removeChild(u)):r.removeChild(t.stateNode)}else if(4===t.tag?(r=t.stateNode.containerInfo,i=!0):pa(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function ga(e,t){switch(t.tag){case 0:case 11:case 14:case 15:ha(Ci,Si,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var i=t.type,o=t.updateQueue;t.updateQueue=null,null!==o&&function(e,t,n,r,i){e[I]=i,"input"===n&&"radio"===i.type&&null!=i.name&&_t(e,i),fr(n,r),r=fr(n,i);for(var o=0;o<t.length;o+=2){var a=t[o],u=t[o+1];"style"===a?cr(e,u):"dangerouslySetInnerHTML"===a?rr(e,u):"children"===a?ir(e,u):yt(e,a,u,r)}switch(n){case"input":wt(e,i);break;case"textarea":Xn(e,i);break;case"select":t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!i.multiple,null!=(n=i.value)?Gn(e,!!i.multiple,n,!1):t!==!!i.multiple&&(null!=i.defaultValue?Gn(e,!!i.multiple,i.defaultValue,!0):Gn(e,!!i.multiple,i.multiple?[]:"",!1))}}(n,o,i,e,r)}break;case 6:null===t.stateNode&&a("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(n=t.memoizedState,r=void 0,e=t,null===n?r=!1:(r=!0,e=t.child,0===n.timedOutAt&&(n.timedOutAt=bu())),null!==e&&function(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)r.style.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,r.style.display=ur("display",i)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else{if(13===n.tag&&null!==n.memoizedState){(r=n.child.sibling).return=n,n=r;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(e,r),null!==(n=t.updateQueue)){t.updateQueue=null;var u=t.stateNode;null===u&&(u=t.stateNode=new sa),n.forEach(function(e){var n=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=Va(t=bu(),e),null!==(e=Ga(e,t))&&(Zr(e,t),0!==(t=e.expirationTime)&&xu(e,t))}.bind(null,t,e);u.has(e)||(u.add(e),e.then(n,n))})}break;case 17:break;default:a("163")}}var ba="function"===typeof WeakMap?WeakMap:Map;function xa(e,t,n){(n=Ko(n)).tag=Vo,n.payload={element:null};var r=t.value;return n.callback=function(){Mu(r),fa(e,t)},n}function _a(e,t,n){(n=Ko(n)).tag=Vo;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===La?La=new Set([this]):La.add(this));var n=t.value,i=t.stack;fa(e,t),this.componentDidCatch(n,{componentStack:null!==i?i:""})}),n}function wa(e){switch(e.tag){case 1:Ar(e.type)&&Ir();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:return wi(),Rr(),0!==(64&(t=e.effectTag))&&a("285"),e.effectTag=-2049&t|64,e;case 5:return Oi(e),null;case 13:return 2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 4:return wi(),null;case 10:return Fo(e),null;default:return null}}var ka=qe.ReactCurrentDispatcher,Oa=qe.ReactCurrentOwner,Ta=1073741822,Ea=0,Ca=!1,Sa=null,Ma=null,ja=0,Na=-1,Pa=!1,Aa=null,Ia=!1,Ra=null,za=null,Da=null,La=null;function Fa(){if(null!==Sa)for(var e=Sa.return;null!==e;){var t=e;switch(t.tag){case 1:var n=t.type.childContextTypes;null!==n&&void 0!==n&&Ir();break;case 3:wi(),Rr();break;case 5:Oi(t);break;case 4:wi();break;case 10:Fo(t)}e=e.return}Ma=null,ja=0,Na=-1,Pa=!1,Sa=null}function Ua(){null!==za&&_r(za),null!==Da&&Da()}function Ba(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0===(1024&e.effectTag)){Sa=e;e:{var o=t,u=ja,c=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Ar(t.type)&&Ir();break;case 3:wi(),Rr(),(c=t.stateNode).pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==o&&null!==o.child||(go(t),t.effectTag&=-3),ua(t);break;case 5:Oi(t);var l=xi(bi.current);if(u=t.type,null!==o&&null!=t.stateNode)ca(o,t,u,c,l),o.ref!==t.ref&&(t.effectTag|=128);else if(c){var s=xi(yi.current);if(go(t)){o=(c=t).stateNode;var f=c.type,d=c.memoizedProps,h=l;switch(o[A]=c,o[I]=d,u=void 0,l=f){case"iframe":case"object":Tn("load",o);break;case"video":case"audio":for(f=0;f<te.length;f++)Tn(te[f],o);break;case"source":Tn("error",o);break;case"img":case"image":case"link":Tn("error",o),Tn("load",o);break;case"form":Tn("reset",o),Tn("submit",o);break;case"details":Tn("toggle",o);break;case"input":xt(o,d),Tn("invalid",o),dr(h,"onChange");break;case"select":o._wrapperState={wasMultiple:!!d.multiple},Tn("invalid",o),dr(h,"onChange");break;case"textarea":Kn(o,d),Tn("invalid",o),dr(h,"onChange")}for(u in sr(l,d),f=null,d)d.hasOwnProperty(u)&&(s=d[u],"children"===u?"string"===typeof s?o.textContent!==s&&(f=["children",s]):"number"===typeof s&&o.textContent!==""+s&&(f=["children",""+s]):b.hasOwnProperty(u)&&null!=s&&dr(h,u));switch(l){case"input":We(o),kt(o,d,!0);break;case"textarea":We(o),Qn(o);break;case"select":case"option":break;default:"function"===typeof d.onClick&&(o.onclick=hr)}u=f,c.updateQueue=u,(c=null!==u)&&oa(t)}else{d=t,o=u,h=c,f=9===l.nodeType?l:l.ownerDocument,s===Zn.html&&(s=Jn(o)),s===Zn.html?"script"===o?((o=f.createElement("div")).innerHTML="<script><\/script>",f=o.removeChild(o.firstChild)):"string"===typeof h.is?f=f.createElement(o,{is:h.is}):(f=f.createElement(o),"select"===o&&h.multiple&&(f.multiple=!0)):f=f.createElementNS(s,o),(o=f)[A]=d,o[I]=c,aa(o,t,!1,!1),h=o;var p=l,v=fr(f=u,d=c);switch(f){case"iframe":case"object":Tn("load",h),l=d;break;case"video":case"audio":for(l=0;l<te.length;l++)Tn(te[l],h);l=d;break;case"source":Tn("error",h),l=d;break;case"img":case"image":case"link":Tn("error",h),Tn("load",h),l=d;break;case"form":Tn("reset",h),Tn("submit",h),l=d;break;case"details":Tn("toggle",h),l=d;break;case"input":xt(h,d),l=bt(h,d),Tn("invalid",h),dr(p,"onChange");break;case"option":l=Yn(h,d);break;case"select":h._wrapperState={wasMultiple:!!d.multiple},l=i({},d,{value:void 0}),Tn("invalid",h),dr(p,"onChange");break;case"textarea":Kn(h,d),l=$n(h,d),Tn("invalid",h),dr(p,"onChange");break;default:l=d}sr(f,l),s=void 0;var m=f,y=h,g=l;for(s in g)if(g.hasOwnProperty(s)){var x=g[s];"style"===s?cr(y,x):"dangerouslySetInnerHTML"===s?null!=(x=x?x.__html:void 0)&&rr(y,x):"children"===s?"string"===typeof x?("textarea"!==m||""!==x)&&ir(y,x):"number"===typeof x&&ir(y,""+x):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(b.hasOwnProperty(s)?null!=x&&dr(p,s):null!=x&&yt(y,s,x,v))}switch(f){case"input":We(h),kt(h,d,!1);break;case"textarea":We(h),Qn(h);break;case"option":null!=d.value&&h.setAttribute("value",""+gt(d.value));break;case"select":(l=h).multiple=!!d.multiple,null!=(h=d.value)?Gn(l,!!d.multiple,h,!1):null!=d.defaultValue&&Gn(l,!!d.multiple,d.defaultValue,!0);break;default:"function"===typeof l.onClick&&(h.onclick=hr)}(c=mr(u,c))&&oa(t),t.stateNode=o}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&a("166");break;case 6:o&&null!=t.stateNode?la(o,t,o.memoizedProps,c):("string"!==typeof c&&(null===t.stateNode&&a("166")),o=xi(bi.current),xi(yi.current),go(t)?(u=(c=t).stateNode,o=c.memoizedProps,u[A]=c,(c=u.nodeValue!==o)&&oa(t)):(u=t,(c=(9===o.nodeType?o:o.ownerDocument).createTextNode(c))[A]=t,u.stateNode=c));break;case 11:break;case 13:if(c=t.memoizedState,0!==(64&t.effectTag)){t.expirationTime=u,Sa=t;break e}c=null!==c,u=null!==o&&null!==o.memoizedState,null!==o&&!c&&u&&(null!==(o=o.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=o,o.nextEffect=l):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),(c||u)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:wi(),ua(t);break;case 10:Fo(t);break;case 9:case 14:break;case 17:Ar(t.type)&&Ir();break;default:a("156")}Sa=null}if(t=e,1===ja||1!==t.childExpirationTime){for(c=0,u=t.child;null!==u;)(o=u.expirationTime)>c&&(c=o),(l=u.childExpirationTime)>c&&(c=l),u=u.sibling;t.childExpirationTime=c}if(null!==Sa)return Sa;null!==n&&0===(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e))}else{if(null!==(e=wa(e)))return e.effectTag&=1023,e;null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=1024)}if(null!==r)return r;if(null===n)break;e=n}return null}function Wa(e){var t=Ao(e.alternate,e,ja);return e.memoizedProps=e.pendingProps,null===t&&(t=Ba(e)),Oa.current=null,t}function Ha(e,t){Ca&&a("243"),Ua(),Ca=!0;var n=ka.current;ka.current=uo;var r=e.nextExpirationTimeToWorkOn;r===ja&&e===Ma&&null!==Sa||(Fa(),ja=r,Sa=Yr((Ma=e).current,null),e.pendingCommitExpirationTime=0);for(var i=!1;;){try{if(t)for(;null!==Sa&&!ku();)Sa=Wa(Sa);else for(;null!==Sa;)Sa=Wa(Sa)}catch(m){if(Do=zo=Ro=null,Xi(),null===Sa)i=!0,Mu(m);else{null===Sa&&a("271");var o=Sa,u=o.return;if(null!==u){e:{var c=e,l=u,s=o,f=m;if(u=ja,s.effectTag|=1024,s.firstEffect=s.lastEffect=null,null!==f&&"object"===typeof f&&"function"===typeof f.then){var d=f;f=l;var h=-1,p=-1;do{if(13===f.tag){var v=f.alternate;if(null!==v&&null!==(v=v.memoizedState)){p=10*(1073741822-v.timedOutAt);break}"number"===typeof(v=f.pendingProps.maxDuration)&&(0>=v?h=0:(-1===h||v<h)&&(h=v))}f=f.return}while(null!==f);f=l;do{if((v=13===f.tag)&&(v=void 0!==f.memoizedProps.fallback&&null===f.memoizedState),v){if(null===(l=f.updateQueue)?((l=new Set).add(d),f.updateQueue=l):l.add(d),0===(1&f.mode)){f.effectTag|=64,s.effectTag&=-1957,1===s.tag&&(null===s.alternate?s.tag=17:((u=Ko(1073741823)).tag=qo,Qo(s,u))),s.expirationTime=1073741823;break e}null===(s=c.pingCache)?(s=c.pingCache=new ba,l=new Set,s.set(d,l)):void 0===(l=s.get(d))&&(l=new Set,s.set(d,l)),l.has(u)||(l.add(u),s=Ya.bind(null,c,d,u),d.then(s,s)),-1===h?c=1073741823:(-1===p&&(p=10*(1073741822-ei(c,u))-5e3),c=p+h),0<=c&&Na<c&&(Na=c),f.effectTag|=2048,f.expirationTime=u;break e}f=f.return}while(null!==f);f=Error((ut(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ct(s))}Pa=!0,f=ia(f,s),c=l;do{switch(c.tag){case 3:c.effectTag|=2048,c.expirationTime=u,Zo(c,u=xa(c,f,u));break e;case 1:if(d=f,h=c.type,p=c.stateNode,0===(64&c.effectTag)&&("function"===typeof h.getDerivedStateFromError||null!==p&&"function"===typeof p.componentDidCatch&&(null===La||!La.has(p)))){c.effectTag|=2048,c.expirationTime=u,Zo(c,u=_a(c,d,u));break e}}c=c.return}while(null!==c)}Sa=Ba(o);continue}i=!0,Mu(m)}}break}if(Ca=!1,ka.current=n,Do=zo=Ro=null,Xi(),i)Ma=null,e.finishedWork=null;else if(null!==Sa)e.finishedWork=null;else{if(null===(n=e.current.alternate)&&a("281"),Ma=null,Pa){if(i=e.latestPendingTime,o=e.latestSuspendedTime,u=e.latestPingedTime,0!==i&&i<r||0!==o&&o<r||0!==u&&u<r)return Jr(e,r),void gu(e,n,r,e.expirationTime,-1);if(!e.didError&&t)return e.didError=!0,r=e.nextExpirationTimeToWorkOn=r,t=e.expirationTime=1073741823,void gu(e,n,r,t,-1)}t&&-1!==Na?(Jr(e,r),(t=10*(1073741822-ei(e,r)))<Na&&(Na=t),t=10*(1073741822-bu()),t=Na-t,gu(e,n,r,e.expirationTime,0>t?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function qa(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===La||!La.has(r)))return Qo(n,e=_a(n,e=ia(t,e),1073741823)),void $a(n,1073741823);break;case 3:return Qo(n,e=xa(n,e=ia(t,e),1073741823)),void $a(n,1073741823)}n=n.return}3===e.tag&&(Qo(e,n=xa(e,n=ia(t,e),1073741823)),$a(e,1073741823))}function Va(e,t){return 0!==Ea?e=Ea:Ca?e=Ia?1073741823:ja:1&t.mode?(e=cu?1073741822-10*(1+((1073741822-e+15)/10|0)):1073741822-25*(1+((1073741822-e+500)/25|0)),null!==Ma&&e===ja&&--e):e=1073741823,cu&&(0===ru||e<ru)&&(ru=e),e}function Ya(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),null!==Ma&&ja===n?Ma=null:(t=e.earliestSuspendedTime,r=e.latestSuspendedTime,0!==t&&n<=t&&n>=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),ti(n,e),0!==(n=e.expirationTime)&&xu(e,n)))}function Ga(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return i}function $a(e,t){null!==(e=Ga(e,t))&&(!Ca&&0!==ja&&t>ja&&Fa(),Zr(e,t),Ca&&!Ia&&Ma===e||xu(e,e.expirationTime),pu>hu&&(pu=0,a("185")))}function Ka(e,t,n,r,i){var o=Ea;Ea=1073741823;try{return e(t,n,r,i)}finally{Ea=o}}var Xa=null,Qa=null,Za=0,Ja=void 0,eu=!1,tu=null,nu=0,ru=0,iu=!1,ou=null,au=!1,uu=!1,cu=!1,lu=null,su=o.unstable_now(),fu=1073741822-(su/10|0),du=fu,hu=50,pu=0,vu=null;function mu(){fu=1073741822-((o.unstable_now()-su)/10|0)}function yu(e,t){if(0!==Za){if(t<Za)return;null!==Ja&&o.unstable_cancelCallback(Ja)}Za=t,e=o.unstable_now()-su,Ja=o.unstable_scheduleCallback(Ou,{timeout:10*(1073741822-t)-e})}function gu(e,t,n,r,i){e.expirationTime=r,0!==i||ku()?0<i&&(e.timeoutHandle=gr(function(e,t,n){e.pendingCommitExpirationTime=n,e.finishedWork=t,mu(),du=fu,Eu(e,n)}.bind(null,e,t,n),i)):(e.pendingCommitExpirationTime=n,e.finishedWork=t)}function bu(){return eu?du:(_u(),0!==nu&&1!==nu||(mu(),du=fu),du)}function xu(e,t){null===e.nextScheduledRoot?(e.expirationTime=t,null===Qa?(Xa=Qa=e,e.nextScheduledRoot=e):(Qa=Qa.nextScheduledRoot=e).nextScheduledRoot=Xa):t>e.expirationTime&&(e.expirationTime=t),eu||(au?uu&&(tu=e,nu=1073741823,Cu(e,1073741823,!1)):1073741823===t?Tu(1073741823,!1):yu(e,t))}function _u(){var e=0,t=null;if(null!==Qa)for(var n=Qa,r=Xa;null!==r;){var i=r.expirationTime;if(0===i){if((null===n||null===Qa)&&a("244"),r===r.nextScheduledRoot){Xa=Qa=r.nextScheduledRoot=null;break}if(r===Xa)Xa=i=r.nextScheduledRoot,Qa.nextScheduledRoot=i,r.nextScheduledRoot=null;else{if(r===Qa){(Qa=n).nextScheduledRoot=Xa,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(i>e&&(e=i,t=r),r===Qa)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}tu=t,nu=e}var wu=!1;function ku(){return!!wu||!!o.unstable_shouldYield()&&(wu=!0)}function Ou(){try{if(!ku()&&null!==Xa){mu();var e=Xa;do{var t=e.expirationTime;0!==t&&fu<=t&&(e.nextExpirationTimeToWorkOn=fu),e=e.nextScheduledRoot}while(e!==Xa)}Tu(0,!0)}finally{wu=!1}}function Tu(e,t){if(_u(),t)for(mu(),du=fu;null!==tu&&0!==nu&&e<=nu&&!(wu&&fu>nu);)Cu(tu,nu,fu>nu),_u(),mu(),du=fu;else for(;null!==tu&&0!==nu&&e<=nu;)Cu(tu,nu,!1),_u();if(t&&(Za=0,Ja=null),0!==nu&&yu(tu,nu),pu=0,vu=null,null!==lu)for(e=lu,lu=null,t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(r){iu||(iu=!0,ou=r)}}if(iu)throw e=ou,ou=null,iu=!1,e}function Eu(e,t){eu&&a("253"),tu=e,nu=t,Cu(e,t,!1),Tu(1073741823,!1)}function Cu(e,t,n){if(eu&&a("245"),eu=!0,n){var r=e.finishedWork;null!==r?Su(e,r,t):(e.finishedWork=null,-1!==(r=e.timeoutHandle)&&(e.timeoutHandle=-1,br(r)),Ha(e,n),null!==(r=e.finishedWork)&&(ku()?e.finishedWork=r:Su(e,r,t)))}else null!==(r=e.finishedWork)?Su(e,r,t):(e.finishedWork=null,-1!==(r=e.timeoutHandle)&&(e.timeoutHandle=-1,br(r)),Ha(e,n),null!==(r=e.finishedWork)&&Su(e,r,t));eu=!1}function Su(e,t,n){var r=e.firstBatch;if(null!==r&&r._expirationTime>=n&&(null===lu?lu=[r]:lu.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===vu?pu++:(vu=e,pu=0),Ia=Ca=!0,e.current===t&&a("177"),0===(n=e.pendingCommitExpirationTime)&&a("261"),e.pendingCommitExpirationTime=0,r=t.expirationTime;var i=t.childExpirationTime;if(r=i>r?i:r,e.didError=!1,0===r?(e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0):(r<e.latestPingedTime&&(e.latestPingedTime=0),0!==(i=e.latestPendingTime)&&(i>r?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>r&&(e.earliestPendingTime=e.latestPendingTime)),0===(i=e.earliestSuspendedTime)?Zr(e,r):r<e.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,Zr(e,r)):r>i&&Zr(e,r)),ti(0,e),Oa.current=null,1<t.effectTag?null!==t.lastEffect?(t.lastEffect.nextEffect=t,r=t.firstEffect):r=t:r=t.firstEffect,pr=On,Dn(i=zn())){if("selectionStart"in i)var o={start:i.selectionStart,end:i.selectionEnd};else e:{var u=(o=(o=i.ownerDocument)&&o.defaultView||window).getSelection&&o.getSelection();if(u&&0!==u.rangeCount){o=u.anchorNode;var c=u.anchorOffset,l=u.focusNode;u=u.focusOffset;try{o.nodeType,l.nodeType}catch(D){o=null;break e}var s=0,f=-1,d=-1,h=0,p=0,v=i,m=null;t:for(;;){for(var y;v!==o||0!==c&&3!==v.nodeType||(f=s+c),v!==l||0!==u&&3!==v.nodeType||(d=s+u),3===v.nodeType&&(s+=v.nodeValue.length),null!==(y=v.firstChild);)m=v,v=y;for(;;){if(v===i)break t;if(m===o&&++h===c&&(f=s),m===l&&++p===u&&(d=s),null!==(y=v.nextSibling))break;m=(v=m).parentNode}v=y}o=-1===f||-1===d?null:{start:f,end:d}}else o=null}o=o||{start:0,end:0}}else o=null;for(vr={focusedElem:i,selectionRange:o},On=!1,Aa=r;null!==Aa;){i=!1,o=void 0;try{for(;null!==Aa;){if(256&Aa.effectTag)e:{var g=Aa.alternate;switch((c=Aa).tag){case 0:case 11:case 15:ha(Ei,Ti,c);break e;case 1:if(256&c.effectTag&&null!==g){var b=g.memoizedProps,x=g.memoizedState,_=c.stateNode,w=_.getSnapshotBeforeUpdate(c.elementType===c.type?b:ni(c.type,b),x);_.__reactInternalSnapshotBeforeUpdate=w}break e;case 3:case 5:case 6:case 4:case 17:break e;default:a("163")}}Aa=Aa.nextEffect}}catch(D){i=!0,o=D}i&&(null===Aa&&a("178"),qa(Aa,o),null!==Aa&&(Aa=Aa.nextEffect))}for(Aa=r;null!==Aa;){g=!1,b=void 0;try{for(;null!==Aa;){var k=Aa.effectTag;if(16&k&&ir(Aa.stateNode,""),128&k){var O=Aa.alternate;if(null!==O){var T=O.ref;null!==T&&("function"===typeof T?T(null):T.current=null)}}switch(14&k){case 2:ma(Aa),Aa.effectTag&=-3;break;case 6:ma(Aa),Aa.effectTag&=-3,ga(Aa.alternate,Aa);break;case 4:ga(Aa.alternate,Aa);break;case 8:ya(x=Aa),x.return=null,x.child=null,x.memoizedState=null,x.updateQueue=null;var E=x.alternate;null!==E&&(E.return=null,E.child=null,E.memoizedState=null,E.updateQueue=null)}Aa=Aa.nextEffect}}catch(D){g=!0,b=D}g&&(null===Aa&&a("178"),qa(Aa,b),null!==Aa&&(Aa=Aa.nextEffect))}if(T=vr,O=zn(),k=T.focusedElem,g=T.selectionRange,O!==k&&k&&k.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(k.ownerDocument.documentElement,k)){null!==g&&Dn(k)&&(O=g.start,void 0===(T=g.end)&&(T=O),"selectionStart"in k?(k.selectionStart=O,k.selectionEnd=Math.min(T,k.value.length)):(T=(O=k.ownerDocument||document)&&O.defaultView||window).getSelection&&(T=T.getSelection(),b=k.textContent.length,E=Math.min(g.start,b),g=void 0===g.end?E:Math.min(g.end,b),!T.extend&&E>g&&(b=g,g=E,E=b),b=Rn(k,E),x=Rn(k,g),b&&x&&(1!==T.rangeCount||T.anchorNode!==b.node||T.anchorOffset!==b.offset||T.focusNode!==x.node||T.focusOffset!==x.offset)&&((O=O.createRange()).setStart(b.node,b.offset),T.removeAllRanges(),E>g?(T.addRange(O),T.extend(x.node,x.offset)):(O.setEnd(x.node,x.offset),T.addRange(O))))),O=[];for(T=k;T=T.parentNode;)1===T.nodeType&&O.push({element:T,left:T.scrollLeft,top:T.scrollTop});for("function"===typeof k.focus&&k.focus(),k=0;k<O.length;k++)(T=O[k]).element.scrollLeft=T.left,T.element.scrollTop=T.top}for(vr=null,On=!!pr,pr=null,e.current=t,Aa=r;null!==Aa;){k=!1,O=void 0;try{for(T=e,E=n;null!==Aa;){var C=Aa.effectTag;if(36&C){var S=Aa.alternate;switch(b=E,(g=Aa).tag){case 0:case 11:case 15:ha(Mi,ji,g);break;case 1:var M=g.stateNode;if(4&g.effectTag)if(null===S)M.componentDidMount();else{var j=g.elementType===g.type?S.memoizedProps:ni(g.type,S.memoizedProps);M.componentDidUpdate(j,S.memoizedState,M.__reactInternalSnapshotBeforeUpdate)}var N=g.updateQueue;null!==N&&na(0,N,M);break;case 3:var P=g.updateQueue;if(null!==P){if(x=null,null!==g.child)switch(g.child.tag){case 5:x=g.child.stateNode;break;case 1:x=g.child.stateNode}na(0,P,x)}break;case 5:var A=g.stateNode;null===S&&4&g.effectTag&&mr(g.type,g.memoizedProps)&&A.focus();break;case 6:case 4:case 12:case 13:case 17:break;default:a("163")}}if(128&C){var I=Aa.ref;if(null!==I){var R=Aa.stateNode;switch(Aa.tag){case 5:var z=R;break;default:z=R}"function"===typeof I?I(z):I.current=z}}512&C&&(Ra=T),Aa=Aa.nextEffect}}catch(D){k=!0,O=D}k&&(null===Aa&&a("178"),qa(Aa,O),null!==Aa&&(Aa=Aa.nextEffect))}null!==r&&null!==Ra&&(C=function(e,t){Da=za=Ra=null;var n=eu;eu=!0;do{if(512&t.effectTag){var r=!1,i=void 0;try{var o=t;ha(Pi,Ti,o),ha(Ti,Ni,o)}catch(u){r=!0,i=u}r&&qa(t,i)}t=t.nextEffect}while(null!==t);eu=n,0!==(n=e.expirationTime)&&xu(e,n)}.bind(null,e,r),za=xr(C),Da=C),Ca=Ia=!1,"function"===typeof Ur&&Ur(t.stateNode),C=t.expirationTime,0===(t=(t=t.childExpirationTime)>C?t:C)&&(La=null),e.expirationTime=t,e.finishedWork=null}function Mu(e){null===tu&&a("246"),tu.expirationTime=0,iu||(iu=!0,ou=e)}function ju(e,t){var n=au;au=!0;try{return e(t)}finally{(au=n)||eu||Tu(1073741823,!1)}}function Nu(e,t){if(au&&!uu){uu=!0;try{return e(t)}finally{uu=!1}}return e(t)}function Pu(e,t,n){if(cu)return e(t,n);au||eu||0===ru||(Tu(ru,!1),ru=0);var r=cu,i=au;au=cu=!0;try{return e(t,n)}finally{cu=r,(au=i)||eu||Tu(1073741823,!1)}}function Au(e,t,n,r,i){var o=t.current;e:if(n){t:{2===tn(n=n._reactInternalFiber)&&1===n.tag||a("170");var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Ar(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);a("171"),u=void 0}if(1===n.tag){var c=n.type;if(Ar(c)){n=Dr(n,c,u);break e}}n=u}else n=Sr;return null===t.context?t.context=n:t.pendingContext=n,t=i,(i=Ko(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(i.callback=t),Ua(),Qo(o,i),$a(o,r),r}function Iu(e,t,n,r){var i=t.current;return Au(e,t,n,i=Va(bu(),i),r)}function Ru(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function zu(e){var t=1073741822-25*(1+((1073741822-bu()+500)/25|0));t>=Ta&&(t=Ta-1),this._expirationTime=Ta=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Du(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Lu(e,t,n){e={current:t=qr(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function Fu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Uu(e,t,n,r,i){var o=n._reactRootContainer;if(o){if("function"===typeof i){var a=i;i=function(){var e=Ru(o._internalRoot);a.call(e)}}null!=e?o.legacy_renderSubtreeIntoContainer(e,t,i):o.render(t,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Lu(e,!1,t)}(n,r),"function"===typeof i){var u=i;i=function(){var e=Ru(o._internalRoot);u.call(e)}}Nu(function(){null!=e?o.legacy_renderSubtreeIntoContainer(e,t,i):o.render(t,i)})}return Ru(o._internalRoot)}function Bu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Fu(t)||a("200"),function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:$e,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Ee=function(e,t,n){switch(t){case"input":if(wt(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=L(r);i||a("90"),He(r),wt(r,i)}}}break;case"textarea":Xn(e,n);break;case"select":null!=(t=n.value)&&Gn(e,!!n.multiple,t,!1)}},zu.prototype.render=function(e){this._defer||a("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new Du;return Au(e,t,null,n,r._onCommit),r},zu.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},zu.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||a("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,i=t;i!==this;)r=i,i=i._next;null===r&&a("251"),r._next=i._next,this._next=t,e.firstBatch=this}this._defer=!1,Eu(e,n),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},zu.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Du.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Du.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!==typeof n&&a("191",n),n()}}},Lu.prototype.render=function(e,t){var n=this._internalRoot,r=new Du;return null!==(t=void 0===t?null:t)&&r.then(t),Iu(e,n,null,r._onCommit),r},Lu.prototype.unmount=function(e){var t=this._internalRoot,n=new Du;return null!==(e=void 0===e?null:e)&&n.then(e),Iu(null,t,null,n._onCommit),n},Lu.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,i=new Du;return null!==(n=void 0===n?null:n)&&i.then(n),Iu(t,r,e,i._onCommit),i},Lu.prototype.createBatch=function(){var e=new zu(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime>=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Pe=ju,Ae=Pu,Ie=function(){eu||0===ru||(Tu(ru,!1),ru=0)};var Wu={createPortal:Bu,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"===typeof e.render?a("188"):a("268",Object.keys(e))),e=null===(e=rn(t))?null:e.stateNode},hydrate:function(e,t,n){return Fu(t)||a("200"),Uu(null,e,t,!0,n)},render:function(e,t,n){return Fu(t)||a("200"),Uu(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return Fu(n)||a("200"),(null==e||void 0===e._reactInternalFiber)&&a("38"),Uu(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Fu(e)||a("40"),!!e._reactRootContainer&&(Nu(function(){Uu(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Bu.apply(void 0,arguments)},unstable_batchedUpdates:ju,unstable_interactiveUpdates:Pu,flushSync:function(e,t){eu&&a("187");var n=au;au=!0;try{return Ka(e,t)}finally{au=n,Tu(1073741823,!1)}},unstable_createRoot:function(e,t){return Fu(e)||a("299","unstable_createRoot"),new Lu(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=au;au=!0;try{Ka(e)}finally{(au=t)||eu||Tu(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[z,D,L,M.injectEventPluginsByName,g,q,function(e){E(e,H)},je,Ne,Sn,N]}};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Ur=Wr(function(e){return t.onCommitFiberRoot(n,e)}),Br=Wr(function(e){return t.onCommitFiberUnmount(n,e)})}catch(r){}})(i({},e,{overrideProps:null,currentDispatcherRef:qe.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rn(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:R,bundleType:0,version:"16.8.1",rendererPackageName:"react-dom"});var Hu={default:Wu},qu=Hu&&Wu||Hu;e.exports=qu.default||qu},function(e,t,n){"use strict";e.exports=n(264)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=null,r=!1,i=3,o=-1,a=-1,u=!1,c=!1;function l(){if(!u){var e=n.expirationTime;c?k():c=!0,w(d,e)}}function s(){var e=n,t=n.next;if(n===t)n=null;else{var r=n.previous;n=r.next=t,t.previous=r}e.next=e.previous=null,r=e.callback,t=e.expirationTime,e=e.priorityLevel;var o=i,u=a;i=e,a=t;try{var c=r()}finally{i=o,a=u}if("function"===typeof c)if(c={callback:c,priorityLevel:e,expirationTime:t,next:null,previous:null},null===n)n=c.next=c.previous=c;else{r=null,e=n;do{if(e.expirationTime>=t){r=e;break}e=e.next}while(e!==n);null===r?r=n:r===n&&(n=c,l()),(t=r.previous).next=r.previous=c,c.next=r,c.previous=t}}function f(){if(-1===o&&null!==n&&1===n.priorityLevel){u=!0;try{do{s()}while(null!==n&&1===n.priorityLevel)}finally{u=!1,null!==n?l():c=!1}}}function d(e){u=!0;var i=r;r=e;try{if(e)for(;null!==n;){var o=t.unstable_now();if(!(n.expirationTime<=o))break;do{s()}while(null!==n&&n.expirationTime<=o)}else if(null!==n)do{s()}while(null!==n&&!O())}finally{u=!1,r=i,null!==n?l():c=!1,f()}}var h,p,v=Date,m="function"===typeof setTimeout?setTimeout:void 0,y="function"===typeof clearTimeout?clearTimeout:void 0,g="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,b="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function x(e){h=g(function(t){y(p),e(t)}),p=m(function(){b(h),e(t.unstable_now())},100)}if("object"===typeof performance&&"function"===typeof performance.now){var _=performance;t.unstable_now=function(){return _.now()}}else t.unstable_now=function(){return v.now()};var w,k,O,T=null;if("undefined"!==typeof window?T=window:"undefined"!==typeof e&&(T=e),T&&T._schedMock){var E=T._schedMock;w=E[0],k=E[1],O=E[2],t.unstable_now=E[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var C=null,S=function(e){if(null!==C)try{C(e)}finally{C=null}};w=function(e){null!==C?setTimeout(w,0,e):(C=e,setTimeout(S,0,!1))},k=function(){C=null},O=function(){return!1}}else{"undefined"!==typeof console&&("function"!==typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,j=!1,N=-1,P=!1,A=!1,I=0,R=33,z=33;O=function(){return I<=t.unstable_now()};var D=new MessageChannel,L=D.port2;D.port1.onmessage=function(){j=!1;var e=M,n=N;M=null,N=-1;var r=t.unstable_now(),i=!1;if(0>=I-r){if(!(-1!==n&&n<=r))return P||(P=!0,x(F)),M=e,void(N=n);i=!0}if(null!==e){A=!0;try{e(i)}finally{A=!1}}};var F=function e(t){if(null!==M){x(e);var n=t-I+z;n<z&&R<z?(8>n&&(n=8),z=n<R?R:n):R=n,I=t+z,j||(j=!0,L.postMessage(void 0))}else P=!1};w=function(e,t){M=e,N=t,A||0>t?L.postMessage(void 0):P||(P=!0,x(F))},k=function(){M=null,j=!1,N=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=i,a=o;i=e,o=t.unstable_now();try{return n()}finally{i=r,o=a,f()}},t.unstable_scheduleCallback=function(e,r){var a=-1!==o?o:t.unstable_now();if("object"===typeof r&&null!==r&&"number"===typeof r.timeout)r=a+r.timeout;else switch(i){case 1:r=a+-1;break;case 2:r=a+250;break;case 5:r=a+1073741823;break;case 4:r=a+1e4;break;default:r=a+5e3}if(e={callback:e,priorityLevel:i,expirationTime:r,next:null,previous:null},null===n)n=e.next=e.previous=e,l();else{a=null;var u=n;do{if(u.expirationTime>r){a=u;break}u=u.next}while(u!==n);null===a?a=n:a===n&&(n=e,l()),(r=a.previous).next=a.previous=e,e.next=a,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var r=e.previous;r.next=t,t.previous=r}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=i;return function(){var r=i,a=o;i=n,o=t.unstable_now();try{return e.apply(this,arguments)}finally{i=r,o=a,f()}}},t.unstable_getCurrentPriorityLevel=function(){return i},t.unstable_shouldYield=function(){return!r&&(null!==n&&n.expirationTime<a||O())},t.unstable_continueExecution=function(){null!==n&&l()},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return n}}).call(this,n(154))},function(e,t,n){"use strict";var r=n(266),i=n(271);r.default.__addLocaleData(i.default),r.default.defaultLocale="en",t.default=r.default},function(e,t,n){"use strict";var r=n(155),i=n(267),o=n(268),a=n(269);function u(e,t,n){var r="string"===typeof e?u.__parse(e):e;if(!r||"messageFormatPattern"!==r.type)throw new TypeError("A message must be provided as a String or AST.");n=this._mergeFormats(u.formats,n),i.defineProperty(this,"_locale",{value:this._resolveLocale(t)});var o=this._findPluralRuleFunction(this._locale),a=this._compilePattern(r,t,n,o),c=this;this.format=function(t){try{return c._format(a,t)}catch(n){throw n.variableId?new Error("The intl string context variable '"+n.variableId+"' was not provided to the string '"+e+"'"):n}}}t.default=u,i.defineProperty(u,"formats",{enumerable:!0,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}),i.defineProperty(u,"__localeData__",{value:i.objCreate(null)}),i.defineProperty(u,"__addLocaleData",{value:function(e){if(!e||!e.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");u.__localeData__[e.locale.toLowerCase()]=e}}),i.defineProperty(u,"__parse",{value:a.default.parse}),i.defineProperty(u,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),u.prototype.resolvedOptions=function(){return{locale:this._locale}},u.prototype._compilePattern=function(e,t,n,r){return new o.default(t,n,r).compile(e)},u.prototype._findPluralRuleFunction=function(e){for(var t=u.__localeData__,n=t[e.toLowerCase()];n;){if(n.pluralRuleFunction)return n.pluralRuleFunction;n=n.parentLocale&&t[n.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+e)},u.prototype._format=function(e,t){var n,i,o,a,u,c,l="";for(n=0,i=e.length;n<i;n+=1)if("string"!==typeof(o=e[n])){if(a=o.id,!t||!r.hop.call(t,a))throw(c=new Error("A value must be provided for: "+a)).variableId=a,c;u=t[a],o.options?l+=this._format(o.getOption(u),t):l+=o.format(u)}else l+=o;return l},u.prototype._mergeFormats=function(e,t){var n,o,a={};for(n in e)r.hop.call(e,n)&&(a[n]=o=i.objCreate(e[n]),t&&r.hop.call(t,n)&&r.extend(o,t[n]));return a},u.prototype._resolveLocale=function(e){"string"===typeof e&&(e=[e]),e=(e||[]).concat(u.defaultLocale);var t,n,r,i,o=u.__localeData__;for(t=0,n=e.length;t<n;t+=1)for(r=e[t].toLowerCase().split("-");r.length;){if(i=o[r.join("-")])return i.locale;r.pop()}var a=e.pop();throw new Error("No locale data has been added to IntlMessageFormat for: "+e.join(", ")+", or the default locale: "+a)}},function(e,t,n){"use strict";var r=n(155),i=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),o=(!i&&Object.prototype.__defineGetter__,i?Object.defineProperty:function(e,t,n){"get"in n&&e.__defineGetter__?e.__defineGetter__(t,n.get):(!r.hop.call(e,t)||"value"in n)&&(e[t]=n.value)}),a=Object.create||function(e,t){var n,i;function a(){}for(i in a.prototype=e,n=new a,t)r.hop.call(t,i)&&o(n,i,t[i]);return n};t.defineProperty=o,t.objCreate=a},function(e,t,n){"use strict";function r(e,t,n){this.locales=e,this.formats=t,this.pluralFn=n}function i(e){this.id=e}function o(e,t,n,r,i){this.id=e,this.useOrdinal=t,this.offset=n,this.options=r,this.pluralFn=i}function a(e,t,n,r){this.id=e,this.offset=t,this.numberFormat=n,this.string=r}function u(e,t){this.id=e,this.options=t}t.default=r,r.prototype.compile=function(e){return this.pluralStack=[],this.currentPlural=null,this.pluralNumberFormat=null,this.compileMessage(e)},r.prototype.compileMessage=function(e){if(!e||"messageFormatPattern"!==e.type)throw new Error('Message AST is not of type: "messageFormatPattern"');var t,n,r,i=e.elements,o=[];for(t=0,n=i.length;t<n;t+=1)switch((r=i[t]).type){case"messageTextElement":o.push(this.compileMessageText(r));break;case"argumentElement":o.push(this.compileArgument(r));break;default:throw new Error("Message element does not have a valid type")}return o},r.prototype.compileMessageText=function(e){return this.currentPlural&&/(^|[^\\])#/g.test(e.value)?(this.pluralNumberFormat||(this.pluralNumberFormat=new Intl.NumberFormat(this.locales)),new a(this.currentPlural.id,this.currentPlural.format.offset,this.pluralNumberFormat,e.value)):e.value.replace(/\\#/g,"#")},r.prototype.compileArgument=function(e){var t=e.format;if(!t)return new i(e.id);var n,r=this.formats,a=this.locales,c=this.pluralFn;switch(t.type){case"numberFormat":return n=r.number[t.style],{id:e.id,format:new Intl.NumberFormat(a,n).format};case"dateFormat":return n=r.date[t.style],{id:e.id,format:new Intl.DateTimeFormat(a,n).format};case"timeFormat":return n=r.time[t.style],{id:e.id,format:new Intl.DateTimeFormat(a,n).format};case"pluralFormat":return n=this.compileOptions(e),new o(e.id,t.ordinal,t.offset,n,c);case"selectFormat":return n=this.compileOptions(e),new u(e.id,n);default:throw new Error("Message element does not have a valid format type")}},r.prototype.compileOptions=function(e){var t,n,r,i=e.format,o=i.options,a={};for(this.pluralStack.push(this.currentPlural),this.currentPlural="pluralFormat"===i.type?e:null,t=0,n=o.length;t<n;t+=1)a[(r=o[t]).selector]=this.compileMessage(r.value);return this.currentPlural=this.pluralStack.pop(),a},i.prototype.format=function(e){return e||"number"===typeof e?"string"===typeof e?e:String(e):""},o.prototype.getOption=function(e){var t=this.options;return t["="+e]||t[this.pluralFn(e-this.offset,this.useOrdinal)]||t.other},a.prototype.format=function(e){var t=this.numberFormat.format(e-this.offset);return this.string.replace(/(^|[^\\])#/g,"$1"+t).replace(/\\#/g,"#")},u.prototype.getOption=function(e){var t=this.options;return t[e]||t.other}},function(e,t,n){"use strict";(t=e.exports=n(270).default).default=t},function(e,t,n){"use strict";t.default=function(){function e(t,n,r,i){this.message=t,this.expected=n,this.found=r,this.location=i,this.name="SyntaxError","function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,e)}return function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(e,Error),{SyntaxError:e,parse:function(t){var n,r=arguments.length>1?arguments[1]:{},i={},o={start:je},a=je,u=function(e){return{type:"messageFormatPattern",elements:e,location:Te()}},c=function(e){var t,n,r,i,o,a="";for(t=0,r=e.length;t<r;t+=1)for(n=0,o=(i=e[t]).length;n<o;n+=1)a+=i[n];return a},l=function(e){return{type:"messageTextElement",value:e,location:Te()}},s=/^[^ \t\n\r,.+={}#]/,f={type:"class",value:"[^ \\t\\n\\r,.+={}#]",description:"[^ \\t\\n\\r,.+={}#]"},d="{",h={type:"literal",value:"{",description:'"{"'},p=",",v={type:"literal",value:",",description:'","'},m="}",y={type:"literal",value:"}",description:'"}"'},g=function(e,t){return{type:"argumentElement",id:e,format:t&&t[2],location:Te()}},b="number",x={type:"literal",value:"number",description:'"number"'},_="date",w={type:"literal",value:"date",description:'"date"'},k="time",O={type:"literal",value:"time",description:'"time"'},T=function(e,t){return{type:e+"Format",style:t&&t[2],location:Te()}},E="plural",C={type:"literal",value:"plural",description:'"plural"'},S=function(e){return{type:e.type,ordinal:!1,offset:e.offset||0,options:e.options,location:Te()}},M="selectordinal",j={type:"literal",value:"selectordinal",description:'"selectordinal"'},N=function(e){return{type:e.type,ordinal:!0,offset:e.offset||0,options:e.options,location:Te()}},P="select",A={type:"literal",value:"select",description:'"select"'},I=function(e){return{type:"selectFormat",options:e,location:Te()}},R="=",z={type:"literal",value:"=",description:'"="'},D=function(e,t){return{type:"optionalFormatPattern",selector:e,value:t,location:Te()}},L="offset:",F={type:"literal",value:"offset:",description:'"offset:"'},U=function(e){return e},B=function(e,t){return{type:"pluralFormat",offset:e,options:t,location:Te()}},W={type:"other",description:"whitespace"},H=/^[ \t\n\r]/,q={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},V={type:"other",description:"optionalWhitespace"},Y=/^[0-9]/,G={type:"class",value:"[0-9]",description:"[0-9]"},$=/^[0-9a-f]/i,K={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"},X="0",Q={type:"literal",value:"0",description:'"0"'},Z=/^[1-9]/,J={type:"class",value:"[1-9]",description:"[1-9]"},ee=function(e){return parseInt(e,10)},te=/^[^{}\\\0-\x1F\x7f \t\n\r]/,ne={type:"class",value:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]",description:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]"},re="\\\\",ie={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},oe=function(){return"\\"},ae="\\#",ue={type:"literal",value:"\\#",description:'"\\\\#"'},ce=function(){return"\\#"},le="\\{",se={type:"literal",value:"\\{",description:'"\\\\{"'},fe=function(){return"{"},de="\\}",he={type:"literal",value:"\\}",description:'"\\\\}"'},pe=function(){return"}"},ve="\\u",me={type:"literal",value:"\\u",description:'"\\\\u"'},ye=function(e){return String.fromCharCode(parseInt(e,16))},ge=function(e){return e.join("")},be=0,xe=0,_e=[{line:1,column:1,seenCR:!1}],we=0,ke=[],Oe=0;if("startRule"in r){if(!(r.startRule in o))throw new Error("Can't start parsing from rule \""+r.startRule+'".');a=o[r.startRule]}function Te(){return Ce(xe,be)}function Ee(e){var n,r,i=_e[e];if(i)return i;for(n=e-1;!_e[n];)n--;for(i={line:(i=_e[n]).line,column:i.column,seenCR:i.seenCR};n<e;)"\n"===(r=t.charAt(n))?(i.seenCR||i.line++,i.column=1,i.seenCR=!1):"\r"===r||"\u2028"===r||"\u2029"===r?(i.line++,i.column=1,i.seenCR=!0):(i.column++,i.seenCR=!1),n++;return _e[e]=i,i}function Ce(e,t){var n=Ee(e),r=Ee(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function Se(e){be<we||(be>we&&(we=be,ke=[]),ke.push(e))}function Me(t,n,r,i){return null!==n&&function(e){var t=1;for(e.sort(function(e,t){return e.description<t.description?-1:e.description>t.description?1:0});t<e.length;)e[t-1]===e[t]?e.splice(t,1):t++}(n),new e(null!==t?t:function(e,t){var n,r=new Array(e.length);for(n=0;n<e.length;n++)r[n]=e[n].description;return"Expected "+(e.length>1?r.slice(0,-1).join(", ")+" or "+r[e.length-1]:r[0])+" but "+(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(/[\u0100-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1000-\uFFFF]/g,function(e){return"\\u"+t(e)})}(t)+'"':"end of input")+" found."}(n,r),n,r,i)}function je(){return Ne()}function Ne(){var e,t,n;for(e=be,t=[],n=Pe();n!==i;)t.push(n),n=Pe();return t!==i&&(xe=e,t=u(t)),e=t}function Pe(){var e;return(e=function(){var e,n;return e=be,(n=function(){var e,n,r,o,a,u;if(e=be,n=[],r=be,(o=ze())!==i&&(a=Be())!==i&&(u=ze())!==i?r=o=[o,a,u]:(be=r,r=i),r!==i)for(;r!==i;)n.push(r),r=be,(o=ze())!==i&&(a=Be())!==i&&(u=ze())!==i?r=o=[o,a,u]:(be=r,r=i);else n=i;return n!==i&&(xe=e,n=c(n)),(e=n)===i&&(e=be,n=Re(),e=n!==i?t.substring(e,be):n),e}())!==i&&(xe=e,n=l(n)),e=n}())===i&&(e=function(){var e,n,r,o,a,u,c;return e=be,123===t.charCodeAt(be)?(n=d,be++):(n=i,0===Oe&&Se(h)),n!==i&&ze()!==i&&(r=function(){var e,n,r;if((e=Fe())===i){if(e=be,n=[],s.test(t.charAt(be))?(r=t.charAt(be),be++):(r=i,0===Oe&&Se(f)),r!==i)for(;r!==i;)n.push(r),s.test(t.charAt(be))?(r=t.charAt(be),be++):(r=i,0===Oe&&Se(f));else n=i;e=n!==i?t.substring(e,be):n}return e}())!==i&&ze()!==i?(o=be,44===t.charCodeAt(be)?(a=p,be++):(a=i,0===Oe&&Se(v)),a!==i&&(u=ze())!==i&&(c=function(){var e;return(e=function(){var e,n,r,o,a,u;return e=be,t.substr(be,6)===b?(n=b,be+=6):(n=i,0===Oe&&Se(x)),n===i&&(t.substr(be,4)===_?(n=_,be+=4):(n=i,0===Oe&&Se(w)),n===i&&(t.substr(be,4)===k?(n=k,be+=4):(n=i,0===Oe&&Se(O)))),n!==i&&ze()!==i?(r=be,44===t.charCodeAt(be)?(o=p,be++):(o=i,0===Oe&&Se(v)),o!==i&&(a=ze())!==i&&(u=Be())!==i?r=o=[o,a,u]:(be=r,r=i),r===i&&(r=null),r!==i?(xe=e,n=T(n,r),e=n):(be=e,e=i)):(be=e,e=i),e}())===i&&(e=function(){var e,n,r,o;return e=be,t.substr(be,6)===E?(n=E,be+=6):(n=i,0===Oe&&Se(C)),n!==i&&ze()!==i?(44===t.charCodeAt(be)?(r=p,be++):(r=i,0===Oe&&Se(v)),r!==i&&ze()!==i&&(o=Ie())!==i?(xe=e,n=S(o),e=n):(be=e,e=i)):(be=e,e=i),e}())===i&&(e=function(){var e,n,r,o;return e=be,t.substr(be,13)===M?(n=M,be+=13):(n=i,0===Oe&&Se(j)),n!==i&&ze()!==i?(44===t.charCodeAt(be)?(r=p,be++):(r=i,0===Oe&&Se(v)),r!==i&&ze()!==i&&(o=Ie())!==i?(xe=e,n=N(o),e=n):(be=e,e=i)):(be=e,e=i),e}())===i&&(e=function(){var e,n,r,o,a;if(e=be,t.substr(be,6)===P?(n=P,be+=6):(n=i,0===Oe&&Se(A)),n!==i)if(ze()!==i)if(44===t.charCodeAt(be)?(r=p,be++):(r=i,0===Oe&&Se(v)),r!==i)if(ze()!==i){if(o=[],(a=Ae())!==i)for(;a!==i;)o.push(a),a=Ae();else o=i;o!==i?(xe=e,n=I(o),e=n):(be=e,e=i)}else be=e,e=i;else be=e,e=i;else be=e,e=i;else be=e,e=i;return e}()),e}())!==i?o=a=[a,u,c]:(be=o,o=i),o===i&&(o=null),o!==i&&(a=ze())!==i?(125===t.charCodeAt(be)?(u=m,be++):(u=i,0===Oe&&Se(y)),u!==i?(xe=e,n=g(r,o),e=n):(be=e,e=i)):(be=e,e=i)):(be=e,e=i),e}()),e}function Ae(){var e,n,r,o,a;return e=be,ze()!==i&&(n=function(){var e,n,r,o;return e=be,n=be,61===t.charCodeAt(be)?(r=R,be++):(r=i,0===Oe&&Se(z)),r!==i&&(o=Fe())!==i?n=r=[r,o]:(be=n,n=i),(e=n!==i?t.substring(e,be):n)===i&&(e=Be()),e}())!==i&&ze()!==i?(123===t.charCodeAt(be)?(r=d,be++):(r=i,0===Oe&&Se(h)),r!==i&&ze()!==i&&(o=Ne())!==i&&ze()!==i?(125===t.charCodeAt(be)?(a=m,be++):(a=i,0===Oe&&Se(y)),a!==i?(xe=e,e=D(n,o)):(be=e,e=i)):(be=e,e=i)):(be=e,e=i),e}function Ie(){var e,n,r,o;if(e=be,(n=function(){var e,n,r;return e=be,t.substr(be,7)===L?(n=L,be+=7):(n=i,0===Oe&&Se(F)),n!==i&&ze()!==i&&(r=Fe())!==i?(xe=e,e=n=U(r)):(be=e,e=i),e}())===i&&(n=null),n!==i)if(ze()!==i){if(r=[],(o=Ae())!==i)for(;o!==i;)r.push(o),o=Ae();else r=i;r!==i?(xe=e,e=n=B(n,r)):(be=e,e=i)}else be=e,e=i;else be=e,e=i;return e}function Re(){var e,n;if(Oe++,e=[],H.test(t.charAt(be))?(n=t.charAt(be),be++):(n=i,0===Oe&&Se(q)),n!==i)for(;n!==i;)e.push(n),H.test(t.charAt(be))?(n=t.charAt(be),be++):(n=i,0===Oe&&Se(q));else e=i;return Oe--,e===i&&(n=i,0===Oe&&Se(W)),e}function ze(){var e,n,r;for(Oe++,e=be,n=[],r=Re();r!==i;)n.push(r),r=Re();return e=n!==i?t.substring(e,be):n,Oe--,e===i&&(n=i,0===Oe&&Se(V)),e}function De(){var e;return Y.test(t.charAt(be))?(e=t.charAt(be),be++):(e=i,0===Oe&&Se(G)),e}function Le(){var e;return $.test(t.charAt(be))?(e=t.charAt(be),be++):(e=i,0===Oe&&Se(K)),e}function Fe(){var e,n,r,o,a,u;if(e=be,48===t.charCodeAt(be)?(n=X,be++):(n=i,0===Oe&&Se(Q)),n===i){if(n=be,r=be,Z.test(t.charAt(be))?(o=t.charAt(be),be++):(o=i,0===Oe&&Se(J)),o!==i){for(a=[],u=De();u!==i;)a.push(u),u=De();a!==i?r=o=[o,a]:(be=r,r=i)}else be=r,r=i;n=r!==i?t.substring(n,be):r}return n!==i&&(xe=e,n=ee(n)),e=n}function Ue(){var e,n,r,o,a,u,c,l;return te.test(t.charAt(be))?(e=t.charAt(be),be++):(e=i,0===Oe&&Se(ne)),e===i&&(e=be,t.substr(be,2)===re?(n=re,be+=2):(n=i,0===Oe&&Se(ie)),n!==i&&(xe=e,n=oe()),(e=n)===i&&(e=be,t.substr(be,2)===ae?(n=ae,be+=2):(n=i,0===Oe&&Se(ue)),n!==i&&(xe=e,n=ce()),(e=n)===i&&(e=be,t.substr(be,2)===le?(n=le,be+=2):(n=i,0===Oe&&Se(se)),n!==i&&(xe=e,n=fe()),(e=n)===i&&(e=be,t.substr(be,2)===de?(n=de,be+=2):(n=i,0===Oe&&Se(he)),n!==i&&(xe=e,n=pe()),(e=n)===i&&(e=be,t.substr(be,2)===ve?(n=ve,be+=2):(n=i,0===Oe&&Se(me)),n!==i?(r=be,o=be,(a=Le())!==i&&(u=Le())!==i&&(c=Le())!==i&&(l=Le())!==i?o=a=[a,u,c,l]:(be=o,o=i),(r=o!==i?t.substring(r,be):o)!==i?(xe=e,e=n=ye(r)):(be=e,e=i)):(be=e,e=i)))))),e}function Be(){var e,t,n;if(e=be,t=[],(n=Ue())!==i)for(;n!==i;)t.push(n),n=Ue();else t=i;return t!==i&&(xe=e,t=ge(t)),e=t}if((n=a())!==i&&be===t.length)return n;throw n!==i&&be<t.length&&Se({type:"end",description:"end of input"}),Me(null,ke,we<t.length?t.charAt(we):null,we<t.length?Ce(we,we+1):Ce(we,we))}}}()},function(e,t,n){"use strict";t.default={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],i=Number(n[0])==e,o=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&r?"one":"other"}}},,function(e,t,n){"use strict";var r=n(274),i=n(277);r.default.__addLocaleData(i.default),r.default.defaultLocale="en",t.default=r.default},function(e,t,n){"use strict";var r=n(51),i=n(275),o=n(276);t.default=c;var a=["second","second-short","minute","minute-short","hour","hour-short","day","day-short","month","month-short","year","year-short"],u=["best fit","numeric"];function c(e,t){t=t||{},o.isArray(e)&&(e=e.concat()),o.defineProperty(this,"_locale",{value:this._resolveLocale(e)}),o.defineProperty(this,"_options",{value:{style:this._resolveStyle(t.style),units:this._isValidUnits(t.units)&&t.units}}),o.defineProperty(this,"_locales",{value:e}),o.defineProperty(this,"_fields",{value:this._findFields(this._locale)}),o.defineProperty(this,"_messages",{value:o.objCreate(null)});var n=this;this.format=function(e,t){return n._format(e,t)}}o.defineProperty(c,"__localeData__",{value:o.objCreate(null)}),o.defineProperty(c,"__addLocaleData",{value:function(e){if(!e||!e.locale)throw new Error("Locale data provided to IntlRelativeFormat is missing a `locale` property value");c.__localeData__[e.locale.toLowerCase()]=e,r.default.__addLocaleData(e)}}),o.defineProperty(c,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),o.defineProperty(c,"thresholds",{enumerable:!0,value:{second:45,"second-short":45,minute:45,"minute-short":45,hour:22,"hour-short":22,day:26,"day-short":26,month:11,"month-short":11}}),c.prototype.resolvedOptions=function(){return{locale:this._locale,style:this._options.style,units:this._options.units}},c.prototype._compileMessage=function(e){var t,n=this._locales,i=(this._locale,this._fields[e].relativeTime),o="",a="";for(t in i.future)i.future.hasOwnProperty(t)&&(o+=" "+t+" {"+i.future[t].replace("{0}","#")+"}");for(t in i.past)i.past.hasOwnProperty(t)&&(a+=" "+t+" {"+i.past[t].replace("{0}","#")+"}");var u="{when, select, future {{0, plural, "+o+"}}past {{0, plural, "+a+"}}}";return new r.default(u,n)},c.prototype._getMessage=function(e){var t=this._messages;return t[e]||(t[e]=this._compileMessage(e)),t[e]},c.prototype._getRelativeUnits=function(e,t){var n=this._fields[t];if(n.relative)return n.relative[e]},c.prototype._findFields=function(e){for(var t=c.__localeData__,n=t[e.toLowerCase()];n;){if(n.fields)return n.fields;n=n.parentLocale&&t[n.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlRelativeFormat is missing `fields` for :"+e)},c.prototype._format=function(e,t){var n=t&&void 0!==t.now?t.now:o.dateNow();if(void 0===e&&(e=n),!isFinite(n))throw new RangeError("The `now` option provided to IntlRelativeFormat#format() is not in valid range.");if(!isFinite(e))throw new RangeError("The date value provided to IntlRelativeFormat#format() is not in valid range.");var r=i.default(n,e),a=this._options.units||this._selectUnits(r),u=r[a];if("numeric"!==this._options.style){var c=this._getRelativeUnits(u,a);if(c)return c}return this._getMessage(a).format({0:Math.abs(u),when:u<0?"past":"future"})},c.prototype._isValidUnits=function(e){if(!e||o.arrIndexOf.call(a,e)>=0)return!0;if("string"===typeof e){var t=/s$/.test(e)&&e.substr(0,e.length-1);if(t&&o.arrIndexOf.call(a,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: "'+a.join('", "')+'"')},c.prototype._resolveLocale=function(e){"string"===typeof e&&(e=[e]),e=(e||[]).concat(c.defaultLocale);var t,n,r,i,o=c.__localeData__;for(t=0,n=e.length;t<n;t+=1)for(r=e[t].toLowerCase().split("-");r.length;){if(i=o[r.join("-")])return i.locale;r.pop()}var a=e.pop();throw new Error("No locale data has been added to IntlRelativeFormat for: "+e.join(", ")+", or the default locale: "+a)},c.prototype._resolveStyle=function(e){if(!e)return u[0];if(o.arrIndexOf.call(u,e)>=0)return e;throw new Error('"'+e+'" is not a valid IntlRelativeFormat `style` value, it must be one of: "'+u.join('", "')+'"')},c.prototype._selectUnits=function(e){var t,n,r,i=a.filter(function(e){return e.indexOf("-short")<1});for(t=0,n=i.length;t<n&&(r=i[t],!(Math.abs(e[r])<c.thresholds[r]));t+=1);return r}},function(e,t,n){"use strict";var r=Math.round;t.default=function(e,t){var n=r((t=+t)-(e=+e)),i=r(n/1e3),o=r(i/60),a=r(o/60),u=r(a/24),c=r(u/7),l=400*u/146097,s=r(12*l),f=r(l);return{millisecond:n,second:i,"second-short":i,minute:o,"minute-short":o,hour:a,"hour-short":a,day:u,"day-short":u,week:c,"week-short":c,month:s,"month-short":s,year:f,"year-short":f}}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),a=(!o&&Object.prototype.__defineGetter__,o?Object.defineProperty:function(e,t,n){"get"in n&&e.__defineGetter__?e.__defineGetter__(t,n.get):(!r.call(e,t)||"value"in n)&&(e[t]=n.value)}),u=Object.create||function(e,t){var n,i;function o(){}for(i in o.prototype=e,n=new o,t)r.call(t,i)&&a(n,i,t[i]);return n},c=Array.prototype.indexOf||function(e,t){if(!this.length)return-1;for(var n=t||0,r=this.length;n<r;n++)if(this[n]===e)return n;return-1},l=Array.isArray||function(e){return"[object Array]"===i.call(e)},s=Date.now||function(){return(new Date).getTime()};t.defineProperty=a,t.objCreate=u,t.arrIndexOf=c,t.isArray=l,t.dateNow=s},function(e,t,n){"use strict";t.default={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],i=Number(n[0])==e,o=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":3==o&&13!=a?"few":"other":1==e&&r?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}}},,function(e,t,n){"use strict";var r=n(280);function i(){}e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var u=new Error("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");throw u.name="Invariant Violation",u}}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,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(282);function i(e){var t,n,r,i,o=[],a=[];for(t in e)e.hasOwnProperty(t)&&a.push(t);var u=a.sort();for(n=0,r=u.length;n<r;n+=1)(i={})[t=u[n]]=e[t],o[n]=i;return o}t.default=function(e){var t=r.objCreate(null);return function(){var n=Array.prototype.slice.call(arguments),o=function(e){if("undefined"===typeof JSON)return;var t,n,r,o=[];for(t=0,n=e.length;t<n;t+=1)(r=e[t])&&"object"===typeof r?o.push(i(r)):o.push(r);return JSON.stringify(o)}(n),a=o&&t[o];return a||(a=new(r.bind.apply(e,[null].concat(n))),o&&(t[o]=a)),a}}},function(e,t,n){"use strict";var r=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(){},i=function(){return n.apply(this instanceof r?this:e,t.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(r.prototype=this.prototype),i.prototype=new r,i},i=Object.prototype.hasOwnProperty,o=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),a=(!o&&Object.prototype.__defineGetter__,o?Object.defineProperty:function(e,t,n){"get"in n&&e.__defineGetter__?e.__defineGetter__(t,n.get):(!i.call(e,t)||"value"in n)&&(e[t]=n.value)}),u=Object.create||function(e,t){var n,r;function o(){}for(r in o.prototype=e,n=new o,t)i.call(t,r)&&a(n,r,t[r]);return n};t.bind=r,t.defineProperty=a,t.objCreate=u},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,l=[],s=!1,f=-1;function d(){s&&c&&(s=!1,c.length?l=c.concat(l):f=-1,l.length&&h())}function h(){if(!s){var e=u(d);s=!0;for(var t=l.length;t;){for(c=l,l=[];++f<t;)c&&c[f].run();f=-1,t=l.length}c=null,s=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||s||u(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(i){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function a(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=o(t,n).join("")).match(r);return e}}e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var n={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},r=i.exec(e);r;){try{n[r[0]]=decodeURIComponent(r[0])}catch(t){var o=a(r[0]);o!==r[0]&&(n[r[0]]=o)}r=i.exec(e)}n["%C2"]="\ufffd";for(var u=Object.keys(n),c=0;c<u.length;c++){var l=u[c];e=e.replace(new RegExp(l,"g"),n[l])}return e}(e)}}},function(e,t){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?n.push(t.charAt(i>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}};e.exports=n}()},function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),i=n(68),o=n(289);function a(e,t){var n=r.select("svg").append("g").attr("class","detailed node"),i=n.append("text").attr("class",t).text(e).node().getComputedTextLength();return n.remove(),i}t.getLength=a;var u=new Map([["F","\u2640"],["M","\u2642"]]),c=function(){function e(e){this.options=e}return e.prototype.getIndiDetails=function(e){var t=[],n=e.getBirthDate()&&e.getBirthDate().date&&o.formatDate(e.getBirthDate().date,this.options.locale),r=e.getBirthPlace(),i=e.getDeathDate()&&e.getDeathDate().date&&o.formatDate(e.getDeathDate().date,this.options.locale),a=e.getDeathPlace();n&&t.push({symbol:"",text:n}),r&&t.push({symbol:"",text:r}),(n||r)&&(t[0].symbol="*");var u=t.length;return i&&t.push({symbol:"",text:i}),a&&t.push({symbol:"",text:a}),(i||a)&&(t[u].symbol="+"),t},e.prototype.getFamDetails=function(e){var t=[],n=e.getMarriageDate()&&e.getMarriageDate().date&&o.formatDate(e.getMarriageDate().date,this.options.locale),r=e.getMarriagePlace();return n&&t.push({symbol:"",text:n}),r&&t.push({symbol:"",text:r}),(n||r)&&(t[0].symbol="\u26ad"),t},e.prototype.getPreferredIndiSize=function(e){var t=this.options.data.getIndi(e),n=this.getIndiDetails(t),i=r.max([58+14*n.length,t.getImageUrl()&&90]),o=r.max(n.map(function(e){return a(e.text,"details")}));return[r.max([o+22,a(t.getFirstName(),"name")+8,a(t.getLastName(),"name")+8,64])+(t.getImageUrl()?70:0),i]},e.prototype.getPreferredFamSize=function(e){var t=this.options.data.getFam(e),n=this.getFamDetails(t),i=r.max([10+14*n.length,10]),o=r.max(n.map(function(e){return a(e.text,"details")}));return[r.max([o+22,15]),i]},e.prototype.render=function(e,t){var n=this;e=e.append("g").attr("class","detailed"),t=t.select("g");var o=e.merge(t).selectAll("g.indi").data(function(e){var t=[],o=!n.options.horizontal&&e.data.family?r.max([-i.getFamPositionVertical(e.data),0]):0,a=n.options.horizontal&&e.data.family?r.max([-i.getFamPositionHorizontal(e.data),0]):0;return e.data.indi&&t.push({indi:e.data.indi,generation:e.data.generation,xOffset:o,yOffset:0}),e.data.spouse&&t.push({indi:e.data.spouse,generation:e.data.generation,xOffset:!n.options.horizontal&&e.data.indi?e.data.indi.width+o:0,yOffset:n.options.horizontal&&e.data.indi?e.data.indi.height+a:0}),t},function(e){return e.indi.id}),a=o.enter().append("g").attr("class","indi");this.transition(a.merge(o)).attr("transform",function(e){return"translate("+e.xOffset+", "+e.yOffset+")"}),this.renderIndi(a,o);var u=e.select(function(e){return e.data.family?this:null}).append("g").attr("class","family"),c=t.select(function(e){return e.data.family?this:null}).select("g.family");this.transition(u.merge(c)).attr("transform",function(e){return n.getFamTransform(e.data)}),this.renderFamily(u,c)},e.prototype.getCss=function(){return"\n.detailed text {\n font: 12px verdana;\n}\n\n.detailed .name {\n font-weight: bold;\n}\n\n.link {\n fill: none;\n stroke: #000;\n stroke-width: 1px;\n}\n\n.additional-marriage {\n stroke-dasharray: 2;\n}\n\n.detailed rect {\n stroke: black;\n}\n\n.detailed {\n stroke-width: 2px;\n}\n\n.detailed .details {\n font-size: 10px;\n}\n\n.detailed .id {\n font-size: 10px;\n font-style: italic;\n}\n\n.detailed rect {\n fill: #ffffdd;\n}\n\n.generation-11 .detailed rect, .generation1 .detailed rect {\n fill: #edffdb;\n}\n\n.generation-10 .detailed rect, .generation2 .detailed rect {\n fill: #dbffdb;\n}\n\n.generation-9 .detailed rect, .generation3 .detailed rect {\n fill: #dbffed;\n}\n\n.generation-8 .detailed rect, .generation4 .detailed rect {\n fill: #dbffff;\n}\n\n.generation-7 .detailed rect, .generation5 .detailed rect {\n fill: #dbedff;\n}\n\n.generation-6 .detailed rect, .generation6 .detailed rect {\n fill: #dbdbff;\n}\n\n.generation-5 .detailed rect, .generation7 .detailed rect {\n fill: #eddbff;\n}\n\n.generation-4 .detailed rect, .generation8 .detailed rect {\n fill: #ffdbff;\n}\n\n.generation-3 .detailed rect, .generation9 .detailed rect {\n fill: #ffdbed;\n}\n\n.generation-2 .detailed rect, .generation10 .detailed rect {\n fill: #ffdbdb;\n}\n\n.generation-1 .detailed rect, .generation11 .detailed rect {\n fill: #ffeddb;\n}"},e.prototype.transition=function(e){return this.options.animate?e.transition().delay(200).duration(500):e},e.prototype.getFamTransform=function(e){return this.options.horizontal?"translate("+(e.indi&&e.indi.width||e.spouse.width)+", "+r.max([i.getFamPositionHorizontal(e),0])+")":"translate("+r.max([i.getFamPositionVertical(e),0])+", "+(e.indi&&e.indi.height||e.spouse.height)+")"},e.prototype.renderIndi=function(e,t){var n=this;this.options.indiHrefFunc&&(e=e.append("a").attr("href",function(e){return n.options.indiHrefFunc(e.indi.id)}),t=t.select("a")),this.options.indiCallback&&e.on("click",function(e){return n.options.indiCallback({id:e.indi.id,generation:e.generation})});var i=e.append("rect").attr("rx",5).attr("stroke-width",0).attr("class","background").merge(t.select("rect.background"));this.transition(i).attr("width",function(e){return e.indi.width}).attr("height",function(e){return e.indi.height});var o=function(e){return"clip-"+e};e.append("clipPath").attr("id",function(e){return o(e.indi.id)}).append("rect").attr("rx",5).merge(t.select("clipPath rect")).attr("width",function(e){return e.indi.width}).attr("height",function(e){return e.indi.height});var a=function(e){return n.options.data.getIndi(e.indi.id)},c=function(e){return e.indi.width-(a(e).getImageUrl()?70:0)};e.append("text").attr("text-anchor","middle").attr("class","name").attr("transform",function(e){return"translate("+c(e)/2+", 17)"}).text(function(e){return a(e).getFirstName()}),e.append("text").attr("text-anchor","middle").attr("class","name").attr("transform",function(e){return"translate("+c(e)/2+", 33)"}).text(function(e){return a(e).getLastName()});var l=new Map;e.each(function(e){var t=a(e),r=n.getIndiDetails(t);l.set(e.indi.id,r)});for(var s=r.max(Array.from(l.values(),function(e){return e.length})),f=function(t){var n=e.filter(function(e){return l.get(e.indi.id).length>t});n.append("text").attr("text-anchor","middle").attr("class","details").attr("transform","translate(9, "+(49+14*t)+")").text(function(e){return l.get(e.indi.id)[t].symbol}),n.append("text").attr("class","details").attr("transform","translate(15, "+(49+14*t)+")").text(function(e){return l.get(e.indi.id)[t].text})},d=0;d<s;++d)f(d);var h=e.append("text").attr("class","id").text(function(e){return e.indi.id}).merge(t.select("text.id"));this.transition(h).attr("transform",function(e){return"translate(9, "+(e.indi.height-5)+")"});var p=e.append("text").attr("class","details sex").attr("text-anchor","end").text(function(e){return u.get(a(e).getSex())}).merge(t.select("text.sex"));this.transition(p).attr("transform",function(e){return"translate("+(c(e)-5)+", "+(e.indi.height-5)+")"}),e.filter(function(e){return!!a(e).getImageUrl()}).append("image").attr("width",70).attr("transform",function(e){return"translate("+(e.indi.width-70)+", 0)"}).attr("clip-path",function(e){return"url(#"+o(e.indi.id)+")"}).attr("href",function(e){return a(e).getImageUrl()});var v=e.append("rect").attr("rx",5).attr("fill-opacity",0).attr("class","border").merge(t.select("rect.border"));this.transition(v).attr("width",function(e){return e.indi.width}).attr("height",function(e){return e.indi.height})},e.prototype.renderFamily=function(e,t){var n=this;this.options.famHrefFunc&&(e=e.append("a").attr("href",function(e){return n.options.famHrefFunc(e.data.family.id)})),this.options.famCallback&&e.on("click",function(e){return n.options.famCallback({id:e.data.family.id,generation:e.data.generation})}),e.append("rect").attr("rx",5).attr("ry",5).attr("width",function(e){return e.data.family.width}).attr("height",function(e){return e.data.family.height});var i=new Map;e.each(function(e){var t=e.data.family.id,r=n.options.data.getFam(t),o=n.getFamDetails(r);i.set(t,o)});for(var o=r.max(Array.from(i.values(),function(e){return e.length})),a=function(t){var n=e.filter(function(e){return i.get(e.data.family.id).length>t});n.append("text").attr("text-anchor","middle").attr("class","details").attr("transform","translate(9, "+(16+14*t)+")").text(function(e){return i.get(e.data.family.id)[t].symbol}),n.append("text").attr("text-anchor","left").attr("class","details").attr("transform","translate(15, "+(16+14*t)+")").text(function(e){return i.get(e.data.family.id)[t].text})},u=0;u<o;++u)a(u)},e}();t.DetailedRenderer=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=new Map([[1,"Jan"],[2,"Feb"],[3,"Mar"],[4,"Apr"],[5,"May"],[6,"Jun"],[7,"Jul"],[8,"Aug"],[9,"Sep"],[10,"Oct"],[11,"Nov"],[12,"Dec"]]),i=new Map([["pl",new Map([["cal","wyl."],["abt","ok."],["est","szac."]])]]);function o(e,t){return Intl&&Intl.DateTimeFormat?new Intl.DateTimeFormat(t,{month:"short"}).format(new Date(2e3,e-1)):r.get(e)}function a(e,t){var n=t&&t.split(/[-_]/)[0],r=i.get(n);return r&&r.get(e)||e}t.formatDate=function(e,t){return[a(e.qualifier,t),e.day,e.month&&o(e.month,t),e.year,e.text].join(" ")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(291);function i(e,t){return e.find(function(e){return e.tag===t})}function o(e,t){return e.filter(function(e){return e.tag===t})}function a(e){return e.substring(1,e.length-1)}var u=new Map([["jan",1],["feb",2],["mar",3],["apr",4],["may",5],["jun",6],["jul",7],["aug",8],["sep",9],["oct",10],["nov",11],["dec",12]]);function c(e){if(e&&e.length){var t={},n=e[0].toLowerCase();if(n.startsWith("(")&&e[e.length-1].endsWith(")"))return t.text=e.join(" "),t.text=t.text.substring(1,t.text.length-1),t;if("cal"!==n&&"abt"!==n&&"est"!==n||(t.qualifier=n,e=e.slice(1)),e.length&&e[e.length-1].match(/^\d\d\d\d$/)&&(t.year=Number(e[e.length-1]),e=e.slice(0,e.length-1)),e.length){var r=e[e.length-1].toLowerCase();u.has(r)&&(t.month=u.get(r),e=e.slice(0,e.length-1))}return e.length&&e[0].match(/^\d\d?$/)&&(t.day=Number(e[0])),t}}function l(e){if(e){var t=function(e){if(e&&e.data){var t=e.data.split(" "),n=t[0].toLowerCase();if("bet"===n){var r=t.findIndex(function(e){return"and"===e.toLowerCase()});return{dateRange:{from:c(t.slice(1,r)),to:c(t.slice(r+1))}}}if("bef"===n||"aft"===n){var i=c(t.slice(1));return"bef"===n?{dateRange:{to:i}}:{dateRange:{from:i}}}var o=c(t);return o?{date:o}:void 0}}(i(e.tree,"DATE")),n=i(e.tree,"PLAC"),r=n&&n.data;if(t||r){var o=t||{};return r&&(o.place=r),o.confirmed=!0,o}return e.data&&"y"===e.data.toLowerCase()?{confirmed:!0}:void 0}}function s(e){var t={id:a(e.pointer),fams:o(e.tree,"FAMS").map(function(e){return a(e.data)})},n=i(e.tree,"NAME");if(n){var r=function(e){var t=e.split("/");return 1===t.length?{firstName:t[0].trim()}:{firstName:t[0].trim(),lastName:t[1].trim()}}(n.data),u=r.firstName,c=r.lastName;u&&(t.firstName=u),c&&(t.lastName=c)}var s=i(e.tree,"SEX");s&&(t.sex=s.data);var f=i(e.tree,"FAMC");f&&(t.famc=a(f.data));var d=i(e.tree,"OBJE");if(d){var h=i(d.tree,"FILE");h&&(t.imageUrl=h.data)}var p=l(i(e.tree,"BIRT"));p&&(t.birth=p);var v=l(i(e.tree,"DEAT"));return v&&(t.death=v),t}function f(e){var t={id:a(e.pointer),children:o(e.tree,"CHIL").map(function(e){return a(e.data)})},n=i(e.tree,"HUSB");n&&(t.husb=a(n.data));var r=i(e.tree,"WIFE");r&&(t.wife=a(r.data));var u=l(i(e.tree,"MARR"));return u&&(t.marriage=u),t}t.gedcomToJson=function(e){var t=r.parse(e);return{indis:o(t,"INDI").map(s),fams:o(t,"FAM").map(f)}}},function(e,t,n){var r=n(292),i=/\s*(0|[1-9]+[0-9]*) (@[^@]+@ |)([A-Za-z0-9_]+)( [^\n\r]*|)/;e.exports.parse=function(e){var t={root:{tree:[]},level:0};return t.pointer=t.root,r(e.split("\n").map(function(e){var t=e.match(i);return t?{level:parseInt(t[1],10),pointer:t[2].trim(),tag:t[3].trim(),data:t[4].trim(),tree:[]}:null}).filter(function(e){return e}).reduce(function(e,t){if(t.level===e.level)e.pointer.tree.push(t);else if(t.level>e.level){var n=e.pointer;e.pointer=e.pointer.tree[e.pointer.tree.length-1],e.pointer.tree.push(t),e.pointer.up=n,e.level=t.level}else if(t.level<e.level){for(;t.level<=e.pointer.level&&e.pointer.up;)e.pointer=e.pointer.up;e.pointer.tree.push(t),e.level=t.level}return e},t).root.tree).map(function(e){delete e.up,delete e.level,this.update(e)})},e.exports.d3ize=n(293)},function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function i(e,t,n){var r=[],i=[],u=!0;return function e(f){var d=n?o(f):f,h={},p=!0,v={node:d,node_:f,path:[].concat(r),parent:i[i.length-1],parents:i,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){v.isRoot||(v.parent.node[v.key]=e),v.node=e,t&&(p=!1)},delete:function(e){delete v.parent.node[v.key],e&&(p=!1)},remove:function(e){c(v.parent.node)?v.parent.node.splice(v.key,1):delete v.parent.node[v.key],e&&(p=!1)},keys:null,before:function(e){h.before=e},after:function(e){h.after=e},pre:function(e){h.pre=e},post:function(e){h.post=e},stop:function(){u=!1},block:function(){p=!1}};if(!u)return v;function m(){if("object"===typeof v.node&&null!==v.node){v.keys&&v.node_===v.node||(v.keys=a(v.node)),v.isLeaf=0==v.keys.length;for(var e=0;e<i.length;e++)if(i[e].node_===f){v.circular=i[e];break}}else v.isLeaf=!0,v.keys=null;v.notLeaf=!v.isLeaf,v.notRoot=!v.isRoot}m();var y=t.call(v,v.node);return void 0!==y&&v.update&&v.update(y),h.before&&h.before.call(v,v.node),p?("object"!=typeof v.node||null===v.node||v.circular||(i.push(v),m(),l(v.keys,function(t,i){r.push(t),h.pre&&h.pre.call(v,v.node[t],t);var o=e(v.node[t]);n&&s.call(v.node,t)&&(v.node[t]=o.node),o.isLast=i==v.keys.length-1,o.isFirst=0==i,h.post&&h.post.call(v,o),r.pop()}),i.pop()),h.after&&h.after.call(v,v.node),v):v}(e).node}function o(e){if("object"===typeof e&&null!==e){var t;if(c(e))t=[];else if("[object Date]"===u(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===u(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===u(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===u(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===u(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===u(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},r=function(){};r.prototype=n,t=new r}return l(a(e),function(n){t[n]=e[n]}),t}return e}r.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!s.call(t,r)){t=void 0;break}t=t[r]}return t},r.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!s.call(t,r))return!1;t=t[r]}return!0},r.prototype.set=function(e,t){for(var n=this.value,r=0;r<e.length-1;r++){var i=e[r];s.call(n,i)||(n[i]={}),n=n[i]}return n[e[r]]=t,t},r.prototype.map=function(e){return i(this.value,e,!0)},r.prototype.forEach=function(e){return this.value=i(this.value,e,!1),this.value},r.prototype.reduce=function(e,t){var n=1===arguments.length,r=n?this.value:t;return this.forEach(function(t){this.isRoot&&n||(r=e.call(this,r,t))}),r},r.prototype.paths=function(){var e=[];return this.forEach(function(t){e.push(this.path)}),e},r.prototype.nodes=function(){var e=[];return this.forEach(function(t){e.push(this.node)}),e},r.prototype.clone=function(){var e=[],t=[];return function n(r){for(var i=0;i<e.length;i++)if(e[i]===r)return t[i];if("object"===typeof r&&null!==r){var u=o(r);return e.push(r),t.push(u),l(a(r),function(e){u[e]=n(r[e])}),e.pop(),t.pop(),u}return r}(this.value)};var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function u(e){return Object.prototype.toString.call(e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};l(a(r.prototype),function(e){n[e]=function(t){var n=[].slice.call(arguments,1),i=new r(t);return i[e].apply(i,n)}});var s=Object.hasOwnProperty||function(e,t){return t in e}},function(e,t){function n(e){return function(t){return t.tag===e}}function r(e){return e.id=e.pointer,e.name=function(e){if("INDI"!==e.tag)return"Family";var t=(e.tree.filter(n("NAME"))||[])[0];return t?t.data.replace(/\//g,""):void 0}(e),e}e.exports=function(e){var t=e.filter(n("INDI")).map(r),i=e.filter(n("FAM")),o=i.map(r),a=i.reduce(function(e,t){return e.concat(function(e){return e.tree.filter(function(e){return e.data&&"@"===e.data[0]}).map(function(t){return{source:e.pointer,target:t.data}})}(t))},[]),u=t.concat(o),c=u.reduce(function(e,t,n){return e[t.id]=n,e},{});return{nodes:u,links:a=a.map(function(e){return function(t){function n(t){return e[t]}return{source:n(t.source),target:n(t.target)}}}(c))}}},function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(157),o=n(68),a=n(160),u=function(){function e(e){this.options=e,this.util=new o.ChartUtil(e)}return e.prototype.getFamilies=function(e){return this.options.data.getIndi(this.options.startIndi).getFamiliesAsSpouse()},e.prototype.render=function(){var e=r({},this.options),t=this.options.startIndi&&this.getFamilies(this.options.startIndi)||[];t.length&&(e.startFam=t[0],e.startIndi=void 0,this.options.data.getFam(t[0]).getMother()===this.options.startIndi&&(e.swapStartSpouses=!0));var n=new i.AncestorChart(e).createHierarchy();t.length>1&&n.children.length>1&&n.children.pop();var o=this.util.layOutChart(n,!0),u=new a.DescendantChart(this.options).createHierarchy(),c=a.removeDummyNode(this.util.layOutChart(u)),l=o.slice(1).concat(c);this.util.renderChart(l);var s=this.util.getChartInfo(l);return this.util.updateSvgDimensions(s),s},e}();t.HourglassChart=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),i=n(159),o="svg";var a=function(){function e(e){this.options=e,this.initialRender=!0}return e.prototype.render=function(e){void 0===e&&(e={});var t=function(e,t,n){var r=new i.JsonDataProvider(e.json),a=e.indiUrl?function(t){return e.indiUrl.replace("${id}",t)}:void 0,u=e.famUrl?function(t){return e.famUrl.replace("${id}",t)}:void 0;t.startIndi||t.startFam||(t.startIndi=e.json.indis[0].id);var c=!n.initialRender&&e.animate;return{data:r,renderer:new e.renderer({data:r,indiHrefFunc:a,famHrefFunc:u,indiCallback:e.indiCallback,famCallback:e.famCallback,horizontal:e.horizontal,animate:c,locale:e.locale}),startIndi:t.startIndi,startFam:t.startFam,svgSelector:e.svgSelector||o,horizontal:e.horizontal,baseGeneration:t.baseGeneration,animate:c}}(this.options,e,{initialRender:this.initialRender});this.initialRender=!1;var n=new this.options.chartType(t).render();return!1!==this.options.updateSvgSize&&r.select(t.svgSelector).attr("width",n.size[0]).attr("height",n.size[1]),n},e}();t.createChart=function(e){return new a(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26);function i(e){var t=r.select("svg").append("g").attr("class","simple node"),n=t.append("text").attr("class","name").text(e).node().getComputedTextLength();return t.remove(),n}function o(e){return[e.getFirstName()||"",e.getLastName()||""].join(" ")}function a(e){var t=e.getBirthDate(),n=t&&t.date&&t.date.year,r=e.getDeathDate(),i=r&&r.date&&r.date.year;return n||i?(n||"")+" \u2013 "+(i||""):""}var u=function(){function e(e){this.options=e}return e.prototype.getPreferredIndiSize=function(e){var t=this.options.data.getIndi(e),n=a(t);return[Math.max(i(o(t))+8,i(n),50),n?41:27]},e.prototype.getPreferredFamSize=function(e){return[0,0]},e.prototype.render=function(e,t){var n=e.merge(t).append("g").attr("class","simple");this.renderIndi(n,function(e){return e.indi});var r=n.filter(function(e){return!!e.data.spouse}).append("g").attr("transform",function(e){return"translate(0, "+e.data.indi.height+")"});this.renderIndi(r,function(e){return e.spouse})},e.prototype.getCss=function(){return"\n.simple text {\n font: 12px sans-serif;\n}\n\n.simple .name {\n font-weight: bold;\n}\n\n.simple rect {\n fill: #fff;\n stroke: black;\n}\n\n.link {\n fill: none;\n stroke: #000;\n stroke-width: 1px;\n}\n\n.additional-marriage {\n stroke-dasharray: 2;\n}"},e.prototype.renderIndi=function(e,t){var n=this,r=this.options.indiHrefFunc?e.append("a").attr("href",function(e){return n.options.indiHrefFunc(t(e.data).id)}):e;r.append("rect").attr("width",function(e){return t(e.data).width}).attr("height",function(e){return t(e.data).height}),r.append("text").attr("text-anchor","middle").attr("class","name").attr("transform",function(e){return"translate("+t(e.data).width/2+", 17)"}).text(function(e){return o(n.options.data.getIndi(t(e.data).id))}),r.append("text").attr("text-anchor","middle").attr("class","details").attr("transform",function(e){return"translate("+t(e.data).width/2+", 33)"}).text(function(e){return a(n.options.data.getIndi(t(e.data).id))})},e}();t.SimpleRenderer=u},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){var r=n(299),i=n(78),o=n(111);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(300),i=n(307),o=n(308),a=n(309),u=n(310);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(77);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(48),i=n(304),o=n(22),a=n(163),u=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,s=c.toString,f=l.hasOwnProperty,d=RegExp("^"+s.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:u).test(a(e))}},function(e,t,n){var r=n(54),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(c){}var i=a.call(e);return r&&(t?e[u]=n:delete e[u]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(305),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(18)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(77),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(77),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(77),i="__lodash_hash_undefined__";e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(79),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(79);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(79);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(79);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(81);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(81);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(81);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(81);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},function(e,t){var n="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,n),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e){return e!==e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(326),i=n(167),o=n(56),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var r=n(43),i=n(21),o=n(44);e.exports=function(e){return function(t,n,a){var u=Object(t);if(!i(t)){var c=r(n,3);t=o(t),n=function(e){return c(u[e],e,u)}}var l=e(t,n,a);return l>-1?u[c?t[l]:l]:void 0}}},function(e,t,n){var r=n(329),i=n(345),o=n(184);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(115),i=n(116),o=1,a=2;e.exports=function(e,t,n,u){var c=n.length,l=c,s=!u;if(null==e)return!l;for(e=Object(e);c--;){var f=n[c];if(s&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++c<l;){var d=(f=n[c])[0],h=e[d],p=f[1];if(s&&f[2]){if(void 0===h&&!(d in e))return!1}else{var v=new r;if(u)var m=u(h,p,d,e,t,v);if(!(void 0===m?i(p,h,o|a,u,v):m))return!1}}return!0}},function(e,t,n){var r=n(78);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(78),i=n(111),o=n(110),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var u=n.__data__;if(!i||u.length<a-1)return u.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(u)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(115),i=n(171),o=n(336),a=n(337),u=n(45),c=n(15),l=n(88),s=n(120),f=1,d="[object Arguments]",h="[object Array]",p="[object Object]",v=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,y,g){var b=c(e),x=c(t),_=b?h:u(e),w=x?h:u(t),k=(_=_==d?p:_)==p,O=(w=w==d?p:w)==p,T=_==w;if(T&&l(e)){if(!l(t))return!1;b=!0,k=!1}if(T&&!k)return g||(g=new r),b||s(e)?i(e,t,n,m,y,g):o(e,t,_,n,m,y,g);if(!(n&f)){var E=k&&v.call(e,"__wrapped__"),C=O&&v.call(t,"__wrapped__");if(E||C){var S=E?e.value():e,M=C?t.value():t;return g||(g=new r),y(S,M,n,m,g)}}return!!T&&(g||(g=new r),a(e,t,n,m,y,g))}},function(e,t,n){var r=n(54),i=n(173),o=n(80),a=n(171),u=n(174),c=n(86),l=1,s=2,f="[object Boolean]",d="[object Date]",h="[object Error]",p="[object Map]",v="[object Number]",m="[object RegExp]",y="[object Set]",g="[object String]",b="[object Symbol]",x="[object ArrayBuffer]",_="[object DataView]",w=r?r.prototype:void 0,k=w?w.valueOf:void 0;e.exports=function(e,t,n,r,w,O,T){switch(n){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!O(new i(e),new i(t)));case f:case d:case v:return o(+e,+t);case h:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case p:var E=u;case y:var C=r&l;if(E||(E=c),e.size!=t.size&&!C)return!1;var S=T.get(e);if(S)return S==t;r|=s,T.set(e,t);var M=a(E(e),E(t),r,w,O,T);return T.delete(e),M;case b:if(k)return k.call(e)==k.call(t)}return!1}},function(e,t,n){var r=n(175),i=1,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,u,c){var l=n&i,s=r(e),f=s.length;if(f!=r(t).length&&!l)return!1;for(var d=f;d--;){var h=s[d];if(!(l?h in t:o.call(t,h)))return!1}var p=c.get(e);if(p&&c.get(t))return p==t;var v=!0;c.set(e,t),c.set(t,e);for(var m=l;++d<f;){var y=e[h=s[d]],g=t[h];if(a)var b=l?a(g,y,h,t,e,c):a(y,g,h,e,t,c);if(!(void 0===b?y===g||u(y,g,n,a,c):b)){v=!1;break}m||(m="constructor"==h)}if(v&&!m){var x=e.constructor,_=t.constructor;x!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof x&&x instanceof x&&"function"==typeof _&&_ instanceof _)&&(v=!1)}return c.delete(e),c.delete(t),v}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(20),i=n(17),o="[object Arguments]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(20),i=n(114),o=n(17),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},function(e,t,n){var r=n(180)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(53)(n(18),"DataView");e.exports=r},function(e,t,n){var r=n(53)(n(18),"Promise");e.exports=r},function(e,t,n){var r=n(183),i=n(44);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},function(e,t,n){var r=n(116),i=n(29),o=n(186),a=n(121),u=n(183),c=n(184),l=n(57),s=1,f=2;e.exports=function(e,t){return a(e)&&u(t)?c(l(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,s|f)}}},function(e,t,n){var r=n(348),i=500;e.exports=function(e){var t=r(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var r=n(110),i="Expected a function";function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(188),i=n(351),o=n(121),a=n(57);e.exports=function(e){return o(e)?r(a(e)):i(e)}},function(e,t,n){var r=n(92);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){var r=n(62);e.exports=function(e,t){var n;return r(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}},function(e,t,n){var r=n(354),i=n(44);e.exports=function(e,t){return e&&r(e,t,i)}},function(e,t,n){var r=n(355)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),u=a.length;u--;){var c=a[e?u:++i];if(!1===n(o[c],c,o))break}return t}}},function(e,t,n){var r=n(21);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,u=Object(n);(t?a--:++a<o)&&!1!==i(u[a],a,u););return n}}},function(e,t,n){var r=n(181),i=n(193),o=n(86),a=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i;e.exports=a},function(e,t,n){var r=n(62),i=n(21);e.exports=function(e,t){var n=-1,o=i(e)?Array(e.length):[];return r(e,function(e,r,i){o[++n]=t(e,r,i)}),o}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,o=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(c){i=!0,o=c}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){var r=n(55);e.exports=function(e,t){return r(t,function(t){return e[t]})}},function(e,t,n){var r=n(56);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){var r=n(84),i=n(71),o=n(365),a=n(366),u=n(57);e.exports=function(e,t,n){t=i(t,e);var c=null==(e=a(e,t))?e:e[u(o(t))];return null==c?void 0:r(c,e,n)}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(92),i=n(125);e.exports=function(e,t){return t.length<2?e:r(e,i(t,0,-1))}},function(e,t){var n=Math.max,r=Math.min;e.exports=function(e,t,i){return e>=r(t,i)&&e<n(t,i)}},function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(370);n(4);var i=n(0);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var d=function(){function e(t){o(this,e),c(this,"handlers",void 0),this.handlers=t.slice(0)}return u(e,[{key:"addHandlers",value:function(t){for(var n=this.handlers.slice(0),r=t.length,i=0;i<r;i+=1)n.push(t[i]);return new e(n)}},{key:"dispatchEvent",value:function(e,t){var n=this.handlers.length-1;if(t){for(var r=n;r>=0;r-=1)this.handlers[r].called||(this.handlers[r].called=!0,this.handlers[r](e));for(var i=n;i>=0;i-=1)this.handlers[i].called=!1}else(0,this.handlers[n])(e)}},{key:"hasHandlers",value:function(){return this.handlers.length>0}},{key:"removeHandlers",value:function(t){for(var n=[],r=this.handlers.length,i=0;i<r;i+=1){var o=this.handlers[i];-1===t.indexOf(o)&&n.push(o)}return new e(n)}}]),e}();function h(e){var t=new Map;return e.forEach(function(e,n){t.set(n,e)}),t}function p(e){return Array.isArray(e)?e:[e]}function v(e){return"document"===e?document:"window"===e?window:e||document}var m=function(){function e(t,n){o(this,e),c(this,"handlerSets",void 0),c(this,"poolName",void 0),this.handlerSets=n,this.poolName=t}return u(e,[{key:"addHandlers",value:function(t,n){var r=h(this.handlerSets);if(r.has(t)){var i=r.get(t);r.set(t,i.addHandlers(n))}else r.set(t,new d(n));return new e(this.poolName,r)}},{key:"dispatchEvent",value:function(e,t){var n=this.handlerSets.get(e),r="default"===this.poolName;n&&n.dispatchEvent(t,r)}},{key:"hasHandlers",value:function(){return this.handlerSets.size>0}},{key:"removeHandlers",value:function(t,n){var r=h(this.handlerSets);if(!r.has(t))return new e(this.poolName,r);var i=r.get(t).removeHandlers(n);return i.hasHandlers()?r.set(t,i):r.delete(t),new e(this.poolName,r)}}]),e}();c(m,"createByType",function(e,t,n){var r=new Map;return r.set(t,new d(n)),new m(e,r)});var y=function(){function e(t){var n=this;o(this,e),c(this,"handlers",new Map),c(this,"pools",new Map),c(this,"target",void 0),c(this,"createEmitter",function(e){return function(t){n.pools.forEach(function(n){n.dispatchEvent(e,t)})}}),this.target=t}return u(e,[{key:"addHandlers",value:function(e,t,n){if(this.pools.has(e)){var r=this.pools.get(e);this.pools.set(e,r.addHandlers(t,n))}else this.pools.set(e,m.createByType(e,t,n));this.handlers.has(t)||this.addTargetHandler(t)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(e,t,n){if(this.pools.has(e)){var r=this.pools.get(e).removeHandlers(t,n);r.hasHandlers()?this.pools.set(e,r):this.pools.delete(e),0===this.pools.size&&this.removeTargetHandler(t)}}},{key:"addTargetHandler",value:function(e){var t=this.createEmitter(e);this.handlers.set(e,t),this.target.addEventListener(e,t,!0)}},{key:"removeTargetHandler",value:function(e){this.handlers.has(e)&&(this.target.removeEventListener(e,this.handlers.get(e),!0),this.handlers.delete(e))}}]),e}(),g=new(function(){function e(){var t=this;o(this,e),c(this,"targets",new Map),c(this,"getTarget",function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=v(e);if(t.targets.has(r))return t.targets.get(r);if(!n)return null;var i=new y(r);return t.targets.set(r,i),i}),c(this,"removeTarget",function(e){t.targets.delete(v(e))})}return u(e,[{key:"sub",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r.canUseDOM){var i=n.target,o=void 0===i?document:i,a=n.pool,u=void 0===a?"default":a;this.getTarget(o).addHandlers(u,e,p(t))}}},{key:"unsub",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r.canUseDOM){var i=n.target,o=void 0===i?document:i,a=n.pool,u=void 0===a?"default":a,c=this.getTarget(o,!1);c&&(c.removeHandlers(u,e,p(t)),c.hasHandlers()||this.removeTarget(o))}}}]),e}()),b=function(e){function t(){return o(this,t),f(this,s(t).apply(this,arguments))}return l(t,i.PureComponent),u(t,[{key:"componentDidMount",value:function(){this.subscribe(this.props)}},{key:"componentDidUpdate",value:function(e){this.unsubscribe(e),this.subscribe(this.props)}},{key:"componentWillUnmount",value:function(){this.unsubscribe(this.props)}},{key:"subscribe",value:function(e){var t=e.name,n=e.on,r=e.pool,i=e.target;g.sub(t,n,{pool:r,target:i})}},{key:"unsubscribe",value:function(e){var t=e.name,n=e.on,r=e.pool,i=e.target;g.unsub(t,n,{pool:r,target:i})}},{key:"render",value:function(){return null}}]),t}();c(b,"defaultProps",{pool:"default",target:"document"}),b.propTypes={},t.instance=g,t.default=b},function(e,t,n){var r;!function(){"use strict";var i=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){var r=n(54),i=n(87),o=n(15),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(373),i=n(122),o=n(61),a=n(46);e.exports=function(e,t,n){return e=a(e),n=null==n?0:r(o(n),0,e.length),t=i(t),e.slice(n,n+t.length)==t}},function(e,t){e.exports=function(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}},function(e,t,n){var r=n(62);e.exports=function(e,t){var n=[];return r(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}},function(e,t,n){var r=n(55),i=n(376),o=n(69),a=n(377),u=o(function(e){var t=r(e,a);return t.length&&t[0]===e[0]?i(t):[]});e.exports=u},function(e,t,n){var r=n(76),i=n(82),o=n(112),a=n(55),u=n(60),c=n(83),l=Math.min;e.exports=function(e,t,n){for(var s=n?o:i,f=e[0].length,d=e.length,h=d,p=Array(d),v=1/0,m=[];h--;){var y=e[h];h&&t&&(y=a(y,u(t))),v=l(y.length,v),p[h]=!n&&(t||f>=120&&y.length>=120)?new r(h&&y):void 0}y=e[0];var g=-1,b=p[0];e:for(;++g<f&&m.length<v;){var x=y[g],_=t?t(x):x;if(x=n||0!==x?x:0,!(b?c(b,_):s(m,_,n))){for(h=d;--h;){var w=p[h];if(!(w?c(w,_):s(e[h],_,n)))continue e}b&&b.push(_),m.push(x)}}return m}},function(e,t,n){var r=n(85);e.exports=function(e){return r(e)?e:[]}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){e.exports=n(64)},function(e,t,n){var r=n(381),i=n(186);e.exports=function(e,t){return r(e,t,function(t,n){return i(e,n)})}},function(e,t,n){var r=n(92),i=n(382),o=n(71);e.exports=function(e,t,n){for(var a=-1,u=t.length,c={};++a<u;){var l=t[a],s=r(e,l);n(s,l)&&i(c,o(l,e),s)}return c}},function(e,t,n){var r=n(127),i=n(71),o=n(70),a=n(22),u=n(57);e.exports=function(e,t,n,c){if(!a(e))return e;for(var l=-1,s=(t=i(t,e)).length,f=s-1,d=e;null!=d&&++l<s;){var h=u(t[l]),p=n;if(l!=f){var v=d[h];void 0===(p=c?c(v,h,d):void 0)&&(p=a(v)?v:o(t[l+1])?[]:{})}r(d,h,p),d=d[h]}return e}},function(e,t,n){var r=n(94);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},function(e,t){e.exports=function(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}},function(e,t,n){var r=n(386),i=n(23),o=Array.prototype.push;function a(e,t){return 2==t?function(t,n){return e(t,n)}:function(t){return e(t)}}function u(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function c(e,t){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var i=r[0]=t.apply(void 0,r);return e.apply(void 0,r),i}}}e.exports=function e(t,n,l,s){var f="function"==typeof n,d=n===Object(n);if(d&&(s=l,l=n,n=void 0),null==l)throw new TypeError;s||(s={});var h={cap:!("cap"in s)||s.cap,curry:!("curry"in s)||s.curry,fixed:!("fixed"in s)||s.fixed,immutable:!("immutable"in s)||s.immutable,rearg:!("rearg"in s)||s.rearg},p=f?l:i,v="curry"in s&&s.curry,m="fixed"in s&&s.fixed,y="rearg"in s&&s.rearg,g=f?l.runInContext():void 0,b=f?l:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEach:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFunction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInteger:t.toInteger,toPath:t.toPath},x=b.ary,_=b.assign,w=b.clone,k=b.curry,O=b.forEach,T=b.isArray,E=b.isError,C=b.isFunction,S=b.isWeakMap,M=b.keys,j=b.rearg,N=b.toInteger,P=b.toPath,A=M(r.aryMethod),I={castArray:function(e){return function(){var t=arguments[0];return T(t)?e(u(t)):e.apply(void 0,arguments)}},iteratee:function(e){return function(){var t=arguments[0],n=arguments[1],r=e(t,n),i=r.length;return h.cap&&"number"==typeof n?(n=n>2?n-2:1,i&&i<=n?r:a(r,n)):r}},mixin:function(e){return function(t){var n=this;if(!C(n))return e(n,Object(t));var r=[];return O(M(t),function(e){C(t[e])&&r.push([e,n.prototype[e]])}),e(n,Object(t)),O(r,function(e){var t=e[1];C(t)?n.prototype[e[0]]=t:delete n.prototype[e[0]]}),n}},nthArg:function(e){return function(t){var n=t<0?1:N(t)+1;return k(e(t),n)}},rearg:function(e){return function(t,n){var r=n?n.length:0;return k(e(t,n),r)}},runInContext:function(n){return function(r){return e(t,n(r),s)}}};function R(e,t){if(h.cap){var n=r.iterateeRearg[e];if(n)return function(e,t){return U(e,function(e){var n=t.length;return function(e,t){return 2==t?function(t,n){return e.apply(void 0,arguments)}:function(t){return e.apply(void 0,arguments)}}(j(a(e,n),t),n)})}(t,n);var i=!f&&r.iterateeAry[e];if(i)return function(e,t){return U(e,function(e){return"function"==typeof e?a(e,t):e})}(t,i)}return t}function z(e,t,n){if(h.fixed&&(m||!r.skipFixed[e])){var i=r.methodSpread[e],a=i&&i.start;return void 0===a?x(t,n):function(e,t){return function(){for(var n=arguments.length,r=n-1,i=Array(n);n--;)i[n]=arguments[n];var a=i[t],u=i.slice(0,t);return a&&o.apply(u,a),t!=r&&o.apply(u,i.slice(t+1)),e.apply(this,u)}}(t,a)}return t}function D(e,t,n){return h.rearg&&n>1&&(y||!r.skipRearg[e])?j(t,r.methodRearg[e]||r.aryRearg[n]):t}function L(e,t){for(var n=-1,r=(t=P(t)).length,i=r-1,o=w(Object(e)),a=o;null!=a&&++n<r;){var u=t[n],c=a[u];null==c||C(c)||E(c)||S(c)||(a[u]=w(n==i?c:Object(c))),a=a[u]}return o}function F(t,n){var i=r.aliasToReal[t]||t,o=r.remap[i]||i,a=s;return function(t){var r=f?g:b,u=f?g[o]:n,c=_(_({},a),t);return e(r,i,u,c)}}function U(e,t){return function(){var n=arguments.length;if(!n)return e();for(var r=Array(n);n--;)r[n]=arguments[n];var i=h.rearg?0:n-1;return r[i]=t(r[i]),e.apply(void 0,r)}}function B(e,t,n){var i,o=r.aliasToReal[e]||e,a=t,l=I[o];return l?a=l(t):h.immutable&&(r.mutate.array[o]?a=c(t,u):r.mutate.object[o]?a=c(t,function(e){return function(t){return e({},t)}}(t)):r.mutate.set[o]&&(a=c(t,L))),O(A,function(e){return O(r.aryMethod[e],function(t){if(o==t){var n=r.methodSpread[o],u=n&&n.afterRearg;return i=u?z(o,D(o,a,e),e):D(o,z(o,a,e),e),i=R(o,i),c=i,l=e,i=v||h.curry&&l>1?k(c,l):c,!1}var c,l}),!i}),i||(i=a),i==t&&(i=v?k(i,1):function(){return t.apply(this,arguments)}),i.convert=F(o,t),i.placeholder=t.placeholder=n,i}if(!d)return B(n,l,p);var W=l,H=[];return O(A,function(e){O(r.aryMethod[e],function(e){var t=W[r.remap[e]||e];t&&H.push([e,B(e,t,W)])})}),O(M(W),function(e){var t=W[e];if("function"==typeof t){for(var n=H.length;n--;)if(H[n][0]==e)return;t.convert=F(e,t),H.push([e,t])}}),O(H,function(e){W[e[0]]=e[1]}),W.convert=function(e){return W.runInContext.convert(e)(void 0)},W.placeholder=W,O(M(W),function(e){O(r.realToAlias[e]||[],function(t){W[t]=W[e]})}),W}},function(e,t){t.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},t.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},t.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},t.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},t.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},t.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},t.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},t.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},t.realToAlias=function(){var e=Object.prototype.hasOwnProperty,n=t.aliasToReal,r={};for(var i in n){var o=n[i];e.call(r,o)?r[o].push(i):r[o]=[i]}return r}(),t.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},t.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},t.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(e,t,n){e.exports={ary:n(388),assign:n(213),clone:n(401),curry:n(420),forEach:n(93),isArray:n(15),isError:n(421),isFunction:n(48),isWeakMap:n(422),iteratee:n(423),keys:n(90),rearg:n(424),toInteger:n(61),toPath:n(425)}},function(e,t,n){var r=n(129),i=128;e.exports=function(e,t,n){return t=n?void 0:t,t=e&&null==t?e.length:t,r(e,i,void 0,void 0,void 0,void 0,t)}},function(e,t,n){var r=n(95),i=n(18),o=1;e.exports=function(e,t,n){var a=t&o,u=r(e);return function t(){return(this&&this!==i&&this instanceof t?u:e).apply(a?n:this,arguments)}}},function(e,t,n){var r=n(84),i=n(95),o=n(204),a=n(207),u=n(212),c=n(134),l=n(18);e.exports=function(e,t,n){var s=i(e);return function i(){for(var f=arguments.length,d=Array(f),h=f,p=u(i);h--;)d[h]=arguments[h];var v=f<3&&d[0]!==p&&d[f-1]!==p?[]:c(d,p);return(f-=v.length)<n?a(e,t,o,i.placeholder,void 0,d,v,void 0,void 0,n-f):r(this&&this!==l&&this instanceof i?s:e,this,d)}}},function(e,t){e.exports=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}},function(e,t){e.exports={}},function(e,t,n){var r=n(130),i=n(133),o=n(131),a=n(15),u=n(17),c=n(394),l=Object.prototype.hasOwnProperty;function s(e){if(u(e)&&!a(e)&&!(e instanceof r)){if(e instanceof i)return e;if(l.call(e,"__wrapped__"))return c(e)}return new i(e)}s.prototype=o.prototype,s.prototype.constructor=s,e.exports=s},function(e,t,n){var r=n(130),i=n(133),o=n(73);e.exports=function(e){if(e instanceof r)return e.clone();var t=new i(e.__wrapped__,e.__chain__);return t.__actions__=o(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},function(e,t){var n=/\{\n\/\* \[wrapped with (.+)\] \*/,r=/,? & /;e.exports=function(e){var t=e.match(n);return t?t[1].split(r):[]}},function(e,t){var n=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;e.exports=function(e,t){var r=t.length;if(!r)return e;var i=r-1;return t[i]=(r>1?"& ":"")+t[i],t=t.join(r>2?", ":" "),e.replace(n,"{\n/* [wrapped with "+t+"] */\n")}},function(e,t,n){var r=n(93),i=n(82),o=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];e.exports=function(e,t){return r(o,function(n){var r="_."+n[0];t&n[1]&&!i(e,r)&&e.push(r)}),e.sort()}},function(e,t,n){var r=n(73),i=n(70),o=Math.min;e.exports=function(e,t){for(var n=e.length,a=o(t.length,n),u=r(e);a--;){var c=t[a];e[a]=i(c,n)?u[c]:void 0}return e}},function(e,t,n){var r=n(84),i=n(95),o=n(18),a=1;e.exports=function(e,t,n,u){var c=t&a,l=i(e);return function t(){for(var i=-1,a=arguments.length,s=-1,f=u.length,d=Array(f+a),h=this&&this!==o&&this instanceof t?l:e;++s<f;)d[s]=u[s];for(;a--;)d[s++]=arguments[++i];return r(h,c?n:this,d)}}},function(e,t,n){var r=n(205),i=n(206),o=n(134),a="__lodash_placeholder__",u=1,c=2,l=4,s=8,f=128,d=256,h=Math.min;e.exports=function(e,t){var n=e[1],p=t[1],v=n|p,m=v<(u|c|f),y=p==f&&n==s||p==f&&n==d&&e[7].length<=t[8]||p==(f|d)&&t[7].length<=t[8]&&n==s;if(!m&&!y)return e;p&u&&(e[2]=t[2],v|=n&u?0:l);var g=t[3];if(g){var b=e[3];e[3]=b?r(b,g,t[4]):g,e[4]=b?o(e[3],a):t[4]}return(g=t[5])&&(b=e[5],e[5]=b?i(b,g,t[6]):g,e[6]=b?o(e[5],a):t[6]),(g=t[7])&&(e[7]=g),p&f&&(e[8]=null==e[8]?t[8]:h(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=v,e}},function(e,t,n){var r=n(214),i=4;e.exports=function(e){return r(e,i)}},function(e,t,n){var r=n(97),i=n(215);e.exports=function(e,t){return e&&r(t,i(t),e)}},function(e,t,n){var r=n(22),i=n(91),o=n(404),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var u in e)("constructor"!=u||!t&&a.call(e,u))&&n.push(u);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(18),i="object"==typeof t&&t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(119)(e))},function(e,t,n){var r=n(97),i=n(118);e.exports=function(e,t){return r(e,i(e),t)}},function(e,t,n){var r=n(97),i=n(216);e.exports=function(e,t){return r(e,i(e),t)}},function(e,t,n){var r=n(176),i=n(216),o=n(215);e.exports=function(e){return r(e,o,i)}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(135),i=n(411),o=n(412),a=n(413),u=n(414),c="[object Boolean]",l="[object Date]",s="[object Map]",f="[object Number]",d="[object RegExp]",h="[object Set]",p="[object String]",v="[object Symbol]",m="[object ArrayBuffer]",y="[object DataView]",g="[object Float32Array]",b="[object Float64Array]",x="[object Int8Array]",_="[object Int16Array]",w="[object Int32Array]",k="[object Uint8Array]",O="[object Uint8ClampedArray]",T="[object Uint16Array]",E="[object Uint32Array]";e.exports=function(e,t,n){var C=e.constructor;switch(t){case m:return r(e);case c:case l:return new C(+e);case y:return i(e,n);case g:case b:case x:case _:case w:case k:case O:case T:case E:return u(e,n);case s:return new C;case f:case p:return new C(e);case d:return o(e);case h:return new C;case v:return a(e)}}},function(e,t,n){var r=n(135);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(54),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},function(e,t,n){var r=n(135);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(96),i=n(124),o=n(91);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},function(e,t,n){var r=n(417),i=n(60),o=n(89),a=o&&o.isMap,u=a?i(a):r;e.exports=u},function(e,t,n){var r=n(45),i=n(17),o="[object Map]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t,n){var r=n(419),i=n(60),o=n(89),a=o&&o.isSet,u=a?i(a):r;e.exports=u},function(e,t,n){var r=n(45),i=n(17),o="[object Set]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t,n){var r=n(129),i=8;function o(e,t,n){var a=r(e,i,void 0,void 0,void 0,void 0,void 0,t=n?void 0:t);return a.placeholder=o.placeholder,a}o.placeholder={},e.exports=o},function(e,t,n){var r=n(20),i=n(17),o=n(140),a="[object DOMException]",u="[object Error]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==u||t==a||"string"==typeof e.message&&"string"==typeof e.name&&!o(e)}},function(e,t,n){var r=n(45),i=n(17),o="[object WeakMap]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t,n){var r=n(214),i=n(43),o=1;e.exports=function(e){return i("function"==typeof e?e:r(e,o))}},function(e,t,n){var r=n(129),i=n(128),o=i(function(e,t){return r(e,256,void 0,void 0,void 0,t)});e.exports=o},function(e,t,n){var r=n(55),i=n(73),o=n(15),a=n(72),u=n(185),c=n(57),l=n(46);e.exports=function(e){return o(e)?r(e,c):a(e)?[e]:i(u(l(e)))}},function(e,t,n){var r=n(122),i=n(217),o=n(98),a=n(123),u=n(427),c=n(137),l=n(46),s=4294967295;e.exports=function(e,t,n){return n&&"number"!=typeof n&&a(e,t,n)&&(t=n=void 0),(n=void 0===n?s:n>>>0)?(e=l(e))&&("string"==typeof t||null!=t&&!u(t))&&!(t=r(t))&&o(e)?i(c(e),0,n):e.split(t,n):[]}},function(e,t,n){var r=n(428),i=n(60),o=n(89),a=o&&o.isRegExp,u=a?i(a):r;e.exports=u},function(e,t,n){var r=n(20),i=n(17),o="[object RegExp]";e.exports=function(e){return i(e)&&r(e)==o}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+i+")"+"?",l="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[o,a,u].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),s="(?:"+[o+r+"?",r,a,u,n].join("|")+")",f=RegExp(i+"(?="+i+")|"+s+l,"g");e.exports=function(e){return e.match(f)||[]}},function(e,t,n){var r=n(94),i=n(16);e.exports=function(e,t){return r(i(e,t),1)}},function(e,t,n){var r=n(54),i=n(73),o=n(45),a=n(21),u=n(74),c=n(433),l=n(174),s=n(86),f=n(137),d=n(194),h="[object Map]",p="[object Set]",v=r?r.iterator:void 0;e.exports=function(e){if(!e)return[];if(a(e))return u(e)?f(e):i(e);if(v&&e[v])return c(e[v]());var t=o(e);return(t==h?l:t==p?s:d)(e)}},function(e,t){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},function(e,t,n){var r=n(435)();e.exports=r},function(e,t,n){var r=n(133),i=n(128),o=n(132),a=n(209),u=n(15),c=n(208),l="Expected a function",s=8,f=32,d=128,h=256;e.exports=function(e){return i(function(t){var n=t.length,i=n,p=r.prototype.thru;for(e&&t.reverse();i--;){var v=t[i];if("function"!=typeof v)throw new TypeError(l);if(p&&!m&&"wrapper"==a(v))var m=new r([],!0)}for(i=m?i:n;++i<n;){v=t[i];var y=a(v),g="wrapper"==y?o(v):void 0;m=g&&c(g[0])&&g[1]==(d|s|f|h)&&!g[4].length&&1==g[9]?m[a(g[0])].apply(m,g[3]):1==v.length&&c(v)?m[y]():m.thru(v)}return function(){var e=arguments,r=e[0];if(m&&1==e.length&&u(r))return m.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}})}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){var r=n(8);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},function(e,t,n){var r=n(62);e.exports=function(e,t){var n=!0;return r(e,function(e,r,i){return n=!!t(e,r,i)}),n}},function(e,t,n){var r=n(443)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(445),i=n(98),o=n(446);e.exports=function(e){return i(e)?o(e):r(e)}},function(e,t,n){var r=n(188)("length");e.exports=r},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+i+")"+"?",l="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[o,a,u].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),s="(?:"+[o+r+"?",r,a,u,n].join("|")+")",f=RegExp(i+"(?="+i+")|"+s+l,"g");e.exports=function(e){for(var t=f.lastIndex=0;f.test(e);)++t;return t}},function(e,t){e.exports=function(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}},function(e,t,n){var r=n(201),i=n(105),o=n(449),a=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},function(e,t,n){var r=n(450),i=n(451),o=n(46),a=n(452);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?i(e)?a(e):r(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",i="\\d+",o="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",u="[^\\ud800-\\udfff"+n+i+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",s="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+a+"|"+u+")",d="(?:"+s+"|"+u+")",h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+h+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,l].join("|")+")[\\ufe0e\\ufe0f]?"+h+")*"),v="(?:"+[o,c,l].join("|")+")"+p,m=RegExp([s+"?"+a+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[r,s,"$"].join("|")+")",d+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[r,s+f,"$"].join("|")+")",s+"?"+f+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",s+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",i,v].join("|"),"g");e.exports=function(e){return e.match(m)||[]}},function(e,t,n){var r=n(454)("toUpperCase");e.exports=r},function(e,t,n){var r=n(217),i=n(98),o=n(137),a=n(46);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,u=n?n[0]:t.charAt(0),c=n?r(n,1).join(""):t.slice(1);return u[e]()+c}}},,,function(e,t,n){},,,function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},,function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=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(c){i=!0,o=c}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.r(t);var i=n(42),o=n(35),a=n(36),u=n(40),c=n(37),l=n(39),s=n(99),f=n(227),d=Object.freeze({children:function(e){return e.children},nodeSize:function(e){return e.data.size},spacing:0});function h(e){var t=Object.assign({},d,e);function n(e){var n=t[e];return"function"===typeof n?n:function(){return n}}function r(e){var t=h(function(){var e=f(),t=n("nodeSize"),r=n("spacing");return function(e){function n(e){var t;return Object(o.a)(this,n),t=Object(u.a)(this,Object(c.a)(n).call(this,e)),Object.assign(Object(i.a)(Object(i.a)(t)),{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:Object(i.a)(Object(i.a)(t)),lExtRelX:0,lThr:null,rExt:Object(i.a)(Object(i.a)(t)),rExtRelX:0,rThr:null}),t}return Object(l.a)(n,e),Object(a.a)(n,[{key:"spacing",value:function(e){return r(this.data,e.data)}},{key:"update",value:function(){return p(this),v(this),this}},{key:"size",get:function(){return t(this.data)}},{key:"x",get:function(){return this.data.x},set:function(e){this.data.x=e}},{key:"y",get:function(){return this.data.y},set:function(e){this.data.y=e}}]),n}(e)}(),e,function(e){return e.children});return t.update(),t.data}function f(){var e=n("nodeSize"),t=n("spacing");return function(n){function r(e){return Object(o.a)(this,r),Object(u.a)(this,Object(c.a)(r).call(this,e))}return Object(l.a)(r,n),Object(a.a)(r,[{key:"copy",value:function(){var e=h(this.constructor,this,function(e){return e.children});return e.each(function(e){return e.data=e.data.data}),e}},{key:"spacing",value:function(e){return t(this,e)}},{key:"size",get:function(){return e(this)}},{key:"nodes",get:function(){return this.descendants()}},{key:"xSize",get:function(){return this.size[0]}},{key:"ySize",get:function(){return this.size[1]}},{key:"top",get:function(){return this.y}},{key:"bottom",get:function(){return this.y+this.ySize}},{key:"left",get:function(){return this.x-this.xSize/2}},{key:"right",get:function(){return this.x+this.xSize/2}},{key:"root",get:function(){var e=this.ancestors();return e[e.length-1]}},{key:"numChildren",get:function(){return this.hasChildren?this.children.length:0}},{key:"hasChildren",get:function(){return!this.noChildren}},{key:"noChildren",get:function(){return null===this.children}},{key:"firstChild",get:function(){return this.hasChildren?this.children[0]:null}},{key:"lastChild",get:function(){return this.hasChildren?this.children[this.numChildren-1]:null}},{key:"extents",get:function(){return(this.children||[]).reduce(function(e,t){return r.maxExtents(e,t.extents)},this.nodeExtents)}},{key:"nodeExtents",get:function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}],[{key:"maxExtents",value:function(e,t){return{top:Math.min(e.top,t.top),bottom:Math.max(e.bottom,t.bottom),left:Math.min(e.left,t.left),right:Math.max(e.right,t.right)}}}]),r}(s.b.prototype.constructor)}function h(e,t,n){return function t(r,i){var o=new e(r);Object.assign(o,{parent:i,depth:null===i?0:i.depth+1,height:0,length:1});var a=n(r)||[];return o.children=0===a.length?null:a.map(function(e){return t(e,o)}),o.children&&Object.assign(o,o.children.reduce(function(e,t){return{height:Math.max(e.height,t.height+1),length:e.length+t.length}},o)),o}(t,null)}return Object.assign(r,{nodeSize:function(e){return arguments.length?(t.nodeSize=e,r):t.nodeSize},spacing:function(e){return arguments.length?(t.spacing=e,r):t.spacing},children:function(e){return arguments.length?(t.children=e,r):t.children},hierarchy:function(e,n){var r="undefined"===typeof n?t.children:n;return h(f(),e,r)},dump:function(e){var t=n("nodeSize");return function e(n){return function(r){var i=n+" ",o=n+" ",a=r.x,u=r.y,c=t(r),l=r.children||[],s=0===l.length?" ":",".concat(i,"children: [").concat(o).concat(l.map(e(o)).join(o)).concat(i,"],").concat(n);return"{ size: [".concat(c.join(", "),"],").concat(i,"x: ").concat(a,", y: ").concat(u).concat(s,"},")}}("\n")(e)}}),r}h.version=f.a;var p=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.y=n,(t.children||[]).reduce(function(n,i){var o=r(n,2),a=o[0],u=o[1];e(i,t.y+t.ySize);var c=(0===a?i.lExt:i.rExt).bottom;return 0!==a&&y(t,a,u),[a+1,T(c,a,u)]},[0,null]),m(t),O(t),t},v=function e(t,n,r){"undefined"===typeof n&&(n=-t.relX-t.prelim,r=0);var i=n+t.relX;return t.relX=i+t.prelim-r,t.prelim=0,t.x=r+t.relX,(t.children||[]).forEach(function(n){return e(n,i,t.x)}),t},m=function(e){(e.children||[]).reduce(function(e,t){var n=r(e,2),i=n[0],o=n[1],a=i+t.shift,u=o+a+t.change;return t.relX+=u,[a,u]},[0,0])},y=function(e,t,n){for(var r=e.children[t-1],i=e.children[t],o=r,a=r.relX,u=i,c=i.relX,l=!0;o&&u;){o.bottom>n.lowY&&(n=n.next);var s=a+o.prelim-(c+u.prelim)+o.xSize/2+u.xSize/2+o.spacing(u);(s>0||s<0&&l)&&(c+=s,g(i,s),b(e,t,n.index,s)),l=!1;var f=o.bottom,d=u.bottom;f<=d&&(o=_(o))&&(a+=o.relX),f>=d&&(u=x(u))&&(c+=u.relX)}!o&&u?w(e,t,u,c):o&&!u&&k(e,t,o,a)},g=function(e,t){e.relX+=t,e.lExtRelX+=t,e.rExtRelX+=t},b=function(e,t,n,r){var i=e.children[t],o=t-n;if(o>1){var a=r/o;e.children[n+1].shift+=a,i.shift-=a,i.change-=r-a}},x=function(e){return e.hasChildren?e.firstChild:e.lThr},_=function(e){return e.hasChildren?e.lastChild:e.rThr},w=function(e,t,n,r){var i=e.firstChild,o=i.lExt,a=e.children[t];o.lThr=n;var u=r-n.relX-i.lExtRelX;o.relX+=u,o.prelim-=u,i.lExt=a.lExt,i.lExtRelX=a.lExtRelX},k=function(e,t,n,r){var i=e.children[t],o=i.rExt,a=e.children[t-1];o.rThr=n;var u=r-n.relX-i.rExtRelX;o.relX+=u,o.prelim-=u,i.rExt=a.rExt,i.rExtRelX=a.rExtRelX},O=function(e){if(e.hasChildren){var t=e.firstChild,n=e.lastChild,r=(t.prelim+t.relX-t.xSize/2+n.relX+n.prelim+n.xSize/2)/2;Object.assign(e,{prelim:r,lExt:t.lExt,lExtRelX:t.lExtRelX,rExt:n.rExt,rExtRelX:n.rExtRelX})}},T=function(e,t,n){for(;null!==n&&e>=n.lowY;)n=n.next;return{lowY:e,index:t,next:n}};n.d(t,"flextree",function(){return h})},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(38),a=n.n(o),u=n(10),c=n.n(u),l=n(6),s=n.n(l),f=(n(4),n(0)),d=n.n(f),h=n(24),p=n(169),v=n(31),m=n(170),y=n(5),g=n(191),b=n(9),x=n.n(b),_=n(11),w=n.n(_),k=n(12),O=n.n(k),T=n(8),E=n.n(T),C=n(13),S=n.n(C),M=n(1),j=n.n(M),N=n(2),P=n.n(N),A=n(195),I=n(482);function R(e){var t=e.blurring,n=e.className,r=e.children,o=e.content,a=e.dimmed,u=s()(Object(h.a)(t,"blurring"),Object(h.a)(a,"dimmed"),"dimmable",n),c=Object(p.a)(R,e),l=Object(m.a)(R,e);return d.a.createElement(l,i()({},c,{className:u}),y.a.isNil(r)?o:r)}R.handledProps=["as","blurring","children","className","content","dimmed"],R.propTypes={};var z=R,D=n(7),L=n.n(D),F=n(196),U=function(e){function t(){var e,n;x()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O()(this,(e=E()(t)).call.apply(e,[this].concat(i))),P()(j()(j()(n)),"containerRef",Object(f.createRef)()),P()(j()(j()(n)),"contentRef",Object(f.createRef)()),P()(j()(j()(n)),"handleClick",function(e){var t=n.contentRef.current;L()(n.props,"onClick",e,n.props),t&&t!==e.target&&Object(F.a)(t,e)||L()(n.props,"onClickOutside",e,n.props)}),n}return S()(t,e),w()(t,[{key:"componentDidMount",value:function(){var e=this.props.active;this.toggleStyles(e)}},{key:"componentDidUpdate",value:function(e){var t=this.props.active;e.active!==t&&this.toggleStyles(t)}},{key:"toggleStyles",value:function(e){var t=this.containerRef.current;t&&(e?t.style.setProperty("display","flex","important"):t.style.removeProperty("display"))}},{key:"render",value:function(){var e=this.props,n=e.active,r=e.children,o=e.className,a=e.content,u=e.disabled,c=e.inverted,l=e.page,f=e.simple,v=e.verticalAlign,g=s()("ui",Object(h.a)(n,"active transition visible"),Object(h.a)(u,"disabled"),Object(h.a)(c,"inverted"),Object(h.a)(l,"page"),Object(h.a)(f,"simple"),Object(h.e)(v),"dimmer",o),b=Object(p.a)(t,this.props),x=Object(m.a)(t,this.props),_=y.a.isNil(r)?a:r;return d.a.createElement(x,i()({},b,{className:g,onClick:this.handleClick,ref:this.containerRef}),_&&d.a.createElement("div",{className:"content",ref:this.contentRef},_))}}]),t}(f.Component);P()(U,"handledProps",["active","as","children","className","content","disabled","inverted","onClick","onClickOutside","page","simple","verticalAlign"]),U.propTypes={};var B=function(e){function t(){var e,n;x()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=O()(this,(e=E()(t)).call.apply(e,[this].concat(i))),P()(j()(j()(n)),"handlePortalMount",function(){Object(A.a)()&&(document.body.classList.add("dimmed"),document.body.classList.add("dimmable"))}),P()(j()(j()(n)),"handlePortalUnmount",function(){Object(A.a)()&&(document.body.classList.remove("dimmed"),document.body.classList.remove("dimmable"))}),n}return S()(t,e),w()(t,[{key:"render",value:function(){var e=this.props,n=e.active,r=e.page,o=Object(p.a)(t,this.props);return r?d.a.createElement(I.a,{closeOnEscape:!1,closeOnDocumentClick:!1,onMount:this.handlePortalMount,onUnmount:this.handlePortalUnmount,open:n,openOnTriggerClick:!1},d.a.createElement(U,i()({},o,{active:n,page:r}))):d.a.createElement(U,i()({},o,{active:n,page:r}))}}]),t}(f.Component);P()(B,"Dimmable",z),P()(B,"Inner",U),P()(B,"handledProps",["active","page"]),B.propTypes={},B.create=Object(g.e)(B,function(e){return{content:e}});var W=n(219);function H(e){var t=e.children,n=e.className,r=e.content,o=e.size,a=s()("ui",o,n,"images"),u=Object(p.a)(H,e),c=Object(m.a)(H,e);return d.a.createElement(c,i()({},u,{className:a}),y.a.isNil(t)?r:t)}H.handledProps=["as","children","className","content","size"],H.propTypes={};var q=H;function V(e){var t=e.avatar,n=e.bordered,r=e.centered,o=e.children,u=e.circular,l=e.className,f=e.content,g=e.dimmer,b=e.disabled,x=e.floated,_=e.fluid,w=e.hidden,k=e.href,O=e.inline,T=e.label,E=e.rounded,C=e.size,S=e.spaced,M=e.verticalAlign,j=e.wrapped,N=e.ui,P=s()(Object(h.a)(N,"ui"),C,Object(h.a)(t,"avatar"),Object(h.a)(n,"bordered"),Object(h.a)(u,"circular"),Object(h.a)(r,"centered"),Object(h.a)(b,"disabled"),Object(h.a)(_,"fluid"),Object(h.a)(w,"hidden"),Object(h.a)(O,"inline"),Object(h.a)(E,"rounded"),Object(h.b)(S,"spaced"),Object(h.d)(x,"floated"),Object(h.e)(M,"aligned"),"image",l),A=Object(p.a)(V,e),I=Object(v.c)(A,{htmlProps:v.a}),R=a()(I,2),z=R[0],D=R[1],L=Object(m.a)(V,e,function(){if(!c()(g)||!c()(T)||!c()(j)||!y.a.isNil(o))return"div"});return y.a.isNil(o)?y.a.isNil(f)?"img"===L?d.a.createElement(L,i()({},D,z,{className:P})):d.a.createElement(L,i()({},D,{className:P,href:k}),B.create(g,{autoGenerateKey:!1}),W.a.create(T,{autoGenerateKey:!1}),d.a.createElement("img",z)):d.a.createElement(L,i()({},A,{className:P}),f):d.a.createElement(L,i()({},A,{className:P}),o)}V.handledProps=["as","avatar","bordered","centered","children","circular","className","content","dimmer","disabled","floated","fluid","hidden","href","inline","label","rounded","size","spaced","ui","verticalAlign","wrapped"],V.Group=q,V.propTypes={},V.defaultProps={as:"img",ui:!0},V.create=Object(g.e)(V,function(e){return{src:e}});t.a=V},,,,,,,function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(6),a=n.n(o),u=(n(4),n(0)),c=n.n(u),l=n(24),s=n(169),f=n(170),d=n(5);function h(e){var t=e.active,n=e.children,r=e.className,o=e.content,u=e.disabled,p=e.indeterminate,v=e.inline,m=e.inverted,y=e.size,g=a()("ui",y,Object(l.a)(t,"active"),Object(l.a)(u,"disabled"),Object(l.a)(p,"indeterminate"),Object(l.a)(m,"inverted"),Object(l.a)(n||o,"text"),Object(l.b)(v,"inline"),"loader",r),b=Object(s.a)(h,e),x=Object(f.a)(h,e);return c.a.createElement(x,i()({},b,{className:g}),d.a.isNil(n)?o:n)}h.handledProps=["active","as","children","className","content","disabled","indeterminate","inline","inverted","size"],h.propTypes={},t.a=h},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(4),a=n.n(o),u=n(27),c=n.n(u),l=n(107),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function f(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}var d=function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},h=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,e.call.apply(e,[this].concat(o))),r.handleClick=function(e){if(r.props.onClick&&r.props.onClick(e),!e.defaultPrevented&&0===e.button&&!r.props.target&&!d(e)){e.preventDefault();var t=r.context.router.history,n=r.props,i=n.replace,o=n.to;i?t.replace(o):t.push(o)}},f(r,n)}return function(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,e),t.prototype.render=function(){var e=this.props,t=(e.replace,e.to),n=e.innerRef,r=function(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}(e,["replace","to","innerRef"]);c()(this.context.router,"You should not use <Link> outside a <Router>"),c()(void 0!==t,'You must specify the "to" property');var o=this.context.router.history,a="string"===typeof t?Object(l.b)(t,null,null,o.location):t,u=o.createHref(a);return i.a.createElement("a",s({},r,{onClick:this.handleClick,href:u,ref:n}))},t}(i.a.Component);h.propTypes={onClick:a.a.func,target:a.a.string,replace:a.a.bool,to:a.a.oneOfType([a.a.string,a.a.object]).isRequired,innerRef:a.a.oneOfType([a.a.string,a.a.func])},h.defaultProps={replace:!1},h.contextTypes={router:a.a.shape({history:a.a.shape({push:a.a.func.isRequired,replace:a.a.func.isRequired,createHref:a.a.func.isRequired}).isRequired}).isRequired},t.a=h},function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(9),i=n.n(r),o=n(11),a=n.n(o),u=n(12),c=n.n(u),l=n(8),s=n.n(l),f=n(13),d=n.n(f),h=n(2),p=n.n(h),v=(n(4),n(0)),m=n(58),y=n(126),g=function(e){function t(){return i()(this,t),c()(this,s()(t).apply(this,arguments))}return d()(t,e),a()(t,[{key:"componentDidMount",value:function(){Object(y.a)(this.props.innerRef,Object(m.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){Object(y.a)(this.props.innerRef,null)}},{key:"render",value:function(){var e=this.props.children;return v.Children.only(e)}}]),t}(v.Component);p()(g,"handledProps",["children","innerRef"]),g.propTypes={}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(38),a=n.n(o),u=n(14),c=n.n(u),l=n(9),s=n.n(l),f=n(11),d=n.n(f),h=n(12),p=n.n(h),v=n(8),m=n.n(v),y=n(13),g=n.n(y),b=n(1),x=n.n(b),_=n(2),w=n.n(_),k=n(33),O=n.n(k),T=n(16),E=n.n(T),C=n(7),S=n.n(C),M=n(29),j=n.n(M),N=n(10),P=n.n(N),A=n(6),I=n.n(A),R=(n(4),n(0)),z=n.n(R),D=n(126),L=n(169),F=n(31),U=n(24),B=n(170),W=n(5),H=n(191),q=n(479),V=n(220),Y=n(219),G=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=p()(this,(e=m()(t)).call.apply(e,[this].concat(i))),w()(x()(x()(n)),"computeIcon",function(){var e=n.props,t=e.loading,r=e.icon;return P()(r)?t?"spinner":void 0:r}),w()(x()(x()(n)),"computeTabIndex",function(){var e=n.props,t=e.disabled,r=e.tabIndex;return P()(r)?t?-1:void 0:r}),w()(x()(x()(n)),"focus",function(){return n.inputRef.focus()}),w()(x()(x()(n)),"select",function(){return n.inputRef.select()}),w()(x()(x()(n)),"handleChange",function(e){var t=j()(e,"target.value");S()(n.props,"onChange",e,c()({},n.props,{value:t}))}),w()(x()(x()(n)),"handleChildOverrides",function(e,t){return c()({},t,e.props,{ref:function(t){Object(D.a)(e.ref,t),n.handleInputRef(t)}})}),w()(x()(x()(n)),"handleInputRef",function(e){return n.inputRef=e}),w()(x()(x()(n)),"partitionProps",function(){var e=n.props,r=e.disabled,i=e.type,o=n.computeTabIndex(),u=Object(L.a)(t,n.props),l=Object(F.c)(u),s=a()(l,2),f=s[0],d=s[1];return[c()({},f,{disabled:r,type:i,tabIndex:o,onChange:n.handleChange,ref:n.handleInputRef}),d]}),n}return g()(t,e),d()(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.action,o=n.actionPosition,u=n.children,c=n.className,l=n.disabled,s=n.error,f=n.fluid,d=n.focus,h=n.icon,p=n.iconPosition,v=n.input,m=n.inverted,y=n.label,g=n.labelPosition,b=n.loading,x=n.size,_=n.transparent,w=n.type,k=I()("ui",x,Object(U.a)(l,"disabled"),Object(U.a)(s,"error"),Object(U.a)(f,"fluid"),Object(U.a)(d,"focus"),Object(U.a)(m,"inverted"),Object(U.a)(b,"loading"),Object(U.a)(_,"transparent"),Object(U.d)(o,"action")||Object(U.a)(r,"action"),Object(U.d)(p,"icon")||Object(U.a)(h||b,"icon"),Object(U.d)(g,"labeled")||Object(U.a)(y,"labeled"),"input",c),T=Object(B.a)(t,this.props),C=this.partitionProps(),S=a()(C,2),M=S[0],j=S[1];if(!W.a.isNil(u)){var N=E()(R.Children.toArray(u),function(t){return"input"!==t.type?t:Object(R.cloneElement)(t,e.handleChildOverrides(t,M))});return z.a.createElement(T,i()({},j,{className:k}),N)}var P=q.a.create(r,{autoGenerateKey:!1}),A=Y.a.create(y,{defaultProps:{className:I()("label",O()(g,"corner")&&g)},autoGenerateKey:!1});return z.a.createElement(T,i()({},j,{className:k}),"left"===o&&P,"right"!==g&&A,Object(H.a)(v||w,{defaultProps:M,autoGenerateKey:!1}),V.a.create(this.computeIcon(),{autoGenerateKey:!1}),"left"!==o&&P,"right"===g&&A)}}]),t}(R.Component);w()(G,"defaultProps",{type:"text"}),w()(G,"handledProps",["action","actionPosition","as","children","className","disabled","error","fluid","focus","icon","iconPosition","input","inverted","label","labelPosition","loading","onChange","size","tabIndex","transparent","type"]),G.propTypes={},G.create=Object(H.e)(G,function(e){return{type:e}}),t.a=G},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n.n(o),u=n(11),c=n.n(u),l=n(12),s=n.n(l),f=n(8),d=n.n(f),h=n(13),p=n.n(h),v=n(1),m=n.n(v),y=n(2),g=n.n(y),b=n(7),x=n.n(b),_=n(19),w=n.n(_),k=n(6),O=n.n(k),T=(n(4),n(0)),E=n.n(T),C=n(24),S=n(169),M=n(170),j=n(479),N=n(14),P=n.n(N),A=n(29),I=n.n(A),R=n(10),z=n.n(R),D=n(5),L=n(191),F=n(38),U=n.n(F),B=n(31),W=n(198),H=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"canToggle",function(){var e=n.props,t=e.disabled,r=e.radio,i=e.readOnly,o=n.state.checked;return!t&&!i&&!(r&&o)}),g()(m()(m()(n)),"computeTabIndex",function(){var e=n.props,t=e.disabled,r=e.tabIndex;return z()(r)?t?-1:0:r}),g()(m()(m()(n)),"handleInputRef",function(e){return n.inputRef=e}),g()(m()(m()(n)),"handleChange",function(e,t){var r=n.props.id,i=n.state,o=i.checked,a=i.indeterminate;n.canToggle()&&(t&&!z()(r)||(x()(n.props,"onClick",e,P()({},n.props,{checked:!o,indeterminate:!!a})),x()(n.props,"onChange",e,P()({},n.props,{checked:!o,indeterminate:!1})),n.trySetState({checked:!o,indeterminate:!1})))}),g()(m()(m()(n)),"handleClick",function(e){var t=n.props,r=t.onChange,i=t.onClick;!r&&i&&i(e,n.props)}),g()(m()(m()(n)),"handleMouseDown",function(e){var t=n.state,r=t.checked,i=t.indeterminate;x()(n.props,"onMouseDown",e,P()({},n.props,{checked:!!r,indeterminate:!!i})),x()(n.inputRef,"focus"),e.preventDefault()}),g()(m()(m()(n)),"handleMouseUp",function(e){var t=n.state,r=t.checked,i=t.indeterminate;x()(n.props,"onMouseUp",e,P()({},n.props,{checked:!!r,indeterminate:!!i})),n.handleChange(e,!0)}),g()(m()(m()(n)),"setIndeterminate",function(){var e=n.state.indeterminate;n.inputRef&&(n.inputRef.indeterminate=!!e)}),n}return p()(t,e),c()(t,[{key:"componentDidMount",value:function(){this.setIndeterminate()}},{key:"componentDidUpdate",value:function(){this.setIndeterminate()}},{key:"render",value:function(){var e=this.props,n=e.className,r=e.disabled,o=e.label,a=e.id,u=e.name,c=e.radio,l=e.readOnly,s=e.slider,f=e.toggle,d=e.type,h=e.value,p=this.state,v=p.checked,m=p.indeterminate,y=O()("ui",Object(C.a)(v,"checked"),Object(C.a)(r,"disabled"),Object(C.a)(m,"indeterminate"),Object(C.a)(z()(o),"fitted"),Object(C.a)(c,"radio"),Object(C.a)(l,"read-only"),Object(C.a)(s,"slider"),Object(C.a)(f,"toggle"),"checkbox",n),g=Object(S.a)(t,this.props),b=Object(M.a)(t,this.props),x=Object(B.c)(g,{htmlProps:B.b}),_=U()(x,2),w=_[0],k=_[1];return E.a.createElement(b,i()({},k,{className:y,onChange:this.handleChange,onClick:this.handleClick,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp}),E.a.createElement("input",i()({},w,{checked:v,className:"hidden",disabled:r,id:a,name:u,readOnly:!0,ref:this.handleInputRef,tabIndex:this.computeTabIndex(),type:d,value:h})),Object(L.b)(o,{defaultProps:{htmlFor:a},autoGenerateKey:!1})||E.a.createElement("label",{htmlFor:a}))}}]),t}(W.a);function q(e){var t=e.slider,n=e.toggle,r=e.type,o=Object(S.a)(q,e),a=!(t||n)||void 0;return E.a.createElement(H,i()({},o,{type:r,radio:a,slider:t,toggle:n}))}g()(H,"defaultProps",{type:"checkbox"}),g()(H,"autoControlledProps",["checked","indeterminate"]),g()(H,"handledProps",["as","checked","className","defaultChecked","defaultIndeterminate","disabled","fitted","id","indeterminate","label","name","onChange","onClick","onMouseDown","onMouseUp","radio","readOnly","slider","tabIndex","toggle","type","value"]),H.propTypes={},q.handledProps=["slider","toggle","type"],q.propTypes={},q.defaultProps={type:"radio"};var V=q;function Y(e){var t=e.children,n=e.className,r=e.content,o=e.control,a=e.disabled,u=e.error,c=e.inline,l=e.label,s=e.required,f=e.type,d=e.width,h=O()(Object(C.a)(a,"disabled"),Object(C.a)(u,"error"),Object(C.a)(c,"inline"),Object(C.a)(s,"required"),Object(C.f)(d,"wide"),"field",n),p=Object(S.a)(Y,e),v=Object(M.a)(Y,e);if(z()(o))return z()(l)?E.a.createElement(v,i()({},p,{className:h}),D.a.isNil(t)?r:t):E.a.createElement(v,i()({},p,{className:h}),Object(L.b)(l,{autoGenerateKey:!1}));var m=P()({},p,{content:r,children:t,disabled:a,required:s,type:f});return"input"!==o||"checkbox"!==f&&"radio"!==f?o===H||o===V?E.a.createElement(v,{className:h},Object(T.createElement)(o,P()({},m,{label:l}))):E.a.createElement(v,{className:h},Object(L.b)(l,{defaultProps:{htmlFor:I()(m,"id")},autoGenerateKey:!1}),Object(T.createElement)(o,m)):E.a.createElement(v,{className:h},E.a.createElement("label",null,Object(T.createElement)(o,m)," ",l))}Y.handledProps=["as","children","className","content","control","disabled","error","inline","label","required","type","width"],Y.propTypes={};var G=Y;function $(e){var t=e.control,n=Object(S.a)($,e),r=Object(M.a)($,e);return E.a.createElement(r,i()({},n,{control:t}))}$.handledProps=["as","control"],$.propTypes={},$.defaultProps={as:G,control:j.a};var K=$;function X(e){var t=e.control,n=Object(S.a)(X,e),r=Object(M.a)(X,e);return E.a.createElement(r,i()({},n,{control:t}))}X.handledProps=["as","control"],X.propTypes={},X.defaultProps={as:G,control:H};var Q=X,Z=n(240),J=n.n(Z),ee=n(241),te=n.n(ee),ne=n(16),re=n.n(ne),ie=n(242),oe=n.n(ie),ae=n(138),ue=n.n(ae),ce=n(101),le=n.n(ce),se=n(104),fe=n.n(se),de=n(49),he=n.n(de),pe=n(243),ve=n.n(pe),me=n(105),ye=n.n(me),ge=n(48),be=n.n(ge),xe=n(75),_e=n.n(xe),we=n(103),ke=n.n(we),Oe=n(244),Te=n.n(Oe),Ee=n(50),Ce=n.n(Ee),Se=n(245),Me=n.n(Se),je=n(142),Ne=n.n(je),Pe=n(33),Ae=n.n(Pe),Ie=n(65),Re=n.n(Ie),ze=n(246),De=n.n(ze),Le=(n(199),n(28)),Fe=n.n(Le),Ue=n(108),Be=n.n(Ue),We=n(196),He=n(197),qe=n(220),Ve=n(219);function Ye(e){var t=e.className,n=O()("divider",t),r=Object(S.a)(Ye,e),o=Object(M.a)(Ye,e);return E.a.createElement(o,i()({},r,{className:n}))}Ye.handledProps=["as","className"],Ye.propTypes={};var Ge=Ye,$e=function(e){function t(){return a()(this,t),s()(this,d()(t).apply(this,arguments))}return p()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,n=e.className,r=e.name,o=O()(r,"flag",n),a=Object(S.a)(t,this.props),u=Object(M.a)(t,this.props);return E.a.createElement(u,i()({},a,{className:o}))}}]),t}(T.PureComponent);g()($e,"defaultProps",{as:"i"}),g()($e,"handledProps",["as","className","name"]),$e.propTypes={},$e.create=Object(L.e)($e,function(e){return{name:e}});var Ke=$e,Xe=n(463),Qe=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"handleClick",function(e){var t=n.props.onClick;t&&t(e,n.props)}),n}return p()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,n=e.active,r=e.children,o=e.className,a=e.content,u=e.disabled,c=e.description,l=e.flag,s=e.icon,f=e.image,d=e.label,h=e.selected,p=e.text,v=O()(Object(C.a)(n,"active"),Object(C.a)(u,"disabled"),Object(C.a)(h,"selected"),"item",o),m=z()(s)?D.a.someByType(r,"DropdownMenu")&&"dropdown":s,y=Object(S.a)(t,this.props),g=Object(M.a)(t,this.props),b={role:"option","aria-disabled":u,"aria-checked":n,"aria-selected":h};if(!D.a.isNil(r))return E.a.createElement(g,i()({},y,b,{className:v,onClick:this.handleClick}),r);var x=Ke.create(l,{autoGenerateKey:!1}),_=qe.a.create(m,{autoGenerateKey:!1}),w=Xe.a.create(f,{autoGenerateKey:!1}),k=Ve.a.create(d,{autoGenerateKey:!1}),T=Object(L.d)("span",function(e){return{children:e}},c,{defaultProps:{className:"description"},autoGenerateKey:!1}),j=Object(L.d)("span",function(e){return{children:e}},D.a.isNil(a)?p:a,{defaultProps:{className:"text"},autoGenerateKey:!1});return E.a.createElement(g,i()({},y,b,{className:v,onClick:this.handleClick}),w,_,x,k,T,j)}}]),t}(T.Component);g()(Qe,"handledProps",["active","as","children","className","content","description","disabled","flag","icon","image","label","onClick","selected","text","value"]),Qe.propTypes={},Qe.create=Object(L.e)(Qe,function(e){return e});var Ze=Qe;function Je(e){var t=e.children,n=e.className,r=e.content,o=e.icon,a=O()("header",n),u=Object(S.a)(Je,e),c=Object(M.a)(Je,e);return D.a.isNil(t)?E.a.createElement(c,i()({},u,{className:a}),qe.a.create(o,{autoGenerateKey:!1}),r):E.a.createElement(c,i()({},u,{className:a}),t)}Je.handledProps=["as","children","className","content","icon"],Je.propTypes={},Je.create=Object(L.e)(Je,function(e){return{content:e}});var et=Je;function tt(e){var t=e.children,n=e.className,r=e.content,o=e.direction,a=e.open,u=e.scrolling,c=O()(o,Object(C.a)(a,"visible"),Object(C.a)(u,"scrolling"),"menu transition",n),l=Object(S.a)(tt,e),s=Object(M.a)(tt,e);return E.a.createElement(s,i()({},l,{className:c}),D.a.isNil(t)?r:t)}tt.handledProps=["as","children","className","content","direction","open","scrolling"],tt.propTypes={};var nt=tt,rt=n(126),it=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"handleChange",function(e){var t=I()(e,"target.value");x()(n.props,"onChange",e,P()({},n.props,{value:t}))}),g()(m()(m()(n)),"handleRef",function(e){Object(rt.a)(n.props.inputRef,e)}),n}return p()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,n=e.autoComplete,r=e.className,o=e.tabIndex,a=e.type,u=e.value,c=O()("search",r),l=Object(S.a)(t,this.props);return E.a.createElement("input",i()({},l,{"aria-autocomplete":"list",autoComplete:n,className:c,onChange:this.handleChange,ref:this.handleRef,tabIndex:o,type:a,value:u}))}}]),t}(T.Component);g()(it,"defaultProps",{autoComplete:"off",type:"text"}),g()(it,"handledProps",["as","autoComplete","className","inputRef","tabIndex","type","value"]),it.propTypes={},it.create=Object(L.e)(it,function(e){return{type:e}});var ot=it,at=function(e,t){return z()(e)?t:e},ut=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,o=new Array(r),u=0;u<r;u++)o[u]=arguments[u];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(o))),g()(m()(m()(n)),"handleChange",function(e,t){x()(n.props,"onChange",e,P()({},n.props,{value:t}))}),g()(m()(m()(n)),"closeOnChange",function(e){var t=n.props,r=t.closeOnChange,i=t.multiple;(Re()(r)?!i:r)&&n.close(e)}),g()(m()(m()(n)),"closeOnEscape",function(e){Fe.a.getCode(e)===Fe.a.Escape&&(e.preventDefault(),n.close())}),g()(m()(m()(n)),"moveSelectionOnKeyDown",function(e){var t,r=n.props,i=r.multiple,o=r.selectOnNavigation,a=(t={},g()(t,Fe.a.ArrowDown,1),g()(t,Fe.a.ArrowUp,-1),t)[Fe.a.getCode(e)];void 0!==a&&(e.preventDefault(),n.moveSelectionBy(a),!i&&o&&n.makeSelectedItemActive(e))}),g()(m()(m()(n)),"openOnSpace",function(e){Fe.a.getCode(e)===Fe.a.Spacebar&&(n.state.open||(e.preventDefault(),n.open(e)))}),g()(m()(m()(n)),"openOnArrow",function(e){var t=Fe.a.getCode(e);Ae()([Fe.a.ArrowDown,Fe.a.ArrowUp],t)&&(n.state.open||(e.preventDefault(),n.open(e)))}),g()(m()(m()(n)),"makeSelectedItemActive",function(e){var t=n.state.open,r=n.props.multiple,i=n.getSelectedItem(),o=I()(i,"value");if(!z()(o)&&t){var a=r?Ne()(n.state.value,[o]):o;n.setValue(a),n.setSelectedIndex(a),n.handleChange(e,a),i["data-additional"]&&x()(n.props,"onAddItem",e,P()({},n.props,{value:o}))}}),g()(m()(m()(n)),"selectItemOnEnter",function(e){var t=n.props.search;if(Fe.a.getCode(e)===Fe.a.Enter){e.preventDefault();var r=Me()(n.getMenuOptions());t&&0===r||(n.makeSelectedItemActive(e),n.closeOnChange(e),n.clearSearchQuery(),t&&n.searchRef&&n.searchRef.focus())}}),g()(m()(m()(n)),"removeItemOnBackspace",function(e){var t=n.props,r=t.multiple,i=t.search,o=n.state,a=o.searchQuery,u=o.value;if(Fe.a.getCode(e)===Fe.a.Backspace&&!a&&i&&r&&!Ce()(u)){e.preventDefault();var c=Te()(u);n.setValue(c),n.setSelectedIndex(c),n.handleChange(e,c)}}),g()(m()(m()(n)),"closeOnDocumentClick",function(e){n.props.closeOnBlur&&(n.ref&&Object(We.a)(n.ref,e)||n.close())}),g()(m()(m()(n)),"attachHandlersOnOpen",function(){He.a.sub("keydown",[n.closeOnEscape,n.moveSelectionOnKeyDown,n.selectItemOnEnter,n.removeItemOnBackspace]),He.a.sub("click",n.closeOnDocumentClick),He.a.unsub("keydown",[n.openOnArrow,n.openOnSpace])}),g()(m()(m()(n)),"handleMouseDown",function(e){n.isMouseDown=!0,He.a.sub("mouseup",n.handleDocumentMouseUp),x()(n.props,"onMouseDown",e,n.props)}),g()(m()(m()(n)),"handleDocumentMouseUp",function(){n.isMouseDown=!1,He.a.unsub("mouseup",n.handleDocumentMouseUp)}),g()(m()(m()(n)),"handleClick",function(e){var t=n.props,r=t.minCharacters,i=t.search,o=n.state,a=o.open,u=o.searchQuery;if(x()(n.props,"onClick",e,n.props),e.stopPropagation(),!i)return n.toggle(e);a||(u.length>=r||1===r?n.open(e):n.searchRef&&n.searchRef.focus())}),g()(m()(m()(n)),"handleIconClick",function(e){var t=n.props.clearable,r=n.hasValue();x()(n.props,"onClick",e,n.props),e.stopPropagation(),t&&r?n.clearValue(e):n.toggle(e)}),g()(m()(m()(n)),"handleItemClick",function(e,t){var r=n.props,i=r.multiple,o=r.search,a=t.value;if(e.stopPropagation(),(i||t.disabled)&&e.nativeEvent.stopImmediatePropagation(),!t.disabled){var u=t["data-additional"],c=i?Ne()(n.state.value,[a]):a;n.setValue(c),n.setSelectedIndex(a),n.clearSearchQuery(),n.handleChange(e,c),n.closeOnChange(e),u&&x()(n.props,"onAddItem",e,P()({},n.props,{value:a})),i&&o&&n.searchRef&&n.searchRef.focus()}}),g()(m()(m()(n)),"handleFocus",function(e){n.state.focus||(x()(n.props,"onFocus",e,n.props),n.setState({focus:!0}))}),g()(m()(m()(n)),"handleBlur",function(e){var t=I()(e,"currentTarget");if(!t||!t.contains(document.activeElement)){var r=n.props,i=r.closeOnBlur,o=r.multiple,a=r.selectOnBlur;n.isMouseDown||(x()(n.props,"onBlur",e,n.props),a&&!o&&(n.makeSelectedItemActive(e),i&&n.close()),n.setState({focus:!1}),n.clearSearchQuery())}}),g()(m()(m()(n)),"handleSearchChange",function(e,t){var r=t.value;e.stopPropagation();var i=n.props.minCharacters,o=n.state.open,a=r;x()(n.props,"onSearchChange",e,P()({},n.props,{searchQuery:a})),n.trySetState({searchQuery:a},{selectedIndex:0}),!o&&a.length>=i?n.open():o&&1!==i&&a.length<i&&n.close()}),g()(m()(m()(n)),"getKeyAndValues",function(e){return e?e.map(function(e){return ke()(e,["key","value"])}):e}),g()(m()(m()(n)),"getMenuOptions",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.value,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.props.options,r=n.props,i=r.additionLabel,o=r.additionPosition,a=r.allowAdditions,u=r.deburr,c=r.multiple,l=r.search,s=n.state.searchQuery,f=t;if(c&&(f=_e()(f,function(t){return!Ae()(e,t.value)})),l&&s)if(be()(l))f=l(f,s);else{var d=u?ye()(s):s,h=new RegExp(ve()(d),"i");f=_e()(f,function(e){return h.test(u?ye()(e.text):e.text)})}if(a&&l&&s&&!he()(f,{text:s})){var p={key:"addition",text:[E.a.isValidElement(i)?E.a.cloneElement(i,{key:"addition-label"}):i||"",E.a.createElement("b",{key:"addition-query"},s)],value:s,className:"addition","data-additional":!0};"top"===o?f.unshift(p):f.push(p)}return f}),g()(m()(m()(n)),"getSelectedItem",function(){var e=n.state.selectedIndex,t=n.getMenuOptions();return I()(t,"[".concat(e,"]"))}),g()(m()(m()(n)),"getEnabledIndices",function(e){var t=e||n.getMenuOptions();return fe()(t,function(e,t,n){return t.disabled||e.push(n),e},[])}),g()(m()(m()(n)),"getItemByValue",function(e){var t=n.props.options;return le()(t,{value:e})}),g()(m()(m()(n)),"getMenuItemIndexByValue",function(e,t){var r=t||n.getMenuOptions();return ue()(r,["value",e])}),g()(m()(m()(n)),"getDropdownAriaOptions",function(){var e=n.props,t=e.loading,r=e.disabled,i=e.search,o=e.multiple,a={role:i?"combobox":"listbox","aria-busy":t,"aria-disabled":r,"aria-expanded":!!n.state.open};return"listbox"===a.role&&(a["aria-multiselectable"]=o),a}),g()(m()(m()(n)),"clearSearchQuery",function(){n.trySetState({searchQuery:""})}),g()(m()(m()(n)),"setValue",function(e){n.trySetState({value:e})}),g()(m()(m()(n)),"setSelectedIndex",function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.value,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.props.options,i=n.props.multiple,o=n.state.selectedIndex,a=n.getMenuOptions(t,r),u=n.getEnabledIndices(a);if(!o||o<0){var c=u[0];e=i?c:n.getMenuItemIndexByValue(t,a)||u[0]}else if(i)o>=a.length-1&&(e=u[u.length-1]);else{var l=n.getMenuItemIndexByValue(t,a);e=Ae()(u,l)?l:void 0}(!e||e<0)&&(e=u[0]),n.setState({selectedIndex:e})}),g()(m()(m()(n)),"handleLabelClick",function(e,t){e.stopPropagation(),n.setState({selectedLabel:t.value}),x()(n.props,"onLabelClick",e,t)}),g()(m()(m()(n)),"handleLabelRemove",function(e,t){e.stopPropagation();var r=n.state.value,i=w()(r,t.value);n.setValue(i),n.setSelectedIndex(i),n.handleChange(e,i)}),g()(m()(m()(n)),"moveSelectionBy",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.state.selectedIndex,r=n.getMenuOptions();if(void 0!==r&&!oe()(r,"disabled")){var i=r.length-1,o=t+e;!n.props.wrapSelection&&(o>i||o<0)?o=t:o>i?o=0:o<0&&(o=i),r[o].disabled?n.moveSelectionBy(e,o):(n.setState({selectedIndex:o}),n.scrollSelectedItemIntoView())}}),g()(m()(m()(n)),"handleIconOverrides",function(e){var t=n.props.clearable;return{className:O()(t&&n.hasValue()&&"clear",e.className),onClick:function(t){x()(e,"onClick",t,e),n.handleIconClick(t)}}}),g()(m()(m()(n)),"handleSearchRef",function(e){return n.searchRef=e}),g()(m()(m()(n)),"handleSizerRef",function(e){return n.sizerRef=e}),g()(m()(m()(n)),"handleRef",function(e){return n.ref=e}),g()(m()(m()(n)),"clearValue",function(e){var t=n.props.multiple?[]:"";n.setValue(t),n.setSelectedIndex(t),n.handleChange(e,t)}),g()(m()(m()(n)),"computeSearchInputTabIndex",function(){var e=n.props,t=e.disabled,r=e.tabIndex;return z()(r)?t?-1:0:r}),g()(m()(m()(n)),"computeSearchInputWidth",function(){var e=n.state.searchQuery;if(n.sizerRef&&e){n.sizerRef.style.display="inline",n.sizerRef.textContent=e;var t=Math.ceil(n.sizerRef.getBoundingClientRect().width);return n.sizerRef.style.removeProperty("display"),t}}),g()(m()(m()(n)),"computeTabIndex",function(){var e=n.props,t=e.disabled,r=e.search,i=e.tabIndex;if(!r)return t?-1:z()(i)?0:i}),g()(m()(m()(n)),"handleSearchInputOverrides",function(e){return{onChange:function(t,r){x()(e,"onChange",t,r),n.handleSearchChange(t,r)}}}),g()(m()(m()(n)),"hasValue",function(){var e=n.props.multiple,t=n.state.value;return e?!Ce()(t):!z()(t)&&""!==t}),g()(m()(m()(n)),"scrollSelectedItemIntoView",function(){if(n.ref){var e=n.ref.querySelector(".menu.visible");if(e){var t=e.querySelector(".item.selected");if(t){var r=t.offsetTop<e.scrollTop,i=t.offsetTop+t.clientHeight>e.scrollTop+e.clientHeight;r?e.scrollTop=t.offsetTop:i&&(e.scrollTop=t.offsetTop+t.clientHeight-e.clientHeight)}}}}),g()(m()(m()(n)),"setOpenDirection",function(){if(n.ref){var e=n.ref.querySelector(".menu.visible");if(e){var t=n.ref.getBoundingClientRect(),r=e.clientHeight,i=document.documentElement.clientHeight-t.top-t.height-r,o=t.top-r,a=i<0&&o>i;!a!==!n.state.upward&&n.trySetState({upward:a})}}}),g()(m()(m()(n)),"open",function(e){var t=n.props,r=t.disabled,i=(t.open,t.search);r||(i&&n.searchRef&&n.searchRef.focus(),x()(n.props,"onOpen",e,n.props),n.trySetState({open:!0}),n.scrollSelectedItemIntoView())}),g()(m()(m()(n)),"close",function(e){n.state.open&&(x()(n.props,"onClose",e,n.props),n.trySetState({open:!1}))}),g()(m()(m()(n)),"handleClose",function(){var e=document.activeElement===n.searchRef,t=document.activeElement===n.ref,r=e||t;e||n.ref.blur(),n.setState({focus:r})}),g()(m()(m()(n)),"toggle",function(e){return n.state.open?n.close(e):n.open(e)}),g()(m()(m()(n)),"renderText",function(){var e=n.props,t=e.multiple,r=e.placeholder,i=e.search,o=e.text,a=n.state,u=a.searchQuery,c=a.value,l=a.open,s=n.hasValue(),f=O()(r&&!s&&"default","text",i&&u&&"filtered"),d=r;return u?d=null:o?d=o:l&&!t?d=I()(n.getSelectedItem(),"text"):s&&(d=I()(n.getItemByValue(c),"text")),E.a.createElement("div",{className:f,role:"alert","aria-live":"polite"},d)}),g()(m()(m()(n)),"renderSearchInput",function(){var e=n.props,t=e.search,r=e.searchInput,i=n.state.searchQuery;return t?ot.create(r,{defaultProps:{inputRef:n.handleSearchRef,style:{width:n.computeSearchInputWidth()},tabIndex:n.computeSearchInputTabIndex(),value:i},overrideProps:n.handleSearchInputOverrides}):null}),g()(m()(m()(n)),"renderSearchSizer",function(){var e=n.props,t=e.search,r=e.multiple;return t&&r?E.a.createElement("span",{className:"sizer",ref:n.handleSizerRef}):null}),g()(m()(m()(n)),"renderLabels",function(){var e=n.props,t=e.multiple,r=e.renderLabel,i=n.state,o=i.selectedLabel,a=i.value;if(t&&!Ce()(a)){var u=re()(a,n.getItemByValue);return re()(te()(u),function(e,t){var i={active:e.value===o,as:"a",key:at(e.key,e.value),onClick:n.handleLabelClick,onRemove:n.handleLabelRemove,value:e.value};return Ve.a.create(r(e,t,i),{defaultProps:i})})}}),g()(m()(m()(n)),"renderOptions",function(){var e=n.props,t=e.lazyLoad,r=e.multiple,i=e.search,o=e.noResultsMessage,a=n.state,u=a.open,c=a.selectedIndex,l=a.value;if(t&&!u)return null;var s=n.getMenuOptions();if(null!==o&&i&&Ce()(s))return E.a.createElement("div",{className:"message"},o);var f=r?function(e){return Ae()(l,e)}:function(e){return e===l};return re()(s,function(e,t){return Ze.create(P()({active:f(e.value),onClick:n.handleItemClick,selected:c===t},e,{key:at(e.key,e.value),style:P()({},e.style,{pointerEvents:"all"})}))})}),g()(m()(m()(n)),"renderMenu",function(){var e=n.props,t=e.children,r=e.direction,o=e.header,a=n.state.open,u=n.getDropdownMenuAriaOptions();if(!D.a.isNil(t)){var c=T.Children.only(t),l=O()(r,Object(C.a)(a,"visible"),c.props.className);return Object(T.cloneElement)(c,P()({className:l},u))}return E.a.createElement(nt,i()({},u,{direction:r,open:a}),et.create(o,{autoGenerateKey:!1}),n.renderOptions())}),n}return p()(t,e),c()(t,[{key:"getInitialAutoControlledState",value:function(){return{searchQuery:""}}},{key:"componentWillMount",value:function(){var e=this.state,t=e.open,n=e.value;this.setValue(n),this.setSelectedIndex(n),t&&(this.open(),this.attachHandlersOnOpen())}},{key:"componentWillReceiveProps",value:function(e){J()(d()(t.prototype),"componentWillReceiveProps",this).call(this,e),Be()(e.value,this.props.value)||(this.setValue(e.value),this.setSelectedIndex(e.value)),De()(this.getKeyAndValues(e.options),this.getKeyAndValues(this.props.options))||this.setSelectedIndex(void 0,e.options)}},{key:"shouldComponentUpdate",value:function(e,t){return!Be()(e,this.props)||!Be()(t,this.state)}},{key:"componentDidUpdate",value:function(e,t){if(!t.focus&&this.state.focus){if(!this.isMouseDown){var n=this.props,r=n.minCharacters,i=n.openOnFocus,o=n.search,a=!o||o&&1===r&&!this.state.open;i&&a&&this.open()}this.state.open?He.a.sub("keydown",[this.moveSelectionOnKeyDown,this.selectItemOnEnter]):He.a.sub("keydown",[this.openOnArrow,this.openOnSpace]),He.a.sub("keydown",this.removeItemOnBackspace)}else if(t.focus&&!this.state.focus){var u=this.props.closeOnBlur;!this.isMouseDown&&u&&this.close(),He.a.unsub("keydown",[this.openOnArrow,this.openOnSpace,this.moveSelectionOnKeyDown,this.selectItemOnEnter,this.removeItemOnBackspace])}!t.open&&this.state.open?(this.attachHandlersOnOpen(),this.setOpenDirection(),this.scrollSelectedItemIntoView()):t.open&&!this.state.open&&(this.handleClose(),He.a.unsub("keydown",[this.closeOnEscape,this.moveSelectionOnKeyDown,this.selectItemOnEnter]),He.a.unsub("click",this.closeOnDocumentClick),this.state.focus||He.a.unsub("keydown",this.removeItemOnBackspace))}},{key:"componentWillUnmount",value:function(){He.a.unsub("keydown",[this.openOnArrow,this.openOnSpace,this.moveSelectionOnKeyDown,this.selectItemOnEnter,this.removeItemOnBackspace,this.closeOnEscape]),He.a.unsub("click",this.closeOnDocumentClick)}},{key:"getDropdownMenuAriaOptions",value:function(){var e=this.props,t=e.search,n=e.multiple,r={};return t&&(r["aria-multiselectable"]=n,r.role="listbox"),r}},{key:"render",value:function(){var e=this.props,n=e.basic,r=e.button,o=e.className,a=e.compact,u=e.disabled,c=e.error,l=e.fluid,s=e.floating,f=e.icon,d=e.inline,h=e.item,p=e.labeled,v=e.loading,m=e.multiple,y=e.pointing,g=e.search,b=e.selection,x=e.scrolling,_=e.simple,w=e.trigger,k=this.state,T=k.open,j=k.upward,N=O()("ui",Object(C.a)(T,"active visible"),Object(C.a)(u,"disabled"),Object(C.a)(c,"error"),Object(C.a)(v,"loading"),Object(C.a)(n,"basic"),Object(C.a)(r,"button"),Object(C.a)(a,"compact"),Object(C.a)(l,"fluid"),Object(C.a)(s,"floating"),Object(C.a)(d,"inline"),Object(C.a)(p,"labeled"),Object(C.a)(h,"item"),Object(C.a)(m,"multiple"),Object(C.a)(g,"search"),Object(C.a)(b,"selection"),Object(C.a)(_,"simple"),Object(C.a)(x,"scrolling"),Object(C.a)(j,"upward"),Object(C.b)(y,"pointing"),"dropdown",o),P=Object(S.a)(t,this.props),A=Object(M.a)(t,this.props),I=this.getDropdownAriaOptions(A,this.props);return E.a.createElement(A,i()({},P,I,{className:N,onBlur:this.handleBlur,onClick:this.handleClick,onMouseDown:this.handleMouseDown,onFocus:this.handleFocus,onChange:this.handleChange,tabIndex:this.computeTabIndex(),ref:this.handleRef}),this.renderLabels(),this.renderSearchInput(),this.renderSearchSizer(),w||this.renderText(),qe.a.create(f,{overrideProps:this.handleIconOverrides,autoGenerateKey:!1}),this.renderMenu())}}]),t}(W.a);function ct(e){var t=e.control,n=Object(S.a)(ct,e),r=Object(M.a)(ct,e);return E.a.createElement(r,i()({},n,{control:t}))}g()(ut,"defaultProps",{additionLabel:"Add ",additionPosition:"top",closeOnBlur:!0,deburr:!1,icon:"dropdown",minCharacters:1,noResultsMessage:"No results found.",openOnFocus:!0,renderLabel:function(e){return e.text},searchInput:"text",selectOnBlur:!0,selectOnNavigation:!0,wrapSelection:!0}),g()(ut,"autoControlledProps",["open","searchQuery","selectedLabel","value","upward"]),g()(ut,"Divider",Ge),g()(ut,"Header",et),g()(ut,"Item",Ze),g()(ut,"Menu",nt),g()(ut,"SearchInput",ot),g()(ut,"handledProps",["additionLabel","additionPosition","allowAdditions","as","basic","button","children","className","clearable","closeOnBlur","closeOnChange","compact","deburr","defaultOpen","defaultSearchQuery","defaultSelectedLabel","defaultUpward","defaultValue","direction","disabled","error","floating","fluid","header","icon","inline","item","labeled","lazyLoad","loading","minCharacters","multiple","noResultsMessage","onAddItem","onBlur","onChange","onClick","onClose","onFocus","onLabelClick","onMouseDown","onOpen","onSearchChange","open","openOnFocus","options","placeholder","pointing","renderLabel","scrolling","search","searchInput","searchQuery","selectOnBlur","selectOnNavigation","selectedLabel","selection","simple","tabIndex","text","trigger","upward","value","wrapSelection"]),ut.propTypes={},ct.handledProps=["as","control"],ct.propTypes={},ct.defaultProps={as:G,control:ut};var lt=ct;n(218);function st(e){var t=e.children,n=e.className,r=e.grouped,o=e.inline,a=e.unstackable,u=e.widths,c=O()(Object(C.a)(r,"grouped"),Object(C.a)(o,"inline"),Object(C.a)(a,"unstackable"),Object(C.f)(u,null,!0),"fields",n),l=Object(S.a)(st,e),s=Object(M.a)(st,e);return E.a.createElement(s,i()({},l,{className:c}),t)}st.handledProps=["as","children","className","grouped","inline","unstackable","widths"],st.propTypes={};var ft=st,dt=n(473);function ht(e){var t=e.control,n=Object(S.a)(ht,e),r=Object(M.a)(ht,e);return E.a.createElement(r,i()({},n,{control:t}))}ht.handledProps=["as","control"],ht.propTypes={},ht.defaultProps={as:G,control:dt.a};var pt=ht;function vt(e){var t=e.control,n=Object(S.a)(vt,e),r=Object(M.a)(vt,e);return E.a.createElement(r,i()({},n,{control:t}))}vt.handledProps=["as","control"],vt.propTypes={},vt.defaultProps={as:G,control:V};var mt=vt;function yt(e){return E.a.createElement(ut,i()({},e,{selection:!0}))}yt.handledProps=["options"],yt.propTypes={},yt.Divider=ut.Divider,yt.Header=ut.Header,yt.Item=ut.Item,yt.Menu=ut.Menu;var gt=yt;function bt(e){var t=e.control,n=e.options,r=Object(S.a)(bt,e),o=Object(M.a)(bt,e);return E.a.createElement(o,i()({},r,{control:t,options:n}))}bt.handledProps=["as","control","options"],bt.propTypes={},bt.defaultProps={as:G,control:gt};var xt=bt,_t=n(247),wt=n.n(_t),kt=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"focus",function(){return n.ref.focus()}),g()(m()(m()(n)),"handleChange",function(e){var t=I()(e,"target.value");x()(n.props,"onChange",e,P()({},n.props,{value:t}))}),g()(m()(m()(n)),"handleInput",function(e){var t=I()(e,"target.value");x()(n.props,"onInput",e,P()({},n.props,{value:t})),n.updateHeight()}),g()(m()(m()(n)),"handleRef",function(e){return n.ref=e}),g()(m()(m()(n)),"removeAutoHeightStyles",function(){n.ref.style.height=null,n.ref.style.resize=null}),g()(m()(m()(n)),"updateHeight",function(){var e=n.props.autoHeight;if(n.ref&&e){var t=window.getComputedStyle(n.ref),r=t.minHeight,i=t.borderBottomWidth,o=t.borderTopWidth,a=wt()([i,o].map(function(e){return parseFloat(e)}));n.ref.style.height="auto",n.ref.style.overflowY="hidden",n.ref.style.height="".concat(Math.max(parseFloat(r),Math.ceil(n.ref.scrollHeight+a)),"px"),n.ref.style.overflowY=""}}),n}return p()(t,e),c()(t,[{key:"componentDidMount",value:function(){this.updateHeight()}},{key:"componentDidUpdate",value:function(e){!this.props.autoHeight&&e.autoHeight&&this.removeAutoHeightStyles(),(this.props.autoHeight&&!e.autoHeight||e.value!==this.props.value)&&this.updateHeight()}},{key:"render",value:function(){var e=this.props,n=e.autoHeight,r=e.rows,o=e.style,a=e.value,u=Object(S.a)(t,this.props),c=Object(M.a)(t,this.props),l=n?"none":"";return E.a.createElement(c,i()({},u,{onChange:this.handleChange,onInput:this.handleInput,ref:this.handleRef,rows:r,style:P()({resize:l},o),value:a}))}}]),t}(T.Component);g()(kt,"defaultProps",{as:"textarea",rows:3}),g()(kt,"handledProps",["as","autoHeight","onChange","onInput","rows","style","value"]),kt.propTypes={};var Ot=kt;function Tt(e){var t=e.control,n=Object(S.a)(Tt,e),r=Object(M.a)(Tt,e);return E.a.createElement(r,i()({},n,{control:t}))}Tt.handledProps=["as","control"],Tt.propTypes={},Tt.defaultProps={as:G,control:Ot};var Et=Tt,Ct=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"handleSubmit",function(e){"string"!==typeof n.props.action&&x()(e,"preventDefault");for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];x.a.apply(void 0,[n.props,"onSubmit",e,n.props].concat(r))}),n}return p()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,n=e.action,r=e.children,o=e.className,a=e.error,u=e.inverted,c=e.loading,l=e.reply,s=e.size,f=e.success,d=e.unstackable,h=e.warning,p=e.widths,v=O()("ui",s,Object(C.a)(a,"error"),Object(C.a)(u,"inverted"),Object(C.a)(c,"loading"),Object(C.a)(l,"reply"),Object(C.a)(f,"success"),Object(C.a)(d,"unstackable"),Object(C.a)(h,"warning"),Object(C.f)(p,null,!0),"form",o),m=Object(S.a)(t,this.props),y=Object(M.a)(t,this.props);return E.a.createElement(y,i()({},m,{action:n,className:v,onSubmit:this.handleSubmit}),r)}}]),t}(T.Component);g()(Ct,"defaultProps",{as:"form"}),g()(Ct,"Field",G),g()(Ct,"Button",K),g()(Ct,"Checkbox",Q),g()(Ct,"Dropdown",lt),g()(Ct,"Group",ft),g()(Ct,"Input",pt),g()(Ct,"Radio",mt),g()(Ct,"Select",xt),g()(Ct,"TextArea",Et),g()(Ct,"handledProps",["action","as","children","className","error","inverted","loading","onSubmit","reply","size","success","unstackable","warning","widths"]),Ct.propTypes={};t.a=Ct},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(14),a=n.n(o),u=n(9),c=n.n(u),l=n(11),s=n.n(l),f=n(12),d=n.n(f),h=n(8),p=n.n(h),v=n(13),m=n.n(v),y=n(1),g=n.n(y),b=n(2),x=n.n(b),_=n(103),w=n.n(_),k=n(33),O=n.n(k),T=n(104),E=n.n(T),C=n(50),S=n.n(C),M=n(7),j=n.n(M),N=n(6),P=n.n(N),A=(n(4),n(0)),I=n.n(A),R=n(195),z=n(196),D=n(197),L=n(24),F=n(170),U=n(5),B=n(169),W=n(198),H=n(220),q=n(10),V=n.n(q),Y=function(e){var t=e.node;if(Object(R.a)())return V()(t)?document.body:t},G=n(38),$=n.n(G),K=n(64),X=n.n(K),Q=n(232),Z=n.n(Q),J=n(233),ee=n.n(J),te=n(234),ne=n.n(te),re=n(235),ie=n.n(re),oe=n(236),ae=n.n(oe),ue=n(237),ce=n.n(ue),le=n(238),se=n.n(le),fe=n(239),de=n.n(fe)()(se.a,ce()("props.className"),ae()(ie()(/\s+/)),ne()(ee.a),Z.a),he=n(102),pe=n.n(he),ve=function(e,t){return[pe()(t,e),pe()(e,t)]},me=new Map,ye=function(e,t){var n=de(t),r=ve(me.get(e),n),i=$()(r,2),o=i[0],a=i[1];X()(o,function(t){return e.classList.add(t)}),X()(a,function(t){return e.classList.remove(t)}),me.set(e,n)},ge=new function e(){var t=this;c()(this,e),x()(this,"add",function(e,n){t.nodes.has(e)?t.nodes.get(e).add(n):t.nodes.set(e,new Set([n]))}),x()(this,"del",function(e,n){if(t.nodes.has(e)){var r=t.nodes.get(e);1!==r.size?r.delete(n):t.nodes.delete(e)}}),x()(this,"emit",function(e,n){n(e,t.nodes.get(e))}),this.nodes=new Map},be=function(e){function t(){return c()(this,t),d()(this,p()(t).apply(this,arguments))}return m()(t,e),s()(t,[{key:"shouldComponentUpdate",value:function(e){return e.className!==this.props.className}},{key:"componentDidMount",value:function(){var e=Y(this.props);e&&(ge.add(e,this),ge.emit(e,ye))}},{key:"componentDidUpdate",value:function(){var e=Y(this.props);e&&ge.emit(e,ye)}},{key:"componentWillUnmount",value:function(){var e=Y(this.props);e&&(ge.del(e,this),ge.emit(e,ye))}},{key:"render",value:function(){return null}}]),t}(A.Component);x()(be,"handledProps",["className","node"]),be.propTypes={};var xe=n(482),_e=n(191);function we(e){var t=e.children,n=e.className,r=e.content,o=P()(n,"header"),a=Object(B.a)(we,e),u=Object(F.a)(we,e);return I.a.createElement(u,i()({},a,{className:o}),U.a.isNil(t)?r:t)}we.handledProps=["as","children","className","content"],we.propTypes={},we.create=Object(_e.e)(we,function(e){return{content:e}});var ke=we;function Oe(e){var t=e.children,n=e.className,r=e.content,o=e.image,a=e.scrolling,u=P()(n,Object(L.a)(o,"image"),Object(L.a)(a,"scrolling"),"content"),c=Object(B.a)(Oe,e),l=Object(F.a)(Oe,e);return I.a.createElement(l,i()({},c,{className:u}),U.a.isNil(t)?r:t)}Oe.handledProps=["as","children","className","content","image","scrolling"],Oe.propTypes={},Oe.create=Object(_e.e)(Oe,function(e){return{content:e}});var Te=Oe,Ee=n(16),Ce=n.n(Ee),Se=n(479),Me=function(e){function t(){var e,n;c()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=d()(this,(e=p()(t)).call.apply(e,[this].concat(i))),x()(g()(g()(n)),"handleButtonOverrides",function(e){return{onClick:function(t,r){j()(e,"onClick",t,r),j()(n.props,"onActionClick",t,r)}}}),n}return m()(t,e),s()(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.actions,o=n.children,a=n.className,u=n.content,c=P()("actions",a),l=Object(B.a)(t,this.props),s=Object(F.a)(t,this.props);return U.a.isNil(o)?U.a.isNil(u)?I.a.createElement(s,i()({},l,{className:c}),Ce()(r,function(t){return Se.a.create(t,{overrideProps:e.handleButtonOverrides})})):I.a.createElement(s,i()({},l,{className:c}),u):I.a.createElement(s,i()({},l,{className:c}),o)}}]),t}(A.Component);function je(e){var t=e.children,n=e.className,r=e.content,o=P()("description",n),a=Object(B.a)(je,e),u=Object(F.a)(je,e);return I.a.createElement(u,i()({},a,{className:o}),U.a.isNil(t)?r:t)}x()(Me,"handledProps",["actions","as","children","className","content","onActionClick"]),Me.propTypes={},Me.create=Object(_e.e)(Me,function(e){return{actions:e}}),je.handledProps=["as","children","className","content"],je.propTypes={};var Ne=je,Pe=n(472),Ae=function(e){function t(){var e,n;c()(this,t);for(var r=arguments.length,o=new Array(r),u=0;u<r;u++)o[u]=arguments[u];return n=d()(this,(e=p()(t)).call.apply(e,[this].concat(o))),x()(g()(g()(n)),"getMountNode",function(){return Object(R.a)()?n.props.mountNode||document.body:null}),x()(g()(g()(n)),"handleActionsOverrides",function(e){return{onActionClick:function(t,r){j()(e,"onActionClick",t,r),j()(n.props,"onActionClick",t,n.props),n.handleClose(t)}}}),x()(g()(g()(n)),"handleClose",function(e){j()(n.props,"onClose",e,n.props),n.trySetState({open:!1})}),x()(g()(g()(n)),"handleDocumentClick",function(e){n.props.closeOnDimmerClick&&!Object(z.a)(n.ref,e)&&(j()(n.props,"onClose",e,n.props),n.trySetState({open:!1}))}),x()(g()(g()(n)),"handleIconOverrides",function(e){return{onClick:function(t){j()(e,"onClick",t),n.handleClose(t)}}}),x()(g()(g()(n)),"handleOpen",function(e){j()(n.props,"onOpen",e,n.props),n.trySetState({open:!0})}),x()(g()(g()(n)),"handlePortalMount",function(e){var t=n.props.eventPool;n.setState({scrolling:!1}),n.setPositionAndClassNames(),D.a.sub("click",n.handleDocumentClick,{pool:t,target:n.dimmerRef}),j()(n.props,"onMount",e,n.props)}),x()(g()(g()(n)),"handlePortalUnmount",function(e){var t=n.props.eventPool;cancelAnimationFrame(n.animationRequestId),D.a.unsub("click",n.handleDocumentClick,{pool:t,target:n.dimmerRef}),j()(n.props,"onUnmount",e,n.props)}),x()(g()(g()(n)),"handleRef",function(e){return n.ref=e}),x()(g()(g()(n)),"handleDimmerRef",function(e){return n.dimmerRef=e}),x()(g()(g()(n)),"setDimmerNodeStyle",function(){n.dimmerRef&&n.dimmerRef.style.setProperty("display","flex","important")}),x()(g()(g()(n)),"setPositionAndClassNames",function(){var e,t=n.props.dimmer;t&&(e="dimmable dimmed","blurring"===t&&(e+=" blurring"));var r={};if(n.ref){var i=n.ref.getBoundingClientRect().height>window.innerHeight;null!==n.state.marginTop&&(r.marginTop=null),n.state.scrolling!==i&&(r.scrolling=i),i&&(e+=" scrolling")}n.state.mountClasses!==e&&(r.mountClasses=e),S()(r)||n.setState(r),n.animationRequestId=requestAnimationFrame(n.setPositionAndClassNames),n.setDimmerNodeStyle()}),x()(g()(g()(n)),"renderContent",function(e){var r=n.props,o=r.actions,u=r.basic,c=r.children,l=r.className,s=r.closeIcon,f=r.content,d=r.header,h=r.mountNode,p=r.size,v=r.style,m=n.state,y=m.marginTop,g=m.mountClasses,b=m.scrolling,x=P()("ui",p,Object(L.a)(u,"basic"),Object(L.a)(b,"scrolling"),"modal transition visible active",l),_=Object(F.a)(t,n.props),w=!0===s?"close":s,k=H.a.create(w,{overrideProps:n.handleIconOverrides});return U.a.isNil(c)?I.a.createElement(Pe.a,{innerRef:n.handleRef},I.a.createElement(_,i()({},e,{className:x,style:a()({marginTop:y},v)}),I.a.createElement(be,{className:g,node:h}),k,ke.create(d,{autoGenerateKey:!1}),Te.create(f,{autoGenerateKey:!1}),Me.create(o,{overrideProps:n.handleActionsOverrides}))):I.a.createElement(Pe.a,{innerRef:n.handleRef},I.a.createElement(_,i()({},e,{className:x,style:a()({marginTop:y},v)}),I.a.createElement(be,{className:g,node:h}),k,c))}),n}return m()(t,e),s()(t,[{key:"componentWillUnmount",value:function(){this.handlePortalUnmount()}},{key:"render",value:function(){var e=this.state.open,n=this.props,r=n.centered,o=n.closeOnDocumentClick,a=n.dimmer,u=n.eventPool,c=n.trigger,l=this.getMountNode();if(!Object(R.a)())return Object(A.isValidElement)(c)?c:null;var s=Object(B.a)(t,this.props),f=xe.a.handledProps,d=E()(s,function(e,t,n){return O()(f,n)||(e[n]=t),e},{}),h=w()(s,f),p=P()("ui","inverted"===a&&"inverted",!r&&"top aligned","page modals dimmer transition visible active");return I.a.createElement(xe.a,i()({closeOnDocumentClick:o},h,{trigger:c,eventPool:u,mountNode:l,open:e,onClose:this.handleClose,onMount:this.handlePortalMount,onOpen:this.handleOpen,onUnmount:this.handlePortalUnmount}),I.a.createElement("div",{className:p,ref:this.handleDimmerRef},this.renderContent(d)))}}]),t}(W.a);x()(Ae,"defaultProps",{centered:!0,dimmer:!0,closeOnDimmerClick:!0,closeOnDocumentClick:!1,eventPool:"Modal"}),x()(Ae,"autoControlledProps",["open"]),x()(Ae,"Header",ke),x()(Ae,"Content",Te),x()(Ae,"Description",Ne),x()(Ae,"Actions",Me),x()(Ae,"handledProps",["actions","as","basic","centered","children","className","closeIcon","closeOnDimmerClick","closeOnDocumentClick","content","defaultOpen","dimmer","eventPool","header","mountNode","onActionClick","onClose","onMount","onOpen","onUnmount","open","size","style","trigger"]),Ae.propTypes={};t.a=Ae},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n.n(o),u=n(11),c=n.n(u),l=n(12),s=n.n(l),f=n(8),d=n.n(f),h=n(13),p=n.n(h),v=n(1),m=n.n(v),y=n(2),g=n.n(y),b=n(6),x=n.n(b),_=(n(4),n(0)),w=n.n(_),k=n(24),O=n(169),T=n(170),E=n(5),C=n(463),S=(n(19),n(191));function M(e){var t=e.children,n=e.className,r=e.content,o=e.textAlign,a=x()(Object(k.c)(o),"description",n),u=Object(O.a)(M,e),c=Object(T.a)(M,e);return w.a.createElement(c,i()({},u,{className:a}),E.a.isNil(t)?r:t)}M.handledProps=["as","children","className","content","textAlign"],M.propTypes={};var j=M;function N(e){var t=e.children,n=e.className,r=e.content,o=e.textAlign,a=x()(Object(k.c)(o),"header",n),u=Object(O.a)(N,e),c=Object(T.a)(N,e);return w.a.createElement(c,i()({},u,{className:a}),E.a.isNil(t)?r:t)}N.handledProps=["as","children","className","content","textAlign"],N.propTypes={};var P=N;function A(e){var t=e.children,n=e.className,r=e.content,o=e.textAlign,a=x()(Object(k.c)(o),"meta",n),u=Object(O.a)(A,e),c=Object(T.a)(A,e);return w.a.createElement(c,i()({},u,{className:a}),E.a.isNil(t)?r:t)}A.handledProps=["as","children","className","content","textAlign"],A.propTypes={};var I=A;function R(e){var t=e.children,n=e.className,r=e.content,o=e.description,a=e.extra,u=e.header,c=e.meta,l=e.textAlign,s=x()(Object(k.a)(a,"extra"),Object(k.c)(l),"content",n),f=Object(O.a)(R,e),d=Object(T.a)(R,e);return E.a.isNil(t)?E.a.isNil(r)?w.a.createElement(d,i()({},f,{className:s}),Object(S.d)(P,function(e){return{content:e}},u,{autoGenerateKey:!1}),Object(S.d)(I,function(e){return{content:e}},c,{autoGenerateKey:!1}),Object(S.d)(j,function(e){return{content:e}},o,{autoGenerateKey:!1})):w.a.createElement(d,i()({},f,{className:s}),r):w.a.createElement(d,i()({},f,{className:s}),t)}R.handledProps=["as","children","className","content","description","extra","header","meta","textAlign"],R.propTypes={};var z=R,D=n(16),L=n.n(D);function F(e){var t=e.centered,n=e.children,r=e.className,o=e.content,a=e.doubling,u=e.items,c=e.itemsPerRow,l=e.stackable,s=e.textAlign,f=x()("ui",Object(k.a)(t,"centered"),Object(k.a)(a,"doubling"),Object(k.a)(l,"stackable"),Object(k.c)(s),Object(k.f)(c),"cards",r),d=Object(O.a)(F,e),h=Object(T.a)(F,e);if(!E.a.isNil(n))return w.a.createElement(h,i()({},d,{className:f}),n);if(!E.a.isNil(o))return w.a.createElement(h,i()({},d,{className:f}),o);var p=L()(u,function(e){var t=e.key||[e.header,e.description].join("-");return w.a.createElement(B,i()({key:t},e))});return w.a.createElement(h,i()({},d,{className:f}),p)}F.handledProps=["as","centered","children","className","content","doubling","items","itemsPerRow","stackable","textAlign"],F.propTypes={};var U=F;n.d(t,"a",function(){return B});var B=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"handleClick",function(e){var t=n.props.onClick;t&&t(e,n.props)}),n}return p()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,n=e.centered,r=e.children,o=e.className,a=e.color,u=e.content,c=e.description,l=e.extra,s=e.fluid,f=e.header,d=e.href,h=e.image,p=e.link,v=e.meta,m=e.onClick,y=e.raised,g=x()("ui",a,Object(k.a)(n,"centered"),Object(k.a)(s,"fluid"),Object(k.a)(p,"link"),Object(k.a)(y,"raised"),"card",o),b=Object(O.a)(t,this.props),_=Object(T.a)(t,this.props,function(){if(m)return"a"});return E.a.isNil(r)?E.a.isNil(u)?w.a.createElement(_,i()({},b,{className:g,href:d,onClick:this.handleClick}),C.a.create(h,{autoGenerateKey:!1}),(c||f||v)&&w.a.createElement(z,{description:c,header:f,meta:v}),l&&w.a.createElement(z,{extra:!0},l)):w.a.createElement(_,i()({},b,{className:g,href:d,onClick:this.handleClick}),u):w.a.createElement(_,i()({},b,{className:g,href:d,onClick:this.handleClick}),r)}}]),t}(_.Component);g()(B,"Content",z),g()(B,"Description",j),g()(B,"Group",U),g()(B,"Header",P),g()(B,"Meta",I),g()(B,"handledProps",["as","centered","children","className","color","content","description","extra","fluid","header","href","image","link","meta","onClick","raised"]),B.propTypes={}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n.n(o),u=n(11),c=n.n(u),l=n(12),s=n.n(l),f=n(8),d=n.n(f),h=n(13),p=n.n(h),v=n(1),m=n.n(v),y=n(2),g=n.n(y),b=n(10),x=n.n(b),_=(n(19),n(6)),w=n.n(_),k=(n(4),n(0)),O=n.n(k),T=n(24),E=n(169),C=n(170),S=n(5),M=n(191),j=n(220);function N(e){var t=e.children,n=e.className,r=e.content,o=w()("content",n),a=Object(E.a)(N,e),u=Object(C.a)(N,e);return O.a.createElement(u,i()({},a,{className:o}),S.a.isNil(t)?r:t)}N.handledProps=["as","children","className","content"],N.propTypes={};var P=N;function A(e){var t=e.children,n=e.className,r=e.content,o=w()("header",n),a=Object(E.a)(A,e),u=Object(C.a)(A,e);return O.a.createElement(u,i()({},a,{className:o}),S.a.isNil(t)?r:t)}A.handledProps=["as","children","className","content"],A.propTypes={},A.create=Object(M.e)(A,function(e){return{content:e}});var I=A,R=n(16),z=n.n(R);function D(e){var t=e.children,n=e.className,r=e.content,o=w()("content",n),a=Object(E.a)(D,e),u=Object(C.a)(D,e);return O.a.createElement(u,i()({},a,{className:o}),S.a.isNil(t)?r:t)}D.handledProps=["as","children","className","content"],D.propTypes={},D.defaultProps={as:"li"},D.create=Object(M.e)(D,function(e){return{content:e}});var L=D;function F(e){var t=e.children,n=e.className,r=e.items,o=w()("list",n),a=Object(E.a)(F,e),u=Object(C.a)(F,e);return O.a.createElement(u,i()({},a,{className:o}),S.a.isNil(t)?z()(r,L.create):t)}F.handledProps=["as","children","className","items"],F.propTypes={},F.defaultProps={as:"ul"},F.create=Object(M.e)(F,function(e){return{items:e}});var U=F;n.d(t,"a",function(){return B});var B=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"handleDismiss",function(e){var t=n.props.onDismiss;t&&t(e,n.props)}),n}return p()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,n=e.attached,r=e.children,o=e.className,a=e.color,u=e.compact,c=e.content,l=e.error,s=e.floating,f=e.header,d=e.hidden,h=e.icon,p=e.info,v=e.list,m=e.negative,y=e.onDismiss,g=e.positive,b=e.size,_=e.success,k=e.visible,N=e.warning,A=w()("ui",a,b,Object(T.a)(u,"compact"),Object(T.a)(l,"error"),Object(T.a)(s,"floating"),Object(T.a)(d,"hidden"),Object(T.a)(h,"icon"),Object(T.a)(p,"info"),Object(T.a)(m,"negative"),Object(T.a)(g,"positive"),Object(T.a)(_,"success"),Object(T.a)(k,"visible"),Object(T.a)(N,"warning"),Object(T.b)(n,"attached"),"message",o),R=y&&O.a.createElement(j.a,{name:"close",onClick:this.handleDismiss}),z=Object(E.a)(t,this.props),D=Object(C.a)(t,this.props);return S.a.isNil(r)?O.a.createElement(D,i()({},z,{className:A}),R,j.a.create(h,{autoGenerateKey:!1}),(!x()(f)||!x()(c)||!x()(v))&&O.a.createElement(P,null,I.create(f,{autoGenerateKey:!1}),U.create(v,{autoGenerateKey:!1}),Object(M.c)(c,{autoGenerateKey:!1}))):O.a.createElement(D,i()({},z,{className:A}),R,r)}}]),t}(k.Component);g()(B,"Content",P),g()(B,"Header",I),g()(B,"List",U),g()(B,"Item",L),g()(B,"handledProps",["as","attached","children","className","color","compact","content","error","floating","header","hidden","icon","info","list","negative","onDismiss","positive","size","success","visible","warning"]),B.propTypes={}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(9),a=n.n(o),u=n(11),c=n.n(u),l=n(12),s=n.n(l),f=n(8),d=n.n(f),h=n(13),p=n.n(h),v=n(1),m=n.n(v),y=n(2),g=n.n(y),b=n(16),x=n.n(b),_=n(7),w=n.n(_),k=(n(19),n(6)),O=n.n(k),T=(n(4),n(0)),E=n.n(T),C=n(24),S=n(169),M=n(170),j=n(5),N=n(198),P=n(191);function A(e){var t=e.children,n=e.className,r=e.content,o=O()("header",n),a=Object(S.a)(A,e),u=Object(M.a)(A,e);return E.a.createElement(u,i()({},a,{className:o}),j.a.isNil(t)?r:t)}A.handledProps=["as","children","className","content"],A.propTypes={};var I=A,R=n(248),z=n.n(R),D=n(220),L=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"handleClick",function(e){n.props.disabled||w()(n.props,"onClick",e,n.props)}),n}return p()(t,e),c()(t,[{key:"render",value:function(){var e=this.props,n=e.active,r=e.children,o=e.className,a=e.color,u=e.content,c=e.disabled,l=e.fitted,s=e.header,f=e.icon,d=e.link,h=e.name,p=e.onClick,v=e.position,m=O()(a,v,Object(C.a)(n,"active"),Object(C.a)(c,"disabled"),Object(C.a)(!0===f||f&&!(h||u),"icon"),Object(C.a)(s,"header"),Object(C.a)(d,"link"),Object(C.b)(l,"fitted"),"item",o),y=Object(M.a)(t,this.props,function(){if(p)return"a"}),g=Object(S.a)(t,this.props);return j.a.isNil(r)?E.a.createElement(y,i()({},g,{className:m,onClick:this.handleClick}),D.a.create(f,{autoGenerateKey:!1}),j.a.isNil(u)?z()(h):u):E.a.createElement(y,i()({},g,{className:m,onClick:this.handleClick}),r)}}]),t}(T.Component);function F(e){var t=e.children,n=e.className,r=e.content,o=e.position,a=O()(o,"menu",n),u=Object(S.a)(F,e),c=Object(M.a)(F,e);return E.a.createElement(c,i()({},u,{className:a}),j.a.isNil(t)?r:t)}g()(L,"handledProps",["active","as","children","className","color","content","disabled","fitted","header","icon","index","link","name","onClick","position"]),L.propTypes={},L.create=Object(P.e)(L,function(e){return{content:e,name:e}}),F.handledProps=["as","children","className","content","position"],F.propTypes={};var U=F,B=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"handleItemOverrides",function(e){return{onClick:function(t,r){var i=r.index;n.trySetState({activeIndex:i}),w()(e,"onClick",t,r),w()(n.props,"onItemClick",t,r)}}}),n}return p()(t,e),c()(t,[{key:"renderItems",value:function(){var e=this,t=this.props.items,n=this.state.activeIndex;return x()(t,function(t,r){return L.create(t,{defaultProps:{active:parseInt(n,10)===r,index:r},overrideProps:e.handleItemOverrides})})}},{key:"render",value:function(){var e=this.props,n=e.attached,r=e.borderless,o=e.children,a=e.className,u=e.color,c=e.compact,l=e.fixed,s=e.floated,f=e.fluid,d=e.icon,h=e.inverted,p=e.pagination,v=e.pointing,m=e.secondary,y=e.size,g=e.stackable,b=e.tabular,x=e.text,_=e.vertical,w=e.widths,k=O()("ui",u,y,Object(C.a)(r,"borderless"),Object(C.a)(c,"compact"),Object(C.a)(f,"fluid"),Object(C.a)(h,"inverted"),Object(C.a)(p,"pagination"),Object(C.a)(v,"pointing"),Object(C.a)(m,"secondary"),Object(C.a)(g,"stackable"),Object(C.a)(x,"text"),Object(C.a)(_,"vertical"),Object(C.b)(n,"attached"),Object(C.b)(s,"floated"),Object(C.b)(d,"icon"),Object(C.b)(b,"tabular"),Object(C.d)(l,"fixed"),Object(C.f)(w,"item"),a,"menu"),T=Object(S.a)(t,this.props),N=Object(M.a)(t,this.props);return E.a.createElement(N,i()({},T,{className:k}),j.a.isNil(o)?this.renderItems():o)}}]),t}(N.a);g()(B,"autoControlledProps",["activeIndex"]),g()(B,"Header",I),g()(B,"Item",L),g()(B,"Menu",U),g()(B,"handledProps",["activeIndex","as","attached","borderless","children","className","color","compact","defaultActiveIndex","fixed","floated","fluid","icon","inverted","items","onItemClick","pagination","pointing","secondary","size","stackable","tabular","text","vertical","widths"]),B.propTypes={},B.create=Object(P.e)(B,function(e){return{items:e}});t.a=B},function(e,t,n){"use strict";n(218);var r=n(3),i=n.n(r),o=n(9),a=n.n(o),u=n(11),c=n.n(u),l=n(12),s=n.n(l),f=n(8),d=n.n(f),h=n(13),p=n.n(h),v=n(1),m=n.n(v),y=n(2),g=n.n(y),b=n(7),x=n.n(b),_=n(10),w=n.n(_),k=n(6),O=n.n(k),T=(n(4),n(0)),E=n.n(T),C=n(5),S=n(24),M=n(169),j=n(170),N=n(191),P=n(220),A=n(219);function I(e){var t=e.children,n=e.className,r=e.content,o=e.hidden,a=e.visible,u=O()(Object(S.a)(a,"visible"),Object(S.a)(o,"hidden"),"content",n),c=Object(M.a)(I,e),l=Object(j.a)(I,e);return E.a.createElement(l,i()({},c,{className:u}),C.a.isNil(t)?r:t)}I.handledProps=["as","children","className","content","hidden","visible"],I.propTypes={};var R=I,z=n(16),D=n.n(z);function L(e){var t=e.attached,n=e.basic,r=e.buttons,o=e.children,a=e.className,u=e.color,c=e.compact,l=e.content,s=e.floated,f=e.fluid,d=e.icon,h=e.inverted,p=e.labeled,v=e.negative,m=e.positive,y=e.primary,g=e.secondary,b=e.size,x=e.toggle,_=e.vertical,k=e.widths,T=O()("ui",u,b,Object(S.a)(n,"basic"),Object(S.a)(c,"compact"),Object(S.a)(f,"fluid"),Object(S.a)(d,"icon"),Object(S.a)(h,"inverted"),Object(S.a)(p,"labeled"),Object(S.a)(v,"negative"),Object(S.a)(m,"positive"),Object(S.a)(y,"primary"),Object(S.a)(g,"secondary"),Object(S.a)(x,"toggle"),Object(S.a)(_,"vertical"),Object(S.b)(t,"attached"),Object(S.d)(s,"floated"),Object(S.f)(k),"buttons",a),N=Object(M.a)(L,e),P=Object(j.a)(L,e);return w()(r)?E.a.createElement(P,i()({},N,{className:T}),C.a.isNil(o)?l:o):E.a.createElement(P,i()({},N,{className:T}),D()(r,function(e){return H.create(e)}))}L.handledProps=["as","attached","basic","buttons","children","className","color","compact","content","floated","fluid","icon","inverted","labeled","negative","positive","primary","secondary","size","toggle","vertical","widths"],L.propTypes={};var F=L;function U(e){var t=e.className,n=e.text,r=O()("or",t),o=Object(M.a)(U,e),a=Object(j.a)(U,e);return E.a.createElement(a,i()({},o,{className:r,"data-text":n}))}U.handledProps=["as","className","text"],U.propTypes={};var B=U,W=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"computeElementType",function(){var e=n.props,t=e.attached,r=e.label;if(!w()(t)||!w()(r))return"div"}),g()(m()(m()(n)),"computeTabIndex",function(e){var t=n.props,r=t.disabled,i=t.tabIndex;return w()(i)?r?-1:"div"===e?0:void 0:i}),g()(m()(m()(n)),"focus",function(){return x()(n.ref,"focus")}),g()(m()(m()(n)),"handleClick",function(e){n.props.disabled?e.preventDefault():x()(n.props,"onClick",e,n.props)}),g()(m()(m()(n)),"handleRef",function(e){return n.ref=e}),g()(m()(m()(n)),"hasIconClass",function(){var e=n.props,t=e.labelPosition,r=e.children,i=e.content,o=e.icon;return!0===o||o&&(t||C.a.isNil(r)&&w()(i))}),n}return p()(t,e),c()(t,[{key:"computeButtonAriaRole",value:function(e){var t=this.props.role;return w()(t)?"button"!==e?"button":void 0:t}},{key:"render",value:function(){var e=this.props,n=e.active,r=e.animated,o=e.attached,a=e.basic,u=e.children,c=e.circular,l=e.className,s=e.color,f=e.compact,d=e.content,h=e.disabled,p=e.floated,v=e.fluid,m=e.icon,y=e.inverted,g=e.label,b=e.labelPosition,x=e.loading,_=e.negative,k=e.positive,T=e.primary,N=e.secondary,I=e.size,R=e.toggle,z=O()(s,I,Object(S.a)(n,"active"),Object(S.a)(a,"basic"),Object(S.a)(c,"circular"),Object(S.a)(f,"compact"),Object(S.a)(v,"fluid"),Object(S.a)(this.hasIconClass(),"icon"),Object(S.a)(y,"inverted"),Object(S.a)(x,"loading"),Object(S.a)(_,"negative"),Object(S.a)(k,"positive"),Object(S.a)(T,"primary"),Object(S.a)(N,"secondary"),Object(S.a)(R,"toggle"),Object(S.b)(r,"animated"),Object(S.b)(o,"attached")),D=O()(Object(S.b)(b||!!g,"labeled")),L=O()(Object(S.a)(h,"disabled"),Object(S.d)(p,"floated")),F=Object(M.a)(t,this.props),U=Object(j.a)(t,this.props,this.computeElementType),B=this.computeTabIndex(U);if(!w()(g)){var W=O()("ui",z,"button",l),H=O()("ui",D,"button",l,L),q=A.a.create(g,{defaultProps:{basic:!0,pointing:"left"===b?"right":"left"},autoGenerateKey:!1});return E.a.createElement(U,i()({},F,{className:H,onClick:this.handleClick}),"left"===b&&q,E.a.createElement("button",{className:W,"aria-pressed":R?!!n:void 0,disabled:h,ref:this.handleRef,tabIndex:B},P.a.create(m,{autoGenerateKey:!1})," ",d),("right"===b||!b)&&q)}var V=O()("ui",z,L,D,"button",l),Y=!C.a.isNil(u),G=this.computeButtonAriaRole(U);return E.a.createElement(U,i()({},F,{className:V,"aria-pressed":R?!!n:void 0,disabled:h&&"button"===U||void 0,onClick:this.handleClick,ref:this.handleRef,role:G,tabIndex:B}),Y&&u,!Y&&P.a.create(m,{autoGenerateKey:!1}),!Y&&d)}}]),t}(T.Component);g()(W,"defaultProps",{as:"button"}),g()(W,"Content",R),g()(W,"Group",F),g()(W,"Or",B),g()(W,"handledProps",["active","animated","as","attached","basic","children","circular","className","color","compact","content","disabled","floated","fluid","icon","inverted","label","labelPosition","loading","negative","onClick","positive","primary","role","secondary","size","tabIndex","toggle"]),W.propTypes={},W.create=Object(N.e)(W,function(e){return{content:e}});var H=t.a=W},function(e,t,n){"use strict";var r=n(249),i=n.n(r),o=n(0),a=n.n(o),u=n(4),c=n.n(u),l=n(107),s=n(34),f=n.n(s),d=n(27),h=n.n(d),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function v(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}var m=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=v(this,e.call.apply(e,[this].concat(o))),r.state={match:r.computeMatch(r.props.history.location.pathname)},v(r,n)}return function(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,e),t.prototype.getChildContext=function(){return{router:p({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},t.prototype.computeMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}},t.prototype.componentWillMount=function(){var e=this,t=this.props,n=t.children,r=t.history;h()(null==n||1===a.a.Children.count(n),"A <Router> may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){f()(this.props.history===e.history,"You cannot change <Router history>")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?a.a.Children.only(e):null},t}(a.a.Component);m.propTypes={history:c.a.object.isRequired,children:c.a.node},m.contextTypes={router:c.a.object},m.childContextTypes={router:c.a.object.isRequired};var y=m;function g(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}var b=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=g(this,e.call.apply(e,[this].concat(o))),r.history=Object(l.a)(r.props),g(r,n)}return function(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,e),t.prototype.componentWillMount=function(){i()(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(y,{history:this.history,children:this.props.children})},t}(a.a.Component);b.propTypes={basename:c.a.string,getUserConfirmation:c.a.func,hashType:c.a.oneOf(["hashbang","noslash","slash"]),children:c.a.node};t.a=b},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=(n(19),n(6)),a=n.n(o),u=(n(4),n(0)),c=n.n(u),l=n(24),s=n(169),f=n(170),d=n(5),h=n(220),p=n(463),v=n(191);function m(e){var t=e.children,n=e.className,r=e.content,o=a()("sub header",n),u=Object(s.a)(m,e),l=Object(f.a)(m,e);return c.a.createElement(l,i()({},u,{className:o}),d.a.isNil(t)?r:t)}m.handledProps=["as","children","className","content"],m.propTypes={},m.create=Object(v.e)(m,function(e){return{content:e}});var y=m;function g(e){var t=e.children,n=e.className,r=e.content,o=a()("content",n),u=Object(s.a)(g,e),l=Object(f.a)(g,e);return c.a.createElement(l,i()({},u,{className:o}),d.a.isNil(t)?r:t)}g.handledProps=["as","children","className","content"],g.propTypes={};var b=g;function x(e){var t=e.attached,n=e.block,r=e.children,o=e.className,u=e.color,v=e.content,m=e.disabled,g=e.dividing,_=e.floated,w=e.icon,k=e.image,O=e.inverted,T=e.size,E=e.sub,C=e.subheader,S=e.textAlign,M=a()("ui",u,T,Object(l.a)(n,"block"),Object(l.a)(m,"disabled"),Object(l.a)(g,"dividing"),Object(l.d)(_,"floated"),Object(l.a)(!0===w,"icon"),Object(l.a)(!0===k,"image"),Object(l.a)(O,"inverted"),Object(l.a)(E,"sub"),Object(l.b)(t,"attached"),Object(l.c)(S),"header",o),j=Object(s.a)(x,e),N=Object(f.a)(x,e);if(!d.a.isNil(r))return c.a.createElement(N,i()({},j,{className:M}),r);var P=h.a.create(w,{autoGenerateKey:!1}),A=p.a.create(k,{autoGenerateKey:!1}),I=y.create(C,{autoGenerateKey:!1});return P||A?c.a.createElement(N,i()({},j,{className:M}),P||A,(v||I)&&c.a.createElement(b,null,v,I)):c.a.createElement(N,i()({},j,{className:M}),v,I)}x.handledProps=["as","attached","block","children","className","color","content","disabled","dividing","floated","icon","image","inverted","size","sub","subheader","textAlign"],x.propTypes={},x.Content=b,x.Subheader=y;t.a=x},function(e,t,n){"use strict";var r=n(14),i=n.n(r),o=n(9),a=n.n(o),u=n(11),c=n.n(u),l=n(12),s=n.n(l),f=n(8),d=n.n(f),h=n(13),p=n.n(h),v=n(1),m=n.n(v),y=n(2),g=n.n(y),b=n(7),x=n.n(b),_=n(28),w=n.n(_),k=(n(4),n(0)),O=n.n(k),T=n(196),E=n(197),C=n(126),S=n(198),M=n(472),j=n(58),N=n(195),P=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(i))),g()(m()(m()(n)),"handleRef",function(e){return n.ref=e}),n}return p()(t,e),c()(t,[{key:"componentDidMount",value:function(){x()(this.props,"onMount",null,i()({},this.props,{node:this.ref}))}},{key:"componentWillUnmount",value:function(){x()(this.props,"onUnmount",null,i()({},this.props,{node:this.ref}))}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.mountNode,r=void 0===n?Object(N.a)()?document.body:null:n;return Object(j.createPortal)(O.a.createElement(M.a,{innerRef:this.handleRef},t),r)}}]),t}(k.Component);g()(P,"handledProps",["children","mountNode","onMount","onUnmount"]),P.propTypes={};var A=P,I=function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,o=new Array(r),u=0;u<r;u++)o[u]=arguments[u];return n=s()(this,(e=d()(t)).call.apply(e,[this].concat(o))),g()(m()(m()(n)),"handleDocumentClick",function(e){var t=n.props.closeOnDocumentClick;!n.portalNode||Object(T.a)(n.triggerNode,e)||Object(T.a)(n.portalNode,e)||t&&n.close(e)}),g()(m()(m()(n)),"handleEscape",function(e){n.props.closeOnEscape&&w.a.getCode(e)===w.a.Escape&&n.close(e)}),g()(m()(m()(n)),"handlePortalMouseLeave",function(e){var t=n.props,r=t.closeOnPortalMouseLeave,i=t.mouseLeaveDelay;r&&e.target===n.portalNode&&(n.mouseLeaveTimer=n.closeWithTimeout(e,i))}),g()(m()(m()(n)),"handlePortalMouseEnter",function(){n.props.closeOnPortalMouseLeave&&clearTimeout(n.mouseLeaveTimer)}),g()(m()(m()(n)),"handleTriggerBlur",function(e){for(var t=n.props,r=t.trigger,i=t.closeOnTriggerBlur,o=arguments.length,a=new Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];x.a.apply(void 0,[r,"props.onBlur",e].concat(a));var c=x()(m()(m()(n)),"portalNode.contains",e.relatedTarget);i&&!c&&n.close(e)}),g()(m()(m()(n)),"handleTriggerClick",function(e){for(var t=n.props,r=t.trigger,i=t.closeOnTriggerClick,o=t.openOnTriggerClick,a=n.state.open,u=arguments.length,c=new Array(u>1?u-1:0),l=1;l<u;l++)c[l-1]=arguments[l];x.a.apply(void 0,[r,"props.onClick",e].concat(c)),a&&i?n.close(e):!a&&o&&n.open(e)}),g()(m()(m()(n)),"handleTriggerFocus",function(e){for(var t=n.props,r=t.trigger,i=t.openOnTriggerFocus,o=arguments.length,a=new Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];x.a.apply(void 0,[r,"props.onFocus",e].concat(a)),i&&n.open(e)}),g()(m()(m()(n)),"handleTriggerMouseLeave",function(e){clearTimeout(n.mouseEnterTimer);for(var t=n.props,r=t.trigger,i=t.closeOnTriggerMouseLeave,o=t.mouseLeaveDelay,a=arguments.length,u=new Array(a>1?a-1:0),c=1;c<a;c++)u[c-1]=arguments[c];x.a.apply(void 0,[r,"props.onMouseLeave",e].concat(u)),i&&(n.mouseLeaveTimer=n.closeWithTimeout(e,o))}),g()(m()(m()(n)),"handleTriggerMouseEnter",function(e){clearTimeout(n.mouseLeaveTimer);for(var t=n.props,r=t.trigger,i=t.mouseEnterDelay,o=t.openOnTriggerMouseEnter,a=arguments.length,u=new Array(a>1?a-1:0),c=1;c<a;c++)u[c-1]=arguments[c];x.a.apply(void 0,[r,"props.onMouseEnter",e].concat(u)),o&&(n.mouseEnterTimer=n.openWithTimeout(e,i))}),g()(m()(m()(n)),"open",function(e){var t=n.props.onOpen;t&&t(e,n.props),n.trySetState({open:!0})}),g()(m()(m()(n)),"openWithTimeout",function(e,t){var r=i()({},e);return setTimeout(function(){return n.open(r)},t||0)}),g()(m()(m()(n)),"close",function(e){var t=n.props.onClose;t&&t(e,n.props),n.trySetState({open:!1})}),g()(m()(m()(n)),"closeWithTimeout",function(e,t){var r=i()({},e);return setTimeout(function(){return n.close(r)},t||0)}),g()(m()(m()(n)),"handleMount",function(e,t){var r=t.node,i=n.props.eventPool;n.portalNode=r,E.a.sub("mouseleave",n.handlePortalMouseLeave,{pool:i,target:r}),E.a.sub("mouseenter",n.handlePortalMouseEnter,{pool:i,target:r}),E.a.sub("click",n.handleDocumentClick,{pool:i}),E.a.sub("keydown",n.handleEscape,{pool:i}),x()(n.props,"onMount",null,n.props)}),g()(m()(m()(n)),"handleUnmount",function(e,t){var r=t.node,i=n.props.eventPool;n.portalNode=null,E.a.unsub("mouseleave",n.handlePortalMouseLeave,{pool:i,target:r}),E.a.unsub("mouseenter",n.handlePortalMouseEnter,{pool:i,target:r}),E.a.unsub("click",n.handleDocumentClick,{pool:i}),E.a.unsub("keydown",n.handleEscape,{pool:i}),x()(n.props,"onUnmount",null,n.props)}),g()(m()(m()(n)),"handleTriggerRef",function(e){n.triggerNode=e,Object(C.a)(n.props.triggerRef,e)}),n}return p()(t,e),c()(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.mouseEnterTimer),clearTimeout(this.mouseLeaveTimer)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.mountNode,r=e.trigger,i=this.state.open;return O.a.createElement(k.Fragment,null,i&&O.a.createElement(A,{mountNode:n,onMount:this.handleMount,onUnmount:this.handleUnmount},t),r&&O.a.createElement(M.a,{innerRef:this.handleTriggerRef},Object(k.cloneElement)(r,{onBlur:this.handleTriggerBlur,onClick:this.handleTriggerClick,onFocus:this.handleTriggerFocus,onMouseLeave:this.handleTriggerMouseLeave,onMouseEnter:this.handleTriggerMouseEnter})))}}]),t}(S.a);g()(I,"defaultProps",{closeOnDocumentClick:!0,closeOnEscape:!0,eventPool:"default",openOnTriggerClick:!0}),g()(I,"autoControlledProps",["open"]),g()(I,"Inner",A),g()(I,"handledProps",["children","closeOnDocumentClick","closeOnEscape","closeOnPortalMouseLeave","closeOnTriggerBlur","closeOnTriggerClick","closeOnTriggerMouseLeave","defaultOpen","eventPool","mountNode","mouseEnterDelay","mouseLeaveDelay","onClose","onMount","onOpen","onUnmount","open","openOnTriggerClick","openOnTriggerFocus","openOnTriggerMouseEnter","trigger","triggerRef"]),I.propTypes={};t.a=I},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(4),a=n.n(o),u=n(34),c=n.n(u),l=n(27),s=n.n(l),f=n(106);var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),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}(this,e.apply(this,arguments))}return function(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,e),t.prototype.componentWillMount=function(){s()(this.context.router,"You should not use <Switch> outside a <Router>")},t.prototype.componentWillReceiveProps=function(e){c()(!(e.location&&!this.props.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),c()(!(!e.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,o=void 0;return i.a.Children.forEach(t,function(t){if(null==r&&i.a.isValidElement(t)){var a=t.props,u=a.path,c=a.exact,l=a.strict,s=a.sensitive,d=a.from,h=u||d;o=t,r=Object(f.a)(n.pathname,{path:h,exact:c,strict:l,sensitive:s},e.match)}}),r?i.a.cloneElement(o,{location:n,computedMatch:r}):null},t}(i.a.Component);d.contextTypes={router:a.a.shape({route:a.a.object.isRequired}).isRequired},d.propTypes={children:a.a.node,location:a.a.object};var h=d;t.a=h},function(e,t,n){"use strict";var r=n(34),i=n.n(r),o=n(27),a=n.n(o),u=n(0),c=n.n(u),l=n(4),s=n.n(l),f=n(106),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function h(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}var p=function(e){return 0===c.a.Children.count(e)},v=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=h(this,e.call.apply(e,[this].concat(o))),r.state={match:r.computeMatch(r.props,r.context.router)},h(r,n)}return function(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,e),t.prototype.getChildContext=function(){return{router:d({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},t.prototype.computeMatch=function(e,t){var n=e.computedMatch,r=e.location,i=e.path,o=e.strict,u=e.exact,c=e.sensitive;if(n)return n;a()(t,"You should not use <Route> or withRouter() outside a <Router>");var l=t.route,s=(r||l.location).pathname;return Object(f.a)(s,{path:i,strict:o,exact:u,sensitive:c},l.match)},t.prototype.componentWillMount=function(){i()(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),i()(!(this.props.component&&this.props.children&&!p(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),i()(!(this.props.render&&this.props.children&&!p(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){i()(!(e.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),i()(!(!e.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,o=this.context.router,a=o.history,u=o.route,l=o.staticContext,s={match:e,location:this.props.location||u.location,history:a,staticContext:l};return r?e?c.a.createElement(r,s):null:i?e?i(s):null:"function"===typeof n?n(s):n&&!p(n)?c.a.Children.only(n):null},t}(c.a.Component);v.propTypes={computedMatch:s.a.object,path:s.a.string,exact:s.a.bool,strict:s.a.bool,sensitive:s.a.bool,component:s.a.func,render:s.a.func,children:s.a.oneOfType([s.a.func,s.a.node]),location:s.a.object},v.contextTypes={router:s.a.shape({history:s.a.object.isRequired,route:s.a.object.isRequired,staticContext:s.a.object})},v.childContextTypes={router:s.a.object.isRequired};var m=v;t.a=m}]]);
//# sourceMappingURL=1.8fa13ada.chunk.js.map