{"version":3,"sources":["webpack:///./node_modules/vue-cookie/src/vue-cookie.js","webpack:///./node_modules/vue-chartjs/es/mixins/index.js","webpack:///./node_modules/vue-chartjs/es/BaseCharts.js","webpack:///./node_modules/vue-chartjs/es/index.js","webpack:///./node_modules/vue-moment/vue-moment.js","webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./node_modules/vue-functional-data-merge/dist/lib.esm.js"],"names":["Number","isInteger","value","isFinite","Math","floor","Cookie","__webpack_require__","VueCookie","install","Vue","prototype","$cookie","this","cookie","set","name","daysOrOptions","opts","expires","get","delete","options","undefined","Object","assign","module","exports","dataHandler","newData","oldData","chart","$data","_chart","newDatasetLabels","datasets","map","dataset","label","oldDatasetLabels","oldLabels","JSON","stringify","newLabels","length","forEach","i","oldDatasetKeys","keys","newDatasetKeys","deletionKeys","filter","key","indexOf","attribute","deletionKey","data","hasOwnProperty","labels","$emit","xLabels","yLabels","update","destroy","renderChart","chartData","reactiveData","watch","reactiveProp","props","required","mixins","generateChart","chartId","chartType","render","createElement","style","styles","class","cssClasses","attrs","id","width","height","ref","default","type","String","plugins","Array","_plugins","methods","addPlugin","plugin","push","generateLegend","chart_default","a","$refs","canvas","getContext","beforeDestroy","Bar","Doughnut","d","__webpack_exports__","moment","defineProperties","$moment","date","args","slice","call","arguments","input","shift","isArray","string","formats","unix","isValid","console","warn","parse","method","addends","split","Function","trim","obj","n","addend","add","subtrahends","subtrahend","subtract","from","removeSuffix","fromNow","dateDiff","units","floatingValue","diff","referenceTime","calendar","tz","format","apply","normalizeComponent","scriptExports","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","mergeData","__assign","e","s","t","r","c","o"],"mappings":"8GAAA,WACAA,OAAAC,UAAAD,OAAAC,WAAA,SAAAC,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(function () {\n Number.isInteger = Number.isInteger || function (value) {\n return typeof value === 'number' &&\n isFinite(value) &&\n Math.floor(value) === value;\n };\n var Cookie = require('tiny-cookie');\n\n var VueCookie = {\n\n install: function (Vue) {\n Vue.prototype.$cookie = this;\n Vue.cookie = this;\n },\n set: function (name, value, daysOrOptions) {\n var opts = daysOrOptions;\n if(Number.isInteger(daysOrOptions)) {\n opts = {expires: daysOrOptions};\n }\n return Cookie.set(name, value, opts);\n },\n\n get: function (name) {\n return Cookie.get(name);\n },\n\n delete: function (name, options) {\n var opts = {expires: -1};\n if(options !== undefined) {\n opts = Object.assign(options, opts);\n }\n this.set(name, '', opts);\n }\n };\n\n if (typeof exports == \"object\") {\n module.exports = VueCookie;\n } else if (typeof define == \"function\" && define.amd) {\n define([], function(){ return VueCookie; })\n } else if (window.Vue) {\n window.VueCookie = VueCookie;\n Vue.use(VueCookie);\n }\n\n})();\n","function dataHandler(newData, oldData) {\n if (oldData) {\n var chart = this.$data._chart;\n var newDatasetLabels = newData.datasets.map(function (dataset) {\n return dataset.label;\n });\n var oldDatasetLabels = oldData.datasets.map(function (dataset) {\n return dataset.label;\n });\n var oldLabels = JSON.stringify(oldDatasetLabels);\n var newLabels = JSON.stringify(newDatasetLabels);\n\n if (newLabels === oldLabels && oldData.datasets.length === newData.datasets.length) {\n newData.datasets.forEach(function (dataset, i) {\n var oldDatasetKeys = Object.keys(oldData.datasets[i]);\n var newDatasetKeys = Object.keys(dataset);\n var deletionKeys = oldDatasetKeys.filter(function (key) {\n return key !== '_meta' && newDatasetKeys.indexOf(key) === -1;\n });\n deletionKeys.forEach(function (deletionKey) {\n delete chart.data.datasets[i][deletionKey];\n });\n\n for (var attribute in dataset) {\n if (dataset.hasOwnProperty(attribute)) {\n chart.data.datasets[i][attribute] = dataset[attribute];\n }\n }\n });\n\n if (newData.hasOwnProperty('labels')) {\n chart.data.labels = newData.labels;\n this.$emit('labels:update');\n }\n\n if (newData.hasOwnProperty('xLabels')) {\n chart.data.xLabels = newData.xLabels;\n this.$emit('xlabels:update');\n }\n\n if (newData.hasOwnProperty('yLabels')) {\n chart.data.yLabels = newData.yLabels;\n this.$emit('ylabels:update');\n }\n\n chart.update();\n this.$emit('chart:update');\n } else {\n if (chart) {\n chart.destroy();\n this.$emit('chart:destroy');\n }\n\n this.renderChart(this.chartData, this.options);\n this.$emit('chart:render');\n }\n } else {\n if (this.$data._chart) {\n this.$data._chart.destroy();\n\n this.$emit('chart:destroy');\n }\n\n this.renderChart(this.chartData, this.options);\n this.$emit('chart:render');\n }\n}\n\nexport var reactiveData = {\n data: function data() {\n return {\n chartData: null\n };\n },\n watch: {\n 'chartData': dataHandler\n }\n};\nexport var reactiveProp = {\n props: {\n chartData: {\n required: true\n }\n },\n watch: {\n 'chartData': dataHandler\n }\n};\nexport default {\n reactiveData: reactiveData,\n reactiveProp: reactiveProp\n};","import Chart from 'chart.js';\nexport function generateChart(chartId, chartType) {\n return {\n render: function render(createElement) {\n return createElement('div', {\n style: this.styles,\n class: this.cssClasses\n }, [createElement('canvas', {\n attrs: {\n id: this.chartId,\n width: this.width,\n height: this.height\n },\n ref: 'canvas'\n })]);\n },\n props: {\n chartId: {\n default: chartId,\n type: String\n },\n width: {\n default: 400,\n type: Number\n },\n height: {\n default: 400,\n type: Number\n },\n cssClasses: {\n type: String,\n default: ''\n },\n styles: {\n type: Object\n },\n plugins: {\n type: Array,\n default: function _default() {\n return [];\n }\n }\n },\n data: function data() {\n return {\n _chart: null,\n _plugins: this.plugins\n };\n },\n methods: {\n addPlugin: function addPlugin(plugin) {\n this.$data._plugins.push(plugin);\n },\n generateLegend: function generateLegend() {\n if (this.$data._chart) {\n return this.$data._chart.generateLegend();\n }\n },\n renderChart: function renderChart(data, options) {\n if (this.$data._chart) this.$data._chart.destroy();\n this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {\n type: chartType,\n data: data,\n options: options,\n plugins: this.$data._plugins\n });\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (this.$data._chart) {\n this.$data._chart.destroy();\n }\n }\n };\n}\nexport var Bar = generateChart('bar-chart', 'bar');\nexport var HorizontalBar = generateChart('horizontalbar-chart', 'horizontalBar');\nexport var Doughnut = generateChart('doughnut-chart', 'doughnut');\nexport var Line = generateChart('line-chart', 'line');\nexport var Pie = generateChart('pie-chart', 'pie');\nexport var PolarArea = generateChart('polar-chart', 'polarArea');\nexport var Radar = generateChart('radar-chart', 'radar');\nexport var Bubble = generateChart('bubble-chart', 'bubble');\nexport var Scatter = generateChart('scatter-chart', 'scatter');\nexport default {\n Bar: Bar,\n HorizontalBar: HorizontalBar,\n Doughnut: Doughnut,\n Line: Line,\n Pie: Pie,\n PolarArea: PolarArea,\n Radar: Radar,\n Bubble: Bubble,\n Scatter: Scatter\n};","import mixins from './mixins/index.js';\nimport { Bar, HorizontalBar, Doughnut, Line, Pie, PolarArea, Radar, Bubble, Scatter, generateChart } from './BaseCharts';\nvar VueCharts = {\n Bar: Bar,\n HorizontalBar: HorizontalBar,\n Doughnut: Doughnut,\n Line: Line,\n Pie: Pie,\n PolarArea: PolarArea,\n Radar: Radar,\n Bubble: Bubble,\n Scatter: Scatter,\n mixins: mixins,\n generateChart: generateChart,\n render: function render() {\n return console.error('[vue-chartjs]: This is not a vue component. It is the whole object containing all vue components. Please import the named export or access the components over the dot notation. For more info visit https://vue-chartjs.org/#/home?id=quick-start');\n }\n};\nexport default VueCharts;\nexport { VueCharts, Bar, HorizontalBar, Doughnut, Line, Pie, PolarArea, Radar, Bubble, Scatter, mixins, generateChart };","module.exports = {\n\tinstall: function (Vue, options) {\n\t\tvar moment = options && options.moment ? options.moment : require('moment');\n\t\t\n\t\tObject.defineProperties(Vue.prototype, {\n\t\t\t$moment: {\n\t\t\t\tget: function() {\n\t\t\t\t\treturn moment;\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\n\t\tVue.moment = moment\n\n\t\tVue.filter('moment', function() {\n\t\t\tvar args = Array.prototype.slice.call(arguments),\n\t\t\t\tinput = args.shift(),\n\t\t\t\tdate;\n\n\t\t\tif (Array.isArray(input) && typeof input[0] === 'string') {\n\t\t\t\t// If input is array, assume we're being passed a format pattern to parse against.\n\t\t\t\t// Format pattern will accept an array of potential formats to parse against.\n\t\t\t\t// Date string should be at [0], format pattern(s) should be at [1]\n\t\t\t\tdate = moment(string = input[0], formats = input[1], true);\n\t\t\t} else if (typeof input === 'number') {\n\t\t\t\t// If input is an integer, assume it's a Unix timestamp.\n\t\t\t\tdate = moment.unix(input);\n\t\t\t} else {\n\t\t\t\t// Otherwise, throw the input at moment and see what happens...\n\t\t\t\tdate = moment(input);\n\t\t\t}\n\n\t\t\tif (!input || !date.isValid()) {\n\t\t\t\t// Log a warning if moment couldn't reconcile the input. Better than throwing an error?\n\t\t\t\tconsole.warn('Could not build a valid `moment` object from input.');\n\t\t\t\treturn input;\n\t\t\t}\n\n\t\t\tfunction parse() {\n\t\t\t\tvar args = Array.prototype.slice.call(arguments),\n\t\t\t\t\tmethod = args.shift();\n\n\t\t\t\tswitch (method) {\n\t\t\t\t\tcase 'add':\n\n\t\t\t\t\t\t// Mutates the original moment by adding time.\n\t\t\t\t\t\t// http://momentjs.com/docs/#/manipulating/add/\n\n\t\t\t\t\t\tvar addends = args.shift()\n\t\t\t\t\t\t\t\t\t\t .split(',')\n\t\t\t\t\t\t\t\t\t\t .map(Function.prototype.call, String.prototype.trim);\n\t\t\t\t\t\tvar obj = {};\n\t\t\t\t\t\tfor (var n = 0; n < addends.length; n++) {\n\t\t\t\t\t\t\tvar addend = addends[n].split(' ');\n\t\t\t\t\t\t\tobj[addend[1]] = addend[0];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdate = date.add(obj);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'subtract':\n\n\t\t\t\t\t\t// Mutates the original moment by subtracting time.\n\t\t\t\t\t\t// http://momentjs.com/docs/#/manipulating/subtract/\n\n\t\t\t\t\t\tvar subtrahends = args.shift()\n\t\t\t\t\t\t\t\t\t\t .split(',')\n\t\t\t\t\t\t\t\t\t\t .map(Function.prototype.call, String.prototype.trim);\n\t\t\t\t\t\tobj = {};\n\t\t\t\t\t\tfor (var n = 0; n < subtrahends.length; n++) {\n\t\t\t\t\t\t\tvar subtrahend = subtrahends[n].split(' ');\n\t\t\t\t\t\t\tobj[subtrahend[1]] = subtrahend[0];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdate = date.subtract(obj);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'from':\n\n\t\t\t\t\t\t// Display a moment in relative time, either from now or from a specified date.\n\t\t\t\t\t\t// http://momentjs.com/docs/#/displaying/fromnow/\n\n\t\t\t\t\t\tvar from = 'now';\n\t\t\t\t\t\tif (args[0] == 'now') args.shift();\n\n\t\t\t\t\t\tif (moment(args[0]).isValid()) {\n\t\t\t\t\t\t\t// If valid, assume it is a date we want the output computed against.\n\t\t\t\t\t\t\tfrom = moment(args.shift());\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar removeSuffix = false;\n\t\t\t\t\t\tif (args[0] === true) {\n\t\t\t\t\t\t\targs.shift();\n\t\t\t\t\t\t\tvar removeSuffix = true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (from != 'now') {\n\t\t\t\t\t\t\tdate = date.from(from, removeSuffix);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdate = date.fromNow(removeSuffix);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\n\t\t\t\t\tcase 'diff':\n\n\t\t\t\t\t\t// Mutates the original moment by doing a difference with another date.\n\t\t\t\t\t\t// http://momentjs.com/docs/#/displaying/difference/\n\n\t\t\t\t\t\tvar dateDiff = 'now';\n\t\t\t\t\t\tif (args[0] == 'now') args.shift();\n\n\t\t\t\t\t\tif (moment(args[0]).isValid()) {\n\t\t\t\t\t\t\tdateDiff = moment(args.shift());\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar units = '';\n\t\t\t\t\t\tif (args[0]) {\n\t\t\t\t\t\t\tvar units = args.shift();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar floatingValue = false;\n\t\t\t\t\t\tif (args[0] === true) {\n\t\t\t\t\t\t\targs.shift();\n\t\t\t\t\t\t\tvar floatingValue = true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdate = date.diff(dateDiff, units, floatingValue)\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'calendar':\n\n\t\t\t\t\t\t// Formats a date with different strings depending on how close to a certain date (today by default) the date is.\n\t\t\t\t\t\t// http://momentjs.com/docs/#/displaying/calendar-time/\n\n\t\t\t\t\t\tvar referenceTime = moment();\n\n\t\t\t\t\t\tif (moment(args[0]).isValid()) {\n\t\t\t\t\t\t\t// If valid, assume it is a date we want the output computed against.\n\t\t\t\t\t\t\treferenceTime = moment(args.shift());\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdate = date.calendar(referenceTime);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'timezone':\n\t\t\t\t\t\t// Mutates the original moment by converting to a new timezone.\n\t\t\t\t\t\t// https://momentjs.com/timezone/docs/#/using-timezones/converting-to-zone/\n\t\t\t\t\t\tdate = date.tz(args.shift());\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\t// Format\n\t\t\t\t\t\t// Formats a date by taking a string of tokens and replacing them with their corresponding values.\n\t\t\t\t\t\t// http://momentjs.com/docs/#/displaying/format/\n\n\t\t\t\t\t\tvar format = method;\n\t\t\t\t\t\tdate = date.format(format);\n\t\t\t\t}\n\n\t\t\t\tif (args.length) parse.apply(parse, args);\n\t\t\t}\n\n\t\t\tparse.apply(parse, args);\n\n\n\t\t\treturn date;\n\t\t});\n\t},\n};\n","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","var __assign=Object.assign||function(e){for(var a,s=1,t=arguments.length;s