{"version":3,"sources":["webpack:////home/vsts/work/1/s/src/views/blocks/unitForSaleBlock/js/unitForSaleBlock.js"],"names":["BLK","UnitForSaleBlock","el","this","$html","$","$el","slick","slidesToShow","dots","arrows","variableWidth","centerMode","centerPadding","mobileFirst","infinite","appendArrows","responsive","breakpoint","settings"],"mappings":"8ZACA,IAEMA,EAAM,qB,QAMCC,iB,WACZ,WAAYC,GAAI,C,+FAAA,QAEfC,KAAKC,MAAQC,EAAE,MAAF,EAEbF,KAAKG,IAAMD,EAAEH,CAAF,CACX,C,2CAKAG,EAAKL,EAAL,iBAAyBO,MAAM,CAC9BC,aAAc,EACdC,KAAM,GACNC,OAAQ,GACRC,cAAe,GACfC,WAAY,GACZC,cAAe,MACfC,YAAa,GACbC,SAAU,GACVC,aAAcX,EAAKL,EAAL,gBACdiB,WAAY,CACX,CACCC,WAAY,IACZC,SAAU,CACTR,cAAe,EADN,CAFX,EAX6B,CAA/B,CAmBA,C","file":"block-65.4dfb74c0df403e09dc00.js","sourcesContent":["// CONSTANTS are all caps.\nconst NS = 'UnitForSaleBlock';\nconst CLS = 'unitForSaleBlock';\nconst BLK = '.' + CLS + '-';\n\n// Import stuff here if you need to or even better to import them dynamically\n// for ex. of dynamic import check out src/scripts/loadWg/portalProfileDropdown.js using Webpack dynamic imports as chunks.\n// import $ from 'jquery'\n\nexport class UnitForSaleBlock {\n\tconstructor(el) {\n\t\t// $el is the widget node return by the TopStickyNav function\n\t\tthis.$html = $('html');\n\n\t\tthis.$el = $(el);\n\t}\n\n\tinit() {\n\t\tconst _that = this;\n\n\t\t$(`${BLK}propertySlick`).slick({\n\t\t\tslidesToShow: 1,\n\t\t\tdots: false,\n\t\t\tarrows: true,\n\t\t\tvariableWidth: false,\n\t\t\tcenterMode: true,\n\t\t\tcenterPadding: '0px',\n\t\t\tmobileFirst: true,\n\t\t\tinfinite: true,\n\t\t\tappendArrows: $(`${BLK}appendArrows`),\n\t\t\tresponsive: [\n\t\t\t\t{\n\t\t\t\t\tbreakpoint: 992,\n\t\t\t\t\tsettings: {\n\t\t\t\t\t\tvariableWidth: true,\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t],\n\t\t});\n\t}\n}\n"],"sourceRoot":""}