Files
discord-decomp/sources/modules/video_calls/native/useDraggablePip.tsx
T
2026-07-27 16:20:00 +03:00

447 lines
24 KiB
TypeScript

/* Metro module 7738; source: modules/video_calls/native/useDraggablePip.tsx; dependencies: [57, 7715, 7722, 4017, 4504, 1305, 7739, 5321, 4577, 2] */
function _fun61935(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61935, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:6, offset: 0x01b4ef5b, size: 453 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(57) /* metro dependency 57 */;
const env0_3 = (require(7715) /* metro dependency 7715: ChannelCallStore */).useChannelCallStore;
const constantsModule = require(7722) /* metro dependency 7722: Constants */;
const env0_4 = constantsModule.PIP_FOCUS_SCALE;
const env0_5 = constantsModule.PIP_GESTURE_ACTIVE_OFFSET;
const env0_6 = {'mass': 1, 'stiffness': 250, 'overshootClamping': true, 'restSpeedThreshold': 0.001,
'restDisplacementThreshold': 0.001, 'damping': 20};
object = {code: 'function useDraggablePipTsx1(){const{withTiming,pipFocus,PIP_FOCUS_SCALE,STANDARD_EASING}=this.__closure;return withTiming(pipFocus?PIP_FOCUS_SCALE:1,{easing:STANDARD_EASING,duration:250});}'};
object = {code: 'function useDraggablePipTsx2(){const{width}=this.__closure;return width;}'};
object = {code: 'function useDraggablePipTsx3(){const{height}=this.__closure;return height;}'};
object = {code: 'function useDraggablePipTsx4(){const{pipScale,width}=this.__closure;return pipScale.get()*width;}'};
object = {code: 'function useDraggablePipTsx5(){const{pipScale,height}=this.__closure;return pipScale.get()*height;}'};
object = {code: 'function useDraggablePipTsx6(){const{containerWidth}=this.__closure;return containerWidth;}'};
object = {code: 'function useDraggablePipTsx7(){const{containerHeight}=this.__closure;return containerHeight;}'};
object = {code: 'function useDraggablePipTsx8(){const{containerWidth,scaledWidthDv,xPosition}=this.__closure;return[containerWidth-scaledWidthDv.get(),xPosition.get()];}'};
object = {code: 'function useDraggablePipTsx9(result,previous){const{cheapWorkletArrayShallowEqual,clamp,xPosition,xDestination}=this.__closure;if(cheapWorkletArrayShallowEqual(result,previous!==null&&previous!==void 0?previous:undefined))return;const[containerWidthNew,xPositionNew]=result;const[containerWidthOld]=previous!==null&&previous!==void 0?previous:[0,0];if(previous!=null&&containerWidthNew!==containerWidthOld){const newX=clamp(xPositionNew*(containerWidthNew/containerWidthOld),0,containerWidthNew);xPosition.set(newX);xDestination.set(newX);}}'};
object = {code: 'function useDraggablePipTsx10(){const{containerHeight,scaledHeightDv,yPosition}=this.__closure;return[containerHeight-scaledHeightDv.get(),yPosition.get()];}'};
object = {code: 'function useDraggablePipTsx11(result,previous){const{cheapWorkletArrayShallowEqual,clamp,yPosition,yDestination}=this.__closure;if(cheapWorkletArrayShallowEqual(result,previous!==null&&previous!==void 0?previous:undefined))return;const[containerHeightNew,yPositionNew]=result;const[containerHeightOld]=previous!==null&&previous!==void 0?previous:[0,0];if(previous!=null&&containerHeightNew!==containerHeightOld){const newY=clamp(yPositionNew*(containerHeightNew/containerHeightOld),0,containerHeightNew);yPosition.set(newY);yDestination.set(newY);}}'};
object = {code: 'function useDraggablePipTsx12(event){const{xPosition,containerWidthDv,scaledWidthDv,clamp,yPosition,containerHeightDv,scaledHeightDv,snapToCorners,withSpring,spring,xDestination,yDestination}=this.__closure;const toss=0.0875;const xToss=xPosition.get()+toss*event.velocityX;const xMin=0;const xMax=containerWidthDv.get()-scaledWidthDv.get();const targetX=clamp(xToss,xMin,xMax);const yToss=yPosition.get()+toss*event.velocityY;const yMin=0;const yMax=containerHeightDv.get()-scaledHeightDv.get();const targetY=clamp(yToss,yMin,yMax);const top=targetY;const bottom=containerHeightDv.get()-scaledHeightDv.get()-targetY;const left=targetX;const right=containerWidthDv.get()-scaledWidthDv.get()-targetX;const minDistance=Math.min(top,bottom,left,right);let snapX=targetX;let snapY=targetY;switch(minDistance){case top:snapY=yMin;if(snapToCorners){snapX=left<right?xMin:xMax;}break;case bottom:snapY=yMax;if(snapToCorners){snapX=left<right?xMin:xMax;}break;case left:snapX=xMin;if(snapToCorners){snapY=top<bottom?yMin:yMax;}break;case right:snapX=xMax;if(snapToCorners){snapY=top<bottom?yMin:yMax;}break;}xPosition.set(withSpring(snapX,{...spring,velocity:event.velocityX}));xDestination.set(snapX);yPosition.set(withSpring(snapY,{...spring,velocity:event.velocityY}));yDestination.set(snapY);}'};
object = {code: 'function useDraggablePipTsx13(event){const{xPosition,xDestination,yPosition,yDestination,trackedVoiceControlsToggleMovedForGestureSv,onMoved,runOnJS}=this.__closure;xPosition.set(xDestination.get()+event.translationX);yPosition.set(yDestination.get()+event.translationY);if(!trackedVoiceControlsToggleMovedForGestureSv.get()){if(onMoved!=null){runOnJS(onMoved)();}trackedVoiceControlsToggleMovedForGestureSv.set(true);}}'};
object = {code: 'function useDraggablePipTsx14(){const{onPress,runOnJS}=this.__closure;if(onPress!=null){runOnJS(onPress)();}}'};
object = {code: 'function useDraggablePipTsx15(){const{xPosition,scaledWidthDv,widthDv,yPosition,scaledHeightDv,heightDv,pipScale}=this.__closure;return{transform:[{translateX:xPosition.get()+(scaledWidthDv.get()-widthDv.get())/2},{translateY:yPosition.get()+(scaledHeightDv.get()-heightDv.get())/2},{scale:pipScale.get()}]};}'};
object = {code: 'function clamp_useDraggablePipTsx16(value,min,max){return Math.min(Math.max(value,min),max);}'};
const env0_23 = _fun61936();
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/video_calls/native/useDraggablePip.tsx');
exports.useDraggablePip = useDraggablePip;
}
function _fun61936() { // fn#61936, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:4843, offset: 0x01b4f120, size: 46 bytes, params: 1, frame: 2
const closure = function(a0, a1, a2) {
var Math = global.Math;
var Math2 = global.Math;
return Math.min(Math2.max(a0, a1), a2);
};
closure.__closure = {};
closure.__workletHash = 1988116204206;
closure.__initData = env0_22;
return closure;
}
function useDraggablePip({width, height, containerWidth, containerHeight, onPress, onMoved, snapToCorners}) { // fn#61938, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:5100, offset: 0x01b4f14e, size: 1642 bytes, params: 2, frame: 39
const env0_6 = snapToCorners;
const value2 = useChannelCallStore(function(a0) {
return a0.pipFocus;
});
const env0_7 = value2;
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
let useDerivedValue = reanimatedRexportModule.useDerivedValue;
let closure = useDraggablePipX;
let object2 = {};
object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
object2.pipFocus = value2;
object2.PIP_FOCUS_SCALE = PIP_FOCUS_SCALE;
const STANDARD_EASING = (require(1305) /* metro dependency 1305: native */).STANDARD_EASING;
object2.STANDARD_EASING = STANDARD_EASING;
closure.__closure = object2;
closure.__workletHash = 7848271415351;
closure.__initData = env0_7;
const value3 = Reflect.apply(useDerivedValue, reanimatedRexportModule, [closure]);
const env0_8 = value3;
const moduleValue2 = reanimatedRexportModule;
useDerivedValue = moduleValue2.useDerivedValue;
closure = function() {
return width;
};
closure.__closure = {width: width};
closure.__workletHash = 14810909441301;
closure.__initData = env0_8;
const value4 = Reflect.apply(useDerivedValue, moduleValue2, [closure]);
const env0_9 = value4;
const moduleValue3 = reanimatedRexportModule;
useDerivedValue = moduleValue3.useDerivedValue;
closure = function() {
return height;
};
closure.__closure = {height: height};
closure.__workletHash = 15343935194036;
closure.__initData = env0_9;
const value5 = Reflect.apply(useDerivedValue, moduleValue3, [closure]);
const env0_10 = value5;
const moduleValue4 = reanimatedRexportModule;
useDerivedValue = moduleValue4.useDerivedValue;
closure = useDraggablePipV;
closure.__closure = {pipScale: value3, width: width};
closure.__workletHash = 3468337829868;
closure.__initData = env0_10;
const value6 = Reflect.apply(useDerivedValue, moduleValue4, [closure]);
const env0_11 = value6;
const moduleValue5 = reanimatedRexportModule;
useDerivedValue = moduleValue5.useDerivedValue;
closure = useDraggablePipF;
closure.__closure = {pipScale: value3, height: height};
closure.__workletHash = 7163944260205;
closure.__initData = env0_11;
const value7 = Reflect.apply(useDerivedValue, moduleValue5, [closure]);
const env0_12 = value7;
const moduleValue6 = reanimatedRexportModule;
useDerivedValue = moduleValue6.useDerivedValue;
closure = function() {
return containerWidth;
};
closure.__closure = {containerWidth: containerWidth};
closure.__workletHash = 13449836478609;
closure.__initData = env0_12;
const value8 = Reflect.apply(useDerivedValue, moduleValue6, [closure]);
const env0_13 = value8;
const moduleValue7 = reanimatedRexportModule;
useDerivedValue = moduleValue7.useDerivedValue;
closure = function() {
return containerHeight;
};
closure.__closure = {containerHeight: containerHeight};
closure.__workletHash = 4105281399152;
closure.__initData = env0_13;
const value9 = Reflect.apply(useDerivedValue, moduleValue7, [closure]);
const env0_14 = value9;
const moduleValue8 = reanimatedRexportModule;
let useSharedValue = moduleValue8.useSharedValue;
const value10 = Reflect.apply(useSharedValue, moduleValue8, [0]);
const env0_15 = value10;
const moduleValue9 = reanimatedRexportModule;
useSharedValue = moduleValue9.useSharedValue;
let get = value10.get;
const value11 = Reflect.apply(useSharedValue, moduleValue9, [Reflect.apply(get, value10, [])]);
const env0_16 = value11;
const value12 = reanimatedRexportModule.useSharedValue(0);
const env0_17 = value12;
const moduleValue11 = reanimatedRexportModule;
useSharedValue = moduleValue11.useSharedValue;
get = value12.get;
const value13 = Reflect.apply(useSharedValue, moduleValue11, [Reflect.apply(get, value12, [])]);
const env0_18 = value13;
const value14 = reanimatedRexportModule.useSharedValue(false);
const env0_19 = value14;
const moduleValue13 = reanimatedRexportModule;
let useAnimatedReaction = moduleValue13.useAnimatedReaction;
closure = useDraggablePipJ;
closure.__closure = {containerWidth: containerWidth, scaledWidthDv: value6, xPosition: value11};
closure.__workletHash = 2741340788440;
closure.__initData = env0_14;
const closure2 = useDraggablePipQ;
const cheapWorkletArrayShallowEqual = (require(7739) /* metro dependency 7739: cheapWorkletShallowEqual */).cheapWorkletArrayShallowEqual;
const binding = env0_23;
closure2.__closure = {cheapWorkletArrayShallowEqual: cheapWorkletArrayShallowEqual, clamp: binding,
xPosition: value11, xDestination: value10};
closure2.__workletHash = 15748808822770;
closure2.__initData = env0_15;
Reflect.apply(useAnimatedReaction, moduleValue13, [closure, closure2]);
const moduleValue14 = reanimatedRexportModule;
useAnimatedReaction = moduleValue14.useAnimatedReaction;
closure = useDraggablePipU;
closure.__closure = {containerHeight: containerHeight, scaledHeightDv: value7, yPosition: value13};
closure.__workletHash = 11475249153313;
closure.__initData = env0_16;
const closure3 = useDraggablePipR;
closure3.__closure = {cheapWorkletArrayShallowEqual: cheapWorkletArrayShallowEqual, clamp: binding,
yPosition: value13, yDestination: value12};
closure3.__workletHash = 7685377389843;
closure3.__initData = env0_17;
Reflect.apply(useAnimatedReaction, moduleValue14, [closure, closure3]);
const Gesture = (require(5321) /* metro dependency 5321 */).Gesture;
const value15 = Gesture.Pan();
const value17 = value15.activeOffsetX([-PIP_GESTURE_ACTIVE_OFFSET, PIP_GESTURE_ACTIVE_OFFSET]);
const value19 = value17.activeOffsetY([-PIP_GESTURE_ACTIVE_OFFSET, PIP_GESTURE_ACTIVE_OFFSET]);
const onUpdate = value19.onUpdate;
closure = useDraggablePipAe;
object2 = {xPosition: value11, xDestination: value10, yPosition: value13, yDestination: value12,
trackedVoiceControlsToggleMovedForGestureSv: value14, onMoved: onMoved};
const runOnJS = reanimatedRexportModule.runOnJS;
object2.runOnJS = runOnJS;
closure.__closure = object2;
closure.__workletHash = 14964390506971;
closure.__initData = env0_19;
const value20 = Reflect.apply(onUpdate, value19, [closure]);
const onEnd = value20.onEnd;
closure = useDraggablePipSe;
object2 = {xPosition: value11, containerWidthDv: value8, scaledWidthDv: value6, clamp: binding, yPosition: value13,
containerHeightDv: value9, scaledHeightDv: value7, snapToCorners: snapToCorners};
object2.withSpring = (require(4577) /* metro dependency 4577: spring */).withSpring;
object2.spring = env0_6;
object2.xDestination = value10;
object2.yDestination = value12;
closure.__closure = object2;
closure.__workletHash = 690760681755;
closure.__initData = env0_18;
const value21 = Reflect.apply(onEnd, value20, [closure]);
const value22 = Gesture.Tap();
const onStart = value22.onStart;
closure = useDraggablePipRe;
closure.__closure = {onPress: onPress, runOnJS: runOnJS};
closure.__workletHash = 4692146362189;
closure.__initData = env0_20;
const value23 = Reflect.apply(onStart, value22, [closure]);
object2 = {};
object2.gesture = Gesture.Race(value21, value23);
const moduleValue15 = reanimatedRexportModule;
const useAnimatedStyle = moduleValue15.useAnimatedStyle;
closure = useDraggablePipLe;
closure.__closure = {xPosition: value11, scaledWidthDv: value6, widthDv: value4, yPosition: value13,
scaledHeightDv: value7, heightDv: value5, pipScale: value3};
closure.__workletHash = 12534173786665;
closure.__initData = env0_21;
object2.draggableGridItemStyles = Reflect.apply(useAnimatedStyle, moduleValue15, [closure]);
return object2;
}
function useDraggablePipX() { // fn#61940, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:5293, owner: useDraggablePip.X, offset: 0x01b4f7c3, size: 95 bytes, params: 1, frame: 17
const timingModule = require(4504) /* metro dependency 4504: timing */;
const withTiming = timingModule.withTiming;
const PIP_FOCUS_SCALE2 = env0_7 ? PIP_FOCUS_SCALE : 1;
const STANDARD_EASING = (require(1305) /* metro dependency 1305: native */).STANDARD_EASING;
return Reflect.apply(withTiming, timingModule, [PIP_FOCUS_SCALE2, {easing: STANDARD_EASING, duration: 250}]);
}
function useDraggablePipV() { // fn#61943, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:5788, owner: useDraggablePip.V, offset: 0x01b4f822, size: 26 bytes, params: 1, frame: 10
return env0_8.get() * width;
}
function useDraggablePipF() { // fn#61944, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:5913, owner: useDraggablePip.F, offset: 0x01b4f83c, size: 26 bytes, params: 1, frame: 10
return env0_8.get() * height;
}
function useDraggablePipJ() { // fn#61947, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:6432, owner: useDraggablePip.J, offset: 0x01b4f856, size: 51 bytes, params: 1, frame: 11
const containerWidthBinding = containerWidth;
let binding = env0_11;
let get = binding.get;
const items2 = [containerWidthBinding - Reflect.apply(get, binding, [])];
binding = env0_16;
get = binding.get;
items2[1] = Reflect.apply(get, binding, []);
return items2;
}
function useDraggablePipQ(a0, a1) { // fn#61948, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:6582, owner: useDraggablePip.q, offset: 0x01b4f889, size: 173 bytes, params: 3, frame: 21
var binding;
var value4;
var property;
var property2;
var property3;
let value = a1;
const value3 = undefined;
const cheapWorkletShallowEqualModule = require(7739) /* metro dependency 7739: cheapWorkletShallowEqual */;
if (!cheapWorkletShallowEqualModule.cheapWorkletArrayShallowEqual(a0, value ?? value3)) {
binding = env1_2;
value4 = binding(a0, 2);
property = value4[0];
property2 = value4[1];
property3 = binding(value ?? [0, 0], 1)[0];
if (value != null) {
if (property !== property3) {
binding = env1_23;
value = binding(property2 * (property / property3), 0, property);
binding = env0_16;
binding.set(value);
binding = env0_15;
binding.set(value);
}
}
}
return value3;
}
function useDraggablePipU() { // fn#61949, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:6974, owner: useDraggablePip.U, offset: 0x01b4f936, size: 51 bytes, params: 1, frame: 11
const containerHeightBinding = containerHeight;
let binding = env0_12;
let get = binding.get;
const items2 = [containerHeightBinding - Reflect.apply(get, binding, [])];
binding = env0_18;
get = binding.get;
items2[1] = Reflect.apply(get, binding, []);
return items2;
}
function useDraggablePipR(a0, a1) { // fn#61950, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:7126, owner: useDraggablePip.R, offset: 0x01b4f969, size: 173 bytes, params: 3, frame: 21
var binding;
var value4;
var property;
var property2;
var property3;
let value = a1;
const value3 = undefined;
const cheapWorkletShallowEqualModule = require(7739) /* metro dependency 7739: cheapWorkletShallowEqual */;
if (!cheapWorkletShallowEqualModule.cheapWorkletArrayShallowEqual(a0, value ?? value3)) {
binding = env1_2;
value4 = binding(a0, 2);
property = value4[0];
property2 = value4[1];
property3 = binding(value ?? [0, 0], 1)[0];
if (value != null) {
if (property !== property3) {
binding = env1_23;
value = binding(property2 * (property / property3), 0, property);
binding = env0_18;
binding.set(value);
binding = env0_17;
binding.set(value);
}
}
}
return value3;
}
function useDraggablePipAe({translationX, translationY}) { // fn#61951, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:7584, owner: useDraggablePip.ae, offset: 0x01b4fa16, size: 169 bytes, params: 2, frame: 14
var value4;
var moduleValue;
let binding = env0_16;
const set = binding.set;
const binding2 = env0_15;
let get = binding2.get;
Reflect.apply(set, binding, [Reflect.apply(get, binding2, []) + translationX]);
binding = env0_18;
binding.set(env0_17.get() + translationY);
binding = env0_19;
get = binding.get;
if (!Reflect.apply(get, binding, [])) {
if (onMoved != null) {
value4 = environment.__proto__;
moduleValue = require(4017) /* metro dependency 4017: ReanimatedRexport */;
moduleValue.runOnJS(onMoved)();
}
env0_19.set(true);
}
}
function useDraggablePipSe(a0) { // fn#61952, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:7931, owner: useDraggablePip.se, offset: 0x01b4fabf, size: 553 bytes, params: 2, frame: 27
var r10;
var r4;
var r3;
var r11;
let binding = env0_16;
let get = binding.get;
const value3 = Reflect.apply(get, binding, []) + 0.0875 * a0.velocityX;
binding = env0_13;
const value4 = binding.get();
const binding2 = env0_11;
get = binding2.get;
const value5 = value4 - Reflect.apply(get, binding2, []);
const binding3 = env1_23;
const value7 = 0;
const value8 = binding3(value3, value7, value5);
const value10 = env0_18.get() + 0.0875 * a0.velocityY;
const binding5 = env0_14;
const value11 = binding5.get();
const binding6 = env0_12;
get = binding6.get;
const value12 = value11 - Reflect.apply(get, binding6, []);
const value13 = binding3(value10, value7, value12);
const value14 = binding5.get();
get = binding6.get;
const value15 = value14 - Reflect.apply(get, binding6, []) - value13;
const value16 = binding.get();
get = binding2.get;
const value17 = value16 - Reflect.apply(get, binding2, []) - value8;
const Math = global.Math;
const value18 = Math.min(value13, value15, value8, value17);
if (value13 === value18) {
if (snapToCorners) {
r4 = value8 < value17 ? value7 : value5;
r3 = value7;
r11 = r4;
} else {
r3 = value7;
r11 = value8;
}
} else if (value15 === value18) {
if (snapToCorners) {
r10 = value8 < value17 ? value7 : value5;
r3 = value12;
r11 = r10;
} else {
r3 = value12;
r11 = value8;
}
} else if (value8 === value18) {
if (snapToCorners) {
r3 = value13 < value15 ? value7 : value12;
r11 = value7;
} else {
r3 = value13;
r11 = value7;
}
} else if (value17 !== value18) {
r3 = value13;
r11 = value8;
} else if (snapToCorners) {
r3 = value13 < value15 ? value7 : value12;
r11 = value5;
} else {
r3 = value13;
r11 = value5;
}
binding = env0_16;
let set = binding.set;
const springModule = require(4577) /* metro dependency 4577: spring */;
let withSpring = springModule.withSpring;
let object2 = {};
const binding7 = env1_6;
copyDataProperties(object2, binding7, value8);
object2['velocity'] = a0.velocityX;
Reflect.apply(set, binding, [Reflect.apply(withSpring, springModule, [r11, object2])]);
env0_15.set(r11);
binding = env0_18;
set = binding.set;
const moduleValue2 = springModule;
withSpring = moduleValue2.withSpring;
object2 = {};
copyDataProperties(object2, binding7, value8);
object2['velocity'] = a0.velocityY;
Reflect.apply(set, binding, [Reflect.apply(withSpring, moduleValue2, [r3, object2])]);
env0_17.set(r3);
}
function useDraggablePipRe() { // fn#61953, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:8699, owner: useDraggablePip.re, offset: 0x01b4fce8, size: 60 bytes, params: 1, frame: 12
var value2;
var moduleValue;
if (onPress != null) {
value2 = environment.__proto__;
moduleValue = require(4017) /* metro dependency 4017: ReanimatedRexport */;
moduleValue.runOnJS(onPress)();
}
}
function useDraggablePipLe() { // fn#61954, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7916:8937, owner: useDraggablePip.le, offset: 0x01b4fd24, size: 166 bytes, params: 1, frame: 16
let binding = env0_16;
let get = binding.get;
const value2 = Reflect.apply(get, binding, []);
const value3 = env0_11.get();
binding = env0_9;
get = binding.get;
const items2 = [{translateX: value2 + (value3 - Reflect.apply(get, binding, [])) / 2}];
const value5 = env0_18.get();
const value6 = env0_12.get();
binding = env0_10;
get = binding.get;
items2[1] = {translateY: value5 + (value6 - Reflect.apply(get, binding, [])) / 2};
const object = {};
object.scale = env0_8.get();
items2[2] = object;
return {transform: items2};
}