2026-07-25 08:10:48 +00:00
// Module ID: 4205
// Function ID: 36278
2026-07-20 16:05:17 +00:00
// Name: _createForOfIteratorHelperLoose
2026-07-25 08:10:48 +00:00
// Dependencies: [5, 6, 7, 15, 17, 18, 4206, 4216, 8825, 8764, 1194, 1348, 1838, 4178, 4203, 10767, 4224, 1850, 653, 1852, 12793, 4192, 4207, 574, 675, 1184, 3, 12794, 561, 491, 12796, 12798, 10496, 10768, 1430, 477, 3742, 1443, 686, 12799, 1360, 4227, 24, 4954, 12800, 12801, 10492, 4125, 5903, 12802, 12804, 12805, 12806, 4228, 12807, 12808, 12810, 5982, 12811, 8784, 5702, 12812, 12813, 10564, 12815, 4471, 1212, 1193, 4298, 2]
2026-07-20 16:05:17 +00:00
2026-07-25 08:10:48 +00:00
// Module 4205 (_createForOfIteratorHelperLoose)
2026-07-23 10:11:24 +00:00
import _inherits from "_inherits" ;
import _isNativeReflectConstruct from "_isNativeReflectConstruct" ;
import closure_6 from "_isNativeReflectConstruct" ;
import closure_7 from "_isNativeReflectConstruct" ;
import closure_8 from "_isNativeReflectConstruct" ;
import closure_9 from "ME" ;
import closure_10 from "_isNativeReflectConstruct" ;
import closure_11 from "_isNativeReflectConstruct" ;
import closure_12 from "_isNativeReflectConstruct" ;
import closure_13 from "_isNativeReflectConstruct" ;
import closure_14 from "_isNativeReflectConstruct" ;
import closure_15 from "_isNativeReflectConstruct" ;
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose" ;
import closure_17 from "_isNativeReflectConstruct" ;
import closure_18 from "_isNativeReflectConstruct" ;
import closure_19 from "_isNativeReflectConstruct" ;
import closure_20 from "_isNativeReflectConstruct" ;
import closure_21 from "_isNativeReflectConstruct" ;
import ME from "ME" ;
import { PremiumTypes } from "GuildFeatures" ;
import { BROWSER_SUPPORTS_UNIFIED_PLAN as closure_28 } from "parsed" ;
import DesktopSources from "DesktopSources" ;
import tmp4 from "TypedEventEmitter" ;
let closure_22 ;
let closure_23 ;
let closure_24 ;
let closure_25 ;
let closure_26 ;
let closure_29 ;
let closure_30 ;
let closure_31 ;
let closure_32 ;
let closure_33 ;
let closure_34 ;
let closure_35 ;
const require = arg1 ;
function _createForOfIteratorHelperLoose ( iterable ) {
let closure_0 = iterable ;
iterable = "undefined" !== typeof Symbol ;
if ( iterable ) {
2026-07-20 16:05:17 +00:00
const _Symbol = Symbol ;
2026-07-23 10:11:24 +00:00
iterable = iterable [ Symbol . iterator ] ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
if ( ! iterable ) {
iterable = iterable [ Symbol . iterator ] ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
if ( iterable ) {
const iter = iterable . call ( iterable ) ;
2026-07-20 16:05:17 +00:00
const next = iter . next ;
return next . bind ( iter ) ;
} else {
const _Array = Array ;
2026-07-23 10:11:24 +00:00
let tmp = iterable ;
if ( ! Array . isArray ( iterable ) ) {
2026-07-20 16:05:17 +00:00
let tmp2 ;
2026-07-23 10:11:24 +00:00
if ( iterable ) {
if ( "string" === typeof iterable ) {
tmp2 = _arrayLikeToArray ( iterable , undefined ) ;
2026-07-20 16:05:17 +00:00
} else {
const toString = { } . toString ;
2026-07-23 10:11:24 +00:00
const substr = toString . call ( iterable ) . slice ( 8 , - 1 ) ;
2026-07-20 16:05:17 +00:00
let name = substr ;
if ( tmp3 ) {
2026-07-23 10:11:24 +00:00
name = iterable . constructor . name ;
2026-07-20 16:05:17 +00:00
}
if ( "Map" !== name ) {
if ( "Set" !== name ) {
if ( "Arguments" === name ) {
2026-07-23 10:11:24 +00:00
let arr = _arrayLikeToArray ( iterable , undefined ) ;
2026-07-20 16:05:17 +00:00
} else {
2026-07-23 10:11:24 +00:00
let obj = /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/ ;
2026-07-20 16:05:17 +00:00
}
}
tmp2 = arr ;
}
const _Array2 = Array ;
2026-07-23 10:11:24 +00:00
arr = Array . from ( iterable ) ;
const callResult = toString . call ( iterable ) ;
tmp3 = "Object" === substr && iterable . constructor ;
2026-07-20 16:05:17 +00:00
}
}
tmp = tmp2 ;
if ( ! tmp2 ) {
const _TypeError = TypeError ;
const typeError = new TypeError ( "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) ;
throw typeError ;
}
}
if ( tmp ) {
2026-07-23 10:11:24 +00:00
closure_0 = tmp ;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let c1 = 0 ;
2026-07-20 16:05:17 +00:00
return ( ) = > {
2026-07-23 10:11:24 +00:00
if ( closure_1 >= length . length ) {
2026-07-20 16:05:17 +00:00
let obj = { done : true } ;
} else {
obj = { done : false } ;
closure_1 = tmp3 + 1 ;
2026-07-23 10:11:24 +00:00
obj . value = length [ + closure_1 ] ;
2026-07-20 16:05:17 +00:00
}
return obj ;
} ;
}
}
function _arrayLikeToArray ( arg0 , arg1 ) {
let length ;
if ( tmp ) {
length = arg0 . length ;
}
const ArrayResult = Array ( length ) ;
for ( let num = 0 ; num < length ; num = num + 1 ) {
ArrayResult [ num ] = arg0 [ num ] ;
}
return ArrayResult ;
}
function _isNativeReflectConstruct() {
let closure_0 = ! valueOf . call ( Reflect . construct ( Boolean , [ ] , ( ) = > {
} ) ) ;
function _isNativeReflectConstruct() {
return closure_0 ;
}
const result = _isNativeReflectConstruct ( ) ;
}
function getEventHistoryString() {
let length ;
const items = [ ] ;
2026-07-25 08:10:48 +00:00
require ( 4207 ) /* sleep */ ;
2026-07-20 16:05:17 +00:00
let num = 0 ;
if ( 0 < length . length ) {
do {
let tmp3 = arr2 [ num ] ;
let obj = { } ;
let tmp4 = obj ;
let tmp5 = tmp3 ;
let merged = Object . assign ( tmp3 ) ;
obj [ "t" ] = tmp2 - tmp3 . t ;
let arr = items . push ( obj ) ;
num = num + 1 ;
length = arr2 . length ;
} while ( num < length ) ;
}
return JSON . stringify ( items ) ;
}
2026-07-23 10:11:24 +00:00
( { AnalyticEvents : closure_22 , ChannelTypes : closure_23 , RTCConnectionStates : closure_24 , RTCConnectionQuality : closure_25 , BoostedGuildTiers : closure_26 } = ME ) ;
( { Features : closure_29 , MediaEngineContextTypes : closure_30 , ConnectionStates : closure_31 , Codecs : closure_32 , MediaTypes : closure_33 , SpeakingFlags : closure_34 , DISABLED_DEVICE_ID : closure_35 } = DesktopSources ) ;
2026-07-20 16:05:17 +00:00
let str = "ws:" ;
if ( obj . test ( "https:" ) ) {
str = "wss:" ;
}
let closure_37 = { CONNECTION_CREATE : 0 , [ 0 ] : "CONNECTION_CREATE" , CONNECTION_DESTROY : 1 , [ 1 ] : "CONNECTION_DESTROY" , CONNECT : 2 , [ 2 ] : "CONNECT" , MLS_FAILURE : 3 , [ 3 ] : "MLS_FAILURE" , MESSAGE_RECEIVE : 4 , [ 4 ] : "MESSAGE_RECEIVE" , MESSAGE_SEND : 5 , [ 5 ] : "MESSAGE_SEND" , SET_ENDPOINT : 6 , [ 6 ] : "SET_ENDPOINT" , RECONNECT : 7 , [ 7 ] : "RECONNECT" , SET_STATE : 8 , [ 8 ] : "SET_STATE" , SET_NEXT_CHANNEL_ID : 9 , [ 9 ] : "SET_NEXT_CHANNEL_ID" , MLS_INIT : 10 , [ 10 ] : "MLS_INIT" , SECURE_FRAMES_INIT : 11 , [ 11 ] : "SECURE_FRAMES_INIT" } ;
2026-07-23 10:11:24 +00:00
let c38 = 0 ;
2026-07-20 16:05:17 +00:00
let closure_39 = [ ] ;
2026-07-23 10:11:24 +00:00
obj = /^https/ ;
let result = require ( "_defineProperties" ) . fileFinishedImporting ( "lib/RTCConnection.tsx" ) ;
2026-07-20 16:05:17 +00:00
export default tmp4 ;