decord/source/1004_encodeUTF8.js

20 lines
599 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 1004
// Function ID: 1005
// Name: encodeUTF8
// Dependencies: [1005, 1006]
// Module 1004 (encodeUTF8)
2026-08-24 06:08:38 +00:00
import getSentryCarrier from "getSentryCarrier" /* 1005 */;
import globalEncodeFactory from "globalEncodeFactory" /* 1006 */;
require = arg1;
2026-07-29 08:29:29 +00:00
const dependencyMap = arg6;
arg5.encodeUTF8 = function encodeUTF8(json) {
2026-08-24 06:08:38 +00:00
const sentryCarrier = getSentryCarrier.getSentryCarrier();
2026-07-29 08:29:29 +00:00
if (!sentryCarrier.encodePolyfill) {
2026-08-24 06:08:38 +00:00
const encodePolyfill = globalEncodeFactory.useEncodePolyfill();
const tmpResult = globalEncodeFactory;
2026-07-29 08:29:29 +00:00
}
return sentryCarrier.encodePolyfill(json);
};