JS to display Access Token payload

Hi, I need some JS coding help to get claims on the access token payload that is similar to Profile’s claims in “samples-js-vue”, https://github.com/okta/samples-js-vue/tree/master/okta-hosted-login.
in Profile.vue, profile’s claims are obtained with - this.claims = await Object.entries(await this.$auth.getUser()).map(entry => ({ claim: entry[0], value: entry[1] }))
And access token can be retrieve with - this.$auth.getAccessToken()
What methods to use on the access token object to retrieve its claims?