Creates a stateless airport resolver. The resolver accepts an array of
Airport records at initialization (typically from @squawk/airport-data)
and returns an object with methods for looking up airports by identifier,
finding nearby airports, or searching by name/city.
The resolver builds internal indexes at creation time for fast lookups
by FAA ID and ICAO code. Proximity and text searches iterate over the
full dataset.
Creates a stateless airport resolver. The resolver accepts an array of Airport records at initialization (typically from
@squawk/airport-data) and returns an object with methods for looking up airports by identifier, finding nearby airports, or searching by name/city.The resolver builds internal indexes at creation time for fast lookups by FAA ID and ICAO code. Proximity and text searches iterate over the full dataset.