HEX
Server: Apache
System: Linux server-674799.igrow.ws 5.14.0-611.27.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 4 04:40:11 EST 2026 x86_64
User: elrashedytravel (1025)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/elrashedytravel/public_html/wp-content/themes/reviewnews/assets/magnific-popup-script.js
(function (e) {
  'use strict';
  var n = window.AFTHRAMPES_JS || {};    

  (n.MagnificPopup = function () {
    e('div.zoom-gallery').magnificPopup({
      delegate: 'a.insta-hover',
      type: 'image',
      closeOnContentClick: false,
      closeBtnInside: false,
      mainClass: 'mfp-with-zoom mfp-img-mobile',
      image: {
        verticalFit: true,
        titleSrc: function (item) {
          return item.el.attr('title');
        },
      },
      gallery: {
        enabled: true,
      },
      zoom: {
        enabled: true,
        duration: 300,
        opener: function (element) {
          return element.find('img');
        },
      },
    });
    e('.gallery').each(function () {
      e(this).magnificPopup({
        delegate: 'a',
        type: 'image',
        gallery: {
          enabled: true,
        },
        zoom: {
          enabled: true,
          duration: 300,
          opener: function (element) {
            return element.find('img');
          },
        },
      });
    });

    e('.wp-block-gallery').each(function () {
      e(this).magnificPopup({
        delegate: 'a',
        type: 'image',
        gallery: {
          enabled: true,
        },
        zoom: {
          enabled: true,
          duration: 300,
          opener: function (element) {
            return element.find('img');
          },
        },
      });
    });
  })

  e(document).ready(function () {
    
      n.MagnificPopup()
      
  });
})(jQuery);