Śrīmad-Bhāgavatam · Text 2.10.30
Who is speaking and story frame
निदिध्यासोरात्ममायां हृदयं निरभिद्यत ।
ततो मनश्चन्द्र इति सङ्कल्प: काम एव च ॥ ३० ॥
nididhyāsor ātma-māyāṁ
hṛdayaṁ nirabhidyata
tato manaś candra iti
saṅkalpaḥ kāma eva ca
When there was a desire to think about the activities of His own energy, then the heart (the seat of the mind), the mind, the moon, determination and all desire became manifested.
Read Śrīla Prabhupāda's purport on Vedabase.io