The Lunar Visibility Theory of Yaʿqūb Ibn Ṭāriq