单项选择题

After searching for half an hour, she realized that her glasses ______on the table all the time.

A.had been lain
B.have been lying
C.were lain
D.had been lying