text: // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  // See http://js.arcgis.com/3.25/esri/copyright.txt for details.
  //>>built
  define("esri/dijit/geoenrichment/ReportPlayer/core/charts/utils/builder/columnBarLine/_ComparisonUtil",["../../ChartTypes","../ChartPlots"],function(d,e){return{getComparisonPlotName:function(a,b){return b&&b.chartType===d.LINE&&a!==d.LINE?e.SECONDARY:null},isComparisonInPrimaryPlot:function(a,b){return!this.getComparisonPlotName(a,b)},getEffectiveNumberOfSeries:function(a,b,c){return this.canShowComparison(c,a)?this.isComparisonInPrimaryPlot(b,c)?2*a.length:a.length:a.length},canShowComparison:function(a,
  b){return a&&(1===b.length||2===b.length)},updateSeriesItemsForComparisonInfo:function(a){if(this.canShowComparison(a.comparisonInfo,a.seriesItems)){var b=[];a.seriesItems.forEach(function(c,d){b.push(c);b.push({isComparisonSeries:!0,label:a.selectedComparisonAreaName+(1<a.seriesItems.length?" ("+c.label+")":""),points:c.points.slice()})});a.seriesItemsWithComparison=b}}}});