WordPress/wp-includes/js/dist/vendor/wp-polyfill.min.js

1 line
16 KiB
JavaScript
Raw Normal View History

!function(t){"use strict";var r,n,e;n={},(e=function(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return r[t].call(o.exports,o,o.exports,e),o.l=!0,o.exports}).m=r=[function(t,r,n){n(1),n(67),n(68),t.exports=n(72)},function(r,n,e){var o=e(2),i=e(36),u=e(57),c=e(56);e=e(62);o({target:"Array",proto:!0},{at:function(r){var n=i(this),e=u(n);return(r=0<=(r=c(r))?r:e+r)<0||e<=r?t:n[r]}}),e("at")},function(r,n,e){var o=e(3),i=e(4).f,u=e(40),c=e(43),f=e(34),a=e(50),p=e(61);r.exports=function(r,n){var e,s,y,l=r.target,v=r.global,b=r.stat,g=v?o:b?o[l]||f(l,{}):(o[l]||{}).prototype;if(g)for(e in n){if(s=n[e],y=r.noTargetGet?(y=i(g,e))&&y.value:g[e],!p(v?e:l+(b?".":"#")+e,r.forced)&&y!==t){if(typeof s==typeof y)continue;a(s,y)}(r.sham||y&&y.sham)&&u(s,"sham",!0),c(g,e,s,r)}}},function(t,r){function n(t){return t&&t.Math==Math&&t}t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||function(){return this}()||Function("return this")()},function(t,r,n){var e=n(5),o=n(7),i=n(8),u=n(9),c=n(10),f=n(15),a=n(35),p=n(38),s=Object.getOwnPropertyDescriptor;r.f=e?s:function(t,r){if(t=c(t),r=f(r),p)try{return s(t,r)}catch(t){}if(a(t,r))return u(!o(i.f,t,r),t[r])}},function(t,r,n){n=n(6),t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,r){var n=Function.prototype.call;t.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},function(t,r,n){var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);r.f=i?function(t){return!!(t=o(this,t))&&t.enumerable}:e},function(t,r){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},function(t,r,n){var e=n(11),o=n(14);t.exports=function(t){return e(o(t))}},function(t,r,n){var e=n(3),o=n(12),i=n(6),u=n(13),c=e.Object,f=o("".split);t.exports=i((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==u(t)?f(t,""):c(t)}:c},function(t,r){var n=Function.prototype,e=n.bind,o=n.call,i=e&&e.bind(o);t.exports=e?function(t){return t&&i(o,t)}:function(t){return t&&function(){return o.apply(t,arguments)}}},function(t,r,n){var e=(n=n(12))({}.toString),o=n("".slice);t.exports=function(t){return o(e(t),8,-1)}},function(r,n,e){var o=e(3).TypeError;r.exports=function(r){if(r==t)throw o("Can't call method on "+r);return r}},function(t,r,n){var e=n(16),o=n(19);t.exports=function(t){return t=e(t,"string"),o(t)?t:t+""}},function(r,n,e){var o=e(3),i=e(7),u=e(17),c=e(19),f=e(26),a=e(29),p=(e=e(30),o.TypeError),s=e("toPrimitive");r.exports=function(r,n){if(!u(r)||c(r))return r;var e=f(r,s);if(e){if(e=i(e,r,n=n===t?"default":n),!u(e)||c(e))return e;throw p("Can't convert object to primitive value")}return a(r,n=n===t?"number":n)}},function(t,r,n){var e=n(18);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,r){t.exports=function(t){return"function"==typeof t}},function(t,r,n){var e=n(3),o=n(20),i=n(18),u=n(21),c=(n=n(22),e.Object);t.exports=n?function(t){return"symbol"==typeof t}:function(t){var r=o("Symbol");return i(r)&&u(r.prototype,c(t))}},function(r,n,e){var o=e(3),i=e(18);r.exports=function(r,n){return arguments.length<2?(e=o[r],i(e)?e:t):o[r]&&o[r][n];var e}},function(t,r,n){n=n(12),t.exports=n({}.isPrototypeOf)},function(t,r,n){n=n(23),t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,r,n){var e=n(24);n=n(6);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,r,n){var e,o,i=n(3),u=n(25);n=i.process,i=i.Deno;!(o=(i=(i=n&&n.versions||i&&i.version)&&i.v8)?0<(e=i.split("."))[0]&&e[0]<4?1:+(e[0]+e[1]):o)&&u&&(!(e=u.match(/Edge\/(\d+)/))||74<=e[1])&&(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,r,n){n=n(20),t.exports=n("navigator","userAgent")||""},function(r,n,e){var o=e(27);r.exports=function(r,n){return null=