<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _effectupdate_enlarge_font_on_focus(self, time_passed):
 """Gradually enlarge the font size of the focused line."""


        data = self._effects['enlarge-font-on-focus']
        fps = data['raise_font_ps']
        final_size = data['size'] * data['enlarge_factor']
        for i, option in enumerate(self.options):
            if i == self.option:
                # Raise me
                if option['font_current_size'] < final_size:
                    option['raise_font_factor'] += fps * time_passed
                elif option['font_current_size'] > final_size:
                    option['raise_font_factor'] = data['enlarge_factor']
            elif option['raise_font_factor'] != 1.0:
                # decrease
                if option['raise_font_factor'] > 1.0:
                    option['raise_font_factor'] -= fps * time_passed
                elif option['raise_font_factor'] < 1.0:
                    option['raise_font_factor'] = 1.0

            new_size = int(data['size'] * option['raise_font_factor'])
            if new_size != option['font_current_size']:
                option['font'] = pygame.font.Font(data['font'], new_size)
                option['font_current_size'] = new_size