mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-29 03:45:15 +00:00
2 lines
11 KiB
JavaScript
2 lines
11 KiB
JavaScript
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("universal-cookie"),require("react")):"function"==typeof define&&define.amd?define(["universal-cookie","react"],t):(e=e||self).ReactCookie=t(e.UniversalCookie,e.React)}(this,function(l,p){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e,t){return e(t={exports:{}},t.exports),t.exports}l=l&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l,p=p&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p;var c=t(function(e,t){var o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((o=l)&&o.__esModule?o:{default:o}).default;t.default=r,e.exports=t.default});e(c);var y=t(function(e,t){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Consumer=t.Provider=void 0;var o,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};t=f(t);if(t&&t.has(e))return t.get(e);var o,r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(o in e){var u;"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&((u=n?Object.getOwnPropertyDescriptor(e,o):null)&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=e[o])}r.default=e,t&&t.set(e,r);return r}(p),n=(o=c)&&o.__esModule?o:{default:o};function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}var u=r.createContext(new n.default),r=u.Provider,n=u.Consumer;t.Consumer=n,t.Provider=r,t.default=u});e(y);y.Consumer,y.Provider;var a=t(function(e,t){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==i(e)&&"function"!=typeof e)return{default:e};t=f(t);if(t&&t.has(e))return t.get(e);var o,r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(o in e){var u;"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&((u=n?Object.getOwnPropertyDescriptor(e,o):null)&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=e[o])}r.default=e,t&&t.set(e,r);return r}(p),n=(o=l)&&o.__esModule?o:{default:o};function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}var u,c,a=(u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=(c=r.Component,a(s,c),s.prototype.render=function(){return r.createElement(y.Provider,{value:this.cookies},this.props.children)},s);function s(e){var t=c.call(this,e)||this;return e.cookies?t.cookies=e.cookies:t.cookies=new n.default,t}t.default=a,e.exports=t.default});e(a);var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,n=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,i=o?Symbol.for("react.strict_mode"):60108,f=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,d=o?Symbol.for("react.context"):60110,m=o?Symbol.for("react.async_mode"):60111,b=o?Symbol.for("react.concurrent_mode"):60111,v=o?Symbol.for("react.forward_ref"):60112,O=o?Symbol.for("react.suspense"):60113,P=o?Symbol.for("react.suspense_list"):60120,_=o?Symbol.for("react.memo"):60115,w=o?Symbol.for("react.lazy"):60116,h=o?Symbol.for("react.block"):60121,j=o?Symbol.for("react.fundamental"):60117,g=o?Symbol.for("react.responder"):60118,C=o?
|