1 verses of the World English Bible have both "heart" and "pondering".
Luke 2:19 But Mary kept all these sayings, pondering them in her heart.
In other translations: ASV YLT Darby DRC