Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,51 @@
|
||||
/* Metro module 15396; source: modules/frames/panel/native/FramePanelPIPView.tsx; dependencies: [31, 8065, 8066, 15371, 33, 566, 15370, 15394, 15397, 2] */
|
||||
function _fun117684(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#117684, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15593:6, offset: 0x024bdbcb, size: 212 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const framesStore = importDefault(8065) /* metro dependency 8065: FramesStore */;
|
||||
const env0_5 = (require(8066) /* metro dependency 8066: FramesConstants */).FrameLayoutModes;
|
||||
const env0_6 = (require(15371) /* metro dependency 15371: ActivityPanelNativeConstants */).DEFAULT_PORTRAIT_LETTERBOX_CONFIG;
|
||||
const env0_7 = (require(33) /* metro dependency 33 */).jsx;
|
||||
value = value.memo(_fun117685);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/frames/panel/native/FramePanelPIPView.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _fun117685({transitionState, transitionCleanUp}) { // fn#117685, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15593:211, offset: 0x024bdc9f, size: 247 bytes, params: 2, frame: 21
|
||||
let value = undefined;
|
||||
const connectedFrame = (require(566) /* metro dependency 566: flux */).useStateFromStores([FramesStore],
|
||||
function() {
|
||||
return FramesStore.getConnectedFrame();
|
||||
});
|
||||
const env0_3 = connectedFrame == null ? value : connectedFrame.applicationId;
|
||||
const value3 = (require(566) /* metro dependency 566: flux */).useStateFromStores([FramesStore], _fun117687);
|
||||
value = require(15370) /* metro dependency 15370: ActivityPanelPIPView */;
|
||||
const useBaseActivityPanelPIPView = value.useBaseActivityPanelPIPView;
|
||||
return env0_3.useMemo(_fun117688, [connectedFrame, Reflect.apply(useBaseActivityPanelPIPView, value,
|
||||
[]).landscapeSafeAreasConfig, value3, transitionCleanUp, transitionState]);
|
||||
}
|
||||
|
||||
function _fun117687() { // fn#117687, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15593:394, offset: 0x024bdda9, size: 42 bytes, params: 1, frame: 12
|
||||
return applicationId == null ? undefined : FramesStore.getPipOrientationLockStateForApp(applicationId);
|
||||
}
|
||||
|
||||
function _fun117688() { // fn#117688, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15593:536, offset: 0x024bddd3, size: 167 bytes, params: 1, frame: 18
|
||||
const BaseActivityPanelPIPView = (require(15370) /* metro dependency 15370: ActivityPanelPIPView */).BaseActivityPanelPIPView;
|
||||
const baseActivityPanelPIPViewProps2 = {transitionState: transitionState, transitionCleanUp: transitionCleanUp,
|
||||
pipOrientationLockState: env0_4, hasActivity: connectedFrame != null,
|
||||
context: importDefault(15394) /* metro dependency 15394: FramePanelStateContext */};
|
||||
const FrameView = importDefault(15397) /* metro dependency 15397: FrameView */;
|
||||
const PIP = FrameLayoutModes.PIP;
|
||||
return (
|
||||
<BaseActivityPanelPIPView {...baseActivityPanelPIPViewProps2}>
|
||||
<FrameView
|
||||
layoutMode={PIP}
|
||||
portraitSafeAreasConfig={DEFAULT_PORTRAIT_LETTERBOX_CONFIG}
|
||||
landscapeSafeAreasConfig={landscapeSafeAreasConfig}
|
||||
/>
|
||||
</BaseActivityPanelPIPView>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user