This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;$web$components$requirements$requirement$$; | |
function $web$components$requirements$Requirement$$() { | |
React.Component.apply(this, arguments); | |
this.state = null != this.$initLocalState$ ? this.$initLocalState$() : {}; | |
return this; | |
} | |
$web$components$requirements$Requirement$$.prototype = $goog$object$clone$$(); | |
var $x21086_21163$$ = $web$components$requirements$Requirement$$.prototype; | |
$x21086_21163$$.componentWillUpdate = function() { | |
$om$next$merge_pending_props_BANG_$$(this); | |
return $om$next$merge_pending_state_BANG_$$(this); | |
}; | |
$x21086_21163$$.shouldComponentUpdate = function($next_props__12808__auto__$$11$$, $next_state__12809__auto__$$11$$) { | |
var $and__5065__auto__$$68_or__5077__auto__$$71$$ = $cljs$core$not_EQ_$cljs$0core$0IFn$0_invoke$0arity$02$$($om$next$props$$(this), $goog$object$get$$($next_props__12808__auto__$$11$$, "omcljs$value")); | |
if ($and__5065__auto__$$68_or__5077__auto__$$71$$) { | |
return $and__5065__auto__$$68_or__5077__auto__$$71$$; | |
} | |
$and__5065__auto__$$68_or__5077__auto__$$71$$ = this.state; | |
return $cljs$core$truth_$$($and__5065__auto__$$68_or__5077__auto__$$71$$) ? $cljs$core$not_EQ_$cljs$0core$0IFn$0_invoke$0arity$02$$($goog$object$get$$(this.state, "omcljs$state"), $goog$object$get$$($next_state__12809__auto__$$11$$, "omcljs$state")) : $and__5065__auto__$$68_or__5077__auto__$$71$$; | |
}; | |
$x21086_21163$$.componentWillUnmount = function() { | |
var $r__12813__auto__$$5_st__12815__auto__$$5$$ = $om$next$get_reconciler$$(this), $cfg__12814__auto__$$5_indexer__12812__auto__$$10$$ = $cljs$core$cst$0kw$0config$$.$cljs$core$IFn$_invoke$arity$1$($r__12813__auto__$$5_st__12815__auto__$$5$$), $r__12813__auto__$$5_st__12815__auto__$$5$$ = $cljs$core$cst$0kw$0state$$.$cljs$core$IFn$_invoke$arity$1$($cfg__12814__auto__$$5_indexer__12812__auto__$$10$$), $cfg__12814__auto__$$5_indexer__12812__auto__$$10$$ = $cljs$core$cst$0kw$0indexer$$.$cljs$core$IFn$_invoke$arity$1$($cfg__12814__auto__$$5_indexer__12812__auto__$$10$$); | |
null != $r__12813__auto__$$5_st__12815__auto__$$5$$ && $cljs$core$swap_BANG_$$.$cljs$core$IFn$_invoke$arity$variadic$($r__12813__auto__$$5_st__12815__auto__$$5$$, $cljs$core$update_in$$, new $cljs$core$PersistentVector$$(null, 1, 5, $cljs$core$PersistentVector$EMPTY_NODE$$, [$cljs$core$cst$0kw$0om$0next_SLASH_queries$$], null), $cljs$core$dissoc$$, $cljs$core$array_seq$$([this], 0)); | |
return null == $cfg__12814__auto__$$5_indexer__12812__auto__$$10$$ ? null : $om$next$protocols$drop_component_BANG_$$($cfg__12814__auto__$$5_indexer__12812__auto__$$10$$, this); | |
}; | |
$x21086_21163$$.componentDidUpdate = function() { | |
return $om$next$clear_prev_props_BANG_$$(this); | |
}; | |
$x21086_21163$$.isMounted = function() { | |
return $cljs$core$boolean$0$$($goog$object$getValueByKeys$$(this, "_reactInternalInstance", "_renderedComponent")); | |
}; | |
$x21086_21163$$.componentWillMount = function() { | |
var $indexer__12812__auto__$$11$$ = $cljs$core$get_in$cljs$0core$0IFn$0_invoke$0arity$02$$($om$next$get_reconciler$$(this), new $cljs$core$PersistentVector$$(null, 2, 5, $cljs$core$PersistentVector$EMPTY_NODE$$, [$cljs$core$cst$0kw$0config$$, $cljs$core$cst$0kw$0indexer$$], null)); | |
return null == $indexer__12812__auto__$$11$$ ? null : $om$next$protocols$index_component_BANG_$$($indexer__12812__auto__$$11$$, this); | |
}; | |
$x21086_21163$$.$toggle_expanded$ = function() { | |
return $om$next$update_state_BANG_$cljs$0core$0IFn$0_invoke$0arity$04$$(this); | |
}; | |
$x21086_21163$$.render = function($x21086_21163$$8$$) { | |
return function() { | |
var $this__12806__auto__$$13$$ = this, $_STAR_reconciler_STAR_21091$$ = $om$next$_STAR_reconciler_STAR_$$, $_STAR_depth_STAR_21092$$ = $om$next$_STAR_depth_STAR_$$, $_STAR_shared_STAR_21093$$ = $om$next$_STAR_shared_STAR_$$, $_STAR_instrument_STAR_21094$$ = $om$next$_STAR_instrument_STAR_$$, $_STAR_parent_STAR_21095$$ = $om$next$_STAR_parent_STAR_$$; | |
$om$next$_STAR_reconciler_STAR_$$ = $om$next$get_reconciler$$($this__12806__auto__$$13$$); | |
$om$next$_STAR_depth_STAR_$$ = $om$next$depth$$($this__12806__auto__$$13$$) + 1; | |
$om$next$_STAR_shared_STAR_$$ = $om$next$shared$cljs$0core$0IFn$0_invoke$0arity$02$$($this__12806__auto__$$13$$); | |
$om$next$_STAR_instrument_STAR_$$ = $om$next$instrument$$($this__12806__auto__$$13$$); | |
$om$next$_STAR_parent_STAR_$$ = $this__12806__auto__$$13$$; | |
try { | |
var $map__21096$$ = $om$next$props$$($this__12806__auto__$$13$$), $map__21096__$1$$ = null != $map__21096$$ && ($map__21096$$.$cljs$lang$protocol_mask$partition0$$ & 64 || $map__21096$$.$cljs$core$ISeq$$) ? $cljs$core$apply$$.$cljs$core$IFn$_invoke$arity$2$($cljs$core$hash_map$$, $map__21096$$) : $map__21096$$, $name$$115$$ = $cljs$core$get$$.$cljs$core$IFn$_invoke$arity$2$($map__21096__$1$$, $cljs$core$cst$0kw$0name$$), $title$$15$$ = $cljs$core$get$$.$cljs$core$IFn$_invoke$arity$2$($map__21096__$1$$, | |
$cljs$core$cst$0kw$0title$$), $description$$11$$ = $cljs$core$get$$.$cljs$core$IFn$_invoke$arity$2$($map__21096__$1$$, $cljs$core$cst$0kw$0description$$), $children$$145$$ = $cljs$core$get$$.$cljs$core$IFn$_invoke$arity$2$($map__21096__$1$$, $cljs$core$cst$0kw$0children$$), $mapped_to$$6$$ = $cljs$core$get$$.$cljs$core$IFn$_invoke$arity$2$($map__21096__$1$$, $cljs$core$cst$0kw$0mapped_DASH_to$$), $map__21097$$ = $om$next$get_computed$cljs$0core$0IFn$0_invoke$0arity$02$$($this__12806__auto__$$13$$), | |
$map__21097__$1$$ = null != $map__21097$$ && ($map__21097$$.$cljs$lang$protocol_mask$partition0$$ & 64 || $map__21097$$.$cljs$core$ISeq$$) ? $cljs$core$apply$$.$cljs$core$IFn$_invoke$arity$2$($cljs$core$hash_map$$, $map__21097$$) : $map__21097$$, $parent$$37$$ = $cljs$core$get$$.$cljs$core$IFn$_invoke$arity$2$($map__21097__$1$$, $cljs$core$cst$0kw$0parent$$), $map__21098$$ = $om$next$get_state$cljs$0core$0IFn$0_invoke$0arity$02$$($this__12806__auto__$$13$$), $map__21098__$1$$ = null != $map__21098$$ && | |
($map__21098$$.$cljs$lang$protocol_mask$partition0$$ & 64 || $map__21098$$.$cljs$core$ISeq$$) ? $cljs$core$apply$$.$cljs$core$IFn$_invoke$arity$2$($cljs$core$hash_map$$, $map__21098$$) : $map__21098$$, $expanded$$6$$ = $cljs$core$get$$.$cljs$core$IFn$_invoke$arity$2$($map__21098__$1$$, $cljs$core$cst$0kw$0expanded$$), $G__21102$$ = {className:[$cljs$core$str$$("node"), $cljs$core$str$$($cljs$core$truth_$$($parent$$37$$) ? null : " node-root"), $cljs$core$str$$($cljs$core$empty_QMARK_$$($mapped_to$$6$$) ? | |
" node-unsatisfied" : " node-satisfied")].join("")}, $G__21103$$ = $om$util$force_children$$(function() { | |
var $G__21104$$ = {className:"node-header", onClick:function($x21086_21163$$8$$, $this__12806__auto__$$13$$, $_STAR_reconciler_STAR_21091$$, $_STAR_depth_STAR_21092$$, $_STAR_shared_STAR_21093$$, $_STAR_instrument_STAR_21094$$, $_STAR_parent_STAR_21095$$, $map__21096$$, $map__21096__$1$$, $name$$115$$, $title$$15$$, $description$$11$$, $children$$145$$, $mapped_to$$6$$, $map__21097$$, $parent$$37$$, $map__21097__$1$$, $map__21098$$, $G__21104$$, $map__21098__$1$$) { | |
return function() { | |
return $map__21098__$1$$.$toggle_expanded$(); | |
}; | |
}($G__21102$$, $map__21096$$, $map__21096__$1$$, $name$$115$$, $title$$15$$, $description$$11$$, $children$$145$$, $mapped_to$$6$$, $map__21097$$, $map__21097__$1$$, $parent$$37$$, $map__21098$$, $map__21098__$1$$, $expanded$$6$$, $_STAR_reconciler_STAR_21091$$, $_STAR_depth_STAR_21092$$, $_STAR_shared_STAR_21093$$, $_STAR_instrument_STAR_21094$$, $_STAR_parent_STAR_21095$$, $this__12806__auto__$$13$$, $this__12806__auto__$$13$$, $x21086_21163$$8$$)}, $G__21107$$ = $om$util$force_children$$(function() { | |
var $x21086_21163$$8$$ = $om$util$force_children$$($title$$15$$); | |
return React.DOM.span({className:"node-header-title"}, $x21086_21163$$8$$); | |
}()), $G__21108$$ = $om$util$force_children$$(function() { | |
var $x21086_21163$$8$$ = $om$util$force_children$$($name$$115$$); | |
return React.DOM.span({className:"node-header-name"}, $x21086_21163$$8$$); | |
}()); | |
return React.DOM.h2($G__21104$$, $G__21107$$, $G__21108$$); | |
}()), $G__21104$$ = $om$util$force_children$$(function() { | |
var $G__21104$$ = {className:[$cljs$core$str$$("node-details"), $cljs$core$str$$($cljs$core$truth_$$($expanded$$6$$) ? " node-details-expanded" : " node-details-collapsed")].join("")}, $G__21114$$ = $om$util$force_children$$(function() { | |
var $G__21115$$ = {className:"node-details-table"}, $G__21114$$ = $om$util$force_children$$($cljs$core$truth_$$($description$$11$$) ? function() { | |
var $x21086_21163$$8$$ = $om$util$force_children$$(function() { | |
var $x21086_21163$$8$$ = $om$util$force_children$$("Description"); | |
return React.DOM.div({className:"node-detail-label"}, $x21086_21163$$8$$); | |
}()), $this__12806__auto__$$13$$ = $om$util$force_children$$(function() { | |
var $x21086_21163$$8$$; | |
$x21086_21163$$8$$ = new $cljs$core$PersistentArrayMap$$(null, 1, [$cljs$core$cst$0kw$0text$$, $description$$11$$], null); | |
$x21086_21163$$8$$ = $web$components$markdown$markdown$$.$cljs$core$IFn$_invoke$arity$1$ ? $web$components$markdown$markdown$$.$cljs$core$IFn$_invoke$arity$1$($x21086_21163$$8$$) : $web$components$markdown$markdown$$.call(null, $x21086_21163$$8$$); | |
$x21086_21163$$8$$ = $om$util$force_children$$($x21086_21163$$8$$); | |
return React.DOM.div({className:"node-detail-content"}, $x21086_21163$$8$$); | |
}()); | |
return React.DOM.div({className:"node-detail"}, $x21086_21163$$8$$, $this__12806__auto__$$13$$); | |
}() : null), $G__21117$$ = $om$util$force_children$$($cljs$core$truth_$$($parent$$37$$) ? function() { | |
var $x21086_21163$$8$$ = $om$util$force_children$$(function() { | |
var $x21086_21163$$8$$ = $om$util$force_children$$("NodeLink"); | |
return React.DOM.div({className:"node-detail-label"}, $x21086_21163$$8$$); | |
}()), $this__12806__auto__$$13$$ = $om$util$force_children$$(function() { | |
var $x21086_21163$$8$$ = $om$util$force_children$$($web$components$node_link$node_link$$.$cljs$core$IFn$_invoke$arity$1$ ? $web$components$node_link$node_link$$.$cljs$core$IFn$_invoke$arity$1$($parent$$37$$) : $web$components$node_link$node_link$$.call(null, $parent$$37$$)); | |
return React.DOM.div({className:"node-detail-content"}, $x21086_21163$$8$$); | |
}()); | |
return React.DOM.div({className:"node-detail"}, $x21086_21163$$8$$, $this__12806__auto__$$13$$); | |
}() : null), $G__21105$$ = $om$util$force_children$$(function() { | |
var $G__21105$$ = {className:"node-detail"}, $G__21118$$ = $om$util$force_children$$(function() { | |
var $x21086_21163$$8$$ = $om$util$force_children$$("Mapped to"); | |
return React.DOM.div({className:"node-detail-label"}, $x21086_21163$$8$$); | |
}()), $G__21136$$ = $om$util$force_children$$(function() { | |
var $G__21136$$ = {className:"node-detail-content"}, $G__21140$$ = $om$util$force_children$$($cljs$core$empty_QMARK_$$($mapped_to$$6$$) ? function() { | |
var $x21086_21163$$8$$ = $om$util$force_children$$("Not mapped to any components yet."); | |
return React.DOM.div({className:"error"}, $x21086_21163$$8$$); | |
}() : function() { | |
return function($x21086_21163$$8$$, $this__12806__auto__$$13$$, $_STAR_reconciler_STAR_21091$$, $_STAR_depth_STAR_21092$$, $_STAR_shared_STAR_21093$$, $_STAR_instrument_STAR_21094$$, $_STAR_parent_STAR_21095$$, $map__21096$$, $map__21096__$1$$, $name$$115$$, $title$$15$$, $description$$11$$, $children$$145$$, $mapped_to$$6$$, $map__21097$$, $parent$$37$$, $map__21097__$1$$, $map__21098$$, $G__21104$$, $map__21098__$1$$, $expanded$$6$$, $G__21115$$, $G__21113$$, $G__21114$$, $G__21102$$, | |
$G__21116$$, $G__21105$$, $G__21117$$, $G__21103$$, $G__21118$$) { | |
return function $web$components$requirements$iter__21143$$($G__21136$$) { | |
return new $cljs$core$LazySeq$$(null, function() { | |
return function() { | |
for (;;) { | |
var $x21086_21163$$8$$ = $cljs$core$seq$$($G__21136$$); | |
if ($x21086_21163$$8$$) { | |
if ($cljs$core$chunked_seq_QMARK_$$($x21086_21163$$8$$)) { | |
var $this__12806__auto__$$13$$ = $cljs$core$_chunked_first$$($x21086_21163$$8$$), $_STAR_reconciler_STAR_21091$$ = $cljs$core$count$$($this__12806__auto__$$13$$), $_STAR_depth_STAR_21092$$ = $cljs$core$chunk_buffer$$($_STAR_reconciler_STAR_21091$$); | |
a: { | |
for (var $_STAR_shared_STAR_21093$$ = 0;;) { | |
if ($_STAR_shared_STAR_21093$$ < $_STAR_reconciler_STAR_21091$$) { | |
var $_STAR_instrument_STAR_21094$$ = $cljs$core$_nth$$.$cljs$core$IFn$_invoke$arity$2$($this__12806__auto__$$13$$, $_STAR_shared_STAR_21093$$), $_STAR_instrument_STAR_21094$$ = $web$components$node_link$node_link$$.$cljs$core$IFn$_invoke$arity$1$ ? $web$components$node_link$node_link$$.$cljs$core$IFn$_invoke$arity$1$($_STAR_instrument_STAR_21094$$) : $web$components$node_link$node_link$$.call(null, $_STAR_instrument_STAR_21094$$); | |
$_STAR_depth_STAR_21092$$.add($_STAR_instrument_STAR_21094$$); | |
$_STAR_shared_STAR_21093$$ += 1; | |
} else { | |
$this__12806__auto__$$13$$ = !0; | |
break a; | |
} | |
} | |
} | |
return $this__12806__auto__$$13$$ ? $cljs$core$chunk_cons$$($cljs$core$chunk$$($_STAR_depth_STAR_21092$$), $web$components$requirements$iter__21143$$($cljs$core$_chunked_rest$$($x21086_21163$$8$$))) : $cljs$core$chunk_cons$$($cljs$core$chunk$$($_STAR_depth_STAR_21092$$), null); | |
} | |
$_STAR_depth_STAR_21092$$ = $cljs$core$first$$($x21086_21163$$8$$); | |
return $cljs$core$cons$$($web$components$node_link$node_link$$.$cljs$core$IFn$_invoke$arity$1$ ? $web$components$node_link$node_link$$.$cljs$core$IFn$_invoke$arity$1$($_STAR_depth_STAR_21092$$) : $web$components$node_link$node_link$$.call(null, $_STAR_depth_STAR_21092$$), $web$components$requirements$iter__21143$$($cljs$core$rest$$($x21086_21163$$8$$))); | |
} | |
return null; | |
} | |
}; | |
}($x21086_21163$$8$$, $this__12806__auto__$$13$$, $_STAR_reconciler_STAR_21091$$, $_STAR_depth_STAR_21092$$, $_STAR_shared_STAR_21093$$, $_STAR_instrument_STAR_21094$$, $_STAR_parent_STAR_21095$$, $map__21096$$, $map__21096__$1$$, $name$$115$$, $title$$15$$, $description$$11$$, $children$$145$$, $mapped_to$$6$$, $map__21097$$, $parent$$37$$, $map__21097__$1$$, $map__21098$$, $G__21104$$, $map__21098__$1$$, $expanded$$6$$, $G__21115$$, $G__21113$$, $G__21114$$, $G__21102$$, $G__21116$$, | |
$G__21105$$, $G__21117$$, $G__21103$$, $G__21118$$), null, null); | |
}; | |
}($G__21136$$, $G__21105$$, $G__21118$$, $G__21115$$, $G__21114$$, $G__21117$$, $G__21104$$, $G__21102$$, $G__21103$$, $map__21096$$, $map__21096__$1$$, $name$$115$$, $title$$15$$, $description$$11$$, $children$$145$$, $mapped_to$$6$$, $map__21097$$, $map__21097__$1$$, $parent$$37$$, $map__21098$$, $map__21098__$1$$, $expanded$$6$$, $_STAR_reconciler_STAR_21091$$, $_STAR_depth_STAR_21092$$, $_STAR_shared_STAR_21093$$, $_STAR_instrument_STAR_21094$$, $_STAR_parent_STAR_21095$$, $this__12806__auto__$$13$$, | |
$this__12806__auto__$$13$$, $x21086_21163$$8$$)($mapped_to$$6$$); | |
}()); | |
return React.DOM.div($G__21136$$, $G__21140$$); | |
}()); | |
return React.DOM.div($G__21105$$, $G__21118$$, $G__21136$$); | |
}()); | |
return React.DOM.div($G__21115$$, $G__21114$$, $G__21117$$, $G__21105$$); | |
}()); | |
return React.DOM.div($G__21104$$, $G__21114$$); | |
}()), $G__21105$$ = $om$util$force_children$$(function() { | |
var $G__21149$$ = {className:"node-subnodes"}, $G__21150$$ = $om$util$force_children$$(function() { | |
return function($x21086_21163$$8$$, $this__12806__auto__$$13$$, $_STAR_reconciler_STAR_21091$$, $_STAR_depth_STAR_21092$$, $_STAR_shared_STAR_21093$$, $_STAR_instrument_STAR_21094$$, $_STAR_parent_STAR_21095$$, $map__21096$$, $map__21096__$1$$, $name$$115$$, $title$$15$$, $description$$11$$, $children$$145$$, $mapped_to$$6$$, $map__21097$$, $parent$$37$$, $map__21097__$1$$, $map__21098$$, $G__21104$$, $map__21098__$1$$, $expanded$$6$$, $G__21149$$, $G__21150$$, $G__21102$$, $G__21105$$) { | |
return function $web$components$requirements$iter__21151$$($G__21103$$) { | |
return new $cljs$core$LazySeq$$(null, function($x21086_21163$$8$$, $this__12806__auto__$$13$$, $_STAR_reconciler_STAR_21091$$, $_STAR_depth_STAR_21092$$, $_STAR_shared_STAR_21093$$, $_STAR_instrument_STAR_21094$$, $_STAR_parent_STAR_21095$$, $map__21096$$, $map__21096__$1$$, $name$$115$$, $title$$15$$, $description$$11$$, $children$$145$$, $mapped_to$$6$$, $map__21097$$, $parent$$37$$, $map__21097__$1$$, $map__21098$$, $G__21104$$, $map__21098__$1$$, $expanded$$6$$, $G__21149$$1$$, | |
$G__21149$$) { | |
return function() { | |
for (;;) { | |
var $x21086_21163$$8$$ = $cljs$core$seq$$($G__21103$$); | |
if ($x21086_21163$$8$$) { | |
if ($cljs$core$chunked_seq_QMARK_$$($x21086_21163$$8$$)) { | |
var $this__12806__auto__$$13$$ = $cljs$core$_chunked_first$$($x21086_21163$$8$$), $_STAR_reconciler_STAR_21091$$ = $cljs$core$count$$($this__12806__auto__$$13$$), $_STAR_depth_STAR_21092$$ = $cljs$core$chunk_buffer$$($_STAR_reconciler_STAR_21091$$); | |
return function() { | |
for (var $x21086_21163$$8$$ = 0;;) { | |
if ($x21086_21163$$8$$ < $_STAR_reconciler_STAR_21091$$) { | |
var $_STAR_shared_STAR_21093$$ = $cljs$core$_nth$$.$cljs$core$IFn$_invoke$arity$2$($this__12806__auto__$$13$$, $x21086_21163$$8$$), $_STAR_instrument_STAR_21094$$ = $_STAR_depth_STAR_21092$$, $_STAR_shared_STAR_21093$$ = $om$next$computed$$($_STAR_shared_STAR_21093$$, new $cljs$core$PersistentArrayMap$$(null, 1, [$cljs$core$cst$0kw$0parent$$, $om$next$props$$($G__21149$$)], null)), $_STAR_shared_STAR_21093$$ = $web$components$requirements$requirement$$.$cljs$core$IFn$_invoke$arity$1$ ? | |
$web$components$requirements$requirement$$.$cljs$core$IFn$_invoke$arity$1$($_STAR_shared_STAR_21093$$) : $web$components$requirements$requirement$$.call(null, $_STAR_shared_STAR_21093$$); | |
$_STAR_instrument_STAR_21094$$.add($_STAR_shared_STAR_21093$$); | |
$x21086_21163$$8$$ += 1; | |
} else { | |
return !0; | |
} | |
} | |
}() ? $cljs$core$chunk_cons$$($cljs$core$chunk$$($_STAR_depth_STAR_21092$$), $web$components$requirements$iter__21151$$($cljs$core$_chunked_rest$$($x21086_21163$$8$$))) : $cljs$core$chunk_cons$$($cljs$core$chunk$$($_STAR_depth_STAR_21092$$), null); | |
} | |
var $_STAR_shared_STAR_21093$$ = $cljs$core$first$$($x21086_21163$$8$$); | |
return $cljs$core$cons$$(function() { | |
var $x21086_21163$$8$$ = $om$next$computed$$($_STAR_shared_STAR_21093$$, new $cljs$core$PersistentArrayMap$$(null, 1, [$cljs$core$cst$0kw$0parent$$, $om$next$props$$($G__21149$$)], null)); | |
return $web$components$requirements$requirement$$.$cljs$core$IFn$_invoke$arity$1$ ? $web$components$requirements$requirement$$.$cljs$core$IFn$_invoke$arity$1$($x21086_21163$$8$$) : $web$components$requirements$requirement$$.call(null, $x21086_21163$$8$$); | |
}(), $web$components$requirements$iter__21151$$($cljs$core$rest$$($x21086_21163$$8$$))); | |
} | |
return null; | |
} | |
}; | |
}($x21086_21163$$8$$, $this__12806__auto__$$13$$, $_STAR_reconciler_STAR_21091$$, $_STAR_depth_STAR_21092$$, $_STAR_shared_STAR_21093$$, $_STAR_instrument_STAR_21094$$, $_STAR_parent_STAR_21095$$, $map__21096$$, $map__21096__$1$$, $name$$115$$, $title$$15$$, $description$$11$$, $children$$145$$, $mapped_to$$6$$, $map__21097$$, $parent$$37$$, $map__21097__$1$$, $map__21098$$, $G__21104$$, $map__21098__$1$$, $expanded$$6$$, $G__21149$$, $G__21150$$, $G__21102$$, $G__21105$$), null, null); | |
}; | |
}($G__21149$$, $G__21102$$, $G__21103$$, $G__21104$$, $map__21096$$, $map__21096__$1$$, $name$$115$$, $title$$15$$, $description$$11$$, $children$$145$$, $mapped_to$$6$$, $map__21097$$, $map__21097__$1$$, $parent$$37$$, $map__21098$$, $map__21098__$1$$, $expanded$$6$$, $_STAR_reconciler_STAR_21091$$, $_STAR_depth_STAR_21092$$, $_STAR_shared_STAR_21093$$, $_STAR_instrument_STAR_21094$$, $_STAR_parent_STAR_21095$$, $this__12806__auto__$$13$$, $this__12806__auto__$$13$$, $x21086_21163$$8$$)($children$$145$$); | |
}()); | |
return React.DOM.div($G__21149$$, $G__21150$$); | |
}()); | |
return React.DOM.div($G__21102$$, $G__21103$$, $G__21104$$, $G__21105$$); | |
} finally { | |
$om$next$_STAR_parent_STAR_$$ = $_STAR_parent_STAR_21095$$, $om$next$_STAR_instrument_STAR_$$ = $_STAR_instrument_STAR_21094$$, $om$next$_STAR_shared_STAR_$$ = $_STAR_shared_STAR_21093$$, $om$next$_STAR_depth_STAR_$$ = $_STAR_depth_STAR_21092$$, $om$next$_STAR_reconciler_STAR_$$ = $_STAR_reconciler_STAR_21091$$; | |
} | |
}; | |
}($x21086_21163$$); | |
$web$components$requirements$Requirement$$.prototype.constructor = $web$components$requirements$Requirement$$; | |
$web$components$requirements$Requirement$$.prototype.$om$isComponent$ = !0; | |
var $x21162_21167$$ = $web$components$requirements$Requirement$$.prototype; | |
$x21162_21167$$.$om$next$Ident$$ = !0; | |
$x21162_21167$$.$om$next$Ident$ident$arity$2$ = function($this$$$194$$, $props$$155$$) { | |
return new $cljs$core$PersistentVector$$(null, 2, 5, $cljs$core$PersistentVector$EMPTY_NODE$$, [$cljs$core$cst$0kw$0node$$, $cljs$core$cst$0kw$0name$$.$cljs$core$IFn$_invoke$arity$1$($props$$155$$)], null); | |
}; | |
$x21162_21167$$.$om$next$IQuery$$ = !0; | |
$x21162_21167$$.$om$next$IQuery$query$arity$1$ = function() { | |
return new $cljs$core$PersistentVector$$(null, 7, 5, $cljs$core$PersistentVector$EMPTY_NODE$$, [$cljs$core$cst$0kw$0name$$, $cljs$core$cst$0kw$0title$$, $cljs$core$cst$0kw$0kind$$, $cljs$core$cst$0kw$0description$$, new $cljs$core$PersistentArrayMap$$(null, 1, [$cljs$core$cst$0kw$0parent$$, $om$next$get_query$$($web$components$node_link$NodeLink$$)], null), new $cljs$core$PersistentArrayMap$$(null, 1, [$cljs$core$cst$0kw$0children$$, $cljs$core$cst$0sym$0$0$0$0$$], null), new $cljs$core$PersistentArrayMap$$(null, | |
1, [$cljs$core$cst$0kw$0mapped_DASH_to$$, $om$next$get_query$$($web$components$node_link$NodeLink$$)], null)], null); | |
}; | |
var $web$components$requirements$requirement$$ = $om$next$factory$cljs$0core$0IFn$0_invoke$0arity$02$$($web$components$requirements$Requirement$$, new $cljs$core$PersistentArrayMap$$(null, 1, [$cljs$core$cst$0kw$0key_DASH_fn$$, $cljs$core$cst$0kw$0name$$], null)); | |
function $web$components$requirements$Requirements$$() { | |
React.Component.apply(this, arguments); | |
this.state = null != this.$initLocalState$ ? this.$initLocalState$() : {}; | |
return this; | |
} | |
$web$components$requirements$Requirements$$.prototype = $goog$object$clone$$(); | |
var $x21173_21193$$ = $web$components$requirements$Requirements$$.prototype; | |
$x21173_21193$$.componentWillUpdate = function() { | |
$om$next$merge_pending_props_BANG_$$(this); | |
return $om$next$merge_pending_state_BANG_$$(this); | |
}; | |
$x21173_21193$$.shouldComponentUpdate = function($next_props__12808__auto__$$13$$, $next_state__12809__auto__$$13$$) { | |
var $and__5065__auto__$$69_or__5077__auto__$$72$$ = $cljs$core$not_EQ_$cljs$0core$0IFn$0_invoke$0arity$02$$($om$next$props$$(this), $goog$object$get$$($next_props__12808__auto__$$13$$, "omcljs$value")); | |
if ($and__5065__auto__$$69_or__5077__auto__$$72$$) { | |
return $and__5065__auto__$$69_or__5077__auto__$$72$$; | |
} | |
$and__5065__auto__$$69_or__5077__auto__$$72$$ = this.state; | |
return $cljs$core$truth_$$($and__5065__auto__$$69_or__5077__auto__$$72$$) ? $cljs$core$not_EQ_$cljs$0core$0IFn$0_invoke$0arity$02$$($goog$object$get$$(this.state, "omcljs$state"), $goog$object$get$$($next_state__12809__auto__$$13$$, "omcljs$state")) : $and__5065__auto__$$69_or__5077__auto__$$72$$; | |
}; | |
$x21173_21193$$.componentWillUnmount = function() { | |
var $r__12813__auto__$$6_st__12815__auto__$$6$$ = $om$next$get_reconciler$$(this), $cfg__12814__auto__$$6_indexer__12812__auto__$$12$$ = $cljs$core$cst$0kw$0config$$.$cljs$core$IFn$_invoke$arity$1$($r__12813__auto__$$6_st__12815__auto__$$6$$), $r__12813__auto__$$6_st__12815__auto__$$6$$ = $cljs$core$cst$0kw$0state$$.$cljs$core$IFn$_invoke$arity$1$($cfg__12814__auto__$$6_indexer__12812__auto__$$12$$), $cfg__12814__auto__$$6_indexer__12812__auto__$$12$$ = $cljs$core$cst$0kw$0indexer$$.$cljs$core$IFn$_invoke$arity$1$($cfg__12814__auto__$$6_indexer__12812__auto__$$12$$); | |
null != $r__12813__auto__$$6_st__12815__auto__$$6$$ && $cljs$core$swap_BANG_$$.$cljs$core$IFn$_invoke$arity$variadic$($r__12813__auto__$$6_st__12815__auto__$$6$$, $cljs$core$update_in$$, new $cljs$core$PersistentVector$$(null, 1, 5, $cljs$core$PersistentVector$EMPTY_NODE$$, [$cljs$core$cst$0kw$0om$0next_SLASH_queries$$], null), $cljs$core$dissoc$$, $cljs$core$array_seq$$([this], 0)); | |
return null == $cfg__12814__auto__$$6_indexer__12812__auto__$$12$$ ? null : $om$next$protocols$drop_component_BANG_$$($cfg__12814__auto__$$6_indexer__12812__auto__$$12$$, this); | |
}; | |
$x21173_21193$$.componentDidUpdate = function() { | |
return $om$next$clear_prev_props_BANG_$$(this); | |
}; | |
$x21173_21193$$.isMounted = function() { | |
return $cljs$core$boolean$0$$($goog$object$getValueByKeys$$(this, "_reactInternalInstance", "_renderedComponent")); | |
}; | |
$x21173_21193$$.componentWillMount = function() { | |
var $indexer__12812__auto__$$13$$ = $cljs$core$get_in$cljs$0core$0IFn$0_invoke$0arity$02$$($om$next$get_reconciler$$(this), new $cljs$core$PersistentVector$$(null, 2, 5, $cljs$core$PersistentVector$EMPTY_NODE$$, [$cljs$core$cst$0kw$0config$$, $cljs$core$cst$0kw$0indexer$$], null)); | |
return null == $indexer__12812__auto__$$13$$ ? null : $om$next$protocols$index_component_BANG_$$($indexer__12812__auto__$$13$$, this); | |
}; | |
$x21173_21193$$.render = function($x21173_21193$$7$$) { | |
return function() { | |
var $this__12806__auto__$$19$$ = this, $_STAR_reconciler_STAR_21178$$ = $om$next$_STAR_reconciler_STAR_$$, $_STAR_depth_STAR_21179$$ = $om$next$_STAR_depth_STAR_$$, $_STAR_shared_STAR_21180$$ = $om$next$_STAR_shared_STAR_$$, $_STAR_instrument_STAR_21181$$ = $om$next$_STAR_instrument_STAR_$$, $_STAR_parent_STAR_21182$$ = $om$next$_STAR_parent_STAR_$$; | |
$om$next$_STAR_reconciler_STAR_$$ = $om$next$get_reconciler$$($this__12806__auto__$$19$$); | |
$om$next$_STAR_depth_STAR_$$ = $om$next$depth$$($this__12806__auto__$$19$$) + 1; | |
$om$next$_STAR_shared_STAR_$$ = $om$next$shared$cljs$0core$0IFn$0_invoke$0arity$02$$($this__12806__auto__$$19$$); | |
$om$next$_STAR_instrument_STAR_$$ = $om$next$instrument$$($this__12806__auto__$$19$$); | |
$om$next$_STAR_parent_STAR_$$ = $this__12806__auto__$$19$$; | |
try { | |
var $items$$5$$ = $cljs$core$cst$0kw$0requirements$$.$cljs$core$IFn$_invoke$arity$1$($om$next$props$$($this__12806__auto__$$19$$)), $G__21183$$ = {className:"nodes"}, $G__21184$$ = $om$util$force_children$$(function() { | |
var $G__21184$$ = function($x21173_21193$$7$$, $this__12806__auto__$$19$$, $_STAR_reconciler_STAR_21178$$, $_STAR_depth_STAR_21179$$, $_STAR_shared_STAR_21180$$, $_STAR_instrument_STAR_21181$$, $_STAR_parent_STAR_21182$$, $items$$5$$, $G__21183$$, $G__21184$$) { | |
return function $web$components$requirements$iter__21185$$($iter__5849__auto__$$7$$) { | |
return new $cljs$core$LazySeq$$(null, function() { | |
return function() { | |
for (;;) { | |
var $x21173_21193$$7$$ = $cljs$core$seq$$($iter__5849__auto__$$7$$); | |
if ($x21173_21193$$7$$) { | |
if ($cljs$core$chunked_seq_QMARK_$$($x21173_21193$$7$$)) { | |
var $this__12806__auto__$$19$$ = $cljs$core$_chunked_first$$($x21173_21193$$7$$), $_STAR_reconciler_STAR_21178$$ = $cljs$core$count$$($this__12806__auto__$$19$$), $_STAR_depth_STAR_21179$$ = $cljs$core$chunk_buffer$$($_STAR_reconciler_STAR_21178$$); | |
a: { | |
for (var $_STAR_shared_STAR_21180$$ = 0;;) { | |
if ($_STAR_shared_STAR_21180$$ < $_STAR_reconciler_STAR_21178$$) { | |
var $_STAR_instrument_STAR_21181$$ = $cljs$core$_nth$$.$cljs$core$IFn$_invoke$arity$2$($this__12806__auto__$$19$$, $_STAR_shared_STAR_21180$$), $_STAR_instrument_STAR_21181$$ = $web$components$requirements$requirement$$.$cljs$core$IFn$_invoke$arity$1$ ? $web$components$requirements$requirement$$.$cljs$core$IFn$_invoke$arity$1$($_STAR_instrument_STAR_21181$$) : $web$components$requirements$requirement$$.call(null, $_STAR_instrument_STAR_21181$$); | |
$_STAR_depth_STAR_21179$$.add($_STAR_instrument_STAR_21181$$); | |
$_STAR_shared_STAR_21180$$ += 1; | |
} else { | |
$this__12806__auto__$$19$$ = !0; | |
break a; | |
} | |
} | |
} | |
return $this__12806__auto__$$19$$ ? $cljs$core$chunk_cons$$($cljs$core$chunk$$($_STAR_depth_STAR_21179$$), $web$components$requirements$iter__21185$$($cljs$core$_chunked_rest$$($x21173_21193$$7$$))) : $cljs$core$chunk_cons$$($cljs$core$chunk$$($_STAR_depth_STAR_21179$$), null); | |
} | |
$_STAR_depth_STAR_21179$$ = $cljs$core$first$$($x21173_21193$$7$$); | |
return $cljs$core$cons$$($web$components$requirements$requirement$$.$cljs$core$IFn$_invoke$arity$1$ ? $web$components$requirements$requirement$$.$cljs$core$IFn$_invoke$arity$1$($_STAR_depth_STAR_21179$$) : $web$components$requirements$requirement$$.call(null, $_STAR_depth_STAR_21179$$), $web$components$requirements$iter__21185$$($cljs$core$rest$$($x21173_21193$$7$$))); | |
} | |
return null; | |
} | |
}; | |
}($x21173_21193$$7$$, $this__12806__auto__$$19$$, $_STAR_reconciler_STAR_21178$$, $_STAR_depth_STAR_21179$$, $_STAR_shared_STAR_21180$$, $_STAR_instrument_STAR_21181$$, $_STAR_parent_STAR_21182$$, $items$$5$$, $G__21183$$, $G__21184$$), null, null); | |
}; | |
}($G__21183$$, $items$$5$$, $_STAR_reconciler_STAR_21178$$, $_STAR_depth_STAR_21179$$, $_STAR_shared_STAR_21180$$, $_STAR_instrument_STAR_21181$$, $_STAR_parent_STAR_21182$$, $this__12806__auto__$$19$$, $this__12806__auto__$$19$$, $x21173_21193$$7$$); | |
return $G__21184$$($cljs$core$filter$cljs$0core$0IFn$0_invoke$0arity$02$$(function() { | |
return function($x21173_21193$$7$$) { | |
return null == $cljs$core$cst$0kw$0parent$$.$cljs$core$IFn$_invoke$arity$1$($x21173_21193$$7$$); | |
}; | |
}($G__21184$$, $G__21183$$, $items$$5$$, $_STAR_reconciler_STAR_21178$$, $_STAR_depth_STAR_21179$$, $_STAR_shared_STAR_21180$$, $_STAR_instrument_STAR_21181$$, $_STAR_parent_STAR_21182$$, $this__12806__auto__$$19$$, $this__12806__auto__$$19$$, $x21173_21193$$7$$), $items$$5$$)); | |
}()); | |
return React.DOM.div($G__21183$$, $G__21184$$); | |
} finally { | |
$om$next$_STAR_parent_STAR_$$ = $_STAR_parent_STAR_21182$$, $om$next$_STAR_instrument_STAR_$$ = $_STAR_instrument_STAR_21181$$, $om$next$_STAR_shared_STAR_$$ = $_STAR_shared_STAR_21180$$, $om$next$_STAR_depth_STAR_$$ = $_STAR_depth_STAR_21179$$, $om$next$_STAR_reconciler_STAR_$$ = $_STAR_reconciler_STAR_21178$$; | |
} | |
}; | |
}($x21173_21193$$); | |
$web$components$requirements$Requirements$$.prototype.constructor = $web$components$requirements$Requirements$$; | |
$web$components$requirements$Requirements$$.prototype.$om$isComponent$ = !0; | |
var $web$components$requirements$requirements$$ = $om$next$factory$cljs$0core$0IFn$0_invoke$0arity$02$$($web$components$requirements$Requirements$$, null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment