!function(t){"function"==typeof define&&define.amd?define("dev",t):t()}(function(){"use strict";window.objectDiff=function(e,t){if(!t||"[object Object]"!==Object.prototype.toString.call(t))return e;function n(t,e,n){var o=Object.prototype.toString.call(t),r=Object.prototype.toString.call(e);if("[object Undefined]"!==r)if(o===r)if("[object Object]"!==o)"[object Array]"!==o?"[object Function]"===o?t.toString()!==e.toString()&&(c[n]=e):t!==e&&(c[n]=e):function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(t,e)||(c[n]=e);else{var i=objectDiff(t,e);1<Object.keys(i).length&&(c[n]=i)}else c[n]=e;else c[n]=null}var o,c={};for(o in e)e.hasOwnProperty(o)&&n(e[o],t[o],o);for(o in t)t.hasOwnProperty(o)&&(e[o]||e[o]===t[o]||(c[o]=t[o]));var r={};return Object.keys(c).forEach(function(t){r[t]={value:c[t],previous:e[t]}}),r},void 0===console.table&&(console.table=function(){})});
