var n=function(n){return function(n){return!!n&&"object"==typeof n}(n)&&!function(n){var t=Object.prototype.toString.call(n);return"[object RegExp]"===t||"[object Date]"===t||function(n){return n.$$typeof===r}(n)}(n)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function t(n,r){return!1!==r.clone&&r.isMergeableObject(n)?o(Array.isArray(n)?[]:{},n,r):n}function u(n,r,u){return n.concat(r).map((function(n){return t(n,u)}))}function e(n){return Object.keys(n).concat(function(n){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n).filter((function(r){return n.propertyIsEnumerable(r)})):[]}(n))}function c(n,r){try{return r in n}catch(n){return!1}}function o(r,f,i){(i=i||{}).arrayMerge=i.arrayMerge||u,i.isMergeableObject=i.isMergeableObject||n,i.cloneUnlessOtherwiseSpecified=t;var a=Array.isArray(f);return a===Array.isArray(r)?a?i.arrayMerge(r,f,i):function(n,r,u){var f={};return u.isMergeableObject(n)&&e(n).forEach((function(r){f[r]=t(n[r],u)})),e(r).forEach((function(e){(function(n,r){return c(n,r)&&!(Object.hasOwnProperty.call(n,r)&&Object.propertyIsEnumerable.call(n,r))})(n,e)||(f[e]=c(n,e)&&u.isMergeableObject(r[e])?function(n,r){if(!r.customMerge)return o;var t=r.customMerge(n);return"function"==typeof t?t:o}(e,u)(n[e],r[e],u):t(r[e],u))})),f}(r,f,i):t(f,i)}o.all=function(n,r){if(!Array.isArray(n))throw new Error("first argument should be an array");return n.reduce((function(n,t){return o(n,t,r)}),{})};var f=o;export{f as c}