def static_resource_uri(src: str, prefix: str=None) ->str:
    """Build static path of resource."""
    local_prefix = '_static' if prefix is None else prefix
    if src.startswith('http://') or src.startswith('https://'):
        return src
    return f'{local_prefix}/{src}'
