Passivity Deformation Approach for the Thermodynamics of Isolated Quantum Setups