PageSourceSearch

https://www.ozdilek.com.tr/tr/js/gallery/initPhotoswipe.min.js

js ozdilek.com.tr collected 2026-09-24 10:49:12 UTC 2,778 bytes, 1 lines download raw bytes

1!function(){var e=function(e){for(var t=function(e){for(var e,n,l,o,t=e.childNodes,r=t.length,i=[],s=0;r>s;s++)if(e=t[s],1===e.nodeType){n=e.children,l=e.getAttribute("data-size").split("x"),o={src:e.getAttribute("href"),w:parseInt(l[0],10),h:parseInt(l[1],10),author:e.getAttribute("data-author")},o.el=e,n.length>0&&(o.msrc=n[0].getAttribute("src"),n.length>1&&(o.title=n[1].innerHTML));var u=e.getAttribute("data-med");u&&(l=e.getAttribute("data-med-size").split("x"),o.m={src:u,w:parseInt(l[0],10),h:parseInt(l[1],10)}),o.o={src:o.src,w:o.w,h:o.h},i.push(o)}return i},r=function f(e,t){return e&&(t(e)?e:f(e.parentNode,t))},i=function(e){e=e||window.event,e.preventDefault?e.preventDefault():e.returnValue=!1;var t=e.target||e.srcElement,i=r(t,function(e){return"A"===e.tagName});if(i){for(var u,n=i.parentNode,l=i.parentNode.childNodes,o=l.length,s=0,f=0;o>f;f++)if(1===l[f].nodeType){if(l[f]===i){u=s;break}s++}return u>=0&&a(u,n),!1}},n=function(){var e=window.location.hash.substring(1),t={};if(e.length<5)return t;for(var r=e.split("&"),i=0;i<r.length;i++)if(r[i]){var n=r[i].split("=");n.length<2||(t[n[0]]=n[1])}return t.gid&&(t.gid=parseInt(t.gid,10)),t},a=function(e,r,i,n){var l,o,s,a=document.querySelectorAll(".pswp")[0];if(s=t(r),o={galleryUID:r.getAttribute("data-pswp-uid"),getThumbBoundsFn:function(e){var t=s[e].el.children[0],r=window.pageYOffset||document.documentElement.scrollTop,i=t.getBoundingClientRect();return{x:i.left,y:i.top+r,w:i.width}},addCaptionHTMLFn:function(e,t,r){return e.title?(t.children[0].innerHTML=e.title+"<br/><small>Photo: "+e.author+"</small>",!0):(t.children[0].innerText="",!1)}},n)if(o.galleryPIDs){for(var u=0;u<s.length;u++)if(s[u].pid==e){o.index=u;break}}else o.index=parseInt(e,10)-1;else o.index=parseInt(e,10);if(!isNaN(o.index)){for(var f=document.getElementsByName("gallery-style"),d=0,c=f.length;c>d;d++)if(f[d].checked){"radio-all-controls"==f[d].id||"radio-minimal-black"==f[d].id&&(o.mainClass="pswp--minimal--dark",o.barsSize={top:0,bottom:0},o.captionEl=!1,o.fullscreenEl=!1,o.shareEl=!1,o.bgOpacity=.85,o.tapToClose=!0,o.tapToToggleControls=!1);break}i&&(o.showAnimationDuration=0),l=new PhotoSwipe(a,PhotoSwipeUI_Default,s,o);var h,v,p=!1,g=!0;l.listen("beforeResize",function(){var e=window.devicePixelRatio?window.devicePixelRatio:1;e=Math.min(e,2.5),h=l.viewportSize.x*e,h>=1200||!l.likelyTouchDevice&&h>800||screen.width>1200?p||(p=!0,v=!0):p&&(p=!1,v=!0),v&&!g&&l.invalidateCurrItems(),g&&(g=!1),v=!1}),l.listen("gettingData",function(e,t){p?(t.src=t.o.src,t.w=t.o.w,t.h=t.o.h):(t.src=t.m.src,t.w=t.m.w,t.h=t.m.h)}
1),l.init()}},l=document.querySelectorAll(e),o=0,s=l.length;s>o;o++)l[o].setAttribute("data-pswp-uid",o+1),l[o].onclick=i;var u=n();u.pid&&u.gid&&a(u.pid,l[u.gid-1],!0,!0)};e(".gallery")}();

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.