The complex heavy quarkonium potential with the Gribov–Zwanziger action