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(token) {
const encoded = token.split('_')[1]
const json = Buffer.from(encoded, 'base64').toString()
const data = JSON.parse(json)
return data
}
// ✨ hint: use Node.js to open the door. ✨