PageSourceSearch

https://www.vendasta.com/blog/wp-content/themes/divi-child-theme-2…/js/custom-lightbox-logic.js?ver=1.0

js vendasta.com collected 2026-09-24 08:36:39 UTC 1,471 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(i){i('div:not(.et_mobile_menu) .lightbox-content, div:not(.et_mobile_menu) [class*="lightbox-content-"]').addClass("mfp-hide"),i(this).click(function(){i(".mfp-wrap").attr("id","et-boc")}),i('[class*="lightbox-content"]').prepend('<div class="lightbox-overlay"></div>');const r=document.querySelectorAll('div:not(.et_mobile_menu) .lightbox-trigger, div:not(.et_mobile_menu) [class*="lightbox-trigger-"]');if("IntersectionObserver"in window&&r.length>0){const n=new IntersectionObserver((t,l)=>{t.forEach(o=>{if(o.isIntersecting){const e=i(o.target);if(e.hasClass("lightbox-trigger")&&e.magnificPopup({items:{src:"div:not(.et_mobile_menu) .lightbox-content",type:"inline"}}),e.attr("class").includes("lightbox-trigger-")){var g=".lightbox-content-"+Array.prototype.find.call(e[0].classList,function(s){return s.indexOf("lightbox-trigger-")>-1}).split("lightbox-trigger-")[1];e.magnificPopup({items:{src:g,type:"inline"}})}l.unobserve(o.target)}})},{rootMargin:"200px 0px 200px 0px"});r.forEach(t=>{n.observe(t)})}else i("div:not(.et_mobile_menu) .lightbox-trigger").magnificPopup({items:{src:"div:not(.et_mobile_menu) .lightbox-content",type:"inline"}}),i('div:not(.et_mobile_menu) [class*="lightbox-trigger-"]').each(function(){var n=".lightbox-content-"+Array.prototype.find.call(this.classList,function(t){return t.indexOf("lightbox-trigger-")>-1}).split("lightbox-trigger-")[1];i(this).magnificPopup({items:{src:n,type:"inline"}})})});

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.