$basezrx = $infa['tickers'][7]['base'];
$targetweth = $infa['tickers'][7]['target'];
$zwprice = $infa['tickers'][7]['converted_last']['usd'];
$zwspread = $infa['tickers'][7]['bid_ask_spread_percentage'];
$zwvolume = $infa['tickers'][7]['converted_volume']['usd'];
function setAnimation(el) {
$(el)
.css('animation', `shadow-pulse ${1 + Math.random() * 3}s`)
.css('animation', `shadow-pulse2 ${1 + Math.random() * 3}s`)
;
}
$('.mra').on('animationend', function() {
$(this).css('animation', '');
setTimeout(setAnimation, 0, this);
}).get().forEach(setAnimation);