{"version":3,"file":"fast-facts.js","names":["$","Drupal","behaviors","fastFacts","attach","window","resize","slick","mobileFirst","slidesToShow","prevArrow","nextArrow","dots","responsive","breakpoint","settings","attr","jQuery"],"sources":["src/components/fast-facts/fast-facts.es6.js"],"sourcesContent":["(function ($) {\n 'use strict';\n\n Drupal.behaviors.fastFacts = {\n attach: function () {\n // Reinitialize slider on window size change.\n $(window).resize(function () {\n $('.fast-facts__facts-container').slick('resize');\n });\n\n $('.fast-facts__facts-container').slick({\n mobileFirst: true,\n slidesToShow: 1,\n prevArrow: '.fast-facts__slider-prev',\n nextArrow: '.fast-facts__slider-next',\n dots: true,\n responsive: [\n {\n breakpoint: 639,\n settings: 'unslick'\n },\n ]\n });\n\n $('.fast-facts__fact').attr('tabindex', '-1');\n }\n };\n}(jQuery));\n"],"mappings":";;AAAC,WAAUA,CAAC,EAAE;EACZ,YAAY;;EAEZC,MAAM,CAACC,SAAS,CAACC,SAAS,GAAG;IAC3BC,MAAM,EAAE,SAAAA,OAAA,EAAY;MAClB;MACAJ,CAAC,CAACK,MAAM,CAAC,CAACC,MAAM,CAAC,YAAY;QAC3BN,CAAC,CAAC,8BAA8B,CAAC,CAACO,KAAK,CAAC,QAAQ,CAAC;MACnD,CAAC,CAAC;MAEFP,CAAC,CAAC,8BAA8B,CAAC,CAACO,KAAK,CAAC;QACtCC,WAAW,EAAE,IAAI;QACjBC,YAAY,EAAE,CAAC;QACfC,SAAS,EAAE,0BAA0B;QACrCC,SAAS,EAAE,0BAA0B;QACrCC,IAAI,EAAE,IAAI;QACVC,UAAU,EAAE,CACV;UACEC,UAAU,EAAE,GAAG;UACfC,QAAQ,EAAE;QACZ,CAAC;MAEL,CAAC,CAAC;MAEFf,CAAC,CAAC,mBAAmB,CAAC,CAACgB,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC;IAC/C;EACF,CAAC;AACH,CAAC,EAACC,MAAM,CAAC","ignoreList":[]}