"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function isObject(e){var t=_typeof(e);return null!=e&&("object"===t||"function"===t)}function eq(e,t){return e===t||e!=e&&t!=t}function baseAssignValue(e,t,r){"__proto__"===t?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Object.defineProperty(exports,"__esModule",{value:!0}),exports.eq=eq,exports.get=get,exports.isObject=isObject,exports.set=set;var hasOwnProperty=Object.prototype.hasOwnProperty;function assignValue(e,t,r){var n=e[t];hasOwnProperty.call(e,t)&&eq(n,r)?void 0!==r||t in e||baseAssignValue(e,t,r):0===r&&1/r!=1/n||baseAssignValue(e,t,r)}var INFINITY=1/0;function toKey(e){var t;return"string"==typeof e?e:"0"===(t="".concat(e))&&1/e==-INFINITY?"-0":t}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(e,t){var r;return!Array.isArray(e)&&("number"===(r=_typeof(e))||"boolean"===r||null==e||reIsPlainProp.test(e)||!reIsDeepProp.test(e)||null!=t&&e in Object(t))}var charCodeOfDot=".".charCodeAt(0),reEscapeChar=/\\(\\)?/g,rePropName=RegExp("[^.[\\]]+|\\[(?:([^\"'][^[]*)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))","g");function stringToPath(e){var o=[];return e.charCodeAt(0)===charCodeOfDot&&o.push(""),e.replace(rePropName,function(e,t,r,n){r?e=n.replace(reEscapeChar,"$1"):t&&(e=t.trim()),o.push(e)}),o}function castPath(e,t){return Array.isArray(e)?e:isKey(e,t)?[e]:stringToPath(e)}var MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var r=_typeof(e);return!!(t=null==t?MAX_SAFE_INTEGER:t)&&("number"===r||"symbol"!==r&&reIsUint.test(e))&&-1<e&&e%1==0&&e<t}function baseSet(e,t,r,n){if(isObject(e))for(var o=(t=castPath(t,e)).length,a=o-1,s=-1,i=e;null!=i&&++s<o;){var u,c=toKey(t[s]),l=r;assignValue(i,c,l=s!==a&&(u=i[c],void 0===(l=n?n(u,c,i):void 0))?isObject(u)?u:isIndex(t[s+1])?[]:{}:l),i=i[c]}return e}function set(e,t,r){return null==e?e:baseSet(e,t,r)}function baseGet(e,t){for(var r=0,n=(t=castPath(t,e)).length;null!=e&&r<n;)e=e[toKey(t[r++])];return r&&r===n?e:void 0}function get(e,t,r){e=null==e?void 0:baseGet(e,t);return void 0===e?r:e}