HomeSoftware Heritage

assets/webapp-utils: Add SWHID validation in search inputs

Description

assets/webapp-utils: Add SWHID validation in search inputs

Check a SWHID entered in a search input is valid by sending a request
to the resolve endpoint of the Web API.

If the SWHID is not valid, precise parsing error will be extracted from
the Web API response and displayed in the Web UI to indicate the search
form can not be validated.

Related to T3247