And of course no one needs to be reminded that it's very bad to leave a CMOS input unconnected.
I learned this the hard way when I first used a CMOS device (4000 series I believe) back in the early 80s. I was only using two of the four gates of the device and when I touched the device with my thumb it caused a blister burn, from oscillation resulting from un-terminated inputs. Took a long time for me to trust those early CMOS devices as I had so little problems with TTL logic chips.
I had something similar with 4066 quad analog switches back around the same time period.
I left the unused inputs & outputs disconnected & the things got red hot.
After connecting all the unused inputs to zero volts they were a bit cooler but still hot.
A 6.8v negative supply was jury rigged--------long way from Electronics shops,& 10 PM ,so used whatever zeners were in the Station store.
I connected that to the unused inputs & the rotten things were at last turned off!
This was an official project,so I was "under the hammer" to get it finished.
It had "bugs" I still hadn't ironed out,but the application it was designed for became obsolete,so it was never used,in any case!.