# Functions
BodyOrEmptyJsonObj returns request body or an empty JSON object buffer otherwise.
ComputeDeviceId computes xxh3 hash of the given byte slices.
ComputeVisitorId computes xxh3 hash of the given byte slices and adds result as hexadecimal suffix to "prisme_".
ContextTimeout extract duration until context timeout and panics if no deadline is found.
ExtractClientHints parses Sec-Ch-Ua-XXX headers and adds them to the given *uaparser.Client.
ExtractUtmParams extracts UTM parameters from the given query args.
PeekAndParseReferrerHeader retrieves and parses prisme or standard referrer header.
PeekAndParseReferrerHeader retrieves and parses referrer from query parameter or standard header.
PeekReferrerHeader peek X-Prisme-Referrer header and fallback to standard Referer header otherwise.
PeekReferrerQueryOrHeader peek referrer from "referrer" query parameter and fallback to standard Referer header otherwise.
Xxh3 computes xxh3 hash of the given byte slices.