2026-07-20 16:05:17 +00:00
// Module ID: 1183
// Function ID: 13471
// Name: warn
2026-07-21 06:55:02 +00:00
// Dependencies: [0, 0, 0, 0, 0]
2026-07-20 16:05:17 +00:00
// Module 1183 (warn)
2026-07-21 06:55:02 +00:00
import closure _0 from "__exportStarResult1" ;
import _ _exportStarResult1 from "__exportStarResult1" ;
import _ _exportStarResult1 from "__exportStarResult1" ;
import { debug } from "__exportStarResult1" ;
( { UIManager : closure _1 , View : closure _2 } = _ _exportStarResult1 ) ;
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 06:55:02 +00:00
if ( ! _ _exportStarResult1 . isExpoGo ( ) ) {
2026-07-20 16:05:17 +00:00
if ( hasViewManagerConfig ( "RNSentryReplayMask" ) ) {
2026-07-21 06:55:02 +00:00
let value = require ( "__exportStarResult1" ) . get ( "RNSentryReplayMask" , ( ) => ( { uiViewClassName : "RNSentryReplayMask" } ) ) ;
const obj2 = require ( "__exportStarResult1" ) ;
2026-07-20 16:05:17 +00:00
}
if ( ! obj3 . isExpoGo ( ) ) {
if ( hasViewManagerConfig ( "RNSentryReplayUnmask" ) ) {
2026-07-21 06:55:02 +00:00
value = require ( "__exportStarResult1" ) . get ( "RNSentryReplayUnmask" , ( ) => ( { uiViewClassName : "RNSentryReplayUnmask" } ) ) ;
const obj4 = require ( "__exportStarResult1" ) ;
2026-07-20 16:05:17 +00:00
}
exports . Mask = value ;
exports . Unmask = value ;
exports . MaskFallback = MaskFallback ;
exports . UnmaskFallback = UnmaskFallback ;
}
2026-07-21 06:55:02 +00:00
const debug2 = require ( "__exportStarResult1" ) . debug ;
2026-07-20 16:05:17 +00:00
const _HermesInternal = HermesInternal ;
debug2 . warn ( "[SentrySessionReplay] Can't load " + "RNSentryReplayUnmask" + "." ) ;
value = UnmaskFallback ;
2026-07-21 06:55:02 +00:00
const obj3 = require ( "__exportStarResult1" ) ;
2026-07-20 16:05:17 +00:00
}
debug . warn ( "[SentrySessionReplay] Can't load " + "RNSentryReplayMask" + "." ) ;
value = MaskFallback ;