PageSourceSearch

https://www.regionalbikurcholim.org/js/idangerous.swiper.scrollbar-2.1.js

js regionalbikurcholim.org collected 2026-10-08 16:13:00 UTC 2,745 bytes, 1 lines download raw bytes

1Swiper.prototype.plugins.scrollbar=function(e,t){function n(e){return document.querySelectorAll?document.querySelectorAll(e):jQuery(e)}function r(t){x=!0,t.preventDefault?t.preventDefault():t.returnValue=!1,a(t),clearTimeout(b),e.setTransition(w,0),w.style.opacity=1,e.setWrapperTransition(100),e.setTransition(E,100)}function i(t){x&&(t.preventDefault?t.preventDefault():t.returnValue=!1,a(t),e.setWrapperTransition(0),e.setTransition(w,0),e.setTransition(E,0))}function o(){x=!1,t.hide&&(clearTimeout(b),b=setTimeout(function(){w.style.opacity=0,e.setTransition(w,400)},1e3)),t.snapOnRelease&&e.swipeReset()}function a(t){var n=y=0;m?(n=(t.pageX||t.clientX)-e.h.getOffset(w).left-v/2,0>n?n=0:n+v>h&&(n=h-v)):(y=(t.pageY||t.clientY)-e.h.getOffset(w).top-T/2,y<0?y=0:y+T>p&&(y=p-T)),e.setTranslate(E,{x:n,y:y});var r=-n/f,i=-y/f;e.setWrapperTranslate(r,i)}function s(){E.style.width="",E.style.height="",m?(h=e.h.getWidth(w,!0),d=e.width/e.h.getWidth(e.wrapper),f=d*(h/e.width),v=h*d,E.style.width=v+"px"):(p=e.h.getHeight(w,!0),d=e.height/e.h.getHeight(e.wrapper),f=d*(p/e.height),T=p*d,T>p&&(T=p),E.style.height=T+"px")}var c=t&&t.container;if(c){var u={hide:!0,draggable:!0,snapOnRelease:!1};t=t||{};for(var l in u)l in t||(t[l]=u[l]);if((document.querySelectorAll||window.jQuery)&&(t.container.nodeType||0!=n(t.container).length)){var h,p,d,f,v,T,g=t.container.nodeType?t.container:n(t.container)[0],m="horizontal"==e.params.mode,w=g,E=document.createElement("div");E.className="swiper-scrollbar-drag",t.draggable&&(E.className+=" swiper-scrollbar-cursor-drag"),w.appendChild(E),t.hide&&(w.style.opacity=0);var S=e.touchEvents;if(t.draggable){var x=!1,W=e.support.touch?w:document;e.h.addEventListener(w,S.touchStart,r,!1),e.h.addEventListener(W,S.touchMove,i,!1),e.h.addEventListener(W,S.touchEnd,o,!1)}var b,L={onFirstInit:function(){s()},onInit:function(){s()},onTouchMoveEnd:function(){t.hide&&(clearTimeout(b),w.style.opacity=1,e.setTransition(w,200))},onTouchEnd:function(){t.hide&&(clearTimeout(b),b=setTimeout(function(){w.style.opacity=0,e.setTransition(w,400)},1e3))},onSetWrapperTransform:function(n){if(m){var r=n.x*f,i=v;if(r>0){var o=r;r=0,i=v-o}else-r+v>h&&(i=h+r);e.setTranslate(E,{x:-r}),E.style.width=i+"px"}else{var a=n.y*f,s=T;if(a>0){var o=a;a=0,s=T-o}else-a+T>p&&(s=p+a);e.setTranslate(E,{y:-a}),E.style.height=s+"px"}e.params.freeMode&&t.hide&&(clearTimeout(b),w.style.opacity=1,b=setTimeout(function(){w.style.opacity=0,e.setTransition(w,400)},1e3))},onSetWrapperTransition:function(t){e.setTransition(E,t.duration)},onDestroy:function(){var t=e.support.touch?w:document;e.h.removeEventListener(w,S.touchStart,r,!1),e.h.removeEventListener(t,S.touchMove,i,!1),e.h.removeEventListener(t,S.touchEnd,o,!1)}};return L}}};

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.