decord/source/3896_getStringProperty.js

38 lines
984 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 3896
2026-07-24 07:16:23 +00:00
// Function ID: 32244
2026-07-20 16:05:17 +00:00
// Name: getStringProperty
2026-07-23 10:11:24 +00:00
// Dependencies: [57, 3881, 3894]
2026-07-20 16:05:17 +00:00
// Exports: useRiveString
2026-07-23 10:11:24 +00:00
// Module 3896 (getStringProperty)
import _slicedToArray from "_slicedToArray";
const require = arg1;
2026-07-20 16:05:17 +00:00
function getStringProperty(stringProperty) {
return stringProperty.stringProperty(arg1);
}
export const useRiveString = function useRiveString(LVL, instance) {
let tmp3;
let tmp4;
let tmp5;
2026-07-23 10:11:24 +00:00
let obj = require(3881) /* c */;
2026-07-20 16:05:17 +00:00
const cResult = obj.c(4);
2026-07-23 10:11:24 +00:00
const obj2 = require(3894) /* useRiveProperty */;
[tmp3, tmp4, tmp5] = callback(require(3894) /* useRiveProperty */.useRiveProperty(instance, LVL, getStringProperty), 3);
2026-07-20 16:05:17 +00:00
if (cResult[0] === tmp5) {
if (cResult[1] === tmp4) {
if (cResult[2] === tmp3) {
let tmp6 = cResult[3];
}
return tmp6;
}
}
obj = { value: tmp3, setValue: tmp4, error: tmp5 };
cResult[0] = tmp5;
cResult[1] = tmp4;
cResult[2] = tmp3;
cResult[3] = obj;
tmp6 = obj;
};