mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 19:35:15 +00:00
2 lines
21 KiB
JavaScript
2 lines
21 KiB
JavaScript
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","react","popper.js"],t):t(e.ReactPopper={},e.React,e.Popper)}(this,function(e,n,i){"use strict";var y="default"in n?n.default:n;function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function r(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}i=i&&i.hasOwnProperty("default")?i.default:i;var t,o=Object.prototype.toString,u=function(e){var t=o.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&0<=e.length&&"[object Function]"===o.call(e.callee)),r};if(!Object.keys){var f=Object.prototype.hasOwnProperty,d=Object.prototype.toString,h=u,l=Object.prototype.propertyIsEnumerable,b=!l.call({toString:null},"toString"),m=l.call(function(){},"prototype"),g=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],v=function(e){var t=e.constructor;return t&&t.prototype===e},s={$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},w=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!s["$"+e]&&f.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{v(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();t=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===d.call(e),n=h(e),o=t&&"[object String]"===d.call(e),i=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var c=m&&r;if(o&&0<e.length&&!f.call(e,0))for(var a=0;a<e.length;++a)i.push(String(a));if(n&&0<e.length)for(var p=0;p<e.length;++p)i.push(String(p));else for(var u in e)c&&"prototype"===u||!f.call(e,u)||i.push(String(u));if(b)for(var l=function(e){if("undefined"==typeof window||!w)return v(e);try{return v(e)}catch(e){return!1}}(e),s=0;s<g.length;++s)l&&"constructor"===g[s]||!f.call(e,g[s])||i.push(g[s]);return i}}var j=t,O=Array.prototype.slice,S=Object.keys,P=S?function(e){return S(e)}:j,$=Object.keys;P.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return u(e)?$(O.call(e)):$(e)}):Object.keys=P;return Object.keys||P};var E=P,x="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,_=Object.prototype.toString,C=function(e){return!(x&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===_.call(e)},M=function(e){return!!C(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&0<=e.length&&"[object Array]"!==_.call(e)&&"[object Function]"===_.call(e.callee)},R=function(){return C(arguments)}();C.isLegacyArguments=M;var A=R?C:M,I=function(e){return e!=e},F=function(e,t){return 0===e&&0===t?1/e==1/t:e===t||!(!I(e)||!I(t))},T=Array.prototype.slice,k=Object.prototype.toString,N=(Function.prototype.bind||function(t){var r=this;if("function"!=typeof r||"[object Function]"!==k.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var n,o=T.call(arguments,1),e=Math.max(0,r.length-o.length),i=[],c=0;c<e;c++)i.push("$"+c);if(n=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof n){var e=r.apply(this,o.concat(T.call(arguments)));return Object(e)===e?e:this}return r.apply(
|