{"version":3,"sources":["webpack:///./LeLab.Gcv.Web/src/atomic/organism/o-tiles-slider/o-tiles-slider.chunk.js","webpack:///./LeLab.Gcv.Web/src/atomic/organism/o-tiles-slider/o-tiles-slider.scss"],"names":["require","$","isIE","window","navigator","userAgent","indexOf","match","$document","document","currentLang","attr","ariaLabelPrev","ariaLabelNext","TilesSlider","element","$module","slick","dots","arrows","prevArrow","nextArrow","slidesToShow","slidesToScroll","infinite","useTransform","cssEase","responsive","breakpoint","settings","init","each","off","on"],"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,YAAYP,EAAEQ,QAAF,CAAhB;;AAEA,IAAIC,cAAcT,EAAE,MAAF,EAAUU,IAAV,CAAe,MAAf,CAAlB;AACA,IAAIC,gBAAgBF,gBAAgB,IAAhB,GAAuB,WAAvB,GAAqC,UAAzD;AACA,IAAIG,gBAAgBH,gBAAgB,IAAhB,GAAuB,SAAvB,GAAmC,MAAvD;;IAEMI,W,GACF,qBAAYC,OAAZ,EAAqB;AAAA;;AACjB,QAAIC,UAAUf,EAAEc,OAAF,CAAd;AACAC,YAAQC,KAAR,CAAc;AACVC,cAAM,KADI;AAEVC,gBAAQ,IAFE;AAGVC,mBAAW,wHAAwHR,aAAxH,GAAwI,aAHzI;AAIVS,mBAAW,0GAA0GR,aAA1G,GAA0H,aAJ3H;AAKVS,sBAAc,CALJ;AAMVC,wBAAgB,CANN;AAOVC,kBAAU,KAPA;AAQVC,sBAAevB,OAAO,KAAP,GAAe,IARpB;AASVwB,iBAAS,6BATC;AAUVC,oBAAY,CACR;AACIC,wBAAY,GADhB;AAEIC,sBAAU;AACNP,8BAAc,CADR;AAENC,gCAAgB;AAFV;AAFd,SADQ,EAQR;AACIK,wBAAY,GADhB;AAEIC,sBAAU;AACNP,8BAAc,CADR;AAENC,gCAAgB;AAFV;AAFd,SARQ;AAVF,KAAd;AA2BH,C;;AAGL,IAAIO,OAAO,SAAPA,IAAO,GAAY;AACnB7B,MAAE,iBAAF,EAAqB8B,IAArB,CAA0B,YAAY;AAClC,YAAI,KAAKjB,WAAT,EAAsB;AACtB,aAAKA,WAAL,GAAmB,IAAIA,WAAJ,CAAgB,IAAhB,CAAnB;AACH,KAHD;AAIH,CALD;;AAOAgB;;AAEAtB,UAAUwB,GAAV,CAAc,+BAAd;AACAxB,UAAUyB,EAAV,CAAa,+BAAb,EAA8C,YAAY;AACtDH;AACH,CAFD,E;;;;;;;AC5DA,yC","file":"o-tiles-slider.js","sourcesContent":["require(\"slick-carousel/slick/slick.scss\");\r\nrequire(\"./o-tiles-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\nvar $document = $(document);\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\nclass TilesSlider {\r\n constructor(element) {\r\n var $module = $(element);\r\n $module.slick({\r\n dots: false,\r\n arrows: true,\r\n prevArrow: '',\r\n nextArrow: '',\r\n slidesToShow: 3,\r\n slidesToScroll: 1,\r\n infinite: false,\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: 1,\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}\r\n\r\nvar init = function () {\r\n $('.o-tiles-slider').each(function () {\r\n if (this.TilesSlider) return;\r\n this.TilesSlider = new TilesSlider(this);\r\n });\r\n};\r\n\r\ninit();\r\n\r\n$document.off('jsInitAllScripts.tiles-slider');\r\n$document.on('jsInitAllScripts.tiles-slider', function () {\r\n init();\r\n});\n\n\n// WEBPACK FOOTER //\n// ./LeLab.Gcv.Web/src/atomic/organism/o-tiles-slider/o-tiles-slider.chunk.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./LeLab.Gcv.Web/src/atomic/organism/o-tiles-slider/o-tiles-slider.scss\n// module id = 634\n// module chunks = 46"],"sourceRoot":""}