PageSourceSearch

https://www.tirolo.com/_assets/1798f66a72c0609b2ee5b404d10475ff/Di…/Assistants/OpeningHours.js?1790252148

js tirolo.com collected 2026-09-24 23:16:07 UTC 1,555 bytes, 1 lines download raw bytes

1(()=>{"use strict";const e={},n=new class{request(n){return e[n]||(e[n]=fetch(n).then((e=>e.json()))),e[n]}},t=[];function o(){const e=[];document.querySelectorAll('[data-openinghours][data-openinghours-available="1"]:not([data-openinghours-loaded],[data-openinghours-loading])').forEach((n=>{n.setAttribute("data-openinghours-loading",""),-1===e.indexOf(n.dataset.openinghours)&&e.push(n.dataset.openinghours);const o=n.querySelector("[data-openinghours-text]"),s=o.innerText;let a=0;t.push(setInterval((()=>{o.innerText=s.padEnd(s.length+a%3+1,"."),a++}),250))})),0!==e.length&&n.request(`${window.location.origin}/action/openinghours?idents=${e.join(",")}`).then((e=>{const n=[];Object.keys(e).forEach((e=>{n.push(...document.querySelectorAll(`[data-openinghours="${e}"]`))})),t.forEach((e=>clearInterval(e))),n.forEach((n=>{const t=n.dataset.openinghours,o=n.dataset.openinghoursText?n:n.querySelector("[data-openinghours-text]"),s=n.dataset.openinghoursClasses?n:n.querySelector("[data-openinghours-classes]");if(s){const[n,o]=(s.dataset.openinghoursClasses??"").split(",");e[t].opened?(s.classList.remove(o),s.classList.add(n)):e[t].opened||(s.classList.remove(n),s.classList.add(o))}o&&(o.innerHTML=e[t].text??o.innerHTML.replace(/\.+$/,"")),n.setAttribute("data-openinghours-loaded",""),n.removeAttribute("data-openinghours-loading")}))}))}document.addEventListener("ContentLoader.load",(()=>o())),document.addEventListener("infiniteScrolling.showPrevious",(()=>
1o())),document.addEventListener("infiniteScrolling.showFollowing",(()=>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.