{"version":3,"file":"AnalyticsHelper.DF0W5DpF.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/OyPsZ6OzC222GeeeWaoP/M5YFkll64tyBoScH3ANw/AnalyticsHelper.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";export function withDisplayNone(Component){return props=>{return /*#__PURE__*/_jsx(Component,{style:{display:\"none\"}});};}export function withAddedSeoAndAnalytic(Component){return props=>{var _props_answer_props_children_props,_props_answer_props_children,_props_answer_props,_props_answer;const answer=props===null||props===void 0?void 0:(_props_answer=props.answer)===null||_props_answer===void 0?void 0:(_props_answer_props=_props_answer.props)===null||_props_answer_props===void 0?void 0:(_props_answer_props_children=_props_answer_props.children)===null||_props_answer_props_children===void 0?void 0:(_props_answer_props_children_props=_props_answer_props_children.props)===null||_props_answer_props_children_props===void 0?void 0:_props_answer_props_children_props.children;const onFAQClick=event=>{try{var _window;const analyticEventObject={l1FunnelStage:props.l1Funnel,l2FunnelStage:props.l2Funnel,label:props.question,service:props.service,section:props.sectionName,subSection:props.subSection};if((_window=window)===null||_window===void 0?void 0:_window.universeAnalytics){window.universeAnalytics.track_EXPERIMENTAL({name:\"FAQ Clicked\"},analyticEventObject);}}catch{var _window_Sentry,_window1;(_window1=window)===null||_window1===void 0?void 0:(_window_Sentry=_window1.Sentry)===null||_window_Sentry===void 0?void 0:_window_Sentry.captureException(\"Something went wrong in framer analytics\",{tags:\"framer\",rank:\"P0\"});}};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Component,{...props,as:\"button\",onClick:onFAQClick}),answer&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"none\"},children:[\" \",answer,\" \"]})]});};}export function withTabAnalyticClickEvent(Component){return props=>{const onTabClick=event=>{const analyticEventObject={label:props.children[0].props.text,l1FunnelStage:props.children[1].props.children[0].props.text,l2FunnelStage:props.children[1].props.children[1].props.text,service:props.children[1].props.children[2].props.text,subSection:props.children[1].props.children[3].props.text,section:props.children[1].props.children[4].props.text};try{var _window;if((_window=window)===null||_window===void 0?void 0:_window.universeAnalytics){window.universeAnalytics.track_EXPERIMENTAL({name:\"Tab Clicked\"},analyticEventObject);}}catch{var _window_Sentry,_window1;(_window1=window)===null||_window1===void 0?void 0:(_window_Sentry=_window1.Sentry)===null||_window_Sentry===void 0?void 0:_window_Sentry.captureException(\"Something went wrong in framer analytics\",{tags:\"framer\",rank:\"P0\"});}};return /*#__PURE__*/_jsx(Component,{...props,as:\"button\",onClick:onTabClick});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withAddedSeoAndAnalytic\":{\"type\":\"reactHoc\",\"name\":\"withAddedSeoAndAnalytic\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTabAnalyticClickEvent\":{\"type\":\"reactHoc\",\"name\":\"withTabAnalyticClickEvent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDisplayNone\":{\"type\":\"reactHoc\",\"name\":\"withDisplayNone\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AnalyticsHelper.map"],"mappings":"gIAA+E,SAAgB,EAAgB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,MAAM,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAI,CAAC,SAAgB,EAAwB,EAAU,CAAC,MAAO,IAAO,CAAC,IAAuC,EAA6B,EAAoB,EAAc,IAAM,EAAO,GAAQ,OAA6B,EAAc,EAAM,SAAU,OAAqC,EAAoB,EAAc,QAAS,OAA2C,EAA6B,EAAoB,WAAY,KAA9N,IAAK,GAAgT,EAA6B,OAAqG,SAAe,EAAW,GAAO,CAAC,GAAG,CAAa,IAAM,EAAoB,CAAC,cAAc,EAAM,SAAS,cAAc,EAAM,SAAS,MAAM,EAAM,SAAS,QAAQ,EAAM,QAAQ,QAAQ,EAAM,YAAY,WAAW,EAAM,UAAU,EAAc,GAAgD,mBAAmB,EAAO,kBAAkB,mBAAmB,CAAC,KAAK,aAAa,EAAE,CAAmB,CAAG,MAAM,CAAC,IAAI,EAAe,GAAU,EAAS,IAAU,OAAgC,EAAe,EAAS,SAAU,MAAqC,EAAe,iBAAiB,2CAA2C,CAAC,KAAK,SAAS,KAAK,IAAI,CAAC,CAAE,CAAC,EAAE,OAAoB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,EAAU,CAAC,GAAG,EAAM,GAAG,SAAS,QAAQ,CAAU,CAAC,EAAE,GAAqB,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,MAAM,EAAE,SAAS,CAAC,IAAI,EAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAE,qBAA1mD"}