Module 356681

922 characters · in 3543.cf1ac0ffb3fe4f5f.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,r){"use strict";var n=r(319135),i=r(879618),o=r(142896),a=r(906046),s=r(267768),l=r(428495),u=a("Object.prototype.toString"),c=r(581070)(),f="u"<typeof globalThis?r.g:globalThis,d=i(),p=a("String.prototype.slice"),h=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return -1},m={__proto__:null};c&&s&&l?n(d,function(e){var t=new f[e];if(Symbol.toStringTag in t&&l){var r=l(t),n=s(r,Symbol.toStringTag);!n&&r&&(n=s(l(r),Symbol.toStringTag)),m["$"+e]=o(n.get)}}):n(d,function(e){var t=new f[e],r=t.slice||t.set;r&&(m["$"+e]=o(r))});var v=function(e){var t=!1;return n(m,function(r,n){if(!t)try{"$"+r(e)===n&&(t=p(n,1))}catch(e){}}),t},y=function(e){var t=!1;return n(m,function(r,n){if(!t)try{r(e),t=p(n,1)}catch(e){}}),t};e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=p(u(e),8,-1);return h(d,t)>-1?t:"Object"===t&&y(e)}return s?v(e):null}}