USAJMO 2023 (Problem 1)

Find all triples of positive integers (x,y,z)(x,y,z) that satisfy the equation 2(x+y+z+2xyz)2=(2xy+2yz+2zx+1)2+20232(x+y+z+2xyz)^2=(2xy+2yz+2zx+1)^2+2023.