var d=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var i=(a,e)=>{for(var t in e)d(a,t,{get:e[t],enumerable:!0})},S=(a,e,t,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of n(e))!r.call(a,l)&&l!==t&&d(a,l,{get:()=>e[l],enumerable:!(c=u(e,l))||c.enumerable});return a};var y=a=>S(d({},"__esModule",{value:!0}),a);var A={};i(A,{default:()=>x,initialState:()=>o,updateAccessKey:()=>K,updateSelectedWallet:()=>W,updateSolanaSelectedWallet:()=>f,updateUserDetails:()=>m});module.exports=y(A);var s=require("@reduxjs/toolkit"),o={selectedWallet:void 0,selectedSolanaWallet:void 0,accessKey:null,details:{}},p=(0,s.createSlice)({name:"user",initialState:o,reducers:{updateSelectedWallet(a,{payload:{wallet:e}}){a.selectedWallet=e},updateSolanaSelectedWallet(a,{payload:{wallet:e}}){a.selectedSolanaWallet=e},updateAccessKey(a,{payload:{accessKey:e}}){a.accessKey=e},updateUserDetails(a,{payload:{details:e}}){a.details=e}}}),{updateSelectedWallet:W,updateSolanaSelectedWallet:f,updateAccessKey:K,updateUserDetails:m}=p.actions,x=p.reducer;0&&(module.exports={initialState,updateAccessKey,updateSelectedWallet,updateSolanaSelectedWallet,updateUserDetails});
