// Compiled by ClojureScript 1.10.520 {}
goog.provide('weathergen.help');
goog.require('cljs.core');
goog.require('goog.dom');
goog.require('goog.string');
goog.require('goog.string.format');
goog.require('hiccups.runtime');
goog.require('hoplon.core');
goog.require('hoplon.svg');
goog.require('javelin.core');
goog.require('rum.core');
goog.require('taoensso.timbre');
goog.require('weathergen.ui.buttons');
goog.require('weathergen.ui.common');
goog.require('weathergen.wind');
weathergen.help.wind_barb = (function weathergen$help$wind_barb(speed,heading){
return hoplon.svg.svg.call(null,new cljs.core.Keyword(null,"viewBox","viewBox",-469489477),"0 0 1 1",new cljs.core.Keyword(null,"width","width",-384071477),(20),new cljs.core.Keyword(null,"height","height",1025178622),(20),new cljs.core.Keyword(null,"attr","attr",-604132353),new cljs.core.PersistentArrayMap(null, 3, ["xmlns:xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg",new cljs.core.Keyword(null,"overflow","overflow",2058931880),"visible"], null),hoplon.svg.g.call(null,new cljs.core.Keyword(null,"transform","transform",1381301764),"translate(0.5, 0.5)",hoplon.svg.g.call(null,new cljs.core.Keyword(null,"transform","transform",1381301764),goog.string.format("rotate(%d)",heading),weathergen.wind.barb.call(null,speed))));
});
/**
 * Create a document fragment given an HTML string.
 */
weathergen.help.frag = (function weathergen$help$frag(s){
return document.createRange().createContextualFragment(s);
});
/**
 * Returns a DOM node given Hiccup data.
 */
weathergen.help.hiccup = (function weathergen$help$hiccup(data){
return weathergen.help.frag.call(null,cljs.core.str.cljs$core$IFn$_invoke$arity$1(hiccups.runtime.render_html.call(null,data)));
});
var ctors_35229 = cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"dd","dd",-1340437629),new cljs.core.Keyword(null,"tbody","tbody",-80678300),new cljs.core.Keyword(null,"table","table",-564943036),new cljs.core.Keyword(null,"ul","ul",-1349521403),new cljs.core.Keyword(null,"strong","strong",269529000),new cljs.core.Keyword(null,"td","td",1479933353),new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.Keyword(null,"dt","dt",-368444759),new cljs.core.Keyword(null,"tr","tr",-1424774646),new cljs.core.Keyword(null,"em","em",707813035),new cljs.core.Keyword(null,"div","div",1057191632),new cljs.core.Keyword(null,"ol","ol",932524051),new cljs.core.Keyword(null,"b","b",1482224470),new cljs.core.Keyword(null,"p","p",151049309),new cljs.core.Keyword(null,"i","i",-1386841315),new cljs.core.Keyword(null,"img","img",1442687358),new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.Keyword(null,"span","span",1394872991)],[hoplon.core.dd,hoplon.core.tbody,hoplon.core.table,hoplon.core.ul,hoplon.core.strong,hoplon.core.td,hoplon.core.li,hoplon.core.dt,hoplon.core.tr,hoplon.core.em,hoplon.core.div,hoplon.core.ol,hoplon.core.b,hoplon.core.p,hoplon.core.i,hoplon.core.img,hoplon.core.dl,hoplon.core.span]);
weathergen.help.hoplonify = ((function (ctors_35229){
return (function weathergen$help$hoplonify(node){
if((node instanceof cljs.core.Keyword)){
return cljs.core.get.call(null,ctors_35229,node);
} else {
if(cljs.core.vector_QMARK_.call(null,node)){
var vec__35226 = node;
var seq__35227 = cljs.core.seq.call(null,vec__35226);
var first__35228 = cljs.core.first.call(null,seq__35227);
var seq__35227__$1 = cljs.core.next.call(null,seq__35227);
var e = first__35228;
var more = seq__35227__$1;
return cljs.core.apply.call(null,weathergen.help.hoplonify.call(null,e),cljs.core.map.call(null,weathergen.help.hoplonify,more));
} else {
if(cljs.core.sequential_QMARK_.call(null,node)){
return cljs.core.map.call(null,weathergen.help.hoplonify,node);
} else {
if(cljs.core.map_QMARK_.call(null,node)){
return cljs.core.dissoc.call(null,cljs.core.assoc.call(null,node,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.Keyword(null,"style","style",-496642736).cljs$core$IFn$_invoke$arity$1(node)),new cljs.core.Keyword(null,"style","style",-496642736));
} else {
return node;

}
}
}
}
});})(ctors_35229))
;
/**
 * Returns a function that renders the content in the standard way - as
 *   hoplon elements in hoplon mode, and react components in react mode.
 */
weathergen.help.content = (function weathergen$help$content(var_args){
var args__4736__auto__ = [];
var len__4730__auto___35238 = arguments.length;
var i__4731__auto___35239 = (0);
while(true){
if((i__4731__auto___35239 < len__4730__auto___35238)){
args__4736__auto__.push((arguments[i__4731__auto___35239]));

var G__35240 = (i__4731__auto___35239 + (1));
i__4731__auto___35239 = G__35240;
continue;
} else {
}
break;
}

var argseq__4737__auto__ = ((((0) < args__4736__auto__.length))?(new cljs.core.IndexedSeq(args__4736__auto__.slice((0)),(0),null)):null);
return weathergen.help.content.cljs$core$IFn$_invoke$arity$variadic(argseq__4737__auto__);
});

weathergen.help.content.cljs$core$IFn$_invoke$arity$variadic = (function (data){
return (function (mode){
var pred__35231 = cljs.core._EQ_;
var expr__35232 = mode;
if(cljs.core.truth_(pred__35231.call(null,new cljs.core.Keyword(null,"hoplon","hoplon",-1616134367),expr__35232))){
var frag = document.createDocumentFragment();
var seq__35234_35241 = cljs.core.seq.call(null,data);
var chunk__35235_35242 = null;
var count__35236_35243 = (0);
var i__35237_35244 = (0);
while(true){
if((i__35237_35244 < count__35236_35243)){
var item_35245 = cljs.core._nth.call(null,chunk__35235_35242,i__35237_35244);
goog.dom.appendChild(frag,weathergen.help.hoplonify.call(null,item_35245));


var G__35246 = seq__35234_35241;
var G__35247 = chunk__35235_35242;
var G__35248 = count__35236_35243;
var G__35249 = (i__35237_35244 + (1));
seq__35234_35241 = G__35246;
chunk__35235_35242 = G__35247;
count__35236_35243 = G__35248;
i__35237_35244 = G__35249;
continue;
} else {
var temp__5720__auto___35250 = cljs.core.seq.call(null,seq__35234_35241);
if(temp__5720__auto___35250){
var seq__35234_35251__$1 = temp__5720__auto___35250;
if(cljs.core.chunked_seq_QMARK_.call(null,seq__35234_35251__$1)){
var c__4550__auto___35252 = cljs.core.chunk_first.call(null,seq__35234_35251__$1);
var G__35253 = cljs.core.chunk_rest.call(null,seq__35234_35251__$1);
var G__35254 = c__4550__auto___35252;
var G__35255 = cljs.core.count.call(null,c__4550__auto___35252);
var G__35256 = (0);
seq__35234_35241 = G__35253;
chunk__35235_35242 = G__35254;
count__35236_35243 = G__35255;
i__35237_35244 = G__35256;
continue;
} else {
var item_35257 = cljs.core.first.call(null,seq__35234_35251__$1);
goog.dom.appendChild(frag,weathergen.help.hoplonify.call(null,item_35257));


var G__35258 = cljs.core.next.call(null,seq__35234_35251__$1);
var G__35259 = null;
var G__35260 = (0);
var G__35261 = (0);
seq__35234_35241 = G__35258;
chunk__35235_35242 = G__35259;
count__35236_35243 = G__35260;
i__35237_35244 = G__35261;
continue;
}
} else {
}
}
break;
}

return frag;
} else {
if(cljs.core.truth_(pred__35231.call(null,new cljs.core.Keyword(null,"react","react",1456324418),expr__35232))){
return data;
} else {
throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__35232)].join('')));
}
}
});
});

weathergen.help.content.cljs$lang$maxFixedArity = (0);

/** @this {Function} */
weathergen.help.content.cljs$lang$applyTo = (function (seq35230){
var self__4718__auto__ = this;
return self__4718__auto__.cljs$core$IFn$_invoke$arity$variadic(cljs.core.seq.call(null,seq35230));
});

/**
 * Returns `(content [:div [:p contents]])`.
 */
weathergen.help.content_para = (function weathergen$help$content_para(contents){
return weathergen.help.content.call(null,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,"p","p",151049309),contents], null)], null));
});
weathergen.help.color_text = "Use either the color dropdown or the text box. Color names entered into the text box can be color names like \"red\" or \"blue\" or HTML color codes like \"#FF123456\". Note also the transparency slider at the bottom of the color dropdown. Use this to make colors partially for fully transparent.";
weathergen.help.slider_text = "Use the slider to adjust or enter a number between 1 and 100 directly.";
weathergen.help.help_content_ctors = cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"flight-paths","flight-paths",159519268),new cljs.core.Keyword(null,"weather-display-controls","weather-display-controls",941597221),new cljs.core.Keyword(null,"map-controls","map-controls",-1453318552),new cljs.core.Keyword(null,"forecast","forecast",-1289862359),new cljs.core.Keyword(null,"tools","tools",-1241731990),new cljs.core.Keyword(null,"settings","settings",1556144875),new cljs.core.Keyword(null,"serialization-controls","serialization-controls",-789590644),new cljs.core.Keyword(null,"flights","flights",-1637719124),new cljs.core.Keyword(null,"movement-params","movement-params",293385966),new cljs.core.Keyword(null,"weather-overrides","weather-overrides",-837381710),new cljs.core.Keyword(null,"table-grid","table-grid",1980411698),new cljs.core.Keyword(null,"clouds","clouds",-632461223),new cljs.core.Keyword(null,"mission-info","mission-info",1263062521),new cljs.core.Keyword(null,"weather-params","weather-params",-259271365),new cljs.core.Keyword(null,"weather-type-config","weather-type-config",-2069342501),new cljs.core.Keyword(null,"displayed-time","displayed-time",141846012),new cljs.core.Keyword(null,"step","step",1288888124),new cljs.core.Keyword(null,"air-forces","air-forces",-1539372068),new cljs.core.Keyword(null,"map","map",1371690461)],[cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"show-numbers?","show-numbers?",2091531616),new cljs.core.Keyword(null,"remove","remove",-131428414),new cljs.core.Keyword(null,"show-labels?","show-labels?",-616006332),new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"scale","scale",-230427353),new cljs.core.Keyword(null,"name","name",1843675177),new cljs.core.Keyword(null,"section","section",-300141526),new cljs.core.Keyword(null,"show?","show?",1543842127),new cljs.core.Keyword(null,"show-lines?","show-lines?",993084312)],[weathergen.help.content_para.call(null,"If checked, steerpoints not otherwise labeled will be labeled\n     with their numbers."),weathergen.help.content_para.call(null,"Click to permanently remove this flight path from the\n    list."),weathergen.help.content_para.call(null,"If checked, alternate field and tanker steerpoints will be\n     labeled as such."),weathergen.help.content_para.call(null,"Change the color in which the flight path and labels will be\n    drawn on the map."),weathergen.help.content_para.call(null,"Drag the slider left and right to decrease or increase the\n    size of the text and flight path lines."),weathergen.help.content_para.call(null,"An arbitrary label for this flight path, usually the flight\n    callsign. Click the pencil icon to edit it. The name is not shown\n    on the map."),weathergen.help.content_para.call(null,"Load flight plans from a mission .ini/DTC file so they can be\n     shown on the map."),weathergen.help.content_para.call(null,"If checked, flight path will be shown. If unchecked,\n    flight path will be hidden."),weathergen.help.content_para.call(null,"If checked, steerpoint lines from the DTC (if any) will be\n    shown. If unchecked, steerpoint lines will be hidden.")]),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"map","map",1371690461),weathergen.help.content_para.call(null,"Chooses the map image displayed in the background."),new cljs.core.Keyword(null,"display","display",242065432),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Selects what will be displayed on the weather grid at the left."], null),new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"None"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"No data will be displayed"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Weather Type"], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Display the type of weather, which determines cloud cover\n   and precipitation in Falcon. Note that unlike a radar map you might\n   see on TV, green does ",hoplon.core.em.call(null,"not")," indicate rain.",new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Red"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Inclement weather"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Yellow"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Poor weather"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Green"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Fair weather"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Clear"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Sunny weather"], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Pressure"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"The barometric pressure will be displayed. Red indicates\n      low pressure, white indicates high pressure. Use the pressure\n      overlay or click a cell to get exact values."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Temperature"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"The air pressure will be displayed. White indicates cold\n      temperatures. Red indicates high temperatures. Use the pressure\n      overlay or click a cell to get exact values."], null)], null)),new cljs.core.Keyword(null,"overlay","overlay",-139131598),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Selects what data will be shown in each cell of the grid,\n    overlaid on the data selcted for 'Display'. Wind is shown as a\n    bent line, with the tail(s) in the direction the wind is coming\n    from. Each full tail indicates ten knots of wind speed, and a half\n    tail adds five."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Text overlays may be hard to read when the map grid is\n     small. Zoom the map to enlarge. Or click a cell to read the same\n     data from the forecast section."], null)),new cljs.core.Keyword(null,"pressure","pressure",505343747),weathergen.help.content_para.call(null,"Units for pressure measurements - inches Mercury (InHg) or millibars."),new cljs.core.Keyword(null,"opacity","opacity",397153780),weathergen.help.content_para.call(null,"Controls how opaque or transparent the display layer will be.\n    Slide the slider to the left to more easily see the map.")], null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"flight-path-size","flight-path-size",-1809746301),new cljs.core.Keyword(null,"general","general",380803686),new cljs.core.Keyword(null,"icon-size","icon-size",414161352),new cljs.core.Keyword(null,"show-bullseye?","show-bullseye?",310289003),new cljs.core.Keyword(null,"brightness","brightness",1067055820),new cljs.core.Keyword(null,"reset-brightness","reset-brightness",-1371858890),new cljs.core.Keyword(null,"annotations","annotations",1640956248),new cljs.core.Keyword(null,"text-size","text-size",-945618309),new cljs.core.Keyword(null,"show-text-background?","show-text-background?",-442833124),new cljs.core.Keyword(null,"reset-text-size","reset-text-size",1859075869),new cljs.core.Keyword(null,"reset-icon-size","reset-icon-size",1988531871)],[weathergen.help.content_para.call(null,"Use this slider to make flight paths wider or narrower.\n      Narrower is to the left, wider to the right."),weathergen.help.content_para.call(null,"Use the controls in this section to affect the overall appearance of the map."),weathergen.help.content_para.call(null,"Use this slider to make the icons on the map larger or\n      smaller. Smaller is to the left, larger to the right."),weathergen.help.content_para.call(null,"When checked, the bullseye \"spiderweb\" will be shown on\n      the map, with range rings every 30nm up to 180nm and bearing\n      lines every 30 degrees."),weathergen.help.content.call(null,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, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"When centered, the map will appear as it does in the\n  simulation. When moved to the left, the map will be 'dimmed' towards\n  black. When moved to the right, the map will be 'brightened' towards\n  white. Full left/right will cause the map to be completely replaced\n  by black/white."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Use this to increase the visibility of icons, labels, flight\n      paths, etc."], null)], null)),weathergen.help.content_para.call(null,"Click this button to reset the brightness to its default value."),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"border-style","border-style",-485574304),new cljs.core.Keyword(null,"fill-color","fill-color",-1156875903),new cljs.core.Keyword(null,"rotation","rotation",-1728051644),new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"edge-width","edge-width",-1845528442),new cljs.core.Keyword(null,"font-size","font-size",-1847940346),new cljs.core.Keyword(null,"valign","valign",1485197511),new cljs.core.Keyword(null,"font-bold?","font-bold?",-796638521),new cljs.core.Keyword(null,"edge-dash-length","edge-dash-length",-19162360),new cljs.core.Keyword(null,"edge-color","edge-color",-533761623),new cljs.core.Keyword(null,"heft","heft",-1112917),new cljs.core.Keyword(null,"filled?","filled?",-1363697461),new cljs.core.Keyword(null,"background","background",-863952629),new cljs.core.Keyword(null,"border-dash-length","border-dash-length",713848683),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"points","points",-1486596883),new cljs.core.Keyword(null,"overview","overview",-435037267),new cljs.core.Keyword(null,"font","font",-1506159249),new cljs.core.Keyword(null,"size","size",1098693007),new cljs.core.Keyword(null,"closed?","closed?",-1408769040),new cljs.core.Keyword(null,"border-width","border-width",-1512605390),new cljs.core.Keyword(null,"edge-style","edge-style",1285542514),new cljs.core.Keyword(null,"edit-buttons","edit-buttons",-799797836),new cljs.core.Keyword(null,"label","label",1718410804),new cljs.core.Keyword(null,"arrowhead-length","arrowhead-length",437777364),new cljs.core.Keyword(null,"arrowhead-width","arrowhead-width",839938517),new cljs.core.Keyword(null,"reset-label","reset-label",-1700235787),new cljs.core.Keyword(null,"border-dash-spacing","border-dash-spacing",-1472488649),new cljs.core.Keyword(null,"border-color","border-color",-2059162761),new cljs.core.Keyword(null,"edge-dash-spacing","edge-dash-spacing",1667711192),new cljs.core.Keyword(null,"font-italic?","font-italic?",-663673639),new cljs.core.Keyword(null,"threat","threat",-2071776455),new cljs.core.Keyword(null,"serialization-buttons","serialization-buttons",-1286443653),new cljs.core.Keyword(null,"shaft","shaft",-278047141),new cljs.core.Keyword(null,"serialization","serialization",-471429060),new cljs.core.Keyword(null,"location","location",1815599388),new cljs.core.Keyword(null,"halign","halign",-1113968481),new cljs.core.Keyword(null,"text","text",-1790561697)],[weathergen.help.content_para.call(null,"What type of border, if any, to draw around the annotation."),weathergen.help.content_para.call(null,["The color used to fill the interior of an annotation. ",weathergen.help.color_text].join('')),weathergen.help.content_para.call(null,"The rotation of the selected annotation, in degrees."),weathergen.help.content_para.call(null,"Use this dropdown to control the color in which the text will be drawn. The slider at the bottom controls transparency."),weathergen.help.content_para.call(null,"Sets the width of any edges that are drawn. Use either the\n       slider or the text box to set a value from 1 to 100."),weathergen.help.content_para.call(null,"The size of the font in a text annotation. A number between 1.0 and 100.0."),weathergen.help.content_para.call(null,"Controls whether the text will be vertically aligned to the top, middle, or bottom of the annotation."),weathergen.help.content.call(null,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, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"When checked, the text will be rendered in a ",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,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"bold"], null)], null),"bold"], null)," font."], null)], null)),weathergen.help.content_para.call(null,"For a dashed edge, sets how long the dashes are."),weathergen.help.content_para.call(null,["Sets the color of any edges that are drawn. ",weathergen.help.color_text].join('')),weathergen.help.content_para.call(null,["Controls the overall thickness of the arrow annotation. ",weathergen.help.slider_text].join('')),weathergen.help.content_para.call(null,"If checked, the annotation will have its interior filled by the\n     specified color. If unchecked, the annotation will not be\n     filled."),weathergen.help.content_para.call(null,"Use this dropdown to control the background drawn behind the text. The slider at the bottom controls transparency: move it all the way to the left to have no background drawn."),weathergen.help.content_para.call(null,"When drawing a dashed border, controls how long the dashes are."),weathergen.help.content.call(null,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, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"The type of the annotation. One of:"], null),new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Shape"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"A rectangle or oval, with or without a border, with or without text inside, and with or without a filled interior region."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Arrow"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"An arrow shape."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"PPT"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"A pre-planned threat with optional range ring, label, and filled interior."], null)], null)], null)),weathergen.help.content.call(null,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, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"The X and Y location of each labeled point of the annotation. It is generally easier to move things with the mouse by clicking and dragging the ",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/move.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16)),new cljs.core.Keyword(null,"height","height",1025178622),weathergen.ui.common.px.call(null,(16))], null)], null)," button."], null)], null)),weathergen.help.content.call(null,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, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Use this section to add annotations - bits of text, arrows, borders, images, etc. - to the map. Annotations are saved in the briefing file so they can be shared with partipating pilots. Use the \"Add ...\" buttons to create annotations, the ",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),"images/edit.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16))], null)], null)," button to edit existing annotations, the ",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),"images/hide-eye.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16))], null)], null)," button to hide or show an annotation, and the ",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),"images/trash.png",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16))], null)], null)," button to delete an annotation."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"When editing, the following controls will appear on the screen, depending on what type of annotation is currently being edited:"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"table","table",-564943036),new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tbody","tbody",-80678300),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, 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),"images/rotate.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16))], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),"Click and drag this to rotate the selected annotation."], null)], null),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, 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/move.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16)),new cljs.core.Keyword(null,"height","height",1025178622),weathergen.ui.common.px.call(null,(16))], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),"Click and drag this to move the selected annotation."], null)], null),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, 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),"images/text-resize.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16))], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),"Click and drag this to change the size of the text."], null)], null),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, 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),"images/checkmark.png",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16))], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),"Click this button to finish editing and remove the edit controls from view."], null)], null),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, 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),"images/trash.png",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16))], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),"Click this button to delete the annotation."], null)], null),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, 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),"images/resize.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16))], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"td","td",1479933353),"Click and drag this to change the size of the annotation."], null)], null)], null)], null)], null)),weathergen.help.content_para.call(null,"The font used for drawing a text annotation."),weathergen.help.content.call(null,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, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"The width and height of this annotation. It is generally easier to resize things with the mouse by clicking and dragging the ",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),"images/resize.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16))], null)], null)," button."], null)], null)),weathergen.help.content_para.call(null,"When checked, the shape formed by the points will be closed - an\n    edge will be drawn between the first and last points, and the\n    annotation will be able to be filled. When unchecked, there will\n    be no line drawn between the first and last points, and the\n    annotation will not be able to be filled in."),weathergen.help.content_para.call(null,"Sets the width or thickness of the border."),weathergen.help.content_para.call(null,"Sets the style of any edges that are drawn."),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 6, 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,"p","p",151049309),"Use these buttons to perform various operations on this annotation."], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Click ",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/edit.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16)),new cljs.core.Keyword(null,"height","height",1025178622),weathergen.ui.common.px.call(null,(16))], null)], null)," to enable interactive editing of the annotation on the map."], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Click ",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/hide-eye.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16)),new cljs.core.Keyword(null,"height","height",1025178622),weathergen.ui.common.px.call(null,(16))], null)], null)," to hide or show the annotation on the map."], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Click ",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/copy.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16)),new cljs.core.Keyword(null,"height","height",1025178622),weathergen.ui.common.px.call(null,(16))], null)], null)," to make an exact copy of this annotation. Note that the copy will appear on top of the original - you will have to move it."], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Click ",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/trash.png",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16)),new cljs.core.Keyword(null,"height","height",1025178622),weathergen.ui.common.px.call(null,(16))], null)], null)," to delete this annotation. This operation cannot be undone, so be careful."], null)], null)),weathergen.help.content_para.call(null,"An alternate label for the PPT. Reset or leave alone to use the default."),weathergen.help.content_para.call(null,["Controls the length of the arrowhead portion of the arrow. ",weathergen.help.slider_text].join('')),weathergen.help.content_para.call(null,["Controls the width of the arrowhead portion of the arrow. ",weathergen.help.slider_text].join('')),weathergen.help.content_para.call(null,"Reset the PPT label to the default."),weathergen.help.content_para.call(null,"When drawing a dashed border, controls how much space there is between the dashes."),weathergen.help.content_para.call(null,"Sets the color and transparency of the border."),weathergen.help.content_para.call(null,"For a dashed edge, sets how large the gaps between the dashes are."),weathergen.help.content.call(null,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, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"When checked, the text will be rendered in a ",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,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"font-style","font-style",-773672352),"italic"], null)], null),"italic"], null)," font."], null)], null)),weathergen.help.content_para.call(null,"The PPT type. These are drawn from the theater's PPT.INI file."),weathergen.help.content.call(null,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, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Save"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Save all annotations to a VMT Annotations (.vmta) file."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Load"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Load all annotations from a VMT Annotations (.vmta) file onto the current map."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Import From Briefing"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Load all the annoations from a VMT Briefing (.vmtb) file onto the current map."], null)], null)], null)),weathergen.help.content_para.call(null,["Controls the width of the straight part of the arrow that excludes the arrowhead. ",weathergen.help.slider_text].join('')),weathergen.help.content_para.call(null,"Load and save annotations to VMT Annotation files, or import annotations from existing VMT Briefing files."),weathergen.help.content.call(null,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, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"The X and Y location of this annotation. It is generally easier to move things with the mouse by clicking and dragging the ",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/move.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16)),new cljs.core.Keyword(null,"height","height",1025178622),weathergen.ui.common.px.call(null,(16))], null)], null)," button."], null)], null)),weathergen.help.content_para.call(null,"Controls whether the text will be horizontally aligned to the left, center, or right of the annotation."),weathergen.help.content_para.call(null,"Changes the text that will appear. You can also click on the text on the map while editing to change the text directly.")]),weathergen.help.content_para.call(null,"Use this slider to make the text used in labels larger or\n    smaller. Smaller is to the left, larger to the right."),weathergen.help.content_para.call(null,"When checked, labels will be shown against a semitransparent\n      background of a contrasting color."),weathergen.help.content_para.call(null,"Click this button to reset the text size to its default value."),weathergen.help.content_para.call(null,"Click this button to reset the icon sizing to its default value.")]),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"pressure","pressure",505343747),new cljs.core.Keyword(null,"cloud","cloud",-1976521303),new cljs.core.Keyword(null,"time","time",1385887882),new cljs.core.Keyword(null,"type","type",1174270348),new cljs.core.Keyword(null,"overview","overview",-435037267),new cljs.core.Keyword(null,"wind","wind",-527553074),new cljs.core.Keyword(null,"share","share",-589433933),new cljs.core.Keyword(null,"precipitation","precipitation",485418199),new cljs.core.Keyword(null,"visibility","visibility",1338380893),new cljs.core.Keyword(null,"temperature","temperature",899018429)],[weathergen.help.content_para.call(null,"The forecast barometric pressure at the selected location."),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"The forecast cloud cover at the selected location."], null),new cljs.core.PersistentVector(null, 11, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"SKC"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Sky is clear - no significant clouds. A thin 'stratus'\n        layer may be present."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"FEWxxx"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Cumulus clouds covering less than 25% of the sky are\n        present, with a base at xxx hundreds of feet. E.g. FEW050\n        indicates cumulus clouds present at 5000 feet MSL."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"SCTxxx"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Cumulus clouds covering between 25% and 50% of the sky\n        are present, with a base at xxx hundreds of feet. E.g. SCT050\n        indicates cumulus clouds present at 5000 feet MSL."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"OVCxxx"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"A solid overcast layer is present with a base at xxx\n        hundreds of feet. E.g. OVC050 indicates a solid overcast\n        starting at 5000 feet MSL."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"COTRAxxx"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Contrails form above xxx, in hundreds of feet. E.g.\n        COTRA200 indicates contrails above 20000 feet MSL."], null)], null)),weathergen.help.content_para.call(null,"The date and time of the forecast conditions. Forecasts\n     are (as in the real world) not perfectly accurate."),weathergen.help.content_para.call(null,"The forecast Falcon weather type at the selected location."),weathergen.help.content_para.call(null,"Displays the weather forecast for the selected location in\n   the weather grid."),weathergen.help.content_para.call(null,"The forecast wind strength and direction at the selected\n     location. E.g. '05kts@270' is a 5-knot wind from the west. Note\n     that wind directions indicate the direction the wind is coming\n     from, not the direction it is blowing towards."),weathergen.help.content_para.call(null,"The 'shareable forecast' link goes to a view of the weather\n   that can be handed out to other pilots. It does not allow editing,\n   nor advancing the weather past the current time, but does include\n   the (potentially inaccurate) forecast, any loaded DTC files, wind\n   stability regions, etc. etc."),weathergen.help.content_para.call(null,"The forecast precipitation at the selected location."),weathergen.help.content_para.call(null,"The forecast visibility (in km) at the selected location."),weathergen.help.content_para.call(null,"The forecast temperature (in degrees C) at the selected location.")]),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"damage-computer","damage-computer",-125971244),weathergen.help.content.call(null,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, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Displays an esimtate of how many weapon hits it\n     will required to destroy a target. Choose an objective from the\n     left dropdown and a weapon from the right to see an estimate for\n     all the features at that objective."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"The grid shows all features at an objective. Features with\n      a value listed are the ones that are target assignable in BMS\n      and will be displayed in the Recon list.."], null)], null)),new cljs.core.Keyword(null,"database-export","database-export",729454487),weathergen.help.content_para.call(null,"Exports the mission database to a series of CSV files. Use the dialog box to select a directory. Files will be written here with names in the pattern \"THEATER-MISSION-CATEGORY.csv\".")], null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"updates","updates",2013983452),weathergen.help.content_para.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Set up whether VMT will automatically check for updates, or check for updates manually."], null))], null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"save-single-files","save-single-files",-947469927),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"This section allows saving and loading of the various\n      files that WeatherGen can use. Files should be saved with the\n      same name as the mission (.cam or .tac) file, but with the\n      extension changed as appropriate. For instance, if you're making\n      a mission called 'oca-strike.tac', save the TWX file as\n      'oca-strike.twx'. The filename will use the mission name of the\n      loaded mission section if possible."], null),new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Save Current As FMAP"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Saves a single .fmap file with the weather data currently\n        displayed on the map. Contains wind, weather type, pressure,\n        and temperature data for each cell in the grid."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Save .TWX"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Saves a .twx file, which contains the values from the\n        'Clouds and Contrails' section. This file should be saved with\n        the same name as the mission (.tac or .cam) file, but with a\n        .twx extension."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Save Settings"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Saves a .vmtw file with all the values from the\n        WeatherGen application. Use this to preserve the state of\n        WeatherGen so you can later pick up where you left off."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Load Settings"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Loads a previously saved .vmtw file. Note that\n        this will overwrite any settings currently in use - be sure to\n        save first if necessary."], null)], null)),new cljs.core.Keyword(null,"multi-save","multi-save",-1814543541),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"overview","overview",-435037267),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Use this feature to save all weather-related files for the\n        mission. Requires that a mission be loaded. The following\n        files will be saved:"], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul","ul",-1349521403),new cljs.core.PersistentVector(null, 4, 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,"b","b",1482224470),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i","i",-1386841315),"mission-name"], null),".fmap"], null)," - ","An FMAP file containing the starting weather for the\n             designated time block."], null),new cljs.core.PersistentVector(null, 4, 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,"b","b",1482224470),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i","i",-1386841315),"mission-name"], null),".twx"], null)," - ","A TWX file containing the clouds and contrails settings."], null),new cljs.core.PersistentVector(null, 4, 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,"b","b",1482224470),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"i","i",-1386841315),"mission-name"], null),".setting.edn"], null)," - ","Contains the WeatherGen settings used to generate the\n             package."], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"b","b",1482224470),"WeatherMapsUpdates"], null)," - ","A folder containing the timestamped FMAP files."], null)], null)),new cljs.core.Keyword(null,"from","from",1815293044),weathergen.help.content_para.call(null,"The generated FMAP files in the WeatherMapsUpdates folder will start from this time."),new cljs.core.Keyword(null,"to","to",192099007),weathergen.help.content_para.call(null,"The generated FMAP files in the WeatherMapsUpdates folder will end at this time."),new cljs.core.Keyword(null,"step","step",1288888124),weathergen.help.content_para.call(null,"The generated FMAP files in the WeatherMapsUpdates folder will\n     be this many minutes apart."),new cljs.core.Keyword(null,"mission-name","mission-name",1479736582),weathergen.help.content_para.call(null,"The name of the mission file (.cam or .tac) for which\n     weather is being generated. This value will be used to name the\n     generated .twx and .fmap files.")], null)], null),new cljs.core.PersistentArrayMap(null, 7, [new cljs.core.Keyword(null,"mission-key","mission-key",-2054000190),weathergen.help.content_para.call(null,"Displays the default colors for flights by mission type.\n    Click the colored box to make changes. Changes will be remembered\n    from session to session."),new cljs.core.Keyword(null,"mission-key-reset","mission-key-reset",-2081456284),weathergen.help.content_para.call(null,"Click this button to restore all mission type colors to\n      their defaults."),new cljs.core.Keyword(null,"team-visibility","team-visibility",-2011507771),weathergen.help.content_para.call(null,"Filters the flight list by country. Check the boxes below\n      each flag to list flights for that country in the flights\n      list. Uncheck the box to hide flights from that country."),new cljs.core.Keyword(null,"display-options","display-options",1066052168),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"overview","overview",-435037267),weathergen.help.content_para.call(null,"Use this section to control the way flight paths are shown\n       on the map."),new cljs.core.Keyword(null,"map-flight-path-size","map-flight-path-size",-1349075868),weathergen.help.content_para.call(null,"Slide this control to the left to render flight paths and\n       steerpoint markers with narrower lines. Slide it to the right\n       to render them with wider lines."),new cljs.core.Keyword(null,"reset-map-flight-path-size","reset-map-flight-path-size",-833466927),weathergen.help.content_para.call(null,"Click this button to restore flight paths to their default\n       width.")], null),new cljs.core.Keyword(null,"flight-info","flight-info",-1755465938),(function (mode){
var pred__35262 = cljs.core._EQ_;
var expr__35263 = mode;
if(cljs.core.truth_(pred__35262.call(null,new cljs.core.Keyword(null,"hoplon","hoplon",-1616134367),expr__35263))){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"This section lists all the upcoming and in-progress flights\n      for the teams selected above. Click the settings button ",weathergen.ui.buttons.image_button.call(null,new cljs.core.Keyword(null,"src","src",-1651076051),"images/settings.svg",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(16)))," to make changes to the way the information is displayed."));
} else {
throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__35263)].join('')));
}
}),new cljs.core.Keyword(null,"columns","columns",1998437288),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"package","package",1189062786),new cljs.core.Keyword(null,"airbase","airbase",-369690299),new cljs.core.Keyword(null,"takeoff","takeoff",719937767),new cljs.core.Keyword(null,"mission","mission",1740288522),new cljs.core.Keyword(null,"airframe","airframe",643222926),new cljs.core.Keyword(null,"show?","show?",1543842127),new cljs.core.Keyword(null,"callsign","callsign",1222385874),new cljs.core.Keyword(null,"combatant","combatant",2138865651),new cljs.core.Keyword(null,"egress","egress",610445366),new cljs.core.Keyword(null,"info","info",-317069002),new cljs.core.Keyword(null,"tot","tot",2086174646),new cljs.core.Keyword(null,"squadron","squadron",-1131671273)],[weathergen.help.content_para.call(null,"The package number (if any) to which this flight belongs.\n       Sort by this column to see package flights listed near each\n       other."),weathergen.help.content_para.call(null,"The airbase that is home to this flight's squadron."),weathergen.help.content_para.call(null,"The takeoff time for this flight in DAY/HH:MM format."),weathergen.help.content_para.call(null,"The type of mission this flight is performing. Color coded\n       according to the mission key above."),weathergen.help.content_para.call(null,"The type and quantity of the aircraft in this flight."),weathergen.help.content_para.call(null,"Check the box to display the flight path for this flight on\n       the map. Click the colored square to change the color in which\n       the flight path is displayed from the default (as determined by\n       mission type)."),weathergen.help.content_para.call(null,"The callsign of this flight."),weathergen.help.content_para.call(null,"The 'owner' of this flight."),weathergen.help.content_para.call(null,"The mission end time for this fligth in DAY/HH:MM format."),(function (mode){
var pred__35265 = cljs.core._EQ_;
var expr__35266 = mode;
if(cljs.core.truth_(pred__35265.call(null,new cljs.core.Keyword(null,"hoplon","hoplon",-1616134367),expr__35266))){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"Click the ",weathergen.ui.buttons.a_button.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 8, [new cljs.core.Keyword(null,"border-radius","border-radius",419594011),"50%",new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(12)),new cljs.core.Keyword(null,"height","height",1025178622),weathergen.ui.common.px.call(null,(12)),new cljs.core.Keyword(null,"text-align","text-align",1786091845),"center",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"bold",new cljs.core.Keyword(null,"font-family","font-family",-667419874),"serif",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"110%",new cljs.core.Keyword(null,"line-height","line-height",1870784992),weathergen.ui.common.px.call(null,(12))], null),"i")," button to display additional information about the flight,\n          including munitions and detailed flight plan info."),hoplon.core.p.call(null,"Click the ",weathergen.ui.buttons.image_button.call(null,new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(12)),new cljs.core.Keyword(null,"src","src",-1651076051),"images/open-external.svg")," button to toggle displaying flight details in a separate tab."));
} else {
throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__35266)].join('')));
}
}),weathergen.help.content_para.call(null,"The Time-On-Target for this flight in DAY/HH:MM format."),weathergen.help.content_para.call(null,"The squadron to which this flight belongs.")]),new cljs.core.Keyword(null,"waypoint-columns","waypoint-columns",1546876163),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"description","description",-1428560544),new cljs.core.Keyword(null,"speed-mach","speed-mach",-1842148254),new cljs.core.Keyword(null,"speed-cas","speed-cas",-239308126),new cljs.core.Keyword(null,"number","number",1570378438),new cljs.core.Keyword(null,"depart","depart",-100007287),new cljs.core.Keyword(null,"comments","comments",-293346423),new cljs.core.Keyword(null,"speed-ias","speed-ias",-534091766),new cljs.core.Keyword(null,"speed-tas","speed-tas",228844362),new cljs.core.Keyword(null,"action","action",-811238024),new cljs.core.Keyword(null,"distance","distance",-1671893894),new cljs.core.Keyword(null,"speed-gnd","speed-gnd",1356834908),new cljs.core.Keyword(null,"altitude","altitude",463588637),new cljs.core.Keyword(null,"arrive","arrive",-284644322),new cljs.core.Keyword(null,"remain","remain",1399477086),new cljs.core.Keyword(null,"heading","heading",-1312171873),new cljs.core.Keyword(null,"enroute","enroute",-1681821057)],[weathergen.help.content_para.call(null,"A brief description of the steerpoint."),weathergen.help.content_para.call(null,"The speed in mach to fly en route to this steerpoint."),weathergen.help.content_para.call(null,"The calibrated airspeed to fly en route to this steerpoint."),weathergen.help.content_para.call(null,"The steerpoint number."),weathergen.help.content_para.call(null,"The scheduled departure time at the steerpoint, in DAY/HH:MM:SS format."),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"Miscellaneous comments, if any."));
}),weathergen.help.content_para.call(null,"The indicated airspeed to fly en route to this steerpoint."),weathergen.help.content_para.call(null,"The true airspeed to fly en route to this steerpoint."),weathergen.help.content_para.call(null,"The action to be taken at the steerpoint, if any."),weathergen.help.content_para.call(null,"The distance to this steerpoint from the previous, in nm."),weathergen.help.content_para.call(null,"The ground speed to fly en route to this steerpoint"),weathergen.help.content_para.call(null,"The altitude to fly en route to this steerpoint."),weathergen.help.content_para.call(null,"The scheduled arrival time at the steerpoint, in DAY/HH:MM:SS format."),weathergen.help.content_para.call(null,"The scheduled duration to remain at the steerpoint, if any, in HH:MM:SS format"),weathergen.help.content_para.call(null,"The heading to this steerpoint from the previous."),weathergen.help.content_para.call(null,"The action to be taken enroute to the steerpoint, if any.")])], null),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"direction","direction",-633359395),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"heading","heading",-1312171873),weathergen.help.content_para.call(null,"The direction the weather pattern will move in."),new cljs.core.Keyword(null,"speed","speed",1257663751),weathergen.help.content_para.call(null,"The speed at which the weather pattern will move.")], null)], null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"pressure","pressure",505343747),new cljs.core.Keyword(null,"show-outline?","show-outline?",820145348),new cljs.core.Keyword(null,"animate?","animate?",-1559039739),new cljs.core.Keyword(null,"overview","overview",-435037267),new cljs.core.Keyword(null,"radius","radius",-2073122258),new cljs.core.Keyword(null,"center","center",-748944368),new cljs.core.Keyword(null,"falloff","falloff",-1639069456),new cljs.core.Keyword(null,"begin","begin",-319034319),new cljs.core.Keyword(null,"strength","strength",-415606478),new cljs.core.Keyword(null,"taper","taper",1772067478),new cljs.core.Keyword(null,"peak","peak",389096055),new cljs.core.Keyword(null,"exclude-from-forecast?","exclude-from-forecast?",1182671640),new cljs.core.Keyword(null,"end","end",-268185958)],[weathergen.help.content_para.call(null,"The override pressure for the region. Use the values from the\n    Weather Type Configuration section to select an appropriate value\n    for the type of weather you are trying to enforce."),weathergen.help.content_para.call(null,"Controls whether the outline of the override region will be\n    shown. Note that this setting also affects the shareable\n    forecast."),weathergen.help.content_para.call(null,"If checked, the weather override will appear and disappear at\n    the times specified below. If unchecked, the weather override will\n    always be in effect."),weathergen.help.content_para.call(null,"Weather type is determined from air pressure - lower pressure\n   yields inclement or poor weather, and higher pressure fair and\n   sunny weather. By default, pressure is generated randomly, but it\n   can be overridden for certain locations and times using the\n   controls in this section."),weathergen.help.content_para.call(null,"The radius of the override region, measured in cells."),weathergen.help.content_para.call(null,"The X and Y coordinates of the center of the override region."),weathergen.help.content_para.call(null,"The distance from the center of the region at which the\n    override pressure begins to be blended into the surrounding\n    pressure. Set this to zero to have a very gradual transition. Set\n    it to the radius to have an abrupt edge to the region. Note that\n    abrupt changes may result in odd weather effects in the sim. A\n    falloff of at least four less than the radius is recommended."),weathergen.help.content_para.call(null,"The time at which the weather override will begin to take\n    effect. The pressure (and therefore the weather type) will\n    gradually change from the unmodified value to the overridden value\n    between this time and the peak time."),weathergen.help.content_para.call(null,"Controls to what degree the underlying pressure pattern will\n    be overridden. This value should be between zero and one. A value\n    of one completely replaces the underlying pressure with the value\n    from the 'pressure' field above. A value of 0.5 would produce a\n    value halfway between the value from the 'pressure' field and the\n    underlying pattern."),weathergen.help.content_para.call(null,"The time at which the weather override will begin to fade out.\n    The pressure (and therefore the weather time) will gradually\n    change from the overriden value to the unmodified value between\n    this time and the end time."),weathergen.help.content_para.call(null,"The time at which the weather override will reach full\n    strength. It will continue at full strength from this time until\n    the taper time."),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"If checked, the effects of the override will not be included\n    in the shareable forecast. This allows weather planners to include\n    'surprises'."], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Note that the effects of the override ",hoplon.core.em.call(null,"will")," be\n     visible in the shared forecast for times before 'now'. This is\n     because it doesn't make any sense to hide events that occurred in\n     the past - the user can simply navigate to them."], null)),weathergen.help.content_para.call(null,"The time at which this override will no longer be in effect.")]),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"settings","settings",1556144875),(function (mode){
var pred__35268 = cljs.core._EQ_;
var expr__35269 = mode;
if(cljs.core.truth_(pred__35268.call(null,new cljs.core.Keyword(null,"hoplon","hoplon",-1616134367),expr__35269))){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"Press this button to toggle column configuration. When the\n  button is depressed, columns can be added, hidden, and\n  rearranged."),hoplon.core.p.call(null,"To hide a column, click the checkbox next to the column name\n  until it shows a red ",hoplon.core.span.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"color","color",1011675173),"red"], null),"\u2717"),".","To show a column, click the checkbox next to the column name\n  until it shows a green ",hoplon.core.span.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"color","color",1011675173),"green"], null),"\u2713"),"."),hoplon.core.p.call(null,"To move a column to the right, click the > button next to\n  the column name. To move a column to the left, click the <\n  button next to the column name."),hoplon.core.p.call(null,"To sort a column, click the ",weathergen.ui.common.inl.call(null,new cljs.core.Keyword(null,"class","class",-2030961996),"sorters",hoplon.svg.svg.call(null,new cljs.core.Keyword(null,"width","width",-384071477),weathergen.ui.common.px.call(null,(20)),new cljs.core.Keyword(null,"viewBox","viewBox",-469489477),"-100 -100 200 200",weathergen.ui.common.triangle.call(null,new cljs.core.Keyword(null,"transform","transform",1381301764),"rotate(180) translate(0 -50)",new cljs.core.Keyword(null,"r","r",-471384190),(50),new cljs.core.Keyword(null,"stroke","stroke",1741823555),"black",new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435),"2",new cljs.core.Keyword(null,"fill","fill",883462889),"none"),weathergen.ui.common.triangle.call(null,new cljs.core.Keyword(null,"transform","transform",1381301764),"translate(0 -50)",new cljs.core.Keyword(null,"r","r",-471384190),(50),new cljs.core.Keyword(null,"stroke","stroke",1741823555),"black",new cljs.core.Keyword(null,"stroke-width","stroke-width",716836435),"2",new cljs.core.Keyword(null,"fill","fill",883462889),"none")))," icon next to the column name. Clicking will cycle between\n     sorting in ascending and descending order."),hoplon.core.p.call(null,"Note that some columns may not permit hiding, moving, or\n  sorting."),hoplon.core.p.call(null,"When you are happy with the column configuration, click the\n  settings button again."));
} else {
throw (new Error(["No matching clause: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(expr__35269)].join('')));
}
})], null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"cumulus-coverage","cumulus-coverage",255977312),new cljs.core.Keyword(null,"buttons","buttons",-1953831197),new cljs.core.Keyword(null,"cumulus-base","cumulus-base",-578210868),new cljs.core.Keyword(null,"overview","overview",-435037267),new cljs.core.Keyword(null,"contrails","contrails",1430581743),new cljs.core.Keyword(null,"stratus-base","stratus-base",-1631962478),new cljs.core.Keyword(null,"low","low",-1601362409),new cljs.core.Keyword(null,"cumulus-size","cumulus-size",-954219270),new cljs.core.Keyword(null,"visibility","visibility",1338380893),new cljs.core.Keyword(null,"stratus-top","stratus-top",784220574)],[weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"What percentage of the sky the cumulus clouds (if present) will cover."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Note that this setting can have a big impact on FPS: decrease\n     coverage if you encounter frame rate issues."], null)),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 11, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Randomize Clouds & Vis"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),"Set the values for contrails, high clouds, low clouds, and\n      visibility to random (but valid) values."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Randomize Wind"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),"Set the wind values to random (but valid) values."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Randomize Temperature"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),"Set the temperature values to random (but valid) values."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Reset to Defaults"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),"Reset the cloud, wind, and temperature values to their default values."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Save TWX"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Save TWX: Saves a .twx file, which contains the cloud and\n        contrail values from this section. This file should be saved\n        with the same name as the mission (.tac or .cam) file, but\n        with a .twx extension."], null)], null)], null)),weathergen.help.content_para.call(null,"The altitude (in feet) of the cumulus layer. Set to zero for\n    no cumulus clouds. The cumulus base for a given weather category\n    must be at least 1000 feet below the top of the corresponding\n    stratus base."),weathergen.help.content_para.call(null,"Edit the cloud, visibility, and contrail settings. These\n    settings are the same everywhere on the map - they do not vary by\n    location."),weathergen.help.content_para.call(null,"The altitude at which condensation trails will form."),weathergen.help.content_para.call(null,"The altitude (in feet) of the base stratus\n    layer. The top of the stratus layer must be at least 1000 feet\n    above the cumulus layer."),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"overview","overview",-435037267),weathergen.help.content_para.call(null,"Edit the occurrence and configuration of low clouds. Low clouds\n      are those typically occurring below 10,000 feet.")], null),weathergen.help.content_para.call(null,"Affects the appearance of the cumulus clouds. Positions\n    further to the right will result in more, smaller clouds. Positions\n    to the left will result in fewer, larger clouds."),weathergen.help.content_para.call(null,"The visibility (in nm) for each weather type."),weathergen.help.content_para.call(null,"The altitude (in feet) of the top of the stratus layer. The\n    top of the stratus layer must be at least 1000 feet above the\n    cumulus layer. The top of the stratus layer must be the same for\n    poor and inclement weather, and sunny and fair weather must have a\n    zero-thickness stratus layer - i.e. the top and base must be the\n    same.")]),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"save-briefing","save-briefing",-1540800301),weathergen.help.content.call(null,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,"p","p",151049309),"Saves a VMT briefing file. This is a file with a name ending in\n     '.vmtb' that contains information about the mission meant to be\n     shared with mission participants. Pilots can open this file in\n     VMT to view weather and the disposition of friendly forces.\n     Information about hidden enemy forces, future weather, and other\n     information available only to the mission creator will not be\n     viewable."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Check the boxes below the alliances you wish briefing\n      recipients to be able to view in full. For instance, check the\n      box below ROK/US to enable participants to see all information\n      about the ROK and US forces. This includes all flights, ground\n      forces, etc. etc."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Note that some information will still be available for\n      unchecked countries. For instance, the home airbase and strength\n      of enemy squadrons is always available."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Briefing files must be opened on a machine with the\n      indicated version of Falcon BMS and theater installed."], null)], null)),new cljs.core.Keyword(null,"save-briefing-from-briefing","save-briefing-from-briefing",1357034776),weathergen.help.content_para.call(null,"Click this button to save a copy of the briefing.\n    The copy will contain any changes you have made, including\n    briefing notes and map annotations."),new cljs.core.Keyword(null,"briefing-notes","briefing-notes",-1524193117),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"edit","edit",-1641834166),weathergen.help.content_para.call(null,"Textual notes that will appear in the briefing file.\n      Currently, no formatting is supported - at some point VMT will\n      permit links, highlighting, etc."),new cljs.core.Keyword(null,"briefing","briefing",-176308969),weathergen.help.content_para.call(null,"Optional notes for mission participants.")], null)], null),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"temp-uniformity","temp-uniformity",836756864),new cljs.core.Keyword(null,"pressure","pressure",505343747),new cljs.core.Keyword(null,"time","time",1385887882),new cljs.core.Keyword(null,"evolution","evolution",944820557),new cljs.core.Keyword(null,"seed","seed",68613327),new cljs.core.Keyword(null,"feature-size","feature-size",-878734864),new cljs.core.Keyword(null,"turbulence","turbulence",-915506410),new cljs.core.Keyword(null,"origin","origin",1037372088),new cljs.core.Keyword(null,"wind-uniformity","wind-uniformity",827531801),new cljs.core.Keyword(null,"crossfade","crossfade",-118506406),new cljs.core.Keyword(null,"prevailing-wind","prevailing-wind",-190580386)],[weathergen.help.content_para.call(null,"Controls how much the temperature will vary between the bounds\n    set under 'Weather type configuration'. Should be between zero and\n    one. Lower values produce more temperatures near the mean for that\n    weather type. Higher values produce more temperatures near the min\n    and max for that weather type."),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"max","max",61366548),weathergen.help.content_para.call(null,"The maximum barometric pressure that will be generated."),new cljs.core.Keyword(null,"min","min",444991522),weathergen.help.content_para.call(null,"The minimum barometric pressure that will be generated."),new cljs.core.Keyword(null,"variance","variance",1132010827),weathergen.help.content_para.call(null,"The maximum amount the pressure will vary across the theater at any given moment. Pressure will vary over time between the min and the max.")], null),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"offset","offset",296498311),weathergen.help.content_para.call(null,"The time in 'weather space' that is displayed on the grid.\nYou will not normally edit this field, but you can change it to move\nforward and backward in time. "),new cljs.core.Keyword(null,"falcon-time","falcon-time",34959931),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"The current time in the Falcon world. Time cannot be advanced\n     past this point, as that would be peeking into the future."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Click the 'Jump to' button to set the displayed weather to\n     this time."], null)),new cljs.core.Keyword(null,"browse-time","browse-time",832671504),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Enter a time here to view the weather at that time. Use the\n     format 'dd/hhmm', where 'dd', 'hh', and 'mm' are the numeric day,\n     hour, and minute. For example, '01/1200' will show the weather at\n     noon of day 1."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Note that you will be unable to move the time past 'Falcon\n      time' above, as that would be peeking into the future. Use the\n      Forecast section below to get a (potentially slightly\n      inaccurate) forecast instead."], null))], null),weathergen.help.content_para.call(null,"The number of minutes it takes for the weather to completely\n     change, even if not moving."),weathergen.help.content_para.call(null,"The seed selects a weather system. Changing this will change\n    the weather pattern entirely. Use any whole number. Click the\n    'Random' button to have the system choose a seed randomly."),weathergen.help.content_para.call(null,"How 'zoomed in' the weather will be on the underlying weather\n    pattern. Make this number bigger to get larger storm cells and\n    larger areas of fair weather. Make it smaller to get weather that\n    changes more frequently."),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"power","power",-937852079),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Weather patterns are generated by taking an underlying, regular pattern and 'warping' it into random shapes. This parameter controls how strong this warp is. Set it to zero to see the underlying weather pattern with no warping. Higher value produce more warping."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"As warp strength increases, you will probably have to set a higher zoom to get good results."], null))], null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"x","x",2099068185),weathergen.help.content_para.call(null,"The x location in 'weather space' that is displayed\n   on the grid. You will not normally edit this field, but you can\n   change it to see different parts of the weather pattern."),new cljs.core.Keyword(null,"y","y",-1757859776),weathergen.help.content_para.call(null,"The y location in 'weather space' that is displayed\non the grid. You will not normally edit this field, but you can change\nit to see different parts of the weather pattern.")], null),weathergen.help.content_para.call(null,"Controls how much the wind speed will vary between the bounds\n    set under 'Weather type configuration'. Should be between zero and\n    one. Lower values produce more winds near the mean for that\n    weather type. Higher values produce more wind speeds near the min\n    and max for that weather type."),weathergen.help.content_para.call(null,"The degree to which adjacent weather types will be blended\n    together. Zero means that winds, etc. will shift abruptly at\n    weather type boundaries. A good value to use is 0.1. Values above\n    about 0.3 will give strange results."),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"heading","heading",-1312171873),weathergen.help.content_para.call(null,"The direction of the prevailing\n    wind. Although wind direction varies, especially around high- and\n    low-pressure areas, more wind will be generated in this direction\n    than in any other.")], null)]),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"pressure","pressure",505343747),weathergen.help.content_para.call(null,"Weather types (sunny, fair, poor, and inclement) are\n    determined by the barometric pressure. Set the thresholds for\n    which pressures determine which weather types here. "),new cljs.core.Keyword(null,"wind","wind",-527553074),weathergen.help.content_para.call(null,"The minimum, maximum, and mean wind speeds for each weather\n     type. Due to crossfading, these values are not strict - wind can\n     be higher than the maximum or lower than the minimum near the\n     edges of other weather types."),new cljs.core.Keyword(null,"temp","temp",1791541284),weathergen.help.content_para.call(null,"The minimum, maximum, and mean temperatures for each weather\n     type. Due to crossfading, these values are not strict -\n     temperature can be higher than the maximum or lower than the\n     minimum near the edges of other weather types.")], null),weathergen.help.content.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Controls the Falcon Time that the current weather corresponds\n   to. Edit the day, minute, and hour and then use one of the two\n   buttons."], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Jump to"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Jumps forward or backward to the indicated time. The\n     displayed weather may change."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Set to"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Sets the time to the indicated time. The displayed weather\n     will not change."], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"The time is used to generate file names for downloaded FMAP\n   files, which Falcon relies on to automatically update weather."], null)),weathergen.help.content_para.call(null,"The number of minutes each click of the 'Step forward' or 'Step\n   backward' buttons will move in time. Also influences how many rows\n   there are in the weather forecast."),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"airbases-and-squadrons","airbases-and-squadrons",396705313),new cljs.core.Keyword(null,"display-options","display-options",1066052168),new cljs.core.Keyword(null,"hide-zero-status-airbases","hide-zero-status-airbases",1840033965),new cljs.core.Keyword(null,"squadron-types","squadron-types",1890788688),new cljs.core.Keyword(null,"squadron-type-buttons","squadron-type-buttons",-151353966),new cljs.core.Keyword(null,"airbase-selection-buttons","airbase-selection-buttons",-991641834),new cljs.core.Keyword(null,"airbase-filtering","airbase-filtering",-1721186951),new cljs.core.Keyword(null,"tree-collapse-buttons","tree-collapse-buttons",-1065929796),new cljs.core.Keyword(null,"hide-no-squadron-airbases","hide-no-squadron-airbases",-1359048131)],[weathergen.help.content.call(null,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,"p","p",151049309),"This section displays detailed information about all airbases and the squadrons stationed at them. The information is arranged hierarchically: alliances are at the top level, then airbases, then detailed status for each airbase, including the squadrons stationed at each."], 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, 1, [new cljs.core.Keyword(null,"src","src",-1651076051),"images/help/air-forces-tree.png"], null)], null),new cljs.core.PersistentVector(null, 9, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ol","ol",932524051),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Expand/collapse."], null)," Use this to show or hide details about this airbase."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Display on map."], null)," Check this box to have the airbase displayed on the map."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Airbase icon."], null)," The icon for this airbase as it will be shown on the map."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Airbase status."], null)," The status of this airbase. The box is colored in\n           proportion to how close to fully operational the airbase\n           is. Green fill indicates status above 75%. Orange status\n           indicates status between 25% and 75%. Red indicates status\n           below 25%. Completely white indicates an airbase that is at\n           0%."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Airbase name."], null)," The name of the airbase. Colored to indicate the current owner."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Airbase squadron icons."], null)," Icons for the squadrons deployed at this airbase. Colored\n           to indicate nationality."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Airbase status."], null)," Status of the airbase."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Airbase squadron details."], null)," Information about the type and strength of the squadrons\n           deployed at this airbase."], null)], null)], null)),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"overview","overview",-435037267),weathergen.help.content.call(null,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,"p","p",151049309),"Use this section to control the way airbases are displayed\n      on the map. Airbases are shown as icons with up to three other\n      pieces of information around them:"], 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, 1, [new cljs.core.Keyword(null,"src","src",-1651076051),"images/help/airbase-map-display.png"], null)], null),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ol","ol",932524051),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Airbase icon."], null)," The icon for the airbase."], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Airbase status."], null)," The status of the airbase. Shown as a colored rectangle\n           filled in proportion to how much damage the airbase has\n           taken:",new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ul","ul",-1349521403),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Green."], null)," 75% or greater strength."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Orange."], null)," Between 25% and 75% strength."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Red."], null)," Less than 25% strength."], null)], null),"If the rectangle is completely white, the airbase is at 0%\n           strength and cannot sortie."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Squadron icons."], null)," One icon will be shown for each squadron (for squadron\n           types that have been selected). The icon indicates the type\n           of aircraft in the squadron."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Airbase name."], null)," The name of the airbase."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"li","li",723558921),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strong","strong",269529000),"Squadron details."], null)," For each squadron deployed at the airbase, one line of\n           text will be shown, indicating the numerical strength of\n           and airframe for that squadron. For example, \"14 F-5E\"\n           indicates that a squadron consisting of fourteen F-5E Tiger\n           II aircraft is located at this airbase."], null)], null)], null)),new cljs.core.Keyword(null,"airbase-labels","airbase-labels",580409100),weathergen.help.content.call(null,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, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Use this dropdown to control how airbase labels will be shown on the map."], null),new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Airbase name only"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Only the airbase name will be shown below the airbase."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Airbase name and squadrons"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"The airbase name will be shown followed by a list of\n       squadrons located at that airbase, one line per squadron. Note\n       that only squadrons whose type has been selected will be\n       shown."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"No label"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"No label will be displayed below the airbase"], null)], null)], null)),new cljs.core.Keyword(null,"show-airbase-status?","show-airbase-status?",-2059784435),weathergen.help.content_para.call(null,"If checked, the status of each airbase will be displayed\n      above the airbase icon on the map."),new cljs.core.Keyword(null,"show-airbase-squadrons?","show-airbase-squadrons?",1245487954),weathergen.help.content_para.call(null,"If checked, squadron icons will be shown to the right of the\n      airbase icon on the map.")], null),weathergen.help.content_para.call(null,"If checked, airbases that are unable to sortie (i.e. that are\n     at 0% status), will not be shown."),weathergen.help.content_para.call(null,"Selects which squadron types will be displayed. If a box is\n     not checked, it will be as if squadrons consisting of aircraft of\n     that type do not exist - they will not be displayed on the map or\n     in the list below."),weathergen.help.content_para.call(null,"Use these buttons to quickly check or uncheck all the\n    squadron types."),weathergen.help.content_para.call(null,"Use these buttons to quickly hide or show all airbases on\n      the map. Has the same effect as checking or unchecking each of\n      the airbases in the list below."),weathergen.help.content_para.call(null,"Controls whether airbases will be shown on the map and in\n      the list below based on their status and whether or not they\n      have any aircraft stationed there."),weathergen.help.content.call(null,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, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Use these buttons to show different levels of detail in the airbase list below."], null),new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dl","dl",-2140151713),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Expand all"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Show all available levels of detail for all visible airbases."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Collapse all"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Collapse the airbase list so that only alliances/teams are visible."], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dt","dt",-368444759),"Collapse to airbases"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"dd","dd",-1340437629),"Show all visible airbases in the list below, but do not\n       show their detailed status. This is the default view."], null)], null)], null)),weathergen.help.content_para.call(null,"If checked, airbases that have no airbases stationed at them\n    will hidden. Note that only squadrons of selected types will be\n    considered - a base that has only fighters will be hidden if\n    'Fighter' is unchecked under 'Squadron Types'.")]),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"save-image","save-image",-2127892773),weathergen.help.content_para.call(null,"Save a PNG image of the current map view. Select a preset size or specify your own."),new cljs.core.Keyword(null,"legend","legend",-1027192245),weathergen.help.content.call(null,(function (){var section = (function() { 
var G__35291__delegate = function (title,contents){
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,"div","div",1057191632),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,"background","background",-863952629),"lightgray",new cljs.core.Keyword(null,"margin-top","margin-top",392161226),"3px",new cljs.core.Keyword(null,"padding","padding",1660304693),"0 0 2px 3px",new cljs.core.Keyword(null,"font-size","font-size",-1847940346),"105%"], null)], null),title], null),contents], null);
};
var G__35291 = function (title,var_args){
var contents = null;
if (arguments.length > 1) {
var G__35292__i = 0, G__35292__a = new Array(arguments.length -  1);
while (G__35292__i < G__35292__a.length) {G__35292__a[G__35292__i] = arguments[G__35292__i + 1]; ++G__35292__i;}
  contents = new cljs.core.IndexedSeq(G__35292__a,0,null);
} 
return G__35291__delegate.call(this,title,contents);};
G__35291.cljs$lang$maxFixedArity = 1;
G__35291.cljs$lang$applyTo = (function (arglist__35293){
var title = cljs.core.first(arglist__35293);
var contents = cljs.core.rest(arglist__35293);
return G__35291__delegate(title,contents);
});
G__35291.cljs$core$IFn$_invoke$arity$variadic = G__35291__delegate;
return G__35291;
})()
;
return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"div","div",1057191632),section.call(null,"Weather Type",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Colors in each square in the map indicate the weather type."], null),(function (){var iter__4523__auto__ = ((function (section){
return (function weathergen$help$iter__35271(s__35272){
return (new cljs.core.LazySeq(null,((function (section){
return (function (){
var s__35272__$1 = s__35272;
while(true){
var temp__5720__auto__ = cljs.core.seq.call(null,s__35272__$1);
if(temp__5720__auto__){
var s__35272__$2 = temp__5720__auto__;
if(cljs.core.chunked_seq_QMARK_.call(null,s__35272__$2)){
var c__4521__auto__ = cljs.core.chunk_first.call(null,s__35272__$2);
var size__4522__auto__ = cljs.core.count.call(null,c__4521__auto__);
var b__35274 = cljs.core.chunk_buffer.call(null,size__4522__auto__);
if((function (){var i__35273 = (0);
while(true){
if((i__35273 < size__4522__auto__)){
var vec__35275 = cljs.core._nth.call(null,c__4521__auto__,i__35273);
var type = cljs.core.nth.call(null,vec__35275,(0),null);
var color = cljs.core.nth.call(null,vec__35275,(1),null);
var description = cljs.core.nth.call(null,vec__35275,(2),null);
cljs.core.chunk_append.call(null,b__35274,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,"white-space","white-space",-707351930),"nowrap"], 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, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [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,"span","span",1394872991),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,"width","width",-384071477),"20px",new cljs.core.Keyword(null,"height","height",1025178622),"20px",new cljs.core.Keyword(null,"display","display",242065432),"inline-block",new cljs.core.Keyword(null,"border","border",1444987323),"solid 1px black",new cljs.core.Keyword(null,"margin-right","margin-right",809689658),"3px",new cljs.core.Keyword(null,"vertical-align","vertical-align",651007333),"middle",new cljs.core.Keyword(null,"background","background",-863952629),color], 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,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block"], 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,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block",new cljs.core.Keyword(null,"margin-right","margin-right",809689658),"3px"], 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,"font-weight","font-weight",2085804583),"900",new cljs.core.Keyword(null,"margin-right","margin-right",809689658),"3px"], null)], null),type], null),"-"], null),description], null)], null));

var G__35294 = (i__35273 + (1));
i__35273 = G__35294;
continue;
} else {
return true;
}
break;
}
})()){
return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__35274),weathergen$help$iter__35271.call(null,cljs.core.chunk_rest.call(null,s__35272__$2)));
} else {
return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__35274),null);
}
} else {
var vec__35278 = cljs.core.first.call(null,s__35272__$2);
var type = cljs.core.nth.call(null,vec__35278,(0),null);
var color = cljs.core.nth.call(null,vec__35278,(1),null);
var description = cljs.core.nth.call(null,vec__35278,(2),null);
return cljs.core.cons.call(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, 1, [new cljs.core.Keyword(null,"white-space","white-space",-707351930),"nowrap"], 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, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [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,"span","span",1394872991),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,"width","width",-384071477),"20px",new cljs.core.Keyword(null,"height","height",1025178622),"20px",new cljs.core.Keyword(null,"display","display",242065432),"inline-block",new cljs.core.Keyword(null,"border","border",1444987323),"solid 1px black",new cljs.core.Keyword(null,"margin-right","margin-right",809689658),"3px",new cljs.core.Keyword(null,"vertical-align","vertical-align",651007333),"middle",new cljs.core.Keyword(null,"background","background",-863952629),color], 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,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block"], 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,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block",new cljs.core.Keyword(null,"margin-right","margin-right",809689658),"3px"], 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,"font-weight","font-weight",2085804583),"900",new cljs.core.Keyword(null,"margin-right","margin-right",809689658),"3px"], null)], null),type], null),"-"], null),description], null)], null),weathergen$help$iter__35271.call(null,cljs.core.rest.call(null,s__35272__$2)));
}
} else {
return null;
}
break;
}
});})(section))
,null,null));
});})(section))
;
return iter__4523__auto__.call(null,new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Sunny","rgb(128,240,255)","Clear skies."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Fair","rgb(0,255,0)","Few to scattered cumulus clouds. No precipitation."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Poor","rgb(255,255,0)","Solid overcast with no precipitation."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Inclement","rgb(192, 0, 0)","Solid overcast with precipitation (rain or snow)."], null)], null));
})()),section.call(null,"Wind",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"p","p",151049309),"Wind barbs show the direction and strength of the\n         wind in each square. The orientation shows the direction the\n         wind, with 'tails' on the upwind side. A half tail indicates\n         five knots. Each full tail indicates ten knots. Each\n         pennant (filled-in triangle) indicates fifty knots."], null),(function (){var iter__4523__auto__ = ((function (section){
return (function weathergen$help$iter__35281(s__35282){
return (new cljs.core.LazySeq(null,((function (section){
return (function (){
var s__35282__$1 = s__35282;
while(true){
var temp__5720__auto__ = cljs.core.seq.call(null,s__35282__$1);
if(temp__5720__auto__){
var s__35282__$2 = temp__5720__auto__;
if(cljs.core.chunked_seq_QMARK_.call(null,s__35282__$2)){
var c__4521__auto__ = cljs.core.chunk_first.call(null,s__35282__$2);
var size__4522__auto__ = cljs.core.count.call(null,c__4521__auto__);
var b__35284 = cljs.core.chunk_buffer.call(null,size__4522__auto__);
if((function (){var i__35283 = (0);
while(true){
if((i__35283 < size__4522__auto__)){
var vec__35285 = cljs.core._nth.call(null,c__4521__auto__,i__35283);
var speed = cljs.core.nth.call(null,vec__35285,(0),null);
var heading = cljs.core.nth.call(null,vec__35285,(1),null);
var description = cljs.core.nth.call(null,vec__35285,(2),null);
cljs.core.chunk_append.call(null,b__35284,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,"white-space","white-space",-707351930),"nowrap"], 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, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block",new cljs.core.Keyword(null,"vertical-align","vertical-align",651007333),"middle"], null)], null),weathergen.help.wind_barb.call(null,speed,heading)], null),description], null));

var G__35295 = (i__35283 + (1));
i__35283 = G__35295;
continue;
} else {
return true;
}
break;
}
})()){
return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__35284),weathergen$help$iter__35281.call(null,cljs.core.chunk_rest.call(null,s__35282__$2)));
} else {
return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__35284),null);
}
} else {
var vec__35288 = cljs.core.first.call(null,s__35282__$2);
var speed = cljs.core.nth.call(null,vec__35288,(0),null);
var heading = cljs.core.nth.call(null,vec__35288,(1),null);
var description = cljs.core.nth.call(null,vec__35288,(2),null);
return cljs.core.cons.call(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, 1, [new cljs.core.Keyword(null,"white-space","white-space",-707351930),"nowrap"], 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, 1, [new cljs.core.Keyword(null,"style","style",-496642736),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block",new cljs.core.Keyword(null,"vertical-align","vertical-align",651007333),"middle"], null)], null),weathergen.help.wind_barb.call(null,speed,heading)], null),description], null),weathergen$help$iter__35281.call(null,cljs.core.rest.call(null,s__35282__$2)));
}
} else {
return null;
}
break;
}
});})(section))
,null,null));
});})(section))
;
return iter__4523__auto__.call(null,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(5),(0),"Wind at 5 knots from the north."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(25),(270),"Wind at 25 knots from the west."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [(115),(134),"Wind at 115 knots from the southeast."], null)], null));
})())], null);
})()),new cljs.core.Keyword(null,"mission-time","mission-time",-1235574900),weathergen.help.content_para.call(null,"Shows the time in the Falcon world in the format Day/Hour:Minute."),new cljs.core.Keyword(null,"weather-time","weather-time",-248525118),weathergen.help.content_para.call(null,"Shows for what time the weather is being displayed (if\n     weather is being shown). Time is displayed in the format\n     Day/Hour:Minute.")], null)]);
var open_instance_35309 = javelin.core.cell.call(null,null);
setTimeout(((function (open_instance_35309){
return (function (){
return document.addEventListener("click",((function (open_instance_35309){
return (function (e){
return cljs.core.reset_BANG_.call(null,open_instance_35309,null);
});})(open_instance_35309))
);
});})(open_instance_35309))
,(0));

/**
 * Returns UI for content with embedded help. `help-path` is a vector
 *   path into the `content` map.
 */
weathergen.help.with_help = ((function (open_instance_35309){
return (function weathergen$help$with_help(var_args){
var G__35297 = arguments.length;
switch (G__35297) {
case 2:
return weathergen.help.with_help.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));

break;
case 3:
return weathergen.help.with_help.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));

break;
default:
throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join('')));

}
});})(open_instance_35309))
;

weathergen.help.with_help.cljs$core$IFn$_invoke$arity$2 = ((function (open_instance_35309){
return (function (help_path,content){
return weathergen.help.with_help.call(null,help_path,cljs.core.PersistentArrayMap.EMPTY,content);
});})(open_instance_35309))
;

weathergen.help.with_help.cljs$core$IFn$_invoke$arity$3 = ((function (open_instance_35309){
return (function (help_path,opts,content){
var help_ctor = cljs.core.get_in.call(null,weathergen.help.help_content_ctors,help_path);
var map__35298 = opts;
var map__35298__$1 = (((((!((map__35298 == null))))?(((((map__35298.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__35298.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__35298):map__35298);
var underline_color = cljs.core.get.call(null,map__35298__$1,new cljs.core.Keyword(null,"underline-color","underline-color",847203925));
var omit_underline_QMARK_ = cljs.core.get.call(null,map__35298__$1,new cljs.core.Keyword(null,"omit-underline?","omit-underline?",-1355729360));
var eat_click_QMARK_ = cljs.core.get.call(null,map__35298__$1,new cljs.core.Keyword(null,"eat-click?","eat-click?",-1411366808));
var this_instance = cljs.core.gensym.call(null);
var open_QMARK_ = javelin.core.formula.call(null,((function (help_ctor,map__35298,map__35298__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_instance_35309){
return (function (G__35300,G__35302,G__35301){
return G__35300.call(null,G__35301,G__35302);
});})(help_ctor,map__35298,map__35298__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_instance_35309))
).call(null,cljs.core._EQ_,this_instance,open_instance_35309);
return hoplon.core.div.call(null,new cljs.core.Keyword(null,"class","class",-2030961996),"help",new cljs.core.Keyword(null,"css","css",1135045163),cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"cursor","cursor",1011937484),"url(images/helpcursor.png) 4 4, auto",new cljs.core.Keyword(null,"border-bottom","border-bottom",2110948415),(cljs.core.truth_(omit_underline_QMARK_)?null:(cljs.core.truth_(help_ctor)?["dashed 1px ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var or__4131__auto__ = underline_color;
if(cljs.core.truth_(or__4131__auto__)){
return or__4131__auto__;
} else {
return "blue";
}
})())].join(''):"dashed 2px red"))], null),opts),new cljs.core.Keyword(null,"click","click",1912301393),((function (help_ctor,map__35298,map__35298__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,open_instance_35309){
return (function (e){
if(cljs.core._EQ_.call(null,cljs.core.deref.call(null,open_instance_35309),this_instance)){
cljs.core.reset_BANG_.call(null,open_instance_35309,null);
} else {
cljs.core.reset_BANG_.call(null,open_instance_35309,this_instance);
}

return false;
});})(help_ctor,map__35298,map__35298__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,open_instance_35309))
,(function (){var e = hoplon.core.div.call(null,new cljs.core.Keyword(null,"fade-toggle","fade-toggle",-1468421852),open_QMARK_,new cljs.core.Keyword(null,"class","class",-2030961996),"content",new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"white-space","white-space",-707351930),"normal",new cljs.core.Keyword(null,"font-weight","font-weight",2085804583),"normal"], null),(cljs.core.truth_(help_ctor)?help_ctor.call(null,new cljs.core.Keyword(null,"hoplon","hoplon",-1616134367)):new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"Help has not yet been written for this feature."),hoplon.core.p.call(null,cljs.core.str.cljs$core$IFn$_invoke$arity$1(help_path))], null)));
hoplon.core.do_watch.call(null,open_QMARK_,((function (e,help_ctor,map__35298,map__35298__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,open_instance_35309){
return (function (old,new$){
if(cljs.core.truth_((function (){var and__4120__auto__ = cljs.core.not.call(null,old);
if(and__4120__auto__){
return new$;
} else {
return and__4120__auto__;
}
})())){
return weathergen.ui.common.when_dom_STAR_.call(null,e,((function (e,help_ctor,map__35298,map__35298__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,open_instance_35309){
return (function (){
return e.focus();
});})(e,help_ctor,map__35298,map__35298__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,open_instance_35309))
);
} else {
return null;
}
});})(e,help_ctor,map__35298,map__35298__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,open_instance_35309))
);

return e;
})(),content);
});})(open_instance_35309))
;

weathergen.help.with_help.cljs$lang$maxFixedArity = 3;


weathergen.help.RHelp = rum.core.build_defcs.call(null,((function (open_instance_35309){
return (function (state,opts,help_path,content){
if((cljs.core.deref.call(null,new cljs.core.Keyword("weathergen.help","this-instance","weathergen.help/this-instance",1394493444).cljs$core$IFn$_invoke$arity$1(state)) == null)){
cljs.core.reset_BANG_.call(null,new cljs.core.Keyword("weathergen.help","this-instance","weathergen.help/this-instance",1394493444).cljs$core$IFn$_invoke$arity$1(state),cljs.core.gensym.call(null));
} else {
}

var this_instance = cljs.core.deref.call(null,new cljs.core.Keyword("weathergen.help","this-instance","weathergen.help/this-instance",1394493444).cljs$core$IFn$_invoke$arity$1(state));
var open_instance_STAR_ = rum.core.react.call(null,open_instance_35309);
var open_QMARK_ = cljs.core._EQ_.call(null,open_instance_STAR_,this_instance);
var map__35303 = opts;
var map__35303__$1 = (((((!((map__35303 == null))))?(((((map__35303.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__35303.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__35303):map__35303);
var underline_color = cljs.core.get.call(null,map__35303__$1,new cljs.core.Keyword(null,"underline-color","underline-color",847203925));
var omit_underline_QMARK_ = cljs.core.get.call(null,map__35303__$1,new cljs.core.Keyword(null,"omit-underline?","omit-underline?",-1355729360));
var eat_click_QMARK_ = cljs.core.get.call(null,map__35303__$1,new cljs.core.Keyword(null,"eat-click?","eat-click?",-1411366808));
var help_ctor = cljs.core.get_in.call(null,weathergen.help.help_content_ctors,help_path);
return React.createElement("div",({"style": sablono.interpreter.attributes.call(null,cljs.core.merge.call(null,new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"cursor","cursor",1011937484),"url(images/helpcursor.png) 4 4, auto",new cljs.core.Keyword(null,"borderBottom","borderBottom",1676563277),(cljs.core.truth_(omit_underline_QMARK_)?null:(cljs.core.truth_(help_ctor)?["dashed 1px ",cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var or__4131__auto__ = underline_color;
if(cljs.core.truth_(or__4131__auto__)){
return or__4131__auto__;
} else {
return "blue";
}
})())].join(''):"dashed 2px red"))], null),cljs.core.dissoc.call(null,opts,new cljs.core.Keyword(null,"omit-underline?","omit-underline?",-1355729360),new cljs.core.Keyword(null,"underline-color","underline-color",847203925),new cljs.core.Keyword(null,"eat-click?","eat-click?",-1411366808)))), "onClick": ((function (this_instance,open_instance_STAR_,open_QMARK_,map__35303,map__35303__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,help_ctor,open_instance_35309){
return (function (e){
console.log("Content click","event",e,"open?",open_QMARK_,"open-instance*",cljs.core.pr_str.call(null,open_instance_STAR_),"this-instasnce",cljs.core.pr_str.call(null,this_instance));

e.nativeEvent.stopImmediatePropagation();

if(open_QMARK_){
return cljs.core.reset_BANG_.call(null,open_instance_35309,null);
} else {
return cljs.core.reset_BANG_.call(null,open_instance_35309,this_instance);
}
});})(this_instance,open_instance_STAR_,open_QMARK_,map__35303,map__35303__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,help_ctor,open_instance_35309))
, "className": "help"}),React.createElement("div",({"style": ({"whiteSpace": "normal", "fontWeight": "normal", "display": ((open_QMARK_)?"block":"none")}), "className": "content"}),(cljs.core.truth_(help_ctor)?sablono.interpreter.interpret.call(null,help_ctor.call(null,new cljs.core.Keyword(null,"react","react",1456324418))):React.createElement("div",null,React.createElement("p",({"key": "1"}),"Help has not yet been written for this feature."),React.createElement("p",({"key": "2"}),sablono.interpreter.interpret.call(null,cljs.core.str.cljs$core$IFn$_invoke$arity$1(help_path)))))),sablono.interpreter.interpret.call(null,content));
});})(open_instance_35309))
,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [rum.core.reactive,rum.core.local.call(null,null,new cljs.core.Keyword("weathergen.help","this-instance","weathergen.help/this-instance",1394493444))], null),"RHelp");

/**
 * Same as `with-help`, but for React rendering.
 */
weathergen.help.with_rhelp = ((function (open_instance_35309){
return (function weathergen$help$with_rhelp(var_args){
var G__35308 = arguments.length;
switch (G__35308) {
case 2:
return weathergen.help.with_rhelp.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)]));

break;
case 3:
return weathergen.help.with_rhelp.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)]));

break;
default:
throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join('')));

}
});})(open_instance_35309))
;

weathergen.help.with_rhelp.cljs$core$IFn$_invoke$arity$2 = ((function (open_instance_35309){
return (function (help_path,content){
return weathergen.help.with_rhelp.call(null,help_path,cljs.core.PersistentArrayMap.EMPTY,content);
});})(open_instance_35309))
;

weathergen.help.with_rhelp.cljs$core$IFn$_invoke$arity$3 = ((function (open_instance_35309){
return (function (help_path,opts,content){
var parent = hoplon.core.div.call(null);
rum.core.mount.call(null,weathergen.help.RHelp.call(null,opts,help_path,content),parent);

return parent;
});})(open_instance_35309))
;

weathergen.help.with_rhelp.cljs$lang$maxFixedArity = 3;

weathergen.help.help_icon = (function weathergen$help$help_icon(help_path){
var help_QMARK_ = cljs.core.get_in.call(null,weathergen.help.help_content_ctors,help_path);
return weathergen.help.with_help.call(null,help_path,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"omit-underline?","omit-underline?",-1355729360),true], null),hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"text-align","text-align",1786091845),new cljs.core.Keyword(null,"font-size","font-size",-1847940346),new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),new cljs.core.Keyword(null,"width","width",-384071477),new cljs.core.Keyword(null,"background","background",-863952629),new cljs.core.Keyword(null,"display","display",242065432),new cljs.core.Keyword(null,"margin-right","margin-right",809689658),new cljs.core.Keyword(null,"border-radius","border-radius",419594011),new cljs.core.Keyword(null,"height","height",1025178622)],["white","center","80%","3px","18px",(cljs.core.truth_(help_QMARK_)?"darkblue":"darkred"),"inline-block","3px","9px","18px"]),"?"));
});
weathergen.help.RHelpIcon = rum.core.build_defc.call(null,(function (help_path){
var present_QMARK_ = cljs.core.get_in.call(null,weathergen.help.help_content_ctors,help_path);
return sablono.interpreter.interpret.call(null,weathergen.help.RHelp.call(null,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"omit-underline?","omit-underline?",-1355729360),true], null),help_path,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),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"color","color",1011675173),new cljs.core.Keyword(null,"text-align","text-align",1786091845),new cljs.core.Keyword(null,"font-size","font-size",-1847940346),new cljs.core.Keyword(null,"margin-left","margin-left",2015598377),new cljs.core.Keyword(null,"width","width",-384071477),new cljs.core.Keyword(null,"background","background",-863952629),new cljs.core.Keyword(null,"display","display",242065432),new cljs.core.Keyword(null,"margin-right","margin-right",809689658),new cljs.core.Keyword(null,"border-radius","border-radius",419594011),new cljs.core.Keyword(null,"height","height",1025178622)],["white","center","80%","3px","18px",(cljs.core.truth_(present_QMARK_)?"darkblue":"darkred"),"inline-block","3px","9px","18px"])], null),"?"], null)));
}),null,"RHelpIcon");
/**
 * Like `help-icon` but for React rendering
 */
weathergen.help.rhelp_icon = (function weathergen$help$rhelp_icon(help_path){
var help_QMARK_ = cljs.core.get_in.call(null,weathergen.help.help_content_ctors,help_path);
return weathergen.help.with_rhelp.call(null,help_path,new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"omit-underline?","omit-underline?",-1355729360),true], null),(function (){var parent = hoplon.core.div.call(null);
return parent;
})());
});
