1let relativeDateTimeBootstrapped=!1;function getLocale(){return document.documentElement.lang||"pl-PL"}function parseDateValue(e){if(!e)return null;const n=e.includes(" ")&&!e.includes("T")?e.replace(" ","T"):e,t=new Date(n);return Number.isNaN(t.getTime())?null:t}function startOfDay(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function formatTime(e){return e.toLocaleTimeString(getLocale(),{hour:"2-digit",minute:"2-digit"})}function formatYesterdayLabel(){return typeof Intl!="undefined"&&typeof Intl.RelativeTimeFormat=="function"?new Intl.RelativeTimeFormat(getLocale(),{numeric:"auto"}).format(-1,"day"):"wczoraj"}function collectDateTimeElements(e){const t=[];return e instanceof Element&&e.matches(".js-datetime[data-date]")&&t.push(e),typeof e?.querySelectorAll=="function"&&t.push(...e.querySelectorAll(".js-datetime[data-date]")),t}export function upgradeDateTimeElements(e=document){const n=collectDateTimeElements(e),s=new Date,t=startOfDay(s).getTime(),o=t-864e5;n.forEach(e=>{const n=parseDateValue(e.dataset.date||"");if(!n)return;const s=startOfDay(n).getTime();if(s===t){e.textContent=formatTime(n);return}s===o&&(e.textContent=formatYesterdayLabel())})}export function bootstrapRelativeDateTime(){if(relativeDateTimeBootstrapped)return;relativeDateTimeBootstrapped=!0;const e=(e=document)=>upgradeDateTimeElements(e);document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>e(document),{once:!0}):e(document),document.addEventListener("publisher:fragment-ready",t=>{const n=t.detail?.root instanceof Element?t.detail.root:document;e(n)}),typeof MutationObserver=="function"&&new MutationObserver(t=>{t.forEach(t=>{t.addedNodes.forEach(t=>{t instanceof Element&&e(t)}
1)})}).observe(document.documentElement,{childList:!0,subtree:!0})}
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.