PageSourceSearch

https://amalamatrimony.com/static/website/assets/js/script.js

js amalamatrimony.com collected 2026-10-02 00:46:43 UTC 26,928 bytes, 1,046 lines download raw bytes

1(function($) {�
2	�
3	"use strict";�
4	�
5	//Hide Loading Box (Preloader)�
6	function handlePreloader() {�
7		if($('.loader-wrap').length){�
8			$('.loader-wrap').delay(1000).fadeOut(500);�
9		}�
10	}�
11�
12	if ($(".preloader-close").length) {�
13        $(".preloader-close").on("click", function(){�
14            $('.loader-wrap').delay(200).fadeOut(500);�
15        })�
16    }�
17	�
18	//Update Header Style and Scroll to Top�
19	function headerStyle() {�
20		if($('.main-header').length){�
21			var windowpos = $(window).scrollTop();�
22			var siteHeader = $('.main-header');�
23			var scrollLink = $('.scroll-top');�
24			if (windowpos >= 110) {�
25				siteHeader.addClass('fixed-header');�
26				scrollLink.addClass('open');�
27			} else {�
28				siteHeader.removeClass('fixed-header');�
29				scrollLink.removeClass('open');�
30			}�
31		}�
32	}�
33	�
34	headerStyle();�
35�
36�
37	//Submenu Dropdown Toggle�
38	if($('.main-header li.dropdown ul').length){�
39		$('.main-header .navigation li.dropdown').append('<div class="dropdown-btn"><span class="fas fa-angle-down"></span></div>');�
40		�
41	}�
42�
43	//Mobile Nav Hide Show�
44	if($('.mobile-menu').length){�
45		�
46		$('.mobile-menu .menu-box').mCustomScrollbar();�
47		�
48		var mobileMenuContent = $('.main-header .menu-area .main-menu').html();�
49		$('.mobile-menu .menu-box .menu-outer').append(mobileMenuContent);�
50		$('.sticky-header .main-menu').append(mobileMenuContent);�
51		�
52		//Dropdown Button�
53		$('.mobile-menu li.dropdown .dropdown-btn').on('click', function() {�
54			$(this).toggleClass('open');�
55			$(this).prev('ul').slideToggle(500);�
56		});�
57		//Dropdown Button�
58		$('.mobile-menu li.dropdown .dropdown-btn').on('click', function() {�
59			$(this).prev('.megamenu').slideToggle(900);�
60		});�
61		//Menu Toggle Btn�
62		$('.mobile-nav-toggler').on('click', function() {�
63			$('body').addClass('mobile-menu-visible');�
64		});�
65�
66		//Menu Toggle Btn�
67		$('.mobile-menu .menu-backdrop,.mobile-menu .close-btn').on('click', function() {�
68			$('body').removeClass('mobile-menu-visible');�
69		});�
70	}�
71�
72�
73	// Scroll to a Specific Div�
74	if($('.scroll-to-target').length){�
75		$(".scroll-to-target").on('click', function() {�
76			var target = $(this).attr('data-target');�
77		   // animate�
78		   $('html, body').animate({�
79			   scrollTop: $(target).offset().top�
80			 }, 1000);�
81	�
82		});�
83	}�
84�
85	// Elements Animation�
86	if($('.wow').length){�
87		var wow = new WOW({�
88		mobile:       false�
89		});�
90		wow.init();�
91	}�
92�
93	//Contact Form Validation�
94	if($('#contact-form').length){�
95		$('#contact-form').validate({�
96			rules: {�
97				username: {�
98					required: true�
99				},�
100				email: {�
101					required: true,�
102					email: true�
103				},�
104				phone: {�
105					required: true�
106				},�
107				subject: {�
108					required: true�
109				},�
110				message: {�
111					required: true�
112				}�
113			}�
114		});�
115	}�
116�
117	//Fact Counter + Text Count�
118	if($('.count-box').length){�
119		$('.count-box').appear(function(){�
120	�
121			var $t = $(this),�
122				n = $t.find(".count-text").attr("data-stop"),�
123				r = parseInt($t.find(".count-text").attr("data-speed"), 10);�
124				�
125			if (!$t.hasClass("counted")) {�
126				$t.addClass("counted");�
127				$({�
128					countNum: $t.find(".count-text").text()�
129				}).animate({�
130					countNum: n�
131				}, {�
132					duration: r,�
133					easing: "linear",�
134					step: function() {�
135						$t.find(".count-text").text(Math.floor(this.countNum));�
136					},�
137					complete: function() {�
138						$t.find(".count-text").text(this.countNum);�
139					}�
140				});�
141			}�
142			�
143		},{accY: 0});�
144	}�
145�
146�
147	//LightBox / Fancybox�
148	if($('.lightbox-image').length) {�
149		$('.lightbox-image').fancybox({�
150			openEffect  : 'fade',�
151			closeEffect : 'fade',�
152			helpers : {�
153				media : {}�
154			}�
155		});�
156	}�
157�
158�
159	//Tabs Box�
160	if($('.tabs-box').length){�
161		$('.tabs-box .tab-buttons .tab-btn').on('click', function(e) {�
162			e.preventDefault();�
163			var target = $($(this).attr('data-tab'));�
164			�
165			if ($(target).is(':visible')){�
166				return false;�
167			}else{�
168				target.parents('.tabs-box').find('.tab-buttons').find('.tab-btn').removeClass('active-btn');�
169				$(this).addClass('active-btn');�
170				target.parents('.tabs-box').find('.tabs-content').find('.tab').fadeOut(0);�
171				target.parents('.tabs-box').find('.tabs-content').find('.tab').removeClass('active-tab');�
172				$(target).fadeIn(300);�
173				$(target).addClass('active-tab');�
174			}�
175		});�
176	}�
177�
178�
179	//Pricing Tabs�
180	if($('.pricing-tabs').length){�
181		$('.pricing-tabs .tab-btns .tab-btn').on('click', function(e) {�
182			e.preventDefault();�
183			var target = $($(this).attr('data-tab'));�
184			�
185			if ($(target).hasClass('actve-tab')){�
186				return false;�
187			}else{�
188				$('.pricing-tabs .tab-btns .tab-btn').removeClass('active-btn');�
189				$(this).addClass('active-btn');�
190				$('.pricing-tabs .pr-content .pr-tab').removeClass('active-tab');�
191				$(target).addClass('active-tab');�
192			}�
193		});�
194	}�
195�
196�
197�
198	//Accordion Box�
199	if($('.accordion-box').length){�
200		$(".accordion-box").on('click', '.acc-btn', function() {�
201			�
202			var outerBox = $(this).parents('.accordion-box');�
203			var target = $(this).parents('.accordion');�
204			�
205			if($(this).hasClass('active')!==true){�
206				$(outerBox).find('.accordion .acc-btn').removeClass('active');�
207			}�
208			�
209			if ($(this).next('.acc-content').is(':visible')){�
210				return false;�
211			}else{�
212				$(this).addClass('active');�
213				$(outerBox).children('.accordion').removeClass('active-block');�
214				$(outerBox).find('.accordion').children('.acc-content').slideUp(300);�
215				target.addClass('active-block');�
216				$(this).next('.acc-content').slideDown(300);	�
217			}�
218		});	�
219	}�
220�
221�
222	// banner-carousel�
223	if ($('.banner-carousel').length) {�
224        $('.banner-carousel').owlCarousel({�
225            loop:true,�
226			margin:0,�
227			nav:true,�
228			animateOut: 'fadeOut',�
229    		animateIn: 'fadeIn',�
230    		active: true,�
231			smartSpeed: 1000,�
232			autoplay: 6000,�
233            navText: [ '<span></span>', '<span></span>' ],�
234            responsive:{�
235                0:{�
236                    items:1�
237                },�
238                600:{�
239                    items:1�
240                },�
241                800:{�
242                    items:1�
243                },�
244                1024:{�
245                    items:1�
246                }�
247            }�
248        });�
249    }�
250�
251�
252    // single-item-carousel�
253	if ($('.single-item-carousel').length) {�
254		$('.single-item-carousel').owlCarousel({�
255			loop:true,�
256			margin:30,�
257			nav:false,�			�			mouseDrag: false,�			touchDrag: false,
258			smartSpeed: 500,�
259			autoplay: true,�
260			// navText: [ '<span class="far fa-long-arrow-left"></span>', '<span class="far fa-long-arrow-right"></span>' ],�
261			responsive:{�
262				0:{�
263					items:1�
264				},�
265				480:{�
266					items:1�
267				},�
268				600:{�
269					items:1�
270				},�
271				800:{�
272					items:1�
273				},			�
274				1200:{�
275					items:1�
276				}�
277�
278			}�
279		});    		�
280	}�
281�
282�	if ($('.single-item-carousel1').length) {��		$('.single-item-carousel1').owlCarousel({��			loop:false,��			margin:30,��			nav:true,��			smartSpeed: 500,��			autoplay: false,��			navText: [ '<span class="material-symbols-outlined"><img src="https://amala.noviindus.co.in/static/website/assets/amala_images/chevron_left.png" > </span>', '<span class="material-symbols-outlined"><img src="https://amala.noviindus.co.in/static/website/assets/amala_images/chevron_right.png" ></span>' ],��			responsive:{��				0:{��					items:1��				},��				480:{��					items:1��				},��				600:{��					items:1��				},��				800:{��					items:1��				},			��				1200:{��					items:1��				}����			}��		});    		��	}������
283    //two-column-carousel�
284	if ($('.two-column-carousel').length) {�
285		$('.two-column-carousel').owlCarousel({�
286			loop:true,�
287			margin:30,�
288			nav:true,�
289			smartSpeed: 500,�
290			autoplay: 1000,�
291			navText: [ '<span class="material-symbols-outlined">chevron_left </span>', '<span class="material-symbols-outlined">chevron_right </span>' ],�
292			responsive:{�
293				0:{�
294					items:1�
295				},�
296				480:{�
297					items:1�
298				},�
299				600:{�
300					items:1�
301				},�
302				800:{�
303					items:2�
304				},�
305				1024:{�
306					items:2�
307				}�
308			}�
309		});    		�
310	}�
311�
312�
313    //three-item-carousel�
314	if ($('.three-item-carousel').length) {�
315		$('.three-item-carousel').owlCarousel({�
316			loop:false,�
317			margin:10,�
318			nav:true,�
319			dots:false,�			autoplayHoverPause: true,�			�			navText: [ '<span class="material-symbols-outlined">chevron_left </span>', '<span class="material-symbols-outlined">chevron_right </span>' ],�
320			smartSpeed: 500,�
321			autoplay: 1000,�
322			�
323			responsive:{�
324				0:{�
325					items:1�
326				},�
327				480:{�
328					items:1�
329				},�
330				600:{�
331					items:2�
332				},�
333				800:{�
334					items:3�
335				},�
336				1024:{�
337					items:3�
338				}�
339			}�
340		});    		�
341	}�
342�
343�
344	 //four-item-carousel�
345	if ($('.four-item-carousel').length) {�
346		$('.four-item-carousel').owlCarousel({�
347			loop:false,�
348			margin:30,�
349			nav:false,�
350			dots:false,�
351			smartSpeed: 500,�			
352			autoplay: 1000,�			autoplayHoverPause:true,
353			navText: [ '<span class="material-symbols-outlined">chevron_left </span>', '<span class="material-symbols-outlined">chevron_right </span>' ],�
354			responsive:{�
355				0:{�
356					items:1�
357				},�
358				480:{�
359					items:2�
360				},�
361				600:{�
362					items:2�
363				},�
364				800:{�
365					items:3�
366				},�
367				1024:{�
368					items:4�
369				}�
370			}�
371		});    		�
372	}�
373�
374�
375	 //five-item-carousel�
376	if ($('.five-item-carousel').length) {�
377		$('.five-item-carousel').owlCarousel({�
378			loop:true,�
379			margin:30,�
380			nav:true,�
381			smartSpeed: 500,�
382			autoplay: 1000,�
383			navText: [ '<span class="fas fa-angle-left"></span>', '<span class="fas fa-angle-right"></span>' ],�
384			responsive:{�
385				0:{�
386					items:1�
387				},�
388				480:{�
389					items:2�
390				},�
391				600:{�
392					items:3�
393				},�
394				800:{�
395					items:4�
396				},�
397				1024:{�
398					items:5�
399				}�
400			}�
401		});    		�
402	}�
403�
404	//project-carousel�
405	if ($('.project-carousel').length) {�
406		$('.project-carousel').owlCarousel({�
407			loop:true,�
408			margin:0,�
409			nav:true,�
410			smartSpeed: 500,�
411			autoplay: 1000,�
412			navText: [ '<span class="icon-4"></span>', '<span class="icon-4"></span>' ],�
413			responsive:{�
414				0:{�
415					items:1�
416				},�
417				480:{�
418					items:2�
419				},�
420				600:{�
421					items:2�
422				},�
423				800:{�
424					items:3�
425				},�
426				1024:{�
427					items:4�
428				}�
429			}�
430		});    		�
431	}�
432�
433�
434	 //project-carousel-two�
435	if ($('.project-carousel-two').length) {�
436		$('.project-carousel-two').owlCarousel({�
437			loop:true,�
438			margin:70,�
439			nav:true,�
440			smartSpeed: 500,�
441			autoplay: 1000,�
442			navText: [ '<span class="icon-4"></span>', '<span class="icon-4"></span>' ],�
443			responsive:{�
444				0:{�
445					items:1�
446				},�
447				480:{�
448					items:1�
449				},�
450				600:{�
451					items:1�
452				},�
453				800:{�
454					items:2�
455				},�
456				1024:{�
457					items:2�
458				}�
459			}�
460		});    		�
461	}�
462�
463	// project-carousel-three�
464	if ($('.project-carousel-three').length) {�
465		$('.project-carousel-three').owlCarousel({�
466			loop:true,�
467			margin:180,�
468			nav:true,�
469			smartSpeed: 500,�
470			autoplay: 1000,�
471			navText: [ '<span class="far fa-long-arrow-left"></span>', '<span class="far fa-long-arrow-right"></span>' ],�
472			responsive:{�
473				0:{�
474					items:1�
475				},�
476				480:{�
477					items:1�
478				},�
479				600:{�
480					items:1�
481				},�
482				800:{�
483					items:1�
484				},			�
485				1200:{�
486					items:1�
487				}�
488�
489			}�
490		});    		�
491	}�
492�
493�
494	//Client Testimonial Carousel�
495	if ($('.client-project-carousel').length && $('.client-thumbs-carousel').length) {�
496�
497		var $sync3 = $(".client-project-carousel"),�
498			$sync4 = $(".client-thumbs-carousel"),�
499			flag = false,�
500			duration = 500;�
501�
502			$sync3�
503				.owlCarousel({�
504					loop:true,�
505					items: 1,�
506					margin: 0,�
507					nav: true,�
508					navText: [ '<span class="fa fa-angle-left"></span>', '<span class="fa fa-angle-right"></span>' ],�
509					dots: false,�
510					autoplay: true,�
511					autoplayTimeout: 5000�
512				})�
513				.on('changed.owl.carousel', function (e) {�
514					if (!flag) {�
515						flag = false;�
516						$sync4.trigger('to.owl.carousel', [e.item.index, duration, true]);�
517						flag = false;�
518					}�
519				});�
520�
521			$sync4�
522				.owlCarousel({�
523					loop:true,�
524					margin:20,�
525					items: 1,�
526					nav: false,�
527					navText: [ '<span class="icon fa fa-long-arrow-left"></span>', '<span class="icon fa fa-long-arrow-right"></span>' ],�
528					dots: true,�
529					center: false,�
530					autoplay: true,�
531					autoplayTimeout: 5000,�
532					responsive: {�
533						0:{�
534				            items:1,�
535				            autoWidth: false�
536				        },�
537				        400:{�
538				            items:1,�
539				            autoWidth: false�
540				        },�
541				        600:{�
542				            items:1,�
543				            autoWidth: false�
544				        },�
545				        1000:{�
546				            items:1,�
547				            autoWidth: false�
548				        },�
549						1200:{�
550				            items:1,�
551				            autoWidth: false�
552				        }�
553				    },�
554				})�
555				�
556		.on('click', '.owl-item', function () {�
557			$sync3.trigger('to.owl.carousel', [$(this).index(), duration, true]);�
558		})�
559		.on('changed.owl.carousel', function (e) {�
560			if (!flag) {�
561				flag = true;		�
562				$sync3.trigger('to.owl.carousel', [e.item.index, duration, true]);�
563				flag = false;�
564			}�
565		});�
566	}�
567�
568�
569	if ($('.theme_carousel').length) {�
570			$(".theme_carousel").each(function (index) {�
571			var $owlAttr = {},�
572			$extraAttr = $(this).data("options");�
573			$.extend($owlAttr, $extraAttr);�
574			$(this).owlCarousel($owlAttr);�
575		});�
576	}�
577�
578�
579�
580	//Add One Page nav�
581	if($('.scroll-nav').length) {�
582		$('.scroll-nav').onePageNav();�
583	}�
584�
585	//Sortable Masonary with Filters�
586	function enableMasonry() {�
587		if($('.sortable-masonry').length){�
588	�
589			var winDow = $(window);�
590			// Needed variables�
591			var $container=$('.sortable-masonry .items-container');�
592			var $filter=$('.filter-btns');�
593	�
594			$container.isotope({�
595				filter:'*',�
596				 masonry: {�
597					columnWidth : '.masonry-item.small-column'�
598				 },�
599				animationOptions:{�
600					duration:500,�
601					easing:'linear'�
602				}�
603			});�
604			�
605	�
606			// Isotope Filter �
607			$filter.find('li').on('click', function(){�
608				var selector = $(this).attr('data-filter');�
609	�
610				try {�
611					$container.isotope({ �
612						filter	: selector,�
613						animationOptions: {�
614							duration: 500,�
615							easing	: 'linear',�
616							queue	: false�
617						}�
618					});�
619				} catch(err) {�
620	�
621				}�
622				return false;�
623			});�
624	�
625	�
626			winDow.on('resize', function(){�
627				var selector = $filter.find('li.active').attr('data-filter');�
628�
629				$container.isotope({ �
630					filter	: selector,�
631					animationOptions: {�
632						duration: 500,�
633						easing	: 'linear',�
634						queue	: false�
635					}�
636				});�
637			});�
638	�
639	�
640			var filterItemA	= $('.filter-btns li');�
641	�
642			filterItemA.on('click', function(){�
643				var $this = $(this);�
644				if ( !$this.hasClass('active')) {�
645					filterItemA.removeClass('active');�
646					$this.addClass('active');�
647				}�
648			});�
649		}�
650	}�
651	�
652	enableMasonry();�
653�
654�
655    // Progress Bar�
656	if ($('.count-bar').length) {�
657		$('.count-bar').appear(function(){�
658			var el = $(this);�
659			var percent = el.data('percent');�
660			$(el).css('width',percent).addClass('counted');�
661		},{accY: -50});�
662�
663	}�
664�
665�
666	// page direction�
667	function directionswitch() {�
668	  	if ($('.page_direction').length) {�
669�
670	    	$('.direction_switch button').on('click', function() {�
671			   $('body').toggleClass(function(){�
672			      return $(this).is('.rtl, .ltr') ? 'rtl ltr' : 'rtl';�
673			  })�
674			});�
675	  	};�
676	}�
677�
678�
679	//Parallax Scene for Icons�
680	if($('.parallax-scene-1').length){�
681		var scene = $('.parallax-scene-1').get(0);�
682		var parallaxInstance = new Parallax(scene);�
683	}�
684	if($('.parallax-scene-2').length){�
685		var scene = $('.parallax-scene-2').get(0);�
686		var parallaxInstance = new Parallax(scene);�
687	}�
688	if($('.parallax-scene-3').length){�
689		var scene = $('.parallax-scene-3').get(0);�
690		var parallaxInstance = new Parallax(scene);�
691	}�
692	if($('.parallax-scene-4').length){�
693		var scene = $('.parallax-scene-4').get(0);�
694		var parallaxInstance = new Parallax(scene);�
695	}�
696	if($('.parallax-scene-5').length){�
697		var scene = $('.parallax-scene-5').get(0);�
698		var parallaxInstance = new Parallax(scene);�
699	}�
700	if($('.parallax-scene-6').length){�
701		var scene = $('.parallax-scene-6').get(0);�
702		var parallaxInstance = new Parallax(scene);�
703	}�
704	if($('.parallax-scene-7').length){�
705		var scene = $('.parallax-scene-7').get(0);�
706		var parallaxInstance = new Parallax(scene);�
707	}�
708�
709�
710�
711	// 6 pieChart RoundCircle�
712	function expertizeRoundCircle () {�
713		var rounderContainer = $('.piechart');�
714		if (rounderContainer.length) {�
715			rounderContainer.each(function () {�
716				var Self = $(this);�
717				var value = Self.data('value');�
718				var size = Self.parent().width();�
719				var color = Self.data('fg-color');�
720�
721				Self.find('span').each(function () {�
722					var expertCount = $(this);�
723					expertCount.appear(function () {�
724						expertCount.countTo({�
725							from: 1,�
726							to: value*100,�
727							speed: 3000�
728						});�
729					});�
730�
731				});�
732				Self.appear(function () {					�
733					Self.circleProgress({�
734						value: value,�
735						size: 100,�
736						thickness: 8,�
737						emptyFill: '#f2f2f2',�
738						animation: {�
739							duration: 3000�
740						},�
741						fill: {�
742							color: color�
743						}�
744					});�
745				});�
746			});�
747		};�
748	}�
749�
750�
751	// 6 pieChart RoundCircle�
752	function expertizeRoundCircle2 () {�
753		var rounderContainer = $('.piechart_2');�
754		if (rounderContainer.length) {�
755			rounderContainer.each(function () {�
756				var Self = $(this);�
757				var value = Self.data('value');�
758				var size = Self.parent().width();�
759				var color = Self.data('fg-color');�
760�
761				Self.find('span').each(function () {�
762					var expertCount = $(this);�
763					expertCount.appear(function () {�
764						expertCount.countTo({�
765							from: 1,�
766							to: value*100,�
767							speed: 3000�
768						});�
769					});�
770�
771				});�
772				Self.appear(function () {					�
773					Self.circleProgress({�
774						value: value,�
775						size: 130,�
776						thickness: 8,�
777						emptyFill: '#f2f2f2',�
778						animation: {�
779							duration: 3000�
780						},�
781						fill: {�
782							color: color�
783						}�
784					});�
785				});�
786			});�
787		};�
788	}�
789�
790�
791	// $(document).ready(function() {�
792      // $('select:not(.ignore)').niceSelect();�
793    // });�
794�
795�
796    // Date picker�
797	function datepicker () {�
798	    if ($('#datepicker').length) {�
799	        $('#datepicker').datepicker();�
800	    };�
801	}�
802�
803�
804	if($('.paroller').length){�
805		$('.paroller').paroller({�
806			  factor: 0.1,            // multiplier for scrolling speed and offset, +- values for direction control  �
807			  factorLg: 0.1,          // multiplier for scrolling speed and offset if window width is less than 1200px, +- values for direction control  �
808			  type: 'foreground',     // background, foreground  �
809			  direction: 'vertical' // vertical, horizontal  �
810		});�
811	}�
812�
813	if($('.paroller-2').length){�
814		$('.paroller-2').paroller({�
815			  factor: -0.1,            // multiplier for scrolling speed and offset, +- values for direction control  �
816			  factorLg: -0.1,          // multiplier for scrolling speed and offset if window width is less than 1200px, +- values for direction control  �
817			  type: 'foreground',     // background, foreground  �
818			  direction: 'vertical' // vertical, horizontal  �
819		});�
820	}�
821�
822	if($('.paroller-3').length){�
823		$('.paroller-3').paroller({�
824			  factor: 0.1,            // multiplier for scrolling speed and offset, +- values for direction control  �
825			  factorLg: 0.1,          // multiplier for scrolling speed and offset if window width is less than 1200px, +- values for direction control  �
826			  type: 'foreground',     // background, foreground  �
827			  direction: 'horizontal' // vertical, horizontal  �
828		});�
829	}�
830�
831	if($('.paroller-4').length){�
832		$('.paroller-4').paroller({�
833			  factor: -0.1,            // multiplier for scrolling speed and offset, +- values for direction control  �
834			  factorLg: -40.1,          // multiplier for scrolling speed and offset if window width is less than 1200px, +- values for direction control  �
835			  type: 'foreground',     // background, foreground  �
836			  direction: 'horizontal' // vertical, horizontal  �
837		});�
838	}�
839�
840�
841	if($('.timer').length){�
842	   $(function(){�
843		    $('[data-countdown]').each(function() {�
844		   var $this = $(this), finalDate = $(this).data('countdown');�
845		   $this.countdown(finalDate, function(event) {�
846		     $this.html(event.strftime('%D days %H:%M:%S'));�
847		   });�
848		 });�
849		});�
850�
851	   $('.cs-countdown').countdown('').on('update.countdown', function(event) {�
852		  var $this = $(this).html(event.strftime('<div class="count-col"><span>%D</span><h6>days</h6></div> <div class="count-col"><span>%H</span><h6>Hours</h6></div> <div class="count-col"><span>%M</span><h6>Minutes</h6></div> <div class="count-col"><span>%S</span><h6>Seconds</h6></div>'));�
853		});�
854	}�
855�
856�
857	//Price Range Slider�
858	if($('.price-range-slider').length){�
859		$( ".price-range-slider" ).slider({�
860			range: true,�
861			min: 120,�
862			max: 500,�
863			values: [ 120, 300 ],�
864			slide: function( event, ui ) {�
865			$( "input.property-amount" ).val( ui.values[ 0 ] + " - " + ui.values[ 1 ] );�
866			}�
867		});�
868		�
869		$( "input.property-amount" ).val( $( ".price-range-slider" ).slider( "values", 0 ) + " - $" + $( ".price-range-slider" ).slider( "values", 1 ) );	�
870	}�
871�
872�
873	//Jquery Spinner / Quantity Spinner�
874	if($('.quantity-spinner').length){�
875		$("input.quantity-spinner").TouchSpin({�
876		  verticalbuttons: true�
877		});�
878	}�
879�
880�
881	if ($('.product-details-content .bxslider').length) {�
882		$('.product-details-content .bxslider').bxSlider({�
883	        nextSelector: '.product-details-content #slider-next',�
884	        prevSelector: '.product-details-content #slider-prev',�
885	        nextText: '<i class="fa fa-angle-right"></i>',�
886	        prevText: '<i class="fa fa-angle-left"></i>',�
887	        mode: 'fade',�
888	        auto: 'true',�
889	        speed: '700',�			autoHover: 'true',�
890	        pagerCustom: '.product-details-content .slider-pager .thumb-box'�
891	    });�
892	};�
893�
894�
895	//Search Popup�
896	if($('#search-popup').length){�
897		�
898		//Show Popup�
899		$('.search-toggler').on('click', function() {�
900			$('#search-popup').addClass('popup-visible');�
901		});�
902		$(document).keydown(function(e){�
903	        if(e.keyCode === 27) {�
904	            $('#search-popup').removeClass('popup-visible');�
905	        }�
906	    });�
907		//Hide Popup�
908		$('.close-search,.search-popup .overlay-layer').on('click', function() {�
909			$('#search-popup').removeClass('popup-visible');�
910		});�
911	}�
912�
913�
914	function tabpane() {�
915		if($('.tab-pane').length){�
916			$('.tab-pane').delay(10).css("display", "none");�
917		}�
918	}�
919�
920�
921�
922	// Scroll top button�
923    $('.scroll-top-inner').on("click", function () {�
924        $('html, body').animate({scrollTop: 0}, 500);�
925        return false;�
926    });�
927�
928�
929    function handleScrollbar() {�
930        const bHeight = $('body').height();�
931        const scrolled = $(window).innerHeight() + $(window).scrollTop();�
932�
933        let percentage = ((scrolled / bHeight) * 100);�
934�
935        if (percentage > 100) percentage = 100;�
936�
937        $('.scroll-top-inner .bar-inner').css( 'width', percentage + '%');�
938    }�
939�
940�
941�
942    /* 9. ScrollAnimations */�
943	var $containers = $('[data-animation]:not([data-animation-text]), [data-animation-box]');�
944	$containers.scrollAnimations();�
945�
946�
947	/* mouse cursor */�
948	// document.getElementsByTagName("body")[0].addEventListener("mousemove", function(n) {�
949		// e.style.left = n.clientX + "px", �
950		// e.style.top = n.clientY + "px"�
951    // });�
952    // var �
953        // e = document.getElementById("mouse-pointer");�
954        �
955	$(document).mousemove(function(e){�
956		�
957		$(".funfact-eight, .subscribe-one.home-16, .clients-one.home-7")�
958		.on("mouseenter", function() {	 �
959			$('.mouse-pointer').addClass("black")	  �
960		})�
961		.on("mouseleave", function() {	  �
962			$('.mouse-pointer').removeClass("black")	  �
963		})�
964		�
965		$(".pointer-large, .owl-prev, .owl-next, .theme-btn")�
966		.on("mouseenter", function() {	 �
967			$('.mouse-pointer').addClass("large")	  �
968		})�
969		.on("mouseleave", function() {	  �
970			$('.mouse-pointer').removeClass("large")	  �
971		})�
972		�
973		$(".pointer-right, .banner-carousel")�
974		.on("mouseenter", function() {	 �
975			$('.mouse-pointer').addClass("right")	  �
976		})�
977		.on("mouseleave", function() {	  �
978			$('.mouse-pointer').removeClass("right")	  �
979		})�
980		�
981	});�
982�
983	function onHoverthreeDmovement() {�
984	    var tiltBlock = $('.js-tilt');�
985	    if(tiltBlock.length) {�
986	        $('.js-tilt').tilt({�
987	            maxTilt: 20,�
988	            perspective:700, �
989	            glare: true,�
990	            maxGlare: 0�
991	        })�
992	    }�
993	}�
994    �
995�
996    �
997�
998	/*	=========================================================================�
999	When document is Scrollig, do�
1000	========================================================================== */�
1001�
1002	jQuery(document).on('ready', function () {�
1003		(function ($) {�
1004			// add your functions�
1005			directionswitch();�
1006			datepicker ();�
1007			onHoverthreeDmovement();�
1008		})(jQuery);�
1009	});�
1010�
1011�
1012�
1013	/* ==========================================================================�
1014   When document is Scrollig, do�
1015   ========================================================================== */�
1016	�
1017	$(window).on('scroll', function() {�
1018		headerStyle();�
1019		handleScrollbar();�
1020		if ($(window).scrollTop() > 200) {�
1021                $('.scroll-top-inner').addClass('visible');�
1022            } else {�
1023                $('.scroll-top-inner').removeClass('visible');�
1024            }�
1025	});�
1026�
1027	�
1028	�
1029	/* ==========================================================================�
1030   When document is loaded, do�
1031   ========================================================================== */�
1032	�
1033	$(window).on('load', function() {�
1034		handlePreloader();�
1035		enableMasonry();�
1036		expertizeRoundCircle ();�
1037		expertizeRoundCircle2 ();�
1038		tabpane();�
1039	});�
1040�
1041	// In your Javascript (external .js resource or <script> tag)�
1042// $(document).ready(function() {�
1043    // $('.js-example-basic-single').select2();�
1044// });�
1045�
1046})(window.jQuery);

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.