WordPress/wp-includes/js/dist/vendor/wp-polyfill-dom-rect.min.js
desrosj 05f174acf6 Build/Test Tools: Update UglifyJS to the latest version.
This updates the `uglify-js` package from version `3.6.0` to `3.12.4`.

See #51801.
Built from https://develop.svn.wordpress.org/trunk@49940


git-svn-id: http://core.svn.wordpress.org/trunk@49639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-06 15:29:24 +00:00

1 line
879 B
JavaScript

!function(e){function d(e){return void 0===e?0:Number(e)}function g(e,t){return!(e===t||isNaN(e)&&isNaN(t))}e.DOMRect=function(e,t,n,i){var u,r,o,c,f=d(e),a=d(t),m=d(n),b=d(i);Object.defineProperties(this,{x:{get:function(){return f},set:function(e){g(f,e)&&(f=e,u=r=void 0)},enumerable:!0},y:{get:function(){return a},set:function(e){g(a,e)&&(a=e,o=c=void 0)},enumerable:!0},width:{get:function(){return m},set:function(e){g(m,e)&&(m=e,u=r=void 0)},enumerable:!0},height:{get:function(){return b},set:function(e){g(b,e)&&(b=e,o=c=void 0)},enumerable:!0},left:{get:function(){return void 0===u&&(u=f+Math.min(0,m)),u},enumerable:!0},right:{get:function(){return void 0===r&&(r=f+Math.max(0,m)),r},enumerable:!0},top:{get:function(){return void 0===o&&(o=a+Math.min(0,b)),o},enumerable:!0},bottom:{get:function(){return void 0===c&&(c=a+Math.max(0,b)),c},enumerable:!0}})}}(this);