Topological complexity of the work map