Файловый менеджер - Редактировать - /home/kunzqhe/photostocker/wp-content/themes/themify-ultra/themify/themify-builder/js/modules/alert.min.js
Назад
(($,n,l)=>{"use strict";const o=e=>e&&!isNaN(parseFloat(e))&&isFinite(e),r=e=>{let l,t;t=e&&((l=e.dataset.alertMessage)?e.closest(".alert-inner"):e.closest(".module-alert")),$(t).slideUp(400,function(){const e=$(this).parent();if(l&&!e.find(".alert-message").length){const t=$('<div class="alert-message" />').html(l+'<div class="alert-close tf_close" />');e.html(t),t.hide().slideDown(400)}})};l.on("builder_load_module_partial",(e,t)=>{if(!0!==t||e.classList.contains("module-alert")){const a=l.selectWithParent("module-alert",e);for(let i=a.length-1;-1<i;--i){let e=a[i],t=e.dataset.moduleId,l=e.dataset.alertLimit,s=e.dataset.alertClose;if(o(l)){let e=parseInt((l=>{l+="=";const s=n.cookie.split(";");for(let t=0,e=s.length;t<e;++t){let e=s[t];while(" "===e.charAt(0))e=e.substring(1);if(0===e.indexOf(l))return e.substring(l.length,e.length)}return""})(t))||0;((e,t,l)=>{const s=new Date;s.setTime(s.getTime()+864e5*l),n.cookie=e+"="+t+";expires="+s.toUTCString()+";SameSite=strict;path=/"})(t,++e,365)}o(s)&&setTimeout(()=>{r(e)},1e3*s)}}}).body.on("click.tb_alert",".module-alert .alert-close",function(e){e.preventDefault(),r(this)})})(jQuery,document,Themify);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка