{"version":3,"file":"ArticlePageController.js","names":["ArticlePageController","init","$","document","body","addClass","ColorizedImage","applyToElements","ColorizedBackgroundImage","PageController","controller"],"sources":["controllers/ArticlePageController.js"],"sourcesContent":["import 'slick';\r\nimport $ from 'jquery';\r\nimport {PageController} from './PageController';\r\nimport {isMobile} from '../utils/mobileDetect';\r\nimport {StickyElement} from '../components/StickyElement';\r\nimport {ColorizedImage, ColorizedBackgroundImage} from '../components/ColorizedImage';\r\n\r\n/**\r\n * @name ArticlePageController\r\n * @class Article page specific functionality\r\n */\r\nclass ArticlePageController extends PageController {\r\n\r\n constructor() {\r\n super();\r\n \r\n this.init();\r\n //StickyElement.start('address.ar-summary-card', '.ar-article-sticky-parent');\r\n }\r\n\r\n /**\r\n * Controller initialiser\r\n * @private\r\n */\r\n init() {\r\n $(document.body).addClass('ar-article-template')\r\n ColorizedImage.applyToElements('.colorized-image');\r\n ColorizedBackgroundImage.applyToElements('.colorized-background-image');\r\n }\r\n}\r\n\r\nexport var controller = new ArticlePageController();"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAAsF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEtF;AACA;AACA;AACA;AAHA,IAIMA,qBAAqB;EAAA;EAAA;EAEvB,iCAAc;IAAA;IAAA;IACV;IAEA,MAAKC,IAAI,EAAE;IACX;IAAA;EACJ;;EAEA;AACJ;AACA;AACA;EAHI;IAAA;IAAA,OAIA,gBAAO;MACH,IAAAC,kBAAC,EAACC,QAAQ,CAACC,IAAI,CAAC,CAACC,QAAQ,CAAC,qBAAqB,CAAC;MAChDC,8BAAc,CAACC,eAAe,CAAC,kBAAkB,CAAC;MAClDC,wCAAwB,CAACD,eAAe,CAAC,6BAA6B,CAAC;IAC3E;EAAC;EAAA;AAAA,EAjB+BE,+BAAc;AAoB3C,IAAIC,UAAU,GAAG,IAAIV,qBAAqB,EAAE;AAAC"}