<script>
(function () {
//Время задержки
const timemode = 4000;
let autoPlay = setInterval( auto_play, timemode );
function auto_play() {
document.querySelector('.t923 .t-slds__arrow-right').click();
};
document.addEventListener("DOMContentLoaded", function() {
const t923Slider = document.querySelector('.t923 .t-slds');
t923Slider.onmouseover = function(e) {
clearInterval(autoPlay);
};
t923Slider.onmouseout = function(e) {
autoPlay = setInterval( auto_play, timemode );
};
});
document.addEventListener('DOMContentLoaded', function() {
document.addEventListener('visibilitychange', function() {
if (document.hidden) {
clearInterval(autoPlay);
} else {
autoPlay = setInterval( auto_play, timemode );
};
});
});
})();
</script>