HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: /var/www/indoadvisory/wp/wp-content/plugins/divi-essential-/assets/js/scripts.js
(o=>{function t(){var i,d,s=window.innerWidth;o(document).find(".dnxte-msnary-grid").each(function(t,e){var a=e.dataset.gutterMap.split("|"),n=e.dataset.columnMap.split("|");d=s<=767?(i=a[2],n[2]):s<=980?(i=a[1],n[1]):(i=a[0],n[0]),e.setAttribute("data-gutter",i),e.setAttribute("data-columns",d)})}o.fn.dnxte_image_accordion=function(){var t=o(this),e=t.find(".dnxte_image_accordion_wrapper").data("accordion-type"),a=t.find(".dnxte_image_accordion_wrapper").data("expand-last-item");let n=t.find(".dnxte_image_accordion_item");var i=t.find("[data-active-on-load=1]");let d=t.find("[data-accordion-expand=defaults]");i.parents(".dnxte_image_accordion_item").addClass("dnxte-active"),"on_hover"===e&&(n.mouseenter(function(){n.removeClass("dnxte-active"),o(this).addClass("dnxte-active")}),"off"===a)&&n.mouseleave(function(){n.removeClass("dnxte-active"),d.parents(".dnxte_image_accordion_item").addClass("dnxte-active")}),"on_click"===e&&(t.addClass("dnxte_clickable"),n.click(function(t){o(this).hasClass("dnxte-active")||(n.removeClass("dnxte-active"),o(this).addClass("dnxte-active"))}))},o(document).ready(function(n){let t=n(".dnxte-msnary-grid");var e=n(".dnxte-msnary-filter-items li:first-child");let a=e.attr("data-filter");e.addClass("active"),t.length&&(t.each(function(){var t=n(this).data().gutter;n(this).isotope({itemSelector:".dnxte-msnary-item",percentPosition:!0,stagger:0,filter:a,horizontalOrder:!0,masonry:{columnWidth:".grid-sizer",gutter:parseInt(t,10)}})}),t.imagesLoaded().progress(function(){t.isotope("layout")}),n(window).scroll(()=>{t.isotope("layout")})),n(".dnxte-msnary-filter-items li:first-child").addClass("active"),n(".dnxte-msnary-filter-items li").on("click",function(t){var e="."+n(this).parent().parent().parent().parent().parent().attr("class").split(" ").join("."),a=(n(e+" .dnxte-msnary-filter-items li").removeClass("active"),n(this).addClass("active"),n(this).attr("data-filter"));n(e+" .dnxte-msnary-grid").isotope({filter:a})});e=n(".image-link");let i=t.length&&t.data();e.length&&"none"!==i.lightbox&&e.each(function(){var t="."+n(this).parent().parent().parent().parent().parent().parent().attr("class").split(" ").join("."),e=n(this)[0]?.attributes[1]?.value;/\.(jpeg|jpg|gif|png|svg|webp)$/i.test(e)&&n(t+" .image-link").magnificPopup({removalDelay:500,type:"image",gallery:{enabled:!0,navigateByImgClick:!0,tCounter:"%curr% of %total%"},disableOn:function(){return i.lightbox},image:{markup:'<div class="mfp-figure dnxte-msnary-mfp-config"><div class="mfp-close"></div><div class="mfp-img"></div><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>',titleSrc:function(t){return t.el.attr("data-title")+t.el.attr("data-caption")}},zoom:{enabled:i.lightbox,duration:500,opener:function(t){return t.find("img")}}})}),n(".dnxte-magnifier img").each(function(){var t=n(this).data();n(this).magnify({speed:+t.speed,limitBounds:"on"===t.boundary})}),n(document).ready(function(){n(".dnxte_image_accordion").each(function(){n(this).dnxte_image_accordion()})})}),jQuery(function(a){a(".dnxte-toggle-btn .dnxte-input").each(function(){var t=a(this).parents(".dnxte-content-toggle").find(".dnxte-content-toggle-back"),e=a(this).parents(".dnxte-content-toggle").find(".dnxte-content-toggle-front");(this.checked?(e.hide(),t):(t.hide(),e)).show(),a(this).on("change",function(){(this.checked?(e.hide(),t):(t.hide(),e)).show()})})}),o(".tab-container").each(function(){var t=o(this).find(".dnxte_tab_menu").data().tabEffect,e=o(this).find(".dnxte_tab_a[data-activeOnLoad='on']");let a=`dnxt-hover-ad-${t}--active`,n=((0<e.length?(e.first().addClass("dnxte_active_a"),o(this).find(".dnxte_tab_content[data-id='"+e.first().attr("data-id")+"']")):(o(this).find(".dnxte_tab_a:first").addClass("dnxte_active_a "+a),o(this).find(".dnxte_tab_content:first"))).addClass("dnxte_tab_content_active"),o(this));o(this).find(".dnxte_tab_a").click(function(t){t.preventDefault(),n.find(".dnxte_tab_content").removeClass("dnxte_tab_content_active"),n.find(".dnxte_tab_content[data-id='"+o(this).attr("data-id")+"']").addClass("dnxte_tab_content_active"),n.find(".dnxte_tab_a").removeClass("dnxte_active_a "+a),o(this).addClass("dnxte_active_a "+a)})}),o(document).ready(function(){let t=o(".dnxte-msnary-grid");t.length&&t.imagesLoaded().done(function(){t?.isotope("layout")})}),o(document).find(".dnxte-msnary-grid").length&&(document.addEventListener("DOMContentLoaded",t),window.addEventListener("resize",t))})(jQuery);