Files
2026-07-28 01:06:53 +03:00

42 lines
3.0 KiB
TypeScript

/* Metro module 8543; source: design/components/Coachmark/native/useCoachmark.native.tsx; dependencies: [31, 33, 491, 8544, 6519, 8551, 2] */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as LayerContextNativeModule from '../../Layers/native/LayerContext.native.tsx'; /* Metro dependency 6519 */
import * as UseTooltipNativeModule from '../../Tooltip/native/useTooltip.native.tsx'; /* Metro dependency 8544 */
import * as AnimatedCoachmarkNativeModule from './AnimatedCoachmark.native.tsx'; /* Metro dependency 8551 */
function _fun67725(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67725, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:6, offset: 0x01c2e809, size: 135 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('design/components/Coachmark/native/useCoachmark.native.tsx');
exports.useCoachmark = useCoachmark;
function useCoachmark(a0, a1) { // fn#67726, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:227, offset: 0x01c2e890, size: 96 bytes, params: 3, frame: 17
var value;
value = ReactModule.useRef(Reflect.apply((require(491) /* metro dependency 491 */).v4, value, []));
return (UseTooltipNativeModule).useTooltipHelper(value, a0,
useAddCoachmark(a1));
function useAddCoachmark(a0) { // fn#67727, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:285, owner: useCoachmark.useAddCoachmark, offset: 0x01c2e8f0, size: 91 bytes, params: 2, frame: 16
var environment;
const env0_0 = a0;
const value = environment.__proto__;
const binding = env1_2;
const useContext = binding.useContext;
const LayerContext = (LayerContextNativeModule).LayerContext;
return binding.useCallback(_fun67728, [Reflect.apply(useContext, binding, [LayerContext]), a0]);
function _fun67728(a0, a1, a2) { // fn#67728, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8728:376, offset: 0x01c2e94b, size: 101 bytes, params: 4, frame: 16
const AnimatedCoachmark = (AnimatedCoachmarkNativeModule).AnimatedCoachmark;
env0_1.add(a0,
<AnimatedCoachmark {...env0_0} {...{['targetMeasurements']: a1}} {...{['surfaceMeasurements']: a2}} />);
}
}
}
}
global.__d(_fun67725, 8543, [31, 33, 491, 8544, 6519, 8551,
2]) /* metro module 8543, dependencies: [31, 33, 491, 8544, 6519, 8551, 2] */;