{"version":3,"file":"mobile-slider-BOE8jCzO.js","sources":["../../Frontend/js/modules/mobile-slider.js"],"sourcesContent":["import Flickity from 'flickity';\r\n\r\nexport default function initSlider() {\r\n\tconst sliders = document.querySelectorAll('.js-mobile-slider');\r\n\r\n\tfunction initFlickity(slider) {\r\n\t\treturn new Flickity( slider, {\r\n\t\t\tcellAlign: 'left',\r\n\t\t\timagesLoaded: true,\r\n\t\t\tlazyLoad: 2,\r\n\t\t\tdraggable: true,\r\n\t\t\tprevNextButtons: false,\r\n\t\t\twatchCSS: true\r\n\t\t});\r\n\t}\r\n\r\n\tfor(let i = 0; i < sliders.length; i += 1){\r\n\t\tinitFlickity(sliders[i]);\r\n\t}\r\n}\r\n"],"names":["initSlider","sliders","initFlickity","slider","Flickity","i"],"mappings":"+EAEe,SAASA,GAAa,CACpC,MAAMC,EAAU,SAAS,iBAAiB,mBAAmB,EAE7D,SAASC,EAAaC,EAAQ,CAC7B,OAAO,IAAIC,EAAUD,EAAQ,CAC5B,UAAW,OACX,aAAc,GACd,SAAU,EACV,UAAW,GACX,gBAAiB,GACjB,SAAU,EACb,CAAG,CACD,CAED,QAAQE,EAAI,EAAGA,EAAIJ,EAAQ,OAAQI,GAAK,EACvCH,EAAaD,EAAQI,CAAC,CAAC,CAEzB"}