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,UAAW,KACX,OAAQ,KACR,UAAW,KACX,OAAQ,KACR,UAAW,KACX,OAAQ,KACR,UAAW,KACX,OAAQ,KACR,UAAW,KACX,OAAQ,KACR,YAAa,KACb,eAAgB,KAChB,UAAW,KACX,OAAQ,IACR,UAAW,IACX,OAAQ,KACR,UAAW,KACX,OAAQ,IACR,UAAW,IACX,OAAQ,KACR,UAAW,KACX,OAAQ,KACR,UAAW,KACX,QAAS,KACT,WAAY,KACZ,OAAQ,KACR,UAAW,KACX,OAAQ,KACR,UAAW,KACX,OAAQ,KACR,UAAW,KACX,UAAW,KACX,aAAc,KACd,QAAS,KACT,WAAY,KACZ,OAAQ,KACR,UAAW,KACX,QAAS,KACT,WAAY,KACZ,QAAS,KACT,aAAc,KACd,gBAAiB,KACjB,WAAY,KACZ,UAAW,KACX,aAAc,KACd,OAAQ,KACR,UAAW,KACX,OAAQ,IACR,UAAW,IACX,OAAQ,KACR,YAAa,KACb,eAAgB,KAChB,UAAW,KACX,OAAQ,KACR,UAAW,KACX,aAAc,KACd,gBAAiB,KACjB,OAAQ,KACR,UAAW,KACX,UAAW,KACX,aAAc,KACd,UAAW,KACX,aAAc,KACd,UAAW,KACX,aAAc,KACd,UAAW,IACX,aAAc,KAIf,SAASC,EAAeC,GACvB,IAAIC,EAAKC,EAAsBF,GAC/B,OAAOG,EAAoBF,EAC5B,CACA,SAASC,EAAsBF,GAC9B,IAAIG,EAAoBC,EAAEN,EAAKE,GAAM,CACpC,IAAIK,EAAI,IAAIC,MAAM,uBAAyBN,EAAM,KAEjD,MADAK,EAAEE,KAAO,mBACHF,CACP,CACA,OAAOP,EAAIE,EACZ,CACAD,EAAeS,KAAO,WACrB,OAAOC,OAAOD,KAAKV,EACpB,EACAC,EAAeW,QAAUR,EACzBS,EAAOC,QAAUb,EACjBA,EAAeE,GAAK,I","sources":["webpack://app/./app/javascript/images/ sync ^\\.\\/.*$","webpack://app/./app/javascript/channels/consumer.js","webpack://app/./app/javascript/channels/report_notification_channel.js","webpack://app/./app/javascript/src/analytics.js","webpack://app/./app/javascript/src/dashboard.js","webpack://app/./app/javascript/src/modal.js","webpack://app/./app/javascript/src/paid.js","webpack://app/./app/javascript/src/profiles.js","webpack://app/./app/javascript/src/reports.js","webpack://app/./app/javascript/src/social.js","webpack://app/./app/javascript/src/utility.js","webpack://app/./app/javascript/src/document_binders.js","webpack://app/./app/javascript/packs/application.js","webpack://app/./app/javascript/src/charts.js","webpack://app/./app/javascript/src/rich_text_editor.js","webpack://app/./node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["var map = {\n\t\"./admin_facebook.svg\": 3836,\n\t\"./admin_facebook_ads.svg\": 6735,\n\t\"./admin_facebook_pixels.svg\": 1040,\n\t\"./admin_gbp.svg\": 4437,\n\t\"./admin_google_ads.svg\": 4518,\n\t\"./admin_google_analytics.svg\": 8896,\n\t\"./admin_ig_stories.svg\": 3202,\n\t\"./admin_instagram.svg\": 1852,\n\t\"./arrow-white.png\": 3764,\n\t\"./content-request-icon.png\": 1384,\n\t\"./delete-icon-black.svg\": 7291,\n\t\"./delete-icon-white.svg\": 3281,\n\t\"./delete-icon.png\": 8866,\n\t\"./favicon.svg\": 3240,\n\t\"./fb-bw-icon.png\": 8533,\n\t\"./fb.png\": 63,\n\t\"./gbp-bw-icon.png\": 8944,\n\t\"./google-bw-icon.png\": 8592,\n\t\"./google.png\": 1522,\n\t\"./google_grey.png\": 3214,\n\t\"./insta-bw-icon.png\": 1612,\n\t\"./insta.png\": 2630,\n\t\"./loading-v2.gif\": 4137,\n\t\"./login-dashboard-animation.gif\": 6501,\n\t\"./package_logo_placeholder.png\": 4699,\n\t\"./paid-header-block-google-ads-icon.png\": 5454,\n\t\"./paid-header-block-meta-icon.png\": 5699,\n\t\"./photo_placeholder.jpg\": 4357,\n\t\"./placeholders/album.png\": 9221,\n\t\"./placeholders/digital_ads_placeholder.svg\": 2734,\n\t\"./placeholders/link.png\": 5902,\n\t\"./placeholders/other.png\": 1862,\n\t\"./placeholders/photo.png\": 6844,\n\t\"./placeholders/update.png\": 493,\n\t\"./placeholders/video.png\": 5841,\n\t\"./powred-by.png\": 640,\n\t\"./powred-by.svg\": 2783,\n\t\"./reports/brand.svg\": 891,\n\t\"./reports/facebook.svg\": 8368,\n\t\"./reports/footer-graphics.svg\": 1513,\n\t\"./reports/google-ads.png\": 9467,\n\t\"./reports/google.svg\": 6313,\n\t\"./reports/icon-white.svg\": 1959,\n\t\"./reports/instagram.svg\": 1704,\n\t\"./reports/meta.svg\": 1267,\n\t\"./reports/pdf-cover-graphics.svg\": 518,\n\t\"./request-block-content.png\": 5136,\n\t\"./request-block-portfolio.png\": 143,\n\t\"./sk-dashboard-modal-logo.svg\": 6259,\n\t\"./sk-icon-sprite.png\": 4225,\n\t\"./sk-logo.svg\": 930,\n\t\"./svg-sprite.svg\": 2016\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 6190;","// Action Cable provides the framework to deal with WebSockets in Rails.\n// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.\n\nimport { createConsumer } from \"@rails/actioncable\"\n\nexport default createConsumer()\n","import consumer from \"./consumer\";\n\nconsumer.subscriptions.create({ channel: \"ReportNotificationChannel\" }, {\n // Called when the subscription is ready for use on the server.\n connected: function(message) {\n console.log(\"connected Notification channel\")\n },\n disconnected: function(message) {\n console.log(\"disconnected\")\n },\n received: function (data) {\n if(parseInt(document.getElementById('channel-identifier').dataset.id) != data.user_id){\n return;\n }\n\n if (data.download_url) {\n let grabLink = document.getElementsByClassName(`report-${data.report_id}`)[0];\n if(grabLink){\n grabLink.setAttribute('href', `/reports/${data.report_id}/download`);\n grabLink.removeAttribute('data-remote');\n grabLink.classList.remove('generating');\n grabLink.classList.remove('in-progress');\n }\n \n // always download the report\n const link = document.createElement(\"a\");\n link.href = `/reports/${data.report_id}/download`;\n link.download = \"\";\n link.style.display = \"none\";\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n } else {\n console.error(\"No download URL found in the received data\");\n }\n }\n})\n","const Analytics = {\n handleLineCharts(event){\n $('.line-chart-link.active').removeClass('active');\n \n const link = $(event.currentTarget);\n $(link).addClass('active');\n let keys = $('#analytics-line-chart').data('keys'); \n let dataset = $('#analytics-line-chart').data('val');\n \n let sectionData, chartColor;\n let multiLine = false;\n \n if($('.chart-handler a.active').length == 2){\n sectionData = dataset.total;\n multiLine = true;\n } else {\n let activeLink = $('.chart-handler a.active').first();\n \n if(activeLink.length) {\n if (activeLink.hasClass('sk')){\n sectionData = dataset.sk;\n chartColor = Charts.chartColors.red;\n } else if (activeLink.hasClass('total')){\n sectionData = dataset.total;\n chartColor = Charts.chartColors.blue;\n }\n } else {\n let empty_data = { count: 0, growth: 0, chart_data: {}};\n sectionData = {'users': empty_data, 'new_users': empty_data, 'sessions': empty_data, 'conversions': empty_data};\n }\n }\n \n // set all the counts and growths\n $(keys).each((i, key) => {\n let val = sectionData[key];\n let growthClass = 'up'\n if(parseFloat(val.growth) < 0){\n growthClass = 'down'\n }\n if(parseInt(val.growth) != 0){\n $(`.${key} .growth`).html(`\n ${val.growth}\n `);\n } else {\n $(`.${key} .growth`).html(val.growth);\n }\n $(`.${key} h2`).text(parseFloat(val.count) != 0 ? val.count : '-');\n });\n \n const cloned_element = $('#line-chart').clone();\n $('#line-chart').replaceWith(cloned_element);\n let linkKey = link.data('key');\n if(multiLine) {\n Charts.multiLineChart('line-chart', [dataset.sk[linkKey].chart_data, dataset.total[linkKey].chart_data]);\n } else {\n Charts.lineChart('line-chart', sectionData[linkKey].chart_data, chartColor);\n }\n \n $('.analytics-content_tabs_wrapper').removeClass().addClass(`analytics-content_tabs_wrapper active-tab-${linkKey}`);\n }\n}\n\nexport default Analytics;\n","import { Modal } from \"../packs/application\";\n\nconst Dashboard = {\n showStaticModal(element_id, modal_class){\n Modal.close();\n\n const element = document.getElementById(element_id);\n const content = element.innerHTML;\n element.remove();\n\n if(modal_class){\n modal_class = `welcome-modal ${modal_class}`;\n } else {\n modal_class = 'welcome-modal';\n }\n\n Modal.showModal('', content, modal_class);\n setTimeout(function(){\n $('.accept-tos').on('click', function(){\n Modal.close();\n })\n }, 200);\n }\n};\n\nexport default Dashboard;\n","import RichTextEditor from \"./rich_text_editor\";\n\nconst Modal = {\n modalHeader(title){\n return `
\n

${title}

\n \n
`;\n },\n\n showRemoteModal(url, title, modal_class, modal_width){\n const header = '';\n title = title || '';\n modal_class = modal_class || '';\n Modal.close();\n const modal_content = $(`\n
\n
\n
\n ${Modal.modalHeader(title)}\n
\n
\n
\n
`\n );\n\n modal_content.modal('show');\n\n if (modal_width) {\n modal_content.find('.modal-dialog').css({ 'max-width': modal_width + 'px'});\n }\n\n modal_content.find('.modal-body').load(url, ()=>{\n modal_content.find('form').on('ajax:success', ()=>{\n Modal.close()\n });\n });\n\n modal_content\n .on('hidden.bs.modal', () => {\n tinymce. remove();\n modal_content.remove();\n }).on('shown.bs.modal', () => {\n $('.modal-body form').prepend(\"
\");\n $('.modal-body .selectpicker').selectpicker({ size: 10 });\n RichTextEditor.init()\n });\n },\n\n showModal(title, content, modal_class){\n const modal_content = $(`\n
\n
\n
\n ${title ? Modal.modalHeader(title) : ''}\n
\n
\n
\n
`\n );\n\n modal_content.find('.modal-body').html(content);\n modal_content.modal('show');\n\n modal_content.on('hidden.bs.modal', () => {\n modal_content.remove();\n });\n },\n\n // open an iframe for the video\n showVideoModal(title, video_url){\n const modal_content = $(`\n
\n
\n
${Modal.modalHeader(title)}\n
\n
\n
\n
`\n );\n\n modal_content.find('.modal-body').html(``);\n modal_content.modal('show');\n modal_content.on('hidden.bs.modal', () => {\n modal_content.remove();\n });\n },\n\n close() {\n $('.modal').modal('hide');\n }\n};\n\nexport default Modal;\n","const Paid = {\n handleLineCharts(event){\n let keys = $('#paid-ads-charts').data('keys'); \n let dataset = $('#paid-ads-charts').data('val');\n\n $('.line-chart-link.active').removeClass('active');\n \n const link = $(event.currentTarget);\n $(link).addClass('active');\n // replace the meta and google csv download links\n // $('.paid-nav-links_item.meta').attr('href', $('.paid-nav-links_item.meta').data('url').replace('metric', link.data('key')));\n // $('.paid-nav-links_item.google').attr('href', $('.paid-nav-links_item.google').data('url').replace('metric', link.data('key')));\n\n let sectionData, chartColor;\n let multiLine = false;\n \n if($('.paid-chart-handler.active').length == 2){\n sectionData = dataset.combined;\n multiLine = true;\n } else {\n let activeLink = $('.paid-chart-handler.active').first();\n \n if(activeLink.length) {\n if (activeLink.hasClass('meta')){\n sectionData = dataset.meta;\n chartColor = Charts.chartColors.blue;\n } else if (activeLink.hasClass('google')){\n sectionData = dataset.google;\n chartColor = Charts.chartColors.google;\n }\n } else {\n let empty_data = { count: 0, growth: 0, chart_data: {}};\n sectionData = {}\n $.each(keys, (i, key) => {\n sectionData[key] = empty_data\n });\n }\n }\n\n // set all the counts and growths\n $(keys).each((i, key) => {\n let val = sectionData[key];\n let growthClass = 'up'\n if(parseFloat(val.growth) < 0){\n growthClass = 'down'\n }\n if(parseInt(val.growth) != 0){\n $(`.${key} .growth`).html(`\n ${val.growth}\n `);\n } else {\n $(`.${key} .growth`).html(val.growth);\n }\n \n let count = val.count;\n if(parseFloat(count) == 0 || count == '$0' || count == '0%'){\n count = '-';\n }\n $(`.${key} h2`).text(count);\n });\n \n const cloned_element = $('#line-chart').clone();\n $('#line-chart').replaceWith(cloned_element);\n $('.industry-avg').html('')\n\n let linkKey = link.data('key');\n if(multiLine) {\n let chartColors = [Charts.chartColors.blue, Charts.chartColors.google];\n Charts.multiLineChart('line-chart', [dataset.meta[linkKey].chart_data, dataset.google[linkKey].chart_data], chartColors);\n let industryAvg = dataset.meta[linkKey].industry_avg; \n if(industryAvg){\n $('.industry-avg').html(`${industryAvg.label} ${industryAvg.value}`);\n }\n } else {\n Charts.lineChart('line-chart', sectionData[linkKey].chart_data, chartColor);\n let industryAvg = sectionData[linkKey].industry_avg; \n if(industryAvg){\n $('.industry-avg').html(`${industryAvg.label} ${industryAvg.value}`);\n }\n }\n $('.paid-content_tabs_wrapper').removeClass().addClass(`paid-content_tabs_wrapper active-tab-${linkKey}`);\n }\n}\n\nexport default Paid;\n","const Profile = {\n handleScroll(){\n const scroll_content = $('#alacarte-packages .property-cards');\n Profile.scroll_width = Profile.scroll_width || $('.alacarte-packages-content')[0].scrollWidth;\n Profile.window_width = Profile.window_width || $('.alacarte-packages-content')[0].offsetWidth;\n Profile.initial_margin = Profile.initial_margin || Math.abs(parseInt(scroll_content.css('margin-left')));\n Profile.shifts = Profile.shifts || [];\n\n let card_width = $('#alacarte-packages .card').first().width() * 3; // 2 cards at a time\n let shift_size = Profile.scroll_width - (Profile.window_width + Math.abs(parseInt(scroll_content.css('margin-left'))));\n\n if(!Profile.scroll_reverse){\n let margin_left = (Math.min(card_width, shift_size) + Profile.initial_margin);\n Profile.shifts.push(margin_left);\n\n scroll_content.animate({\n marginLeft: ('-=' + margin_left + 'px')\n }, 500, () => {\n shift_size = Profile.scroll_width - (Profile.window_width + Math.abs(parseInt(scroll_content.css('margin-left'))));\n\n if (shift_size <= 0){\n Profile.scroll_reverse = true;\n Profile.shifts = Profile.shifts.reverse();\n $('.alacarte-packages-scroll-handler').addClass('prev');\n }\n });\n } else {\n scroll_content.animate({\n marginLeft: ('+=' + Profile.shifts.pop() + 'px')\n }, 500, () => {\n if (Profile.shifts.length == 0){\n Profile.scroll_reverse = false;\n $('.alacarte-packages-scroll-handler').removeClass('prev');\n }\n });\n }\n }\n}\n\nexport default Profile;\n","const Reports = {\n toggleContent(target) {\n if(target.dataset.reportType){\n $('#report_report_type').val(target.dataset.reportType);\n }\n $(target.dataset.target).toggleClass(target.dataset.class);\n },\n\n toggleSaveContent(target) {\n $(target.dataset.target).toggleClass(target.dataset.class);\n }\n}\n\nexport default Reports;\n","const Social = {\n handleLocalPackageCharts(event){\n $('.line-chart-link.active').removeClass('active');\n \n const link = $(event.currentTarget);\n $(link).addClass('active');\n let keys = $('#local-package').data('keys'); \n let dataset = $('#local-package').data('val');\n \n let sectionData, chartColor;\n let multiLine = false;\n $('.engagement-rate-total, .engagement-rate-fb, .engagement-rate-insta').removeClass('visible');\n\n if($('.chart-handler a.active').length == 2){\n sectionData = dataset.combined;\n multiLine = true;\n $('.engagement-rate-total').addClass('visible');\n } else {\n let activeLink = $('.chart-handler a.active').first();\n \n if(activeLink.length) {\n if (activeLink.hasClass('insta')){\n sectionData = dataset.insta;\n chartColor = Charts.chartColors.red;\n $('.engagement-rate-insta').addClass('visible');\n } else if (activeLink.hasClass('fb')){\n sectionData = dataset.fb;\n chartColor = Charts.chartColors.blue;\n $('.engagement-rate-fb').addClass('visible');\n }\n } else {\n let empty_data = { count: 0, growth: 0, chart_data: {}};\n sectionData = {'impressions': empty_data, 'engagement': empty_data, 'reach': empty_data, 'followers': empty_data};\n }\n }\n \n // set all the counts and growths\n $(keys).each((i, key) => {\n let val = sectionData[key];\n let growthClass = 'up'\n \n if(val.growth){\n if(parseFloat(val.growth) < 0){\n growthClass = 'down'\n }\n if(parseInt(val.growth) != 0){\n $(`.${key} .growth`).html(`\n ${val.growth}\n `);\n } else {\n $(`.${key} .growth`).html(val.growth);\n }\n }\n \n $(`.${key} h2`).text(parseFloat(val.count) != 0 ? val.count : '-');\n });\n \n const cloned_element = $('#line-chart').clone();\n $('#line-chart').replaceWith(cloned_element);\n let linkKey = link.data('key');\n let followers = link.data('followers');\n if(multiLine) {\n Charts.multiLineChart('line-chart', [dataset.insta[linkKey].chart_data, dataset.fb[linkKey].chart_data], null, followers);\n } else {\n Charts.lineChart('line-chart', sectionData[linkKey].chart_data, chartColor, followers);\n }\n $('.social-content_tabs_wrapper').removeClass().addClass(`social-content_tabs_wrapper active-tab-${linkKey}`);\n }\n}\n\nexport default Social;\n","// Common javascript to entire site should come here\n// This is highly encouraged to move page specific javascript to specific files\n\nimport moment from 'moment';\n\nconst Utility = {\n // http://www.daterangepicker.com\n initDateRangePicker(startDate, endDate) {\n let timeframe = $('body').data('timeframe');\n const yesterday = moment().subtract(1, 'days');\n const start = moment().subtract(timeframe, 'days');\n\n // callback of apply\n function dateSelectCB(start, end) {\n Utility.showLoading();\n let baseUrl = $('#reportrange').data('base-url');\n window.location.href = `${baseUrl}?from=${start.format('YYYYMMDD')}&to=${end.format('YYYYMMDD')}`;\n }\n\n const options = {\n startDate: startDate,\n endDate: endDate,\n yesterday: yesterday,\n callback: dateSelectCB,\n minDate: start\n }\n\n Utility.initDateRangeHandler('#reportrange', options);\n },\n\n initReportDateRangerPicker(startDate, endDate) {\n let timeframe = $('body').data('timeframe');\n const yesterday = moment().subtract(1, 'days');\n const start = moment().subtract(timeframe, 'days');\n const minDate = start;\n\n // callback of apply\n function dateSelectCB(start, end) {\n $('#report_date_start').val(start.format('YYYY-MM-DD'));\n $('#selectFrom').val(start.format('MM/DD/YY'));\n\n $('#report_date_end').val(end.format('YYYY-MM-DD'));\n $('#selectTo').val(end.format('MM/DD/YY'));\n }\n\n var options = {\n startDate: startDate,\n endDate: endDate,\n yesterday: yesterday,\n callback: dateSelectCB,\n minDate: minDate\n }\n\n Utility.initDateRangeHandler('#reportrange', options);\n },\n\n initDateRangerPicker(el_id) {\n // callback of apply\n function dateSelectCB(start, end) {\n $('#date_start').val(start.format('YYYY-MM-DD'));\n $('#selectFrom').val(start.format('MM/DD/YY'));\n\n $('#date_end').val(end.format('YYYY-MM-DD'));\n $('#selectTo').val(end.format('MM/DD/YY'));\n }\n Utility.initDateRangeHandler(el_id, { callback: dateSelectCB });\n },\n\n initDateRangeHandler(element_id, options){\n let timeframe = $('body').data('timeframe');\n $(element_id).daterangepicker({\n startDate: options.startDate,\n endDate: options.endDate,\n maxDate: options.yesterday,\n minDate: options.minDate,\n opens: 'left',\n autoApply: false,\n autoUpdateInput: false,\n alwaysShowCalendars: true,\n maxSpan: {\n days: timeframe\n },\n ranges: {\n 'Yesterday': [options.yesterday, options.yesterday],\n 'Last 7 Days': [moment().subtract(7, 'days'), options.yesterday],\n 'Last 30 Days': [moment().subtract(30, 'days'), options.yesterday],\n 'This Month': [moment().startOf('month'), options.yesterday],\n 'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]\n }\n }, options.callback);\n\n // check if text of the selector text is being modified\n // $('.drp-selected').on('DOMSubtreeModified',() => {\n // if($('.drp-selected').text().length && !$('.drp-selected span').length){\n // let dates = $('.drp-selected').text().split('-');\n // let startDate = moment(dates[0], 'MM/DD/YYYY');\n // let endDate = moment(dates[1], 'MM/DD/YYYY');\n // let diffDays = endDate.diff(startDate, 'days') + 1;\n // diffDays = diffDays + (diffDays > 1 ? ' days' : ' day');\n\n // $('.drp-selected').html(`Selected: ${startDate.format('MM/DD/YY')} to ${endDate.format('MM/DD/YY')} (${diffDays})`);\n // }\n // });\n },\n\n setChartHeight(){\n var height = window.innerHeight - ($('.navbar-dashboard').height() + $('.sk-main-container_header').height() + $('.sk-dashboard-card-container').height());\n $('.sk-dashboard-info-container').css('height', (height - 50) + 'px');\n },\n\n showLoading(options){\n if (options && options.property_id){\n localStorage.setItem('liveSync', options.property_id);\n }\n\n Utility.loadingTimeout = setTimeout(() => {\n $('.loading-wrapper').show();\n }, 500);\n },\n\n hideLoading(options){\n if (options && options.forced){\n localStorage.removeItem('liveSync');;\n }\n\n if(!localStorage.getItem('liveSync')) {\n clearTimeout(Utility.loadingTimeout);\n $('.loading-wrapper').hide();\n }\n },\n\n showFlashError(msg){\n var el_id = '.flash.alert';\n\n if(msg){\n if(!$(el_id).length){\n $(document.body).append('

');\n }\n\n $(el_id).html(msg);\n }\n\n if($(el_id).length){\n setTimeout(() => {\n $(el_id).slideDown();\n }, 200);\n\n setTimeout(() => {\n $(el_id).slideUp();\n }, 10000);\n }\n },\n\n showFlashNotice(msg){\n var el_id = '.flash.alert';\n\n if(msg){\n if(!$(el_id).length){\n $(document.body).append('

');\n }\n\n $(el_id).html(msg);\n }\n\n if($(el_id).length){\n setTimeout(() => {\n $(el_id).slideDown();\n }, 200);\n\n setTimeout(() => {\n $(el_id).slideUp();\n }, 5000);\n }\n },\n\n progressBar(element, percentage){\n let bar1 = new ldBar(`#${element}`);\n let bar2 = document.getElementById(element).ldBar;\n bar1.set(percentage);\n },\n\n highlightNav(){\n let current_path = window.location.pathname;\n $('.main-container_left-panel li').removeClass('active');\n\n $('.main-container_left-panel a').each((i, link) => {\n if($(link).attr('href').split('?')[0] == current_path){\n $(link).parents('li').addClass('active');\n }\n });\n },\n\n setImageHeights(){\n let el = $(`.set-image-height`);\n\n if(el.data('height')){\n setTimeout(() => {\n el.find('img').css({ height: el.first().height() + 'px'});\n el.find('img').fadeIn();\n }, 1000);\n } else {\n el.find('img').css({ height: el.first().width() + 'px'});\n }\n },\n\n showCardProgress(){\n let $ppc = $('.progress-pie-chart'),\n percent = parseInt($ppc.data('percent')),\n deg = 360*percent/100;\n\n if (percent > 50) {\n $ppc.addClass('gt-50');\n }\n\n $('.ppc-progress-fill').css('transform',`rotate(${deg}deg)`);\n $('.ppc-percents span').html(`${percent}%`);\n },\n\n // Some of the instagram or instagram post images are often broken due to expired signature\n // in case of image error, refetch them\n checkBrokenPostImages(){\n $('.check-broken').on('error', (event) => {\n let img = $(event.currentTarget);\n let id = img.data('id');\n let post_type = img.data('post-type');\n \n // try only once\n img.data('retry-count', parseInt(img.data('retry-count')) + 1);\n console.debug(img.data('retry-count'))\n if(img.data('retry-count') != 2){\n $.get('/refetch_media/' + id + '?media_type=' + post_type, function(data){\n if (data.url == 'post_not_present'){\n window.location.reload();\n } else {\n let parent = img.parent();\n if(parent[0].tagName == 'VIDEO'){\n img.remove();\n parent.append(``);\n } else {\n img.attr('src', data.url).removeClass('check-broken');\n }\n }\n });\n } \n });\n },\n\n // this is for ajax/pjax load\n // can be called from page itself, or pjax complete\n initiTypeformButtons(){\n $('.typeform-share').each((index, el) => {\n let url = $(el).attr('href');\n let popup = window.typeformEmbed.makePopup(url, {\n hideHeaders: true,\n hideFooter: true\n });\n\n $(el).on('click', (e) => {\n e.preventDefault();\n popup.open();\n });\n });\n },\n\n initSelect2Fields(){\n $('.selectpicker').selectpicker({ \n size: 10,\n noneSelectedText: '0 Selected',\n countSelectedText: function (numSelected, numTotal) {\n return \"{0} Selected\";\n } \n });\n\n $('.selectpicker').on('show.bs.select', function(e, clickedIndex, isSelected, previousValue){\n $(e.currentTarget).parents('.select-report-filter_item').addClass('show'); \n }).on('hide.bs.select', function(e, clickedIndex, isSelected, previousValue){\n $(e.currentTarget).parents('.select-report-filter_item').removeClass('show'); \n });\n \n // content request form fields\n $(\"#content-form-optional-field-selector\").on(\"changed.bs.select\", function(e, clickedIndex, isSelected, oldValue) {\n var selectedD = $(this).find('option').eq(clickedIndex).val();\n $(`#form-field-${selectedD.toLowerCase()}`).toggle();\n $('#main-container_no-left-nav').niceScroll().remove();\n $('#main-container_no-left-nav').niceScroll(window.SK.niceScrollOptions);\n });\n\n $('#report-properties-select').on('show.bs.select changed.bs.select', function(e, clickedIndex, isSelected, previousValue) {\n var selectedOptions = $(this).find('option:selected');\n selectedOptions.detach();\n $(this).prepend(selectedOptions);\n $(this).selectpicker('refresh');\n });\n\n $('.select2-email-tags').tagsinput({\n trimValue: true,\n confirmKeys: [13, 44, 32],\n focusClass: 'my-focus-class'\n });\n\n\n // internal property form\n $('.property-selectpicker').select2({\n placeholder: 'Search',\n tags: []\n });\n $('.property-filter-card_clear').on('click', (event) => {\n $('.property-selectpicker').val(null).trigger('change');\n })\n\n // clicking on nav search should toggle selectpicker on search\n $('.nav-search').on('click', (event) => {\n event.preventDefault();\n $('#sk-left-panel_property-select').selectpicker('toggle');\n });\n },\n\n initAllDateRangePicker(){\n $('.date-range-picker').each((index, el) => {\n let container = $(el);\n let selectFrom = $('#selectFrom').val();\n let selectTo = $('#selectTo').val();\n if(container.data('common')){\n Utility.initDateRangerPicker('.date-range-picker');\n } else if(container.data('report')){\n Utility.initReportDateRangerPicker(selectFrom, selectTo);\n } else {\n Utility.initDateRangePicker(selectFrom, selectTo);\n }\n });\n },\n\n handleFormErrors(formCLass, fieldPrefix, errors){\n for (const [key, messages] of Object.entries(errors)) {\n let formGroup = $(`#${fieldPrefix}_${key}`).parents('.form-group');\n formGroup.find('.text-danger').remove();\n formGroup.addClass('field-with-error').append(`${messages}`);\n }\n },\n\n initCharts(){\n $('canvas[data-type=\"line-chart\"]').each((index, element) => {\n let lineChartData = JSON.parse(element.dataset.val);\n this.lineChart(element, lineChartData);\n });\n\n if($('.area-chart-link').length){\n $('.area-chart-link').first().trigger('click');\n }\n\n if($('.chart-dropdown').length){\n $('.chart-dropdown .dropdown-item').first().trigger('click');\n }\n\n if($('#doughnut-chart').length){\n let chartUrl = $('#doughnut-chart').data('chart-url');\n this.show(chartUrl);\n }\n\n // v2 related\n if($('.line-chart-link').length){\n $('.line-chart-link').first().trigger('click');\n }\n\n // paid gauge charts\n $('.gauge-chart').each((index, element) => {\n Charts.gaugeChart(element.id, $(element).data('chart-data'));\n })\n\n $('.pie-chart').each((index, element) => {\n Charts.pieChart(element.id, $(element).data('chart-data'), element.dataset.title);\n })\n\n $('.bar-chart').each((index, element) => {\n Charts.barChart(element.id, $(element).data('chart-data'), element.dataset.title);\n });\n },\n\n posSearchIcon(){\n if($('.properties_index').length){\n return;\n }\n $('.icon.nav-search').hide();\n \n let left = $('.filter-option-inner-inner span').first().width() + $('.filter-option-inner-inner span').last().width();\n if(left > 300){\n left = 300\n }\n $('.icon.nav-search').css({ 'left': `${left + 30}px`}).show();\n },\n\n initTooltips(){\n $('[data-toggle=\"tooltip\"]').tooltip();\n $('[data-toggle=\"tooltip\"]').on('shown.bs.tooltip', (event) =>{\n let el = event.currentTarget;\n $('.tooltip, .bs-tooltip-bottom').removeClass('onboard former paused');\n $('.tooltip, .bs-tooltip-bottom').addClass(el.dataset.tooltipClass);\n });\n },\n\n initNiceScroll(){\n $('.nicescroll').niceScroll(window.SK.nonAutohideNiceScrollOptions);\n this.initMainContainerNicescroll();\n },\n\n initMainContainerNicescroll(){\n $('#main-container_no-left-nav').niceScroll().remove();\n $('#main-container_no-left-nav').niceScroll(window.SK.niceScrollOptions);\n\n $('#main-container_right-panel').niceScroll().remove();\n $('#main-container_right-panel').niceScroll(window.SK.niceScrollOptions);\n }\n}\n\nexport default Utility;\n","import Rails from \"@rails/ujs\"\nimport Dropzone from \"dropzone\";\nimport { Reports, Modal, Utility, Analytics, Social, Paid, Profile, Dashboard, RichTextEditor } from \"../packs/application\";\n\n// handle left and right arrow click\n$(document).on('click', '.sk-v2_left-panel li', function(){\n if (!$('.sk-v2_left-panel').hasClass('active')){\n $('.sk-v2_left-panel').addClass('active');\n }\n});\n\n$(document).on('change', '.properties-managed_list input', function(){\n let $this = $(this);\n\n if($(this).attr('id') == 'property_emails_toggle_all'){\n $('.properties-managed_list .property-checkboxes input').prop('checked', $this.is(':checked'));\n } else {\n if(!$this.is(':checked')){\n // if any tbody input unchecked checked, uncheck master\n $('#property_emails_toggle_all').prop('checked', false);\n } else {\n // if all tbody input checked, check master\n if($('.properties-managed_list .property-checkboxes input').length == $('.properties-managed_list .property-checkboxes input:checked').length){\n $('#property_emails_toggle_all').prop('checked', true);\n }\n }\n }\n\n Rails.fire($(this).parents('form')[0], 'submit');\n});\n\n$(document).on('change', '.management-company, .marketing-contact, .package-filter, #property_alert_instagram, #property_alert_google, #property_alert_facebook, #property_alert_pixel, #property_alert_other', function() {\n const companyValue = $('.management-company > button').attr('title') != \"Nothing selected\";\n const marketingContact = $('.marketing-contact > button').attr('title') != \"Nothing selected\";\n const packageFilter = $('.package-filter > button').attr('title') != \"Nothing selected\";\n const instagramCheck = $('#property_alert_instagram').prop(\"checked\");\n const googleCheck = $('#property_alert_google').prop(\"checked\");\n const facebookCheck = $('#property_alert_facebook').prop(\"checked\");\n const otherCheck = $('#property_alert_other').prop(\"checked\");\n const pixelCheck = $('#property_alert_pixel').prop(\"checked\");\n if(companyValue || marketingContact || packageFilter || \n instagramCheck || googleCheck || facebookCheck || otherCheck || pixelCheck) {\n $(\".property-filter-card_submit\").addClass('btn-primary')\n } else {\n $(\".property-filter-card_submit\").removeClass('btn-primary')\n }\n});\n\n$(document).on('click', '.property-filter-card > a', function() {\n $(\".bs-deselect-all\").trigger('click');\n $(\".form-check-input\").prop('checked', false);\n $(\".property-filter-card_submit\").removeClass('btn-primary')\n});\n\n$(document).on('click', '.filter-dashboard-btn', (event) => {\n $(event.currentTarget).toggleClass('active');\n $(\".property-filter-card\").toggleClass(\"show\");\n})\n\n$(document).on('click', '.post-dropdown .dropdown-item', (event) => {\n event.preventDefault();\n $('.post-dropdown-handler').text(event.currentTarget.text);\n\n if($(event.currentTarget).hasClass('latest')){\n $('ul.latest-posts').removeClass('forced-hidden');\n $('ul.top-posts').addClass('forced-hidden');\n } else {\n $('ul.latest-posts').addClass('forced-hidden');\n $('ul.top-posts').removeClass('forced-hidden');\n }\n});\n\n$(document).on('click', '.keyword-dropdown .dropdown-item', (event) => {\n event.preventDefault();\n $('.keyword-dropdown-handler').text(event.currentTarget.text);\n\n if(event.currentTarget.dataset.target == 'top-google-keywords'){\n $('#keywords-csv-link, .top-google-keywords').removeClass('forced-hidden');\n $('#ads-csv-link, .top-google-ads').addClass('forced-hidden');\n } else {\n $('#keywords-csv-link, .top-google-keywords').addClass('forced-hidden');\n $('#ads-csv-link, .top-google-ads').removeClass('forced-hidden');\n }\n});\n\n$(document).on('click', '.ads-dropdown .dropdown-item', (event) => {\n event.preventDefault();\n $('.ads-dropdown-handler').text(event.currentTarget.text);\n $('.top-facebook-ads, .top-instagram-ads, .top-google-ads').addClass('forced-hidden');\n $(`.${$(event.currentTarget).data('target')}`).removeClass('forced-hidden');\n});\n\n// modals\n$(document).on('click', 'a[data-remote-modal]', (event) => {\n event.preventDefault();\n let link = event.currentTarget;\n Modal.showRemoteModal(link.href, link.dataset.title, link.dataset.modalClass, link.dataset.modalWidth);\n});\n\n$(document).on('click', 'a[data-modal]', (event) => {\n event.preventDefault();\n Modal.showModal(event.currentTarget.title, $(`.${event.currentTarget.dataset.modalClass}`).html());\n});\n\n// profiles\n$(document).on('click', '.alacarte-packages-scroll-handler', () => {\n Profile.handleScroll();\n});\n\n// properties\n$(document).on('change', '#sk-left-panel_property-select', (event) => {\n Utility.posSearchIcon();\n window.location.href = $(event.currentTarget).find('option:selected').data('url');\n});\n\n$(document).on('click', '.property-cards .btn-light', (event) => {\n event.preventDefault();\n Modal.showModal('Submissions Closed', 'Submission is closed for the time being. Please wait until this is enabled again.');\n});\n\n$(document).on('change', '#ad_set_id', (event) => {\n var url = $(event.currentTarget).data('base-url').replace('ad_set_id', $(event.currentTarget).val());\n $.get(url, (html_data) => {\n $('#campaign-detail').html(html_data);\n });\n});\n\n$(document).on('click', '.asset-auditing_list_item_info', (event)=> {\n $(event.currentTarget).parents('li').toggleClass('detail-visible');\n});\n\n$(document).on('change', '.custom-file-filed_wrapper input', (event)=> {\n let fileName = event.currentTarget.value.replace(/^.*[\\\\\\/]/, '');\n $(event.currentTarget).parent().find('.file-name').text(fileName);\n});\n\n$(document).on('click', '.report-toggler', (event) => {\n event.preventDefault();\n Reports.toggleContent(event.currentTarget);\n});\n\n$(document).on('click', '.report-save-toggler', (event) => {\n event.preventDefault();\n Reports.toggleSaveContent(event.currentTarget);\n});\n\n$(document).on('click', '.report-form .form-custom-radio', (event) => {\n event.preventDefault();\n let target = event.currentTarget;\n $(target.dataset.inputId).val(target.dataset.val);\n \n if(target.dataset.submit){\n $('.report-save').trigger('click');\n } else {\n $(target).parent().find('.form-custom-radio').removeClass('selected');\n $(target).addClass('selected');\n }\n});\n\n// aja sortable headers\n$(document).on('click', '.ajax-sortable', (event) => {\n event.preventDefault();\n let url = event.currentTarget.href;\n let container = $(event.currentTarget).parents('.ajax-sortable-target');\n $.get(url, (html_data) => {\n container.html(html_data);\n setTimeout(function(){\n container.find('.nicescroll').niceScroll(window.SK.nonAutohideNiceScrollOptions);\n }, 0);\n })\n});\n\n// social page local packages charts\n$(document).on('click', '.social-content .line-chart-link', (event) => {\n event.preventDefault();\n Social.handleLocalPackageCharts(event);\n});\n\n$(document).on('click', '.chart-handler a', (event) => {\n event.preventDefault();\n let clickedLink = $(event.currentTarget);\n \n // chart can not be blank\n if(clickedLink.hasClass('active') && $('.chart-handler a.active').length == 1){\n return false;\n }\n \n clickedLink.toggleClass('active');\n $('.line-chart-link.active').trigger('click');\n});\n\n// paid page charts\n$(document).on('click', '.paid-content .line-chart-link', (event) => {\n event.preventDefault();\n Paid.handleLineCharts(event);\n});\n\n// paid chart handler\n$(document).on('click', '.paid-chart-handler', (event) => {\n event.preventDefault();\n $(event.currentTarget).toggleClass('active');\n $('.line-chart-link.active').trigger('click');\n $($(event.currentTarget.dataset.toggle)).toggle();\n});\n\n$(document).on('click', '.analytics-content_tabs .line-chart-link', (event) => {\n event.preventDefault();\n Analytics.handleLineCharts(event);\n});\n\n$(document).on('click', '.announcement-dropdown', (event) => {\n event.preventDefault();\n return false;\n});\n\n// login page\n$(document).on('click', '.form-group.password .icon', (event) => {\n let field = $(event.currentTarget).parent().find('input');\n if(field.attr('type') == 'password'){\n field.attr('type', 'text');\n } else {\n field.attr('type', 'password');\n }\n\n $(event.currentTarget).parent().toggleClass('visible');\n});\n\n// reports hide schedule option\n$(document).on('click', '.schedule-option_content_title', (event) => {\n event.preventDefault()\n $(event.currentTarget).parents('.report-forms_card').removeClass('show-schedule-option');\n $(event.currentTarget).parents('.custom-report_card').removeClass('show-schedule-option');\n});\n\n$(document).on('turbolinks:load', () => {\n Utility.initNiceScroll();\n Utility.showCardProgress();\n Utility.highlightNav();\n Utility.checkBrokenPostImages();\n Utility.showFlashError();\n Utility.showFlashNotice();\n Utility.setImageHeights();\n Utility.initSelect2Fields();\n Utility.initAllDateRangePicker();\n Utility.initCharts();\n Utility.initTooltips();\n\n // header svg search position\n if (!$('.properties_index').length) {\n Utility.posSearchIcon();\n }\n \n // accept tos popup\n const acceptTosPopup = $('#accept-tos-popup');\n if (acceptTosPopup.length){\n Dashboard.showStaticModal('accept-tos-popup', 'accept-tos-popup modal-dialog-centered');\n }\n\n // properties live sync\n if($(document.body).data('live-sync')){\n const propertyId = $(document.body).data('property-id');\n Utility.showLoading({ property_id: propertyId });\n } else {\n Utility.hideLoading({ forced: true });\n }\n\n // error popup\n const errorPopupContent = $('#error-popup-content');\n if(errorPopupContent.length){\n Utility.showFlashError(errorPopupContent.text());\n }\n\n if(typeof(productionEnv) !== 'undefined'){\n //trackingScripts.execAll();\n }\n\n // init dropzones\n $('.dropzone').each((index, element) => {\n let attachment_ids_field = $('#content_request_attachment_ids');\n\n let dropzoneInstance = new Dropzone(`div#${element.id}`, { \n dictDefaultMessage: \"Drag & drop a file to attach it, or
browse for a file...\",\n url: element.dataset.url,\n maxFiles: element.dataset.maxfiles,\n method: element.dataset.method || 'post',\n success: function (file, response) {\n if(response.status == 422) {\n var elemId = element.id.split('-')[1]\n $(`.error-${elemId}`).html(response.message);\n return;\n }\n \n if(response.user_id) {\n if($('span.user-avatar').length){\n $('span.user-avatar').replaceWith(``);\n } else {\n $(\".user-avatar\").attr('src', response.image_url);\n }\n dropzoneInstance.removeAllFiles(true);\n return;\n }\n\n let attachment_ids = attachment_ids_field.val();\n if(attachment_ids){\n attachment_ids = attachment_ids.concat(`,${response.id}`); \n } else {\n attachment_ids = response.id;\n }\n attachment_ids_field.val(attachment_ids);\n }\n });\n });\n\n // reports page\n $('.report-forms_card .standard-report-item_info').css({\n height: ($('#report-form-card-prospect-generator .standard-report-item_info').height())\n });\n\n // trigger page load top meta meta ads\n if($('#meta-ads-container').length){\n let url = $('#meta-ads-container').data('url');\n $.get(url, (html_data) => {\n $('#meta-ads-container').html(html_data);\n window.SK.Utility.initNiceScroll();\n });\n }\n RichTextEditor.init();\n});\n","/* eslint no-console:0 */\n// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within app/javascript and only use these pack files to reference\n// that code so it'll be compiled.\n//\n// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate\n// layout file, like app/views/layouts/application.html.erb\n\n\n// Uncomment to copy all static images under ../images to the output folder and reference\n// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)\n// or the `imagePath` JavaScript helper below.\n//\n// const images = require.context('../images', true)\n// const imagePath = (name) => images(name, true)\n\nimport Rails from \"@rails/ujs\"\nimport Turbolinks from \"turbolinks\"\nimport 'bootstrap'\nimport 'bootstrap-select'\nimport 'jquery.nicescroll'\nimport 'daterangepicker'\nimport 'bootstrap-tagsinput'\nimport 'select2'\n\nconst Charts = require(\"../src/charts.js\")\n\nimport \"channels/report_notification_channel\"\nimport Analytics from \"../src/analytics\"\nimport Dashboard from 'src/dashboard'\nimport FormSubmissions from 'src/form_submissions'\nimport Modal from 'src/modal'\nimport Paid from \"../src/paid\"\nimport Profile from 'src/profiles'\nimport Reports from 'src/reports'\nimport Social from \"../src/social\"\nimport trackingScripts from 'src/tracking_scripts'\nimport RichTextEditor from \"../src/rich_text_editor\"\nimport Utility from 'src/utility'\n\nexport { \n Analytics, Charts, Dashboard, FormSubmissions, Modal, Paid, Profile, Reports, trackingScripts, \n Social, RichTextEditor, Utility\n}\n\nimport '../src/document_binders';\n\nwindow.SK = window.SK || {};\nwindow.SK.Reports = Reports;\nwindow.SK.Utility = Utility;\nwindow.SK.niceScrollOptions = {cursorcolor: \"#ccc\", width: '18px', cursorfixedheight: 36};\nwindow.SK.nonAutohideNiceScrollOptions = {autohidemode: false, cursorcolor: \"#ccc\", width: '18px', cursorfixedheight: 36};\n\n// css\nimport '../stylesheets/application.scss'\n\n// images\nconst images = require.context('../images', true)\nconst imagePath = (name) => images(name, true)\n\nRails.start()\nTurbolinks.start()\n","if (typeof Chart != 'undefined'){ \n Chart.register(ChartDataLabels);\n Chart.defaults.color = '#333';\n}\n\nwindow.Charts = {\n chartColors: {\n red: 'rgb(255, 99, 132)',\n blue: 'rgba(54, 162, 235, 0.9)',\n google: '#ff9933'\n },\n labelFontsize: 16,\n\n formattedValue(number){\n return Intl.NumberFormat('en', {notation: \"compact\"}).format(number);\n },\n\n lineChartOptions(labels, yMax, radius){\n let yOptions = {\n grid: {\n display: true\n },\n ticks: {\n precision: 0,\n callback: function(value, index, ticks){\n return Charts.formattedValue(value);\n }\n }\n }\n\n let month = document.getElementsByTagName('body')[0].dataset.month;\n\n let xOptions = {\n grid: {\n display: false\n },\n ticks: {\n maxRotation: 0,\n callback: function(value, index, ticks){\n let val = labels[index].split('/')[1];\n if(index == 0){\n return [val, month];\n } else {\n return val;\n }\n }\n }\n }\n\n if (yMax){\n yOptions.min = -3;\n yOptions.max = yMax;\n }\n\n // for 1/2 days, use radius 5, else 0\n\n let options = {\n maintainAspectRatio: false,\n elements: {\n point:{\n radius: radius\n }\n },\n scales: {\n x: xOptions,\n y: yOptions \n },\n interaction: {\n intersect: false,\n mode: 'index',\n },\n plugins: {\n tooltip: {\n enabled: true,\n usePointStyle: true,\n callbacks: {\n labelPointStyle: function(context) {\n return {\n pointStyle: 'circle',\n rotation: 0\n };\n },\n label: function(context){\n let activeLink = document.querySelector('.line-chart-link.active');\n \n if(!activeLink){\n return;\n }\n\n let linkParent = activeLink.parentElement;\n let label = context.dataset.label || '';\n\n if (label) {\n label += ': ';\n }\n if (context.parsed.y !== null) {\n label = context.parsed.y;\n if(linkParent.classList.contains('CTR')){\n return `${label.toLocaleString()}%`;\n }\n if(linkParent.classList.contains('CPC') || linkParent.classList.contains('Spend')){\n return `$${label.toLocaleString()}`;\n }\n }\n return label.toLocaleString();\n }\n }\n },\n datalabels: {\n display: false\n }\n }\n }\n\n return options\n },\n\n // charts are made using chart js\n lineChart(element_id, json_data, chartColor, followers){\n Chart.defaults.plugins.legend = false;\n const ctx = document.getElementById(element_id).getContext('2d');\n const labels = Object.keys(json_data);\n const values = Object.values(json_data);\n let radius = Object.keys(values).length > 1 ? 0 : 5;\n\n let yMax;\n if(followers){\n yMax = Math.max(Math.max(...values), 3) + 1;\n }\n\n new Chart(ctx, {\n type: 'line',\n data: {\n labels: labels,\n datasets: [{\n data: values,\n borderColor: chartColor || this.chartColors.blue,\n borderWidth: 4,\n fill: false,\n tension: 0.5\n }]\n },\n options: this.lineChartOptions(labels, yMax, radius) \n });\n },\n\n multiLineChart(element_id, dataset, chartColors, followers){\n if(!chartColors){\n chartColors = [this.chartColors.red, this.chartColors.blue]\n }\n Chart.defaults.plugins.legend = false;\n const ctx = document.getElementById(element_id).getContext('2d');\n const labels = Object.keys(dataset[0]);\n let yMax;\n if(followers){\n yMax = Math.max(\n Math.max(...Object.values(dataset[0])), \n Math.max(...Object.values(dataset[1])),\n 3\n ) + 1;\n }\n\n let radius = Object.keys(dataset[1]).length > 1 ? 0 : 5;\n\n new Chart(ctx, {\n type: 'line',\n data: {\n labels: labels,\n datasets: [\n {\n data: dataset[0], // instagram\n borderColor: chartColors[0],\n borderWidth: 4,\n yAxisID: 'y',\n fill: false,\n tension: 0.5\n },\n {\n data: dataset[1], // facebook\n borderColor: chartColors[1],\n borderWidth: 4,\n yAxisID: 'y',\n fill: false,\n tension: 0.5\n }\n ]\n },\n options: this.lineChartOptions(labels, yMax, radius)\n });\n },\n\n gaugeChart(element_id, json_data){\n let chartCtx = document.getElementById(element_id).getContext('2d');\n let values = json_data.values;\n let valueSum = values.reduce((partialSum, a) => partialSum + a, 0);\n let title;\n if(document.getElementById(element_id).dataset.title == 'reach'){\n title = `${valueSum > 0 ? Charts.formattedValue(valueSum) : '-'} Total Reach`\n } else {\n title = `${valueSum > 0 ? Charts.formattedValue(valueSum) : '-'} Total Audience Size`\n }\n\n if(valueSum == 0){\n values = [0, 100]\n }\n\n new Chart(chartCtx, {\n type: 'doughnut',\n data: {\n labels: json_data.labels,\n datasets: [{\n data: values,\n backgroundColor: json_data.background_colors,\n borderWidth: 0\n }]\n },\n options: {\n maintainAspectRatio: false,\n cutoutPercentage: 85,\n rotation: -90,\n circumference: 180,\n tooltips: {\n enabled: false\n },\n legend: {\n display: false\n },\n animation: {\n animateRotate: true,\n animateScale: false\n },\n plugins: { \n title: {\n position: 'bottom',\n display: true,\n text: title,\n font: {\n size: Charts.labelFontsize,\n weight: 'bold',\n color: '#333'\n }\n },\n datalabels: {\n color: '#333',\n formatter: function(value, context) {\n if(value == 0){\n return '';\n }\n return Charts.formattedValue(value);\n },\n font: {\n size: Charts.labelFontsize,\n weight: 'bold'\n }\n }\n }\n }\n });\n },\n\n pieChart(element_id, json_data){\n let chartCtx = document.getElementById(element_id).getContext('2d');\n let values = json_data.values;\n if(values.reduce((partialSum, a) => partialSum + a, 0) == 0){\n values = [100, 0, 0, 0]\n }\n const config = {\n type: 'pie',\n data: {\n labels: json_data.labels,\n datasets: [{\n data: values,\n backgroundColor: [\n '#FF9900',\n '#F6DA82',\n '#FADA7A',\n '#F5F0CD'\n ],\n borderColor: '#333',\n borderWidth:1,\n hoverOffset: 4\n }]\n },\n options: {\n responsive: false,\n plugins: {\n tooltips: {\n enabled: false\n },\n datalabels: {\n color: '#333',\n formatter: function(value, context) {\n if(value > 0){\n let label = json_data.labels[context.dataIndex];\n return `${label}\\n${value}%`;\n } else {\n return null;\n }\n },\n font: {\n size: 14,\n weight: 'bold'\n }\n }\n }\n }\n };\n\n new Chart(chartCtx, config);\n }\n}\n","const RichTextEditor = {\n init() {\n if(tinymce !== undefined){\n const commonOptions = {\n content_css : \"/tinymce/custom_content.css\",\n theme_advanced_font_sizes: \"10px,12px,13px,14px,16px,18px,20px\",\n font_size_style_values : \"10px,12px,13px,14px,16px,18px,20px\",\n }\n \n $('.tinymce-textarea').each((i, editor) => {\n let textareaOptions = {\n selector: '#' + editor.id,\n plugins: 'link, lists',\n toolbar: 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist',\n }\n \n tinymce.init({\n ...commonOptions,\n ...textareaOptions\n });\n });\n \n $('.tinymce-link-input').each((i, editor) => {\n let linkInputOptions = {\n selector: '#' + editor.id,\n plugins: 'link',\n toolbar: 'link',\n height: 180,\n }\n \n tinymce.init({\n ...commonOptions,\n ...linkInputOptions\n });\n });\n };\n }\n}\n\nexport default RichTextEditor\n","var map = {\n\t\"./af\": 5177,\n\t\"./af.js\": 5177,\n\t\"./ar\": 1509,\n\t\"./ar-dz\": 1488,\n\t\"./ar-dz.js\": 1488,\n\t\"./ar-kw\": 8676,\n\t\"./ar-kw.js\": 8676,\n\t\"./ar-ly\": 2353,\n\t\"./ar-ly.js\": 2353,\n\t\"./ar-ma\": 4496,\n\t\"./ar-ma.js\": 4496,\n\t\"./ar-ps\": 6947,\n\t\"./ar-ps.js\": 6947,\n\t\"./ar-sa\": 2682,\n\t\"./ar-sa.js\": 2682,\n\t\"./ar-tn\": 9756,\n\t\"./ar-tn.js\": 9756,\n\t\"./ar.js\": 1509,\n\t\"./az\": 5533,\n\t\"./az.js\": 5533,\n\t\"./be\": 8959,\n\t\"./be.js\": 8959,\n\t\"./bg\": 7777,\n\t\"./bg.js\": 7777,\n\t\"./bm\": 4903,\n\t\"./bm.js\": 4903,\n\t\"./bn\": 1290,\n\t\"./bn-bd\": 7357,\n\t\"./bn-bd.js\": 7357,\n\t\"./bn.js\": 1290,\n\t\"./bo\": 1545,\n\t\"./bo.js\": 1545,\n\t\"./br\": 1470,\n\t\"./br.js\": 1470,\n\t\"./bs\": 4429,\n\t\"./bs.js\": 4429,\n\t\"./ca\": 7306,\n\t\"./ca.js\": 7306,\n\t\"./cs\": 6464,\n\t\"./cs.js\": 6464,\n\t\"./cv\": 3635,\n\t\"./cv.js\": 3635,\n\t\"./cy\": 4226,\n\t\"./cy.js\": 4226,\n\t\"./da\": 3601,\n\t\"./da.js\": 3601,\n\t\"./de\": 7853,\n\t\"./de-at\": 6111,\n\t\"./de-at.js\": 6111,\n\t\"./de-ch\": 4697,\n\t\"./de-ch.js\": 4697,\n\t\"./de.js\": 7853,\n\t\"./dv\": 708,\n\t\"./dv.js\": 708,\n\t\"./el\": 4691,\n\t\"./el.js\": 4691,\n\t\"./en-au\": 3872,\n\t\"./en-au.js\": 3872,\n\t\"./en-ca\": 8298,\n\t\"./en-ca.js\": 8298,\n\t\"./en-gb\": 6195,\n\t\"./en-gb.js\": 6195,\n\t\"./en-ie\": 6584,\n\t\"./en-ie.js\": 6584,\n\t\"./en-il\": 5543,\n\t\"./en-il.js\": 5543,\n\t\"./en-in\": 9033,\n\t\"./en-in.js\": 9033,\n\t\"./en-nz\": 9402,\n\t\"./en-nz.js\": 9402,\n\t\"./en-sg\": 3004,\n\t\"./en-sg.js\": 3004,\n\t\"./eo\": 2934,\n\t\"./eo.js\": 2934,\n\t\"./es\": 7650,\n\t\"./es-do\": 838,\n\t\"./es-do.js\": 838,\n\t\"./es-mx\": 7730,\n\t\"./es-mx.js\": 7730,\n\t\"./es-us\": 6575,\n\t\"./es-us.js\": 6575,\n\t\"./es.js\": 7650,\n\t\"./et\": 3035,\n\t\"./et.js\": 3035,\n\t\"./eu\": 3508,\n\t\"./eu.js\": 3508,\n\t\"./fa\": 119,\n\t\"./fa.js\": 119,\n\t\"./fi\": 527,\n\t\"./fi.js\": 527,\n\t\"./fil\": 5995,\n\t\"./fil.js\": 5995,\n\t\"./fo\": 2477,\n\t\"./fo.js\": 2477,\n\t\"./fr\": 5498,\n\t\"./fr-ca\": 6435,\n\t\"./fr-ca.js\": 6435,\n\t\"./fr-ch\": 7892,\n\t\"./fr-ch.js\": 7892,\n\t\"./fr.js\": 5498,\n\t\"./fy\": 7071,\n\t\"./fy.js\": 7071,\n\t\"./ga\": 1734,\n\t\"./ga.js\": 1734,\n\t\"./gd\": 217,\n\t\"./gd.js\": 217,\n\t\"./gl\": 7329,\n\t\"./gl.js\": 7329,\n\t\"./gom-deva\": 2124,\n\t\"./gom-deva.js\": 2124,\n\t\"./gom-latn\": 3383,\n\t\"./gom-latn.js\": 3383,\n\t\"./gu\": 5050,\n\t\"./gu.js\": 5050,\n\t\"./he\": 1713,\n\t\"./he.js\": 1713,\n\t\"./hi\": 3861,\n\t\"./hi.js\": 3861,\n\t\"./hr\": 6308,\n\t\"./hr.js\": 6308,\n\t\"./hu\": 609,\n\t\"./hu.js\": 609,\n\t\"./hy-am\": 7160,\n\t\"./hy-am.js\": 7160,\n\t\"./id\": 4063,\n\t\"./id.js\": 4063,\n\t\"./is\": 9374,\n\t\"./is.js\": 9374,\n\t\"./it\": 8383,\n\t\"./it-ch\": 1827,\n\t\"./it-ch.js\": 1827,\n\t\"./it.js\": 8383,\n\t\"./ja\": 3827,\n\t\"./ja.js\": 3827,\n\t\"./jv\": 9722,\n\t\"./jv.js\": 9722,\n\t\"./ka\": 1794,\n\t\"./ka.js\": 1794,\n\t\"./kk\": 7088,\n\t\"./kk.js\": 7088,\n\t\"./km\": 6870,\n\t\"./km.js\": 6870,\n\t\"./kn\": 4451,\n\t\"./kn.js\": 4451,\n\t\"./ko\": 3164,\n\t\"./ko.js\": 3164,\n\t\"./ku\": 8174,\n\t\"./ku-kmr\": 6181,\n\t\"./ku-kmr.js\": 6181,\n\t\"./ku.js\": 8174,\n\t\"./ky\": 8474,\n\t\"./ky.js\": 8474,\n\t\"./lb\": 9680,\n\t\"./lb.js\": 9680,\n\t\"./lo\": 5867,\n\t\"./lo.js\": 5867,\n\t\"./lt\": 5766,\n\t\"./lt.js\": 5766,\n\t\"./lv\": 9532,\n\t\"./lv.js\": 9532,\n\t\"./me\": 8076,\n\t\"./me.js\": 8076,\n\t\"./mi\": 1848,\n\t\"./mi.js\": 1848,\n\t\"./mk\": 306,\n\t\"./mk.js\": 306,\n\t\"./ml\": 3739,\n\t\"./ml.js\": 3739,\n\t\"./mn\": 9053,\n\t\"./mn.js\": 9053,\n\t\"./mr\": 6169,\n\t\"./mr.js\": 6169,\n\t\"./ms\": 3386,\n\t\"./ms-my\": 2297,\n\t\"./ms-my.js\": 2297,\n\t\"./ms.js\": 3386,\n\t\"./mt\": 7075,\n\t\"./mt.js\": 7075,\n\t\"./my\": 2264,\n\t\"./my.js\": 2264,\n\t\"./nb\": 2274,\n\t\"./nb.js\": 2274,\n\t\"./ne\": 8235,\n\t\"./ne.js\": 8235,\n\t\"./nl\": 2572,\n\t\"./nl-be\": 3784,\n\t\"./nl-be.js\": 3784,\n\t\"./nl.js\": 2572,\n\t\"./nn\": 4566,\n\t\"./nn.js\": 4566,\n\t\"./oc-lnc\": 9330,\n\t\"./oc-lnc.js\": 9330,\n\t\"./pa-in\": 9849,\n\t\"./pa-in.js\": 9849,\n\t\"./pl\": 4418,\n\t\"./pl.js\": 4418,\n\t\"./pt\": 9834,\n\t\"./pt-br\": 8303,\n\t\"./pt-br.js\": 8303,\n\t\"./pt.js\": 9834,\n\t\"./ro\": 4457,\n\t\"./ro.js\": 4457,\n\t\"./ru\": 2271,\n\t\"./ru.js\": 2271,\n\t\"./sd\": 1221,\n\t\"./sd.js\": 1221,\n\t\"./se\": 3478,\n\t\"./se.js\": 3478,\n\t\"./si\": 7538,\n\t\"./si.js\": 7538,\n\t\"./sk\": 5784,\n\t\"./sk.js\": 5784,\n\t\"./sl\": 6637,\n\t\"./sl.js\": 6637,\n\t\"./sq\": 6794,\n\t\"./sq.js\": 6794,\n\t\"./sr\": 5719,\n\t\"./sr-cyrl\": 3322,\n\t\"./sr-cyrl.js\": 3322,\n\t\"./sr.js\": 5719,\n\t\"./ss\": 6000,\n\t\"./ss.js\": 6000,\n\t\"./sv\": 1011,\n\t\"./sv.js\": 1011,\n\t\"./sw\": 748,\n\t\"./sw.js\": 748,\n\t\"./ta\": 1025,\n\t\"./ta.js\": 1025,\n\t\"./te\": 1885,\n\t\"./te.js\": 1885,\n\t\"./tet\": 8861,\n\t\"./tet.js\": 8861,\n\t\"./tg\": 6571,\n\t\"./tg.js\": 6571,\n\t\"./th\": 5802,\n\t\"./th.js\": 5802,\n\t\"./tk\": 9527,\n\t\"./tk.js\": 9527,\n\t\"./tl-ph\": 9231,\n\t\"./tl-ph.js\": 9231,\n\t\"./tlh\": 1052,\n\t\"./tlh.js\": 1052,\n\t\"./tr\": 5096,\n\t\"./tr.js\": 5096,\n\t\"./tzl\": 9846,\n\t\"./tzl.js\": 9846,\n\t\"./tzm\": 1765,\n\t\"./tzm-latn\": 7711,\n\t\"./tzm-latn.js\": 7711,\n\t\"./tzm.js\": 1765,\n\t\"./ug-cn\": 8414,\n\t\"./ug-cn.js\": 8414,\n\t\"./uk\": 6618,\n\t\"./uk.js\": 6618,\n\t\"./ur\": 158,\n\t\"./ur.js\": 158,\n\t\"./uz\": 7609,\n\t\"./uz-latn\": 2475,\n\t\"./uz-latn.js\": 2475,\n\t\"./uz.js\": 7609,\n\t\"./vi\": 1135,\n\t\"./vi.js\": 1135,\n\t\"./x-pseudo\": 4051,\n\t\"./x-pseudo.js\": 4051,\n\t\"./yo\": 2218,\n\t\"./yo.js\": 2218,\n\t\"./zh-cn\": 2648,\n\t\"./zh-cn.js\": 2648,\n\t\"./zh-hk\": 1632,\n\t\"./zh-hk.js\": 1632,\n\t\"./zh-mo\": 1541,\n\t\"./zh-mo.js\": 1541,\n\t\"./zh-tw\": 304,\n\t\"./zh-tw.js\": 304\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 5358;"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","createConsumer","consumer","subscriptions","create","channel","connected","message","console","log","disconnected","received","data","parseInt","document","getElementById","dataset","user_id","download_url","grabLink","getElementsByClassName","concat","report_id","setAttribute","removeAttribute","classList","remove","link","createElement","href","download","style","display","body","appendChild","click","removeChild","error","handleLineCharts","event","$","removeClass","currentTarget","addClass","sectionData","chartColor","multiLine","length","total","activeLink","first","hasClass","sk","Charts","chartColors","red","blue","empty_data","count","growth","chart_data","each","i","key","val","growthClass","parseFloat","html","arrowIconPath","text","cloned_element","clone","replaceWith","linkKey","multiLineChart","lineChart","showStaticModal","element_id","modal_class","Modal","close","element","content","innerHTML","showModal","setTimeout","on","modalHeader","title","modalCloseIcon","showRemoteModal","url","modal_width","modal_content","modal","find","css","load","tinymce","prepend","selectpicker","size","RichTextEditor","init","showVideoModal","video_url","combined","meta","google","industryAvg","industry_avg","label","value","Profile","handleScroll","scroll_content","scroll_width","scrollWidth","window_width","offsetWidth","initial_margin","Math","abs","shifts","card_width","width","shift_size","scroll_reverse","animate","marginLeft","pop","margin_left","min","push","reverse","toggleContent","target","reportType","toggleClass","toggleSaveContent","handleLocalPackageCharts","insta","fb","followers","Utility","initDateRangePicker","startDate","endDate","timeframe","options","yesterday","moment","subtract","callback","start","end","showLoading","baseUrl","window","location","format","minDate","initDateRangeHandler","initReportDateRangerPicker","initDateRangerPicker","el_id","daterangepicker","maxDate","opens","autoApply","autoUpdateInput","alwaysShowCalendars","maxSpan","days","ranges","startOf","endOf","setChartHeight","height","innerHeight","property_id","localStorage","setItem","loadingTimeout","show","hideLoading","forced","removeItem","getItem","clearTimeout","hide","showFlashError","msg","append","slideDown","slideUp","showFlashNotice","progressBar","percentage","bar1","ldBar","set","highlightNav","current_path","pathname","attr","split","parents","setImageHeights","el","fadeIn","showCardProgress","$ppc","percent","deg","checkBrokenPostImages","img","post_type","debug","get","reload","parent","tagName","initiTypeformButtons","index","popup","typeformEmbed","makePopup","hideHeaders","hideFooter","preventDefault","open","initSelect2Fields","noneSelectedText","countSelectedText","numSelected","numTotal","clickedIndex","isSelected","previousValue","oldValue","selectedD","this","eq","toLowerCase","toggle","niceScroll","SK","niceScrollOptions","selectedOptions","detach","tagsinput","trimValue","confirmKeys","focusClass","select2","placeholder","tags","trigger","initAllDateRangePicker","container","selectFrom","selectTo","handleFormErrors","formCLass","fieldPrefix","errors","_i","_Object$entries","entries","_Object$entries$_i","_slicedToArray","messages","formGroup","initCharts","_this","lineChartData","JSON","parse","chartUrl","gaugeChart","pieChart","barChart","posSearchIcon","left","last","initTooltips","tooltip","tooltipClass","initNiceScroll","nonAutohideNiceScrollOptions","initMainContainerNicescroll","$this","prop","is","Rails","companyValue","marketingContact","packageFilter","instagramCheck","googleCheck","facebookCheck","otherCheck","pixelCheck","modalClass","modalWidth","replace","html_data","fileName","Reports","inputId","submit","Social","clickedLink","Paid","Analytics","field","Dashboard","propertyId","errorPopupContent","attachment_ids_field","dropzoneInstance","Dropzone","dictDefaultMessage","maxFiles","maxfiles","method","success","file","response","status","image_url","removeAllFiles","attachment_ids","elemId","require","cursorcolor","cursorfixedheight","autohidemode","Turbolinks","Chart","register","ChartDataLabels","defaults","color","labelFontsize","formattedValue","number","Intl","NumberFormat","notation","lineChartOptions","labels","yMax","radius","yOptions","grid","ticks","precision","month","getElementsByTagName","xOptions","maxRotation","max","maintainAspectRatio","elements","point","scales","x","y","interaction","intersect","mode","plugins","enabled","usePointStyle","callbacks","labelPointStyle","context","pointStyle","rotation","querySelector","linkParent","parentElement","parsed","contains","toLocaleString","datalabels","json_data","legend","ctx","getContext","values","apply","type","datasets","borderColor","borderWidth","fill","tension","_toConsumableArray","yAxisID","chartCtx","valueSum","reduce","partialSum","a","backgroundColor","background_colors","cutoutPercentage","circumference","tooltips","animation","animateRotate","animateScale","position","font","weight","formatter","config","hoverOffset","responsive","dataIndex","undefined","commonOptions","content_css","theme_advanced_font_sizes","font_size_style_values","editor","textareaOptions","selector","toolbar","_objectSpread","linkInputOptions"],"sourceRoot":""}