{"version":3,"file":"zoomv.6903.min.js?t=128ff7219ac6e7e10eef","mappings":"wzBA0BA,QA1BoB,WASjB,O,EARD,SAAAA,EAAYC,I,4FAAIC,CAAA,KAAAF,GACdG,KAAKF,GAAKA,EACVE,KAAKC,OAAS,CACZC,MAAOJ,EAAGK,cAAc,iCAG1BH,KAAKI,iBACLJ,KAAKK,cACP,G,EAAC,EAAAC,IAAA,eAAAC,MAED,WACEC,OAAOC,iBAAiB,SAAUT,KAAKI,eAAeM,KAAKV,OAC3DA,KAAKC,OAAOC,MAAMO,iBAAiB,OAAQT,KAAKI,eAAeM,KAAKV,MACtE,GAAC,CAAAM,IAAA,iBAAAC,MAED,WACMP,KAAKC,OAAOC,OACdF,KAAKF,GAAGa,MAAMC,YACZ,iBAAgB,GAAAC,OACZb,KAAKC,OAAOC,MAAMY,aAAe,EAAK,GAAE,MAGlD,M,6EAAC,CAvBiB,E","sources":["webpack://@hero-digital/zoom/./src/components/modules/BlogDetailHero/BlogDetailHero.js"],"sourcesContent":["class BlogDetailHero {\r\n constructor(el) {\r\n this.el = el\r\n this.domMap = {\r\n image: el.querySelector('.blog-detail-hero__image img')\r\n }\r\n // console.log('image height: ', this.domMap.image.clientHeight)\r\n this.setImageHeight()\r\n this.addListeners()\r\n }\r\n\r\n addListeners() {\r\n window.addEventListener('resize', this.setImageHeight.bind(this))\r\n this.domMap.image.addEventListener('load', this.setImageHeight.bind(this))\r\n }\r\n\r\n setImageHeight() {\r\n if (this.domMap.image) {\r\n this.el.style.setProperty(\r\n '--image-height',\r\n `${(this.domMap.image.clientHeight / 2) + 40}px`\r\n )\r\n }\r\n }\r\n}\r\n\r\nexport default BlogDetailHero\r\n"],"names":["BlogDetailHero","el","_classCallCheck","this","domMap","image","querySelector","setImageHeight","addListeners","key","value","window","addEventListener","bind","style","setProperty","concat","clientHeight"],"sourceRoot":""}