Christmas Tree Minigame

Inspired by Blingtron's "Circuit-uncrossing game"

Solve the puzzle by swapping baubles and uncrossing the lines, so the star shines brightly!