UNPKG

xl-react-infinite-tree

Version:
20 lines 67.6 kB
/*! xl-react-infinite-tree v0.7.3 | (c) 2018 Cheton Wu <cheton@gmail.com> | MIT | https://github.com/cheton/react-infinite-tree */ exports.InfiniteTree=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=12)}([function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function i(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){m&&f&&(m=!1,f.length?h=f.concat(h):y=-1,h.length&&l())}function l(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(f=h,h=[];++y<t;)f&&f[y].run();y=-1,t=h.length}f=null,m=!1,i(e)}}function s(e,t){this.fun=e,this.array=t}function c(){}var u,p,d=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(e){p=r}}();var f,h=[],m=!1,y=-1;d.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];h.push(new s(e,t)),1!==h.length||m||o(l)},s.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=c,d.addListener=c,d.once=c,d.off=c,d.removeListener=c,d.removeAllListeners=c,d.emit=c,d.prependListener=c,d.prependOnceListener=c,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t){e.exports=require("react")},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";(function(t){var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(0))},function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n(16),i=/^ms-/;e.exports=r},function(e,t,n){"use strict";(function(t){function n(e,t,n,o,i,a,l,s){if(r(t),!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 u=[n,o,i,a,l,s],p=0;c=new Error(t.replace(/%s/g,function(){return u[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(0))},function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=r},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/* object-assign (c) Sindre Sorhus @license MIT */ var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,s=r(e),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var u in n)i.call(n,u)&&(s[u]=n[u]);if(o){l=o(n);for(var p=0;p<l.length;p++)a.call(n,l[p])&&(s[l[p]]=n[l[p]])}}return s}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.defaultRowRenderer=void 0;var o=n(1),i=r(o),a=n(13),l=r(a),s=function(e,t){var n=e.id,r=e.name,o=e.loadOnDemand,a=void 0!==o&&o,s=e.children,c=e.state,u=t.droppable,p=c.depth,d=c.open,f=c.path,h=c.total,m=c.selected,y=void 0!==m&&m,g=Object.keys(s).length,v=e.hasChildren();return i.default.createElement("div",{className:(0,l.default)("infinite-tree-item",{"infinite-tree-selected":y}),"data-id":n,"data-expanded":v&&d,"data-depth":p,"data-path":f,"data-selected":y,"data-children":g,"data-total":h,droppable:u},i.default.createElement("div",{className:"infinite-tree-node",style:{marginLeft:18*p}},!v&&a&&i.default.createElement("a",{className:(0,l.default)(t.togglerClass,"infinite-tree-closed")},"►"),v&&d&&i.default.createElement("a",{className:(0,l.default)(t.togglerClass)},"▼"),v&&!d&&i.default.createElement("a",{className:(0,l.default)(t.togglerClass,"infinite-tree-closed")},"►"),i.default.createElement("span",{className:"infinite-tree-title"},r)))};t.defaultRowRenderer=s},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(21):e.exports=n(20)}).call(t,n(0))},function(e,t){e.exports=require("xl-infinite-tree")},function(e,t){e.exports=require("react-dom")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var 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},c=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}}(),u=n(1),p=r(u),d=n(11),f=r(d),h=n(9),m=r(h),y=n(10),g=r(y),v=n(8),b=function(e){return e+="",e.charAt(0).toLowerCase()+e.substr(1)};e.exports=function(e){function t(){var e,n,r,o;i(this,t);for(var l=arguments.length,s=Array(l),c=0;c<l;c++)s[c]=arguments[c];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.tree=null,r.eventHandlers={onClick:null,onDoubleClick:null,onKeyDown:null,onKeyUp:null,onClusterWillChange:null,onClusterDidChange:null,onContentWillUpdate:null,onContentDidUpdate:null,onOpenNode:null,onCloseNode:null,onSelectNode:null,onWillOpenNode:null,onWillCloseNode:null,onWillSelectNode:null},o=n,a(r,o)}return l(t,e),c(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=(t.children,t.className,t.style,o(t,["children","className","style"])),r=f.default.findDOMNode(this);n.el=r;var i=n.rowRenderer||v.defaultRowRenderer;n.rowRenderer=function(e,t){var n=i(e,t);return"object"===(void 0===n?"undefined":s(n))&&(n=m.default.renderToString(n)),n},this.tree=new g.default(n),Object.keys(this.eventHandlers).forEach(function(t){if(e.props[t]){var n=b(t.substr(2));e.eventHandlers[t]=e.props[t],e.tree.on(n,e.eventHandlers[t])}})}},{key:"componentWillUnmount",value:function(){var e=this;Object.keys(this.eventHandlers).forEach(function(t){if(e.eventHandlers[t]){var n=b(t.substr(2));e.tree.removeListener(n,e.eventHandlers[t]),e.eventHandlers[t]=null}}),this.tree.destroy(),this.tree=null}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.style;return p.default.createElement("div",{className:n,style:r},t)}}]),t}(p.default.Component)},function(e,t,n){var r,o;/*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ !function(){"use strict";function n(){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=n.apply(null,r);a&&e.push(a)}else if("object"===o)for(var l in r)i.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=r},function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=n(14),i=/^-ms-/;e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=r},function(e,t,n){"use strict";(function(t){var r=n(2),o=r;if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};o=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=o}).call(t,n(0))},function(e,t,n){"use strict";(function(t){function r(e,n,r,l,s){if("production"!==t.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var u;try{if("function"!=typeof e[c]){var p=Error((l||"React class")+": "+r+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.");throw p.name="Invariant Violation",p}u=e[c](n,c,l,r,null,i)}catch(e){u=e}if(!u||u instanceof Error||o((l||"React class")+": type specification of "+r+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in a)){a[u.message]=!0;var d=s?s():"";o("Failed "+r+" type: "+u.message+(null!=d?d:""))}}}var o=function(){};if("production"!==t.env.NODE_ENV){var i=n(19),a={};o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}e.exports=r}).call(t,n(0))},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";(function(t){/** @license React v16.4.2 * react-dom-server.browser.development.js * * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ "production"!==t.env.NODE_ENV&&function(){function t(e){return!!Ne.call(Me,e)||!Ne.call(Ie,e)&&(Fe.test(e)?(Me[e]=!0,!0):(Ie[e]=!0,ee(!1,"Invalid attribute name: `%s`",e),!1))}function r(e,t,n){return null!==t?t.type===be:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function o(e,t,n,r){if(null!==n&&n.type===be)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return"data-"!==o&&"aria-"!==o;default:return!1}}function i(e,t,n,r){if(null===t||void 0===t)return!0;if(o(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case ke:return!t;case we:return!1===t;case Se:return isNaN(t);case Oe:return isNaN(t)||t<1}return!1}function a(e){return Re.hasOwnProperty(e)?Re[e]:null}function l(e,t,n,r,o){this.acceptsBooleans=t===xe||t===ke||t===we,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}function s(e){var t=""+e,n=Ae.exec(t);if(!n)return t;var r=void 0,o="",i=0,a=0;for(i=n.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}a!==i&&(o+=t.substring(a,i)),a=i+1,o+=r}return a!==i?o+t.substring(a,i):o}function c(e){return"boolean"==typeof e||"number"==typeof e?""+e:s(e)}function u(e){return'"'+c(e)+'"'}function p(){return Te+'=""'}function d(e,n){var o=a(e);if("style"!==e&&r(e,o,!1))return"";if(i(e,n,o,!1))return"";if(null!==o){var l=o.attributeName,s=o.type;return s===ke||s===we&&!0===n?l+'=""':l+"="+u(n)}return t(e)?e+"="+u(n):""}function f(e,n){return t(e)&&null!=n?e+"="+u(n):""}function h(e){switch(e){case"svg":return je;case"math":return Le;default:return _e}}function m(e,t){return null==e||e===_e?h(t):e===je&&"foreignObject"===t?_e:e}function y(e,t,n){t&&(qe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&X(!1,"%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&X(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."),"object"==typeof t.dangerouslySetInnerHTML&&$e in t.dangerouslySetInnerHTML||X(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")),!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&ee(!1,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.%s",n()),null!=t.style&&"object"!=typeof t.style&&X(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",n()))}function g(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}function v(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Be.hasOwnProperty(e)&&Be[e]?(""+t).trim():t+"px"}function b(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 x(){var e=se.getStackAddendum();return null!=e?e:""}function k(e,t){if(pt.call(st,t)&&st[t])return!0;if(ut.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=lt.hasOwnProperty(n)?n:null;if(null==r)return ee(!1,"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.%s",t,x()),st[t]=!0,!0;if(t!==r)return ee(!1,"Invalid ARIA attribute `%s`. Did you mean `%s`?%s",t,r,x()),st[t]=!0,!0}if(ct.test(t)){var o=t.toLowerCase(),i=lt.hasOwnProperty(o)?o:null;if(null==i)return st[t]=!0,!1;if(t!==i)return ee(!1,"Unknown ARIA attribute `%s`. Did you mean `%s`?%s",t,i,x()),st[t]=!0,!0}return!0}function w(e,t){var n=[];for(var r in t){k(e,r)||n.push(r)}var o=n.map(function(e){return"`"+e+"`"}).join(", ");1===n.length?ee(!1,"Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",o,e,x()):n.length>1&&ee(!1,"Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",o,e,x())}function S(e,t){b(e,t)||w(e,t)}function O(){var e=se.getStackAddendum();return null!=e?e:""}function C(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||dt||(dt=!0,"select"===e&&t.multiple?ee(!1,"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.%s",e,O()):ee(!1,"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.%s",e,O()))}function E(){var e=se.getStackAddendum();return null!=e?e:""}function T(e,t,n){b(e,t)||St(e,t,n)}function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e){return"string"==typeof e?e:"function"==typeof e?e.displayName||e.name:null}function I(e){Bt.hasOwnProperty(e)||($t.test(e)||X(!1,"Invalid tag: %s",e),Bt[e]=!0)}function M(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var o=0===r.indexOf("--"),i=e[r];o||at(r,i,Tt),null!=i&&(t+=n+Xt(r)+":",t+=v(r,i,o),n=";")}return t||null}function R(e,t){var n=e.constructor,r=n&&N(n)||"ReactClass",o=r+"."+t;jt[o]||(ee(!1,"%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.\n\nPlease check the code for the %s component.",t,t,r),jt[o]=!0)}function P(e){return e.prototype&&e.prototype.isReactComponent}function D(e){var t=e.dangerouslySetInnerHTML;if(null!=t){if(null!=t.__html)return t.__html}else{var n=e.children;if("string"==typeof n||"number"==typeof n)return c(n)}return null}function A(e){if(!Z.isValidElement(e))return Ot(e);var t=e;if(t.type!==de)return[t];var n=t.props.children;return Z.isValidElement(n)?[n]:Ot(n)}function _(e){var t="";return Z.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:Lt||(Lt=!0,ee(!1,"Only strings and numbers are supported as <option> children.")))}),t}function L(e,t){var n=e.contextTypes;if(!n)return K;var r={};for(var o in n)r[o]=t[o];return r}function j(e,t,n){te(e,t,n,"Component",Tt)}function V(e,t){var n=L(e,t);return e.contextTypes&&j(e.contextTypes,n,"context"),n}function z(e,t,n,r,o,i){var a="<"+e;for(var l in n)if(Yt.call(n,l)){var s=n[l];if(null!=s){l===Zt&&(s=M(s));var c=null;b(t,n)?Gt.hasOwnProperty(l)||(c=f(l,s)):c=d(l,s),c&&(a+=" "+c)}}return o?a:(i&&(a+=" "+p()),a)}function W(e,t){void 0===e&&X(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",N(t)||"Component")}function H(e,t){for(;Z.isValidElement(e);){var n=e,r=n.type;if(Mt(n),"function"!=typeof r)break;!function(n,r){var o=V(r,t),i=[],a=!1,l={isMounted:function(e){return!1},enqueueForceUpdate:function(e){if(null===i)return R(e,"forceUpdate"),null},enqueueReplaceState:function(e,t){a=!0,i=[t]},enqueueSetState:function(e,t){if(null===i)return R(e,"setState"),null;i.push(t)}},s=void 0;if(P(r)){if(s=new r(n.props,o,l),"function"==typeof r.getDerivedStateFromProps){if(null===s.state||void 0===s.state){var c=N(r)||"Unknown";Ht[c]||(ee(!1,"%s: Did not properly initialize state during construction. Expected state to be an object, but it was %s.",c,null===s.state?"null":"undefined"),Ht[c]=!0)}var u=r.getDerivedStateFromProps.call(null,n.props,s.state);if(void 0===u){var p=N(r)||"Unknown";Wt[p]||(ee(!1,"%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",p),Wt[p]=!0)}null!=u&&(s.state=Y({},s.state,u))}}else{if(r.prototype&&"function"==typeof r.prototype.render){var d=N(r)||"Unknown";Vt[d]||(ee(!1,"The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",d,d),Vt[d]=!0)}if(null==(s=r(n.props,o,l))||null==s.render)return e=s,void W(e,r)}s.props=n.props,s.context=o,s.updater=l;var f=s.state;if(void 0===f&&(s.state=f=null),"function"==typeof s.UNSAFE_componentWillMount||"function"==typeof s.componentWillMount){if("function"==typeof s.componentWillMount){if(ce&&!0!==s.componentWillMount.__suppressDeprecationWarning){var h=N(r)||"Unknown";zt[h]||(ie(!1,"%s: componentWillMount() is deprecated and will be removed in the next major version. Read about the motivations behind this change: https://fb.me/react-async-component-lifecycle-hooks\n\nAs a temporary workaround, you can rename to UNSAFE_componentWillMount instead.",h),zt[h]=!0)}"function"!=typeof r.getDerivedStateFromProps&&s.componentWillMount()}if("function"==typeof s.UNSAFE_componentWillMount&&"function"!=typeof r.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),i.length){var m=i,y=a;if(i=null,a=!1,y&&1===m.length)s.state=m[0];else{for(var g=y?m[0]:s.state,v=!0,b=y?1:0;b<m.length;b++){var x=m[b],k="function"==typeof x?x.call(s,g,n.props,o):x;null!=k&&(v?(v=!1,g=Y({},g,k)):Y(g,k))}s.state=g}}else i=null}e=s.render(),void 0===e&&s.render._isMockFunction&&(e=null),W(e,r);var w=void 0;if("function"==typeof s.getChildContext){var S=r.childContextTypes;if("object"==typeof S){w=s.getChildContext();for(var O in w)O in S||X(!1,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',N(r)||"Unknown",O)}else ee(!1,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",N(r)||"Unknown")}w&&(t=Y({},t,w))}(n,r)}return{child:e,context:t}}function U(e){return new Kt(e,!1).read(1/0)}function q(e){return new Kt(e,!0).read(1/0)}function $(){X(!1,"ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function B(){X(!1,"ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}var X=n(5),Y=n(7),Z=n(1),G=n(2),K=n(3),J=n(4),Q=n(6),ee=n(17),te=n(18),ne=n(15),re=function(){},oe=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.warn(i);try{throw new Error(i)}catch(e){}};re=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];oe.apply(void 0,[t].concat(r))}};var ie=re,ae=function(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")},le=Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,se=(le.ReactCurrentOwner,le.ReactDebugCurrentFrame),ce=!1,ue="function"==typeof Symbol&&Symbol.for,pe=ue?Symbol.for("react.portal"):60106,de=ue?Symbol.for("react.fragment"):60107,fe=ue?Symbol.for("react.strict_mode"):60108,he=ue?Symbol.for("react.profiler"):60114,me=ue?Symbol.for("react.provider"):60109,ye=ue?Symbol.for("react.context"):60110,ge=ue?Symbol.for("react.async_mode"):60111,ve=ue?Symbol.for("react.forward_ref"):60112,be=0,xe=2,ke=3,we=4,Se=5,Oe=6,Ce=":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",Ee=Ce+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Te="data-reactroot",Fe=new RegExp("^["+Ce+"]["+Ee+"]*$"),Ne=Object.prototype.hasOwnProperty,Ie={},Me={},Re={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){Re[e]=new l(e,be,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];Re[t]=new l(t,1,!1,n,null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Re[e]=new l(e,xe,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){Re[e]=new l(e,xe,!1,e,null)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Re[e]=new l(e,ke,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){Re[e]=new l(e,ke,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){Re[e]=new l(e,we,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){Re[e]=new l(e,Oe,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){Re[e]=new l(e,Se,!1,e.toLowerCase(),null)});var Pe=/[\-\:]([a-z])/g,De=function(e){return e[1].toUpperCase()};["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"].forEach(function(e){var t=e.replace(Pe,De);Re[t]=new l(t,1,!1,e,null)}),["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Pe,De);Re[t]=new l(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Pe,De);Re[t]=new l(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),Re.tabIndex=new l("tabIndex",1,!1,"tabindex",null);var Ae=/["'&<>]/,_e="http://www.w3.org/1999/xhtml",Le="http://www.w3.org/1998/Math/MathML",je="http://www.w3.org/2000/svg",Ve={html:_e,mathml:Le,svg:je},ze={checkPropTypes:null},We={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},He={value:function(e,t,n){return!e[t]||We[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};ze.checkPropTypes=function(e,t,n){te(He,t,"prop",e,n)};var Ue={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},qe=Y({menuitem:!0},Ue),$e="__html",Be={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,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},Xe=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(e){Xe.forEach(function(t){Be[g(t,e)]=Be[e]})});var Ye=G,Ze=/^(?:webkit|moz|o)[A-Z]/,Ge=/;\s*$/,Ke={},Je={},Qe=!1,et=!1,tt=function(e,t){Ke.hasOwnProperty(e)&&Ke[e]||(Ke[e]=!0,ee(!1,"Unsupported style property %s. Did you mean %s?%s",e,ne(e),t()))},nt=function(e,t){Ke.hasOwnProperty(e)&&Ke[e]||(Ke[e]=!0,ee(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?%s",e,e.charAt(0).toUpperCase()+e.slice(1),t()))},rt=function(e,t,n){Je.hasOwnProperty(t)&&Je[t]||(Je[t]=!0,ee(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.%s',e,t.replace(Ge,""),n()))},ot=function(e,t,n){Qe||(Qe=!0,ee(!1,"`NaN` is an invalid value for the `%s` css style property.%s",e,n()))},it=function(e,t,n){et||(et=!0,ee(!1,"`Infinity` is an invalid value for the `%s` css style property.%s",e,n()))};Ye=function(e,t,n){e.indexOf("-")>-1?tt(e,n):Ze.test(e)?nt(e,n):Ge.test(t)&&rt(e,t,n),"number"==typeof t&&(isNaN(t)?ot(e,0,n):isFinite(t)||it(e,0,n))};var at=Ye,lt={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},st={},ct=new RegExp("^(aria)-["+Ee+"]*$"),ut=new RegExp("^(aria)[A-Z]["+Ee+"]*$"),pt=Object.prototype.hasOwnProperty,dt=!1,ft={},ht={},mt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},yt=function(){},gt={},vt=Object.prototype.hasOwnProperty,bt=/^on./,xt=/^on[^A-Z]/,kt=new RegExp("^(aria)-["+Ee+"]*$"),wt=new RegExp("^(aria)[A-Z]["+Ee+"]*$");yt=function(e,t,n,r){if(vt.call(gt,t)&&gt[t])return!0;var i=t.toLowerCase();if("onfocusin"===i||"onfocusout"===i)return ee(!1,"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),gt[t]=!0,!0;if(r){if(ft.hasOwnProperty(t))return!0;var l=ht.hasOwnProperty(i)?ht[i]:null;if(null!=l)return ee(!1,"Invalid event handler property `%s`. Did you mean `%s`?%s",t,l,E()),gt[t]=!0,!0;if(bt.test(t))return ee(!1,"Unknown event handler property `%s`. It will be ignored.%s",t,E()),gt[t]=!0,!0}else if(bt.test(t))return xt.test(t)&&ee(!1,"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.%s",t,E()),gt[t]=!0,!0;if(kt.test(t)||wt.test(t))return!0;if("innerhtml"===i)return ee(!1,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),gt[t]=!0,!0;if("aria"===i)return ee(!1,"The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),gt[t]=!0,!0;if("is"===i&&null!==n&&void 0!==n&&"string"!=typeof n)return ee(!1,"Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.%s",typeof n,E()),gt[t]=!0,!0;if("number"==typeof n&&isNaN(n))return ee(!1,"Received NaN for the `%s` attribute. If this is expected, cast the value to a string.%s",t,E()),gt[t]=!0,!0;var s=a(t),c=null!==s&&s.type===be;if(mt.hasOwnProperty(i)){var u=mt[i];if(u!==t)return ee(!1,"Invalid DOM property `%s`. Did you mean `%s`?%s",t,u,E()),gt[t]=!0,!0}else if(!c&&t!==i)return ee(!1,"React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.%s",t,i,E()),gt[t]=!0,!0;return"boolean"==typeof n&&o(t,n,s,!1)?(n?ee(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.%s',n,t,t,n,t,E()):ee(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s',n,t,t,n,t,t,t,E()),gt[t]=!0,!0):!!c||(!o(t,n,s,!1)||(gt[t]=!0,!1))};var St=function(e,t,n){var r=[];for(var o in t){yt(e,o,t[o],n)||r.push(o)}var i=r.map(function(e){return"`"+e+"`"}).join(", ");1===r.length?ee(!1,"Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior%s",i,e,E()):r.length>1&&ee(!1,"Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior%s",i,e,E())},Ot=Z.Children.toArray,Ct=void 0,Et=void 0,Tt=G.thatReturns(""),Ft=G.thatReturns(""),Nt=function(e,t){},It=function(e){},Mt=function(e){},Rt=function(){};Nt=function(e,t){S(e,t),C(e,t),T(e,t,!1)},Ft=function(e){var t=e._source,n=e.type,r=N(n);return ae(r,t,null)},Ct=null,Et=null,It=function(e){var t=e[e.length-1];Et=t.debugElementStack,Et.length=0,Ct=e,se.getCurrentStack=Tt},Mt=function(e){null!==Et&&Et.push(e)},Rt=function(){Et=null,Ct=null,se.getCurrentStack=null},Tt=function(){if(null===Ct)return"";for(var e="",t=Ct,n=t.length-1;n>=0;n--)for(var r=t[n],o=r.debugElementStack,i=o.length-1;i>=0;i--)e+=Ft(o[i]);return e};var Pt=!1,Dt=!1,At=!1,_t=!1,Lt=!1,jt={},Vt={},zt={},Wt={},Ht={},Ut=["value","defaultValue"],qt={listing:!0,pre:!0,textarea:!0},$t=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Bt={},Xt=Q(function(e){return J(e)}),Yt=Object.prototype.hasOwnProperty,Zt="style",Gt={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},Kt=function(){function e(t,n){F(this,e);var r=A(t),o={type:null,domNamespace:Ve.html,children:r,childIndex:0,context:K,footer:""};o.debugElementStack=[],this.stack=[o],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[],this.contextProviderStack=[]}return e.prototype.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=n._currentValue;this.contextStack[t]=n,this.contextValueStack[t]=r,this.contextProviderStack[t]=e,n._currentValue=e.props.value},e.prototype.popProvider=function(e){var t=this.contextIndex;t>-1&&e===this.contextProviderStack[t]||ee(!1,"Unexpected pop.");var n=this.contextStack[t],r=this.contextValueStack[t];this.contextStack[t]=null,this.contextValueStack[t]=null,this.contextProviderStack[t]=null,this.contextIndex--,n._currentValue=r},e.prototype.read=function(e){if(this.exhausted)return null;for(var t="";t.length<e;){if(0===this.stack.length){this.exhausted=!0;break}var n=this.stack[this.stack.length-1];if(n.childIndex>=n.children.length){var r=n.footer;if(t+=r,""!==r&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===n.type)this.currentSelectValue=null;else if(null!=n.type&&null!=n.type.type&&n.type.type.$$typeof===me){var o=n.type;this.popProvider(o)}}else{var i=n.children[n.childIndex++];It(this.stack),t+=this.render(i,n.context,n.domNamespace),Rt()}}return t},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e){var r=""+e;return""===r?"":this.makeStaticMarkup?c(r):this.previousWasTextNode?"\x3c!-- --\x3e"+c(r):(this.previousWasTextNode=!0,c(r))}var o=void 0,i=H(e,t);if(o=i.child,t=i.context,null===o||!1===o)return"";if(!Z.isValidElement(o)){if(null!=o&&null!=o.$$typeof){var a=o.$$typeof;a===pe&&X(!1,"Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render."),X(!1,"Unknown element-like object type: %s. This is likely a bug in React. Please file an issue.",a.toString())}var l=Ot(o),s={type:null,domNamespace:n,children:l,childIndex:0,context:t,footer:""};return s.debugElementStack=[],this.stack.push(s),""}var u=o,p=u.type;if("string"==typeof p)return this.renderDOM(u,t,n);switch(p){case fe:case ge:case he:case de:var d=Ot(o.props.children),f={type:null,domNamespace:n,children:d,childIndex:0,context:t,footer:""};return f.debugElementStack=[],this.stack.push(f),""}if("object"==typeof p&&null!==p)switch(p.$$typeof){case ve:var h=o,m=Ot(p.render(h.props,h.ref)),y={type:null,domNamespace:n,children:m,childIndex:0,context:t,footer:""};return y.debugElementStack=[],this.stack.push(y),"";case me:var g=o,v=g.props,b=Ot(v.children),x={type:g,domNamespace:n,children:b,childIndex:0,context:t,footer:""};return x.debugElementStack=[],this.pushProvider(g),this.stack.push(x),"";case ye:var k=o,w=k.props,S=k.type._currentValue,O=Ot(w.children(S)),C={type:o,domNamespace:n,children:O,childIndex:0,context:t,footer:""};return C.debugElementStack=[],this.stack.push(C),""}var E="",T=u._owner;(void 0===p||"object"==typeof p&&null!==p&&0===Object.keys(p).length)&&(E+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var F=T?N(T):null;F&&(E+="\n\nCheck the render method of `"+F+"`."),X(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==p?p:typeof p,E)},e.prototype.renderDOM=function(e,t,n){var r=e.type.toLowerCase(),o=n;n===Ve.html&&(o=h(r)),o===Ve.html&&r!==e.type&&ee(!1,"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e.type),I(r);var i=e.props;if("input"===r)ze.checkPropTypes("input",i,Tt),void 0===i.checked||void 0===i.defaultChecked||Dt||(ee(!1,"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these p