Build 576754stable
Module 431250
666 characters · in 25536.0ec29f5a59959fec.jsDependencies
Source Raw
function(e,t,n){var r=n(765405),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,u){var l=1&n,s=r(e),c=s.length;if(c!=r(t).length&&!l)return!1;for(var f=c;f--;){var d=s[f];if(!(l?d in t:o.call(t,d)))return!1}var h=u.get(e);if(h&&u.get(t))return h==t;var p=!0;u.set(e,t),u.set(t,e);for(var v=l;++f<c;){var y=e[d=s[f]],m=t[d];if(a)var g=l?a(m,y,d,t,e,u):a(y,m,d,e,t,u);if(!(void 0===g?y===m||i(y,m,n,a,u):g)){p=!1;break}v||(v="constructor"==d)}if(p&&!v){var b=e.constructor,w=t.constructor;b!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(p=!1)}return u.delete(e),u.delete(t),p}}