decord/source/4155_getStringProperty.js
2026-08-25 06:04:03 +00:00

36 lines
973 B
JavaScript

// Module ID: 4155
// Function ID: 4156
// Name: getStringProperty
// Dependencies: [32, 4140, 4153]
// Exports: useRiveString
// Module 4155 (getStringProperty)
import c from "c" /* 4140 */;
import useRiveProperty from "useRiveProperty" /* 4153 */;
import closure_2 from "_slicedToArray" /* 32 */;
require = arg1;
function getStringProperty(stringProperty) {
return stringProperty.stringProperty(arg1);
}
export const useRiveString = function useRiveString(LVL, instance) {
let obj = c;
const cResult = obj.c(4);
const obj2 = useRiveProperty;
[tmp3, tmp4, tmp5] = callback(useRiveProperty.useRiveProperty(instance, LVL, getStringProperty), 3);
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;
};