WordPress/wp-includes/js/dist/is-shallow-equal.min.js

1 line
1.5 KiB
JavaScript
Raw Normal View History

this.wp=this.wp||{},this.wp.isShallowEqual=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=273)}({273:function(t,r,e){"use strict";var n=e(274),u=e(275),o=Array.isArray;t.exports=function(t,r){if(t&&r){if(t.constructor===Object&&r.constructor===Object)return n(t,r);if(o(t)&&o(r))return u(t,r)}return t===r}},274:function(t,r,e){"use strict";var n=Object.keys;t.exports=function(t,r){var e,u,o,i;if(t===r)return!0;if(e=n(t),u=n(r),e.length!==u.length)return!1;for(o=0;o<e.length;){if(t[i=e[o]]!==r[i])return!1;o++}return!0}},275:function(t,r,e){"use strict";t.exports=function(t,r){var e;if(t===r)return!0;if(t.length!==r.length)return!1;for(e=0;e<t.length;e++)if(t[e]!==r[e])return!1;return!0}}});