decord/source/module_4779.js

32 lines
816 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 4779
2026-07-27 11:26:19 +00:00
// Function ID: 41540
2026-07-25 08:10:48 +00:00
// Dependencies: [4780]
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
// Module 4779
2026-07-25 08:10:48 +00:00
const module = arg2;
const dependencyMap = arg6;
2026-07-20 16:05:17 +00:00
arg5.default = {
2026-07-25 08:10:48 +00:00
decode(arg0, buffer) {
const value = module(4780).get();
let tmp2 = value;
if (undefined !== value) {
if (undefined !== arg0) {
const prototype = tmp2.prototype;
tmp2 = new tmp2(arg0);
const _DataView = DataView;
if (buffer instanceof DataView) {
buffer = buffer.buffer;
} else {
const _Uint8Array = Uint8Array;
buffer = Uint8Array.from(buffer);
}
return tmp2.decode(buffer);
}
2026-07-20 16:05:17 +00:00
}
2026-07-25 08:10:48 +00:00
const mapped = buffer.map((arg0) => String.fromCharCode(arg0));
const joined = mapped.join("");
decodeURIComponent(escape(joined));
},
TAG_HEADER_SIZE: 5
2026-07-20 16:05:17 +00:00
};