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

2 lines
1.7 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
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="waYt")}({waYt:function(t,r,e){"use strict";function n(t,r){if(t===r)return!0;const e=Object.keys(t),n=Object.keys(r);if(e.length!==n.length)return!1;let u=0;for(;u<e.length;){const n=e[u],o=t[n];if(void 0===o&&!r.hasOwnProperty(n)||o!==r[n])return!1;u++}return!0}function u(t,r){if(t===r)return!0;if(t.length!==r.length)return!1;for(let e=0,n=t.length;e<n;e++)if(t[e]!==r[e])return!1;return!0}function o(t,r){if(t&&r){if(t.constructor===Object&&r.constructor===Object)return n(t,r);if(Array.isArray(t)&&Array.isArray(r))return u(t,r)}return t===r}e.r(r),e.d(r,"isShallowEqualObjects",(function(){return n})),e.d(r,"isShallowEqualArrays",(function(){return u})),e.d(r,"default",(function(){return o}))}});