CREATE TEMP FUNCTION parseProtobuf(input BYTES, messageType STRING, typedefs JSON) RETURNS JSON DETERMINISTIC LANGUAGE js AS r""" // bqpb v0.1.0 // (c) 2023, Masaki Hara. Licensed under the MIT License. "use strict";function t(t){ const n=(t+"=").indexOf("="),e=new Uint8Array(.75*n|0);for(let r=0;n>r;r++){ const n=t.charCodeAt(r),o=.75*r+.75|0,i=n-(96>n?64>n?48>n?47>n?-19:-16:-4:65:71)<<2+r%4*2 ;e