1import{F as z,t as N,f as F,r as B}from"./immer-41fd5235.js";import{c as Y,a as H,b as J,d as I}from"./redux-a905e3c6.js";import{t as x}from"./redux-thunk-ef899f4c.js";var X=globalThis&&globalThis.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),K=globalThis&&globalThis.__generator||function(r,t){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,v;return v={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function h(a){return function(c){return s([a,c])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,o&&(i=a[0]&2?o.return:a[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;switch(o=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return e.label++,{value:a[1],done:!1};case 5:e.label++,o=a[1],a=[0];continue;case 7:a=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){e.label=a[1];break}if(a[0]===6&&e.label<i[1]){e.label=i[1],i=a;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(a);break}i[2]&&e.ops.pop(),e.trys.pop();continue}a=t.call(r,e)}catch(c){a=[6,c],o=0}finally{n=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},A=globalThis&&globalThis.__spreadArray||function(r,t){for(var e=0,n=t.length,o=r.length;e<n;e++,o++)r[o]=t[e];return r},Q=Object.defineProperty,Z=Object.defineProperties,$=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,V=function(r,t,e){return t in r?Q(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e},_=function(r,t){for(var e in t||(t={}))ee.call(t,e)&&V(r,e,t[e]);if(W)for(var n=0,o=W(t);n<o.length;n++){var e=o[n];re.call(t,e)&&V(r,e,t[e])}return r},T=function(r,t){return Z(r,$(t))},te=function(r,t,e){return new Promise(function(n,o){var i=function(s){try{h(e.next(s))}catch(a){o(a)}},v=function(s){try{h(e.throw(s))}catch(a){o(a)}},h=function(s){return s.done?n(s.value):Promise.resolve(s.value).then(i,v)};h((e=e.apply(r,t)).next())})},ne=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?I:I.apply(null,arguments)};function ae(r){if(typeof r!="object"||r===null)return!1;var t=Object.getPrototypeOf(r);if(t===null)return!0;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return t===e}function E(r,t){function e(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return _(_({type:r,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:r,payload:n[0]}}return e.toString=function(){return""+r},e.type=r,e.match=function(n){return n.type===r},e}var oe=function(r){X(t,r);function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=r.apply(this,e)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return r.prototype.concat.apply(this,e)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.length===1&&Array.isArray(e[0])?new(t.bind.apply(t,A([void 0],e[0].concat(this)))):new(t.bind.apply(t,A([void 0],e.concat(this))))},t}(Array),ie=function(r){X(t,r);function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=r.apply(this,e)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t}
1,enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return r.prototype.concat.apply(this,e)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.length===1&&Array.isArray(e[0])?new(t.bind.apply(t,A([void 0],e[0].concat(this)))):new(t.bind.apply(t,A([void 0],e.concat(this))))},t}(Array);function D(r){return N(r)?F(r,function(){}):r}function ue(r){return typeof r=="boolean"}function ce(){return function(t){return fe(t)}}function fe(r){r===void 0&&(r={});var t=r.thunk,e=t===void 0?!0:t;r.immutableCheck,r.serializableCheck,r.actionCreatorCheck;var n=new oe;return e&&(ue(e)?n.push(x):n.push(x.withExtraArgument(e.extraArgument))),n}var le=!0;function Ee(r){var t=ce(),e=r||{},n=e.reducer,o=n===void 0?void 0:n,i=e.middleware,v=i===void 0?t():i,h=e.devTools,s=h===void 0?!0:h,a=e.preloadedState,c=a===void 0?void 0:a,f=e.enhancers,d=f===void 0?void 0:f,l;if(typeof o=="function")l=o;else if(ae(o))l=Y(o);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var u=v;typeof u=="function"&&(u=u(t));var y=H.apply(void 0,u),g=I;s&&(g=ne(_({trace:!le},typeof s=="object"&&s)));var p=new ie(y),m=p;Array.isArray(d)?m=A([y],d):typeof d=="function"&&(m=d(p));var j=g.apply(void 0,m);return J(l,c,j)}function U(r){var t={},e=[],n,o={addCase:function(i,v){var h=typeof i=="string"?i:i.type;if(!h)throw new Error("`builder.addCase` cannot be called with an empty action type");if(h in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[h]=v,o},addMatcher:function(i,v){return e.push({matcher:i,reducer:v}),o},addDefaultCase:function(i){return n=i,o}};return r(o),[t,e,n]}function de(r){return typeof r=="function"}function se(r,t,e,n){e===void 0&&(e=[]);var o=typeof t=="function"?U(t):[t,e,n],i=o[0],v=o[1],h=o[2],s;if(de(r))s=function(){return D(r())};else{var a=D(r);s=function(){return a}}function c(f,d){f===void 0&&(f=s());var l=A([i[d.type]],v.filter(function(u){var y=u.matcher;return y(d)}).map(function(u){var y=u.reducer;return y}));return l.filter(function(u){return!!u}).length===0&&(l=[h]),l.reduce(function(u,y){if(y)if(B(u)){var g=u,p=y(g,d);return p===void 0?u:p}else{if(N(u))return F(u,function(m){return y(m,d)});var p=y(u,d);if(p===void 0){if(u===null)return u;throw Error("A case reducer on a non-draftable value must not return undefined")}return p}return u},f)}return c.getInitialState=s,c}function ve(r,t){return r+"/"+t}function je(r){var t=r.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var e=typeof r.initialState=="function"?r.initialState:D(r.initialState),n=r.reducers||{},o=Object.keys(n),i={},v={},h={};o.forEach(function(c){var f=n[c],d=ve(t,c),l,u;"reducer"in f?(l=f.reducer,u=f.prepare):l=f,i[c]=l,v[d]=l,h[c]=u?E(d,u):E(d)});function s(){var c=typeof r.extraReducers=="function"?U(r.extraReducers):[r.extraReducers],f=c[0],d=f===void 0?{}:f,l=c[1],u=l===void 0?[]:l,y=c[2],g=y===void 0?void 0:y,p=_(_({},d),v);return se(e,function(m){for(var j in p)m.addCase(j,p[j]);for(var w=0,O=u;w<O.length;w++){var S=O[w];m.addMatcher(S.matcher,S.reducer)}g&&m.addDefaultCase(g)})}var a;return{name:t,reducer:function(c,f){return a||(a=s()),a(c,f)},actions:h,caseReducers:i,getInitialState:function(){return a||(a=s()),a.getInitialState()}}}var he="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ye=function(r){r===void 0&&(r=21);for(var t="",e=r;e--;)t+=he[Math.random()*64|0];return t}
1,pe=["name","message","stack","code"],M=function(){function r(t,e){this.payload=t,this.meta=e}return r}(),G=function(){function r(t,e){this.payload=t,this.meta=e}return r}(),me=function(r){if(typeof r=="object"&&r!==null){for(var t={},e=0,n=pe;e<n.length;e++){var o=n[e];typeof r[o]=="string"&&(t[o]=r[o])}return t}return{message:String(r)}};(function(){function r(t,e,n){var o=E(t+"/fulfilled",function(a,c,f,d){return{payload:a,meta:T(_({},d||{}),{arg:f,requestId:c,requestStatus:"fulfilled"})}}),i=E(t+"/pending",function(a,c,f){return{payload:void 0,meta:T(_({},f||{}),{arg:c,requestId:a,requestStatus:"pending"})}}),v=E(t+"/rejected",function(a,c,f,d,l){return{payload:d,error:(n&&n.serializeError||me)(a||"Rejected"),meta:T(_({},l||{}),{arg:f,requestId:c,rejectedWithValue:!!d,requestStatus:"rejected",aborted:(a==null?void 0:a.name)==="AbortError",condition:(a==null?void 0:a.name)==="ConditionError"})}}),h=typeof AbortController<"u"?AbortController:function(){function a(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return a.prototype.abort=function(){},a}();function s(a){return function(c,f,d){var l=n!=null&&n.idGenerator?n.idGenerator(a):ye(),u=new h,y;function g(m){y=m,u.abort()}var p=function(){return te(this,null,function(){var m,j,w,O,S,C,q;return K(this,function(P){switch(P.label){case 0:return P.trys.push([0,4,,5]),O=(m=n==null?void 0:n.condition)==null?void 0:m.call(n,a,{getState:f,extra:d}),ge(O)?[4,O]:[3,2];case 1:O=P.sent(),P.label=2;case 2:if(O===!1||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return S=new Promise(function(b,R){return u.signal.addEventListener("abort",function(){return R({name:"AbortError",message:y||"Aborted"})})}),c(i(l,a,(j=n==null?void 0:n.getPendingMeta)==null?void 0:j.call(n,{requestId:l,arg:a}
1,{getState:f,extra:d}))),[4,Promise.race([S,Promise.resolve(e(a,{dispatch:c,getState:f,extra:d,requestId:l,signal:u.signal,abort:g,rejectWithValue:function(b,R){return new M(b,R)},fulfillWithValue:function(b,R){return new G(b,R)}})).then(function(b){if(b instanceof M)throw b;return b instanceof G?o(b.payload,l,a,b.meta):o(b,l,a)})])];case 3:return w=P.sent(),[3,5];case 4:return C=P.sent(),w=C instanceof M?v(null,l,a,C.payload,C.meta):v(C,l,a),[3,5];case 5:return q=n&&!n.dispatchConditionRejection&&v.match(w)&&w.meta.condition,q||c(w),[2,w]}})})}();return Object.assign(p,{abort:g,requestId:l,arg:a,unwrap:function(){return p.then(be)}})}}return Object.assign(s,{pending:i,rejected:v,fulfilled:o,typePrefix:t})}return r.withTypes=function(){return r},r})();function be(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function ge(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var k="listenerMiddleware";E(k+"/add");E(k+"/removeAll");E(k+"/remove");var L;typeof queueMicrotask=="function"&&queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis);z();export{Ee as a,je as c};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.