The browser hands an R300 template over as raw base64 of little-endian float32, and
nothing in the package that owns the format can decode one. The registry app grew its
own copy, so an integrator has nothing to use.
Add `FaceTemplate<R300, [Float]>.decodeBase64Template` and `R300TemplateImportError` to
`FaceRecognitionR300Core`, where the cloud and on-device recognisers both inherit them.
One case per rejection reason, matching the Android importer, so a caller can say what
was wrong rather than that something was. The input contract stays narrow — raw base64
in, a template out — because the browser handoff is the only producer today.
The decoded vector is normalised by the same code the recognition pipeline uses, so a
decoded template compares directly against a generated one. That needed the maths to be
reachable without a recogniser instance: `norm` and `normalize` are now static, and the
`@_spi(Testing)` instance method delegates to them rather than holding a second copy.
Verified: the package's tests pass on the iPhone 17 Pro simulator. Eleven tests in the
suite, ten run and none failing; the eleventh is the cloud extraction test, which is
disabled without an API key. The importer's own ten need no key, licence or model.
Co-Authored-By: Warp <agent@warp.dev>