Recent advances in magnetic hydrogels