PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /proc/thread-self/root/proc/self/root/proc/self/cwd/wp-content/themes/jnews/assets/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //proc/thread-self/root/proc/self/root/proc/self/cwd/wp-content/themes/jnews/assets/js/lazysizes.js

!function(t,e){var a=function(t,e){"use strict";if(!e.getElementsByClassName)return;var a,n=e.documentElement,i=t.Date,r=t.HTMLPictureElement,s=t.addEventListener,o=t.setTimeout,l=t.requestAnimationFrame||o,d=t.requestIdleCallback,u=/^picture$/i,c=["load","error","lazyincluded","_lazyloaded"],f={},g=Array.prototype.forEach,m=function(t,e){return f[e]||(f[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),f[e].test(t.getAttribute("class")||"")&&f[e]},v=function(t,e){m(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},h=function(t,e){var a;(a=m(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(a," "))},z=function(t,e,a){var n=a?"addEventListener":"removeEventListener";a&&z(t,e),c.forEach((function(a){t[n](a,e)}))},y=function(t,a,n,i,r){var s=e.createEvent("CustomEvent");return s.initCustomEvent(a,!i,!r,n||{}),t.dispatchEvent(s),s},p=function(e,n){var i;!r&&(i=t.picturefill||a.pf)?i({reevaluate:!0,elements:[e]}):n&&n.src&&(e.src=n.src)},b=function(t,e){return(getComputedStyle(t,null)||{})[e]},C=function(t,e,n){for(n=n||t.offsetWidth;n<a.minSize&&e&&!t._lazysizesWidth;)n=e.offsetWidth,e=e.parentNode;return n},A=(ft=[],gt=[],mt=function(){var t=ft;for(ft=gt,ut=!0,ct=!1;t.length;)t.shift()();ut=!1},vt=function(t,a){ut&&!a?t.apply(this,arguments):(ft.push(t),ct||(ct=!0,(e.hidden?o:l)(mt)))},vt._lsFlush=mt,vt),E=function(t,e){return e?function(){A(t)}:function(){var e=this,a=arguments;A((function(){t.apply(e,a)}))}},L=function(t){var e,a,n=function(){e=null,t()},r=function(){var t=i.now()-a;t<99?o(r,99-t):(d||n)(n)};return function(){a=i.now(),e||(e=o(r,99))}},N=(Q=/^img$/i,U=/^iframe$/i,V="onscroll"in t&&!/glebot/.test(navigator.userAgent),X=0,Y=0,Z=-1,tt=function(t){Y--,t&&t.target&&z(t.target,tt),(!t||Y<0||!t.target)&&(Y=0)},et=function(t,a){var i,r=t,s="hidden"==b(e.body,"visibility")||"hidden"!=b(t,"visibility");for(H-=a,j+=a,I-=a,q+=a;s&&(r=r.offsetParent)&&r!=e.body&&r!=n;)(s=(b(r,"opacity")||1)>0)&&"visible"!=b(r,"overflow")&&(i=r.getBoundingClientRect(),s=q>i.left&&I<i.right&&j>i.top-1&&H<i.bottom+1);return s},at=function(){var t,i,r,s,o,l,d,u,c;if((O=a.loadMode)&&Y<8&&(t=F.length)){i=0,Z++,null==J&&("expand"in a||(a.expand=n.clientHeight>500&&n.clientWidth>500?500:370),G=a.expand,J=G*a.expFactor),X<J&&Y<1&&Z>2&&O>2&&!e.hidden?(X=J,Z=0):X=O>1&&Z>1&&Y<6?G:0;for(;i<t;i++)if(F[i]&&!F[i]._lazyRace)if(V)if((u=F[i].getAttribute("data-expand"))&&(l=1*u)||(l=X),c!==l&&($=innerWidth+l*K,D=innerHeight+l,d=-1*l,c=l),r=F[i].getBoundingClientRect(),(j=r.bottom)>=d&&(H=r.top)<=D&&(q=r.right)>=d*K&&(I=r.left)<=$&&(j||q||I||H)&&(S&&Y<3&&!u&&(O<3||Z<4)||et(F[i],l))){if(lt(F[i]),o=!0,Y>9)break}else!o&&S&&!s&&Y<4&&Z<4&&O>2&&(R[0]||a.preloadAfterLoad)&&(R[0]||!u&&(j||q||I||H||"auto"!=F[i].getAttribute(a.sizesAttr)))&&(s=R[0]||F[i]);else lt(F[i]);s&&!o&&lt(s)}rt()},nt=function(t){var e,a=0,n=66,r=function(){e=!1,a=i.now(),t()},s=d?function(){d(r,{timeout:n}),66!==n&&(n=66)}:E((function(){o(r)}),!0);return function(t){var r;(t=!0===t)&&(n=44),e||(e=!0,(r=125-(i.now()-a))<0&&(r=0),t||r<9&&d?s():o(s,r))}}(at),it=function(t){v(t.target,a.afterLoadedClass),rt()},rt=function(){if(T.length>0)for(var t,e,n=a.animateExpand,i=0,r=0;r<T.length;r++){var s=T[r],o=s.getAttribute("data-animate");o&&(n=o),t=T[r].getBoundingClientRect(),e!==n&&($=innerWidth+n*K,D=innerHeight+n,i=-1*n,e=n),(j=t.bottom)>=i&&(H=t.top)<=D&&(q=t.right)>=i*K&&(I=t.left)<=$&&(j||q||I||H)&&m(s,a.afterLoadedClass)&&(v(l=s,a.loadedClass),h(l,a.loadingClass),h(l,a.afterLoadedClass))}var l},st=function(t){var e,n,i=t.getAttribute(a.srcsetAttr);(e=a.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i),e&&((n=t.parentNode).insertBefore(t.cloneNode(),t),n.removeChild(t))},ot=E((function(t,e,n,i,r){var s,l,d,c,f,m;(f=y(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(n?v(t,a.autosizesClass):t.setAttribute("sizes",i)),l=t.getAttribute(a.srcsetAttr),s=t.getAttribute(a.srcAttr),r&&(c=(d=t.parentNode)&&u.test(d.nodeName||"")),m=e.firesLoad||"src"in t&&(l||s||c),f={target:t},m&&(z(t,tt,!0),clearTimeout(k),k=o(tt,2500),v(t,a.loadingClass),z(t,it,!0)),c&&g.call(d.getElementsByTagName("source"),st),l?t.setAttribute("srcset",l):s&&!c&&(U.test(t.nodeName)?function(t,e){try{t.contentWindow.location.replace(e)}catch(a){t.src=e}}(t,s):t.src=s),(l||c)&&p(t,{src:s})),t._lazyRace&&delete t._lazyRace,h(t,a.lazyClass),A((function(){var e;m&&(!(e=t).complete||void 0!==e.naturalWidth&&0===e.naturalWidth)||(m?tt(f):Y--)}),!0)})),lt=function(t){var e,n=Q.test(t.nodeName),i=n&&(t.getAttribute(a.sizesAttr)||t.getAttribute("sizes")),r="auto"==i;(!r&&S||!n||!t.src&&!t.srcset||t.complete||m(t,a.errorClass))&&(e=y(t,"lazyunveilread").detail,r&&w.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,Y++,ot(t,e,r,i,n))},dt=function(){if(!S)if(i.now()-P<999)o(dt,999);else{var t=L((function(){a.loadMode=3,nt()}));S=!0,a.loadMode=3,nt(),s("scroll",(function(){3==a.loadMode&&(a.loadMode=2),t()}),!0)}},{_:function(){P=i.now(),F=e.getElementsByClassName(a.lazyClass),T=e.getElementsByClassName(a.afterLoadedClass),R=e.getElementsByClassName(a.lazyClass+" "+a.preloadClass),K=a.hFac,s("scroll",nt,!0),s("resize",nt,!0),t.MutationObserver?new MutationObserver(nt).observe(n,{childList:!0,subtree:!0,attributes:!0}):(n.addEventListener("DOMNodeInserted",nt,!0),n.addEventListener("DOMAttrModified",nt,!0),setInterval(nt,999)),s("hashchange",nt,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach((function(t){e.addEventListener(t,nt,!0)})),/d$|^c/.test(e.readyState)?dt():(s("load",dt),e.addEventListener("DOMContentLoaded",nt),o(dt,2e4)),F.length?(at(),A._lsFlush()):nt()},checkElems:nt,unveil:lt}),w=(W=E((function(t,e,a,n){var i,r,s;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),u.test(e.nodeName||""))for(r=0,s=(i=e.getElementsByTagName("source")).length;r<s;r++)i[r].setAttribute("sizes",n);a.detail.dataAttr||p(t,a.detail)})),x=function(t,e,a){var n,i=t.parentNode;i&&(a=C(t,i,a),(n=y(t,"lazybeforesizes",{width:a,dataAttr:!!e})).defaultPrevented||(a=n.detail.width)&&a!==t._lazysizesWidth&&W(t,i,n,a))},B=L((function(){var t,e=_.length;if(e)for(t=0;t<e;t++)x(_[t])})),{_:function(){_=e.getElementsByClassName(a.autosizesClass),s("resize",B)},checkElems:B,updateElem:x}),M=function(){M.i||(M.i=!0,w._(),N._())};var _,W,x,B;var F,R,S,k,O,P,T,$,D,H,I,q,j,G,J,K,Q,U,V,X,Y,Z,tt,et,at,nt,it,rt,st,ot,lt,dt;var ut,ct,ft,gt,mt,vt;return function(){var e,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",afterLoadedClass:"afterloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,animateExpand:0};for(e in a=t.lazySizesConfig||t.lazysizesConfig||{},n)e in a||(a[e]=n[e]);t.lazySizesConfig=a,o((function(){a.init&&M()}))}(),{cfg:a,autoSizer:w,loader:N,init:M,uP:p,aC:v,rC:h,hC:m,fire:y,gW:C,rAF:A}}(t,t.document);t.lazySizes=a,"object"==typeof module&&module.exports&&(module.exports=a)}(window);