PageSourceSearch

https://evostoto.biz/js/custom/floating_icons.min.js?v=7k5yjalts6dycvsp3vqc

js evostoto.biz collected 2026-09-29 11:49:25 UTC 2,387 bytes, 1 lines download raw bytes

1function isLottieUrl(t){if(!t)return!1;try{const e=new URL(t,window.location.href);if("cdn.lottielab.com"===e.hostname)return!0;if(e.pathname.endsWith(".json"))return!0}catch(t){}return t.endsWith(".json")}function toLottieJsonSrc(t){try{const e=new URL(t,window.location.href);if("cdn.lottielab.com"===e.hostname&&e.pathname.endsWith(".html"))return e.pathname=e.pathname.replace(/\.html$/,".json"),e.searchParams.set("w","0"),e.toString()}catch(t){}return t}function renderMedia(t,e,n){if(isLottieUrl(t)){return`<lottie-player\n            src="${toLottieJsonSrc(t)}"\n            autoplay\n            loop\n            aria-label="${e}"\n            style="width:${n}px;height:${n}px;display:block;">\n        </lottie-player>`}return`<img src="${t}" alt="${e}" style="width:${n}px;height:${n}px;">`}function loadLottiePlayer(){const t="lottie-player-script";return new Promise((e=>{if(document.getElementById(t))return void e();const n=document.createElement("script");n.id=t,n.src="https://cdn.lottielab.com/s/[email protected]/player-web.min.js",n.onload=e,n.onerror=e,document.head.appendChild(n)}))}async function getData(t){const e=document.querySelector('meta[name="csrf-token"]')?.getAttribute("content")??getCsrfFromCookie()??"";return await fetch(t,{method:"GET",headers:{"X-CSRF-TOKEN":e,"Content-Type":"application/json"}})}function getCsrfFromCookie(){const t=document.cookie.match(/(?:^|;\s*)XSRF-TOKEN=([^;]+)/);return t?decodeURIComponent(t[1]):""}document.addEventListener("DOMContentLoaded",(async function(){var t=document.createElement("div");t.className="floating_icon",t.style.position="fixed",t.style.bottom="150px",t.style.right="2%",t.style.zIndex="999",t.style.display="flex",t.style.flexDirection="column",t.style.gap="10px";const e=[],n=await getData("/json/floating-datas"),o=await n.json(),a=o.data.icon,r=o.data.global;let i=!1;for(const t of a)if(isLottieUrl(t.ImagePath)){i=!0;break}i||Object.values(r).forEach((t=>{isLottieUrl(t.image_url)&&(i=!0)})),i&&await loadLottiePlayer();for(const t of a){const n=`<a href="${t.URL}" ${"0"==t.Isinternal?'target="_blank"':""}>${renderMedia(t.ImagePath,t.Name,32)}</a>`;e.push(n)}Object.entries(r).forEach((([t,n])=>{const o=`<a href="${n.url}" ${"0"==n.link_type?'target="_blank"':""}>${renderMedia(n.image_url,n.floating_name,64)}</a>`;e.push(o)})),t.innerHTML=e.join(""),document.body.appendChild(t)}));

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.