4 Way funky Wiring

I am trying to install a Gen 2 On / Off switch. This is for upstairs hallway lights. There are 3 light switches and 2 lights. I have 2 Aux Switches to go with the Inovelli switch.

Diagram of wires.