PageSourceSearch

https://www.velkylapas.sk/build/assets/info-modal-B3kSIdFY.js

js velkylapas.sk collected 2026-09-25 11:07:54 UTC 662 bytes, 1 lines download raw bytes

1import{a as r}from"./app-DwAHMZ1w.js";function c(){document.querySelectorAll("[data-info-modal-id]").forEach(t=>{const e=t.dataset.infoModalId;if(!e)return;const o=`modal_closed_${e}`,s=Number(r.get(o)??0),a=Number(t.dataset.infoModalVersion??0);s<a&&t.classList.remove("hidden");const d=window.location.href.split("?")[0],i=t.querySelector("a")?.getAttribute("href");i&&d===i&&t.classList.add("hidden");const n=t.querySelector(".info-modal-close");n&&n.addEventListener("click",()=>{t.classList.add("hidden"),r.set(o,String(Math.floor(Date.now()/1e3)),{expires:365,path:"/"})})})}document.querySelector("[data-info-modal-id]")&&c();export{c as initInfoModals};

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.