New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@welldone-software/why-did-you-render

Package Overview
Dependencies
Maintainers
2
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@welldone-software/why-did-you-render - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

5

dist/cjs/whyDidYouRender.js
/**
* @welldone-software/why-did-you-render 3.2.0
* @welldone-software/why-did-you-render 3.2.1
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-06-13
* Generated at 2019-06-18
*/

@@ -840,2 +840,3 @@

errorInfo: {
error: e,
componentNameOrComponent: componentNameOrComponent,

@@ -842,0 +843,0 @@ rest: rest,

6

dist/cjs/whyDidYouRender.min.js
/**
* @welldone-software/why-did-you-render 3.2.0
* @welldone-software/why-did-you-render 3.2.1
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-06-13
* Generated at 2019-06-18
*/
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var _mapValues=_interopDefault(require("lodash/mapValues")),_get$1=_interopDefault(require("lodash/get")),_defaults=_interopDefault(require("lodash/defaults")),_isString=_interopDefault(require("lodash/isString")),_reduce=_interopDefault(require("lodash/reduce")),_has=_interopDefault(require("lodash/has")),_keys=_interopDefault(require("lodash/keys")),_isFunction=_interopDefault(require("lodash/isFunction")),_isRegExp=_interopDefault(require("lodash/isRegExp")),_isDate=_interopDefault(require("lodash/isDate")),_isPlainObject=_interopDefault(require("lodash/isPlainObject")),_isArray=_interopDefault(require("lodash/isArray"));function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(t){_defineProperty(e,t,r[t])})}return e}function _inherits(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&&_setPrototypeOf(e,t)}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _possibleConstructorReturn(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?_assertThisInitialized(e):t}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _get(e,t,r){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var o=_superPropBase(e,t);if(o){var n=Object.getOwnPropertyDescriptor(o,t);return n.get?n.get.call(r):n.value}})(e,t,r||e)}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function _iterableToArray(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var _diffTypesDescription,diffTypes={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},moreInfoUrl="http://bit.ly/wdyr02",moreInfoHooksUrl="http://bit.ly/wdyr3",diffTypesDescriptions=(_defineProperty(_diffTypesDescription={},diffTypes.different,"different objects."),_defineProperty(_diffTypesDescription,diffTypes.deepEquals,"different objects that are equal by value."),_defineProperty(_diffTypesDescription,diffTypes.date,"different date objects with the same value."),_defineProperty(_diffTypesDescription,diffTypes.regex,"different regular expressions with the same value."),_defineProperty(_diffTypesDescription,diffTypes.reactElement,"different React elements with the same displayName."),_defineProperty(_diffTypesDescription,diffTypes.function,"different functions with the same name."),_diffTypesDescription),inHotReload=!1;function shouldLog(e,t,r){return!inHotReload&&(!!r.logOnDifferentValues||(!(!t.whyDidYouRender||!t.whyDidYouRender.logOnDifferentValues)||!(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===diffTypes.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===diffTypes.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===diffTypes.different}))))}function logDifference(e){var t=e.Component,r=e.displayName,o=e.hookName,n=e.prefixMessage,i=e.diffObjType,a=e.differences,f=e.values,s=e.options;a&&a.length>0?(s.consoleLog(_defineProperty({},r,t),"".concat(n," of ").concat(i," changes:")),a.forEach(function(e){var t=e.pathString,r=e.diffType,n=e.prevValue,a=e.nextValue;s.consoleGroup("%c".concat("hook"===i?"[hook ".concat(o," result]"):"".concat(i,"."),"%c").concat(t,"%c"),"color:".concat(s.diffNameColor,";"),"color:".concat(s.diffPathColor,";"),"color:default;"),s.consoleLog("".concat(diffTypesDescriptions[r]," (more info at ").concat(o?moreInfoHooksUrl:moreInfoUrl,")")),s.consoleLog(_defineProperty({},"prev ".concat(t),n),"!==",_defineProperty({},"next ".concat(t),a)),s.consoleGroupEnd()})):a&&(s.consoleLog(_defineProperty({},r,t),"".concat(n," the ").concat(i," object itself changed but it's values are all equal."),"props"===i?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(moreInfoUrl)),s.consoleLog("prev ".concat(i,":"),f.prev," !== ",f.next,":next ".concat(i)))}function defaultNotifier(e){var t=e.Component,r=e.displayName,o=e.hookName,n=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,s=e.nextState,c=e.nextHook,p=e.reason,u=e.options;if(shouldLog(p,t,u)){u.consoleGroup("%c".concat(r),"color: ".concat(u.titleColor,";"));var l="Re-rendered because";p.propsDifferences&&(logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"props",differences:p.propsDifferences,values:{prev:n,next:f},options:u}),l="And because"),p.stateDifferences&&logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"state",differences:p.stateDifferences,values:{prev:i,next:s},options:u}),p.hookDifferences&&logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"hook",differences:p.hookDifferences,values:{prev:a,next:c},hookName:o,options:u}),p.propsDifferences||p.stateDifferences||p.hookDifferences||u.consoleLog(_defineProperty({},r,t),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(moreInfoUrl)),u.consoleGroupEnd()}}function createDefaultNotifier(e){return e&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(t){"idle"===t&&(inHotReload=!0,setTimeout(function(){inHotReload=!1},e))}),defaultNotifier}var emptyFn=function(){};function normalizeOptions(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=console.group,r=console.groupEnd;return e.collapseGroups?t=console.groupCollapsed:e.onlyLogs&&(t=console.log,r=emptyFn),_objectSpread({include:null,exclude:null,notifier:e.notifier||createDefaultNotifier(e.hasOwnProperty("hotReloadBufferMs")?e.hotReloadBufferMs:500),onlyLogs:!1,consoleLog:console.log,consoleGroup:t,consoleGroupEnd:r,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},e)}function getDisplayName(e){return e.displayName||e.name||e.type&&getDisplayName(e.type)||(_isString(e)?e:void 0)}var hasElementType="undefined"!=typeof Element,hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,isReactElement=function(e){return e.$$typeof===REACT_ELEMENT_TYPE};function trackDiff(e,t,r,o,n){return r.push({diffType:n,pathString:o,prevValue:e,nextValue:t}),n!==diffTypes.different}function accumulateDeepEqualDiffs(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(e===t)return!0;if(!e||!t)return trackDiff(e,t,r,o,diffTypes.different);if(_isArray(e)&&_isArray(t)){var n=e.length;if(n!==t.length)return trackDiff(e,t,r,o,diffTypes.different);for(var i=!0,a=n;0!=a--;)accumulateDeepEqualDiffs(e[a],t[a],r,"".concat(o,"[").concat(a,"]"))||(i=!1);return trackDiff(e,t,r,o,i?diffTypes.deepEquals:diffTypes.different)}if(_isDate(e)&&_isDate(t))return e.getTime()===t.getTime()?trackDiff(e,t,r,o,diffTypes.date):trackDiff(e,t,r,o,diffTypes.different);if(_isRegExp(e)&&_isRegExp(t))return e.toString()===t.toString()?trackDiff(e,t,r,o,diffTypes.regex):trackDiff(e,t,r,o,diffTypes.different);if(hasElementType&&e instanceof Element&&t instanceof Element)return trackDiff(e,t,r,o,diffTypes.different);if(isReactElement(e)&&isReactElement(t))return e.type!==t.type?trackDiff(e,t,r,o,diffTypes.different):trackDiff(e,t,r,o,accumulateDeepEqualDiffs(e.props,t.props,r,"".concat(o,".props"))?diffTypes.reactElement:diffTypes.different);if(_isFunction(e)&&_isFunction(t))return e.name===t.name?trackDiff(e,t,r,o,diffTypes.function):trackDiff(e,t,r,o,diffTypes.different);if(_isPlainObject(e)&&_isPlainObject(t)){var f=_keys(e),s=f.length;if(s!==_keys(t).length)return trackDiff(e,t,r,o,diffTypes.different);for(var c=s;0!=c--;)if(!_has(t,f[c]))return trackDiff(e,t,r,o,diffTypes.different);for(var p=!0,u=s;0!=u--;){var l=f[u];accumulateDeepEqualDiffs(e[l],t[l],r,"".concat(o,".").concat(l))||(p=!1)}return trackDiff(e,t,r,o,p?diffTypes.deepEquals:diffTypes.different)}return trackDiff(e,t,r,o,diffTypes.different)}function calculateDeepEqualDiffs(e,t,r){try{var o=[];return accumulateDeepEqualDiffs(e,t,o,r),o}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var emptyObject={};function findObjectsDifferences(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===t)return!1;if(!(void 0===r||r))return calculateDeepEqualDiffs(e,t);var o=e||emptyObject,n=t||emptyObject,i=Object.keys(_objectSpread({},o,n));return _reduce(i,function(e,t){var r=calculateDeepEqualDiffs(o[t],n[t],t);return r&&(e=[].concat(_toConsumableArray(e),_toConsumableArray(r))),e},[])}function getUpdateReason(e,t,r,o,n,i){return{propsDifferences:findObjectsDifferences(e,o),stateDifferences:findObjectsDifferences(t,n),hookDifferences:findObjectsDifferences(r,i,{shallow:!1})}}function getUpdateInfo(e){var t=e.Component,r=e.displayName,o=e.hookName,n=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,s=e.nextState,c=e.nextHook;return{Component:t,displayName:r,hookName:o,prevProps:n,prevState:i,prevHook:a,nextProps:f,nextState:s,nextHook:c,options:e.options,reason:getUpdateReason(n,i,a,f,s,c)}}function shouldInclude(e,t){return t.include&&t.include.length>0&&t.include.some(function(t){return t.test(e)})}function shouldExclude(e,t){return t.exclude&&t.exclude.length>0&&t.exclude.some(function(t){return t.test(e)})}function shouldTrack(e,t,r){return!shouldExclude(t,r)&&!(!e.whyDidYouRender&&!shouldInclude(t,r))}var StrictMode=2;function checkIfInsideAStrictModeTree(e){for(var t=e._reactInternalFiber;null!==t;){if(t.mode&StrictMode)return!0;t=t.return}return!1}var hasSymbol$1="function"==typeof Symbol&&Symbol.for,REACT_MEMO_TYPE=hasSymbol$1?Symbol.for("react.memo"):60115;function patchClassComponent(e,t,r,o){var n=function(r){function n(t,r){var o;_classCallCheck(this,n),(o=_possibleConstructorReturn(this,_getPrototypeOf(n).call(this,t,r)))._WDYR={renderNumber:0};var i=_get(_getPrototypeOf(n.prototype),"render",_assertThisInitialized(o))||o.render;return i!==e.prototype.render&&(o.render=function(){return n.prototype.render.apply(_assertThisInitialized(o)),i()}),o}return _inherits(n,e),_createClass(n,[{key:"render",value:function(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=checkIfInsideAStrictModeTree(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&o.notifier(getUpdateInfo({Component:e,displayName:t,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:o})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),_get(_getPrototypeOf(n.prototype),"render",this)?_get(_getPrototypeOf(n.prototype),"render",this).call(this):null}}]),n}();return n.displayName=t,_defaults(n,e),n}function patchFunctionalComponent(e,t,r,o){function n(n){var i=r.useRef(),a=i.current;if(i.current=n,a){var f=getUpdateInfo({Component:e,displayName:t,prevProps:a,nextProps:n,options:o});f.reason.propsDifferences&&o.notifier(f)}return e(n)}return n.displayName=t,n.ComponentForHooksTracking=e,_defaults(n,e),n}function patchMemoComponent(e,t,r,o){var n=e.type;function i(i){var a=r.useRef(),f=a.current;if(a.current=i,f){var s=getUpdateInfo({Component:e,displayName:t,prevProps:f,nextProps:i,options:o});s.reason.propsDifferences&&s.reason.propsDifferences.length>0&&o.notifier(s)}return n(i)}i.displayName=getDisplayName(n),i.ComponentForHooksTracking=e,_defaults(i,n);var a=r.memo(i,e.compare);return a.displayName=t,_defaults(a,e),a}function trackHookChanges(e,t,r,o,n){var i=t.path,a=r,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!f)return a;var s=f.type.ComponentForHooksTracking||f.type,c=getDisplayName(s);if(!shouldTrack(s,c,n))return a;var p=o.useRef(),u=p.current;if(p.current=a,u){var l=getUpdateInfo({Component:s,displayName:c,hookName:e,prevHook:i?_get$1(u,i):u,nextHook:i?_get$1(a,i):a,options:n});l.reason.hookDifferences&&n.notifier(l)}return p.current}function createPatchedComponent(e,t,r,o,n){return t.$$typeof===REACT_MEMO_TYPE?patchMemoComponent(t,r,o,n):t.prototype&&t.prototype.isReactComponent?patchClassComponent(t,r,o,n):patchFunctionalComponent(t,r,o,n)}function getPatchedComponent(e,t,r,o,n){if(e.has(t))return e.get(t);var i=createPatchedComponent(e,t,r,o,n);return e.set(t,i),i}var hooksConfig={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function whyDidYouRender(e,t){var r,o=normalizeOptions(t),n=e.createElement,i=e.createFactory,a=new WeakMap;if(e.createElement=function(t){for(var r=null,i=null,f=null,s=arguments.length,c=new Array(s>1?s-1:0),p=1;p<s;p++)c[p-1]=arguments[p];try{if(r=("function"==typeof t||t.$$typeof===REACT_MEMO_TYPE)&&shouldTrack(t,getDisplayName(t),o))return i=t&&t.whyDidYouRender&&t.whyDidYouRender.customName||getDisplayName(t),f=getPatchedComponent(a,t,i,e,o),n.apply(e,[f].concat(c))}catch(e){o.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{componentNameOrComponent:t,rest:c,options:o,isShouldTrack:r,displayName:i,WDYRPatchedComponent:f}})}return n.apply(e,[t].concat(c))},Object.assign(e.createElement,n),e.createFactory=function(t){var r=e.createElement.bind(null,t);return r.type=t,r},Object.assign(e.createFactory,i),o.trackHooks){var f=_mapValues(hooksConfig,function(t,n){return function(){var i=r[n];if(!i)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var a=i.apply(void 0,arguments);return t&&trackHookChanges(n,!0===t?{}:t,a,e,o),a}});Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){r=e&&_objectSpread({},e,e.origHooks)},get:function(){return r&&_objectSpread({},r,f,{origHooks:r})}})}return e.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(e,{createElement:n,createFactory:i}),a=null,Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:r}),delete e.__REVERT_WHY_DID_YOU_RENDER__},e}whyDidYouRender.defaultNotifier=defaultNotifier,module.exports=whyDidYouRender;
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var _mapValues=_interopDefault(require("lodash/mapValues")),_get$1=_interopDefault(require("lodash/get")),_defaults=_interopDefault(require("lodash/defaults")),_isString=_interopDefault(require("lodash/isString")),_reduce=_interopDefault(require("lodash/reduce")),_has=_interopDefault(require("lodash/has")),_keys=_interopDefault(require("lodash/keys")),_isFunction=_interopDefault(require("lodash/isFunction")),_isRegExp=_interopDefault(require("lodash/isRegExp")),_isDate=_interopDefault(require("lodash/isDate")),_isPlainObject=_interopDefault(require("lodash/isPlainObject")),_isArray=_interopDefault(require("lodash/isArray"));function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(t){_defineProperty(e,t,r[t])})}return e}function _inherits(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&&_setPrototypeOf(e,t)}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _possibleConstructorReturn(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?_assertThisInitialized(e):t}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _get(e,t,r){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var o=_superPropBase(e,t);if(o){var n=Object.getOwnPropertyDescriptor(o,t);return n.get?n.get.call(r):n.value}})(e,t,r||e)}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function _iterableToArray(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var _diffTypesDescription,diffTypes={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},moreInfoUrl="http://bit.ly/wdyr02",moreInfoHooksUrl="http://bit.ly/wdyr3",diffTypesDescriptions=(_defineProperty(_diffTypesDescription={},diffTypes.different,"different objects."),_defineProperty(_diffTypesDescription,diffTypes.deepEquals,"different objects that are equal by value."),_defineProperty(_diffTypesDescription,diffTypes.date,"different date objects with the same value."),_defineProperty(_diffTypesDescription,diffTypes.regex,"different regular expressions with the same value."),_defineProperty(_diffTypesDescription,diffTypes.reactElement,"different React elements with the same displayName."),_defineProperty(_diffTypesDescription,diffTypes.function,"different functions with the same name."),_diffTypesDescription),inHotReload=!1;function shouldLog(e,t,r){return!inHotReload&&(!!r.logOnDifferentValues||(!(!t.whyDidYouRender||!t.whyDidYouRender.logOnDifferentValues)||!(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===diffTypes.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===diffTypes.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===diffTypes.different}))))}function logDifference(e){var t=e.Component,r=e.displayName,o=e.hookName,n=e.prefixMessage,i=e.diffObjType,a=e.differences,f=e.values,s=e.options;a&&a.length>0?(s.consoleLog(_defineProperty({},r,t),"".concat(n," of ").concat(i," changes:")),a.forEach(function(e){var t=e.pathString,r=e.diffType,n=e.prevValue,a=e.nextValue;s.consoleGroup("%c".concat("hook"===i?"[hook ".concat(o," result]"):"".concat(i,"."),"%c").concat(t,"%c"),"color:".concat(s.diffNameColor,";"),"color:".concat(s.diffPathColor,";"),"color:default;"),s.consoleLog("".concat(diffTypesDescriptions[r]," (more info at ").concat(o?moreInfoHooksUrl:moreInfoUrl,")")),s.consoleLog(_defineProperty({},"prev ".concat(t),n),"!==",_defineProperty({},"next ".concat(t),a)),s.consoleGroupEnd()})):a&&(s.consoleLog(_defineProperty({},r,t),"".concat(n," the ").concat(i," object itself changed but it's values are all equal."),"props"===i?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(moreInfoUrl)),s.consoleLog("prev ".concat(i,":"),f.prev," !== ",f.next,":next ".concat(i)))}function defaultNotifier(e){var t=e.Component,r=e.displayName,o=e.hookName,n=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,s=e.nextState,c=e.nextHook,p=e.reason,u=e.options;if(shouldLog(p,t,u)){u.consoleGroup("%c".concat(r),"color: ".concat(u.titleColor,";"));var l="Re-rendered because";p.propsDifferences&&(logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"props",differences:p.propsDifferences,values:{prev:n,next:f},options:u}),l="And because"),p.stateDifferences&&logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"state",differences:p.stateDifferences,values:{prev:i,next:s},options:u}),p.hookDifferences&&logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"hook",differences:p.hookDifferences,values:{prev:a,next:c},hookName:o,options:u}),p.propsDifferences||p.stateDifferences||p.hookDifferences||u.consoleLog(_defineProperty({},r,t),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(moreInfoUrl)),u.consoleGroupEnd()}}function createDefaultNotifier(e){return e&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(t){"idle"===t&&(inHotReload=!0,setTimeout(function(){inHotReload=!1},e))}),defaultNotifier}var emptyFn=function(){};function normalizeOptions(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=console.group,r=console.groupEnd;return e.collapseGroups?t=console.groupCollapsed:e.onlyLogs&&(t=console.log,r=emptyFn),_objectSpread({include:null,exclude:null,notifier:e.notifier||createDefaultNotifier(e.hasOwnProperty("hotReloadBufferMs")?e.hotReloadBufferMs:500),onlyLogs:!1,consoleLog:console.log,consoleGroup:t,consoleGroupEnd:r,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},e)}function getDisplayName(e){return e.displayName||e.name||e.type&&getDisplayName(e.type)||(_isString(e)?e:void 0)}var hasElementType="undefined"!=typeof Element,hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,isReactElement=function(e){return e.$$typeof===REACT_ELEMENT_TYPE};function trackDiff(e,t,r,o,n){return r.push({diffType:n,pathString:o,prevValue:e,nextValue:t}),n!==diffTypes.different}function accumulateDeepEqualDiffs(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(e===t)return!0;if(!e||!t)return trackDiff(e,t,r,o,diffTypes.different);if(_isArray(e)&&_isArray(t)){var n=e.length;if(n!==t.length)return trackDiff(e,t,r,o,diffTypes.different);for(var i=!0,a=n;0!=a--;)accumulateDeepEqualDiffs(e[a],t[a],r,"".concat(o,"[").concat(a,"]"))||(i=!1);return trackDiff(e,t,r,o,i?diffTypes.deepEquals:diffTypes.different)}if(_isDate(e)&&_isDate(t))return e.getTime()===t.getTime()?trackDiff(e,t,r,o,diffTypes.date):trackDiff(e,t,r,o,diffTypes.different);if(_isRegExp(e)&&_isRegExp(t))return e.toString()===t.toString()?trackDiff(e,t,r,o,diffTypes.regex):trackDiff(e,t,r,o,diffTypes.different);if(hasElementType&&e instanceof Element&&t instanceof Element)return trackDiff(e,t,r,o,diffTypes.different);if(isReactElement(e)&&isReactElement(t))return e.type!==t.type?trackDiff(e,t,r,o,diffTypes.different):trackDiff(e,t,r,o,accumulateDeepEqualDiffs(e.props,t.props,r,"".concat(o,".props"))?diffTypes.reactElement:diffTypes.different);if(_isFunction(e)&&_isFunction(t))return e.name===t.name?trackDiff(e,t,r,o,diffTypes.function):trackDiff(e,t,r,o,diffTypes.different);if(_isPlainObject(e)&&_isPlainObject(t)){var f=_keys(e),s=f.length;if(s!==_keys(t).length)return trackDiff(e,t,r,o,diffTypes.different);for(var c=s;0!=c--;)if(!_has(t,f[c]))return trackDiff(e,t,r,o,diffTypes.different);for(var p=!0,u=s;0!=u--;){var l=f[u];accumulateDeepEqualDiffs(e[l],t[l],r,"".concat(o,".").concat(l))||(p=!1)}return trackDiff(e,t,r,o,p?diffTypes.deepEquals:diffTypes.different)}return trackDiff(e,t,r,o,diffTypes.different)}function calculateDeepEqualDiffs(e,t,r){try{var o=[];return accumulateDeepEqualDiffs(e,t,o,r),o}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var emptyObject={};function findObjectsDifferences(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===t)return!1;if(!(void 0===r||r))return calculateDeepEqualDiffs(e,t);var o=e||emptyObject,n=t||emptyObject,i=Object.keys(_objectSpread({},o,n));return _reduce(i,function(e,t){var r=calculateDeepEqualDiffs(o[t],n[t],t);return r&&(e=[].concat(_toConsumableArray(e),_toConsumableArray(r))),e},[])}function getUpdateReason(e,t,r,o,n,i){return{propsDifferences:findObjectsDifferences(e,o),stateDifferences:findObjectsDifferences(t,n),hookDifferences:findObjectsDifferences(r,i,{shallow:!1})}}function getUpdateInfo(e){var t=e.Component,r=e.displayName,o=e.hookName,n=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,s=e.nextState,c=e.nextHook;return{Component:t,displayName:r,hookName:o,prevProps:n,prevState:i,prevHook:a,nextProps:f,nextState:s,nextHook:c,options:e.options,reason:getUpdateReason(n,i,a,f,s,c)}}function shouldInclude(e,t){return t.include&&t.include.length>0&&t.include.some(function(t){return t.test(e)})}function shouldExclude(e,t){return t.exclude&&t.exclude.length>0&&t.exclude.some(function(t){return t.test(e)})}function shouldTrack(e,t,r){return!shouldExclude(t,r)&&!(!e.whyDidYouRender&&!shouldInclude(t,r))}var StrictMode=2;function checkIfInsideAStrictModeTree(e){for(var t=e._reactInternalFiber;null!==t;){if(t.mode&StrictMode)return!0;t=t.return}return!1}var hasSymbol$1="function"==typeof Symbol&&Symbol.for,REACT_MEMO_TYPE=hasSymbol$1?Symbol.for("react.memo"):60115;function patchClassComponent(e,t,r,o){var n=function(r){function n(t,r){var o;_classCallCheck(this,n),(o=_possibleConstructorReturn(this,_getPrototypeOf(n).call(this,t,r)))._WDYR={renderNumber:0};var i=_get(_getPrototypeOf(n.prototype),"render",_assertThisInitialized(o))||o.render;return i!==e.prototype.render&&(o.render=function(){return n.prototype.render.apply(_assertThisInitialized(o)),i()}),o}return _inherits(n,e),_createClass(n,[{key:"render",value:function(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=checkIfInsideAStrictModeTree(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&o.notifier(getUpdateInfo({Component:e,displayName:t,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:o})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),_get(_getPrototypeOf(n.prototype),"render",this)?_get(_getPrototypeOf(n.prototype),"render",this).call(this):null}}]),n}();return n.displayName=t,_defaults(n,e),n}function patchFunctionalComponent(e,t,r,o){function n(n){var i=r.useRef(),a=i.current;if(i.current=n,a){var f=getUpdateInfo({Component:e,displayName:t,prevProps:a,nextProps:n,options:o});f.reason.propsDifferences&&o.notifier(f)}return e(n)}return n.displayName=t,n.ComponentForHooksTracking=e,_defaults(n,e),n}function patchMemoComponent(e,t,r,o){var n=e.type;function i(i){var a=r.useRef(),f=a.current;if(a.current=i,f){var s=getUpdateInfo({Component:e,displayName:t,prevProps:f,nextProps:i,options:o});s.reason.propsDifferences&&s.reason.propsDifferences.length>0&&o.notifier(s)}return n(i)}i.displayName=getDisplayName(n),i.ComponentForHooksTracking=e,_defaults(i,n);var a=r.memo(i,e.compare);return a.displayName=t,_defaults(a,e),a}function trackHookChanges(e,t,r,o,n){var i=t.path,a=r,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!f)return a;var s=f.type.ComponentForHooksTracking||f.type,c=getDisplayName(s);if(!shouldTrack(s,c,n))return a;var p=o.useRef(),u=p.current;if(p.current=a,u){var l=getUpdateInfo({Component:s,displayName:c,hookName:e,prevHook:i?_get$1(u,i):u,nextHook:i?_get$1(a,i):a,options:n});l.reason.hookDifferences&&n.notifier(l)}return p.current}function createPatchedComponent(e,t,r,o,n){return t.$$typeof===REACT_MEMO_TYPE?patchMemoComponent(t,r,o,n):t.prototype&&t.prototype.isReactComponent?patchClassComponent(t,r,o,n):patchFunctionalComponent(t,r,o,n)}function getPatchedComponent(e,t,r,o,n){if(e.has(t))return e.get(t);var i=createPatchedComponent(e,t,r,o,n);return e.set(t,i),i}var hooksConfig={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function whyDidYouRender(e,t){var r,o=normalizeOptions(t),n=e.createElement,i=e.createFactory,a=new WeakMap;if(e.createElement=function(t){for(var r=null,i=null,f=null,s=arguments.length,c=new Array(s>1?s-1:0),p=1;p<s;p++)c[p-1]=arguments[p];try{if(r=("function"==typeof t||t.$$typeof===REACT_MEMO_TYPE)&&shouldTrack(t,getDisplayName(t),o))return i=t&&t.whyDidYouRender&&t.whyDidYouRender.customName||getDisplayName(t),f=getPatchedComponent(a,t,i,e,o),n.apply(e,[f].concat(c))}catch(e){o.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{error:e,componentNameOrComponent:t,rest:c,options:o,isShouldTrack:r,displayName:i,WDYRPatchedComponent:f}})}return n.apply(e,[t].concat(c))},Object.assign(e.createElement,n),e.createFactory=function(t){var r=e.createElement.bind(null,t);return r.type=t,r},Object.assign(e.createFactory,i),o.trackHooks){var f=_mapValues(hooksConfig,function(t,n){return function(){var i=r[n];if(!i)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var a=i.apply(void 0,arguments);return t&&trackHookChanges(n,!0===t?{}:t,a,e,o),a}});Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){r=e&&_objectSpread({},e,e.origHooks)},get:function(){return r&&_objectSpread({},r,f,{origHooks:r})}})}return e.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(e,{createElement:n,createFactory:i}),a=null,Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:r}),delete e.__REVERT_WHY_DID_YOU_RENDER__},e}whyDidYouRender.defaultNotifier=defaultNotifier,module.exports=whyDidYouRender;
//# sourceMappingURL=whyDidYouRender.min.js.map
/**
* @welldone-software/why-did-you-render 3.2.0
* @welldone-software/why-did-you-render 3.2.1
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-06-13
* Generated at 2019-06-18
*/

@@ -836,2 +836,3 @@

errorInfo: {
error: e,
componentNameOrComponent: componentNameOrComponent,

@@ -838,0 +839,0 @@ rest: rest,

/**
* @welldone-software/why-did-you-render 3.2.0
* @welldone-software/why-did-you-render 3.2.1
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-06-13
* Generated at 2019-06-18
*/
import e from"lodash/mapValues";import t from"lodash/get";import r from"lodash/defaults";import n from"lodash/isString";import o from"lodash/reduce";import i from"lodash/has";import a from"lodash/keys";import f from"lodash/isFunction";import c from"lodash/isRegExp";import s from"lodash/isDate";import u from"lodash/isPlainObject";import p from"lodash/isArray";function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){d(e,t,r[t])})}return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t,r){return(g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(r):o.value}})(e,t,r||e)}function b(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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")}()}var _,D={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},R="http://bit.ly/wdyr02",E="http://bit.ly/wdyr3",O=(d(_={},D.different,"different objects."),d(_,D.deepEquals,"different objects that are equal by value."),d(_,D.date,"different date objects with the same value."),d(_,D.regex,"different regular expressions with the same value."),d(_,D.reactElement,"different React elements with the same displayName."),d(_,D.function,"different functions with the same name."),_),w=!1;function k(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prefixMessage,i=e.diffObjType,a=e.differences,f=e.values,c=e.options;a&&a.length>0?(c.consoleLog(d({},r,t),"".concat(o," of ").concat(i," changes:")),a.forEach(function(e){var t=e.pathString,r=e.diffType,o=e.prevValue,a=e.nextValue;c.consoleGroup("%c".concat("hook"===i?"[hook ".concat(n," result]"):"".concat(i,"."),"%c").concat(t,"%c"),"color:".concat(c.diffNameColor,";"),"color:".concat(c.diffPathColor,";"),"color:default;"),c.consoleLog("".concat(O[r]," (more info at ").concat(n?E:R,")")),c.consoleLog(d({},"prev ".concat(t),o),"!==",d({},"next ".concat(t),a)),c.consoleGroupEnd()})):a&&(c.consoleLog(d({},r,t),"".concat(o," the ").concat(i," object itself changed but it's values are all equal."),"props"===i?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(R)),c.consoleLog("prev ".concat(i,":"),f.prev," !== ",f.next,":next ".concat(i)))}function N(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,c=e.nextState,s=e.nextHook,u=e.reason,p=e.options;if(function(e,t,r){return!(w||!r.logOnDifferentValues&&(!t.whyDidYouRender||!t.whyDidYouRender.logOnDifferentValues)&&(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===D.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===D.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===D.different})))}(u,t,p)){p.consoleGroup("%c".concat(r),"color: ".concat(p.titleColor,";"));var l="Re-rendered because";u.propsDifferences&&(k({Component:t,displayName:r,prefixMessage:l,diffObjType:"props",differences:u.propsDifferences,values:{prev:o,next:f},options:p}),l="And because"),u.stateDifferences&&k({Component:t,displayName:r,prefixMessage:l,diffObjType:"state",differences:u.stateDifferences,values:{prev:i,next:c},options:p}),u.hookDifferences&&k({Component:t,displayName:r,prefixMessage:l,diffObjType:"hook",differences:u.hookDifferences,values:{prev:a,next:s},hookName:n,options:p}),u.propsDifferences||u.stateDifferences||u.hookDifferences||p.consoleLog(d({},r,t),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(R)),p.consoleGroupEnd()}}var S=function(){};function x(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=console.group,n=console.groupEnd;return t.collapseGroups?r=console.groupCollapsed:t.onlyLogs&&(r=console.log,n=S),m({include:null,exclude:null,notifier:t.notifier||((e=t.hasOwnProperty("hotReloadBufferMs")?t.hotReloadBufferMs:500)&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(t){"idle"===t&&(w=!0,setTimeout(function(){w=!1},e))}),N),onlyLogs:!1,consoleLog:console.log,consoleGroup:r,consoleGroupEnd:n,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},t)}function P(e){return e.displayName||e.name||e.type&&P(e.type)||(n(e)?e:void 0)}var j="undefined"!=typeof Element,T="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,C=function(e){return e.$$typeof===T};function Y(e,t,r,n,o){return r.push({diffType:o,pathString:n,prevValue:e,nextValue:t}),o!==D.different}function H(e,t,r){try{var n=[];return function e(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(t===r)return!0;if(!t||!r)return Y(t,r,n,o,D.different);if(p(t)&&p(r)){var l=t.length;if(l!==r.length)return Y(t,r,n,o,D.different);for(var d=!0,m=l;0!=m--;)e(t[m],r[m],n,"".concat(o,"[").concat(m,"]"))||(d=!1);return Y(t,r,n,o,d?D.deepEquals:D.different)}if(s(t)&&s(r))return t.getTime()===r.getTime()?Y(t,r,n,o,D.date):Y(t,r,n,o,D.different);if(c(t)&&c(r))return t.toString()===r.toString()?Y(t,r,n,o,D.regex):Y(t,r,n,o,D.different);if(j&&t instanceof Element&&r instanceof Element)return Y(t,r,n,o,D.different);if(C(t)&&C(r))return t.type!==r.type?Y(t,r,n,o,D.different):Y(t,r,n,o,e(t.props,r.props,n,"".concat(o,".props"))?D.reactElement:D.different);if(f(t)&&f(r))return t.name===r.name?Y(t,r,n,o,D.function):Y(t,r,n,o,D.different);if(u(t)&&u(r)){var h=a(t),y=h.length;if(y!==a(r).length)return Y(t,r,n,o,D.different);for(var v=y;0!=v--;)if(!i(r,h[v]))return Y(t,r,n,o,D.different);for(var g=!0,b=y;0!=b--;){var _=h[b];e(t[_],r[_],n,"".concat(o,".").concat(_))||(g=!1)}return Y(t,r,n,o,g?D.deepEquals:D.different)}return Y(t,r,n,o,D.different)}(e,t,n,r),n}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var W={};function L(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===t)return!1;if(!(void 0===r||r))return H(e,t);var n=e||W,i=t||W,a=Object.keys(m({},n,i));return o(a,function(e,t){var r=H(n[t],i[t],t);return r&&(e=[].concat(b(e),b(r))),e},[])}function I(e,t,r,n,o,i){return{propsDifferences:L(e,n),stateDifferences:L(t,o),hookDifferences:L(r,i,{shallow:!1})}}function A(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,c=e.nextState,s=e.nextHook;return{Component:t,displayName:r,hookName:n,prevProps:o,prevState:i,prevHook:a,nextProps:f,nextState:c,nextHook:s,options:e.options,reason:I(o,i,a,f,c,s)}}function F(e,t,r){return!function(e,t){return t.exclude&&t.exclude.length>0&&t.exclude.some(function(t){return t.test(e)})}(t,r)&&!(!e.whyDidYouRender&&!function(e,t){return t.include&&t.include.length>0&&t.include.some(function(t){return t.test(e)})}(t,r))}var M=2;var V="function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115;function U(e,t,n,o){var i=function(r){function n(t,r){var o,i,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),i=this,a=h(n).call(this,t,r),(o=!a||"object"!=typeof a&&"function"!=typeof a?v(i):a)._WDYR={renderNumber:0};var f=g(h(n.prototype),"render",v(o))||o.render;return f!==e.prototype.render&&(o.render=function(){return n.prototype.render.apply(v(o)),f()}),o}var i,a,f;return 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&&y(e,t)}(n,e),i=n,(a=[{key:"render",value:function(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=function(e){for(var t=e._reactInternalFiber;null!==t;){if(t.mode&M)return!0;t=t.return}return!1}(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&o.notifier(A({Component:e,displayName:t,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:o})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),g(h(n.prototype),"render",this)?g(h(n.prototype),"render",this).call(this):null}}])&&l(i.prototype,a),f&&l(i,f),n}();return i.displayName=t,r(i,e),i}function q(e,t,n,o,i){return t.$$typeof===V?function(e,t,n,o){var i=e.type;function a(r){var a=n.useRef(),f=a.current;if(a.current=r,f){var c=A({Component:e,displayName:t,prevProps:f,nextProps:r,options:o});c.reason.propsDifferences&&c.reason.propsDifferences.length>0&&o.notifier(c)}return i(r)}a.displayName=P(i),a.ComponentForHooksTracking=e,r(a,i);var f=n.memo(a,e.compare);return f.displayName=t,r(f,e),f}(t,n,o,i):t.prototype&&t.prototype.isReactComponent?U(t,n,0,i):function(e,t,n,o){function i(r){var i=n.useRef(),a=i.current;if(i.current=r,a){var f=A({Component:e,displayName:t,prevProps:a,nextProps:r,options:o});f.reason.propsDifferences&&o.notifier(f)}return e(r)}return i.displayName=t,i.ComponentForHooksTracking=e,r(i,e),i}(t,n,o,i)}var G={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function $(r,n){var o,i=x(n),a=r.createElement,f=r.createFactory,c=new WeakMap;if(r.createElement=function(e){for(var t=null,n=null,o=null,f=arguments.length,s=new Array(f>1?f-1:0),u=1;u<f;u++)s[u-1]=arguments[u];try{if(t=("function"==typeof e||e.$$typeof===V)&&F(e,P(e),i))return n=e&&e.whyDidYouRender&&e.whyDidYouRender.customName||P(e),o=function(e,t,r,n,o){if(e.has(t))return e.get(t);var i=q(0,t,r,n,o);return e.set(t,i),i}(c,e,n,r,i),a.apply(r,[o].concat(s))}catch(r){i.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{componentNameOrComponent:e,rest:s,options:i,isShouldTrack:t,displayName:n,WDYRPatchedComponent:o}})}return a.apply(r,[e].concat(s))},Object.assign(r.createElement,a),r.createFactory=function(e){var t=r.createElement.bind(null,e);return t.type=e,t},Object.assign(r.createFactory,f),i.trackHooks){var s=e(G,function(e,n){return function(){var a=o[n];if(!a)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var f=a.apply(void 0,arguments);return e&&function(e,r,n,o,i){var a=r.path,f=n,c=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!c)return f;var s=c.type.ComponentForHooksTracking||c.type,u=P(s);if(!F(s,u,i))return f;var p=o.useRef(),l=p.current;if(p.current=f,l){var d=A({Component:s,displayName:u,hookName:e,prevHook:a?t(l,a):l,nextHook:a?t(f,a):f,options:i});d.reason.hookDifferences&&i.notifier(d)}p.current}(n,!0===e?{}:e,f,r,i),f}});Object.defineProperty(r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){o=e&&m({},e,e.origHooks)},get:function(){return o&&m({},o,s,{origHooks:o})}})}return r.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(r,{createElement:a,createFactory:f}),c=null,Object.defineProperty(r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:o}),delete r.__REVERT_WHY_DID_YOU_RENDER__},r}$.defaultNotifier=N;export default $;
import e from"lodash/mapValues";import t from"lodash/get";import r from"lodash/defaults";import n from"lodash/isString";import o from"lodash/reduce";import i from"lodash/has";import a from"lodash/keys";import f from"lodash/isFunction";import c from"lodash/isRegExp";import s from"lodash/isDate";import u from"lodash/isPlainObject";import p from"lodash/isArray";function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){d(e,t,r[t])})}return e}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t,r){return(g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(r):o.value}})(e,t,r||e)}function b(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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")}()}var _,D={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},R="http://bit.ly/wdyr02",E="http://bit.ly/wdyr3",O=(d(_={},D.different,"different objects."),d(_,D.deepEquals,"different objects that are equal by value."),d(_,D.date,"different date objects with the same value."),d(_,D.regex,"different regular expressions with the same value."),d(_,D.reactElement,"different React elements with the same displayName."),d(_,D.function,"different functions with the same name."),_),w=!1;function k(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prefixMessage,i=e.diffObjType,a=e.differences,f=e.values,c=e.options;a&&a.length>0?(c.consoleLog(d({},r,t),"".concat(o," of ").concat(i," changes:")),a.forEach(function(e){var t=e.pathString,r=e.diffType,o=e.prevValue,a=e.nextValue;c.consoleGroup("%c".concat("hook"===i?"[hook ".concat(n," result]"):"".concat(i,"."),"%c").concat(t,"%c"),"color:".concat(c.diffNameColor,";"),"color:".concat(c.diffPathColor,";"),"color:default;"),c.consoleLog("".concat(O[r]," (more info at ").concat(n?E:R,")")),c.consoleLog(d({},"prev ".concat(t),o),"!==",d({},"next ".concat(t),a)),c.consoleGroupEnd()})):a&&(c.consoleLog(d({},r,t),"".concat(o," the ").concat(i," object itself changed but it's values are all equal."),"props"===i?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(R)),c.consoleLog("prev ".concat(i,":"),f.prev," !== ",f.next,":next ".concat(i)))}function N(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,c=e.nextState,s=e.nextHook,u=e.reason,p=e.options;if(function(e,t,r){return!(w||!r.logOnDifferentValues&&(!t.whyDidYouRender||!t.whyDidYouRender.logOnDifferentValues)&&(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===D.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===D.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===D.different})))}(u,t,p)){p.consoleGroup("%c".concat(r),"color: ".concat(p.titleColor,";"));var l="Re-rendered because";u.propsDifferences&&(k({Component:t,displayName:r,prefixMessage:l,diffObjType:"props",differences:u.propsDifferences,values:{prev:o,next:f},options:p}),l="And because"),u.stateDifferences&&k({Component:t,displayName:r,prefixMessage:l,diffObjType:"state",differences:u.stateDifferences,values:{prev:i,next:c},options:p}),u.hookDifferences&&k({Component:t,displayName:r,prefixMessage:l,diffObjType:"hook",differences:u.hookDifferences,values:{prev:a,next:s},hookName:n,options:p}),u.propsDifferences||u.stateDifferences||u.hookDifferences||p.consoleLog(d({},r,t),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(R)),p.consoleGroupEnd()}}var S=function(){};function x(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=console.group,n=console.groupEnd;return t.collapseGroups?r=console.groupCollapsed:t.onlyLogs&&(r=console.log,n=S),m({include:null,exclude:null,notifier:t.notifier||((e=t.hasOwnProperty("hotReloadBufferMs")?t.hotReloadBufferMs:500)&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(t){"idle"===t&&(w=!0,setTimeout(function(){w=!1},e))}),N),onlyLogs:!1,consoleLog:console.log,consoleGroup:r,consoleGroupEnd:n,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},t)}function P(e){return e.displayName||e.name||e.type&&P(e.type)||(n(e)?e:void 0)}var j="undefined"!=typeof Element,T="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,C=function(e){return e.$$typeof===T};function Y(e,t,r,n,o){return r.push({diffType:o,pathString:n,prevValue:e,nextValue:t}),o!==D.different}function H(e,t,r){try{var n=[];return function e(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(t===r)return!0;if(!t||!r)return Y(t,r,n,o,D.different);if(p(t)&&p(r)){var l=t.length;if(l!==r.length)return Y(t,r,n,o,D.different);for(var d=!0,m=l;0!=m--;)e(t[m],r[m],n,"".concat(o,"[").concat(m,"]"))||(d=!1);return Y(t,r,n,o,d?D.deepEquals:D.different)}if(s(t)&&s(r))return t.getTime()===r.getTime()?Y(t,r,n,o,D.date):Y(t,r,n,o,D.different);if(c(t)&&c(r))return t.toString()===r.toString()?Y(t,r,n,o,D.regex):Y(t,r,n,o,D.different);if(j&&t instanceof Element&&r instanceof Element)return Y(t,r,n,o,D.different);if(C(t)&&C(r))return t.type!==r.type?Y(t,r,n,o,D.different):Y(t,r,n,o,e(t.props,r.props,n,"".concat(o,".props"))?D.reactElement:D.different);if(f(t)&&f(r))return t.name===r.name?Y(t,r,n,o,D.function):Y(t,r,n,o,D.different);if(u(t)&&u(r)){var h=a(t),y=h.length;if(y!==a(r).length)return Y(t,r,n,o,D.different);for(var v=y;0!=v--;)if(!i(r,h[v]))return Y(t,r,n,o,D.different);for(var g=!0,b=y;0!=b--;){var _=h[b];e(t[_],r[_],n,"".concat(o,".").concat(_))||(g=!1)}return Y(t,r,n,o,g?D.deepEquals:D.different)}return Y(t,r,n,o,D.different)}(e,t,n,r),n}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var W={};function L(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===t)return!1;if(!(void 0===r||r))return H(e,t);var n=e||W,i=t||W,a=Object.keys(m({},n,i));return o(a,function(e,t){var r=H(n[t],i[t],t);return r&&(e=[].concat(b(e),b(r))),e},[])}function I(e,t,r,n,o,i){return{propsDifferences:L(e,n),stateDifferences:L(t,o),hookDifferences:L(r,i,{shallow:!1})}}function A(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,c=e.nextState,s=e.nextHook;return{Component:t,displayName:r,hookName:n,prevProps:o,prevState:i,prevHook:a,nextProps:f,nextState:c,nextHook:s,options:e.options,reason:I(o,i,a,f,c,s)}}function F(e,t,r){return!function(e,t){return t.exclude&&t.exclude.length>0&&t.exclude.some(function(t){return t.test(e)})}(t,r)&&!(!e.whyDidYouRender&&!function(e,t){return t.include&&t.include.length>0&&t.include.some(function(t){return t.test(e)})}(t,r))}var M=2;var V="function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115;function U(e,t,n,o){var i=function(r){function n(t,r){var o,i,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),i=this,a=h(n).call(this,t,r),(o=!a||"object"!=typeof a&&"function"!=typeof a?v(i):a)._WDYR={renderNumber:0};var f=g(h(n.prototype),"render",v(o))||o.render;return f!==e.prototype.render&&(o.render=function(){return n.prototype.render.apply(v(o)),f()}),o}var i,a,f;return 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&&y(e,t)}(n,e),i=n,(a=[{key:"render",value:function(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=function(e){for(var t=e._reactInternalFiber;null!==t;){if(t.mode&M)return!0;t=t.return}return!1}(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&o.notifier(A({Component:e,displayName:t,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:o})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),g(h(n.prototype),"render",this)?g(h(n.prototype),"render",this).call(this):null}}])&&l(i.prototype,a),f&&l(i,f),n}();return i.displayName=t,r(i,e),i}function q(e,t,n,o,i){return t.$$typeof===V?function(e,t,n,o){var i=e.type;function a(r){var a=n.useRef(),f=a.current;if(a.current=r,f){var c=A({Component:e,displayName:t,prevProps:f,nextProps:r,options:o});c.reason.propsDifferences&&c.reason.propsDifferences.length>0&&o.notifier(c)}return i(r)}a.displayName=P(i),a.ComponentForHooksTracking=e,r(a,i);var f=n.memo(a,e.compare);return f.displayName=t,r(f,e),f}(t,n,o,i):t.prototype&&t.prototype.isReactComponent?U(t,n,0,i):function(e,t,n,o){function i(r){var i=n.useRef(),a=i.current;if(i.current=r,a){var f=A({Component:e,displayName:t,prevProps:a,nextProps:r,options:o});f.reason.propsDifferences&&o.notifier(f)}return e(r)}return i.displayName=t,i.ComponentForHooksTracking=e,r(i,e),i}(t,n,o,i)}var G={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function $(r,n){var o,i=x(n),a=r.createElement,f=r.createFactory,c=new WeakMap;if(r.createElement=function(e){for(var t=null,n=null,o=null,f=arguments.length,s=new Array(f>1?f-1:0),u=1;u<f;u++)s[u-1]=arguments[u];try{if(t=("function"==typeof e||e.$$typeof===V)&&F(e,P(e),i))return n=e&&e.whyDidYouRender&&e.whyDidYouRender.customName||P(e),o=function(e,t,r,n,o){if(e.has(t))return e.get(t);var i=q(0,t,r,n,o);return e.set(t,i),i}(c,e,n,r,i),a.apply(r,[o].concat(s))}catch(r){i.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{error:r,componentNameOrComponent:e,rest:s,options:i,isShouldTrack:t,displayName:n,WDYRPatchedComponent:o}})}return a.apply(r,[e].concat(s))},Object.assign(r.createElement,a),r.createFactory=function(e){var t=r.createElement.bind(null,e);return t.type=e,t},Object.assign(r.createFactory,f),i.trackHooks){var s=e(G,function(e,n){return function(){var a=o[n];if(!a)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var f=a.apply(void 0,arguments);return e&&function(e,r,n,o,i){var a=r.path,f=n,c=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!c)return f;var s=c.type.ComponentForHooksTracking||c.type,u=P(s);if(!F(s,u,i))return f;var p=o.useRef(),l=p.current;if(p.current=f,l){var d=A({Component:s,displayName:u,hookName:e,prevHook:a?t(l,a):l,nextHook:a?t(f,a):f,options:i});d.reason.hookDifferences&&i.notifier(d)}p.current}(n,!0===e?{}:e,f,r,i),f}});Object.defineProperty(r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){o=e&&m({},e,e.origHooks)},get:function(){return o&&m({},o,s,{origHooks:o})}})}return r.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(r,{createElement:a,createFactory:f}),c=null,Object.defineProperty(r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:o}),delete r.__REVERT_WHY_DID_YOU_RENDER__},r}$.defaultNotifier=N;export default $;
//# sourceMappingURL=whyDidYouRender.min.js.map
/**
* @welldone-software/why-did-you-render 3.2.0
* @welldone-software/why-did-you-render 3.2.1
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-06-13
* Generated at 2019-06-18
*/

@@ -728,2 +728,3 @@

errorInfo: {
error: e,
componentNameOrComponent: componentNameOrComponent,

@@ -730,0 +731,0 @@ rest: rest,

/**
* @welldone-software/why-did-you-render 3.2.0
* @welldone-software/why-did-you-render 3.2.1
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-06-13
* Generated at 2019-06-18
*/
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var _mapValues=_interopDefault(require("lodash/mapValues")),_get=_interopDefault(require("lodash/get")),_defaults=_interopDefault(require("lodash/defaults")),_isString=_interopDefault(require("lodash/isString")),_reduce=_interopDefault(require("lodash/reduce")),_has=_interopDefault(require("lodash/has")),_keys=_interopDefault(require("lodash/keys")),_isFunction=_interopDefault(require("lodash/isFunction")),_isRegExp=_interopDefault(require("lodash/isRegExp")),_isDate=_interopDefault(require("lodash/isDate")),_isPlainObject=_interopDefault(require("lodash/isPlainObject")),_isArray=_interopDefault(require("lodash/isArray"));function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){_defineProperty(e,t,r[t])})}return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function _iterableToArray(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var _diffTypesDescription,diffTypes={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},moreInfoUrl="http://bit.ly/wdyr02",moreInfoHooksUrl="http://bit.ly/wdyr3",diffTypesDescriptions=(_defineProperty(_diffTypesDescription={},diffTypes.different,"different objects."),_defineProperty(_diffTypesDescription,diffTypes.deepEquals,"different objects that are equal by value."),_defineProperty(_diffTypesDescription,diffTypes.date,"different date objects with the same value."),_defineProperty(_diffTypesDescription,diffTypes.regex,"different regular expressions with the same value."),_defineProperty(_diffTypesDescription,diffTypes.reactElement,"different React elements with the same displayName."),_defineProperty(_diffTypesDescription,diffTypes.function,"different functions with the same name."),_diffTypesDescription),inHotReload=!1;function shouldLog(e,t,r){return!inHotReload&&(!!r.logOnDifferentValues||(!(!t.whyDidYouRender||!t.whyDidYouRender.logOnDifferentValues)||!(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===diffTypes.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===diffTypes.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===diffTypes.different}))))}function logDifference(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prefixMessage,i=e.diffObjType,a=e.differences,f=e.values,s=e.options;a&&a.length>0?(s.consoleLog(_defineProperty({},r,t),"".concat(o," of ").concat(i," changes:")),a.forEach(function(e){var t=e.pathString,r=e.diffType,o=e.prevValue,a=e.nextValue;s.consoleGroup("%c".concat("hook"===i?"[hook ".concat(n," result]"):"".concat(i,"."),"%c").concat(t,"%c"),"color:".concat(s.diffNameColor,";"),"color:".concat(s.diffPathColor,";"),"color:default;"),s.consoleLog("".concat(diffTypesDescriptions[r]," (more info at ").concat(n?moreInfoHooksUrl:moreInfoUrl,")")),s.consoleLog(_defineProperty({},"prev ".concat(t),o),"!==",_defineProperty({},"next ".concat(t),a)),s.consoleGroupEnd()})):a&&(s.consoleLog(_defineProperty({},r,t),"".concat(o," the ").concat(i," object itself changed but it's values are all equal."),"props"===i?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(moreInfoUrl)),s.consoleLog("prev ".concat(i,":"),f.prev," !== ",f.next,":next ".concat(i)))}function defaultNotifier(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,s=e.nextState,c=e.nextHook,p=e.reason,u=e.options;if(shouldLog(p,t,u)){u.consoleGroup("%c".concat(r),"color: ".concat(u.titleColor,";"));var l="Re-rendered because";p.propsDifferences&&(logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"props",differences:p.propsDifferences,values:{prev:o,next:f},options:u}),l="And because"),p.stateDifferences&&logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"state",differences:p.stateDifferences,values:{prev:i,next:s},options:u}),p.hookDifferences&&logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"hook",differences:p.hookDifferences,values:{prev:a,next:c},hookName:n,options:u}),p.propsDifferences||p.stateDifferences||p.hookDifferences||u.consoleLog(_defineProperty({},r,t),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(moreInfoUrl)),u.consoleGroupEnd()}}function createDefaultNotifier(e){return e&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(t){"idle"===t&&(inHotReload=!0,setTimeout(function(){inHotReload=!1},e))}),defaultNotifier}var emptyFn=function(){};function normalizeOptions(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=console.group,r=console.groupEnd;return e.collapseGroups?t=console.groupCollapsed:e.onlyLogs&&(t=console.log,r=emptyFn),_objectSpread({include:null,exclude:null,notifier:e.notifier||createDefaultNotifier(e.hasOwnProperty("hotReloadBufferMs")?e.hotReloadBufferMs:500),onlyLogs:!1,consoleLog:console.log,consoleGroup:t,consoleGroupEnd:r,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},e)}function getDisplayName(e){return e.displayName||e.name||e.type&&getDisplayName(e.type)||(_isString(e)?e:void 0)}var hasElementType="undefined"!=typeof Element,hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,isReactElement=function(e){return e.$$typeof===REACT_ELEMENT_TYPE};function trackDiff(e,t,r,n,o){return r.push({diffType:o,pathString:n,prevValue:e,nextValue:t}),o!==diffTypes.different}function accumulateDeepEqualDiffs(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(e===t)return!0;if(!e||!t)return trackDiff(e,t,r,n,diffTypes.different);if(_isArray(e)&&_isArray(t)){var o=e.length;if(o!==t.length)return trackDiff(e,t,r,n,diffTypes.different);for(var i=!0,a=o;0!=a--;)accumulateDeepEqualDiffs(e[a],t[a],r,"".concat(n,"[").concat(a,"]"))||(i=!1);return trackDiff(e,t,r,n,i?diffTypes.deepEquals:diffTypes.different)}if(_isDate(e)&&_isDate(t))return e.getTime()===t.getTime()?trackDiff(e,t,r,n,diffTypes.date):trackDiff(e,t,r,n,diffTypes.different);if(_isRegExp(e)&&_isRegExp(t))return e.toString()===t.toString()?trackDiff(e,t,r,n,diffTypes.regex):trackDiff(e,t,r,n,diffTypes.different);if(hasElementType&&e instanceof Element&&t instanceof Element)return trackDiff(e,t,r,n,diffTypes.different);if(isReactElement(e)&&isReactElement(t))return e.type!==t.type?trackDiff(e,t,r,n,diffTypes.different):trackDiff(e,t,r,n,accumulateDeepEqualDiffs(e.props,t.props,r,"".concat(n,".props"))?diffTypes.reactElement:diffTypes.different);if(_isFunction(e)&&_isFunction(t))return e.name===t.name?trackDiff(e,t,r,n,diffTypes.function):trackDiff(e,t,r,n,diffTypes.different);if(_isPlainObject(e)&&_isPlainObject(t)){var f=_keys(e),s=f.length;if(s!==_keys(t).length)return trackDiff(e,t,r,n,diffTypes.different);for(var c=s;0!=c--;)if(!_has(t,f[c]))return trackDiff(e,t,r,n,diffTypes.different);for(var p=!0,u=s;0!=u--;){var l=f[u];accumulateDeepEqualDiffs(e[l],t[l],r,"".concat(n,".").concat(l))||(p=!1)}return trackDiff(e,t,r,n,p?diffTypes.deepEquals:diffTypes.different)}return trackDiff(e,t,r,n,diffTypes.different)}function calculateDeepEqualDiffs(e,t,r){try{var n=[];return accumulateDeepEqualDiffs(e,t,n,r),n}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var emptyObject={};function findObjectsDifferences(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===t)return!1;if(!(void 0===r||r))return calculateDeepEqualDiffs(e,t);var n=e||emptyObject,o=t||emptyObject,i=Object.keys(_objectSpread({},n,o));return _reduce(i,function(e,t){var r=calculateDeepEqualDiffs(n[t],o[t],t);return r&&(e=[].concat(_toConsumableArray(e),_toConsumableArray(r))),e},[])}function getUpdateReason(e,t,r,n,o,i){return{propsDifferences:findObjectsDifferences(e,n),stateDifferences:findObjectsDifferences(t,o),hookDifferences:findObjectsDifferences(r,i,{shallow:!1})}}function getUpdateInfo(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,s=e.nextState,c=e.nextHook;return{Component:t,displayName:r,hookName:n,prevProps:o,prevState:i,prevHook:a,nextProps:f,nextState:s,nextHook:c,options:e.options,reason:getUpdateReason(o,i,a,f,s,c)}}function shouldInclude(e,t){return t.include&&t.include.length>0&&t.include.some(function(t){return t.test(e)})}function shouldExclude(e,t){return t.exclude&&t.exclude.length>0&&t.exclude.some(function(t){return t.test(e)})}function shouldTrack(e,t,r){return!shouldExclude(t,r)&&!(!e.whyDidYouRender&&!shouldInclude(t,r))}var StrictMode=2;function checkIfInsideAStrictModeTree(e){for(var t=e._reactInternalFiber;null!==t;){if(t.mode&StrictMode)return!0;t=t.return}return!1}var hasSymbol$1="function"==typeof Symbol&&Symbol.for,REACT_MEMO_TYPE=hasSymbol$1?Symbol.for("react.memo"):60115;function patchClassComponent(e,t,r,n){class o extends e{constructor(t,r){var n;super(t,r),n=this,this._WDYR={renderNumber:0};var i=super.render||this.render;i!==e.prototype.render&&(this.render=function(){return o.prototype.render.apply(n),i()})}render(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=checkIfInsideAStrictModeTree(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&n.notifier(getUpdateInfo({Component:e,displayName:t,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:n})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),super.render?super.render():null}}return o.displayName=t,_defaults(o,e),o}function patchFunctionalComponent(e,t,r,n){function o(o){var i=r.useRef(),a=i.current;if(i.current=o,a){var f=getUpdateInfo({Component:e,displayName:t,prevProps:a,nextProps:o,options:n});f.reason.propsDifferences&&n.notifier(f)}return e(o)}return o.displayName=t,o.ComponentForHooksTracking=e,_defaults(o,e),o}function patchMemoComponent(e,t,r,n){var o=e.type;function i(i){var a=r.useRef(),f=a.current;if(a.current=i,f){var s=getUpdateInfo({Component:e,displayName:t,prevProps:f,nextProps:i,options:n});s.reason.propsDifferences&&s.reason.propsDifferences.length>0&&n.notifier(s)}return o(i)}i.displayName=getDisplayName(o),i.ComponentForHooksTracking=e,_defaults(i,o);var a=r.memo(i,e.compare);return a.displayName=t,_defaults(a,e),a}function trackHookChanges(e,t,r,n,o){var i=t.path,a=r,f=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!f)return a;var s=f.type.ComponentForHooksTracking||f.type,c=getDisplayName(s);if(!shouldTrack(s,c,o))return a;var p=n.useRef(),u=p.current;if(p.current=a,u){var l=getUpdateInfo({Component:s,displayName:c,hookName:e,prevHook:i?_get(u,i):u,nextHook:i?_get(a,i):a,options:o});l.reason.hookDifferences&&o.notifier(l)}return p.current}function createPatchedComponent(e,t,r,n,o){return t.$$typeof===REACT_MEMO_TYPE?patchMemoComponent(t,r,n,o):t.prototype&&t.prototype.isReactComponent?patchClassComponent(t,r,n,o):patchFunctionalComponent(t,r,n,o)}function getPatchedComponent(e,t,r,n,o){if(e.has(t))return e.get(t);var i=createPatchedComponent(e,t,r,n,o);return e.set(t,i),i}var hooksConfig={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function whyDidYouRender(e,t){var r,n=normalizeOptions(t),o=e.createElement,i=e.createFactory,a=new WeakMap;if(e.createElement=function(t){for(var r=null,i=null,f=null,s=arguments.length,c=new Array(s>1?s-1:0),p=1;p<s;p++)c[p-1]=arguments[p];try{if(r=("function"==typeof t||t.$$typeof===REACT_MEMO_TYPE)&&shouldTrack(t,getDisplayName(t),n))return i=t&&t.whyDidYouRender&&t.whyDidYouRender.customName||getDisplayName(t),f=getPatchedComponent(a,t,i,e,n),o.apply(e,[f].concat(c))}catch(e){n.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{componentNameOrComponent:t,rest:c,options:n,isShouldTrack:r,displayName:i,WDYRPatchedComponent:f}})}return o.apply(e,[t].concat(c))},Object.assign(e.createElement,o),e.createFactory=function(t){var r=e.createElement.bind(null,t);return r.type=t,r},Object.assign(e.createFactory,i),n.trackHooks){var f=_mapValues(hooksConfig,function(t,o){return function(){var i=r[o];if(!i)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var a=i.apply(void 0,arguments);return t&&trackHookChanges(o,!0===t?{}:t,a,e,n),a}});Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){r=e&&_objectSpread({},e,e.origHooks)},get:function(){return r&&_objectSpread({},r,f,{origHooks:r})}})}return e.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(e,{createElement:o,createFactory:i}),a=null,Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:r}),delete e.__REVERT_WHY_DID_YOU_RENDER__},e}whyDidYouRender.defaultNotifier=defaultNotifier,module.exports=whyDidYouRender;
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var _mapValues=_interopDefault(require("lodash/mapValues")),_get=_interopDefault(require("lodash/get")),_defaults=_interopDefault(require("lodash/defaults")),_isString=_interopDefault(require("lodash/isString")),_reduce=_interopDefault(require("lodash/reduce")),_has=_interopDefault(require("lodash/has")),_keys=_interopDefault(require("lodash/keys")),_isFunction=_interopDefault(require("lodash/isFunction")),_isRegExp=_interopDefault(require("lodash/isRegExp")),_isDate=_interopDefault(require("lodash/isDate")),_isPlainObject=_interopDefault(require("lodash/isPlainObject")),_isArray=_interopDefault(require("lodash/isArray"));function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){_defineProperty(e,t,r[t])})}return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function _iterableToArray(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var _diffTypesDescription,diffTypes={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},moreInfoUrl="http://bit.ly/wdyr02",moreInfoHooksUrl="http://bit.ly/wdyr3",diffTypesDescriptions=(_defineProperty(_diffTypesDescription={},diffTypes.different,"different objects."),_defineProperty(_diffTypesDescription,diffTypes.deepEquals,"different objects that are equal by value."),_defineProperty(_diffTypesDescription,diffTypes.date,"different date objects with the same value."),_defineProperty(_diffTypesDescription,diffTypes.regex,"different regular expressions with the same value."),_defineProperty(_diffTypesDescription,diffTypes.reactElement,"different React elements with the same displayName."),_defineProperty(_diffTypesDescription,diffTypes.function,"different functions with the same name."),_diffTypesDescription),inHotReload=!1;function shouldLog(e,t,r){return!inHotReload&&(!!r.logOnDifferentValues||(!(!t.whyDidYouRender||!t.whyDidYouRender.logOnDifferentValues)||!(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===diffTypes.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===diffTypes.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===diffTypes.different}))))}function logDifference(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prefixMessage,i=e.diffObjType,a=e.differences,f=e.values,s=e.options;a&&a.length>0?(s.consoleLog(_defineProperty({},r,t),"".concat(o," of ").concat(i," changes:")),a.forEach(function(e){var t=e.pathString,r=e.diffType,o=e.prevValue,a=e.nextValue;s.consoleGroup("%c".concat("hook"===i?"[hook ".concat(n," result]"):"".concat(i,"."),"%c").concat(t,"%c"),"color:".concat(s.diffNameColor,";"),"color:".concat(s.diffPathColor,";"),"color:default;"),s.consoleLog("".concat(diffTypesDescriptions[r]," (more info at ").concat(n?moreInfoHooksUrl:moreInfoUrl,")")),s.consoleLog(_defineProperty({},"prev ".concat(t),o),"!==",_defineProperty({},"next ".concat(t),a)),s.consoleGroupEnd()})):a&&(s.consoleLog(_defineProperty({},r,t),"".concat(o," the ").concat(i," object itself changed but it's values are all equal."),"props"===i?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(moreInfoUrl)),s.consoleLog("prev ".concat(i,":"),f.prev," !== ",f.next,":next ".concat(i)))}function defaultNotifier(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,s=e.nextState,c=e.nextHook,p=e.reason,u=e.options;if(shouldLog(p,t,u)){u.consoleGroup("%c".concat(r),"color: ".concat(u.titleColor,";"));var l="Re-rendered because";p.propsDifferences&&(logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"props",differences:p.propsDifferences,values:{prev:o,next:f},options:u}),l="And because"),p.stateDifferences&&logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"state",differences:p.stateDifferences,values:{prev:i,next:s},options:u}),p.hookDifferences&&logDifference({Component:t,displayName:r,prefixMessage:l,diffObjType:"hook",differences:p.hookDifferences,values:{prev:a,next:c},hookName:n,options:u}),p.propsDifferences||p.stateDifferences||p.hookDifferences||u.consoleLog(_defineProperty({},r,t),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(moreInfoUrl)),u.consoleGroupEnd()}}function createDefaultNotifier(e){return e&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(t){"idle"===t&&(inHotReload=!0,setTimeout(function(){inHotReload=!1},e))}),defaultNotifier}var emptyFn=function(){};function normalizeOptions(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=console.group,r=console.groupEnd;return e.collapseGroups?t=console.groupCollapsed:e.onlyLogs&&(t=console.log,r=emptyFn),_objectSpread({include:null,exclude:null,notifier:e.notifier||createDefaultNotifier(e.hasOwnProperty("hotReloadBufferMs")?e.hotReloadBufferMs:500),onlyLogs:!1,consoleLog:console.log,consoleGroup:t,consoleGroupEnd:r,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},e)}function getDisplayName(e){return e.displayName||e.name||e.type&&getDisplayName(e.type)||(_isString(e)?e:void 0)}var hasElementType="undefined"!=typeof Element,hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,isReactElement=function(e){return e.$$typeof===REACT_ELEMENT_TYPE};function trackDiff(e,t,r,n,o){return r.push({diffType:o,pathString:n,prevValue:e,nextValue:t}),o!==diffTypes.different}function accumulateDeepEqualDiffs(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(e===t)return!0;if(!e||!t)return trackDiff(e,t,r,n,diffTypes.different);if(_isArray(e)&&_isArray(t)){var o=e.length;if(o!==t.length)return trackDiff(e,t,r,n,diffTypes.different);for(var i=!0,a=o;0!=a--;)accumulateDeepEqualDiffs(e[a],t[a],r,"".concat(n,"[").concat(a,"]"))||(i=!1);return trackDiff(e,t,r,n,i?diffTypes.deepEquals:diffTypes.different)}if(_isDate(e)&&_isDate(t))return e.getTime()===t.getTime()?trackDiff(e,t,r,n,diffTypes.date):trackDiff(e,t,r,n,diffTypes.different);if(_isRegExp(e)&&_isRegExp(t))return e.toString()===t.toString()?trackDiff(e,t,r,n,diffTypes.regex):trackDiff(e,t,r,n,diffTypes.different);if(hasElementType&&e instanceof Element&&t instanceof Element)return trackDiff(e,t,r,n,diffTypes.different);if(isReactElement(e)&&isReactElement(t))return e.type!==t.type?trackDiff(e,t,r,n,diffTypes.different):trackDiff(e,t,r,n,accumulateDeepEqualDiffs(e.props,t.props,r,"".concat(n,".props"))?diffTypes.reactElement:diffTypes.different);if(_isFunction(e)&&_isFunction(t))return e.name===t.name?trackDiff(e,t,r,n,diffTypes.function):trackDiff(e,t,r,n,diffTypes.different);if(_isPlainObject(e)&&_isPlainObject(t)){var f=_keys(e),s=f.length;if(s!==_keys(t).length)return trackDiff(e,t,r,n,diffTypes.different);for(var c=s;0!=c--;)if(!_has(t,f[c]))return trackDiff(e,t,r,n,diffTypes.different);for(var p=!0,u=s;0!=u--;){var l=f[u];accumulateDeepEqualDiffs(e[l],t[l],r,"".concat(n,".").concat(l))||(p=!1)}return trackDiff(e,t,r,n,p?diffTypes.deepEquals:diffTypes.different)}return trackDiff(e,t,r,n,diffTypes.different)}function calculateDeepEqualDiffs(e,t,r){try{var n=[];return accumulateDeepEqualDiffs(e,t,n,r),n}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var emptyObject={};function findObjectsDifferences(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===t)return!1;if(!(void 0===r||r))return calculateDeepEqualDiffs(e,t);var n=e||emptyObject,o=t||emptyObject,i=Object.keys(_objectSpread({},n,o));return _reduce(i,function(e,t){var r=calculateDeepEqualDiffs(n[t],o[t],t);return r&&(e=[].concat(_toConsumableArray(e),_toConsumableArray(r))),e},[])}function getUpdateReason(e,t,r,n,o,i){return{propsDifferences:findObjectsDifferences(e,n),stateDifferences:findObjectsDifferences(t,o),hookDifferences:findObjectsDifferences(r,i,{shallow:!1})}}function getUpdateInfo(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,i=e.prevState,a=e.prevHook,f=e.nextProps,s=e.nextState,c=e.nextHook;return{Component:t,displayName:r,hookName:n,prevProps:o,prevState:i,prevHook:a,nextProps:f,nextState:s,nextHook:c,options:e.options,reason:getUpdateReason(o,i,a,f,s,c)}}function shouldInclude(e,t){return t.include&&t.include.length>0&&t.include.some(function(t){return t.test(e)})}function shouldExclude(e,t){return t.exclude&&t.exclude.length>0&&t.exclude.some(function(t){return t.test(e)})}function shouldTrack(e,t,r){return!shouldExclude(t,r)&&!(!e.whyDidYouRender&&!shouldInclude(t,r))}var StrictMode=2;function checkIfInsideAStrictModeTree(e){for(var t=e._reactInternalFiber;null!==t;){if(t.mode&StrictMode)return!0;t=t.return}return!1}var hasSymbol$1="function"==typeof Symbol&&Symbol.for,REACT_MEMO_TYPE=hasSymbol$1?Symbol.for("react.memo"):60115;function patchClassComponent(e,t,r,n){class o extends e{constructor(t,r){var n;super(t,r),n=this,this._WDYR={renderNumber:0};var i=super.render||this.render;i!==e.prototype.render&&(this.render=function(){return o.prototype.render.apply(n),i()})}render(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=checkIfInsideAStrictModeTree(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&n.notifier(getUpdateInfo({Component:e,displayName:t,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:n})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),super.render?super.render():null}}return o.displayName=t,_defaults(o,e),o}function patchFunctionalComponent(e,t,r,n){function o(o){var i=r.useRef(),a=i.current;if(i.current=o,a){var f=getUpdateInfo({Component:e,displayName:t,prevProps:a,nextProps:o,options:n});f.reason.propsDifferences&&n.notifier(f)}return e(o)}return o.displayName=t,o.ComponentForHooksTracking=e,_defaults(o,e),o}function patchMemoComponent(e,t,r,n){var o=e.type;function i(i){var a=r.useRef(),f=a.current;if(a.current=i,f){var s=getUpdateInfo({Component:e,displayName:t,prevProps:f,nextProps:i,options:n});s.reason.propsDifferences&&s.reason.propsDifferences.length>0&&n.notifier(s)}return o(i)}i.displayName=getDisplayName(o),i.ComponentForHooksTracking=e,_defaults(i,o);var a=r.memo(i,e.compare);return a.displayName=t,_defaults(a,e),a}function trackHookChanges(e,t,r,n,o){var i=t.path,a=r,f=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!f)return a;var s=f.type.ComponentForHooksTracking||f.type,c=getDisplayName(s);if(!shouldTrack(s,c,o))return a;var p=n.useRef(),u=p.current;if(p.current=a,u){var l=getUpdateInfo({Component:s,displayName:c,hookName:e,prevHook:i?_get(u,i):u,nextHook:i?_get(a,i):a,options:o});l.reason.hookDifferences&&o.notifier(l)}return p.current}function createPatchedComponent(e,t,r,n,o){return t.$$typeof===REACT_MEMO_TYPE?patchMemoComponent(t,r,n,o):t.prototype&&t.prototype.isReactComponent?patchClassComponent(t,r,n,o):patchFunctionalComponent(t,r,n,o)}function getPatchedComponent(e,t,r,n,o){if(e.has(t))return e.get(t);var i=createPatchedComponent(e,t,r,n,o);return e.set(t,i),i}var hooksConfig={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function whyDidYouRender(e,t){var r,n=normalizeOptions(t),o=e.createElement,i=e.createFactory,a=new WeakMap;if(e.createElement=function(t){for(var r=null,i=null,f=null,s=arguments.length,c=new Array(s>1?s-1:0),p=1;p<s;p++)c[p-1]=arguments[p];try{if(r=("function"==typeof t||t.$$typeof===REACT_MEMO_TYPE)&&shouldTrack(t,getDisplayName(t),n))return i=t&&t.whyDidYouRender&&t.whyDidYouRender.customName||getDisplayName(t),f=getPatchedComponent(a,t,i,e,n),o.apply(e,[f].concat(c))}catch(e){n.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{error:e,componentNameOrComponent:t,rest:c,options:n,isShouldTrack:r,displayName:i,WDYRPatchedComponent:f}})}return o.apply(e,[t].concat(c))},Object.assign(e.createElement,o),e.createFactory=function(t){var r=e.createElement.bind(null,t);return r.type=t,r},Object.assign(e.createFactory,i),n.trackHooks){var f=_mapValues(hooksConfig,function(t,o){return function(){var i=r[o];if(!i)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var a=i.apply(void 0,arguments);return t&&trackHookChanges(o,!0===t?{}:t,a,e,n),a}});Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){r=e&&_objectSpread({},e,e.origHooks)},get:function(){return r&&_objectSpread({},r,f,{origHooks:r})}})}return e.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(e,{createElement:o,createFactory:i}),a=null,Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:r}),delete e.__REVERT_WHY_DID_YOU_RENDER__},e}whyDidYouRender.defaultNotifier=defaultNotifier,module.exports=whyDidYouRender;
//# sourceMappingURL=whyDidYouRender.min.js.map
/**
* @welldone-software/why-did-you-render 3.2.0
* @welldone-software/why-did-you-render 3.2.1
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-06-13
* Generated at 2019-06-18
*/

@@ -724,2 +724,3 @@

errorInfo: {
error: e,
componentNameOrComponent: componentNameOrComponent,

@@ -726,0 +727,0 @@ rest: rest,

/**
* @welldone-software/why-did-you-render 3.2.0
* @welldone-software/why-did-you-render 3.2.1
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-06-13
* Generated at 2019-06-18
*/
import e from"lodash/mapValues";import r from"lodash/get";import t from"lodash/defaults";import n from"lodash/isString";import o from"lodash/reduce";import a from"lodash/has";import i from"lodash/keys";import s from"lodash/isFunction";import f from"lodash/isRegExp";import c from"lodash/isDate";import u from"lodash/isPlainObject";import p from"lodash/isArray";function l(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function d(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){l(e,r,t[r])})}return e}function m(e){return function(e){if(Array.isArray(e)){for(var r=0,t=new Array(e.length);r<e.length;r++)t[r]=e[r];return t}}(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")}()}var h,y={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},v="http://bit.ly/wdyr02",g="http://bit.ly/wdyr3",_=(l(h={},y.different,"different objects."),l(h,y.deepEquals,"different objects that are equal by value."),l(h,y.date,"different date objects with the same value."),l(h,y.regex,"different regular expressions with the same value."),l(h,y.reactElement,"different React elements with the same displayName."),l(h,y.function,"different functions with the same name."),h),D=!1;function b(e){var r=e.Component,t=e.displayName,n=e.hookName,o=e.prefixMessage,a=e.diffObjType,i=e.differences,s=e.values,f=e.options;i&&i.length>0?(f.consoleLog(l({},t,r),"".concat(o," of ").concat(a," changes:")),i.forEach(function(e){var r=e.pathString,t=e.diffType,o=e.prevValue,i=e.nextValue;f.consoleGroup("%c".concat("hook"===a?"[hook ".concat(n," result]"):"".concat(a,"."),"%c").concat(r,"%c"),"color:".concat(f.diffNameColor,";"),"color:".concat(f.diffPathColor,";"),"color:default;"),f.consoleLog("".concat(_[t]," (more info at ").concat(n?g:v,")")),f.consoleLog(l({},"prev ".concat(r),o),"!==",l({},"next ".concat(r),i)),f.consoleGroupEnd()})):i&&(f.consoleLog(l({},t,r),"".concat(o," the ").concat(a," object itself changed but it's values are all equal."),"props"===a?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(v)),f.consoleLog("prev ".concat(a,":"),s.prev," !== ",s.next,":next ".concat(a)))}function R(e){var r=e.Component,t=e.displayName,n=e.hookName,o=e.prevProps,a=e.prevState,i=e.prevHook,s=e.nextProps,f=e.nextState,c=e.nextHook,u=e.reason,p=e.options;if(function(e,r,t){return!(D||!t.logOnDifferentValues&&(!r.whyDidYouRender||!r.whyDidYouRender.logOnDifferentValues)&&(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===y.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===y.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===y.different})))}(u,r,p)){p.consoleGroup("%c".concat(t),"color: ".concat(p.titleColor,";"));var d="Re-rendered because";u.propsDifferences&&(b({Component:r,displayName:t,prefixMessage:d,diffObjType:"props",differences:u.propsDifferences,values:{prev:o,next:s},options:p}),d="And because"),u.stateDifferences&&b({Component:r,displayName:t,prefixMessage:d,diffObjType:"state",differences:u.stateDifferences,values:{prev:a,next:f},options:p}),u.hookDifferences&&b({Component:r,displayName:t,prefixMessage:d,diffObjType:"hook",differences:u.hookDifferences,values:{prev:i,next:c},hookName:n,options:p}),u.propsDifferences||u.stateDifferences||u.hookDifferences||p.consoleLog(l({},t,r),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(v)),p.consoleGroupEnd()}}var E=function(){};function k(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=console.group,n=console.groupEnd;return r.collapseGroups?t=console.groupCollapsed:r.onlyLogs&&(t=console.log,n=E),d({include:null,exclude:null,notifier:r.notifier||((e=r.hasOwnProperty("hotReloadBufferMs")?r.hotReloadBufferMs:500)&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(r){"idle"===r&&(D=!0,setTimeout(function(){D=!1},e))}),R),onlyLogs:!1,consoleLog:console.log,consoleGroup:t,consoleGroupEnd:n,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},r)}function N(e){return e.displayName||e.name||e.type&&N(e.type)||(n(e)?e:void 0)}var S="undefined"!=typeof Element,O="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,x=function(e){return e.$$typeof===O};function w(e,r,t,n,o){return t.push({diffType:o,pathString:n,prevValue:e,nextValue:r}),o!==y.different}function C(e,r,t){try{var n=[];return function e(r,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(r===t)return!0;if(!r||!t)return w(r,t,n,o,y.different);if(p(r)&&p(t)){var l=r.length;if(l!==t.length)return w(r,t,n,o,y.different);for(var d=!0,m=l;0!=m--;)e(r[m],t[m],n,"".concat(o,"[").concat(m,"]"))||(d=!1);return w(r,t,n,o,d?y.deepEquals:y.different)}if(c(r)&&c(t))return r.getTime()===t.getTime()?w(r,t,n,o,y.date):w(r,t,n,o,y.different);if(f(r)&&f(t))return r.toString()===t.toString()?w(r,t,n,o,y.regex):w(r,t,n,o,y.different);if(S&&r instanceof Element&&t instanceof Element)return w(r,t,n,o,y.different);if(x(r)&&x(t))return r.type!==t.type?w(r,t,n,o,y.different):w(r,t,n,o,e(r.props,t.props,n,"".concat(o,".props"))?y.reactElement:y.different);if(s(r)&&s(t))return r.name===t.name?w(r,t,n,o,y.function):w(r,t,n,o,y.different);if(u(r)&&u(t)){var h=i(r),v=h.length;if(v!==i(t).length)return w(r,t,n,o,y.different);for(var g=v;0!=g--;)if(!a(t,h[g]))return w(r,t,n,o,y.different);for(var _=!0,D=v;0!=D--;){var b=h[D];e(r[b],t[b],n,"".concat(o,".").concat(b))||(_=!1)}return w(r,t,n,o,_?y.deepEquals:y.different)}return w(r,t,n,o,y.different)}(e,r,n,t),n}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var T={};function P(e,r){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===r)return!1;if(!(void 0===t||t))return C(e,r);var n=e||T,a=r||T,i=Object.keys(d({},n,a));return o(i,function(e,r){var t=C(n[r],a[r],r);return t&&(e=[].concat(m(e),m(t))),e},[])}function Y(e,r,t,n,o,a){return{propsDifferences:P(e,n),stateDifferences:P(r,o),hookDifferences:P(t,a,{shallow:!1})}}function j(e){var r=e.Component,t=e.displayName,n=e.hookName,o=e.prevProps,a=e.prevState,i=e.prevHook,s=e.nextProps,f=e.nextState,c=e.nextHook;return{Component:r,displayName:t,hookName:n,prevProps:o,prevState:a,prevHook:i,nextProps:s,nextState:f,nextHook:c,options:e.options,reason:Y(o,a,i,s,f,c)}}function H(e,r,t){return!function(e,r){return r.exclude&&r.exclude.length>0&&r.exclude.some(function(r){return r.test(e)})}(r,t)&&!(!e.whyDidYouRender&&!function(e,r){return r.include&&r.include.length>0&&r.include.some(function(r){return r.test(e)})}(r,t))}var W=2;var L="function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115;function I(e,r,n,o){class a extends e{constructor(r,t){var n;super(r,t),n=this,this._WDYR={renderNumber:0};var o=super.render||this.render;o!==e.prototype.render&&(this.render=function(){return a.prototype.render.apply(n),o()})}render(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=function(e){for(var r=e._reactInternalFiber;null!==r;){if(r.mode&W)return!0;r=r.return}return!1}(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&o.notifier(j({Component:e,displayName:r,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:o})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),super.render?super.render():null}}return a.displayName=r,t(a,e),a}function A(e,r,n,o,a){return r.$$typeof===L?function(e,r,n,o){var a=e.type;function i(t){var i=n.useRef(),s=i.current;if(i.current=t,s){var f=j({Component:e,displayName:r,prevProps:s,nextProps:t,options:o});f.reason.propsDifferences&&f.reason.propsDifferences.length>0&&o.notifier(f)}return a(t)}i.displayName=N(a),i.ComponentForHooksTracking=e,t(i,a);var s=n.memo(i,e.compare);return s.displayName=r,t(s,e),s}(r,n,o,a):r.prototype&&r.prototype.isReactComponent?I(r,n,0,a):function(e,r,n,o){function a(t){var a=n.useRef(),i=a.current;if(a.current=t,i){var s=j({Component:e,displayName:r,prevProps:i,nextProps:t,options:o});s.reason.propsDifferences&&o.notifier(s)}return e(t)}return a.displayName=r,a.ComponentForHooksTracking=e,t(a,e),a}(r,n,o,a)}var F={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function M(t,n){var o,a=k(n),i=t.createElement,s=t.createFactory,f=new WeakMap;if(t.createElement=function(e){for(var r=null,n=null,o=null,s=arguments.length,c=new Array(s>1?s-1:0),u=1;u<s;u++)c[u-1]=arguments[u];try{if(r=("function"==typeof e||e.$$typeof===L)&&H(e,N(e),a))return n=e&&e.whyDidYouRender&&e.whyDidYouRender.customName||N(e),o=function(e,r,t,n,o){if(e.has(r))return e.get(r);var a=A(0,r,t,n,o);return e.set(r,a),a}(f,e,n,t,a),i.apply(t,[o].concat(c))}catch(t){a.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{componentNameOrComponent:e,rest:c,options:a,isShouldTrack:r,displayName:n,WDYRPatchedComponent:o}})}return i.apply(t,[e].concat(c))},Object.assign(t.createElement,i),t.createFactory=function(e){var r=t.createElement.bind(null,e);return r.type=e,r},Object.assign(t.createFactory,s),a.trackHooks){var c=e(F,function(e,n){return function(){var i=o[n];if(!i)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var s=i.apply(void 0,arguments);return e&&function(e,t,n,o,a){var i=t.path,s=n,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!f)return s;var c=f.type.ComponentForHooksTracking||f.type,u=N(c);if(!H(c,u,a))return s;var p=o.useRef(),l=p.current;if(p.current=s,l){var d=j({Component:c,displayName:u,hookName:e,prevHook:i?r(l,i):l,nextHook:i?r(s,i):s,options:a});d.reason.hookDifferences&&a.notifier(d)}p.current}(n,!0===e?{}:e,s,t,a),s}});Object.defineProperty(t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){o=e&&d({},e,e.origHooks)},get:function(){return o&&d({},o,c,{origHooks:o})}})}return t.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(t,{createElement:i,createFactory:s}),f=null,Object.defineProperty(t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:o}),delete t.__REVERT_WHY_DID_YOU_RENDER__},t}M.defaultNotifier=R;export default M;
import e from"lodash/mapValues";import r from"lodash/get";import t from"lodash/defaults";import n from"lodash/isString";import o from"lodash/reduce";import a from"lodash/has";import i from"lodash/keys";import s from"lodash/isFunction";import f from"lodash/isRegExp";import c from"lodash/isDate";import u from"lodash/isPlainObject";import p from"lodash/isArray";function l(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function d(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){l(e,r,t[r])})}return e}function m(e){return function(e){if(Array.isArray(e)){for(var r=0,t=new Array(e.length);r<e.length;r++)t[r]=e[r];return t}}(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")}()}var h,y={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},v="http://bit.ly/wdyr02",g="http://bit.ly/wdyr3",_=(l(h={},y.different,"different objects."),l(h,y.deepEquals,"different objects that are equal by value."),l(h,y.date,"different date objects with the same value."),l(h,y.regex,"different regular expressions with the same value."),l(h,y.reactElement,"different React elements with the same displayName."),l(h,y.function,"different functions with the same name."),h),D=!1;function b(e){var r=e.Component,t=e.displayName,n=e.hookName,o=e.prefixMessage,a=e.diffObjType,i=e.differences,s=e.values,f=e.options;i&&i.length>0?(f.consoleLog(l({},t,r),"".concat(o," of ").concat(a," changes:")),i.forEach(function(e){var r=e.pathString,t=e.diffType,o=e.prevValue,i=e.nextValue;f.consoleGroup("%c".concat("hook"===a?"[hook ".concat(n," result]"):"".concat(a,"."),"%c").concat(r,"%c"),"color:".concat(f.diffNameColor,";"),"color:".concat(f.diffPathColor,";"),"color:default;"),f.consoleLog("".concat(_[t]," (more info at ").concat(n?g:v,")")),f.consoleLog(l({},"prev ".concat(r),o),"!==",l({},"next ".concat(r),i)),f.consoleGroupEnd()})):i&&(f.consoleLog(l({},t,r),"".concat(o," the ").concat(a," object itself changed but it's values are all equal."),"props"===a?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(v)),f.consoleLog("prev ".concat(a,":"),s.prev," !== ",s.next,":next ".concat(a)))}function R(e){var r=e.Component,t=e.displayName,n=e.hookName,o=e.prevProps,a=e.prevState,i=e.prevHook,s=e.nextProps,f=e.nextState,c=e.nextHook,u=e.reason,p=e.options;if(function(e,r,t){return!(D||!t.logOnDifferentValues&&(!r.whyDidYouRender||!r.whyDidYouRender.logOnDifferentValues)&&(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===y.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===y.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===y.different})))}(u,r,p)){p.consoleGroup("%c".concat(t),"color: ".concat(p.titleColor,";"));var d="Re-rendered because";u.propsDifferences&&(b({Component:r,displayName:t,prefixMessage:d,diffObjType:"props",differences:u.propsDifferences,values:{prev:o,next:s},options:p}),d="And because"),u.stateDifferences&&b({Component:r,displayName:t,prefixMessage:d,diffObjType:"state",differences:u.stateDifferences,values:{prev:a,next:f},options:p}),u.hookDifferences&&b({Component:r,displayName:t,prefixMessage:d,diffObjType:"hook",differences:u.hookDifferences,values:{prev:i,next:c},hookName:n,options:p}),u.propsDifferences||u.stateDifferences||u.hookDifferences||p.consoleLog(l({},t,r),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(v)),p.consoleGroupEnd()}}var E=function(){};function k(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=console.group,n=console.groupEnd;return r.collapseGroups?t=console.groupCollapsed:r.onlyLogs&&(t=console.log,n=E),d({include:null,exclude:null,notifier:r.notifier||((e=r.hasOwnProperty("hotReloadBufferMs")?r.hotReloadBufferMs:500)&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(r){"idle"===r&&(D=!0,setTimeout(function(){D=!1},e))}),R),onlyLogs:!1,consoleLog:console.log,consoleGroup:t,consoleGroupEnd:n,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},r)}function N(e){return e.displayName||e.name||e.type&&N(e.type)||(n(e)?e:void 0)}var S="undefined"!=typeof Element,O="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,x=function(e){return e.$$typeof===O};function w(e,r,t,n,o){return t.push({diffType:o,pathString:n,prevValue:e,nextValue:r}),o!==y.different}function C(e,r,t){try{var n=[];return function e(r,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(r===t)return!0;if(!r||!t)return w(r,t,n,o,y.different);if(p(r)&&p(t)){var l=r.length;if(l!==t.length)return w(r,t,n,o,y.different);for(var d=!0,m=l;0!=m--;)e(r[m],t[m],n,"".concat(o,"[").concat(m,"]"))||(d=!1);return w(r,t,n,o,d?y.deepEquals:y.different)}if(c(r)&&c(t))return r.getTime()===t.getTime()?w(r,t,n,o,y.date):w(r,t,n,o,y.different);if(f(r)&&f(t))return r.toString()===t.toString()?w(r,t,n,o,y.regex):w(r,t,n,o,y.different);if(S&&r instanceof Element&&t instanceof Element)return w(r,t,n,o,y.different);if(x(r)&&x(t))return r.type!==t.type?w(r,t,n,o,y.different):w(r,t,n,o,e(r.props,t.props,n,"".concat(o,".props"))?y.reactElement:y.different);if(s(r)&&s(t))return r.name===t.name?w(r,t,n,o,y.function):w(r,t,n,o,y.different);if(u(r)&&u(t)){var h=i(r),v=h.length;if(v!==i(t).length)return w(r,t,n,o,y.different);for(var g=v;0!=g--;)if(!a(t,h[g]))return w(r,t,n,o,y.different);for(var _=!0,D=v;0!=D--;){var b=h[D];e(r[b],t[b],n,"".concat(o,".").concat(b))||(_=!1)}return w(r,t,n,o,_?y.deepEquals:y.different)}return w(r,t,n,o,y.different)}(e,r,n,t),n}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var T={};function P(e,r){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===r)return!1;if(!(void 0===t||t))return C(e,r);var n=e||T,a=r||T,i=Object.keys(d({},n,a));return o(i,function(e,r){var t=C(n[r],a[r],r);return t&&(e=[].concat(m(e),m(t))),e},[])}function Y(e,r,t,n,o,a){return{propsDifferences:P(e,n),stateDifferences:P(r,o),hookDifferences:P(t,a,{shallow:!1})}}function j(e){var r=e.Component,t=e.displayName,n=e.hookName,o=e.prevProps,a=e.prevState,i=e.prevHook,s=e.nextProps,f=e.nextState,c=e.nextHook;return{Component:r,displayName:t,hookName:n,prevProps:o,prevState:a,prevHook:i,nextProps:s,nextState:f,nextHook:c,options:e.options,reason:Y(o,a,i,s,f,c)}}function H(e,r,t){return!function(e,r){return r.exclude&&r.exclude.length>0&&r.exclude.some(function(r){return r.test(e)})}(r,t)&&!(!e.whyDidYouRender&&!function(e,r){return r.include&&r.include.length>0&&r.include.some(function(r){return r.test(e)})}(r,t))}var W=2;var L="function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115;function I(e,r,n,o){class a extends e{constructor(r,t){var n;super(r,t),n=this,this._WDYR={renderNumber:0};var o=super.render||this.render;o!==e.prototype.render&&(this.render=function(){return a.prototype.render.apply(n),o()})}render(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=function(e){for(var r=e._reactInternalFiber;null!==r;){if(r.mode&W)return!0;r=r.return}return!1}(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&o.notifier(j({Component:e,displayName:r,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:o})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),super.render?super.render():null}}return a.displayName=r,t(a,e),a}function A(e,r,n,o,a){return r.$$typeof===L?function(e,r,n,o){var a=e.type;function i(t){var i=n.useRef(),s=i.current;if(i.current=t,s){var f=j({Component:e,displayName:r,prevProps:s,nextProps:t,options:o});f.reason.propsDifferences&&f.reason.propsDifferences.length>0&&o.notifier(f)}return a(t)}i.displayName=N(a),i.ComponentForHooksTracking=e,t(i,a);var s=n.memo(i,e.compare);return s.displayName=r,t(s,e),s}(r,n,o,a):r.prototype&&r.prototype.isReactComponent?I(r,n,0,a):function(e,r,n,o){function a(t){var a=n.useRef(),i=a.current;if(a.current=t,i){var s=j({Component:e,displayName:r,prevProps:i,nextProps:t,options:o});s.reason.propsDifferences&&o.notifier(s)}return e(t)}return a.displayName=r,a.ComponentForHooksTracking=e,t(a,e),a}(r,n,o,a)}var F={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function M(t,n){var o,a=k(n),i=t.createElement,s=t.createFactory,f=new WeakMap;if(t.createElement=function(e){for(var r=null,n=null,o=null,s=arguments.length,c=new Array(s>1?s-1:0),u=1;u<s;u++)c[u-1]=arguments[u];try{if(r=("function"==typeof e||e.$$typeof===L)&&H(e,N(e),a))return n=e&&e.whyDidYouRender&&e.whyDidYouRender.customName||N(e),o=function(e,r,t,n,o){if(e.has(r))return e.get(r);var a=A(0,r,t,n,o);return e.set(r,a),a}(f,e,n,t,a),i.apply(t,[o].concat(c))}catch(t){a.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{error:t,componentNameOrComponent:e,rest:c,options:a,isShouldTrack:r,displayName:n,WDYRPatchedComponent:o}})}return i.apply(t,[e].concat(c))},Object.assign(t.createElement,i),t.createFactory=function(e){var r=t.createElement.bind(null,e);return r.type=e,r},Object.assign(t.createFactory,s),a.trackHooks){var c=e(F,function(e,n){return function(){var i=o[n];if(!i)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var s=i.apply(void 0,arguments);return e&&function(e,t,n,o,a){var i=t.path,s=n,f=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!f)return s;var c=f.type.ComponentForHooksTracking||f.type,u=N(c);if(!H(c,u,a))return s;var p=o.useRef(),l=p.current;if(p.current=s,l){var d=j({Component:c,displayName:u,hookName:e,prevHook:i?r(l,i):l,nextHook:i?r(s,i):s,options:a});d.reason.hookDifferences&&a.notifier(d)}p.current}(n,!0===e?{}:e,s,t,a),s}});Object.defineProperty(t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){o=e&&d({},e,e.origHooks)},get:function(){return o&&d({},o,c,{origHooks:o})}})}return t.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(t,{createElement:i,createFactory:s}),f=null,Object.defineProperty(t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:o}),delete t.__REVERT_WHY_DID_YOU_RENDER__},t}M.defaultNotifier=R;export default M;
//# sourceMappingURL=whyDidYouRender.min.js.map
/**
* @welldone-software/why-did-you-render 3.2.0
* @welldone-software/why-did-you-render 3.2.1
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-06-13
* Generated at 2019-06-18
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).whyDidYouRender=t()}(this,function(){"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(r){e(t,r,n[r])})}return t}function r(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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")}()}var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e,t){return e(t={exports:{}},t.exports),t.exports}var a="object"==typeof n&&n&&n.Object===Object&&n,i="object"==typeof self&&self&&self.Object===Object&&self,u=a||i||Function("return this")(),c=u.Symbol,f=Object.prototype,s=f.hasOwnProperty,l=f.toString,p=c?c.toStringTag:void 0;var v=function(e){var t=s.call(e,p),r=e[p];try{e[p]=void 0;var n=!0}catch(e){}var o=l.call(e);return n&&(t?e[p]=r:delete e[p]),o},d=Object.prototype.toString;var h=function(e){return d.call(e)},y="[object Null]",b="[object Undefined]",_=c?c.toStringTag:void 0;var g=function(e){return null==e?void 0===e?b:y:_&&_ in Object(e)?v(e):h(e)};var m=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},j="[object AsyncFunction]",O="[object Function]",w="[object GeneratorFunction]",D="[object Proxy]";var E,S=function(e){if(!m(e))return!1;var t=g(e);return t==O||t==w||t==j||t==D},R=u["__core-js_shared__"],k=(E=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";var x=function(e){return!!k&&k in e},P=Function.prototype.toString;var N=function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""},T=/^\[object .+?Constructor\]$/,A=Function.prototype,C=Object.prototype,Y=A.toString,z=C.hasOwnProperty,L=RegExp("^"+Y.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var W=function(e){return!(!m(e)||x(e))&&(S(e)?L:T).test(N(e))};var F=function(e,t){return null==e?void 0:e[t]};var M=function(e,t){var r=F(e,t);return W(r)?r:void 0},H=function(){try{var e=M(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var I=function(e,t,r){"__proto__"==t&&H?H(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};var $=function(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),u=i.length;u--;){var c=i[e?u:++o];if(!1===r(a[c],c,a))break}return t}}();var U=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};var V=function(e){return null!=e&&"object"==typeof e},B="[object Arguments]";var q=function(e){return V(e)&&g(e)==B},G=Object.prototype,J=G.hasOwnProperty,K=G.propertyIsEnumerable,Q=q(function(){return arguments}())?q:function(e){return V(e)&&J.call(e,"callee")&&!K.call(e,"callee")},X=Array.isArray;var Z=function(){return!1},ee=o(function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?u.Buffer:void 0,a=(o?o.isBuffer:void 0)||Z;e.exports=a}),te=9007199254740991,re=/^(?:0|[1-9]\d*)$/;var ne=function(e,t){var r=typeof e;return!!(t=null==t?te:t)&&("number"==r||"symbol"!=r&&re.test(e))&&e>-1&&e%1==0&&e<t},oe=9007199254740991;var ae=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=oe},ie={};ie["[object Float32Array]"]=ie["[object Float64Array]"]=ie["[object Int8Array]"]=ie["[object Int16Array]"]=ie["[object Int32Array]"]=ie["[object Uint8Array]"]=ie["[object Uint8ClampedArray]"]=ie["[object Uint16Array]"]=ie["[object Uint32Array]"]=!0,ie["[object Arguments]"]=ie["[object Array]"]=ie["[object ArrayBuffer]"]=ie["[object Boolean]"]=ie["[object DataView]"]=ie["[object Date]"]=ie["[object Error]"]=ie["[object Function]"]=ie["[object Map]"]=ie["[object Number]"]=ie["[object Object]"]=ie["[object RegExp]"]=ie["[object Set]"]=ie["[object String]"]=ie["[object WeakMap]"]=!1;var ue=function(e){return V(e)&&ae(e.length)&&!!ie[g(e)]};var ce=function(e){return function(t){return e(t)}},fe=o(function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r&&a.process,i=function(){try{var e=n&&n.require&&n.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=i}),se=fe&&fe.isTypedArray,le=se?ce(se):ue,pe=Object.prototype.hasOwnProperty;var ve=function(e,t){var r=X(e),n=!r&&Q(e),o=!r&&!n&&ee(e),a=!r&&!n&&!o&&le(e),i=r||n||o||a,u=i?U(e.length,String):[],c=u.length;for(var f in e)!t&&!pe.call(e,f)||i&&("length"==f||o&&("offset"==f||"parent"==f)||a&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||ne(f,c))||u.push(f);return u},de=Object.prototype;var he=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||de)};var ye=function(e,t){return function(r){return e(t(r))}},be=ye(Object.keys,Object),_e=Object.prototype.hasOwnProperty;var ge=function(e){if(!he(e))return be(e);var t=[];for(var r in Object(e))_e.call(e,r)&&"constructor"!=r&&t.push(r);return t};var me=function(e){return null!=e&&ae(e.length)&&!S(e)};var je=function(e){return me(e)?ve(e):ge(e)};var Oe=function(e,t){return e&&$(e,t,je)};var we=function(){this.__data__=[],this.size=0};var De=function(e,t){return e===t||e!=e&&t!=t};var Ee=function(e,t){for(var r=e.length;r--;)if(De(e[r][0],t))return r;return-1},Se=Array.prototype.splice;var Re=function(e){var t=this.__data__,r=Ee(t,e);return!(r<0||(r==t.length-1?t.pop():Se.call(t,r,1),--this.size,0))};var ke=function(e){var t=this.__data__,r=Ee(t,e);return r<0?void 0:t[r][1]};var xe=function(e){return Ee(this.__data__,e)>-1};var Pe=function(e,t){var r=this.__data__,n=Ee(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function Ne(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ne.prototype.clear=we,Ne.prototype.delete=Re,Ne.prototype.get=ke,Ne.prototype.has=xe,Ne.prototype.set=Pe;var Te=Ne;var Ae=function(){this.__data__=new Te,this.size=0};var Ce=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};var Ye=function(e){return this.__data__.get(e)};var ze=function(e){return this.__data__.has(e)},Le=M(u,"Map"),We=M(Object,"create");var Fe=function(){this.__data__=We?We(null):{},this.size=0};var Me=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},He="__lodash_hash_undefined__",Ie=Object.prototype.hasOwnProperty;var $e=function(e){var t=this.__data__;if(We){var r=t[e];return r===He?void 0:r}return Ie.call(t,e)?t[e]:void 0},Ue=Object.prototype.hasOwnProperty;var Ve=function(e){var t=this.__data__;return We?void 0!==t[e]:Ue.call(t,e)},Be="__lodash_hash_undefined__";var qe=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=We&&void 0===t?Be:t,this};function Ge(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ge.prototype.clear=Fe,Ge.prototype.delete=Me,Ge.prototype.get=$e,Ge.prototype.has=Ve,Ge.prototype.set=qe;var Je=Ge;var Ke=function(){this.size=0,this.__data__={hash:new Je,map:new(Le||Te),string:new Je}};var Qe=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Xe=function(e,t){var r=e.__data__;return Qe(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ze=function(e){var t=Xe(this,e).delete(e);return this.size-=t?1:0,t};var et=function(e){return Xe(this,e).get(e)};var tt=function(e){return Xe(this,e).has(e)};var rt=function(e,t){var r=Xe(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function nt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}nt.prototype.clear=Ke,nt.prototype.delete=Ze,nt.prototype.get=et,nt.prototype.has=tt,nt.prototype.set=rt;var ot=nt,at=200;var it=function(e,t){var r=this.__data__;if(r instanceof Te){var n=r.__data__;if(!Le||n.length<at-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ot(n)}return r.set(e,t),this.size=r.size,this};function ut(e){var t=this.__data__=new Te(e);this.size=t.size}ut.prototype.clear=Ae,ut.prototype.delete=Ce,ut.prototype.get=Ye,ut.prototype.has=ze,ut.prototype.set=it;var ct=ut,ft="__lodash_hash_undefined__";var st=function(e){return this.__data__.set(e,ft),this};var lt=function(e){return this.__data__.has(e)};function pt(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new ot;++t<r;)this.add(e[t])}pt.prototype.add=pt.prototype.push=st,pt.prototype.has=lt;var vt=pt;var dt=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var ht=function(e,t){return e.has(t)},yt=1,bt=2;var _t=function(e,t,r,n,o,a){var i=r&yt,u=e.length,c=t.length;if(u!=c&&!(i&&c>u))return!1;var f=a.get(e);if(f&&a.get(t))return f==t;var s=-1,l=!0,p=r&bt?new vt:void 0;for(a.set(e,t),a.set(t,e);++s<u;){var v=e[s],d=t[s];if(n)var h=i?n(d,v,s,t,e,a):n(v,d,s,e,t,a);if(void 0!==h){if(h)continue;l=!1;break}if(p){if(!dt(t,function(e,t){if(!ht(p,t)&&(v===e||o(v,e,r,n,a)))return p.push(t)})){l=!1;break}}else if(v!==d&&!o(v,d,r,n,a)){l=!1;break}}return a.delete(e),a.delete(t),l},gt=u.Uint8Array;var mt=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r};var jt=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r},Ot=1,wt=2,Dt="[object Boolean]",Et="[object Date]",St="[object Error]",Rt="[object Map]",kt="[object Number]",xt="[object RegExp]",Pt="[object Set]",Nt="[object String]",Tt="[object Symbol]",At="[object ArrayBuffer]",Ct="[object DataView]",Yt=c?c.prototype:void 0,zt=Yt?Yt.valueOf:void 0;var Lt=function(e,t,r,n,o,a,i){switch(r){case Ct:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case At:return!(e.byteLength!=t.byteLength||!a(new gt(e),new gt(t)));case Dt:case Et:case kt:return De(+e,+t);case St:return e.name==t.name&&e.message==t.message;case xt:case Nt:return e==t+"";case Rt:var u=mt;case Pt:var c=n&Ot;if(u||(u=jt),e.size!=t.size&&!c)return!1;var f=i.get(e);if(f)return f==t;n|=wt,i.set(e,t);var s=_t(u(e),u(t),n,o,a,i);return i.delete(e),s;case Tt:if(zt)return zt.call(e)==zt.call(t)}return!1};var Wt=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e};var Ft=function(e,t,r){var n=t(e);return X(e)?n:Wt(n,r(e))};var Mt=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a};var Ht=function(){return[]},It=Object.prototype.propertyIsEnumerable,$t=Object.getOwnPropertySymbols,Ut=$t?function(e){return null==e?[]:(e=Object(e),Mt($t(e),function(t){return It.call(e,t)}))}:Ht;var Vt=function(e){return Ft(e,je,Ut)},Bt=1,qt=Object.prototype.hasOwnProperty;var Gt=function(e,t,r,n,o,a){var i=r&Bt,u=Vt(e),c=u.length;if(c!=Vt(t).length&&!i)return!1;for(var f=c;f--;){var s=u[f];if(!(i?s in t:qt.call(t,s)))return!1}var l=a.get(e);if(l&&a.get(t))return l==t;var p=!0;a.set(e,t),a.set(t,e);for(var v=i;++f<c;){var d=e[s=u[f]],h=t[s];if(n)var y=i?n(h,d,s,t,e,a):n(d,h,s,e,t,a);if(!(void 0===y?d===h||o(d,h,r,n,a):y)){p=!1;break}v||(v="constructor"==s)}if(p&&!v){var b=e.constructor,_=t.constructor;b!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(p=!1)}return a.delete(e),a.delete(t),p},Jt=M(u,"DataView"),Kt=M(u,"Promise"),Qt=M(u,"Set"),Xt=M(u,"WeakMap"),Zt=N(Jt),er=N(Le),tr=N(Kt),rr=N(Qt),nr=N(Xt),or=g;(Jt&&"[object DataView]"!=or(new Jt(new ArrayBuffer(1)))||Le&&"[object Map]"!=or(new Le)||Kt&&"[object Promise]"!=or(Kt.resolve())||Qt&&"[object Set]"!=or(new Qt)||Xt&&"[object WeakMap]"!=or(new Xt))&&(or=function(e){var t=g(e),r="[object Object]"==t?e.constructor:void 0,n=r?N(r):"";if(n)switch(n){case Zt:return"[object DataView]";case er:return"[object Map]";case tr:return"[object Promise]";case rr:return"[object Set]";case nr:return"[object WeakMap]"}return t});var ar=or,ir=1,ur="[object Arguments]",cr="[object Array]",fr="[object Object]",sr=Object.prototype.hasOwnProperty;var lr=function(e,t,r,n,o,a){var i=X(e),u=X(t),c=i?cr:ar(e),f=u?cr:ar(t),s=(c=c==ur?fr:c)==fr,l=(f=f==ur?fr:f)==fr,p=c==f;if(p&&ee(e)){if(!ee(t))return!1;i=!0,s=!1}if(p&&!s)return a||(a=new ct),i||le(e)?_t(e,t,r,n,o,a):Lt(e,t,c,r,n,o,a);if(!(r&ir)){var v=s&&sr.call(e,"__wrapped__"),d=l&&sr.call(t,"__wrapped__");if(v||d){var h=v?e.value():e,y=d?t.value():t;return a||(a=new ct),o(h,y,r,n,a)}}return!!p&&(a||(a=new ct),Gt(e,t,r,n,o,a))};var pr=function e(t,r,n,o,a){return t===r||(null==t||null==r||!V(t)&&!V(r)?t!=t&&r!=r:lr(t,r,n,o,e,a))},vr=1,dr=2;var hr=function(e,t,r,n){var o=r.length,a=o,i=!n;if(null==e)return!a;for(e=Object(e);o--;){var u=r[o];if(i&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<a;){var c=(u=r[o])[0],f=e[c],s=u[1];if(i&&u[2]){if(void 0===f&&!(c in e))return!1}else{var l=new ct;if(n)var p=n(f,s,c,e,t,l);if(!(void 0===p?pr(s,f,vr|dr,n,l):p))return!1}}return!0};var yr=function(e){return e==e&&!m(e)};var br=function(e){for(var t=je(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,yr(o)]}return t};var _r=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}};var gr=function(e){var t=br(e);return 1==t.length&&t[0][2]?_r(t[0][0],t[0][1]):function(r){return r===e||hr(r,e,t)}},mr="[object Symbol]";var jr=function(e){return"symbol"==typeof e||V(e)&&g(e)==mr},Or=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wr=/^\w*$/;var Dr=function(e,t){if(X(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!jr(e))||wr.test(e)||!Or.test(e)||null!=t&&e in Object(t)},Er="Expected a function";function Sr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Er);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Sr.Cache||ot),r}Sr.Cache=ot;var Rr=Sr,kr=500;var xr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/\\(\\)?/g,Nr=function(e){var t=Rr(e,function(e){return r.size===kr&&r.clear(),e}),r=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(xr,function(e,r,n,o){t.push(n?o.replace(Pr,"$1"):r||e)}),t});var Tr=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o},Ar=1/0,Cr=c?c.prototype:void 0,Yr=Cr?Cr.toString:void 0;var zr=function e(t){if("string"==typeof t)return t;if(X(t))return Tr(t,e)+"";if(jr(t))return Yr?Yr.call(t):"";var r=t+"";return"0"==r&&1/t==-Ar?"-0":r};var Lr=function(e){return null==e?"":zr(e)};var Wr=function(e,t){return X(e)?e:Dr(e,t)?[e]:Nr(Lr(e))},Fr=1/0;var Mr=function(e){if("string"==typeof e||jr(e))return e;var t=e+"";return"0"==t&&1/e==-Fr?"-0":t};var Hr=function(e,t){for(var r=0,n=(t=Wr(t,e)).length;null!=e&&r<n;)e=e[Mr(t[r++])];return r&&r==n?e:void 0};var Ir=function(e,t,r){var n=null==e?void 0:Hr(e,t);return void 0===n?r:n};var $r=function(e,t){return null!=e&&t in Object(e)};var Ur=function(e,t,r){for(var n=-1,o=(t=Wr(t,e)).length,a=!1;++n<o;){var i=Mr(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&ae(o)&&ne(i,o)&&(X(e)||Q(e))};var Vr=function(e,t){return null!=e&&Ur(e,t,$r)},Br=1,qr=2;var Gr=function(e,t){return Dr(e)&&yr(t)?_r(Mr(e),t):function(r){var n=Ir(r,e);return void 0===n&&n===t?Vr(r,e):pr(t,n,Br|qr)}};var Jr=function(e){return e};var Kr=function(e){return function(t){return null==t?void 0:t[e]}};var Qr=function(e){return function(t){return Hr(t,e)}};var Xr=function(e){return Dr(e)?Kr(Mr(e)):Qr(e)};var Zr=function(e){return"function"==typeof e?e:null==e?Jr:"object"==typeof e?X(e)?Gr(e[0],e[1]):gr(e):Xr(e)};var en=function(e,t){var r={};return t=Zr(t),Oe(e,function(e,n,o){I(r,n,t(e,n,o))}),r};var tn=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},rn=Math.max;var nn=function(e,t,r){return t=rn(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=rn(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=n[o];return u[t]=r(i),tn(e,this,u)}};var on=function(e){return function(){return e}},an=H?function(e,t){return H(e,"toString",{configurable:!0,enumerable:!1,value:on(t),writable:!0})}:Jr,un=800,cn=16,fn=Date.now;var sn=function(e){var t=0,r=0;return function(){var n=fn(),o=cn-(n-r);if(r=n,o>0){if(++t>=un)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(an);var ln=function(e,t){return sn(nn(e,t,Jr),e+"")};var pn=function(e,t,r){if(!m(r))return!1;var n=typeof t;return!!("number"==n?me(r)&&ne(t,r.length):"string"==n&&t in r)&&De(r[t],e)};var vn=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t},dn=Object.prototype.hasOwnProperty;var hn=function(e){if(!m(e))return vn(e);var t=he(e),r=[];for(var n in e)("constructor"!=n||!t&&dn.call(e,n))&&r.push(n);return r};var yn,bn=function(e){return me(e)?ve(e,!0):hn(e)},_n=Object.prototype,gn=_n.hasOwnProperty,mn=ln(function(e,t){e=Object(e);var r=-1,n=t.length,o=n>2?t[2]:void 0;for(o&&pn(t[0],t[1],o)&&(n=1);++r<n;)for(var a=t[r],i=bn(a),u=-1,c=i.length;++u<c;){var f=i[u],s=e[f];(void 0===s||De(s,_n[f])&&!gn.call(e,f))&&(e[f]=a[f])}return e}),jn={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},On="http://bit.ly/wdyr02",wn="http://bit.ly/wdyr3",Dn=(e(yn={},jn.different,"different objects."),e(yn,jn.deepEquals,"different objects that are equal by value."),e(yn,jn.date,"different date objects with the same value."),e(yn,jn.regex,"different regular expressions with the same value."),e(yn,jn.reactElement,"different React elements with the same displayName."),e(yn,jn.function,"different functions with the same name."),yn),En=!1;function Sn(t){var r=t.Component,n=t.displayName,o=t.hookName,a=t.prefixMessage,i=t.diffObjType,u=t.differences,c=t.values,f=t.options;u&&u.length>0?(f.consoleLog(e({},n,r),"".concat(a," of ").concat(i," changes:")),u.forEach(function(t){var r=t.pathString,n=t.diffType,a=t.prevValue,u=t.nextValue;f.consoleGroup("%c".concat("hook"===i?"[hook ".concat(o," result]"):"".concat(i,"."),"%c").concat(r,"%c"),"color:".concat(f.diffNameColor,";"),"color:".concat(f.diffPathColor,";"),"color:default;"),f.consoleLog("".concat(Dn[n]," (more info at ").concat(o?wn:On,")")),f.consoleLog(e({},"prev ".concat(r),a),"!==",e({},"next ".concat(r),u)),f.consoleGroupEnd()})):u&&(f.consoleLog(e({},n,r),"".concat(a," the ").concat(i," object itself changed but it's values are all equal."),"props"===i?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(On)),f.consoleLog("prev ".concat(i,":"),c.prev," !== ",c.next,":next ".concat(i)))}function Rn(t){var r=t.Component,n=t.displayName,o=t.hookName,a=t.prevProps,i=t.prevState,u=t.prevHook,c=t.nextProps,f=t.nextState,s=t.nextHook,l=t.reason,p=t.options;if(function(e,t,r){return!(En||!r.logOnDifferentValues&&(!t.whyDidYouRender||!t.whyDidYouRender.logOnDifferentValues)&&(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===jn.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===jn.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===jn.different})))}(l,r,p)){p.consoleGroup("%c".concat(n),"color: ".concat(p.titleColor,";"));var v="Re-rendered because";l.propsDifferences&&(Sn({Component:r,displayName:n,prefixMessage:v,diffObjType:"props",differences:l.propsDifferences,values:{prev:a,next:c},options:p}),v="And because"),l.stateDifferences&&Sn({Component:r,displayName:n,prefixMessage:v,diffObjType:"state",differences:l.stateDifferences,values:{prev:i,next:f},options:p}),l.hookDifferences&&Sn({Component:r,displayName:n,prefixMessage:v,diffObjType:"hook",differences:l.hookDifferences,values:{prev:u,next:s},hookName:o,options:p}),l.propsDifferences||l.stateDifferences||l.hookDifferences||p.consoleLog(e({},n,r),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(On)),p.consoleGroupEnd()}}var kn=function(){};function xn(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=console.group,o=console.groupEnd;return r.collapseGroups?n=console.groupCollapsed:r.onlyLogs&&(n=console.log,o=kn),t({include:null,exclude:null,notifier:r.notifier||((e=r.hasOwnProperty("hotReloadBufferMs")?r.hotReloadBufferMs:500)&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(t){"idle"===t&&(En=!0,setTimeout(function(){En=!1},e))}),Rn),onlyLogs:!1,consoleLog:console.log,consoleGroup:n,consoleGroupEnd:o,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},r)}var Pn="[object String]";var Nn=function(e){return"string"==typeof e||!X(e)&&V(e)&&g(e)==Pn};function Tn(e){return e.displayName||e.name||e.type&&Tn(e.type)||(Nn(e)?e:void 0)}var An=function(e,t,r,n){var o=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++o]);++o<a;)r=t(r,e[o],o,e);return r};var Cn=function(e,t){return function(r,n){if(null==r)return r;if(!me(r))return e(r,n);for(var o=r.length,a=t?o:-1,i=Object(r);(t?a--:++a<o)&&!1!==n(i[a],a,i););return r}}(Oe);var Yn=function(e,t,r,n,o){return o(e,function(e,o,a){r=n?(n=!1,e):t(r,e,o,a)}),r};var zn=function(e,t,r){var n=X(e)?An:Yn,o=arguments.length<3;return n(e,Zr(t),r,o,Cn)},Ln=Object.prototype.hasOwnProperty;var Wn=function(e,t){return null!=e&&Ln.call(e,t)};var Fn=function(e,t){return null!=e&&Ur(e,t,Wn)},Mn="[object RegExp]";var Hn=function(e){return V(e)&&g(e)==Mn},In=fe&&fe.isRegExp,$n=In?ce(In):Hn,Un="[object Date]";var Vn=function(e){return V(e)&&g(e)==Un},Bn=fe&&fe.isDate,qn=Bn?ce(Bn):Vn,Gn=ye(Object.getPrototypeOf,Object),Jn="[object Object]",Kn=Function.prototype,Qn=Object.prototype,Xn=Kn.toString,Zn=Qn.hasOwnProperty,eo=Xn.call(Object);var to=function(e){if(!V(e)||g(e)!=Jn)return!1;var t=Gn(e);if(null===t)return!0;var r=Zn.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Xn.call(r)==eo},ro="undefined"!=typeof Element,no="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,oo=function(e){return e.$$typeof===no};function ao(e,t,r,n,o){return r.push({diffType:o,pathString:n,prevValue:e,nextValue:t}),o!==jn.different}function io(e,t,r){try{var n=[];return function e(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(t===r)return!0;if(!t||!r)return ao(t,r,n,o,jn.different);if(X(t)&&X(r)){var a=t.length;if(a!==r.length)return ao(t,r,n,o,jn.different);for(var i=!0,u=a;0!=u--;)e(t[u],r[u],n,"".concat(o,"[").concat(u,"]"))||(i=!1);return ao(t,r,n,o,i?jn.deepEquals:jn.different)}if(qn(t)&&qn(r))return t.getTime()===r.getTime()?ao(t,r,n,o,jn.date):ao(t,r,n,o,jn.different);if($n(t)&&$n(r))return t.toString()===r.toString()?ao(t,r,n,o,jn.regex):ao(t,r,n,o,jn.different);if(ro&&t instanceof Element&&r instanceof Element)return ao(t,r,n,o,jn.different);if(oo(t)&&oo(r))return t.type!==r.type?ao(t,r,n,o,jn.different):ao(t,r,n,o,e(t.props,r.props,n,"".concat(o,".props"))?jn.reactElement:jn.different);if(S(t)&&S(r))return t.name===r.name?ao(t,r,n,o,jn.function):ao(t,r,n,o,jn.different);if(to(t)&&to(r)){var c=je(t),f=c.length;if(f!==je(r).length)return ao(t,r,n,o,jn.different);for(var s=f;0!=s--;)if(!Fn(r,c[s]))return ao(t,r,n,o,jn.different);for(var l=!0,p=f;0!=p--;){var v=c[p];e(t[v],r[v],n,"".concat(o,".").concat(v))||(l=!1)}return ao(t,r,n,o,l?jn.deepEquals:jn.different)}return ao(t,r,n,o,jn.different)}(e,t,n,r),n}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var uo={};function co(e,n){var o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===n)return!1;if(!(void 0===o||o))return io(e,n);var a=e||uo,i=n||uo,u=Object.keys(t({},a,i));return zn(u,function(e,t){var n=io(a[t],i[t],t);return n&&(e=[].concat(r(e),r(n))),e},[])}function fo(e,t,r,n,o,a){return{propsDifferences:co(e,n),stateDifferences:co(t,o),hookDifferences:co(r,a,{shallow:!1})}}function so(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,a=e.prevState,i=e.prevHook,u=e.nextProps,c=e.nextState,f=e.nextHook;return{Component:t,displayName:r,hookName:n,prevProps:o,prevState:a,prevHook:i,nextProps:u,nextState:c,nextHook:f,options:e.options,reason:fo(o,a,i,u,c,f)}}function lo(e,t,r){return!function(e,t){return t.exclude&&t.exclude.length>0&&t.exclude.some(function(t){return t.test(e)})}(t,r)&&!(!e.whyDidYouRender&&!function(e,t){return t.include&&t.include.length>0&&t.include.some(function(t){return t.test(e)})}(t,r))}var po=2;var vo="function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115;function ho(e,t,r,n){class o extends e{constructor(t,r){var n;super(t,r),n=this,this._WDYR={renderNumber:0};var a=super.render||this.render;a!==e.prototype.render&&(this.render=function(){return o.prototype.render.apply(n),a()})}render(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=function(e){for(var t=e._reactInternalFiber;null!==t;){if(t.mode&po)return!0;t=t.return}return!1}(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&n.notifier(so({Component:e,displayName:t,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:n})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),super.render?super.render():null}}return o.displayName=t,mn(o,e),o}function yo(e,t,r,n,o){return t.$$typeof===vo?function(e,t,r,n){var o=e.type;function a(a){var i=r.useRef(),u=i.current;if(i.current=a,u){var c=so({Component:e,displayName:t,prevProps:u,nextProps:a,options:n});c.reason.propsDifferences&&c.reason.propsDifferences.length>0&&n.notifier(c)}return o(a)}a.displayName=Tn(o),a.ComponentForHooksTracking=e,mn(a,o);var i=r.memo(a,e.compare);return i.displayName=t,mn(i,e),i}(t,r,n,o):t.prototype&&t.prototype.isReactComponent?ho(t,r,0,o):function(e,t,r,n){function o(o){var a=r.useRef(),i=a.current;if(a.current=o,i){var u=so({Component:e,displayName:t,prevProps:i,nextProps:o,options:n});u.reason.propsDifferences&&n.notifier(u)}return e(o)}return o.displayName=t,o.ComponentForHooksTracking=e,mn(o,e),o}(t,r,n,o)}var bo={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function _o(e,r){var n,o=xn(r),a=e.createElement,i=e.createFactory,u=new WeakMap;if(e.createElement=function(t){for(var r=null,n=null,i=null,c=arguments.length,f=new Array(c>1?c-1:0),s=1;s<c;s++)f[s-1]=arguments[s];try{if(r=("function"==typeof t||t.$$typeof===vo)&&lo(t,Tn(t),o))return n=t&&t.whyDidYouRender&&t.whyDidYouRender.customName||Tn(t),i=function(e,t,r,n,o){if(e.has(t))return e.get(t);var a=yo(0,t,r,n,o);return e.set(t,a),a}(u,t,n,e,o),a.apply(e,[i].concat(f))}catch(e){o.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{componentNameOrComponent:t,rest:f,options:o,isShouldTrack:r,displayName:n,WDYRPatchedComponent:i}})}return a.apply(e,[t].concat(f))},Object.assign(e.createElement,a),e.createFactory=function(t){var r=e.createElement.bind(null,t);return r.type=t,r},Object.assign(e.createFactory,i),o.trackHooks){var c=en(bo,function(t,r){return function(){var a=n[r];if(!a)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var i=a.apply(void 0,arguments);return t&&function(e,t,r,n,o){var a=t.path,i=r,u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!u)return i;var c=u.type.ComponentForHooksTracking||u.type,f=Tn(c);if(!lo(c,f,o))return i;var s=n.useRef(),l=s.current;if(s.current=i,l){var p=so({Component:c,displayName:f,hookName:e,prevHook:a?Ir(l,a):l,nextHook:a?Ir(i,a):i,options:o});p.reason.hookDifferences&&o.notifier(p)}s.current}(r,!0===t?{}:t,i,e,o),i}});Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){n=e&&t({},e,e.origHooks)},get:function(){return n&&t({},n,c,{origHooks:n})}})}return e.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(e,{createElement:a,createFactory:i}),u=null,Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:n}),delete e.__REVERT_WHY_DID_YOU_RENDER__},e}return _o.defaultNotifier=Rn,_o});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).whyDidYouRender=t()}(this,function(){"use strict";function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(r){e(t,r,n[r])})}return t}function r(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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")}()}var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e,t){return e(t={exports:{}},t.exports),t.exports}var a="object"==typeof n&&n&&n.Object===Object&&n,i="object"==typeof self&&self&&self.Object===Object&&self,u=a||i||Function("return this")(),c=u.Symbol,f=Object.prototype,s=f.hasOwnProperty,l=f.toString,p=c?c.toStringTag:void 0;var v=function(e){var t=s.call(e,p),r=e[p];try{e[p]=void 0;var n=!0}catch(e){}var o=l.call(e);return n&&(t?e[p]=r:delete e[p]),o},d=Object.prototype.toString;var h=function(e){return d.call(e)},y="[object Null]",b="[object Undefined]",_=c?c.toStringTag:void 0;var g=function(e){return null==e?void 0===e?b:y:_&&_ in Object(e)?v(e):h(e)};var m=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},j="[object AsyncFunction]",O="[object Function]",w="[object GeneratorFunction]",D="[object Proxy]";var E,S=function(e){if(!m(e))return!1;var t=g(e);return t==O||t==w||t==j||t==D},R=u["__core-js_shared__"],k=(E=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";var x=function(e){return!!k&&k in e},P=Function.prototype.toString;var N=function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""},T=/^\[object .+?Constructor\]$/,A=Function.prototype,C=Object.prototype,Y=A.toString,z=C.hasOwnProperty,L=RegExp("^"+Y.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var W=function(e){return!(!m(e)||x(e))&&(S(e)?L:T).test(N(e))};var F=function(e,t){return null==e?void 0:e[t]};var M=function(e,t){var r=F(e,t);return W(r)?r:void 0},H=function(){try{var e=M(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var I=function(e,t,r){"__proto__"==t&&H?H(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};var $=function(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),u=i.length;u--;){var c=i[e?u:++o];if(!1===r(a[c],c,a))break}return t}}();var U=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};var V=function(e){return null!=e&&"object"==typeof e},B="[object Arguments]";var q=function(e){return V(e)&&g(e)==B},G=Object.prototype,J=G.hasOwnProperty,K=G.propertyIsEnumerable,Q=q(function(){return arguments}())?q:function(e){return V(e)&&J.call(e,"callee")&&!K.call(e,"callee")},X=Array.isArray;var Z=function(){return!1},ee=o(function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?u.Buffer:void 0,a=(o?o.isBuffer:void 0)||Z;e.exports=a}),te=9007199254740991,re=/^(?:0|[1-9]\d*)$/;var ne=function(e,t){var r=typeof e;return!!(t=null==t?te:t)&&("number"==r||"symbol"!=r&&re.test(e))&&e>-1&&e%1==0&&e<t},oe=9007199254740991;var ae=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=oe},ie={};ie["[object Float32Array]"]=ie["[object Float64Array]"]=ie["[object Int8Array]"]=ie["[object Int16Array]"]=ie["[object Int32Array]"]=ie["[object Uint8Array]"]=ie["[object Uint8ClampedArray]"]=ie["[object Uint16Array]"]=ie["[object Uint32Array]"]=!0,ie["[object Arguments]"]=ie["[object Array]"]=ie["[object ArrayBuffer]"]=ie["[object Boolean]"]=ie["[object DataView]"]=ie["[object Date]"]=ie["[object Error]"]=ie["[object Function]"]=ie["[object Map]"]=ie["[object Number]"]=ie["[object Object]"]=ie["[object RegExp]"]=ie["[object Set]"]=ie["[object String]"]=ie["[object WeakMap]"]=!1;var ue=function(e){return V(e)&&ae(e.length)&&!!ie[g(e)]};var ce=function(e){return function(t){return e(t)}},fe=o(function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r&&a.process,i=function(){try{var e=n&&n.require&&n.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=i}),se=fe&&fe.isTypedArray,le=se?ce(se):ue,pe=Object.prototype.hasOwnProperty;var ve=function(e,t){var r=X(e),n=!r&&Q(e),o=!r&&!n&&ee(e),a=!r&&!n&&!o&&le(e),i=r||n||o||a,u=i?U(e.length,String):[],c=u.length;for(var f in e)!t&&!pe.call(e,f)||i&&("length"==f||o&&("offset"==f||"parent"==f)||a&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||ne(f,c))||u.push(f);return u},de=Object.prototype;var he=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||de)};var ye=function(e,t){return function(r){return e(t(r))}},be=ye(Object.keys,Object),_e=Object.prototype.hasOwnProperty;var ge=function(e){if(!he(e))return be(e);var t=[];for(var r in Object(e))_e.call(e,r)&&"constructor"!=r&&t.push(r);return t};var me=function(e){return null!=e&&ae(e.length)&&!S(e)};var je=function(e){return me(e)?ve(e):ge(e)};var Oe=function(e,t){return e&&$(e,t,je)};var we=function(){this.__data__=[],this.size=0};var De=function(e,t){return e===t||e!=e&&t!=t};var Ee=function(e,t){for(var r=e.length;r--;)if(De(e[r][0],t))return r;return-1},Se=Array.prototype.splice;var Re=function(e){var t=this.__data__,r=Ee(t,e);return!(r<0||(r==t.length-1?t.pop():Se.call(t,r,1),--this.size,0))};var ke=function(e){var t=this.__data__,r=Ee(t,e);return r<0?void 0:t[r][1]};var xe=function(e){return Ee(this.__data__,e)>-1};var Pe=function(e,t){var r=this.__data__,n=Ee(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function Ne(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ne.prototype.clear=we,Ne.prototype.delete=Re,Ne.prototype.get=ke,Ne.prototype.has=xe,Ne.prototype.set=Pe;var Te=Ne;var Ae=function(){this.__data__=new Te,this.size=0};var Ce=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};var Ye=function(e){return this.__data__.get(e)};var ze=function(e){return this.__data__.has(e)},Le=M(u,"Map"),We=M(Object,"create");var Fe=function(){this.__data__=We?We(null):{},this.size=0};var Me=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},He="__lodash_hash_undefined__",Ie=Object.prototype.hasOwnProperty;var $e=function(e){var t=this.__data__;if(We){var r=t[e];return r===He?void 0:r}return Ie.call(t,e)?t[e]:void 0},Ue=Object.prototype.hasOwnProperty;var Ve=function(e){var t=this.__data__;return We?void 0!==t[e]:Ue.call(t,e)},Be="__lodash_hash_undefined__";var qe=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=We&&void 0===t?Be:t,this};function Ge(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ge.prototype.clear=Fe,Ge.prototype.delete=Me,Ge.prototype.get=$e,Ge.prototype.has=Ve,Ge.prototype.set=qe;var Je=Ge;var Ke=function(){this.size=0,this.__data__={hash:new Je,map:new(Le||Te),string:new Je}};var Qe=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Xe=function(e,t){var r=e.__data__;return Qe(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ze=function(e){var t=Xe(this,e).delete(e);return this.size-=t?1:0,t};var et=function(e){return Xe(this,e).get(e)};var tt=function(e){return Xe(this,e).has(e)};var rt=function(e,t){var r=Xe(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function nt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}nt.prototype.clear=Ke,nt.prototype.delete=Ze,nt.prototype.get=et,nt.prototype.has=tt,nt.prototype.set=rt;var ot=nt,at=200;var it=function(e,t){var r=this.__data__;if(r instanceof Te){var n=r.__data__;if(!Le||n.length<at-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ot(n)}return r.set(e,t),this.size=r.size,this};function ut(e){var t=this.__data__=new Te(e);this.size=t.size}ut.prototype.clear=Ae,ut.prototype.delete=Ce,ut.prototype.get=Ye,ut.prototype.has=ze,ut.prototype.set=it;var ct=ut,ft="__lodash_hash_undefined__";var st=function(e){return this.__data__.set(e,ft),this};var lt=function(e){return this.__data__.has(e)};function pt(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new ot;++t<r;)this.add(e[t])}pt.prototype.add=pt.prototype.push=st,pt.prototype.has=lt;var vt=pt;var dt=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var ht=function(e,t){return e.has(t)},yt=1,bt=2;var _t=function(e,t,r,n,o,a){var i=r&yt,u=e.length,c=t.length;if(u!=c&&!(i&&c>u))return!1;var f=a.get(e);if(f&&a.get(t))return f==t;var s=-1,l=!0,p=r&bt?new vt:void 0;for(a.set(e,t),a.set(t,e);++s<u;){var v=e[s],d=t[s];if(n)var h=i?n(d,v,s,t,e,a):n(v,d,s,e,t,a);if(void 0!==h){if(h)continue;l=!1;break}if(p){if(!dt(t,function(e,t){if(!ht(p,t)&&(v===e||o(v,e,r,n,a)))return p.push(t)})){l=!1;break}}else if(v!==d&&!o(v,d,r,n,a)){l=!1;break}}return a.delete(e),a.delete(t),l},gt=u.Uint8Array;var mt=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r};var jt=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r},Ot=1,wt=2,Dt="[object Boolean]",Et="[object Date]",St="[object Error]",Rt="[object Map]",kt="[object Number]",xt="[object RegExp]",Pt="[object Set]",Nt="[object String]",Tt="[object Symbol]",At="[object ArrayBuffer]",Ct="[object DataView]",Yt=c?c.prototype:void 0,zt=Yt?Yt.valueOf:void 0;var Lt=function(e,t,r,n,o,a,i){switch(r){case Ct:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case At:return!(e.byteLength!=t.byteLength||!a(new gt(e),new gt(t)));case Dt:case Et:case kt:return De(+e,+t);case St:return e.name==t.name&&e.message==t.message;case xt:case Nt:return e==t+"";case Rt:var u=mt;case Pt:var c=n&Ot;if(u||(u=jt),e.size!=t.size&&!c)return!1;var f=i.get(e);if(f)return f==t;n|=wt,i.set(e,t);var s=_t(u(e),u(t),n,o,a,i);return i.delete(e),s;case Tt:if(zt)return zt.call(e)==zt.call(t)}return!1};var Wt=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e};var Ft=function(e,t,r){var n=t(e);return X(e)?n:Wt(n,r(e))};var Mt=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a};var Ht=function(){return[]},It=Object.prototype.propertyIsEnumerable,$t=Object.getOwnPropertySymbols,Ut=$t?function(e){return null==e?[]:(e=Object(e),Mt($t(e),function(t){return It.call(e,t)}))}:Ht;var Vt=function(e){return Ft(e,je,Ut)},Bt=1,qt=Object.prototype.hasOwnProperty;var Gt=function(e,t,r,n,o,a){var i=r&Bt,u=Vt(e),c=u.length;if(c!=Vt(t).length&&!i)return!1;for(var f=c;f--;){var s=u[f];if(!(i?s in t:qt.call(t,s)))return!1}var l=a.get(e);if(l&&a.get(t))return l==t;var p=!0;a.set(e,t),a.set(t,e);for(var v=i;++f<c;){var d=e[s=u[f]],h=t[s];if(n)var y=i?n(h,d,s,t,e,a):n(d,h,s,e,t,a);if(!(void 0===y?d===h||o(d,h,r,n,a):y)){p=!1;break}v||(v="constructor"==s)}if(p&&!v){var b=e.constructor,_=t.constructor;b!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(p=!1)}return a.delete(e),a.delete(t),p},Jt=M(u,"DataView"),Kt=M(u,"Promise"),Qt=M(u,"Set"),Xt=M(u,"WeakMap"),Zt=N(Jt),er=N(Le),tr=N(Kt),rr=N(Qt),nr=N(Xt),or=g;(Jt&&"[object DataView]"!=or(new Jt(new ArrayBuffer(1)))||Le&&"[object Map]"!=or(new Le)||Kt&&"[object Promise]"!=or(Kt.resolve())||Qt&&"[object Set]"!=or(new Qt)||Xt&&"[object WeakMap]"!=or(new Xt))&&(or=function(e){var t=g(e),r="[object Object]"==t?e.constructor:void 0,n=r?N(r):"";if(n)switch(n){case Zt:return"[object DataView]";case er:return"[object Map]";case tr:return"[object Promise]";case rr:return"[object Set]";case nr:return"[object WeakMap]"}return t});var ar=or,ir=1,ur="[object Arguments]",cr="[object Array]",fr="[object Object]",sr=Object.prototype.hasOwnProperty;var lr=function(e,t,r,n,o,a){var i=X(e),u=X(t),c=i?cr:ar(e),f=u?cr:ar(t),s=(c=c==ur?fr:c)==fr,l=(f=f==ur?fr:f)==fr,p=c==f;if(p&&ee(e)){if(!ee(t))return!1;i=!0,s=!1}if(p&&!s)return a||(a=new ct),i||le(e)?_t(e,t,r,n,o,a):Lt(e,t,c,r,n,o,a);if(!(r&ir)){var v=s&&sr.call(e,"__wrapped__"),d=l&&sr.call(t,"__wrapped__");if(v||d){var h=v?e.value():e,y=d?t.value():t;return a||(a=new ct),o(h,y,r,n,a)}}return!!p&&(a||(a=new ct),Gt(e,t,r,n,o,a))};var pr=function e(t,r,n,o,a){return t===r||(null==t||null==r||!V(t)&&!V(r)?t!=t&&r!=r:lr(t,r,n,o,e,a))},vr=1,dr=2;var hr=function(e,t,r,n){var o=r.length,a=o,i=!n;if(null==e)return!a;for(e=Object(e);o--;){var u=r[o];if(i&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<a;){var c=(u=r[o])[0],f=e[c],s=u[1];if(i&&u[2]){if(void 0===f&&!(c in e))return!1}else{var l=new ct;if(n)var p=n(f,s,c,e,t,l);if(!(void 0===p?pr(s,f,vr|dr,n,l):p))return!1}}return!0};var yr=function(e){return e==e&&!m(e)};var br=function(e){for(var t=je(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,yr(o)]}return t};var _r=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}};var gr=function(e){var t=br(e);return 1==t.length&&t[0][2]?_r(t[0][0],t[0][1]):function(r){return r===e||hr(r,e,t)}},mr="[object Symbol]";var jr=function(e){return"symbol"==typeof e||V(e)&&g(e)==mr},Or=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wr=/^\w*$/;var Dr=function(e,t){if(X(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!jr(e))||wr.test(e)||!Or.test(e)||null!=t&&e in Object(t)},Er="Expected a function";function Sr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Er);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Sr.Cache||ot),r}Sr.Cache=ot;var Rr=Sr,kr=500;var xr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/\\(\\)?/g,Nr=function(e){var t=Rr(e,function(e){return r.size===kr&&r.clear(),e}),r=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(xr,function(e,r,n,o){t.push(n?o.replace(Pr,"$1"):r||e)}),t});var Tr=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o},Ar=1/0,Cr=c?c.prototype:void 0,Yr=Cr?Cr.toString:void 0;var zr=function e(t){if("string"==typeof t)return t;if(X(t))return Tr(t,e)+"";if(jr(t))return Yr?Yr.call(t):"";var r=t+"";return"0"==r&&1/t==-Ar?"-0":r};var Lr=function(e){return null==e?"":zr(e)};var Wr=function(e,t){return X(e)?e:Dr(e,t)?[e]:Nr(Lr(e))},Fr=1/0;var Mr=function(e){if("string"==typeof e||jr(e))return e;var t=e+"";return"0"==t&&1/e==-Fr?"-0":t};var Hr=function(e,t){for(var r=0,n=(t=Wr(t,e)).length;null!=e&&r<n;)e=e[Mr(t[r++])];return r&&r==n?e:void 0};var Ir=function(e,t,r){var n=null==e?void 0:Hr(e,t);return void 0===n?r:n};var $r=function(e,t){return null!=e&&t in Object(e)};var Ur=function(e,t,r){for(var n=-1,o=(t=Wr(t,e)).length,a=!1;++n<o;){var i=Mr(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&ae(o)&&ne(i,o)&&(X(e)||Q(e))};var Vr=function(e,t){return null!=e&&Ur(e,t,$r)},Br=1,qr=2;var Gr=function(e,t){return Dr(e)&&yr(t)?_r(Mr(e),t):function(r){var n=Ir(r,e);return void 0===n&&n===t?Vr(r,e):pr(t,n,Br|qr)}};var Jr=function(e){return e};var Kr=function(e){return function(t){return null==t?void 0:t[e]}};var Qr=function(e){return function(t){return Hr(t,e)}};var Xr=function(e){return Dr(e)?Kr(Mr(e)):Qr(e)};var Zr=function(e){return"function"==typeof e?e:null==e?Jr:"object"==typeof e?X(e)?Gr(e[0],e[1]):gr(e):Xr(e)};var en=function(e,t){var r={};return t=Zr(t),Oe(e,function(e,n,o){I(r,n,t(e,n,o))}),r};var tn=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},rn=Math.max;var nn=function(e,t,r){return t=rn(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=rn(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=n[o];return u[t]=r(i),tn(e,this,u)}};var on=function(e){return function(){return e}},an=H?function(e,t){return H(e,"toString",{configurable:!0,enumerable:!1,value:on(t),writable:!0})}:Jr,un=800,cn=16,fn=Date.now;var sn=function(e){var t=0,r=0;return function(){var n=fn(),o=cn-(n-r);if(r=n,o>0){if(++t>=un)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(an);var ln=function(e,t){return sn(nn(e,t,Jr),e+"")};var pn=function(e,t,r){if(!m(r))return!1;var n=typeof t;return!!("number"==n?me(r)&&ne(t,r.length):"string"==n&&t in r)&&De(r[t],e)};var vn=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t},dn=Object.prototype.hasOwnProperty;var hn=function(e){if(!m(e))return vn(e);var t=he(e),r=[];for(var n in e)("constructor"!=n||!t&&dn.call(e,n))&&r.push(n);return r};var yn,bn=function(e){return me(e)?ve(e,!0):hn(e)},_n=Object.prototype,gn=_n.hasOwnProperty,mn=ln(function(e,t){e=Object(e);var r=-1,n=t.length,o=n>2?t[2]:void 0;for(o&&pn(t[0],t[1],o)&&(n=1);++r<n;)for(var a=t[r],i=bn(a),u=-1,c=i.length;++u<c;){var f=i[u],s=e[f];(void 0===s||De(s,_n[f])&&!gn.call(e,f))&&(e[f]=a[f])}return e}),jn={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},On="http://bit.ly/wdyr02",wn="http://bit.ly/wdyr3",Dn=(e(yn={},jn.different,"different objects."),e(yn,jn.deepEquals,"different objects that are equal by value."),e(yn,jn.date,"different date objects with the same value."),e(yn,jn.regex,"different regular expressions with the same value."),e(yn,jn.reactElement,"different React elements with the same displayName."),e(yn,jn.function,"different functions with the same name."),yn),En=!1;function Sn(t){var r=t.Component,n=t.displayName,o=t.hookName,a=t.prefixMessage,i=t.diffObjType,u=t.differences,c=t.values,f=t.options;u&&u.length>0?(f.consoleLog(e({},n,r),"".concat(a," of ").concat(i," changes:")),u.forEach(function(t){var r=t.pathString,n=t.diffType,a=t.prevValue,u=t.nextValue;f.consoleGroup("%c".concat("hook"===i?"[hook ".concat(o," result]"):"".concat(i,"."),"%c").concat(r,"%c"),"color:".concat(f.diffNameColor,";"),"color:".concat(f.diffPathColor,";"),"color:default;"),f.consoleLog("".concat(Dn[n]," (more info at ").concat(o?wn:On,")")),f.consoleLog(e({},"prev ".concat(r),a),"!==",e({},"next ".concat(r),u)),f.consoleGroupEnd()})):u&&(f.consoleLog(e({},n,r),"".concat(a," the ").concat(i," object itself changed but it's values are all equal."),"props"===i?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(On)),f.consoleLog("prev ".concat(i,":"),c.prev," !== ",c.next,":next ".concat(i)))}function Rn(t){var r=t.Component,n=t.displayName,o=t.hookName,a=t.prevProps,i=t.prevState,u=t.prevHook,c=t.nextProps,f=t.nextState,s=t.nextHook,l=t.reason,p=t.options;if(function(e,t,r){return!(En||!r.logOnDifferentValues&&(!t.whyDidYouRender||!t.whyDidYouRender.logOnDifferentValues)&&(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===jn.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===jn.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===jn.different})))}(l,r,p)){p.consoleGroup("%c".concat(n),"color: ".concat(p.titleColor,";"));var v="Re-rendered because";l.propsDifferences&&(Sn({Component:r,displayName:n,prefixMessage:v,diffObjType:"props",differences:l.propsDifferences,values:{prev:a,next:c},options:p}),v="And because"),l.stateDifferences&&Sn({Component:r,displayName:n,prefixMessage:v,diffObjType:"state",differences:l.stateDifferences,values:{prev:i,next:f},options:p}),l.hookDifferences&&Sn({Component:r,displayName:n,prefixMessage:v,diffObjType:"hook",differences:l.hookDifferences,values:{prev:u,next:s},hookName:o,options:p}),l.propsDifferences||l.stateDifferences||l.hookDifferences||p.consoleLog(e({},n,r),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(On)),p.consoleGroupEnd()}}var kn=function(){};function xn(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=console.group,o=console.groupEnd;return r.collapseGroups?n=console.groupCollapsed:r.onlyLogs&&(n=console.log,o=kn),t({include:null,exclude:null,notifier:r.notifier||((e=r.hasOwnProperty("hotReloadBufferMs")?r.hotReloadBufferMs:500)&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(t){"idle"===t&&(En=!0,setTimeout(function(){En=!1},e))}),Rn),onlyLogs:!1,consoleLog:console.log,consoleGroup:n,consoleGroupEnd:o,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},r)}var Pn="[object String]";var Nn=function(e){return"string"==typeof e||!X(e)&&V(e)&&g(e)==Pn};function Tn(e){return e.displayName||e.name||e.type&&Tn(e.type)||(Nn(e)?e:void 0)}var An=function(e,t,r,n){var o=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++o]);++o<a;)r=t(r,e[o],o,e);return r};var Cn=function(e,t){return function(r,n){if(null==r)return r;if(!me(r))return e(r,n);for(var o=r.length,a=t?o:-1,i=Object(r);(t?a--:++a<o)&&!1!==n(i[a],a,i););return r}}(Oe);var Yn=function(e,t,r,n,o){return o(e,function(e,o,a){r=n?(n=!1,e):t(r,e,o,a)}),r};var zn=function(e,t,r){var n=X(e)?An:Yn,o=arguments.length<3;return n(e,Zr(t),r,o,Cn)},Ln=Object.prototype.hasOwnProperty;var Wn=function(e,t){return null!=e&&Ln.call(e,t)};var Fn=function(e,t){return null!=e&&Ur(e,t,Wn)},Mn="[object RegExp]";var Hn=function(e){return V(e)&&g(e)==Mn},In=fe&&fe.isRegExp,$n=In?ce(In):Hn,Un="[object Date]";var Vn=function(e){return V(e)&&g(e)==Un},Bn=fe&&fe.isDate,qn=Bn?ce(Bn):Vn,Gn=ye(Object.getPrototypeOf,Object),Jn="[object Object]",Kn=Function.prototype,Qn=Object.prototype,Xn=Kn.toString,Zn=Qn.hasOwnProperty,eo=Xn.call(Object);var to=function(e){if(!V(e)||g(e)!=Jn)return!1;var t=Gn(e);if(null===t)return!0;var r=Zn.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Xn.call(r)==eo},ro="undefined"!=typeof Element,no="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,oo=function(e){return e.$$typeof===no};function ao(e,t,r,n,o){return r.push({diffType:o,pathString:n,prevValue:e,nextValue:t}),o!==jn.different}function io(e,t,r){try{var n=[];return function e(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(t===r)return!0;if(!t||!r)return ao(t,r,n,o,jn.different);if(X(t)&&X(r)){var a=t.length;if(a!==r.length)return ao(t,r,n,o,jn.different);for(var i=!0,u=a;0!=u--;)e(t[u],r[u],n,"".concat(o,"[").concat(u,"]"))||(i=!1);return ao(t,r,n,o,i?jn.deepEquals:jn.different)}if(qn(t)&&qn(r))return t.getTime()===r.getTime()?ao(t,r,n,o,jn.date):ao(t,r,n,o,jn.different);if($n(t)&&$n(r))return t.toString()===r.toString()?ao(t,r,n,o,jn.regex):ao(t,r,n,o,jn.different);if(ro&&t instanceof Element&&r instanceof Element)return ao(t,r,n,o,jn.different);if(oo(t)&&oo(r))return t.type!==r.type?ao(t,r,n,o,jn.different):ao(t,r,n,o,e(t.props,r.props,n,"".concat(o,".props"))?jn.reactElement:jn.different);if(S(t)&&S(r))return t.name===r.name?ao(t,r,n,o,jn.function):ao(t,r,n,o,jn.different);if(to(t)&&to(r)){var c=je(t),f=c.length;if(f!==je(r).length)return ao(t,r,n,o,jn.different);for(var s=f;0!=s--;)if(!Fn(r,c[s]))return ao(t,r,n,o,jn.different);for(var l=!0,p=f;0!=p--;){var v=c[p];e(t[v],r[v],n,"".concat(o,".").concat(v))||(l=!1)}return ao(t,r,n,o,l?jn.deepEquals:jn.different)}return ao(t,r,n,o,jn.different)}(e,t,n,r),n}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var uo={};function co(e,n){var o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===n)return!1;if(!(void 0===o||o))return io(e,n);var a=e||uo,i=n||uo,u=Object.keys(t({},a,i));return zn(u,function(e,t){var n=io(a[t],i[t],t);return n&&(e=[].concat(r(e),r(n))),e},[])}function fo(e,t,r,n,o,a){return{propsDifferences:co(e,n),stateDifferences:co(t,o),hookDifferences:co(r,a,{shallow:!1})}}function so(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,a=e.prevState,i=e.prevHook,u=e.nextProps,c=e.nextState,f=e.nextHook;return{Component:t,displayName:r,hookName:n,prevProps:o,prevState:a,prevHook:i,nextProps:u,nextState:c,nextHook:f,options:e.options,reason:fo(o,a,i,u,c,f)}}function lo(e,t,r){return!function(e,t){return t.exclude&&t.exclude.length>0&&t.exclude.some(function(t){return t.test(e)})}(t,r)&&!(!e.whyDidYouRender&&!function(e,t){return t.include&&t.include.length>0&&t.include.some(function(t){return t.test(e)})}(t,r))}var po=2;var vo="function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115;function ho(e,t,r,n){class o extends e{constructor(t,r){var n;super(t,r),n=this,this._WDYR={renderNumber:0};var a=super.render||this.render;a!==e.prototype.render&&(this.render=function(){return o.prototype.render.apply(n),a()})}render(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=function(e){for(var t=e._reactInternalFiber;null!==t;){if(t.mode&po)return!0;t=t.return}return!1}(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&n.notifier(so({Component:e,displayName:t,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:n})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),super.render?super.render():null}}return o.displayName=t,mn(o,e),o}function yo(e,t,r,n,o){return t.$$typeof===vo?function(e,t,r,n){var o=e.type;function a(a){var i=r.useRef(),u=i.current;if(i.current=a,u){var c=so({Component:e,displayName:t,prevProps:u,nextProps:a,options:n});c.reason.propsDifferences&&c.reason.propsDifferences.length>0&&n.notifier(c)}return o(a)}a.displayName=Tn(o),a.ComponentForHooksTracking=e,mn(a,o);var i=r.memo(a,e.compare);return i.displayName=t,mn(i,e),i}(t,r,n,o):t.prototype&&t.prototype.isReactComponent?ho(t,r,0,o):function(e,t,r,n){function o(o){var a=r.useRef(),i=a.current;if(a.current=o,i){var u=so({Component:e,displayName:t,prevProps:i,nextProps:o,options:n});u.reason.propsDifferences&&n.notifier(u)}return e(o)}return o.displayName=t,o.ComponentForHooksTracking=e,mn(o,e),o}(t,r,n,o)}var bo={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function _o(e,r){var n,o=xn(r),a=e.createElement,i=e.createFactory,u=new WeakMap;if(e.createElement=function(t){for(var r=null,n=null,i=null,c=arguments.length,f=new Array(c>1?c-1:0),s=1;s<c;s++)f[s-1]=arguments[s];try{if(r=("function"==typeof t||t.$$typeof===vo)&&lo(t,Tn(t),o))return n=t&&t.whyDidYouRender&&t.whyDidYouRender.customName||Tn(t),i=function(e,t,r,n,o){if(e.has(t))return e.get(t);var a=yo(0,t,r,n,o);return e.set(t,a),a}(u,t,n,e,o),a.apply(e,[i].concat(f))}catch(e){o.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{error:e,componentNameOrComponent:t,rest:f,options:o,isShouldTrack:r,displayName:n,WDYRPatchedComponent:i}})}return a.apply(e,[t].concat(f))},Object.assign(e.createElement,a),e.createFactory=function(t){var r=e.createElement.bind(null,t);return r.type=t,r},Object.assign(e.createFactory,i),o.trackHooks){var c=en(bo,function(t,r){return function(){var a=n[r];if(!a)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var i=a.apply(void 0,arguments);return t&&function(e,t,r,n,o){var a=t.path,i=r,u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!u)return i;var c=u.type.ComponentForHooksTracking||u.type,f=Tn(c);if(!lo(c,f,o))return i;var s=n.useRef(),l=s.current;if(s.current=i,l){var p=so({Component:c,displayName:f,hookName:e,prevHook:a?Ir(l,a):l,nextHook:a?Ir(i,a):i,options:o});p.reason.hookDifferences&&o.notifier(p)}s.current}(r,!0===t?{}:t,i,e,o),i}});Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){n=e&&t({},e,e.origHooks)},get:function(){return n&&t({},n,c,{origHooks:n})}})}return e.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(e,{createElement:a,createFactory:i}),u=null,Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:n}),delete e.__REVERT_WHY_DID_YOU_RENDER__},e}return _o.defaultNotifier=Rn,_o});
//# sourceMappingURL=whyDidYouRender.min.js.map
/**
* @welldone-software/why-did-you-render 3.2.0
* @welldone-software/why-did-you-render 3.2.1
* MIT Licensed
* Generated by Vitali Zaidman <vzaidman@gmail.com> (https://github.com/vzaidman)
* Generated at 2019-06-13
* Generated at 2019-06-18
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).whyDidYouRender=t()}(this,function(){"use strict";function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(r){t(e,r,n[r])})}return e}function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,r){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e}(e,t);if(o){var a=Object.getOwnPropertyDescriptor(o,t);return a.get?a.get.call(r):a.value}})(e,t,r||e)}function u(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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")}()}var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function f(e,t){return e(t={exports:{}},t.exports),t.exports}var s="object"==typeof c&&c&&c.Object===Object&&c,l="object"==typeof self&&self&&self.Object===Object&&self,p=s||l||Function("return this")(),v=p.Symbol,h=Object.prototype,d=h.hasOwnProperty,y=h.toString,b=v?v.toStringTag:void 0;var _=function(e){var t=d.call(e,b),r=e[b];try{e[b]=void 0;var n=!0}catch(e){}var o=y.call(e);return n&&(t?e[b]=r:delete e[b]),o},g=Object.prototype.toString;var m=function(e){return g.call(e)},j="[object Null]",O="[object Undefined]",w=v?v.toStringTag:void 0;var D=function(e){return null==e?void 0===e?O:j:w&&w in Object(e)?_(e):m(e)};var E=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},S="[object AsyncFunction]",R="[object Function]",k="[object GeneratorFunction]",x="[object Proxy]";var P,N=function(e){if(!E(e))return!1;var t=D(e);return t==R||t==k||t==S||t==x},T=p["__core-js_shared__"],A=(P=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+P:"";var C=function(e){return!!A&&A in e},Y=Function.prototype.toString;var z=function(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""},L=/^\[object .+?Constructor\]$/,W=Function.prototype,F=Object.prototype,M=W.toString,H=F.hasOwnProperty,I=RegExp("^"+M.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var $=function(e){return!(!E(e)||C(e))&&(N(e)?I:L).test(z(e))};var U=function(e,t){return null==e?void 0:e[t]};var V=function(e,t){var r=U(e,t);return $(r)?r:void 0},B=function(){try{var e=V(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var q=function(e,t,r){"__proto__"==t&&B?B(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};var G=function(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),u=i.length;u--;){var c=i[e?u:++o];if(!1===r(a[c],c,a))break}return t}}();var J=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};var K=function(e){return null!=e&&"object"==typeof e},Q="[object Arguments]";var X=function(e){return K(e)&&D(e)==Q},Z=Object.prototype,ee=Z.hasOwnProperty,te=Z.propertyIsEnumerable,re=X(function(){return arguments}())?X:function(e){return K(e)&&ee.call(e,"callee")&&!te.call(e,"callee")},ne=Array.isArray;var oe=function(){return!1},ae=f(function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?p.Buffer:void 0,a=(o?o.isBuffer:void 0)||oe;e.exports=a}),ie=9007199254740991,ue=/^(?:0|[1-9]\d*)$/;var ce=function(e,t){var r=typeof e;return!!(t=null==t?ie:t)&&("number"==r||"symbol"!=r&&ue.test(e))&&e>-1&&e%1==0&&e<t},fe=9007199254740991;var se=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=fe},le={};le["[object Float32Array]"]=le["[object Float64Array]"]=le["[object Int8Array]"]=le["[object Int16Array]"]=le["[object Int32Array]"]=le["[object Uint8Array]"]=le["[object Uint8ClampedArray]"]=le["[object Uint16Array]"]=le["[object Uint32Array]"]=!0,le["[object Arguments]"]=le["[object Array]"]=le["[object ArrayBuffer]"]=le["[object Boolean]"]=le["[object DataView]"]=le["[object Date]"]=le["[object Error]"]=le["[object Function]"]=le["[object Map]"]=le["[object Number]"]=le["[object Object]"]=le["[object RegExp]"]=le["[object Set]"]=le["[object String]"]=le["[object WeakMap]"]=!1;var pe=function(e){return K(e)&&se(e.length)&&!!le[D(e)]};var ve=function(e){return function(t){return e(t)}},he=f(function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r&&s.process,a=function(){try{var e=n&&n.require&&n.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}),de=he&&he.isTypedArray,ye=de?ve(de):pe,be=Object.prototype.hasOwnProperty;var _e=function(e,t){var r=ne(e),n=!r&&re(e),o=!r&&!n&&ae(e),a=!r&&!n&&!o&&ye(e),i=r||n||o||a,u=i?J(e.length,String):[],c=u.length;for(var f in e)!t&&!be.call(e,f)||i&&("length"==f||o&&("offset"==f||"parent"==f)||a&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||ce(f,c))||u.push(f);return u},ge=Object.prototype;var me=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ge)};var je=function(e,t){return function(r){return e(t(r))}},Oe=je(Object.keys,Object),we=Object.prototype.hasOwnProperty;var De=function(e){if(!me(e))return Oe(e);var t=[];for(var r in Object(e))we.call(e,r)&&"constructor"!=r&&t.push(r);return t};var Ee=function(e){return null!=e&&se(e.length)&&!N(e)};var Se=function(e){return Ee(e)?_e(e):De(e)};var Re=function(e,t){return e&&G(e,t,Se)};var ke=function(){this.__data__=[],this.size=0};var xe=function(e,t){return e===t||e!=e&&t!=t};var Pe=function(e,t){for(var r=e.length;r--;)if(xe(e[r][0],t))return r;return-1},Ne=Array.prototype.splice;var Te=function(e){var t=this.__data__,r=Pe(t,e);return!(r<0||(r==t.length-1?t.pop():Ne.call(t,r,1),--this.size,0))};var Ae=function(e){var t=this.__data__,r=Pe(t,e);return r<0?void 0:t[r][1]};var Ce=function(e){return Pe(this.__data__,e)>-1};var Ye=function(e,t){var r=this.__data__,n=Pe(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function ze(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ze.prototype.clear=ke,ze.prototype.delete=Te,ze.prototype.get=Ae,ze.prototype.has=Ce,ze.prototype.set=Ye;var Le=ze;var We=function(){this.__data__=new Le,this.size=0};var Fe=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};var Me=function(e){return this.__data__.get(e)};var He=function(e){return this.__data__.has(e)},Ie=V(p,"Map"),$e=V(Object,"create");var Ue=function(){this.__data__=$e?$e(null):{},this.size=0};var Ve=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Be="__lodash_hash_undefined__",qe=Object.prototype.hasOwnProperty;var Ge=function(e){var t=this.__data__;if($e){var r=t[e];return r===Be?void 0:r}return qe.call(t,e)?t[e]:void 0},Je=Object.prototype.hasOwnProperty;var Ke=function(e){var t=this.__data__;return $e?void 0!==t[e]:Je.call(t,e)},Qe="__lodash_hash_undefined__";var Xe=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=$e&&void 0===t?Qe:t,this};function Ze(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ze.prototype.clear=Ue,Ze.prototype.delete=Ve,Ze.prototype.get=Ge,Ze.prototype.has=Ke,Ze.prototype.set=Xe;var et=Ze;var tt=function(){this.size=0,this.__data__={hash:new et,map:new(Ie||Le),string:new et}};var rt=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var nt=function(e,t){var r=e.__data__;return rt(t)?r["string"==typeof t?"string":"hash"]:r.map};var ot=function(e){var t=nt(this,e).delete(e);return this.size-=t?1:0,t};var at=function(e){return nt(this,e).get(e)};var it=function(e){return nt(this,e).has(e)};var ut=function(e,t){var r=nt(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function ct(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ct.prototype.clear=tt,ct.prototype.delete=ot,ct.prototype.get=at,ct.prototype.has=it,ct.prototype.set=ut;var ft=ct,st=200;var lt=function(e,t){var r=this.__data__;if(r instanceof Le){var n=r.__data__;if(!Ie||n.length<st-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ft(n)}return r.set(e,t),this.size=r.size,this};function pt(e){var t=this.__data__=new Le(e);this.size=t.size}pt.prototype.clear=We,pt.prototype.delete=Fe,pt.prototype.get=Me,pt.prototype.has=He,pt.prototype.set=lt;var vt=pt,ht="__lodash_hash_undefined__";var dt=function(e){return this.__data__.set(e,ht),this};var yt=function(e){return this.__data__.has(e)};function bt(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new ft;++t<r;)this.add(e[t])}bt.prototype.add=bt.prototype.push=dt,bt.prototype.has=yt;var _t=bt;var gt=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var mt=function(e,t){return e.has(t)},jt=1,Ot=2;var wt=function(e,t,r,n,o,a){var i=r&jt,u=e.length,c=t.length;if(u!=c&&!(i&&c>u))return!1;var f=a.get(e);if(f&&a.get(t))return f==t;var s=-1,l=!0,p=r&Ot?new _t:void 0;for(a.set(e,t),a.set(t,e);++s<u;){var v=e[s],h=t[s];if(n)var d=i?n(h,v,s,t,e,a):n(v,h,s,e,t,a);if(void 0!==d){if(d)continue;l=!1;break}if(p){if(!gt(t,function(e,t){if(!mt(p,t)&&(v===e||o(v,e,r,n,a)))return p.push(t)})){l=!1;break}}else if(v!==h&&!o(v,h,r,n,a)){l=!1;break}}return a.delete(e),a.delete(t),l},Dt=p.Uint8Array;var Et=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r};var St=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r},Rt=1,kt=2,xt="[object Boolean]",Pt="[object Date]",Nt="[object Error]",Tt="[object Map]",At="[object Number]",Ct="[object RegExp]",Yt="[object Set]",zt="[object String]",Lt="[object Symbol]",Wt="[object ArrayBuffer]",Ft="[object DataView]",Mt=v?v.prototype:void 0,Ht=Mt?Mt.valueOf:void 0;var It=function(e,t,r,n,o,a,i){switch(r){case Ft:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Wt:return!(e.byteLength!=t.byteLength||!a(new Dt(e),new Dt(t)));case xt:case Pt:case At:return xe(+e,+t);case Nt:return e.name==t.name&&e.message==t.message;case Ct:case zt:return e==t+"";case Tt:var u=Et;case Yt:var c=n&Rt;if(u||(u=St),e.size!=t.size&&!c)return!1;var f=i.get(e);if(f)return f==t;n|=kt,i.set(e,t);var s=wt(u(e),u(t),n,o,a,i);return i.delete(e),s;case Lt:if(Ht)return Ht.call(e)==Ht.call(t)}return!1};var $t=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e};var Ut=function(e,t,r){var n=t(e);return ne(e)?n:$t(n,r(e))};var Vt=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a};var Bt=function(){return[]},qt=Object.prototype.propertyIsEnumerable,Gt=Object.getOwnPropertySymbols,Jt=Gt?function(e){return null==e?[]:(e=Object(e),Vt(Gt(e),function(t){return qt.call(e,t)}))}:Bt;var Kt=function(e){return Ut(e,Se,Jt)},Qt=1,Xt=Object.prototype.hasOwnProperty;var Zt=function(e,t,r,n,o,a){var i=r&Qt,u=Kt(e),c=u.length;if(c!=Kt(t).length&&!i)return!1;for(var f=c;f--;){var s=u[f];if(!(i?s in t:Xt.call(t,s)))return!1}var l=a.get(e);if(l&&a.get(t))return l==t;var p=!0;a.set(e,t),a.set(t,e);for(var v=i;++f<c;){var h=e[s=u[f]],d=t[s];if(n)var y=i?n(d,h,s,t,e,a):n(h,d,s,e,t,a);if(!(void 0===y?h===d||o(h,d,r,n,a):y)){p=!1;break}v||(v="constructor"==s)}if(p&&!v){var b=e.constructor,_=t.constructor;b!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(p=!1)}return a.delete(e),a.delete(t),p},er=V(p,"DataView"),tr=V(p,"Promise"),rr=V(p,"Set"),nr=V(p,"WeakMap"),or=z(er),ar=z(Ie),ir=z(tr),ur=z(rr),cr=z(nr),fr=D;(er&&"[object DataView]"!=fr(new er(new ArrayBuffer(1)))||Ie&&"[object Map]"!=fr(new Ie)||tr&&"[object Promise]"!=fr(tr.resolve())||rr&&"[object Set]"!=fr(new rr)||nr&&"[object WeakMap]"!=fr(new nr))&&(fr=function(e){var t=D(e),r="[object Object]"==t?e.constructor:void 0,n=r?z(r):"";if(n)switch(n){case or:return"[object DataView]";case ar:return"[object Map]";case ir:return"[object Promise]";case ur:return"[object Set]";case cr:return"[object WeakMap]"}return t});var sr=fr,lr=1,pr="[object Arguments]",vr="[object Array]",hr="[object Object]",dr=Object.prototype.hasOwnProperty;var yr=function(e,t,r,n,o,a){var i=ne(e),u=ne(t),c=i?vr:sr(e),f=u?vr:sr(t),s=(c=c==pr?hr:c)==hr,l=(f=f==pr?hr:f)==hr,p=c==f;if(p&&ae(e)){if(!ae(t))return!1;i=!0,s=!1}if(p&&!s)return a||(a=new vt),i||ye(e)?wt(e,t,r,n,o,a):It(e,t,c,r,n,o,a);if(!(r&lr)){var v=s&&dr.call(e,"__wrapped__"),h=l&&dr.call(t,"__wrapped__");if(v||h){var d=v?e.value():e,y=h?t.value():t;return a||(a=new vt),o(d,y,r,n,a)}}return!!p&&(a||(a=new vt),Zt(e,t,r,n,o,a))};var br=function e(t,r,n,o,a){return t===r||(null==t||null==r||!K(t)&&!K(r)?t!=t&&r!=r:yr(t,r,n,o,e,a))},_r=1,gr=2;var mr=function(e,t,r,n){var o=r.length,a=o,i=!n;if(null==e)return!a;for(e=Object(e);o--;){var u=r[o];if(i&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<a;){var c=(u=r[o])[0],f=e[c],s=u[1];if(i&&u[2]){if(void 0===f&&!(c in e))return!1}else{var l=new vt;if(n)var p=n(f,s,c,e,t,l);if(!(void 0===p?br(s,f,_r|gr,n,l):p))return!1}}return!0};var jr=function(e){return e==e&&!E(e)};var Or=function(e){for(var t=Se(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,jr(o)]}return t};var wr=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}};var Dr=function(e){var t=Or(e);return 1==t.length&&t[0][2]?wr(t[0][0],t[0][1]):function(r){return r===e||mr(r,e,t)}},Er="[object Symbol]";var Sr=function(e){return"symbol"==typeof e||K(e)&&D(e)==Er},Rr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kr=/^\w*$/;var xr=function(e,t){if(ne(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Sr(e))||kr.test(e)||!Rr.test(e)||null!=t&&e in Object(t)},Pr="Expected a function";function Nr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Pr);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Nr.Cache||ft),r}Nr.Cache=ft;var Tr=Nr,Ar=500;var Cr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yr=/\\(\\)?/g,zr=function(e){var t=Tr(e,function(e){return r.size===Ar&&r.clear(),e}),r=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Cr,function(e,r,n,o){t.push(n?o.replace(Yr,"$1"):r||e)}),t});var Lr=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o},Wr=1/0,Fr=v?v.prototype:void 0,Mr=Fr?Fr.toString:void 0;var Hr=function e(t){if("string"==typeof t)return t;if(ne(t))return Lr(t,e)+"";if(Sr(t))return Mr?Mr.call(t):"";var r=t+"";return"0"==r&&1/t==-Wr?"-0":r};var Ir=function(e){return null==e?"":Hr(e)};var $r=function(e,t){return ne(e)?e:xr(e,t)?[e]:zr(Ir(e))},Ur=1/0;var Vr=function(e){if("string"==typeof e||Sr(e))return e;var t=e+"";return"0"==t&&1/e==-Ur?"-0":t};var Br=function(e,t){for(var r=0,n=(t=$r(t,e)).length;null!=e&&r<n;)e=e[Vr(t[r++])];return r&&r==n?e:void 0};var qr=function(e,t,r){var n=null==e?void 0:Br(e,t);return void 0===n?r:n};var Gr=function(e,t){return null!=e&&t in Object(e)};var Jr=function(e,t,r){for(var n=-1,o=(t=$r(t,e)).length,a=!1;++n<o;){var i=Vr(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&se(o)&&ce(i,o)&&(ne(e)||re(e))};var Kr=function(e,t){return null!=e&&Jr(e,t,Gr)},Qr=1,Xr=2;var Zr=function(e,t){return xr(e)&&jr(t)?wr(Vr(e),t):function(r){var n=qr(r,e);return void 0===n&&n===t?Kr(r,e):br(t,n,Qr|Xr)}};var en=function(e){return e};var tn=function(e){return function(t){return null==t?void 0:t[e]}};var rn=function(e){return function(t){return Br(t,e)}};var nn=function(e){return xr(e)?tn(Vr(e)):rn(e)};var on=function(e){return"function"==typeof e?e:null==e?en:"object"==typeof e?ne(e)?Zr(e[0],e[1]):Dr(e):nn(e)};var an=function(e,t){var r={};return t=on(t),Re(e,function(e,n,o){q(r,n,t(e,n,o))}),r};var un=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},cn=Math.max;var fn=function(e,t,r){return t=cn(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=cn(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=n[o];return u[t]=r(i),un(e,this,u)}};var sn=function(e){return function(){return e}},ln=B?function(e,t){return B(e,"toString",{configurable:!0,enumerable:!1,value:sn(t),writable:!0})}:en,pn=800,vn=16,hn=Date.now;var dn=function(e){var t=0,r=0;return function(){var n=hn(),o=vn-(n-r);if(r=n,o>0){if(++t>=pn)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ln);var yn=function(e,t){return dn(fn(e,t,en),e+"")};var bn=function(e,t,r){if(!E(r))return!1;var n=typeof t;return!!("number"==n?Ee(r)&&ce(t,r.length):"string"==n&&t in r)&&xe(r[t],e)};var _n=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t},gn=Object.prototype.hasOwnProperty;var mn=function(e){if(!E(e))return _n(e);var t=me(e),r=[];for(var n in e)("constructor"!=n||!t&&gn.call(e,n))&&r.push(n);return r};var jn,On=function(e){return Ee(e)?_e(e,!0):mn(e)},wn=Object.prototype,Dn=wn.hasOwnProperty,En=yn(function(e,t){e=Object(e);var r=-1,n=t.length,o=n>2?t[2]:void 0;for(o&&bn(t[0],t[1],o)&&(n=1);++r<n;)for(var a=t[r],i=On(a),u=-1,c=i.length;++u<c;){var f=i[u],s=e[f];(void 0===s||xe(s,wn[f])&&!Dn.call(e,f))&&(e[f]=a[f])}return e}),Sn={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},Rn="http://bit.ly/wdyr02",kn="http://bit.ly/wdyr3",xn=(t(jn={},Sn.different,"different objects."),t(jn,Sn.deepEquals,"different objects that are equal by value."),t(jn,Sn.date,"different date objects with the same value."),t(jn,Sn.regex,"different regular expressions with the same value."),t(jn,Sn.reactElement,"different React elements with the same displayName."),t(jn,Sn.function,"different functions with the same name."),jn),Pn=!1;function Nn(e){var r=e.Component,n=e.displayName,o=e.hookName,a=e.prefixMessage,i=e.diffObjType,u=e.differences,c=e.values,f=e.options;u&&u.length>0?(f.consoleLog(t({},n,r),"".concat(a," of ").concat(i," changes:")),u.forEach(function(e){var r=e.pathString,n=e.diffType,a=e.prevValue,u=e.nextValue;f.consoleGroup("%c".concat("hook"===i?"[hook ".concat(o," result]"):"".concat(i,"."),"%c").concat(r,"%c"),"color:".concat(f.diffNameColor,";"),"color:".concat(f.diffPathColor,";"),"color:default;"),f.consoleLog("".concat(xn[n]," (more info at ").concat(o?kn:Rn,")")),f.consoleLog(t({},"prev ".concat(r),a),"!==",t({},"next ".concat(r),u)),f.consoleGroupEnd()})):u&&(f.consoleLog(t({},n,r),"".concat(a," the ").concat(i," object itself changed but it's values are all equal."),"props"===i?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(Rn)),f.consoleLog("prev ".concat(i,":"),c.prev," !== ",c.next,":next ".concat(i)))}function Tn(e){var r=e.Component,n=e.displayName,o=e.hookName,a=e.prevProps,i=e.prevState,u=e.prevHook,c=e.nextProps,f=e.nextState,s=e.nextHook,l=e.reason,p=e.options;if(function(e,t,r){return!(Pn||!r.logOnDifferentValues&&(!t.whyDidYouRender||!t.whyDidYouRender.logOnDifferentValues)&&(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===Sn.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===Sn.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===Sn.different})))}(l,r,p)){p.consoleGroup("%c".concat(n),"color: ".concat(p.titleColor,";"));var v="Re-rendered because";l.propsDifferences&&(Nn({Component:r,displayName:n,prefixMessage:v,diffObjType:"props",differences:l.propsDifferences,values:{prev:a,next:c},options:p}),v="And because"),l.stateDifferences&&Nn({Component:r,displayName:n,prefixMessage:v,diffObjType:"state",differences:l.stateDifferences,values:{prev:i,next:f},options:p}),l.hookDifferences&&Nn({Component:r,displayName:n,prefixMessage:v,diffObjType:"hook",differences:l.hookDifferences,values:{prev:u,next:s},hookName:o,options:p}),l.propsDifferences||l.stateDifferences||l.hookDifferences||p.consoleLog(t({},n,r),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(Rn)),p.consoleGroupEnd()}}var An=function(){};function Cn(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=console.group,o=console.groupEnd;return t.collapseGroups?n=console.groupCollapsed:t.onlyLogs&&(n=console.log,o=An),r({include:null,exclude:null,notifier:t.notifier||((e=t.hasOwnProperty("hotReloadBufferMs")?t.hotReloadBufferMs:500)&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(t){"idle"===t&&(Pn=!0,setTimeout(function(){Pn=!1},e))}),Tn),onlyLogs:!1,consoleLog:console.log,consoleGroup:n,consoleGroupEnd:o,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},t)}var Yn="[object String]";var zn=function(e){return"string"==typeof e||!ne(e)&&K(e)&&D(e)==Yn};function Ln(e){return e.displayName||e.name||e.type&&Ln(e.type)||(zn(e)?e:void 0)}var Wn=function(e,t,r,n){var o=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++o]);++o<a;)r=t(r,e[o],o,e);return r};var Fn=function(e,t){return function(r,n){if(null==r)return r;if(!Ee(r))return e(r,n);for(var o=r.length,a=t?o:-1,i=Object(r);(t?a--:++a<o)&&!1!==n(i[a],a,i););return r}}(Re);var Mn=function(e,t,r,n,o){return o(e,function(e,o,a){r=n?(n=!1,e):t(r,e,o,a)}),r};var Hn=function(e,t,r){var n=ne(e)?Wn:Mn,o=arguments.length<3;return n(e,on(t),r,o,Fn)},In=Object.prototype.hasOwnProperty;var $n=function(e,t){return null!=e&&In.call(e,t)};var Un=function(e,t){return null!=e&&Jr(e,t,$n)},Vn="[object RegExp]";var Bn=function(e){return K(e)&&D(e)==Vn},qn=he&&he.isRegExp,Gn=qn?ve(qn):Bn,Jn="[object Date]";var Kn=function(e){return K(e)&&D(e)==Jn},Qn=he&&he.isDate,Xn=Qn?ve(Qn):Kn,Zn=je(Object.getPrototypeOf,Object),eo="[object Object]",to=Function.prototype,ro=Object.prototype,no=to.toString,oo=ro.hasOwnProperty,ao=no.call(Object);var io=function(e){if(!K(e)||D(e)!=eo)return!1;var t=Zn(e);if(null===t)return!0;var r=oo.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&no.call(r)==ao},uo="undefined"!=typeof Element,co="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,fo=function(e){return e.$$typeof===co};function so(e,t,r,n,o){return r.push({diffType:o,pathString:n,prevValue:e,nextValue:t}),o!==Sn.different}function lo(e,t,r){try{var n=[];return function e(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(t===r)return!0;if(!t||!r)return so(t,r,n,o,Sn.different);if(ne(t)&&ne(r)){var a=t.length;if(a!==r.length)return so(t,r,n,o,Sn.different);for(var i=!0,u=a;0!=u--;)e(t[u],r[u],n,"".concat(o,"[").concat(u,"]"))||(i=!1);return so(t,r,n,o,i?Sn.deepEquals:Sn.different)}if(Xn(t)&&Xn(r))return t.getTime()===r.getTime()?so(t,r,n,o,Sn.date):so(t,r,n,o,Sn.different);if(Gn(t)&&Gn(r))return t.toString()===r.toString()?so(t,r,n,o,Sn.regex):so(t,r,n,o,Sn.different);if(uo&&t instanceof Element&&r instanceof Element)return so(t,r,n,o,Sn.different);if(fo(t)&&fo(r))return t.type!==r.type?so(t,r,n,o,Sn.different):so(t,r,n,o,e(t.props,r.props,n,"".concat(o,".props"))?Sn.reactElement:Sn.different);if(N(t)&&N(r))return t.name===r.name?so(t,r,n,o,Sn.function):so(t,r,n,o,Sn.different);if(io(t)&&io(r)){var c=Se(t),f=c.length;if(f!==Se(r).length)return so(t,r,n,o,Sn.different);for(var s=f;0!=s--;)if(!Un(r,c[s]))return so(t,r,n,o,Sn.different);for(var l=!0,p=f;0!=p--;){var v=c[p];e(t[v],r[v],n,"".concat(o,".").concat(v))||(l=!1)}return so(t,r,n,o,l?Sn.deepEquals:Sn.different)}return so(t,r,n,o,Sn.different)}(e,t,n,r),n}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var po={};function vo(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===t)return!1;if(!(void 0===n||n))return lo(e,t);var o=e||po,a=t||po,i=Object.keys(r({},o,a));return Hn(i,function(e,t){var r=lo(o[t],a[t],t);return r&&(e=[].concat(u(e),u(r))),e},[])}function ho(e,t,r,n,o,a){return{propsDifferences:vo(e,n),stateDifferences:vo(t,o),hookDifferences:vo(r,a,{shallow:!1})}}function yo(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,a=e.prevState,i=e.prevHook,u=e.nextProps,c=e.nextState,f=e.nextHook;return{Component:t,displayName:r,hookName:n,prevProps:o,prevState:a,prevHook:i,nextProps:u,nextState:c,nextHook:f,options:e.options,reason:ho(o,a,i,u,c,f)}}function bo(e,t,r){return!function(e,t){return t.exclude&&t.exclude.length>0&&t.exclude.some(function(t){return t.test(e)})}(t,r)&&!(!e.whyDidYouRender&&!function(e,t){return t.include&&t.include.length>0&&t.include.some(function(t){return t.test(e)})}(t,r))}var _o=2;var go="function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115;function mo(t,r,u,c){var f=function(u){function f(e,r){var o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(o=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?a(e):t}(this,n(f).call(this,e,r)))._WDYR={renderNumber:0};var u=i(n(f.prototype),"render",a(o))||o.render;return u!==t.prototype.render&&(o.render=function(){return f.prototype.render.apply(a(o)),u()}),o}var s,l,p;return 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&&o(e,t)}(f,t),s=f,(l=[{key:"render",value:function(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=function(e){for(var t=e._reactInternalFiber;null!==t;){if(t.mode&_o)return!0;t=t.return}return!1}(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&c.notifier(yo({Component:t,displayName:r,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:c})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),i(n(f.prototype),"render",this)?i(n(f.prototype),"render",this).call(this):null}}])&&e(s.prototype,l),p&&e(s,p),f}();return f.displayName=r,En(f,t),f}function jo(e,t,r,n,o){return t.$$typeof===go?function(e,t,r,n){var o=e.type;function a(a){var i=r.useRef(),u=i.current;if(i.current=a,u){var c=yo({Component:e,displayName:t,prevProps:u,nextProps:a,options:n});c.reason.propsDifferences&&c.reason.propsDifferences.length>0&&n.notifier(c)}return o(a)}a.displayName=Ln(o),a.ComponentForHooksTracking=e,En(a,o);var i=r.memo(a,e.compare);return i.displayName=t,En(i,e),i}(t,r,n,o):t.prototype&&t.prototype.isReactComponent?mo(t,r,0,o):function(e,t,r,n){function o(o){var a=r.useRef(),i=a.current;if(a.current=o,i){var u=yo({Component:e,displayName:t,prevProps:i,nextProps:o,options:n});u.reason.propsDifferences&&n.notifier(u)}return e(o)}return o.displayName=t,o.ComponentForHooksTracking=e,En(o,e),o}(t,r,n,o)}var Oo={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function wo(e,t){var n,o=Cn(t),a=e.createElement,i=e.createFactory,u=new WeakMap;if(e.createElement=function(t){for(var r=null,n=null,i=null,c=arguments.length,f=new Array(c>1?c-1:0),s=1;s<c;s++)f[s-1]=arguments[s];try{if(r=("function"==typeof t||t.$$typeof===go)&&bo(t,Ln(t),o))return n=t&&t.whyDidYouRender&&t.whyDidYouRender.customName||Ln(t),i=function(e,t,r,n,o){if(e.has(t))return e.get(t);var a=jo(0,t,r,n,o);return e.set(t,a),a}(u,t,n,e,o),a.apply(e,[i].concat(f))}catch(e){o.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{componentNameOrComponent:t,rest:f,options:o,isShouldTrack:r,displayName:n,WDYRPatchedComponent:i}})}return a.apply(e,[t].concat(f))},Object.assign(e.createElement,a),e.createFactory=function(t){var r=e.createElement.bind(null,t);return r.type=t,r},Object.assign(e.createFactory,i),o.trackHooks){var c=an(Oo,function(t,r){return function(){var a=n[r];if(!a)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var i=a.apply(void 0,arguments);return t&&function(e,t,r,n,o){var a=t.path,i=r,u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!u)return i;var c=u.type.ComponentForHooksTracking||u.type,f=Ln(c);if(!bo(c,f,o))return i;var s=n.useRef(),l=s.current;if(s.current=i,l){var p=yo({Component:c,displayName:f,hookName:e,prevHook:a?qr(l,a):l,nextHook:a?qr(i,a):i,options:o});p.reason.hookDifferences&&o.notifier(p)}s.current}(r,!0===t?{}:t,i,e,o),i}});Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){n=e&&r({},e,e.origHooks)},get:function(){return n&&r({},n,c,{origHooks:n})}})}return e.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(e,{createElement:a,createFactory:i}),u=null,Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:n}),delete e.__REVERT_WHY_DID_YOU_RENDER__},e}return wo.defaultNotifier=Tn,wo});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).whyDidYouRender=t()}(this,function(){"use strict";function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(r){t(e,r,n[r])})}return e}function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,r){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e}(e,t);if(o){var a=Object.getOwnPropertyDescriptor(o,t);return a.get?a.get.call(r):a.value}})(e,t,r||e)}function u(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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")}()}var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function f(e,t){return e(t={exports:{}},t.exports),t.exports}var s="object"==typeof c&&c&&c.Object===Object&&c,l="object"==typeof self&&self&&self.Object===Object&&self,p=s||l||Function("return this")(),v=p.Symbol,h=Object.prototype,d=h.hasOwnProperty,y=h.toString,b=v?v.toStringTag:void 0;var _=function(e){var t=d.call(e,b),r=e[b];try{e[b]=void 0;var n=!0}catch(e){}var o=y.call(e);return n&&(t?e[b]=r:delete e[b]),o},g=Object.prototype.toString;var m=function(e){return g.call(e)},j="[object Null]",O="[object Undefined]",w=v?v.toStringTag:void 0;var D=function(e){return null==e?void 0===e?O:j:w&&w in Object(e)?_(e):m(e)};var E=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},S="[object AsyncFunction]",R="[object Function]",k="[object GeneratorFunction]",x="[object Proxy]";var P,N=function(e){if(!E(e))return!1;var t=D(e);return t==R||t==k||t==S||t==x},T=p["__core-js_shared__"],A=(P=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+P:"";var C=function(e){return!!A&&A in e},Y=Function.prototype.toString;var z=function(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""},L=/^\[object .+?Constructor\]$/,W=Function.prototype,F=Object.prototype,M=W.toString,H=F.hasOwnProperty,I=RegExp("^"+M.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var $=function(e){return!(!E(e)||C(e))&&(N(e)?I:L).test(z(e))};var U=function(e,t){return null==e?void 0:e[t]};var V=function(e,t){var r=U(e,t);return $(r)?r:void 0},B=function(){try{var e=V(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var q=function(e,t,r){"__proto__"==t&&B?B(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};var G=function(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),u=i.length;u--;){var c=i[e?u:++o];if(!1===r(a[c],c,a))break}return t}}();var J=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};var K=function(e){return null!=e&&"object"==typeof e},Q="[object Arguments]";var X=function(e){return K(e)&&D(e)==Q},Z=Object.prototype,ee=Z.hasOwnProperty,te=Z.propertyIsEnumerable,re=X(function(){return arguments}())?X:function(e){return K(e)&&ee.call(e,"callee")&&!te.call(e,"callee")},ne=Array.isArray;var oe=function(){return!1},ae=f(function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?p.Buffer:void 0,a=(o?o.isBuffer:void 0)||oe;e.exports=a}),ie=9007199254740991,ue=/^(?:0|[1-9]\d*)$/;var ce=function(e,t){var r=typeof e;return!!(t=null==t?ie:t)&&("number"==r||"symbol"!=r&&ue.test(e))&&e>-1&&e%1==0&&e<t},fe=9007199254740991;var se=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=fe},le={};le["[object Float32Array]"]=le["[object Float64Array]"]=le["[object Int8Array]"]=le["[object Int16Array]"]=le["[object Int32Array]"]=le["[object Uint8Array]"]=le["[object Uint8ClampedArray]"]=le["[object Uint16Array]"]=le["[object Uint32Array]"]=!0,le["[object Arguments]"]=le["[object Array]"]=le["[object ArrayBuffer]"]=le["[object Boolean]"]=le["[object DataView]"]=le["[object Date]"]=le["[object Error]"]=le["[object Function]"]=le["[object Map]"]=le["[object Number]"]=le["[object Object]"]=le["[object RegExp]"]=le["[object Set]"]=le["[object String]"]=le["[object WeakMap]"]=!1;var pe=function(e){return K(e)&&se(e.length)&&!!le[D(e)]};var ve=function(e){return function(t){return e(t)}},he=f(function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r&&s.process,a=function(){try{var e=n&&n.require&&n.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}),de=he&&he.isTypedArray,ye=de?ve(de):pe,be=Object.prototype.hasOwnProperty;var _e=function(e,t){var r=ne(e),n=!r&&re(e),o=!r&&!n&&ae(e),a=!r&&!n&&!o&&ye(e),i=r||n||o||a,u=i?J(e.length,String):[],c=u.length;for(var f in e)!t&&!be.call(e,f)||i&&("length"==f||o&&("offset"==f||"parent"==f)||a&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||ce(f,c))||u.push(f);return u},ge=Object.prototype;var me=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ge)};var je=function(e,t){return function(r){return e(t(r))}},Oe=je(Object.keys,Object),we=Object.prototype.hasOwnProperty;var De=function(e){if(!me(e))return Oe(e);var t=[];for(var r in Object(e))we.call(e,r)&&"constructor"!=r&&t.push(r);return t};var Ee=function(e){return null!=e&&se(e.length)&&!N(e)};var Se=function(e){return Ee(e)?_e(e):De(e)};var Re=function(e,t){return e&&G(e,t,Se)};var ke=function(){this.__data__=[],this.size=0};var xe=function(e,t){return e===t||e!=e&&t!=t};var Pe=function(e,t){for(var r=e.length;r--;)if(xe(e[r][0],t))return r;return-1},Ne=Array.prototype.splice;var Te=function(e){var t=this.__data__,r=Pe(t,e);return!(r<0||(r==t.length-1?t.pop():Ne.call(t,r,1),--this.size,0))};var Ae=function(e){var t=this.__data__,r=Pe(t,e);return r<0?void 0:t[r][1]};var Ce=function(e){return Pe(this.__data__,e)>-1};var Ye=function(e,t){var r=this.__data__,n=Pe(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function ze(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ze.prototype.clear=ke,ze.prototype.delete=Te,ze.prototype.get=Ae,ze.prototype.has=Ce,ze.prototype.set=Ye;var Le=ze;var We=function(){this.__data__=new Le,this.size=0};var Fe=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};var Me=function(e){return this.__data__.get(e)};var He=function(e){return this.__data__.has(e)},Ie=V(p,"Map"),$e=V(Object,"create");var Ue=function(){this.__data__=$e?$e(null):{},this.size=0};var Ve=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Be="__lodash_hash_undefined__",qe=Object.prototype.hasOwnProperty;var Ge=function(e){var t=this.__data__;if($e){var r=t[e];return r===Be?void 0:r}return qe.call(t,e)?t[e]:void 0},Je=Object.prototype.hasOwnProperty;var Ke=function(e){var t=this.__data__;return $e?void 0!==t[e]:Je.call(t,e)},Qe="__lodash_hash_undefined__";var Xe=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=$e&&void 0===t?Qe:t,this};function Ze(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ze.prototype.clear=Ue,Ze.prototype.delete=Ve,Ze.prototype.get=Ge,Ze.prototype.has=Ke,Ze.prototype.set=Xe;var et=Ze;var tt=function(){this.size=0,this.__data__={hash:new et,map:new(Ie||Le),string:new et}};var rt=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var nt=function(e,t){var r=e.__data__;return rt(t)?r["string"==typeof t?"string":"hash"]:r.map};var ot=function(e){var t=nt(this,e).delete(e);return this.size-=t?1:0,t};var at=function(e){return nt(this,e).get(e)};var it=function(e){return nt(this,e).has(e)};var ut=function(e,t){var r=nt(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function ct(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ct.prototype.clear=tt,ct.prototype.delete=ot,ct.prototype.get=at,ct.prototype.has=it,ct.prototype.set=ut;var ft=ct,st=200;var lt=function(e,t){var r=this.__data__;if(r instanceof Le){var n=r.__data__;if(!Ie||n.length<st-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ft(n)}return r.set(e,t),this.size=r.size,this};function pt(e){var t=this.__data__=new Le(e);this.size=t.size}pt.prototype.clear=We,pt.prototype.delete=Fe,pt.prototype.get=Me,pt.prototype.has=He,pt.prototype.set=lt;var vt=pt,ht="__lodash_hash_undefined__";var dt=function(e){return this.__data__.set(e,ht),this};var yt=function(e){return this.__data__.has(e)};function bt(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new ft;++t<r;)this.add(e[t])}bt.prototype.add=bt.prototype.push=dt,bt.prototype.has=yt;var _t=bt;var gt=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var mt=function(e,t){return e.has(t)},jt=1,Ot=2;var wt=function(e,t,r,n,o,a){var i=r&jt,u=e.length,c=t.length;if(u!=c&&!(i&&c>u))return!1;var f=a.get(e);if(f&&a.get(t))return f==t;var s=-1,l=!0,p=r&Ot?new _t:void 0;for(a.set(e,t),a.set(t,e);++s<u;){var v=e[s],h=t[s];if(n)var d=i?n(h,v,s,t,e,a):n(v,h,s,e,t,a);if(void 0!==d){if(d)continue;l=!1;break}if(p){if(!gt(t,function(e,t){if(!mt(p,t)&&(v===e||o(v,e,r,n,a)))return p.push(t)})){l=!1;break}}else if(v!==h&&!o(v,h,r,n,a)){l=!1;break}}return a.delete(e),a.delete(t),l},Dt=p.Uint8Array;var Et=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r};var St=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r},Rt=1,kt=2,xt="[object Boolean]",Pt="[object Date]",Nt="[object Error]",Tt="[object Map]",At="[object Number]",Ct="[object RegExp]",Yt="[object Set]",zt="[object String]",Lt="[object Symbol]",Wt="[object ArrayBuffer]",Ft="[object DataView]",Mt=v?v.prototype:void 0,Ht=Mt?Mt.valueOf:void 0;var It=function(e,t,r,n,o,a,i){switch(r){case Ft:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Wt:return!(e.byteLength!=t.byteLength||!a(new Dt(e),new Dt(t)));case xt:case Pt:case At:return xe(+e,+t);case Nt:return e.name==t.name&&e.message==t.message;case Ct:case zt:return e==t+"";case Tt:var u=Et;case Yt:var c=n&Rt;if(u||(u=St),e.size!=t.size&&!c)return!1;var f=i.get(e);if(f)return f==t;n|=kt,i.set(e,t);var s=wt(u(e),u(t),n,o,a,i);return i.delete(e),s;case Lt:if(Ht)return Ht.call(e)==Ht.call(t)}return!1};var $t=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e};var Ut=function(e,t,r){var n=t(e);return ne(e)?n:$t(n,r(e))};var Vt=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a};var Bt=function(){return[]},qt=Object.prototype.propertyIsEnumerable,Gt=Object.getOwnPropertySymbols,Jt=Gt?function(e){return null==e?[]:(e=Object(e),Vt(Gt(e),function(t){return qt.call(e,t)}))}:Bt;var Kt=function(e){return Ut(e,Se,Jt)},Qt=1,Xt=Object.prototype.hasOwnProperty;var Zt=function(e,t,r,n,o,a){var i=r&Qt,u=Kt(e),c=u.length;if(c!=Kt(t).length&&!i)return!1;for(var f=c;f--;){var s=u[f];if(!(i?s in t:Xt.call(t,s)))return!1}var l=a.get(e);if(l&&a.get(t))return l==t;var p=!0;a.set(e,t),a.set(t,e);for(var v=i;++f<c;){var h=e[s=u[f]],d=t[s];if(n)var y=i?n(d,h,s,t,e,a):n(h,d,s,e,t,a);if(!(void 0===y?h===d||o(h,d,r,n,a):y)){p=!1;break}v||(v="constructor"==s)}if(p&&!v){var b=e.constructor,_=t.constructor;b!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(p=!1)}return a.delete(e),a.delete(t),p},er=V(p,"DataView"),tr=V(p,"Promise"),rr=V(p,"Set"),nr=V(p,"WeakMap"),or=z(er),ar=z(Ie),ir=z(tr),ur=z(rr),cr=z(nr),fr=D;(er&&"[object DataView]"!=fr(new er(new ArrayBuffer(1)))||Ie&&"[object Map]"!=fr(new Ie)||tr&&"[object Promise]"!=fr(tr.resolve())||rr&&"[object Set]"!=fr(new rr)||nr&&"[object WeakMap]"!=fr(new nr))&&(fr=function(e){var t=D(e),r="[object Object]"==t?e.constructor:void 0,n=r?z(r):"";if(n)switch(n){case or:return"[object DataView]";case ar:return"[object Map]";case ir:return"[object Promise]";case ur:return"[object Set]";case cr:return"[object WeakMap]"}return t});var sr=fr,lr=1,pr="[object Arguments]",vr="[object Array]",hr="[object Object]",dr=Object.prototype.hasOwnProperty;var yr=function(e,t,r,n,o,a){var i=ne(e),u=ne(t),c=i?vr:sr(e),f=u?vr:sr(t),s=(c=c==pr?hr:c)==hr,l=(f=f==pr?hr:f)==hr,p=c==f;if(p&&ae(e)){if(!ae(t))return!1;i=!0,s=!1}if(p&&!s)return a||(a=new vt),i||ye(e)?wt(e,t,r,n,o,a):It(e,t,c,r,n,o,a);if(!(r&lr)){var v=s&&dr.call(e,"__wrapped__"),h=l&&dr.call(t,"__wrapped__");if(v||h){var d=v?e.value():e,y=h?t.value():t;return a||(a=new vt),o(d,y,r,n,a)}}return!!p&&(a||(a=new vt),Zt(e,t,r,n,o,a))};var br=function e(t,r,n,o,a){return t===r||(null==t||null==r||!K(t)&&!K(r)?t!=t&&r!=r:yr(t,r,n,o,e,a))},_r=1,gr=2;var mr=function(e,t,r,n){var o=r.length,a=o,i=!n;if(null==e)return!a;for(e=Object(e);o--;){var u=r[o];if(i&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<a;){var c=(u=r[o])[0],f=e[c],s=u[1];if(i&&u[2]){if(void 0===f&&!(c in e))return!1}else{var l=new vt;if(n)var p=n(f,s,c,e,t,l);if(!(void 0===p?br(s,f,_r|gr,n,l):p))return!1}}return!0};var jr=function(e){return e==e&&!E(e)};var Or=function(e){for(var t=Se(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,jr(o)]}return t};var wr=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}};var Dr=function(e){var t=Or(e);return 1==t.length&&t[0][2]?wr(t[0][0],t[0][1]):function(r){return r===e||mr(r,e,t)}},Er="[object Symbol]";var Sr=function(e){return"symbol"==typeof e||K(e)&&D(e)==Er},Rr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kr=/^\w*$/;var xr=function(e,t){if(ne(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Sr(e))||kr.test(e)||!Rr.test(e)||null!=t&&e in Object(t)},Pr="Expected a function";function Nr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Pr);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Nr.Cache||ft),r}Nr.Cache=ft;var Tr=Nr,Ar=500;var Cr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yr=/\\(\\)?/g,zr=function(e){var t=Tr(e,function(e){return r.size===Ar&&r.clear(),e}),r=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Cr,function(e,r,n,o){t.push(n?o.replace(Yr,"$1"):r||e)}),t});var Lr=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o},Wr=1/0,Fr=v?v.prototype:void 0,Mr=Fr?Fr.toString:void 0;var Hr=function e(t){if("string"==typeof t)return t;if(ne(t))return Lr(t,e)+"";if(Sr(t))return Mr?Mr.call(t):"";var r=t+"";return"0"==r&&1/t==-Wr?"-0":r};var Ir=function(e){return null==e?"":Hr(e)};var $r=function(e,t){return ne(e)?e:xr(e,t)?[e]:zr(Ir(e))},Ur=1/0;var Vr=function(e){if("string"==typeof e||Sr(e))return e;var t=e+"";return"0"==t&&1/e==-Ur?"-0":t};var Br=function(e,t){for(var r=0,n=(t=$r(t,e)).length;null!=e&&r<n;)e=e[Vr(t[r++])];return r&&r==n?e:void 0};var qr=function(e,t,r){var n=null==e?void 0:Br(e,t);return void 0===n?r:n};var Gr=function(e,t){return null!=e&&t in Object(e)};var Jr=function(e,t,r){for(var n=-1,o=(t=$r(t,e)).length,a=!1;++n<o;){var i=Vr(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&se(o)&&ce(i,o)&&(ne(e)||re(e))};var Kr=function(e,t){return null!=e&&Jr(e,t,Gr)},Qr=1,Xr=2;var Zr=function(e,t){return xr(e)&&jr(t)?wr(Vr(e),t):function(r){var n=qr(r,e);return void 0===n&&n===t?Kr(r,e):br(t,n,Qr|Xr)}};var en=function(e){return e};var tn=function(e){return function(t){return null==t?void 0:t[e]}};var rn=function(e){return function(t){return Br(t,e)}};var nn=function(e){return xr(e)?tn(Vr(e)):rn(e)};var on=function(e){return"function"==typeof e?e:null==e?en:"object"==typeof e?ne(e)?Zr(e[0],e[1]):Dr(e):nn(e)};var an=function(e,t){var r={};return t=on(t),Re(e,function(e,n,o){q(r,n,t(e,n,o))}),r};var un=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},cn=Math.max;var fn=function(e,t,r){return t=cn(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=cn(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=n[o];return u[t]=r(i),un(e,this,u)}};var sn=function(e){return function(){return e}},ln=B?function(e,t){return B(e,"toString",{configurable:!0,enumerable:!1,value:sn(t),writable:!0})}:en,pn=800,vn=16,hn=Date.now;var dn=function(e){var t=0,r=0;return function(){var n=hn(),o=vn-(n-r);if(r=n,o>0){if(++t>=pn)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ln);var yn=function(e,t){return dn(fn(e,t,en),e+"")};var bn=function(e,t,r){if(!E(r))return!1;var n=typeof t;return!!("number"==n?Ee(r)&&ce(t,r.length):"string"==n&&t in r)&&xe(r[t],e)};var _n=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t},gn=Object.prototype.hasOwnProperty;var mn=function(e){if(!E(e))return _n(e);var t=me(e),r=[];for(var n in e)("constructor"!=n||!t&&gn.call(e,n))&&r.push(n);return r};var jn,On=function(e){return Ee(e)?_e(e,!0):mn(e)},wn=Object.prototype,Dn=wn.hasOwnProperty,En=yn(function(e,t){e=Object(e);var r=-1,n=t.length,o=n>2?t[2]:void 0;for(o&&bn(t[0],t[1],o)&&(n=1);++r<n;)for(var a=t[r],i=On(a),u=-1,c=i.length;++u<c;){var f=i[u],s=e[f];(void 0===s||xe(s,wn[f])&&!Dn.call(e,f))&&(e[f]=a[f])}return e}),Sn={different:"different",deepEquals:"deepEquals",date:"date",regex:"regex",reactElement:"reactElement",function:"function"},Rn="http://bit.ly/wdyr02",kn="http://bit.ly/wdyr3",xn=(t(jn={},Sn.different,"different objects."),t(jn,Sn.deepEquals,"different objects that are equal by value."),t(jn,Sn.date,"different date objects with the same value."),t(jn,Sn.regex,"different regular expressions with the same value."),t(jn,Sn.reactElement,"different React elements with the same displayName."),t(jn,Sn.function,"different functions with the same name."),jn),Pn=!1;function Nn(e){var r=e.Component,n=e.displayName,o=e.hookName,a=e.prefixMessage,i=e.diffObjType,u=e.differences,c=e.values,f=e.options;u&&u.length>0?(f.consoleLog(t({},n,r),"".concat(a," of ").concat(i," changes:")),u.forEach(function(e){var r=e.pathString,n=e.diffType,a=e.prevValue,u=e.nextValue;f.consoleGroup("%c".concat("hook"===i?"[hook ".concat(o," result]"):"".concat(i,"."),"%c").concat(r,"%c"),"color:".concat(f.diffNameColor,";"),"color:".concat(f.diffPathColor,";"),"color:default;"),f.consoleLog("".concat(xn[n]," (more info at ").concat(o?kn:Rn,")")),f.consoleLog(t({},"prev ".concat(r),a),"!==",t({},"next ".concat(r),u)),f.consoleGroupEnd()})):u&&(f.consoleLog(t({},n,r),"".concat(a," the ").concat(i," object itself changed but it's values are all equal."),"props"===i?"This could of been avoided by making the component pure, or by preventing it's father from re-rendering.":"This usually means this component called setState when no changes in it's state actually occurred.","more info at ".concat(Rn)),f.consoleLog("prev ".concat(i,":"),c.prev," !== ",c.next,":next ".concat(i)))}function Tn(e){var r=e.Component,n=e.displayName,o=e.hookName,a=e.prevProps,i=e.prevState,u=e.prevHook,c=e.nextProps,f=e.nextState,s=e.nextHook,l=e.reason,p=e.options;if(function(e,t,r){return!(Pn||!r.logOnDifferentValues&&(!t.whyDidYouRender||!t.whyDidYouRender.logOnDifferentValues)&&(e.propsDifferences&&e.propsDifferences.some(function(e){return e.diffType===Sn.different})||e.stateDifferences&&e.stateDifferences.some(function(e){return e.diffType===Sn.different})||e.hookDifferences&&e.hookDifferences.some(function(e){return e.diffType===Sn.different})))}(l,r,p)){p.consoleGroup("%c".concat(n),"color: ".concat(p.titleColor,";"));var v="Re-rendered because";l.propsDifferences&&(Nn({Component:r,displayName:n,prefixMessage:v,diffObjType:"props",differences:l.propsDifferences,values:{prev:a,next:c},options:p}),v="And because"),l.stateDifferences&&Nn({Component:r,displayName:n,prefixMessage:v,diffObjType:"state",differences:l.stateDifferences,values:{prev:i,next:f},options:p}),l.hookDifferences&&Nn({Component:r,displayName:n,prefixMessage:v,diffObjType:"hook",differences:l.hookDifferences,values:{prev:u,next:s},hookName:o,options:p}),l.propsDifferences||l.stateDifferences||l.hookDifferences||p.consoleLog(t({},n,r),"Re-rendered although props and state objects are the same.","This usually means there was a call to this.forceUpdate() inside the component.","more info at ".concat(Rn)),p.consoleGroupEnd()}}var An=function(){};function Cn(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=console.group,o=console.groupEnd;return t.collapseGroups?n=console.groupCollapsed:t.onlyLogs&&(n=console.log,o=An),r({include:null,exclude:null,notifier:t.notifier||((e=t.hasOwnProperty("hotReloadBufferMs")?t.hotReloadBufferMs:500)&&module&&module.hot&&module.hot.addStatusHandler&&module.hot.addStatusHandler(function(t){"idle"===t&&(Pn=!0,setTimeout(function(){Pn=!1},e))}),Tn),onlyLogs:!1,consoleLog:console.log,consoleGroup:n,consoleGroupEnd:o,logOnDifferentValues:!1,trackHooks:!0,titleColor:"#058",diffNameColor:"blue",diffPathColor:"red"},t)}var Yn="[object String]";var zn=function(e){return"string"==typeof e||!ne(e)&&K(e)&&D(e)==Yn};function Ln(e){return e.displayName||e.name||e.type&&Ln(e.type)||(zn(e)?e:void 0)}var Wn=function(e,t,r,n){var o=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++o]);++o<a;)r=t(r,e[o],o,e);return r};var Fn=function(e,t){return function(r,n){if(null==r)return r;if(!Ee(r))return e(r,n);for(var o=r.length,a=t?o:-1,i=Object(r);(t?a--:++a<o)&&!1!==n(i[a],a,i););return r}}(Re);var Mn=function(e,t,r,n,o){return o(e,function(e,o,a){r=n?(n=!1,e):t(r,e,o,a)}),r};var Hn=function(e,t,r){var n=ne(e)?Wn:Mn,o=arguments.length<3;return n(e,on(t),r,o,Fn)},In=Object.prototype.hasOwnProperty;var $n=function(e,t){return null!=e&&In.call(e,t)};var Un=function(e,t){return null!=e&&Jr(e,t,$n)},Vn="[object RegExp]";var Bn=function(e){return K(e)&&D(e)==Vn},qn=he&&he.isRegExp,Gn=qn?ve(qn):Bn,Jn="[object Date]";var Kn=function(e){return K(e)&&D(e)==Jn},Qn=he&&he.isDate,Xn=Qn?ve(Qn):Kn,Zn=je(Object.getPrototypeOf,Object),eo="[object Object]",to=Function.prototype,ro=Object.prototype,no=to.toString,oo=ro.hasOwnProperty,ao=no.call(Object);var io=function(e){if(!K(e)||D(e)!=eo)return!1;var t=Zn(e);if(null===t)return!0;var r=oo.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&no.call(r)==ao},uo="undefined"!=typeof Element,co="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103,fo=function(e){return e.$$typeof===co};function so(e,t,r,n,o){return r.push({diffType:o,pathString:n,prevValue:e,nextValue:t}),o!==Sn.different}function lo(e,t,r){try{var n=[];return function e(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(t===r)return!0;if(!t||!r)return so(t,r,n,o,Sn.different);if(ne(t)&&ne(r)){var a=t.length;if(a!==r.length)return so(t,r,n,o,Sn.different);for(var i=!0,u=a;0!=u--;)e(t[u],r[u],n,"".concat(o,"[").concat(u,"]"))||(i=!1);return so(t,r,n,o,i?Sn.deepEquals:Sn.different)}if(Xn(t)&&Xn(r))return t.getTime()===r.getTime()?so(t,r,n,o,Sn.date):so(t,r,n,o,Sn.different);if(Gn(t)&&Gn(r))return t.toString()===r.toString()?so(t,r,n,o,Sn.regex):so(t,r,n,o,Sn.different);if(uo&&t instanceof Element&&r instanceof Element)return so(t,r,n,o,Sn.different);if(fo(t)&&fo(r))return t.type!==r.type?so(t,r,n,o,Sn.different):so(t,r,n,o,e(t.props,r.props,n,"".concat(o,".props"))?Sn.reactElement:Sn.different);if(N(t)&&N(r))return t.name===r.name?so(t,r,n,o,Sn.function):so(t,r,n,o,Sn.different);if(io(t)&&io(r)){var c=Se(t),f=c.length;if(f!==Se(r).length)return so(t,r,n,o,Sn.different);for(var s=f;0!=s--;)if(!Un(r,c[s]))return so(t,r,n,o,Sn.different);for(var l=!0,p=f;0!=p--;){var v=c[p];e(t[v],r[v],n,"".concat(o,".").concat(v))||(l=!1)}return so(t,r,n,o,l?Sn.deepEquals:Sn.different)}return so(t,r,n,o,Sn.different)}(e,t,n,r),n}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: why-did-you-render couldn't handle circular references in props.",e.name,e.message),!1;throw e}}var po={};function vo(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).shallow;if(e===t)return!1;if(!(void 0===n||n))return lo(e,t);var o=e||po,a=t||po,i=Object.keys(r({},o,a));return Hn(i,function(e,t){var r=lo(o[t],a[t],t);return r&&(e=[].concat(u(e),u(r))),e},[])}function ho(e,t,r,n,o,a){return{propsDifferences:vo(e,n),stateDifferences:vo(t,o),hookDifferences:vo(r,a,{shallow:!1})}}function yo(e){var t=e.Component,r=e.displayName,n=e.hookName,o=e.prevProps,a=e.prevState,i=e.prevHook,u=e.nextProps,c=e.nextState,f=e.nextHook;return{Component:t,displayName:r,hookName:n,prevProps:o,prevState:a,prevHook:i,nextProps:u,nextState:c,nextHook:f,options:e.options,reason:ho(o,a,i,u,c,f)}}function bo(e,t,r){return!function(e,t){return t.exclude&&t.exclude.length>0&&t.exclude.some(function(t){return t.test(e)})}(t,r)&&!(!e.whyDidYouRender&&!function(e,t){return t.include&&t.include.length>0&&t.include.some(function(t){return t.test(e)})}(t,r))}var _o=2;var go="function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115;function mo(t,r,u,c){var f=function(u){function f(e,r){var o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(o=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?a(e):t}(this,n(f).call(this,e,r)))._WDYR={renderNumber:0};var u=i(n(f.prototype),"render",a(o))||o.render;return u!==t.prototype.render&&(o.render=function(){return f.prototype.render.apply(a(o)),u()}),o}var s,l,p;return 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&&o(e,t)}(f,t),s=f,(l=[{key:"render",value:function(){return this._WDYR.renderNumber++,"isStrictMode"in this._WDYR||(this._WDYR.isStrictMode=function(e){for(var t=e._reactInternalFiber;null!==t;){if(t.mode&_o)return!0;t=t.return}return!1}(this)),this._WDYR.isStrictMode&&this._WDYR.renderNumber%2==1||(this._WDYR.prevProps&&c.notifier(yo({Component:t,displayName:r,prevProps:this._WDYR.prevProps,prevState:this._WDYR.prevState,nextProps:this.props,nextState:this.state,options:c})),this._WDYR.prevProps=this.props,this._WDYR.prevState=this.state),i(n(f.prototype),"render",this)?i(n(f.prototype),"render",this).call(this):null}}])&&e(s.prototype,l),p&&e(s,p),f}();return f.displayName=r,En(f,t),f}function jo(e,t,r,n,o){return t.$$typeof===go?function(e,t,r,n){var o=e.type;function a(a){var i=r.useRef(),u=i.current;if(i.current=a,u){var c=yo({Component:e,displayName:t,prevProps:u,nextProps:a,options:n});c.reason.propsDifferences&&c.reason.propsDifferences.length>0&&n.notifier(c)}return o(a)}a.displayName=Ln(o),a.ComponentForHooksTracking=e,En(a,o);var i=r.memo(a,e.compare);return i.displayName=t,En(i,e),i}(t,r,n,o):t.prototype&&t.prototype.isReactComponent?mo(t,r,0,o):function(e,t,r,n){function o(o){var a=r.useRef(),i=a.current;if(a.current=o,i){var u=yo({Component:e,displayName:t,prevProps:i,nextProps:o,options:n});u.reason.propsDifferences&&n.notifier(u)}return e(o)}return o.displayName=t,o.ComponentForHooksTracking=e,En(o,e),o}(t,r,n,o)}var Oo={useState:{path:"0"},useReducer:{path:"0"},useContext:!0,useMemo:!0};function wo(e,t){var n,o=Cn(t),a=e.createElement,i=e.createFactory,u=new WeakMap;if(e.createElement=function(t){for(var r=null,n=null,i=null,c=arguments.length,f=new Array(c>1?c-1:0),s=1;s<c;s++)f[s-1]=arguments[s];try{if(r=("function"==typeof t||t.$$typeof===go)&&bo(t,Ln(t),o))return n=t&&t.whyDidYouRender&&t.whyDidYouRender.customName||Ln(t),i=function(e,t,r,n,o){if(e.has(t))return e.get(t);var a=jo(0,t,r,n,o);return e.set(t,a),a}(u,t,n,e,o),a.apply(e,[i].concat(f))}catch(e){o.consoleLog("whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.",{errorInfo:{error:e,componentNameOrComponent:t,rest:f,options:o,isShouldTrack:r,displayName:n,WDYRPatchedComponent:i}})}return a.apply(e,[t].concat(f))},Object.assign(e.createElement,a),e.createFactory=function(t){var r=e.createElement.bind(null,t);return r.type=t,r},Object.assign(e.createFactory,i),o.trackHooks){var c=an(Oo,function(t,r){return function(){var a=n[r];if(!a)throw new Error("[WhyDidYouRender] A problem with React Hooks patching occurred.");var i=a.apply(void 0,arguments);return t&&function(e,t,r,n,o){var a=t.path,i=r,u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;if(!u)return i;var c=u.type.ComponentForHooksTracking||u.type,f=Ln(c);if(!bo(c,f,o))return i;var s=n.useRef(),l=s.current;if(s.current=i,l){var p=yo({Component:c,displayName:f,hookName:e,prevHook:a?qr(l,a):l,nextHook:a?qr(i,a):i,options:o});p.reason.hookDifferences&&o.notifier(p)}s.current}(r,!0===t?{}:t,i,e,o),i}});Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{set:function(e){n=e&&r({},e,e.origHooks)},get:function(){return n&&r({},n,c,{origHooks:n})}})}return e.__REVERT_WHY_DID_YOU_RENDER__=function(){Object.assign(e,{createElement:a,createFactory:i}),u=null,Object.defineProperty(e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{writable:!0,value:n}),delete e.__REVERT_WHY_DID_YOU_RENDER__},e}return wo.defaultNotifier=Tn,wo});
//# sourceMappingURL=whyDidYouRender.min.js.map
{
"name": "@welldone-software/why-did-you-render",
"version": "3.2.0",
"version": "3.2.1",
"description": "Monkey patches React to notify you about avoidable re-renders.",

@@ -5,0 +5,0 @@ "main": "dist/cjs/whyDidYouRender.min.js",

@@ -245,2 +245,3 @@ import {defaults, get, mapValues} from 'lodash'

errorInfo: {
error: e,
componentNameOrComponent,

@@ -247,0 +248,0 @@ rest,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc