It is a phono-semantic compound character made by combining:
心 (심, “heart, mind”) — indicating the meaning (related to emotions);
去 (거, “to go”) — providing the sound.
In the Shuowen Jiezi (説文解字 shuōwén jiězì), the variant 㹤 is listed as the head entry.