2026-07-24 07:16:23 +00:00
// Module ID: 15647
// Function ID: 120598
2026-07-20 16:05:17 +00:00
// Name: _createForOfIteratorHelperLoose
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 2]
2026-07-22 07:54:56 +00:00
2026-07-24 07:16:23 +00:00
// Module 15647 (_createForOfIteratorHelperLoose)
2026-07-23 10:11:24 +00:00
import _classCallCheck from "_classCallCheck" ;
import _defineProperties from "_defineProperties" ;
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
function _createForOfIteratorHelperLoose ( iterable ) {
let _classCallCheck = 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
_classCallCheck = 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 ( _defineProperties >= length . length ) {
2026-07-20 16:05:17 +00:00
let obj = { done : true } ;
} else {
obj = { done : false } ;
2026-07-23 10:11:24 +00:00
_defineProperties = tmp3 + 1 ;
obj . value = length [ + _defineProperties ] ;
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 ;
}
2026-07-23 10:11:24 +00:00
let tmp2 = ( ( ) = > {
2026-07-20 16:05:17 +00:00
class ModalRegistry {
constructor ( arg0 ) {
tmp = ModalRegistry ( this , ModalRegistry ) ;
this . modals = arg0 ;
set = new Set ( ) ;
2026-07-23 10:11:24 +00:00
tmp2 = outer1_2 ( arg0 ) ;
2026-07-20 16:05:17 +00:00
iter = tmp2 ( ) ;
if ( ! iter . done ) {
do {
2026-07-23 10:11:24 +00:00
tmp3 = outer1_2 ;
tmp4 = outer1_2 ( iter . value . stores ) ;
2026-07-20 16:05:17 +00:00
iter2 = tmp4 ( ) ;
if ( ! iter2 . done ) {
do {
addResult = set . add ( iter2 . value ) ;
iter3 = tmp4 ( ) ;
iter2 = iter3 ;
done = iter3 . done ;
} while ( ! done ) ;
}
iter4 = tmp2 ( ) ;
iter = iter4 ;
} while ( ! iter4 . done ) ;
}
this . stores = Array . from ( set ) ;
return ;
}
}
let obj = {
key : "getStores" ,
value() {
return this . stores ;
}
} ;
const items = [ obj , ] ;
obj = {
key : "getOpenModal" ,
value() {
const modals = this . modals ;
const findIndexResult = modals . findIndex ( ( isOpen ) = > isOpen . isOpen ( ) ) ;
if ( - 1 === findIndexResult ) {
return null ;
} else {
let props ;
2026-07-23 10:11:24 +00:00
if ( null != this . modals [ findIndexResult ] . getProps ) {
2026-07-20 16:05:17 +00:00
props = obj3 . getProps ( ) ;
}
if ( null == props ) {
props = { } ;
}
2026-07-23 10:11:24 +00:00
const obj = { key : findIndexResult , component : this.modals [ findIndexResult ] . getComponent ( ) , props , closable : null == this . modals [ findIndexResult ] . closable || this . modals [ findIndexResult ] . closable , backdropInstant : null != this . modals [ findIndexResult ] . backdropInstant && this . modals [ findIndexResult ] . backdropInstant , backdropStyle : this.modals [ findIndexResult ] . backdropStyle , disableAnimation : null != this . modals [ findIndexResult ] . disableAnimation && this . modals [ findIndexResult ] . disableAnimation } ;
2026-07-20 16:05:17 +00:00
return obj ;
}
}
} ;
items [ 1 ] = obj ;
return callback ( ModalRegistry , items ) ;
2026-07-23 10:11:24 +00:00
} ) ( ) ;
const result = require ( "set" ) . fileFinishedImporting ( "lib/ModalRegistry.tsx" ) ;
export default tmp2 ;