{"version":3,"sources":["webpack:///./LeLab.Gcv.Web/src/atomic/organism/o-tips-slider/o-tips-slider.chunk.js","webpack:///./LeLab.Gcv.Web/src/atomic/organism/o-tips-slider/o-tips-slider.scss"],"names":["require","$","isIE","window","navigator","userAgent","indexOf","match","currentLang","attr","ariaLabelPrev","ariaLabelNext","length","each","$module","slick","adaptiveHeight","dots","dotsClass","arrows","prevArrow","nextArrow","slidesToShow","slidesToScroll","infinite","useTransform","cssEase","responsive","breakpoint","settings"],"mappings":";;;;;;;;AAAA,mBAAAA,CAAQ,EAAR;AACA,mBAAAA,CAAQ,GAAR;;AAEA,IAAIC,IAAI,mBAAAD,CAAQ,CAAR,CAAR;AACA,mBAAAA,CAAQ,EAAR;;AAEA,IAAIE,OAAO,KAAX;AACA,IAAIC,OAAOC,SAAP,CAAiBC,SAAjB,CAA2BC,OAA3B,CAAmC,OAAnC,IAA8C,CAA9C,IAAmD,CAAC,CAACF,UAAUC,SAAV,CAAoBE,KAApB,CAA0B,mBAA1B,CAAzD,EAAyG;AACrGL,WAAO,IAAP;AACH;;AAED,IAAIM,cAAcP,EAAE,MAAF,EAAUQ,IAAV,CAAe,MAAf,CAAlB;AACA,IAAIC,gBAAgBF,gBAAgB,IAAhB,GAAuB,WAAvB,GAAqC,UAAzD;AACA,IAAIG,gBAAgBH,gBAAgB,IAAhB,GAAuB,SAAvB,GAAmC,MAAvD;;AAEA,IAAIP,EAAE,gBAAF,EAAoBW,MAApB,GAA6B,CAAjC,EAAoC;AAChCX,MAAE,gBAAF,EAAoBY,IAApB,CAAyB,YAAY;AACjC,YAAIC,UAAUb,EAAE,IAAF,CAAd;AACAa,gBAAQC,KAAR,CAAc;AACVC,4BAAgB,IADN;AAEVC,kBAAM,IAFI;AAGVC,uBAAW,qBAHD;AAIVC,oBAAQ,IAJE;AAKVC,uBAAW,uGAAuGV,aAAvG,GAAuH,aALxH;AAMVW,uBAAW,uGAAuGV,aAAvG,GAAuH,aANxH;AAOVW,0BAAc,CAPJ;AAQVC,4BAAgB,CARN;AASVC,sBAAU,IATA;AAUVC,0BAAevB,OAAO,KAAP,GAAe,IAVpB;AAWVwB,qBAAS,6BAXC;AAYVC,wBAAY,CACR;AACIC,4BAAY,GADhB;AAEIC,0BAAU;AACNP,kCAAc,CADR;AAENC,oCAAgB;AAFV;AAFd,aADQ,EAQR;AACIK,4BAAY,GADhB;AAEIC,0BAAU;AACNP,kCAAc,CADR;AAENC,oCAAgB;AAFV;AAFd,aARQ;AAZF,SAAd;AA6BH,KA/BD;AAgCH,C;;;;;;;AChDD,yC","file":"o-tips-slider.js","sourcesContent":["require(\"slick-carousel/slick/slick.scss\");\r\nrequire(\"./o-tips-slider.scss\");\r\n\r\nvar $ = require('jquery');\r\nrequire(\"slick-carousel/slick/slick.js\");\r\n\r\nvar isIE = false;\r\nif (window.navigator.userAgent.indexOf(\"MSIE \") > 0 || !!navigator.userAgent.match(/Trident.*rv\\:11\\./)) {\r\n isIE = true;\r\n}\r\n\r\nlet currentLang = $('html').attr('lang');\r\nlet ariaLabelPrev = currentLang === 'fr' ? 'précédent' : 'previous';\r\nlet ariaLabelNext = currentLang === 'fr' ? 'suivant' : 'next';\r\n\r\nif ($('.o-tips-slider').length > 0) {\r\n $('.o-tips-slider').each(function () {\r\n var $module = $(this);\r\n $module.slick({\r\n adaptiveHeight: true,\r\n dots: true,\r\n dotsClass: 'o-tips-slider__dots',\r\n arrows: true,\r\n prevArrow: '<button type=\"button\" class=\"o-tips-slider__btn o-tips-slider__btn--prev slick-arrow\" aria-label=\"' + ariaLabelPrev + '\"></button>',\r\n nextArrow: '<button type=\"button\" class=\"o-tips-slider__btn o-tips-slider__btn--next slick-arrow\" aria-label=\"' + ariaLabelNext + '\"></button>',\r\n slidesToShow: 2,\r\n slidesToScroll: 2,\r\n infinite: true,\r\n useTransform: (isIE ? false : true),\r\n cssEase: 'cubic-bezier(.38,.92,.75,1)',\r\n responsive: [\r\n {\r\n breakpoint: 992,\r\n settings: {\r\n slidesToShow: 2,\r\n slidesToScroll: 2,\r\n }\r\n },\r\n {\r\n breakpoint: 768,\r\n settings: {\r\n slidesToShow: 1,\r\n slidesToScroll: 1,\r\n }\r\n }\r\n ]\r\n });\r\n });\r\n}\n\n\n// WEBPACK FOOTER //\n// ./LeLab.Gcv.Web/src/atomic/organism/o-tips-slider/o-tips-slider.chunk.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./LeLab.Gcv.Web/src/atomic/organism/o-tips-slider/o-tips-slider.scss\n// module id = 638\n// module chunks = 44"],"sourceRoot":""}