/home/tuzdhajd/ablacktime.com/wp-content/plugins/nicepage/assets/js/nicepage-screenshot.js
(function(window) {
var $ = window.$ || window.parent.$;
var jQuery = window.jQuery || window.parent.jQuery;
!function(t){function e(i){if(n[i])return n[i].exports;var a=n[i]={i:i,l:false,exports:{}};return t[i].call(a.exports,a,a.exports,e),a.l=true,a.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,getter){e.o(t,n)||Object.defineProperty(t,n,{configurable:false,enumerable:true,get:getter})},e.n=function(t){var getter=t&&t.__esModule?function e(){return t.default}:function e(){return t};return e.d(getter,"a",getter),getter},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/Content/BundledScripts/",e(e.s=16168)}({16168:function(t,e,n){"use strict";n(786)},786:function(t,e,n){"use strict";var i=n(787);window._npLazyImages={setup:function(){window.lazySizesConfig=window.lazySizesConfig||{},window.lazySizesConfig.init=false,document.addEventListener("lazybeforeunveil",(function(t){var el=t.target;if(el.matches("video")){var e=el.getAttribute("data-src"),n=el.querySelector("source");n&&e&&n.setAttribute("src",e)}else{var i=el.getAttribute("data-bg");i&&(el.style.backgroundImage=i)}}))},init:function(){i.init()}},window._npLazyImages.setup(),$((function(){window._npLazyImages.init()}))},787:function(t,e,n){"use strict";!function(e,factory){var n=factory(e,e.document,Date);e.lazySizes=n,"object"==typeof t&&t.exports&&(t.exports=n)}("undefined"!=typeof window?window:{},(function t(e,n,Date){var i,a;if(!function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:true,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:true,ricTimeout:0,throttleDelay:125};for(t in a=e.lazySizesConfig||e.lazysizesConfig||{},n)t in a||(a[t]=n[t])}(),!n||!n.getElementsByClassName)return{init:function(){},cfg:a,noSupport:true};var o=n.documentElement,s=e.HTMLPictureElement,l="addEventListener",u="getAttribute",c=e.addEventListener.bind(e),f=e.setTimeout,g=e.requestAnimationFrame||f,y=e.requestIdleCallback,m=/^picture$/i,v=["load","error","lazyincluded","_lazyloaded"],z={},p=Array.prototype.forEach,h=function(t,e){return z[e]||(z[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),z[e].test(t.getAttribute("class")||"")&&z[e]},b=function(t,e){h(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},A=function(t,e){var n;(n=h(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(n," "))},C=function(t,e,add){var n=add?l:"removeEventListener";add&&C(t,e),v.forEach((function(i){t[n](i,e)}))},E=function(t,e,a,o,s){var l=n.createEvent("Event");return a||(a={}),a.instance=i,l.initEvent(e,!o,!s),l.detail=a,t.dispatchEvent(l),l},w=function(el,t){var n;!s&&(n=e.picturefill||a.pf)?(t&&t.src&&!el.getAttribute("srcset")&&el.setAttribute("srcset",t.src),n({reevaluate:true,elements:[el]})):t&&t.src&&(el.src=t.src)},_=function(t,style){return(getComputedStyle(t,null)||{})[style]},L=function(t,e,n){for(n=n||t.offsetWidth;n<a.minSize&&e&&!t._lazysizesWidth;)n=e.offsetWidth,e=e.parentNode;return n},x=(W=[],B=S=[],F=function(t,e){M&&!e?t.apply(this,arguments):(B.push(t),N||(N=true,(n.hidden?f:g)(T)))},F._lsFlush=T=function(){var t=B;for(B=S.length?W:S,M=true,N=false;t.length;)t.shift()();M=false},F),M,N,S,W,B,T,F,O=function(t,simple){return simple?function(){x(t)}:function(){var e=this,n=arguments;x((function(){t.apply(e,n)}))}},I=function(t){var e,n=0,i=a.throttleDelay,o=a.ricTimeout,s=function(){e=false,n=Date.now(),t()},l=y&&o>49?function(){y(s,{timeout:o}),o!==a.ricTimeout&&(o=a.ricTimeout)}:O((function(){f(s)}),true);return function(t){var a;(t=true===t)&&(o=33),e||(e=true,(a=i-(Date.now()-n))<0&&(a=0),t||a<9?l():f(l,a))}},P=function(t){var e,n,i=99,a=function(){e=null,t()},o=function(){var t=Date.now()-n;t<i?f(o,i-t):(y||a)(a)};return function(){n=Date.now(),e||(e=f(o,i))}},loader=(tt=/^img$/i,nt=/^iframe$/i,rt="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),at=0,ot=0,st=0,lt=-1,ut=function(t){st--,(!t||st<0||!t.target)&&(st=0)},ct=function(t){return null==Z&&(Z="hidden"==_(n.body,"visibility")),Z||!("hidden"==_(t.parentNode,"visibility")&&"hidden"==_(t,"visibility"))},dt=function(t,e){var i,a=t,visible=ct(t);for(K-=e,Y+=e,V-=e,X+=e;visible&&(a=a.offsetParent)&&a!=n.body&&a!=o;)(visible=(_(a,"opacity")||1)>0)&&"visible"!=_(a,"overflow")&&(i=a.getBoundingClientRect(),visible=X>i.left&&V<i.right&&Y>i.top-1&&K<i.bottom+1);return visible},gt=I(ft=function(){var t,e,rect,s,l,u,c,f,g,y,m,v,z=i.elements;if((j=a.loadMode)&&st<8&&(t=z.length)){for(e=0,lt++;e<t;e++)if(z[e]&&!z[e]._lazyRace)if(!rt||i.prematureUnveil&&i.prematureUnveil(z[e]))bt(z[e]);else if((f=z[e].getAttribute("data-expand"))&&(u=1*f)||(u=ot),y||(y=!a.expand||a.expand<1?o.clientHeight>500&&o.clientWidth>500?500:370:a.expand,i._defEx=y,m=y*a.expFactor,v=a.hFac,Z=null,ot<m&&st<1&<>2&&j>2&&!n.hidden?(ot=m,lt=0):ot=j>1&<>1&&st<6?y:0),g!==u&&(G=innerWidth+u*v,J=innerHeight+u,c=-1*u,g=u),rect=z[e].getBoundingClientRect(),(Y=rect.bottom)>=c&&(K=rect.top)<=J&&(X=rect.right)>=c*v&&(V=rect.left)<=G&&(Y||X||V||K)&&(a.loadHidden||ct(z[e]))&&($&&st<3&&!f&&(j<3||lt<4)||dt(z[e],u))){if(bt(z[e]),l=true,st>9)break}else!l&&$&&!s&&st<4&<<4&&j>2&&(k[0]||a.preloadAfterLoad)&&(k[0]||!f&&(Y||X||V||K||"auto"!=z[e].getAttribute(a.sizesAttr)))&&(s=k[0]||z[e]);s&&!l&&bt(s)}}),mt=O(yt=function(t){var e=t.target;if(e._lazyCache)return delete e._lazyCache,void 0;ut(t),b(e,a.loadedClass),A(e,a.loadingClass),C(e,vt),E(e,"lazyloaded")}),vt=function(t){mt({target:t.target})},zt=function(t,e){try{t.contentWindow.location.replace(e)}catch(n){t.src=e}},pt=function(t){var e,n=t.getAttribute(a.srcsetAttr);(e=a.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),n&&t.setAttribute("srcset",n)},ht=O((function(t,e,n,i,o){var s,l,u,c,g,y;(g=E(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(n?b(t,a.autosizesClass):t.setAttribute("sizes",i)),l=t.getAttribute(a.srcsetAttr),s=t.getAttribute(a.srcAttr),o&&(c=(u=t.parentNode)&&m.test(u.nodeName||"")),y=e.firesLoad||"src"in t&&(l||s||c),g={target:t},b(t,a.loadingClass),y&&(clearTimeout(H),H=f(ut,2500),C(t,vt,true)),c&&p.call(u.getElementsByTagName("source"),pt),l?t.setAttribute("srcset",l):s&&!c&&(nt.test(t.nodeName)?zt(t,s):t.src=s),o&&(l||c)&&w(t,{src:s})),t._lazyRace&&delete t._lazyRace,A(t,a.lazyClass),x((function(){var e=t.complete&&t.naturalWidth>1;y&&!e||(e&&b(t,"ls-is-cached"),yt(g),t._lazyCache=true,f((function(){"_lazyCache"in t&&delete t._lazyCache}),9)),"lazy"==t.loading&&st--}),true)})),bt=function(t){if(!t._lazyRace){var e,n=tt.test(t.nodeName),i=n&&(t.getAttribute(a.sizesAttr)||t.getAttribute("sizes")),o="auto"==i;(!o&&$||!n||!t.getAttribute("src")&&!t.srcset||t.complete||h(t,a.errorClass)||!h(t,a.lazyClass))&&(e=E(t,"lazyunveilread").detail,o&&_t.updateElem(t,true,t.offsetWidth),t._lazyRace=true,st++,ht(t,e,o,i,n))}},At=P((function(){a.loadMode=3,gt()})),wt=function(){if(!$){if(Date.now()-U<999)return f(wt,999),void 0;$=true,a.loadMode=3,gt(),c("scroll",Ct,true)}},{_:function(){U=Date.now(),i.elements=n.getElementsByClassName(a.lazyClass),k=n.getElementsByClassName(a.lazyClass+" "+a.preloadClass),c("scroll",gt,true),c("resize",gt,true),c("pageshow",(function(t){if(t.persisted){var e=n.querySelectorAll("."+a.loadingClass);e.length&&e.forEach&&g((function(){e.forEach((function(t){t.complete&&bt(t)}))}))}})),e.MutationObserver?new MutationObserver(gt).observe(o,{childList:true,subtree:true,attributes:true}):(o.addEventListener("DOMNodeInserted",gt,true),o.addEventListener("DOMAttrModified",gt,true),setInterval(gt,999)),c("hashchange",gt,true),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(t){n.addEventListener(t,gt,true)})),/d$|^c/.test(n.readyState)?wt():(c("load",wt),n.addEventListener("DOMContentLoaded",gt),f(wt,2e4)),i.elements.length?(ft(),x._lsFlush()):gt()},checkElems:gt,unveil:bt,_aLSL:Ct=function(){3==a.loadMode&&(a.loadMode=2),At()}}),k,$,H,j,U,G,J,K,V,X,Y,Z,tt,nt,rt,at,ot,st,lt,ut,ct,dt,ft,gt,yt,mt,vt,zt,pt,ht,bt,At,Ct,wt,_t=(xt=O((function(t,e,n,i){var a,o,s;if(t._lazysizesWidth=i,i+="px",t.setAttribute("sizes",i),m.test(e.nodeName||""))for(o=0,s=(a=e.getElementsByTagName("source")).length;o<s;o++)a[o].setAttribute("sizes",i);n.detail.dataAttr||w(t,n.detail)})),Mt=function(t,e,n){var i,a=t.parentNode;a&&(n=L(t,a,n),(i=E(t,"lazybeforesizes",{width:n,dataAttr:!!e})).defaultPrevented||(n=i.detail.width)&&n!==t._lazysizesWidth&&xt(t,a,i,n))},{_:function(){Lt=n.getElementsByClassName(a.autosizesClass),c("resize",St)},checkElems:St=P((function(){var t,e=Lt.length;if(e)for(t=0;t<e;t++)Mt(Lt[t])})),updateElem:Mt}),Lt,xt,Mt,Nt,St,init=function(){!init.i&&n.getElementsByClassName&&(init.i=true,_t._(),loader._())};return f((function(){a.init&&init()})),i={cfg:a,autoSizer:_t,loader:loader,init:init,uP:w,aC:b,rC:A,hC:h,fire:E,gW:L,rAF:x}}))}});
})(window);