From 40acf5c7b65ab49f594de887dc162de819f31c12 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 24 Aug 2020 11:58:44 +0200 Subject: [PATCH] Aligning for 0.9.0 release; License change to more permissive --- LICENSE | 3 +- public/js/out/titanoboa/core.js | 18 +- public/js/out/titanoboa/designer.js | 2527 ++++++++++++++------------- public/js/out/titanoboa/jobs.js | 210 +-- public/js/titanoboa.js | 26 +- 5 files changed, 1397 insertions(+), 1387 deletions(-) diff --git a/LICENSE b/LICENSE index 0eaee64..605dc99 100644 --- a/LICENSE +++ b/LICENSE @@ -1 +1,2 @@ -Free for Non-commercial use. +Copyright (c) Miroslav Kubicek. All rights reserved. +Free for personal and commercial use. diff --git a/public/js/out/titanoboa/core.js b/public/js/out/titanoboa/core.js index f268d32..2839638 100644 --- a/public/js/out/titanoboa/core.js +++ b/public/js/out/titanoboa/core.js @@ -33,20 +33,20 @@ var user = reagent.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); return ((function (user){ return (function (){ return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"id","id",-1388402092),"login-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"login-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"login-modal",new cljs.core.Keyword(null,"data-backdrop","data-backdrop",-509065649),"static"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"login-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"15%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"login-modal-content"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"src","src",-1651076051),"images/logo_black.svg",new cljs.core.Keyword(null,"height","height",1025178622),(172),new cljs.core.Keyword(null,"title","title",636505583),"\"Why should anyone be frightened by a hat?\"",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"display","display",242065432),"block",new cljs.core.Keyword(null,"margin","margin",-995903681),"auto"], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"text-align","text-align",1786091845),"center",new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"700"], null)], null),"Please log in:"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.input-group.editor-field","div.input-group.editor-field",-606889894),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label"], null),"Username"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,user)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (user){ -return (function (p1__9662_SHARP_){ -return cljs.core.swap_BANG_.call(null,user,cljs.core.assoc,new cljs.core.Keyword(null,"name","name",1843675177),p1__9662_SHARP_.target.value); +return (function (p1__5194_SHARP_){ +return cljs.core.swap_BANG_.call(null,user,cljs.core.assoc,new cljs.core.Keyword(null,"name","name",1843675177),p1__5194_SHARP_.target.value); });})(user)) ,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),""], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.input-group.editor-field","div.input-group.editor-field",-606889894),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label"], null),"Password"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"password",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"password","password",417022471).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,user)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (user){ -return (function (p1__9663_SHARP_){ -return cljs.core.swap_BANG_.call(null,user,cljs.core.assoc,new cljs.core.Keyword(null,"password","password",417022471),p1__9663_SHARP_.target.value); +return (function (p1__5195_SHARP_){ +return cljs.core.swap_BANG_.call(null,user,cljs.core.assoc,new cljs.core.Keyword(null,"password","password",417022471),p1__5195_SHARP_.target.value); });})(user)) ,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),""], null)], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-footer","div.modal-footer",1309572241),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-primary","button.btn.btn-primary",510358192),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (user){ return (function (e){ titanoboa.api.auth.call(null,cljs.core.deref.call(null,user),((function (user){ return (function (r){ titanoboa.api.get_user.call(null,((function (user){ -return (function (p1__9664_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.core.user_data,p1__9664_SHARP_); +return (function (p1__5196_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.core.user_data,p1__5196_SHARP_); });})(user)) ); @@ -71,7 +71,7 @@ return cljs.core.reset_BANG_.call(null,titanoboa.core.main_tab_selected,new cljs return cljs.core.reset_BANG_.call(null,titanoboa.core.main_tab_selected,new cljs.core.Keyword(null,"jobs","jobs",-313607120)); }),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"700"], null)], null),"jobs"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,cljs.core.deref.call(null,titanoboa.core.main_tab_selected),new cljs.core.Keyword(null,"systems","systems",-1015374944)))?"active":"")], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ return cljs.core.reset_BANG_.call(null,titanoboa.core.main_tab_selected,new cljs.core.Keyword(null,"systems","systems",-1015374944)); -}),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"700"], null)], null),"systems"], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul.nav.navbar-nav.navbar-right","ul.nav.navbar-nav.navbar-right",1710300738),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p.navbar-text","p.navbar-text",-511122982),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"10",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"100",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"top","top",-1856271961),"15px"], null)], null),"GUI for non-commercial use only"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ +}),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"700"], null)], null),"systems"], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul.nav.navbar-nav.navbar-right","ul.nav.navbar-nav.navbar-right",1710300738),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ return cljs.core.List.EMPTY; }),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"300",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"top","top",-1856271961),"5px"], null),new cljs.core.Keyword(null,"title","title",636505583),["logged in as ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.core.user_data)))].join('')], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-user","span.glyphicon.glyphicon-user",1158329252)], null)," ",new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.core.user_data))], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(function (){ cljs.core.reset_BANG_.call(null,titanoboa.core.user_data,cljs.core.PersistentArrayMap.EMPTY); @@ -100,7 +100,7 @@ return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMP }); reagent.core.render_component.call(null,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.core.main], null),document.getElementById("app")); titanoboa.designer.initiate_resize_listener.call(null); -titanoboa.api.get_user.call(null,(function (p1__9665_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.core.user_data,p1__9665_SHARP_); +titanoboa.api.get_user.call(null,(function (p1__5197_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.core.user_data,p1__5197_SHARP_); })); titanoboa.core.load_data.call(null); diff --git a/public/js/out/titanoboa/designer.js b/public/js/out/titanoboa/designer.js index 7c5cd47..376a66e 100644 --- a/public/js/out/titanoboa/designer.js +++ b/public/js/out/titanoboa/designer.js @@ -27,6 +27,11 @@ titanoboa.designer.step_types = reagent.core.atom.call(null,new cljs.core.Persis } titanoboa.designer.custom_step_type = new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"supertype","supertype",355302204),new cljs.core.Keyword(null,"tasklet","tasklet",811491570),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"custom","custom",340151948),new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195),titanoboa.exp.__GT_Expression.call(null,"(fn [p] \n :ok)",null)], null)], null); titanoboa.designer.join_step_type = new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"supertype","supertype",355302204),new cljs.core.Keyword(null,"join","join",-758861890),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"custom-join","custom-join",-240396966),new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195),titanoboa.exp.__GT_Expression.call(null,"(fn [p] \n :ok)",null)], null)], null); +titanoboa.designer.get_custom_icons = (function titanoboa$designer$get_custom_icons(step_types){ +return cljs.core.reduce.call(null,(function (val,i){ +return cljs.core.merge.call(null,clojure.set.rename_keys.call(null,cljs.core.select_keys.call(null,i,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"icon","icon",1679606541),new cljs.core.Keyword(null,"icon-inactive","icon-inactive",-1724788875)], null)),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"icon","icon",1679606541),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(i),new cljs.core.Keyword(null,"icon-inactive","icon-inactive",-1724788875),cljs.core.keyword.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.name.call(null,new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(i))),"-inactive"].join(''))], null)),val); +}),cljs.core.PersistentArrayMap.EMPTY,step_types); +}); if(typeof titanoboa.designer.job_def_list !== 'undefined'){ } else { titanoboa.designer.job_def_list = reagent.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); @@ -36,16 +41,18 @@ if(typeof titanoboa.designer.job_def_revision_list !== 'undefined'){ titanoboa.designer.job_def_revision_list = reagent.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); } titanoboa.designer.load_def_list = (function titanoboa$designer$load_def_list(){ -titanoboa.api.list_head_defs.call(null,(function (p1__9155_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.designer.job_def_list,p1__9155_SHARP_); +titanoboa.api.list_head_defs.call(null,(function (p1__4687_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.designer.job_def_list,p1__4687_SHARP_); })); -titanoboa.api.list_all_defs.call(null,(function (p1__9156_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.designer.job_def_revision_list,p1__9156_SHARP_); +titanoboa.api.list_all_defs.call(null,(function (p1__4688_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.designer.job_def_revision_list,p1__4688_SHARP_); })); -return titanoboa.api.get_step_types.call(null,(function (p1__9157_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.designer.step_types,cljs.core.concat.call(null,titanoboa.designer.custom_step_type,titanoboa.designer.join_step_type,cljs.core.sort_by.call(null,new cljs.core.Keyword(null,"type","type",1174270348),p1__9157_SHARP_))); +return titanoboa.api.get_step_types.call(null,(function (p1__4689_SHARP_){ +cljs.core.reset_BANG_.call(null,titanoboa.designer.step_types,cljs.core.concat.call(null,titanoboa.designer.custom_step_type,titanoboa.designer.join_step_type,cljs.core.sort_by.call(null,new cljs.core.Keyword(null,"type","type",1174270348),p1__4689_SHARP_))); + +return cljs.core.swap_BANG_.call(null,titanoboa.icons.icons,cljs.core.merge,titanoboa.designer.get_custom_icons.call(null,cljs.core.deref.call(null,titanoboa.designer.step_types))); })); }); if(typeof titanoboa.designer.app_state !== 'undefined'){ @@ -87,8 +94,8 @@ titanoboa.designer.syntax_check_timeout = cljs.core.atom.call(null,null); titanoboa.designer.not_nil_QMARK_ = cljs.core.complement.call(null,cljs.core.nil_QMARK_); titanoboa.designer.update_vals = (function titanoboa$designer$update_vals(map,vals,f){ -return cljs.core.reduce.call(null,(function (p1__9158_SHARP_,p2__9159_SHARP_){ -return cljs.core.update_in.call(null,p1__9158_SHARP_,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [p2__9159_SHARP_], null),f); +return cljs.core.reduce.call(null,(function (p1__4690_SHARP_,p2__4691_SHARP_){ +return cljs.core.update_in.call(null,p1__4690_SHARP_,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [p2__4691_SHARP_], null),f); }),map,vals); }); /** @@ -105,8 +112,8 @@ while(true){ var temp__5718__auto__ = re__$1.exec(s); if(cljs.core.truth_(temp__5718__auto__)){ var m = temp__5718__auto__; -var G__9160 = cljs.core.conj.call(null,res,m.index); -res = G__9160; +var G__4692 = cljs.core.conj.call(null,res,m.index); +res = G__4692; continue; } else { return res; @@ -158,8 +165,8 @@ return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"so }); titanoboa.designer.keyify = (function titanoboa$designer$keyify(maps_array,key){ -return cljs.core.reduce.call(null,(function (p1__9161_SHARP_,p2__9162_SHARP_){ -return cljs.core.merge.call(null,p1__9161_SHARP_,cljs.core.PersistentArrayMap.createAsIfByAssoc([key.call(null,p2__9162_SHARP_),p2__9162_SHARP_])); +return cljs.core.reduce.call(null,(function (p1__4693_SHARP_,p2__4694_SHARP_){ +return cljs.core.merge.call(null,p1__4693_SHARP_,cljs.core.PersistentArrayMap.createAsIfByAssoc([key.call(null,p2__4694_SHARP_),p2__4694_SHARP_])); }),cljs.core.PersistentArrayMap.EMPTY,maps_array); }); titanoboa.designer.un_keyify = (function titanoboa$designer$un_keyify(map_of_maps){ @@ -167,14 +174,14 @@ return cljs.core.vec.call(null,cljs.core.vals.call(null,map_of_maps)); }); titanoboa.designer.update_in__STAR_ = (function titanoboa$designer$update_in__STAR_(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9175 = arguments.length; -var i__4500__auto___9176 = (0); +var len__4499__auto___4707 = arguments.length; +var i__4500__auto___4708 = (0); while(true){ -if((i__4500__auto___9176 < len__4499__auto___9175)){ -args__4502__auto__.push((arguments[i__4500__auto___9176])); +if((i__4500__auto___4708 < len__4499__auto___4707)){ +args__4502__auto__.push((arguments[i__4500__auto___4708])); -var G__9177 = (i__4500__auto___9176 + (1)); -i__4500__auto___9176 = G__9177; +var G__4709 = (i__4500__auto___4708 + (1)); +i__4500__auto___4708 = G__4709; continue; } else { } @@ -185,26 +192,26 @@ var argseq__4503__auto__ = ((((3) < args__4502__auto__.length))?(new cljs.core.I return titanoboa.designer.update_in__STAR_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),argseq__4503__auto__); }); -titanoboa.designer.update_in__STAR_.cljs$core$IFn$_invoke$arity$variadic = (function (m,p__9171,f,args){ -var vec__9172 = p__9171; -var seq__9173 = cljs.core.seq.call(null,vec__9172); -var first__9174 = cljs.core.first.call(null,seq__9173); -var seq__9173__$1 = cljs.core.next.call(null,seq__9173); -var k = first__9174; -var ks = seq__9173__$1; +titanoboa.designer.update_in__STAR_.cljs$core$IFn$_invoke$arity$variadic = (function (m,p__4703,f,args){ +var vec__4704 = p__4703; +var seq__4705 = cljs.core.seq.call(null,vec__4704); +var first__4706 = cljs.core.first.call(null,seq__4705); +var seq__4705__$1 = cljs.core.next.call(null,seq__4705); +var k = first__4706; +var ks = seq__4705__$1; if((k === cljs.core._STAR_)){ var idx = ((cljs.core.map_QMARK_.call(null,m))?cljs.core.keys.call(null,m):cljs.core.range.call(null,cljs.core.count.call(null,m))); if(ks){ -return cljs.core.reduce.call(null,((function (idx,vec__9172,seq__9173,first__9174,seq__9173__$1,k,ks){ -return (function (p1__9163_SHARP_,p2__9164_SHARP_){ -return cljs.core.assoc.call(null,p1__9163_SHARP_,p2__9164_SHARP_,cljs.core.apply.call(null,titanoboa.designer.update_in__STAR_,cljs.core.get.call(null,p1__9163_SHARP_,p2__9164_SHARP_),ks,f,args)); -});})(idx,vec__9172,seq__9173,first__9174,seq__9173__$1,k,ks)) +return cljs.core.reduce.call(null,((function (idx,vec__4704,seq__4705,first__4706,seq__4705__$1,k,ks){ +return (function (p1__4695_SHARP_,p2__4696_SHARP_){ +return cljs.core.assoc.call(null,p1__4695_SHARP_,p2__4696_SHARP_,cljs.core.apply.call(null,titanoboa.designer.update_in__STAR_,cljs.core.get.call(null,p1__4695_SHARP_,p2__4696_SHARP_),ks,f,args)); +});})(idx,vec__4704,seq__4705,first__4706,seq__4705__$1,k,ks)) ,m,idx); } else { -return cljs.core.reduce.call(null,((function (idx,vec__9172,seq__9173,first__9174,seq__9173__$1,k,ks){ -return (function (p1__9165_SHARP_,p2__9166_SHARP_){ -return cljs.core.assoc.call(null,p1__9165_SHARP_,p2__9166_SHARP_,cljs.core.apply.call(null,f,cljs.core.get.call(null,p1__9165_SHARP_,p2__9166_SHARP_),args)); -});})(idx,vec__9172,seq__9173,first__9174,seq__9173__$1,k,ks)) +return cljs.core.reduce.call(null,((function (idx,vec__4704,seq__4705,first__4706,seq__4705__$1,k,ks){ +return (function (p1__4697_SHARP_,p2__4698_SHARP_){ +return cljs.core.assoc.call(null,p1__4697_SHARP_,p2__4698_SHARP_,cljs.core.apply.call(null,f,cljs.core.get.call(null,p1__4697_SHARP_,p2__4698_SHARP_),args)); +});})(idx,vec__4704,seq__4705,first__4706,seq__4705__$1,k,ks)) ,m,idx); } } else { @@ -219,27 +226,27 @@ return cljs.core.assoc.call(null,m,k,cljs.core.apply.call(null,f,cljs.core.get.c titanoboa.designer.update_in__STAR_.cljs$lang$maxFixedArity = (3); /** @this {Function} */ -titanoboa.designer.update_in__STAR_.cljs$lang$applyTo = (function (seq9167){ -var G__9168 = cljs.core.first.call(null,seq9167); -var seq9167__$1 = cljs.core.next.call(null,seq9167); -var G__9169 = cljs.core.first.call(null,seq9167__$1); -var seq9167__$2 = cljs.core.next.call(null,seq9167__$1); -var G__9170 = cljs.core.first.call(null,seq9167__$2); -var seq9167__$3 = cljs.core.next.call(null,seq9167__$2); +titanoboa.designer.update_in__STAR_.cljs$lang$applyTo = (function (seq4699){ +var G__4700 = cljs.core.first.call(null,seq4699); +var seq4699__$1 = cljs.core.next.call(null,seq4699); +var G__4701 = cljs.core.first.call(null,seq4699__$1); +var seq4699__$2 = cljs.core.next.call(null,seq4699__$1); +var G__4702 = cljs.core.first.call(null,seq4699__$2); +var seq4699__$3 = cljs.core.next.call(null,seq4699__$2); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9168,G__9169,G__9170,seq9167__$3); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4700,G__4701,G__4702,seq4699__$3); }); titanoboa.designer.eval_property = (function titanoboa$designer$eval_property(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9185 = arguments.length; -var i__4500__auto___9186 = (0); +var len__4499__auto___4717 = arguments.length; +var i__4500__auto___4718 = (0); while(true){ -if((i__4500__auto___9186 < len__4499__auto___9185)){ -args__4502__auto__.push((arguments[i__4500__auto___9186])); +if((i__4500__auto___4718 < len__4499__auto___4717)){ +args__4502__auto__.push((arguments[i__4500__auto___4718])); -var G__9187 = (i__4500__auto___9186 + (1)); -i__4500__auto___9186 = G__9187; +var G__4719 = (i__4500__auto___4718 + (1)); +i__4500__auto___4718 = G__4719; continue; } else { } @@ -250,9 +257,9 @@ var argseq__4503__auto__ = ((((1) < args__4502__auto__.length))?(new cljs.core.I return titanoboa.designer.eval_property.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__4503__auto__); }); -titanoboa.designer.eval_property.cljs$core$IFn$_invoke$arity$variadic = (function (prop,p__9180){ -var vec__9181 = p__9180; -var default_to_symbol_QMARK_ = cljs.core.nth.call(null,vec__9181,(0),null); +titanoboa.designer.eval_property.cljs$core$IFn$_invoke$arity$variadic = (function (prop,p__4712){ +var vec__4713 = p__4712; +var default_to_symbol_QMARK_ = cljs.core.nth.call(null,vec__4713,(0),null); try{var ep = cljs.reader.read_string.call(null,prop); if((ep instanceof titanoboa.exp.Expression)){ return ep; @@ -311,61 +318,61 @@ return prop; } } } -}catch (e9184){var e = e9184; +}catch (e4716){var e = e4716; return prop; }}); titanoboa.designer.eval_property.cljs$lang$maxFixedArity = (1); /** @this {Function} */ -titanoboa.designer.eval_property.cljs$lang$applyTo = (function (seq9178){ -var G__9179 = cljs.core.first.call(null,seq9178); -var seq9178__$1 = cljs.core.next.call(null,seq9178); +titanoboa.designer.eval_property.cljs$lang$applyTo = (function (seq4710){ +var G__4711 = cljs.core.first.call(null,seq4710); +var seq4710__$1 = cljs.core.next.call(null,seq4710); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9179,seq9178__$1); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4711,seq4710__$1); }); titanoboa.designer.all_maps__GT_linked = (function titanoboa$designer$all_maps__GT_linked(form){ -return clojure.walk.prewalk.call(null,(function (p1__9188_SHARP_){ -if(((cljs.core._EQ_.call(null,cljs.core.PersistentArrayMap,cljs.core.type.call(null,p1__9188_SHARP_))) || (cljs.core._EQ_.call(null,cljs.core.PersistentHashMap,cljs.core.type.call(null,p1__9188_SHARP_))))){ -return cljs.core.into.call(null,linked.core.map.call(null),p1__9188_SHARP_); +return clojure.walk.prewalk.call(null,(function (p1__4720_SHARP_){ +if(((cljs.core._EQ_.call(null,cljs.core.PersistentArrayMap,cljs.core.type.call(null,p1__4720_SHARP_))) || (cljs.core._EQ_.call(null,cljs.core.PersistentHashMap,cljs.core.type.call(null,p1__4720_SHARP_))))){ +return cljs.core.into.call(null,linked.core.map.call(null),p1__4720_SHARP_); } else { -return p1__9188_SHARP_; +return p1__4720_SHARP_; } }),form); }); titanoboa.designer.all_linked__GT_maps = (function titanoboa$designer$all_linked__GT_maps(form){ -return clojure.walk.prewalk.call(null,(function (p1__9189_SHARP_){ -if(cljs.core._EQ_.call(null,cljs.core.type.call(null,p1__9189_SHARP_),linked.map.LinkedMap)){ -return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,p1__9189_SHARP_); +return clojure.walk.prewalk.call(null,(function (p1__4721_SHARP_){ +if(cljs.core._EQ_.call(null,cljs.core.type.call(null,p1__4721_SHARP_),linked.map.LinkedMap)){ +return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,p1__4721_SHARP_); } else { -return p1__9189_SHARP_; +return p1__4721_SHARP_; } }),form); }); titanoboa.designer.job_def__GT_client = (function titanoboa$designer$job_def__GT_client(job_def){ -return titanoboa.designer.update_in__STAR_.call(null,cljs.core.update_in.call(null,titanoboa.designer.update_in__STAR_.call(null,titanoboa.designer.update_in__STAR_.call(null,cljs.core.update_in.call(null,cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"first-step","first-step",-1688327922),cljs.core.get_in.call(null,job_def,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),(0),new cljs.core.Keyword(null,"id","id",-1388402092)], null))], null),job_def),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302)], null),titanoboa.designer.keyify,new cljs.core.Keyword(null,"id","id",-1388402092)),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core._STAR_,new cljs.core.Keyword(null,"next","next",-117701485)], null),(function (p1__9190_SHARP_){ -return cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,p1__9190_SHARP_); -})),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core._STAR_], null),(function (p1__9191_SHARP_){ -return cljs.core.assoc.call(null,p1__9191_SHARP_,new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__9191_SHARP_)); +return titanoboa.designer.update_in__STAR_.call(null,cljs.core.update_in.call(null,titanoboa.designer.update_in__STAR_.call(null,titanoboa.designer.update_in__STAR_.call(null,cljs.core.update_in.call(null,cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"first-step","first-step",-1688327922),cljs.core.get_in.call(null,job_def,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),(0),new cljs.core.Keyword(null,"id","id",-1388402092)], null))], null),job_def),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302)], null),titanoboa.designer.keyify,new cljs.core.Keyword(null,"id","id",-1388402092)),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core._STAR_,new cljs.core.Keyword(null,"next","next",-117701485)], null),(function (p1__4722_SHARP_){ +return cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,p1__4722_SHARP_); +})),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core._STAR_], null),(function (p1__4723_SHARP_){ +return cljs.core.assoc.call(null,p1__4723_SHARP_,new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__4723_SHARP_)); })),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"properties","properties",685819552)], null),titanoboa.designer.all_maps__GT_linked),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core._STAR_,new cljs.core.Keyword(null,"properties","properties",685819552)], null),titanoboa.designer.all_maps__GT_linked); }); titanoboa.designer.steps2rename = (function titanoboa$designer$steps2rename(jd){ -var filter_trans = cljs.core.filter.call(null,(function (p__9192){ -var vec__9193 = p__9192; -var k = cljs.core.nth.call(null,vec__9193,(0),null); -var v = cljs.core.nth.call(null,vec__9193,(1),null); +var filter_trans = cljs.core.filter.call(null,(function (p__4724){ +var vec__4725 = p__4724; +var k = cljs.core.nth.call(null,vec__4725,(0),null); +var v = cljs.core.nth.call(null,vec__4725,(1),null); return cljs.core.not_EQ_.call(null,k,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(v)); })); var map_trans = cljs.core.map.call(null,((function (filter_trans){ -return (function (p__9196){ -var vec__9197 = p__9196; -var k = cljs.core.nth.call(null,vec__9197,(0),null); -var v = cljs.core.nth.call(null,vec__9197,(1),null); +return (function (p__4728){ +var vec__4729 = p__4728; +var k = cljs.core.nth.call(null,vec__4729,(0),null); +var v = cljs.core.nth.call(null,vec__4729,(1),null); return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(v)], null); });})(filter_trans)) ); @@ -377,26 +384,26 @@ var first_step_name = new cljs.core.Keyword(null,"first-step","first-step",-1688 var first_step = cljs.core.get_in.call(null,job_def,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),first_step_name], null)); var steps_to_rename = titanoboa.designer.steps2rename.call(null,job_def); return titanoboa.designer.update_in__STAR_.call(null,cljs.core.update_in.call(null,titanoboa.designer.update_in__STAR_.call(null,cljs.core.update_in.call(null,titanoboa.designer.update_in__STAR_.call(null,titanoboa.designer.update_in__STAR_.call(null,cljs.core.update_in.call(null,cljs.core.update_in.call(null,cljs.core.update_in.call(null,job_def,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302)], null),cljs.core.dissoc,first_step_name),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302)], null),((function (first_step_name,first_step,steps_to_rename){ -return (function (p1__9200_SHARP_){ -return cljs.core.vec.call(null,cljs.core.vals.call(null,p1__9200_SHARP_)); +return (function (p1__4732_SHARP_){ +return cljs.core.vec.call(null,cljs.core.vals.call(null,p1__4732_SHARP_)); });})(first_step_name,first_step,steps_to_rename)) ),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302)], null),((function (first_step_name,first_step,steps_to_rename){ -return (function (p1__9201_SHARP_){ -return cljs.core.into.call(null,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [first_step], null),p1__9201_SHARP_); +return (function (p1__4733_SHARP_){ +return cljs.core.into.call(null,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [first_step], null),p1__4733_SHARP_); });})(first_step_name,first_step,steps_to_rename)) ),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core._STAR_], null),((function (first_step_name,first_step,steps_to_rename){ -return (function (p1__9202_SHARP_){ -if(cljs.core.contains_QMARK_.call(null,steps_to_rename,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__9202_SHARP_))){ -return cljs.core.assoc.call(null,p1__9202_SHARP_,new cljs.core.Keyword(null,"id","id",-1388402092),cljs.core.get.call(null,steps_to_rename,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__9202_SHARP_))); +return (function (p1__4734_SHARP_){ +if(cljs.core.contains_QMARK_.call(null,steps_to_rename,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__4734_SHARP_))){ +return cljs.core.assoc.call(null,p1__4734_SHARP_,new cljs.core.Keyword(null,"id","id",-1388402092),cljs.core.get.call(null,steps_to_rename,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__4734_SHARP_))); } else { -return p1__9202_SHARP_; +return p1__4734_SHARP_; } });})(first_step_name,first_step,steps_to_rename)) ),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core._STAR_,new cljs.core.Keyword(null,"next","next",-117701485),cljs.core._STAR_], null),((function (first_step_name,first_step,steps_to_rename){ -return (function (p__9206){ -var vec__9207 = p__9206; -var k = cljs.core.nth.call(null,vec__9207,(0),null); -var v = cljs.core.nth.call(null,vec__9207,(1),null); +return (function (p__4738){ +var vec__4739 = p__4738; +var k = cljs.core.nth.call(null,vec__4739,(0),null); +var v = cljs.core.nth.call(null,vec__4739,(1),null); if(cljs.core.contains_QMARK_.call(null,steps_to_rename,v)){ return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,cljs.core.get.call(null,steps_to_rename,v)], null); } else { @@ -404,16 +411,16 @@ return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMP } });})(first_step_name,first_step,steps_to_rename)) ),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"first-step","first-step",-1688327922)], null),((function (first_step_name,first_step,steps_to_rename){ -return (function (p1__9203_SHARP_){ -if(cljs.core.contains_QMARK_.call(null,steps_to_rename,p1__9203_SHARP_)){ -return cljs.core.get.call(null,steps_to_rename,p1__9203_SHARP_); +return (function (p1__4735_SHARP_){ +if(cljs.core.contains_QMARK_.call(null,steps_to_rename,p1__4735_SHARP_)){ +return cljs.core.get.call(null,steps_to_rename,p1__4735_SHARP_); } else { -return p1__9203_SHARP_; +return p1__4735_SHARP_; } });})(first_step_name,first_step,steps_to_rename)) ),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core._STAR_], null),((function (first_step_name,first_step,steps_to_rename){ -return (function (p1__9204_SHARP_){ -return cljs.core.dissoc.call(null,p1__9204_SHARP_,new cljs.core.Keyword(null,"name","name",1843675177)); +return (function (p1__4736_SHARP_){ +return cljs.core.dissoc.call(null,p1__4736_SHARP_,new cljs.core.Keyword(null,"name","name",1843675177)); });})(first_step_name,first_step,steps_to_rename)) ),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"properties","properties",685819552)], null),titanoboa.designer.all_linked__GT_maps),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core._STAR_,new cljs.core.Keyword(null,"properties","properties",685819552)], null),titanoboa.designer.all_linked__GT_maps); }); @@ -424,10 +431,10 @@ titanoboa.designer.every_step_valid_QMARK_ = (function titanoboa$designer$every_ return cljs.core.every_QMARK_.call(null,titanoboa.designer.step_valid_QMARK_,cljs.core.vals.call(null,new cljs.core.Keyword(null,"steps","steps",-128433302).cljs$core$IFn$_invoke$arity$1(j))); }); titanoboa.designer.next_steps_valid_QMARK_ = (function titanoboa$designer$next_steps_valid_QMARK_(j){ -return cljs.core.every_QMARK_.call(null,new cljs.core.Keyword(null,"steps","steps",-128433302).cljs$core$IFn$_invoke$arity$1(j),cljs.core.apply.call(null,cljs.core.concat,cljs.core.map.call(null,(function (p1__9210_SHARP_){ +return cljs.core.every_QMARK_.call(null,new cljs.core.Keyword(null,"steps","steps",-128433302).cljs$core$IFn$_invoke$arity$1(j),cljs.core.apply.call(null,cljs.core.concat,cljs.core.map.call(null,(function (p1__4742_SHARP_){ return cljs.core.mapv.call(null,(function (i){ return cljs.core.get.call(null,i,(1)); -}),new cljs.core.Keyword(null,"next","next",-117701485).cljs$core$IFn$_invoke$arity$1(p1__9210_SHARP_)); +}),new cljs.core.Keyword(null,"next","next",-117701485).cljs$core$IFn$_invoke$arity$1(p1__4742_SHARP_)); }),cljs.core.vals.call(null,new cljs.core.Keyword(null,"steps","steps",-128433302).cljs$core$IFn$_invoke$arity$1(j))))); }); titanoboa.designer.first_step_valid_QMARK_ = (function titanoboa$designer$first_step_valid_QMARK_(j){ @@ -461,8 +468,8 @@ throw (new Error(["Assert failed: ","Cannot reference a non-existent step as a n } }); titanoboa.designer.check_unique_id = (function titanoboa$designer$check_unique_id(list_of_maps,key,value){ -return cljs.core.empty_QMARK_.call(null,cljs.core.filter.call(null,(function (p1__9211_SHARP_){ -return cljs.core._EQ_.call(null,key.call(null,p1__9211_SHARP_),value); +return cljs.core.empty_QMARK_.call(null,cljs.core.filter.call(null,(function (p1__4743_SHARP_){ +return cljs.core._EQ_.call(null,key.call(null,p1__4743_SHARP_),value); }),list_of_maps)); }); titanoboa.designer.check_unique_step_id = (function titanoboa$designer$check_unique_step_id(value){ @@ -510,8 +517,8 @@ return titanoboa.designer.jquery.call(null,window).resize(handlerfn); * [option {html attribute key-val pairs}] */ titanoboa.designer.select_options = (function titanoboa$designer$select_options(var_args){ -var G__9213 = arguments.length; -switch (G__9213) { +var G__4745 = arguments.length; +switch (G__4745) { case 1: return titanoboa.designer.select_options.cljs$core$IFn$_invoke$arity$1((arguments[(0)])); @@ -531,24 +538,24 @@ return titanoboa.designer.select_options.call(null,coll,null); }); titanoboa.designer.select_options.cljs$core$IFn$_invoke$arity$2 = (function (coll,rkey){ -var iter__4292__auto__ = (function titanoboa$designer$iter__9214(s__9215){ +var iter__4292__auto__ = (function titanoboa$designer$iter__4746(s__4747){ return (new cljs.core.LazySeq(null,(function (){ -var s__9215__$1 = s__9215; +var s__4747__$1 = s__4747; while(true){ -var temp__5720__auto__ = cljs.core.seq.call(null,s__9215__$1); +var temp__5720__auto__ = cljs.core.seq.call(null,s__4747__$1); if(temp__5720__auto__){ -var s__9215__$2 = temp__5720__auto__; -if(cljs.core.chunked_seq_QMARK_.call(null,s__9215__$2)){ -var c__4290__auto__ = cljs.core.chunk_first.call(null,s__9215__$2); +var s__4747__$2 = temp__5720__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__4747__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__4747__$2); var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); -var b__9217 = cljs.core.chunk_buffer.call(null,size__4291__auto__); -if((function (){var i__9216 = (0); +var b__4749 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__4748 = (0); while(true){ -if((i__9216 < size__4291__auto__)){ -var x = cljs.core._nth.call(null,c__4290__auto__,i__9216); -cljs.core.chunk_append.call(null,b__9217,((cljs.core.sequential_QMARK_.call(null,x))?(function (){var vec__9218 = x; -var text = cljs.core.nth.call(null,vec__9218,(0),null); -var val = cljs.core.nth.call(null,vec__9218,(1),null); +if((i__4748 < size__4291__auto__)){ +var x = cljs.core._nth.call(null,c__4290__auto__,i__4748); +cljs.core.chunk_append.call(null,b__4749,((cljs.core.sequential_QMARK_.call(null,x))?(function (){var vec__4750 = x; +var text = cljs.core.nth.call(null,vec__4750,(0),null); +var val = cljs.core.nth.call(null,vec__4750,(1),null); if(cljs.core.sequential_QMARK_.call(null,val)){ return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"optgroup","optgroup",1738282218),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"label","label",1718410804),text,new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(rkey),"optgroup"].join('')], null),titanoboa.designer.select_options.call(null,val,rkey)], null); } else { @@ -561,8 +568,8 @@ return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMP } })():new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"option","option",65132272),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(rkey),cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)].join('')], null),x], null))); -var G__9225 = (i__9216 + (1)); -i__9216 = G__9225; +var G__4757 = (i__4748 + (1)); +i__4748 = G__4757; continue; } else { return true; @@ -570,15 +577,15 @@ return true; break; } })()){ -return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__9217),titanoboa$designer$iter__9214.call(null,cljs.core.chunk_rest.call(null,s__9215__$2))); +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__4749),titanoboa$designer$iter__4746.call(null,cljs.core.chunk_rest.call(null,s__4747__$2))); } else { -return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__9217),null); +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__4749),null); } } else { -var x = cljs.core.first.call(null,s__9215__$2); -return cljs.core.cons.call(null,((cljs.core.sequential_QMARK_.call(null,x))?(function (){var vec__9221 = x; -var text = cljs.core.nth.call(null,vec__9221,(0),null); -var val = cljs.core.nth.call(null,vec__9221,(1),null); +var x = cljs.core.first.call(null,s__4747__$2); +return cljs.core.cons.call(null,((cljs.core.sequential_QMARK_.call(null,x))?(function (){var vec__4753 = x; +var text = cljs.core.nth.call(null,vec__4753,(0),null); +var val = cljs.core.nth.call(null,vec__4753,(1),null); if(cljs.core.sequential_QMARK_.call(null,val)){ return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"optgroup","optgroup",1738282218),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"label","label",1718410804),text,new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(rkey),"optgroup"].join('')], null),titanoboa.designer.select_options.call(null,val,rkey)], null); } else { @@ -589,7 +596,7 @@ return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMP } } -})():new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"option","option",65132272),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(rkey),cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)].join('')], null),x], null)),titanoboa$designer$iter__9214.call(null,cljs.core.rest.call(null,s__9215__$2))); +})():new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"option","option",65132272),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(rkey),cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)].join('')], null),x], null)),titanoboa$designer$iter__4746.call(null,cljs.core.rest.call(null,s__4747__$2))); } } else { return null; @@ -608,14 +615,14 @@ return cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.a }); titanoboa.designer.update_definitions_BANG_ = (function titanoboa$designer$update_definitions_BANG_(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9228 = arguments.length; -var i__4500__auto___9229 = (0); +var len__4499__auto___4760 = arguments.length; +var i__4500__auto___4761 = (0); while(true){ -if((i__4500__auto___9229 < len__4499__auto___9228)){ -args__4502__auto__.push((arguments[i__4500__auto___9229])); +if((i__4500__auto___4761 < len__4499__auto___4760)){ +args__4502__auto__.push((arguments[i__4500__auto___4761])); -var G__9230 = (i__4500__auto___9229 + (1)); -i__4500__auto___9229 = G__9230; +var G__4762 = (i__4500__auto___4761 + (1)); +i__4500__auto___4761 = G__4762; continue; } else { } @@ -633,23 +640,23 @@ return cljs.core.apply.call(null,cljs.core.swap_BANG_,titanoboa.designer.app_sta titanoboa.designer.update_definitions_BANG_.cljs$lang$maxFixedArity = (1); /** @this {Function} */ -titanoboa.designer.update_definitions_BANG_.cljs$lang$applyTo = (function (seq9226){ -var G__9227 = cljs.core.first.call(null,seq9226); -var seq9226__$1 = cljs.core.next.call(null,seq9226); +titanoboa.designer.update_definitions_BANG_.cljs$lang$applyTo = (function (seq4758){ +var G__4759 = cljs.core.first.call(null,seq4758); +var seq4758__$1 = cljs.core.next.call(null,seq4758); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9227,seq9226__$1); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4759,seq4758__$1); }); titanoboa.designer.update_definition_BANG_ = (function titanoboa$designer$update_definition_BANG_(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9234 = arguments.length; -var i__4500__auto___9235 = (0); +var len__4499__auto___4766 = arguments.length; +var i__4500__auto___4767 = (0); while(true){ -if((i__4500__auto___9235 < len__4499__auto___9234)){ -args__4502__auto__.push((arguments[i__4500__auto___9235])); +if((i__4500__auto___4767 < len__4499__auto___4766)){ +args__4502__auto__.push((arguments[i__4500__auto___4767])); -var G__9236 = (i__4500__auto___9235 + (1)); -i__4500__auto___9235 = G__9236; +var G__4768 = (i__4500__auto___4767 + (1)); +i__4500__auto___4767 = G__4768; continue; } else { } @@ -667,13 +674,13 @@ return cljs.core.apply.call(null,cljs.core.swap_BANG_,titanoboa.designer.app_sta titanoboa.designer.update_definition_BANG_.cljs$lang$maxFixedArity = (2); /** @this {Function} */ -titanoboa.designer.update_definition_BANG_.cljs$lang$applyTo = (function (seq9231){ -var G__9232 = cljs.core.first.call(null,seq9231); -var seq9231__$1 = cljs.core.next.call(null,seq9231); -var G__9233 = cljs.core.first.call(null,seq9231__$1); -var seq9231__$2 = cljs.core.next.call(null,seq9231__$1); +titanoboa.designer.update_definition_BANG_.cljs$lang$applyTo = (function (seq4763){ +var G__4764 = cljs.core.first.call(null,seq4763); +var seq4763__$1 = cljs.core.next.call(null,seq4763); +var G__4765 = cljs.core.first.call(null,seq4763__$1); +var seq4763__$2 = cljs.core.next.call(null,seq4763__$1); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9232,G__9233,seq9231__$2); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4764,G__4765,seq4763__$2); }); titanoboa.designer.add_definition_BANG_ = (function titanoboa$designer$add_definition_BANG_(d){ @@ -684,14 +691,14 @@ return cljs.core.swap_BANG_.call(null,titanoboa.designer.app_state,cljs.core.upd }); titanoboa.designer.update_steps_BANG_ = (function titanoboa$designer$update_steps_BANG_(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9240 = arguments.length; -var i__4500__auto___9241 = (0); +var len__4499__auto___4772 = arguments.length; +var i__4500__auto___4773 = (0); while(true){ -if((i__4500__auto___9241 < len__4499__auto___9240)){ -args__4502__auto__.push((arguments[i__4500__auto___9241])); +if((i__4500__auto___4773 < len__4499__auto___4772)){ +args__4502__auto__.push((arguments[i__4500__auto___4773])); -var G__9242 = (i__4500__auto___9241 + (1)); -i__4500__auto___9241 = G__9242; +var G__4774 = (i__4500__auto___4773 + (1)); +i__4500__auto___4773 = G__4774; continue; } else { } @@ -709,13 +716,13 @@ return cljs.core.apply.call(null,cljs.core.swap_BANG_,jobdef_cursor,cljs.core.up titanoboa.designer.update_steps_BANG_.cljs$lang$maxFixedArity = (2); /** @this {Function} */ -titanoboa.designer.update_steps_BANG_.cljs$lang$applyTo = (function (seq9237){ -var G__9238 = cljs.core.first.call(null,seq9237); -var seq9237__$1 = cljs.core.next.call(null,seq9237); -var G__9239 = cljs.core.first.call(null,seq9237__$1); -var seq9237__$2 = cljs.core.next.call(null,seq9237__$1); +titanoboa.designer.update_steps_BANG_.cljs$lang$applyTo = (function (seq4769){ +var G__4770 = cljs.core.first.call(null,seq4769); +var seq4769__$1 = cljs.core.next.call(null,seq4769); +var G__4771 = cljs.core.first.call(null,seq4769__$1); +var seq4769__$2 = cljs.core.next.call(null,seq4769__$1); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9238,G__9239,seq9237__$2); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4770,G__4771,seq4769__$2); }); titanoboa.designer.set_first_step_BANG_ = (function titanoboa$designer$set_first_step_BANG_(jobdef_cursor,step_id){ @@ -723,14 +730,14 @@ return cljs.core.swap_BANG_.call(null,jobdef_cursor,cljs.core.assoc_in,new cljs. }); titanoboa.designer.update_step_BANG_ = (function titanoboa$designer$update_step_BANG_(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9248 = arguments.length; -var i__4500__auto___9249 = (0); +var len__4499__auto___4780 = arguments.length; +var i__4500__auto___4781 = (0); while(true){ -if((i__4500__auto___9249 < len__4499__auto___9248)){ -args__4502__auto__.push((arguments[i__4500__auto___9249])); +if((i__4500__auto___4781 < len__4499__auto___4780)){ +args__4502__auto__.push((arguments[i__4500__auto___4781])); -var G__9250 = (i__4500__auto___9249 + (1)); -i__4500__auto___9249 = G__9250; +var G__4782 = (i__4500__auto___4781 + (1)); +i__4500__auto___4781 = G__4782; continue; } else { } @@ -748,15 +755,15 @@ return cljs.core.apply.call(null,cljs.core.swap_BANG_,jobdef_cursor,cljs.core.up titanoboa.designer.update_step_BANG_.cljs$lang$maxFixedArity = (3); /** @this {Function} */ -titanoboa.designer.update_step_BANG_.cljs$lang$applyTo = (function (seq9244){ -var G__9245 = cljs.core.first.call(null,seq9244); -var seq9244__$1 = cljs.core.next.call(null,seq9244); -var G__9246 = cljs.core.first.call(null,seq9244__$1); -var seq9244__$2 = cljs.core.next.call(null,seq9244__$1); -var G__9247 = cljs.core.first.call(null,seq9244__$2); -var seq9244__$3 = cljs.core.next.call(null,seq9244__$2); +titanoboa.designer.update_step_BANG_.cljs$lang$applyTo = (function (seq4776){ +var G__4777 = cljs.core.first.call(null,seq4776); +var seq4776__$1 = cljs.core.next.call(null,seq4776); +var G__4778 = cljs.core.first.call(null,seq4776__$1); +var seq4776__$2 = cljs.core.next.call(null,seq4776__$1); +var G__4779 = cljs.core.first.call(null,seq4776__$2); +var seq4776__$3 = cljs.core.next.call(null,seq4776__$2); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9245,G__9246,G__9247,seq9244__$3); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4777,G__4778,G__4779,seq4776__$3); }); titanoboa.designer.add_jd_step_BANG_ = (function titanoboa$designer$add_jd_step_BANG_(jobdef_cursor,step_name){ @@ -765,25 +772,25 @@ return titanoboa.designer.update_steps_BANG_.call(null,jobdef_cursor,cljs.core.a }); titanoboa.designer.remove_jd_step_BANG_ = (function titanoboa$designer$remove_jd_step_BANG_(jd_cursor,step_id){ -var filter_next_fn = (function (p1__9254_SHARP_){ -return cljs.core.vec.call(null,cljs.core.filter.call(null,(function (p__9256){ -var vec__9257 = p__9256; -var k = cljs.core.nth.call(null,vec__9257,(0),null); -var v = cljs.core.nth.call(null,vec__9257,(1),null); +var filter_next_fn = (function (p1__4786_SHARP_){ +return cljs.core.vec.call(null,cljs.core.filter.call(null,(function (p__4788){ +var vec__4789 = p__4788; +var k = cljs.core.nth.call(null,vec__4789,(0),null); +var v = cljs.core.nth.call(null,vec__4789,(1),null); return cljs.core.not_EQ_.call(null,v,step_id); -}),p1__9254_SHARP_)); +}),p1__4786_SHARP_)); }); var remove_links_fn = ((function (filter_next_fn){ -return (function (p__9260){ -var vec__9261 = p__9260; -var k = cljs.core.nth.call(null,vec__9261,(0),null); -var step = cljs.core.nth.call(null,vec__9261,(1),null); +return (function (p__4792){ +var vec__4793 = p__4792; +var k = cljs.core.nth.call(null,vec__4793,(0),null); +var step = cljs.core.nth.call(null,vec__4793,(1),null); return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [k,cljs.core.update_in.call(null,step,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"next","next",-117701485)], null),filter_next_fn)], null); });})(filter_next_fn)) ; return cljs.core.swap_BANG_.call(null,jd_cursor,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302)], null),((function (filter_next_fn,remove_links_fn){ -return (function (p1__9255_SHARP_){ -return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.call(null,remove_links_fn,cljs.core.dissoc.call(null,p1__9255_SHARP_,step_id))); +return (function (p1__4787_SHARP_){ +return cljs.core.into.call(null,cljs.core.PersistentArrayMap.EMPTY,cljs.core.map.call(null,remove_links_fn,cljs.core.dissoc.call(null,p1__4787_SHARP_,step_id))); });})(filter_next_fn,remove_links_fn)) ); }); @@ -792,21 +799,21 @@ return titanoboa.designer.update_step_BANG_.call(null,jobdef_cursor,step_id,cljs }); titanoboa.designer.remove_jd_link_BANG_ = (function titanoboa$designer$remove_jd_link_BANG_(jobdef_cursor,step_id,link){ return titanoboa.designer.update_step_BANG_.call(null,jobdef_cursor,step_id,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"next","next",-117701485)], null),(function (v){ -return cljs.core.vec.call(null,cljs.core.remove.call(null,(function (p1__9264_SHARP_){ -return cljs.core._EQ_.call(null,p1__9264_SHARP_,link); +return cljs.core.vec.call(null,cljs.core.remove.call(null,(function (p1__4796_SHARP_){ +return cljs.core._EQ_.call(null,p1__4796_SHARP_,link); }),v)); })); }); titanoboa.designer.update_def_list_BANG_ = (function titanoboa$designer$update_def_list_BANG_(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9267 = arguments.length; -var i__4500__auto___9268 = (0); +var len__4499__auto___4799 = arguments.length; +var i__4500__auto___4800 = (0); while(true){ -if((i__4500__auto___9268 < len__4499__auto___9267)){ -args__4502__auto__.push((arguments[i__4500__auto___9268])); +if((i__4500__auto___4800 < len__4499__auto___4799)){ +args__4502__auto__.push((arguments[i__4500__auto___4800])); -var G__9269 = (i__4500__auto___9268 + (1)); -i__4500__auto___9268 = G__9269; +var G__4801 = (i__4500__auto___4800 + (1)); +i__4500__auto___4800 = G__4801; continue; } else { } @@ -824,11 +831,11 @@ return cljs.core.apply.call(null,cljs.core.swap_BANG_,titanoboa.designer.job_def titanoboa.designer.update_def_list_BANG_.cljs$lang$maxFixedArity = (1); /** @this {Function} */ -titanoboa.designer.update_def_list_BANG_.cljs$lang$applyTo = (function (seq9265){ -var G__9266 = cljs.core.first.call(null,seq9265); -var seq9265__$1 = cljs.core.next.call(null,seq9265); +titanoboa.designer.update_def_list_BANG_.cljs$lang$applyTo = (function (seq4797){ +var G__4798 = cljs.core.first.call(null,seq4797); +var seq4797__$1 = cljs.core.next.call(null,seq4797); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9266,seq9265__$1); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4798,seq4797__$1); }); titanoboa.designer.revision__GT_def_list_BANG_ = (function titanoboa$designer$revision__GT_def_list_BANG_(def_name,rev){ @@ -849,14 +856,14 @@ return c; }); titanoboa.designer.force_layout = (function titanoboa$designer$force_layout(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9287 = arguments.length; -var i__4500__auto___9288 = (0); +var len__4499__auto___4819 = arguments.length; +var i__4500__auto___4820 = (0); while(true){ -if((i__4500__auto___9288 < len__4499__auto___9287)){ -args__4502__auto__.push((arguments[i__4500__auto___9288])); +if((i__4500__auto___4820 < len__4499__auto___4819)){ +args__4502__auto__.push((arguments[i__4500__auto___4820])); -var G__9289 = (i__4500__auto___9288 + (1)); -i__4500__auto___9288 = G__9289; +var G__4821 = (i__4500__auto___4820 + (1)); +i__4500__auto___4820 = G__4821; continue; } else { } @@ -867,41 +874,41 @@ var argseq__4503__auto__ = ((((4) < args__4502__auto__.length))?(new cljs.core.I return titanoboa.designer.force_layout.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__4503__auto__); }); -titanoboa.designer.force_layout.cljs$core$IFn$_invoke$arity$variadic = (function (graph_view_atom,width,height,jobdef_name,p__9279){ -var vec__9280 = p__9279; -var static_QMARK_ = cljs.core.nth.call(null,vec__9280,(0),null); +titanoboa.designer.force_layout.cljs$core$IFn$_invoke$arity$variadic = (function (graph_view_atom,width,height,jobdef_name,p__4811){ +var vec__4812 = p__4811; +var static_QMARK_ = cljs.core.nth.call(null,vec__4812,(0),null); var graph_cursor = reagent.core.cursor.call(null,graph_view_atom,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [jobdef_name], null)); var fl = d3.layout.force().charge((-1000)).gravity(0.08).linkDistance((135)).size([width,height]).nodes(cljs.core.clj__GT_js.call(null,new cljs.core.Keyword(null,"nodes","nodes",-2099585805).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)))).links(cljs.core.clj__GT_js.call(null,new cljs.core.Keyword(null,"vertices","vertices",2008905731).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)))).start(); -fl.on("tick",((function (graph_cursor,fl,vec__9280,static_QMARK_){ +fl.on("tick",((function (graph_cursor,fl,vec__4812,static_QMARK_){ return (function (e){ var k = ((6) * e.alpha); var links = fl.links(); -var _ = cljs.core.doall.call(null,(function (){var iter__4292__auto__ = ((function (k,links,graph_cursor,fl,vec__9280,static_QMARK_){ -return (function titanoboa$designer$iter__9283(s__9284){ -return (new cljs.core.LazySeq(null,((function (k,links,graph_cursor,fl,vec__9280,static_QMARK_){ +var _ = cljs.core.doall.call(null,(function (){var iter__4292__auto__ = ((function (k,links,graph_cursor,fl,vec__4812,static_QMARK_){ +return (function titanoboa$designer$iter__4815(s__4816){ +return (new cljs.core.LazySeq(null,((function (k,links,graph_cursor,fl,vec__4812,static_QMARK_){ return (function (){ -var s__9284__$1 = s__9284; +var s__4816__$1 = s__4816; while(true){ -var temp__5720__auto__ = cljs.core.seq.call(null,s__9284__$1); +var temp__5720__auto__ = cljs.core.seq.call(null,s__4816__$1); if(temp__5720__auto__){ -var s__9284__$2 = temp__5720__auto__; -if(cljs.core.chunked_seq_QMARK_.call(null,s__9284__$2)){ -var c__4290__auto__ = cljs.core.chunk_first.call(null,s__9284__$2); +var s__4816__$2 = temp__5720__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__4816__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__4816__$2); var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); -var b__9286 = cljs.core.chunk_buffer.call(null,size__4291__auto__); -if((function (){var i__9285 = (0); +var b__4818 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__4817 = (0); while(true){ -if((i__9285 < size__4291__auto__)){ -var d = cljs.core._nth.call(null,c__4290__auto__,i__9285); -cljs.core.chunk_append.call(null,b__9286,(function (){ +if((i__4817 < size__4291__auto__)){ +var d = cljs.core._nth.call(null,c__4290__auto__,i__4817); +cljs.core.chunk_append.call(null,b__4818,(function (){ d.source.y = (d.source.y - k); return d.target.y = (d.target.y + k); })() ); -var G__9290 = (i__9285 + (1)); -i__9285 = G__9290; +var G__4822 = (i__4817 + (1)); +i__4817 = G__4822; continue; } else { return true; @@ -909,48 +916,48 @@ return true; break; } })()){ -return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__9286),titanoboa$designer$iter__9283.call(null,cljs.core.chunk_rest.call(null,s__9284__$2))); +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__4818),titanoboa$designer$iter__4815.call(null,cljs.core.chunk_rest.call(null,s__4816__$2))); } else { -return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__9286),null); +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__4818),null); } } else { -var d = cljs.core.first.call(null,s__9284__$2); +var d = cljs.core.first.call(null,s__4816__$2); return cljs.core.cons.call(null,(function (){ d.source.y = (d.source.y - k); return d.target.y = (d.target.y + k); })() -,titanoboa$designer$iter__9283.call(null,cljs.core.rest.call(null,s__9284__$2))); +,titanoboa$designer$iter__4815.call(null,cljs.core.rest.call(null,s__4816__$2))); } } else { return null; } break; } -});})(k,links,graph_cursor,fl,vec__9280,static_QMARK_)) +});})(k,links,graph_cursor,fl,vec__4812,static_QMARK_)) ,null,null)); -});})(k,links,graph_cursor,fl,vec__9280,static_QMARK_)) +});})(k,links,graph_cursor,fl,vec__4812,static_QMARK_)) ; return iter__4292__auto__.call(null,links); })()); var repositioned_nodes = clojure.walk.keywordize_keys.call(null,cljs.core.js__GT_clj.call(null,fl.nodes())); -return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.merge,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"nodes","nodes",-2099585805),cljs.core.mapv.call(null,((function (k,links,_,repositioned_nodes,graph_cursor,fl,vec__9280,static_QMARK_){ -return (function (p1__9272_SHARP_){ -return titanoboa.designer.update_vals.call(null,p1__9272_SHARP_,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"x","x",2099068185),new cljs.core.Keyword(null,"y","y",-1757859776),new cljs.core.Keyword(null,"px","px",281329899),new cljs.core.Keyword(null,"py","py",1397985916)], null),Math.round); -});})(k,links,_,repositioned_nodes,graph_cursor,fl,vec__9280,static_QMARK_)) +return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.merge,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"nodes","nodes",-2099585805),cljs.core.mapv.call(null,((function (k,links,_,repositioned_nodes,graph_cursor,fl,vec__4812,static_QMARK_){ +return (function (p1__4804_SHARP_){ +return titanoboa.designer.update_vals.call(null,p1__4804_SHARP_,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"x","x",2099068185),new cljs.core.Keyword(null,"y","y",-1757859776),new cljs.core.Keyword(null,"px","px",281329899),new cljs.core.Keyword(null,"py","py",1397985916)], null),Math.round); +});})(k,links,_,repositioned_nodes,graph_cursor,fl,vec__4812,static_QMARK_)) ,repositioned_nodes)], null)); -});})(graph_cursor,fl,vec__9280,static_QMARK_)) +});})(graph_cursor,fl,vec__4812,static_QMARK_)) ); if(cljs.core.truth_(static_QMARK_)){ -var n__4376__auto___9291 = (50); -var __9292 = (0); +var n__4376__auto___4823 = (50); +var __4824 = (0); while(true){ -if((__9292 < n__4376__auto___9291)){ +if((__4824 < n__4376__auto___4823)){ fl.tick(); -var G__9293 = (__9292 + (1)); -__9292 = G__9293; +var G__4825 = (__4824 + (1)); +__4824 = G__4825; continue; } else { } @@ -965,22 +972,22 @@ return fl; titanoboa.designer.force_layout.cljs$lang$maxFixedArity = (4); /** @this {Function} */ -titanoboa.designer.force_layout.cljs$lang$applyTo = (function (seq9274){ -var G__9275 = cljs.core.first.call(null,seq9274); -var seq9274__$1 = cljs.core.next.call(null,seq9274); -var G__9276 = cljs.core.first.call(null,seq9274__$1); -var seq9274__$2 = cljs.core.next.call(null,seq9274__$1); -var G__9277 = cljs.core.first.call(null,seq9274__$2); -var seq9274__$3 = cljs.core.next.call(null,seq9274__$2); -var G__9278 = cljs.core.first.call(null,seq9274__$3); -var seq9274__$4 = cljs.core.next.call(null,seq9274__$3); +titanoboa.designer.force_layout.cljs$lang$applyTo = (function (seq4806){ +var G__4807 = cljs.core.first.call(null,seq4806); +var seq4806__$1 = cljs.core.next.call(null,seq4806); +var G__4808 = cljs.core.first.call(null,seq4806__$1); +var seq4806__$2 = cljs.core.next.call(null,seq4806__$1); +var G__4809 = cljs.core.first.call(null,seq4806__$2); +var seq4806__$3 = cljs.core.next.call(null,seq4806__$2); +var G__4810 = cljs.core.first.call(null,seq4806__$3); +var seq4806__$4 = cljs.core.next.call(null,seq4806__$3); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9275,G__9276,G__9277,G__9278,seq9274__$4); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4807,G__4808,G__4809,G__4810,seq4806__$4); }); titanoboa.designer.get_force_layout = (function titanoboa$designer$get_force_layout(var_args){ -var G__9295 = arguments.length; -switch (G__9295) { +var G__4827 = arguments.length; +switch (G__4827) { case 2: return titanoboa.designer.get_force_layout.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); @@ -1012,14 +1019,14 @@ return fl.stop().nodes(cljs.core.clj__GT_js.call(null,cljs.core.get_in.call(null }); titanoboa.designer.stop_force_BANG_ = (function titanoboa$designer$stop_force_BANG_(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9298 = arguments.length; -var i__4500__auto___9299 = (0); +var len__4499__auto___4830 = arguments.length; +var i__4500__auto___4831 = (0); while(true){ -if((i__4500__auto___9299 < len__4499__auto___9298)){ -args__4502__auto__.push((arguments[i__4500__auto___9299])); +if((i__4500__auto___4831 < len__4499__auto___4830)){ +args__4502__auto__.push((arguments[i__4500__auto___4831])); -var G__9300 = (i__4500__auto___9299 + (1)); -i__4500__auto___9299 = G__9300; +var G__4832 = (i__4500__auto___4831 + (1)); +i__4500__auto___4831 = G__4832; continue; } else { } @@ -1043,9 +1050,9 @@ return null; titanoboa.designer.stop_force_BANG_.cljs$lang$maxFixedArity = (0); /** @this {Function} */ -titanoboa.designer.stop_force_BANG_.cljs$lang$applyTo = (function (seq9297){ +titanoboa.designer.stop_force_BANG_.cljs$lang$applyTo = (function (seq4829){ var self__4487__auto__ = this; -return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq9297)); +return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq4829)); }); /** @@ -1054,8 +1061,8 @@ return self__4487__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.cal * Welcome to mutable world of D3 :) ! */ titanoboa.designer.fix_fl_node_BANG_ = (function titanoboa$designer$fix_fl_node_BANG_(var_args){ -var G__9302 = arguments.length; -switch (G__9302) { +var G__4834 = arguments.length; +switch (G__4834) { case 4: return titanoboa.designer.fix_fl_node_BANG_.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); @@ -1096,10 +1103,10 @@ var nodes = fl.nodes(); fl.stop(); nodes.forEach(((function (fl,nodes){ -return (function (p1__9304_SHARP_){ -p1__9304_SHARP_.fixed = fixed; +return (function (p1__4836_SHARP_){ +p1__4836_SHARP_.fixed = fixed; -return p1__9304_SHARP_.pinned = fixed; +return p1__4836_SHARP_.pinned = fixed; });})(fl,nodes)) ); @@ -1109,10 +1116,10 @@ return fl.resume(); return null; } }); -titanoboa.designer.reposition_fl_node_BANG_ = (function titanoboa$designer$reposition_fl_node_BANG_(graph_cursor,i,p__9305,fixed){ -var vec__9306 = p__9305; -var x = cljs.core.nth.call(null,vec__9306,(0),null); -var y = cljs.core.nth.call(null,vec__9306,(1),null); +titanoboa.designer.reposition_fl_node_BANG_ = (function titanoboa$designer$reposition_fl_node_BANG_(graph_cursor,i,p__4837,fixed){ +var vec__4838 = p__4837; +var x = cljs.core.nth.call(null,vec__4838,(0),null); +var y = cljs.core.nth.call(null,vec__4838,(1),null); var fl = titanoboa.designer.get_force_layout.call(null,graph_cursor); var nodes = fl.nodes(); @@ -1134,15 +1141,15 @@ node.pinned = fixed; return fl.resume(); }); titanoboa.designer.get_node_index = (function titanoboa$designer$get_node_index(nodes,id){ -return new cljs.core.Keyword(null,"index","index",-1531685915).cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,cljs.core.filter.call(null,(function (p1__9309_SHARP_){ -return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__9309_SHARP_),id); +return new cljs.core.Keyword(null,"index","index",-1531685915).cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,cljs.core.filter.call(null,(function (p1__4841_SHARP_){ +return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__4841_SHARP_),id); }),nodes))); }); titanoboa.designer.gen_vertices = (function titanoboa$designer$gen_vertices(steps,nodes){ -return cljs.core.vec.call(null,cljs.core.conj.call(null,cljs.core.apply.call(null,cljs.core.concat,cljs.core.map.call(null,(function (p1__9310_SHARP_){ +return cljs.core.vec.call(null,cljs.core.conj.call(null,cljs.core.apply.call(null,cljs.core.concat,cljs.core.map.call(null,(function (p1__4842_SHARP_){ return cljs.core.map.call(null,(function (x){ -return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"source","source",-433931539),titanoboa.designer.get_node_index.call(null,nodes,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__9310_SHARP_)),new cljs.core.Keyword(null,"target","target",253001721),titanoboa.designer.get_node_index.call(null,nodes,cljs.core.get.call(null,x,(1))),new cljs.core.Keyword(null,"condition","condition",1668437652),cljs.core.get.call(null,x,(0))], null); -}),cljs.core.seq.call(null,new cljs.core.Keyword(null,"next","next",-117701485).cljs$core$IFn$_invoke$arity$1(p1__9310_SHARP_))); +return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"source","source",-433931539),titanoboa.designer.get_node_index.call(null,nodes,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__4842_SHARP_)),new cljs.core.Keyword(null,"target","target",253001721),titanoboa.designer.get_node_index.call(null,nodes,cljs.core.get.call(null,x,(1))),new cljs.core.Keyword(null,"condition","condition",1668437652),cljs.core.get.call(null,x,(0))], null); +}),cljs.core.seq.call(null,new cljs.core.Keyword(null,"next","next",-117701485).cljs$core$IFn$_invoke$arity$1(p1__4842_SHARP_))); }),steps)),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"source","source",-433931539),(0),new cljs.core.Keyword(null,"target","target",253001721),(1),new cljs.core.Keyword(null,"condition","condition",1668437652),"*"], null))); }); titanoboa.designer.get_steps_vec = (function titanoboa$designer$get_steps_vec(jd){ @@ -1167,8 +1174,8 @@ titanoboa.designer.update_fl_node_BANG_ = (function titanoboa$designer$update_fl var fl = titanoboa.designer.get_force_layout.call(null,graph_cursor); var nodes = fl.nodes(); var node = cljs.core.first.call(null,nodes.filter(((function (fl,nodes){ -return (function (p1__9312_SHARP_){ -return cljs.core._EQ_.call(null,p1__9312_SHARP_.id,step_id); +return (function (p1__4844_SHARP_){ +return cljs.core._EQ_.call(null,p1__4844_SHARP_.id,step_id); });})(fl,nodes)) )); fl.stop(); @@ -1191,14 +1198,14 @@ return idx; }); titanoboa.designer.reindex_vertice = (function titanoboa$designer$reindex_vertice(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9315 = arguments.length; -var i__4500__auto___9316 = (0); +var len__4499__auto___4847 = arguments.length; +var i__4500__auto___4848 = (0); while(true){ -if((i__4500__auto___9316 < len__4499__auto___9315)){ -args__4502__auto__.push((arguments[i__4500__auto___9316])); +if((i__4500__auto___4848 < len__4499__auto___4847)){ +args__4502__auto__.push((arguments[i__4500__auto___4848])); -var G__9317 = (i__4500__auto___9316 + (1)); -i__4500__auto___9316 = G__9317; +var G__4849 = (i__4500__auto___4848 + (1)); +i__4500__auto___4848 = G__4849; continue; } else { } @@ -1221,11 +1228,11 @@ return cljs.core.assoc.call(null,vertice,new cljs.core.Keyword(null,"source","so titanoboa.designer.reindex_vertice.cljs$lang$maxFixedArity = (1); /** @this {Function} */ -titanoboa.designer.reindex_vertice.cljs$lang$applyTo = (function (seq9313){ -var G__9314 = cljs.core.first.call(null,seq9313); -var seq9313__$1 = cljs.core.next.call(null,seq9313); +titanoboa.designer.reindex_vertice.cljs$lang$applyTo = (function (seq4845){ +var G__4846 = cljs.core.first.call(null,seq4845); +var seq4845__$1 = cljs.core.next.call(null,seq4845); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9314,seq9313__$1); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4846,seq4845__$1); }); titanoboa.designer.remove_nodes_vertices_BANG_ = (function titanoboa$designer$remove_nodes_vertices_BANG_(graph_cursor,node_index){ @@ -1238,8 +1245,8 @@ return ((cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"source","source",- ); var reindex_transducer = cljs.core.map.call(null,titanoboa.designer.reindex_vertice.call(null,node_index)); return cljs.core.swap_BANG_.call(null,vert_cursor,((function (vert_cursor,remove_transducer,reindex_transducer){ -return (function (p1__9318_SHARP_){ -return cljs.core.vec.call(null,cljs.core.eduction.call(null,cljs.core.comp.call(null,remove_transducer,reindex_transducer),p1__9318_SHARP_)); +return (function (p1__4850_SHARP_){ +return cljs.core.vec.call(null,cljs.core.eduction.call(null,cljs.core.comp.call(null,remove_transducer,reindex_transducer),p1__4850_SHARP_)); });})(vert_cursor,remove_transducer,reindex_transducer)) ); }); @@ -1290,8 +1297,8 @@ return (32); * From the original seq only :name and :type attributes are used. */ titanoboa.designer.gen_nodes_seq = (function titanoboa$designer$gen_nodes_seq(var_args){ -var G__9323 = arguments.length; -switch (G__9323) { +var G__4855 = arguments.length; +switch (G__4855) { case 4: return titanoboa.designer.gen_nodes_seq.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); @@ -1307,10 +1314,10 @@ throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1( }); titanoboa.designer.gen_nodes_seq.cljs$core$IFn$_invoke$arity$4 = (function (steps,sx,sy,fixed){ -return cljs.core.conj.call(null,cljs.core.keep_indexed.call(null,(function (p1__9320_SHARP_,p2__9319_SHARP_){ -return cljs.core.assoc.call(null,p2__9319_SHARP_,new cljs.core.Keyword(null,"index","index",-1531685915),(p1__9320_SHARP_ + (1))); -}),cljs.core.mapv.call(null,(function (p1__9321_SHARP_){ -return new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"x","x",2099068185),(0),new cljs.core.Keyword(null,"y","y",-1757859776),(-100),new cljs.core.Keyword(null,"r","r",-471384190),titanoboa.designer.get_radius.call(null,new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(p1__9321_SHARP_)),new cljs.core.Keyword(null,"id","id",-1388402092),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__9321_SHARP_),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(p1__9321_SHARP_),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(p1__9321_SHARP_),new cljs.core.Keyword(null,"pinned","pinned",-1216085339),false], null); +return cljs.core.conj.call(null,cljs.core.keep_indexed.call(null,(function (p1__4852_SHARP_,p2__4851_SHARP_){ +return cljs.core.assoc.call(null,p2__4851_SHARP_,new cljs.core.Keyword(null,"index","index",-1531685915),(p1__4852_SHARP_ + (1))); +}),cljs.core.mapv.call(null,(function (p1__4853_SHARP_){ +return new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"x","x",2099068185),(0),new cljs.core.Keyword(null,"y","y",-1757859776),(-100),new cljs.core.Keyword(null,"r","r",-471384190),titanoboa.designer.get_radius.call(null,new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(p1__4853_SHARP_)),new cljs.core.Keyword(null,"id","id",-1388402092),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(p1__4853_SHARP_),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(p1__4853_SHARP_),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(p1__4853_SHARP_),new cljs.core.Keyword(null,"pinned","pinned",-1216085339),false], null); }),steps)),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"y","y",-1757859776),new cljs.core.Keyword(null,"r","r",-471384190),new cljs.core.Keyword(null,"pinned","pinned",-1216085339),new cljs.core.Keyword(null,"index","index",-1531685915),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"id","id",-1388402092),new cljs.core.Keyword(null,"x","x",2099068185),new cljs.core.Keyword(null,"fixed","fixed",-562004358)],[sy,(36),fixed,(0),"start",new cljs.core.Keyword(null,"start","start",-355208981),"start",sx,fixed])); }); @@ -1322,14 +1329,14 @@ titanoboa.designer.gen_nodes_seq.cljs$lang$maxFixedArity = 4; titanoboa.designer.parse_job_graph = (function titanoboa$designer$parse_job_graph(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9331 = arguments.length; -var i__4500__auto___9332 = (0); +var len__4499__auto___4863 = arguments.length; +var i__4500__auto___4864 = (0); while(true){ -if((i__4500__auto___9332 < len__4499__auto___9331)){ -args__4502__auto__.push((arguments[i__4500__auto___9332])); +if((i__4500__auto___4864 < len__4499__auto___4863)){ +args__4502__auto__.push((arguments[i__4500__auto___4864])); -var G__9333 = (i__4500__auto___9332 + (1)); -i__4500__auto___9332 = G__9333; +var G__4865 = (i__4500__auto___4864 + (1)); +i__4500__auto___4864 = G__4865; continue; } else { } @@ -1340,9 +1347,9 @@ var argseq__4503__auto__ = ((((1) < args__4502__auto__.length))?(new cljs.core.I return titanoboa.designer.parse_job_graph.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),argseq__4503__auto__); }); -titanoboa.designer.parse_job_graph.cljs$core$IFn$_invoke$arity$variadic = (function (jd,p__9327){ -var vec__9328 = p__9327; -var zoom = cljs.core.nth.call(null,vec__9328,(0),null); +titanoboa.designer.parse_job_graph.cljs$core$IFn$_invoke$arity$variadic = (function (jd,p__4859){ +var vec__4860 = p__4859; +var zoom = cljs.core.nth.call(null,vec__4860,(0),null); var steps = titanoboa.designer.get_steps_vec.call(null,jd); var nodes = (cljs.core.truth_(zoom)?titanoboa.designer.gen_nodes_seq.call(null,steps,(cljs.core.deref.call(null,titanoboa.designer.svg_width_atom) / (2)),(((zoom === (0)))?(24):zoom),true):titanoboa.designer.gen_nodes_seq.call(null,steps)); var vertices = titanoboa.designer.gen_vertices.call(null,steps,nodes); @@ -1352,31 +1359,31 @@ return cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 4, [new titanoboa.designer.parse_job_graph.cljs$lang$maxFixedArity = (1); /** @this {Function} */ -titanoboa.designer.parse_job_graph.cljs$lang$applyTo = (function (seq9325){ -var G__9326 = cljs.core.first.call(null,seq9325); -var seq9325__$1 = cljs.core.next.call(null,seq9325); +titanoboa.designer.parse_job_graph.cljs$lang$applyTo = (function (seq4857){ +var G__4858 = cljs.core.first.call(null,seq4857); +var seq4857__$1 = cljs.core.next.call(null,seq4857); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9326,seq9325__$1); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4858,seq4857__$1); }); titanoboa.designer.initialize_visualization_BANG_ = (function titanoboa$designer$initialize_visualization_BANG_(jd,graph_view_atom,jobdef_name){ return cljs.core.swap_BANG_.call(null,graph_view_atom,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [jobdef_name], null),cljs.core.merge.call(null,titanoboa.designer.parse_job_graph.call(null,jd),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"pinned","pinned",-1216085339),false,new cljs.core.Keyword(null,"edit-mode","edit-mode",1940640993),new cljs.core.Keyword(null,"edit","edit",-1641834166),new cljs.core.Keyword(null,"selected","selected",574897764),null,new cljs.core.Keyword(null,"step-editor","step-editor",1799616437),new cljs.core.Keyword(null,"properties","properties",685819552),new cljs.core.Keyword(null,"zoom","zoom",-1827487038),(0)], null))); }); titanoboa.designer.reinitialize_visualization_BANG_ = (function titanoboa$designer$reinitialize_visualization_BANG_(jd,graph_view_atom,jobdef_name){ -return cljs.core.swap_BANG_.call(null,graph_view_atom,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [jobdef_name], null),(function (p1__9334_SHARP_){ -return cljs.core.merge.call(null,p1__9334_SHARP_,titanoboa.designer.parse_job_graph.call(null,jd,cljs.core.get_in.call(null,cljs.core.deref.call(null,graph_view_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [jobdef_name,new cljs.core.Keyword(null,"zoom","zoom",-1827487038)], null))),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"selected","selected",574897764),null], null)); +return cljs.core.swap_BANG_.call(null,graph_view_atom,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [jobdef_name], null),(function (p1__4866_SHARP_){ +return cljs.core.merge.call(null,p1__4866_SHARP_,titanoboa.designer.parse_job_graph.call(null,jd,cljs.core.get_in.call(null,cljs.core.deref.call(null,graph_view_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [jobdef_name,new cljs.core.Keyword(null,"zoom","zoom",-1827487038)], null))),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"selected","selected",574897764),null], null)); })); }); titanoboa.designer.initialize_force_BANG_ = (function titanoboa$designer$initialize_force_BANG_(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9342 = arguments.length; -var i__4500__auto___9343 = (0); +var len__4499__auto___4874 = arguments.length; +var i__4500__auto___4875 = (0); while(true){ -if((i__4500__auto___9343 < len__4499__auto___9342)){ -args__4502__auto__.push((arguments[i__4500__auto___9343])); +if((i__4500__auto___4875 < len__4499__auto___4874)){ +args__4502__auto__.push((arguments[i__4500__auto___4875])); -var G__9344 = (i__4500__auto___9343 + (1)); -i__4500__auto___9343 = G__9344; +var G__4876 = (i__4500__auto___4875 + (1)); +i__4500__auto___4875 = G__4876; continue; } else { } @@ -1387,34 +1394,34 @@ var argseq__4503__auto__ = ((((2) < args__4502__auto__.length))?(new cljs.core.I return titanoboa.designer.initialize_force_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__4503__auto__); }); -titanoboa.designer.initialize_force_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (graph_view_atom,jobdef_name,p__9338){ -var vec__9339 = p__9338; -var static_QMARK_ = cljs.core.nth.call(null,vec__9339,(0),null); +titanoboa.designer.initialize_force_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (graph_view_atom,jobdef_name,p__4870){ +var vec__4871 = p__4870; +var static_QMARK_ = cljs.core.nth.call(null,vec__4871,(0),null); return cljs.core.swap_BANG_.call(null,graph_view_atom,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [jobdef_name,new cljs.core.Keyword(null,"force-layout","force-layout",1247820016)], null),titanoboa.designer.force_layout.call(null,graph_view_atom,cljs.core.deref.call(null,titanoboa.designer.svg_width_atom),(cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (290)),jobdef_name,static_QMARK_)); }); titanoboa.designer.initialize_force_BANG_.cljs$lang$maxFixedArity = (2); /** @this {Function} */ -titanoboa.designer.initialize_force_BANG_.cljs$lang$applyTo = (function (seq9335){ -var G__9336 = cljs.core.first.call(null,seq9335); -var seq9335__$1 = cljs.core.next.call(null,seq9335); -var G__9337 = cljs.core.first.call(null,seq9335__$1); -var seq9335__$2 = cljs.core.next.call(null,seq9335__$1); +titanoboa.designer.initialize_force_BANG_.cljs$lang$applyTo = (function (seq4867){ +var G__4868 = cljs.core.first.call(null,seq4867); +var seq4867__$1 = cljs.core.next.call(null,seq4867); +var G__4869 = cljs.core.first.call(null,seq4867__$1); +var seq4867__$2 = cljs.core.next.call(null,seq4867__$1); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9336,G__9337,seq9335__$2); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4868,G__4869,seq4867__$2); }); titanoboa.designer.open_visualization_BANG_ = (function titanoboa$designer$open_visualization_BANG_(var_args){ var args__4502__auto__ = []; -var len__4499__auto___9354 = arguments.length; -var i__4500__auto___9355 = (0); +var len__4499__auto___4886 = arguments.length; +var i__4500__auto___4887 = (0); while(true){ -if((i__4500__auto___9355 < len__4499__auto___9354)){ -args__4502__auto__.push((arguments[i__4500__auto___9355])); +if((i__4500__auto___4887 < len__4499__auto___4886)){ +args__4502__auto__.push((arguments[i__4500__auto___4887])); -var G__9356 = (i__4500__auto___9355 + (1)); -i__4500__auto___9355 = G__9356; +var G__4888 = (i__4500__auto___4887 + (1)); +i__4500__auto___4887 = G__4888; continue; } else { } @@ -1425,9 +1432,9 @@ var argseq__4503__auto__ = ((((4) < args__4502__auto__.length))?(new cljs.core.I return titanoboa.designer.open_visualization_BANG_.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),argseq__4503__auto__); }); -titanoboa.designer.open_visualization_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (jd,graph_view_atom,opened_job_atom,jobdef_name,p__9350){ -var vec__9351 = p__9350; -var static_QMARK_ = cljs.core.nth.call(null,vec__9351,(0),null); +titanoboa.designer.open_visualization_BANG_.cljs$core$IFn$_invoke$arity$variadic = (function (jd,graph_view_atom,opened_job_atom,jobdef_name,p__4882){ +var vec__4883 = p__4882; +var static_QMARK_ = cljs.core.nth.call(null,vec__4883,(0),null); if(cljs.core.not.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,graph_view_atom),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [jobdef_name], null)))){ titanoboa.designer.initialize_visualization_BANG_.call(null,jd,graph_view_atom,jobdef_name); @@ -1441,17 +1448,17 @@ return cljs.core.reset_BANG_.call(null,opened_job_atom,jobdef_name); titanoboa.designer.open_visualization_BANG_.cljs$lang$maxFixedArity = (4); /** @this {Function} */ -titanoboa.designer.open_visualization_BANG_.cljs$lang$applyTo = (function (seq9345){ -var G__9346 = cljs.core.first.call(null,seq9345); -var seq9345__$1 = cljs.core.next.call(null,seq9345); -var G__9347 = cljs.core.first.call(null,seq9345__$1); -var seq9345__$2 = cljs.core.next.call(null,seq9345__$1); -var G__9348 = cljs.core.first.call(null,seq9345__$2); -var seq9345__$3 = cljs.core.next.call(null,seq9345__$2); -var G__9349 = cljs.core.first.call(null,seq9345__$3); -var seq9345__$4 = cljs.core.next.call(null,seq9345__$3); +titanoboa.designer.open_visualization_BANG_.cljs$lang$applyTo = (function (seq4877){ +var G__4878 = cljs.core.first.call(null,seq4877); +var seq4877__$1 = cljs.core.next.call(null,seq4877); +var G__4879 = cljs.core.first.call(null,seq4877__$1); +var seq4877__$2 = cljs.core.next.call(null,seq4877__$1); +var G__4880 = cljs.core.first.call(null,seq4877__$2); +var seq4877__$3 = cljs.core.next.call(null,seq4877__$2); +var G__4881 = cljs.core.first.call(null,seq4877__$3); +var seq4877__$4 = cljs.core.next.call(null,seq4877__$3); var self__4486__auto__ = this; -return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__9346,G__9347,G__9348,G__9349,seq9345__$4); +return self__4486__auto__.cljs$core$IFn$_invoke$arity$variadic(G__4878,G__4879,G__4880,G__4881,seq4877__$4); }); titanoboa.designer.reload_force_BANG_ = (function titanoboa$designer$reload_force_BANG_(jd,graph_view_atom,jobdef_name){ @@ -1466,8 +1473,8 @@ var val = reagent.core.atom.call(null,""); return ((function (val){ return (function (){ return new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [re_com.core.h_box,new cljs.core.Keyword(null,"size","size",1098693007),"auto",new cljs.core.Keyword(null,"margin","margin",-995903681),"5px 0px 0px 0px",new cljs.core.Keyword(null,"gap","gap",80255254),"5px",new cljs.core.Keyword(null,"children","children",-940561982),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [re_com.core.input_text,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Workflow Name",new cljs.core.Keyword(null,"model","model",331153215),cljs.core.deref.call(null,val),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (val){ -return (function (p1__9357_SHARP_){ -return cljs.core.reset_BANG_.call(null,val,p1__9357_SHARP_); +return (function (p1__4889_SHARP_){ +return cljs.core.reset_BANG_.call(null,val,p1__4889_SHARP_); });})(val)) ], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [re_com.core.button,new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (val){ return (function (){ @@ -1487,22 +1494,22 @@ return null; }); ;})(val)) }); -titanoboa.designer.load_revision_modal = (function titanoboa$designer$load_revision_modal(p__9358){ -var map__9359 = p__9358; -var map__9359__$1 = ((((!((map__9359 == null)))?(((((map__9359.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9359.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9359):map__9359); -var jd_name = cljs.core.get.call(null,map__9359__$1,new cljs.core.Keyword(null,"jd-name","jd-name",-1217920692)); -return reagent.core.create_class.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"reagent-render","reagent-render",-985383853),((function (map__9359,map__9359__$1,jd_name){ -return (function (p__9361){ -var map__9362 = p__9361; -var map__9362__$1 = ((((!((map__9362 == null)))?(((((map__9362.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9362.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9362):map__9362); -var jd_name__$1 = cljs.core.get.call(null,map__9362__$1,new cljs.core.Keyword(null,"jd-name","jd-name",-1217920692)); -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-revision-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"load-revision-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"myModalLabel"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-revision-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"top","top",-1856271961),"8%",new cljs.core.Keyword(null,"left","left",-399115937),"18%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-revision-modal-content"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),["load-revision-modal-header",cljs.core.str.cljs$core$IFn$_invoke$arity$1(jd_name__$1)].join('')], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close","button.close",-1545560743),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),"2px 0px 0px 0px",new cljs.core.Keyword(null,"height","height",1025178622),"28px",new cljs.core.Keyword(null,"width","width",-384071477),"28px"], null),new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/flow.svg"], null)], null)," Load a workflow's revision from repository for flow ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),jd_name__$1], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),["load-revision-modal-body",cljs.core.str.cljs$core$IFn$_invoke$arity$1(jd_name__$1)].join('')], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"table","table",-564943036),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"table table-hover table-striped table-bordered"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"thead","thead",-291875296),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Revision"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Date"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"User"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Action"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Revision Notes"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tbody","tbody",-80678300),cljs.core.doall.call(null,cljs.core.map.call(null,((function (map__9362,map__9362__$1,jd_name__$1,map__9359,map__9359__$1,jd_name){ +titanoboa.designer.load_revision_modal = (function titanoboa$designer$load_revision_modal(p__4890){ +var map__4891 = p__4890; +var map__4891__$1 = ((((!((map__4891 == null)))?(((((map__4891.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4891.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4891):map__4891); +var jd_name = cljs.core.get.call(null,map__4891__$1,new cljs.core.Keyword(null,"jd-name","jd-name",-1217920692)); +return reagent.core.create_class.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"reagent-render","reagent-render",-985383853),((function (map__4891,map__4891__$1,jd_name){ +return (function (p__4893){ +var map__4894 = p__4893; +var map__4894__$1 = ((((!((map__4894 == null)))?(((((map__4894.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4894.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4894):map__4894); +var jd_name__$1 = cljs.core.get.call(null,map__4894__$1,new cljs.core.Keyword(null,"jd-name","jd-name",-1217920692)); +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-revision-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"load-revision-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"myModalLabel"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-revision-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"top","top",-1856271961),"8%",new cljs.core.Keyword(null,"left","left",-399115937),"18%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-revision-modal-content"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),["load-revision-modal-header",cljs.core.str.cljs$core$IFn$_invoke$arity$1(jd_name__$1)].join('')], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close","button.close",-1545560743),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),"2px 0px 0px 0px",new cljs.core.Keyword(null,"height","height",1025178622),"28px",new cljs.core.Keyword(null,"width","width",-384071477),"28px"], null),new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/flow.svg"], null)], null)," Load a workflow's revision from repository for flow ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),jd_name__$1], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),["load-revision-modal-body",cljs.core.str.cljs$core$IFn$_invoke$arity$1(jd_name__$1)].join('')], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"table","table",-564943036),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"table table-hover table-striped table-bordered"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"thead","thead",-291875296),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Revision"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Date"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"User"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Action"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Revision Notes"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tbody","tbody",-80678300),cljs.core.doall.call(null,cljs.core.map.call(null,((function (map__4894,map__4894__$1,jd_name__$1,map__4891,map__4891__$1,jd_name){ return (function (i){ -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"label label-default"], null),cljs.core.get.call(null,i,(0))], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get.call(null,i,(1)))].join('')], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get.call(null,i,(2)))].join('')], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"title","title",636505583),"Edit",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9362,map__9362__$1,jd_name__$1,map__9359,map__9359__$1,jd_name){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"label label-default"], null),cljs.core.get.call(null,i,(0))], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get.call(null,i,(1)))].join('')], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get.call(null,i,(2)))].join('')], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"title","title",636505583),"Edit",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__4894,map__4894__$1,jd_name__$1,map__4891,map__4891__$1,jd_name){ return (function (){ titanoboa.designer.jquery.call(null,"#load-revision-modal").modal("hide"); -return titanoboa.api.get_def.call(null,jd_name__$1,cljs.core.get.call(null,i,(0)),((function (map__9362,map__9362__$1,jd_name__$1,map__9359,map__9359__$1,jd_name){ +return titanoboa.api.get_def.call(null,jd_name__$1,cljs.core.get.call(null,i,(0)),((function (map__4894,map__4894__$1,jd_name__$1,map__4891,map__4891__$1,jd_name){ return (function (jd){ var converted_jd = titanoboa.designer.job_def__GT_client.call(null,jd); titanoboa.designer.add_definition_BANG_.call(null,converted_jd); @@ -1510,32 +1517,32 @@ titanoboa.designer.add_definition_BANG_.call(null,converted_jd); titanoboa.designer.open_visualization_BANG_.call(null,converted_jd,titanoboa.designer.graph_view,titanoboa.designer.opened_job,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(jd)); return titanoboa.designer.reload_force_BANG_.call(null,converted_jd,titanoboa.designer.graph_view,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(jd)); -});})(map__9362,map__9362__$1,jd_name__$1,map__9359,map__9359__$1,jd_name)) +});})(map__4894,map__4894__$1,jd_name__$1,map__4891,map__4891__$1,jd_name)) ); -});})(map__9362,map__9362__$1,jd_name__$1,map__9359,map__9359__$1,jd_name)) +});})(map__4894,map__4894__$1,jd_name__$1,map__4891,map__4891__$1,jd_name)) ], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i.zmdi.zmdi-edit","i.zmdi.zmdi-edit",-1454471844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"24px"], null)], null)], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get.call(null,i,(3)))].join('')], null)], null)], null); -});})(map__9362,map__9362__$1,jd_name__$1,map__9359,map__9359__$1,jd_name)) +});})(map__4894,map__4894__$1,jd_name__$1,map__4891,map__4891__$1,jd_name)) ,cljs.core.get.call(null,cljs.core.deref.call(null,titanoboa.designer.job_def_revision_list),jd_name__$1)))], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-footer","div.modal-footer",1309572241),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-danger.btn-default","button.btn.btn-danger.btn-default",-1207002074),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991)," Cancel"], null)], null)], null)], null)], null)], null); -});})(map__9359,map__9359__$1,jd_name)) -,new cljs.core.Keyword(null,"component-did-mount","component-did-mount",-1126910518),((function (map__9359,map__9359__$1,jd_name){ +});})(map__4891,map__4891__$1,jd_name)) +,new cljs.core.Keyword(null,"component-did-mount","component-did-mount",-1126910518),((function (map__4891,map__4891__$1,jd_name){ return (function (this$){ titanoboa.designer.jquery.call(null,"#load-revision-modal-content").resizable(cljs.core.clj__GT_js.call(null,new cljs.core.PersistentArrayMap(null, 1, ["alsoResize","#load-revision-modal-dialog"], null))); return titanoboa.designer.jquery.call(null,"#load-revision-modal-dialog").draggable(cljs.core.clj__GT_js.call(null,new cljs.core.PersistentArrayMap(null, 1, ["handle",".modal-header"], null))); -});})(map__9359,map__9359__$1,jd_name)) +});})(map__4891,map__4891__$1,jd_name)) ], null)); }); -titanoboa.designer.grid_body = (function titanoboa$designer$grid_body(p__9364){ -var map__9365 = p__9364; -var map__9365__$1 = ((((!((map__9365 == null)))?(((((map__9365.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9365.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9365):map__9365); -var filter_text = cljs.core.get.call(null,map__9365__$1,new cljs.core.Keyword(null,"filter-text","filter-text",-381699202)); -var job_def_list = cljs.core.get.call(null,map__9365__$1,new cljs.core.Keyword(null,"job-def-list","job-def-list",228175520)); -var open_jd_revisions = cljs.core.get.call(null,map__9365__$1,new cljs.core.Keyword(null,"open-jd-revisions","open-jd-revisions",-631627575)); -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tbody","tbody",-80678300),cljs.core.doall.call(null,cljs.core.map.call(null,((function (map__9365,map__9365__$1,filter_text,job_def_list,open_jd_revisions){ +titanoboa.designer.grid_body = (function titanoboa$designer$grid_body(p__4896){ +var map__4897 = p__4896; +var map__4897__$1 = ((((!((map__4897 == null)))?(((((map__4897.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4897.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4897):map__4897); +var filter_text = cljs.core.get.call(null,map__4897__$1,new cljs.core.Keyword(null,"filter-text","filter-text",-381699202)); +var job_def_list = cljs.core.get.call(null,map__4897__$1,new cljs.core.Keyword(null,"job-def-list","job-def-list",228175520)); +var open_jd_revisions = cljs.core.get.call(null,map__4897__$1,new cljs.core.Keyword(null,"open-jd-revisions","open-jd-revisions",-631627575)); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tbody","tbody",-80678300),cljs.core.doall.call(null,cljs.core.map.call(null,((function (map__4897,map__4897__$1,filter_text,job_def_list,open_jd_revisions){ return (function (i){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get.call(null,i,(0)))," "].join(''),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"label label-default"], null),cljs.core.get.call(null,i,(1))], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"title","title",636505583),"Edit",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9365,map__9365__$1,filter_text,job_def_list,open_jd_revisions){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get.call(null,i,(0)))," "].join(''),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"label label-default"], null),cljs.core.get.call(null,i,(1))], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"title","title",636505583),"Edit",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__4897,map__4897__$1,filter_text,job_def_list,open_jd_revisions){ return (function (){ -return titanoboa.api.get_head_def.call(null,cljs.core.get.call(null,i,(0)),((function (map__9365,map__9365__$1,filter_text,job_def_list,open_jd_revisions){ +return titanoboa.api.get_head_def.call(null,cljs.core.get.call(null,i,(0)),((function (map__4897,map__4897__$1,filter_text,job_def_list,open_jd_revisions){ return (function (jd){ var converted_jd = titanoboa.designer.job_def__GT_client.call(null,jd); titanoboa.designer.add_definition_BANG_.call(null,converted_jd); @@ -1543,64 +1550,64 @@ titanoboa.designer.add_definition_BANG_.call(null,converted_jd); titanoboa.designer.open_visualization_BANG_.call(null,converted_jd,titanoboa.designer.graph_view,titanoboa.designer.opened_job,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(jd)); return titanoboa.designer.reload_force_BANG_.call(null,converted_jd,titanoboa.designer.graph_view,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(jd)); -});})(map__9365,map__9365__$1,filter_text,job_def_list,open_jd_revisions)) +});})(map__4897,map__4897__$1,filter_text,job_def_list,open_jd_revisions)) ); -});})(map__9365,map__9365__$1,filter_text,job_def_list,open_jd_revisions)) -], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i.zmdi.zmdi-edit","i.zmdi.zmdi-edit",-1454471844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"24px"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9365,map__9365__$1,filter_text,job_def_list,open_jd_revisions){ +});})(map__4897,map__4897__$1,filter_text,job_def_list,open_jd_revisions)) +], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i.zmdi.zmdi-edit","i.zmdi.zmdi-edit",-1454471844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"24px"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__4897,map__4897__$1,filter_text,job_def_list,open_jd_revisions){ return (function (){ cljs.core.reset_BANG_.call(null,open_jd_revisions,cljs.core.get.call(null,i,(0))); return titanoboa.designer.jquery.call(null,"#load-revision-modal").modal(); -});})(map__9365,map__9365__$1,filter_text,job_def_list,open_jd_revisions)) +});})(map__4897,map__4897__$1,filter_text,job_def_list,open_jd_revisions)) ,new cljs.core.Keyword(null,"title","title",636505583),"View Revisions",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"10px"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i.zmdi.zmdi-time-restore","i.zmdi.zmdi-time-restore",-511128588),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"24px",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"-18px"], null)], null)], null)], null)], null)], null); -});})(map__9365,map__9365__$1,filter_text,job_def_list,open_jd_revisions)) +});})(map__4897,map__4897__$1,filter_text,job_def_list,open_jd_revisions)) ,(cljs.core.truth_((function (){var and__3911__auto__ = filter_text; if(cljs.core.truth_(and__3911__auto__)){ return cljs.core.not_EQ_.call(null,clojure.string.trim.call(null,filter_text),""); } else { return and__3911__auto__; } -})())?cljs.core.filterv.call(null,((function (map__9365,map__9365__$1,filter_text,job_def_list,open_jd_revisions){ +})())?cljs.core.filterv.call(null,((function (map__4897,map__4897__$1,filter_text,job_def_list,open_jd_revisions){ return (function (i){ return cljs.core.clj__GT_js.call(null,cljs.core.get.call(null,i,(0))).toLowerCase().includes(cljs.core.clj__GT_js.call(null,filter_text).toLowerCase()); -});})(map__9365,map__9365__$1,filter_text,job_def_list,open_jd_revisions)) +});})(map__4897,map__4897__$1,filter_text,job_def_list,open_jd_revisions)) ,job_def_list):cljs.core.sort.call(null,job_def_list))))], null); }); -titanoboa.designer.grid = (function titanoboa$designer$grid(p__9368){ -var map__9369 = p__9368; -var map__9369__$1 = ((((!((map__9369 == null)))?(((((map__9369.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9369.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9369):map__9369); -var job_def_list = cljs.core.get.call(null,map__9369__$1,new cljs.core.Keyword(null,"job-def-list","job-def-list",228175520)); +titanoboa.designer.grid = (function titanoboa$designer$grid(p__4900){ +var map__4901 = p__4900; +var map__4901__$1 = ((((!((map__4901 == null)))?(((((map__4901.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4901.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4901):map__4901); +var job_def_list = cljs.core.get.call(null,map__4901__$1,new cljs.core.Keyword(null,"job-def-list","job-def-list",228175520)); var open_jd_revisions = reagent.core.atom.call(null,null); var filter_text = reagent.core.atom.call(null,null); var filtered_jd_list = reagent.core.atom.call(null,job_def_list); -return ((function (open_jd_revisions,filter_text,filtered_jd_list,map__9369,map__9369__$1,job_def_list){ -return (function (p__9371){ -var map__9372 = p__9371; -var map__9372__$1 = ((((!((map__9372 == null)))?(((((map__9372.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9372.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9372):map__9372); -var job_def_list__$1 = cljs.core.get.call(null,map__9372__$1,new cljs.core.Keyword(null,"job-def-list","job-def-list",228175520)); -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"height","height",1025178622),(cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (140)),new cljs.core.Keyword(null,"min-width","min-width",1926193728),"240px",new cljs.core.Keyword(null,"overflow-y","overflow-y",-1436589285),"auto"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-heading"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),"2px 0px 0px 0px",new cljs.core.Keyword(null,"height","height",1025178622),"32px",new cljs.core.Keyword(null,"width","width",-384071477),"32px"], null),new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/flow.svg"], null)], null)," Workflows"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.load_revision_modal,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"jd-name","jd-name",-1217920692),cljs.core.deref.call(null,open_jd_revisions)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"table","table",-564943036),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"table table-hover table-striped table-bordered header-fixed"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"thead","thead",-291875296),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"normal"], null),new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,filter_text),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__9372,map__9372__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__9369,map__9369__$1,job_def_list){ -return (function (p1__9367_SHARP_){ -return cljs.core.reset_BANG_.call(null,filter_text,p1__9367_SHARP_.target.value); -});})(map__9372,map__9372__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__9369,map__9369__$1,job_def_list)) -,new cljs.core.Keyword(null,"size","size",1098693007),"15"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9372,map__9372__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__9369,map__9369__$1,job_def_list){ +return ((function (open_jd_revisions,filter_text,filtered_jd_list,map__4901,map__4901__$1,job_def_list){ +return (function (p__4903){ +var map__4904 = p__4903; +var map__4904__$1 = ((((!((map__4904 == null)))?(((((map__4904.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4904.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4904):map__4904); +var job_def_list__$1 = cljs.core.get.call(null,map__4904__$1,new cljs.core.Keyword(null,"job-def-list","job-def-list",228175520)); +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"height","height",1025178622),(cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (140)),new cljs.core.Keyword(null,"min-width","min-width",1926193728),"240px",new cljs.core.Keyword(null,"overflow-y","overflow-y",-1436589285),"auto"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-heading"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),"2px 0px 0px 0px",new cljs.core.Keyword(null,"height","height",1025178622),"32px",new cljs.core.Keyword(null,"width","width",-384071477),"32px"], null),new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/flow.svg"], null)], null)," Workflows"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.load_revision_modal,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"jd-name","jd-name",-1217920692),cljs.core.deref.call(null,open_jd_revisions)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"table","table",-564943036),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"table table-hover table-striped table-bordered header-fixed"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"thead","thead",-291875296),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"normal"], null),new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,filter_text),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__4904,map__4904__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__4901,map__4901__$1,job_def_list){ +return (function (p1__4899_SHARP_){ +return cljs.core.reset_BANG_.call(null,filter_text,p1__4899_SHARP_.target.value); +});})(map__4904,map__4904__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__4901,map__4901__$1,job_def_list)) +,new cljs.core.Keyword(null,"size","size",1098693007),"15"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__4904,map__4904__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__4901,map__4901__$1,job_def_list){ return (function (){ return cljs.core.List.EMPTY; -});})(map__9372,map__9372__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__9369,map__9369__$1,job_def_list)) -,new cljs.core.Keyword(null,"title","title",636505583),"filter"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i.zmdi.zmdi-filter-list","i.zmdi.zmdi-filter-list",-108434350),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"24px"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9372,map__9372__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__9369,map__9369__$1,job_def_list){ +});})(map__4904,map__4904__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__4901,map__4901__$1,job_def_list)) +,new cljs.core.Keyword(null,"title","title",636505583),"filter"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i.zmdi.zmdi-filter-list","i.zmdi.zmdi-filter-list",-108434350),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"24px"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__4904,map__4904__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__4901,map__4901__$1,job_def_list){ return (function (){ return titanoboa.designer.load_def_list.call(null); -});})(map__9372,map__9372__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__9369,map__9369__$1,job_def_list)) +});})(map__4904,map__4904__$1,job_def_list__$1,open_jd_revisions,filter_text,filtered_jd_list,map__4901,map__4901__$1,job_def_list)) ,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"10px"], null),new cljs.core.Keyword(null,"title","title",636505583),"refresh"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i.zmdi.zmdi-refresh","i.zmdi.zmdi-refresh",-1091899932),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"24px",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"-18px"], null)], null)], null)], null)], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.grid_body,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"job-def-list","job-def-list",228175520),job_def_list__$1,new cljs.core.Keyword(null,"filter-text","filter-text",-381699202),cljs.core.deref.call(null,filter_text),new cljs.core.Keyword(null,"open-jd-revisions","open-jd-revisions",-631627575),open_jd_revisions], null)], null)], null)], null); }); -;})(open_jd_revisions,filter_text,filtered_jd_list,map__9369,map__9369__$1,job_def_list)) +;})(open_jd_revisions,filter_text,filtered_jd_list,map__4901,map__4901__$1,job_def_list)) }); titanoboa.designer.get_node_key = (function titanoboa$designer$get_node_key(name,type){ return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(name),cljs.core.str.cljs$core$IFn$_invoke$arity$1(type)].join(''); }); -titanoboa.designer.svg_coordinates = (function titanoboa$designer$svg_coordinates(p__9374){ -var vec__9375 = p__9374; -var htmlX = cljs.core.nth.call(null,vec__9375,(0),null); -var htmlY = cljs.core.nth.call(null,vec__9375,(1),null); +titanoboa.designer.svg_coordinates = (function titanoboa$designer$svg_coordinates(p__4906){ +var vec__4907 = p__4906; +var htmlX = cljs.core.nth.call(null,vec__4907,(0),null); +var htmlY = cljs.core.nth.call(null,vec__4907,(1),null); var svg = document.getElementById("svg"); var point = svg.createSVGPoint(); var _ = point.x = htmlX; @@ -1620,8 +1627,8 @@ return (function (){ return cljs.core.reset_BANG_.call(null,show_QMARK_,false); });})(cond_value,show_QMARK_)) ,new cljs.core.Keyword(null,"backdrop-color","backdrop-color",1921200717),"grey",new cljs.core.Keyword(null,"backdrop-opacity","backdrop-opacity",1467395653),0.4,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Consolas"], null),new cljs.core.Keyword(null,"child","child",623967545),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h3","h3",2067611163),"Edit link"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"From: ",new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"label label-primary"], null),new cljs.core.Keyword(null,"from","from",1815293044).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.designer.modal_link_props))], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"To : ",new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"label label-primary"], null),new cljs.core.Keyword(null,"to","to",192099007).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.designer.modal_link_props))], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,cond_value),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (cond_value,show_QMARK_){ -return (function (p1__9378_SHARP_){ -return cljs.core.reset_BANG_.call(null,cond_value,titanoboa.designer.eval_property.call(null,p1__9378_SHARP_.target.value)); +return (function (p1__4910_SHARP_){ +return cljs.core.reset_BANG_.call(null,cond_value,titanoboa.designer.eval_property.call(null,p1__4910_SHARP_.target.value)); });})(cond_value,show_QMARK_)) ,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Condition",new cljs.core.Keyword(null,"size","size",1098693007),"15"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-btn"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (cond_value,show_QMARK_){ return (function (){ @@ -1633,28 +1640,28 @@ return cljs.core.reset_BANG_.call(null,titanoboa.designer.modal_link_props,new c }); ;})(cond_value,show_QMARK_)) }); -titanoboa.designer.step_node = (function titanoboa$designer$step_node(p__9379){ -var map__9380 = p__9379; -var map__9380__$1 = ((((!((map__9380 == null)))?(((((map__9380.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9380.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9380):map__9380); -var job_metadata = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"job-metadata","job-metadata",-1874941597)); -var pinned = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"pinned","pinned",-1216085339)); -var key = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"key","key",-1516042587)); -var index = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"index","index",-1531685915)); -var graph_cursor = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); -var scale = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"scale","scale",-230427353)); -var name = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"name","name",1843675177)); -var history = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"history","history",-247395220)); -var type = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"type","type",1174270348)); -var inactive_QMARK_ = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"inactive?","inactive?",1268294254)); -var mode_atom = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"mode-atom","mode-atom",232403634)); -var cx = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"cx","cx",1272694324)); -var id = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"id","id",-1388402092)); -var cy = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"cy","cy",755331060)); -var jd_cursor = cljs.core.get.call(null,map__9380__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); +titanoboa.designer.step_node = (function titanoboa$designer$step_node(p__4911){ +var map__4912 = p__4911; +var map__4912__$1 = ((((!((map__4912 == null)))?(((((map__4912.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4912.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4912):map__4912); +var job_metadata = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"job-metadata","job-metadata",-1874941597)); +var pinned = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"pinned","pinned",-1216085339)); +var key = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"key","key",-1516042587)); +var index = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"index","index",-1531685915)); +var graph_cursor = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +var scale = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"scale","scale",-230427353)); +var name = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"name","name",1843675177)); +var history = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"history","history",-247395220)); +var type = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"type","type",1174270348)); +var inactive_QMARK_ = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"inactive?","inactive?",1268294254)); +var mode_atom = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"mode-atom","mode-atom",232403634)); +var cx = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"cx","cx",1272694324)); +var id = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"id","id",-1388402092)); +var cy = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"cy","cy",755331060)); +var jd_cursor = cljs.core.get.call(null,map__4912__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); var selected = cljs.core._EQ_.call(null,id,new cljs.core.Keyword(null,"selected","selected",574897764).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor))); var dragged = cljs.core._EQ_.call(null,name,new cljs.core.Keyword(null,"drag","drag",449951290).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor))); var vert_cursor = reagent.core.cursor.call(null,graph_cursor,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vertices","vertices",2008905731)], null)); -return new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"g","g",1738089905),new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"key","key",-1516042587),key,new cljs.core.Keyword(null,"transform","transform",1381301764),["translate(",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cx),",",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cy),")"," scale(",cljs.core.str.cljs$core$IFn$_invoke$arity$1(scale),")"].join(''),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ +return new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"g","g",1738089905),new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"key","key",-1516042587),key,new cljs.core.Keyword(null,"transform","transform",1381301764),["translate(",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cx),",",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cy),")"," scale(",cljs.core.str.cljs$core$IFn$_invoke$arity$1(scale),")"].join(''),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ return (function (e){ if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"edit","edit",-1641834166),cljs.core.deref.call(null,mode_atom))){ if(selected){ @@ -1665,24 +1672,24 @@ return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.assoc,new cljs.core } else { return null; } -});})(selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) -,new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),((function (selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ +});})(selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) +,new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),((function (selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ return (function (e){ if(cljs.core.not.call(null,pinned)){ return titanoboa.designer.fix_fl_node_BANG_.call(null,graph_cursor,index,true); } else { return null; } -});})(selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) -,new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),((function (selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ +});})(selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) +,new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),((function (selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ return (function (e){ if(cljs.core.not.call(null,pinned)){ return titanoboa.designer.fix_fl_node_BANG_.call(null,graph_cursor,index,false); } else { return null; } -});})(selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) -,new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470),((function (selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ +});})(selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) +,new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470),((function (selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ return (function (e){ if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"move","move",-2110884309),cljs.core.deref.call(null,mode_atom))){ return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.merge,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"drag","drag",449951290),name,new cljs.core.Keyword(null,"drag-idx","drag-idx",-1480274040),index,new cljs.core.Keyword(null,"drag-start","drag-start",292353430),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"x","x",2099068185),e.clientX,new cljs.core.Keyword(null,"y","y",-1757859776),e.clientY,new cljs.core.Keyword(null,"cx","cx",1272694324),cx,new cljs.core.Keyword(null,"cy","cy",755331060),cy], null)], null)); @@ -1695,8 +1702,8 @@ return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.assoc,new cljs.core return null; } } -});})(selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) -,new cljs.core.Keyword(null,"on-mouse-up","on-mouse-up",-1340533320),((function (selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ +});})(selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) +,new cljs.core.Keyword(null,"on-mouse-up","on-mouse-up",-1340533320),((function (selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ return (function (e){ if(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"link","link",-1769163468),cljs.core.deref.call(null,mode_atom)); if(and__3911__auto__){ @@ -1719,8 +1726,8 @@ return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.assoc,new cljs.core return null; } } -});})(selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) -,new cljs.core.Keyword(null,"on-double-click","on-double-click",1434856980),((function (selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ +});})(selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) +,new cljs.core.Keyword(null,"on-double-click","on-double-click",1434856980),((function (selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor){ return (function (e){ if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"move","move",-2110884309),cljs.core.deref.call(null,mode_atom))){ titanoboa.designer.fix_fl_node_BANG_.call(null,graph_cursor,index,false,false); @@ -1729,10 +1736,10 @@ return null; } else { return null; } -});})(selected,dragged,vert_cursor,map__9380,map__9380__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) -], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"text","text",-1790561697),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"txt",new cljs.core.Keyword(null,"transform","transform",1381301764),"translate (+36,0)",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),((selected)?"bold":"normal"),new cljs.core.Keyword(null,"pointer-events","pointer-events",-1053858853),"none",new cljs.core.Keyword(null,"user-select","user-select",-346451650),"none"], null)], null),name], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"circle","circle",1903212362),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"r","r",-471384190),(32),new cljs.core.Keyword(null,"class","class",-2030961996),((selected)?"step-circle-selected":"step-circle")], null)], null),titanoboa.icons.get_icon.call(null,type,inactive_QMARK_,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),((selected)?"step-icon-selected":(cljs.core.truth_(inactive_QMARK_)?"step-icon-inactive":"step-icon"))], null)),(cljs.core.truth_(history)?(function (){var G__9382 = new cljs.core.Keyword(null,"step-state","step-state",2074915847).cljs$core$IFn$_invoke$arity$1(history); -var G__9382__$1 = (((G__9382 instanceof cljs.core.Keyword))?G__9382.fqn:null); -switch (G__9382__$1) { +});})(selected,dragged,vert_cursor,map__4912,map__4912__$1,job_metadata,pinned,key,index,graph_cursor,scale,name,history,type,inactive_QMARK_,mode_atom,cx,id,cy,jd_cursor)) +], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"text","text",-1790561697),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"txt",new cljs.core.Keyword(null,"transform","transform",1381301764),"translate (+36,0)",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),((selected)?"bold":"normal"),new cljs.core.Keyword(null,"pointer-events","pointer-events",-1053858853),"none",new cljs.core.Keyword(null,"user-select","user-select",-346451650),"none"], null)], null),name], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"circle","circle",1903212362),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"r","r",-471384190),(32),new cljs.core.Keyword(null,"class","class",-2030961996),((selected)?"step-circle-selected":"step-circle")], null)], null),titanoboa.icons.get_icon.call(null,type,inactive_QMARK_,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),((selected)?"step-icon-selected":(cljs.core.truth_(inactive_QMARK_)?"step-icon-inactive":"step-icon"))], null)),(cljs.core.truth_(history)?(function (){var G__4914 = new cljs.core.Keyword(null,"step-state","step-state",2074915847).cljs$core$IFn$_invoke$arity$1(history); +var G__4914__$1 = (((G__4914 instanceof cljs.core.Keyword))?G__4914.fqn:null); +switch (G__4914__$1) { case "error": return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"g","g",1738089905),titanoboa.icons.error_tag.call(null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"text","text",-1790561697),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"txt",new cljs.core.Keyword(null,"transform","transform",1381301764),"translate (+36,15)",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"12",new cljs.core.Keyword(null,"fill","fill",883462889),"#aaa",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),((selected)?"bold":"normal"),new cljs.core.Keyword(null,"pointer-events","pointer-events",-1053858853),"none",new cljs.core.Keyword(null,"user-select","user-select",-346451650),"none"], null)], null),["failed in ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(titanoboa.util.readable_interval.call(null,new cljs.core.Keyword(null,"duration","duration",1444101068).cljs$core$IFn$_invoke$arity$1(history))),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((((typeof new cljs.core.Keyword(null,"retry-count","retry-count",1936122875).cljs$core$IFn$_invoke$arity$1(history) === 'number') && ((new cljs.core.Keyword(null,"retry-count","retry-count",1936122875).cljs$core$IFn$_invoke$arity$1(history) > (0)))))?[" after ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"retry-count","retry-count",1936122875).cljs$core$IFn$_invoke$arity$1(history))," retries"].join(''):null))].join('')], null),(cljs.core.truth_(new cljs.core.Keyword(null,"exception","exception",-335277064).cljs$core$IFn$_invoke$arity$1(history))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"text","text",-1790561697),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"txt",new cljs.core.Keyword(null,"transform","transform",1381301764),"translate (+36,30)",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"12",new cljs.core.Keyword(null,"fill","fill",883462889),"#aaa",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),((selected)?"bold":"normal"),new cljs.core.Keyword(null,"pointer-events","pointer-events",-1053858853),"none",new cljs.core.Keyword(null,"user-select","user-select",-346451650),"none"], null)], null),[cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var or__3922__auto__ = cljs.core.get_in.call(null,history,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"exception","exception",-335277064),new cljs.core.Keyword(null,"cause","cause",231901252)], null)); if(cljs.core.truth_(or__3922__auto__)){ @@ -1786,12 +1793,12 @@ return and__3911__auto__; } })())?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"text","text",-1790561697),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"txt",new cljs.core.Keyword(null,"transform","transform",1381301764),"translate (+36,15)",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"12",new cljs.core.Keyword(null,"fill","fill",883462889),"#aaa",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),((selected)?"bold":"normal"),new cljs.core.Keyword(null,"pointer-events","pointer-events",-1053858853),"none",new cljs.core.Keyword(null,"user-select","user-select",-346451650),"none"], null)], null),["started ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"start","start",-355208981).cljs$core$IFn$_invoke$arity$1(job_metadata).toLocaleDateString())," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"start","start",-355208981).cljs$core$IFn$_invoke$arity$1(job_metadata).toLocaleTimeString())].join('')], null):null)], null); }); -titanoboa.designer.connecting_line = (function titanoboa$designer$connecting_line(p__9384){ -var map__9385 = p__9384; -var map__9385__$1 = ((((!((map__9385 == null)))?(((((map__9385.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9385.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9385):map__9385); -var mode_cursor = cljs.core.get.call(null,map__9385__$1,new cljs.core.Keyword(null,"mode-cursor","mode-cursor",-555548532)); -var graph_cursor = cljs.core.get.call(null,map__9385__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); -var mouse_position = cljs.core.get.call(null,map__9385__$1,new cljs.core.Keyword(null,"mouse-position","mouse-position",1036604492)); +titanoboa.designer.connecting_line = (function titanoboa$designer$connecting_line(p__4916){ +var map__4917 = p__4916; +var map__4917__$1 = ((((!((map__4917 == null)))?(((((map__4917.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4917.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4917):map__4917); +var mode_cursor = cljs.core.get.call(null,map__4917__$1,new cljs.core.Keyword(null,"mode-cursor","mode-cursor",-555548532)); +var graph_cursor = cljs.core.get.call(null,map__4917__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +var mouse_position = cljs.core.get.call(null,map__4917__$1,new cljs.core.Keyword(null,"mouse-position","mouse-position",1036604492)); if(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"link","link",-1769163468),cljs.core.deref.call(null,mode_cursor)); if(and__3911__auto__){ @@ -1806,25 +1813,25 @@ return and__3911__auto__; } })())){ var source_node = cljs.core.get.call(null,new cljs.core.Keyword(null,"nodes","nodes",-2099585805).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)),cljs.core.get_in.call(null,cljs.core.deref.call(null,graph_cursor),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"link-source","link-source",-71175762),new cljs.core.Keyword(null,"idx","idx",1053688473)], null))); -var vec__9387 = cljs.core.deref.call(null,mouse_position); -var x = cljs.core.nth.call(null,vec__9387,(0),null); -var y = cljs.core.nth.call(null,vec__9387,(1),null); +var vec__4919 = cljs.core.deref.call(null,mouse_position); +var x = cljs.core.nth.call(null,vec__4919,(0),null); +var y = cljs.core.nth.call(null,vec__4919,(1),null); return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"path","path",-188191168),new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"key","key",-1516042587),"temp-link",new cljs.core.Keyword(null,"d","d",1972142424),["M ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(source_node))," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(source_node))," L ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(x)," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(y)].join(''),new cljs.core.Keyword(null,"stroke","stroke",1741823555),"#999",new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435),1.5,new cljs.core.Keyword(null,"stroke-linecap","stroke-linecap",-1201103248),"round",new cljs.core.Keyword(null,"stroke-dasharray","stroke-dasharray",-942933855),"1,8",new cljs.core.Keyword(null,"class","class",-2030961996),"connecting",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"marker-end","marker-end",341488703),"url(#markerArrow)"], null)], null)], null); } else { return null; } }); -titanoboa.designer.job_graph_visualization = (function titanoboa$designer$job_graph_visualization(p__9391){ -var map__9392 = p__9391; -var map__9392__$1 = ((((!((map__9392 == null)))?(((((map__9392.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9392.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9392):map__9392); -var graph_cursor = cljs.core.get.call(null,map__9392__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); -var jd_cursor = cljs.core.get.call(null,map__9392__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); -var history_map = cljs.core.get.call(null,map__9392__$1,new cljs.core.Keyword(null,"history-map","history-map",1885369238)); -var job_metadata = cljs.core.get.call(null,map__9392__$1,new cljs.core.Keyword(null,"job-metadata","job-metadata",-1874941597)); +titanoboa.designer.job_graph_visualization = (function titanoboa$designer$job_graph_visualization(p__4923){ +var map__4924 = p__4923; +var map__4924__$1 = ((((!((map__4924 == null)))?(((((map__4924.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4924.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4924):map__4924); +var graph_cursor = cljs.core.get.call(null,map__4924__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +var jd_cursor = cljs.core.get.call(null,map__4924__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); +var history_map = cljs.core.get.call(null,map__4924__$1,new cljs.core.Keyword(null,"history-map","history-map",1885369238)); +var job_metadata = cljs.core.get.call(null,map__4924__$1,new cljs.core.Keyword(null,"job-metadata","job-metadata",-1874941597)); var mode_cursor = reagent.core.cursor.call(null,graph_cursor,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"edit-mode","edit-mode",1940640993)], null)); var mouse_position = reagent.core.atom.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [null,null], null)); var zoom = new cljs.core.Keyword(null,"zoom","zoom",-1827487038).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)); -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"svg","svg",856789142),new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"key","key",-1516042587),"svg",new cljs.core.Keyword(null,"id","id",-1388402092),"svg",new cljs.core.Keyword(null,"viewBox","viewBox",-469489477),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(zoom)," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(zoom)," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.deref.call(null,titanoboa.designer.svg_width_atom) - ((2) * zoom)))," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(((cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (190)) - ((2) * zoom)))].join(''),new cljs.core.Keyword(null,"width","width",-384071477),cljs.core.deref.call(null,titanoboa.designer.svg_width_atom),new cljs.core.Keyword(null,"height","height",1025178622),(cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (190)),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"border","border",1444987323),"1px solid #c0c0c0"], null),new cljs.core.Keyword(null,"on-mouse-move","on-mouse-move",-1386320874),((function (mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"svg","svg",856789142),new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"key","key",-1516042587),"svg",new cljs.core.Keyword(null,"id","id",-1388402092),"svg",new cljs.core.Keyword(null,"viewBox","viewBox",-469489477),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(zoom)," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(zoom)," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.deref.call(null,titanoboa.designer.svg_width_atom) - ((2) * zoom)))," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(((cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (190)) - ((2) * zoom)))].join(''),new cljs.core.Keyword(null,"width","width",-384071477),cljs.core.deref.call(null,titanoboa.designer.svg_width_atom),new cljs.core.Keyword(null,"height","height",1025178622),(cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (190)),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"border","border",1444987323),"1px solid #c0c0c0"], null),new cljs.core.Keyword(null,"on-mouse-move","on-mouse-move",-1386320874),((function (mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata){ return (function (e){ e.preventDefault(); @@ -1849,8 +1856,8 @@ return titanoboa.designer.reposition_fl_node_BANG_.call(null,graph_cursor,new cl return null; } } -});})(mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata)) -,new cljs.core.Keyword(null,"on-mouse-up","on-mouse-up",-1340533320),((function (mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata){ +});})(mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata)) +,new cljs.core.Keyword(null,"on-mouse-up","on-mouse-up",-1340533320),((function (mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata){ return (function (e){ if(cljs.core.truth_(new cljs.core.Keyword(null,"drag","drag",449951290).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)))){ return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.merge,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"drag","drag",449951290),null,new cljs.core.Keyword(null,"drag-idx","drag-idx",-1480274040),null,new cljs.core.Keyword(null,"drag-start","drag-start",292353430),cljs.core.PersistentArrayMap.EMPTY], null)); @@ -1867,25 +1874,25 @@ return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.assoc,new cljs.core return null; } } -});})(mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata)) -], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"defs","defs",1398449717),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"dangerouslySetInnerHTML","dangerouslySetInnerHTML",-554971138),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"__html","__html",674048345),"\t\n \n \n \n \n \n \n \n \n "], null)], null)], null),cljs.core.doall.call(null,(function (){var iter__4292__auto__ = ((function (mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata){ -return (function titanoboa$designer$job_graph_visualization_$_iter__9394(s__9395){ -return (new cljs.core.LazySeq(null,((function (mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata){ +});})(mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata)) +], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"defs","defs",1398449717),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"dangerouslySetInnerHTML","dangerouslySetInnerHTML",-554971138),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"__html","__html",674048345),"\t\n \n \n \n \n \n \n \n \n "], null)], null)], null),cljs.core.doall.call(null,(function (){var iter__4292__auto__ = ((function (mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata){ +return (function titanoboa$designer$job_graph_visualization_$_iter__4926(s__4927){ +return (new cljs.core.LazySeq(null,((function (mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata){ return (function (){ -var s__9395__$1 = s__9395; +var s__4927__$1 = s__4927; while(true){ -var temp__5720__auto__ = cljs.core.seq.call(null,s__9395__$1); +var temp__5720__auto__ = cljs.core.seq.call(null,s__4927__$1); if(temp__5720__auto__){ -var s__9395__$2 = temp__5720__auto__; -if(cljs.core.chunked_seq_QMARK_.call(null,s__9395__$2)){ -var c__4290__auto__ = cljs.core.chunk_first.call(null,s__9395__$2); +var s__4927__$2 = temp__5720__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__4927__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__4927__$2); var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); -var b__9397 = cljs.core.chunk_buffer.call(null,size__4291__auto__); -if((function (){var i__9396 = (0); +var b__4929 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__4928 = (0); while(true){ -if((i__9396 < size__4291__auto__)){ -var v = cljs.core._nth.call(null,c__4290__auto__,i__9396); -cljs.core.chunk_append.call(null,b__9397,(function (){var source_node = cljs.core.get.call(null,new cljs.core.Keyword(null,"nodes","nodes",-2099585805).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)),new cljs.core.Keyword(null,"source","source",-433931539).cljs$core$IFn$_invoke$arity$1(v)); +if((i__4928 < size__4291__auto__)){ +var v = cljs.core._nth.call(null,c__4290__auto__,i__4928); +cljs.core.chunk_append.call(null,b__4929,(function (){var source_node = cljs.core.get.call(null,new cljs.core.Keyword(null,"nodes","nodes",-2099585805).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)),new cljs.core.Keyword(null,"source","source",-433931539).cljs$core$IFn$_invoke$arity$1(v)); var target_node = cljs.core.get.call(null,new cljs.core.Keyword(null,"nodes","nodes",-2099585805).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)),new cljs.core.Keyword(null,"target","target",253001721).cljs$core$IFn$_invoke$arity$1(v)); var self_linking_QMARK_ = cljs.core._EQ_.call(null,source_node,target_node); var source_subjob_QMARK_ = cljs.core._EQ_.call(null,"job",new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(source_node)); @@ -1898,10 +1905,10 @@ return and__3911__auto__; } })(); var allow_parallel_QMARK_ = cljs.core.get_in.call(null,cljs.core.deref.call(null,jd_cursor),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(source_node),new cljs.core.Keyword(null,"allow-parallel?","allow-parallel?",-139374809)], null)); -var map__9398 = titanoboa.designer.shorten_line.call(null,source_node,target_node,(32)); -var map__9398__$1 = ((((!((map__9398 == null)))?(((((map__9398.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9398.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9398):map__9398); -var source = cljs.core.get.call(null,map__9398__$1,new cljs.core.Keyword(null,"source","source",-433931539)); -var target = cljs.core.get.call(null,map__9398__$1,new cljs.core.Keyword(null,"target","target",253001721)); +var map__4930 = titanoboa.designer.shorten_line.call(null,source_node,target_node,(32)); +var map__4930__$1 = ((((!((map__4930 == null)))?(((((map__4930.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4930.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4930):map__4930); +var source = cljs.core.get.call(null,map__4930__$1,new cljs.core.Keyword(null,"source","source",-433931539)); +var target = cljs.core.get.call(null,map__4930__$1,new cljs.core.Keyword(null,"target","target",253001721)); var source_text = new cljs.core.Keyword(null,"source","source",-433931539).cljs$core$IFn$_invoke$arity$1(titanoboa.designer.shorten_line.call(null,source_node,target_node,(64))); if(source_subjob_QMARK_){ return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"source","source",-433931539).cljs$core$IFn$_invoke$arity$1(v)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"target","target",253001721).cljs$core$IFn$_invoke$arity$1(v))].join(''),new cljs.core.Keyword(null,"x1","x1",-1863922247),new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(source_node),new cljs.core.Keyword(null,"y1","y1",589123466),new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(source_node),new cljs.core.Keyword(null,"x2","x2",-1362513475),new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(target),new cljs.core.Keyword(null,"y2","y2",-718691301),new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(target),new cljs.core.Keyword(null,"stroke","stroke",1741823555),"#999",new cljs.core.Keyword(null,"stroke-opacity","stroke-opacity",-1191543159),0.6], null)], null); @@ -1919,8 +1926,8 @@ return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMP } })()); -var G__9406 = (i__9396 + (1)); -i__9396 = G__9406; +var G__4938 = (i__4928 + (1)); +i__4928 = G__4938; continue; } else { return true; @@ -1928,12 +1935,12 @@ return true; break; } })()){ -return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__9397),titanoboa$designer$job_graph_visualization_$_iter__9394.call(null,cljs.core.chunk_rest.call(null,s__9395__$2))); +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__4929),titanoboa$designer$job_graph_visualization_$_iter__4926.call(null,cljs.core.chunk_rest.call(null,s__4927__$2))); } else { -return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__9397),null); +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__4929),null); } } else { -var v = cljs.core.first.call(null,s__9395__$2); +var v = cljs.core.first.call(null,s__4927__$2); return cljs.core.cons.call(null,(function (){var source_node = cljs.core.get.call(null,new cljs.core.Keyword(null,"nodes","nodes",-2099585805).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)),new cljs.core.Keyword(null,"source","source",-433931539).cljs$core$IFn$_invoke$arity$1(v)); var target_node = cljs.core.get.call(null,new cljs.core.Keyword(null,"nodes","nodes",-2099585805).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)),new cljs.core.Keyword(null,"target","target",253001721).cljs$core$IFn$_invoke$arity$1(v)); var self_linking_QMARK_ = cljs.core._EQ_.call(null,source_node,target_node); @@ -1947,10 +1954,10 @@ return and__3911__auto__; } })(); var allow_parallel_QMARK_ = cljs.core.get_in.call(null,cljs.core.deref.call(null,jd_cursor),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"steps","steps",-128433302),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(source_node),new cljs.core.Keyword(null,"allow-parallel?","allow-parallel?",-139374809)], null)); -var map__9400 = titanoboa.designer.shorten_line.call(null,source_node,target_node,(32)); -var map__9400__$1 = ((((!((map__9400 == null)))?(((((map__9400.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9400.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9400):map__9400); -var source = cljs.core.get.call(null,map__9400__$1,new cljs.core.Keyword(null,"source","source",-433931539)); -var target = cljs.core.get.call(null,map__9400__$1,new cljs.core.Keyword(null,"target","target",253001721)); +var map__4932 = titanoboa.designer.shorten_line.call(null,source_node,target_node,(32)); +var map__4932__$1 = ((((!((map__4932 == null)))?(((((map__4932.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4932.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4932):map__4932); +var source = cljs.core.get.call(null,map__4932__$1,new cljs.core.Keyword(null,"source","source",-433931539)); +var target = cljs.core.get.call(null,map__4932__$1,new cljs.core.Keyword(null,"target","target",253001721)); var source_text = new cljs.core.Keyword(null,"source","source",-433931539).cljs$core$IFn$_invoke$arity$1(titanoboa.designer.shorten_line.call(null,source_node,target_node,(64))); if(source_subjob_QMARK_){ return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"line","line",212345235),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"source","source",-433931539).cljs$core$IFn$_invoke$arity$1(v)),cljs.core.str.cljs$core$IFn$_invoke$arity$1(new cljs.core.Keyword(null,"target","target",253001721).cljs$core$IFn$_invoke$arity$1(v))].join(''),new cljs.core.Keyword(null,"x1","x1",-1863922247),new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(source_node),new cljs.core.Keyword(null,"y1","y1",589123466),new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(source_node),new cljs.core.Keyword(null,"x2","x2",-1362513475),new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(target),new cljs.core.Keyword(null,"y2","y2",-718691301),new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(target),new cljs.core.Keyword(null,"stroke","stroke",1741823555),"#999",new cljs.core.Keyword(null,"stroke-opacity","stroke-opacity",-1191543159),0.6], null)], null); @@ -1966,36 +1973,36 @@ return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMP } } } -})(),titanoboa$designer$job_graph_visualization_$_iter__9394.call(null,cljs.core.rest.call(null,s__9395__$2))); +})(),titanoboa$designer$job_graph_visualization_$_iter__4926.call(null,cljs.core.rest.call(null,s__4927__$2))); } } else { return null; } break; } -});})(mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata)) +});})(mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata)) ,null,null)); -});})(mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata)) +});})(mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata)) ; return iter__4292__auto__.call(null,new cljs.core.Keyword(null,"vertices","vertices",2008905731).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor))); -})()),cljs.core.doall.call(null,(function (){var iter__4292__auto__ = ((function (mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata){ -return (function titanoboa$designer$job_graph_visualization_$_iter__9402(s__9403){ -return (new cljs.core.LazySeq(null,((function (mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata){ +})()),cljs.core.doall.call(null,(function (){var iter__4292__auto__ = ((function (mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata){ +return (function titanoboa$designer$job_graph_visualization_$_iter__4934(s__4935){ +return (new cljs.core.LazySeq(null,((function (mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata){ return (function (){ -var s__9403__$1 = s__9403; +var s__4935__$1 = s__4935; while(true){ -var temp__5720__auto__ = cljs.core.seq.call(null,s__9403__$1); +var temp__5720__auto__ = cljs.core.seq.call(null,s__4935__$1); if(temp__5720__auto__){ -var s__9403__$2 = temp__5720__auto__; -if(cljs.core.chunked_seq_QMARK_.call(null,s__9403__$2)){ -var c__4290__auto__ = cljs.core.chunk_first.call(null,s__9403__$2); +var s__4935__$2 = temp__5720__auto__; +if(cljs.core.chunked_seq_QMARK_.call(null,s__4935__$2)){ +var c__4290__auto__ = cljs.core.chunk_first.call(null,s__4935__$2); var size__4291__auto__ = cljs.core.count.call(null,c__4290__auto__); -var b__9405 = cljs.core.chunk_buffer.call(null,size__4291__auto__); -if((function (){var i__9404 = (0); +var b__4937 = cljs.core.chunk_buffer.call(null,size__4291__auto__); +if((function (){var i__4936 = (0); while(true){ -if((i__9404 < size__4291__auto__)){ -var n = cljs.core._nth.call(null,c__4290__auto__,i__9404); -cljs.core.chunk_append.call(null,b__9405,((cljs.core._EQ_.call(null,"job",new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(n)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"circle","circle",1903212362),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"r","r",-471384190),(5),new cljs.core.Keyword(null,"cx","cx",1272694324),new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"cy","cy",755331060),new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"stroke","stroke",1741823555),"#fff",new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435),1.5,new cljs.core.Keyword(null,"fill","fill",883462889),"#8c7b93"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"title","title",636505583),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n)], null)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.step_node,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"job-metadata","job-metadata",-1874941597),new cljs.core.Keyword(null,"pinned","pinned",-1216085339),new cljs.core.Keyword(null,"key","key",-1516042587),new cljs.core.Keyword(null,"index","index",-1531685915),new cljs.core.Keyword(null,"scale","scale",-230427353),new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"history","history",-247395220),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"inactive?","inactive?",1268294254),new cljs.core.Keyword(null,"mode-atom","mode-atom",232403634),new cljs.core.Keyword(null,"cx","cx",1272694324),new cljs.core.Keyword(null,"id","id",-1388402092),new cljs.core.Keyword(null,"cy","cy",755331060),new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)],[job_metadata,new cljs.core.Keyword(null,"pinned","pinned",-1216085339).cljs$core$IFn$_invoke$arity$1(n),titanoboa.designer.get_node_key.call(null,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(n)),new cljs.core.Keyword(null,"index","index",-1531685915).cljs$core$IFn$_invoke$arity$1(n),(1),graph_cursor,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(n),cljs.core.get.call(null,history_map,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n)),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(n),(function (){var and__3911__auto__ = history_map; +if((i__4936 < size__4291__auto__)){ +var n = cljs.core._nth.call(null,c__4290__auto__,i__4936); +cljs.core.chunk_append.call(null,b__4937,((cljs.core._EQ_.call(null,"job",new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(n)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"circle","circle",1903212362),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"r","r",-471384190),(5),new cljs.core.Keyword(null,"cx","cx",1272694324),new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"cy","cy",755331060),new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"stroke","stroke",1741823555),"#fff",new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435),1.5,new cljs.core.Keyword(null,"fill","fill",883462889),"#8c7b93"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"title","title",636505583),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n)], null)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.step_node,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"job-metadata","job-metadata",-1874941597),new cljs.core.Keyword(null,"pinned","pinned",-1216085339),new cljs.core.Keyword(null,"key","key",-1516042587),new cljs.core.Keyword(null,"index","index",-1531685915),new cljs.core.Keyword(null,"scale","scale",-230427353),new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"history","history",-247395220),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"inactive?","inactive?",1268294254),new cljs.core.Keyword(null,"mode-atom","mode-atom",232403634),new cljs.core.Keyword(null,"cx","cx",1272694324),new cljs.core.Keyword(null,"id","id",-1388402092),new cljs.core.Keyword(null,"cy","cy",755331060),new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)],[job_metadata,new cljs.core.Keyword(null,"pinned","pinned",-1216085339).cljs$core$IFn$_invoke$arity$1(n),titanoboa.designer.get_node_key.call(null,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(n)),new cljs.core.Keyword(null,"index","index",-1531685915).cljs$core$IFn$_invoke$arity$1(n),(1),graph_cursor,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(n),cljs.core.get.call(null,history_map,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n)),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(n),(function (){var and__3911__auto__ = history_map; if(cljs.core.truth_(and__3911__auto__)){ return ((cljs.core.not.call(null,cljs.core.get.call(null,history_map,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n)))) && (cljs.core.not_EQ_.call(null,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(n),"start"))); } else { @@ -2003,8 +2010,8 @@ return and__3911__auto__; } })(),mode_cursor,new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(n),jd_cursor])], null))); -var G__9407 = (i__9404 + (1)); -i__9404 = G__9407; +var G__4939 = (i__4936 + (1)); +i__4936 = G__4939; continue; } else { return true; @@ -2012,68 +2019,68 @@ return true; break; } })()){ -return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__9405),titanoboa$designer$job_graph_visualization_$_iter__9402.call(null,cljs.core.chunk_rest.call(null,s__9403__$2))); +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__4937),titanoboa$designer$job_graph_visualization_$_iter__4934.call(null,cljs.core.chunk_rest.call(null,s__4935__$2))); } else { -return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__9405),null); +return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__4937),null); } } else { -var n = cljs.core.first.call(null,s__9403__$2); +var n = cljs.core.first.call(null,s__4935__$2); return cljs.core.cons.call(null,((cljs.core._EQ_.call(null,"job",new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(n)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"circle","circle",1903212362),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"r","r",-471384190),(5),new cljs.core.Keyword(null,"cx","cx",1272694324),new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"cy","cy",755331060),new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"stroke","stroke",1741823555),"#fff",new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435),1.5,new cljs.core.Keyword(null,"fill","fill",883462889),"#8c7b93"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"title","title",636505583),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n)], null)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.step_node,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"job-metadata","job-metadata",-1874941597),new cljs.core.Keyword(null,"pinned","pinned",-1216085339),new cljs.core.Keyword(null,"key","key",-1516042587),new cljs.core.Keyword(null,"index","index",-1531685915),new cljs.core.Keyword(null,"scale","scale",-230427353),new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"history","history",-247395220),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"inactive?","inactive?",1268294254),new cljs.core.Keyword(null,"mode-atom","mode-atom",232403634),new cljs.core.Keyword(null,"cx","cx",1272694324),new cljs.core.Keyword(null,"id","id",-1388402092),new cljs.core.Keyword(null,"cy","cy",755331060),new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)],[job_metadata,new cljs.core.Keyword(null,"pinned","pinned",-1216085339).cljs$core$IFn$_invoke$arity$1(n),titanoboa.designer.get_node_key.call(null,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(n)),new cljs.core.Keyword(null,"index","index",-1531685915).cljs$core$IFn$_invoke$arity$1(n),(1),graph_cursor,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(n),cljs.core.get.call(null,history_map,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n)),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(n),(function (){var and__3911__auto__ = history_map; if(cljs.core.truth_(and__3911__auto__)){ return ((cljs.core.not.call(null,cljs.core.get.call(null,history_map,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n)))) && (cljs.core.not_EQ_.call(null,new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(n),"start"))); } else { return and__3911__auto__; } -})(),mode_cursor,new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(n),jd_cursor])], null)),titanoboa$designer$job_graph_visualization_$_iter__9402.call(null,cljs.core.rest.call(null,s__9403__$2))); +})(),mode_cursor,new cljs.core.Keyword(null,"x","x",2099068185).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(n),new cljs.core.Keyword(null,"y","y",-1757859776).cljs$core$IFn$_invoke$arity$1(n),jd_cursor])], null)),titanoboa$designer$job_graph_visualization_$_iter__4934.call(null,cljs.core.rest.call(null,s__4935__$2))); } } else { return null; } break; } -});})(mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata)) +});})(mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata)) ,null,null)); -});})(mode_cursor,mouse_position,zoom,map__9392,map__9392__$1,graph_cursor,jd_cursor,history_map,job_metadata)) +});})(mode_cursor,mouse_position,zoom,map__4924,map__4924__$1,graph_cursor,jd_cursor,history_map,job_metadata)) ; return iter__4292__auto__.call(null,new cljs.core.Keyword(null,"nodes","nodes",-2099585805).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor))); })()),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.connecting_line,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"mode-cursor","mode-cursor",-555548532),mode_cursor,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"mouse-position","mouse-position",1036604492),mouse_position], null)], null)], null); }); -titanoboa.designer.graph_menu_button = (function titanoboa$designer$graph_menu_button(p__9408){ -var map__9409 = p__9408; -var map__9409__$1 = ((((!((map__9409 == null)))?(((((map__9409.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9409.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9409):map__9409); -var graph_cursor = cljs.core.get.call(null,map__9409__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); -var css_class = cljs.core.get.call(null,map__9409__$1,new cljs.core.Keyword(null,"css-class","css-class",-919455334)); -var id_key = cljs.core.get.call(null,map__9409__$1,new cljs.core.Keyword(null,"id-key","id-key",-1881730044)); -var title = cljs.core.get.call(null,map__9409__$1,new cljs.core.Keyword(null,"title","title",636505583)); +titanoboa.designer.graph_menu_button = (function titanoboa$designer$graph_menu_button(p__4940){ +var map__4941 = p__4940; +var map__4941__$1 = ((((!((map__4941 == null)))?(((((map__4941.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4941.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4941):map__4941); +var graph_cursor = cljs.core.get.call(null,map__4941__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +var css_class = cljs.core.get.call(null,map__4941__$1,new cljs.core.Keyword(null,"css-class","css-class",-919455334)); +var id_key = cljs.core.get.call(null,map__4941__$1,new cljs.core.Keyword(null,"id-key","id-key",-1881730044)); +var title = cljs.core.get.call(null,map__4941__$1,new cljs.core.Keyword(null,"title","title",636505583)); var mode_cursor = reagent.core.cursor.call(null,graph_cursor,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"edit-mode","edit-mode",1940640993)], null)); var base_class = "btn btn-default "; -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(base_class),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((cljs.core._EQ_.call(null,cljs.core.deref.call(null,mode_cursor),id_key))?"active":" "))," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(css_class)].join(''),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (mode_cursor,base_class,map__9409,map__9409__$1,graph_cursor,css_class,id_key,title){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(base_class),cljs.core.str.cljs$core$IFn$_invoke$arity$1(((cljs.core._EQ_.call(null,cljs.core.deref.call(null,mode_cursor),id_key))?"active":" "))," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(css_class)].join(''),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (mode_cursor,base_class,map__4941,map__4941__$1,graph_cursor,css_class,id_key,title){ return (function (){ return cljs.core.reset_BANG_.call(null,mode_cursor,id_key); -});})(mode_cursor,base_class,map__9409,map__9409__$1,graph_cursor,css_class,id_key,title)) +});})(mode_cursor,base_class,map__4941,map__4941__$1,graph_cursor,css_class,id_key,title)) ,new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),title], null),""], null); }); -titanoboa.designer.graph_save_button = (function titanoboa$designer$graph_save_button(p__9412){ -var map__9413 = p__9412; -var map__9413__$1 = ((((!((map__9413 == null)))?(((((map__9413.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9413.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9413):map__9413); -var job_name = cljs.core.get.call(null,map__9413__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); +titanoboa.designer.graph_save_button = (function titanoboa$designer$graph_save_button(p__4944){ +var map__4945 = p__4944; +var map__4945__$1 = ((((!((map__4945 == null)))?(((((map__4945.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4945.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4945):map__4945); +var job_name = cljs.core.get.call(null,map__4945__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); var note = reagent.core.atom.call(null,null); -return ((function (note,map__9413,map__9413__$1,job_name){ -return (function (p__9415){ -var map__9416 = p__9415; -var map__9416__$1 = ((((!((map__9416 == null)))?(((((map__9416.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9416.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9416):map__9416); -var job_name__$1 = cljs.core.get.call(null,map__9416__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default btn-ico-save",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9416,map__9416__$1,job_name__$1,note,map__9413,map__9413__$1,job_name){ +return ((function (note,map__4945,map__4945__$1,job_name){ +return (function (p__4947){ +var map__4948 = p__4947; +var map__4948__$1 = ((((!((map__4948 == null)))?(((((map__4948.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4948.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4948):map__4948); +var job_name__$1 = cljs.core.get.call(null,map__4948__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default btn-ico-save",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__4948,map__4948__$1,job_name__$1,note,map__4945,map__4945__$1,job_name){ return (function (){ return titanoboa.designer.jquery.call(null,"#graph-save-modal").modal(); -});})(map__9416,map__9416__$1,job_name__$1,note,map__9413,map__9413__$1,job_name)) -,new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"commit changes under a new revision"], null),""], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"id","id",-1388402092),"graph-save-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"graph-save-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"myModalLabel"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"graph-save-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"20%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"graph-save-modal-content"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close","button.close",-1545560743),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"Save changes to ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),job_name__$1], null)," under a new revision"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"textarea","textarea",-650375824),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,note),new cljs.core.Keyword(null,"cols","cols",-1914801295),(60),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__9416,map__9416__$1,job_name__$1,note,map__9413,map__9413__$1,job_name){ -return (function (p1__9411_SHARP_){ -return cljs.core.reset_BANG_.call(null,note,p1__9411_SHARP_.target.value); -});})(map__9416,map__9416__$1,job_name__$1,note,map__9413,map__9413__$1,job_name)) -], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-footer","div.modal-footer",1309572241),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-danger.btn-default.pull-left","button.btn.btn-danger.btn-default.pull-left",-2125044425),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991)," Cancel"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-primary","button.btn.btn-primary",510358192),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9416,map__9416__$1,job_name__$1,note,map__9413,map__9413__$1,job_name){ -return (function (){ -return titanoboa.api.save_def_BANG_.call(null,job_name__$1,titanoboa.designer.job_def__GT_server.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.app_state),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),job_name__$1], null))),cljs.core.deref.call(null,note),((function (map__9416,map__9416__$1,job_name__$1,note,map__9413,map__9413__$1,job_name){ +});})(map__4948,map__4948__$1,job_name__$1,note,map__4945,map__4945__$1,job_name)) +,new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"commit changes under a new revision"], null),""], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"id","id",-1388402092),"graph-save-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"graph-save-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"myModalLabel"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"graph-save-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"20%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"graph-save-modal-content"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close","button.close",-1545560743),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"Save changes to ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),job_name__$1], null)," under a new revision"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"textarea","textarea",-650375824),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,note),new cljs.core.Keyword(null,"cols","cols",-1914801295),(60),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__4948,map__4948__$1,job_name__$1,note,map__4945,map__4945__$1,job_name){ +return (function (p1__4943_SHARP_){ +return cljs.core.reset_BANG_.call(null,note,p1__4943_SHARP_.target.value); +});})(map__4948,map__4948__$1,job_name__$1,note,map__4945,map__4945__$1,job_name)) +], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-footer","div.modal-footer",1309572241),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-danger.btn-default.pull-left","button.btn.btn-danger.btn-default.pull-left",-2125044425),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991)," Cancel"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-primary","button.btn.btn-primary",510358192),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__4948,map__4948__$1,job_name__$1,note,map__4945,map__4945__$1,job_name){ +return (function (){ +return titanoboa.api.save_def_BANG_.call(null,job_name__$1,titanoboa.designer.job_def__GT_server.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.app_state),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),job_name__$1], null))),cljs.core.deref.call(null,note),((function (map__4948,map__4948__$1,job_name__$1,note,map__4945,map__4945__$1,job_name){ return (function (r){ titanoboa.designer.jquery.call(null,"#graph-save-modal").modal("hide"); @@ -2081,56 +2088,56 @@ titanoboa.designer.update_definition_BANG_.call(null,job_name__$1,cljs.core.asso titanoboa.designer.revision__GT_def_list_BANG_.call(null,job_name__$1,r); -titanoboa.designer.jquery.call(null,["#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name__$1),"-tab-rev"].join('')).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",((function (map__9416,map__9416__$1,job_name__$1,note,map__9413,map__9413__$1,job_name){ +titanoboa.designer.jquery.call(null,["#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name__$1),"-tab-rev"].join('')).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",((function (map__4948,map__4948__$1,job_name__$1,note,map__4945,map__4945__$1,job_name){ return (function (e){ return titanoboa.designer.jquery.call(null,["#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name__$1),"-tab-rev"].join('')).toggleClass("label-primary animated zoomIn"); -});})(map__9416,map__9416__$1,job_name__$1,note,map__9413,map__9413__$1,job_name)) +});})(map__4948,map__4948__$1,job_name__$1,note,map__4945,map__4945__$1,job_name)) ); return titanoboa.designer.jquery.call(null,["#",cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name__$1),"-tab-rev"].join('')).addClass("label-primary animated zoomIn"); -});})(map__9416,map__9416__$1,job_name__$1,note,map__9413,map__9413__$1,job_name)) +});})(map__4948,map__4948__$1,job_name__$1,note,map__4945,map__4945__$1,job_name)) ); -});})(map__9416,map__9416__$1,job_name__$1,note,map__9413,map__9413__$1,job_name)) +});})(map__4948,map__4948__$1,job_name__$1,note,map__4945,map__4945__$1,job_name)) ], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-floppy-open","span.glyphicon.glyphicon-floppy-open",395051515)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470)," Save"], null)], null)], null)], null)], null)], null)], null); }); -;})(note,map__9413,map__9413__$1,job_name)) +;})(note,map__4945,map__4945__$1,job_name)) }); -titanoboa.designer.graph_pin_button = (function titanoboa$designer$graph_pin_button(p__9418){ -var map__9419 = p__9418; -var map__9419__$1 = ((((!((map__9419 == null)))?(((((map__9419.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9419.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9419):map__9419); -var graph_cursor = cljs.core.get.call(null,map__9419__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +titanoboa.designer.graph_pin_button = (function titanoboa$designer$graph_pin_button(p__4950){ +var map__4951 = p__4950; +var map__4951__$1 = ((((!((map__4951 == null)))?(((((map__4951.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4951.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4951):map__4951); +var graph_cursor = cljs.core.get.call(null,map__4951__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); var pinned_cursor = reagent.core.cursor.call(null,graph_cursor,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"pinned","pinned",-1216085339)], null)); -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),["btn btn-default ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(cljs.core.deref.call(null,pinned_cursor))?"active":" "))," btn-ico-pin"].join(''),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (pinned_cursor,map__9419,map__9419__$1,graph_cursor){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),["btn btn-default ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(cljs.core.deref.call(null,pinned_cursor))?"active":" "))," btn-ico-pin"].join(''),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (pinned_cursor,map__4951,map__4951__$1,graph_cursor){ return (function (){ cljs.core.swap_BANG_.call(null,pinned_cursor,cljs.core.not); return titanoboa.designer.fix_all_nodes_BANG_.call(null,graph_cursor,cljs.core.deref.call(null,pinned_cursor)); -});})(pinned_cursor,map__9419,map__9419__$1,graph_cursor)) +});})(pinned_cursor,map__4951,map__4951__$1,graph_cursor)) ,new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"pin/un-pin node position"], null),""], null); }); -titanoboa.designer.graph_add_button = (function titanoboa$designer$graph_add_button(p__9422){ -var map__9423 = p__9422; -var map__9423__$1 = ((((!((map__9423 == null)))?(((((map__9423.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9423.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9423):map__9423); -var graph_cursor = cljs.core.get.call(null,map__9423__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); -var jd_cursor = cljs.core.get.call(null,map__9423__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); +titanoboa.designer.graph_add_button = (function titanoboa$designer$graph_add_button(p__4954){ +var map__4955 = p__4954; +var map__4955__$1 = ((((!((map__4955 == null)))?(((((map__4955.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4955.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4955):map__4955); +var graph_cursor = cljs.core.get.call(null,map__4955__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +var jd_cursor = cljs.core.get.call(null,map__4955__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); var value = reagent.core.atom.call(null,""); -return ((function (value,map__9423,map__9423__$1,graph_cursor,jd_cursor){ -return (function (p__9425){ -var map__9426 = p__9425; -var map__9426__$1 = ((((!((map__9426 == null)))?(((((map__9426.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9426.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9426):map__9426); -var graph_cursor__$1 = cljs.core.get.call(null,map__9426__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); -var graph_view_atom = cljs.core.get.call(null,map__9426__$1,new cljs.core.Keyword(null,"graph-view-atom","graph-view-atom",-804096471)); +return ((function (value,map__4955,map__4955__$1,graph_cursor,jd_cursor){ +return (function (p__4957){ +var map__4958 = p__4957; +var map__4958__$1 = ((((!((map__4958 == null)))?(((((map__4958.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4958.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4958):map__4958); +var graph_cursor__$1 = cljs.core.get.call(null,map__4958__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +var graph_view_atom = cljs.core.get.call(null,map__4958__$1,new cljs.core.Keyword(null,"graph-view-atom","graph-view-atom",-804096471)); return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default dropdown-toggle btn-ico-add",new cljs.core.Keyword(null,"data-toggle","data-toggle",436966687),"dropdown",new cljs.core.Keyword(null,"aria-haspopup","aria-haspopup",-1220141412),"true",new cljs.core.Keyword(null,"aria-expanded","aria-expanded",-1360942393),"false",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"add new step"], null),""], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul","ul",-1349521403),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"dropdown-menu col-xs-12"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core.deref.call(null,value); if(cljs.core.truth_(and__3911__auto__)){ return titanoboa.designer.check_unique_step_id.call(null,clojure.string.trim.call(null,cljs.core.deref.call(null,value))); } else { return and__3911__auto__; } -})())?"input-group":"input-group has-warning")], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,value),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__9426,map__9426__$1,graph_cursor__$1,graph_view_atom,value,map__9423,map__9423__$1,graph_cursor,jd_cursor){ -return (function (p1__9421_SHARP_){ -return cljs.core.reset_BANG_.call(null,value,p1__9421_SHARP_.target.value); -});})(map__9426,map__9426__$1,graph_cursor__$1,graph_view_atom,value,map__9423,map__9423__$1,graph_cursor,jd_cursor)) -,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Step Name",new cljs.core.Keyword(null,"size","size",1098693007),"15"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-btn"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9426,map__9426__$1,graph_cursor__$1,graph_view_atom,value,map__9423,map__9423__$1,graph_cursor,jd_cursor){ +})())?"input-group":"input-group has-warning")], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,value),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__4958,map__4958__$1,graph_cursor__$1,graph_view_atom,value,map__4955,map__4955__$1,graph_cursor,jd_cursor){ +return (function (p1__4953_SHARP_){ +return cljs.core.reset_BANG_.call(null,value,p1__4953_SHARP_.target.value); +});})(map__4958,map__4958__$1,graph_cursor__$1,graph_view_atom,value,map__4955,map__4955__$1,graph_cursor,jd_cursor)) +,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Step Name",new cljs.core.Keyword(null,"size","size",1098693007),"15"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-btn"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__4958,map__4958__$1,graph_cursor__$1,graph_view_atom,value,map__4955,map__4955__$1,graph_cursor,jd_cursor){ return (function (){ if(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core.deref.call(null,value); if(cljs.core.truth_(and__3911__auto__)){ @@ -2152,25 +2159,25 @@ return cljs.core.reset_BANG_.call(null,value,null); } else { return null; } -});})(map__9426,map__9426__$1,graph_cursor__$1,graph_view_atom,value,map__9423,map__9423__$1,graph_cursor,jd_cursor)) +});})(map__4958,map__4958__$1,graph_cursor__$1,graph_view_atom,value,map__4955,map__4955__$1,graph_cursor,jd_cursor)) ], null),"Add"], null)], null)], null)], null)], null)], null); }); -;})(value,map__9423,map__9423__$1,graph_cursor,jd_cursor)) +;})(value,map__4955,map__4955__$1,graph_cursor,jd_cursor)) }); -titanoboa.designer.graph_delete_button = (function titanoboa$designer$graph_delete_button(p__9428){ -var map__9429 = p__9428; -var map__9429__$1 = ((((!((map__9429 == null)))?(((((map__9429.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9429.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9429):map__9429); -var jd_cursor = cljs.core.get.call(null,map__9429__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); -var graph_cursor = cljs.core.get.call(null,map__9429__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +titanoboa.designer.graph_delete_button = (function titanoboa$designer$graph_delete_button(p__4960){ +var map__4961 = p__4960; +var map__4961__$1 = ((((!((map__4961 == null)))?(((((map__4961.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4961.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4961):map__4961); +var jd_cursor = cljs.core.get.call(null,map__4961__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); +var graph_cursor = cljs.core.get.call(null,map__4961__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); var selected_step = reagent.core.cursor.call(null,graph_cursor,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"selected","selected",574897764)], null)); -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default btn-ico-delete",new cljs.core.Keyword(null,"disabled","disabled",-1529784218),(((cljs.core.deref.call(null,selected_step) == null)) || (cljs.core._EQ_.call(null,"start",cljs.core.deref.call(null,selected_step)))),new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"delete selected step",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (selected_step,map__9429,map__9429__$1,jd_cursor,graph_cursor){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default btn-ico-delete",new cljs.core.Keyword(null,"disabled","disabled",-1529784218),(((cljs.core.deref.call(null,selected_step) == null)) || (cljs.core._EQ_.call(null,"start",cljs.core.deref.call(null,selected_step)))),new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"delete selected step",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (selected_step,map__4961,map__4961__$1,jd_cursor,graph_cursor){ return (function (){ titanoboa.designer.remove_jd_step_BANG_.call(null,jd_cursor,cljs.core.deref.call(null,selected_step)); titanoboa.designer.remove_fl_node_BANG_.call(null,graph_cursor,cljs.core.deref.call(null,selected_step)); return cljs.core.reset_BANG_.call(null,selected_step,null); -});})(selected_step,map__9429,map__9429__$1,jd_cursor,graph_cursor)) +});})(selected_step,map__4961,map__4961__$1,jd_cursor,graph_cursor)) ], null),""], null); }); titanoboa.designer.edit_panel_title = (function titanoboa$designer$edit_panel_title(){ @@ -2204,31 +2211,31 @@ return "clojure"; * :js-cm-opts * options passed into the CodeMirror constructor */ -titanoboa.designer.code_mirror = (function titanoboa$designer$code_mirror(p__9431){ -var map__9432 = p__9431; -var map__9432__$1 = ((((!((map__9432 == null)))?(((((map__9432.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9432.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9432):map__9432); -var css_class = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"css-class","css-class",-919455334)); -var on_change = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"on-change","on-change",-732046149)); -var js_cm_opts = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"js-cm-opts","js-cm-opts",1231776640)); -var transform_read_fn = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"transform-read-fn","transform-read-fn",-346718559)); -var auto_save_QMARK_ = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091)); -var insta_repl_QMARK_ = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"insta-repl?","insta-repl?",-848576250)); -var on_compile = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"on-compile","on-compile",-1162120153)); -var on_focus = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"on-focus","on-focus",-13737624)); -var on_blur = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"on-blur","on-blur",814300747)); -var transform_write_fn = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"transform-write-fn","transform-write-fn",1608502159)); -var style = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"style","style",-496642736)); -var value_atom = cljs.core.get.call(null,map__9432__$1,new cljs.core.Keyword(null,"value-atom","value-atom",-887321133)); +titanoboa.designer.code_mirror = (function titanoboa$designer$code_mirror(p__4963){ +var map__4964 = p__4963; +var map__4964__$1 = ((((!((map__4964 == null)))?(((((map__4964.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4964.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4964):map__4964); +var css_class = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"css-class","css-class",-919455334)); +var on_change = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"on-change","on-change",-732046149)); +var js_cm_opts = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"js-cm-opts","js-cm-opts",1231776640)); +var transform_read_fn = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"transform-read-fn","transform-read-fn",-346718559)); +var auto_save_QMARK_ = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091)); +var insta_repl_QMARK_ = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"insta-repl?","insta-repl?",-848576250)); +var on_compile = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"on-compile","on-compile",-1162120153)); +var on_focus = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"on-focus","on-focus",-13737624)); +var on_blur = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"on-blur","on-blur",814300747)); +var transform_write_fn = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"transform-write-fn","transform-write-fn",1608502159)); +var style = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"style","style",-496642736)); +var value_atom = cljs.core.get.call(null,map__4964__$1,new cljs.core.Keyword(null,"value-atom","value-atom",-887321133)); var cm = cljs.core.atom.call(null,null); var compile_status = reagent.core.atom.call(null,new cljs.core.Keyword(null,"ok","ok",967785236)); var repl_results = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); -var remove_result_BANG_ = ((function (cm,compile_status,repl_results,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +var remove_result_BANG_ = ((function (cm,compile_status,repl_results,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ return (function (id){ var widget = cljs.core.get.call(null,cljs.core.deref.call(null,repl_results),id); widget.clear(); return cljs.core.swap_BANG_.call(null,repl_results,cljs.core.dissoc,id); -});})(cm,compile_status,repl_results,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +});})(cm,compile_status,repl_results,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) ; var transform_read_fn__$1 = (function (){var or__3922__auto__ = transform_read_fn; if(cljs.core.truth_(or__3922__auto__)){ @@ -2241,56 +2248,56 @@ var transform_write_fn__$1 = (function (){var or__3922__auto__ = transform_write if(cljs.core.truth_(or__3922__auto__)){ return or__3922__auto__; } else { -return ((function (or__3922__auto__,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +return ((function (or__3922__auto__,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ return (function (val){ return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"status","status",-1997798413),new cljs.core.Keyword(null,"ok","ok",967785236),new cljs.core.Keyword(null,"message","message",-406056002),null,new cljs.core.Keyword(null,"value","value",305978217),titanoboa.exp.__GT_Expression.call(null,val,titanoboa.designer.cm_mode__GT_type.call(null,cljs.core.deref.call(null,cm).getOption("mode")))], null); }); -;})(or__3922__auto__,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +;})(or__3922__auto__,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) } })(); -var instarepl_fn = ((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +var instarepl_fn = ((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ return (function (instance){ var doc = instance.getDoc(); var selection = doc.getSelection(); var cursor_position = doc.getCursor(); -return titanoboa.api.eval_snippet_BANG_.call(null,selection,new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,value_atom)),"user",titanoboa.designer.all_linked__GT_maps.call(null,cljs.core.merge.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.app_state),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"properties","properties",685819552)], null)),cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.app_state),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.graph_view),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"selected","selected",574897764)], null)),new cljs.core.Keyword(null,"properties","properties",685819552)], null)))),((function (doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ -return (function (p__9434){ -var map__9435 = p__9434; -var map__9435__$1 = ((((!((map__9435 == null)))?(((((map__9435.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9435.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9435):map__9435); -var result = cljs.core.get.call(null,map__9435__$1,new cljs.core.Keyword(null,"result","result",1415092211)); +return titanoboa.api.eval_snippet_BANG_.call(null,selection,new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,value_atom)),"user",titanoboa.designer.all_linked__GT_maps.call(null,cljs.core.merge.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.app_state),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"properties","properties",685819552)], null)),cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.app_state),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"steps","steps",-128433302),cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.graph_view),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"selected","selected",574897764)], null)),new cljs.core.Keyword(null,"properties","properties",685819552)], null)))),((function (doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +return (function (p__4966){ +var map__4967 = p__4966; +var map__4967__$1 = ((((!((map__4967 == null)))?(((((map__4967.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4967.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4967):map__4967); +var result = cljs.core.get.call(null,map__4967__$1,new cljs.core.Keyword(null,"result","result",1415092211)); var result_id = cljs.core.random_uuid.call(null); var widget = doc.addLineWidget(cursor_position.line,(function (){var div = document.createElement("div"); var _ = div.innerHTML = reagent.core.render_to_string.call(null,reagent.core.as_element.call(null,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.hovering.tag.label.label-default","div.hovering.tag.label.label-default",-1494286629),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),"6px 6px 6px 6px",new cljs.core.Keyword(null,"padding","padding",1660304693),"6px 6px 6px 6px",new cljs.core.Keyword(null,"display","display",242065432),"inline-block"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"pre","pre",2118456869),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"11px",new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Menlo, Monaco, Consolas, \"Courier New\", monospace",new cljs.core.Keyword(null,"text-align","text-align",1786091845),"left",new cljs.core.Keyword(null,"line-height","line-height",1870784992),"normal"], null)], null),((typeof result === 'string')?result:(function (){var sb__4430__auto__ = (new goog.string.StringBuffer()); -var _STAR_print_newline_STAR_9437_9453 = cljs.core._STAR_print_newline_STAR_; -var _STAR_print_fn_STAR_9438_9454 = cljs.core._STAR_print_fn_STAR_; +var _STAR_print_newline_STAR_4969_4985 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR_4970_4986 = cljs.core._STAR_print_fn_STAR_; cljs.core._STAR_print_newline_STAR_ = true; -cljs.core._STAR_print_fn_STAR_ = ((function (_STAR_print_newline_STAR_9437_9453,_STAR_print_fn_STAR_9438_9454,sb__4430__auto__,div,result_id,map__9435,map__9435__$1,result,doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +cljs.core._STAR_print_fn_STAR_ = ((function (_STAR_print_newline_STAR_4969_4985,_STAR_print_fn_STAR_4970_4986,sb__4430__auto__,div,result_id,map__4967,map__4967__$1,result,doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ return (function (x__4431__auto__){ return sb__4430__auto__.append(x__4431__auto__); -});})(_STAR_print_newline_STAR_9437_9453,_STAR_print_fn_STAR_9438_9454,sb__4430__auto__,div,result_id,map__9435,map__9435__$1,result,doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +});})(_STAR_print_newline_STAR_4969_4985,_STAR_print_fn_STAR_4970_4986,sb__4430__auto__,div,result_id,map__4967,map__4967__$1,result,doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) ; try{fipp.clojure.pprint.call(null,result); -}finally {cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR_9438_9454; +}finally {cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR_4970_4986; -cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR_9437_9453; +cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR_4969_4985; } return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb__4430__auto__)].join(''); })())], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i","i",-1386841315),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"remove glyphicon glyphicon-remove glyphicon-white",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"vertical-align","vertical-align",651007333),"top",new cljs.core.Keyword(null,"margin-bottom","margin-bottom",388334941),"0"], null)], null)], null)], null)], null))); -var ___$1 = div.firstChild.lastChild.onclick = cljs.core.clj__GT_js.call(null,((function (div,_,result_id,map__9435,map__9435__$1,result,doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +var ___$1 = div.firstChild.lastChild.onclick = cljs.core.clj__GT_js.call(null,((function (div,_,result_id,map__4967,map__4967__$1,result,doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ return (function (){ return remove_result_BANG_.call(null,result_id); -});})(div,_,result_id,map__9435,map__9435__$1,result,doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +});})(div,_,result_id,map__4967,map__4967__$1,result,doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) ); return div; })()); return cljs.core.swap_BANG_.call(null,repl_results,cljs.core.assoc,result_id,widget); -});})(doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +});})(doc,selection,cursor_position,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) ); -});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) ; -var autocomplete_fn = ((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +var autocomplete_fn = ((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ return (function (instance,callback,options){ var doc = instance.getDoc(); var cursor_position = doc.getCursor(); @@ -2302,19 +2309,19 @@ var word_start = cljs.core.apply.call(null,cljs.core.max,titanoboa.designer.re_p var word_start__$1 = (cljs.core.truth_(word_start)?(word_start + (1)):(0)); var word_end = ch; var word = cljs.core.subs.call(null,line,word_start__$1,word_end); -return titanoboa.api.autocomplete_suggestions.call(null,word,"user",((function (doc,cursor_position,line_no,ch,line,line_prefix,word_start,word_start__$1,word_end,word,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ -return (function (p__9439){ -var map__9440 = p__9439; -var map__9440__$1 = ((((!((map__9440 == null)))?(((((map__9440.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9440.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9440):map__9440); -var result = cljs.core.get.call(null,map__9440__$1,new cljs.core.Keyword(null,"result","result",1415092211)); +return titanoboa.api.autocomplete_suggestions.call(null,word,"user",((function (doc,cursor_position,line_no,ch,line,line_prefix,word_start,word_start__$1,word_end,word,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +return (function (p__4971){ +var map__4972 = p__4971; +var map__4972__$1 = ((((!((map__4972 == null)))?(((((map__4972.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4972.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4972):map__4972); +var result = cljs.core.get.call(null,map__4972__$1,new cljs.core.Keyword(null,"result","result",1415092211)); return callback.call(null,cljs.core.clj__GT_js.call(null,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"list","list",765357683),result,new cljs.core.Keyword(null,"from","from",1815293044),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"ch","ch",-554717905),word_start__$1,new cljs.core.Keyword(null,"line","line",212345235),line_no], null),new cljs.core.Keyword(null,"to","to",192099007),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"ch","ch",-554717905),word_end,new cljs.core.Keyword(null,"line","line",212345235),line_no], null)], null))); -});})(doc,cursor_position,line_no,ch,line,line_prefix,word_start,word_start__$1,word_end,word,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +});})(doc,cursor_position,line_no,ch,line,line_prefix,word_start,word_start__$1,word_end,word,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) ); -});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) ; var autocomplete_js_fn = cljs.core.clj__GT_js.call(null,autocomplete_fn); var _ = autocomplete_js_fn.async = true; -return reagent.core.create_class.call(null,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"component-did-mount","component-did-mount",-1126910518),((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +return reagent.core.create_class.call(null,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"component-did-mount","component-did-mount",-1126910518),((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ return (function (this$){ var el = reagent.core.dom_node.call(null,this$); var inst = (new CodeMirror(el,cljs.core.clj__GT_js.call(null,cljs.core.merge.call(null,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"lineWrapping","lineWrapping",1248501985),new cljs.core.Keyword(null,"matchBrackets","matchBrackets",1256448936),new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"mode","mode",654403691),new cljs.core.Keyword(null,"extraKeys","extraKeys",1380834830),new cljs.core.Keyword(null,"theme","theme",-1247880880),new cljs.core.Keyword(null,"viewportMargin","viewportMargin",948056881),new cljs.core.Keyword(null,"hintOptions","hintOptions",-1460249832),new cljs.core.Keyword(null,"scrollbarStyle","scrollbarStyle",-963515367),new cljs.core.Keyword(null,"lineNumbers","lineNumbers",1374890941),new cljs.core.Keyword(null,"autoCloseBrackets","autoCloseBrackets",1157493311)],[false,true,transform_read_fn__$1.call(null,cljs.core.deref.call(null,value_atom)),titanoboa.designer.get_cm_mode.call(null,cljs.core.deref.call(null,value_atom)),(cljs.core.truth_(insta_repl_QMARK_)?new cljs.core.PersistentArrayMap(null, 2, ["Ctrl-Enter",instarepl_fn,"Ctrl-Space","autocomplete"], null):new cljs.core.PersistentArrayMap(null, 1, ["Ctrl-Space","autocomplete"], null)),"mdn-like",Infinity,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"hint","hint",439639918),autocomplete_js_fn], null),"null",false,true]),js_cm_opts)))); @@ -2323,7 +2330,7 @@ cljs.core.reset_BANG_.call(null,cm,inst); cljs.core.reset_BANG_.call(null,repl_results,cljs.core.PersistentArrayMap.EMPTY); if(cljs.core.truth_(auto_save_QMARK_)){ -inst.on("change",((function (el,inst,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +inst.on("change",((function (el,inst,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ return (function (){ var value = inst.getValue(); if(cljs.core.truth_((function (){var or__3922__auto__ = cljs.core.deref.call(null,cm).hasFocus(); @@ -2356,7 +2363,7 @@ return null; } else { return null; } -});})(el,inst,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +});})(el,inst,cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) ); } else { } @@ -2371,20 +2378,20 @@ return inst.on("blur",on_blur); } else { return null; } -});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) -,new cljs.core.Keyword(null,"should-component-update","should-component-update",2040868163),((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ -return (function (this$,p__9442,p__9443){ -var vec__9444 = p__9442; -var ___$1 = cljs.core.nth.call(null,vec__9444,(0),null); -var prev_props = cljs.core.nth.call(null,vec__9444,(1),null); -var prev_more = cljs.core.nth.call(null,vec__9444,(2),null); -var vec__9447 = p__9443; -var ___$2 = cljs.core.nth.call(null,vec__9447,(0),null); -var new_props = cljs.core.nth.call(null,vec__9447,(1),null); -var new_more = cljs.core.nth.call(null,vec__9447,(2),null); +});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +,new cljs.core.Keyword(null,"should-component-update","should-component-update",2040868163),((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +return (function (this$,p__4974,p__4975){ +var vec__4976 = p__4974; +var ___$1 = cljs.core.nth.call(null,vec__4976,(0),null); +var prev_props = cljs.core.nth.call(null,vec__4976,(1),null); +var prev_more = cljs.core.nth.call(null,vec__4976,(2),null); +var vec__4979 = p__4975; +var ___$2 = cljs.core.nth.call(null,vec__4979,(0),null); +var new_props = cljs.core.nth.call(null,vec__4979,(1),null); +var new_more = cljs.core.nth.call(null,vec__4979,(2),null); return ((((cljs.core.not.call(null,cljs.core.deref.call(null,cm).hasFocus())) && (cljs.core.not_EQ_.call(null,transform_read_fn__$1.call(null,cljs.core.deref.call(null,value_atom)),cljs.core.deref.call(null,cm).getValue())))) || (cljs.core.not_EQ_.call(null,cljs.core.deref.call(null,cm).getOption("mode"),titanoboa.designer.get_cm_mode.call(null,cljs.core.deref.call(null,value_atom))))); -});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) -,new cljs.core.Keyword(null,"component-did-update","component-did-update",-1468549173),((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +,new cljs.core.Keyword(null,"component-did-update","component-did-update",-1468549173),((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ return (function (this$,old_argv){ if(cljs.core._EQ_.call(null,transform_read_fn__$1.call(null,cljs.core.deref.call(null,value_atom)),cljs.core.deref.call(null,cm).getValue())){ } else { @@ -2397,25 +2404,25 @@ cljs.core.deref.call(null,cm).setOption("mode",titanoboa.designer.get_cm_mode.ca } return cljs.core.deref.call(null,cm).refresh(); -});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) -,new cljs.core.Keyword(null,"reagent-render","reagent-render",-985383853),((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ -return (function (p__9450){ -var map__9451 = p__9450; -var map__9451__$1 = ((((!((map__9451 == null)))?(((((map__9451.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9451.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9451):map__9451); -var css_class__$1 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"css-class","css-class",-919455334)); -var on_change__$1 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"on-change","on-change",-732046149)); -var js_cm_opts__$1 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"js-cm-opts","js-cm-opts",1231776640)); -var transform_read_fn__$2 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"transform-read-fn","transform-read-fn",-346718559)); -var auto_save_QMARK___$1 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091)); -var insta_repl_QMARK___$1 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"insta-repl?","insta-repl?",-848576250)); -var on_compile__$1 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"on-compile","on-compile",-1162120153)); -var on_focus__$1 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"on-focus","on-focus",-13737624)); -var on_blur__$1 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"on-blur","on-blur",814300747)); -var transform_write_fn__$2 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"transform-write-fn","transform-write-fn",1608502159)); -var style__$1 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"style","style",-496642736)); -var value_atom__$1 = cljs.core.get.call(null,map__9451__$1,new cljs.core.Keyword(null,"value-atom","value-atom",-887321133)); +});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +,new cljs.core.Keyword(null,"reagent-render","reagent-render",-985383853),((function (cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom){ +return (function (p__4982){ +var map__4983 = p__4982; +var map__4983__$1 = ((((!((map__4983 == null)))?(((((map__4983.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4983.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4983):map__4983); +var css_class__$1 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"css-class","css-class",-919455334)); +var on_change__$1 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"on-change","on-change",-732046149)); +var js_cm_opts__$1 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"js-cm-opts","js-cm-opts",1231776640)); +var transform_read_fn__$2 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"transform-read-fn","transform-read-fn",-346718559)); +var auto_save_QMARK___$1 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091)); +var insta_repl_QMARK___$1 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"insta-repl?","insta-repl?",-848576250)); +var on_compile__$1 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"on-compile","on-compile",-1162120153)); +var on_focus__$1 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"on-focus","on-focus",-13737624)); +var on_blur__$1 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"on-blur","on-blur",814300747)); +var transform_write_fn__$2 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"transform-write-fn","transform-write-fn",1608502159)); +var style__$1 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"style","style",-496642736)); +var value_atom__$1 = cljs.core.get.call(null,map__4983__$1,new cljs.core.Keyword(null,"value-atom","value-atom",-887321133)); return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),css_class__$1,new cljs.core.Keyword(null,"style","style",-496642736),style__$1], null)], null); -});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__9432,map__9432__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) +});})(cm,compile_status,repl_results,remove_result_BANG_,transform_read_fn__$1,transform_write_fn__$1,instarepl_fn,autocomplete_fn,autocomplete_js_fn,_,map__4964,map__4964__$1,css_class,on_change,js_cm_opts,transform_read_fn,auto_save_QMARK_,insta_repl_QMARK_,on_compile,on_focus,on_blur,transform_write_fn,style,value_atom)) ], null)); }); titanoboa.designer.ks_map_QMARK_ = (function titanoboa$designer$ks_map_QMARK_(ks){ @@ -2484,8 +2491,8 @@ titanoboa.designer.edit_key_BANG_ = (function titanoboa$designer$edit_key_BANG_( return cljs.core.reset_BANG_.call(null,titanoboa.designer.editing_key,ks); }); titanoboa.designer.update_prop = (function titanoboa$designer$update_prop(var_args){ -var G__9458 = arguments.length; -switch (G__9458) { +var G__4990 = arguments.length; +switch (G__4990) { case 4: return titanoboa.designer.update_prop.cljs$core$IFn$_invoke$arity$4((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)])); @@ -2502,12 +2509,12 @@ throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1( titanoboa.designer.update_prop.cljs$core$IFn$_invoke$arity$4 = (function (step_cursor,ks,is_map_key,transform_fn){ if(cljs.core.truth_(is_map_key)){ -return (function (p1__9455_SHARP_){ -return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,cljs.core.pop.call(null,ks),clojure.set.rename_keys,cljs.core.PersistentArrayMap.createAsIfByAssoc([cljs.core.peek.call(null,ks),transform_fn.call(null,p1__9455_SHARP_.target.value)])); +return (function (p1__4987_SHARP_){ +return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,cljs.core.pop.call(null,ks),clojure.set.rename_keys,cljs.core.PersistentArrayMap.createAsIfByAssoc([cljs.core.peek.call(null,ks),transform_fn.call(null,p1__4987_SHARP_.target.value)])); }); } else { -return (function (p1__9456_SHARP_){ -return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc_in,ks,transform_fn.call(null,p1__9456_SHARP_.target.value)); +return (function (p1__4988_SHARP_){ +return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc_in,ks,transform_fn.call(null,p1__4988_SHARP_.target.value)); }); } }); @@ -2519,8 +2526,8 @@ return titanoboa.designer.update_prop.call(null,step_cursor,ks,is_map_key,cljs.c titanoboa.designer.update_prop.cljs$lang$maxFixedArity = 4; titanoboa.designer.set_prop = (function titanoboa$designer$set_prop(var_args){ -var G__9461 = arguments.length; -switch (G__9461) { +var G__4993 = arguments.length; +switch (G__4993) { case 5: return titanoboa.designer.set_prop.cljs$core$IFn$_invoke$arity$5((arguments[(0)]),(arguments[(1)]),(arguments[(2)]),(arguments[(3)]),(arguments[(4)])); @@ -2579,8 +2586,8 @@ return round_fn.call(null,(avgc + ((avgc / (2)) * (kc / oc)))); ,x)); var cnt = cljs.core.reduce.call(null,cljs.core._PLUS_,result); if((((cnt > grid_columns)) && ((fn_idx < (4))))){ -var G__9463 = (fn_idx + (1)); -fn_idx = G__9463; +var G__4995 = (fn_idx + (1)); +fn_idx = G__4995; continue; } else { return result; @@ -2618,56 +2625,56 @@ return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMP return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,cljs.core.pop.call(null,ks),cljs.core.conj,""); }),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"cursor","cursor",1011937484),"pointer"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i","i",-1386841315),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"zmdi zmdi-playlist-plus form-control-feedback",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"top","top",-1856271961),"7px",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"20px",new cljs.core.Keyword(null,"right","right",-452581833),"18px",new cljs.core.Keyword(null,"width","width",-384071477),"20px"], null),new cljs.core.Keyword(null,"title","title",636505583),"add new property to this array"], null)], null)], null); }); -titanoboa.designer.prop_input = (function titanoboa$designer$prop_input(p__9465){ -var map__9466 = p__9465; -var map__9466__$1 = ((((!((map__9466 == null)))?(((((map__9466.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9466.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9466):map__9466); -var prop = cljs.core.get.call(null,map__9466__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var step_cursor = cljs.core.get.call(null,map__9466__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var ks = cljs.core.get.call(null,map__9466__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var cnt = cljs.core.get.call(null,map__9466__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var map_flag = cljs.core.get.call(null,map__9466__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9466__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +titanoboa.designer.prop_input = (function titanoboa$designer$prop_input(p__4997){ +var map__4998 = p__4997; +var map__4998__$1 = ((((!((map__4998 == null)))?(((((map__4998.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__4998.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__4998):map__4998); +var prop = cljs.core.get.call(null,map__4998__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var step_cursor = cljs.core.get.call(null,map__4998__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var ks = cljs.core.get.call(null,map__4998__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var cnt = cljs.core.get.call(null,map__4998__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var map_flag = cljs.core.get.call(null,map__4998__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var read_only_QMARK_ = cljs.core.get.call(null,map__4998__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); var value = reagent.core.atom.call(null,prop); var editing_QMARK_ = reagent.core.atom.call(null,false); var change__GT_exp_QMARK_ = reagent.core.atom.call(null,false); -return ((function (value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ -return (function (p__9468){ -var map__9469 = p__9468; -var map__9469__$1 = ((((!((map__9469 == null)))?(((((map__9469.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9469.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9469):map__9469); -var prop__$1 = cljs.core.get.call(null,map__9469__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var step_cursor__$1 = cljs.core.get.call(null,map__9469__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var ks__$1 = cljs.core.get.call(null,map__9469__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var cnt__$1 = cljs.core.get.call(null,map__9469__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var map_flag__$1 = cljs.core.get.call(null,map__9469__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"has-feedback hovering"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"on-key-press","on-key-press",-399563677),new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),new cljs.core.Keyword(null,"on-focus","on-focus",-13737624),new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"on-blur","on-blur",814300747),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"title","title",636505583),new cljs.core.Keyword(null,"class","class",-2030961996),new cljs.core.Keyword(null,"on-change","on-change",-732046149)],[((cljs.core.not.call(null,read_only_QMARK_))?((function (map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +return ((function (value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +return (function (p__5000){ +var map__5001 = p__5000; +var map__5001__$1 = ((((!((map__5001 == null)))?(((((map__5001.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5001.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5001):map__5001); +var prop__$1 = cljs.core.get.call(null,map__5001__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var step_cursor__$1 = cljs.core.get.call(null,map__5001__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var ks__$1 = cljs.core.get.call(null,map__5001__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var cnt__$1 = cljs.core.get.call(null,map__5001__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var map_flag__$1 = cljs.core.get.call(null,map__5001__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"has-feedback hovering"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"on-key-press","on-key-press",-399563677),new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),new cljs.core.Keyword(null,"on-focus","on-focus",-13737624),new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"on-blur","on-blur",814300747),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"title","title",636505583),new cljs.core.Keyword(null,"class","class",-2030961996),new cljs.core.Keyword(null,"on-change","on-change",-732046149)],[((cljs.core.not.call(null,read_only_QMARK_))?((function (map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (e){ if(cljs.core._EQ_.call(null,(13),e.charCode)){ return document.activeElement.blur(); } else { return null; } -});})(map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) -:((function (map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +});})(map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +:((function (map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (){ return cljs.core.List.EMPTY; -});})(map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) -),(cljs.core.truth_(map_flag__$1)?"property":"value"),((cljs.core.not.call(null,read_only_QMARK_))?((function (map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +});})(map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +),(cljs.core.truth_(map_flag__$1)?"property":"value"),((cljs.core.not.call(null,read_only_QMARK_))?((function (map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (){ cljs.core.reset_BANG_.call(null,value,prop__$1); return cljs.core.reset_BANG_.call(null,editing_QMARK_,true); -});})(map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) -:((function (map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +});})(map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +:((function (map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (){ return cljs.core.List.EMPTY; -});})(map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) -),(cljs.core.truth_(cljs.core.deref.call(null,editing_QMARK_))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,value))].join(''):prop__$1),((cljs.core.not.call(null,read_only_QMARK_))?((function (map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +});})(map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +),(cljs.core.truth_(cljs.core.deref.call(null,editing_QMARK_))?[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,value))].join(''):prop__$1),((cljs.core.not.call(null,read_only_QMARK_))?((function (map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (){ if(cljs.core.truth_(cljs.core.deref.call(null,change__GT_exp_QMARK_))){ -titanoboa.designer.set_prop.call(null,step_cursor__$1,ks__$1,map_flag__$1,value,((function (map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +titanoboa.designer.set_prop.call(null,step_cursor__$1,ks__$1,map_flag__$1,value,((function (map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (v){ return titanoboa.exp.__GT_Expression.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(v)].join(''),null); -});})(map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +});})(map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) ); } else { titanoboa.designer.set_prop.call(null,step_cursor__$1,ks__$1,map_flag__$1,value,titanoboa.designer.eval_property); @@ -2676,60 +2683,60 @@ titanoboa.designer.set_prop.call(null,step_cursor__$1,ks__$1,map_flag__$1,value, cljs.core.reset_BANG_.call(null,editing_QMARK_,false); return cljs.core.reset_BANG_.call(null,change__GT_exp_QMARK_,false); -});})(map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) -:((function (map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +});})(map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +:((function (map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (){ return cljs.core.List.EMPTY; -});})(map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) -),"text",[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks__$1)].join(''),"form-control",((cljs.core.not.call(null,read_only_QMARK_))?((function (map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ -return (function (p1__9464_SHARP_){ -return cljs.core.reset_BANG_.call(null,value,p1__9464_SHARP_.target.value); -});})(map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) -:((function (map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +});})(map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +),"text",[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks__$1)].join(''),"form-control",((cljs.core.not.call(null,read_only_QMARK_))?((function (map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +return (function (p1__4996_SHARP_){ +return cljs.core.reset_BANG_.call(null,value,p1__4996_SHARP_.target.value); +});})(map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +:((function (map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (){ return cljs.core.List.EMPTY; -});})(map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +});})(map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) )])], null),((((cljs.core.not.call(null,read_only_QMARK_)) && (cljs.core.not.call(null,cljs.core.deref.call(null,editing_QMARK_))) && (cljs.core.not.call(null,(function (){var and__3911__auto__ = cljs.core.not.call(null,map_flag__$1); if(and__3911__auto__){ return titanoboa.designer.ks_map_QMARK_.call(null,ks__$1); } else { return and__3911__auto__; } -})()))))?((((cljs.core.not.call(null,titanoboa.designer.ks_map_QMARK_.call(null,ks__$1))) && (cljs.core._EQ_.call(null,cljs.core.peek.call(null,ks__$1),(cnt__$1 - (1))))))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.add_input_ico,step_cursor__$1,ks__$1,cnt__$1], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.rem_input_ico,step_cursor__$1,ks__$1,cnt__$1], null)], null):new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.rem_input_ico,step_cursor__$1,ks__$1,cnt__$1], null)):null),(cljs.core.truth_(cljs.core.deref.call(null,editing_QMARK_))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470),((function (map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +})()))))?((((cljs.core.not.call(null,titanoboa.designer.ks_map_QMARK_.call(null,ks__$1))) && (cljs.core._EQ_.call(null,cljs.core.peek.call(null,ks__$1),(cnt__$1 - (1))))))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.add_input_ico,step_cursor__$1,ks__$1,cnt__$1], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.rem_input_ico,step_cursor__$1,ks__$1,cnt__$1], null)], null):new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.rem_input_ico,step_cursor__$1,ks__$1,cnt__$1], null)):null),(cljs.core.truth_(cljs.core.deref.call(null,editing_QMARK_))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470),((function (map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (){ return cljs.core.reset_BANG_.call(null,change__GT_exp_QMARK_,true); -});})(map__9469,map__9469__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +});})(map__5001,map__5001__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) ], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i","i",-1386841315),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"lambda-ico form-control-feedback",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"16px",new cljs.core.Keyword(null,"width","width",-384071477),"20px",new cljs.core.Keyword(null,"right","right",-452581833),"0px"], null),new cljs.core.Keyword(null,"title","title",636505583),"Toggle expression mode"], null)], null)], null):null)], null); }); -;})(value,editing_QMARK_,change__GT_exp_QMARK_,map__9466,map__9466__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) -}); -titanoboa.designer.prop_expression = (function titanoboa$designer$prop_expression(p__9472){ -var map__9473 = p__9472; -var map__9473__$1 = ((((!((map__9473 == null)))?(((((map__9473.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9473.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9473):map__9473); -var prop = cljs.core.get.call(null,map__9473__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var step_cursor = cljs.core.get.call(null,map__9473__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var ks = cljs.core.get.call(null,map__9473__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var cnt = cljs.core.get.call(null,map__9473__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var map_flag = cljs.core.get.call(null,map__9473__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9473__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +;})(value,editing_QMARK_,change__GT_exp_QMARK_,map__4998,map__4998__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +}); +titanoboa.designer.prop_expression = (function titanoboa$designer$prop_expression(p__5004){ +var map__5005 = p__5004; +var map__5005__$1 = ((((!((map__5005 == null)))?(((((map__5005.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5005.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5005):map__5005); +var prop = cljs.core.get.call(null,map__5005__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var step_cursor = cljs.core.get.call(null,map__5005__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var ks = cljs.core.get.call(null,map__5005__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var cnt = cljs.core.get.call(null,map__5005__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var map_flag = cljs.core.get.call(null,map__5005__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var read_only_QMARK_ = cljs.core.get.call(null,map__5005__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); var editing_QMARK_ = reagent.core.atom.call(null,false); var change__GT_str_QMARK_ = reagent.core.atom.call(null,false); var change__GT_textarea_QMARK_ = reagent.core.atom.call(null,false); var val_cursor = reagent.core.cursor.call(null,step_cursor,ks); -return ((function (editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__9473,map__9473__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ -return (function (p__9475){ -var map__9476 = p__9475; -var map__9476__$1 = ((((!((map__9476 == null)))?(((((map__9476.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9476.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9476):map__9476); -var prop__$1 = cljs.core.get.call(null,map__9476__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var step_cursor__$1 = cljs.core.get.call(null,map__9476__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var ks__$1 = cljs.core.get.call(null,map__9476__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var cnt__$1 = cljs.core.get.call(null,map__9476__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var map_flag__$1 = cljs.core.get.call(null,map__9476__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.input-group","div.input-group",-2073660476),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"has-feedback hovering",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"display","display",242065432),"flex"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.input-group-addon","span.input-group-addon",-1300181023),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"width","width",-384071477),"auto",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"12px"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),"\u03BB"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.code_mirror,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"value-atom","value-atom",-887321133),val_cursor,new cljs.core.Keyword(null,"css-class","css-class",-919455334),"form-control",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"height","height",1025178622),"auto",new cljs.core.Keyword(null,"border","border",1444987323),"1px solid #ccc",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"13px"], null),new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091),true,new cljs.core.Keyword(null,"insta-repl?","insta-repl?",-848576250),true,new cljs.core.Keyword(null,"on-focus","on-focus",-13737624),((function (map__9476,map__9476__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__9473,map__9473__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +return ((function (editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__5005,map__5005__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +return (function (p__5007){ +var map__5008 = p__5007; +var map__5008__$1 = ((((!((map__5008 == null)))?(((((map__5008.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5008.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5008):map__5008); +var prop__$1 = cljs.core.get.call(null,map__5008__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var step_cursor__$1 = cljs.core.get.call(null,map__5008__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var ks__$1 = cljs.core.get.call(null,map__5008__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var cnt__$1 = cljs.core.get.call(null,map__5008__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var map_flag__$1 = cljs.core.get.call(null,map__5008__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.input-group","div.input-group",-2073660476),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"has-feedback hovering",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"display","display",242065432),"flex"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.input-group-addon","span.input-group-addon",-1300181023),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"width","width",-384071477),"auto",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"12px"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),"\u03BB"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.code_mirror,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"value-atom","value-atom",-887321133),val_cursor,new cljs.core.Keyword(null,"css-class","css-class",-919455334),"form-control",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"height","height",1025178622),"auto",new cljs.core.Keyword(null,"border","border",1444987323),"1px solid #ccc",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"13px"], null),new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091),true,new cljs.core.Keyword(null,"insta-repl?","insta-repl?",-848576250),true,new cljs.core.Keyword(null,"on-focus","on-focus",-13737624),((function (map__5008,map__5008__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__5005,map__5005__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (){ return cljs.core.reset_BANG_.call(null,editing_QMARK_,true); -});})(map__9476,map__9476__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__9473,map__9473__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) -,new cljs.core.Keyword(null,"on-blur","on-blur",814300747),((function (map__9476,map__9476__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__9473,map__9473__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +});})(map__5008,map__5008__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__5005,map__5005__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +,new cljs.core.Keyword(null,"on-blur","on-blur",814300747),((function (map__5008,map__5008__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__5005,map__5005__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (){ if(cljs.core.truth_(cljs.core.deref.call(null,change__GT_str_QMARK_))){ titanoboa.designer.set_prop.call(null,step_cursor__$1,ks__$1,map_flag__$1,val_cursor,new cljs.core.Keyword(null,"value","value",305978217)); @@ -2739,48 +2746,48 @@ titanoboa.designer.set_prop.call(null,step_cursor__$1,ks__$1,map_flag__$1,val_cu cljs.core.reset_BANG_.call(null,editing_QMARK_,false); return cljs.core.reset_BANG_.call(null,change__GT_str_QMARK_,false); -});})(map__9476,map__9476__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__9473,map__9473__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +});})(map__5008,map__5008__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__5005,map__5005__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) ], null)], null),((((cljs.core.not.call(null,cljs.core.deref.call(null,editing_QMARK_))) && (cljs.core.not.call(null,(function (){var and__3911__auto__ = cljs.core.not.call(null,map_flag__$1); if(and__3911__auto__){ return titanoboa.designer.ks_map_QMARK_.call(null,ks__$1); } else { return and__3911__auto__; } -})()))))?((((cljs.core.not.call(null,titanoboa.designer.ks_map_QMARK_.call(null,ks__$1))) && (cljs.core._EQ_.call(null,cljs.core.peek.call(null,ks__$1),(cnt__$1 - (1))))))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.rem_input_ico,step_cursor__$1,ks__$1,cnt__$1], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.add_input_ico,step_cursor__$1,ks__$1,cnt__$1], null)], null):new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.rem_input_ico,step_cursor__$1,ks__$1,cnt__$1], null)):null),(cljs.core.truth_(cljs.core.deref.call(null,editing_QMARK_))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470),((function (map__9476,map__9476__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__9473,map__9473__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ +})()))))?((((cljs.core.not.call(null,titanoboa.designer.ks_map_QMARK_.call(null,ks__$1))) && (cljs.core._EQ_.call(null,cljs.core.peek.call(null,ks__$1),(cnt__$1 - (1))))))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.rem_input_ico,step_cursor__$1,ks__$1,cnt__$1], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.add_input_ico,step_cursor__$1,ks__$1,cnt__$1], null)], null):new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.rem_input_ico,step_cursor__$1,ks__$1,cnt__$1], null)):null),(cljs.core.truth_(cljs.core.deref.call(null,editing_QMARK_))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-mouse-down","on-mouse-down",1147755470),((function (map__5008,map__5008__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__5005,map__5005__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_){ return (function (){ return cljs.core.reset_BANG_.call(null,change__GT_str_QMARK_,true); -});})(map__9476,map__9476__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__9473,map__9473__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +});})(map__5008,map__5008__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__5005,map__5005__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) ], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i","i",-1386841315),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"lambda-ico form-control-feedback",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"16px",new cljs.core.Keyword(null,"width","width",-384071477),"20px",new cljs.core.Keyword(null,"right","right",-452581833),"0px"], null),new cljs.core.Keyword(null,"title","title",636505583),"Toggle expression mode"], null)], null)], null)], null):null)], null); }); -;})(editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__9473,map__9473__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) -}); -titanoboa.designer.prop_key_input = (function titanoboa$designer$prop_key_input(p__9479){ -var map__9480 = p__9479; -var map__9480__$1 = ((((!((map__9480 == null)))?(((((map__9480.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9480.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9480):map__9480); -var prop = cljs.core.get.call(null,map__9480__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var step_cursor = cljs.core.get.call(null,map__9480__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var ks = cljs.core.get.call(null,map__9480__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var cnt = cljs.core.get.call(null,map__9480__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var map_flag = cljs.core.get.call(null,map__9480__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var editing_ks = cljs.core.get.call(null,map__9480__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9480__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); -var key_edit_fn = cljs.core.get.call(null,map__9480__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); +;})(editing_QMARK_,change__GT_str_QMARK_,change__GT_textarea_QMARK_,val_cursor,map__5005,map__5005__$1,prop,step_cursor,ks,cnt,map_flag,read_only_QMARK_)) +}); +titanoboa.designer.prop_key_input = (function titanoboa$designer$prop_key_input(p__5011){ +var map__5012 = p__5011; +var map__5012__$1 = ((((!((map__5012 == null)))?(((((map__5012.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5012.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5012):map__5012); +var prop = cljs.core.get.call(null,map__5012__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var step_cursor = cljs.core.get.call(null,map__5012__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var ks = cljs.core.get.call(null,map__5012__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var cnt = cljs.core.get.call(null,map__5012__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var map_flag = cljs.core.get.call(null,map__5012__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var editing_ks = cljs.core.get.call(null,map__5012__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +var read_only_QMARK_ = cljs.core.get.call(null,map__5012__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +var key_edit_fn = cljs.core.get.call(null,map__5012__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); var val = reagent.core.atom.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(prop)].join('')); -return ((function (val,map__9480,map__9480__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ -return (function (p__9482){ -var map__9483 = p__9482; -var map__9483__$1 = ((((!((map__9483 == null)))?(((((map__9483.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9483.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9483):map__9483); -var prop__$1 = cljs.core.get.call(null,map__9483__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var step_cursor__$1 = cljs.core.get.call(null,map__9483__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var ks__$1 = cljs.core.get.call(null,map__9483__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var cnt__$1 = cljs.core.get.call(null,map__9483__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var map_flag__$1 = cljs.core.get.call(null,map__9483__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var editing_ks__$1 = cljs.core.get.call(null,map__9483__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"has-feedback hovering"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,val),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__9483,map__9483__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__9480,map__9480__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ -return (function (p1__9478_SHARP_){ -return cljs.core.reset_BANG_.call(null,val,p1__9478_SHARP_.target.value); -});})(map__9483,map__9483__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__9480,map__9480__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) -,new cljs.core.Keyword(null,"on-key-press","on-key-press",-399563677),((function (map__9483,map__9483__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__9480,map__9480__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ +return ((function (val,map__5012,map__5012__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ +return (function (p__5014){ +var map__5015 = p__5014; +var map__5015__$1 = ((((!((map__5015 == null)))?(((((map__5015.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5015.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5015):map__5015); +var prop__$1 = cljs.core.get.call(null,map__5015__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var step_cursor__$1 = cljs.core.get.call(null,map__5015__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var ks__$1 = cljs.core.get.call(null,map__5015__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var cnt__$1 = cljs.core.get.call(null,map__5015__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var map_flag__$1 = cljs.core.get.call(null,map__5015__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var editing_ks__$1 = cljs.core.get.call(null,map__5015__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"has-feedback hovering"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,val),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__5015,map__5015__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__5012,map__5012__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ +return (function (p1__5010_SHARP_){ +return cljs.core.reset_BANG_.call(null,val,p1__5010_SHARP_.target.value); +});})(map__5015,map__5015__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__5012,map__5012__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) +,new cljs.core.Keyword(null,"on-key-press","on-key-press",-399563677),((function (map__5015,map__5015__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__5012,map__5012__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ return (function (e){ if(cljs.core._EQ_.call(null,(13),e.charCode)){ titanoboa.designer.update_prop_key_BANG_.call(null,step_cursor__$1,ks__$1,e.target.value); @@ -2789,30 +2796,30 @@ return key_edit_fn.call(null,null); } else { return null; } -});})(map__9483,map__9483__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__9480,map__9480__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) -,new cljs.core.Keyword(null,"on-blur","on-blur",814300747),((function (map__9483,map__9483__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__9480,map__9480__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ +});})(map__5015,map__5015__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__5012,map__5012__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) +,new cljs.core.Keyword(null,"on-blur","on-blur",814300747),((function (map__5015,map__5015__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__5012,map__5012__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ return (function (e){ titanoboa.designer.update_prop_key_BANG_.call(null,step_cursor__$1,ks__$1,e.target.value); return key_edit_fn.call(null,null); -});})(map__9483,map__9483__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__9480,map__9480__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) +});})(map__5015,map__5015__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,val,map__5012,map__5012__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) ,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),(cljs.core.truth_(map_flag__$1)?"property":"value"),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks__$1)].join('')], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.rem_input_ico,step_cursor__$1,ks__$1,cnt__$1], null)], null); }); -;})(val,map__9480,map__9480__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) -}); -titanoboa.designer.prop_key_label = (function titanoboa$designer$prop_key_label(p__9485){ -var map__9486 = p__9485; -var map__9486__$1 = ((((!((map__9486 == null)))?(((((map__9486.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9486.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9486):map__9486); -var highlight_fn = cljs.core.get.call(null,map__9486__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); -var map_flag = cljs.core.get.call(null,map__9486__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var ks = cljs.core.get.call(null,map__9486__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var editing_ks = cljs.core.get.call(null,map__9486__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -var step_cursor = cljs.core.get.call(null,map__9486__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var key_edit_fn = cljs.core.get.call(null,map__9486__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); -var cnt = cljs.core.get.call(null,map__9486__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var prop = cljs.core.get.call(null,map__9486__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9486__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); -var show_parens_QMARK_ = cljs.core.get.call(null,map__9486__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); +;})(val,map__5012,map__5012__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) +}); +titanoboa.designer.prop_key_label = (function titanoboa$designer$prop_key_label(p__5017){ +var map__5018 = p__5017; +var map__5018__$1 = ((((!((map__5018 == null)))?(((((map__5018.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5018.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5018):map__5018); +var highlight_fn = cljs.core.get.call(null,map__5018__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); +var map_flag = cljs.core.get.call(null,map__5018__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var ks = cljs.core.get.call(null,map__5018__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var editing_ks = cljs.core.get.call(null,map__5018__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +var step_cursor = cljs.core.get.call(null,map__5018__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var key_edit_fn = cljs.core.get.call(null,map__5018__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); +var cnt = cljs.core.get.call(null,map__5018__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var prop = cljs.core.get.call(null,map__5018__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var read_only_QMARK_ = cljs.core.get.call(null,map__5018__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +var show_parens_QMARK_ = cljs.core.get.call(null,map__5018__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); if(cljs.core.truth_((function (){var and__3911__auto__ = map_flag; if(cljs.core.truth_(and__3911__auto__)){ return cljs.core._EQ_.call(null,titanoboa.designer.get_full_ks.call(null,step_cursor,ks),editing_ks); @@ -2823,18 +2830,18 @@ return and__3911__auto__; return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.prop_key_input,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"prop","prop",-515168332),prop,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_cursor,new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"cnt","cnt",283978798),cnt,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),map_flag,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807),editing_ks,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),key_edit_fn], null)], null); } else { return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),["hovering tag label ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((((prop instanceof cljs.core.Keyword))?(cljs.core.truth_(map_flag)?"label-primary":"label-keyword"):(((prop instanceof cljs.core.Symbol))?"label-danger":(cljs.core.truth_(map_flag)?"label-text":"label-info") -)))].join(''),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),(12)], null),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks)].join(''),new cljs.core.Keyword(null,"on-double-click","on-double-click",1434856980),((cljs.core.not.call(null,read_only_QMARK_))?(cljs.core.truth_(map_flag)?((function (map__9486,map__9486__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +)))].join(''),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),(12)], null),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks)].join(''),new cljs.core.Keyword(null,"on-double-click","on-double-click",1434856980),((cljs.core.not.call(null,read_only_QMARK_))?(cljs.core.truth_(map_flag)?((function (map__5018,map__5018__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return key_edit_fn.call(null,titanoboa.designer.get_full_ks.call(null,step_cursor,ks)); -});})(map__9486,map__9486__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:(((prop instanceof cljs.core.Symbol))?((function (map__9486,map__9486__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(map__5018,map__5018__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:(((prop instanceof cljs.core.Symbol))?((function (map__5018,map__5018__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ -return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,((function (map__9486,map__9486__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,((function (map__5018,map__5018__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (i){ return ["'",cljs.core.str.cljs$core$IFn$_invoke$arity$1(i)].join(''); -});})(map__9486,map__9486__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(map__5018,map__5018__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) ); -});})(map__9486,map__9486__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(map__5018,map__5018__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :titanoboa.designer.propkey__GT_str.call(null,step_cursor,ks,map_flag) )):null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_((function (){var and__3911__auto__ = map_flag; if(cljs.core.truth_(and__3911__auto__)){ @@ -2842,196 +2849,196 @@ return highlight_fn; } else { return and__3911__auto__; } -})())?((function (map__9486,map__9486__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +})())?((function (map__5018,map__5018__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ if(cljs.core.truth_(show_parens_QMARK_)){ return highlight_fn.call(null,ks); } else { return null; } -});})(map__9486,map__9486__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(map__5018,map__5018__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_((function (){var and__3911__auto__ = map_flag; if(cljs.core.truth_(and__3911__auto__)){ return highlight_fn; } else { return and__3911__auto__; } -})())?((function (map__9486,map__9486__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +})())?((function (map__5018,map__5018__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ if(cljs.core.truth_(show_parens_QMARK_)){ return highlight_fn.call(null,null); } else { return null; } -});})(map__9486,map__9486__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(map__5018,map__5018__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),cljs.core.conj.call(null,ks,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(prop)].join(''))], null),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(prop)].join('')], null),((cljs.core.not.call(null,read_only_QMARK_))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),titanoboa.designer.rem_prop.call(null,step_cursor,ks,cnt)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i","i",-1386841315),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"remove glyphicon glyphicon-remove glyphicon-white"], null)], null)], null):null)], null); } }); -titanoboa.designer.prop_sym_input = (function titanoboa$designer$prop_sym_input(p__9491){ -var map__9492 = p__9491; -var map__9492__$1 = ((((!((map__9492 == null)))?(((((map__9492.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9492.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9492):map__9492); -var prop = cljs.core.get.call(null,map__9492__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var step_cursor = cljs.core.get.call(null,map__9492__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var ks = cljs.core.get.call(null,map__9492__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var cnt = cljs.core.get.call(null,map__9492__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var map_flag = cljs.core.get.call(null,map__9492__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var editing_ks = cljs.core.get.call(null,map__9492__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9492__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); -var key_edit_fn = cljs.core.get.call(null,map__9492__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); +titanoboa.designer.prop_sym_input = (function titanoboa$designer$prop_sym_input(p__5023){ +var map__5024 = p__5023; +var map__5024__$1 = ((((!((map__5024 == null)))?(((((map__5024.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5024.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5024):map__5024); +var prop = cljs.core.get.call(null,map__5024__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var step_cursor = cljs.core.get.call(null,map__5024__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var ks = cljs.core.get.call(null,map__5024__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var cnt = cljs.core.get.call(null,map__5024__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var map_flag = cljs.core.get.call(null,map__5024__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var editing_ks = cljs.core.get.call(null,map__5024__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +var read_only_QMARK_ = cljs.core.get.call(null,map__5024__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +var key_edit_fn = cljs.core.get.call(null,map__5024__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); var value = reagent.core.atom.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(prop)].join('')); -return ((function (value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ -return (function (p__9494){ -var map__9495 = p__9494; -var map__9495__$1 = ((((!((map__9495 == null)))?(((((map__9495.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9495.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9495):map__9495); -var prop__$1 = cljs.core.get.call(null,map__9495__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var step_cursor__$1 = cljs.core.get.call(null,map__9495__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var ks__$1 = cljs.core.get.call(null,map__9495__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var cnt__$1 = cljs.core.get.call(null,map__9495__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var map_flag__$1 = cljs.core.get.call(null,map__9495__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var editing_ks__$1 = cljs.core.get.call(null,map__9495__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"has-feedback hovering"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,value),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__9495,map__9495__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ -return (function (p1__9488_SHARP_){ -return cljs.core.reset_BANG_.call(null,value,p1__9488_SHARP_.target.value); -});})(map__9495,map__9495__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) -,new cljs.core.Keyword(null,"on-key-press","on-key-press",-399563677),((function (map__9495,map__9495__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ +return ((function (value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ +return (function (p__5026){ +var map__5027 = p__5026; +var map__5027__$1 = ((((!((map__5027 == null)))?(((((map__5027.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5027.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5027):map__5027); +var prop__$1 = cljs.core.get.call(null,map__5027__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var step_cursor__$1 = cljs.core.get.call(null,map__5027__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var ks__$1 = cljs.core.get.call(null,map__5027__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var cnt__$1 = cljs.core.get.call(null,map__5027__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var map_flag__$1 = cljs.core.get.call(null,map__5027__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var editing_ks__$1 = cljs.core.get.call(null,map__5027__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"has-feedback hovering"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),cljs.core.deref.call(null,value),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__5027,map__5027__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ +return (function (p1__5020_SHARP_){ +return cljs.core.reset_BANG_.call(null,value,p1__5020_SHARP_.target.value); +});})(map__5027,map__5027__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) +,new cljs.core.Keyword(null,"on-key-press","on-key-press",-399563677),((function (map__5027,map__5027__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ return (function (e){ if(cljs.core._EQ_.call(null,(13),e.charCode)){ -titanoboa.designer.set_prop.call(null,step_cursor__$1,ks__$1,map_flag__$1,value,((function (map__9495,map__9495__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ -return (function (p1__9489_SHARP_){ -return titanoboa.designer.eval_property.call(null,p1__9489_SHARP_,true); -});})(map__9495,map__9495__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) +titanoboa.designer.set_prop.call(null,step_cursor__$1,ks__$1,map_flag__$1,value,((function (map__5027,map__5027__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ +return (function (p1__5021_SHARP_){ +return titanoboa.designer.eval_property.call(null,p1__5021_SHARP_,true); +});})(map__5027,map__5027__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) ); return key_edit_fn.call(null,null); } else { return null; } -});})(map__9495,map__9495__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) -,new cljs.core.Keyword(null,"on-blur","on-blur",814300747),((function (map__9495,map__9495__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ +});})(map__5027,map__5027__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) +,new cljs.core.Keyword(null,"on-blur","on-blur",814300747),((function (map__5027,map__5027__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ return (function (e){ -titanoboa.designer.set_prop.call(null,step_cursor__$1,ks__$1,map_flag__$1,value,((function (map__9495,map__9495__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ -return (function (p1__9490_SHARP_){ -return titanoboa.designer.eval_property.call(null,p1__9490_SHARP_,true); -});})(map__9495,map__9495__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) +titanoboa.designer.set_prop.call(null,step_cursor__$1,ks__$1,map_flag__$1,value,((function (map__5027,map__5027__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn){ +return (function (p1__5022_SHARP_){ +return titanoboa.designer.eval_property.call(null,p1__5022_SHARP_,true); +});})(map__5027,map__5027__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) ); return key_edit_fn.call(null,null); -});})(map__9495,map__9495__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) +});})(map__5027,map__5027__$1,prop__$1,step_cursor__$1,ks__$1,cnt__$1,map_flag__$1,editing_ks__$1,value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) ,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),(cljs.core.truth_(map_flag__$1)?"property":"value"),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks__$1)].join('')], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.rem_input_ico,step_cursor__$1,ks__$1,cnt__$1], null)], null); }); -;})(value,map__9492,map__9492__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) -}); -titanoboa.designer.prop_sym_label = (function titanoboa$designer$prop_sym_label(p__9497){ -var map__9498 = p__9497; -var map__9498__$1 = ((((!((map__9498 == null)))?(((((map__9498.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9498.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9498):map__9498); -var highlight_fn = cljs.core.get.call(null,map__9498__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); -var map_flag = cljs.core.get.call(null,map__9498__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var ks = cljs.core.get.call(null,map__9498__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var editing_ks = cljs.core.get.call(null,map__9498__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -var step_cursor = cljs.core.get.call(null,map__9498__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var key_edit_fn = cljs.core.get.call(null,map__9498__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); -var cnt = cljs.core.get.call(null,map__9498__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var prop = cljs.core.get.call(null,map__9498__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9498__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); -var show_parens_QMARK_ = cljs.core.get.call(null,map__9498__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); +;})(value,map__5024,map__5024__$1,prop,step_cursor,ks,cnt,map_flag,editing_ks,read_only_QMARK_,key_edit_fn)) +}); +titanoboa.designer.prop_sym_label = (function titanoboa$designer$prop_sym_label(p__5029){ +var map__5030 = p__5029; +var map__5030__$1 = ((((!((map__5030 == null)))?(((((map__5030.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5030.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5030):map__5030); +var highlight_fn = cljs.core.get.call(null,map__5030__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); +var map_flag = cljs.core.get.call(null,map__5030__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var ks = cljs.core.get.call(null,map__5030__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var editing_ks = cljs.core.get.call(null,map__5030__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +var step_cursor = cljs.core.get.call(null,map__5030__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var key_edit_fn = cljs.core.get.call(null,map__5030__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); +var cnt = cljs.core.get.call(null,map__5030__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var prop = cljs.core.get.call(null,map__5030__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var read_only_QMARK_ = cljs.core.get.call(null,map__5030__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +var show_parens_QMARK_ = cljs.core.get.call(null,map__5030__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); if(cljs.core._EQ_.call(null,titanoboa.designer.get_full_ks.call(null,step_cursor,ks),editing_ks)){ return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.prop_sym_input,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"prop","prop",-515168332),prop,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_cursor,new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"cnt","cnt",283978798),cnt,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),map_flag,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807),editing_ks,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),key_edit_fn], null)], null); } else { -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),"hovering tag label label-danger",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),(12)], null),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks)].join(''),new cljs.core.Keyword(null,"on-double-click","on-double-click",1434856980),((function (map__9498,map__9498__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),"hovering tag label label-danger",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),(12)], null),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks)].join(''),new cljs.core.Keyword(null,"on-double-click","on-double-click",1434856980),((function (map__5030,map__5030__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return key_edit_fn.call(null,titanoboa.designer.get_full_ks.call(null,step_cursor,ks)); -});})(map__9498,map__9498__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(map__5030,map__5030__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) ,new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_((function (){var and__3911__auto__ = map_flag; if(cljs.core.truth_(and__3911__auto__)){ return highlight_fn; } else { return and__3911__auto__; } -})())?((function (map__9498,map__9498__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +})())?((function (map__5030,map__5030__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ if(cljs.core.truth_(show_parens_QMARK_)){ return highlight_fn.call(null,ks); } else { return null; } -});})(map__9498,map__9498__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(map__5030,map__5030__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_((function (){var and__3911__auto__ = map_flag; if(cljs.core.truth_(and__3911__auto__)){ return highlight_fn; } else { return and__3911__auto__; } -})())?((function (map__9498,map__9498__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +})())?((function (map__5030,map__5030__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ if(cljs.core.truth_(show_parens_QMARK_)){ return highlight_fn.call(null,null); } else { return null; } -});})(map__9498,map__9498__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(map__5030,map__5030__$1,highlight_fn,map_flag,ks,editing_ks,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),cljs.core.conj.call(null,ks,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(prop)].join(''))], null),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(prop)].join('')], null),((cljs.core.not.call(null,read_only_QMARK_))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),titanoboa.designer.rem_prop.call(null,step_cursor,ks,cnt)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i","i",-1386841315),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"remove glyphicon glyphicon-remove glyphicon-white"], null)], null)], null):null)], null); } }); -titanoboa.designer.prop_add_button = (function titanoboa$designer$prop_add_button(p__9500){ -var map__9501 = p__9500; -var map__9501__$1 = ((((!((map__9501 == null)))?(((((map__9501.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9501.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9501):map__9501); -var prop = cljs.core.get.call(null,map__9501__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var step_cursor = cljs.core.get.call(null,map__9501__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var ks = cljs.core.get.call(null,map__9501__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var map_flag = cljs.core.get.call(null,map__9501__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var key_edit_fn = cljs.core.get.call(null,map__9501__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); -var style = cljs.core.get.call(null,map__9501__$1,new cljs.core.Keyword(null,"style","style",-496642736)); -var default_add_value = cljs.core.get.call(null,map__9501__$1,new cljs.core.Keyword(null,"default-add-value","default-add-value",-1663874198),""); -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group btn-group-sm dropup",new cljs.core.Keyword(null,"style","style",-496642736),style], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-info",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"Add simple property",new cljs.core.Keyword(null,"on-click","on-click",1632826543),(cljs.core.truth_(map_flag)?((function (map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ +titanoboa.designer.prop_add_button = (function titanoboa$designer$prop_add_button(p__5032){ +var map__5033 = p__5032; +var map__5033__$1 = ((((!((map__5033 == null)))?(((((map__5033.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5033.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5033):map__5033); +var prop = cljs.core.get.call(null,map__5033__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var step_cursor = cljs.core.get.call(null,map__5033__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var ks = cljs.core.get.call(null,map__5033__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var map_flag = cljs.core.get.call(null,map__5033__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var key_edit_fn = cljs.core.get.call(null,map__5033__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); +var style = cljs.core.get.call(null,map__5033__$1,new cljs.core.Keyword(null,"style","style",-496642736)); +var default_add_value = cljs.core.get.call(null,map__5033__$1,new cljs.core.Keyword(null,"default-add-value","default-add-value",-1663874198),""); +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group btn-group-sm dropup",new cljs.core.Keyword(null,"style","style",-496642736),style], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-info",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"Add simple property",new cljs.core.Keyword(null,"on-click","on-click",1632826543),(cljs.core.truth_(map_flag)?((function (map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ return (function (){ cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,cljs.core.assoc,"",""); return key_edit_fn.call(null,titanoboa.designer.get_full_ks.call(null,step_cursor,cljs.core.conj.call(null,ks,""))); -});})(map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) -:((function (map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ +});})(map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) +:((function (map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ return (function (){ return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,cljs.core.conj,default_add_value); -});})(map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) -)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-playlist-plus","span.zmdi.zmdi-playlist-plus",162677647),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"14px",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"-3px"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-info dropdown-toggle",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"data-toggle","data-toggle",436966687),"dropdown",new cljs.core.Keyword(null,"aria-haspopup","aria-haspopup",-1220141412),"true",new cljs.core.Keyword(null,"aria-expanded","aria-expanded",-1360942393),"false"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"caret"], null)], null)], null),new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul","ul",-1349521403),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"dropdown-menu"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,ks,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"properties","properties",685819552)], null)))?"disabled":null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),titanoboa.designer.rem_prop.call(null,step_cursor,ks,null)], null),["Delete"].join('')], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li.divider","li.divider",1214212749)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(cljs.core.truth_(map_flag)?((function (map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ +});})(map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) +)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-playlist-plus","span.zmdi.zmdi-playlist-plus",162677647),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"14px",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"-3px"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-info dropdown-toggle",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"data-toggle","data-toggle",436966687),"dropdown",new cljs.core.Keyword(null,"aria-haspopup","aria-haspopup",-1220141412),"true",new cljs.core.Keyword(null,"aria-expanded","aria-expanded",-1360942393),"false"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"caret"], null)], null)], null),new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul","ul",-1349521403),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"dropdown-menu"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,ks,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"properties","properties",685819552)], null)))?"disabled":null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),titanoboa.designer.rem_prop.call(null,step_cursor,ks,null)], null),["Delete"].join('')], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li.divider","li.divider",1214212749)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(cljs.core.truth_(map_flag)?((function (map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ return (function (){ cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,cljs.core.assoc,"",new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [""], null)], null)); return key_edit_fn.call(null,titanoboa.designer.get_full_ks.call(null,step_cursor,cljs.core.conj.call(null,ks,""))); -});})(map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) -:((function (map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ +});})(map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) +:((function (map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ return (function (){ return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,cljs.core.conj,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [""], null)], null)); -});})(map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) -)], null),["Add matrix"].join('')], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(cljs.core.truth_(map_flag)?((function (map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ +});})(map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) +)], null),["Add matrix"].join('')], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(cljs.core.truth_(map_flag)?((function (map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ return (function (){ cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,cljs.core.assoc,"",new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [""], null)); return key_edit_fn.call(null,titanoboa.designer.get_full_ks.call(null,step_cursor,cljs.core.conj.call(null,ks,""))); -});})(map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) -:((function (map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ +});})(map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) +:((function (map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ return (function (){ return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,cljs.core.conj,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [""], null)); -});})(map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) -)], null),["Add vector"].join('')], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(cljs.core.truth_(map_flag)?((function (map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ +});})(map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) +)], null),["Add vector"].join('')], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(cljs.core.truth_(map_flag)?((function (map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ return (function (){ cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,cljs.core.assoc,"",linked.core.map.call(null)); return key_edit_fn.call(null,titanoboa.designer.get_full_ks.call(null,step_cursor,cljs.core.conj.call(null,ks,""))); -});})(map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) -:((function (map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ +});})(map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) +:((function (map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ return (function (){ return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,cljs.core.conj,linked.core.map.call(null)); -});})(map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) -)], null),"Add map"], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li.divider","li.divider",1214212749)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(cljs.core.truth_(map_flag)?((function (map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ +});})(map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) +)], null),"Add map"], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li.divider","li.divider",1214212749)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),(cljs.core.truth_(map_flag)?((function (map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ return (function (){ cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,cljs.core.assoc,"",""); return key_edit_fn.call(null,titanoboa.designer.get_full_ks.call(null,step_cursor,cljs.core.conj.call(null,ks,""))); -});})(map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) -:((function (map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ +});})(map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) +:((function (map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value){ return (function (){ return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,ks,cljs.core.conj,""); -});})(map__9501,map__9501__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) +});})(map__5033,map__5033__$1,prop,step_cursor,ks,map_flag,key_edit_fn,style,default_add_value)) )], null),"Add simple ",(cljs.core.truth_(map_flag)?"property":"item")], null)], null)], null)], null); }); titanoboa.designer.v_starts_with = (function titanoboa$designer$v_starts_with(v1,v2){ @@ -3041,22 +3048,22 @@ return false; return cljs.core._EQ_.call(null,v2,cljs.core.subvec.call(null,v1,(0),cljs.core.count.call(null,v2))); } }); -titanoboa.designer.render_1D_vect = (function titanoboa$designer$render_1D_vect(p__9503,recursive_fn){ -var map__9504 = p__9503; -var map__9504__$1 = ((((!((map__9504 == null)))?(((((map__9504.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9504.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9504):map__9504); -var highlight_fn = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); -var map_flag = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var ks = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var editing_ks = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -var highlighted_parens = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251)); -var step_cursor = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var key_edit_fn = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); -var cnt = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var prop = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); -var show_parens_QMARK_ = cljs.core.get.call(null,map__9504__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); +titanoboa.designer.render_1D_vect = (function titanoboa$designer$render_1D_vect(p__5035,recursive_fn){ +var map__5036 = p__5035; +var map__5036__$1 = ((((!((map__5036 == null)))?(((((map__5036.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5036.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5036):map__5036); +var highlight_fn = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); +var map_flag = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var ks = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var editing_ks = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +var highlighted_parens = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251)); +var step_cursor = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var key_edit_fn = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); +var cnt = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var prop = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var read_only_QMARK_ = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +var show_parens_QMARK_ = cljs.core.get.call(null,map__5036__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); var wr = titanoboa.designer.comp_width_ratio.call(null,prop,(24)); -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"form-group"].join('')], null),cljs.core.map_indexed.call(null,((function (wr,map__9504,map__9504__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"form-group"].join('')], null),cljs.core.map_indexed.call(null,((function (wr,map__5036,map__5036__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (i,n){ var first_QMARK_ = (function (){var and__3911__auto__ = cljs.core._EQ_.call(null,i,(0)); if(and__3911__auto__){ @@ -3097,50 +3104,50 @@ return last_QMARK_; })())?(1):(0) )); var ksi = cljs.core.conj.call(null,ks,i); -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ksi),"-wrapping-div"].join('')], null),(cljs.core.truth_(first_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ksi),"lpar1d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (first_QMARK_,last_QMARK_,reduction,ksi,wr,map__9504,map__9504__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ksi),"-wrapping-div"].join('')], null),(cljs.core.truth_(first_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ksi),"lpar1d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (first_QMARK_,last_QMARK_,reduction,ksi,wr,map__5036,map__5036__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ks); -});})(first_QMARK_,last_QMARK_,reduction,ksi,wr,map__9504,map__9504__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (first_QMARK_,last_QMARK_,reduction,ksi,wr,map__9504,map__9504__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(first_QMARK_,last_QMARK_,reduction,ksi,wr,map__5036,map__5036__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (first_QMARK_,last_QMARK_,reduction,ksi,wr,map__5036,map__5036__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(first_QMARK_,last_QMARK_,reduction,ksi,wr,map__9504,map__9504__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null)], null),(cljs.core.truth_(map_flag)?"{":"[")], null):null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i))].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),["col-sm-",cljs.core.str.cljs$core$IFn$_invoke$arity$1((wr.call(null,i) - reduction)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((n instanceof cljs.core.Keyword))?" control-label":null))].join(''),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ksi,highlighted_parens))?"beige":""),new cljs.core.Keyword(null,"min-height","min-height",398480837),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ksi,highlighted_parens))?"30px":"")], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [recursive_fn,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807),new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251),new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),new cljs.core.Keyword(null,"cnt","cnt",283978798),new cljs.core.Keyword(null,"prop","prop",-515168332),new cljs.core.Keyword(null,"read-only?","read-only?",-770285386),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)],[cljs.core.conj.call(null,ks,i),editing_ks,highlighted_parens,key_edit_fn,step_cursor,cljs.core.count.call(null,prop),n,read_only_QMARK_,show_parens_QMARK_,false,highlight_fn])], null)], null),(cljs.core.truth_(last_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i)),"ppar1d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (first_QMARK_,last_QMARK_,reduction,ksi,wr,map__9504,map__9504__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(first_QMARK_,last_QMARK_,reduction,ksi,wr,map__5036,map__5036__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null)], null),(cljs.core.truth_(map_flag)?"{":"[")], null):null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i))].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),["col-sm-",cljs.core.str.cljs$core$IFn$_invoke$arity$1((wr.call(null,i) - reduction)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((n instanceof cljs.core.Keyword))?" control-label":null))].join(''),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ksi,highlighted_parens))?"beige":""),new cljs.core.Keyword(null,"min-height","min-height",398480837),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ksi,highlighted_parens))?"30px":"")], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [recursive_fn,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807),new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251),new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),new cljs.core.Keyword(null,"cnt","cnt",283978798),new cljs.core.Keyword(null,"prop","prop",-515168332),new cljs.core.Keyword(null,"read-only?","read-only?",-770285386),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)],[cljs.core.conj.call(null,ks,i),editing_ks,highlighted_parens,key_edit_fn,step_cursor,cljs.core.count.call(null,prop),n,read_only_QMARK_,show_parens_QMARK_,false,highlight_fn])], null)], null),(cljs.core.truth_(last_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i)),"ppar1d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (first_QMARK_,last_QMARK_,reduction,ksi,wr,map__5036,map__5036__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ks); -});})(first_QMARK_,last_QMARK_,reduction,ksi,wr,map__9504,map__9504__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (first_QMARK_,last_QMARK_,reduction,ksi,wr,map__9504,map__9504__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(first_QMARK_,last_QMARK_,reduction,ksi,wr,map__5036,map__5036__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (first_QMARK_,last_QMARK_,reduction,ksi,wr,map__5036,map__5036__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(first_QMARK_,last_QMARK_,reduction,ksi,wr,map__9504,map__9504__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(first_QMARK_,last_QMARK_,reduction,ksi,wr,map__5036,map__5036__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null)], null),(cljs.core.truth_(map_flag)?"}":"]")], null):null)], null); -});})(wr,map__9504,map__9504__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(wr,map__5036,map__5036__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) ,prop)], null); }); -titanoboa.designer.render_multirow_vect = (function titanoboa$designer$render_multirow_vect(p__9506,recursive_fn,row_size){ -var map__9507 = p__9506; -var map__9507__$1 = ((((!((map__9507 == null)))?(((((map__9507.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9507.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9507):map__9507); -var highlight_fn = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); -var map_flag = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var ks = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var editing_ks = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -var vec_max_length = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"vec-max-length","vec-max-length",72309835)); -var highlighted_parens = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251)); -var step_cursor = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var key_edit_fn = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); -var cnt = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var prop = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); -var show_parens_QMARK_ = cljs.core.get.call(null,map__9507__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); +titanoboa.designer.render_multirow_vect = (function titanoboa$designer$render_multirow_vect(p__5038,recursive_fn,row_size){ +var map__5039 = p__5038; +var map__5039__$1 = ((((!((map__5039 == null)))?(((((map__5039.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5039.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5039):map__5039); +var highlight_fn = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); +var map_flag = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var ks = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var editing_ks = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +var vec_max_length = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"vec-max-length","vec-max-length",72309835)); +var highlighted_parens = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251)); +var step_cursor = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var key_edit_fn = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); +var cnt = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var prop = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var read_only_QMARK_ = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +var show_parens_QMARK_ = cljs.core.get.call(null,map__5039__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); var map_flag__$1 = false; var partitioned = cljs.core.partition_all.call(null,row_size,prop); -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"form-group"].join(''),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ks,highlighted_parens))?"beige":"")], null)], null),cljs.core.map_indexed.call(null,((function (map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"form-group"].join(''),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ks,highlighted_parens))?"beige":"")], null)], null),cljs.core.map_indexed.call(null,((function (map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (i1,m){ var m__$1 = cljs.core.vec.call(null,m); var col_count = (cljs.core.truth_(show_parens_QMARK_)?(23):(24)); var wr = ((map_flag__$1)?titanoboa.designer.width_ratio_map.call(null,m__$1,col_count):titanoboa.designer.comp_width_ratio.call(null,m__$1,col_count)); var ksi = cljs.core.conj.call(null,ks,i1); -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),cljs.core.str.cljs$core$IFn$_invoke$arity$1(i1),"form-group"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"form-group form-group-sm"], null),cljs.core.map_indexed.call(null,((function (m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),cljs.core.str.cljs$core$IFn$_invoke$arity$1(i1),"form-group"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"form-group form-group-sm"], null),cljs.core.map_indexed.call(null,((function (m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (i2,n){ var real_idx = ((i1 * row_size) + i2); var first_of_all_QMARK_ = (function (){var and__3911__auto__ = cljs.core._EQ_.call(null,i2,(0)); @@ -3166,65 +3173,65 @@ var first_in_vec_QMARK_ = false; var last_in_vec_QMARK_ = false; var reduction = ((((first_in_vec_QMARK_) && (last_in_vec_QMARK_)))?(2):((((first_in_vec_QMARK_) || (last_in_vec_QMARK_)))?(1):(0) )); -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2)),"-wrapping"].join('')], null),(cljs.core.truth_(first_of_all_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"left","left",-399115937),"0px",new cljs.core.Keyword(null,"float","float",-1732389368),"left",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2)),"-wrapping"].join('')], null),(cljs.core.truth_(first_of_all_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"left","left",-399115937),"0px",new cljs.core.Keyword(null,"float","float",-1732389368),"left",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ks); -});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks)].join('')], null),((map_flag__$1)?"{":"[")], null):null),((first_in_vec_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ksi),"lpar2d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(first_of_all_QMARK_)?"col-sm-1":"col-sm-1 col-sm-offset-1"),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"left","left",-399115937),"0px",new cljs.core.Keyword(null,"float","float",-1732389368),"left",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ksi,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks)].join('')], null),((map_flag__$1)?"{":"[")], null):null),((first_in_vec_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ksi),"lpar2d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(first_of_all_QMARK_)?"col-sm-1":"col-sm-1 col-sm-offset-1"),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"left","left",-399115937),"0px",new cljs.core.Keyword(null,"float","float",-1732389368),"left",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ksi,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ksi); -});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null)], null),((map_flag__$1)?"{":"[")], null):null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2))].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),["col-sm-",cljs.core.str.cljs$core$IFn$_invoke$arity$1((wr.call(null,i2) - reduction)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((((n instanceof cljs.core.Keyword)) || (((map_flag__$1) && (cljs.core._EQ_.call(null,i2,(0)))))))?" control-label":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(consec_map_offset_QMARK_)?" col-sm-offset-1":null))].join(''),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),((cljs.core._EQ_.call(null,editing_ks,titanoboa.designer.get_full_ks.call(null,step_cursor,cljs.core.conj.call(null,ks,m__$1.call(null,(0))))))?"0px":null),new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ksi,highlighted_parens))?"beige":""),new cljs.core.Keyword(null,"min-height","min-height",398480837),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ksi,highlighted_parens))?"30px":"")], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [recursive_fn,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807),new cljs.core.Keyword(null,"vec-max-length","vec-max-length",72309835),new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251),new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),new cljs.core.Keyword(null,"cnt","cnt",283978798),new cljs.core.Keyword(null,"prop","prop",-515168332),new cljs.core.Keyword(null,"read-only?","read-only?",-770285386),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)],[((map_flag__$1)?cljs.core.conj.call(null,ks,m__$1.call(null,(0))):cljs.core.conj.call(null,ks,real_idx)),editing_ks,vec_max_length,highlighted_parens,key_edit_fn,step_cursor,cljs.core.count.call(null,prop),n,read_only_QMARK_,show_parens_QMARK_,((map_flag__$1) && (cljs.core._EQ_.call(null,i2,(0)))),highlight_fn])], null)], null),((last_in_vec_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2)),"ppar2d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null)], null),((map_flag__$1)?"{":"[")], null):null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2))].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),["col-sm-",cljs.core.str.cljs$core$IFn$_invoke$arity$1((wr.call(null,i2) - reduction)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((((((n instanceof cljs.core.Keyword)) || (((map_flag__$1) && (cljs.core._EQ_.call(null,i2,(0)))))))?" control-label":null)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(consec_map_offset_QMARK_)?" col-sm-offset-1":null))].join(''),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),((cljs.core._EQ_.call(null,editing_ks,titanoboa.designer.get_full_ks.call(null,step_cursor,cljs.core.conj.call(null,ks,m__$1.call(null,(0))))))?"0px":null),new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ksi,highlighted_parens))?"beige":""),new cljs.core.Keyword(null,"min-height","min-height",398480837),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ksi,highlighted_parens))?"30px":"")], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [recursive_fn,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807),new cljs.core.Keyword(null,"vec-max-length","vec-max-length",72309835),new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251),new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),new cljs.core.Keyword(null,"cnt","cnt",283978798),new cljs.core.Keyword(null,"prop","prop",-515168332),new cljs.core.Keyword(null,"read-only?","read-only?",-770285386),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)],[((map_flag__$1)?cljs.core.conj.call(null,ks,m__$1.call(null,(0))):cljs.core.conj.call(null,ks,real_idx)),editing_ks,vec_max_length,highlighted_parens,key_edit_fn,step_cursor,cljs.core.count.call(null,prop),n,read_only_QMARK_,show_parens_QMARK_,((map_flag__$1) && (cljs.core._EQ_.call(null,i2,(0)))),highlight_fn])], null)], null),((last_in_vec_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2)),"ppar2d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ksi); -});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(real_idx,first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ksi,highlighted_parens))?"#9c27b0":"black")], null)], null),((map_flag__$1)?"}":"]")], null):null)], null); -});})(m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(m__$1,col_count,wr,ksi,map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) ,m__$1)], null); -});})(map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -,partitioned),(cljs.core.truth_(read_only_QMARK_)?null:new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.prop_add_button,new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"prop","prop",-515168332),prop,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_cursor,new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),map_flag__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),key_edit_fn], null)], null)),(cljs.core.truth_(show_parens_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +,partitioned),(cljs.core.truth_(read_only_QMARK_)?null:new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.prop_add_button,new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"prop","prop",-515168332),prop,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_cursor,new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),map_flag__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),key_edit_fn], null)], null)),(cljs.core.truth_(show_parens_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ks); -});})(map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(map_flag__$1,partitioned,map__9507,map__9507__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(map_flag__$1,partitioned,map__5039,map__5039__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null)], null),((map_flag__$1)?"}":"]")], null):null)], null); }); -titanoboa.designer.render_2D_vect = (function titanoboa$designer$render_2D_vect(p__9509,recursive_fn){ -var map__9510 = p__9509; -var map__9510__$1 = ((((!((map__9510 == null)))?(((((map__9510.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9510.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9510):map__9510); -var highlight_fn = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); -var map_flag = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var ks = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var editing_ks = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -var vec_max_length = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"vec-max-length","vec-max-length",72309835)); -var highlighted_parens = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251)); -var step_cursor = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var key_edit_fn = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); -var cnt = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var prop = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); -var show_parens_QMARK_ = cljs.core.get.call(null,map__9510__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"form-group"].join(''),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ks,highlighted_parens))?"beige":"")], null)], null),cljs.core.map_indexed.call(null,((function (map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +titanoboa.designer.render_2D_vect = (function titanoboa$designer$render_2D_vect(p__5041,recursive_fn){ +var map__5042 = p__5041; +var map__5042__$1 = ((((!((map__5042 == null)))?(((((map__5042.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5042.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5042):map__5042); +var highlight_fn = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); +var map_flag = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var ks = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var editing_ks = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +var vec_max_length = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"vec-max-length","vec-max-length",72309835)); +var highlighted_parens = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251)); +var step_cursor = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var key_edit_fn = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); +var cnt = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var prop = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var read_only_QMARK_ = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +var show_parens_QMARK_ = cljs.core.get.call(null,map__5042__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"form-group"].join(''),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ks,highlighted_parens))?"beige":"")], null)], null),cljs.core.map_indexed.call(null,((function (map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (i1,m){ var col_count = (cljs.core.truth_(show_parens_QMARK_)?(23):(24)); var wr = (cljs.core.truth_(map_flag)?titanoboa.designer.width_ratio_map.call(null,m,col_count):titanoboa.designer.comp_width_ratio.call(null,m,col_count)); var ksi = cljs.core.conj.call(null,ks,i1); -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),cljs.core.str.cljs$core$IFn$_invoke$arity$1(i1),"form-group"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"form-group form-group-sm"], null),cljs.core.map_indexed.call(null,((function (col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),cljs.core.str.cljs$core$IFn$_invoke$arity$1(i1),"form-group"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"form-group form-group-sm"], null),cljs.core.map_indexed.call(null,((function (col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (i2,n){ var first_of_all_QMARK_ = (function (){var and__3911__auto__ = cljs.core._EQ_.call(null,i2,(0)); if(and__3911__auto__){ @@ -3288,22 +3295,22 @@ return last_in_vec_QMARK_; } })())?(1):(0) )); -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2)),"-wrapping"].join('')], null),(cljs.core.truth_(first_of_all_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"left","left",-399115937),"0px",new cljs.core.Keyword(null,"float","float",-1732389368),"left",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2)),"-wrapping"].join('')], null),(cljs.core.truth_(first_of_all_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"left","left",-399115937),"0px",new cljs.core.Keyword(null,"float","float",-1732389368),"left",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ks); -});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks)].join('')], null),(cljs.core.truth_(map_flag)?"{":"[")], null):null),(cljs.core.truth_(first_in_vec_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ksi),"lpar2d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(first_of_all_QMARK_)?"col-sm-1":"col-sm-1 col-sm-offset-1"),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"left","left",-399115937),"0px",new cljs.core.Keyword(null,"float","float",-1732389368),"left",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ksi,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks)].join('')], null),(cljs.core.truth_(map_flag)?"{":"[")], null):null),(cljs.core.truth_(first_in_vec_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ksi),"lpar2d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(first_of_all_QMARK_)?"col-sm-1":"col-sm-1 col-sm-offset-1"),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"left","left",-399115937),"0px",new cljs.core.Keyword(null,"float","float",-1732389368),"left",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ksi,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ksi); -});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null)], null),(cljs.core.truth_(map_flag)?"{":"[")], null):null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2))].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),["col-sm-",cljs.core.str.cljs$core$IFn$_invoke$arity$1((wr.call(null,i2) - reduction)),cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_((function (){var or__3922__auto__ = (n instanceof cljs.core.Keyword); if(or__3922__auto__){ return or__3922__auto__; @@ -3321,82 +3328,82 @@ return cljs.core._EQ_.call(null,i2,(0)); } else { return and__3911__auto__; } -})(),highlight_fn])], null)], null),(cljs.core.truth_(last_in_vec_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2)),"ppar2d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +})(),highlight_fn])], null)], null),(cljs.core.truth_(last_in_vec_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.conj.call(null,ks,i1,i2)),"ppar2d"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ksi); -});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(first_of_all_QMARK_,consec_map_offset_QMARK_,first_in_vec_QMARK_,last_in_vec_QMARK_,reduction,col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ksi,highlighted_parens))?"#9c27b0":"black")], null)], null),(cljs.core.truth_(map_flag)?"}":"]")], null):null)], null); -});})(col_count,wr,ksi,map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(col_count,wr,ksi,map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) ,m)], null); -});})(map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -,prop),(cljs.core.truth_(read_only_QMARK_)?null:new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.prop_add_button,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"prop","prop",-515168332),prop,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_cursor,new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),map_flag,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),key_edit_fn,new cljs.core.Keyword(null,"default-add-value","default-add-value",-1663874198),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [""], null)], null)], null)),(cljs.core.truth_(show_parens_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +,prop),(cljs.core.truth_(read_only_QMARK_)?null:new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.prop_add_button,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"prop","prop",-515168332),prop,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_cursor,new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),map_flag,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),key_edit_fn,new cljs.core.Keyword(null,"default-add-value","default-add-value",-1663874198),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [""], null)], null)], null)),(cljs.core.truth_(show_parens_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ks); -});})(map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(map__9510,map__9510__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(map__5042,map__5042__$1,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null)], null),(cljs.core.truth_(map_flag)?"}":"]")], null):null)], null); }); -titanoboa.designer.render_nD_vect = (function titanoboa$designer$render_nD_vect(p__9512,recursive_fn){ -var map__9513 = p__9512; -var map__9513__$1 = ((((!((map__9513 == null)))?(((((map__9513.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9513.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9513):map__9513); -var highlight_fn = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); -var map_flag = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var ks = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var editing_ks = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -var highlighted_parens = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251)); -var step_cursor = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var key_edit_fn = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); -var cnt = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var prop = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); -var show_parens_QMARK_ = cljs.core.get.call(null,map__9513__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); -return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"form-group"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"form-group form-group-sm",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ks,highlighted_parens))?"beige":""),new cljs.core.Keyword(null,"padding","padding",1660304693),"5px"], null)], null),(cljs.core.truth_(show_parens_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"left","left",-399115937),"0px",new cljs.core.Keyword(null,"float","float",-1732389368),"left",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (map__9513,map__9513__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +titanoboa.designer.render_nD_vect = (function titanoboa$designer$render_nD_vect(p__5044,recursive_fn){ +var map__5045 = p__5044; +var map__5045__$1 = ((((!((map__5045 == null)))?(((((map__5045.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5045.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5045):map__5045); +var highlight_fn = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); +var map_flag = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var ks = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var editing_ks = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +var highlighted_parens = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251)); +var step_cursor = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var key_edit_fn = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); +var cnt = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var prop = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var read_only_QMARK_ = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +var show_parens_QMARK_ = cljs.core.get.call(null,map__5045__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); +return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"form-group"].join(''),new cljs.core.Keyword(null,"class","class",-2030961996),"form-group form-group-sm",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"background","background",-863952629),(cljs.core.truth_(titanoboa.designer.v_starts_with.call(null,ks,highlighted_parens))?"beige":""),new cljs.core.Keyword(null,"padding","padding",1660304693),"5px"], null)], null),(cljs.core.truth_(show_parens_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-1",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"left","left",-399115937),"0px",new cljs.core.Keyword(null,"float","float",-1732389368),"left",new cljs.core.Keyword(null,"padding-top","padding-top",1929675955),"5px",new cljs.core.Keyword(null,"padding-right","padding-right",-1250249681),"7px",new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null),new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (map__5045,map__5045__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ks); -});})(map__9513,map__9513__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (map__9513,map__9513__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(map__5045,map__5045__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (map__5045,map__5045__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(map__9513,map__9513__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks)].join('')], null),(cljs.core.truth_(map_flag)?"{":"[")], null):null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(show_parens_QMARK_)?"col-sm-23":"col-sm-24"),new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"top-lvl-div"].join('')], null),cljs.core.map_indexed.call(null,((function (map__9513,map__9513__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(map__5045,map__5045__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"title","title",636505583),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks)].join('')], null),(cljs.core.truth_(map_flag)?"{":"[")], null):null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(show_parens_QMARK_)?"col-sm-23":"col-sm-24"),new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"top-lvl-div"].join('')], null),cljs.core.map_indexed.call(null,((function (map__5045,map__5045__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (i,n){ var col_count = (cljs.core.truth_(show_parens_QMARK_)?(23):(24)); var ksi = cljs.core.conj.call(null,ks,i); return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [recursive_fn,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807),new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251),new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),new cljs.core.Keyword(null,"cnt","cnt",283978798),new cljs.core.Keyword(null,"prop","prop",-515168332),new cljs.core.Keyword(null,"read-only?","read-only?",-770285386),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)],[ksi,editing_ks,highlighted_parens,key_edit_fn,step_cursor,cljs.core.count.call(null,prop),n,read_only_QMARK_,show_parens_QMARK_,false,highlight_fn])], null); -});})(map__9513,map__9513__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -,prop)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-23",new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"footer-div"].join('')], null),(cljs.core.truth_(read_only_QMARK_)?null:new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.prop_add_button,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"5px"], null),new cljs.core.Keyword(null,"prop","prop",-515168332),prop,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_cursor,new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),map_flag,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),key_edit_fn,new cljs.core.Keyword(null,"default-add-value","default-add-value",-1663874198),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [""], null)], null)], null)),(cljs.core.truth_(show_parens_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (map__9513,map__9513__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(map__5045,map__5045__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +,prop)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"col-sm-23",new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(ks),"footer-div"].join('')], null),(cljs.core.truth_(read_only_QMARK_)?null:new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.prop_add_button,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"5px"], null),new cljs.core.Keyword(null,"prop","prop",-515168332),prop,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_cursor,new cljs.core.Keyword(null,"ks","ks",1900203942),ks,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313),map_flag,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436),key_edit_fn,new cljs.core.Keyword(null,"default-add-value","default-add-value",-1663874198),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [""], null)], null)], null)),(cljs.core.truth_(show_parens_QMARK_)?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"on-mouse-over","on-mouse-over",-858472552),(cljs.core.truth_(highlight_fn)?((function (map__5045,map__5045__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,ks); -});})(map__9513,map__9513__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) -:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (map__9513,map__9513__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +});})(map__5045,map__5045__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +:null),new cljs.core.Keyword(null,"on-mouse-out","on-mouse-out",643448647),(cljs.core.truth_(highlight_fn)?((function (map__5045,map__5045__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ return (function (){ return highlight_fn.call(null,null); -});})(map__9513,map__9513__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +});})(map__5045,map__5045__$1,highlight_fn,map_flag,ks,editing_ks,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) :null),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"7px",new cljs.core.Keyword(null,"color","color",1011675173),((cljs.core._EQ_.call(null,ks,highlighted_parens))?"#9c27b0":"black")], null)], null),(cljs.core.truth_(map_flag)?"}":"]")], null):null)], null)], null); }); -titanoboa.designer.render_properties = (function titanoboa$designer$render_properties(p__9516){ -var map__9517 = p__9516; -var map__9517__$1 = ((((!((map__9517 == null)))?(((((map__9517.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9517.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9517):map__9517); -var opts = map__9517__$1; -var highlight_fn = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); -var map_flag = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); -var ks = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); -var editing_ks = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); -var vec_max_length = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"vec-max-length","vec-max-length",72309835)); -var highlighted_parens = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251)); -var step_cursor = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); -var key_edit_fn = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); -var cnt = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); -var prop = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); -var read_only_QMARK_ = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); -var show_parens_QMARK_ = cljs.core.get.call(null,map__9517__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); +titanoboa.designer.render_properties = (function titanoboa$designer$render_properties(p__5048){ +var map__5049 = p__5048; +var map__5049__$1 = ((((!((map__5049 == null)))?(((((map__5049.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5049.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5049):map__5049); +var opts = map__5049__$1; +var highlight_fn = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"highlight-fn","highlight-fn",-1488767553)); +var map_flag = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"map-flag","map-flag",-587157313)); +var ks = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"ks","ks",1900203942)); +var editing_ks = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"editing-ks","editing-ks",356988807)); +var vec_max_length = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"vec-max-length","vec-max-length",72309835)); +var highlighted_parens = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"highlighted-parens","highlighted-parens",431614251)); +var step_cursor = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012)); +var key_edit_fn = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"key-edit-fn","key-edit-fn",675899436)); +var cnt = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"cnt","cnt",283978798)); +var prop = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"prop","prop",-515168332)); +var read_only_QMARK_ = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"read-only?","read-only?",-770285386)); +var show_parens_QMARK_ = cljs.core.get.call(null,map__5049__$1,new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360)); if(((cljs.core.coll_QMARK_.call(null,prop)) && (!((prop instanceof titanoboa.exp.Expression))))){ if(cljs.core.map_QMARK_.call(null,prop)){ @@ -3416,10 +3423,10 @@ return titanoboa.designer.render_2D_vect.call(null,opts,titanoboa.designer.rende } else { if(cljs.core.truth_((function (){var and__3911__auto__ = cljs.core.vector_QMARK_.call(null,prop); if(and__3911__auto__){ -return cljs.core.some.call(null,((function (and__3911__auto__,map__9517,map__9517__$1,opts,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ -return (function (p1__9515_SHARP_){ -return ((cljs.core.map_QMARK_.call(null,p1__9515_SHARP_)) || (cljs.core.sequential_QMARK_.call(null,p1__9515_SHARP_))); -});})(and__3911__auto__,map__9517,map__9517__$1,opts,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) +return cljs.core.some.call(null,((function (and__3911__auto__,map__5049,map__5049__$1,opts,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_){ +return (function (p1__5047_SHARP_){ +return ((cljs.core.map_QMARK_.call(null,p1__5047_SHARP_)) || (cljs.core.sequential_QMARK_.call(null,p1__5047_SHARP_))); +});})(and__3911__auto__,map__5049,map__5049__$1,opts,highlight_fn,map_flag,ks,editing_ks,vec_max_length,highlighted_parens,step_cursor,key_edit_fn,cnt,prop,read_only_QMARK_,show_parens_QMARK_)) ,prop); } else { return and__3911__auto__; @@ -3468,8 +3475,8 @@ return cljs.core.reset_BANG_.call(null,highlight_parens_atom,ks); ; var editing_key = reagent.core.atom.call(null,null); var key_edit_fn = ((function (highlight_parens_atom,highlight_parens_BANG_,editing_key){ -return (function (p1__9519_SHARP_){ -return cljs.core.reset_BANG_.call(null,editing_key,p1__9519_SHARP_); +return (function (p1__5051_SHARP_){ +return cljs.core.reset_BANG_.call(null,editing_key,p1__5051_SHARP_); });})(highlight_parens_atom,highlight_parens_BANG_,editing_key)) ; return ((function (highlight_parens_atom,highlight_parens_BANG_,editing_key,key_edit_fn){ @@ -3489,16 +3496,16 @@ return cljs.core.swap_BANG_.call(null,titanoboa.designer.show_parens_atom,cljs.c titanoboa.designer.new_props_panel_heading = (function titanoboa$designer$new_props_panel_heading(title,on_click_fn){ return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-heading"], null),title,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group",new cljs.core.Keyword(null,"data-toggle","data-toggle",436966687),"buttons",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"float","float",-1732389368),"right",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"bottom","bottom",-1550509018),"6px"], null),new cljs.core.Keyword(null,"on-click","on-click",1632826543),on_click_fn,new cljs.core.Keyword(null,"title","title",636505583),"clear changes"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-default.btn-ico","button.btn.btn-default.btn-ico",29493193),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b.zmdi.zmdi-refresh-alt","b.zmdi.zmdi-refresh-alt",1400895181),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"4px",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"16px"], null)], null)], null)], null)], null)], null); }); -titanoboa.designer.edit_job_panel = (function titanoboa$designer$edit_job_panel(p__9521){ -var map__9522 = p__9521; -var map__9522__$1 = ((((!((map__9522 == null)))?(((((map__9522.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9522.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9522):map__9522); -var app_state_atom = cljs.core.get.call(null,map__9522__$1,new cljs.core.Keyword(null,"app-state-atom","app-state-atom",511250812)); -var jd_cursor = cljs.core.get.call(null,map__9522__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); -var job_name = cljs.core.get.call(null,map__9522__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),["job-editor-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name)].join('')], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.form-group","div.form-group",-1721134770),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),"5px 5px 0px 5px"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"normal"], null)], null),"Description"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"textarea.form-control","textarea.form-control",-1690362789),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"rows","rows",850049680),"6",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"description","description",-1428560544).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,jd_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__9522,map__9522__$1,app_state_atom,jd_cursor,job_name){ -return (function (p1__9520_SHARP_){ -return cljs.core.swap_BANG_.call(null,jd_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"description","description",-1428560544),p1__9520_SHARP_.target.value); -});})(map__9522,map__9522__$1,app_state_atom,jd_cursor,job_name)) +titanoboa.designer.edit_job_panel = (function titanoboa$designer$edit_job_panel(p__5053){ +var map__5054 = p__5053; +var map__5054__$1 = ((((!((map__5054 == null)))?(((((map__5054.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5054.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5054):map__5054); +var app_state_atom = cljs.core.get.call(null,map__5054__$1,new cljs.core.Keyword(null,"app-state-atom","app-state-atom",511250812)); +var jd_cursor = cljs.core.get.call(null,map__5054__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); +var job_name = cljs.core.get.call(null,map__5054__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),["job-editor-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name)].join('')], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.form-group","div.form-group",-1721134770),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),"5px 5px 0px 5px"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"normal"], null)], null),"Description"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"textarea.form-control","textarea.form-control",-1690362789),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"rows","rows",850049680),"6",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"description","description",-1428560544).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,jd_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__5054,map__5054__$1,app_state_atom,jd_cursor,job_name){ +return (function (p1__5052_SHARP_){ +return cljs.core.swap_BANG_.call(null,jd_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"description","description",-1428560544),p1__5052_SHARP_.target.value); +});})(map__5054,map__5054__$1,app_state_atom,jd_cursor,job_name)) ], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default editor-field"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.properties_panel_heading,"Job Properties"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-body"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.properties_component,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"prop","prop",-515168332),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,jd_cursor)),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),jd_cursor,new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"properties","properties",685819552)], null),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),cljs.core.deref.call(null,titanoboa.designer.show_parens_atom)], null)], null)], null)], null)], null); }); titanoboa.designer.select_picker = (function titanoboa$designer$select_picker(props,children){ @@ -3508,15 +3515,15 @@ return el.selectpicker("val",new cljs.core.Keyword(null,"val","val",128701612).c }),new cljs.core.Keyword(null,"component-did-update","component-did-update",-1468549173),(function (this$){ var el = titanoboa.designer.jquery.call(null,reagent.core.dom_node.call(null,this$)); return el.selectpicker("refresh"); -}),new cljs.core.Keyword(null,"should-component-update","should-component-update",2040868163),(function (this$,p__9524,p__9525){ -var vec__9526 = p__9524; -var _ = cljs.core.nth.call(null,vec__9526,(0),null); -var prev_props = cljs.core.nth.call(null,vec__9526,(1),null); -var prev_more = cljs.core.nth.call(null,vec__9526,(2),null); -var vec__9529 = p__9525; -var ___$1 = cljs.core.nth.call(null,vec__9529,(0),null); -var new_props = cljs.core.nth.call(null,vec__9529,(1),null); -var new_more = cljs.core.nth.call(null,vec__9529,(2),null); +}),new cljs.core.Keyword(null,"should-component-update","should-component-update",2040868163),(function (this$,p__5056,p__5057){ +var vec__5058 = p__5056; +var _ = cljs.core.nth.call(null,vec__5058,(0),null); +var prev_props = cljs.core.nth.call(null,vec__5058,(1),null); +var prev_more = cljs.core.nth.call(null,vec__5058,(2),null); +var vec__5061 = p__5057; +var ___$1 = cljs.core.nth.call(null,vec__5061,(0),null); +var new_props = cljs.core.nth.call(null,vec__5061,(1),null); +var new_more = cljs.core.nth.call(null,vec__5061,(2),null); var el = titanoboa.designer.jquery.call(null,reagent.core.dom_node.call(null,this$)); cljs.core.println.call(null,"[",new cljs.core.Keyword(null,"key","key",-1516042587).cljs$core$IFn$_invoke$arity$1(props),"] value changed, new value is ",new cljs.core.Keyword(null,"val","val",128701612).cljs$core$IFn$_invoke$arity$1(new_props)," old was ",el.val()); @@ -3525,65 +3532,65 @@ return !(cljs.core._EQ_.call(null,el.val(),new cljs.core.Keyword(null,"val","val return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"select","select",1147833503),cljs.core.merge.call(null,props__$1,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control selectpicker",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"data-header","data-header",-407479365),new cljs.core.Keyword(null,"placeholder","placeholder",-104873083).cljs$core$IFn$_invoke$arity$1(props__$1),new cljs.core.Keyword(null,"data-show-tick","data-show-tick",2098977903),"false"], null)),children__$1], null); })], null)); }); -titanoboa.designer.load_step_type_modal = (function titanoboa$designer$load_step_type_modal(p__9533){ -var map__9534 = p__9533; -var map__9534__$1 = ((((!((map__9534 == null)))?(((((map__9534.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9534.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9534):map__9534); -var step_type_atom = cljs.core.get.call(null,map__9534__$1,new cljs.core.Keyword(null,"step-type-atom","step-type-atom",805567345)); -var on_merge = cljs.core.get.call(null,map__9534__$1,new cljs.core.Keyword(null,"on-merge","on-merge",2044365074)); -return reagent.core.create_class.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"reagent-render","reagent-render",-985383853),((function (map__9534,map__9534__$1,step_type_atom,on_merge){ -return (function (p__9536){ -var map__9537 = p__9536; -var map__9537__$1 = ((((!((map__9537 == null)))?(((((map__9537.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9537.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9537):map__9537); -var step_type_atom__$1 = cljs.core.get.call(null,map__9537__$1,new cljs.core.Keyword(null,"step-type-atom","step-type-atom",805567345)); +titanoboa.designer.load_step_type_modal = (function titanoboa$designer$load_step_type_modal(p__5065){ +var map__5066 = p__5065; +var map__5066__$1 = ((((!((map__5066 == null)))?(((((map__5066.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5066.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5066):map__5066); +var step_type_atom = cljs.core.get.call(null,map__5066__$1,new cljs.core.Keyword(null,"step-type-atom","step-type-atom",805567345)); +var on_merge = cljs.core.get.call(null,map__5066__$1,new cljs.core.Keyword(null,"on-merge","on-merge",2044365074)); +return reagent.core.create_class.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"reagent-render","reagent-render",-985383853),((function (map__5066,map__5066__$1,step_type_atom,on_merge){ +return (function (p__5068){ +var map__5069 = p__5068; +var map__5069__$1 = ((((!((map__5069 == null)))?(((((map__5069.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5069.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5069):map__5069); +var step_type_atom__$1 = cljs.core.get.call(null,map__5069__$1,new cljs.core.Keyword(null,"step-type-atom","step-type-atom",805567345)); var type_name = (((new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)) instanceof cljs.core.Keyword))?cljs.core.name.call(null,new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1))):null); -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-step-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"load-step-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"myModalLabel"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-step-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"top","top",-1856271961),"8%",new cljs.core.Keyword(null,"left","left",-399115937),"18%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-step-modal-content"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close","button.close",-1545560743),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"Merge properties from step type template ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),"2px 0px 0px 0px",new cljs.core.Keyword(null,"height","height",1025178622),"28px",new cljs.core.Keyword(null,"width","width",-384071477),"28px"], null),new cljs.core.Keyword(null,"src","src",-1651076051),(cljs.core.truth_(type_name)?["assets/svg/step-icons/",cljs.core.str.cljs$core$IFn$_invoke$arity$1(type_name),".svg"].join(''):null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),type_name], null)," ?"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-step-modal-body"], null),(cljs.core.truth_(new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.arrange-horizontally","div.arrange-horizontally",1762174154),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close.hover-blue","button.close.hover-blue",1797934973),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge){ +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-step-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"load-step-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"myModalLabel"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-step-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"top","top",-1856271961),"8%",new cljs.core.Keyword(null,"left","left",-399115937),"18%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-step-modal-content"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close","button.close",-1545560743),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"Merge properties from step type template ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),"2px 0px 0px 0px",new cljs.core.Keyword(null,"height","height",1025178622),"28px",new cljs.core.Keyword(null,"width","width",-384071477),"28px"], null),new cljs.core.Keyword(null,"src","src",-1651076051),(cljs.core.truth_(type_name)?["assets/svg/step-icons/",cljs.core.str.cljs$core$IFn$_invoke$arity$1(type_name),".svg"].join(''):null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),type_name], null)," ?"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"load-step-modal-body"], null),(cljs.core.truth_(new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.arrange-horizontally","div.arrange-horizontally",1762174154),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close.hover-blue","button.close.hover-blue",1797934973),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge){ return (function (){ return cljs.core.swap_BANG_.call(null,step_type_atom__$1,cljs.core.dissoc,new cljs.core.Keyword(null,"supertype","supertype",355302204)); -});})(type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge)) -,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"-13",new cljs.core.Keyword(null,"top","top",-1856271961),"5",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"26"], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-delete","span.zmdi.zmdi-delete",521126765)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"height","height",1025178622),"44px"], null)], null),"Supertype"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"data-live-search","data-live-search",-181231710),new cljs.core.Keyword(null,"key","key",-1516042587),new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"val","val",128701612),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"title","title",636505583),new cljs.core.Keyword(null,"id","id",-1388402092),new cljs.core.Keyword(null,"class","class",-2030961996),new cljs.core.Keyword(null,"on-change","on-change",-732046149)],[true,"load-step-type-supertype","Select Supertype",(((new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)) instanceof cljs.core.Keyword))?cljs.core.name.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1))):null),(((new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)) instanceof cljs.core.Keyword))?cljs.core.name.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1))):null),"text","Select Supertype","load-step-type-supertype","form-control",((function (type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge){ -return (function (p1__9532_SHARP_){ -return cljs.core.swap_BANG_.call(null,step_type_atom__$1,cljs.core.assoc,new cljs.core.Keyword(null,"supertype","supertype",355302204),cljs.core.keyword.call(null,p1__9532_SHARP_.target.value)); -});})(type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge)) -]),titanoboa.designer.select_options.call(null,cljs.core.map.call(null,((function (type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge){ +});})(type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge)) +,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"-13",new cljs.core.Keyword(null,"top","top",-1856271961),"5",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"26"], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-delete","span.zmdi.zmdi-delete",521126765)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"height","height",1025178622),"44px"], null)], null),"Supertype"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"data-live-search","data-live-search",-181231710),new cljs.core.Keyword(null,"key","key",-1516042587),new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"val","val",128701612),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"title","title",636505583),new cljs.core.Keyword(null,"id","id",-1388402092),new cljs.core.Keyword(null,"class","class",-2030961996),new cljs.core.Keyword(null,"on-change","on-change",-732046149)],[true,"load-step-type-supertype","Select Supertype",(((new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)) instanceof cljs.core.Keyword))?cljs.core.name.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1))):null),(((new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)) instanceof cljs.core.Keyword))?cljs.core.name.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1))):null),"text","Select Supertype","load-step-type-supertype","form-control",((function (type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge){ +return (function (p1__5064_SHARP_){ +return cljs.core.swap_BANG_.call(null,step_type_atom__$1,cljs.core.assoc,new cljs.core.Keyword(null,"supertype","supertype",355302204),cljs.core.keyword.call(null,p1__5064_SHARP_.target.value)); +});})(type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge)) +]),titanoboa.designer.select_options.call(null,cljs.core.map.call(null,((function (type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge){ return (function (n){ return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.name.call(null,n),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-content","data-content",-508111796),[" ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.name.call(null,n)),""].join('')], null)], null); -});})(type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge)) -,cljs.core.distinct.call(null,cljs.core.map.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204),cljs.core.deref.call(null,titanoboa.designer.step_types)))),"stepsupertype-opts")], null)], null)], null):null),(cljs.core.truth_(new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.arrange-horizontally","div.arrange-horizontally",1762174154),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close.hover-blue","button.close.hover-blue",1797934973),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge){ +});})(type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge)) +,cljs.core.distinct.call(null,cljs.core.map.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204),cljs.core.deref.call(null,titanoboa.designer.step_types)))),"stepsupertype-opts")], null)], null)], null):null),(cljs.core.truth_(new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.arrange-horizontally","div.arrange-horizontally",1762174154),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close.hover-blue","button.close.hover-blue",1797934973),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge){ return (function (){ return cljs.core.swap_BANG_.call(null,step_type_atom__$1,cljs.core.dissoc,new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195)); -});})(type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge)) -,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"-13",new cljs.core.Keyword(null,"top","top",-1856271961),"3",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"26",new cljs.core.Keyword(null,"overflow","overflow",2058931880),"hidden"], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-delete","span.zmdi.zmdi-delete",521126765)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label"], null),"Workload fn"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.code_mirror,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"key","key",-1516042587),"load-step-type-modal-fn-field",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)),new cljs.core.Keyword(null,"value-atom","value-atom",-887321133),reagent.core.cursor.call(null,step_type_atom__$1,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195)], null)),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"height","height",1025178622),"auto",new cljs.core.Keyword(null,"border","border",1444987323),"1px solid #ccc",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"14px"], null),new cljs.core.Keyword(null,"js-cm-opts","js-cm-opts",1231776640),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"lineNumbers","lineNumbers",1374890941),true,new cljs.core.Keyword(null,"autoClearEmptyLines","autoClearEmptyLines",62836823),false,new cljs.core.Keyword(null,"theme","theme",-1247880880),"mdn-like"], null),new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091),true,new cljs.core.Keyword(null,"insta-repl?","insta-repl?",-848576250),true], null)], null)], null)], null):null),(cljs.core.truth_(new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close.hover-blue","button.close.hover-blue",1797934973),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge){ +});})(type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge)) +,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"-13",new cljs.core.Keyword(null,"top","top",-1856271961),"3",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"26",new cljs.core.Keyword(null,"overflow","overflow",2058931880),"hidden"], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-delete","span.zmdi.zmdi-delete",521126765)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label"], null),"Workload fn"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.code_mirror,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"key","key",-1516042587),"load-step-type-modal-fn-field",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)),new cljs.core.Keyword(null,"value-atom","value-atom",-887321133),reagent.core.cursor.call(null,step_type_atom__$1,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195)], null)),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"height","height",1025178622),"auto",new cljs.core.Keyword(null,"border","border",1444987323),"1px solid #ccc",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"14px"], null),new cljs.core.Keyword(null,"js-cm-opts","js-cm-opts",1231776640),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"lineNumbers","lineNumbers",1374890941),true,new cljs.core.Keyword(null,"autoClearEmptyLines","autoClearEmptyLines",62836823),false,new cljs.core.Keyword(null,"theme","theme",-1247880880),"mdn-like"], null),new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091),true,new cljs.core.Keyword(null,"insta-repl?","insta-repl?",-848576250),true], null)], null)], null)], null):null),(cljs.core.truth_(new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close.hover-blue","button.close.hover-blue",1797934973),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge){ return (function (){ return cljs.core.swap_BANG_.call(null,step_type_atom__$1,cljs.core.dissoc,new cljs.core.Keyword(null,"properties","properties",685819552)); -});})(type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge)) -,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"-13",new cljs.core.Keyword(null,"top","top",-1856271961),"3",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"26",new cljs.core.Keyword(null,"overflow","overflow",2058931880),"hidden"], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-delete","span.zmdi.zmdi-delete",521126765)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"20px"], null),new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.new_props_panel_heading,"Step Properties",((function (type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge){ +});})(type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge)) +,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"-13",new cljs.core.Keyword(null,"top","top",-1856271961),"3",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"26",new cljs.core.Keyword(null,"overflow","overflow",2058931880),"hidden"], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-delete","span.zmdi.zmdi-delete",521126765)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"20px"], null),new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.new_props_panel_heading,"Step Properties",((function (type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge){ return (function (){ -return cljs.core.swap_BANG_.call(null,step_type_atom__$1,cljs.core.assoc,new cljs.core.Keyword(null,"properties","properties",685819552),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,cljs.core.filter.call(null,((function (type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge){ +return cljs.core.swap_BANG_.call(null,step_type_atom__$1,cljs.core.assoc,new cljs.core.Keyword(null,"properties","properties",685819552),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(cljs.core.first.call(null,cljs.core.filter.call(null,((function (type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge){ return (function (i){ return cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_type_atom__$1)),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(i)); -});})(type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge)) +});})(type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge)) ,cljs.core.deref.call(null,titanoboa.designer.step_types))))); -});})(type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge)) -], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-body"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.properties_component,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"prop","prop",-515168332),cljs.core.get_in.call(null,cljs.core.deref.call(null,step_type_atom__$1),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"properties","properties",685819552)], null)),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_type_atom__$1,new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"properties","properties",685819552)], null),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),cljs.core.deref.call(null,titanoboa.designer.show_parens_atom)], null)], null)], null)], null)], null):null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-footer","div.modal-footer",1309572241),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-danger.btn-default.pull-left","button.btn.btn-danger.btn-default.pull-left",-2125044425),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991)," Cancel"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-primary","button.btn.btn-primary",510358192),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge){ +});})(type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge)) +], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-body"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.properties_component,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"prop","prop",-515168332),cljs.core.get_in.call(null,cljs.core.deref.call(null,step_type_atom__$1),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"properties","properties",685819552)], null)),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_type_atom__$1,new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"properties","properties",685819552)], null),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),cljs.core.deref.call(null,titanoboa.designer.show_parens_atom)], null)], null)], null)], null)], null):null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-footer","div.modal-footer",1309572241),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-danger.btn-default.pull-left","button.btn.btn-danger.btn-default.pull-left",-2125044425),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991)," Cancel"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-primary","button.btn.btn-primary",510358192),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge){ return (function (e){ on_merge.call(null); return titanoboa.designer.jquery.call(null,"#load-step-modal").modal("hide"); -});})(type_name,map__9537,map__9537__$1,step_type_atom__$1,map__9534,map__9534__$1,step_type_atom,on_merge)) +});})(type_name,map__5069,map__5069__$1,step_type_atom__$1,map__5066,map__5066__$1,step_type_atom,on_merge)) ], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-import","span.glyphicon.glyphicon-import",617476535)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470)," Merge"], null)], null)], null)], null)], null)], null); -});})(map__9534,map__9534__$1,step_type_atom,on_merge)) -,new cljs.core.Keyword(null,"component-did-mount","component-did-mount",-1126910518),((function (map__9534,map__9534__$1,step_type_atom,on_merge){ +});})(map__5066,map__5066__$1,step_type_atom,on_merge)) +,new cljs.core.Keyword(null,"component-did-mount","component-did-mount",-1126910518),((function (map__5066,map__5066__$1,step_type_atom,on_merge){ return (function (this$){ titanoboa.designer.jquery.call(null,"#load-step-modal-content").resizable(cljs.core.clj__GT_js.call(null,new cljs.core.PersistentArrayMap(null, 1, ["alsoResize","#load-step-modal-dialog"], null))); titanoboa.designer.jquery.call(null,"#load-step-modal-dialog").draggable(cljs.core.clj__GT_js.call(null,new cljs.core.PersistentArrayMap(null, 1, ["handle",".modal-header"], null))); -return titanoboa.designer.jquery.call(null,"#load-step-modal").on("hidden.bs.modal",((function (map__9534,map__9534__$1,step_type_atom,on_merge){ +return titanoboa.designer.jquery.call(null,"#load-step-modal").on("hidden.bs.modal",((function (map__5066,map__5066__$1,step_type_atom,on_merge){ return (function (e){ return cljs.core.reset_BANG_.call(null,step_type_atom,null); -});})(map__9534,map__9534__$1,step_type_atom,on_merge)) +});})(map__5066,map__5066__$1,step_type_atom,on_merge)) ); -});})(map__9534,map__9534__$1,step_type_atom,on_merge)) +});})(map__5066,map__5066__$1,step_type_atom,on_merge)) ], null)); }); titanoboa.designer.looks_like_java = (function titanoboa$designer$looks_like_java(code){ @@ -3593,17 +3600,17 @@ return true; return null; } }); -titanoboa.designer.edit_step_panel = (function titanoboa$designer$edit_step_panel(p__9546){ -var map__9547 = p__9546; -var map__9547__$1 = ((((!((map__9547 == null)))?(((((map__9547.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9547.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9547):map__9547); -var app_state_atom = cljs.core.get.call(null,map__9547__$1,new cljs.core.Keyword(null,"app-state-atom","app-state-atom",511250812)); -var graph_cursor = cljs.core.get.call(null,map__9547__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); -var jd_cursor = cljs.core.get.call(null,map__9547__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); -var job_name = cljs.core.get.call(null,map__9547__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); -var step_id = cljs.core.get.call(null,map__9547__$1,new cljs.core.Keyword(null,"step-id","step-id",712954044)); +titanoboa.designer.edit_step_panel = (function titanoboa$designer$edit_step_panel(p__5078){ +var map__5079 = p__5078; +var map__5079__$1 = ((((!((map__5079 == null)))?(((((map__5079.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5079.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5079):map__5079); +var app_state_atom = cljs.core.get.call(null,map__5079__$1,new cljs.core.Keyword(null,"app-state-atom","app-state-atom",511250812)); +var graph_cursor = cljs.core.get.call(null,map__5079__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +var jd_cursor = cljs.core.get.call(null,map__5079__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); +var job_name = cljs.core.get.call(null,map__5079__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); +var step_id = cljs.core.get.call(null,map__5079__$1,new cljs.core.Keyword(null,"step-id","step-id",712954044)); var step_cursor = titanoboa.designer.get_step_cursor.call(null,app_state_atom,job_name,step_id); var _ = cljs.core.println.call(null,"re-rendering edit-step-panel"); -var ___$1 = cljs.core.add_watch.call(null,step_cursor,new cljs.core.Keyword(null,"edit","edit",-1641834166),((function (step_cursor,_,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +var ___$1 = cljs.core.add_watch.call(null,step_cursor,new cljs.core.Keyword(null,"edit","edit",-1641834166),((function (step_cursor,_,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (k,r,os,ns){ if(cljs.core.truth_(ns)){ if(cljs.core.truth_((function (){var or__3922__auto__ = (function (){var and__3911__auto__ = cljs.core.not_EQ_.call(null,new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(os),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(ns)); @@ -3642,165 +3649,165 @@ return null; } else { return null; } -});})(step_cursor,_,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +});})(step_cursor,_,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) ); -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name),cljs.core.str.cljs$core$IFn$_invoke$arity$1(step_id)].join('')], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"display","display",242065432),"flex",new cljs.core.Keyword(null,"flex-direction","flex-direction",364609438),"row",new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"5px"], null)], null),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"width","width",-384071477),"51%"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(titanoboa.designer.check_unique_step_name.call(null,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor))))?"input-group editor-field":"input-group editor-field has-error")], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label"], null),"Name"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ -return (function (p1__9539_SHARP_){ -return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"name","name",1843675177),p1__9539_SHARP_.target.value); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Step Name"], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"height","height",1025178622),"44px"], null)], null),"Supertype"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),cljs.core.name.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor))),new cljs.core.Keyword(null,"val","val",128701612),cljs.core.name.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor))),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ -return (function (p1__9540_SHARP_){ -return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"supertype","supertype",355302204),cljs.core.keyword.call(null,p1__9540_SHARP_.target.value)); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -,new cljs.core.Keyword(null,"data-live-search","data-live-search",-181231710),true,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Select Supertype",new cljs.core.Keyword(null,"title","title",636505583),"Select Supertype"], null),titanoboa.designer.select_options.call(null,cljs.core.map.call(null,((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"key","key",-1516042587),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name),cljs.core.str.cljs$core$IFn$_invoke$arity$1(step_id)].join('')], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"display","display",242065432),"flex",new cljs.core.Keyword(null,"flex-direction","flex-direction",364609438),"row",new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"5px"], null)], null),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"width","width",-384071477),"51%"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(titanoboa.designer.check_unique_step_name.call(null,new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor))))?"input-group editor-field":"input-group editor-field has-error")], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label"], null),"Name"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return (function (p1__5071_SHARP_){ +return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"name","name",1843675177),p1__5071_SHARP_.target.value); +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Step Name"], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"height","height",1025178622),"44px"], null)], null),"Supertype"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"value","value",305978217),cljs.core.name.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor))),new cljs.core.Keyword(null,"val","val",128701612),cljs.core.name.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor))),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return (function (p1__5072_SHARP_){ +return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"supertype","supertype",355302204),cljs.core.keyword.call(null,p1__5072_SHARP_.target.value)); +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +,new cljs.core.Keyword(null,"data-live-search","data-live-search",-181231710),true,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Select Supertype",new cljs.core.Keyword(null,"title","title",636505583),"Select Supertype"], null),titanoboa.designer.select_options.call(null,cljs.core.map.call(null,((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (n){ return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.name.call(null,n),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-content","data-content",-508111796),[" ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.name.call(null,n)),""].join('')], null)], null); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) ,cljs.core.set.call(null,cljs.core.map.call(null,new cljs.core.Keyword(null,"supertype","supertype",355302204),cljs.core.deref.call(null,titanoboa.designer.step_types)))),"stepsupertype-options")], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"height","height",1025178622),"44px"], null)], null),"Type"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"text",new cljs.core.Keyword(null,"val","val",128701612),cljs.core.name.call(null,(function (){var or__3922__auto__ = new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)); if(cljs.core.truth_(or__3922__auto__)){ return or__3922__auto__; } else { return ""; } -})()),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ -return (function (p1__9541_SHARP_){ -return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"type","type",1174270348),cljs.core.keyword.call(null,p1__9541_SHARP_.target.value)).call(null,cljs.core.reset_BANG_.call(null,titanoboa.designer.loaded_step_type,cljs.core.first.call(null,cljs.core.filter.call(null,((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +})()),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return (function (p1__5073_SHARP_){ +return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"type","type",1174270348),cljs.core.keyword.call(null,p1__5073_SHARP_.target.value)).call(null,cljs.core.reset_BANG_.call(null,titanoboa.designer.loaded_step_type,cljs.core.first.call(null,cljs.core.filter.call(null,((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (i){ -return cljs.core._EQ_.call(null,cljs.core.keyword.call(null,p1__9541_SHARP_.target.value),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(i)); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +return cljs.core._EQ_.call(null,cljs.core.keyword.call(null,p1__5073_SHARP_.target.value),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(i)); +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) ,cljs.core.deref.call(null,titanoboa.designer.step_types)))),titanoboa.designer.jquery.call(null,"#load-step-modal").modal()); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -,new cljs.core.Keyword(null,"data-live-search","data-live-search",-181231710),true,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Select Type",new cljs.core.Keyword(null,"title","title",636505583),"Select Type"], null),titanoboa.designer.select_options.call(null,cljs.core.map.call(null,((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ -return (function (p__9549){ -var vec__9550 = p__9549; -var s = cljs.core.nth.call(null,vec__9550,(0),null); -var t = cljs.core.nth.call(null,vec__9550,(1),null); +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +,new cljs.core.Keyword(null,"data-live-search","data-live-search",-181231710),true,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Select Type",new cljs.core.Keyword(null,"title","title",636505583),"Select Type"], null),titanoboa.designer.select_options.call(null,cljs.core.map.call(null,((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return (function (p__5081){ +var vec__5082 = p__5081; +var s = cljs.core.nth.call(null,vec__5082,(0),null); +var t = cljs.core.nth.call(null,vec__5082,(1),null); return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.name.call(null,t),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-content","data-content",-508111796),[" ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.name.call(null,t))," ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.name.call(null,s))," "].join('')], null)], null); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -,cljs.core.map.call(null,((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +,cljs.core.map.call(null,((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (i){ return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"supertype","supertype",355302204).cljs$core$IFn$_invoke$arity$1(i),new cljs.core.Keyword(null,"type","type",1174270348).cljs$core$IFn$_invoke$arity$1(i)], null); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -,cljs.core.deref.call(null,titanoboa.designer.step_types))),"steptype-options")], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.load_step_type_modal,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"step-type-atom","step-type-atom",805567345),titanoboa.designer.loaded_step_type,new cljs.core.Keyword(null,"on-merge","on-merge",2044365074),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +,cljs.core.deref.call(null,titanoboa.designer.step_types))),"steptype-options")], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.load_step_type_modal,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"step-type-atom","step-type-atom",805567345),titanoboa.designer.loaded_step_type,new cljs.core.Keyword(null,"on-merge","on-merge",2044365074),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (){ -return cljs.core.swap_BANG_.call(null,step_cursor,((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ -return (function (p1__9542_SHARP_){ -return cljs.core.merge_with.call(null,((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return cljs.core.swap_BANG_.call(null,step_cursor,((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return (function (p1__5074_SHARP_){ +return cljs.core.merge_with.call(null,((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (val_in_result,val_in_latter){ if(((cljs.core.map_QMARK_.call(null,val_in_result)) && (cljs.core.map_QMARK_.call(null,val_in_latter)))){ return cljs.core.merge.call(null,val_in_result,val_in_latter); } else { return val_in_latter; } -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -,p1__9542_SHARP_,cljs.core.deref.call(null,titanoboa.designer.loaded_step_type)); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +,p1__5074_SHARP_,cljs.core.deref.call(null,titanoboa.designer.loaded_step_type)); +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) ); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"type","type",1174270348),"checkbox",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"type","type",1174270348),"checkbox",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (){ return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update,new cljs.core.Keyword(null,"retry-on-error?","retry-on-error?",1482901351),cljs.core.not); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -,new cljs.core.Keyword(null,"checked","checked",-50955819),new cljs.core.Keyword(null,"retry-on-error?","retry-on-error?",1482901351).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor))], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"position","position",-2011731912),new cljs.core.Keyword(null,"relative","relative",22796862),new cljs.core.Keyword(null,"top","top",-1856271961),"-2px"], null)], null)," Retries on error"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"number",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"max-retries","max-retries",-1933762121).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ -return (function (p1__9543_SHARP_){ -if((((titanoboa.designer.eval_property.call(null,p1__9543_SHARP_.target.value) > (0))) || ((titanoboa.designer.eval_property.call(null,p1__9543_SHARP_.target.value) === (0))))){ -return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"max-retries","max-retries",-1933762121),titanoboa.designer.eval_property.call(null,p1__9543_SHARP_.target.value)); +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +,new cljs.core.Keyword(null,"checked","checked",-50955819),new cljs.core.Keyword(null,"retry-on-error?","retry-on-error?",1482901351).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor))], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"position","position",-2011731912),new cljs.core.Keyword(null,"relative","relative",22796862),new cljs.core.Keyword(null,"top","top",-1856271961),"-2px"], null)], null)," Retries on error"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-control",new cljs.core.Keyword(null,"type","type",1174270348),"number",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"max-retries","max-retries",-1933762121).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return (function (p1__5075_SHARP_){ +if((((titanoboa.designer.eval_property.call(null,p1__5075_SHARP_.target.value) > (0))) || ((titanoboa.designer.eval_property.call(null,p1__5075_SHARP_.target.value) === (0))))){ +return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"max-retries","max-retries",-1933762121),titanoboa.designer.eval_property.call(null,p1__5075_SHARP_.target.value)); } else { return null; } -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"0",new cljs.core.Keyword(null,"disabled","disabled",-1529784218),cljs.core.not.call(null,new cljs.core.Keyword(null,"retry-on-error?","retry-on-error?",1482901351).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)))], null)], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.form-group","div.form-group",-1721134770),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"5px",new cljs.core.Keyword(null,"margin-bottom","margin-bottom",388334941),"0px",new cljs.core.Keyword(null,"width","width",-384071477),"45%"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"normal"], null)], null),"Description"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"textarea.form-control","textarea.form-control",-1690362789),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"rows","rows",850049680),"6",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"description","description",-1428560544).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ -return (function (p1__9544_SHARP_){ -return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"description","description",-1428560544),p1__9544_SHARP_.target.value); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -], null)], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative"], null)], null),"Workload fn",((cljs.core._EQ_.call(null,"java",cljs.core.get_in.call(null,cljs.core.deref.call(null,step_cursor),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195),new cljs.core.Keyword(null,"type","type",1174270348)], null))))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"title","title",636505583),"java lambda",new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/java.svg",new cljs.core.Keyword(null,"width","width",-384071477),"52px",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"right","right",-452581833),"-44px",new cljs.core.Keyword(null,"top","top",-1856271961),"-11px",new cljs.core.Keyword(null,"z-index","z-index",1892827090),"800"], null)], null)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"title","title",636505583),"clojure fn",new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/clojure.svg",new cljs.core.Keyword(null,"width","width",-384071477),"19px",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"right","right",-452581833),"-27px",new cljs.core.Keyword(null,"top","top",-1856271961),"4px",new cljs.core.Keyword(null,"z-index","z-index",1892827090),"800"], null)], null)], null))], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.code_mirror,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"value-atom","value-atom",-887321133),reagent.core.cursor.call(null,step_cursor,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195)], null)),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"height","height",1025178622),"auto",new cljs.core.Keyword(null,"border","border",1444987323),"1px solid #ccc",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"14px"], null),new cljs.core.Keyword(null,"js-cm-opts","js-cm-opts",1231776640),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"lineNumbers","lineNumbers",1374890941),true,new cljs.core.Keyword(null,"autoClearEmptyLines","autoClearEmptyLines",62836823),false,new cljs.core.Keyword(null,"theme","theme",-1247880880),"mdn-like"], null),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"0",new cljs.core.Keyword(null,"disabled","disabled",-1529784218),cljs.core.not.call(null,new cljs.core.Keyword(null,"retry-on-error?","retry-on-error?",1482901351).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)))], null)], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.form-group","div.form-group",-1721134770),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"5px",new cljs.core.Keyword(null,"margin-bottom","margin-bottom",388334941),"0px",new cljs.core.Keyword(null,"width","width",-384071477),"45%"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"normal"], null)], null),"Description"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"textarea.form-control","textarea.form-control",-1690362789),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"rows","rows",850049680),"6",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"description","description",-1428560544).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return (function (p1__5076_SHARP_){ +return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"description","description",-1428560544),p1__5076_SHARP_.target.value); +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +], null)], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group editor-field"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"input-group-addon editor-label",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative"], null)], null),"Workload fn",((cljs.core._EQ_.call(null,"java",cljs.core.get_in.call(null,cljs.core.deref.call(null,step_cursor),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195),new cljs.core.Keyword(null,"type","type",1174270348)], null))))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"title","title",636505583),"java lambda",new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/java.svg",new cljs.core.Keyword(null,"width","width",-384071477),"52px",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"right","right",-452581833),"-44px",new cljs.core.Keyword(null,"top","top",-1856271961),"-11px",new cljs.core.Keyword(null,"z-index","z-index",1892827090),"800"], null)], null)], null):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"title","title",636505583),"clojure fn",new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/clojure.svg",new cljs.core.Keyword(null,"width","width",-384071477),"19px",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"right","right",-452581833),"-27px",new cljs.core.Keyword(null,"top","top",-1856271961),"4px",new cljs.core.Keyword(null,"z-index","z-index",1892827090),"800"], null)], null)], null))], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.code_mirror,new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"value-atom","value-atom",-887321133),reagent.core.cursor.call(null,step_cursor,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195)], null)),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"height","height",1025178622),"auto",new cljs.core.Keyword(null,"border","border",1444987323),"1px solid #ccc",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"14px"], null),new cljs.core.Keyword(null,"js-cm-opts","js-cm-opts",1231776640),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"lineNumbers","lineNumbers",1374890941),true,new cljs.core.Keyword(null,"autoClearEmptyLines","autoClearEmptyLines",62836823),false,new cljs.core.Keyword(null,"theme","theme",-1247880880),"mdn-like"], null),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (new_val,old){ window.clearTimeout(cljs.core.deref.call(null,titanoboa.designer.syntax_check_timeout)); -return cljs.core.reset_BANG_.call(null,titanoboa.designer.syntax_check_timeout,window.setTimeout(((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return cljs.core.reset_BANG_.call(null,titanoboa.designer.syntax_check_timeout,window.setTimeout(((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (){ -return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195),new cljs.core.Keyword(null,"type","type",1174270348)], null),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195),new cljs.core.Keyword(null,"type","type",1174270348)], null),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (___$2){ if(cljs.core.truth_(titanoboa.designer.looks_like_java.call(null,new cljs.core.Keyword(null,"value","value",305978217).cljs$core$IFn$_invoke$arity$1(new_val)))){ return "java"; } else { return "clojure"; } -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) ); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) ,(500))); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -,new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091),true,new cljs.core.Keyword(null,"insta-repl?","insta-repl?",-848576250),true], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default editor-field",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"10px"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-heading"], null),"Next Steps",new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group",new cljs.core.Keyword(null,"data-toggle","data-toggle",436966687),"buttons",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"float","float",-1732389368),"right",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"bottom","bottom",-1550509018),"7px"], null),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +,new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091),true,new cljs.core.Keyword(null,"insta-repl?","insta-repl?",-848576250),true], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default editor-field",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"10px"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-heading"], null),"Next Steps",new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group",new cljs.core.Keyword(null,"data-toggle","data-toggle",436966687),"buttons",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"float","float",-1732389368),"right",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"bottom","bottom",-1550509018),"7px"], null),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (){ return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update,new cljs.core.Keyword(null,"allow-parallel?","allow-parallel?",-139374809),cljs.core.not); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -,new cljs.core.Keyword(null,"title","title",636505583),"allow parallel execution"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(new cljs.core.Keyword(null,"allow-parallel?","allow-parallel?",-139374809).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)))?"btn btn-secondary active":"btn btn-secondary")], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),"checkbox"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"src","src",-1651076051),(cljs.core.truth_(new cljs.core.Keyword(null,"allow-parallel?","allow-parallel?",-139374809).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)))?"assets/svg/parallel.svg":"assets/svg/parallel-disabled.svg"),new cljs.core.Keyword(null,"height","height",1025178622),(20)], null)], null)], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"table","table",-564943036),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"table table-hover"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"thead","thead",-291875296),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Step"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Condition"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Action"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tbody","tbody",-80678300),cljs.core.doall.call(null,cljs.core.map_indexed.call(null,((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +,new cljs.core.Keyword(null,"title","title",636505583),"allow parallel execution"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(new cljs.core.Keyword(null,"allow-parallel?","allow-parallel?",-139374809).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)))?"btn btn-secondary active":"btn btn-secondary")], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"type","type",1174270348),"checkbox"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"src","src",-1651076051),(cljs.core.truth_(new cljs.core.Keyword(null,"allow-parallel?","allow-parallel?",-139374809).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)))?"assets/svg/parallel.svg":"assets/svg/parallel-disabled.svg"),new cljs.core.Keyword(null,"height","height",1025178622),(20)], null)], null)], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"table","table",-564943036),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"table table-hover"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"thead","thead",-291875296),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Step"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Condition"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Action"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tbody","tbody",-80678300),cljs.core.doall.call(null,cljs.core.map_indexed.call(null,((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (i,s){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),titanoboa.designer.get_step_name.call(null,job_name,cljs.core.second.call(null,s))], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),cljs.core.first.call(null,s)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 11, 5, cljs.core.PersistentVector.EMPTY_NODE, [re_com.core.md_icon_button,new cljs.core.Keyword(null,"md-icon-name","md-icon-name",681785863),"zmdi zmdi-delete",new cljs.core.Keyword(null,"tooltip","tooltip",-1809677058),"Delete",new cljs.core.Keyword(null,"tooltip-position","tooltip-position",936197013),new cljs.core.Keyword(null,"right-center","right-center",2147253074),new cljs.core.Keyword(null,"attr","attr",-604132353),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-container","data-container",1473653353),"body"], null),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),titanoboa.designer.get_step_name.call(null,job_name,cljs.core.second.call(null,s))], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),cljs.core.first.call(null,s)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.PersistentVector(null, 11, 5, cljs.core.PersistentVector.EMPTY_NODE, [re_com.core.md_icon_button,new cljs.core.Keyword(null,"md-icon-name","md-icon-name",681785863),"zmdi zmdi-delete",new cljs.core.Keyword(null,"tooltip","tooltip",-1809677058),"Delete",new cljs.core.Keyword(null,"tooltip-position","tooltip-position",936197013),new cljs.core.Keyword(null,"right-center","right-center",2147253074),new cljs.core.Keyword(null,"attr","attr",-604132353),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-container","data-container",1473653353),"body"], null),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (){ return titanoboa.designer.remove_jd_link_BANG_.call(null,jd_cursor,step_id,s); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) -], null)," ",new cljs.core.PersistentVector(null, 11, 5, cljs.core.PersistentVector.EMPTY_NODE, [re_com.core.md_icon_button,new cljs.core.Keyword(null,"md-icon-name","md-icon-name",681785863),"zmdi zmdi-edit",new cljs.core.Keyword(null,"tooltip","tooltip",-1809677058),"Edit",new cljs.core.Keyword(null,"tooltip-position","tooltip-position",936197013),new cljs.core.Keyword(null,"right-center","right-center",2147253074),new cljs.core.Keyword(null,"attr","attr",-604132353),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-container","data-container",1473653353),"body"], null),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +], null)," ",new cljs.core.PersistentVector(null, 11, 5, cljs.core.PersistentVector.EMPTY_NODE, [re_com.core.md_icon_button,new cljs.core.Keyword(null,"md-icon-name","md-icon-name",681785863),"zmdi zmdi-edit",new cljs.core.Keyword(null,"tooltip","tooltip",-1809677058),"Edit",new cljs.core.Keyword(null,"tooltip-position","tooltip-position",936197013),new cljs.core.Keyword(null,"right-center","right-center",2147253074),new cljs.core.Keyword(null,"attr","attr",-604132353),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-container","data-container",1473653353),"body"], null),new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (){ -return cljs.core.reset_BANG_.call(null,titanoboa.designer.modal_link_props,new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"show","show",-576705889),true,new cljs.core.Keyword(null,"from","from",1815293044),new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"to","to",192099007),titanoboa.designer.get_step_name.call(null,job_name,cljs.core.second.call(null,s)),new cljs.core.Keyword(null,"cond","cond",-33823472),cljs.core.first.call(null,s),new cljs.core.Keyword(null,"callback-fn","callback-fn",2018892720),((function (step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ +return cljs.core.reset_BANG_.call(null,titanoboa.designer.modal_link_props,new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"show","show",-576705889),true,new cljs.core.Keyword(null,"from","from",1815293044),new cljs.core.Keyword(null,"name","name",1843675177).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"to","to",192099007),titanoboa.designer.get_step_name.call(null,job_name,cljs.core.second.call(null,s)),new cljs.core.Keyword(null,"cond","cond",-33823472),cljs.core.first.call(null,s),new cljs.core.Keyword(null,"callback-fn","callback-fn",2018892720),((function (step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id){ return (function (c){ return cljs.core.swap_BANG_.call(null,step_cursor,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"next","next",-117701485)], null),cljs.core.assoc,i,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [c,cljs.core.second.call(null,s)], null)); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) ], null)); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) ], null)], null)], null); -});})(step_cursor,_,___$1,map__9547,map__9547__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) +});})(step_cursor,_,___$1,map__5079,map__5079__$1,app_state_atom,graph_cursor,jd_cursor,job_name,step_id)) ,new cljs.core.Keyword(null,"next","next",-117701485).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor))))], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default editor-field"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.properties_panel_heading,"Step Properties"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-body"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.properties_component,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"prop","prop",-515168332),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,step_cursor)),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),step_cursor,new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"properties","properties",685819552)], null),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),cljs.core.deref.call(null,titanoboa.designer.show_parens_atom)], null)], null)], null)], null)], null); }); -titanoboa.designer.zoom_slider = (function titanoboa$designer$zoom_slider(p__9554){ -var map__9555 = p__9554; -var map__9555__$1 = ((((!((map__9555 == null)))?(((((map__9555.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9555.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9555):map__9555); -var graph_cursor = cljs.core.get.call(null,map__9555__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"float","float",-1732389368),"right",new cljs.core.Keyword(null,"display","display",242065432),"flex",new cljs.core.Keyword(null,"flex-direction","flex-direction",364609438),"row",new cljs.core.Keyword(null,"margin-right","margin-right",809689658),"5px",new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"10px"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-zoom-out","span.glyphicon.glyphicon-zoom-out",1021550077),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"4px"], null)], null),""], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"key","key",-1516042587),"slider",new cljs.core.Keyword(null,"type","type",1174270348),"range",new cljs.core.Keyword(null,"min","min",444991522),"-300",new cljs.core.Keyword(null,"max","max",61366548),"300",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"zoom","zoom",-1827487038).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__9555,map__9555__$1,graph_cursor){ -return (function (p1__9553_SHARP_){ -return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"zoom","zoom",-1827487038),p1__9553_SHARP_.target.value); -});})(map__9555,map__9555__$1,graph_cursor)) -], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-zoom-in","span.glyphicon.glyphicon-zoom-in",1214520503),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"4px"], null)], null),""], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9555,map__9555__$1,graph_cursor){ +titanoboa.designer.zoom_slider = (function titanoboa$designer$zoom_slider(p__5086){ +var map__5087 = p__5086; +var map__5087__$1 = ((((!((map__5087 == null)))?(((((map__5087.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5087.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5087):map__5087); +var graph_cursor = cljs.core.get.call(null,map__5087__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"float","float",-1732389368),"right",new cljs.core.Keyword(null,"display","display",242065432),"flex",new cljs.core.Keyword(null,"flex-direction","flex-direction",364609438),"row",new cljs.core.Keyword(null,"margin-right","margin-right",809689658),"5px",new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"10px"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-zoom-out","span.glyphicon.glyphicon-zoom-out",1021550077),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"4px"], null)], null),""], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input","input",556931961),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"key","key",-1516042587),"slider",new cljs.core.Keyword(null,"type","type",1174270348),"range",new cljs.core.Keyword(null,"min","min",444991522),"-300",new cljs.core.Keyword(null,"max","max",61366548),"300",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"zoom","zoom",-1827487038).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__5087,map__5087__$1,graph_cursor){ +return (function (p1__5085_SHARP_){ +return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"zoom","zoom",-1827487038),p1__5085_SHARP_.target.value); +});})(map__5087,map__5087__$1,graph_cursor)) +], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-zoom-in","span.glyphicon.glyphicon-zoom-in",1214520503),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"4px"], null)], null),""], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__5087,map__5087__$1,graph_cursor){ return (function (){ return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"zoom","zoom",-1827487038),(0)); -});})(map__9555,map__9555__$1,graph_cursor)) +});})(map__5087,map__5087__$1,graph_cursor)) ,new cljs.core.Keyword(null,"title","title",636505583),"reset zoom"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-triangle-top","span.glyphicon.glyphicon-triangle-top",-88561127),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"right","right",-452581833),"78px",new cljs.core.Keyword(null,"top","top",-1856271961),"18px",new cljs.core.Keyword(null,"color","color",1011675173),"#737373"], null)], null),""], null)], null)], null); }); -titanoboa.designer.zoom_slider_vert = (function titanoboa$designer$zoom_slider_vert(p__9558){ -var map__9559 = p__9558; -var map__9559__$1 = ((((!((map__9559 == null)))?(((((map__9559.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9559.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9559):map__9559); -var graph_cursor = cljs.core.get.call(null,map__9559__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); -return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"float","float",-1732389368),"right",new cljs.core.Keyword(null,"display","display",242065432),"flex",new cljs.core.Keyword(null,"flex-direction","flex-direction",364609438),"column",new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"5px",new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"10px",new cljs.core.Keyword(null,"width","width",-384071477),"34px"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-zoom-in","span.glyphicon.glyphicon-zoom-in",1214520503),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"4px"], null)], null),""], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input.vert-range","input.vert-range",2060556913),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"key","key",-1516042587),"slider",new cljs.core.Keyword(null,"type","type",1174270348),"range",new cljs.core.Keyword(null,"min","min",444991522),"-300",new cljs.core.Keyword(null,"max","max",61366548),"300",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"zoom","zoom",-1827487038).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__9559,map__9559__$1,graph_cursor){ -return (function (p1__9557_SHARP_){ -return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"zoom","zoom",-1827487038),p1__9557_SHARP_.target.value); -});})(map__9559,map__9559__$1,graph_cursor)) -,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"width","width",-384071477),"150px"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-zoom-out","span.glyphicon.glyphicon-zoom-out",1021550077),""], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9559,map__9559__$1,graph_cursor){ +titanoboa.designer.zoom_slider_vert = (function titanoboa$designer$zoom_slider_vert(p__5090){ +var map__5091 = p__5090; +var map__5091__$1 = ((((!((map__5091 == null)))?(((((map__5091.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5091.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5091):map__5091); +var graph_cursor = cljs.core.get.call(null,map__5091__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"float","float",-1732389368),"right",new cljs.core.Keyword(null,"display","display",242065432),"flex",new cljs.core.Keyword(null,"flex-direction","flex-direction",364609438),"column",new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"5px",new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"10px",new cljs.core.Keyword(null,"width","width",-384071477),"34px"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-zoom-in","span.glyphicon.glyphicon-zoom-in",1214520503),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"4px"], null)], null),""], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"input.vert-range","input.vert-range",2060556913),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"key","key",-1516042587),"slider",new cljs.core.Keyword(null,"type","type",1174270348),"range",new cljs.core.Keyword(null,"min","min",444991522),"-300",new cljs.core.Keyword(null,"max","max",61366548),"300",new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"zoom","zoom",-1827487038).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,graph_cursor)),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__5091,map__5091__$1,graph_cursor){ +return (function (p1__5089_SHARP_){ +return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"zoom","zoom",-1827487038),p1__5089_SHARP_.target.value); +});})(map__5091,map__5091__$1,graph_cursor)) +,new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"width","width",-384071477),"150px"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-zoom-out","span.glyphicon.glyphicon-zoom-out",1021550077),""], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__5091,map__5091__$1,graph_cursor){ return (function (){ return cljs.core.swap_BANG_.call(null,graph_cursor,cljs.core.assoc,new cljs.core.Keyword(null,"zoom","zoom",-1827487038),(0)); -});})(map__9559,map__9559__$1,graph_cursor)) +});})(map__5091,map__5091__$1,graph_cursor)) ,new cljs.core.Keyword(null,"title","title",636505583),"reset zoom"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-triangle-right","span.glyphicon.glyphicon-triangle-right",1786952810),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"right","right",-452581833),"30px",new cljs.core.Keyword(null,"top","top",-1856271961),"83px",new cljs.core.Keyword(null,"color","color",1011675173),"#737373"], null)], null),""], null)], null)], null); }); -titanoboa.designer.button_bar_readonly = (function titanoboa$designer$button_bar_readonly(p__9561){ -var map__9562 = p__9561; -var map__9562__$1 = ((((!((map__9562 == null)))?(((((map__9562.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9562.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9562):map__9562); -var graph_cursor = cljs.core.get.call(null,map__9562__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +titanoboa.designer.button_bar_readonly = (function titanoboa$designer$button_bar_readonly(p__5093){ +var map__5094 = p__5093; +var map__5094__$1 = ((((!((map__5094 == null)))?(((((map__5094.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5094.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5094):map__5094); +var graph_cursor = cljs.core.get.call(null,map__5094__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); return new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"jobs-tab vertical-buttons"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group-vertical graph-buttons-vertical",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_menu_button,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"css-class","css-class",-919455334),"btn-ico-edit",new cljs.core.Keyword(null,"id-key","id-key",-1881730044),new cljs.core.Keyword(null,"edit","edit",-1641834166),new cljs.core.Keyword(null,"title","title",636505583),"edit job & step properties"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_menu_button,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"css-class","css-class",-919455334),"btn-ico-move",new cljs.core.Keyword(null,"id-key","id-key",-1881730044),new cljs.core.Keyword(null,"move","move",-2110884309),new cljs.core.Keyword(null,"title","title",636505583),"move step icons"], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group-vertical graph-buttons-vertical",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_pin_button,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.zoom_slider_vert,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor], null)], null)], null); }); -titanoboa.designer.run_job_btns = (function titanoboa$designer$run_job_btns(p__9566){ -var map__9567 = p__9566; -var map__9567__$1 = ((((!((map__9567 == null)))?(((((map__9567.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9567.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9567):map__9567); -var jd_cursor = cljs.core.get.call(null,map__9567__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); -var job_name = cljs.core.get.call(null,map__9567__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); +titanoboa.designer.run_job_btns = (function titanoboa$designer$run_job_btns(p__5098){ +var map__5099 = p__5098; +var map__5099__$1 = ((((!((map__5099 == null)))?(((((map__5099.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5099.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5099):map__5099); +var jd_cursor = cljs.core.get.call(null,map__5099__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); +var job_name = cljs.core.get.call(null,map__5099__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); var temp_props_atom = reagent.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); -return reagent.core.create_class.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"reagent-render","reagent-render",-985383853),((function (temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name){ -return (function (p__9569){ -var map__9570 = p__9569; -var map__9570__$1 = ((((!((map__9570 == null)))?(((((map__9570.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9570.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9570):map__9570); -var jd_cursor__$1 = cljs.core.get.call(null,map__9570__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); -var job_name__$1 = cljs.core.get.call(null,map__9570__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group graph-buttons",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn-ico","button.btn-ico",-713437553),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"run job",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name){ +return reagent.core.create_class.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"reagent-render","reagent-render",-985383853),((function (temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name){ +return (function (p__5101){ +var map__5102 = p__5101; +var map__5102__$1 = ((((!((map__5102 == null)))?(((((map__5102.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5102.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5102):map__5102); +var jd_cursor__$1 = cljs.core.get.call(null,map__5102__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); +var job_name__$1 = cljs.core.get.call(null,map__5102__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group graph-buttons",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn-ico","button.btn-ico",-713437553),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"run job",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name){ return (function (){ if(cljs.core.not.call(null,cljs.core.get.call(null,cljs.core.deref.call(null,temp_props_atom),job_name__$1))){ cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc,job_name__$1,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"properties","properties",685819552),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,jd_cursor__$1))], null)); @@ -3808,8 +3815,8 @@ cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc,job_name__$1,new } return titanoboa.designer.jquery.call(null,"#start-job-modal").modal(); -});})(map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name)) -], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-play","span.glyphicon.glyphicon-play",-1871300442),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"3"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn-ico","button.btn-ico",-713437553),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"run job in debug mode",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name){ +});})(map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name)) +], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-play","span.glyphicon.glyphicon-play",-1871300442),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"3"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn-ico","button.btn-ico",-713437553),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"run job in debug mode",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name){ return (function (){ if(cljs.core.not.call(null,cljs.core.get.call(null,cljs.core.deref.call(null,temp_props_atom),job_name__$1))){ cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc,job_name__$1,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"properties","properties",685819552),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,jd_cursor__$1))], null)); @@ -3817,67 +3824,67 @@ cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc,job_name__$1,new } return titanoboa.designer.jquery.call(null,"#start-job-modal").modal(); -});})(map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name)) -], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-bug","span.zmdi.zmdi-bug",-1601684065),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"3",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"18"], null)], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"id","id",-1388402092),"start-job-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"start-job-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"myModalLabel"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"start-job-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"20%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"start-job-modal-content"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close","button.close",-1545560743),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"Start a new ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),job_name__$1], null)," job"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-group"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/system.svg",new cljs.core.Keyword(null,"height","height",1025178622),(48)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470)," System"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"5px"], null),new cljs.core.Keyword(null,"val","val",128701612),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get_in.call(null,cljs.core.deref.call(null,temp_props_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"system","system",-29381724)], null)))].join(''),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name){ -return (function (p1__9564_SHARP_){ -return cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"system","system",-29381724)], null),titanoboa.util.s__GT_key.call(null,p1__9564_SHARP_.target.value)); -});})(map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name)) -,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Select System",new cljs.core.Keyword(null,"title","title",636505583),"Select System"], null),titanoboa.designer.select_options.call(null,cljs.core.map.call(null,cljs.core.str,cljs.core.keys.call(null,cljs.core.deref.call(null,titanoboa.systems.systems_state))),"systems-running")], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"20px"], null),new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.new_props_panel_heading,"Job Properties",((function (map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name){ +});})(map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name)) +], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-bug","span.zmdi.zmdi-bug",-1601684065),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"3",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"18"], null)], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"id","id",-1388402092),"start-job-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"start-job-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"myModalLabel"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"start-job-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"20%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"start-job-modal-content"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close","button.close",-1545560743),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"Start a new ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),job_name__$1], null)," job"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-group"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/system.svg",new cljs.core.Keyword(null,"height","height",1025178622),(48)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470)," System"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"5px"], null),new cljs.core.Keyword(null,"val","val",128701612),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.get_in.call(null,cljs.core.deref.call(null,temp_props_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"system","system",-29381724)], null)))].join(''),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name){ +return (function (p1__5096_SHARP_){ +return cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"system","system",-29381724)], null),titanoboa.util.s__GT_key.call(null,p1__5096_SHARP_.target.value)); +});})(map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name)) +,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Select System",new cljs.core.Keyword(null,"title","title",636505583),"Select System"], null),titanoboa.designer.select_options.call(null,cljs.core.map.call(null,cljs.core.str,cljs.core.keys.call(null,cljs.core.deref.call(null,titanoboa.systems.systems_state))),"systems-running")], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"20px"], null),new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.new_props_panel_heading,"Job Properties",((function (map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name){ return (function (){ return cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc,job_name__$1,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"properties","properties",685819552),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,jd_cursor__$1))], null)); -});})(map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name)) -], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-body"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.properties_component,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"prop","prop",-515168332),cljs.core.get_in.call(null,cljs.core.deref.call(null,temp_props_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"properties","properties",685819552)], null)),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),temp_props_atom,new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"properties","properties",685819552)], null),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),cljs.core.deref.call(null,titanoboa.designer.show_parens_atom)], null)], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-footer","div.modal-footer",1309572241),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-danger.btn-default.pull-left","button.btn.btn-danger.btn-default.pull-left",-2125044425),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991)," Cancel"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-primary","button.btn.btn-primary",510358192),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name){ +});})(map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name)) +], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"panel-body"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.properties_component,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"prop","prop",-515168332),cljs.core.get_in.call(null,cljs.core.deref.call(null,temp_props_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"properties","properties",685819552)], null)),new cljs.core.Keyword(null,"step-cursor","step-cursor",96048012),temp_props_atom,new cljs.core.Keyword(null,"ks","ks",1900203942),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"properties","properties",685819552)], null),new cljs.core.Keyword(null,"show-parens?","show-parens?",2124438360),cljs.core.deref.call(null,titanoboa.designer.show_parens_atom)], null)], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-footer","div.modal-footer",1309572241),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-danger.btn-default.pull-left","button.btn.btn-danger.btn-default.pull-left",-2125044425),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991)," Cancel"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-primary","button.btn.btn-primary",510358192),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name){ return (function (e){ titanoboa.designer.jquery.call(null,"#start-job-modal").modal("hide"); -return titanoboa.api.start_job_BANG_.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,temp_props_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"system","system",-29381724)], null)),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"jobdef","jobdef",402501090),titanoboa.designer.job_def__GT_server.call(null,cljs.core.update_in.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.app_state),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),job_name__$1], null)),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"revision","revision",-1350113114)], null),((function (map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name){ -return (function (p1__9565_SHARP_){ -return [cljs.core.str.cljs$core$IFn$_invoke$arity$1((p1__9565_SHARP_ + (1))),"-SNAPSHOT"].join(''); -});})(map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name)) -)),new cljs.core.Keyword(null,"properties","properties",685819552),titanoboa.designer.all_linked__GT_maps.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,temp_props_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"properties","properties",685819552)], null)))], null),((function (map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name){ +return titanoboa.api.start_job_BANG_.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,temp_props_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"system","system",-29381724)], null)),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"jobdef","jobdef",402501090),titanoboa.designer.job_def__GT_server.call(null,cljs.core.update_in.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.app_state),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),job_name__$1], null)),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"revision","revision",-1350113114)], null),((function (map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name){ +return (function (p1__5097_SHARP_){ +return [cljs.core.str.cljs$core$IFn$_invoke$arity$1((p1__5097_SHARP_ + (1))),"-SNAPSHOT"].join(''); +});})(map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name)) +)),new cljs.core.Keyword(null,"properties","properties",685819552),titanoboa.designer.all_linked__GT_maps.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,temp_props_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"properties","properties",685819552)], null)))], null),((function (map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name){ return (function (r){ cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"last-job-id","last-job-id",-2103925493)], null),new cljs.core.Keyword(null,"jobid","jobid",-936230576).cljs$core$IFn$_invoke$arity$1(r)); return titanoboa.designer.jquery.call(null,"#job-started-modal").modal(); -});})(map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name)) +});})(map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name)) ); -});})(map__9570,map__9570__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name)) +});})(map__5102,map__5102__$1,jd_cursor__$1,job_name__$1,temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name)) ], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-play","span.glyphicon.glyphicon-play",-1871300442)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470)," Start"], null)], null)], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"id","id",-1388402092),"job-started-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"job-started-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"myModalLabel"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"job-started-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"20%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"job-started-modal-content"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close","button.close",-1545560743),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"New instance of job ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),job_name__$1], null)," was successfully started"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"Job ID is: ",cljs.core.get_in.call(null,cljs.core.deref.call(null,temp_props_atom),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1,new cljs.core.Keyword(null,"last-job-id","last-job-id",-2103925493)], null))], null)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-footer","div.modal-footer",1309572241)], null)], null)], null)], null)], null); -});})(temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name)) -,new cljs.core.Keyword(null,"component-did-mount","component-did-mount",-1126910518),((function (temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name){ +});})(temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name)) +,new cljs.core.Keyword(null,"component-did-mount","component-did-mount",-1126910518),((function (temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name){ return (function (this$){ titanoboa.designer.jquery.call(null,"#start-job-modal-content").resizable(cljs.core.clj__GT_js.call(null,new cljs.core.PersistentArrayMap(null, 1, ["alsoResize","#start-job-modal-dialog"], null))); return titanoboa.designer.jquery.call(null,"#start-job-modal-dialog").draggable(cljs.core.clj__GT_js.call(null,new cljs.core.PersistentArrayMap(null, 1, ["handle",".modal-header"], null))); -});})(temp_props_atom,map__9567,map__9567__$1,jd_cursor,job_name)) +});})(temp_props_atom,map__5099,map__5099__$1,jd_cursor,job_name)) ], null)); }); -titanoboa.designer.button_bar = (function titanoboa$designer$button_bar(p__9572){ -var map__9573 = p__9572; -var map__9573__$1 = ((((!((map__9573 == null)))?(((((map__9573.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9573.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9573):map__9573); -var graph_cursor = cljs.core.get.call(null,map__9573__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); -var jd_cursor = cljs.core.get.call(null,map__9573__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); -var job_name = cljs.core.get.call(null,map__9573__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); -return new cljs.core.PersistentVector(null, 10, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"graph-buttons-container",new cljs.core.Keyword(null,"key","key",-1516042587),["graph-buttons-container-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name)].join('')], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group graph-buttons",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_save_button,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"job-name","job-name",607418212),job_name], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"width","width",-384071477),"5px"], null)], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group graph-buttons",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_menu_button,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"css-class","css-class",-919455334),"btn-ico-edit",new cljs.core.Keyword(null,"id-key","id-key",-1881730044),new cljs.core.Keyword(null,"edit","edit",-1641834166),new cljs.core.Keyword(null,"title","title",636505583),"edit job & step properties"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_menu_button,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"css-class","css-class",-919455334),"btn-ico-move",new cljs.core.Keyword(null,"id-key","id-key",-1881730044),new cljs.core.Keyword(null,"move","move",-2110884309),new cljs.core.Keyword(null,"title","title",636505583),"move step icons"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_menu_button,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"css-class","css-class",-919455334),"btn-ico-link",new cljs.core.Keyword(null,"id-key","id-key",-1881730044),new cljs.core.Keyword(null,"link","link",-1769163468),new cljs.core.Keyword(null,"title","title",636505583),"add/remove links"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"width","width",-384071477),"5px"], null)], null)], null),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group graph-buttons",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default btn-ico-refresh",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"reload job visualization",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__9573,map__9573__$1,graph_cursor,jd_cursor,job_name){ +titanoboa.designer.button_bar = (function titanoboa$designer$button_bar(p__5104){ +var map__5105 = p__5104; +var map__5105__$1 = ((((!((map__5105 == null)))?(((((map__5105.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5105.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5105):map__5105); +var graph_cursor = cljs.core.get.call(null,map__5105__$1,new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825)); +var jd_cursor = cljs.core.get.call(null,map__5105__$1,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011)); +var job_name = cljs.core.get.call(null,map__5105__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); +return new cljs.core.PersistentVector(null, 10, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"graph-buttons-container",new cljs.core.Keyword(null,"key","key",-1516042587),["graph-buttons-container-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name)].join('')], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group graph-buttons",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_save_button,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"job-name","job-name",607418212),job_name], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"width","width",-384071477),"5px"], null)], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group graph-buttons",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_menu_button,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"css-class","css-class",-919455334),"btn-ico-edit",new cljs.core.Keyword(null,"id-key","id-key",-1881730044),new cljs.core.Keyword(null,"edit","edit",-1641834166),new cljs.core.Keyword(null,"title","title",636505583),"edit job & step properties"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_menu_button,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"css-class","css-class",-919455334),"btn-ico-move",new cljs.core.Keyword(null,"id-key","id-key",-1881730044),new cljs.core.Keyword(null,"move","move",-2110884309),new cljs.core.Keyword(null,"title","title",636505583),"move step icons"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_menu_button,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"css-class","css-class",-919455334),"btn-ico-link",new cljs.core.Keyword(null,"id-key","id-key",-1881730044),new cljs.core.Keyword(null,"link","link",-1769163468),new cljs.core.Keyword(null,"title","title",636505583),"add/remove links"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"width","width",-384071477),"5px"], null)], null)], null),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn-group graph-buttons",new cljs.core.Keyword(null,"role","role",-736691072),"group"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default btn-ico-refresh",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"reload job visualization",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (map__5105,map__5105__$1,graph_cursor,jd_cursor,job_name){ return (function (){ return titanoboa.designer.reload_force_BANG_.call(null,cljs.core.deref.call(null,jd_cursor),titanoboa.designer.graph_view,cljs.core.deref.call(null,titanoboa.designer.opened_job)); -});})(map__9573,map__9573__$1,graph_cursor,jd_cursor,job_name)) +});})(map__5105,map__5105__$1,graph_cursor,jd_cursor,job_name)) ], null),""], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_pin_button,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_add_button,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011),jd_cursor], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.graph_delete_button,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011),jd_cursor], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"width","width",-384071477),"20px"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.run_job_btns,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011),jd_cursor,new cljs.core.Keyword(null,"job-name","job-name",607418212),job_name], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.zoom_slider,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor], null)], null)], null); }); -titanoboa.designer.compile_status_ico = (function titanoboa$designer$compile_status_ico(p__9575){ -var map__9576 = p__9575; -var map__9576__$1 = ((((!((map__9576 == null)))?(((((map__9576.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9576.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9576):map__9576); -var status = cljs.core.get.call(null,map__9576__$1,new cljs.core.Keyword(null,"status","status",-1997798413)); -var message = cljs.core.get.call(null,map__9576__$1,new cljs.core.Keyword(null,"message","message",-406056002)); -return reagent.core.create_class.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"reagent-render","reagent-render",-985383853),((function (map__9576,map__9576__$1,status,message){ -return (function (p__9578){ -var map__9579 = p__9578; -var map__9579__$1 = ((((!((map__9579 == null)))?(((((map__9579.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9579.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9579):map__9579); -var status__$1 = cljs.core.get.call(null,map__9579__$1,new cljs.core.Keyword(null,"status","status",-1997798413)); -var message__$1 = cljs.core.get.call(null,map__9579__$1,new cljs.core.Keyword(null,"message","message",-406056002)); -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),(function (){var G__9581 = status__$1; -var G__9581__$1 = (((G__9581 instanceof cljs.core.Keyword))?G__9581.fqn:null); -switch (G__9581__$1) { +titanoboa.designer.compile_status_ico = (function titanoboa$designer$compile_status_ico(p__5107){ +var map__5108 = p__5107; +var map__5108__$1 = ((((!((map__5108 == null)))?(((((map__5108.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5108.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5108):map__5108); +var status = cljs.core.get.call(null,map__5108__$1,new cljs.core.Keyword(null,"status","status",-1997798413)); +var message = cljs.core.get.call(null,map__5108__$1,new cljs.core.Keyword(null,"message","message",-406056002)); +return reagent.core.create_class.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"reagent-render","reagent-render",-985383853),((function (map__5108,map__5108__$1,status,message){ +return (function (p__5110){ +var map__5111 = p__5110; +var map__5111__$1 = ((((!((map__5111 == null)))?(((((map__5111.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5111.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5111):map__5111); +var status__$1 = cljs.core.get.call(null,map__5111__$1,new cljs.core.Keyword(null,"status","status",-1997798413)); +var message__$1 = cljs.core.get.call(null,map__5111__$1,new cljs.core.Keyword(null,"message","message",-406056002)); +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),(function (){var G__5113 = status__$1; +var G__5113__$1 = (((G__5113 instanceof cljs.core.Keyword))?G__5113.fqn:null); +switch (G__5113__$1) { case "error": return "zmdi zmdi-alert-circle"; @@ -3894,9 +3901,9 @@ default: return "zmdi zmdi-alert-circle"; } -})(),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"cursor","cursor",1011937484),"pointer",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"18px",new cljs.core.Keyword(null,"color","color",1011675173),(function (){var G__9582 = status__$1; -var G__9582__$1 = (((G__9582 instanceof cljs.core.Keyword))?G__9582.fqn:null); -switch (G__9582__$1) { +})(),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"cursor","cursor",1011937484),"pointer",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"18px",new cljs.core.Keyword(null,"color","color",1011675173),(function (){var G__5114 = status__$1; +var G__5114__$1 = (((G__5114 instanceof cljs.core.Keyword))?G__5114.fqn:null); +switch (G__5114__$1) { case "error": return "#d9534f"; @@ -3913,9 +3920,9 @@ default: return "#f0ad4e"; } -})(),new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"top","top",-1856271961),"4px",new cljs.core.Keyword(null,"left","left",-399115937),"15px",new cljs.core.Keyword(null,"z-index","z-index",1892827090),"10000"], null),new cljs.core.Keyword(null,"data-content","data-content",-508111796),message__$1,new cljs.core.Keyword(null,"data-title","data-title",-83549535),(function (){var G__9583 = status__$1; -var G__9583__$1 = (((G__9583 instanceof cljs.core.Keyword))?G__9583.fqn:null); -switch (G__9583__$1) { +})(),new cljs.core.Keyword(null,"position","position",-2011731912),"absolute",new cljs.core.Keyword(null,"top","top",-1856271961),"4px",new cljs.core.Keyword(null,"left","left",-399115937),"15px",new cljs.core.Keyword(null,"z-index","z-index",1892827090),"10000"], null),new cljs.core.Keyword(null,"data-content","data-content",-508111796),message__$1,new cljs.core.Keyword(null,"data-title","data-title",-83549535),(function (){var G__5115 = status__$1; +var G__5115__$1 = (((G__5115 instanceof cljs.core.Keyword))?G__5115.fqn:null); +switch (G__5115__$1) { case "error": return "Compilation Failed"; @@ -3933,46 +3940,46 @@ return ""; } })()], null)], null); -});})(map__9576,map__9576__$1,status,message)) -,new cljs.core.Keyword(null,"component-did-mount","component-did-mount",-1126910518),((function (map__9576,map__9576__$1,status,message){ +});})(map__5108,map__5108__$1,status,message)) +,new cljs.core.Keyword(null,"component-did-mount","component-did-mount",-1126910518),((function (map__5108,map__5108__$1,status,message){ return (function (this$){ var el = titanoboa.designer.jquery.call(null,reagent.core.dom_node.call(null,this$)); return el.popover(cljs.core.clj__GT_js.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"placement","placement",768366651),"left",new cljs.core.Keyword(null,"trigger","trigger",103466139),"hover"], null))); -});})(map__9576,map__9576__$1,status,message)) +});})(map__5108,map__5108__$1,status,message)) ], null)); }); -titanoboa.designer.job_editor = (function titanoboa$designer$job_editor(p__9590){ -var map__9591 = p__9590; -var map__9591__$1 = ((((!((map__9591 == null)))?(((((map__9591.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9591.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9591):map__9591); -var app_state_atom = cljs.core.get.call(null,map__9591__$1,new cljs.core.Keyword(null,"app-state-atom","app-state-atom",511250812)); -var graph_view_atom = cljs.core.get.call(null,map__9591__$1,new cljs.core.Keyword(null,"graph-view-atom","graph-view-atom",-804096471)); -var job_name = cljs.core.get.call(null,map__9591__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); +titanoboa.designer.job_editor = (function titanoboa$designer$job_editor(p__5122){ +var map__5123 = p__5122; +var map__5123__$1 = ((((!((map__5123 == null)))?(((((map__5123.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5123.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5123):map__5123); +var app_state_atom = cljs.core.get.call(null,map__5123__$1,new cljs.core.Keyword(null,"app-state-atom","app-state-atom",511250812)); +var graph_view_atom = cljs.core.get.call(null,map__5123__$1,new cljs.core.Keyword(null,"graph-view-atom","graph-view-atom",-804096471)); +var job_name = cljs.core.get.call(null,map__5123__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); var graph_minimized = reagent.core.atom.call(null,false); var compile_status = reagent.core.atom.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"status","status",-1997798413),new cljs.core.Keyword(null,"ok","ok",967785236),new cljs.core.Keyword(null,"message","message",-406056002),""], null)); -return ((function (graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name){ -return (function (p__9593){ -var map__9594 = p__9593; -var map__9594__$1 = ((((!((map__9594 == null)))?(((((map__9594.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9594.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9594):map__9594); -var app_state_atom__$1 = cljs.core.get.call(null,map__9594__$1,new cljs.core.Keyword(null,"app-state-atom","app-state-atom",511250812)); -var graph_view_atom__$1 = cljs.core.get.call(null,map__9594__$1,new cljs.core.Keyword(null,"graph-view-atom","graph-view-atom",-804096471)); -var job_name__$1 = cljs.core.get.call(null,map__9594__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); +return ((function (graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name){ +return (function (p__5125){ +var map__5126 = p__5125; +var map__5126__$1 = ((((!((map__5126 == null)))?(((((map__5126.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5126.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5126):map__5126); +var app_state_atom__$1 = cljs.core.get.call(null,map__5126__$1,new cljs.core.Keyword(null,"app-state-atom","app-state-atom",511250812)); +var graph_view_atom__$1 = cljs.core.get.call(null,map__5126__$1,new cljs.core.Keyword(null,"graph-view-atom","graph-view-atom",-804096471)); +var job_name__$1 = cljs.core.get.call(null,map__5126__$1,new cljs.core.Keyword(null,"job-name","job-name",607418212)); var graph_cursor = reagent.core.cursor.call(null,graph_view_atom__$1,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name__$1], null)); var jd_cursor = reagent.core.cursor.call(null,app_state_atom__$1,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),job_name__$1], null)); -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"job-editor-content"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),["anim job-visualization",cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(cljs.core.deref.call(null,graph_minimized))?" in":null))].join('')], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.button_bar,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011),jd_cursor,new cljs.core.Keyword(null,"job-name","job-name",607418212),job_name__$1], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.job_graph_visualization,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011),jd_cursor], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"arrange-vertically step-editor-panel"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.step-editor-tab","div.step-editor-tab",1315992439),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul","ul",-1349521403),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"nav nav-tabs"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"properties","properties",685819552),cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.graph_view),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"step-editor","step-editor",1799616437)], null))))?"active":""),new cljs.core.Keyword(null,"role","role",-736691072),"presentation"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"job-editor-content"], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),["anim job-visualization",cljs.core.str.cljs$core$IFn$_invoke$arity$1((cljs.core.truth_(cljs.core.deref.call(null,graph_minimized))?" in":null))].join('')], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.button_bar,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011),jd_cursor,new cljs.core.Keyword(null,"job-name","job-name",607418212),job_name__$1], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.job_graph_visualization,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011),jd_cursor], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"arrange-vertically step-editor-panel"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.step-editor-tab","div.step-editor-tab",1315992439),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul","ul",-1349521403),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"nav nav-tabs"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"properties","properties",685819552),cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.graph_view),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"step-editor","step-editor",1799616437)], null))))?"active":""),new cljs.core.Keyword(null,"role","role",-736691072),"presentation"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name){ return (function (){ return cljs.core.swap_BANG_.call(null,titanoboa.designer.graph_view,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,titanoboa.designer.opened_job)], null),cljs.core.assoc,new cljs.core.Keyword(null,"step-editor","step-editor",1799616437),new cljs.core.Keyword(null,"properties","properties",685819552)); -});})(graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name)) -], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),"properties"], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"edn","edn",1317840885),cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.graph_view),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"step-editor","step-editor",1799616437)], null))))?"active":""),new cljs.core.Keyword(null,"role","role",-736691072),"presentation"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name){ +});})(graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name)) +], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),"properties"], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"edn","edn",1317840885),cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.graph_view),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"step-editor","step-editor",1799616437)], null))))?"active":""),new cljs.core.Keyword(null,"role","role",-736691072),"presentation"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name){ return (function (){ return cljs.core.swap_BANG_.call(null,titanoboa.designer.graph_view,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,titanoboa.designer.opened_job)], null),cljs.core.assoc,new cljs.core.Keyword(null,"step-editor","step-editor",1799616437),new cljs.core.Keyword(null,"edn","edn",1317840885)); -});})(graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name)) -], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),"edn"], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"active",new cljs.core.Keyword(null,"role","role",-736691072),"presentation",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"float","float",-1732389368),"right"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name){ +});})(graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name)) +], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),"edn"], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"active",new cljs.core.Keyword(null,"role","role",-736691072),"presentation",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"float","float",-1732389368),"right"], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"btn btn-default",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name){ return (function (){ return cljs.core.reset_BANG_.call(null,graph_minimized,cljs.core.not.call(null,cljs.core.deref.call(null,graph_minimized))); -});})(graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name)) -], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(cljs.core.deref.call(null,graph_minimized))?"glyphicon glyphicon-chevron-right":"glyphicon glyphicon-chevron-left"),new cljs.core.Keyword(null,"aria-hidden","aria-hidden",399337029),"true"], null)], null),""], null)], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),(function (){var G__9596 = cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.graph_view),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"step-editor","step-editor",1799616437)], null)); -var G__9596__$1 = (((G__9596 instanceof cljs.core.Keyword))?G__9596.fqn:null); -switch (G__9596__$1) { +});})(graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name)) +], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),(cljs.core.truth_(cljs.core.deref.call(null,graph_minimized))?"glyphicon glyphicon-chevron-right":"glyphicon glyphicon-chevron-left"),new cljs.core.Keyword(null,"aria-hidden","aria-hidden",399337029),"true"], null)], null),""], null)], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),(function (){var G__5128 = cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.graph_view),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,titanoboa.designer.opened_job),new cljs.core.Keyword(null,"step-editor","step-editor",1799616437)], null)); +var G__5128__$1 = (((G__5128 instanceof cljs.core.Keyword))?G__5128.fqn:null); +switch (G__5128__$1) { case "properties": return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"step-editor",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"overflow-y","overflow-y",-1436589285),"scroll",new cljs.core.Keyword(null,"height","height",1025178622),(cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (175))], null)], null),(cljs.core.truth_((function (){var and__3911__auto__ = titanoboa.designer.not_nil_QMARK_.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,graph_cursor),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"selected","selected",574897764)], null))); if(cljs.core.truth_(and__3911__auto__)){ @@ -3984,71 +3991,71 @@ return and__3911__auto__; break; case "edn": -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.compile_status_ico,cljs.core.deref.call(null,compile_status)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.code_mirror,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"js-cm-opts","js-cm-opts",1231776640),new cljs.core.Keyword(null,"transform-read-fn","transform-read-fn",-346718559),new cljs.core.Keyword(null,"job-name","job-name",607418212),new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091),new cljs.core.Keyword(null,"key","key",-1516042587),new cljs.core.Keyword(null,"on-compile","on-compile",-1162120153),new cljs.core.Keyword(null,"transform-write-fn","transform-write-fn",1608502159),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.Keyword(null,"value-atom","value-atom",-887321133),new cljs.core.Keyword(null,"on-change","on-change",-732046149),new cljs.core.Keyword(null,"base-value","base-value",921379228)],[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"lineNumbers","lineNumbers",1374890941),true,new cljs.core.Keyword(null,"autoClearEmptyLines","autoClearEmptyLines",62836823),false,new cljs.core.Keyword(null,"scrollbarStyle","scrollbarStyle",-963515367),"native",new cljs.core.Keyword(null,"viewportMargin","viewportMargin",948056881),(10),new cljs.core.Keyword(null,"theme","theme",-1247880880),"mdn-like",new cljs.core.Keyword(null,"styleActiveLine","styleActiveLine",-677594147),true], null),((function (G__9596,G__9596__$1,graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name){ -return (function (p1__9587_SHARP_){ +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.compile_status_ico,cljs.core.deref.call(null,compile_status)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.code_mirror,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"js-cm-opts","js-cm-opts",1231776640),new cljs.core.Keyword(null,"transform-read-fn","transform-read-fn",-346718559),new cljs.core.Keyword(null,"job-name","job-name",607418212),new cljs.core.Keyword(null,"auto-save?","auto-save?",-785004091),new cljs.core.Keyword(null,"key","key",-1516042587),new cljs.core.Keyword(null,"on-compile","on-compile",-1162120153),new cljs.core.Keyword(null,"transform-write-fn","transform-write-fn",1608502159),new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.Keyword(null,"value-atom","value-atom",-887321133),new cljs.core.Keyword(null,"on-change","on-change",-732046149),new cljs.core.Keyword(null,"base-value","base-value",921379228)],[new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"lineNumbers","lineNumbers",1374890941),true,new cljs.core.Keyword(null,"autoClearEmptyLines","autoClearEmptyLines",62836823),false,new cljs.core.Keyword(null,"scrollbarStyle","scrollbarStyle",-963515367),"native",new cljs.core.Keyword(null,"viewportMargin","viewportMargin",948056881),(10),new cljs.core.Keyword(null,"theme","theme",-1247880880),"mdn-like",new cljs.core.Keyword(null,"styleActiveLine","styleActiveLine",-677594147),true], null),((function (G__5128,G__5128__$1,graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name){ +return (function (p1__5119_SHARP_){ var sb__4430__auto__ = (new goog.string.StringBuffer()); -var _STAR_print_newline_STAR_9597_9602 = cljs.core._STAR_print_newline_STAR_; -var _STAR_print_fn_STAR_9598_9603 = cljs.core._STAR_print_fn_STAR_; +var _STAR_print_newline_STAR_5129_5134 = cljs.core._STAR_print_newline_STAR_; +var _STAR_print_fn_STAR_5130_5135 = cljs.core._STAR_print_fn_STAR_; cljs.core._STAR_print_newline_STAR_ = true; -cljs.core._STAR_print_fn_STAR_ = ((function (_STAR_print_newline_STAR_9597_9602,_STAR_print_fn_STAR_9598_9603,sb__4430__auto__,G__9596,G__9596__$1,graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name){ +cljs.core._STAR_print_fn_STAR_ = ((function (_STAR_print_newline_STAR_5129_5134,_STAR_print_fn_STAR_5130_5135,sb__4430__auto__,G__5128,G__5128__$1,graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name){ return (function (x__4431__auto__){ return sb__4430__auto__.append(x__4431__auto__); -});})(_STAR_print_newline_STAR_9597_9602,_STAR_print_fn_STAR_9598_9603,sb__4430__auto__,G__9596,G__9596__$1,graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name)) +});})(_STAR_print_newline_STAR_5129_5134,_STAR_print_fn_STAR_5130_5135,sb__4430__auto__,G__5128,G__5128__$1,graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name)) ; -try{fipp.clojure.pprint.call(null,titanoboa.designer.job_def__GT_server.call(null,p1__9587_SHARP_)); -}finally {cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR_9598_9603; +try{fipp.clojure.pprint.call(null,titanoboa.designer.job_def__GT_server.call(null,p1__5119_SHARP_)); +}finally {cljs.core._STAR_print_fn_STAR_ = _STAR_print_fn_STAR_5130_5135; -cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR_9597_9602; +cljs.core._STAR_print_newline_STAR_ = _STAR_print_newline_STAR_5129_5134; } return [cljs.core.str.cljs$core$IFn$_invoke$arity$1(sb__4430__auto__)].join(''); -});})(G__9596,G__9596__$1,graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name)) -,job_name__$1,true,["edn-editor-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name__$1)].join(''),((function (G__9596,G__9596__$1,graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name){ -return (function (p1__9589_SHARP_){ -cljs.core.println.call(null,"On compile called: ",p1__9589_SHARP_); - -return cljs.core.reset_BANG_.call(null,compile_status,p1__9589_SHARP_); -});})(G__9596,G__9596__$1,graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name)) -,((function (G__9596,G__9596__$1,graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name){ -return (function (p1__9588_SHARP_){ -try{var new_val = titanoboa.designer.job_def__GT_client.call(null,cljs.tools.reader.edn.read_string.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"readers","readers",-2118263030),titanoboa.exp.edn_reader_map], null),p1__9588_SHARP_)); +});})(G__5128,G__5128__$1,graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name)) +,job_name__$1,true,["edn-editor-",cljs.core.str.cljs$core$IFn$_invoke$arity$1(job_name__$1)].join(''),((function (G__5128,G__5128__$1,graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name){ +return (function (p1__5121_SHARP_){ +cljs.core.println.call(null,"On compile called: ",p1__5121_SHARP_); + +return cljs.core.reset_BANG_.call(null,compile_status,p1__5121_SHARP_); +});})(G__5128,G__5128__$1,graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name)) +,((function (G__5128,G__5128__$1,graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name){ +return (function (p1__5120_SHARP_){ +try{var new_val = titanoboa.designer.job_def__GT_client.call(null,cljs.tools.reader.edn.read_string.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"readers","readers",-2118263030),titanoboa.exp.edn_reader_map], null),p1__5120_SHARP_)); try{titanoboa.designer.validate_jobdef.call(null,new_val); return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"status","status",-1997798413),new cljs.core.Keyword(null,"ok","ok",967785236),new cljs.core.Keyword(null,"message","message",-406056002),"",new cljs.core.Keyword(null,"value","value",305978217),new_val], null); -}catch (e9600){if((e9600 instanceof Error)){ -var err = e9600; +}catch (e5132){if((e5132 instanceof Error)){ +var err = e5132; return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"status","status",-1997798413),new cljs.core.Keyword(null,"warn","warn",-436710552),new cljs.core.Keyword(null,"message","message",-406056002),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(err)].join(''),new cljs.core.Keyword(null,"value","value",305978217),null], null); } else { -throw e9600; +throw e5132; } -}}catch (e9599){if((e9599 instanceof Error)){ -var err = e9599; +}}catch (e5131){if((e5131 instanceof Error)){ +var err = e5131; return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"status","status",-1997798413),new cljs.core.Keyword(null,"error","error",-978969032),new cljs.core.Keyword(null,"message","message",-406056002),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(err)].join(''),new cljs.core.Keyword(null,"value","value",305978217),null], null); } else { -throw e9599; +throw e5131; } -}});})(G__9596,G__9596__$1,graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name)) -,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),"0px 0px 0px 5px;",new cljs.core.Keyword(null,"background","background",-863952629),"#ccc",new cljs.core.Keyword(null,"height","height",1025178622),(cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (175))], null),jd_cursor,((function (G__9596,G__9596__$1,graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name){ +}});})(G__5128,G__5128__$1,graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name)) +,new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"margin","margin",-995903681),"0px 0px 0px 5px;",new cljs.core.Keyword(null,"background","background",-863952629),"#ccc",new cljs.core.Keyword(null,"height","height",1025178622),(cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (175))], null),jd_cursor,((function (G__5128,G__5128__$1,graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name){ return (function (new$,old){ if(cljs.core._EQ_.call(null,titanoboa.designer.parse_job_graph.call(null,new$),titanoboa.designer.parse_job_graph.call(null,old))){ return null; } else { return titanoboa.designer.reload_force_BANG_.call(null,cljs.core.deref.call(null,jd_cursor),titanoboa.designer.graph_view,cljs.core.deref.call(null,titanoboa.designer.opened_job)); } -});})(G__9596,G__9596__$1,graph_cursor,jd_cursor,map__9594,map__9594__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name)) +});})(G__5128,G__5128__$1,graph_cursor,jd_cursor,map__5126,map__5126__$1,app_state_atom__$1,graph_view_atom__$1,job_name__$1,graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name)) ,cljs.core.deref.call(null,jd_cursor)])], null)], null); break; default: -throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__9596__$1)].join(''))); +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__5128__$1)].join(''))); } })()], null)], null)], null); }); -;})(graph_minimized,compile_status,map__9591,map__9591__$1,app_state_atom,graph_view_atom,job_name)) +;})(graph_minimized,compile_status,map__5123,map__5123__$1,app_state_atom,graph_view_atom,job_name)) }); titanoboa.designer.head_revision_opened_QMARK_ = (function titanoboa$designer$head_revision_opened_QMARK_(jd_name){ return cljs.core._EQ_.call(null,cljs.core.get.call(null,cljs.core.deref.call(null,titanoboa.designer.job_def_list),jd_name),cljs.core.get_in.call(null,cljs.core.deref.call(null,titanoboa.designer.app_state),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),jd_name,new cljs.core.Keyword(null,"revision","revision",-1350113114)], null))); diff --git a/public/js/out/titanoboa/jobs.js b/public/js/out/titanoboa/jobs.js index 280b67f..ab6d575 100644 --- a/public/js/out/titanoboa/jobs.js +++ b/public/js/out/titanoboa/jobs.js @@ -74,9 +74,9 @@ var decorated__$1 = ((cljs.core._EQ_.call(null,last_idx,cljs.core.last.call(null return decorated__$1; }); titanoboa.jobs.status_label = (function titanoboa$jobs$status_label(status){ -return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.label","span.label",-1921107865),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),(function (){var G__9606 = status; -var G__9606__$1 = (((G__9606 instanceof cljs.core.Keyword))?G__9606.fqn:null); -switch (G__9606__$1) { +return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.label","span.label",-1921107865),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),(function (){var G__5138 = status; +var G__5138__$1 = (((G__5138 instanceof cljs.core.Keyword))?G__5138.fqn:null); +switch (G__5138__$1) { case "running": case "initial": return "label-success"; @@ -99,9 +99,9 @@ default: return "label-primary"; } -})()], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon","span.glyphicon",-1068520797),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),(function (){var G__9607 = status; -var G__9607__$1 = (((G__9607 instanceof cljs.core.Keyword))?G__9607.fqn:null); -switch (G__9607__$1) { +})()], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon","span.glyphicon",-1068520797),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),(function (){var G__5139 = status; +var G__5139__$1 = (((G__5139 instanceof cljs.core.Keyword))?G__5139.fqn:null); +switch (G__5139__$1) { case "running": case "initial": case "retrying": @@ -126,9 +126,9 @@ default: return null; } -})(),new cljs.core.Keyword(null,"style","style",-496642736),(function (){var G__9608 = status; -var G__9608__$1 = (((G__9608 instanceof cljs.core.Keyword))?G__9608.fqn:null); -switch (G__9608__$1) { +})(),new cljs.core.Keyword(null,"style","style",-496642736),(function (){var G__5140 = status; +var G__5140__$1 = (((G__5140 instanceof cljs.core.Keyword))?G__5140.fqn:null); +switch (G__5140__$1) { case "finished": case "completed": return new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"color","color",1011675173),"#5cb85c"], null); @@ -141,8 +141,8 @@ return null; })()], null)], null),[" ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((((status == null))?"N/A":cljs.core.name.call(null,status)))].join('')], null); }); titanoboa.jobs.jd_picker = (function titanoboa$jobs$jd_picker(available_job_defs,job_name_atom){ -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"key","key",-1516042587),"jobs-start-job-modal-jd-picker",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"5px"], null),new cljs.core.Keyword(null,"val","val",128701612),cljs.core.deref.call(null,job_name_atom),new cljs.core.Keyword(null,"on-change","on-change",-732046149),(function (p1__9612_SHARP_){ -return cljs.core.reset_BANG_.call(null,job_name_atom,p1__9612_SHARP_.target.value); +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"key","key",-1516042587),"jobs-start-job-modal-jd-picker",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"5px"], null),new cljs.core.Keyword(null,"val","val",128701612),cljs.core.deref.call(null,job_name_atom),new cljs.core.Keyword(null,"on-change","on-change",-732046149),(function (p1__5144_SHARP_){ +return cljs.core.reset_BANG_.call(null,job_name_atom,p1__5144_SHARP_.target.value); }),new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Select Job definition",new cljs.core.Keyword(null,"title","title",636505583),"Select Job definition"], null),titanoboa.designer.select_options.call(null,cljs.core.keys.call(null,available_job_defs),"jobdef")], null); }); titanoboa.jobs.rev_picker = (function titanoboa$jobs$rev_picker(available_job_defs,job_name,revision_atom,temp_props_atom){ @@ -150,14 +150,14 @@ return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMP cljs.core.reset_BANG_.call(null,revision_atom,e.target.value); if(cljs.core.not.call(null,cljs.core.get_in.call(null,cljs.core.deref.call(null,temp_props_atom),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name,cljs.core.deref.call(null,revision_atom),new cljs.core.Keyword(null,"properties","properties",685819552)], null)))){ -return titanoboa.api.get_def.call(null,job_name,cljs.core.deref.call(null,revision_atom),(function (p1__9613_SHARP_){ -return cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name,cljs.core.deref.call(null,revision_atom),new cljs.core.Keyword(null,"properties","properties",685819552)], null),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(p1__9613_SHARP_)); +return titanoboa.api.get_def.call(null,job_name,cljs.core.deref.call(null,revision_atom),(function (p1__5145_SHARP_){ +return cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [job_name,cljs.core.deref.call(null,revision_atom),new cljs.core.Keyword(null,"properties","properties",685819552)], null),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(p1__5145_SHARP_)); })); } else { return null; } -}),new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Select Job definition's revision",new cljs.core.Keyword(null,"title","title",636505583),"Select Job definition's revision"], null),titanoboa.designer.select_options.call(null,cljs.core.sort.call(null,(function (p1__9615_SHARP_,p2__9614_SHARP_){ -return cljs.core.compare.call(null,cljs.core.first.call(null,p2__9614_SHARP_),cljs.core.first.call(null,p1__9615_SHARP_)); +}),new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Select Job definition's revision",new cljs.core.Keyword(null,"title","title",636505583),"Select Job definition's revision"], null),titanoboa.designer.select_options.call(null,cljs.core.sort.call(null,(function (p1__5147_SHARP_,p2__5146_SHARP_){ +return cljs.core.compare.call(null,cljs.core.first.call(null,p2__5146_SHARP_),cljs.core.first.call(null,p1__5147_SHARP_)); }),cljs.core.map.call(null,(function (i){ return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.get.call(null,i,(0)),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-subtext","data-subtext",1471501261),cljs.core.get.call(null,i,(1))], null)], null); }),cljs.core.get.call(null,available_job_defs,job_name))),"rev")], null); @@ -189,8 +189,8 @@ if(cljs.core.truth_(available_job_defs__$1)){ return titanoboa.designer.jquery.call(null,"#jobs-start-job-modal").modal(); } else { return titanoboa.api.list_all_defs.call(null,((function (temp_props_atom,editing_key,revision,selected_system,job_name){ -return (function (p1__9616_SHARP_){ -cljs.core.reset_BANG_.call(null,titanoboa.jobs.available_job_defs_atom,p1__9616_SHARP_); +return (function (p1__5148_SHARP_){ +cljs.core.reset_BANG_.call(null,titanoboa.jobs.available_job_defs_atom,p1__5148_SHARP_); return titanoboa.designer.jquery.call(null,"#jobs-start-job-modal").modal(); });})(temp_props_atom,editing_key,revision,selected_system,job_name)) @@ -200,33 +200,33 @@ return titanoboa.designer.jquery.call(null,"#jobs-start-job-modal").modal(); ], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-play","span.glyphicon.glyphicon-play",-1871300442),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"right","right",-452581833),"3"], null)], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.btn.btn-default.btn-ico-refresh","button.btn.btn-default.btn-ico-refresh",478794874),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"key","key",-1516042587),"jobs-refresh-btn",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (temp_props_atom,editing_key,revision,selected_system,job_name){ return (function (e){ titanoboa.api.list_all_defs.call(null,((function (temp_props_atom,editing_key,revision,selected_system,job_name){ -return (function (p1__9617_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.jobs.available_job_defs_atom,p1__9617_SHARP_); +return (function (p1__5149_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.jobs.available_job_defs_atom,p1__5149_SHARP_); });})(temp_props_atom,editing_key,revision,selected_system,job_name)) ); -var G__9622 = cljs.core.deref.call(null,titanoboa.jobs.active_tab); -var G__9622__$1 = (((G__9622 instanceof cljs.core.Keyword))?G__9622.fqn:null); -switch (G__9622__$1) { +var G__5154 = cljs.core.deref.call(null,titanoboa.jobs.active_tab); +var G__5154__$1 = (((G__5154 instanceof cljs.core.Keyword))?G__5154.fqn:null); +switch (G__5154__$1) { case "recent": -return titanoboa.api.list_running_jobs.call(null,((function (G__9622,G__9622__$1,temp_props_atom,editing_key,revision,selected_system,job_name){ -return (function (p1__9618_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.jobs.jobs_snapshot,cljs.core.merge_with.call(null,cljs.core.merge,titanoboa.jobs.get_opened_snapshots.call(null),p1__9618_SHARP_)); -});})(G__9622,G__9622__$1,temp_props_atom,editing_key,revision,selected_system,job_name)) +return titanoboa.api.list_running_jobs.call(null,((function (G__5154,G__5154__$1,temp_props_atom,editing_key,revision,selected_system,job_name){ +return (function (p1__5150_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.jobs.jobs_snapshot,cljs.core.merge_with.call(null,cljs.core.merge,titanoboa.jobs.get_opened_snapshots.call(null),p1__5150_SHARP_)); +});})(G__5154,G__5154__$1,temp_props_atom,editing_key,revision,selected_system,job_name)) ); break; case "archived": -return titanoboa.api.list_archived_jobs.call(null,new cljs.core.Keyword(null,"limit","limit",-1355822363).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.jobs.archived_jobs_list)),new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.jobs.archived_jobs_list)),cljs.core.deref.call(null,titanoboa.jobs.sort_order),((function (G__9622,G__9622__$1,temp_props_atom,editing_key,revision,selected_system,job_name){ -return (function (p1__9619_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.jobs.archived_jobs_list,p1__9619_SHARP_); -});})(G__9622,G__9622__$1,temp_props_atom,editing_key,revision,selected_system,job_name)) -,((function (G__9622,G__9622__$1,temp_props_atom,editing_key,revision,selected_system,job_name){ +return titanoboa.api.list_archived_jobs.call(null,new cljs.core.Keyword(null,"limit","limit",-1355822363).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.jobs.archived_jobs_list)),new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.jobs.archived_jobs_list)),cljs.core.deref.call(null,titanoboa.jobs.sort_order),((function (G__5154,G__5154__$1,temp_props_atom,editing_key,revision,selected_system,job_name){ +return (function (p1__5151_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.jobs.archived_jobs_list,p1__5151_SHARP_); +});})(G__5154,G__5154__$1,temp_props_atom,editing_key,revision,selected_system,job_name)) +,((function (G__5154,G__5154__$1,temp_props_atom,editing_key,revision,selected_system,job_name){ return (function (){ cljs.core.reset_BANG_.call(null,titanoboa.jobs.archive_disabled_QMARK_,true); return cljs.core.reset_BANG_.call(null,titanoboa.jobs.active_tab,new cljs.core.Keyword(null,"recent","recent",449517715)); -});})(G__9622,G__9622__$1,temp_props_atom,editing_key,revision,selected_system,job_name)) +});})(G__5154,G__5154__$1,temp_props_atom,editing_key,revision,selected_system,job_name)) ); break; @@ -236,14 +236,14 @@ return null; } });})(temp_props_atom,editing_key,revision,selected_system,job_name)) ,new cljs.core.Keyword(null,"title","title",636505583),"Refresh"], null),""], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal","div.modal",-610985484),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"id","id",-1388402092),"jobs-start-job-modal",new cljs.core.Keyword(null,"key","key",-1516042587),"jobs-start-job-modal",new cljs.core.Keyword(null,"role","role",-736691072),"dialog",new cljs.core.Keyword(null,"aria-labelledby","aria-labelledby",1817118667),"myModalLabel"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-dialog","div.modal-dialog",-237012986),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"id","id",-1388402092),"jobs-start-job-modal-dialog",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"top","top",-1856271961),"10%"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-content","div.modal-content",-83470844),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"id","id",-1388402092),"jobs-start-job-modal-content"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-header","div.modal-header",-799180845),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button.close","button.close",-1545560743),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"data-dismiss","data-dismiss",-2004576016),"modal"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.glyphicon.glyphicon-remove","span.glyphicon.glyphicon-remove",-176133890)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"h4","h4",2004862993),"Start a new job"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.modal-body","div.modal-body",-2141892968),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),"jobs-jd-picker-div",new cljs.core.Keyword(null,"class","class",-2030961996),"form-group"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),"Job Definition"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.jobs.jd_picker,available_job_defs__$1,job_name], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"key","key",-1516042587),"jobs-rev-picker-div",new cljs.core.Keyword(null,"class","class",-2030961996),"form-group"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),"Revision Number"], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.jobs.rev_picker,available_job_defs__$1,cljs.core.deref.call(null,job_name),revision,temp_props_atom], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),"form-group"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"src","src",-1651076051),"assets/svg/system.svg",new cljs.core.Keyword(null,"height","height",1025178622),(48)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470)," System"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"key","key",-1516042587),"jobs-start-job-modal-system-picker",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),"5px"], null),new cljs.core.Keyword(null,"val","val",128701612),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,selected_system))].join(''),new cljs.core.Keyword(null,"on-change","on-change",-732046149),((function (temp_props_atom,editing_key,revision,selected_system,job_name){ -return (function (p1__9620_SHARP_){ -return cljs.core.reset_BANG_.call(null,selected_system,titanoboa.util.s__GT_key.call(null,p1__9620_SHARP_.target.value)); +return (function (p1__5152_SHARP_){ +return cljs.core.reset_BANG_.call(null,selected_system,titanoboa.util.s__GT_key.call(null,p1__5152_SHARP_.target.value)); });})(temp_props_atom,editing_key,revision,selected_system,job_name)) ,new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),"Select System",new cljs.core.Keyword(null,"title","title",636505583),"Select System"], null),titanoboa.designer.select_options.call(null,cljs.core.map.call(null,cljs.core.str,cljs.core.keys.call(null,cljs.core.deref.call(null,titanoboa.systems.systems_state))),"systems-running")], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"20px"], null),new cljs.core.Keyword(null,"class","class",-2030961996),"panel panel-default editor-field"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.new_props_panel_heading,"Job Properties",((function (temp_props_atom,editing_key,revision,selected_system,job_name){ return (function (){ return titanoboa.api.get_def.call(null,cljs.core.deref.call(null,job_name),cljs.core.deref.call(null,revision),((function (temp_props_atom,editing_key,revision,selected_system,job_name){ -return (function (p1__9621_SHARP_){ -return cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,job_name),cljs.core.deref.call(null,revision),new cljs.core.Keyword(null,"properties","properties",685819552)], null),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(p1__9621_SHARP_)); +return (function (p1__5153_SHARP_){ +return cljs.core.swap_BANG_.call(null,temp_props_atom,cljs.core.assoc_in,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref.call(null,job_name),cljs.core.deref.call(null,revision),new cljs.core.Keyword(null,"properties","properties",685819552)], null),new cljs.core.Keyword(null,"properties","properties",685819552).cljs$core$IFn$_invoke$arity$1(p1__5153_SHARP_)); });})(temp_props_atom,editing_key,revision,selected_system,job_name)) ); });})(temp_props_atom,editing_key,revision,selected_system,job_name)) @@ -269,30 +269,30 @@ return titanoboa.designer.jquery.call(null,"#jobs-start-job-modal-dialog").dragg });})(temp_props_atom,editing_key,revision,selected_system,job_name)) ], null)); }); -titanoboa.jobs.exception_details_at = (function titanoboa$jobs$exception_details_at(p__9624){ -var vec__9625 = p__9624; -var clazz = cljs.core.nth.call(null,vec__9625,(0),null); -var method = cljs.core.nth.call(null,vec__9625,(1),null); -var file = cljs.core.nth.call(null,vec__9625,(2),null); -var line = cljs.core.nth.call(null,vec__9625,(3),null); +titanoboa.jobs.exception_details_at = (function titanoboa$jobs$exception_details_at(p__5156){ +var vec__5157 = p__5156; +var clazz = cljs.core.nth.call(null,vec__5157,(0),null); +var method = cljs.core.nth.call(null,vec__5157,(1),null); +var file = cljs.core.nth.call(null,vec__5157,(2),null); +var line = cljs.core.nth.call(null,vec__5157,(3),null); return new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"50px"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.label.label-info","span.label.label-info",-1377012770),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(clazz)," "].join('')], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.label.label-default","span.label.label-default",-277664003),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(method)," "].join('')], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.label.label-info","span.label.label-info",-1377012770),file], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.label.label-default","span.label.label-default",-277664003),[" line: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(line)].join('')], null)], null); }); -titanoboa.jobs.exception_details_via = (function titanoboa$jobs$exception_details_via(p__9628){ -var map__9629 = p__9628; -var map__9629__$1 = ((((!((map__9629 == null)))?(((((map__9629.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9629.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9629):map__9629); -var via = map__9629__$1; -var type = cljs.core.get.call(null,map__9629__$1,new cljs.core.Keyword(null,"type","type",1174270348)); -var message = cljs.core.get.call(null,map__9629__$1,new cljs.core.Keyword(null,"message","message",-406056002)); -var at = cljs.core.get.call(null,map__9629__$1,new cljs.core.Keyword(null,"at","at",1476951349)); +titanoboa.jobs.exception_details_via = (function titanoboa$jobs$exception_details_via(p__5160){ +var map__5161 = p__5160; +var map__5161__$1 = ((((!((map__5161 == null)))?(((((map__5161.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5161.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5161):map__5161); +var via = map__5161__$1; +var type = cljs.core.get.call(null,map__5161__$1,new cljs.core.Keyword(null,"type","type",1174270348)); +var message = cljs.core.get.call(null,map__5161__$1,new cljs.core.Keyword(null,"message","message",-406056002)); +var at = cljs.core.get.call(null,map__5161__$1,new cljs.core.Keyword(null,"at","at",1476951349)); return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.label.label-warning","span.label.label-warning",-681742177),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(type)].join('')], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"10px"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),message], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.jobs.exception_details_at,at], null)], null); }); -titanoboa.jobs.exception_details = (function titanoboa$jobs$exception_details(p__9631,step_id){ -var map__9632 = p__9631; -var map__9632__$1 = ((((!((map__9632 == null)))?(((((map__9632.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9632.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9632):map__9632); -var exception_map = map__9632__$1; -var cause = cljs.core.get.call(null,map__9632__$1,new cljs.core.Keyword(null,"cause","cause",231901252)); -var via = cljs.core.get.call(null,map__9632__$1,new cljs.core.Keyword(null,"via","via",-1904457336)); -var trace = cljs.core.get.call(null,map__9632__$1,new cljs.core.Keyword(null,"trace","trace",-1082747415)); +titanoboa.jobs.exception_details = (function titanoboa$jobs$exception_details(p__5163,step_id){ +var map__5164 = p__5163; +var map__5164__$1 = ((((!((map__5164 == null)))?(((((map__5164.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5164.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5164):map__5164); +var exception_map = map__5164__$1; +var cause = cljs.core.get.call(null,map__5164__$1,new cljs.core.Keyword(null,"cause","cause",231901252)); +var via = cljs.core.get.call(null,map__5164__$1,new cljs.core.Keyword(null,"via","via",-1904457336)); +var trace = cljs.core.get.call(null,map__5164__$1,new cljs.core.Keyword(null,"trace","trace",-1082747415)); return new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.label.label-danger","span.label.label-danger",-1648913628),"Exception in step ",step_id], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"br","br",934104792)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.label.label-primary","span.label.label-primary",120832457),"cause:"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"padding-left","padding-left",-1180879053),"10px",new cljs.core.Keyword(null,"color","color",1011675173),"red"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),cause], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),cljs.core.sequence.call(null,cljs.core.map.call(null,titanoboa.jobs.exception_details_via,via))], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.label.label-primary","span.label.label-primary",120832457),"stack trace:"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),cljs.core.sequence.call(null,cljs.core.map.call(null,titanoboa.jobs.exception_details_at,trace))], null)], null); }); titanoboa.jobs.job_details = (function titanoboa$jobs$job_details(opened_job_id){ @@ -302,9 +302,9 @@ return (function (opened_job_id__$1){ var graph_cursor = reagent.core.cursor.call(null,titanoboa.jobs.graph_view,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [opened_job_id__$1], null)); var jd_cursor = cljs.core.atom.call(null,titanoboa.jobs.get_opened_jd.call(null)); var job_cursor = titanoboa.jobs.get_opened_job.call(null); -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.jobs-tab.col","div.jobs-tab.col",177565585),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.form-horizontal","div.form-horizontal",-2097357544),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),"5px 0px 0px 0px"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label.control-label.col-md-2","label.control-label.col-md-2",-971481496),"UUID: "], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.col-md-12.form-control-static","div.col-md-12.form-control-static",557076171),opened_job_id__$1], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label.control-label.col-md-2","label.control-label.col-md-2",-971481496),"Status: "], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.col-md-8.form-control-static","div.col-md-8.form-control-static",778155070),titanoboa.jobs.status_label.call(null,new cljs.core.Keyword(null,"state","state",-1988618099).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,job_cursor)))], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.jobs-tab.jobs-details.with-vtabs","div.jobs-tab.jobs-details.with-vtabs",-817944871),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.content","div.content",-298042649),(function (){var G__9634 = cljs.core.deref.call(null,tab_selected); -var G__9634__$1 = (((G__9634 instanceof cljs.core.Keyword))?G__9634.fqn:null); -switch (G__9634__$1) { +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.jobs-tab.col","div.jobs-tab.col",177565585),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.form-horizontal","div.form-horizontal",-2097357544),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),"5px 0px 0px 0px"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label.control-label.col-md-2","label.control-label.col-md-2",-971481496),"UUID: "], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.col-md-12.form-control-static","div.col-md-12.form-control-static",557076171),opened_job_id__$1], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label.control-label.col-md-2","label.control-label.col-md-2",-971481496),"Status: "], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.col-md-8.form-control-static","div.col-md-8.form-control-static",778155070),titanoboa.jobs.status_label.call(null,new cljs.core.Keyword(null,"state","state",-1988618099).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,job_cursor)))], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.jobs-tab.jobs-details.with-vtabs","div.jobs-tab.jobs-details.with-vtabs",-817944871),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.content","div.content",-298042649),(function (){var G__5166 = cljs.core.deref.call(null,tab_selected); +var G__5166__$1 = (((G__5166 instanceof cljs.core.Keyword))?G__5166.fqn:null); +switch (G__5166__$1) { case "visualization": return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.jobs-tab","div.jobs-tab",-149550037),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"margin","margin",-995903681),"10px 5px 0px 0px"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.job_graph_visualization,new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor,new cljs.core.Keyword(null,"jd-cursor","jd-cursor",-311232011),jd_cursor,new cljs.core.Keyword(null,"history-map","history-map",1885369238),titanoboa.util.keyify.call(null,new cljs.core.Keyword(null,"id","id",-1388402092),new cljs.core.Keyword(null,"history","history",-247395220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,job_cursor))),new cljs.core.Keyword(null,"job-metadata","job-metadata",-1874941597),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"start","start",-355208981),new cljs.core.Keyword(null,"start","start",-355208981).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,job_cursor))], null)], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.button_bar_readonly,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"graph-cursor","graph-cursor",-662080825),graph_cursor], null)], null)], null); @@ -314,11 +314,11 @@ return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMP break; case "logs": -return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"table.table.table-striped.table-hover","table.table.table-striped.table-hover",726875574),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tbody","tbody",-80678300),cljs.core.sequence.call(null,cljs.core.map.call(null,((function (G__9634,G__9634__$1,graph_cursor,jd_cursor,job_cursor,tab_selected){ +return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"table.table.table-striped.table-hover","table.table.table-striped.table-hover",726875574),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tbody","tbody",-80678300),cljs.core.sequence.call(null,cljs.core.map.call(null,((function (G__5166,G__5166__$1,graph_cursor,jd_cursor,job_cursor,tab_selected){ return (function (i){ return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),(cljs.core.truth_(new cljs.core.Keyword(null,"message","message",-406056002).cljs$core$IFn$_invoke$arity$1(i))?new cljs.core.Keyword(null,"message","message",-406056002).cljs$core$IFn$_invoke$arity$1(i):new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.jobs.exception_details,new cljs.core.Keyword(null,"exception","exception",-335277064).cljs$core$IFn$_invoke$arity$1(i),new cljs.core.Keyword(null,"id","id",-1388402092).cljs$core$IFn$_invoke$arity$1(i)], null))], null)], null); -});})(G__9634,G__9634__$1,graph_cursor,jd_cursor,job_cursor,tab_selected)) -,cljs.core.filter.call(null,((function (G__9634,G__9634__$1,graph_cursor,jd_cursor,job_cursor,tab_selected){ +});})(G__5166,G__5166__$1,graph_cursor,jd_cursor,job_cursor,tab_selected)) +,cljs.core.filter.call(null,((function (G__5166,G__5166__$1,graph_cursor,jd_cursor,job_cursor,tab_selected){ return (function (i){ var or__3922__auto__ = new cljs.core.Keyword(null,"message","message",-406056002).cljs$core$IFn$_invoke$arity$1(i); if(cljs.core.truth_(or__3922__auto__)){ @@ -326,12 +326,12 @@ return or__3922__auto__; } else { return new cljs.core.Keyword(null,"exception","exception",-335277064).cljs$core$IFn$_invoke$arity$1(i); } -});})(G__9634,G__9634__$1,graph_cursor,jd_cursor,job_cursor,tab_selected)) +});})(G__5166,G__5166__$1,graph_cursor,jd_cursor,job_cursor,tab_selected)) ,new cljs.core.Keyword(null,"history","history",-247395220).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,job_cursor)))))], null)], null)], null); break; default: -throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__9634__$1)].join(''))); +throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(G__5166__$1)].join(''))); } })()], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul.nav.nav-tabs.tabs-right.vertical-text","ul.nav.nav-tabs.tabs-right.vertical-text",-1258873543),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"height","height",1025178622),"700"], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,cljs.core.deref.call(null,tab_selected),new cljs.core.Keyword(null,"visualization","visualization",-679699210)))?"active":null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (graph_cursor,jd_cursor,job_cursor,tab_selected){ @@ -351,33 +351,33 @@ return cljs.core.reset_BANG_.call(null,tab_selected,new cljs.core.Keyword(null," ;})(tab_selected)) }); titanoboa.jobs.add_subjobs_as_steps = (function titanoboa$jobs$add_subjobs_as_steps(steps,reduce_steps){ -return cljs.core.merge.call(null,steps,titanoboa.util.keyify.call(null,new cljs.core.Keyword(null,"id","id",-1388402092),cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,cljs.core.mapcat.call(null,cljs.core.identity,cljs.core.mapv.call(null,(function (p__9637){ -var vec__9638 = p__9637; -var reduce_step_id = cljs.core.nth.call(null,vec__9638,(0),null); -var map__9641 = cljs.core.nth.call(null,vec__9638,(1),null); -var map__9641__$1 = ((((!((map__9641 == null)))?(((((map__9641.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__9641.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__9641):map__9641); -var map_step_id = cljs.core.get.call(null,map__9641__$1,new cljs.core.Keyword(null,"map-step-id","map-step-id",1338103340)); -var map_step_id_tuples = cljs.core.get.call(null,map__9641__$1,new cljs.core.Keyword(null,"map-step-id-tuples","map-step-id-tuples",1877757858)); +return cljs.core.merge.call(null,steps,titanoboa.util.keyify.call(null,new cljs.core.Keyword(null,"id","id",-1388402092),cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,cljs.core.mapcat.call(null,cljs.core.identity,cljs.core.mapv.call(null,(function (p__5169){ +var vec__5170 = p__5169; +var reduce_step_id = cljs.core.nth.call(null,vec__5170,(0),null); +var map__5173 = cljs.core.nth.call(null,vec__5170,(1),null); +var map__5173__$1 = ((((!((map__5173 == null)))?(((((map__5173.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__5173.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__5173):map__5173); +var map_step_id = cljs.core.get.call(null,map__5173__$1,new cljs.core.Keyword(null,"map-step-id","map-step-id",1338103340)); +var map_step_id_tuples = cljs.core.get.call(null,map__5173__$1,new cljs.core.Keyword(null,"map-step-id-tuples","map-step-id-tuples",1877757858)); var map_step = cljs.core.get.call(null,steps,map_step_id); -var updated_map_step = cljs.core.update_in.call(null,map_step,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"next","next",-117701485)], null),((function (map_step,vec__9638,reduce_step_id,map__9641,map__9641__$1,map_step_id,map_step_id_tuples){ -return (function (p1__9636_SHARP_){ -return cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,cljs.core.concat.call(null,p1__9636_SHARP_,cljs.core.mapv.call(null,((function (map_step,vec__9638,reduce_step_id,map__9641,map__9641__$1,map_step_id,map_step_id_tuples){ -return (function (p__9643){ -var vec__9644 = p__9643; -var idx = cljs.core.nth.call(null,vec__9644,(0),null); -var uuid = cljs.core.nth.call(null,vec__9644,(1),null); +var updated_map_step = cljs.core.update_in.call(null,map_step,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"next","next",-117701485)], null),((function (map_step,vec__5170,reduce_step_id,map__5173,map__5173__$1,map_step_id,map_step_id_tuples){ +return (function (p1__5168_SHARP_){ +return cljs.core.into.call(null,cljs.core.PersistentVector.EMPTY,cljs.core.concat.call(null,p1__5168_SHARP_,cljs.core.mapv.call(null,((function (map_step,vec__5170,reduce_step_id,map__5173,map__5173__$1,map_step_id,map_step_id_tuples){ +return (function (p__5175){ +var vec__5176 = p__5175; +var idx = cljs.core.nth.call(null,vec__5176,(0),null); +var uuid = cljs.core.nth.call(null,vec__5176,(1),null); return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["*",uuid], null); -});})(map_step,vec__9638,reduce_step_id,map__9641,map__9641__$1,map_step_id,map_step_id_tuples)) +});})(map_step,vec__5170,reduce_step_id,map__5173,map__5173__$1,map_step_id,map_step_id_tuples)) ,map_step_id_tuples))); -});})(map_step,vec__9638,reduce_step_id,map__9641,map__9641__$1,map_step_id,map_step_id_tuples)) +});})(map_step,vec__5170,reduce_step_id,map__5173,map__5173__$1,map_step_id,map_step_id_tuples)) ); -var new_job_steps = cljs.core.mapv.call(null,((function (map_step,updated_map_step,vec__9638,reduce_step_id,map__9641,map__9641__$1,map_step_id,map_step_id_tuples){ -return (function (p__9647){ -var vec__9648 = p__9647; -var idx = cljs.core.nth.call(null,vec__9648,(0),null); -var uuid = cljs.core.nth.call(null,vec__9648,(1),null); +var new_job_steps = cljs.core.mapv.call(null,((function (map_step,updated_map_step,vec__5170,reduce_step_id,map__5173,map__5173__$1,map_step_id,map_step_id_tuples){ +return (function (p__5179){ +var vec__5180 = p__5179; +var idx = cljs.core.nth.call(null,vec__5180,(0),null); +var uuid = cljs.core.nth.call(null,vec__5180,(1),null); return new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"id","id",-1388402092),uuid,new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"job","job",850873087),new cljs.core.Keyword(null,"next","next",-117701485),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["*",reduce_step_id], null)], null)], null); -});})(map_step,updated_map_step,vec__9638,reduce_step_id,map__9641,map__9641__$1,map_step_id,map_step_id_tuples)) +});})(map_step,updated_map_step,vec__5170,reduce_step_id,map__5173,map__5173__$1,map_step_id,map_step_id_tuples)) ,map_step_id_tuples); return cljs.core.conj.call(null,new_job_steps,updated_map_step); }),reduce_steps))))); @@ -445,9 +445,9 @@ return (function (){ return cljs.core.reset_BANG_.call(null,titanoboa.jobs.active_tab,new cljs.core.Keyword(null,"archived","archived",1018596768)); });})(sys_selected)) ], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),"Archived"], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"class","class",-2030961996),"active",new cljs.core.Keyword(null,"role","role",-736691072),"presentation",new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"float","float",-1732389368),"right"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.jobs.run_job_btn,cljs.core.deref.call(null,titanoboa.jobs.available_job_defs_atom)], null)], null)], null),((cljs.core._EQ_.call(null,cljs.core.deref.call(null,titanoboa.jobs.active_tab),new cljs.core.Keyword(null,"recent","recent",449517715)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.jobs-tab.jobs-listings","div.jobs-tab.jobs-listings",259587531),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.form-group.row","div.form-group.row",448197899),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"label.col-sm-3.col-form-label","label.col-sm-3.col-form-label",480007261),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span.zmdi.zmdi-puzzle-piece","span.zmdi.zmdi-puzzle-piece",-154967044),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"18px"], null)], null)," "], null)," System:"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.col-sm-18","div.col-sm-18",-1326919809),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.designer.select_picker,cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"data-live-search","data-live-search",-181231710),new cljs.core.Keyword(null,"key","key",-1516042587),new cljs.core.Keyword(null,"placeholder","placeholder",-104873083),new cljs.core.Keyword(null,"autoComplete","autoComplete",-219243415),new cljs.core.Keyword(null,"value","value",305978217),new cljs.core.Keyword(null,"val","val",128701612),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"title","title",636505583),new cljs.core.Keyword(null,"id","id",-1388402092),new cljs.core.Keyword(null,"class","class",-2030961996),new cljs.core.Keyword(null,"on-change","on-change",-732046149)],[true,"recent-jobs-system-selector","Select system","off",[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,sys_selected))].join(''),[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,sys_selected))].join(''),"text","Select system","recent-jobs-system-selector","form-control",((function (sys_selected){ -return (function (p1__9651_SHARP_){ -if(cljs.core.not_EQ_.call(null,p1__9651_SHARP_.target.value,"")){ -var sys = titanoboa.util.s__GT_key.call(null,p1__9651_SHARP_.target.value); +return (function (p1__5183_SHARP_){ +if(cljs.core.not_EQ_.call(null,p1__5183_SHARP_.target.value,"")){ +var sys = titanoboa.util.s__GT_key.call(null,p1__5183_SHARP_.target.value); return cljs.core.reset_BANG_.call(null,sys_selected,sys); } else { return null; @@ -458,8 +458,8 @@ return (function (pg){ return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,cljs.core.quot.call(null,new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.jobs.archived_jobs_list)),titanoboa.jobs.archive_page_size),pg))?"active":null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"href","href",-793805698),"#",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((typeof pg === 'number')?((function (sys_selected){ return (function (e){ return titanoboa.api.list_archived_jobs.call(null,titanoboa.jobs.archive_page_size,(pg * titanoboa.jobs.archive_page_size),cljs.core.deref.call(null,titanoboa.jobs.sort_order),((function (sys_selected){ -return (function (p1__9652_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.jobs.archived_jobs_list,p1__9652_SHARP_); +return (function (p1__5184_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.jobs.archived_jobs_list,p1__5184_SHARP_); });})(sys_selected)) ,((function (sys_selected){ return (function (){ @@ -476,34 +476,34 @@ return cljs.core.List.EMPTY; )], null),((typeof pg === 'number')?[cljs.core.str.cljs$core$IFn$_invoke$arity$1((pg + (1)))].join(''):pg)], null)], null); });})(sys_selected)) ,titanoboa.jobs.pagination_range.call(null,cljs.core.quot.call(null,new cljs.core.Keyword(null,"offset","offset",296498311).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.jobs.archived_jobs_list)),titanoboa.jobs.archive_page_size),Math.ceil((new cljs.core.Keyword(null,"totalcount","totalcount",-227730219).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.jobs.archived_jobs_list)) / new cljs.core.Keyword(null,"limit","limit",-1355822363).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.jobs.archived_jobs_list)))),(5))))], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.panel.panel-default","div.panel.panel-default",-1039051133),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"overflow-y","overflow-y",-1436589285),"scroll",new cljs.core.Keyword(null,"height","height",1025178622),(cljs.core.deref.call(null,titanoboa.designer.win_height_atom) - (195))], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"table.table.table-striped.table-hover","table.table.table-striped.table-hover",726875574),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"thead","thead",-291875296),new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Job ID"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Workflow"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Status"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Started"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Duration"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Last Step"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Step Status"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"th","th",-545608566),"Action"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tbody","tbody",-80678300),cljs.core.sequence.call(null,titanoboa.jobs.render_rows_trdcr.call(null,titanoboa.jobs.load_archived_job),new cljs.core.Keyword(null,"values","values",372645556).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.jobs.archived_jobs_list)))], null)], null)], null)], null)], null))], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div.jobs-tab.col.jobs-details","div.jobs-tab.col.jobs-details",-62639376),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul.nav.nav-tabs","ul.nav.nav-tabs",1865557319),cljs.core.doall.call(null,cljs.core.map.call(null,((function (sys_selected){ -return (function (p__9653){ -var vec__9654 = p__9653; -var k = cljs.core.nth.call(null,vec__9654,(0),null); -var v = cljs.core.nth.call(null,vec__9654,(1),null); -return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,k,cljs.core.deref.call(null,titanoboa.jobs.opened_job)))?"active":null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (vec__9654,k,v,sys_selected){ +return (function (p__5185){ +var vec__5186 = p__5185; +var k = cljs.core.nth.call(null,vec__5186,(0),null); +var v = cljs.core.nth.call(null,vec__5186,(1),null); +return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"class","class",-2030961996),((cljs.core._EQ_.call(null,k,cljs.core.deref.call(null,titanoboa.jobs.opened_job)))?"active":null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (vec__5186,k,v,sys_selected){ return (function (){ return cljs.core.reset_BANG_.call(null,titanoboa.jobs.opened_job,k); -});})(vec__9654,k,v,sys_selected)) -], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),titanoboa.jobs.shorten_uuid.call(null,k)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"br","br",934104792)], null),cljs.core.get_in.call(null,v,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"job-def","job-def",-7819356),new cljs.core.Keyword(null,"name","name",1843675177)], null))], null),((cljs.core._EQ_.call(null,k,cljs.core.deref.call(null,titanoboa.jobs.opened_job)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"close",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"Close",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (vec__9654,k,v,sys_selected){ +});})(vec__5186,k,v,sys_selected)) +], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),titanoboa.jobs.shorten_uuid.call(null,k)], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"br","br",934104792)], null),cljs.core.get_in.call(null,v,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"job-def","job-def",-7819356),new cljs.core.Keyword(null,"name","name",1843675177)], null))], null),((cljs.core._EQ_.call(null,k,cljs.core.deref.call(null,titanoboa.jobs.opened_job)))?new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"button","button",1456579943),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"class","class",-2030961996),"close",new cljs.core.Keyword(null,"type","type",1174270348),"button",new cljs.core.Keyword(null,"title","title",636505583),"Close",new cljs.core.Keyword(null,"on-click","on-click",1632826543),((function (vec__5186,k,v,sys_selected){ return (function (){ return titanoboa.designer.stop_force_BANG_.call(null,titanoboa.jobs.graph_view,k).call(null,cljs.core.reset_BANG_.call(null,titanoboa.jobs.opened_job,null),cljs.core.swap_BANG_.call(null,titanoboa.jobs.opened_job_tabs,cljs.core.dissoc,k),cljs.core.reset_BANG_.call(null,titanoboa.jobs.opened_job,cljs.core.first.call(null,cljs.core.keys.call(null,cljs.core.deref.call(null,titanoboa.jobs.opened_job_tabs)))),((cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"source","source",-433931539).cljs$core$IFn$_invoke$arity$1(v),new cljs.core.Keyword(null,"archived","archived",1018596768)))?cljs.core.swap_BANG_.call(null,titanoboa.jobs.archived_jobs_loaded,cljs.core.dissoc,k):null),cljs.core.swap_BANG_.call(null,titanoboa.jobs.graph_view,cljs.core.dissoc,k)); -});})(vec__9654,k,v,sys_selected)) +});})(vec__5186,k,v,sys_selected)) ], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"span","span",1394872991),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"class","class",-2030961996),"glyphicon glyphicon-remove",new cljs.core.Keyword(null,"aria-hidden","aria-hidden",399337029),"true"], null)], null)], null):null)], null)], null); });})(sys_selected)) ,cljs.core.deref.call(null,titanoboa.jobs.opened_job_tabs)))], null),(cljs.core.truth_(cljs.core.deref.call(null,titanoboa.jobs.opened_job))?new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [titanoboa.jobs.job_details,cljs.core.deref.call(null,titanoboa.jobs.opened_job)], null):null)], null)], null); }); ;})(sys_selected)) }); -titanoboa.api.list_running_jobs.call(null,(function (p1__9657_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.jobs.jobs_snapshot,cljs.core.merge_with.call(null,cljs.core.merge,titanoboa.jobs.get_opened_snapshots.call(null),p1__9657_SHARP_)); +titanoboa.api.list_running_jobs.call(null,(function (p1__5189_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.jobs.jobs_snapshot,cljs.core.merge_with.call(null,cljs.core.merge,titanoboa.jobs.get_opened_snapshots.call(null),p1__5189_SHARP_)); })); -titanoboa.api.list_archived_jobs.call(null,titanoboa.jobs.archive_page_size,(0),cljs.core.deref.call(null,titanoboa.jobs.sort_order),(function (p1__9658_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.jobs.archived_jobs_list,p1__9658_SHARP_); +titanoboa.api.list_archived_jobs.call(null,titanoboa.jobs.archive_page_size,(0),cljs.core.deref.call(null,titanoboa.jobs.sort_order),(function (p1__5190_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.jobs.archived_jobs_list,p1__5190_SHARP_); }),(function (){ cljs.core.reset_BANG_.call(null,titanoboa.jobs.archive_disabled_QMARK_,true); return cljs.core.reset_BANG_.call(null,titanoboa.jobs.active_tab,new cljs.core.Keyword(null,"recent","recent",449517715)); })); -titanoboa.api.list_all_defs.call(null,(function (p1__9659_SHARP_){ -return cljs.core.reset_BANG_.call(null,titanoboa.jobs.available_job_defs_atom,p1__9659_SHARP_); +titanoboa.api.list_all_defs.call(null,(function (p1__5191_SHARP_){ +return cljs.core.reset_BANG_.call(null,titanoboa.jobs.available_job_defs_atom,p1__5191_SHARP_); })); diff --git a/public/js/titanoboa.js b/public/js/titanoboa.js index a279306..9795d99 100644 --- a/public/js/titanoboa.js +++ b/public/js/titanoboa.js @@ -9418,9 +9418,13 @@ linked.core.set.cljs$core$IFn$_invoke$arity$variadic=function(a){return cljs.cor titanoboa.designer.custom_step_type=new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.PersistentArrayMap(null,3,[new cljs.core.Keyword(null,"supertype","supertype",355302204),new cljs.core.Keyword(null,"tasklet","tasklet",811491570),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"custom","custom",340151948),new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195),titanoboa.exp.__GT_Expression.call(null,"(fn [p] \n :ok)", null)],null)],null); titanoboa.designer.join_step_type=new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.PersistentArrayMap(null,3,[new cljs.core.Keyword(null,"supertype","supertype",355302204),new cljs.core.Keyword(null,"join","join",-758861890),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"custom-join","custom-join",-240396966),new cljs.core.Keyword(null,"workload-fn","workload-fn",-402456195),titanoboa.exp.__GT_Expression.call(null,"(fn [p] \n :ok)", -null)],null)],null);"undefined"===typeof titanoboa.designer.job_def_list&&(titanoboa.designer.job_def_list=reagent.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY));"undefined"===typeof titanoboa.designer.job_def_revision_list&&(titanoboa.designer.job_def_revision_list=reagent.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY)); -titanoboa.designer.load_def_list=function(){titanoboa.api.list_head_defs.call(null,function(a){return cljs.core.reset_BANG_.call(null,titanoboa.designer.job_def_list,a)});titanoboa.api.list_all_defs.call(null,function(a){return cljs.core.reset_BANG_.call(null,titanoboa.designer.job_def_revision_list,a)});return titanoboa.api.get_step_types.call(null,function(a){return cljs.core.reset_BANG_.call(null,titanoboa.designer.step_types,cljs.core.concat.call(null,titanoboa.designer.custom_step_type,titanoboa.designer.join_step_type, -cljs.core.sort_by.call(null,new cljs.core.Keyword(null,"type","type",1174270348),a)))})};"undefined"===typeof titanoboa.designer.app_state&&(titanoboa.designer.app_state=reagent.core.atom.call(null,new cljs.core.PersistentArrayMap(null,1,[new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),cljs.core.PersistentArrayMap.EMPTY],null)));"undefined"===typeof titanoboa.designer.graph_view&&(titanoboa.designer.graph_view=reagent.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY)); +null)],null)],null); +titanoboa.designer.get_custom_icons=function(a){return cljs.core.reduce.call(null,function(a,c){return cljs.core.merge.call(null,clojure.set.rename_keys.call(null,cljs.core.select_keys.call(null,c,new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"icon","icon",1679606541),new cljs.core.Keyword(null,"icon-inactive","icon-inactive",-1724788875)],null)),new cljs.core.PersistentArrayMap(null,2,[new cljs.core.Keyword(null,"icon","icon",1679606541), +(new cljs.core.Keyword(null,"type","type",1174270348)).cljs$core$IFn$_invoke$arity$1(c),new cljs.core.Keyword(null,"icon-inactive","icon-inactive",-1724788875),cljs.core.keyword.call(null,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(cljs.core.name.call(null,(new cljs.core.Keyword(null,"type","type",1174270348)).cljs$core$IFn$_invoke$arity$1(c))),"-inactive"].join(""))],null)),a)},cljs.core.PersistentArrayMap.EMPTY,a)}; +"undefined"===typeof titanoboa.designer.job_def_list&&(titanoboa.designer.job_def_list=reagent.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY));"undefined"===typeof titanoboa.designer.job_def_revision_list&&(titanoboa.designer.job_def_revision_list=reagent.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY)); +titanoboa.designer.load_def_list=function(){titanoboa.api.list_head_defs.call(null,function(a){return cljs.core.reset_BANG_.call(null,titanoboa.designer.job_def_list,a)});titanoboa.api.list_all_defs.call(null,function(a){return cljs.core.reset_BANG_.call(null,titanoboa.designer.job_def_revision_list,a)});return titanoboa.api.get_step_types.call(null,function(a){cljs.core.reset_BANG_.call(null,titanoboa.designer.step_types,cljs.core.concat.call(null,titanoboa.designer.custom_step_type,titanoboa.designer.join_step_type, +cljs.core.sort_by.call(null,new cljs.core.Keyword(null,"type","type",1174270348),a)));return cljs.core.swap_BANG_.call(null,titanoboa.icons.icons,cljs.core.merge,titanoboa.designer.get_custom_icons.call(null,cljs.core.deref.call(null,titanoboa.designer.step_types)))})}; +"undefined"===typeof titanoboa.designer.app_state&&(titanoboa.designer.app_state=reagent.core.atom.call(null,new cljs.core.PersistentArrayMap(null,1,[new cljs.core.Keyword(null,"loaded-job-defs","loaded-job-defs",1068977534),cljs.core.PersistentArrayMap.EMPTY],null)));"undefined"===typeof titanoboa.designer.graph_view&&(titanoboa.designer.graph_view=reagent.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY)); "undefined"===typeof titanoboa.designer.opened_job&&(titanoboa.designer.opened_job=reagent.core.atom.call(null,null));"undefined"===typeof titanoboa.designer.loaded_step_type&&(titanoboa.designer.loaded_step_type=reagent.core.atom.call(null,null));"undefined"===typeof titanoboa.designer.win_height_atom&&(titanoboa.designer.win_height_atom=reagent.core.atom.call(null,null));"undefined"===typeof titanoboa.designer.svg_width_atom&&(titanoboa.designer.svg_width_atom=reagent.core.atom.call(null,600)); "undefined"===typeof titanoboa.designer.step_cursors&&(titanoboa.designer.step_cursors=cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY));"undefined"===typeof titanoboa.designer.show_parens_atom&&(titanoboa.designer.show_parens_atom=reagent.core.atom.call(null,!1));"undefined"===typeof titanoboa.designer.syntax_check_timeout&&(titanoboa.designer.syntax_check_timeout=cljs.core.atom.call(null,null));titanoboa.designer.not_nil_QMARK_=cljs.core.complement.call(null,cljs.core.nil_QMARK_); titanoboa.designer.update_vals=function(a,b,c){return cljs.core.reduce.call(null,function(a,b){return cljs.core.update_in.call(null,a,new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[b],null),c)},a,b)};titanoboa.designer.vec_remove=function(a,b){return cljs.core.vec.call(null,cljs.core.concat.call(null,cljs.core.subvec.call(null,a,0,b),cljs.core.subvec.call(null,a,b+1)))}; @@ -10410,15 +10414,13 @@ new cljs.core.Keyword(null,"design","design",1241338903))},new cljs.core.Keyword 1,[new cljs.core.Keyword(null,"class","class",-2030961996),cljs.core._EQ_.call(null,cljs.core.deref.call(null,titanoboa.core.main_tab_selected),new cljs.core.Keyword(null,"jobs","jobs",-313607120))?"active":""],null),new cljs.core.PersistentVector(null,3,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null,2,[new cljs.core.Keyword(null,"on-click","on-click",1632826543),function(){return cljs.core.reset_BANG_.call(null,titanoboa.core.main_tab_selected, new cljs.core.Keyword(null,"jobs","jobs",-313607120))},new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null,2,[new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"700"],null)],null),"jobs"],null)],null),new cljs.core.PersistentVector(null,3,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentArrayMap(null, 1,[new cljs.core.Keyword(null,"class","class",-2030961996),cljs.core._EQ_.call(null,cljs.core.deref.call(null,titanoboa.core.main_tab_selected),new cljs.core.Keyword(null,"systems","systems",-1015374944))?"active":""],null),new cljs.core.PersistentVector(null,3,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null,2,[new cljs.core.Keyword(null,"on-click","on-click",1632826543),function(){return cljs.core.reset_BANG_.call(null, -titanoboa.core.main_tab_selected,new cljs.core.Keyword(null,"systems","systems",-1015374944))},new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null,2,[new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"700"],null)],null),"systems"],null)],null)],null),new cljs.core.PersistentVector(null,4,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"ul.nav.navbar-nav.navbar-right", -"ul.nav.navbar-nav.navbar-right",1710300738),new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null,3,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"p.navbar-text","p.navbar-text",-511122982),new cljs.core.PersistentArrayMap(null,1,[new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null,5,[new cljs.core.Keyword(null,"font-family","font-family", --667419874),"Orbitron",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"10",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"100",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"top","top",-1856271961),"15px"],null)],null),"GUI for non-commercial use only"],null)],null),new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, -5,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null,3,[new cljs.core.Keyword(null,"on-click","on-click",1632826543),function(){return cljs.core.List.EMPTY},new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null,4,[new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"300",new cljs.core.Keyword(null, -"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"top","top",-1856271961),"5px"],null),new cljs.core.Keyword(null,"title","title",636505583),["logged in as ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((new cljs.core.Keyword(null,"name","name",1843675177)).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.core.user_data)))].join("")],null),new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"span.glyphicon.glyphicon-user", -"span.glyphicon.glyphicon-user",1158329252)],null)," ",(new cljs.core.Keyword(null,"name","name",1843675177)).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.core.user_data))],null)],null),new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null,3,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null,3, -[new cljs.core.Keyword(null,"on-click","on-click",1632826543),function(){cljs.core.reset_BANG_.call(null,titanoboa.core.user_data,cljs.core.PersistentArrayMap.EMPTY);return titanoboa.api.log_out.call(null,cljs.core.identity)},new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null,4,[new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"300",new cljs.core.Keyword(null,"position", -"position",-2011731912),"relative",new cljs.core.Keyword(null,"top","top",-1856271961),"5px"],null),new cljs.core.Keyword(null,"title","title",636505583),"log out"],null),new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"span.glyphicon.glyphicon-log-out","span.glyphicon.glyphicon-log-out",-1591067176)],null)],null)],null)],null)],null),new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[titanoboa.core.modal_login], -null)],null)],null)}; +titanoboa.core.main_tab_selected,new cljs.core.Keyword(null,"systems","systems",-1015374944))},new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null,2,[new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"700"],null)],null),"systems"],null)],null)],null),new cljs.core.PersistentVector(null,3,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"ul.nav.navbar-nav.navbar-right", +"ul.nav.navbar-nav.navbar-right",1710300738),new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null,5,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null,3,[new cljs.core.Keyword(null,"on-click","on-click",1632826543),function(){return cljs.core.List.EMPTY},new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, +4,[new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"300",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"top","top",-1856271961),"5px"],null),new cljs.core.Keyword(null,"title","title",636505583),["logged in as ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((new cljs.core.Keyword(null,"name","name",1843675177)).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null, +titanoboa.core.user_data)))].join("")],null),new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"span.glyphicon.glyphicon-user","span.glyphicon.glyphicon-user",1158329252)],null)," ",(new cljs.core.Keyword(null,"name","name",1843675177)).cljs$core$IFn$_invoke$arity$1(cljs.core.deref.call(null,titanoboa.core.user_data))],null)],null),new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"li", +"li",723558921),new cljs.core.PersistentVector(null,3,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"a","a",-2123407586),new cljs.core.PersistentArrayMap(null,3,[new cljs.core.Keyword(null,"on-click","on-click",1632826543),function(){cljs.core.reset_BANG_.call(null,titanoboa.core.user_data,cljs.core.PersistentArrayMap.EMPTY);return titanoboa.api.log_out.call(null,cljs.core.identity)},new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, +4,[new cljs.core.Keyword(null,"font-family","font-family",-667419874),"Orbitron",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"300",new cljs.core.Keyword(null,"position","position",-2011731912),"relative",new cljs.core.Keyword(null,"top","top",-1856271961),"5px"],null),new cljs.core.Keyword(null,"title","title",636505583),"log out"],null),new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"span.glyphicon.glyphicon-log-out", +"span.glyphicon.glyphicon-log-out",-1591067176)],null)],null)],null)],null)],null),new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[titanoboa.core.modal_login],null)],null)],null)}; titanoboa.core.get_tab_content=function(a){return cljs.core._EQ_.call(null,a,new cljs.core.Keyword(null,"design","design",1241338903))?new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[titanoboa.designer.designer_tab],null):cljs.core._EQ_.call(null,a,new cljs.core.Keyword(null,"jobs","jobs",-313607120))?new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[titanoboa.jobs.jobs_tab],null):cljs.core._EQ_.call(null,a,new cljs.core.Keyword(null,"systems", "systems",-1015374944))?new cljs.core.PersistentVector(null,1,5,cljs.core.PersistentVector.EMPTY_NODE,[titanoboa.systems.systems_tab],null):new cljs.core.PersistentVector(null,2,5,cljs.core.PersistentVector.EMPTY_NODE,[new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.PersistentArrayMap(null,3,[new cljs.core.Keyword(null,"src","src",-1651076051),"images/logo_watermark.svg",new cljs.core.Keyword(null,"title","title",636505583),'"Why should anyone be frightened by a hat?"',new cljs.core.Keyword(null, "style","style",-496642736),new cljs.core.PersistentArrayMap(null,2,[new cljs.core.Keyword(null,"display","display",242065432),"block",new cljs.core.Keyword(null,"margin","margin",-995903681),"auto"],null)],null)],null)};