// Compiled by ClojureScript 1.9.562 {}
goog.provide('weathergen.help');
goog.require('cljs.core');
goog.require('goog.string');
goog.require('goog.string.format');
goog.require('hoplon.core');
goog.require('hoplon.svg');
goog.require('javelin.core');
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))));
});
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,"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,"wind-stability-areas","wind-stability-areas",1732901204),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)],[(function (){
return hoplon.core.p.call(null,"If checked, steerpoints not otherwise labeled will be labeled\n     with their numbers.");
}),(function (){
return hoplon.core.p.call(null,"Click to permanently remove this flight path from the\n    list.");
}),(function (){
return hoplon.core.p.call(null,"If checked, alternate field and tanker steerpoints will be\n     labeled as such.");
}),(function (){
return hoplon.core.p.call(null,"Change the color in which the flight path and labels will be\n    drawn on the map.");
}),(function (){
return hoplon.core.p.call(null,"Drag the slider left and right to decrease or increase the\n    size of the text and flight path lines.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.call(null,"Load flight plans from a mission .ini/DTC file so they can be\n     shown on the map.");
}),(function (){
return hoplon.core.p.call(null,"If checked, flight path will be shown. If unchecked,\n    flight path will be hidden.");
}),(function (){
return hoplon.core.p.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),(function (){
return hoplon.core.p.call(null,"Chooses the map image displayed in the background.");
}),new cljs.core.Keyword(null,"display","display",242065432),(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"Selects what will be displayed on the weather grid at the left."),hoplon.core.dl.call(null,hoplon.core.dt.call(null,"None"),hoplon.core.dd.call(null,"No data will be displayed"),hoplon.core.dt.call(null,"Weather Type"),hoplon.core.dd.call(null,"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.",hoplon.core.dl.call(null,hoplon.core.dt.call(null,"Red"),hoplon.core.dd.call(null,"Inclement weather"),hoplon.core.dt.call(null,"Yellow"),hoplon.core.dd.call(null,"Poor weather"),hoplon.core.dt.call(null,"Green"),hoplon.core.dd.call(null,"Fair weather"),hoplon.core.dt.call(null,"Clear"),hoplon.core.dd.call(null,"Sunny weather"))),hoplon.core.dt.call(null,"Pressure"),hoplon.core.dd.call(null,"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."),hoplon.core.dt.call(null,"Temperature"),hoplon.core.dd.call(null,"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);
}),new cljs.core.Keyword(null,"overlay","overlay",-139131598),(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"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."),hoplon.core.p.call(null,"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),(function (){
return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"Units for pressure measurements - inches Mercury (InHg) or millibars.")], null);
}),new cljs.core.Keyword(null,"opacity","opacity",397153780),(function (){
return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.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);
})], 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,"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)],[(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"Use this slider to make flight paths wider or narrower.\n      Narrower is to the left, wider to the right."));
}),(function (){
return hoplon.core.p.call(null,"Use the controls in this section to affect the overall appearance of the map.");
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"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."),hoplon.core.p.call(null,"Use this to increase the visibility of icons, labels, flight\n      paths, etc."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"Click this button to reset the brightness to its default value."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"When checked, labels will be shown against a semitransparent\n      background of a contrasting color."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"Click this button to reset the text size to its default value."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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)],[(function (){
return hoplon.core.p.call(null,"The forecast barometric pressure at the selected location.");
}),(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"The forecast cloud cover at the selected location."),hoplon.core.dl.call(null,hoplon.core.dt.call(null,"SKC"),hoplon.core.dd.call(null,"Sky is clear - no significant clouds. A thin 'stratus'\n        layer may be present."),hoplon.core.dt.call(null,"FEWxxx"),hoplon.core.dd.call(null,"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."),hoplon.core.dt.call(null,"SCTxxx"),hoplon.core.dd.call(null,"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."),hoplon.core.dt.call(null,"OVCxxx"),hoplon.core.dd.call(null,"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."),hoplon.core.dt.call(null,"COTRAxxx"),hoplon.core.dd.call(null,"Contrails form above xxx, in hundreds of feet. E.g.\n        COTRA200 indicates contrails above 20000 feet MSL."))], null);
}),(function (){
return hoplon.core.p.call(null,"The date and time of the forecast conditions. Forecasts\n     are (as in the real world) not perfectly accurate.");
}),(function (){
return hoplon.core.p.call(null,"The forecast Falcon weather type at the selected location.");
}),(function (){
return hoplon.core.p.call(null,"Displays the weather forecast for the selected location in\n   the weather grid.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.call(null,"The forecast precipitation at the selected location.");
}),(function (){
return hoplon.core.p.call(null,"The forecast visibility (in nm) at the selected location.");
}),(function (){
return hoplon.core.p.call(null,"The forecast temperature (in degrees C) at the selected location.");
})]),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"save-single-files","save-single-files",-947469927),(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"This section allows saving and loading of the various files\n      that WeatherGen can use. Files should be saved with the same\n      name as the mission (.cam or .tac) file, but with the extension\n      changed as appropriate. For instance, if you're making a mission\n      called 'oca-strike.tac', save the TWX file as 'oca-strike.twx'.\n      The filename will use the mission name of the loaded mission\n      section if possible."),hoplon.core.dl.call(null,hoplon.core.dt.call(null,"Save Current As FMAP"),hoplon.core.dd.call(null,"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."),hoplon.core.dt.call(null,"Save .TWX"),hoplon.core.dd.call(null,"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."),hoplon.core.dt.call(null,"Save Settings"),hoplon.core.dd.call(null,"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."),hoplon.core.dt.call(null,"Load Settings"),hoplon.core.dd.call(null,"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);
}),new cljs.core.Keyword(null,"multi-save","multi-save",-1814543541),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"overview","overview",-435037267),(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"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:"),hoplon.core.ul.call(null,hoplon.core.li.call(null,hoplon.core.b.call(null,hoplon.core.i.call(null,"mission-name"),".fmap")," - ","An FMAP file containing the starting weather for the\n             designated time block."),hoplon.core.li.call(null,hoplon.core.b.call(null,hoplon.core.i.call(null,"mission-name"),".twx")," - ","A TWX file containing the clouds and contrails settings."),hoplon.core.li.call(null,hoplon.core.b.call(null,hoplon.core.i.call(null,"mission-name"),".setting.edn")," - ","Contains the WeatherGen settings used to generate the\n             package."),hoplon.core.li.call(null,hoplon.core.b.call(null,"WeatherMapsUpdates")," - ","A folder containing the timestamped FMAP files."))], null);
}),new cljs.core.Keyword(null,"from","from",1815293044),(function (){
return hoplon.core.p.call(null,"The FMAP files in the generated weather package will start from this time.");
}),new cljs.core.Keyword(null,"to","to",192099007),(function (){
return hoplon.core.p.call(null,"The FMAP files in the generated weather package will end at this time.");
}),new cljs.core.Keyword(null,"step","step",1288888124),(function (){
return hoplon.core.p.call(null,"The FMAP files in the generated weather package will\n     be this many minutes apart.");
}),new cljs.core.Keyword(null,"mission-name","mission-name",1479736582),(function (){
return hoplon.core.p.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),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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 (){
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."));
}),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)],[(function (){
return hoplon.core.div.call(null,hoplon.core.p.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."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The airbase that is home to this flight's squadron."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The takeoff time for this flight in DAY/HH:MM format."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The type of mission this flight is performing. Color coded\n       according to the mission key above."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The type and quantity of the aircraft in this flight."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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)."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The callsign of this flight."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The 'owner' of this flight."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The mission end time for this fligth in DAY/HH:MM format."));
}),(function (){
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."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The Time-On-Target for this flight in DAY/HH:MM format."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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-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)],[(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"A brief description of the steerpoint."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The speed in mach to fly en route to this steerpoint."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The calibrated airspeed to fly en route to this steerpoint."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The steerpoint number."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The true airspeed to fly en route to this steerpoint."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The action to be taken at the steerpoint, if any."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The distance to this steerpoint from the previous, in nm."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The ground speed to fly en route to this steerpoint"));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The altitude to fly en route to this steerpoint."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The scheduled arrival time at the steerpoint, in DAY/HH:MM:SS format."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The scheduled duration to remain at the steerpoint, if any, in HH:MM:SS format"));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"The heading to this steerpoint from the previous."));
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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),(function (){
return hoplon.core.p.call(null,"The direction the weather pattern will move in.");
}),new cljs.core.Keyword(null,"speed","speed",1257663751),(function (){
return hoplon.core.p.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)],[(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.call(null,"Controls whether the outline of the override region will be\n    shown. Note that this setting also affects the shareable\n    forecast.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.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.")], null);
}),(function (){
return hoplon.core.p.call(null,"The radius of the override region, measured in cells.");
}),(function (){
return hoplon.core.p.call(null,"The X and Y coordinates of the center of the override region.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"If checked, the effects of the override will not be included\n    in the shareable forecast. This allows weather planners to include\n    'surprises'."),hoplon.core.p.call(null,"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);
}),(function (){
return hoplon.core.p.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 (){
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),"20px",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."));
})], null),(function (){
return hoplon.core.p.call(null,"Wind stability areas define regions of the map where the wind\n   will not be affected by the weather. Although cloud cover,\n   temperature, and pressure will change, within the bounds of a wind\n   stability region the wind speed and direction will remain\n   constant. Use this to stabilize winds in an area to support tanker\n   and carrier operations, or to provide fixed, known winds at landing\n   or target sites.");
}),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,"cumulus-size","cumulus-size",-954219270),new cljs.core.Keyword(null,"visibility","visibility",1338380893),new cljs.core.Keyword(null,"stratus-top","stratus-top",784220574)],[(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"What percentage of the sky the cumulus clouds (if present) will cover."),hoplon.core.p.call(null,"Note that this setting can have a big impact on FPS: decrease\n     coverage if you encounter frame rate issues.")], null);
}),(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"Randomize: sets the clouds and contrails to random (but\n      valid) values."),hoplon.core.p.call(null,"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);
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.call(null,"The altitude at which condensation trails will form.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.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.")], null);
}),(function (){
return hoplon.core.p.call(null,"The visibility (in nm) for each weather type.");
}),(function (){
return hoplon.core.p.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, 2, [new cljs.core.Keyword(null,"save-briefing","save-briefing",-1540800301),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"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."),hoplon.core.p.call(null,"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."),hoplon.core.p.call(null,"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."),hoplon.core.p.call(null,"Briefing files must be opened on a machine with the\n      indicated version of Falcon BMS and theater installed."));
}),new cljs.core.Keyword(null,"briefing-notes","briefing-notes",-1524193117),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"edit","edit",-1641834166),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"Notes provided by the mission creator. Not editable."));
})], 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)],[(function (){
return hoplon.core.p.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, 2, [new cljs.core.Keyword(null,"max","max",61366548),(function (){
return hoplon.core.p.call(null,"The maximum barometric pressure that will be generated.");
}),new cljs.core.Keyword(null,"min","min",444991522),(function (){
return hoplon.core.p.call(null,"The minimum barometric pressure that will be generated.");
})], null),new cljs.core.PersistentArrayMap(null, 3, [new cljs.core.Keyword(null,"offset","offset",296498311),(function (){
return hoplon.core.p.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),(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"The current time in the Falcon world. Time cannot be advanced\n     past this point, as that would be peeking into the future."),hoplon.core.p.call(null,"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),(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"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."),hoplon.core.p.call(null,"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),(function (){
return hoplon.core.p.call(null,"The number of minutes it takes for the weather to completely\n     change, even if not moving.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.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),(function (){
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"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."),hoplon.core.p.call(null,"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),(function (){
return hoplon.core.p.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),(function (){
return hoplon.core.p.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),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.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),(function (){
return hoplon.core.p.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),(function (){
return hoplon.core.p.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),(function (){
return hoplon.core.p.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),(function (){
return hoplon.core.p.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),(function (){
return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [hoplon.core.p.call(null,"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."),hoplon.core.dl.call(null,hoplon.core.dt.call(null,"Jump to"),hoplon.core.dd.call(null,"Jumps forward or backward to the indicated time. The\n     displayed weather may change."),hoplon.core.dt.call(null,"Set to"),hoplon.core.dd.call(null,"Sets the time to the indicated time. The displayed weather\n     will not change.")),hoplon.core.p.call(null,"The time is used to generate file names for downloaded FMAP\n   files, which Falcon relies on to automatically update weather.")], null);
}),(function (){
return hoplon.core.p.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)],[(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"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."),hoplon.core.img.call(null,new cljs.core.Keyword(null,"src","src",-1651076051),"images/help/air-forces-tree.png"),hoplon.core.ol.call(null,hoplon.core.li.call(null,hoplon.core.strong.call(null,"Expand/collapse.")," Use this to show or hide details about this airbase."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Display on map.")," Check this box to have the airbase displayed on the map."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Airbase icon.")," The icon for this airbase as it will be shown on the map."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Airbase status.")," 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%."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Airbase name.")," The name of the airbase. Colored to indicate the current owner."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Airbase squadron icons.")," Icons for the squadrons deployed at this airbase. Colored\n           to indicate nationality."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Airbase status.")," Status of the airbase."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Airbase squadron details.")," Information about the type and strength of the squadrons\n           deployed at this airbase.")));
}),new cljs.core.PersistentArrayMap(null, 4, [new cljs.core.Keyword(null,"overview","overview",-435037267),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"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:"),hoplon.core.img.call(null,new cljs.core.Keyword(null,"src","src",-1651076051),"images/help/airbase-map-display.png"),hoplon.core.ol.call(null,hoplon.core.li.call(null,hoplon.core.strong.call(null,"Airbase icon.")," The icon for the airbase."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Airbase status.")," The status of the airbase. Shown as a colored rectangle\n           filled in proportion to how much damage the airbase has\n           taken:",hoplon.core.ul.call(null,hoplon.core.li.call(null,hoplon.core.strong.call(null,"Green.")," 75% or greater strength."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Orange.")," Between 25% and 75% strength."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Red.")," Less than 25% strength.")),"If the rectangle is completely white, the airbase is at 0%\n           strength and cannot sortie."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Squadron icons.")," 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."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Airbase name.")," The name of the airbase."),hoplon.core.li.call(null,hoplon.core.strong.call(null,"Squadron details.")," 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.")));
}),new cljs.core.Keyword(null,"airbase-labels","airbase-labels",580409100),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"Use this dropdown to control how airbase labels will be shown on the map."),hoplon.core.dl.call(null,hoplon.core.dt.call(null,"Airbase name only"),hoplon.core.dd.call(null,"Only the airbase name will be shown below the airbase."),hoplon.core.dt.call(null,"Airbase name and squadrons"),hoplon.core.dd.call(null,"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."),hoplon.core.dt.call(null,"No label"),hoplon.core.dd.call(null,"No label will be displayed below the airbase")));
}),new cljs.core.Keyword(null,"show-airbase-status?","show-airbase-status?",-2059784435),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"If checked, squadron icons will be shown to the right of the\n      airbase icon on the map."));
})], null),(function (){
return hoplon.core.p.call(null,"If checked, airbases that are unable to sortie (i.e. that are\n     at 0% status), will not be shown.");
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.p.call(null,"Use these buttons to quickly check or uncheck all the\n    squadron types.");
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.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."));
}),(function (){
return hoplon.core.p.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.");
}),(function (){
return hoplon.core.div.call(null,hoplon.core.p.call(null,"Use these buttons to show different levels of detail in the airbase list below."),hoplon.core.dl.call(null,hoplon.core.dt.call(null,"Expand all"),hoplon.core.dd.call(null,"Show all available levels of detail for all visible airbases."),hoplon.core.dt.call(null,"Collapse all"),hoplon.core.dd.call(null,"Collapse the airbase list so that only alliances/teams are visible."),hoplon.core.dt.call(null,"Collapse to airbases"),hoplon.core.dd.call(null,"Show all visible airbases in the list below, but do not\n       show their detailed status. This is the default view.")));
}),(function (){
return hoplon.core.p.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, 3, [new cljs.core.Keyword(null,"legend","legend",-1027192245),(function (){
var section = (function() { 
var G__38493__delegate = function (title,contents){
return hoplon.core.div.call(null,hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),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),title),contents);
};
var G__38493 = function (title,var_args){
var contents = null;
if (arguments.length > 1) {
var G__38494__i = 0, G__38494__a = new Array(arguments.length -  1);
while (G__38494__i < G__38494__a.length) {G__38494__a[G__38494__i] = arguments[G__38494__i + 1]; ++G__38494__i;}
  contents = new cljs.core.IndexedSeq(G__38494__a,0,null);
} 
return G__38493__delegate.call(this,title,contents);};
G__38493.cljs$lang$maxFixedArity = 1;
G__38493.cljs$lang$applyTo = (function (arglist__38495){
var title = cljs.core.first(arglist__38495);
var contents = cljs.core.rest(arglist__38495);
return G__38493__delegate(title,contents);
});
G__38493.cljs$core$IFn$_invoke$arity$variadic = G__38493__delegate;
return G__38493;
})()
;
return hoplon.core.div.call(null,section.call(null,"Weather Type",hoplon.core.p.call(null,"Colors in each square in the map indicate the weather type."),(function (){var iter__24200__auto__ = ((function (section){
return (function weathergen$help$iter__38461(s__38462){
return (new cljs.core.LazySeq(null,((function (section){
return (function (){
var s__38462__$1 = s__38462;
while(true){
var temp__5278__auto__ = cljs.core.seq.call(null,s__38462__$1);
if(temp__5278__auto__){
var s__38462__$2 = temp__5278__auto__;
if(cljs.core.chunked_seq_QMARK_.call(null,s__38462__$2)){
var c__24198__auto__ = cljs.core.chunk_first.call(null,s__38462__$2);
var size__24199__auto__ = cljs.core.count.call(null,c__24198__auto__);
var b__38464 = cljs.core.chunk_buffer.call(null,size__24199__auto__);
if((function (){var i__38463 = (0);
while(true){
if((i__38463 < size__24199__auto__)){
var vec__38471 = cljs.core._nth.call(null,c__24198__auto__,i__38463);
var type = cljs.core.nth.call(null,vec__38471,(0),null);
var color = cljs.core.nth.call(null,vec__38471,(1),null);
var description = cljs.core.nth.call(null,vec__38471,(2),null);
cljs.core.chunk_append.call(null,b__38464,hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"white-space","white-space",-707351930),"nowrap"], null),hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block"], null),hoplon.core.span.call(null,new cljs.core.Keyword(null,"css","css",1135045163),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),"")),hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block"], null),hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),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),hoplon.core.span.call(null,new cljs.core.Keyword(null,"css","css",1135045163),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),type),"-"),description)));

var G__38496 = (i__38463 + (1));
i__38463 = G__38496;
continue;
} else {
return true;
}
break;
}
})()){
return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__38464),weathergen$help$iter__38461.call(null,cljs.core.chunk_rest.call(null,s__38462__$2)));
} else {
return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__38464),null);
}
} else {
var vec__38474 = cljs.core.first.call(null,s__38462__$2);
var type = cljs.core.nth.call(null,vec__38474,(0),null);
var color = cljs.core.nth.call(null,vec__38474,(1),null);
var description = cljs.core.nth.call(null,vec__38474,(2),null);
return cljs.core.cons.call(null,hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"white-space","white-space",-707351930),"nowrap"], null),hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block"], null),hoplon.core.span.call(null,new cljs.core.Keyword(null,"css","css",1135045163),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),"")),hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"display","display",242065432),"inline-block"], null),hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),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),hoplon.core.span.call(null,new cljs.core.Keyword(null,"css","css",1135045163),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),type),"-"),description)),weathergen$help$iter__38461.call(null,cljs.core.rest.call(null,s__38462__$2)));
}
} else {
return null;
}
break;
}
});})(section))
,null,null));
});})(section))
;
return iter__24200__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",hoplon.core.p.call(null,"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."),(function (){var iter__24200__auto__ = ((function (section){
return (function weathergen$help$iter__38477(s__38478){
return (new cljs.core.LazySeq(null,((function (section){
return (function (){
var s__38478__$1 = s__38478;
while(true){
var temp__5278__auto__ = cljs.core.seq.call(null,s__38478__$1);
if(temp__5278__auto__){
var s__38478__$2 = temp__5278__auto__;
if(cljs.core.chunked_seq_QMARK_.call(null,s__38478__$2)){
var c__24198__auto__ = cljs.core.chunk_first.call(null,s__38478__$2);
var size__24199__auto__ = cljs.core.count.call(null,c__24198__auto__);
var b__38480 = cljs.core.chunk_buffer.call(null,size__24199__auto__);
if((function (){var i__38479 = (0);
while(true){
if((i__38479 < size__24199__auto__)){
var vec__38487 = cljs.core._nth.call(null,c__24198__auto__,i__38479);
var speed = cljs.core.nth.call(null,vec__38487,(0),null);
var heading = cljs.core.nth.call(null,vec__38487,(1),null);
var description = cljs.core.nth.call(null,vec__38487,(2),null);
cljs.core.chunk_append.call(null,b__38480,hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"white-space","white-space",-707351930),"nowrap"], null),hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),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),weathergen.help.wind_barb.call(null,speed,heading)),description));

var G__38497 = (i__38479 + (1));
i__38479 = G__38497;
continue;
} else {
return true;
}
break;
}
})()){
return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__38480),weathergen$help$iter__38477.call(null,cljs.core.chunk_rest.call(null,s__38478__$2)));
} else {
return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__38480),null);
}
} else {
var vec__38490 = cljs.core.first.call(null,s__38478__$2);
var speed = cljs.core.nth.call(null,vec__38490,(0),null);
var heading = cljs.core.nth.call(null,vec__38490,(1),null);
var description = cljs.core.nth.call(null,vec__38490,(2),null);
return cljs.core.cons.call(null,hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),new cljs.core.PersistentArrayMap(null, 1, [new cljs.core.Keyword(null,"white-space","white-space",-707351930),"nowrap"], null),hoplon.core.div.call(null,new cljs.core.Keyword(null,"css","css",1135045163),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),weathergen.help.wind_barb.call(null,speed,heading)),description),weathergen$help$iter__38477.call(null,cljs.core.rest.call(null,s__38478__$2)));
}
} else {
return null;
}
break;
}
});})(section))
,null,null));
});})(section))
;
return iter__24200__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));
})()));
}),new cljs.core.Keyword(null,"mission-time","mission-time",-1235574900),(function (){
return hoplon.core.p.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),(function (){
return hoplon.core.p.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_38506 = javelin.core.cell.call(null,null);
/**
 * Returns UI for content with embedded help. `help-path` is a vector
 *   path into the `content` map.
 */
weathergen.help.with_help = ((function (open_instance_38506){
return (function weathergen$help$with_help(var_args){
var args38498 = [];
var len__24559__auto___38507 = arguments.length;
var i__24560__auto___38508 = (0);
while(true){
if((i__24560__auto___38508 < len__24559__auto___38507)){
args38498.push((arguments[i__24560__auto___38508]));

var G__38509 = (i__24560__auto___38508 + (1));
i__24560__auto___38508 = G__38509;
continue;
} else {
}
break;
}

var G__38500 = args38498.length;
switch (G__38500) {
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([cljs.core.str.cljs$core$IFn$_invoke$arity$1("Invalid arity: "),cljs.core.str.cljs$core$IFn$_invoke$arity$1(args38498.length)].join('')));

}
});})(open_instance_38506))
;

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

weathergen.help.with_help.cljs$core$IFn$_invoke$arity$3 = ((function (open_instance_38506){
return (function (help_path,opts,content){
var help_ctor = cljs.core.get_in.call(null,weathergen.help.help_content_ctors,help_path);
var map__38501 = opts;
var map__38501__$1 = ((((!((map__38501 == null)))?((((map__38501.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__38501.cljs$core$ISeq$)))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__38501):map__38501);
var underline_color = cljs.core.get.call(null,map__38501__$1,new cljs.core.Keyword(null,"underline-color","underline-color",847203925));
var omit_underline_QMARK_ = cljs.core.get.call(null,map__38501__$1,new cljs.core.Keyword(null,"omit-underline?","omit-underline?",-1355729360));
var eat_click_QMARK_ = cljs.core.get.call(null,map__38501__$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__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_instance_38506){
return (function (G__38503,G__38505,G__38504){
return G__38503.call(null,G__38504,G__38505);
});})(help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_instance_38506))
).call(null,cljs.core._EQ_,this_instance,open_instance_38506);
var doc_click = ((function (help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,open_instance_38506){
return (function weathergen$help$click_fn(e){
document.removeEventListener("click",weathergen$help$click_fn);

return cljs.core.reset_BANG_.call(null,open_instance_38506,null);
});})(help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,open_instance_38506))
;
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)?[cljs.core.str.cljs$core$IFn$_invoke$arity$1("dashed 1px "),cljs.core.str.cljs$core$IFn$_invoke$arity$1((function (){var or__23338__auto__ = underline_color;
if(cljs.core.truth_(or__23338__auto__)){
return or__23338__auto__;
} else {
return "blue";
}
})())].join(''):"dashed 2px red"))], null),opts),new cljs.core.Keyword(null,"click","click",1912301393),((function (help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,doc_click,open_instance_38506){
return (function (e){
if(cljs.core._EQ_.call(null,cljs.core.deref.call(null,open_instance_38506),this_instance)){
cljs.core.reset_BANG_.call(null,open_instance_38506,null);
} else {
cljs.core.reset_BANG_.call(null,open_instance_38506,this_instance);

setTimeout(((function (help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,doc_click,open_instance_38506){
return (function (){
return document.addEventListener("click",doc_click);
});})(help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,doc_click,open_instance_38506))
,(0));
}

return false;
});})(help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,doc_click,open_instance_38506))
,(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),new cljs.core.Keyword(null,"blur","blur",-453500461),((function (help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,doc_click,open_instance_38506){
return (function (e){
console.log("Blur firing");

return cljs.core.reset_BANG_.call(null,open_instance_38506,null);
});})(help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,doc_click,open_instance_38506))
,(cljs.core.truth_(help_ctor)?help_ctor.call(null):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)].join(''))], null)));
hoplon.core.do_watch.call(null,open_QMARK_,((function (e,help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,doc_click,open_instance_38506){
return (function (old,new$){
if(cljs.core.truth_((function (){var and__23326__auto__ = cljs.core.not.call(null,old);
if(and__23326__auto__){
return new$;
} else {
return and__23326__auto__;
}
})())){
return setTimeout(((function (e,help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,doc_click,open_instance_38506){
return (function (){
return e.focus();
});})(e,help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,doc_click,open_instance_38506))
,(0));
} else {
return null;
}
});})(e,help_ctor,map__38501,map__38501__$1,underline_color,omit_underline_QMARK_,eat_click_QMARK_,this_instance,open_QMARK_,doc_click,open_instance_38506))
);

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

weathergen.help.with_help.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"]),"?"));
});
