PageSourceSearch

https://www.tvadrano.com/wp-content/uploads/siteground-optimizer-assets/magnific_popup.min.js

js tvadrano.com collected 2026-10-02 17:14:53 UTC 21,006 bytes, 1 lines download raw bytes

1(function(e){typeof define=="function"&&define.amd?define(["jquery"],e):e(typeof exports=="object"?require("jquery"):window.jQuery||window.Zepto)})(function(e){var t,r,c,u,h,p,g,v,b,j,_,x,A,M,T,R,P,B,d="Close",H="BeforeClose",$="AfterClose",W="BeforeAppend",S="MarkupParse",D="Open",V="Change",O="mfp",o="."+O,y="mfp-ready",I="mfp-removing",z="mfp-prevent-close",w=function(){},k=!!window.jQuery,a=e(window),s=function(e,n){t.ev.on(O+e+o,n)},i=function(t,n,s,o){var i=document.createElement("div");return i.className="mfp-"+t,s&&(i.innerHTML=s),o?n&&n.appendChild(i):(i=e(i),n&&i.appendTo(n)),i},n=function(n,s){t.ev.triggerHandler(O+n,s),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(s)?s:[s]))},C=function(n){return(n!==B||!t.currTemplate.closeBtn)&&(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),B=n),t.currTemplate.closeBtn},E=function(){e.magnificPopup.instance||(t=new w,t.init(),e.magnificPopup.instance=t)},K=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(e.transition!==0[0])return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};w.prototype={constructor:w,init:function(){var n=navigator.appVersion;t.isIE7=n.indexOf("MSIE 7.")!==-1,t.isIE8=n.indexOf("MSIE 8.")!==-1,t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=K(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),r=e(document),t.popupsCache={}},open:function(c){if(c.isObj===!1){{t.items=c.items.toArray(),t.index=0,f=c.items;for(l=0;l<f.length;l++)if(d=f[l],d.parsed&&(d=d.el[0]),d===c.el[0]){t.index=l;break}}}else t.items=e.isArray(c.items)?c.items:[c.items],t.index=c.index||0;if(t.isOpen){t.updateItemHTML();return}t.types=[],u="",c.mainEl&&c.mainEl.length?t.ev=c.mainEl.eq(0):t.ev=r,c.key?(t.popupsCache[c.key]||(t.popupsCache[c.key]={}),t.currTemplate=t.popupsCache[c.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,c),t.fixedContentPos=t.st.fixedContentPos==="auto"?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=i("bg").on("click"+o,function(){t.close()}),t.wrap=i("wrap").attr("tabindex",-1).on("click"+o,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=i("container",t.wrap)),t.contentContainer=i("content"),t.st.preloader&&(t.preloader=i("preloader",t.container,t.st.tLoading)),p=e.magnificPopup.modules;for(l=0;l<p.length;l++)h=p[l],h=h.charAt(0).toUpperCase()+h.slice(1),t["init"+h].call(t);n("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(s(S,function(e,t,n,s){n.close_replaceWith=C(s.type)}),u+=" mfp-close-btn-in"):t.wrap.append(C())),t.st.alignTop&&(u+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:a.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||t.st.fixedBgPos==="auto"&&!t.fixedContentPos)&&t.bgOverlay.css({height:r.height(),position:"absolute"}),t.st.enableEscapeKey&&r.on("keyup"+o,function(e){e.keyCode===27&&t.close()}),a.on("resize"+o,function(){t.updateSize()}),t.st.closeOnContentClick||(u+=" mfp-auto-cursor"),u&&t.wrap.addClass(u);var l,d,h,m,f,p,v,b=t.wH=a.height(),g={};return t.fixedContentPos&&t._hasScrollBar(b)&&(v=t._getScrollbarSize(),v&&(g.marginRight=v)),t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):g.overflow="hidden"),m=t.st.mainClass,t.isIE7&&(m+=" mfp-ie7"),m&&t._addClassToMFP(m),t.updateItemHTML(),n("BuildControls"),e("html").css(g),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(y),t._setFocus()):t.bgOverlay.addClass(y),r.on("focusin"+o,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(b),n(D),c},close:function(){if(!t.isOpen)return;n(H),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(I),setTimeout(function(){t._close()},t.st.removalDelay)):t._close()},_close:function(){n(d);var s,i=I+" "+y+" ";t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(i+=t.st.mainClass+" "),t._removeClassFromMFP(i),t.fixedContentPos&&(s={marginRight:""},t.isIE7?e("body, html").css("overflow",""):s.overflow="",e("html").css(s)),r.off("keyup"+o+" focusin"+o),t.ev.off(o),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),t.st.showCloseBtn&&(!t.st.closeBtnInside||t.currTemplate[t.currItem.type]===!0)&&t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,n($)},updateSize:function(e){if(t.isIOS){var o=document.documentElement.clientWidth/window.innerWidth,s=window.innerHeight*o;t.wrap.css("height",s),t.wH=s}else t.wH=e||a.height();t.fixedContentPos||t.wrap.css("height",t.wH),n("Resize")},updateItemHTML:function(){var s,i,a,o=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),o.parsed||(o=t.parseEl(t.index)),s=o.type,n("BeforeChange",[t.currItem?t.currItem.type:"",s]),t.currItem=o,t.currTemplate[s]||(i=!!t.st[s]&&t.st[s].markup,n("FirstMarkupParse",i),i?t.currTemplate[s]=e(i):t.currTemplate[s]=!0),j&&j!==o.type&&t.container.removeClass("mfp-"+j+"-holder"),a=t["get"+s.charAt(0).toUpperCase()+s.slice(1)](o,t.currTemplate[s]),t.appendContent(a,s),o.preloaded=!0,n(V,o),j=o.type,t.container.prepend(t.contentContainer),n("AfterChange")},appendContent:function(e,s){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[s]===!0?t.content.find(".mfp-close").length||t.content.append(C()):t.content=e:t.content="",n(W),t.container.addClass("mfp-"+s+"-holder"),t.contentContainer.append(t.content)},parseEl:function(s){var i,a,r,o=t.items[s];if(o.tagName?o={el:e(o)}:(r=o.type,o={data:o,src:o.src}),o.el){for(a=t.types,i=0;i<a.length;i++)if(o.el.hasClass("mfp-"+a[i])){r=a[i];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=r||t.st.type||"inline",o.index=s,o.parsed=!0,t.items[s]=o,n("ElementParse",o),t.items[s]},addGroup:function(e,n){var s,o=function(s){s.mfpEl=this,t._openClick(s,e,n)};n||(n={}),s="click.magnificPopup",n.mainEl=e,n.items?(n.isObj=!0,e.off(s).on(s,o)):(n.isObj=!1,n.delegate?e.off(s).on(s,n.delegate,o):(n.items=e,e.off(s).on(s,o)))},_openClick:function(n,s,o){var i,r=o.midClick!==0[0]?o.midClick:e.magnificPopup.defaults.midClick;if(!r&&(n.which===2||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey))return;if(i=o.disableOn!==0[0]?o.disableOn:e.magnificPopup.defaults.disableOn,i)if(e.isFunction(i)){if(!i.call(t))return!0}else if(a.width()<i)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),o.el=e(n.mfpEl),o.delegate&&(o.items=s.find(o.delegate)),t.open(o)},updateStatus:function(e,s){if(t.preloader){M!==e&&t.container.removeClass("mfp-s-"+M),!s&&e==="loading"&&(s=t.st.tLoading);var o={status:e,text:s};n("UpdateStatus",o),e=o.status,s=o.text,t.preloader.html(s),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),M=e}},_checkIfClose:function(n){if(e(n).hasClass(z))return;var s=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(s&&o)return!0;
1if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n!==t.content[0]&&!e.contains(t.content[0],n)){if(o&&e.contains(document,n))return!0}else if(s)return!0;return!1},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?r.height():document.body.scrollHeight)>(e||a.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(t,s,i){var a;i.data&&(s=e.extend(i.data,s)),n(S,[t,s,i]),e.each(s,function(e,n){if(n===0[0]||n===!1)return!0;if(a=e.split("_"),a.length>1){var i,s=t.find(o+"-"+a[0]);s.length>0&&(i=a[1],i==="replaceWith"?s[0]!==n[0]&&s.replaceWith(n):i==="img"?s.is("img")?s.attr("src",n):s.replaceWith('<img src="'+n+'" class="'+s.attr("class")+'" />'):s.attr(a[1],n))}else t.find(o+"-"+e).html(n)})},_getScrollbarSize:function(){if(t.scrollbarSize===0[0]){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:w.prototype,modules:[],open:function(t,n){return E(),t?t=e.extend(!0,{},t):t={},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(n){if(E(),s=e(this),typeof n=="string")if(n==="open"){var s,o,i=k?s.data("magnificPopup"):s[0].magnificPopup,a=parseInt(arguments[1],10)||0;i.items?o=i.items[a]:(o=s,i.delegate&&(o=o.find(i.delegate)),o=o.eq(a)),t._openClick({mfpEl:o},s,i)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),k?s.data("magnificPopup",n):s[0].magnificPopup=n,t.addGroup(s,n);return s},p="inline",T=function(){b&&(_.after(b.addClass(h)).detach(),b=null)},e.magnificPopup.registerModule(p,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(p),s(d+"."+p,function(){T()})},getInline:function(n,s){if(T(),n.src){var a,r=t.st.inline,o=e(n.src);return o.length?(a=o[0].parentNode,a&&a.tagName&&(_||(h=r.hiddenClass,_=i(h),h="mfp-"+h),b=o.after(_).detach().removeClass(h)),t.updateStatus("ready")):(t.updateStatus("error",r.tNotFound),o=e("<div>")),n.inlineElement=o,o}return t.updateStatus("ready"),t._parseMarkup(s,{},n),s}}});var m,f="ajax",N=function(){m&&e(document.body).removeClass(m)},L=function(){N(),t.req&&t.req.abort()};e.magnificPopup.registerModule(f,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(f),m=t.st.ajax.cursor,s(d+"."+f,L),s("BeforeChange."+f,L)},getAjax:function(s){m&&e(document.body).addClass(m),t.updateStatus("loading");var o=e.extend({url:s.src,success:function(o,i,a){var r={data:o,xhr:a};n("ParseAjax",r),t.appendContent(e(r.data),f),s.finished=!0,N(),t._setFocus(),setTimeout(function(){t.wrap.addClass(y)},16),t.updateStatus("ready"),n("AjaxContentAdded")},error:function(){N(),s.finished=s.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",s.src))}},t.st.ajax.settings);return t.req=e.ajax(o),""}}}),R=function(n){if(n.data&&n.data.title!==0[0])return n.data.title;
1var s=t.st.image.titleSrc;if(s){if(e.isFunction(s))return s.call(t,n);if(n.el)return n.el.attr(s)||""}return""},e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image"),s(D+i,function(){t.currItem.type==="image"&&n.cursor&&e(document.body).addClass(n.cursor)}),s(d+i,function(){n.cursor&&e(document.body).removeClass(n.cursor),a.off("resize"+o)}),s("Resize"+i,t.resizeImage),t.isLowIE&&s("AfterChange",t.resizeImage)},resizeImage:function(){var n,e=t.currItem;if(!e||!e.img)return;t.st.image.verticalFit&&(n=0,t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,c&&clearInterval(c),e.isCheckingImgSize=!1,n("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,o=e.img[0],s=function(i){c&&clearInterval(c),c=setInterval(function(){if(o.naturalWidth>0){t._onImageHasSize(e);return}n>200&&clearInterval(c),n++,n===3?s(10):n===40?s(50):n===100&&s(500)},i)};s(1)},getImage:function(s,o){var i,a=0,r=function(){s&&(s.img[0].complete?(s.img.off(".mfploader"),s===t.currItem&&(t._onImageHasSize(s),t.updateStatus("ready")),s.hasSize=!0,s.loaded=!0,n("ImageLoadComplete")):(a++,a<200?setTimeout(r,100):l()))},l=function(){s&&(s.img.off(".mfploader"),s===t.currItem&&(t._onImageHasSize(s),t.updateStatus("error",d.tError.replace("%url%",s.src))),s.hasSize=!0,s.loaded=!0,s.loadError=!0)},d=t.st.image,u=o.find(".mfp-img");return u.length&&(i=document.createElement("img"),i.className="mfp-img",s.el&&s.el.find("img").length&&(i.alt=s.el.find("img").attr("alt")),s.img=e(i).on("load.mfploader",r).on("error.mfploader",l),i.src=s.src,u.is("img")&&(s.img=s.img.clone()),i=s.img[0],i.naturalWidth>0?s.hasSize=!0:i.width||(s.hasSize=!1)),t._parseMarkup(o,{title:R(s),img_replaceWith:s.img},s),t.resizeImage(),s.hasSize?(c&&clearInterval(c),s.loadError?(o.addClass("mfp-loading"),t.updateStatus("error",d.tError.replace("%url%",s.src))):(o.removeClass("mfp-loading"),t.updateStatus("ready")),o):(t.updateStatus("loading"),s.loading=!0,s.hasSize||(s.imgHidden=!0,o.addClass("mfp-loading"),t.findImageSize(s)),o)}}}),P=function(){return x===0[0]&&(x=document.createElement("p").style.MozTransform!==0[0]),x},e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){if(i=t.st.zoom,a=".zoom",!i.enabled||!t.supportsTransition)return;var e,o,i,a,r,l=i.duration,u=function(e){var s=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),o="all "+i.duration/1e3+"s "+i.easing,t={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return t["-webkit-"+n]=t["-moz-"+n]=t["-o-"+n]=t[n]=o,s.css(t),s},c=function(){t.content.css("visibility","visible")};s("BuildControls"+a,function(){if(t._allowZoom()){if(clearTimeout(r),t.content.css("visibility","hidden"),o=t._getItemToZoom(),!o){c();return}e=u(o),e.css(t._getOffset()),t.wrap.append(e),r=setTimeout(function(){e.css(t._getOffset(!0)),r=setTimeout(function(){c(),setTimeout(function(){e.remove(),o=e=null,n("ZoomAnimationEnded")},16)},l)},16)}}),s(H+a,function(){if(t._allowZoom()){if(clearTimeout(r),t.st.removalDelay=l,!o){if(o=t._getItemToZoom(),!o)return;e=u(o)}e.css(t._getOffset(!0)),t.wrap.append(e),t.content.css("visibility","hidden"),setTimeout(function(){e.css(t._getOffset())},16)}}),s(d+a,function(){t._allowZoom()&&(c(),e&&e.remove(),o=null)})},_allowZoom:function(){return t.currItem.type==="image"},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){n?s=t.currItem.img:s=t.st.zoom.opener(t.currItem.el||t.currItem);var s,o,i=s.offset(),a=parseInt(s.css("padding-top"),10),r=parseInt(s.css("padding-bottom"),10);return i.top-=e(window).scrollTop()-a,o={width:s.width(),height:(k?s.innerHeight():s[0].offsetHeight)-r-a},P()?o["-moz-transform"]=o.transform="translate("+i.left+"px,"+i.top+"px)":(o.left=i.left,o.top=i.top),o}}});var l="iframe",U="//about:blank",F=function(e){if(t.currTemplate[l]){var n=t.currTemplate[l].find("iframe");n.length&&(e||(n[0].src=U),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(l,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(l),s("BeforeChange",function(e,t,n){t!==n&&(t===l?F():n===l&&F(!0))}),s(d+"."+l,function(){F()})},getIframe:function(n,s){var a,o=n.src,i=t.st.iframe;return e.each(i.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?o=o.substr(o.lastIndexOf(this.id
1)+this.id.length,o.length):o=this.id.call(this,o)),o=this.src.replace("%id%",o),!1}),a={},i.srcAction&&(a[i.srcAction]=o),t._parseMarkup(s,a,n),t.updateStatus("ready"),s}}}),v=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},A=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)},e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var o=t.st.gallery,n=".mfp-gallery",a=Boolean(e.fn.mfpFastClick);if(t.direction=!0,!o||!o.enabled)return!1;u+=" mfp-gallery",s(D+n,function(){o.navigateByImgClick&&t.wrap.on("click"+n,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),r.on("keydown"+n,function(e){e.keyCode===37?t.prev():e.keyCode===39&&t.next()})}),s("UpdateStatus"+n,function(e,n){n.text&&(n.text=A(n.text,t.currItem.index,t.items.length))}),s(S+n,function(e,n,s,i){var a=t.items.length;s.counter=a>1?A(o.tCounter,i.index,a):""}),s("BuildControls"+n,function(){if(t.items.length>1&&o.arrows&&!t.arrowLeft){var r=o.arrowMarkup,n=t.arrowLeft=e(r.replace(/%title%/gi,o.tPrev).replace(/%dir%/gi,"left")).addClass(z),s=t.arrowRight=e(r.replace(/%title%/gi,o.tNext).replace(/%dir%/gi,"right")).addClass(z),c=a?"mfpFastClick":"click";n[c](function(){t.prev()}),s[c](function(){t.next()}),t.isIE7&&(i("b",n[0],!1,!0),i("a",n[0],!1,!0),i("b",s[0],!1,!0),i("a",s[0],!1,!0)),t.container.append(n.add(s))}}),s(V+n,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),s(d+n,function(){r.off(n),t.wrap.off("click"+n),t.arrowLeft&&a&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=v(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=v(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,s=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?o:s);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?s:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(s){if(s=v(s),t.items[s].preloaded)return;var o=t.items[s];o.parsed||(o=t.parseEl(s)),n("LazyLoad",o),o.type==="image"&&(o.img=e('<img class="mfp-img" />').on("load.mfploader",function(){o.hasSize=!0}).on("error.mfploader",function(){o.hasSize=!0,o.loadError=!0,n("LazyLoadError",o)}).attr("src",o.src)),o.preloaded=!0}}}),g="retina",e.magnificPopup.registerModule(g,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var n=t.st.retina,e=n.ratio,e=isNaN(e)?e():e;e>1&&(s("ImageHasSize."+g,function(t,n){n.img.css({"max-width":n.img[0].naturalWidth/e,width:"100%"})}),s("ElementParse."+g,function(t,s){s.src=n.replaceSrc(s,e)}))}}}}),function(){var o=1e3,n="ontouchstart"in window,s=function(){a.off("touchmove"+t+" touchend"+t)},i="mfpFastClick",t="."+i;e.fn.mfpFastClick=function(i){return e(this).each(function(){var r,c,l,d,h,m,f,u=e(this);n&&u.on("touchstart"+t,function(e){l=!1,d=1,r=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],m=r.clientX,f=r.clientY,a.on("touchmove"+t,function(e){r=e.originalEvent?e.originalEvent.touches:e.touches,d=r.length,r=r[0],(Math.abs(r.clientX-m)>10||Math.abs(r.clientY-f)>10)&&(l=!0,s())}).on("touchend"+t,function(e){if(s(),l||d>1)return;c=!0,e.preventDefault(),clearTimeout(h),h=setTimeout(function(){c=!1},o),i()})}),u.on("click"+t,function(){c||i()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+t+" click"+t),n&&a.off("touchmove"+t+" touchend"+t)}}(),E()})

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.