PageSourceSearch

https://inshot.com/js/made.3afe7a2e.js

js inshot.com collected 2026-10-01 09:02:03 UTC 3,343 bytes, 1 lines download raw bytes

1(self.webpackChunkinshot_guanwang_web=self.webpackChunkinshot_guanwang_web||[]).push([[848],{89:()=>{const e=document.querySelectorAll(".made-img-box .made-img"),t=document.querySelector(".made-img-box"),s=document.querySelectorAll(".overlay"),n=document.querySelectorAll(".tag-btn"),a=document.getElementById("Cutout_Photo_Collage"),o=document.getElementById("Giant_Effect"),i=document.getElementById("Replace_Sky"),c=document.getElementById("Outfit_Transition"),l=[i,o,a,document.getElementById("3D_Editing_Trick"),c];let r,d=0;function u(t){n.forEach((e=>{e.classList.remove("active")})),n[t].classList.add("active"),function(t){let n=function(e){const t=[1,2,3,4,5],s=[];for(let n=0;n<t.length;n++){const a=(n+e)%t.length;s.push(t[a])}return s}(t);n.push(n.shift()),e.forEach((function(e,t){e.classList.remove(...Array.from(e.classList).filter((e=>e.startsWith("made-img")))),s[t].classList.remove(...Array.from(s[t].classList).filter((e=>e.startsWith("overlay")))),e.classList.add("made-img",`made-img-${n[t]}`),s[t].classList.add("overlay",`overlay${n[t]}`)})),window.isIconTouchDevice&&e.forEach((function(e,t){e.classList.contains("made-img-4")&&document.querySelectorAll(".overlay").forEach((function(e){e.style.opacity=0,e.classList.remove("show"),e.classList.contains("overlay4")&&(e.classList.add("show"),e.style.transition="all 1s ease-in-out",e.style.opacity=1)}))}))}(d)}function m(){d=(d+1)%n.length,u(d)}const v=new IntersectionObserver((e=>{e[0].isIntersecting?(clearInterval(r),r=setInterval(m,5e3)):clearInterval(r)}),{threshold:.5});v.observe(t);let y=!1;u(0);let f=!1;n.forEach(((e,s)=>{e.addEventListener("dblclick",(e=>{e.preventDefault()})),e.addEventListener("click",(()=>{f||(f=!0,d=s,u(s),clearInterval(r),r=setInterval(m,5e3),v.unobserve(t),v.observe(t),setTimeout((function(){f=!1}),100))}))})),l.forEach(((e,n)=>{var a;e.addEventListener("click",(a=()=>{e.classList.contains("made-img-4")?window.open(e.dataset.skipUrl,"_blank"):f||(f=!0,d=n,u(n),clearInterval(r),r=setInterval(m,5e3),v.unobserve(t),v.observe(t),setTimeout((function(){f=!1}),100))},function(...e){y||(a.apply(this,e),y=!0,setTimeout((()=>y=!1),1e3))})),window.isIconTouchDevice||(document.addEventListener("mousemove",(t=>{e.contains(t.target)&&e.classList.contains("made-img-4")&&s.forEach((function(e){e.style.opacity=0,e.classList.contains("overlay4")&&(e.classList.add("show"),e.style.transition="all 1s ease-in-out",e.style.opacity=1)}))})),document.addEventListener("mousemove",(t=>{e.contains(t.target)&&e.classList.contains("made-img-4")&&s.forEach((function(e){e.style.opacity=0,e.classList.contains("overlay4")&&(e.classList.add("show"),e.style.transition="all 1s ease-in-out",e.style.opacity=1)}))})),e.addEventListener("mouseenter",(()=>{e.classList.contains("made-img-4")&&document.querySelectorAll(".overlay").forEach((function(e){e.style.opacity=0,e.classList.contains("overlay4")&&(e.classList.add("show"),e.style.transition="all 1s ease-in-out",e.style.opacity=1)}))})),e.addEventListener("mouseleave",(()=>{e.classList.contains("made-img-4")&&document.querySelectorAll(".overlay").forEach((function(e){e.classList.remove("show"),e.style.opacity=0}))})))})),r=setInterval(m,5e3),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState?v.observe(t):(clearInterval(r),v.unobserve(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.