2026-07-20 16:05:17 +00:00
// Module ID: 148
// Function ID: 2359
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 140, 135, 138, 134]
2026-07-20 16:05:17 +00:00
// Module 148 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import getRendererProxy from "getRendererProxy" ;
import getRawNativeDOMForTests from "getRawNativeDOMForTests" ;
import _possibleConstructorReturn from "_possibleConstructorReturn" ;
import _getPrototypeOf from "_getPrototypeOf" ;
import _inherits from "_inherits" ;
const require = arg1 ;
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 ( ) ;
}
2026-07-23 10:11:24 +00:00
export default ( ( arg0 ) => {
2026-07-20 16:05:17 +00:00
class ReadOnlyCharacterData {
constructor ( ) {
self = this ;
2026-07-23 10:11:24 +00:00
tmp = outer1 _3 ( this , ReadOnlyCharacterData ) ;
obj = outer1 _6 ( ReadOnlyCharacterData ) ;
tmp2 = outer1 _5 ;
if ( outer1 _8 ( ) ) {
2026-07-20 16:05:17 +00:00
tmp6 = globalThis ;
_Reflect = Reflect ;
2026-07-23 10:11:24 +00:00
tmp7 = outer1 _6 ;
2026-07-20 16:05:17 +00:00
tmp8 = arguments ;
2026-07-23 10:11:24 +00:00
constructResult = Reflect . construct ( obj , arguments , outer1 _6 ( self ) . constructor ) ;
2026-07-20 16:05:17 +00:00
} else {
tmp3 = arguments ;
tmp4 = arguments ;
constructResult = obj ( ... arguments ) ;
}
return tmp2 ( self , constructResult ) ;
}
}
callback2 ( ReadOnlyCharacterData , arg0 ) ;
let obj = {
key : "nextElementSibling" ,
get ( ) {
2026-07-23 10:11:24 +00:00
return ReadOnlyCharacterData ( outer1 _2 [ 5 ] ) . getElementSibling ( this , "next" ) ;
2026-07-20 16:05:17 +00:00
}
} ;
const items = [ obj , , , , , , ] ;
obj = {
key : "previousElementSibling" ,
get ( ) {
2026-07-23 10:11:24 +00:00
return ReadOnlyCharacterData ( outer1 _2 [ 5 ] ) . getElementSibling ( this , "previous" ) ;
2026-07-20 16:05:17 +00:00
}
} ;
items [ 1 ] = obj ;
obj = {
key : "data" ,
get ( ) {
2026-07-23 10:11:24 +00:00
const nativeTextReference = ReadOnlyCharacterData ( outer1 _2 [ 6 ] ) . getNativeTextReference ( this ) ;
2026-07-20 16:05:17 +00:00
let str = "" ;
if ( null != nativeTextReference ) {
2026-07-23 10:11:24 +00:00
str = outer1 _1 ( outer1 _2 [ 7 ] ) . getTextContent ( nativeTextReference ) ;
const obj2 = outer1 _1 ( outer1 _2 [ 7 ] ) ;
2026-07-20 16:05:17 +00:00
}
return str ;
}
} ;
items [ 2 ] = obj ;
items [ 3 ] = {
key : "length" ,
get ( ) {
return this . data . length ;
}
} ;
items [ 4 ] = {
key : "textContent" ,
get ( ) {
return this . data ;
}
} ;
items [ 5 ] = {
key : "nodeValue" ,
get ( ) {
return this . data ;
}
} ;
items [ 6 ] = {
key : "substringData" ,
value : function substringData ( arg0 , arg1 ) {
let length = arg1 ;
const data = this . data ;
if ( arg0 < 0 ) {
const _TypeError2 = TypeError ;
const _HermesInternal2 = HermesInternal ;
const typeError = new TypeError ( "Failed to execute 'substringData' on 'CharacterData': The offset " + arg0 + " is negative." ) ;
throw typeError ;
} else if ( arg0 > data . length ) {
const _TypeError = TypeError ;
const _HermesInternal = HermesInternal ;
const typeError1 = new TypeError ( "Failed to execute 'substringData' on 'CharacterData': The offset " + arg0 + " is greater than the node's length (" + data . length + ")." ) ;
throw typeError1 ;
} else {
if ( length < 0 ) {
length = data . length ;
}
return data . slice ( arg0 , arg0 + length ) ;
}
}
} ;
return callback ( ReadOnlyCharacterData , items ) ;
2026-07-23 10:11:24 +00:00
} ) ( require ( "getChildNodes" ) ) ;