Prepare ingredients for apricot chutney sauce. Peel the onion. Cut the rings into quarters. Remove the husks from the garlic and chop. Cut the hot pepper into thin rings. Wash the raisins and dry them. Wash the apricots, remove the pits and cut into quarters. Tip: To make the pepper even hotter, do not remove the white seeds when slicing.
Prepare vegetables and dried fruits. Place the onion and garlic into the pan. Fry in vegetable oil for 1-2 minutes. Add hot pepper. Cook for 2 minutes. Add raisins, cloves, star anise, ginger, cinnamon, coriander. Add sugar and salt. Stir. Fry until the sugar caramelizes slightly (7-8 minutes). Add wine and vinegar. Bring to a boil.
Prepare apricot chutney. Place apricots in a saucepan with vegetables, spices, and raisins. Reduce heat to low, cover with a lid, simmer for 40-45 minutes until the sauce becomes viscous.
Serve the apricot chutney immediately after cooking, cooled, in bowls, rosettes, or a gravy boat.