2026-07-20 16:05:17 +00:00
// Module ID: 1183
2026-07-21 22:01:30 +00:00
// Function ID: 13475
2026-07-20 16:05:17 +00:00
// Name: warn
2026-07-21 22:01:30 +00:00
// Dependencies: []
2026-07-20 16:05:17 +00:00
// Module 1183 (warn)
2026-07-21 22:01:30 +00:00
let closure _0 = importAll ( dependencyMap [ 0 ] ) ;
( { UIManager : closure _1 , View : closure _2 } = arg1 ( dependencyMap [ 1 ] ) ) ;
2026-07-20 16:05:17 +00:00
function warn ( arg0 ) {
let closure _0 = arg0 ;
const timerId = setTimeout ( ( ) => {
console . warn ( "[SentrySessionReplay] " + arg0 + " component is not supported on the current platform. If " + arg0 + " should be supported, please ensure that the application build is up to date." ) ;
} , 0 ) ;
}
class MaskFallback {
constructor ( arg0 ) {
tmp = warn ( "Mask" ) ;
return importAll . createElement ( View , Object . assign ( { } , global ) ) ;
}
}
class UnmaskFallback {
constructor ( arg0 ) {
tmp = warn ( "Unmask" ) ;
return importAll . createElement ( View , Object . assign ( { } , global ) ) ;
}
}
function hasViewManagerConfig ( RNSentryReplayMask ) {
const hasViewManagerConfig = hasViewManagerConfig . hasViewManagerConfig ;
let callResult ;
if ( null !== hasViewManagerConfig ) {
if ( undefined !== hasViewManagerConfig ) {
callResult = hasViewManagerConfig . call ( hasViewManagerConfig , RNSentryReplayMask ) ;
}
}
return callResult ;
}
2026-07-21 22:01:30 +00:00
const tmp2 = arg1 ( dependencyMap [ 1 ] ) ;
if ( ! obj . isExpoGo ( ) ) {
2026-07-20 16:05:17 +00:00
if ( hasViewManagerConfig ( "RNSentryReplayMask" ) ) {
2026-07-21 22:01:30 +00:00
let value = arg1 ( dependencyMap [ 4 ] ) . get ( "RNSentryReplayMask" , ( ) => ( { uiViewClassName : "RNSentryReplayMask" } ) ) ;
const obj2 = arg1 ( dependencyMap [ 4 ] ) ;
2026-07-20 16:05:17 +00:00
}
if ( ! obj3 . isExpoGo ( ) ) {
if ( hasViewManagerConfig ( "RNSentryReplayUnmask" ) ) {
2026-07-21 22:01:30 +00:00
value = arg1 ( dependencyMap [ 4 ] ) . get ( "RNSentryReplayUnmask" , ( ) => ( { uiViewClassName : "RNSentryReplayUnmask" } ) ) ;
const obj4 = arg1 ( dependencyMap [ 4 ] ) ;
2026-07-20 16:05:17 +00:00
}
exports . Mask = value ;
exports . Unmask = value ;
exports . MaskFallback = MaskFallback ;
exports . UnmaskFallback = UnmaskFallback ;
}
2026-07-21 22:01:30 +00:00
const debug2 = arg1 ( dependencyMap [ 3 ] ) . debug ;
2026-07-20 16:05:17 +00:00
const _HermesInternal = HermesInternal ;
debug2 . warn ( "[SentrySessionReplay] Can't load " + "RNSentryReplayUnmask" + "." ) ;
value = UnmaskFallback ;
2026-07-21 22:01:30 +00:00
const obj3 = arg1 ( dependencyMap [ 2 ] ) ;
2026-07-20 16:05:17 +00:00
}
2026-07-21 22:01:30 +00:00
const debug = arg1 ( dependencyMap [ 3 ] ) . debug ;
2026-07-20 16:05:17 +00:00
debug . warn ( "[SentrySessionReplay] Can't load " + "RNSentryReplayMask" + "." ) ;
value = MaskFallback ;