Synthesis of thiol-terminated thermoresponsive polymers and their enhancement effect on optical limiting property of gold nanoparticles