{"version":3,"names":["$","lazyLoadImg","each","this","parentsUntil","hasClass","attr","removeClass","window","on","fn","slick","buffer","ints","self","useThumbs","custom","data","defaults","dots","ismultislideCarousel","accessibility","pauseOnDotsHover","useAutoplayToggleButton","infinite","initialSlide","arrows","slidesToShow","slidestoShow","slidesToScroll","slidestoScroll","responsive","breakpoint","settings","slidestoShowMobile","slidestoScrollMobile","customPaging","slider","i","pager","arialabel","$slides","parseInt","length","alt","caption","image","options","extend","undefined","randomizeSlides","rand","Math","floor","ArrayBuffer","Int8Array","crypto","getRandomValues","DataView","getFloat64","numberOfSlides","enableDateSort","slides","find","sli","val1","slide2","sortedSlides","map","push","Array","from","sort","a","b","dateA","dataset","updateddate","localeCompare","activeSlide","currentActiveElement","document","activeElement","siblings","children","parents","SRele","getElementById","remove","srText","append","removeAttr","setTimeout","autoplay","css","slideCount","className","event","currentSlide","nextSlide","currentActiveElement2","activeSlide2","get","click","currentTarget","closest","videoLoaded","contentWindow","postMessage","initCarousels","manual","e","ta","preventDefault","modal","addEventListener","ready","jQuery","analytics","eventConfig","target","codeId","events","eventTarget","eventType","eventName","tags","componentName","componentId","elementType","elementText","listOrdinal","page_type","page_title","page_bu","environment","page_language","sitecore_contact_id","pardot_cookie_id","event1","eventCategory","eventAction","rule","value","ref","ele"],"sources":["assets/feature/Composites/Carousel/js/_C03-carousel.js"],"sourcesContent":["(function ($) {\r\n function lazyLoadImg() {\r\n $(\".c03-carousel img\").each(function () {\r\n if ($(this).parentsUntil().hasClass(\"slick-active\")) {\r\n if ($(this).hasClass(\"lazy\") && $(this).attr(\"src\") == \"\") {\r\n $(this).removeClass(\"lazy\");\r\n $(this).attr(\"src\", $(this).attr(\"data-src\"));\r\n }\r\n }\r\n });\r\n }\r\n $(window).on('load', function () {\r\n lazyLoadImg();\r\n });\r\n initCarousels();\r\n disableAutoTagging();\r\n bindEvents();\r\n var videoLoaded = false;\r\n document.addEventListener('DOMContentLoaded', function (event) {\r\n videoLoaded = true;\r\n });\r\n\r\n function initCarousels() {\r\n if (!$.fn.slick) return;\r\n $('.carousel').each(function () {\r\n var self = $(this);\r\n var useThumbs = self.hasClass('carousel-thumb');\r\n /**chem merge*/\r\n var custom = self.data('options');\r\n /**chem merge*/\r\n var defaults = {\r\n /**chem merge*/\r\n dots: custom.ismultislideCarousel ? false : true,\r\n /**chem merge*/\r\n accessibility: true,\r\n pauseOnDotsHover: true,\r\n useAutoplayToggleButton: false,\r\n infinite: custom.ismultislideCarousel ? false : true,\r\n initialSlide: 0,\r\n /**chem merge*/\r\n arrows: true,\r\n slidesToShow: custom.ismultislideCarousel ? custom.slidestoShow : 1,\r\n slidesToScroll: custom.ismultislideCarousel ? custom.slidestoScroll : 1,\r\n responsive: [\r\n {\r\n breakpoint: 480,\r\n settings: {\r\n slidesToShow: custom.ismultislideCarousel ? custom.slidestoShowMobile : 1,\r\n slidesToScroll: custom.ismultislideCarousel ? custom.slidestoScrollMobile : 1\r\n }\r\n }\r\n ],\r\n /**chem merge*/\r\n customPaging: function (slider, i) {\r\n var pager;\r\n var data = $(slider.$slides[i]).data('slide-info');\r\n var arialabel;\r\n if (data.arialabel) {\r\n arialabel = data.arialabel;\r\n }\r\n else {\r\n arialabel = \"Slider \" + parseInt(i + 1) + ' of ' + $(slider.$slides).length + '\"';\r\n }\r\n if (useThumbs) {\r\n var alt = data.alt || data.caption;\r\n pager = ' ' + data.caption + '