PageSourceSearch

https://www.lasillavacia.com/wp-content/plugins/newspack-plugin/di…/relative-time.js?ver=aed0c486d20c454abd09

js lasillavacia.com collected 2026-09-24 08:35:28 UTC 1,277 bytes, 1 lines download raw bytes

1!function(){const t=window.newspackRelativeTime;if(!t)return;const{cutoff:e,locale:n}=t;function o(){const t=n.replaceAll("_","-");let o;try{o=new Intl.RelativeTimeFormat(t,{numeric:"auto"})}catch{return}const i=document.querySelectorAll(".wp-block-post-date time[datetime], time.entry-date[datetime], time.updated[datetime], .comment-meta time[datetime]"),r=Date.now();i.forEach(function(n){const i=n.getAttribute("datetime");if(!i)return;if(n.getAttribute("title")||n.setAttribute("title",new Date(i).toLocaleString(t)),n.closest("[data-newspack-modified]")||n.closest(".wp-block-post-date__modified-date"))return;const u=Math.round((r-new Date(i).getTime())/1e3);if(u<0)return;const a=function(t){if(t>=e)return null;const n=[{unit:"second",threshold:60},{unit:"minute",threshold:3600},{unit:"hour",threshold:86400},{unit:"day",threshold:2592e3},{unit:"month",threshold:31536e3},{unit:"year",threshold:1/0}];for(const{unit:e,threshold:o}of n)if(t<o){const n={second:1,minute:60,hour:3600,day:86400,month:2592e3,year:31536e3};return{value:-Math.round(t/n[e]),unit:e}}return null}(u);if(!a)return;const d=o.format(a.value,a.unit),c=n.querySelector("a");c?c.textContent=d:n.textContent=d})}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",o):o()}();

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.