Transition to chaos in extended systems and their quantum impurity models | Synapse