amis-rpc-design/node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.umd.min.js

29 lines
220 KiB
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
(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.RTKQ = {}));
})(this, (function (exports) { 'use strict';
var e;exports.QueryStatus = void 0;var n,r=undefined&&undefined.__extends||(e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);},e(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t;}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r);}),a=undefined&&undefined.__generator||function(e,t){var n,r,a,o,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(o){return function(i){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,r=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!((a=(a=u.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){u=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){u.label=o[1];break}if(6===o[0]&&u.label<a[1]){u.label=a[1],a=o;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(o);break}a[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(e,u);}catch(e){o=[6,e],r=0;}finally{n=a=0;}if(5&o[0])throw o[1];return {value:o[0]?o[1]:void 0,done:!0}}([o,i])}}},o=undefined&&undefined.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},u=Object.create,i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,y=function(e,t,n){return t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},m=function(e,t){for(var n in t||(t={}))h.call(t,n)&&y(e,n,t[n]);if(d)for(var r=0,a=d(t);r<a.length;r++)v.call(t,n=a[r])&&y(e,n,t[n]);return e},g=function(e,t){return l(e,s(t))},b=function(e,t){var n={};for(var r in e)h.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&d)for(var a=0,o=d(e);a<o.length;a++)t.indexOf(r=o[a])<0&&v.call(e,r)&&(n[r]=e[r]);return n},w=function(e,t){return function(){return t||(0, e[Object.keys(e)[0]])((t={exports:{}}).exports,t),t.exports}},S=function(e){return function(e,t,n){if(t&&"object"==typeof t||"function"==typeof t)for(var r=function(r){h.call(e,r)||"default"===r||i(e,r,{get:function(){return t[r]},enumerable:!(n=c(t,r))||n.enumerable});},a=0,o=f(t);a<o.length;a++)r(o[a]);return e}((t=i(null!=e?u(p(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),i(t,"__esModule",{value:!0})),e);var t;},k=function(e,t,n){return new Promise((function(r,a){var o=function(e){try{i(n.next(e));}catch(e){a(e);}},u=function(e){try{i(n.throw(e));}catch(e){a(e);}},i=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,u)};i((n=n.apply(e,t)).next());}))},x=w({"../../node_modules/react/cjs/react.production.min.js":function(e){var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.iterator,p={isMounted:function(){return !1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p;}function m(){}function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p;}y.prototype.isReactComponent={},y.proto
exports.ApiProvider = hr;
exports.buildCreateApi = gn;
exports.copyWithStructuralSharing = zt;
exports.coreModule = Nn;
exports.coreModuleName = Rn;
exports.createApi = vr;
exports.defaultSerializeQueryArgs = mn;
exports.fakeBaseQuery = bn;
exports.fetchBaseQuery = Dt;
exports.reactHooksModule = fr;
exports.reactHooksModuleName = sr;
exports.retry = Vt;
exports.setupListeners = Yt;
exports.skipSelector = dn;
exports.skipToken = fn;
Object.defineProperty(exports, '__esModule', { value: true });
}));
//# sourceMappingURL=rtk-query-react.umd.min.js.map