var isMergeableObject=function e(r){return isNonNullObject(r)&&!isSpecial(r)};function isNonNullObject(e){return!!e&&typeof e==="object"}function isSpecial(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||isReactElement(e)}var canUseSymbol=typeof Symbol==="function"&&Symbol.for;var REACT_ELEMENT_TYPE=canUseSymbol?Symbol.for("react.element"):60103;function isReactElement(e){return e.$$typeof===REACT_ELEMENT_TYPE}function emptyTarget(e){return Array.isArray(e)?[]:{}}function cloneUnlessOtherwiseSpecified(e,r){return r.clone!==false&&r.isMergeableObject(e)?deepmerge(emptyTarget(e),e,r):e}function defaultArrayMerge(e,r,t){return e.concat(r).map((function(e){return cloneUnlessOtherwiseSpecified(e,t)}))}function getMergeFunction(e,r){if(!r.customMerge){return deepmerge}var t=r.customMerge(e);return typeof t==="function"?t:deepmerge}function getEnumerableOwnPropertySymbols(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(r){return e.propertyIsEnumerable(r)})):[]}function getKeys(e){return Object.keys(e).concat(getEnumerableOwnPropertySymbols(e))}function propertyIsOnObject(e,r){try{return r in e}catch(e){return false}}function propertyIsUnsafe(e,r){return propertyIsOnObject(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))}function mergeObject(e,r,t){var n={};if(t.isMergeableObject(e)){getKeys(e).forEach((function(r){n[r]=cloneUnlessOtherwiseSpecified(e[r],t)}))}getKeys(r).forEach((function(c){if(propertyIsUnsafe(e,c)){return}if(propertyIsOnObject(e,c)&&t.isMergeableObject(r[c])){n[c]=getMergeFunction(c,t)(e[c],r[c],t)}else{n[c]=cloneUnlessOtherwiseSpecified(r[c],t)}}));return n}function deepmerge(e,r,t){t=t||{};t.arrayMerge=t.arrayMerge||defaultArrayMerge;t.isMergeableObject=t.isMergeableObject||isMergeableObject;t.cloneUnlessOtherwiseSpecified=cloneUnlessOtherwiseSpecified;var n=Array.isArray(r);var c=Array.isArray(e);var o=n===c;if(!o){return cloneUnlessOtherwiseSpecified(r,t)}else if(n){return t.arrayMerge(e,r,t)}else{return mergeObject(e,r,t)}}deepmerge.all=function e(r,t){if(!Array.isArray(r)){throw new Error("first argument should be an array")}return r.reduce((function(e,r){return deepmerge(e,r,t)}),{})};var deepmerge_1=deepmerge;var cjs=deepmerge_1;export{cjs as c};