{"version":3,"file":"frontpage.min.js","sources":["https:\/\/conalepvirtual.conalep.edu.mx\/theme\/academi\/amd\/src\/frontpage.js"],"sourcesContent":["define(['jquery', 'theme_academi\/slick'], function($) {\n 'use strict';\n var RTL = ($('body').hasClass('dir-rtl')) ? true : false;\n return {\n init: function() {\n },\n \/\/ Available course block slider.\n availablecourses: function() {\n $(\".course-slider\").slick({\n arrows: true,\n swipe: true,\n infinite: false,\n slidesToShow: 4,\n slidesToScroll: 4,\n rtl: RTL,\n responsive: [\n {\n breakpoint: 991,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 3,\n }\n },\n {\n breakpoint: 767,\n settings: {\n\n slidesToShow: 2,\n slidesToScroll: 2,\n }\n },\n {\n breakpoint: 575,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1,\n }\n }\n ],\n\n });\n\n var prow = $(\".course-slider\").attr(\"data-crow\");\n prow = parseInt(prow);\n if (prow < 2) {\n $(\"#available-courses .pagenav\").hide();\n }\n },\n \/\/ Promoted course block slider.\n promotedcourse: function() {\n $(\".promatedcourse-slider\").slick({\n arrows: false,\n dots: true,\n swipe: true,\n infinite: false,\n slidesToShow: 4,\n slidesToScroll: 4,\n rtl: RTL,\n responsive: [\n {\n breakpoint: 991,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 3,\n }\n },\n {\n breakpoint: 767,\n settings: {\n\n slidesToShow: 2,\n slidesToScroll: 2,\n }\n },\n {\n breakpoint: 575,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1,\n }\n }\n ],\n\n });\n\n var prow = $(\".promatedcourse-slider\").attr(\"data-crow\");\n prow = parseInt(prow);\n if (prow < 2) {\n $(\"#promoted-courses .pagenav\").hide();\n }\n },\n };\n});"],"names":["define","$","RTL","hasClass","init","availablecourses","slick","arrows","swipe","infinite","slidesToShow","slidesToScroll","rtl","responsive","breakpoint","settings","prow","attr","parseInt","hide","promotedcourse","dots"],"mappings":"AAAAA,iCAAO,CAAC,SAAU,wBAAwB,SAASC,OAE3CC,MAAOD,EAAE,QAAQE,SAAS,iBACvB,CACHC,KAAM,aAGNC,iBAAkB,WACdJ,EAAE,kBAAkBK,MAAM,CACtBC,QAAQ,EACRC,OAAO,EACPC,UAAU,EACVC,aAAc,EACdC,eAAgB,EAChBC,IAAKV,IACLW,WAAY,CACR,CACIC,WAAY,IACZC,SAAU,CACNL,aAAc,EACdC,eAAgB,IAGxB,CACIG,WAAY,IACZC,SAAU,CAENL,aAAc,EACdC,eAAgB,IAGxB,CACIG,WAAY,IACZC,SAAU,CACNL,aAAc,EACdC,eAAgB,WAO5BK,KAAOf,EAAE,kBAAkBgB,KAAK,cACpCD,KAAOE,SAASF,OACL,GACPf,EAAE,+BAA+BkB,QAIzCC,eAAgB,WACZnB,EAAE,0BAA0BK,MAAM,CAC9BC,QAAQ,EACRc,MAAM,EACNb,OAAO,EACPC,UAAU,EACVC,aAAc,EACdC,eAAgB,EAChBC,IAAKV,IACLW,WAAY,CACR,CACIC,WAAY,IACZC,SAAU,CACNL,aAAc,EACdC,eAAgB,IAGxB,CACIG,WAAY,IACZC,SAAU,CAENL,aAAc,EACdC,eAAgB,IAGxB,CACIG,WAAY,IACZC,SAAU,CACNL,aAAc,EACdC,eAAgB,WAO5BK,KAAOf,EAAE,0BAA0BgB,KAAK,cAC5CD,KAAOE,SAASF,OACL,GACPf,EAAE,8BAA8BkB"}