1/** 2 * ÐÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½Ñ Ð¾Ð±ÐµÑпеÑÐ¸Ð²Ð°ÐµÑ Ð·Ð°ÐºÑÑÑие "вÑплÑваÑÑего блока оповеÑÐµÐ½Ð¸Ñ Ð¾ полиÑике иÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ cookie" на ÑÑÑаниÑÐ°Ñ 3 * ÐавиÑÐ¸Ñ Ð¾Ñ Ð¿Ð»Ð°Ð³Ð¸Ð½Ð° cookie.js 4 */ 5new class CookiePolicy extends RsJsCore.classes.component 6{ 7 onDocumentReady() { 8 const cookiesPolicy = document.querySelector('.cookies-policy-outer'); 9 const cookiesPolicyBtn = cookiesPolicy && cookiesPolicy.querySelector('.btn'); 10 11 if (cookiesPolicy) { 12 cookiesPolicyBtn.addEventListener('click', () => { 13 cookiesPolicy.classList.remove('active'); 14 this.plugins.cookie.setCookie('cookiesPolicy', '1'); 15 }); 16 } 17 } 18};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.