$_invoke$2 method

dynamic $_invoke$2(
  1. dynamic f$4,
  2. dynamic coll$1
)
override

Implementation

dc.dynamic $_invoke$2(dc.dynamic f$4, dc.dynamic coll$1, ){
return lcoc_core.LazySeq(null, ((){
final dc.dynamic o7603$1=coll$1;
late final dc.dynamic temp$7495_$AUTO_$1;
if((o7603$1 is lcoc_core.ISeqable$iface)){
temp$7495_$AUTO_$1=((o7603$1 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
temp$7495_$AUTO_$1=((lcoc_core.ISeqable.extensions(o7603$1, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$1, ));
}
if(((temp$7495_$AUTO_$1!=false)&&(temp$7495_$AUTO_$1!=null))){
final dc.dynamic s$1=temp$7495_$AUTO_$1;
if(lcoc_core.chunked_seq$QMARK_(s$1, )){
final dc.dynamic c$1=lcoc_core.chunk_first(s$1, );
final dc.dynamic coll7677$1=c$1;
late final dc.int cast$1;
if((coll7677$1 is lcoc_core.ICounted$iface)){
cast$1=(((coll7677$1 as lcoc_core.ICounted$iface).$_count$0()) as dc.int);
}else{
cast$1=(((lcoc_core.ICounted.extensions(coll7677$1, ) as lcoc_core.ICounted$ext).$_count$0(coll7677$1, )) as dc.int);
}
final lcoc_core.ChunkBuffer $1=lcoc_core.chunk_buffer(cast$1, );
final dc.dynamic $2=lcoc_core.chunk_reduce((dc.dynamic p1$9018_$SHARP_$1, dc.dynamic p2$9019_$SHARP_$1, ){
final dc.dynamic G$9023_$1=p1$9018_$SHARP_$1;
late final dc.dynamic $if_$2;
if((f$4 is dc.Function)){
$if_$2=(f$4 as dc.Function)(p2$9019_$SHARP_$1, );
}else if((f$4 is lcoc_core.IFn$iface)){
$if_$2=((f$4 as lcoc_core.IFn$iface).$_invoke$1(p2$9019_$SHARP_$1, ));
}else{
$if_$2=(lcoc_core.IFn.extensions(f$4, ).$_invoke$1(f$4, p2$9019_$SHARP_$1, ));
}
lcoc_core.chunk_append(G$9023_$1, $if_$2, );
return G$9023_$1;
}, $1, c$1, );
final dc.dynamic $3=lcoc_core.chunk($2, );
return lcoc_core.chunk_cons($3, (lcoc_core.map.$_invoke$2(f$4, lcoc_core.chunk_rest(s$1, ), )), );
}
final dc.dynamic arg$2=lcoc_core.first(s$1, );
late final dc.dynamic $if_$3;
if((f$4 is dc.Function)){
$if_$3=(f$4 as dc.Function)(arg$2, );
}else if((f$4 is lcoc_core.IFn$iface)){
$if_$3=((f$4 as lcoc_core.IFn$iface).$_invoke$1(arg$2, ));
}else{
$if_$3=(lcoc_core.IFn.extensions(f$4, ).$_invoke$1(f$4, arg$2, ));
}
return lcoc_core.cons($if_$3, (lcoc_core.map.$_invoke$2(f$4, lcoc_core.rest(s$1, ), )), );
}
return null;
} as dc.dynamic?), null, -1, );
}