2026-07-20 16:05:17 +00:00
// Module ID: 1173
2026-07-24 07:16:23 +00:00
// Function ID: 13347
2026-07-20 16:05:17 +00:00
// Name: _callSuper
2026-07-23 10:11:24 +00:00
// Dependencies: [15, 17, 18, 6, 7, 1174, 978, 794]
2026-07-20 16:05:17 +00:00
// Exports: hideFeedbackButton, hideScreenshotButton, resetFeedbackButtonManager, resetFeedbackWidgetManager, resetScreenshotButtonManager, showFeedbackButton, showFeedbackWidget, showScreenshotButton
// Module 1173 (_callSuper)
2026-07-23 10:11:24 +00:00
import _possibleConstructorReturn from "_possibleConstructorReturn" ;
import _getPrototypeOf from "_getPrototypeOf" ;
import _inherits from "_inherits" ;
import isHermesEnabled from "isHermesEnabled" ;
import registerSpanErrorInstrumentation from "registerSpanErrorInstrumentation" ;
const require = arg1 ;
2026-07-20 16:05:17 +00:00
function _callSuper ( arg0 , arg1 , arg2 ) {
let items = arg2 ;
const obj = callback ( arg1 ) ;
if ( _isNativeReflectConstruct ( ) ) {
if ( ! items ) {
items = [ ] ;
}
let constructResult = Reflect . construct ( obj , items , callback ( arg0 ) . constructor ) ;
} else {
constructResult = obj . apply ( arg0 , items ) ;
}
2026-07-23 10:11:24 +00:00
return _possibleConstructorReturn ( arg0 , constructResult ) ;
2026-07-20 16:05:17 +00:00
}
function _isNativeReflectConstruct ( ) {
let closure _0 = ! valueOf . call ( Reflect . construct ( Boolean , [ ] , ( ) => {
} ) ) ;
function _isNativeReflectConstruct ( ) {
return closure _0 ;
}
const result = _isNativeReflectConstruct ( ) ;
}
function NOOP _SET _VISIBILITY ( ) {
}
2026-07-23 10:11:24 +00:00
const tmp2 = ( ( ) => {
2026-07-20 16:05:17 +00:00
class FeedbackManager {
constructor ( ) {
2026-07-23 10:11:24 +00:00
tmp = outer1 _5 ( this , FeedbackManager ) ;
2026-07-20 16:05:17 +00:00
return ;
}
}
let obj = {
key : "_feedbackComponentName" ,
get ( ) {
const error = new Error ( "Subclasses must override feedbackComponentName" ) ;
throw error ;
}
} ;
const items = [ obj , , , , , ] ;
obj = {
key : "initialize" ,
value : function initialize ( _setVisibility ) {
this . _setVisibility = _setVisibility ;
}
} ;
items [ 1 ] = obj ;
obj = {
key : "reset" ,
value : function reset ( ) {
this . _isVisible = false ;
2026-07-23 10:11:24 +00:00
this . _setVisibility = outer1 _7 ;
2026-07-20 16:05:17 +00:00
}
} ;
items [ 2 ] = obj ;
items [ 3 ] = {
key : "show" ,
value : function show ( ) {
const self = this ;
2026-07-23 10:11:24 +00:00
if ( this . _setVisibility !== outer1 _7 ) {
2026-07-20 16:05:17 +00:00
self . _isVisible = true ;
self . _setVisibility ( true ) ;
} else {
const _console = console ;
const _HermesInternal = HermesInternal ;
console . warn ( "[Sentry] " + self . _feedbackComponentName + " requires 'Sentry.wrap(RootComponent)' to be called before 'show" + self . _feedbackComponentName + "()'." ) ;
}
}
} ;
items [ 4 ] = {
key : "hide" ,
value : function hide ( ) {
const self = this ;
2026-07-23 10:11:24 +00:00
if ( this . _setVisibility !== outer1 _7 ) {
2026-07-20 16:05:17 +00:00
self . _isVisible = false ;
self . _setVisibility ( false ) ;
} else {
const _console = console ;
const _HermesInternal = HermesInternal ;
console . warn ( "[Sentry] " + self . _feedbackComponentName + " requires 'Sentry.wrap(RootComponent)' before interacting with the widget." ) ;
}
}
} ;
items [ 5 ] = {
key : "isFormVisible" ,
value : function isFormVisible ( ) {
return this . _isVisible ;
}
} ;
return callback3 ( FeedbackManager , null , items ) ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
2026-07-20 16:05:17 +00:00
tmp2 . _isVisible = false ;
2026-07-23 10:11:24 +00:00
const tmp3 = ( ( arg0 ) => {
2026-07-20 16:05:17 +00:00
class FeedbackWidgetManager {
constructor ( ) {
2026-07-23 10:11:24 +00:00
tmp = outer1 _5 ( this , FeedbackWidgetManager ) ;
return outer1 _11 ( this , FeedbackWidgetManager , arguments ) ;
2026-07-20 16:05:17 +00:00
}
}
callback2 ( FeedbackWidgetManager , arg0 ) ;
const items = [
{
key : "_feedbackComponentName" ,
get ( ) {
return "FeedbackWidget" ;
}
}
] ;
return callback3 ( FeedbackWidgetManager , null , items ) ;
2026-07-23 10:11:24 +00:00
} ) ( tmp2 ) ;
let closure _8 = tmp3 ;
const tmp4 = ( ( arg0 ) => {
2026-07-20 16:05:17 +00:00
class FeedbackButtonManager {
constructor ( ) {
2026-07-23 10:11:24 +00:00
tmp = outer1 _5 ( this , FeedbackButtonManager ) ;
return outer1 _11 ( this , FeedbackButtonManager , arguments ) ;
2026-07-20 16:05:17 +00:00
}
}
callback2 ( FeedbackButtonManager , arg0 ) ;
const items = [
{
key : "_feedbackComponentName" ,
get ( ) {
return "FeedbackButton" ;
}
}
] ;
return callback3 ( FeedbackButtonManager , null , items ) ;
2026-07-23 10:11:24 +00:00
} ) ( tmp2 ) ;
let closure _9 = tmp4 ;
const tmp5 = ( ( arg0 ) => {
2026-07-20 16:05:17 +00:00
class ScreenshotButtonManager {
constructor ( ) {
2026-07-23 10:11:24 +00:00
tmp = outer1 _5 ( this , ScreenshotButtonManager ) ;
return outer1 _11 ( this , ScreenshotButtonManager , arguments ) ;
2026-07-20 16:05:17 +00:00
}
}
callback2 ( ScreenshotButtonManager , arg0 ) ;
const items = [
{
key : "_feedbackComponentName" ,
get ( ) {
return "ScreenshotButton" ;
}
}
] ;
return callback3 ( ScreenshotButtonManager , null , items ) ;
2026-07-23 10:11:24 +00:00
} ) ( tmp2 ) ;
let closure _10 = tmp5 ;
2026-07-20 16:05:17 +00:00
export const PULL _DOWN _CLOSE _THRESHOLD = 200 ;
export const SLIDE _ANIMATION _DURATION = 200 ;
export const BACKGROUND _ANIMATION _DURATION = 200 ;
export const FeedbackWidgetManager = tmp3 ;
export const FeedbackButtonManager = tmp4 ;
export const ScreenshotButtonManager = tmp5 ;
export const showFeedbackButton = function showFeedbackButton ( ) {
2026-07-23 10:11:24 +00:00
const result = require ( 1174 ) /* lazyLoadFeedbackIntegration */ . lazyLoadAutoInjectFeedbackButtonIntegration ( ) ;
2026-07-20 16:05:17 +00:00
tmp4 . show ( ) ;
} ;
export const hideFeedbackButton = function hideFeedbackButton ( ) {
tmp4 . hide ( ) ;
} ;
export const showFeedbackWidget = function showFeedbackWidget ( ) {
2026-07-23 10:11:24 +00:00
const result = require ( 1174 ) /* lazyLoadFeedbackIntegration */ . lazyLoadAutoInjectFeedbackIntegration ( ) ;
2026-07-20 16:05:17 +00:00
tmp3 . show ( ) ;
} ;
export const showScreenshotButton = function showScreenshotButton ( ) {
if ( obj . isWeb ( ) ) {
2026-07-23 10:11:24 +00:00
const debug = tmp ( 794 ) . debug ;
2026-07-20 16:05:17 +00:00
debug . warn ( "ScreenshotButton is not supported on Web." ) ;
} else {
2026-07-23 10:11:24 +00:00
const result = tmp ( 1174 ) . lazyLoadAutoInjectScreenshotButtonIntegration ( ) ;
2026-07-20 16:05:17 +00:00
tmp5 . show ( ) ;
2026-07-23 10:11:24 +00:00
const tmpResult = tmp ( 1174 ) ;
2026-07-20 16:05:17 +00:00
}
} ;
export const hideScreenshotButton = function hideScreenshotButton ( ) {
tmp5 . hide ( ) ;
} ;
export const resetFeedbackButtonManager = function resetFeedbackButtonManager ( ) {
tmp4 . reset ( ) ;
} ;
export const resetFeedbackWidgetManager = function resetFeedbackWidgetManager ( ) {
tmp3 . reset ( ) ;
} ;
export const resetScreenshotButtonManager = function resetScreenshotButtonManager ( ) {
tmp5 . reset ( ) ;
} ;