{"size": 2502, "ext": "js", "max_stars_repo_path": "node_modules/.cache/esm/6e2fca9b34e7ddee.js", "max_stars_repo_name": "halcyoona/youtube-api", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "node_modules/.cache/esm/6e2fca9b34e7ddee.js", "max_issues_repo_name": "halcyoona/youtube-api", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node_modules/.cache/esm/6e2fca9b34e7ddee.js", "max_forks_repo_name": "halcyoona/youtube-api", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 39.09375, "max_line_length": 715, "alphanum_fraction": 0.6490807354}
let Charts,CultureInfo,colorSets,cultures,numberFormat,dateFormat;_34e‍.x([["Chart",()=>Chart],["addColorSet",()=>addColorSet],["addCultureInfo",()=>addCultureInfo],["formatNumber",()=>formatNumber],["formatDate",()=>formatDate]]);_34e‍.w("../core/charts",[["default",["Charts"],function(v){Charts=v}]]);_34e‍.w("../core/culture_info",[["default",["CultureInfo"],function(v){CultureInfo=v}]]);_34e‍.w("../constants/themes",[["colorSets",["colorSets"],function(v){colorSets=v}]]);_34e‍.w("../constants/culture",[["cultures",["cultures"],function(v){cultures=v}]]);_34e‍.w("../helpers/utils",[["numberFormat",["numberFormat"],function(v){numberFormat=v}],["dateFormat",["dateFormat"],function(v){dateFormat=v}]]);/**
* @preserve CanvasJS HTML5 & JavaScript Charts - v1.8.0 Beta 2 - http://canvasjs.com/
* CanvasJS Charts follows Dual Licensing Model as mentioned below.
*
* ---------------------Free for Non-Commercial Use--------------------
*
* For non-commercial purposes you can use the software for free under Creative Commons Attribution-NonCommercial 3.0 License. Refer to the following link for further details on the same.
* http://creativecommons.org/licenses/by-nc/3.0/deed.en_US
*
* ---------------------Commercial License--------------------
* Commercial use of CanvasJS requires you to purchase a license. Without a commercial license you can use it for evaluation purposes only. Please refer to the following link for further details.
* http://canvasjs.com/
*
**/






       function Chart(containerId, options) {

  const _chart = new Charts(containerId, options, this);

  this.render = () =>  _chart.render(this.options);

  this.options = _chart._options;
};


       const addColorSet = (name, colorSet) => {

    colorSets[name] = colorSet;

};

       const addCultureInfo = (name, cultureInfo) => {

    cultures[name] = cultureInfo;

};

       const formatNumber = (number, formatString, culture) => {

    culture = culture || "en";
    formatString = formatString || "#,##0.##";

    if (!cultures[culture])throw "Unknown Culture Name";
    else numberFormat(number, formatString, new CultureInfo(culture));

};

       const formatDate = (date, formatString, culture) => {

    culture = culture || "en";
    formatString = formatString || "DD MMM YYYY";

    if (!cultures[culture])throw "Unknown Culture Name";
    else dateFormat(date, formatString, new CultureInfo(culture));

};

Chart.version = "v1.8.2";
