importinitfrom'./init/index.js';importmethodsfrom'./methods/index.js';importstatefrom'./state/index.js';importutilsfrom'./utils/index.js';exportdefaultutils.deepAssign(state,methods,{init,utils},{mapState(keys=[]){letobj={}keys.forEach((key)=>{letkeyName=key,keyCName=falseif(key.includes(' as ')){let_key=key.trim().split(' as ')keyName=_key[0]keyCName=_key[1]}obj[keyCName||keyName]=function(){returnstate[keyName]}})returnobj}})