{"version":3,"file":"sentry.js","mappings":"+5FAOAA,E,SAAAA,I,mFCAe,SAASA,EAAKC,GAC3B,IAIMC,EAAS,CACbC,IALmBC,OAAOC,SAApBC,SACaC,WAAW,QAC5BC,4EAAoBC,4EAItBC,YAAaC,eACbC,aAASC,EACTC,aAAc,CACZ,IAAIC,EAAAA,EACJ,IAAIC,EAAAA,EAAe,CAAEC,OAAQ,CAAC,QAAS,SAAU,aAIrD,GAAIhB,EAAK,CACP,IAAMiB,EAAiB,IAAIC,EAAAA,EAAe,CACxClB,IAAAA,EACAmB,aAAa,IAEflB,EAAOY,aAAaO,OAAO,EAAG,EAAGH,EACnC,CACAI,EAAAA,GAAYpB,EACd,C","sources":["webpack://suicidegirls/./frontend/common/sentry/browser.js","webpack://suicidegirls/./frontend/common/sentry/init.js"],"sourcesContent":["/**\n * Expose the Sentry SDK on the window object for use outside of Vue.\n */\nimport 'core-js';\nimport 'regenerator-runtime/runtime';\nimport init from './init';\n\ninit();\n","import * as Sentry from '@sentry/browser';\nimport {\n  ExtraErrorData,\n  CaptureConsole,\n  Vue as VueIntegration,\n} from '@sentry/integrations';\n\nexport default function init(Vue) {\n  const { hostname } = window.location;\n  const dsn = hostname.startsWith('app.')\n    ? SENTRY_PWA_JS_DSN : SENTRY_MAIN_SITE_JS_DSN;\n\n  const config = {\n    dsn,\n    environment: SENTRY_ENVIRONMENT,\n    release: GIT_COMMIT,\n    integrations: [\n      new ExtraErrorData(),\n      new CaptureConsole({ levels: ['error', 'assert', 'fatal'] }),\n    ],\n  };\n\n  if (Vue) {\n    const vueIntegration = new VueIntegration({\n      Vue,\n      attachProps: true,\n    });\n    config.integrations.splice(0, 1, vueIntegration);\n  }\n  Sentry.init(config);\n}\n"],"names":["init","Vue","config","dsn","window","location","hostname","startsWith","SENTRY_PWA_JS_DSN","SENTRY_MAIN_SITE_JS_DSN","environment","SENTRY_ENVIRONMENT","release","GIT_COMMIT","integrations","ExtraErrorData","CaptureConsole","levels","vueIntegration","VueIntegration","attachProps","splice","Sentry"],"sourceRoot":""}