Sasuke might be initially shocked. But being Sasuke, he would probably keep his thoughts to himself at first and just observe Naruto's new behavior. Later, he might offer some dry comments or advice if he sees Naruto struggling with the changes. Sakura, on the other hand, would be very curious. She might try to help Naruto adjust, like teaching him how to do a girl's hair or choose appropriate clothes, while also being a bit envious if Naruto starts to get more attention from the boys in the village.
Iruka - sensei would be very understanding. He would see Naruto's transformation as just another challenge that Naruto has to face. He'd offer emotional support and guidance, like he always does. Kakashi might be a bit more reserved in his reaction. He'd watch Naruto closely to see how this change affects his ninja skills and growth. He might also give Naruto some special training tasks related to his new form, to help him adapt and become a stronger ninja in this new situation.
Shikamaru would probably find the whole situation tiresome at first. He'd be like 'What a drag, Naruto becoming a girl?'. But as he sees Naruto facing difficulties, he'd use his intelligence to help. For example, if Naruto has trouble adjusting to the new social norms for girls in the village, Shikamaru could come up with clever ways to deal with it. Choji would be more accepting right away. He'd still offer Naruto food as usual and be there as a supportive friend, not really caring too much about the gender change as long as Naruto is still his friend.
His friends' reactions would be mixed. Shikamaru would be like 'This is such a drag.' But he'd also start thinking of strategies to deal with the situation. Ino would be all about helping Naruto with his new look, like suggesting new outfits that would suit a fox girl. Choji would be more focused on making sure Naruto is still the same person inside. He'd offer Naruto his snacks to cheer him up. And Hinata would be blushing a lot, but also be very supportive, saying things like 'Naruto - kun, you look... different, but you're still you.'
Sakura might be initially shocked and a bit jealous at how cute Naruto - as - a - girl is. Sasuke would probably be confused at first but then act indifferent. Kakashi would be his usual calm self, but might crack a few jokes about Naruto's new look.
His Slytherin friends might be initially shocked. Some could mock him for wanting something so 'cute' and un - Slytherin - like. But others might secretly support him, like maybe Pansy could see how much it means to him and help him keep it a secret from those who would oppose.
As for Shikamaru, he would probably find the whole situation too troublesome. He might avoid 'female Naruto' at first, but then when he realizes it's really Naruto, he would start to give advice on how to handle the situation in the most efficient way, like how to avoid unwanted attention from other guys.
His friends from Team 7, like Kakashi, would feel responsible for Naruto's situation. Kakashi would likely use his resources to find a proper shelter for Naruto. Shikamaru and the others might come together to form a sort of support group for Naruto. They would pool their resources, like money and food, and also try to cheer him up by sharing stories and jokes.
Sasuke, who has his own complex relationship with Naruto, would probably be in denial at first. He's seen Naruto as this strong - willed person, and the idea of him having schizophrenia would be hard to accept. But as time goes on, he would become more protective. He might train Naruto in ways to control his mind during the episodes, using his own experiences of mental discipline. As for Kakashi, he would be empathetic. He has his own traumas, and he would do his best to support Naruto, maybe sharing his own stories of dealing with difficult mental states.
Sakura might be initially shocked and heartbroken. She has been Naruto's friend for a long time, and his sudden departure would leave a big hole in her life. She might try to convince him to stay at first.
Hinata would be heartbroken. She has always loved Naruto deeply. She would probably be in a state of shock at first and then mourn for a long time. She might also try to keep Naruto's legacy alive, perhaps by teaching his ideals to the next generation of ninja.
Sakura would probably be a bit skeptical at first. She might worry that Naruto is getting distracted from his ninja duties. But once she sees how passionate he is, she would support him and might even help him with his training regime, using her medical knowledge to make sure he's in top physical condition for racing.
Sasuke would be extremely enraged. He has a deep bond with Naruto, and Naruto's death would likely send him on a quest for revenge against Konoha. He might see it as a betrayal of everything Naruto stood for and fought for.