output: Cache the script ltr versus rtl direction.