Yōga Sūtra 1.17
vitarkavicārānandāsmitārūpānugamātsamprajñātaḥ।
Equilibrium states with form accompanied by knowledge are progressively: deliberation on logic (vitarka), deliberation on topic (vichāra), and happy awareness of 'I am' (ānanda asmita).
Among the equilibrium state with knowledge and form (samprajnāta samādi) deliberation on a topic is better than deliberation on logic, staying in the awareness of 'I am' with happiness is better than deliberation on topic.