function get_direction() {
		return window.get_direction ? window.get_direction() : /** @type {"ltr" | "rtl"} */(getComputedStyle($w[0]).direction);
	}
@returns {"ltr" | "rtl"} writing/layout direction