{"version":3,"file":"image-scroller.js","sources":["image-scroller/image-scroller.js"],"sourcesContent":["(function ($) {\r\n $(document).ready(function () {\r\n\r\n // For each instance of the Social Slider.\r\n $.each($('.image-scroller'), function () {\r\n let slides_to_show = $(this).attr('data-slides-to-show');\r\n let scrolling_speed = $(this).attr('data-speed');\r\n\r\n /**\r\n * on the slider init event, remove the empty id attributes that Slick adds.\r\n */\r\n $($(this)).on(\"init\", () => {\r\n $($(this)).find(\"[id]\").filter((_, element) => element.id === \"\").removeAttr(\"id\");\r\n });\r\n\r\n /**\r\n * Initialize the carousel.\r\n */\r\n $($(this)).slick({\r\n infinite: true,\r\n speed: scrolling_speed > 0 ? scrolling_speed : 10000,\r\n autoplay: true,\r\n autoplaySpeed: 0,\r\n slidesToShow: 16,\r\n slidesToScroll: 1,\r\n cssEase: 'linear',\r\n pauseOnHover: true,\r\n arrows: false,\r\n responsive: [\r\n {\r\n breakpoint: 3160,\r\n settings: {\r\n slidesToShow: 14,\r\n }\r\n },\r\n {\r\n breakpoint: 2780,\r\n settings: {\r\n slidesToShow: 12,\r\n }\r\n },\r\n {\r\n breakpoint: 2380,\r\n settings: {\r\n slidesToShow: 10,\r\n }\r\n },\r\n {\r\n breakpoint: 2000,\r\n settings: {\r\n slidesToShow: 8,\r\n }\r\n },\r\n {\r\n breakpoint: 1600,\r\n settings: {\r\n slidesToShow: 6,\r\n }\r\n },\r\n {\r\n breakpoint: 1200,\r\n settings: {\r\n slidesToShow: 4,\r\n }\r\n },\r\n {\r\n breakpoint: 1120,\r\n settings: {\r\n slidesToShow: 3,\r\n }\r\n },\r\n {\r\n breakpoint: 992,\r\n settings: {\r\n slidesToShow: 2,\r\n }\r\n },\r\n {\r\n breakpoint: 768,\r\n settings: {\r\n slidesToShow: 1,\r\n }\r\n },\r\n ]\r\n });\r\n });\r\n\r\n });\r\n})(jQuery);\r\n"],"names":["$","document","ready","each","this","attr","let","scrolling_speed","on","find","filter","_","element","id","removeAttr","slick","infinite","speed","autoplay","autoplaySpeed","slidesToShow","slidesToScroll","cssEase","pauseOnHover","arrows","responsive","breakpoint","settings","jQuery"],"mappings":"CAAWA,IACPA,EAAEC,QAAQ,EAAEC,MAAM,WAGdF,EAAEG,KAAKH,EAAE,iBAAiB,EAAG,WACJA,EAAEI,IAAI,EAAEC,KAAK,qBAAqB,EAAvDC,IACIC,EAAmBP,EAAEI,IAAI,EAAEC,KAAK,YAAY,EAKhDL,EAAEA,EAAEI,IAAI,CAAC,EAAEI,GAAG,OAAQ,KAClBR,EAAEA,EAAEI,IAAI,CAAC,EAAEK,KAAK,MAAM,EAAEC,OAAO,CAACC,EAAGC,IAA2B,KAAfA,EAAQC,EAAS,EAAEC,WAAW,IAAI,CACrF,CAAC,EAKDd,EAAEA,EAAEI,IAAI,CAAC,EAAEW,MAAM,CACbC,SAAU,CAAA,EACVC,MAAyB,EAAlBV,EAAsBA,EAAkB,IAC/CW,SAAU,CAAA,EACVC,cAAe,EACfC,aAAc,GACdC,eAAgB,EAChBC,QAAS,SACTC,aAAc,CAAA,EACdC,OAAQ,CAAA,EACRC,WAAY,CACR,CACIC,WAAY,KACZC,SAAU,CACNP,aAAc,EAClB,CACJ,EACA,CACIM,WAAY,KACZC,SAAU,CACNP,aAAc,EAClB,CACJ,EACA,CACIM,WAAY,KACZC,SAAU,CACNP,aAAc,EAClB,CACJ,EACA,CACIM,WAAY,IACZC,SAAU,CACNP,aAAc,CAClB,CACJ,EACA,CACIM,WAAY,KACZC,SAAU,CACNP,aAAc,CAClB,CACJ,EACA,CACIM,WAAY,KACZC,SAAU,CACNP,aAAc,CAClB,CACJ,EACA,CACIM,WAAY,KACZC,SAAU,CACNP,aAAc,CAClB,CACJ,EACA,CACIM,WAAY,IACZC,SAAU,CACNP,aAAc,CAClB,CACJ,EACA,CACIM,WAAY,IACZC,SAAU,CACNP,aAAc,CAClB,CACJ,EAER,CAAC,CACL,CAAC,CAEL,CAAC,CACJ,GAAEQ,MAAM"}