@mailwoman/registry 10.7.0 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (399) hide show
  1. package/README.md +93 -98
  2. package/data/manifests/artifacts.json +32 -0
  3. package/data/manifests/coverage.json +56 -0
  4. package/data/manifests/sources.lock.json +48 -0
  5. package/data/normalized/iata-airports.json +126749 -0
  6. package/data/normalized/iso3166-1.json +2035 -0
  7. package/definitions/namespaces.json +63 -0
  8. package/definitions/sections.json +73 -0
  9. package/docs/data-policy.md +81 -0
  10. package/docs/performance.md +146 -0
  11. package/docs/rgy1.md +144 -0
  12. package/lib/artifacts/country-airport-collision.ts +26 -0
  13. package/lib/artifacts/iata-airport/membership.ts +26 -0
  14. package/lib/artifacts/iata-airport/records.ts +26 -0
  15. package/lib/artifacts/iso3166-1/alpha2-membership.ts +26 -0
  16. package/lib/artifacts/iso3166-1/alpha3-membership.ts +26 -0
  17. package/lib/artifacts/iso3166-1/records.ts +26 -0
  18. package/lib/errors.ts +44 -0
  19. package/lib/iata/airports/records.ts +174 -0
  20. package/lib/iata/airports/validate.ts +49 -0
  21. package/lib/index.ts +25 -15
  22. package/lib/inspect.ts +56 -0
  23. package/lib/iso3166/alpha2.ts +48 -0
  24. package/lib/iso3166/alpha3.ts +51 -0
  25. package/lib/iso3166/records.ts +149 -0
  26. package/lib/iso3166/relations.ts +30 -0
  27. package/lib/key.ts +146 -0
  28. package/lib/normalize.ts +31 -0
  29. package/lib/overlap/country-airport.ts +108 -0
  30. package/lib/rgy1/base64.ts +24 -0
  31. package/lib/rgy1/reader.ts +316 -0
  32. package/lib/rgy1/sections.generated.ts +79 -0
  33. package/lib/rgy1/views.ts +267 -0
  34. package/lib/types.ts +88 -74
  35. package/lib/wasm.ts +285 -0
  36. package/out/artifacts/country-airport-collision.d.ts +15 -0
  37. package/out/artifacts/country-airport-collision.d.ts.map +1 -0
  38. package/out/artifacts/country-airport-collision.js +21 -0
  39. package/out/artifacts/country-airport-collision.js.map +1 -0
  40. package/out/artifacts/iata-airport/membership.d.ts +15 -0
  41. package/out/artifacts/iata-airport/membership.d.ts.map +1 -0
  42. package/out/artifacts/iata-airport/membership.js +21 -0
  43. package/out/artifacts/iata-airport/membership.js.map +1 -0
  44. package/out/artifacts/iata-airport/records.d.ts +15 -0
  45. package/out/artifacts/iata-airport/records.d.ts.map +1 -0
  46. package/out/artifacts/iata-airport/records.js +21 -0
  47. package/out/artifacts/iata-airport/records.js.map +1 -0
  48. package/out/artifacts/iso3166-1/alpha2-membership.d.ts +15 -0
  49. package/out/artifacts/iso3166-1/alpha2-membership.d.ts.map +1 -0
  50. package/out/artifacts/iso3166-1/alpha2-membership.js +21 -0
  51. package/out/artifacts/iso3166-1/alpha2-membership.js.map +1 -0
  52. package/out/artifacts/iso3166-1/alpha3-membership.d.ts +15 -0
  53. package/out/artifacts/iso3166-1/alpha3-membership.d.ts.map +1 -0
  54. package/out/artifacts/iso3166-1/alpha3-membership.js +21 -0
  55. package/out/artifacts/iso3166-1/alpha3-membership.js.map +1 -0
  56. package/out/artifacts/iso3166-1/records.d.ts +15 -0
  57. package/out/artifacts/iso3166-1/records.d.ts.map +1 -0
  58. package/out/artifacts/iso3166-1/records.js +21 -0
  59. package/out/artifacts/iso3166-1/records.js.map +1 -0
  60. package/out/errors.d.ts +38 -0
  61. package/out/errors.d.ts.map +1 -0
  62. package/out/errors.js +35 -0
  63. package/out/errors.js.map +1 -0
  64. package/out/iata/airports/records.d.ts +44 -0
  65. package/out/iata/airports/records.d.ts.map +1 -0
  66. package/out/iata/airports/records.js +137 -0
  67. package/out/iata/airports/records.js.map +1 -0
  68. package/out/iata/airports/validate.d.ts +27 -0
  69. package/out/iata/airports/validate.d.ts.map +1 -0
  70. package/out/iata/airports/validate.js +42 -0
  71. package/out/iata/airports/validate.js.map +1 -0
  72. package/out/index.d.ts +19 -15
  73. package/out/index.d.ts.map +1 -1
  74. package/out/index.js +14 -15
  75. package/out/index.js.map +1 -1
  76. package/out/inspect.d.ts +38 -0
  77. package/out/inspect.d.ts.map +1 -0
  78. package/out/inspect.js +33 -0
  79. package/out/inspect.js.map +1 -0
  80. package/out/iso3166/alpha2.d.ts +24 -0
  81. package/out/iso3166/alpha2.d.ts.map +1 -0
  82. package/out/iso3166/alpha2.js +41 -0
  83. package/out/iso3166/alpha2.js.map +1 -0
  84. package/out/iso3166/alpha3.d.ts +29 -0
  85. package/out/iso3166/alpha3.d.ts.map +1 -0
  86. package/out/iso3166/alpha3.js +44 -0
  87. package/out/iso3166/alpha3.js.map +1 -0
  88. package/out/iso3166/records.d.ts +38 -0
  89. package/out/iso3166/records.d.ts.map +1 -0
  90. package/out/iso3166/records.js +105 -0
  91. package/out/iso3166/records.js.map +1 -0
  92. package/out/iso3166/relations.d.ts +20 -0
  93. package/out/iso3166/relations.d.ts.map +1 -0
  94. package/out/iso3166/relations.js +27 -0
  95. package/out/iso3166/relations.js.map +1 -0
  96. package/out/key.d.ts +68 -0
  97. package/out/key.d.ts.map +1 -0
  98. package/out/key.js +122 -0
  99. package/out/key.js.map +1 -0
  100. package/out/normalize.d.ts +25 -0
  101. package/out/normalize.d.ts.map +1 -0
  102. package/out/normalize.js +21 -0
  103. package/out/normalize.js.map +1 -0
  104. package/out/overlap/country-airport.d.ts +57 -0
  105. package/out/overlap/country-airport.d.ts.map +1 -0
  106. package/out/overlap/country-airport.js +71 -0
  107. package/out/overlap/country-airport.js.map +1 -0
  108. package/out/rgy1/base64.d.ts +15 -0
  109. package/out/rgy1/base64.d.ts.map +1 -0
  110. package/out/rgy1/base64.js +22 -0
  111. package/out/rgy1/base64.js.map +1 -0
  112. package/out/rgy1/reader.d.ts +103 -0
  113. package/out/rgy1/reader.d.ts.map +1 -0
  114. package/out/rgy1/reader.js +230 -0
  115. package/out/rgy1/reader.js.map +1 -0
  116. package/out/rgy1/sections.generated.d.ts +54 -0
  117. package/out/rgy1/sections.generated.d.ts.map +1 -0
  118. package/out/rgy1/sections.generated.js +69 -0
  119. package/out/rgy1/sections.generated.js.map +1 -0
  120. package/out/rgy1/views.d.ts +96 -0
  121. package/out/rgy1/views.d.ts.map +1 -0
  122. package/out/rgy1/views.js +218 -0
  123. package/out/rgy1/views.js.map +1 -0
  124. package/out/sdk/fetch.d.ts +53 -0
  125. package/out/sdk/fetch.d.ts.map +1 -0
  126. package/out/sdk/fetch.js +107 -0
  127. package/out/sdk/fetch.js.map +1 -0
  128. package/out/sdk/fetch.run.d.ts +14 -0
  129. package/out/sdk/fetch.run.d.ts.map +1 -0
  130. package/out/sdk/fetch.run.js +20 -0
  131. package/out/sdk/fetch.run.js.map +1 -0
  132. package/out/sdk/sources.d.ts +111 -0
  133. package/out/sdk/sources.d.ts.map +1 -0
  134. package/out/sdk/sources.js +98 -0
  135. package/out/sdk/sources.js.map +1 -0
  136. package/out/tools/artifact-path.d.ts +10 -0
  137. package/out/tools/artifact-path.d.ts.map +1 -0
  138. package/out/tools/artifact-path.js +12 -0
  139. package/out/tools/artifact-path.js.map +1 -0
  140. package/out/tools/bench.run.d.ts +19 -0
  141. package/out/tools/bench.run.d.ts.map +1 -0
  142. package/out/tools/bench.run.js +204 -0
  143. package/out/tools/bench.run.js.map +1 -0
  144. package/out/tools/build-wasm.run.d.ts +18 -0
  145. package/out/tools/build-wasm.run.d.ts.map +1 -0
  146. package/out/tools/build-wasm.run.js +71 -0
  147. package/out/tools/build-wasm.run.js.map +1 -0
  148. package/out/tools/generate-sections.run.d.ts +13 -0
  149. package/out/tools/generate-sections.run.d.ts.map +1 -0
  150. package/out/tools/generate-sections.run.js +136 -0
  151. package/out/tools/generate-sections.run.js.map +1 -0
  152. package/out/tools/generate.run.d.ts +18 -0
  153. package/out/tools/generate.run.d.ts.map +1 -0
  154. package/out/tools/generate.run.js +118 -0
  155. package/out/tools/generate.run.js.map +1 -0
  156. package/out/tools/normalize.d.ts +155 -0
  157. package/out/tools/normalize.d.ts.map +1 -0
  158. package/out/tools/normalize.js +303 -0
  159. package/out/tools/normalize.js.map +1 -0
  160. package/out/tools/normalize.run.d.ts +14 -0
  161. package/out/tools/normalize.run.d.ts.map +1 -0
  162. package/out/tools/normalize.run.js +29 -0
  163. package/out/tools/normalize.run.js.map +1 -0
  164. package/out/types.d.ts +90 -76
  165. package/out/types.d.ts.map +1 -1
  166. package/out/types.js +20 -4
  167. package/out/types.js.map +1 -1
  168. package/out/wasm.d.ts +98 -0
  169. package/out/wasm.d.ts.map +1 -0
  170. package/out/wasm.js +137 -0
  171. package/out/wasm.js.map +1 -0
  172. package/package.json +49 -28
  173. package/sdk/fetch.run.ts +24 -0
  174. package/sdk/fetch.ts +146 -0
  175. package/sdk/sources.ts +162 -0
  176. package/tools/artifact-path.ts +12 -0
  177. package/tools/bench.run.ts +265 -0
  178. package/tools/build-wasm.run.ts +82 -0
  179. package/tools/generate-sections.run.ts +152 -0
  180. package/tools/generate.run.ts +146 -0
  181. package/tools/normalize.run.ts +36 -0
  182. package/tools/normalize.ts +474 -0
  183. package/wasm/registry-simd.wasm +0 -0
  184. package/wasm/registry.wasm +0 -0
  185. package/lib/address-key.ts +0 -46
  186. package/lib/geocode-handler.ts +0 -37
  187. package/lib/geojson.ts +0 -73
  188. package/lib/ingest.ts +0 -349
  189. package/lib/learned-scorer.ts +0 -134
  190. package/lib/map-html.ts +0 -287
  191. package/lib/models/crosssource-gbt-en-us.ts +0 -43
  192. package/lib/models/dedup-gbt-en-us.ts +0 -47
  193. package/lib/models/org-crosssource-gbt-en-us.ts +0 -43
  194. package/lib/reconcile.ts +0 -239
  195. package/lib/resolve.ts +0 -570
  196. package/out/address-key.d.ts +0 -34
  197. package/out/address-key.d.ts.map +0 -1
  198. package/out/address-key.js +0 -41
  199. package/out/address-key.js.map +0 -1
  200. package/out/geocode-handler.d.ts +0 -20
  201. package/out/geocode-handler.d.ts.map +0 -1
  202. package/out/geocode-handler.js +0 -29
  203. package/out/geocode-handler.js.map +0 -1
  204. package/out/geojson.d.ts +0 -28
  205. package/out/geojson.d.ts.map +0 -1
  206. package/out/geojson.js +0 -63
  207. package/out/geojson.js.map +0 -1
  208. package/out/ingest.d.ts +0 -173
  209. package/out/ingest.d.ts.map +0 -1
  210. package/out/ingest.js +0 -185
  211. package/out/ingest.js.map +0 -1
  212. package/out/learned-scorer.d.ts +0 -61
  213. package/out/learned-scorer.d.ts.map +0 -1
  214. package/out/learned-scorer.js +0 -91
  215. package/out/learned-scorer.js.map +0 -1
  216. package/out/map-html.d.ts +0 -39
  217. package/out/map-html.d.ts.map +0 -1
  218. package/out/map-html.js +0 -220
  219. package/out/map-html.js.map +0 -1
  220. package/out/models/crosssource-gbt-en-us.d.ts +0 -45
  221. package/out/models/crosssource-gbt-en-us.d.ts.map +0 -1
  222. package/out/models/crosssource-gbt-en-us.js +0 -40
  223. package/out/models/crosssource-gbt-en-us.js.map +0 -1
  224. package/out/models/dedup-gbt-en-us.d.ts +0 -44
  225. package/out/models/dedup-gbt-en-us.d.ts.map +0 -1
  226. package/out/models/dedup-gbt-en-us.js +0 -44
  227. package/out/models/dedup-gbt-en-us.js.map +0 -1
  228. package/out/models/org-crosssource-gbt-en-us.d.ts +0 -45
  229. package/out/models/org-crosssource-gbt-en-us.d.ts.map +0 -1
  230. package/out/models/org-crosssource-gbt-en-us.js +0 -40
  231. package/out/models/org-crosssource-gbt-en-us.js.map +0 -1
  232. package/out/reconcile.d.ts +0 -96
  233. package/out/reconcile.d.ts.map +0 -1
  234. package/out/reconcile.js +0 -127
  235. package/out/reconcile.js.map +0 -1
  236. package/out/resolve.d.ts +0 -264
  237. package/out/resolve.d.ts.map +0 -1
  238. package/out/resolve.js +0 -282
  239. package/out/resolve.js.map +0 -1
  240. package/out/tools/coverage-reconciliation.d.ts +0 -67
  241. package/out/tools/coverage-reconciliation.d.ts.map +0 -1
  242. package/out/tools/coverage-reconciliation.js +0 -113
  243. package/out/tools/coverage-reconciliation.js.map +0 -1
  244. package/out/tools/cross/dataset-correlation.d.ts +0 -61
  245. package/out/tools/cross/dataset-correlation.d.ts.map +0 -1
  246. package/out/tools/cross/dataset-correlation.js +0 -244
  247. package/out/tools/cross/dataset-correlation.js.map +0 -1
  248. package/out/tools/cross/source-threshold-sweep.d.ts +0 -60
  249. package/out/tools/cross/source-threshold-sweep.d.ts.map +0 -1
  250. package/out/tools/cross/source-threshold-sweep.js +0 -264
  251. package/out/tools/cross/source-threshold-sweep.js.map +0 -1
  252. package/out/tools/dedup-ceiling.d.ts +0 -62
  253. package/out/tools/dedup-ceiling.d.ts.map +0 -1
  254. package/out/tools/dedup-ceiling.js +0 -171
  255. package/out/tools/dedup-ceiling.js.map +0 -1
  256. package/out/tools/eval-geocoder.d.ts +0 -68
  257. package/out/tools/eval-geocoder.d.ts.map +0 -1
  258. package/out/tools/eval-geocoder.js +0 -13
  259. package/out/tools/eval-geocoder.js.map +0 -1
  260. package/out/tools/geocoder/namesake-probe.d.ts +0 -33
  261. package/out/tools/geocoder/namesake-probe.d.ts.map +0 -1
  262. package/out/tools/geocoder/namesake-probe.js +0 -60
  263. package/out/tools/geocoder/namesake-probe.js.map +0 -1
  264. package/out/tools/geocoder/vs-provided-coords.d.ts +0 -53
  265. package/out/tools/geocoder/vs-provided-coords.d.ts.map +0 -1
  266. package/out/tools/geocoder/vs-provided-coords.js +0 -161
  267. package/out/tools/geocoder/vs-provided-coords.js.map +0 -1
  268. package/out/tools/gold-set-sample.d.ts +0 -67
  269. package/out/tools/gold-set-sample.d.ts.map +0 -1
  270. package/out/tools/gold-set-sample.js +0 -81
  271. package/out/tools/gold-set-sample.js.map +0 -1
  272. package/out/tools/learned/scorer/clustering-eval.d.ts +0 -77
  273. package/out/tools/learned/scorer/clustering-eval.d.ts.map +0 -1
  274. package/out/tools/learned/scorer/clustering-eval.js +0 -207
  275. package/out/tools/learned/scorer/clustering-eval.js.map +0 -1
  276. package/out/tools/learned/scorer/crossstate-eval.d.ts +0 -65
  277. package/out/tools/learned/scorer/crossstate-eval.d.ts.map +0 -1
  278. package/out/tools/learned/scorer/crossstate-eval.js +0 -168
  279. package/out/tools/learned/scorer/crossstate-eval.js.map +0 -1
  280. package/out/tools/learned/scorer/eval.d.ts +0 -64
  281. package/out/tools/learned/scorer/eval.d.ts.map +0 -1
  282. package/out/tools/learned/scorer/eval.js +0 -275
  283. package/out/tools/learned/scorer/eval.js.map +0 -1
  284. package/out/tools/matcher-scale.d.ts +0 -40
  285. package/out/tools/matcher-scale.d.ts.map +0 -1
  286. package/out/tools/matcher-scale.js +0 -111
  287. package/out/tools/matcher-scale.js.map +0 -1
  288. package/out/tools/nppes/dedup-benchmark.d.ts +0 -82
  289. package/out/tools/nppes/dedup-benchmark.d.ts.map +0 -1
  290. package/out/tools/nppes/dedup-benchmark.js +0 -226
  291. package/out/tools/nppes/dedup-benchmark.js.map +0 -1
  292. package/out/tools/nppes/org-name.d.ts +0 -15
  293. package/out/tools/nppes/org-name.d.ts.map +0 -1
  294. package/out/tools/nppes/org-name.js +0 -6
  295. package/out/tools/nppes/org-name.js.map +0 -1
  296. package/out/tools/nppes/overmerge-packet.d.ts +0 -43
  297. package/out/tools/nppes/overmerge-packet.d.ts.map +0 -1
  298. package/out/tools/nppes/overmerge-packet.js +0 -54
  299. package/out/tools/nppes/overmerge-packet.js.map +0 -1
  300. package/out/tools/nppes/report.d.ts +0 -97
  301. package/out/tools/nppes/report.d.ts.map +0 -1
  302. package/out/tools/nppes/report.js +0 -178
  303. package/out/tools/nppes/report.js.map +0 -1
  304. package/out/tools/nppes/sample.d.ts +0 -101
  305. package/out/tools/nppes/sample.d.ts.map +0 -1
  306. package/out/tools/nppes/sample.js +0 -127
  307. package/out/tools/nppes/sample.js.map +0 -1
  308. package/out/tools/nppes/scoring.d.ts +0 -37
  309. package/out/tools/nppes/scoring.d.ts.map +0 -1
  310. package/out/tools/nppes/scoring.js +0 -81
  311. package/out/tools/nppes/scoring.js.map +0 -1
  312. package/out/tools/nppes/settings.d.ts +0 -41
  313. package/out/tools/nppes/settings.d.ts.map +0 -1
  314. package/out/tools/nppes/settings.js +0 -79
  315. package/out/tools/nppes/settings.js.map +0 -1
  316. package/out/tools/nppes/truth-grains.d.ts +0 -63
  317. package/out/tools/nppes/truth-grains.d.ts.map +0 -1
  318. package/out/tools/nppes/truth-grains.js +0 -139
  319. package/out/tools/nppes/truth-grains.js.map +0 -1
  320. package/out/tools/shared.d.ts +0 -325
  321. package/out/tools/shared.d.ts.map +0 -1
  322. package/out/tools/shared.js +0 -453
  323. package/out/tools/shared.js.map +0 -1
  324. package/out/tools/train/cross-gbt.d.ts +0 -89
  325. package/out/tools/train/cross-gbt.d.ts.map +0 -1
  326. package/out/tools/train/cross-gbt.js +0 -132
  327. package/out/tools/train/cross-gbt.js.map +0 -1
  328. package/out/tools/train/gbt.d.ts +0 -85
  329. package/out/tools/train/gbt.d.ts.map +0 -1
  330. package/out/tools/train/gbt.js +0 -155
  331. package/out/tools/train/gbt.js.map +0 -1
  332. package/out/tools/train/org-cross-gbt.d.ts +0 -85
  333. package/out/tools/train/org-cross-gbt.d.ts.map +0 -1
  334. package/out/tools/train/org-cross-gbt.js +0 -122
  335. package/out/tools/train/org-cross-gbt.js.map +0 -1
  336. package/out/tools/txhhsc-to-oarow.d.ts +0 -42
  337. package/out/tools/txhhsc-to-oarow.d.ts.map +0 -1
  338. package/out/tools/txhhsc-to-oarow.js +0 -78
  339. package/out/tools/txhhsc-to-oarow.js.map +0 -1
  340. package/out/tools/viz/browser.d.ts +0 -31
  341. package/out/tools/viz/browser.d.ts.map +0 -1
  342. package/out/tools/viz/browser.js +0 -26
  343. package/out/tools/viz/browser.js.map +0 -1
  344. package/out/tools/viz/cross-dataset-map.d.ts +0 -39
  345. package/out/tools/viz/cross-dataset-map.d.ts.map +0 -1
  346. package/out/tools/viz/cross-dataset-map.js +0 -84
  347. package/out/tools/viz/cross-dataset-map.js.map +0 -1
  348. package/out/tools/viz/geocode-first-surface.d.ts +0 -36
  349. package/out/tools/viz/geocode-first-surface.d.ts.map +0 -1
  350. package/out/tools/viz/geocode-first-surface.js +0 -234
  351. package/out/tools/viz/geocode-first-surface.js.map +0 -1
  352. package/out/tools/viz/render/map.d.ts +0 -42
  353. package/out/tools/viz/render/map.d.ts.map +0 -1
  354. package/out/tools/viz/render/map.js +0 -40
  355. package/out/tools/viz/render/map.js.map +0 -1
  356. package/out/tools/viz/render.d.ts +0 -46
  357. package/out/tools/viz/render.d.ts.map +0 -1
  358. package/out/tools/viz/render.js +0 -49
  359. package/out/tools/viz/render.js.map +0 -1
  360. package/out/tools/viz/source-provenance-map.d.ts +0 -57
  361. package/out/tools/viz/source-provenance-map.d.ts.map +0 -1
  362. package/out/tools/viz/source-provenance-map.js +0 -82
  363. package/out/tools/viz/source-provenance-map.js.map +0 -1
  364. package/out/tools/viz/yardstick-figure.d.ts +0 -22
  365. package/out/tools/viz/yardstick-figure.d.ts.map +0 -1
  366. package/out/tools/viz/yardstick-figure.js +0 -106
  367. package/out/tools/viz/yardstick-figure.js.map +0 -1
  368. package/tools/coverage-reconciliation.ts +0 -192
  369. package/tools/cross/dataset-correlation.ts +0 -380
  370. package/tools/cross/source-threshold-sweep.ts +0 -416
  371. package/tools/dedup-ceiling.ts +0 -225
  372. package/tools/eval-geocoder.ts +0 -77
  373. package/tools/geocoder/namesake-probe.ts +0 -91
  374. package/tools/geocoder/vs-provided-coords.ts +0 -232
  375. package/tools/gold-set-sample.ts +0 -147
  376. package/tools/learned/scorer/clustering-eval.ts +0 -349
  377. package/tools/learned/scorer/crossstate-eval.ts +0 -280
  378. package/tools/learned/scorer/eval.ts +0 -429
  379. package/tools/matcher-scale.ts +0 -185
  380. package/tools/nppes/dedup-benchmark.ts +0 -364
  381. package/tools/nppes/org-name.ts +0 -15
  382. package/tools/nppes/overmerge-packet.ts +0 -98
  383. package/tools/nppes/report.ts +0 -380
  384. package/tools/nppes/sample.ts +0 -250
  385. package/tools/nppes/scoring.ts +0 -115
  386. package/tools/nppes/settings.ts +0 -102
  387. package/tools/nppes/truth-grains.ts +0 -181
  388. package/tools/shared.ts +0 -743
  389. package/tools/train/cross-gbt.ts +0 -214
  390. package/tools/train/gbt.ts +0 -261
  391. package/tools/train/org-cross-gbt.ts +0 -189
  392. package/tools/txhhsc-to-oarow.ts +0 -118
  393. package/tools/viz/browser.ts +0 -41
  394. package/tools/viz/cross-dataset-map.ts +0 -133
  395. package/tools/viz/geocode-first-surface.ts +0 -305
  396. package/tools/viz/render/map.ts +0 -61
  397. package/tools/viz/render.ts +0 -103
  398. package/tools/viz/source-provenance-map.ts +0 -154
  399. package/tools/viz/yardstick-figure.ts +0 -197
package/lib/types.ts CHANGED
@@ -3,108 +3,122 @@
3
3
  * @license AGPL-3.0
4
4
  * @author Teffen Ellis, et al.
5
5
  *
6
- * The application's data shapes — the messy record that goes in and the canonical entity that
7
- * comes out. Plain interfaces over the `@mailwoman/record` types.
6
+ * Branded identifier types. A brand is a declaration-only unique symbol, so a branded value is a plain string at
7
+ * runtime and the compiler refuses to pass one namespace's code where another's is expected.
8
+ *
9
+ * A branded value records that a validator accepted it under a documented profile at the time of the call. The
10
+ * issuing authority's later assignments are outside what the brand records.
8
11
  */
9
12
 
10
- import type { ResolutionTier } from "@mailwoman/annotations/geo"
11
- import type { OrganizationName, PersonName, PostalAddress } from "@mailwoman/record"
12
-
13
13
  /**
14
- * A single source record: one row of a messy contact/organization dataset, after normalization.
14
+ * ISO 3166-1 country code namespaces.
15
+ *
16
+ * ISO 3166-2 codes subdivisions and is a separate brand, outside country codes.
15
17
  */
16
- export interface SourceRecord {
17
- /**
18
- * Stable identifier within the input (row id, primary key…).
19
- */
20
- id: string
18
+ export declare namespace ISO {
19
+ const $CountryCode_3166_1_Alpha2: unique symbol
20
+ const $CountryCode_3166_1_Alpha3: unique symbol
21
+ const $CountryCode_3166_1_Numeric: unique symbol
22
+
21
23
  /**
22
- * Provenance: which file / dataset this came from.
24
+ * A two-letter country code the profile holds as officially assigned, such as `GB`.
23
25
  */
24
- source: string | null
26
+ type CountryCode_3166_1_Alpha2 = string & { readonly [$CountryCode_3166_1_Alpha2]: true }
27
+
25
28
  /**
26
- * Parsed person name, when the record is a contact.
29
+ * A three-letter country code the profile holds as officially assigned, such as `GBR`.
27
30
  */
28
- name: PersonName | null
31
+ type CountryCode_3166_1_Alpha3 = string & { readonly [$CountryCode_3166_1_Alpha3]: true }
32
+
29
33
  /**
30
- * Canonicalized organization name, when the record is an org.
34
+ * A three-digit country code, kept as a string so `036` keeps its leading zero.
31
35
  */
32
- organization: OrganizationName | null
36
+ type CountryCode_3166_1_Numeric = string & { readonly [$CountryCode_3166_1_Numeric]: true }
37
+ }
38
+
39
+ /**
40
+ * IATA location code namespaces.
41
+ */
42
+ export declare namespace IATA {
43
+ const $LocationCode: unique symbol
44
+ const $AirportCode: unique symbol
45
+
33
46
  /**
34
- * The address, normalized + (ideally) geocoded.
47
+ * A three-letter IATA location code of any kind.
35
48
  */
36
- address: PostalAddress | null
37
- phone: string | null
38
- email: string | null
49
+ type LocationCode = string & { readonly [$LocationCode]: true }
50
+
39
51
  /**
40
- * Additional secondary-identifier fields, normalized.
41
- *
42
- * Anything that helps tell two records apart or confirm they're the same beyond
43
- * name/org/address/phone (an authorized-official name, a provider taxonomy, a license number…).
52
+ * A location code the profile holds for an airport.
44
53
  *
45
- * Used as extra comparisons + corroborators when the model is built with matching `discriminators`.
46
- * Keyed by a stable field name the model references.
54
+ * The open profile holds only airports, so every code it accepts is one of these.
55
+ * A metropolitan code is outside the profile and is refused.
47
56
  */
48
- attributes: Record<string, string> | null
49
- /**
50
- * The original row, verbatim, for audit.
51
- */
52
- raw: Record<string, string> | null
57
+ type AirportCode = LocationCode & { readonly [$AirportCode]: true }
53
58
  }
54
59
 
55
60
  /**
56
- * A resolved canonical entity: a cluster of source records judged to be the same real-world thing.
61
+ * ICAO location indicator namespace.
57
62
  */
58
- export interface ResolvedEntity {
59
- /**
60
- * Identifier assigned to the entity.
61
- */
62
- id: string
63
- /**
64
- * The source records that resolved to this entity.
65
- */
66
- records: SourceRecord[]
67
- /**
68
- * The most complete record, used as the entity's canonical face.
69
- */
70
- representative: SourceRecord
71
- /**
72
- * The entity's location, from the representative's geocode.
73
- */
74
- coordinate: { latitude: number; longitude: number } | null
63
+ export declare namespace ICAO {
64
+ const $LocationIndicator: unique symbol
65
+
75
66
  /**
76
- * Weakest within-cluster link weight in bits (how tightly it holds together); `null` for a singleton.
67
+ * A four-character ICAO location indicator, such as `EGLL`.
77
68
  */
78
- cohesion: number | null
69
+ type LocationIndicator = string & { readonly [$LocationIndicator]: true }
79
70
  }
80
71
 
81
72
  /**
82
- * The three reconciliation buckets an entity can fall into.
73
+ * The status a country record holds.
74
+ */
75
+ export const CountryStatus = {
76
+ OfficiallyAssigned: "officially-assigned",
77
+ FormerlyUsed: "formerly-used",
78
+ } as const
79
+
80
+ export type CountryStatus = (typeof CountryStatus)[keyof typeof CountryStatus]
81
+
82
+ /**
83
+ * How an airport record's country column relates to ISO 3166-1.
83
84
  */
84
- export type ReconciliationBucket = "enrolled" | "eligible-not-enrolled" | "funded-not-eligible"
85
+ export const AirportCountryStatus = {
86
+ ISO3166_1: "iso3166-1",
87
+ SourceExtension: "source-extension",
88
+ Unstated: "unstated",
89
+ } as const
85
90
 
86
- export interface EntityGeoData {
91
+ export type AirportCountryStatus = (typeof AirportCountryStatus)[keyof typeof AirportCountryStatus]
92
+
93
+ /**
94
+ * One country record as the records artifact holds it.
95
+ */
96
+ export interface CountryRecord {
87
97
  entityID: string
88
- sourceIDs: string[]
89
- recordCount: number
90
- cohesion: number | null
91
- sources: string[]
92
- name: string | null
93
- organization: string | null
94
- address: string | null
95
- geocodeTier: ResolutionTier | null
96
- bucket: ReconciliationBucket | null
98
+ alpha2: string
99
+ alpha3: string
100
+ numeric: string
101
+ name: string
102
+ status: CountryStatus
97
103
  }
98
104
 
99
105
  /**
100
- * Feature properties the map renderer consumes — {@link EntityGeoData} with every
101
- * field optional, plus an unconstrained `bucket`.
102
- *
103
- * The renderer assigns a color per distinct bucket value in first-seen order and builds
104
- * its legend from that set, so a bucket is any categorical label rather than only a
105
- * {@link ReconciliationBucket}; and a collection assembled from something other than resolved
106
- * entities (raw address points, links read back from a file) have no entity id or display name.
106
+ * One airport record as the records artifact holds it.
107
107
  */
108
- export type MapFeatureData = Partial<Omit<EntityGeoData, "bucket">> & { bucket?: string | null }
109
-
110
- // #endregion
108
+ export interface AirportRecord {
109
+ entityID: string
110
+ iata: IATA.AirportCode
111
+ icao: ICAO.LocationIndicator | null
112
+ name: string
113
+ facility: string
114
+ scheduledService: boolean
115
+ latitude: number
116
+ longitude: number
117
+ /**
118
+ * The country as the source spells it, or null.
119
+ */
120
+ country: string | null
121
+ countryStatus: AirportCountryStatus
122
+ municipality: string | null
123
+ isoRegion: string | null
124
+ }
package/lib/wasm.ts ADDED
@@ -0,0 +1,285 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ *
6
+ * The WebAssembly batch adapter over `crates/registry-wasm`.
7
+ *
8
+ * Initialization is explicit: the caller passes the module's bytes or a compiled `WebAssembly.Module`, and this
9
+ * module compiles the module inside `createRegistry` and at no other time. `registryWasmURL` locates the committed
10
+ * binaries for a caller that loads them itself, and `preferredWasmVariant` reports whether the host runs `simd128`.
11
+ * A batch call stages the packed codes in linear memory, crosses the boundary once, and copies the masks into the
12
+ * caller's buffer. The staging buffers are kept and reused while they are large enough.
13
+ */
14
+
15
+ import { countryAirportCollisionArtifact } from "#artifacts/country-airport-collision"
16
+ import { iataAirportMembershipArtifact } from "#artifacts/iata-airport/membership"
17
+ import { iso31661Alpha3MembershipArtifact } from "#artifacts/iso3166-1/alpha3-membership"
18
+ import { CODE_LENGTH_3 } from "#key"
19
+
20
+ /**
21
+ * The location of a committed `wasm/registry*.wasm`, resolved from this module.
22
+ */
23
+ export function registryWasmURL(variant: WasmVariant): URL {
24
+ return new URL(`../wasm/${variant === "simd" ? "registry-simd.wasm" : "registry.wasm"}`, import.meta.url)
25
+ }
26
+
27
+ export type WasmVariant = "simd" | "scalar"
28
+
29
+ /**
30
+ * A `WebAssembly.validate` probe: a module whose one function uses a `v128` constant.
31
+ *
32
+ * It validates on a host with `simd128` and fails on one without.
33
+ * Validation compiles no code and runs no function.
34
+ */
35
+ const SIMD_PROBE = new Uint8Array([
36
+ 0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11,
37
+ ])
38
+
39
+ /**
40
+ * The variant this host can run: `simd` when it validates the probe, else `scalar`.
41
+ */
42
+ export function preferredWasmVariant(): WasmVariant {
43
+ return WebAssembly.validate(SIMD_PROBE) ? "simd" : "scalar"
44
+ }
45
+
46
+ /**
47
+ * A compiled WebAssembly module, as a Worker runtime supplies it.
48
+ *
49
+ * The type is opaque because the Node type preset omits the DOM library that declares
50
+ * `WebAssembly`, and this package's declarations type-check without it.
51
+ */
52
+ export interface RegistryCompiledModule {
53
+ readonly [Symbol.toStringTag]: string
54
+ }
55
+
56
+ /**
57
+ * The bytes or compiled module the runtime instantiates from.
58
+ */
59
+ export type RegistryWasmSource = RegistryCompiledModule | ArrayBuffer | Uint8Array<ArrayBuffer>
60
+
61
+ interface LinearMemory {
62
+ readonly buffer: ArrayBuffer
63
+ }
64
+
65
+ /**
66
+ * The members of the global `WebAssembly` object this loader calls.
67
+ */
68
+ interface WebAssemblyAPI {
69
+ validate(bytes: ArrayBuffer | Uint8Array<ArrayBuffer>): boolean
70
+ compile(bytes: ArrayBuffer | Uint8Array<ArrayBuffer>): Promise<RegistryCompiledModule>
71
+ instantiate(module: RegistryCompiledModule, imports: object): Promise<{ exports: Exports }>
72
+ }
73
+
74
+ /**
75
+ * The runtime's global, typed to the members above.
76
+ * Every JavaScript runtime this package targets defines it.
77
+ */
78
+ declare const WebAssembly: WebAssemblyAPI
79
+
80
+ function isBytes(source: RegistryWasmSource): source is ArrayBuffer | Uint8Array<ArrayBuffer> {
81
+ return source instanceof ArrayBuffer || ArrayBuffer.isView(source)
82
+ }
83
+
84
+ /**
85
+ * The C ABI `crates/registry-wasm` exports.
86
+ */
87
+ interface Exports {
88
+ memory: LinearMemory
89
+ rgy_alloc(len: number): number
90
+ rgy_dealloc(ptr: number, len: number): void
91
+ rgy_error(): number
92
+ rgy_simd(): number
93
+ rgy_load(ptr: number, len: number): number
94
+ rgy_classify_many(
95
+ country: number,
96
+ airport: number,
97
+ collision: number,
98
+ input: number,
99
+ count: number,
100
+ output: number
101
+ ): number
102
+ rgy_test_many(handle: number, input: number, count: number, output: number): number
103
+ }
104
+
105
+ /**
106
+ * The mask bits `classifyManyInto` writes, equal to `registry_core::lookup::mask`.
107
+ */
108
+ export const ClassifyMask = {
109
+ Country: 1,
110
+ Airport: 2,
111
+ Collision: 4,
112
+ Invalid: 0x80,
113
+ } as const
114
+
115
+ /**
116
+ * The artifacts the batch kernels read.
117
+ * Each defaults to the built profile's module.
118
+ */
119
+ export interface RegistryWasmArtifacts {
120
+ alpha3?: Uint8Array
121
+ airport?: Uint8Array
122
+ collision?: Uint8Array
123
+ }
124
+
125
+ /**
126
+ * Options for {@link createRegistry}.
127
+ */
128
+ export interface CreateRegistryOptions {
129
+ /**
130
+ * The module bytes, or a module the host compiled.
131
+ */
132
+ wasm: RegistryWasmSource
133
+ artifacts?: RegistryWasmArtifacts
134
+ }
135
+
136
+ /**
137
+ * A reusable staging buffer in linear memory.
138
+ */
139
+ class Staging {
140
+ ptr = 0
141
+ len = 0
142
+ readonly #exports: Exports
143
+
144
+ constructor(exports: Exports) {
145
+ this.#exports = exports
146
+ }
147
+
148
+ reserve(len: number): number {
149
+ if (len > this.len) {
150
+ if (this.len) {
151
+ this.#exports.rgy_dealloc(this.ptr, this.len)
152
+ }
153
+
154
+ this.ptr = this.#exports.rgy_alloc(len)
155
+ this.len = len
156
+ }
157
+
158
+ return this.ptr
159
+ }
160
+ }
161
+
162
+ /**
163
+ * An instantiated registry runtime.
164
+ */
165
+ export interface RegistryWasm {
166
+ /**
167
+ * Whether the instantiated module was built with the `simd128` kernels.
168
+ */
169
+ readonly simd: boolean
170
+
171
+ countryAirport: {
172
+ /**
173
+ * Classifies `count` packed three-byte codes into `out`, one {@link ClassifyMask} byte each.
174
+ *
175
+ * `packed` holds `count * 3` bytes.
176
+ * Returns the count written.
177
+ * Throws on an output shorter than `count`.
178
+ */
179
+ classifyManyInto(packed: Uint8Array, out: Uint8Array, count?: number): number
180
+
181
+ /**
182
+ * Classifies an array of strings, allocating the packed input and the result.
183
+ * For callers that have no bytes.
184
+ */
185
+ classify(codes: readonly string[]): Uint8Array
186
+ }
187
+
188
+ /**
189
+ * Frees the staging buffers.
190
+ *
191
+ * The loaded artifacts stay in memory for the instance's lifetime.
192
+ */
193
+ dispose(): void
194
+ }
195
+
196
+ const encoder = new TextEncoder()
197
+
198
+ /**
199
+ * Instantiates the module and loads the three bitsets of the collision batch.
200
+ */
201
+ export async function createRegistry(options: CreateRegistryOptions): Promise<RegistryWasm> {
202
+ const module = isBytes(options.wasm) ? await WebAssembly.compile(options.wasm) : options.wasm
203
+ const instance = await WebAssembly.instantiate(module, {})
204
+ const exports = instance.exports
205
+
206
+ const load = (bytes: Uint8Array): number => {
207
+ const ptr = exports.rgy_alloc(bytes.byteLength)
208
+
209
+ new Uint8Array(exports.memory.buffer, ptr, bytes.byteLength).set(bytes)
210
+
211
+ const handle = exports.rgy_load(ptr, bytes.byteLength)
212
+
213
+ if (handle < 0) throw new Error(`registry wasm refused an artifact: error ${exports.rgy_error()}`)
214
+
215
+ return handle
216
+ }
217
+
218
+ const alpha3 = load(options.artifacts?.alpha3 ?? iso31661Alpha3MembershipArtifact())
219
+ const airport = load(options.artifacts?.airport ?? iataAirportMembershipArtifact())
220
+ const collision = load(options.artifacts?.collision ?? countryAirportCollisionArtifact())
221
+ const input = new Staging(exports)
222
+ const output = new Staging(exports)
223
+
224
+ const classifyManyInto = (
225
+ packed: Uint8Array,
226
+ out: Uint8Array,
227
+ count = Math.floor(packed.byteLength / CODE_LENGTH_3)
228
+ ): number => {
229
+ const inputBytes = count * CODE_LENGTH_3
230
+
231
+ if (out.byteLength < count) throw new RangeError(`output holds ${out.byteLength} bytes for ${count} codes`)
232
+
233
+ if (packed.byteLength < inputBytes)
234
+ throw new RangeError(`input holds ${packed.byteLength} bytes for ${count} codes`)
235
+
236
+ const inPtr = input.reserve(inputBytes)
237
+ const outPtr = output.reserve(count)
238
+
239
+ // `memory.buffer` is re-read after every allocation, because growth detaches the previous buffer.
240
+ new Uint8Array(exports.memory.buffer, inPtr, inputBytes).set(packed.subarray(0, inputBytes))
241
+
242
+ const written = exports.rgy_classify_many(alpha3, airport, collision, inPtr, count, outPtr)
243
+
244
+ if (written < 0) throw new Error(`registry wasm batch failed: error ${exports.rgy_error()}`)
245
+
246
+ out.set(new Uint8Array(exports.memory.buffer, outPtr, written))
247
+
248
+ return written
249
+ }
250
+
251
+ return {
252
+ simd: exports.rgy_simd() === 1,
253
+ countryAirport: {
254
+ classifyManyInto,
255
+ classify(codes) {
256
+ const packed = new Uint8Array(codes.length * CODE_LENGTH_3)
257
+
258
+ codes.forEach((code, index) => {
259
+ // A code of any other byte length packs as zero bytes.
260
+ // The kernel marks zero bytes invalid.
261
+ const bytes = encoder.encode(code)
262
+
263
+ packed.set(bytes.byteLength === CODE_LENGTH_3 ? bytes : new Uint8Array(CODE_LENGTH_3), index * CODE_LENGTH_3)
264
+ })
265
+
266
+ const out = new Uint8Array(codes.length)
267
+
268
+ classifyManyInto(packed, out, codes.length)
269
+
270
+ return out
271
+ },
272
+ },
273
+ dispose() {
274
+ if (input.len) {
275
+ exports.rgy_dealloc(input.ptr, input.len)
276
+ }
277
+
278
+ if (output.len) {
279
+ exports.rgy_dealloc(output.ptr, output.len)
280
+ }
281
+
282
+ input.len = output.len = 0
283
+ },
284
+ }
285
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ *
6
+ * The `country-airport-collision` artifact of the `open-2026-11` profile, 3056 bytes, SHA-256 2154993ce8f65602a0000b9ca3ea0d5ed29a1f1719ce39ff6dd791d0ec8b106b.
7
+ * Generated by tools/generate.run.ts from data/normalized. Edit the data or the compiler rather than this file.
8
+ */
9
+ /**
10
+ * Returns the artifact's bytes, decoded on first call and shared afterwards.
11
+ *
12
+ * Callers read the bytes and never write them.
13
+ */
14
+ export declare function countryAirportCollisionArtifact(): Uint8Array;
15
+ //# sourceMappingURL=country-airport-collision.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"country-airport-collision.d.ts","sourceRoot":"","sources":["../../lib/artifacts/country-airport-collision.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH;;;;GAIG;AACH,wBAAgB,+BAA+B,IAAI,UAAU,CAI5D"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ *
6
+ * The `country-airport-collision` artifact of the `open-2026-11` profile, 3056 bytes, SHA-256 2154993ce8f65602a0000b9ca3ea0d5ed29a1f1719ce39ff6dd791d0ec8b106b.
7
+ * Generated by tools/generate.run.ts from data/normalized. Edit the data or the compiler rather than this file.
8
+ */
9
+ import { decodeBase64 } from "#rgy1/base64";
10
+ const BASE64 = "UkdZMQEAAAAeAwAAAQAAAEADAADwCwAAWAMAAAAAAAB7ImFydGlmYWN0IjoiY291bnRyeS1haXJwb3J0LWNvbGxpc2lvbiIsImNvdmVyYWdlIjp7ImNvbGxpc2lvbnMiOjIwMSwiaWF0YS1sb2NhdGlvbiI6OTA1MywiaXNvMzE2Ni0xLWFscGhhMyI6MjQ5fSwiZW5jb2RpbmdzIjp7ImJpdHNldCI6MSwiY29sdW1uIjoxLCJpZC10YWJsZSI6MSwicmVsYXRpb24tb2Zmc2V0cyI6MSwicmVsYXRpb24tdGFyZ2V0cyI6MSwic3RyaW5nLW9mZnNldHMiOjEsInV0ZjgiOjF9LCJlbnZlbG9wZVZlcnNpb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AAIAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
11
+ let bytes = null;
12
+ /**
13
+ * Returns the artifact's bytes, decoded on first call and shared afterwards.
14
+ *
15
+ * Callers read the bytes and never write them.
16
+ */
17
+ export function countryAirportCollisionArtifact() {
18
+ bytes ??= decodeBase64(BASE64);
19
+ return bytes;
20
+ }
21
+ //# sourceMappingURL=country-airport-collision.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"country-airport-collision.js","sourceRoot":"","sources":["../../lib/artifacts/country-airport-collision.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,MAAM,MAAM,GACX,8+HAA8+H,CAAA;AAE/+H,IAAI,KAAK,GAAsB,IAAI,CAAA;AAEnC;;;;GAIG;AACH,MAAM,UAAU,+BAA+B;IAC9C,KAAK,KAAK,YAAY,CAAC,MAAM,CAAC,CAAA;IAE9B,OAAO,KAAK,CAAA;AACb,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ *
6
+ * The `iata-airport-membership` artifact of the `open-2026-11` profile, 2792 bytes, SHA-256 01b6677cd90b33574ce988b169c85445e378c82216f60c7888fce51e451525d9.
7
+ * Generated by tools/generate.run.ts from data/normalized. Edit the data or the compiler rather than this file.
8
+ */
9
+ /**
10
+ * Returns the artifact's bytes, decoded on first call and shared afterwards.
11
+ *
12
+ * Callers read the bytes and never write them.
13
+ */
14
+ export declare function iataAirportMembershipArtifact(): Uint8Array;
15
+ //# sourceMappingURL=membership.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"membership.d.ts","sourceRoot":"","sources":["../../../lib/artifacts/iata-airport/membership.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH;;;;GAIG;AACH,wBAAgB,6BAA6B,IAAI,UAAU,CAI1D"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ *
6
+ * The `iata-airport-membership` artifact of the `open-2026-11` profile, 2792 bytes, SHA-256 01b6677cd90b33574ce988b169c85445e378c82216f60c7888fce51e451525d9.
7
+ * Generated by tools/generate.run.ts from data/normalized. Edit the data or the compiler rather than this file.
8
+ */
9
+ import { decodeBase64 } from "#rgy1/base64";
10
+ const BASE64 = "UkdZMQEAAAARAgAAAQAAADgCAADoCgAAUAIAAAAAAAB7ImFydGlmYWN0IjoiaWF0YS1haXJwb3J0LW1lbWJlcnNoaXAiLCJjb3ZlcmFnZSI6eyJpYXRhLWxvY2F0aW9uIjo5MDUzfSwiZW5jb2RpbmdzIjp7ImJpdHNldCI6MSwiY29sdW1uIjoxLCJpZC10YWJsZSI6MSwicmVsYXRpb24tb2Zmc2V0cyI6MSwicmVsYXRpb24tdGFyZ2V0cyI6MSwic3RyaW5nLW9mZnNldHMiOjEsInV0ZjgiOjF9LCJlbnZlbG9wZVZlcnNpb24iOjEsImdlbmVyYXRvciI6InJlZ2lzdHJ5LWJ1aWxkIDAuMS4wIiwia2luZHMiOlsiYWlycG9ydCJdLCJuYW1lc3BhY2VzIjpbImlhdGEtbG9jYXRpb24iXSwibm9ybWFsaXphdGlvblZlcnNpb24iOjEsInByb2ZpbGUiOiJvcGVuLTIwMjYtMTEiLCJzY2hlbWFWZXJzaW9uIjoxLCJzb3VyY2VzIjpbeyJpZCI6Im91cmFpcnBvcnRzLWFpcnBvcnRzIiwicHVibGljYXRpb24iOiJGcmksIDA2IE5vdiAyMDI2IDAyOjUzOjU2IEdNVCIsInNoYTI1NiI6ImUyZTY1YTNkZGFmNzYxNzBjMGUyYzM3M2NiOGI2ODU5N2JkZjNiNTlkMjQzYzRkNmRiNDU0ZDQ4NDk4YmE2ZDcifV19AAAAAAAAAAEAAQAAAAEAUAIAAJUIAACoRAAAAwAAAL//v/////577/v/9//T3J+ltDn9/+/v/x7F/f1+h7xY9P//3//8v7/+/f/9/+/9/cH7+/9DkwD99////////////f//D7XLs0Er4J+/L03/3y2vO/i/8/rz///////+///v//9///9//3///f//9////+33/v////////////9/n3/f9/739zA2/fbHd/93f///v/////b///UX/f//2ez/+f/+78//v+7///v//73//2//9/tf//3/+9f/8P9/+r//5/3/37/qcPjd53/2///////////////3f74vKZBM/H///1/3/3//////P9vvVXDy4Mzp+kJv2d7e+nv2zu/7A/1PITUYMcVI8Lv7aEAgELl4WqzHKDLlf9WUnAYBBSbU99i8QYfBOvut2/myTSEzEAABwP+5X1x1rG3mSPNn8QACuwKPQAZoiAgQhGFFYBgEEzieLOtRERxuwE7fEAkkBCAxAFGZTwoABgSSLAQFgiCwEMbI////Wf2O/b/xBVhgYDCCBgAABPzn/PjP54UGjoF1cIFgw4AjUSYAQAQCAYxGQACQcF+1cxaHQYNwBMUSSGQkimACFgYICRAAAECIzQIgAIAAAisFrOO7Hx3H0feCBl90HgEACQQAAMB339OMnRhGFEAn5YcAAIYAgQgAQAABBCCDAwACAP/7//9/6tl4g5Zn/rp/WG7lsAnkL+fEDQ0PbhkeB2AokMmCwH+/vx/xP+7N+Hz9//tCGoMAAAH8/f9/uf9CXbnD/9v3R6QqkoHEAjhEYFv5FgNFI/H7//c2wSYFMkPi0xm03eZ0DggDmWkeQoYOuLfvhICAAkskDv3vujk15tJzDkH39b9Mg6gEgBHAfZfB578uBuf5/f/X/xaJAQllAiAAANKGYsIwIwzLeIdMZAtY0MbQeLlAQAIkhKpDsI3nAQGQBAEIBAAQQDLVzEF+/8Vr/Bm8/vUfQPtEdQqGATAJfN1T+PXdxeT9BBGJADQlCZFgRMD37/8ABABEQCHw3/uPAMEDgl8exYMJiGcwAACNAAtgBojhEPHgPwFSDATACCIEgRgwYGTBsAil0J8MRIAJFAEAwLgZAoNXGhWECDT4p2NAAgABYAAEgAAAACACIAAA//////7/////8ef//////0dBEvj//3333f/+/98NHiLy/f+9f7/99//3799/33v9/02+W4EICvz9////f////l///L9fcUmy/8/wDhEEO8WcqoUZ8Pt//f/////3j13f0f/7/79g/RL/bd9Gtdhx//9+EAgE3/1i3//x95n/+/+/7Z/dfv/9dwZAA8C+xg/3//+39/fz379vQrcBl30uBYHYcFzuSXGcRP/+////9//3z////////////9/6+/v/f9////f///1/b/3/9d////7/vf////////v7vv///v//1/9//v//////3//f//D////3++///////3+//93///e1GjHRax79/VhE9CIHEJIAO83VoBCgOkb/SYkBAE/52PW383CX6sBSh2ZP9z5GI2sUkIL5Vo9Dkn0reK1stv95TUIsQ4EBCAAAABBV50U1AkDBP4b25FFWK0PGp55TBVAGgBRAsIVn6WaQAwUQChAAQPD3/9P//+3/dwYtf3+WwKHASDIVACAA/P/r7/3nHfP/h9k5Dm4hGLBAAIALkEBV7AAUAwr479//v/6m7/o//PX7+t/7/wHUAL99t/63P3fJ/+8RBAB/9vrn+P3/3v729+vv//v+3//+zxDRwHf9/f//17/79//n+n97kxUZfQsFYklw7efSZJNFAAAAEAAAAAgIkQAACAAAAACFAAICGAEAgAxAAAhABgIAAAAAAAAAAAIAAAAAAAAQBBAAEAAAAIRAAUUSICgAAABCQGABAAAAAAAAAAAAAAAAAAAA8P9/7t/3/5NcF33h+/iV9n0SqQGBbQ4kpaPwr2P+YA8AmYF+JxErsNfe8ec+h+/t/g/AyBIABBSUhwubL9xc5VOU3+tTB5lLICkARAAQIMAGQCSgCf+9//7////fv7/f73fz9F//+/Ha37///9//7/7//77//+7/7////rv//9//////v///7P//f/99+/////78/+9/e////b//+6/+3/T//7///8//ku7//73//////t8vuZv73/+7SA5Hz/8ffvX///s3/3FPDf////////+///3//5/////Xv36SkH7A/9//77t/d+998/5/X0kCR7+AGNPQSPCH62ABHiCWnYcMjHJgQYJwxoAAEGgMBAAAcJDGAQQAAYLtCkCAQDBd4sl2fe0fER53lUgQgECIEKoIAAAAdM15XPjzwXY9FwkkFMQkARAAAAAAAAAAKBAQQEjw3v9GESBJvYgsVEYbDIUkWgAAAAlADBLAgBy9+ptAQABAQCx05doEEQBBB5BjyA0IQoEQDABQwEUbxTEAKMjBQAgASIFBGYAAAABQAAGAEEAAAAAA+d/5f1FNkQggwHCIAamJSAgUAHABjsAKOwcWbBKEAEgw8iJAN7MVn+2KJIZaGMHCxAGXBAAAAEynIT1er/kGu4PJMbwKtACQUKgQAAgAEyAEBAAEAJAogZSYAIBYAkAIAAAAUgAACBJBIAIAAABApRIQAgQAgQAECQBQ0JxKUCAIBgAAAAQwCgAACAEgwEAewQAAIQkAAAAgAAAAAQAAAAAAEAEgQAAEANf/v98/v/fP9/2Zeh7GfT9dLxky7b/u/73H9+RghIAS0O/Xmffje/P+/HxrM969TsS33vPvP/+/7b3w/5/bPubTGxyMeUGvOOx5EKXr5/86W8cD+s+MpSAMlkAASAAAQABEhCNAAg4UIDkWBEACVAxAKBAIAFKIAAAAKYIIgUAHAIQwAAQYAgEAAEIk4AQAEQJMDEJYwIgBQBABAAEIAAAAIACQAAAEEAwAAAA=";
11
+ let bytes = null;
12
+ /**
13
+ * Returns the artifact's bytes, decoded on first call and shared afterwards.
14
+ *
15
+ * Callers read the bytes and never write them.
16
+ */
17
+ export function iataAirportMembershipArtifact() {
18
+ bytes ??= decodeBase64(BASE64);
19
+ return bytes;
20
+ }
21
+ //# sourceMappingURL=membership.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"membership.js","sourceRoot":"","sources":["../../../lib/artifacts/iata-airport/membership.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,MAAM,MAAM,GACX,8oHAA8oH,CAAA;AAE/oH,IAAI,KAAK,GAAsB,IAAI,CAAA;AAEnC;;;;GAIG;AACH,MAAM,UAAU,6BAA6B;IAC5C,KAAK,KAAK,YAAY,CAAC,MAAM,CAAC,CAAA;IAE9B,OAAO,KAAK,CAAA;AACb,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ *
6
+ * The `iata-airport-records` artifact of the `open-2026-11` profile, 1123320 bytes, SHA-256 c93d306a490f652f20d1867dfdd33532413e9638e4509ca6d2ce08e68332a972.
7
+ * Generated by tools/generate.run.ts from data/normalized. Edit the data or the compiler rather than this file.
8
+ */
9
+ /**
10
+ * Returns the artifact's bytes, decoded on first call and shared afterwards.
11
+ *
12
+ * Callers read the bytes and never write them.
13
+ */
14
+ export declare function iataAirportRecordsArtifact(): Uint8Array;
15
+ //# sourceMappingURL=records.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../../../lib/artifacts/iata-airport/records.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH;;;;GAIG;AACH,wBAAgB,0BAA0B,IAAI,UAAU,CAIvD"}