IMPR: improved topic timer component's code structure (PR #12519)

This PR improves the code structure of the topic-timer-info component while retaining all the functionality and making it extensible for theme/plugin devs.


This pull request has been mentioned on Discourse Meta. There might be relevant details there:

@martin-brennan what do you think of this?

Looks great, thanks for the change :slight_smile: