package SGN::View::Mason::Commands;
use strict;
use vars qw($m $c);
HTML::Mason::Component::FileBased->new(
'code' => sub {
use utf8; local $SGN::View::Mason::Commands::m = $HTML::Mason::Commands::m;
HTML::Mason::Exception::Params->throw
    ( error =>
      "Odd number of parameters passed to component expecting name/value pairs"
    ) if @_ % 2;
my ( $pop_id, $list_id, $dataset_id, $data_set_type, $data_structure );
{
    my %pos;
    for ( my $x = 0; $x < @_; $x += 2 )
    {
        $pos{ $_[$x] } = $x + 1;
    }
#line 17 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
     $pop_id = exists $pos{'pop_id'} ? $_[ $pos{'pop_id'} ] :  undef;
#line 18 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
     $list_id = exists $pos{'list_id'} ? $_[ $pos{'list_id'} ] :  undef;
#line 19 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
     $dataset_id = exists $pos{'dataset_id'} ? $_[ $pos{'dataset_id'} ] :  undef;
#line 20 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
     $data_set_type = exists $pos{'data_set_type'} ? $_[ $pos{'data_set_type'} ] :  undef;
#line 21 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
     $data_structure = exists $pos{'data_structure'} ? $_[ $pos{'data_structure'} ] :  undef;
}
$m->debug_hook( $m->current_comp->path ) if ( HTML::Mason::Compiler::IN_PERL_DB() );

#line 14 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print( '
' );
#line 24 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print( '
' );
#line 25 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"


$list_id = $pop_id if $pop_id =~ /list/;

my $combo_pops_id;

if ($c->req->referer =~ /solgs\/selection\// || $data_set_type =~ /combined_populations/) {
$combo_pops_id =  $pop_id
}

$pop_id = undef if $list_id || $combo_pops_id;

#line 38 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print( '
<div id="pca_canvas">
    <div id="pca_message"  class="message"> </div>
    ' );
#line 41 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->comp(   '/solgs/spinner/spinner.mas'  
); #line 41 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print( '
    
    <div id="pca_plot">
      <input type="hidden"  id="training_pop_id" value="' );
#line 44 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print(  $pop_id  );
#line 44 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print( '" />
      <input type="hidden"  id="combo_pops_id" value="' );
#line 45 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print(  $combo_pops_id  );
#line 45 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print( '" />
      <input type="hidden"  id="dataset_id" value="' );
#line 46 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print(  $dataset_id  );
#line 46 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print( '" />
      <input type="hidden"  id="list_id" value="' );
#line 47 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print(  $list_id  );
#line 47 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print( '" />
      <input type="hidden"  id="data_structure" value="' );
#line 48 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print(  $data_structure  );
#line 48 "/home/production/cxgn/sgn/mason/solgs/tools/pca/plot.mas"
$m->print( '" />
    </div>
</div>
' );
;return;
},
'declared_args' => {
  '$data_set_type' => { default => ' undef' },
  '$data_structure' => { default => ' undef' },
  '$dataset_id' => { default => ' undef' },
  '$list_id' => { default => ' undef' },
  '$pop_id' => { default => ' undef' }
},
'load_time' => 1763102299,

)
;