PageSourceSearch

https://moviecool.asia/_nuxt/DI3t4st_.js

js moviecool.asia collected 2026-10-03 17:58:29 UTC 2,366 bytes, 1 lines download raw bytes

vendor: 2,366 bytes, line 1
1var Y={direction:"forward",speed:2,startDelay:1e3,active:!0,breakpoints:{},playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,rootNode:null};function Z(c,e){const t=c.rootNode();return e&&e(t)||t}function x(c={}){let e,t,u,y,O=0,i=!1,f=!1,I;function N(o,n){t=o;const{mergeOptions:d,optionsAtMedia:p}=n;if(e=p(d(d(Y,x.globalOptions),c)),t.scrollSnapList().length<=1)return;y=e.startDelay,u=!1,I=t.internalEngine().scrollBody;const{eventStore:s}=t.internalEngine(),g=!!t.internalEngine().options.watchDrag,l=Z(t,e.rootNode);g&&t.on("pointerDown",E),g&&!e.stopOnInteraction&&t.on("pointerUp",h),e.stopOnMouseEnter&&s.add(l,"mouseenter",U),e.stopOnMouseEnter&&!e.stopOnInteraction&&s.add(l,"mouseleave",k),e.stopOnFocusIn&&t.on("slideFocusStart",r),e.stopOnFocusIn&&!e.stopOnInteraction&&s.add(t.containerNode(),"focusout",a),e.playOnInit&&a()}function P(){t.off("pointerDown",E).off("pointerUp",h).off("slideFocusStart",r).off("settle",v),r(),u=!0,i=!1}function a(){if(u||i)return;t.emit("autoScroll:play");const o=t.internalEngine(),{ownerWindow:n}=o;O=n.setTimeout(()=>{o.scrollBody=T(o),o.animation.start()},y),i=!0}function r(){if(u||!i)return;t.emit("autoScroll:stop");const o=t.internalEngine(),{ownerWindow:n}=o;o.scrollBody=I,n.clearTimeout(O),O=0,i=!1}function T(o){const{location:n,previousLocation:d,offsetLocation:p,target:s,scrollTarget:g,index:l,indexPrevious:q,limit:{reachedMin:z,reachedMax:C,constrain:G},options:{loop:H}}=o,J=e.direction==="forward"?-1:1,S=()=>D;let m=0,b=0,w=n.get(),B=0,F=!1;function K(){let L=0;d.set(n),m=J*e.speed,w+=m,n.add(m),s.set(n),L=w-B,b=Math.sign(L),B=w;const M=g.byDistance(0,!1).index;l.get()!==M&&(q.set(l.get()),l.set(M),t.emit("select"));const Q=e.direction==="forward"?z(p.get()):C(p.get());if(!H&&Q){F=!0;const X=G(n.get());n.set(X),s.set(n),r()}return D}const D={direction:()=>b,duration:()=>-1,velocity:()=>m,settled:()=>F,seek:K,useBaseFriction:S,useBaseDuration:S,useFriction:S,useDuration:S};return D}function E(){f||r()}function h(){f||A()}function U(){f=!0,r()}function k(){f=!1,a()}function v(){t.off("settle",v),a()}function A(){t.on("settle",v)}function R(o){typeof o<"u"&&(y=o),a()}function W(){i&&r()}function V(){i&&(r(),A())}function j(){return i}return{name:"autoScroll",options:c,init:N,destroy:P,play:R,stop:W,reset:V,isPlaying:j}}x.globalOptions=void 0;export{x as default};

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.