import { Store } from '@/store/root' ; function _stateScope ( state ) { return state . middleware . auth ; } function isInitialized ( state ) { return _stateScope ( state ) . isInitialized ; } function isLoggedIn ( state ) { return _stateScope ( state ) . isLoggedIn ; } function user ( state ) { return _stateScope ( state ) . user ; } function isEmailVerified ( state ) { return _stateScope ( state ) . isEmailVerified ; } export default { isInitialized , isLoggedIn , user , isEmailVerified , } ;