decord/source/__polyfill/04xxx/module_4760.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

34 lines
675 B
JavaScript

// Module ID: 4760
// Function ID: 4761
// Dependencies: [552, 4761]
// Module 4760
import _mod552 from "module_552" /* 552 */;
import baseClamp from "baseClamp" /* 4761 */;
export default function clamp(arg0, arg1, arg2) {
let tmp = arg2;
if (undefined === arg2) {
tmp = arg1;
}
let tmp3 = tmp;
if (undefined !== tmp) {
const tmp6 = _mod552(tmp);
let num = 0;
if (tmp6 == tmp6) {
num = tmp6;
}
tmp3 = num;
}
let tmp7 = tmp2;
if (undefined !== arg1) {
const tmp10 = _mod552(tmp2);
let num2 = 0;
if (tmp10 == tmp10) {
num2 = tmp10;
}
tmp7 = num2;
}
return baseClamp(_mod552(arg0), tmp7, tmp3);
};