var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); jQuery(document).ready(function($) { // For Slider $( '.aigpl-gallery-slider' ).each(function( index ) { var slider_id = $(this).attr('id'); var slider_conf = $.parseJSON( $(this).closest('.aigpl-gallery-slider-wrp').find('.aigpl-gallery-slider-conf').text()); jQuery('#'+slider_id).slick({ dots : (slider_conf.dots) == "true" ? true : false, infinite : true, arrows : (slider_conf.arrows) == "true" ? true : false, speed : parseInt(slider_conf.speed), autoplay : (slider_conf.autoplay) == "true" ? true : false, autoplaySpeed : parseInt(slider_conf.autoplay_interval), slidesToShow : parseInt(slider_conf.slidestoshow), slidesToScroll : parseInt(slider_conf.slidestoscroll), rtl : (Aigpl.is_rtl == 1) ? true : false, mobileFirst : (Aigpl.is_mobile == 1) ? true : false, responsive : [{ breakpoint : 1023, settings : { slidesToShow : (parseInt(slider_conf.slidestoshow) > 3) ? 3 : parseInt(slider_conf.slidestoshow), slidesToScroll : 1, dots : (slider_conf.dots) == "true" ? true : false, } },{ breakpoint : 767, settings : { slidesToShow : (parseInt(slider_conf.slidestoshow) > 2) ? 2 : parseInt(slider_conf.slidestoshow), slidesToScroll : 1, dots : (slider_conf.dots) == "true" ? true : false, } }, { breakpoint : 479, settings : { slidesToShow : 1, slidesToScroll : 1, dots : false, } }, { breakpoint : 319, settings : { slidesToShow : 1, slidesToScroll : 1, dots : false, } }] }); }); /*Popup Gallery*/ $( '.aigpl-popup-gallery' ).each(function( index ) { var gallery_id = $(this).attr('id'); var total_item = $('#'+gallery_id+' .aigpl-cnt-wrp:not(.slick-cloned) a.aigpl-img-link').length; if( typeof('gallery_id') !== 'undefined' && gallery_id != '' ) { //.slick-image-slide:not(.slick-cloned) a $('#'+gallery_id).magnificPopup({ delegate: '.aigpl-cnt-wrp a.aigpl-img-link', type: 'image', mainClass: 'aigpl-mfp-popup', tLoading: 'Loading image #%curr%...', gallery: { enabled: true, navigateByImgClick: true, preload: [0,1], /* Will preload 0 - before current, and 1 after the current image*/ tCounter: '' }, image: { tError: 'The image #%curr% could not be loaded.', titleSrc: function(item) { return item.el.closest('.aigpl-img-wrp').find('.aigpl-img').attr('title'); } }, zoom: { enabled: true, duration: 300, /* don't foget to change the duration also in CSS*/ opener: function(element) { return element.closest('.aigpl-img-wrp').find('.aigpl-img'); } }, callbacks: { markupParse: function(template, values, item) { var current_indx = item.el.closest('.aigpl-cnt-wrp').attr('data-item-index'); values.counter = current_indx+' of '+total_item; $('body').trigger('aigpl_mfp_markup_parse', [ template, values, item ]); } }, }); } }); }); } /* FILE ARCHIVED ON 02:12:37 Jan 12, 2022 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 14:29:45 Sep 14, 2022. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 164.664 exclusion.robots: 0.145 exclusion.robots.policy: 0.134 RedisCDXSource: 1.288 esindex: 0.009 LoadShardBlock: 145.924 (3) PetaboxLoader3.datanode: 144.777 (4) CDXLines.iter: 13.78 (3) load_resource: 62.757 PetaboxLoader3.resolve: 27.525 */