decord/source/__polyfill/04xxx/module_4379.js
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

33 lines
889 B
JavaScript

// Module ID: 4379
// Function ID: 4380
// Dependencies: [32, 4363, 4376]
// Exports: useRiveBoolean
// Module 4379
import c from "c" /* 4363 */;
import _mod4376 from "module_4376" /* 4376 */;
import _slicedToArray from "module_32" /* 32 */;
require = arg1;
function getBooleanProperty(booleanProperty, arg1) {
return booleanProperty.booleanProperty(arg1);
}
export const useRiveBoolean = function useRiveBoolean(reducedMotion, instance) {
const cResult = c.c(4);
[tmp3, tmp4, tmp5] = _mod4376.useRiveProperty(instance, reducedMotion, getBooleanProperty);
if (cResult[0] === tmp5) {
if (cResult[1] === tmp4) {
if (cResult[2] === tmp3) {
let tmp6 = cResult[3];
}
return tmp6;
}
}
const obj3 = { value: tmp3, setValue: tmp4, error: tmp5 };
cResult[0] = tmp5;
cResult[1] = tmp4;
cResult[2] = tmp3;
cResult[3] = obj3;
tmp6 = obj3;
};