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 ( $root_nodes, $db_name, $expand );
{
    my %pos;
    for ( my $x = 0; $x < @_; $x += 2 )
    {
        $pos{ $_[$x] } = $x + 1;
    }
#line 3 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
     $root_nodes = exists $pos{'root_nodes'} ? $_[ $pos{'root_nodes'} ] :  undef;
#line 4 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
     $db_name = exists $pos{'db_name'} ? $_[ $pos{'db_name'} ] :  undef;
#line 5 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
     $expand = exists $pos{'expand'} ? $_[ $pos{'expand'} ] :  undef;
}
$m->debug_hook( $m->current_comp->path ) if ( HTML::Mason::Compiler::IN_PERL_DB() );

#line 1 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
$m->print( '
' );
#line 7 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
$m->print( '
' );
#line 8 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
$m->comp(   '/page/page_title.mas', title=>"Ontology browser"   
); #line 8 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
$m->print( '

' );
#line 10 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
$m->comp( { content => sub {
#line 10 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
$m->print( '
  ' );
#line 11 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
$m->comp(   '/ontology/browser.mas', root_nodes=>$root_nodes, db_name=>$db_name, expand=>$expand   
); #line 11 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
$m->print( '
' );
#line 12 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
} }, '/page/info_section.mas', title=>"Search and browse ontologies", collapsible=>1
 );
#line 12 "/home/production/cxgn/sgn/mason/ontology/standalone.mas"
$m->print( '

  

' );
;return;
},
'declared_args' => {
  '$db_name' => { default => ' undef' },
  '$expand' => { default => ' undef' },
  '$root_nodes' => { default => ' undef' }
},
'load_time' => 1763246702,

)
;