HEX
Server: Apache
System: Linux vps.rockyroadprinting.net 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: rockyroadprintin (1011)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/rockyroadprintin/www/wp-content/themes/woodmart/js/scripts/global/photoswipeImages.min.js
!function(h){woodmartThemeModule.photoswipeImages=function(){h(".photoswipe-images, .wp-block-wd-gallery:has(.photoswipe-images)").each(function(){var a=h(this);a.on("click","a",function(e){e.preventDefault();var e=h(e.currentTarget).parents(".wd-gallery-item, .wp-block-wd-gallery-item").index(),t=o(a,[]);woodmartThemeModule.callPhotoSwipe(e,t)})});var o=function(e,t){var a,o,r,i;return e.find("a").each(function(){var e=h(this);a=e.attr("href"),o=e.data("width"),r=e.data("height"),i=e.attr("title"),n(t,a)||t.push({src:a,w:o,h:r,title:i})}),t},n=function(e,t){for(var a=0;a<e.length;a++)if(e[a].src===t)return!0;return!1}},h(document).ready(function(){woodmartThemeModule.photoswipeImages()})}(jQuery);