docs: function offset(element) {
  	const elemBCR = element.getBoundingClientRect();
  	return {
  		width: Math.round(isNumber(elemBCR.width) ? elemBCR.width : element.offsetWidth),
  		height: Math.round(isNumber(elemBCR.height) ? elemBCR.height : element.offsetHeight),
  		top: Math.round(elemBCR.top + (window.pageYOffset || document.documentElement.scrollTop)),
  		left: Math.round(elemBCR.left + (window.pageXOffset || document.documentElement.scrollLeft))
  	};
  }