Improving Tomato Quality And Safety By Ai-driven Supply Chain Optimization And Ai Prediction Of Losses At Specific Stages