// Compiled by ClojureScript 1.10.520 {}
goog.provide('weathergen.falcon.files.mission.xml');
goog.require('cljs.core');
goog.require('tubax.core');
goog.require('taoensso.timbre');
goog.require('weathergen.falcon.constants');
goog.require('weathergen.util');
weathergen.falcon.files.mission.xml.field = (function weathergen$falcon$files$mission$xml$field(coerce,path){
return new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"path","path",-188191168),path,new cljs.core.Keyword(null,"coersion","coersion",-1715479807),coerce], null);
});
weathergen.falcon.files.mission.xml.default$ = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"int","int",-1741416922),(0),new cljs.core.Keyword(null,"float","float",-1732389368),0.0], null);
weathergen.falcon.files.mission.xml.move_types = new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, ["NoMove","Foot","Wheeled","Tracked","LowAir","Air","Naval","Rail"], null);
weathergen.falcon.files.mission.xml.damage_types = new cljs.core.PersistentVector(null, 11, 5, cljs.core.PersistentVector.EMPTY_NODE, ["None","Penetration","HighExplosive","Heave","Incendairy","Proximity","Kinetic","Hydrostatic","Chemical","Nuclear","Other"], null);
weathergen.falcon.files.mission.xml.mappings = cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"class-table","class-table",207400992),new cljs.core.Keyword(null,"weapon-class-data","weapon-class-data",-1828241433),new cljs.core.Keyword(null,"sim-weapon-data","sim-weapon-data",1516433194),new cljs.core.Keyword(null,"objective-class-data","objective-class-data",-2036255156),new cljs.core.Keyword(null,"unit-class-data","unit-class-data",2122324209),new cljs.core.Keyword(null,"vehicle-class-data","vehicle-class-data",1666024339),new cljs.core.Keyword(null,"feature-class-data","feature-class-data",-794349644),new cljs.core.Keyword(null,"point-header-data","point-header-data",2108405911),new cljs.core.Keyword(null,"feature-entry-data","feature-entry-data",-87481893)],[new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"form","form",-1624062471),new cljs.core.Keyword(null,"vector","vector",1902966158),new cljs.core.Keyword(null,"root","root",-448657453),"CTRecords",new cljs.core.Keyword(null,"item","item",249373802),"CT",new cljs.core.Keyword(null,"index","index",-1531685915),"Num",new cljs.core.Keyword(null,"fields","fields",-1932066230),cljs.core.PersistentHashMap.fromArrays(["MinRev","ManagementDomain","Private","Type","UpdateTolerance","Class","CollisionType","SubType","MajorRev","FineUpdateRange","FineUpdateMultiplier","Transferable","MoverDefinitionData","Domain","Class_6","Specific","HitPoints",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Graphics",new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Normal","Repaired","Damaged","Destroyed","LeftDestroyed","RightDestroyed","BothDestroyed"], null)], null),"Persistent","UpdateRate","CreatePriority","CollisionRadius","Tangible","Owner","DamageSeed","Class_7","Collidable","EntityIdx","EntityType","FineUpdateForceRange","Global","Id"],[weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"minor-revision-number","minor-revision-number",-358429843)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"management-domain","management-domain",-382123626)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"private","private",-558947994)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"class-info","class-info",-467052058),new cljs.core.Keyword(null,"type","type",1174270348)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"update-tolerance","update-tolerance",1242588651)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"class-info","class-info",-467052058),new cljs.core.Keyword(null,"class","class",-2030961996)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"collision-type","collision-type",1031477978)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"class-info","class-info",-467052058),new cljs.core.Keyword(null,"stype","stype",-63678419)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"major-revision-number","major-revision-number",473159511)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"fine-update-range","fine-update-range",-2006748049)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"fine-update-multiplier","fine-update-multiplier",1301129404)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"transferable","transferable",-243006862)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vehicle-data-index","vehicle-data-index",1750693686)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"class-info","class-info",-467052058),new cljs.core.Keyword(null,"domain","domain",1847214937)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"class-info","class-info",-467052058),new cljs.core.Keyword(null,"field6","field6",-1844847589)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"class-info","class-info",-467052058),new cljs.core.Keyword(null,"sptype","sptype",-1425026030)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"hitpoints","hitpoints",-575579159)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vis-type","vis-type",802477693)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"persistent","persistent",885415113)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"update-rate","update-rate",549997679)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"create-priority","create-priority",-433275059)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"collision-radius","collision-radius",2064718833)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"tangible","tangible",1450746508)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"class-info","class-info",-467052058),new cljs.core.Keyword(null,"owner","owner",-392611939)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"damage-speed","damage-speed",1800211525)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"class-info","class-info",-467052058),new cljs.core.Keyword(null,"field7","field7",-882507065)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"collidable","collidable",232142278)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"data-pointer","data-pointer",-1957576382)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"data-type","data-type",-326421468)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"fine-update-force-range","fine-update-force-range",-703217754)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"global","global",93595047)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vu-class-data","vu-class-data",-1868219799),new cljs.core.Keyword(null,"id","id",-1388402092)], null))])], null),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"form","form",-1624062471),new cljs.core.Keyword(null,"vector","vector",1902966158),new cljs.core.Keyword(null,"root","root",-448657453),"WCDRecords",new cljs.core.Keyword(null,"item","item",249373802),"WCD",new cljs.core.Keyword(null,"index","index",-1531685915),"Num",new cljs.core.Keyword(null,"missing","missing",362507769),cljs.core.PersistentArrayMap.createAsIfByAssoc([new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"simweap-index","simweap-index",1674222081)], null),(-1)]),new cljs.core.Keyword(null,"fields","fields",-1932066230),cljs.core.PersistentHashMap.fromArrays([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Hit_",weathergen.falcon.files.mission.xml.move_types], null),"Guidance","Range","Weight","Rariety","Flags","MaxAlt","Strength","FireRate","RadarIdx","Drag","Collective","Name","CtIdx","SimWeaponDataIdx","BlastRadius","DamageType"],[weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"hit-chance","hit-chance",-2087636980)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"guidance-flags","guidance-flags",343892844)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"range","range",1639692286)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"weight","weight",-1262796205)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"rariety","rariety",1749498612)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"flags","flags",1775418075)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"max-alt","max-alt",-363233306)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strength","strength",-415606478)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"fire-rate","fire-rate",-1458689931)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"radar-type","radar-type",-1913447362)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"drag-index","drag-index",-207918117)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"collective","collective",-1678283599)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"string","string",-1989541586),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"name","name",1843675177)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"index","index",-1531685915)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"sim-data-idx","sim-data-idx",-713604174)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"blast-radius","blast-radius",796954270)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"damage-type","damage-type",898770578)], null))])], null),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"form","form",-1624062471),new cljs.core.Keyword(null,"vector","vector",1902966158),new cljs.core.Keyword(null,"root","root",-448657453),"SWDRecords",new cljs.core.Keyword(null,"item","item",249373802),"SWD",new cljs.core.Keyword(null,"index","index",-1531685915),"Num",new cljs.core.Keyword(null,"missing","missing",362507769),cljs.core.PersistentArrayMap.EMPTY,new cljs.core.Keyword(null,"fields","fields",-1932066230),cljs.core.PersistentHashMap.fromArrays(["WpnName","EjectY","WpnDatIdx","WpnType","EjectZ","Domain","Weight","WpnClass","EjectX","Flags","Drag","Area"],[weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"string","string",-1989541586),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"sms-mnemonic","sms-mnemonic",944316914)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ejection-velocity","ejection-velocity",241121939),new cljs.core.Keyword(null,"y","y",-1757859776)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"data-index","data-index",1161508385)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"sms-weapon-type","sms-weapon-type",-302839052)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ejection-velocity","ejection-velocity",241121939),new cljs.core.Keyword(null,"z","z",-789527183)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"sms-weapon-domain","sms-weapon-domain",170252511)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"weight","weight",-1262796205)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"sms-weapon-class","sms-weapon-class",-1204089300)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ejection-velocity","ejection-velocity",241121939),new cljs.core.Keyword(null,"x","x",2099068185)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"flags","flags",1775418075)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"drag-coefficient","drag-coefficient",238594160)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"surface-area","surface-area",1472501650)], null))])], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"form","form",-1624062471),new cljs.core.Keyword(null,"vector","vector",1902966158),new cljs.core.Keyword(null,"root","root",-448657453),"OCDRecords",new cljs.core.Keyword(null,"item","item",249373802),"OCD",new cljs.core.Keyword(null,"index","index",-1531685915),"Num",new cljs.core.Keyword(null,"fields","fields",-1932066230),cljs.core.PersistentHashMap.fromArrays(["FirstFeature","DeaggDistance",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Dam_",weathergen.falcon.files.mission.xml.damage_types], null),"DataRate","RadarFeature","ObjectiveIcon",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Det_",weathergen.falcon.files.mission.xml.move_types], null),"FeatureCount","PtDataIdx","Name","CtIdx"],[weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"first-feature","first-feature",-1395776257)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"deag-distance","deag-distance",-1721226571)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"damage-mod","damage-mod",-756867116)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"data-rate","data-rate",-1399941497)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"radar-feature","radar-feature",2111876796)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"icon-index","icon-index",-42714286)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"detection","detection",-1580072483)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"features","features",-1146962336)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"pt-data-index","pt-data-index",-54255967)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"string","string",-1989541586),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"name","name",1843675177)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"index","index",-1531685915)], null))])], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"form","form",-1624062471),new cljs.core.Keyword(null,"vector","vector",1902966158),new cljs.core.Keyword(null,"root","root",-448657453),"UCDRecords",new cljs.core.Keyword(null,"item","item",249373802),"UCD",new cljs.core.Keyword(null,"index","index",-1531685915),"Num",new cljs.core.Keyword(null,"fields","fields",-1932066230),cljs.core.PersistentHashMap.fromArrays([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Hit_",weathergen.falcon.files.mission.xml.move_types], null),"MoveSpeed","MainRole","SquadronStoresIdx",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["RoleScore",weathergen.falcon.constants.MAXIMUM_ROLES], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Dam_",weathergen.falcon.files.mission.xml.damage_types], null),"FuelRate",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["VehicleCtIdx",weathergen.falcon.constants.VEHICLE_GROUPS_PER_UNIT], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["ElementNamePrefix",weathergen.falcon.constants.VEHICLE_GROUPS_PER_UNIT], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["ElementDecalIdx_",weathergen.falcon.constants.VEHICLE_GROUPS_PER_UNIT], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["ElementName",weathergen.falcon.constants.VEHICLE_GROUPS_PER_UNIT], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["ElementTextSetIdx",weathergen.falcon.constants.VEHICLE_GROUPS_PER_UNIT], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Det_",weathergen.falcon.files.mission.xml.move_types], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["ElementCount",weathergen.falcon.constants.VEHICLE_GROUPS_PER_UNIT], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Rng_",weathergen.falcon.files.mission.xml.move_types], null),"Description","Flags","RadarVehicle","UnitIcon","MaxRange",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["ElementFlags",weathergen.falcon.constants.VEHICLE_GROUPS_PER_UNIT], null),"MoveType","PtDataIdx","Name",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Str_",weathergen.falcon.files.mission.xml.move_types], null),"CtIdx","Fuel",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["ElementHullNumber",weathergen.falcon.constants.VEHICLE_GROUPS_PER_UNIT], null)],[weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"hit-chance","hit-chance",-2087636980)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"movement-speed","movement-speed",-1779674971)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"role","role",-736691072)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"special-index","special-index",-545525937)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"scores","scores",-1267421800)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"damage-mod","damage-mod",-756867116)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"rate","rate",-1428659698)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"vehicle-type","vehicle-type",-362045068)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"string","string",-1989541586),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"element-name-prefix","element-name-prefix",549011356)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"element-decal-index","element-decal-index",-51019160)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"string","string",-1989541586),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"element-name","element-name",-1558490689)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"element-text-set-index","element-text-set-index",-1358339490)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"detection","detection",-1580072483)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"num-elements","num-elements",1960422107)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"range","range",1639692286)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"string","string",-1989541586),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"description","description",-1428560544)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"flags","flags",1775418075)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"radar-vehicle","radar-vehicle",-457407214)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"icon-index","icon-index",-42714286)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"max-range","max-range",623016397)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"element-flags","element-flags",-873928967)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"movement-type","movement-type",-1340819145)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"pt-data-index","pt-data-index",-54255967)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"string","string",-1989541586),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"name","name",1843675177)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strength","strength",-415606478)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"index","index",-1531685915)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"fuel","fuel",10405485)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"element-hull-number","element-hull-number",2042258853)], null))])], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"form","form",-1624062471),new cljs.core.Keyword(null,"vector","vector",1902966158),new cljs.core.Keyword(null,"root","root",-448657453),"VCDRecords",new cljs.core.Keyword(null,"item","item",249373802),"VCD",new cljs.core.Keyword(null,"index","index",-1531685915),"Num",new cljs.core.Keyword(null,"fields","fields",-1932066230),cljs.core.PersistentHashMap.fromArrays(["CallsignIdx",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Hit_",weathergen.falcon.files.mission.xml.move_types], null),"FuelWeight","VisibleFlags",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["WpnCount",weathergen.falcon.constants.HARDPOINT_MAX], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Dam_",weathergen.falcon.files.mission.xml.damage_types], null),"FuelRate","EngineSound","RadarCs","MaxWeight","RackFlags","MinAlt","HitPoints",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Det_",weathergen.falcon.files.mission.xml.move_types], null),"CruiseAlt","MaxSpeed",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["WpnOrHpIdx",weathergen.falcon.constants.HARDPOINT_MAX], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Rng_",weathergen.falcon.files.mission.xml.move_types], null),"Flags","MaxAlt","RadarIdx","NumberOfCrew","NCTR","Name","EmptyWeight",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Str_",weathergen.falcon.files.mission.xml.move_types], null),"CtIdx","CallsignSlots"],[weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"callsign-index","callsign-index",-2090912473)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"hit-chance","hit-chance",-2087636980)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"fuel-wt","fuel-wt",-1341155598)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"visible-flags","visible-flags",1830152500)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"weapons","weapons",-1983639898)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"damage-mod","damage-mod",-756867116)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"fuel-econ","fuel-econ",-1774342065)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"engine-sound","engine-sound",-1018050458)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"rcs-factor","rcs-factor",-693378533)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"max-wt","max-wt",220395483)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"rack-flags","rack-flags",-1071125122)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"low-alt","low-alt",-228079593)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"hit-points","hit-points",-906296276)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"detection","detection",-1580072483)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"cruise-alt","cruise-alt",2005550721)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"max-speed","max-speed",-997417461)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"weapon","weapon",-504830232)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"range","range",1639692286)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"flags","flags",1775418075)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"high-alt","high-alt",-1378024467)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"radar-type","radar-type",-1913447362)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"number-of-pilots","number-of-pilots",-393973473)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"string","string",-1989541586),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"nctr","nctr",1306882980)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"string","string",-1989541586),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"name","name",1843675177)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"empty-wt","empty-wt",1037790536)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"strength","strength",-415606478)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"index","index",-1531685915)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"callsign-slots","callsign-slots",-1388847774)], null))])], null),new cljs.core.PersistentArrayMap(null, 5, [new cljs.core.Keyword(null,"form","form",-1624062471),new cljs.core.Keyword(null,"vector","vector",1902966158),new cljs.core.Keyword(null,"root","root",-448657453),"FCDRecords",new cljs.core.Keyword(null,"item","item",249373802),"FCD",new cljs.core.Keyword(null,"index","index",-1531685915),"Num",new cljs.core.Keyword(null,"fields","fields",-1932066230),cljs.core.PersistentHashMap.fromArrays([new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Dam_",weathergen.falcon.files.mission.xml.damage_types], null),"RepairTime","RampAngle","HitPoints","RampHeight",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["Det_",weathergen.falcon.files.mission.xml.move_types], null),"Flags","RadarIdx","DisplayPriority","Name","CtIdx"],[weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"damage-mod","damage-mod",-756867116)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"repair-time","repair-time",699642051)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"angle","angle",1622094254)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"hit-points","hit-points",-906296276)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"height","height",1025178622)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"detection","detection",-1580072483)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"bitmap","bitmap",-1139196926),cljs.core.PersistentHashMap.fromArrays([new cljs.core.Keyword(null,"flat-container?","flat-container?",800182786),new cljs.core.Keyword(null,"virtual?","virtual?",1554264002),new cljs.core.Keyword(null,"no-hiteval?","no-hiteval?",1435499525),new cljs.core.Keyword(null,"has-light-switch?","has-light-switch?",1364731174),new cljs.core.Keyword(null,"can-explode?","can-explode?",-953118361),new cljs.core.Keyword(null,"repairable?","repairable?",-1497079735),new cljs.core.Keyword(null,"can-collapse?","can-collapse?",-774850903),new cljs.core.Keyword(null,"can-burn?","can-burn?",-420115087),new cljs.core.Keyword(null,"has-smoke-stack?","has-smoke-stack?",118474513),new cljs.core.Keyword(null,"container-top?","container-top?",-676665355),new cljs.core.Keyword(null,"next-is-top?","next-is-top?",-1041568648),new cljs.core.Keyword(null,"elevated-container?","elevated-container?",-588974690)],[weathergen.falcon.constants.FEAT_FLAT_CONTAINER,weathergen.falcon.constants.FEAT_VIRTUAL,weathergen.falcon.constants.FEAT_NO_HITEVAL,weathergen.falcon.constants.FEAT_HAS_LIGHT_SWITCH,weathergen.falcon.constants.FEAT_CAN_EXPLODE,weathergen.falcon.constants.FEAT_EREPAIR,weathergen.falcon.constants.FEAT_CAN_COLAPSE,weathergen.falcon.constants.FEAT_CAN_BURN,weathergen.falcon.constants.FEAT_HAS_SMOKE_STACK,weathergen.falcon.constants.FEAT_CONTAINER_TOP,weathergen.falcon.constants.FEAT_NEXT_IS_TOP,weathergen.falcon.constants.FEAT_ELEV_CONTAINER])], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"flags","flags",1775418075)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"radar-type","radar-type",-1913447362)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"priority","priority",1431093715)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"string","string",-1989541586),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"name","name",1843675177)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"index","index",-1531685915)], null))])], null),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"form","form",-1624062471),new cljs.core.Keyword(null,"vector","vector",1902966158),new cljs.core.Keyword(null,"root","root",-448657453),"FEDRecords",new cljs.core.Keyword(null,"item","item",249373802),"FED",new cljs.core.Keyword(null,"index","index",-1531685915),"Num",new cljs.core.Keyword(null,"missing","missing",362507769),cljs.core.PersistentArrayMap.createAsIfByAssoc([new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"sin-heading","sin-heading",-1506379307)], null),(0),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"cos-heading","cos-heading",-514525192)], null),(0)]),new cljs.core.Keyword(null,"fields","fields",-1932066230),cljs.core.PersistentHashMap.fromArrays(["FeaturesDependencieCount","ObjIdx","Type","RunwayTexture","FirstPtIdx","RunwayNumber","LandingPattern","NextHeaderIdx","Data",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, ["FeaturesDependencieIdx",weathergen.falcon.constants.MAX_FEAT_DEPEND], null)],[weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"count","count",2139924085)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"obj-id","obj-id",1871733713)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"type","type",1174270348)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"tex-idx","tex-idx",1332437579)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"first","first",-644103046)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"runway-num","runway-num",-1171395800)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"ltrt","ltrt",2069439)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"next-header","next-header",1386001069)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"data","data",-232669377)], null)),weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"features","features",-1146962336)], null))])], null),new cljs.core.PersistentArrayMap(null, 6, [new cljs.core.Keyword(null,"form","form",-1624062471),new cljs.core.Keyword(null,"vector","vector",1902966158),new cljs.core.Keyword(null,"root","root",-448657453),"FEDRecords",new cljs.core.Keyword(null,"item","item",249373802),"FED",new cljs.core.Keyword(null,"index","index",-1531685915),"Num",new cljs.core.Keyword(null,"missing","missing",362507769),cljs.core.PersistentArrayMap.createAsIfByAssoc([new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"entity-class","entity-class",-1906919579)], null),new cljs.core.PersistentVector(null, 8, 5, cljs.core.PersistentVector.EMPTY_NODE, [(0),(0),(0),(0),(0),(0),(0),(0)], null)]),new cljs.core.Keyword(null,"fields","fields",-1932066230),new cljs.core.PersistentArrayMap(null, 7, ["FeatureCtIdx",weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"index","index",-1531685915)], null)),"Flags",weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"flags","flags",1775418075)], null)),"Value",weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"value","value",305978217)], null)),"OffsetX",weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"offset","offset",296498311),new cljs.core.Keyword(null,"x","x",2099068185)], null)),"OffsetY",weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"offset","offset",296498311),new cljs.core.Keyword(null,"y","y",-1757859776)], null)),"OffsetZ",weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"offset","offset",296498311),new cljs.core.Keyword(null,"z","z",-789527183)], null)),"Heading",weathergen.falcon.files.mission.xml.field.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"facing","facing",-854439413)], null))], null)], null)]);
weathergen.falcon.files.mission.xml.coerce = (function weathergen$falcon$files$mission$xml$coerce(coersion,val){
if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"int","int",-1741416922),coersion)){
return weathergen.util.str__GT_long.call(null,val);
} else {
if(cljs.core._EQ_.call(null,new cljs.core.Keyword(null,"float","float",-1732389368),coersion)){
return weathergen.util.str__GT_float.call(null,val);
} else {
if(((cljs.core.vector_QMARK_.call(null,coersion)) && (cljs.core._EQ_.call(null,cljs.core.first.call(null,coersion),new cljs.core.Keyword(null,"bitmap","bitmap",-1139196926))))){
var vec__27206 = coersion;
var _ = cljs.core.nth.call(null,vec__27206,(0),null);
var m = cljs.core.nth.call(null,vec__27206,(1),null);
var val_STAR_ = weathergen.util.str__GT_long.call(null,val);
return cljs.core.into.call(null,cljs.core.PersistentHashSet.createAsIfByAssoc([val_STAR_]),cljs.core.remove.call(null,cljs.core.nil_QMARK_,(function (){var iter__4523__auto__ = ((function (vec__27206,_,m,val_STAR_){
return (function weathergen$falcon$files$mission$xml$coerce_$_iter__27209(s__27210){
return (new cljs.core.LazySeq(null,((function (vec__27206,_,m,val_STAR_){
return (function (){
var s__27210__$1 = s__27210;
while(true){
var temp__5720__auto__ = cljs.core.seq.call(null,s__27210__$1);
if(temp__5720__auto__){
var s__27210__$2 = temp__5720__auto__;
if(cljs.core.chunked_seq_QMARK_.call(null,s__27210__$2)){
var c__4521__auto__ = cljs.core.chunk_first.call(null,s__27210__$2);
var size__4522__auto__ = cljs.core.count.call(null,c__4521__auto__);
var b__27212 = cljs.core.chunk_buffer.call(null,size__4522__auto__);
if((function (){var i__27211 = (0);
while(true){
if((i__27211 < size__4522__auto__)){
var vec__27213 = cljs.core._nth.call(null,c__4521__auto__,i__27211);
var flag = cljs.core.nth.call(null,vec__27213,(0),null);
var mask = cljs.core.nth.call(null,vec__27213,(1),null);
cljs.core.chunk_append.call(null,b__27212,((weathergen.util.has_flag_QMARK_.call(null,val_STAR_,mask))?flag:null));

var G__27219 = (i__27211 + (1));
i__27211 = G__27219;
continue;
} else {
return true;
}
break;
}
})()){
return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__27212),weathergen$falcon$files$mission$xml$coerce_$_iter__27209.call(null,cljs.core.chunk_rest.call(null,s__27210__$2)));
} else {
return cljs.core.chunk_cons.call(null,cljs.core.chunk.call(null,b__27212),null);
}
} else {
var vec__27216 = cljs.core.first.call(null,s__27210__$2);
var flag = cljs.core.nth.call(null,vec__27216,(0),null);
var mask = cljs.core.nth.call(null,vec__27216,(1),null);
return cljs.core.cons.call(null,((weathergen.util.has_flag_QMARK_.call(null,val_STAR_,mask))?flag:null),weathergen$falcon$files$mission$xml$coerce_$_iter__27209.call(null,cljs.core.rest.call(null,s__27210__$2)));
}
} else {
return null;
}
break;
}
});})(vec__27206,_,m,val_STAR_))
,null,null));
});})(vec__27206,_,m,val_STAR_))
;
return iter__4523__auto__.call(null,m);
})()));
} else {
return val;

}
}
}
});
weathergen.falcon.files.mission.xml.parse_vector_field = (function weathergen$falcon$files$mission$xml$parse_vector_field(from,coersion,item){
var vec__27221 = from;
var head = cljs.core.nth.call(null,vec__27221,(0),null);
var tail = cljs.core.nth.call(null,vec__27221,(1),null);
if(typeof tail === 'number'){
return cljs.core.mapv.call(null,((function (vec__27221,head,tail){
return (function (index){
return weathergen.falcon.files.mission.xml.coerce.call(null,coersion,cljs.core.get.call(null,item,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(head),"_",cljs.core.str.cljs$core$IFn$_invoke$arity$1(index)].join(''),weathergen.falcon.files.mission.xml.default$.call(null,coersion)));
});})(vec__27221,head,tail))
,cljs.core.range.call(null,tail));
} else {
return cljs.core.mapv.call(null,((function (vec__27221,head,tail){
return (function (p1__27220_SHARP_){
return weathergen.falcon.files.mission.xml.coerce.call(null,coersion,cljs.core.get.call(null,item,[cljs.core.str.cljs$core$IFn$_invoke$arity$1(head),cljs.core.str.cljs$core$IFn$_invoke$arity$1(p1__27220_SHARP_)].join('')));
});})(vec__27221,head,tail))
,tail);

}
});
weathergen.falcon.files.mission.xml.parse_field = (function weathergen$falcon$files$mission$xml$parse_field(from,coersion,item){
if(typeof from === 'string'){
var or__4131__auto__ = weathergen.falcon.files.mission.xml.coerce.call(null,coersion,cljs.core.get.call(null,item,from));
if(cljs.core.truth_(or__4131__auto__)){
return or__4131__auto__;
} else {
return weathergen.falcon.files.mission.xml.default$.call(null,coersion);
}
} else {
if(cljs.core.vector_QMARK_.call(null,from)){
return weathergen.falcon.files.mission.xml.parse_vector_field.call(null,from,coersion,item);
} else {
return null;
}
}
});
weathergen.falcon.files.mission.xml.element_QMARK_ = (function weathergen$falcon$files$mission$xml$element_QMARK_(node){
return cljs.core.map_QMARK_.call(null,node);
});
weathergen.falcon.files.mission.xml.attrs = (function weathergen$falcon$files$mission$xml$attrs(node){
return new cljs.core.Keyword(null,"attributes","attributes",-74013604).cljs$core$IFn$_invoke$arity$1(node);
});
weathergen.falcon.files.mission.xml.parse_elem = (function weathergen$falcon$files$mission$xml$parse_elem(mapping,elem){
var map__27224 = mapping;
var map__27224__$1 = (((((!((map__27224 == null))))?(((((map__27224.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__27224.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__27224):map__27224);
var fields = cljs.core.get.call(null,map__27224__$1,new cljs.core.Keyword(null,"fields","fields",-1932066230));
var missing = cljs.core.get.call(null,map__27224__$1,new cljs.core.Keyword(null,"missing","missing",362507769));
var content_map = cljs.core.reduce.call(null,((function (map__27224,map__27224__$1,fields,missing){
return (function (m,subelem){
return cljs.core.assoc.call(null,m,cljs.core.name.call(null,new cljs.core.Keyword(null,"tag","tag",-1290361223).cljs$core$IFn$_invoke$arity$1(subelem)),cljs.core.reduce.call(null,cljs.core.str,new cljs.core.Keyword(null,"content","content",15833224).cljs$core$IFn$_invoke$arity$1(subelem)));
});})(map__27224,map__27224__$1,fields,missing))
,cljs.core.PersistentArrayMap.EMPTY,cljs.core.filter.call(null,weathergen.falcon.files.mission.xml.element_QMARK_,new cljs.core.Keyword(null,"content","content",15833224).cljs$core$IFn$_invoke$arity$1(elem)));
return cljs.core.reduce_kv.call(null,cljs.core.assoc_in,cljs.core.assoc.call(null,cljs.core.reduce_kv.call(null,((function (map__27224,map__27224__$1,fields,missing,content_map){
return (function (m,from,to){
var map__27226 = to;
var map__27226__$1 = (((((!((map__27226 == null))))?(((((map__27226.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__27226.cljs$core$ISeq$))))?true:false):false))?cljs.core.apply.call(null,cljs.core.hash_map,map__27226):map__27226);
var coersion = cljs.core.get.call(null,map__27226__$1,new cljs.core.Keyword(null,"coersion","coersion",-1715479807));
var path = cljs.core.get.call(null,map__27226__$1,new cljs.core.Keyword(null,"path","path",-188191168));
return cljs.core.assoc_in.call(null,m,path,weathergen.falcon.files.mission.xml.parse_field.call(null,from,coersion,content_map));
});})(map__27224,map__27224__$1,fields,missing,content_map))
,cljs.core.PersistentArrayMap.EMPTY,fields),new cljs.core.Keyword("weathergen.falcon.files.mission","index","weathergen.falcon.files.mission/index",-1989089649),weathergen.util.str__GT_long.call(null,new cljs.core.Keyword(null,"Num","Num",609501061).cljs$core$IFn$_invoke$arity$1(weathergen.falcon.files.mission.xml.attrs.call(null,elem)))),missing);
});
weathergen.falcon.files.mission.xml.parse_str = tubax.core.xml__GT_clj;
/**
 * Parses `xml` as an XML file of `type`.
 */
weathergen.falcon.files.mission.xml.parse = (function weathergen$falcon$files$mission$xml$parse(xml,type){
var data = weathergen.falcon.files.mission.xml.parse_str.call(null,xml);
var mapping = cljs.core.get.call(null,weathergen.falcon.files.mission.xml.mappings,type);
return cljs.core.mapv.call(null,((function (data,mapping){
return (function (p1__27228_SHARP_){
return weathergen.falcon.files.mission.xml.parse_elem.call(null,mapping,p1__27228_SHARP_);
});})(data,mapping))
,cljs.core.filter.call(null,weathergen.falcon.files.mission.xml.element_QMARK_,new cljs.core.Keyword(null,"content","content",15833224).cljs$core$IFn$_invoke$arity$1(data)));
});
