PageSourceSearch

https://vielimousine.com/wp-content/themes/vielimousine/assets/js/script-loader.js

js vielimousine.com collected 2026-10-09 04:08:34 UTC 851 bytes, 23 lines download raw bytes

1const scriptLoader = (timeout = 3e3, scriptSelector = 'script[data-type="lazy"]') => {
2  const userInteractionEvents = ["mouseover", "keydown", "touchstart", "touchmove", "wheel"];
3  const loadScriptsTimer = setTimeout(loadScripts, timeout);
4  userInteractionEvents.forEach((event) => {
5    window.addEventListener(event, triggerScriptLoader, { once: true, passive: true });
6  });
7  function triggerScriptLoader() {
8    loadScripts();
9    clearTimeout(loadScriptsTimer);
10  }
11  function loadScripts() {
12    document.querySelectorAll(scriptSelector).forEach((elem) => {
13      const dataSrc = elem.getAttribute("data-src");
14      if (dataSrc) {
15        elem.setAttribute("src", dataSrc);
16        elem.removeAttribute("data-src");
17        elem.removeAttribute("data-type");
18      }
19    });
20  }
21};
22scriptLoader();
23//# sourceMappingURL=script-loader.js.map

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.