Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
34 lines
675 B
JavaScript
34 lines
675 B
JavaScript
// Module ID: 4762
|
|
// Function ID: 4763
|
|
// Dependencies: [552, 4763]
|
|
|
|
// Module 4762
|
|
import _mod552 from "module_552" /* 552 */;
|
|
import baseClamp from "baseClamp" /* 4763 */;
|
|
|
|
|
|
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);
|
|
};
|