uawdijnntqw1x1x1
IP : 216.73.217.167
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
tiskom
/
data
/
www
/
tiskom.xhost.intravision.ru
/
bitrix
/
js
/
ui
/
textanimate
/
.
/
src
/
textanimate.js
/
/
export class TextAnimate { constructor(options) { this.container = options.container; this.interval = options.interval; this.currentText = null; } setInterval(interval) { if(interval) this.interval = interval; } init(text) { text = text.trim(); this.currentText = this.container.innerText; let interval = setInterval( () => { let symbolRnd = parseInt(Math.random() * Math.max(text.length, this.currentText.length)); let symbolLink = text[symbolRnd]; if(typeof symbolLink === 'undefined') symbolLink = ' '; while(this.currentText.length < symbolRnd) this.currentText += ' '; this.currentText = (this.currentText.slice(0,symbolRnd) + symbolLink + this.currentText.slice(symbolRnd + 1)).trim(); this.container.innerText = this.currentText.length === 0 ? ' ' : this.currentText; if(text === this.container.innerText) clearInterval(interval); }, this.interval ? this.interval : 5) } }
/var/www/tiskom/data/www/tiskom.xhost.intravision.ru/bitrix/js/ui/textanimate/./src/textanimate.js