{"version":3,"sources":["webpack:///./src/components/pmicom/widgets/faq/controller.js"],"names":["trackGtm4","require","module","exports","init","title","root","querySelector","navLinks","querySelectorAll","forEach","link","addEventListener","event","widget_name","widget_title","innerHTML","trim","widget_type","link_text","link_url","href","interaction_type"],"mappings":";;;;;;;;;AAAA,MAAM;EAAEA;AAAF,IAAgBC,mBAAO,CAAC,uDAAD,CAA7B;;AAEAC,MAAM,CAACC,OAAP,GAAiB;EAChBC,IAAI,GAAG;IACN,MAAMC,KAAK,GAAG,KAAKC,IAAL,CAAUC,aAAV,CAAwB,iBAAxB,CAAd;IACA,MAAMC,QAAQ,GAAG,KAAKF,IAAL,CAAUG,gBAAV,CAA2B,iBAA3B,CAAjB;IAEAD,QAAQ,CAACE,OAAT,CAAiBC,IAAI,IAAI;MACxBA,IAAI,CAACC,gBAAL,CAAsB,OAAtB,EAA+B,MAAM;QACpCZ,SAAS,CAAC;UACTa,KAAK,EAAE,sCADE;UAETC,WAAW,EAAE,QAFJ;UAGTC,YAAY,EAAEV,KAAK,GAAGA,KAAK,CAACW,SAAN,CAAgBC,IAAhB,EAAH,GAA4B,UAHtC;UAITC,WAAW,EAAE,SAJJ;UAKTC,SAAS,EAAER,IAAI,GAAGA,IAAI,CAACK,SAAL,CAAeC,IAAf,EAAH,GAA2B,SALjC;UAMTG,QAAQ,EAAET,IAAI,CAACU,IAAL,GAAYV,IAAI,CAACU,IAAjB,GAAwB,QANzB;UAOTC,gBAAgB,EAAE;QAPT,CAAD,CAAT;MASA,CAVD;IAWA,CAZD;EAaA;;AAlBe,CAAjB,C","file":"components--faq299af21d05a0f2fe6759.js","sourcesContent":["const { trackGtm4 } = require('../../../../js/functions');\n\nmodule.exports = {\n\tinit() {\n\t\tconst title = this.root.querySelector('.wrapper--title');\n\t\tconst navLinks = this.root.querySelectorAll('.category--link');\n\n\t\tnavLinks.forEach(link => {\n\t\t\tlink.addEventListener('click', () => {\n\t\t\t\ttrackGtm4({\n\t\t\t\t\tevent: 'GA4_event_c_content_navigation_click',\n\t\t\t\t\twidget_name: 'V3-Faq',\n\t\t\t\t\twidget_title: title ? title.innerHTML.trim() : 'No title',\n\t\t\t\t\twidget_type: 'article',\n\t\t\t\t\tlink_text: link ? link.innerHTML.trim() : 'No text',\n\t\t\t\t\tlink_url: link.href ? link.href : 'No url',\n\t\t\t\t\tinteraction_type: 'side navigation',\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\t},\n};\n"],"sourceRoot":""}