Xét số phức z thỏa mãn \left | iz-2i-2 \right |-\left | z+1-3i \right |=\sqrt{34} . Tìm giá trị nhỏ nhất của biểu thức P = \left | (1+i)z+2i \right |