{"version":3,"sources":["webpack:///./src/components/pmicom/widgets/investor-cta-widget-blue/controller.js"],"names":["trackGtm4","require","module","exports","init","root","addEventListener","title","querySelector","description","label","text","event","widget_name","widget_title","innerHTML","link_text","link_url","href","button_type"],"mappings":";;;;;;;;;AAAA,MAAM;EAAEA;AAAF,IAAgBC,mBAAO,CAAC,6CAAD,CAA7B;;AAEAC,MAAM,CAACC,OAAP,GAAiB;EAChBC,IAAI,GAAG;IACN,KAAKC,IAAL,CAAUC,gBAAV,CAA2B,OAA3B,EAAoC,MAAM;MACzC,MAAMC,KAAK,GAAG,KAAKF,IAAL,CAAUG,aAAV,CAAwB,sBAAxB,CAAd;MACA,MAAMC,WAAW,GAAG,KAAKJ,IAAL,CAAUG,aAAV,CAAwB,4BAAxB,CAApB;MACA,MAAME,KAAK,GAAG,KAAKL,IAAL,CAAUG,aAAV,CAAwB,sBAAxB,CAAd;MACA,MAAMG,IAAI,GAAGD,KAAK,GAAGA,KAAH,GAAWD,WAA7B;MACAT,SAAS,CAAC;QACTY,KAAK,EAAE,iBADE;QAETC,WAAW,EAAE,sBAFJ;QAGTC,YAAY,EAAEP,KAAK,CAACQ,SAHX;QAITC,SAAS,EAAEL,IAAI,CAACI,SAJP;QAKTE,QAAQ,EAAE,KAAKZ,IAAL,CAAUa,IALX;QAMTC,WAAW,EAAE;MANJ,CAAD,CAAT;IAQA,CAbD;EAcA;;AAhBe,CAAjB,C","file":"components--investor-cta-widget-blued91775db6ac0caf70696.js","sourcesContent":["const { trackGtm4 } = require('util/functions');\n\nmodule.exports = {\n\tinit() {\n\t\tthis.root.addEventListener('click', () => {\n\t\t\tconst title = this.root.querySelector('.investor-cta--title');\n\t\t\tconst description = this.root.querySelector('.investor-cta--description');\n\t\t\tconst label = this.root.querySelector('.investor-cta--label');\n\t\t\tconst text = label ? label : description;\n\t\t\ttrackGtm4({\n\t\t\t\tevent: 'GA4_event_c_cta',\n\t\t\t\twidget_name: 'V3-Investor CTA blue',\n\t\t\t\twidget_title: title.innerHTML,\n\t\t\t\tlink_text: text.innerHTML,\n\t\t\t\tlink_url: this.root.href,\n\t\t\t\tbutton_type: '',\n\t\t\t});\n\t\t});\n\t},\n};\n"],"sourceRoot":""}