{"version":3,"sources":["homepage.js"],"names":["juicerCycle","setTimeout","$","window","width","cycle","swipe","slides","timeout","fx","allowWrap","centerHorz","autoHeight","cycleLog","pager","jQuery","document","ready","Splide","type","perPage","cover","arrows","pagination","heightRatio","gap","autoplay","rewind","start","Math","floor","random","length","classes","arrow","prev","next","mount","remove","updateOnMove","perMove","breakpoints","640","padding","focus","750","right","945","1180","1370","2400"],"mappings":"AAmEA,SAAAA,cACAC,WAAA,WACAC,EAAAC,QAAAC,QAAA,KACAF,EAAA,YAAAG,MAAA,CACAC,OAAA,EACAC,OAAA,eACAC,QAAA,EACAC,GAAA,UACAC,WAAA,EACAC,YAAA,EACAC,WAAA,YACAC,UAAA,EACAC,MAAA,mBAGA,MAlFAC,OAAAC,UAAAC,MAAA,SAAAf,GAEA,IAAAgB,OAAA,UAAA,CACAC,KAAA,OACAC,QAAA,EACAC,OAAA,EACAC,QAAA,EACAC,YAAA,EACAX,YAAA,EACAY,aAAA,EACAC,IAAA,EACAC,UAAA,EACAC,QAAA,EACAC,MAAAC,KAAAC,MAAAD,KAAAE,UAAA7B,EAAA,iBAAA8B,OAAA,IACAC,QAAA,CACAV,WAAA,0BACAD,OAAA,mCACAY,MAAA,iCACAC,KAAA,sCACAC,KAAA,yCAEAC,QAAAC,OAAA,wBAEA,IAAApB,OAAA,kBAAA,CAEAqB,cAAA,EACApB,KAAA,OACAqB,QAAA,EACApB,QAAA,EACAE,QAAA,EACAC,YAAA,EACAG,UAAA,EACAe,YAAA,CAEAC,IAAA,CACAtB,QAAA,EACAuB,QAAA,OACAC,MAAA,UAGAC,IAAA,CACAzB,QAAA,EACAuB,QAAA,CAAAG,MAAA,SAGAC,IAAA,CACA3B,QAAA,GAGA4B,KAAA,CACA5B,QAAA,GAGA6B,KAAA,CACA7B,QAAA,GAGA8B,KAAA,CACA9B,QAAA,MAKAiB","file":"homepage.js","sourcesContent":["jQuery(document).ready(function ($) {\r\n\r\n new Splide('.banner', {\r\n type: 'fade',\r\n perPage: 1,\r\n cover: true,\r\n arrows: true,\r\n pagination: false,\r\n autoHeight: true,\r\n heightRatio: true,\r\n gap: 0,\r\n autoplay: false,\r\n rewind: true,\r\n start: Math.floor(Math.random() * ($('.banner-slide').length + 1)),\r\n classes: {\r\n pagination: 'splide__pagination dots', // container\r\n arrows: 'splide__arrows your-class-arrows',\r\n arrow: 'splide__arrow your-class-arrow',\r\n prev: 'splide__arrow--prev your-class-prev',\r\n next: 'splide__arrow--next your-class-next',\r\n },\r\n }).mount().remove('.splide__hide-Hidden');\r\n\r\n var vendorsSplide = new Splide('.vendors-splide', {\r\n //default / 2000+\r\n updateOnMove: true,\r\n type: 'loop',\r\n perMove: 1,\r\n perPage: 7,\r\n arrows: true,\r\n pagination: true,\r\n autoplay: true,\r\n breakpoints: {\r\n //0 -> 640\r\n 640: {\r\n perPage: 1,\r\n padding: '3rem',\r\n focus: 'center'\r\n },\r\n //640 -> 750\r\n 750: {\r\n perPage: 2,\r\n padding: { right: '5rem' }\r\n },\r\n //750 -> 945\r\n 945: {\r\n perPage: 3\r\n },\r\n //945 -> 1180\r\n 1180: {\r\n perPage: 4\r\n },\r\n //1180 -> 1370\r\n 1370: {\r\n perPage: 5\r\n },\r\n //1370 -> 2400\r\n 2400: {\r\n perPage: 6\r\n }\r\n }\r\n });\r\n\r\n vendorsSplide.mount();\r\n\r\n});\r\n\r\nfunction juicerCycle() {\r\n setTimeout(function () {\r\n if ($(window).width() < 768) {\r\n $('.j-stack').cycle({\r\n swipe: true,\r\n slides: \"> .feed-item\",\r\n timeout: 0,\r\n fx: 'fadeout',\r\n allowWrap: true,\r\n centerHorz: true,\r\n autoHeight: 'container',\r\n cycleLog: false,\r\n pager: \"#social-pager\"\r\n });\r\n }\r\n }, 1500);\r\n}"]}