Onsemi CNY-17-3 803Q Optocoupler

Sorry, my first post was inadequate. Lost bits when I cut and pasted. The original is 6 leg DIP. The smoke came from the bottom end with a bit of burning seen along the track.
Regards,
kffern
PXL_20230401_012700180.jpg