1const h={init:function(){},initPhotoSwipeFromDOM:function(u){for(var v=function(t){for(var e=t.childNodes,r=e.length,l=[],n,s,i,o,a=0;a<r;a++)n=e[a],n.nodeType===1&&(s=n.children[0],i=s.getAttribute("data-size").split("x"),o={src:s.getAttribute("href"),w:parseInt(i[0],10),h:parseInt(i[1],10)},n.children.length>1&&(o.title=n.children[1].innerHTML),s.children.length>0&&(o.msrc=s.children[0].getAttribute("src")),o.el=n,l.push(o));return l},w=function t(e,r){return e&&(r(e)?e:t(e.parentNode,r))},b=function(t){t=t||window.event,t.preventDefault?t.preventDefault():t.returnValue=!1;var e=t.target||t.srcElement,r=w(e,function(f){return f.tagName&&f.tagName.toUpperCase()==="FIGURE"});if(r){for(var l=r.parentNode,n=r.parentNode.childNodes,s=n.length,i=0,o,a=0;a<s;a++)if(n[a].nodeType===1){if(n[a]===r){o=i;break}i++}return o>=0&&m(o,l),!1}},y=function(){var t=window.location.hash.substring(1),e={};if(t.length<5)return e;for(var r=t.split("&"),l=0;l<r.length;l++)if(r[l]){var n=r[l].split("=");n.length<2||(e[n[0]]=n[1])}return e.gid&&(e.gid=parseInt(e.gid,10)),e},m=function(t,e,r,l){var n=document.querySelectorAll(".pswp")[0],s,i,o;if(o=v(e),i={galleryUID:e.getAttribute("data-pswp-uid"),getThumbBoundsFn:function(f){var I=o[f].el.getElementsByTagName("img")[0],D=window.pageYOffset||document.documentElement.scrollTop,g=I.getBoundingClientRect();return{x:g.left,y:g.top+D,w:g.width}}},l)if(i.galleryPIDs){for(var a=0;a<o.length;a++)if(o[a].pid==t){i.index=a;break}}else i.index=parseInt(t,10)-1;else i.index=parseInt(t,10);isNaN(i.index)||(r&&(i.showAnimationDuration=0),s=new PhotoSwipe(n,PhotoSwipeUI_Default,o,i),s.init())},d=document.querySelectorAll(u),c=0,N=d.length;c<N;c++)d[c].setAttribute("data-pswp-uid",c+1),d[c].onclick=b;var p=y();p.pid&&p.gid&&m(p.pid,d[p.gid-1],!0,!0),$(".photoItem").removeClass("is-disabled")},openGallery:function(u){u.preventDefault(),h.initPhotoSwipeFromDOM(".js-projectsGallery")},binds:function(){h.initPhotoSwipeFromDOM(".js-projectsGallery"),$(".js-projectPhoto").on("click",function(u){h.openGallery(u)})}};$(document).ready(function(){h.binds()});
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.