Too many threads running on the same subject but i prefer to leave my thought in this one.
There are many groups in Iran having their own stance based upon their own interpretation of the recent events in Afghanistan.
Some of us opposed Taliban take over of the country and most of them were pro west people. They and everyone else are free to state their opinions. Some people stayed neutral and some supported Taliban take over. I am between the second and third group of people, i mean, doubtfully and cautiously supporting Taliban.
The people that opposed Taliban mostly supported western/American stance. They wanted Iran militarily interfere in Afghanistan and hence stop Taliban from taking over the country. This group was strongly rejected by Iranian leadership and Iran's military strategists for plenty of reasons.
The neutral people which i can say compose the majority of Iranians say it is an Afghan issue and little to do with us. Most of them ask for elections in Afghanistan saying the government must be chosen through ballots.
The supporters of Taliban claim that Taliban take over would make the borders safer for Iran and Pakistan, it would stop opium smuggling on our borders and also foreign invaders will have to leave the country. We can live with Taliban but not with American trouble makers. This group of people are mostly from military background of Iran and they have helped Taliban in the past militarily and financially.
The first group always asked for military intervention in Afghanistan which was strongly opposed by second and third group. So the majority refused it. They said we interfered in Syria and Iraq, why not Afghanistan?! The answer is simple, Taliban is a reality of Afghanistan and their rule means USA has to leave. Unlike to Syrian scenario where USA supported terrorist groups.
I personally support Taliban keeping in mind that they sometimes go nuts. So i support them cautiously.
In case of Panjshir, Taliban take over was the best solution but it should have been done with patience and peacefully. Some reports suggested that Pakistani drones killed leaders of Panjshir, Pakistan on the other hand never officially refused it. Taliban in some cases acted with cruelty such as stopping water flow to people of Panjshir and they also stopped food supplies to Panjshir. I don't think that Pakistan is to be blamed for the second issue but you should note that everything done by Taliban is considered as a Pakistani thing. We know the reason already, Pakistan should have controlled them.
PS. Panjshiris asked for help from USA/UK. So Iran will never ever help them militarily but in the humanitarian sense, we find ourselves responsible to support the oppressed.