PageSourceSearch

https://www.bit.com/_nuxt/Cn9ejzEt.js

js bit.com collected 2026-09-25 05:13:43 UTC 1,889 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DrukMpdm.js","./DaWZu8wl.js"])))=>i.map(i=>d[i]);
2import{aZ as n,bk as h,bq as c,bR as v,a$ as g,bS as b,b0 as S,b1 as _,bz as m}from"./CiNRoiE3.js";const A={__name:"async-lottie",props:{path:{type:String,required:!0},width:{type:String},height:{type:String},loop:{type:[Boolean,Number],default:!0},autoplay:{type:Boolean,default:!0},renderer:{type:String,default:"svg",validator:r=>["svg","canvas","html"].includes(r)},loadDelay:{type:Number,default:1e3},version:{type:String,default:""},speed:{type:Number,default:1}},setup(r,{expose:y}){const o=r,p=n(null);let e=null,a=!1,u=null,d=0,s=null;const f=h(()=>{let t=o.path;if(o.version){const l=t.includes("?")?"&":"?";t="".concat(t).concat(l,"v=").concat(o.version)}return t}),i=()=>{if(!p.value||!s)return;e&&(e.destroy(),e=null),d=0;const t=typeof o.loop=="number"?!0:o.loop;e=s.default.loadAnimation({container:p.value,renderer:o.renderer,loop:t,autoplay:o.autoplay,path:f.value}),o.speed!==1&&e.setSpeed(o.speed),typeof o.loop=="number"&&e.addEventListener("loopComplete",()=>{d++,d>=o.loop&&e.stop()})};return c(async()=>{setTimeout(async()=>{s=await v(()=>import("./DrukMpdm.js").then(t=>t.l),__vite__mapDeps([0,1]),import.meta.url),u=new IntersectionObserver(t=>{t.forEach(l=>{a=l.isIntersecting,a&&e?e.play():!a&&e&&e.pause()})},{threshold:.1}),p.value&&(i(),u.observe(p.value))},o.loadDelay)}),g(()=>o.path,()=>{s&&i()}),b(()=>{u==null||u.disconnect(),e==null||e.destroy()}),y({play:()=>e==null?void 0:e.play(),pause:()=>e==null?void 0:e.pause(),stop:()=>e==null?void 0:e.stop(),setSpeed:t=>e==null?void 0:e.setSpeed(t),goToAndStop:(t,l)=>e==null?void 0:e.goToAndStop(t,l),goToAndPlay:(t,l)=>e==null?void 0:e.goToAndPlay(t,l)}),(t,l)=>(_(),S("div",{class:"lottie-wrapper",ref_key:"containerRef",ref:p,style:m({width:r.width,height:r.height})},null,4))}};export{A as _};

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.