mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
24 lines
49 KiB
JavaScript
24 lines
49 KiB
JavaScript
|
(function (global, factory) {
|
||
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
||
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
||
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.RTK = {}));
|
||
|
}(this, (function (exports) { 'use strict';
|
||
|
|
||
|
exports.QueryStatus = void 0;var t,n,r,i=undefined&&undefined.__generator||function(e,t){var n,r,i,u,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function o(u){return function(o){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a);}catch(e){u=[6,e],r=0;}finally{n=i=0;}if(5&u[0])throw u[1];return {value:u[0]?u[1]:void 0,done:!0}}([u,o])}}},u=undefined&&undefined.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},a=Object.defineProperty,o=Object.defineProperties,c=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,d=function(e,t,n){return t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},p=function(e,t){for(var n in t||(t={}))f.call(t,n)&&d(e,n,t[n]);if(s)for(var r=0,i=s(t);r<i.length;r++)l.call(t,n=i[r])&&d(e,n,t[n]);return e},v=function(e,t){return o(e,c(t))},h=function(e,t){var n={};for(var r in e)f.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&s)for(var i=0,u=s(e);i<u.length;i++)t.indexOf(r=u[i])<0&&l.call(e,r)&&(n[r]=e[r]);return n},y=function(e,t,n){return new Promise((function(r,i){var u=function(e){try{o(n.next(e));}catch(e){i(e);}},a=function(e){try{o(n.throw(e));}catch(e){i(e);}},o=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(u,a)};o((n=n.apply(e,t)).next());}))};function m(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return "'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function g(e){return !!e&&!!e[re]}function b(e){return !!e&&(function(e){if(!e||"object"!=typeof e)return !1;var t=Object.getPrototypeOf(e);if(null===t)return !0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return "function"==typeof n&&Function.toString.call(n)===ie}(e)||Array.isArray(e)||!!e[ne]||!!e.constructor[ne]||S(e)||R(e))}function O(e,t,n){void 0===n&&(n=!1),0===w(e)?(n?Object.keys:ue)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e);})):e.forEach((function(n,r){return t(r,n,e)}));}function w(e){var t=e[re];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:S(e)?2:R(e)?3:0}function j(e,t){return 2===w(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function q(e,t){return 2===w(e)?e.get(t):e[t]}function A(e,t,n){var r=w(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n;}function P(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function S(e){return Y&&e instanceof Map}function R(e){return Z&&e instanceof Set}function T(e){return e.o||e.t}function E(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ae(e);delete t[re];for(var n=ue(t),r=0;r<n.length;r++){var i=n[r],u=t[i];!1===u.writable&&(u.writable=!0,u.configurable=!0),(u.get||u.set)&&(t[i]={configurable:!0,writable:!0,enumerable:u.enumerable,value:e[i]});}return Object.create(Object.getPrototypeOf(e),t)}function I(e,t){return void 0===t&&(t=!1),x(e)||g(e)||!b(e)||(w(e)>1&&(e.set=e.add=e.clear=e.delete=k),Object.freeze(e),t&&O(e,(function(e,t){return I(t,!0)}),!0)),e}function k(){m(2);}function x(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function C(e){var t=oe[e];return t||m(18,e),t}function D(e,t){oe[e]||(oe[e]=t);}func
|
||
|
|
||
|
exports.buildCreateApi = yt;
|
||
|
exports.copyWithStructuralSharing = Ve;
|
||
|
exports.coreModule = Dt;
|
||
|
exports.createApi = Qt;
|
||
|
exports.fakeBaseQuery = mt;
|
||
|
exports.fetchBaseQuery = $e;
|
||
|
exports.retry = Ze;
|
||
|
exports.setupListeners = ut;
|
||
|
exports.skipSelector = st;
|
||
|
exports.skipToken = ct;
|
||
|
|
||
|
Object.defineProperty(exports, '__esModule', { value: true });
|
||
|
|
||
|
})));
|
||
|
//# sourceMappingURL=rtk-query.umd.min.js.map
|