@@ -100,6 +100,17 @@ const js_code = {
100100 'kotlin.wasm.internal.itoa64_$external_fun' : ( p0 ) => String ( p0 ) ,
101101 'kotlin.wasm.internal.utoa64_$external_fun' : ( p0 ) => String ( p0 ) ,
102102 'kotlin.wasm.internal.utoa32_$external_fun' : ( p0 ) => String ( p0 ) ,
103+ 'kotlin.js.jsCatch' : ( f ) => {
104+ let result = null ;
105+ try {
106+ f ( ) ;
107+ } catch ( e ) {
108+ result = e ;
109+ }
110+ return result ;
111+ } ,
112+ 'kotlin.js.__convertKotlinClosureToJsClosure_(()->Unit)' : ( f ) => getCachedJsObject ( f , ( ) => wasmExports [ '__callFunction_(()->Unit)' ] ( f , ) ) ,
113+ 'kotlin.js.jsThrow' : ( e ) => { throw e ; } ,
103114 'kotlin.io.printlnImpl' : ( message ) => console . log ( message ) ,
104115 'kotlin.js.jsArrayGet' : ( array , index ) => array [ index ] ,
105116 'kotlin.js.jsArraySet' : ( array , index , value ) => { array [ index ] = value } ,
@@ -116,14 +127,15 @@ const js_code = {
116127 'kotlin.js.JsString_$external_class_get' : ( ) => JsString ,
117128 'kotlin.js.then_$external_fun' : ( _this , p0 ) => _this . then ( p0 ) ,
118129 'kotlin.js.__convertKotlinClosureToJsClosure_((Js?)->Js?)' : ( f ) => getCachedJsObject ( f , ( p0 ) => wasmExports [ '__callFunction_((Js?)->Js?)' ] ( f , p0 ) ) ,
130+ 'kotlin.js.then_$external_fun_1' : ( _this , p0 , p1 ) => _this . then ( p0 , p1 ) ,
131+ 'kotlin.js.__convertKotlinClosureToJsClosure_((Js)->Js?)' : ( f ) => getCachedJsObject ( f , ( p0 ) => wasmExports [ '__callFunction_((Js)->Js?)' ] ( f , p0 ) ) ,
119132 'kotlin.random.initialSeed' : ( ) => ( ( Math . random ( ) * Math . pow ( 2 , 32 ) ) | 0 ) ,
120133 'kotlin.wasm.internal.getJsClassName' : ( jsKlass ) => jsKlass . name ,
121134 'kotlin.wasm.internal.instanceOf' : ( ref , jsKlass ) => ref instanceof jsKlass ,
122135 'kotlin.wasm.internal.getConstructor' : ( obj ) => obj . constructor ,
123136 'kotlinx.coroutines.tryGetProcess' : ( ) => ( typeof ( process ) !== 'undefined' && typeof ( process . nextTick ) === 'function' ) ? process : null ,
124137 'kotlinx.coroutines.tryGetWindow' : ( ) => ( typeof ( window ) !== 'undefined' && window != null && typeof ( window . addEventListener ) === 'function' ) ? window : null ,
125138 'kotlinx.coroutines.nextTick_$external_fun' : ( _this , p0 ) => _this . nextTick ( p0 ) ,
126- 'kotlinx.coroutines.__convertKotlinClosureToJsClosure_(()->Unit)' : ( f ) => getCachedJsObject ( f , ( ) => wasmExports [ '__callFunction_(()->Unit)' ] ( f , ) ) ,
127139 'kotlinx.coroutines.error_$external_fun' : ( _this , p0 ) => _this . error ( p0 ) ,
128140 'kotlinx.coroutines.console_$external_prop_getter' : ( ) => console ,
129141 'kotlinx.coroutines.createScheduleMessagePoster' : ( process ) => ( ) => Promise . resolve ( 0 ) . then ( process ) ,
@@ -142,6 +154,8 @@ const js_code = {
142154 'kotlinx.coroutines.clearTimeout' : ( handle ) => { if ( typeof clearTimeout !== 'undefined' ) clearTimeout ( handle ) ; } ,
143155 'kotlinx.coroutines.clearTimeout_$external_fun' : ( _this , p0 ) => _this . clearTimeout ( p0 ) ,
144156 'kotlinx.coroutines.setTimeout_$external_fun' : ( p0 , p1 ) => setTimeout ( p0 , p1 ) ,
157+ 'org.khronos.webgl.byteLength_$external_prop_getter' : ( _this ) => _this . byteLength ,
158+ 'org.khronos.webgl.buffer_$external_prop_getter' : ( _this ) => _this . buffer ,
145159 'org.w3c.dom.css.cursor_$external_prop_setter' : ( _this , v ) => _this . cursor = v ,
146160 'org.w3c.dom.css.height_$external_prop_setter' : ( _this , v ) => _this . height = v ,
147161 'org.w3c.dom.css.left_$external_prop_setter' : ( _this , v ) => _this . left = v ,
@@ -189,6 +203,7 @@ const js_code = {
189203 'org.w3c.dom.events.WheelEvent_$external_class_get' : ( ) => WheelEvent ,
190204 'org.w3c.dom.ShadowRootInit' : ( mode ) => ( { mode : mode } ) ,
191205 'org.w3c.dom.AddEventListenerOptions_js_code' : ( passive , once , capture ) => ( { passive : passive , once : once , capture : capture } ) ,
206+ 'org.w3c.dom.location_$external_prop_getter' : ( _this ) => _this . location ,
192207 'org.w3c.dom.navigator_$external_prop_getter' : ( _this ) => _this . navigator ,
193208 'org.w3c.dom.devicePixelRatio_$external_prop_getter' : ( _this ) => _this . devicePixelRatio ,
194209 'org.w3c.dom.requestAnimationFrame_$external_fun' : ( _this , p0 ) => _this . requestAnimationFrame ( p0 ) ,
@@ -198,6 +213,7 @@ const js_code = {
198213 'org.w3c.dom.addListener_$external_fun' : ( _this , p0 ) => _this . addListener ( p0 ) ,
199214 'org.w3c.dom.MediaQueryList_$external_class_instanceof' : ( x ) => x instanceof MediaQueryList ,
200215 'org.w3c.dom.MediaQueryList_$external_class_get' : ( ) => MediaQueryList ,
216+ 'org.w3c.dom.protocol_$external_prop_getter' : ( _this ) => _this . protocol ,
201217 'org.w3c.dom.tabIndex_$external_prop_setter' : ( _this , v ) => _this . tabIndex = v ,
202218 'org.w3c.dom.innerText_$external_prop_setter' : ( _this , v ) => _this . innerText = v ,
203219 'org.w3c.dom.click_$external_fun' : ( _this , ) => _this . click ( ) ,
@@ -208,29 +224,41 @@ const js_code = {
208224 'org.w3c.dom.setData_$external_fun' : ( _this , p0 , p1 ) => _this . setData ( p0 , p1 ) ,
209225 'org.w3c.dom.userAgent_$external_prop_getter' : ( _this ) => _this . userAgent ,
210226 'org.w3c.dom.language_$external_prop_getter' : ( _this ) => _this . language ,
227+ 'org.w3c.dom.caches_$external_prop_getter' : ( _this ) => _this . caches ,
228+ 'org.w3c.dom.fetch_$external_fun' : ( _this , p0 , p1 , isDefault0 ) => _this . fetch ( p0 , isDefault0 ? undefined : p1 , ) ,
229+ 'org.w3c.dom.documentElement_$external_prop_getter' : ( _this ) => _this . documentElement ,
211230 'org.w3c.dom.readyState_$external_prop_getter' : ( _this ) => _this . readyState ,
212231 'org.w3c.dom.body_$external_prop_getter' : ( _this ) => _this . body ,
213232 'org.w3c.dom.activeElement_$external_prop_getter' : ( _this ) => _this . activeElement ,
214233 'org.w3c.dom.createElement_$external_fun' : ( _this , p0 , p1 , isDefault0 ) => _this . createElement ( p0 , isDefault0 ? undefined : p1 , ) ,
215234 'org.w3c.dom.hasFocus_$external_fun' : ( _this , ) => _this . hasFocus ( ) ,
216235 'org.w3c.dom.getElementById_$external_fun' : ( _this , p0 ) => _this . getElementById ( p0 ) ,
236+ 'org.w3c.dom.namespaceURI_$external_prop_getter' : ( _this ) => _this . namespaceURI ,
237+ 'org.w3c.dom.localName_$external_prop_getter' : ( _this ) => _this . localName ,
217238 'org.w3c.dom.id_$external_prop_setter' : ( _this , v ) => _this . id = v ,
218239 'org.w3c.dom.shadowRoot_$external_prop_getter' : ( _this ) => _this . shadowRoot ,
219240 'org.w3c.dom.clientWidth_$external_prop_getter' : ( _this ) => _this . clientWidth ,
220241 'org.w3c.dom.clientHeight_$external_prop_getter' : ( _this ) => _this . clientHeight ,
242+ 'org.w3c.dom.getAttribute_$external_fun' : ( _this , p0 ) => _this . getAttribute ( p0 ) ,
243+ 'org.w3c.dom.getAttributeNS_$external_fun' : ( _this , p0 , p1 ) => _this . getAttributeNS ( p0 , p1 ) ,
221244 'org.w3c.dom.setAttribute_$external_fun' : ( _this , p0 , p1 ) => _this . setAttribute ( p0 , p1 ) ,
222245 'org.w3c.dom.attachShadow_$external_fun' : ( _this , p0 ) => _this . attachShadow ( p0 ) ,
223246 'org.w3c.dom.getBoundingClientRect_$external_fun' : ( _this , ) => _this . getBoundingClientRect ( ) ,
247+ 'org.w3c.dom.Element_$external_class_instanceof' : ( x ) => x instanceof Element ,
224248 'org.w3c.dom.dataTransfer_$external_prop_getter' : ( _this ) => _this . dataTransfer ,
225249 'org.w3c.dom.DragEvent_$external_class_instanceof' : ( x ) => x instanceof DragEvent ,
226250 'org.w3c.dom.DragEvent_$external_class_get' : ( ) => DragEvent ,
251+ 'org.w3c.dom.nodeName_$external_prop_getter' : ( _this ) => _this . nodeName ,
227252 'org.w3c.dom.isConnected_$external_prop_getter' : ( _this ) => _this . isConnected ,
253+ 'org.w3c.dom.childNodes_$external_prop_getter' : ( _this ) => _this . childNodes ,
228254 'org.w3c.dom.firstChild_$external_prop_getter' : ( _this ) => _this . firstChild ,
229255 'org.w3c.dom.textContent_$external_prop_setter' : ( _this , v ) => _this . textContent = v ,
230256 'org.w3c.dom.hasChildNodes_$external_fun' : ( _this , ) => _this . hasChildNodes ( ) ,
257+ 'org.w3c.dom.lookupPrefix_$external_fun' : ( _this , p0 ) => _this . lookupPrefix ( p0 ) ,
231258 'org.w3c.dom.appendChild_$external_fun' : ( _this , p0 ) => _this . appendChild ( p0 ) ,
232259 'org.w3c.dom.removeChild_$external_fun' : ( _this , p0 ) => _this . removeChild ( p0 ) ,
233260 'org.w3c.dom.Companion_$external_object_getInstance' : ( ) => ( { } ) ,
261+ 'org.w3c.dom.item_$external_fun' : ( _this , p0 ) => _this . item ( p0 ) ,
234262 'org.w3c.dom.top_$external_prop_getter' : ( _this ) => _this . top ,
235263 'org.w3c.dom.left_$external_prop_getter' : ( _this ) => _this . left ,
236264 'org.w3c.dom.remove_$external_fun' : ( _this , ) => _this . remove ( ) ,
@@ -250,14 +278,30 @@ const js_code = {
250278 'org.w3c.dom.matches_$external_prop_getter_1' : ( _this ) => _this . matches ,
251279 'org.w3c.dom.MediaQueryListEvent_$external_class_instanceof' : ( x ) => x instanceof MediaQueryListEvent ,
252280 'org.w3c.dom.MediaQueryListEvent_$external_class_get' : ( ) => MediaQueryListEvent ,
281+ 'org.w3c.dom.parsing.DOMParser_$external_fun' : ( ) => new DOMParser ( ) ,
282+ 'org.w3c.dom.parsing.parseFromString_$external_fun' : ( _this , p0 , p1 ) => _this . parseFromString ( p0 , p1 ) ,
253283 'org.w3c.dom.pointerevents.pointerId_$external_prop_getter' : ( _this ) => _this . pointerId ,
254284 'org.w3c.dom.pointerevents.pressure_$external_prop_getter' : ( _this ) => _this . pressure ,
255285 'org.w3c.dom.pointerevents.PointerEvent_$external_class_instanceof' : ( x ) => x instanceof PointerEvent ,
256286 'org.w3c.dom.pointerevents.PointerEvent_$external_class_get' : ( ) => PointerEvent ,
287+ 'org.w3c.fetch.ok_$external_prop_getter' : ( _this ) => _this . ok ,
288+ 'org.w3c.fetch.clone_$external_fun' : ( _this , ) => _this . clone ( ) ,
289+ 'org.w3c.fetch.blob_$external_fun' : ( _this , ) => _this . blob ( ) ,
257290 'org.w3c.performance.now_$external_fun' : ( _this , ) => _this . now ( ) ,
258291 'org.w3c.performance.performance_$external_prop_getter' : ( _this ) => _this . performance ,
292+ 'org.w3c.workers.CacheQueryOptions_js_code' : ( ignoreSearch , ignoreMethod , ignoreVary , cacheName ) => ( { ignoreSearch : ignoreSearch , ignoreMethod : ignoreMethod , ignoreVary : ignoreVary , cacheName : cacheName } ) ,
293+ 'org.w3c.workers.match_$external_fun' : ( _this , p0 , p1 , isDefault0 ) => _this . match ( p0 , isDefault0 ? undefined : p1 , ) ,
294+ 'org.w3c.workers.put_$external_fun' : ( _this , p0 , p1 ) => _this . put ( p0 , p1 ) ,
295+ 'org.w3c.workers.open_$external_fun' : ( _this , p0 ) => _this . open ( p0 ) ,
296+ 'org.w3c.workers.delete_$external_fun' : ( _this , p0 ) => _this . delete ( p0 ) ,
297+ 'org.w3c.xhr.XMLHttpRequest_$external_fun' : ( ) => new XMLHttpRequest ( ) ,
298+ 'org.w3c.xhr.status_$external_prop_getter' : ( _this ) => _this . status ,
299+ 'org.w3c.xhr.open_$external_fun' : ( _this , p0 , p1 , p2 , p3 , p4 , isDefault0 , isDefault1 ) => _this . open ( p0 , p1 , p2 , isDefault0 ? undefined : p3 , isDefault1 ? undefined : p4 , ) ,
300+ 'org.w3c.xhr.send_$external_fun' : ( _this , ) => _this . send ( ) ,
301+ 'org.w3c.xhr.overrideMimeType_$external_fun' : ( _this , p0 ) => _this . overrideMimeType ( p0 ) ,
259302 'kotlinx.browser.window_$external_prop_getter' : ( ) => window ,
260303 'kotlinx.browser.document_$external_prop_getter' : ( ) => document ,
304+ 'org.w3c.dom.length_$external_prop_getter' : ( _this ) => _this . length ,
261305 'androidx.compose.runtime.internal.weakMap_js_code' : ( ) => ( new WeakMap ( ) ) ,
262306 'androidx.compose.runtime.internal.set_$external_fun' : ( _this , p0 , p1 ) => _this . set ( p0 , p1 ) ,
263307 'androidx.compose.runtime.internal.get_$external_fun' : ( _this , p0 ) => _this . get ( p0 ) ,
@@ -296,6 +340,7 @@ const js_code = {
296340 'androidx.compose.ui.text.deref_$external_fun' : ( _this , ) => _this . deref ( ) ,
297341 'androidx.compose.ui.text.intl.parseLanguageTagToIntlLocale' : ( languageTag ) => new Intl . Locale ( languageTag ) ,
298342 'androidx.compose.ui.text.intl._language_$external_prop_getter' : ( _this ) => _this . language ,
343+ 'androidx.compose.ui.text.intl._region_$external_prop_getter' : ( _this ) => _this . region ,
299344 'androidx.compose.ui.text.intl._baseName_$external_prop_getter' : ( _this ) => _this . baseName ,
300345 'androidx.lifecycle.WeakRef_$external_fun' : ( p0 ) => new WeakRef ( p0 ) ,
301346 'androidx.lifecycle.deref_$external_fun' : ( _this , ) => _this . deref ( ) ,
@@ -397,6 +442,24 @@ const js_code = {
397442 } ,
398443 'androidx.compose.ui.window.activeElement_$external_prop_getter' : ( _this ) => _this . activeElement ,
399444 'androidx.compose.ui.window.isMatchMediaSupported' : ( ) => window . matchMedia != undefined ,
445+ 'org.jetbrains.compose.resources.Locale_$external_fun' : ( p0 ) => new Intl . Locale ( p0 ) ,
446+ 'org.jetbrains.compose.resources.language_$external_prop_getter' : ( _this ) => _this . language ,
447+ 'org.jetbrains.compose.resources.region_$external_prop_getter' : ( _this ) => _this . region ,
448+ 'org.jetbrains.compose.resources.isInTestEnvironment' : ( ) => window . composeResourcesTesting == true ,
449+ 'org.jetbrains.compose.resources.requestResponseAsByteArray' : ( req ) => {
450+ var text = req . responseText ;
451+ var int8Arr = new Int8Array ( text . length ) ;
452+ for ( var i = 0 ; i < text . length ; i ++ ) {
453+ int8Arr [ i ] = text . charCodeAt ( i ) & 0xFF ;
454+ }
455+ return int8Arr ;
456+ } ,
457+ 'org.jetbrains.compose.resources.jsExportBlobAsArrayBuffer' : ( blob ) => blob . arrayBuffer ( ) ,
458+ 'org.jetbrains.compose.resources.copyArrayBufferToWasmMemory' : ( ab , ptr ) => {
459+ const data = new Uint8Array ( ab ) ;
460+ new Uint8Array ( wasmExports . memory . buffer ) . set ( data , ptr ) ;
461+ } ,
462+ 'org.jetbrains.compose.resources.supportsCacheApi' : ( ) => Boolean ( window . caches ) ,
400463 'androidx.compose.material3.internal.weakMap_js_code' : ( ) => ( new WeakMap ( ) ) ,
401464 'androidx.compose.material3.internal.set_$external_fun' : ( _this , p0 , p1 ) => _this . set ( p0 , p1 ) ,
402465 'androidx.compose.material3.internal.get_$external_fun' : ( _this , p0 ) => _this . get ( p0 )
0 commit comments