{"version":3,"sources":["webpack:///./src/js/modules/home-masthead.js"],"names":["Module","Component","setupDefaults","this","dom","$prompt","el","_$","$mobileDropdown","_$$","addListeners","addEventListener","handleClickPrompt","bind","forEach","classList","toggle"],"mappings":"2FAAA,mBAEA,MAAMA,UAAeC,YACnBC,gBACEC,KAAKC,IAAM,CACTC,QAASF,KAAKG,GAAGC,GAAG,sBACpBC,gBAAiBL,KAAKG,GAAGG,IACvB,oGAKNC,eACEP,KAAKC,IAAIC,QAAQM,iBACf,QACAR,KAAKS,kBAAkBC,KAAKV,OAIhCS,oBACE,MAAM,gBAAEJ,GAAoBL,KAAKC,IACjCI,EAAgBM,QAAQR,GAAMA,EAAGS,UAAUC,OAAO,YAIvChB","file":"73.3db9ef.js","sourcesContent":["import { Component } from '@verndale/core';\n\nclass Module extends Component {\n setupDefaults() {\n this.dom = {\n $prompt: this.el._$('.shortcuts__prompt'),\n $mobileDropdown: this.el._$$(\n '.shortcuts__sign-in, .shortcuts__additional-links, .prompt__svg--expand, .prompt__svg--collapse'\n )\n };\n }\n\n addListeners() {\n this.dom.$prompt.addEventListener(\n 'click',\n this.handleClickPrompt.bind(this)\n );\n }\n\n handleClickPrompt() {\n const { $mobileDropdown } = this.dom;\n $mobileDropdown.forEach(el => el.classList.toggle('active'));\n }\n}\n\nexport default Module;\n"],"sourceRoot":""}