Two main outlets, each with routes handling dynamic segments

Hi, I’m wondering if there is a commonly accepted solution to a problem I’m currently facing. Appologies in advance if this kind of question is inappropriate for the forum.

Lets say you have an app that needs to have a set of quite normal routes, some with dynamic segments. But also another outlet in the app, lets say a sidebar for example, that can be opened from any one of the main apps routes. This sidebar also has a complicated routing structure, with some routes requiring dynamic segments too.

How could one implement routes for a sidebar that could be opened from any other normal route in the application?