{"version":3,"sources":["webpack:///./templates/landing/js/LandingPage.js"],"names":["LandingPage","_createClass","element","_classCallCheck","landingElement","_slicedToArray","this","multiSearch","querySelector","twitter","init","key","value","control","window","addEventListener","changeHeight","bind","style","minHeight","concat","offsetHeight"],"mappings":"+LAGqBA,EAAW,WAO3B,OAAAC,KAND,SAAAD,YAAYE,GAASC,IAAA,KAAAH,aACjB,IAAOI,EAAPC,IAAyBH,EAAO,GAAX,GACrBI,KAAKC,YAAcH,EAAeI,cAAc,kBAChDF,KAAKG,QAAUL,EAAeI,cAAc,0BACvCF,KAAKG,SAAYH,KAAKC,aAC3BD,KAAKI,SACR,EAAAC,IAAA,OAAAC,MACD,SAAAF,OACIJ,KAAKO,YACR,CAAAF,IAAA,UAAAC,MACD,SAAAC,UACIC,OAAOC,iBAAiB,OAAQT,KAAKU,aAAaC,KAAKX,SAC1D,CAAAK,IAAA,eAAAC,MACD,SAAAI,eACIV,KAAKG,QAAQS,MAAMC,UAAY,GAAHC,OAAMd,KAAKC,YAAYc,aAAe,GAAE,UAf5C","file":"js/landingPage-82691f51212591774990.js","sourcesContent":["/**\n * @NOTE this change requested by the customer to have both of these items have the same height\n */\nexport default class LandingPage {\n constructor(element) {\n const [landingElement] = element;\n this.multiSearch = landingElement.querySelector('.articles-tabs');\n this.twitter = landingElement.querySelector('.landing-page__twitter');\n if (!this.twitter || !this.multiSearch) return;\n this.init();\n }\n init() {\n this.control();\n }\n control() {\n window.addEventListener('load', this.changeHeight.bind(this));\n }\n changeHeight() {\n this.twitter.style.minHeight = `${this.multiSearch.offsetHeight + 40}px`;\n }\n}\n"],"sourceRoot":""}