PageSourceSearch

https://www.corrierecomunicazioni.it/wp-content/plugins/WPPlugin-R…//build/index.js?ver=e087fd39e46953ba3f52

js corrierecomunicazioni.it collected 2026-09-24 17:12:41 UTC 4,660 bytes, 1 lines download raw bytes

1(()=>{"use strict";const e=e=>{const t=`; ${document.cookie}`.split(`; ${e}=`);if(2!==t.length)return"";const n=t.pop().split(";").shift();try{return decodeURIComponent(n)}catch(e){return n}},t=e=>{["I","svg","path","circle"].includes(e.target.nodeName)&&e.target.closest(".js-rmp-rating-item")?n(e):e.target.classList.contains("rmp-feedback-widget__btn")&&r(e)},n=t=>{const n=t.target.closest(".js-rmp-rating-item"),r=n.dataset.postid,a=document.querySelector(`.ratemypostextra-container .rmp-widgets-container[data-post-id="${r}"]`);if(a.querySelector("ul li.active"))return;const i=n.dataset.value,s=a.querySelector(`ul li[data-value="${i}"]`);if(!s)return;s.classList.add("active");const o=new Date(Date.now()+5184e6),c=e("rmp-rate-extra");if(c){if(c.indexOf(`,${r}:`)>=0){const e=c.indexOf(`,${r}:`),t=c[e+r.length+2],n=c.replace(`,${r}:${t}`,`,${r}:${i}`);return void(document.cookie=`rmp-rate-extra=${n};expires=${o.toUTCString()};path=/`)}document.cookie=`rmp-rate-extra=${c},${r}:${i};expires=${o.toUTCString()};path=/`}else document.cookie=`rmp-rate-extra=,${r}:${i};expires=${o.toUTCString()};path=/`},r=e=>{const t=e.target.dataset.postid,n=document.querySelector(`.ratemypostextra-container .rmp-widgets-container[data-post-id="${t}"]`),r=n.querySelector(".rmp-feedback-widget textarea");r&&""!==r.value&&(n.querySelector(".rmp-feedback-widget .rmp-heading--title").textContent=rmpExtraFrontend.thanks_feedback_message)},a=t=>{let n=!1;const r=e("rmp-rate"),a=e("rmp-rate-extra");if(""!==r&&""!==a&&r.split(",").includes(t)){const e=a.indexOf(`,${t}:`);n=-1!==e&&a[e+`,${t}:`.length]}n&&document.querySelector(`.ratemypostextra-container .rmp-widgets-container[data-post-id="${t}"]`).querySelector(`ul li[data-value="${n}"]`).classList.add("active")};(e=>{const n=()=>{e.querySelector("body").addEventListener("click",t);const n=e.querySelector(".js-rmp-rating-item");if(n){const e=n.dataset.postid;a(e)}const r=e.querySelector(".rmp-heading--title");r&&(r.textContent=rmpExtraFrontend.plugin_heading)};"loading"===e.readyState?e.addEventListener("DOMContentLoaded",n):n()})(document),window.InitRateMyPostExtraInfinityScroll=e=>{const t=e.indexOf('id="post-'),n=e.substring(t+9),r=n.substring(0,n.indexOf('"'));document.querySelector(`.ratemypostextra-container .rmp-widgets-container[data-post-id="${r}"]`)&&(rate_my_post.init_single_rate_my_post(r,!1),a(r))},window.addEventListener("DOMContentLoaded",(function(){document.body.addEventListener("click",o),document.body.addEventListener("click",i),document.body.addEventListener("change",d)}));const i=e=>{e.target.classList.contains("btn__mail")&&(e.target.classList.add("btn__mail_second_disabled"),function(e){const t=document.querySelectorAll(".input-email");let n=null;for(let e=t.length-1;e>=0;e--)if(""!==t[e].value){n=t[e].value;break}if(n&&c(n)){const t=new URLSearchParams;t.append("email",n),t.append("action","subscription_action");const r=document.getElementById("nl_specific_id");null!==r&&t.append("canali[]",r.value);let a=[];a=document.querySelectorAll(".cessione__terzi .filled-in:checked"),a.length>0&&t.append("third_party",!0),fetch(rmpExtraFrontend.admin_ajax,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t}).then((e=>e.json())).then((e=>{let t=e?.data?.message;if(!t)throw new Error;var n;n=t,t=(new DOMParser).parseFromString(n,"text/html").documentElement.textContent,new M.Toast({text:t,displayLength:3e3})})).catch((function(){new M.Toast({text:translations.newsletterSubscribeError+"\n"+translations.newsletterSubscribeErrorTryLater,displayLength:3e3})})).finally((function(){e.classList.remove("btn__mail_second_disabled")}))}else e.classList.remove("btn__mail_second_disabled"),new M.Toast({text:translations.insertValidEmail,displayLength:3e3})}(e.target))},s=[],o=e=>{if(!e.target.classList.contains("rmpextra-rating-negative")&&!e.target.classList.contains("rmpextra-rating-positive")&&!e.target.classList.contains("rmpextra-rating-background"))return;const t=e.target.closest(".js-rmp-rating-item");if(!t)return;const n=t.dataset.value,r=t.dataset.postid;if(s.includes(r))return;if(s.push(r),3>parseInt(n,10))return;
1const a=document.querySelector(`.rmp-widgets-container[data-post-id="${r}"]`),i=a.querySelector(".newsletter-form"),o=a.querySelector(".rmp-feedback-widget__input");rmpExtraFrontend.has_newsletter&&i&&i.classList.remove("hide"),o&&(o.placeholder=rmpExtraFrontend.positive_feedback)},c=e=>""!==e&&/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/.test(e),d=e=>{if(e.target.classList.contains("cessione_checkbox")){const t=e.target.checked;document.querySelectorAll(".cessione_checkbox").forEach((e=>{e.checked=t}))}}})();

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.