Module 963980

1,611 characters · in no known chunk
Dependencies
Required by (1)
Lazily required by (0)none
Requires (1)
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";var i;if(!Object.keys){var r=Object.prototype.hasOwnProperty,s=Object.prototype.toString,a=n(560332),o=Object.prototype.propertyIsEnumerable,l=!o.call({toString:null},"toString"),u=o.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},_={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("u"<typeof window)return!1;for(var e in window)try{if(!_["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),h=function(e){if("u"<typeof window||!f)return d(e);try{return d(e)}catch(e){return!1}};i=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===s.call(e),i=a(e),o=t&&"[object String]"===s.call(e),d=[];if(!t&&!n&&!i)throw TypeError("Object.keys called on a non-object");var _=u&&n;if(o&&e.length>0&&!r.call(e,0))for(var f=0;f<e.length;++f)d.push(String(f));if(i&&e.length>0)for(var p=0;p<e.length;++p)d.push(String(p));else for(var E in e)!(_&&"prototype"===E)&&r.call(e,E)&&d.push(String(E));if(l)for(var m=h(e),g=0;g<c.length;++g)!(m&&"constructor"===c[g])&&r.call(e,c[g])&&d.push(c[g]);return d}}e.exports=i}