decord/source/__polyfill/04xxx/module_4764.js
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

34 lines
675 B
JavaScript

// Module ID: 4764
// Function ID: 4765
// Dependencies: [552, 4765]
// Module 4764
import _mod552 from "module_552" /* 552 */;
import baseClamp from "baseClamp" /* 4765 */;
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);
};