Skip to Content

JavaScript File

URL: https://www.jambomusic.uk/wp-content/themes/jannah/assets/js/scripts.min.js?ver=6.1.2
HTTP Status: 200 OK
MIME Type: application/x-javascript
Last Modified: Sun, 06 Aug 2023 17:33:56 GMT
Download Time: Less than a second
Cookies: None
Size: 23 KB
HTTP Headers:  31 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1function tieFlexMenu(){var e=jQuery(".is-flex-tabs, .is-flex-tabs-shortcodes .tabs");e.length&&(e.flexMenu({threshold:0,cutoff:0,linkText:'<span class="tie-icon-dots-three-horizontal"><span class="screen-reader-text">More</span></span>',linkTextAll:'<span class="tie-icon-dots-three-horizontal"><span class="screen-reader-text">More</span></span>',linkTitle:"",linkTitleAll:"",showOnHover:intialWidth>991?!0:!1}

2),e.css({opacity:1}

3))}

4function tieLazyLoad(){emergence.init()}

5function tieTabs(){document.querySelectorAll(".tabs-wrapper").forEach(function(e){var t=e.querySelector(".tabs");if("undefined"!=typeof t&&null!=t){e.classList.contains("tabs-vertical");var i=!1;t.querySelectorAll("li").forEach(function(a){i||(a.classList.add("active"),i=!0),a.addEventListener("click",function(i){if(!a.classList.contains("active")){t.querySelector(".active").classList.remove("active"),a.classList.add("active"),e.querySelectorAll(".tab-content").forEach(function(e){e.style.display="none",e.classList.add("is-not-active")}

6);var n=a.querySelector("a").getAttribute("href"),o=e.querySelector(n);o.style.display="block";var s=o.querySelector(".tab-content-wrap");s&&s.classList.add("tie-animate-slideInUp"),o.querySelectorAll(".tab-content-elements li").forEach(function(e){e&&e.classList.add("tie-animate-slideInUp")}

7),tie_animate_element(o)}

8i.preventDefault()}

9)}

10)}

11}

12)}

13function tie_animate_element(e){e&&(e=jQuery(e),tie_animate_reviews(e),tie.lazyload&&(e.find("[data-src]").each(function(){var e=jQuery(this);e.attr("src",e.data("src")),e.removeAttr("data-src")}

14),e.find("[data-lazy-bg]").each(function(){var e=jQuery(this);e.attr("style","background-image:url("+e.data("lazy-bg")+")"),e.removeAttr("data-lazy-bg")}

15)),adBlockBlock(e))}

16function tie_animate_reviews(e){tie.is_taqyeem_active&&(e.find("[data-lazy-pie]").each(function(){var e=jQuery(this),t=parseInt(e.data("pct")),i=e.find(".circle_bar"),a=(100-t)/100*Math.PI*38;i.attr("style","stroke-dashoffset:"+a+"px"),e.removeAttr("data-lazy-pie")}

17),e.find("[data-lazy-percent]").each(function(){var e=jQuery(this);e.attr("style","width:"+e.data("rate-val")),e.removeAttr("data-lazy-percent")}

18))}

19function adBlockBlock(e){tie.ad_blocker_disallow_images_placeholder&&jQuery(".Ad-Container").length>0&&0===jQuery(".Ad-Container").outerWidth()&&(tie.ad_blocker_disallow_images_post?e=jQuery("#the-post .entry-content"):e||(e=$body),e.find("img:not(.tie-logo-img)").attr({src:tie.ad_blocker_disallow_images_placeholder,srcset:tie.ad_blocker_disallow_images_placeholder}

20),e.find(".grid-item, .big-thumb-left-box-inner, .main-slider:not(.grid-slider-wrapper) .slide, .post-thumb[style]").attr("style",'background-image: url("'+tie.ad_blocker_disallow_images_placeholder+'"); background-position: center;'))}

21!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}

22(function(e){var t,i=window.innerWidth,a=[];e(window).resize(function(){clearTimeout(t),t=setTimeout(function(){var t=window.innerWidth;t!==i&&(i=t,e(a).each(function(){e(this).flexMenu({undo:!0}

23).flexMenu(this.options)}

24))}

25,200)}

26),e.fn.flexMenu=function(t){var i,n=e.extend({threshold:2,cutoff:2,linkText:"More",linkTitle:"View More",linkTextAll:"Menu",linkTitleAll:"Open/Close Menu",shouldApply:function(){return!0}

27,showOnHover:!0,popupAbsolute:!0,popupClass:"",undo:!1}

28,t);return this.options=n,0<=(i=e.inArray(this,a))?a.splice(i,1):a.push(this),this.each(function(){function t(e){return e[0].offsetTop}

29function i(e){return t(e)>=f}

30var a=e(this),o=a.find("> li"),s=o.length;if(s){var r,d,l,c,u,h,f=t(o)+20,p=!1;if(i(o.last())&&s>n.threshold&&!n.undo&&n.shouldApply()){var m=e('<ul class="flexMenu-popup" style="display:none;'+(n.popupAbsolute?" position: absolute;":"")+'"></ul>');for(n.popupClass&&m.addClass(n.popupClass),h=s;h>1;h--){if(d=i(r=a.find("li:last-child")),h-1<=n.cutoff){e(a.children().get().reverse()).appendTo(m),p=!0;break}

31if(!d)break;r.appendTo(m)}

32p?a.append('<li class="flexMenu-viewMore flexMenu-allInPopup"><a href="#" title="'+n.linkTitleAll+'">'+n.linkTextAll+"</a></li>"):a.append('<li class="flexMenu-viewMore"><a href="#" title="'+n.linkTitle+'">'+n.linkText+"</a></li>"),i(l=a.find("> li.flexMenu-viewMore"))&&a.find("> li:nth-last-child(2)").appendTo(m),m.children().each(function(e,t){m.prepend(t)}

33),l.append(m),a.find("> li.flexMenu-viewMore > a").click(function(t){var i;i=l,e("li.flexMenu-viewMore.active").not(i).find("> ul").hide(),m.toggle(),t.preventDefault()}

34),n.showOnHover&&"undefined"!=typeof Modernizr&&!Modernizr.touch&&l.hover(function(){m.show()}

35,function(){m.hide()}

36)}

37else if(n.undo&&a.find("ul.flexMenu-popup")){for(c=(u=a.find("ul.flexMenu-popup")).find("li").length,h=1;c>=h;h++)u.find("> li:first-child").appendTo(a);u.remove(),a.find("> li.flexMenu-viewMore").remove()}

38}

39}

40)}

...

</html>