Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/cvetdv.ru/bitrix/templates/landing24/assets/js/helpers/ |
Upload File : |
(function(e){"use strict";BX.addCustomEvent("BX.Landing.Block:init",(function(e){var o=e.makeRelativeSelector(".js-countdown");var a=e.block.querySelectorAll(o);if(a.length>0){t(o)}}));BX.addCustomEvent("BX.Landing.Block:Node:updateAttr",(function(e){var o=e.makeRelativeSelector(".js-countdown");var a=e.block.querySelectorAll(o);if(a.length>0&&"data"in e&&"data-end-date"in e.data){t(o)}}));BX.addCustomEvent("BX.Landing.Block:Card:add",(function(e){var o=e.makeRelativeSelector(".js-countdown");var a=e.block.querySelectorAll(o);if(a.length>0){t(o)}}));function t(t){var a=e.HSCore.components.HSCountdown.init(t,{yearsElSelector:".js-cd-years",monthElSelector:".js-cd-month",daysElSelector:".js-cd-days",hoursElSelector:".js-cd-hours",minutesElSelector:".js-cd-minutes",secondsElSelector:".js-cd-seconds"});a.on("update.countdown",o)}function o(t){var a=e(this);if(a.data("days-expired-classes")){if(t.offset.totalDays<=0){a.addClass(a.data("days-expired-classes"));a.off("update.countdown",o)}else{a.removeClass(a.data("days-expired-classes"))}}}})(window.jQueryLanding||jQuery); //# sourceMappingURL=countdown_init.map.js