{"version":3,"file":"js/6603-fc24d22c8af3be755ff8.js","mappings":"sFAAA,IAAIA,EAAM,CACT,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,wBAAyB,CACxB,MACA,MAED,wBAAyB,CACxB,MACA,KAED,qBAAsB,CACrB,MACA,KAED,qBAAsB,CACrB,MACA,KAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,KACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,KAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,kBAAmB,CAClB,MACA,MAED,qBAAsB,CACrB,MACA,KAED,qBAAsB,CACrB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,KAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,qBAAsB,CACrB,MACA,MAED,qBAAsB,CACrB,MACA,KAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,IACA,KAED,kBAAmB,CAClB,KACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,MACA,MAED,kBAAmB,CAClB,KACA,MAED,iBAAkB,CACjB,KACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,oBAAqB,CACpB,MACA,KAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,oBAAqB,CACpB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,KACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACjB,MACA,MAED,iBAAkB,CACj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BAAoB,SAASC,GACvD,OAAOP,EAAwBO,EACjC,CACF,GCjBF,GACElM,OAAAA,CAAQC,GACNA,EAAI1B,OAAO2B,iBAAiBiM,kBAAoBxT,OAAOC,KAAK4D,aAC9D,G,WCCF,MAAM4P,EAA6B,SAASnM,GAC1CA,EAAIoM,IAAItM,EAAAA,GACRE,EAAIoM,IAAIC,GACRrM,EAAIoM,IAAIE,EACV,C","sources":["webpack://agra/./app/javascript/locales/ lazy ^\\.\\/.*\\/.*\\.js$ namespace object","webpack://agra/./app/javascript/agra.js","webpack://agra/./app/javascript/analytics/track.js","webpack://agra/./app/javascript/constants.js","webpack://agra/./app/javascript/error-logger-init.js","webpack://agra/./app/javascript/error-logger.js","webpack://agra/./app/javascript/helpers/ajax.js","webpack://agra/./app/javascript/helpers/transform-object-keys.js","webpack://agra/./app/javascript/helpers/url-params.js","webpack://agra/./app/javascript/i18n/i18n-plugin.js","webpack://agra/./app/javascript/i18n/translations.js","webpack://agra/./app/javascript/modals.js","webpack://agra/./app/javascript/public-path.js","webpack://agra/./app/javascript/tooltips.js","webpack://agra/./app/javascript/utils/component-loader.js","webpack://agra/./app/javascript/utils/dom-ready.js","webpack://agra/./app/javascript/helpers/class-from-color-index.js","webpack://agra/./app/javascript/agra-configuration.js","webpack://agra/./app/javascript/vue-init.js"],"sourcesContent":["var map = {\n\t\"./friendship/ar.js\": [\n\t\t21918,\n\t\t1918\n\t],\n\t\"./friendship/cs.js\": [\n\t\t84611,\n\t\t4611\n\t],\n\t\"./friendship/da.js\": [\n\t\t51510,\n\t\t1510\n\t],\n\t\"./friendship/de-AT.js\": [\n\t\t96354,\n\t\t3973\n\t],\n\t\"./friendship/de-CH.js\": [\n\t\t45172,\n\t\t5172\n\t],\n\t\"./friendship/de.js\": [\n\t\t67466,\n\t\t7466\n\t],\n\t\"./friendship/el.js\": [\n\t\t55972,\n\t\t5972\n\t],\n\t\"./friendship/en-GB.js\": [\n\t\t59630,\n\t\t9630\n\t],\n\t\"./friendship/en-US.js\": [\n\t\t80531,\n\t\t531\n\t],\n\t\"./friendship/en.js\": [\n\t\t70894,\n\t\t894\n\t],\n\t\"./friendship/es.js\": [\n\t\t90969,\n\t\t969\n\t],\n\t\"./friendship/fr.js\": [\n\t\t68689,\n\t\t8689\n\t],\n\t\"./friendship/he.js\": [\n\t\t25950,\n\t\t5950\n\t],\n\t\"./friendship/hi.js\": [\n\t\t57290,\n\t\t7290\n\t],\n\t\"./friendship/hu.js\": [\n\t\t72782,\n\t\t2782\n\t],\n\t\"./friendship/id.js\": [\n\t\t52752,\n\t\t2752\n\t],\n\t\"./friendship/it.js\": [\n\t\t79744,\n\t\t9744\n\t],\n\t\"./friendship/ja.js\": [\n\t\t65748,\n\t\t5748\n\t],\n\t\"./friendship/ko.js\": [\n\t\t36039,\n\t\t6039\n\t],\n\t\"./friendship/nl.js\": [\n\t\t3547,\n\t\t3547\n\t],\n\t\"./friendship/no.js\": [\n\t\t34750,\n\t\t4750\n\t],\n\t\"./friendship/pl.js\": [\n\t\t13149,\n\t\t3149\n\t],\n\t\"./friendship/pt.js\": [\n\t\t32645,\n\t\t2645\n\t],\n\t\"./friendship/ro.js\": [\n\t\t55890,\n\t\t5890\n\t],\n\t\"./friendship/sr.js\": [\n\t\t88492,\n\t\t8492\n\t],\n\t\"./friendship/sv.js\": [\n\t\t94688,\n\t\t4688\n\t],\n\t\"./friendship/sw.js\": [\n\t\t93463,\n\t\t3463\n\t],\n\t\"./friendship/tr.js\": [\n\t\t60179,\n\t\t179\n\t],\n\t\"./phoenix/ar.js\": [\n\t\t94787,\n\t\t4787\n\t],\n\t\"./phoenix/cs.js\": [\n\t\t4322,\n\t\t4322\n\t],\n\t\"./phoenix/da.js\": [\n\t\t12491,\n\t\t2491\n\t],\n\t\"./phoenix/de-AT.js\": [\n\t\t20109,\n\t\t109\n\t],\n\t\"./phoenix/de-CH.js\": [\n\t\t92371,\n\t\t2371\n\t],\n\t\"./phoenix/de.js\": [\n\t\t59599,\n\t\t9599\n\t],\n\t\"./phoenix/el.js\": [\n\t\t61069,\n\t\t1069\n\t],\n\t\"./phoenix/en-GB.js\": [\n\t\t31773,\n\t\t4154\n\t],\n\t\"./phoenix/en-US.js\": [\n\t\t44392,\n\t\t4392\n\t],\n\t\"./phoenix/en.js\": [\n\t\t17931,\n\t\t7931\n\t],\n\t\"./phoenix/es.js\": [\n\t\t70432,\n\t\t432\n\t],\n\t\"./phoenix/fr.js\": [\n\t\t32668,\n\t\t2668\n\t],\n\t\"./phoenix/he.js\": [\n\t\t55963,\n\t\t5963\n\t],\n\t\"./phoenix/hi.js\": [\n\t\t61079,\n\t\t1079\n\t],\n\t\"./phoenix/hu.js\": [\n\t\t24747,\n\t\t4747\n\t],\n\t\"./phoenix/id.js\": [\n\t\t38289,\n\t\t8289\n\t],\n\t\"./phoenix/it.js\": [\n\t\t65281,\n\t\t5281\n\t],\n\t\"./phoenix/ja.js\": [\n\t\t4969,\n\t\t4969\n\t],\n\t\"./phoenix/ko.js\": [\n\t\t38270,\n\t\t8270\n\t],\n\t\"./phoenix/nl.js\": [\n\t\t12538,\n\t\t2538\n\t],\n\t\"./phoenix/no.js\": [\n\t\t39559,\n\t\t9559\n\t],\n\t\"./phoenix/pl.js\": [\n\t\t29140,\n\t\t9140\n\t],\n\t\"./phoenix/pt.js\": [\n\t\t98684,\n\t\t8684\n\t],\n\t\"./phoenix/ro.js\": [\n\t\t94099,\n\t\t4099\n\t],\n\t\"./phoenix/sr.js\": [\n\t\t31809,\n\t\t1809\n\t],\n\t\"./phoenix/sv.js\": [\n\t\t32413,\n\t\t2413\n\t],\n\t\"./phoenix/sw.js\": [\n\t\t6142,\n\t\t6142\n\t],\n\t\"./phoenix/tr.js\": [\n\t\t25902,\n\t\t5902\n\t],\n\t\"./pizzazz/ar.js\": [\n\t\t69776,\n\t\t9776\n\t],\n\t\"./pizzazz/cs.js\": [\n\t\t19297,\n\t\t9297\n\t],\n\t\"./pizzazz/da.js\": [\n\t\t15588,\n\t\t5588\n\t],\n\t\"./pizzazz/de-AT.js\": [\n\t\t52708,\n\t\t2708\n\t],\n\t\"./pizzazz/de-CH.js\": [\n\t\t93122,\n\t\t3122\n\t],\n\t\"./pizzazz/de.js\": [\n\t\t99320,\n\t\t9320\n\t],\n\t\"./pizzazz/el.js\": [\n\t\t84842,\n\t\t4842\n\t],\n\t\"./pizzazz/en-GB.js\": [\n\t\t64908,\n\t\t4908\n\t],\n\t\"./pizzazz/en-US.js\": [\n\t\t70733,\n\t\t733\n\t],\n\t\"./pizzazz/en.js\": [\n\t\t86624,\n\t\t6624\n\t],\n\t\"./pizzazz/es.js\": [\n\t\t91595,\n\t\t1595\n\t],\n\t\"./pizzazz/fr.js\": [\n\t\t29055,\n\t\t9055\n\t],\n\t\"./pizzazz/he.js\": [\n\t\t25764,\n\t\t5764\n\t],\n\t\"./pizzazz/hi.js\": [\n\t\t56944,\n\t\t6944\n\t],\n\t\"./pizzazz/hu.js\": [\n\t\t63124,\n\t\t3124\n\t],\n\t\"./pizzazz/id.js\": [\n\t\t70078,\n\t\t7697\n\t],\n\t\"./pizzazz/it.js\": [\n\t\t558,\n\t\t558\n\t],\n\t\"./pizzazz/ja.js\": [\n\t\t1350,\n\t\t1350\n\t],\n\t\"./pizzazz/ko.js\": [\n\t\t12093,\n\t\t2093\n\t],\n\t\"./pizzazz/nl.js\": [\n\t\t45501,\n\t\t5501\n\t],\n\t\"./pizzazz/no.js\": [\n\t\t33652,\n\t\t3652\n\t],\n\t\"./pizzazz/pl.js\": [\n\t\t52251,\n\t\t2251\n\t],\n\t\"./pizzazz/pt.js\": [\n\t\t53379,\n\t\t3379\n\t],\n\t\"./pizzazz/ro.js\": [\n\t\t7824,\n\t\t7824\n\t],\n\t\"./pizzazz/sr.js\": [\n\t\t26498,\n\t\t6498\n\t],\n\t\"./pizzazz/sv.js\": [\n\t\t62830,\n\t\t2830\n\t],\n\t\"./pizzazz/sw.js\": [\n\t\t12141,\n\t\t2141\n\t],\n\t\"./pizzazz/tr.js\": [\n\t\t8621,\n\t\t8621\n\t],\n\t\"./signup/ar.js\": [\n\t\t4388,\n\t\t4388\n\t],\n\t\"./signup/cs.js\": [\n\t\t76005,\n\t\t6005\n\t],\n\t\"./signup/da.js\": [\n\t\t62928,\n\t\t2928\n\t],\n\t\"./signup/de-AT.js\": [\n\t\t53312,\n\t\t3312\n\t],\n\t\"./signup/de-CH.js\": [\n\t\t30918,\n\t\t918\n\t],\n\t\"./signup/de.js\": [\n\t\t38652,\n\t\t8652\n\t],\n\t\"./signup/el.js\": [\n\t\t76062,\n\t\t6062\n\t],\n\t\"./signup/en-GB.js\": [\n\t\t37800,\n\t\t7800\n\t],\n\t\"./signup/en-US.js\": [\n\t\t72537,\n\t\t2537\n\t],\n\t\"./signup/en.js\": [\n\t\t31604,\n\t\t1604\n\t],\n\t\"./signup/es.js\": [\n\t\t57415,\n\t\t7415\n\t],\n\t\"./signup/fr.js\": [\n\t\t18667,\n\t\t8667\n\t],\n\t\"./signup/he.js\": [\n\t\t2208,\n\t\t2208\n\t],\n\t\"./signup/hi.js\": [\n\t\t73556,\n\t\t3556\n\t],\n\t\"./signup/hu.js\": [\n\t\t55984,\n\t\t3603\n\t],\n\t\"./signup/id.js\": [\n\t\t29658,\n\t\t9658\n\t],\n\t\"./signup/it.js\": [\n\t\t60074,\n\t\t74\n\t],\n\t\"./signup/ja.js\": [\n\t\t30410,\n\t\t410\n\t],\n\t\"./signup/ko.js\": [\n\t\t14457,\n\t\t4457\n\t],\n\t\"./signup/nl.js\": [\n\t\t17713,\n\t\t7713\n\t],\n\t\"./signup/no.js\": [\n\t\t43032,\n\t\t3032\n\t],\n\t\"./signup/pl.js\": [\n\t\t88471,\n\t\t8471\n\t],\n\t\"./signup/pt.js\": [\n\t\t82895,\n\t\t2895\n\t],\n\t\"./signup/ro.js\": [\n\t\t15596,\n\t\t5596\n\t],\n\t\"./signup/sr.js\": [\n\t\t57302,\n\t\t7302\n\t],\n\t\"./signup/sv.js\": [\n\t\t73258,\n\t\t3258\n\t],\n\t\"./signup/sw.js\": [\n\t\t69689,\n\t\t9689\n\t],\n\t\"./signup/tr.js\": [\n\t\t23209,\n\t\t3209\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 16859;\nmodule.exports = webpackAsyncContext;","import { trackEvent } from '@/analytics/track'\nimport { unescape } from 'lodash'\n\nwindow.Agra = window.Agra || {}\nwindow.Agra.trackEvent = trackEvent\n\nwindow.Agra.alertMessageSuccess = function (message) {\n const clientSideAlerts = document.querySelector('.client-side-alerts')\n if (clientSideAlerts) {\n clientSideAlerts.querySelector('.alert').style.display = 'none'\n clientSideAlerts.querySelector('.alert.alert-success > span').innerText = unescape(message)\n clientSideAlerts.querySelector('.alert.alert-success').style.display = 'block'\n }\n}\n\nwindow.Agra.alertMessageDanger = function (message) {\n const clientSideAlerts = document.querySelector('.client-side-alerts')\n if (clientSideAlerts) {\n clientSideAlerts.querySelector('.alert').style.display = 'none'\n clientSideAlerts.querySelector('.alert.alert-danger > span').innerText = unescape(message)\n clientSideAlerts.querySelector('.alert.alert-danger').style.display = 'block'\n }\n}\n","import isEmpty from 'lodash/isEmpty'\n\nexport function trackShareOpen(socialKind, entityType, entitySlug) {\n const trackingEventName = `Opened ${socialKind} Share for ${entityType}`\n let trackingParams = {\n category: 'recommendation',\n action: socialKind,\n name: `${entityType} ${entitySlug}`\n }\n\n if (entitySlug) {\n trackingParams[entityType.toLowerCase()] = entitySlug\n }\n\n trackEvent(trackingEventName, trackingParams)\n}\n\nfunction trackEventWithGoogleAnalytics(event, parameters, identity, windowGlobal) {\n if (windowGlobal.gtag !== undefined) {\n // this is using nifty object spread syntax to map things onto new field names\n // const { key:renamedKey, ...restOfTheKeys } = anObject\n const { action: eventName, ...params } = parameters\n const eventNameWithFallback = eventName || event\n windowGlobal.gtag('event', eventNameWithFallback, paramsForGoogleAnalytics(params))\n }\n}\n\nfunction trackEventWithGtm(event, parameters, identity, windowGlobal) {\n if (windowGlobal.dataLayer !== undefined) {\n const dataLayerEvent = Object.assign(parameters, {event: event})\n if (identity['email'] && windowGlobal.sendEnhancedConversionData) {\n window.memberEmailAddress = identity['email']\n dataLayerEvent.enhanced_conversion_data = {\n email: 'memberEmailAddress'\n }\n }\n windowGlobal.dataLayer.push(dataLayerEvent)\n }\n}\n\nfunction trackEventWithMatomo(event, parameters, identity, windowGlobal) {\n if (windowGlobal._paq !== undefined) {\n windowGlobal._paq.push(['trackEvent', parameters['category'], parameters['action'], parameters['name'], parameters['value']])\n }\n}\n\nfunction trackEventWithSegment(event, parameters, identity, windowGlobal) {\n if (windowGlobal.analytics !== undefined) {\n let segmentContext = identity['anonymousId'] ? {anonymousId: identity['anonymousId']} : {}\n\n if (windowGlobal.optimizely && windowGlobal.optimizely.get) {\n segmentContext['Optimizely'] = {userId: windowGlobal.optimizely.get('visitor').visitorId }\n }\n\n if (!isEmpty(identity)) {\n windowGlobal.analytics.identify(`csl-${ identity['id'] }`, {email: identity['email']}, segmentContext )\n }\n windowGlobal.analytics.track(event, parameters, segmentContext)\n }\n}\n\nconst TRACKING_METHODS_BY_SLUG = {\n google_analytics: trackEventWithGoogleAnalytics,\n google_tag_manager: trackEventWithGtm,\n matomo: trackEventWithMatomo,\n segment: trackEventWithSegment\n}\n\n// we pass the global `window` in separately to assist us in stubbing easily with jest\nexport function trackEvent(event, parameters = {}, identity = {}, windowGlobal = window ) {\n for (let tracker of windowGlobal.Agra.Configuration.sendTrackingEventsTo) {\n TRACKING_METHODS_BY_SLUG[tracker](event, parameters, identity, windowGlobal)\n }\n\n return true\n}\n\nfunction paramsForGoogleAnalytics(params) {\n const { category: event_category, name: event_label, ...restParams } = params\n return {\n event_category,\n event_label,\n ...restParams\n }\n}\n","export const CHART_FORMAT = {\n pointHoverBackgroundColor: '#ffffff',\n pointHoverBorderColor: '#e2e2e2',\n pointHoverBorderWidth: 1,\n borderWidth: 2,\n pointRadius: 0,\n pointHoverRadius: 6,\n pointHitRadius: 10,\n fill: false,\n borderColor: [ '#0f91c2']\n}\n\nexport const DATA_COLORS = [\n '#61a1e7',\n '#ff8f8f',\n '#7086f4',\n '#f0bb70',\n '#d27777',\n '#df71db',\n '#fdd455',\n '#eef270',\n '#b7e762',\n '#a465ed',\n '#7af5a3',\n '#79e7f4'\n]\n\nexport const TYPE_TO_COLOR_MAP = {\n event: 'bg-primary',\n group: 'bg-secondary'\n}\n\nexport const COOKIE_NAME_AGREED_COOKIES = 'agreed_cookies'\n\nexport const MIN_MD_SCREEN_WIDTH = 768\n","import ErrorLogger from '@/error-logger'\nwindow.errorLogger = new ErrorLogger()\n","import { importWithRetry } from '@/utils/component-loader'\n\nexport default class ErrorLogger {\n rollbarLogger = null\n appsignalLogger = null\n\n constructor() {\n const errorReportingConfig = window.Agra.Configuration.errorReporting\n if (errorReportingConfig.rollbar.enabled) {\n importWithRetry(() => import(/* webpackMode: \"lazy\"*/ 'rollbar'))\n .then(module => {\n this.rollbarLogger = new module.default(this.rollbarOptions(errorReportingConfig.rollbar))\n })\n } else if (errorReportingConfig.appsignal.enabled) {\n importWithRetry(() => import(/* webpackMode: \"lazy\"*/ '@appsignal/javascript'))\n .then(module => {\n this.appsignalLogger = new module.default({\n key: errorReportingConfig.appsignal.frontendKey\n })\n })\n }\n }\n\n rollbarOptions(config) {\n return {\n accessToken: config.publicAccessToken,\n autoInstrument: {\n contentSecurityPolicy: true,\n errorOnContentSecurityPolicy: false\n },\n captureUncaught: true,\n captureUnhandledRejections: true,\n captureIp: false,\n enabled: true,\n environment: config.environment,\n ignoredMessages: ['ResizeObserver loop completed with undelivered notifications'],\n payload: {\n client: {\n javascript: {\n source_map_enabled: true,\n guess_uncaught_frames: true\n }\n }\n },\n scrubTelemetryInputs: true\n }\n }\n\n error(message, exception) {\n if (!exception) {\n exception = new Error(message)\n }\n\n if (this.rollbarLogger) {\n this.rollbarLogger.error(message, exception)\n } else if (this.appsignalLogger) {\n this.appsignalLogger.sendError(exception)\n } else {\n // stub implementation for case when neither rollbar or appsignal are loaded. Just logs to the console.\n console.log(`[ERROR] ${message} - ${JSON.stringify(exception)}`)\n }\n }\n}\n\nexport const ErrorLoggerVueInit = {\n install(app) {\n const errorLogger = new ErrorLogger()\n app.config.globalProperties.$errorLogger = errorLogger\n }\n}\n","import { objectKeysToCamelCase } from './transform-object-keys'\nimport { urlWithParams } from './url-params'\n\nconst STATUS_ERROR = 'error'\nconst GET_VERB = 'GET'\nconst POST_VERB = 'POST'\nconst PATCH_VERB = 'PATCH'\nconst PUT_VERB = 'PUT'\nconst DELETE_VERB = 'DELETE'\nconst PARAMS_IN_BODY_METHODS = [POST_VERB, PATCH_VERB, PUT_VERB, DELETE_VERB]\n\nfunction get(options) {\n return ajaxBase({...options, method: GET_VERB})\n}\n\nfunction post(options) {\n return ajaxBase({...options, method: POST_VERB})\n}\n\nfunction patch(options) {\n return ajaxBase({...options, method: PATCH_VERB})\n}\n\nfunction put(options) {\n return ajaxBase({...options, method: PUT_VERB})\n}\n\nconst errorTypes = {\n FETCH_FAILED: 'fetchFailed',\n NOT_OK_HTTP_STATUS: 'nonOkHttpStatus'\n}\n\nasync function ajaxBase({url, params, method, headers, data: requestData, acceptContentType='application/json',\n successHandler, errorHandler = null, throwOnFailure = false, camelCaseResponse = true}) {\n // If we're doing a GET, encode the params in the URL. Otherwise, we'll encode into the request body\n const parameterizedUrl = (method === GET_VERB) ? urlWithParams(url, params || {}) : url\n\n // By default, do not set the `body` parameter. For GET and other methods that do not accept a body,\n // even setting `body: null` can cause errors in some browsers.\n const maybeBody = {}\n\n // by default, communicate with the server via json\n let contentType = 'application/json;charset=UTF-8'\n\n if (PARAMS_IN_BODY_METHODS.includes(method)) {\n if (requestData === undefined) {\n // We need to do send as URL encoded data, since we accept arbitrary params.\n maybeBody.body = new URLSearchParams(params).toString()\n contentType = 'application/x-www-form-urlencoded'\n } else {\n // Need to JSON.stringify the bodyData here or it will be serialized\n // as [object Object] by default\n maybeBody.body = JSON.stringify(requestData)\n }\n }\n\n let response = null\n try {\n response = await fetch(parameterizedUrl, {\n method,\n headers: {\n ...headers,\n ...maybeCsrfToken(),\n 'Accept': acceptContentType,\n 'Content-Type': contentType,\n credentials: 'same-origin'\n },\n ...maybeBody\n })\n } catch (e) {\n if (throwOnFailure) {\n throw e\n } else {\n document.dispatchEvent(new CustomEvent('agra:ajax-error', {detail: {errorType: errorTypes.FETCH_FAILED}}))\n return\n }\n }\n\n // Check that HTTP status is OK\n if (!response.ok) {\n let errorBody\n try {\n errorBody = await response.json()\n } catch {\n // couldn't parse JSON\n errorBody = {error: `Response status was ${response.status}`}\n }\n\n if (throwOnFailure) {\n throw errorBody\n } else {\n document.dispatchEvent(new CustomEvent('agra:ajax-error', {\n detail: {\n errorType: errorTypes.NOT_OK_HTTP_STATUS,\n httpStatusCode: response.status,\n message: errorBody.message\n }\n }))\n return\n }\n }\n\n // Parse the response body\n if (response.status === 204) {\n // No response body to parse. Call the provided success handler function and we're done.\n if (successHandler) {\n successHandler(null)\n }\n return\n }\n\n // Parse body as JSON if that's the expected response\n const jsonRegexContentType = /json/i\n if (jsonRegexContentType.test(acceptContentType)) {\n const jsonResponse = await response.json()\n\n const transformedResponse = camelCaseResponse ? objectKeysToCamelCase(jsonResponse) : jsonResponse\n\n if (Array.isArray(jsonResponse)) {\n // Send the array data to the provided success handler function\n if (successHandler) {\n successHandler(transformedResponse)\n }\n return\n }\n\n // If we get here, we can assume that the JSON data is a hash. Extract common fields from it.\n const { status, message, data, ...rest } = transformedResponse\n\n // If the response has \"status\": \"error\", that's a 'business logic' error that the caller should handle.\n // Send it to the provided error handler function. If we were not provided an error handler function,\n // throw an exception.\n if (status === STATUS_ERROR) {\n if (errorHandler) {\n errorHandler({ message, info: rest })\n return\n } else {\n let error = new Error(message)\n error.info = rest\n throw error\n }\n }\n\n // Send the body, minus the 'status', to the provided success handler function\n if (successHandler) {\n successHandler({ message, data, ...rest })\n }\n } else {\n // Send the body as unparsed text to the provided success handler function\n const bodyText = await response.text()\n if (successHandler) {\n successHandler(bodyText)\n }\n }\n}\n\nfunction maybeCsrfToken() {\n const tokenElement = document.querySelector('meta[name=\"csrf-token\"]')\n if (tokenElement) {\n return {\n 'X-CSRF-Token': tokenElement.getAttribute('content')\n }\n }\n else {\n return {}\n }\n}\n\nexport default {\n get,\n post,\n // We inline the delete method here because `delete` is a JS keyword\n delete: options => {\n return ajaxBase({...options, method: DELETE_VERB})\n },\n put,\n patch,\n\n errorTypes\n}\n","import forEach from 'lodash/forEach' // this works on JS objects in addition to arrays\nimport isPlainObject from 'lodash/isPlainObject'\nimport camelCase from 'lodash/camelCase'\nimport snakeCase from 'lodash/snakeCase'\n\n// Warning: Only for serializable javascript objects without recursive references\n// otherwise will have infinite recursion + stack overflow.\n\nfunction makeObjectTransformer(transformWithFunction) {\n return function transformObjectKeys(sourceObject) {\n let transformedObject = {}\n if (Array.isArray(sourceObject)) {\n transformedObject = []\n }\n\n forEach(\n sourceObject,\n function(value, key) {\n if (isPlainObject(value) || Array.isArray(value)) { // checks that a value is a plain object or an array - for recursive key conversion\n value = transformObjectKeys(value) // recursively update keys of any values that are also objects\n }\n transformedObject[transformWithFunction(key)] = value\n }\n )\n return transformedObject\n }\n}\n\nconst objectKeysToCamelCase = makeObjectTransformer(camelCase)\nconst objectKeysToSnakeCase = makeObjectTransformer(snakeCase)\n\nexport {\n // For a plain JS object or array with snake_case keys,\n // recursively transform the keys to be camelCase instead.\n // Returns the transformed version.\n objectKeysToCamelCase,\n\n // For a plain JS object or array with camelCase keys,\n // recursively transform the keys to be snake_case instead.\n // Returns the transformed version.\n objectKeysToSnakeCase\n}\n","function urlWithParams(baseUrl, searchParamsMap) {\n const urlObj = new URL(baseUrl, window.location.origin)\n const urlSearchParams = urlObj.searchParams\n Object.entries(searchParamsMap).forEach(([k, v]) => {\n const stringValue = typeof v === 'string' ? v : JSON.stringify(v)\n urlSearchParams.append(k, stringValue)\n })\n\n // Deterministic ordering of url params. This is useful for when we check\n // the url with params in tests.\n urlSearchParams.sort()\n return urlObj.toString()\n}\n\nfunction urlParamsWithNamespace(paramsMap, namespace) {\n const newParamsMap = {}\n Object.entries(paramsMap).forEach(([k, v]) => {\n newParamsMap[`${namespace}[${k}]`] = v\n })\n return newParamsMap\n}\n\nexport {\n urlParamsWithNamespace,\n urlWithParams\n}\n","const I18nPlugin = {\n install(app, options) {\n const i18n = options.i18n\n\n app.config.globalProperties.i18n = i18n\n app.config.globalProperties.i18n.formattedCount = (i18nKey, count) => {\n return i18n.t(i18nKey, { count, formatted_count: i18n.toNumber(count, {precision: 0})})\n }\n app.config.globalProperties.translationsLoaded = true\n app.provide('i18n', i18n)\n }\n}\n\nexport default I18nPlugin\n","import I18n from 'i18n-js'\nimport { domReady } from '@/utils/dom-ready'\nimport { importWithRetry } from '@/utils/component-loader'\n\nclass I18nTranslations {\n constructor({translationContext}) {\n this.translationContext = translationContext\n\n if (this.translationsLoaded === undefined) {\n this.translationsLoaded = false\n this.translationsLoading = false\n }\n document.addEventListener('turbolinks:load', this.loadTranslations)\n\n // for pages not using turbolinks, we get document:ready event\n domReady(this.loadTranslations)\n }\n\n isRtl = () => {\n const htmlElement = document.getElementsByTagName('html')[0]\n if (htmlElement && htmlElement.attributes['dir']) {\n return htmlElement.attributes['dir'].value === 'rtl'\n }\n\n return false\n }\n\n loadTranslations = () => {\n // Do not attempt to reload translations if they were already initialized\n if (this.translationsLoaded) {\n // Trigger the event to forward turbolinks:load for other scripts\n document.dispatchEvent(new Event('translations:loaded'))\n return\n }\n\n if (this.translationsLoading) {\n // only allow one attempt at loading translations to be in progress at once.\n return\n }\n\n this.translationsLoading = true\n\n const currentLocale = htmlLang()\n if (!currentLocale) {\n throw 'Couldn\\'t find current locale'\n }\n\n importWithRetry(() => import(/* webpackMode: \"lazy\" */ `../locales/${this.translationContext}/${currentLocale}.js`))\n .then(({default: translations}) => {\n I18n.locale = currentLocale\n I18n.fallbacks = 'default_locale'\n I18n.translations[currentLocale] = translations\n }).then(() => {\n this.translationsLoaded = true\n this.translationsLoading = false\n document.dispatchEvent(new Event('translations:loaded'))\n })\n }\n\n locale() {\n this.translationsLoadedGuard()\n return I18n.locale\n }\n\n translate(scope, options) {\n this.translationsLoadedGuard()\n return I18n.translate(scope, options)\n }\n\n t(scope, options) {\n return this.translate(scope, options)\n }\n\n localize(scope, value, options) {\n this.translationsLoadedGuard()\n return I18n.localize(scope, value, options)\n }\n\n l(scope, value, options) {\n return this.localize(scope, value, options)\n }\n\n pluralize(count, scope, options) {\n this.translationsLoadedGuard()\n return I18n.pluralize(count, scope, options)\n }\n\n p(count, scope, options) {\n this.pluralize(count, scope, options)\n }\n\n toNumber(number, options) {\n this.translationsLoadedGuard()\n return I18n.toNumber(number, options)\n }\n\n strftime(time, string) {\n this.translationsLoadedGuard()\n return I18n.strftime(time, string)\n }\n\n translationsLoadedGuard() {\n if (!this.translationsLoaded) {\n throw 'Translations not loaded yet. Need to wait until translations:loaded before calling this function'\n }\n }\n}\n\nexport const htmlLang = () => document.getElementsByTagName('html')[0].attributes['lang'].value\n\nexport default I18nTranslations\n","import { Modal } from 'bootstrap'\n\n// Make Modal available to .js.erb scripts, which cannot do their own imports\nwindow.Modal = Modal\n","// eslint-disable-next-line no-undef\n__webpack_public_path__ = window.__webpack_public_path__\n","import { Tooltip } from 'bootstrap'\n\nexport function setUpTooltips() {\n document.querySelectorAll('[data-bs-toggle=\"tooltip\"]').forEach((el) => {\n new Tooltip(el)\n })\n}\n","import jQuery from 'jquery'\n\nexport default function addComponentLoader(componentMapping, scriptMapping, storeGetterImport) {\n baseAddComponentLoader(componentMapping, scriptMapping, storeGetterImport, false, null)\n}\n\nexport function addSharedStoreComponentLoader(componentList, scriptMapping, storeGetterImport, storeDataComponentName) {\n baseAddComponentLoader(componentList, scriptMapping, storeGetterImport, true, storeDataComponentName)\n}\n\nexport function importWithRetry(importer, retriesLeft = 3) {\n if (retriesLeft === 0) {\n throw new Error('Failed to load component after 3 retries')\n }\n\n return new Promise((resolve, reject) => {\n importer()\n .then(resolve)\n .catch((error) => {\n console.warn(error, 'Failed to load component, retrying...')\n setTimeout(async () => {\n try {\n // Recursively call the function again, decreasing the retry count\n const result = await importWithRetry(importer, retriesLeft - 1)\n resolve(result) // Resolve the promise with the result from the recursive call\n } catch (err) {\n reject(err) // Reject the promise if the recursive call fails\n }\n }, 500)\n })\n })\n}\n\nasync function sharedStoreHandler(componentMapping, storeGetterImport, storeDataComponentName) {\n // Find all component loaders on the page\n const vueComponentDivs = document.getElementsByClassName('vue-component-loader')\n\n // Filter to just the ones in our componentMapping\n const relevantVueComponentDivs = Array.from(vueComponentDivs).filter(\n (div) => div.dataset.componentName in componentMapping\n )\n\n if (relevantVueComponentDivs.length === 0) {\n // None of the components we're looking for are on the page, so just exit.\n return\n }\n\n // Initialize the store! If storeDataComponentName is specified, that component's data\n // will be used to initialize the store.\n let vuexStore\n const { default: storeOrStoreGetter } = await storeGetterImport()\n if (typeof storeOrStoreGetter === 'function') {\n vuexStore = storeOrStoreGetter(storeDataComponentName)\n } else {\n vuexStore = storeOrStoreGetter\n }\n\n // Initialize each of the components in our mapping that are on the page,\n // hooking them all into the same vuex store.\n for (let div of relevantVueComponentDivs) {\n const componentData = div.dataset\n const componentName = componentData.componentName\n const props = JSON.parse(componentData.props)\n createVueComponent(div, componentMapping[componentName], props, vuexStore)\n }\n}\n\nasync function unorderedHandler(componentMapping, storeGetterImport) {\n const vueComponentDivs = document.getElementsByClassName('vue-component-loader')\n\n for (let div of vueComponentDivs) {\n const componentData = jQuery(div).data()\n const componentName = componentData.componentName\n\n if (componentName in componentMapping) {\n const props = componentData.props ? componentData.props : componentData\n\n // Here, we expect that each component, if it has a store,\n // has a store that is independent from the other components being loaded.\n let vuexStore\n if (storeGetterImport) {\n const { default: storeOrStoreGetter } = await storeGetterImport()\n if (typeof storeOrStoreGetter === 'function') {\n vuexStore = storeOrStoreGetter(componentName)\n } else {\n vuexStore = storeOrStoreGetter\n }\n }\n createVueComponent(div, componentMapping[componentName], props, vuexStore)\n }\n }\n}\n\nfunction createVueComponent(div, definition, props, store) {\n const el = jQuery(div).children('.vue-component').first()[0]\n\n if (!el) {\n // This .vue-component-loader div has no .vue-component child.\n // This probably means it has already been processed, and there's nothing we need to do.\n return\n }\n\n // Transform existing list of classes ['class-a', 'class-b'] from the element into the format:\n // {\n // class-a: true,\n // class-b: true\n // }\n const classes = Object.fromEntries(Array.from(el.classList).map((val) => [val, true]))\n\n window.createRootVueComponent(el, definition, {...props, class: classes}, store)\n}\n\nfunction scriptHandler(scriptMapping) {\n const scriptDivs = document.getElementsByClassName('script-loader')\n\n for (let div of scriptDivs) {\n const scriptData = jQuery(div).data()\n const scriptName = scriptData.scriptName\n if (scriptName in scriptMapping) {\n scriptMapping[scriptName]()\n }\n }\n}\n\nfunction baseAddComponentLoader(componentCollection, scriptMapping, storeGetterImport, sharedStore = false, storeDataComponentName) {\n function handler() {\n if (sharedStore) {\n sharedStoreHandler(componentCollection, storeGetterImport, storeDataComponentName)\n }\n else {\n unorderedHandler(componentCollection, storeGetterImport)\n }\n scriptHandler(scriptMapping)\n }\n\n document.addEventListener('translations:loaded', () => {\n handler()\n })\n\n // The above event will not be fired again for our \"remote\" forms,\n // but we still need the vue component to be re-placed on the page.\n // Therefore, we fire this event for remote forms on update\n // if reloading vue components is needed.\n document.addEventListener('agra:need-vue-components', () => {\n handler()\n })\n}\n","// If the document is ready already, fire the callback immediately, otherwise wait for DOMContentLoaded\nexport function domReady(callback) {\n if (\n document.readyState === 'complete' ||\n (document.readyState !== 'loading' && !document.documentElement.doScroll)\n ) {\n callback()\n } else {\n document.addEventListener('DOMContentLoaded', callback)\n }\n}\n\n","const TYPE_TO_COLOR_INDEX_MAP = {\n event: 0,\n group: 1\n}\n\nexport default {\n install(app) {\n app.config.globalProperties.classFromColorIndex = function(colorIndex, primaryClass, secondaryClass) {\n if (colorIndex === 0) {\n return { [primaryClass]: true}\n }\n return { [secondaryClass]: true }\n }\n\n app.config.globalProperties.colorIndexForType = function(typeName) {\n return TYPE_TO_COLOR_INDEX_MAP[typeName]\n }\n }\n}\n\n","export default {\n install(app) {\n app.config.globalProperties.agraConfiguration = window.Agra.Configuration\n }\n}\n\n","import ClassFromColorIndex from './helpers/class-from-color-index'\nimport AgraConfiguration from './agra-configuration'\nimport { ErrorLoggerVueInit } from '@/error-logger'\n\nconst applyCommonPluginsToVueApp = function(app) {\n app.use(ErrorLoggerVueInit)\n app.use(ClassFromColorIndex)\n app.use(AgraConfiguration)\n}\n\nexport { applyCommonPluginsToVueApp }\n"],"names":["map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports","window","Agra","trackEvent","alertMessageSuccess","message","clientSideAlerts","document","querySelector","style","display","innerText","unescape","alertMessageDanger","trackShareOpen","socialKind","entityType","entitySlug","trackingEventName","trackingParams","category","action","name","toLowerCase","TRACKING_METHODS_BY_SLUG","google_analytics","event","parameters","identity","windowGlobal","undefined","gtag","eventName","params","eventNameWithFallback","event_category","event_label","restParams","paramsForGoogleAnalytics","google_tag_manager","dataLayer","dataLayerEvent","assign","sendEnhancedConversionData","memberEmailAddress","enhanced_conversion_data","email","push","matomo","_paq","segment","analytics","segmentContext","anonymousId","optimizely","get","userId","visitorId","isEmpty","identify","track","tracker","Configuration","sendTrackingEventsTo","CHART_FORMAT","pointHoverBackgroundColor","pointHoverBorderColor","pointHoverBorderWidth","borderWidth","pointRadius","pointHoverRadius","pointHitRadius","fill","borderColor","DATA_COLORS","COOKIE_NAME_AGREED_COOKIES","MIN_MD_SCREEN_WIDTH","errorLogger","ErrorLogger","rollbarLogger","appsignalLogger","constructor","errorReportingConfig","errorReporting","rollbar","enabled","importWithRetry","this","default","rollbarOptions","appsignal","key","frontendKey","config","accessToken","publicAccessToken","autoInstrument","contentSecurityPolicy","errorOnContentSecurityPolicy","captureUncaught","captureUnhandledRejections","captureIp","environment","ignoredMessages","payload","client","javascript","source_map_enabled","guess_uncaught_frames","scrubTelemetryInputs","error","exception","sendError","console","log","JSON","stringify","ErrorLoggerVueInit","install","app","globalProperties","$errorLogger","POST_VERB","PATCH_VERB","DELETE_VERB","PARAMS_IN_BODY_METHODS","errorTypes","FETCH_FAILED","NOT_OK_HTTP_STATUS","async","ajaxBase","url","method","headers","data","requestData","acceptContentType","successHandler","errorHandler","throwOnFailure","camelCaseResponse","parameterizedUrl","urlWithParams","maybeBody","contentType","includes","body","URLSearchParams","toString","response","fetch","maybeCsrfToken","credentials","dispatchEvent","CustomEvent","detail","errorType","ok","errorBody","json","status","httpStatusCode","test","jsonResponse","transformedResponse","objectKeysToCamelCase","Array","isArray","rest","info","bodyText","text","tokenElement","getAttribute","options","post","delete","put","patch","makeObjectTransformer","transformWithFunction","transformObjectKeys","sourceObject","transformedObject","forEach","value","isPlainObject","camelCase","objectKeysToSnakeCase","snakeCase","baseUrl","searchParamsMap","urlObj","URL","location","origin","urlSearchParams","searchParams","entries","k","v","stringValue","append","sort","urlParamsWithNamespace","paramsMap","namespace","newParamsMap","I18nPlugin","i18n","formattedCount","i18nKey","count","t","formatted_count","toNumber","precision","translationsLoaded","provide","htmlLang","getElementsByTagName","attributes","translationContext","translationsLoading","addEventListener","loadTranslations","domReady","isRtl","htmlElement","Event","currentLocale","translations","I18n","locale","translationsLoadedGuard","translate","scope","localize","l","pluralize","p","number","strftime","time","string","Modal","__webpack_public_path__","setUpTooltips","querySelectorAll","el","Tooltip","addComponentLoader","componentMapping","scriptMapping","storeGetterImport","baseAddComponentLoader","addSharedStoreComponentLoader","componentList","storeDataComponentName","importer","retriesLeft","reject","catch","warn","setTimeout","result","err","createVueComponent","div","definition","props","store","jQuery","children","first","classes","fromEntries","from","classList","val","createRootVueComponent","class","componentCollection","sharedStore","handler","vueComponentDivs","getElementsByClassName","relevantVueComponentDivs","filter","dataset","componentName","length","vuexStore","storeOrStoreGetter","componentData","parse","sharedStoreHandler","unorderedHandler","scriptDivs","scriptName","scriptHandler","callback","readyState","documentElement","doScroll","TYPE_TO_COLOR_INDEX_MAP","group","classFromColorIndex","colorIndex","primaryClass","secondaryClass","colorIndexForType","typeName","agraConfiguration","applyCommonPluginsToVueApp","use","ClassFromColorIndex","AgraConfiguration"],"sourceRoot":""}