Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
54 lines
2.6 KiB
TypeScript
54 lines
2.6 KiB
TypeScript
// Module ID: 12578
|
|
// Function ID: 12579
|
|
// Name: useAutocompleteAnimatedHeightStyles
|
|
// Dependencies: [558, 4658, 4529, 4791, 4794, 2]
|
|
|
|
// Module 12578 (useAutocompleteAnimatedHeightStyles)
|
|
import timing from "timing" /* 4791 */;
|
|
import timingPresets from "timingPresets" /* 4794 */;
|
|
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
const __initData = { code: "function useAutocompleteAnimatedHeightStylesTsx1(){const{withTiming,height,timingStandard,isFrozenSharedValue}=this.__closure;return{height:withTiming(height,timingStandard),display:!isFrozenSharedValue.get()?\"flex\":\"none\"};}" };
|
|
const __initData2 = { code: "function useAutocompleteAnimatedHeightStylesTsx2(){const{withTiming,height,timingStandard,isFrozenSharedValue}=this.__closure;return{height:withTiming(height,timingStandard),display:!isFrozenSharedValue.get()?'flex':'none'};}" };
|
|
const result = size.fileFinishedImporting("modules/autocompleter/native/useAutocompleteAnimatedHeightStyles.tsx");
|
|
|
|
export default ReactCompilerGating.isReactCompilerEnabled() ? ((height, arg1) => {
|
|
_require = height;
|
|
isScreenIndexFrozenSharedValue = require("ScreenIndexFrozen").useIsScreenIndexFrozenSharedValue(arg1);
|
|
let obj = require("ScreenIndexFrozen");
|
|
const fn = function s() {
|
|
const obj = { height: timing.withTiming(closure_0, timingPresets.timingStandard), display: null };
|
|
let str = "flex";
|
|
if (isScreenIndexFrozenSharedValue.get()) {
|
|
str = "none";
|
|
}
|
|
obj.display = str;
|
|
return obj;
|
|
};
|
|
const obj2 = require("ReanimatedRexport");
|
|
fn.__closure = { withTiming: require("timing").withTiming, height, timingStandard: require("timingPresets").timingStandard, isFrozenSharedValue: isScreenIndexFrozenSharedValue };
|
|
fn.__workletHash = 13204746043694;
|
|
fn.__initData = __initData;
|
|
return obj2.useAnimatedStyle(fn);
|
|
}) : ((height, arg1) => {
|
|
_require = height;
|
|
isScreenIndexFrozenSharedValue = require("ScreenIndexFrozen").useIsScreenIndexFrozenSharedValue(arg1);
|
|
let obj = require("ScreenIndexFrozen");
|
|
const fn = function s() {
|
|
const obj = { height: timing.withTiming(closure_0, timingPresets.timingStandard), display: null };
|
|
let str = "flex";
|
|
if (isScreenIndexFrozenSharedValue.get()) {
|
|
str = "none";
|
|
}
|
|
obj.display = str;
|
|
return obj;
|
|
};
|
|
const obj2 = require("ReanimatedRexport");
|
|
fn.__closure = { withTiming: require("timing").withTiming, height, timingStandard: require("timingPresets").timingStandard, isFrozenSharedValue: isScreenIndexFrozenSharedValue };
|
|
fn.__workletHash = 15515033758605;
|
|
fn.__initData = __initData2;
|
|
return obj2.useAnimatedStyle(fn);
|
|
});
|