{"version":3,"sources":["webpack:///./src/views/dashboard/charts/dashboardConfig.js","webpack:///./src/views/layouts/shared-components/DropdownWrapper.vue?5c9e","webpack:///src/views/layouts/shared-components/DropdownWrapper.vue","webpack:///./src/views/layouts/shared-components/DropdownWrapper.vue?aaeb","webpack:///./src/views/layouts/shared-components/DropdownWrapper.vue?97d0","webpack:///./node_modules/core-js/library/fn/object/define-property.js","webpack:///./node_modules/core-js/library/modules/es6.object.define-property.js","webpack:///./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js","webpack:///./src/views/layouts/shared-components/DropdownWrapper.vue?875b","webpack:///./src/views/dashboard/management/ads/AdsManagement.vue?ea34","webpack:///src/views/dashboard/management/ads/AdsManagement.vue","webpack:///./src/views/dashboard/management/ads/AdsManagement.vue?1b2a","webpack:///./src/views/dashboard/management/ads/AdsManagement.vue","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js"],"names":["contactsTimeseries","chartOptions","noData","text","i18n","t","chart","fontFamily","zoom","enabled","type","autoScaleYaxis","dataLabels","stroke","curve","width","grid","yaxis","lines","show","colors","_ref","seriesIndex","w","length","fill","markers","size","hover","xaxis","labels","style","cssClass","format","axisTicks","axisBorder","tooltip","tickAmount","forceNiceScale","fontSize","formatter","val","concat","toFixed","replace","followCursor","shared","x","conversationsByStatus","color","legend","position","onItemClick","toggleDataSeries","lineCap","_ref2","responseTimeHistogram","align","verticalAlign","offsetX","offsetY","rotate","hideOverlappingLabels","values","match","formatted","title","funnel","responsive","maintainAspectRatio","generateSankeyLabels","data","_step","translations","arguments","undefined","fromCounts","toCounts","_iterator","_createForOfIteratorHelper","s","n","done","el","value","hasOwnProperty","from","to","flow","err","e","f","c","verticalFunnel","height","toolbar","plotOptions","bar","horizontal","distributed","columnWidth","barHeight","custom","_ref3","series","dataPointIndex","globals","window","innerWidth","render","_vm","this","_h","$createElement","_c","_self","staticClass","class","customClassname","attrs","fullWidth","_v","_s","dropDownValue","_l","option","key","on","$event","localValue","description","staticRenderFns","props","options","Object","Array","required","hasDescription","Boolean","default","String","checkmarkIcon","border","borderSm","computed","usesArray","get","set","newValue","$emit","isArray","component","$Object","module","exports","it","desc","defineProperty","$export","S","F","baseSlug","$t","name","components","AttributionsTimeseriesCard","$store","state","AppActiveUser","id","getters","currentTeamId","_defineProperty","obj","enumerable","configurable","writable"],"mappings":"0sCAEe,QACbA,mBAAoB,CAClBC,aAAc,CACZC,OAAQ,CACNC,KAAMC,OAAKC,EAAE,8CAEfC,MAAO,CACLC,WAAY,oBACZC,KAAM,CACJC,SAAS,EACTC,KAAM,IACNC,gBAAgB,GAElBD,KAAM,QAERE,WAAY,CACVH,SAAS,GAEXI,OAAQ,CACNC,MAAO,SACPC,MAAO,GAETC,KAAM,CACJC,MAAO,CACLC,MAAO,CACLC,MAAM,KAIZC,OAAQ,CACN,SAAAC,GAA8B,IAAlBC,EAAWD,EAAXC,YACJF,GADkBC,EAADE,EACR,CACb,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,YAIF,OAAOH,EAAOE,EAAcF,EAAOI,UAGvCC,KAAM,CACJf,KAAM,SAERgB,QAAS,CACPC,KAAM,EACNC,MAAO,CACLD,KAAM,IAGVE,MAAO,CACLC,OAAQ,CACNC,MAAO,CACLxB,WAAY,oBACZyB,SAAU,iCAEZC,OAAQ,UAEVC,UAAW,CACTf,MAAM,GAERgB,WAAY,CACVhB,MAAM,GAERT,KAAM,WACN0B,QAAS,CACP3B,SAAS,IAGbQ,MAAO,CACLoB,WAAY,EACZC,gBAAgB,EAChBR,OAAQ,CACNC,MAAO,CACLxB,WAAY,oBACZyB,SAAU,gCACVO,SAAU,QAEZC,UAAS,SAAEC,GACT,OAAOA,EAAM,IAAM,GAAHC,QAAOD,EAAM,KAAME,QAAQ,GAAE,KAAMF,EAAIE,QAAQ,GAAGC,QAAQ,SAAU,OAI1FR,QAAS,CACPS,cAAc,EACdC,QAAQ,EACRC,EAAG,CAAC5B,MAAM,EAAMc,OAAQ,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KAAO,iCAAiC,CAACT,EAAIW,GAAGX,EAAIY,GAAGZ,EAAIoD,GAAG,6BAA6B,QACpd/B,EAAkB,G,YCiBP,GACfgC,KAAA,gBACAC,WAAA,CAAAC,mCACArB,SAAA,CACAiB,SAAA,WACA,mBAAAvH,OAAA,KAAA4H,OAAAC,MAAAC,cAAAC,GAAA,WAAA/H,OAAA,KAAA4H,OAAAI,QAAAC,kBCvBoY,I,YCOhYpB,EAAY,eACd,EACA1C,EACAsB,GACA,EACA,KACA,WACA,MAIa,aAAAoB,E,2CClBf,2DACe,SAASqB,EAAgBC,EAAK/C,EAAK1C,GAYhD,OAXI0C,KAAO+C,EACT,IAAuBA,EAAK/C,EAAK,CAC/B1C,MAAOA,EACP0F,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZH,EAAI/C,GAAO1C,EAGNyF","file":"js/chunk-a86dbf14.4802fa7e.js","sourcesContent":["import i18n from '@/config/i18n/i18n'\n\nexport default {\n contactsTimeseries: {\n chartOptions: {\n noData: {\n text: i18n.t('dashboardConfig.contactsTimeseries.noData')\n },\n chart: {\n fontFamily: 'Inter, sans-serif',\n zoom: {\n enabled: true,\n type: 'x',\n autoScaleYaxis: false\n },\n type: 'line'\n },\n dataLabels: {\n enabled: false\n },\n stroke: {\n curve: 'smooth',\n width: 3\n },\n grid: {\n yaxis: {\n lines: {\n show: true\n }\n }\n },\n colors: [\n function ({ seriesIndex, w }) {\n const colors = [\n '#6774E4', // $chart-blue\n '#76BD22', // $chart-green\n '#00D7AD', // $chart-mint\n '#0BB4FE', // $chart-sky\n '#9C8EF4', // $chart-purple\n '#11AAA1', // $chart-sea-green\n '#E9Ecfb', // $chart-light-blue\n '#D5EBBA', // $chart-light-green\n '#99EFDE', // $chart-mint-light\n '#C8F2FF', // $chart-sky-light\n '#E6E1Fe', // $chart-purple-light\n '#D3EEED' // $sea-green-light\n ]\n\n // Use modulo to loop back to the start of the colors array when seriesIndex exceeds its length\n return colors[seriesIndex % colors.length]\n }\n ],\n fill: {\n type: 'solid'\n },\n markers: { // the actual dots on the line chart\n size: 3,\n hover: {\n size: 5\n }\n },\n xaxis: {\n labels: {\n style: {\n fontFamily: 'Inter, sans-serif',\n cssClass: 'text-light-color fill-current'\n },\n format: 'MMM dd'\n },\n axisTicks: {\n show: false\n },\n axisBorder: {\n show: false\n },\n type: 'datetime',\n tooltip: { // on-hover tooltip displaying the month\n enabled: false\n }\n },\n yaxis: {\n tickAmount: 5,\n forceNiceScale: true,\n labels: {\n style: {\n fontFamily: 'Inter, sans-serif',\n cssClass: 'text-light-color fill-current',\n fontSize: '12px'\n },\n formatter (val) {\n return val > 999 ? `${(val / 1000).toFixed(1)}k` : val.toFixed(1).replace(/[.,]0$/, '')\n }\n }\n },\n tooltip: {\n followCursor: true,\n shared: false,\n x: {show: true, format: 'MMM dd yyyy'}\n }\n }\n },\n conversationsByStatus: {\n chartOptions: {\n noData: {\n text: i18n.t('dashboardConfig.conversationsByStatus.noData'),\n style: {\n color: '#262626',\n fontSize: '14px',\n fontFamily: 'Inter, sans-serif'\n }\n },\n dataLabels: {\n enabled: false\n },\n legend: {\n show: true,\n position: 'right',\n onItemClick: {\n toggleDataSeries: true\n },\n fontSize: '14px'\n },\n chart: {\n fontFamily: 'Inter, sans-serif',\n type: 'donut'\n },\n stroke: {\n width: 3,\n lineCap: 'round' // recommended way to do it, doesn't work\n },\n colors: [\n function ({ seriesIndex, w }) {\n const colors = [\n '#6774E4', '#76BD22', '#00D7AD', '#0BB4FE', '#9C8EF4', '#11AAA1',\n '#E9Ecfb', '#D5EBBA', '#99EFDE', '#C8F2FF', '#E6E1Fe', '#D3EEED'\n ]\n return colors[seriesIndex % colors.length]\n }\n ]\n }\n },\n responseTimeHistogram: {\n chartOptions: {\n chart: {\n fontFamily: 'Inter, sans-serif',\n zoom: {\n enabled: false\n }\n },\n dataLabels: {\n enabled: false\n },\n noData: {\n text: i18n.t('dashboardConfig.responseTimeHistogram.noData'),\n align: 'center',\n verticalAlign: 'middle',\n offsetX: 0,\n offsetY: 0,\n style: {\n fontSize: '14px',\n fontFamily: 'Inter, sans-serif'\n }\n },\n legend: {\n show: true\n },\n markers: {\n size: 3,\n hover: {\n size: 5\n }\n },\n xaxis: {\n labels: {\n rotate: -30,\n style: {\n cssClass: 'text-medium-color fill-current mr-5'\n },\n hideOverlappingLabels: true,\n formatter (val) {\n if (typeof val === 'string') {\n const values = val.match(/^(\\d+ days*, )?0*([1-9]*|[1-9][0-9]):0*([1-9]*|[1-9][0-9]):0*([1-9]*|[1-9][0-9])$/)\n if (values) {\n let formatted = ''\n if (values[1]) {\n formatted += values[1]\n }\n if (values[2]) {\n formatted += `${values[2]} hrs `\n }\n if (values[3]) {\n formatted += `${values[3]} min `\n }\n if (values[4]) {\n formatted += `${values[4]} sec `\n }\n if (formatted === '') {\n formatted = '0 sec'\n }\n formatted.replace(/, $/, '')\n return formatted\n }\n }\n return val\n }\n },\n axisTicks: {\n show: false\n },\n axisBorder: {\n show: false\n }\n },\n yaxis: {\n title: {\n text: i18n.t('dashboardConfig.funnel.noData'),\n style: {\n cssClass: 'text-medium-color fill-current'\n }\n },\n tickAmount: 5,\n forceNiceScale: true,\n labels: {\n style: {\n cssClass: 'text-medium-color fill-current'\n },\n formatter (val) {\n return val > 999 ? `${(val / 1000).toFixed(1)}k` : val\n }\n }\n }\n }\n },\n funnel: {\n chartOptions: {\n responsive: true,\n maintainAspectRatio: false\n },\n generateSankeyLabels (data, translations = {}) {\n const fromCounts = {}\n const toCounts = {}\n const labels = {}\n // Start with 'from'\n for (const el of data) {\n if (!fromCounts.hasOwnProperty(el.from)) {\n fromCounts[el.from] = 0\n }\n if (!toCounts.hasOwnProperty(el.to)) {\n toCounts[el.to] = 0\n }\n fromCounts[el.from] += el.flow\n toCounts[el.to] += el.flow\n }\n // Turn counts to translated labels\n for (const c in fromCounts) {\n if (translations.hasOwnProperty(c)) {\n labels[c] = `${translations[c]} (${fromCounts[c]})`\n } else {\n labels[c] = `${c} (${fromCounts[c]})`\n }\n }\n for (const c in toCounts) {\n if (labels.hasOwnProperty(c)) {\n continue\n }\n if (translations.hasOwnProperty(c)) {\n labels[c] = `${translations[c]} (${toCounts[c]})`\n } else {\n labels[c] = `${c} (${toCounts[c]})`\n }\n }\n return labels\n }\n },\n verticalFunnel: {\n chartOptions: {\n chart: {\n type: 'rangeBar',\n height: 200,\n toolbar: {\n show: false\n }\n },\n colors: [\n '#6774E4',\n '#76BD22',\n '#00D7AD',\n '#0BB4FE',\n '#9C8EF4',\n '#11AAA1'\n ],\n noData: {\n text: 'No data for this interval.'\n },\n plotOptions: {\n bar: {\n horizontal: true,\n distributed: true,\n columnWidth: '100%',\n barHeight: '100%'\n }\n },\n dataLabels: {\n enabled: true\n },\n tooltip: {\n followCursor: true,\n custom ({series, seriesIndex, dataPointIndex, w}) {\n return `