<router-link to="/taskForDay" active-class="active">Задачи на день</router-link>
{
path: '*',
component: defaultComponent
}
public function cryptoJsAesDecrypt($keys, $jsonString){
try {
$salt = hex2bin($jsonString->s);
$iv = hex2bin($jsonString->iv);
} catch(Exception $e) { return null; }
$ct = base64_decode($jsonString->ct);
$concatedPassphrase = $keys.$salt;
$md5 = array();
$md5[0] = md5($concatedPassphrase, true);
$result = $md5[0];
for ($i = 1; $i < 3; $i++) {
$md5[$i] = md5($md5[$i - 1].$concatedPassphrase, true);
$result .= $md5[$i];
}
$key = substr($result, 0, 32);
$data = openssl_decrypt($ct, 'aes-256-cbc', $key, true, $iv);
return json_decode($data, true);
}
$(document).on('mouseleave', function (e) {...}
оставим только то, что внутри.