Text this: Intracavity loss optimization in tunable dual-wavelength erbium-doped fiber laser