Text this: Analysis of the hidden-charm pentaquark states based on magnetic moment and transition magnetic moment