var c=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var w=Object.prototype.hasOwnProperty;var I=(e,t)=>{for(var l in t)c(e,l,{get:t[l],enumerable:!0})},W=(e,t,l,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of x(t))!w.call(e,a)&&a!==l&&c(e,a,{get:()=>t[a],enumerable:!(o=y(t,a))||o.enumerable});return e};var C=e=>W(c({},"__esModule",{value:!0}),e);var b={};I(b,{default:()=>V});module.exports=C(b);var f=require("@reduxjs/toolkit");var d=require("@reduxjs/toolkit"),h={selectedWallet:void 0,selectedSolanaWallet:void 0,accessKey:null,details:{}},p=(0,d.createSlice)({name:"user",initialState:h,reducers:{updateSelectedWallet(e,{payload:{wallet:t}}){e.selectedWallet=t},updateSolanaSelectedWallet(e,{payload:{wallet:t}}){e.selectedSolanaWallet=t},updateAccessKey(e,{payload:{accessKey:t}}){e.accessKey=t},updateUserDetails(e,{payload:{details:t}}){e.details=t}}}),{updateSelectedWallet:E,updateSolanaSelectedWallet:A,updateAccessKey:B,updateUserDetails:U}=p.actions,n=p.reducer;var r=require("@reduxjs/toolkit"),K={selectedCollectionId:null,showMint:!1,collectionViewOpen:!1,selectedSpaceId:!1},i=(0,r.createSlice)({name:"collection",initialState:K,reducers:{updateSelectedCollectionId(e,{payload:{id:t}}){e.selectedCollectionId=t},updateShowMint(e,{payload:{showMint:t}}){e.showMint=t},updateCollectionViewOpen(e,{payload:{collectionViewOpen:t}}){e.collectionViewOpen=t},updateSelectedSpaceId(e,{payload:{id:t}}){e.selectedSpaceId=t}}}),{updateSelectedCollectionId:k,updateShowMint:N,updateCollectionViewOpen:P,updateSelectedSpaceId:R}=i.actions,s=i.reducer;var u=require("@reduxjs/toolkit"),M={balance:0},S=(0,u.createSlice)({name:"space",initialState:M,reducers:{updateSpaceBalance(e,t){e.balance=Number(t.payload)}}}),{updateSpaceBalance:Y}=S.actions,m=S.reducer;var O=(0,f.configureStore)({reducer:{user:n,collection:s,space:m},middleware:e=>e({thunk:!0}),preloadedState:{}}),V=O;
