{"version":3,"sources":["../assets/scripts/visualization.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"visualization.js","sourcesContent":["jQuery('.soba-visualization').each(function(){\n\tvar title = jQuery(this).attr('data-title');\n\tvar spreadsheetID = jQuery(this).attr('data-spreadsheetid');\n\tvar spreadsheetRange = jQuery(this).attr('data-spreadsheetrange');\n\tvar dataset = jQuery(this).attr('data-dataset');\n\tvar count = jQuery(this).attr('data-count');\n\tvar byDate = jQuery(this).attr('data-bydate');\n\tvar groupBy = jQuery(this).attr('data-groupby');\n\tvar chartType = jQuery(this).attr('data-charttype');\n\tvar showChartTypeSelect = jQuery(this).attr('data-showcharttypeselect');\n\tvar filters = jQuery(this).attr('data-filters');\n\tvar datasetLabels = jQuery(this).attr('data-datasetLabels');\n\tvar labelX = jQuery(this).attr('data-labelX');\n\tvar labelY = jQuery(this).attr('data-labelY');\n\n\tvar spreadsheetChartColumns = jQuery(this).attr('data-spreadsheetChartColumns');\n\tvar summaryText = jQuery(this).attr('data-summaryText');\n\tif(summaryText){\n\t\tsummaryText = JSON.parse(summaryText);\t\n\t}\n\tif(filters){\n\t\tfilters = JSON.parse(filters);\t\n\t}\n\n\tif(datasetLabels){\n\t\tdatasetLabels = JSON.parse(datasetLabels);\t\n\t}\n\n\tif(spreadsheetChartColumns){\n\t\tspreadsheetChartColumns = JSON.parse(spreadsheetChartColumns);\t\n\t}\n\n\tvar props = {\n\t\ttitle: title, \n\t\tspreadsheetId: spreadsheetID,\n\t\tspreadsheetRange: spreadsheetRange,\n\t\tdataset: dataset,\n\t\tcount: count,\n\t\tbyDate: byDate,\n\t\tgroupBy: groupBy,\n\t\tchartType: chartType,\n\t\tshowChartTypeSelect: showChartTypeSelect,\n\t\tspreadsheetChartColumns: spreadsheetChartColumns,\n\t\tfilters: filters,\n\t\tdatasetLabels: datasetLabels,\n\t\tlabelX: labelX,\n\t\tlabelY: labelY,\n\t\tsummaryText: summaryText\n\t};\n\n\tvar elm = jQuery(this)[0];\n\n\tReactDOM.render(React.createElement(SobaVisualization, props), elm);\n});\n//# sourceMappingURL=visualization.js.map"],"sourceRoot":"assets/scripts/"}