1var loadedswiper = false; 2 3const onGSSwiperInteraction = (init = false) => { 4 if (loadedswiper === true) { 5 return; 6 } 7 loadedswiper = true; 8 9 const SwiperScript = document.createElement("script"); 10 SwiperScript.src = gs_swiper_params.pluginURL + "/libs/swiper/swiper-bundle.min.js"; 11 SwiperScript.id = 'gs-swiper-loaded'; 12 document.body.appendChild(SwiperScript); 13 14 setTimeout(function(){ 15 const SwiperScriptInit = document.createElement("script"); 16 SwiperScriptInit.src = gs_swiper_params.pluginURL + "/libs/swiper/init.js"; 17 SwiperScriptInit.id = 'gs-swiper-loaded-init'; 18 document.body.appendChild(SwiperScriptInit); 19 }, 200); 20 21}; 22 23document.body.addEventListener("mouseover", onGSSwiperInteraction, {once:true}); 24document.body.addEventListener("touchmove", onGSSwiperInteraction, {once:true}); 25window.addEventListener("scroll", onGSSwiperInteraction, {once:true}); 26document.body.addEventListener("keydown", onGSSwiperInteraction, {once:true});
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.