2024-08-21 22:52:51 +02:00
let wasm ;
const heap = new Array ( 128 ) . fill ( undefined ) ;
heap . push ( undefined , null , true , false ) ;
function getObject ( idx ) { return heap [ idx ] ; }
let heap _next = heap . length ;
function dropObject ( idx ) {
if ( idx < 132 ) return ;
heap [ idx ] = heap _next ;
heap _next = idx ;
}
function takeObject ( idx ) {
const ret = getObject ( idx ) ;
dropObject ( idx ) ;
return ret ;
}
const cachedTextDecoder = ( typeof TextDecoder !== 'undefined' ? new TextDecoder ( 'utf-8' , { ignoreBOM : true , fatal : true } ) : { decode : ( ) => { throw Error ( 'TextDecoder not available' ) } } ) ;
if ( typeof TextDecoder !== 'undefined' ) { cachedTextDecoder . decode ( ) ; } ;
let cachedUint8Memory0 = null ;
function getUint8Memory0 ( ) {
if ( cachedUint8Memory0 === null || cachedUint8Memory0 . byteLength === 0 ) {
cachedUint8Memory0 = new Uint8Array ( wasm . memory . buffer ) ;
}
return cachedUint8Memory0 ;
}
function getStringFromWasm0 ( ptr , len ) {
ptr = ptr >>> 0 ;
return cachedTextDecoder . decode ( getUint8Memory0 ( ) . subarray ( ptr , ptr + len ) ) ;
}
function addHeapObject ( obj ) {
if ( heap _next === heap . length ) heap . push ( heap . length + 1 ) ;
const idx = heap _next ;
heap _next = heap [ idx ] ;
heap [ idx ] = obj ;
return idx ;
}
let WASM _VECTOR _LEN = 0 ;
const cachedTextEncoder = ( typeof TextEncoder !== 'undefined' ? new TextEncoder ( 'utf-8' ) : { encode : ( ) => { throw Error ( 'TextEncoder not available' ) } } ) ;
const encodeString = ( typeof cachedTextEncoder . encodeInto === 'function'
? function ( arg , view ) {
return cachedTextEncoder . encodeInto ( arg , view ) ;
}
: function ( arg , view ) {
const buf = cachedTextEncoder . encode ( arg ) ;
view . set ( buf ) ;
return {
read : arg . length ,
written : buf . length
} ;
} ) ;
function passStringToWasm0 ( arg , malloc , realloc ) {
if ( realloc === undefined ) {
const buf = cachedTextEncoder . encode ( arg ) ;
const ptr = malloc ( buf . length , 1 ) >>> 0 ;
getUint8Memory0 ( ) . subarray ( ptr , ptr + buf . length ) . set ( buf ) ;
WASM _VECTOR _LEN = buf . length ;
return ptr ;
}
let len = arg . length ;
let ptr = malloc ( len , 1 ) >>> 0 ;
const mem = getUint8Memory0 ( ) ;
let offset = 0 ;
for ( ; offset < len ; offset ++ ) {
const code = arg . charCodeAt ( offset ) ;
if ( code > 0x7F ) break ;
mem [ ptr + offset ] = code ;
}
if ( offset !== len ) {
if ( offset !== 0 ) {
arg = arg . slice ( offset ) ;
}
ptr = realloc ( ptr , len , len = offset + arg . length * 3 , 1 ) >>> 0 ;
const view = getUint8Memory0 ( ) . subarray ( ptr + offset , ptr + len ) ;
const ret = encodeString ( arg , view ) ;
offset += ret . written ;
}
WASM _VECTOR _LEN = offset ;
return ptr ;
}
function isLikeNone ( x ) {
return x === undefined || x === null ;
}
let cachedInt32Memory0 = null ;
function getInt32Memory0 ( ) {
if ( cachedInt32Memory0 === null || cachedInt32Memory0 . byteLength === 0 ) {
cachedInt32Memory0 = new Int32Array ( wasm . memory . buffer ) ;
}
return cachedInt32Memory0 ;
}
let cachedFloat64Memory0 = null ;
function getFloat64Memory0 ( ) {
if ( cachedFloat64Memory0 === null || cachedFloat64Memory0 . byteLength === 0 ) {
cachedFloat64Memory0 = new Float64Array ( wasm . memory . buffer ) ;
}
return cachedFloat64Memory0 ;
}
function debugString ( val ) {
// primitive types
const type = typeof val ;
if ( type == 'number' || type == 'boolean' || val == null ) {
return ` ${ val } ` ;
}
if ( type == 'string' ) {
return ` " ${ val } " ` ;
}
if ( type == 'symbol' ) {
const description = val . description ;
if ( description == null ) {
return 'Symbol' ;
} else {
return ` Symbol( ${ description } ) ` ;
}
}
if ( type == 'function' ) {
const name = val . name ;
if ( typeof name == 'string' && name . length > 0 ) {
return ` Function( ${ name } ) ` ;
} else {
return 'Function' ;
}
}
// objects
if ( Array . isArray ( val ) ) {
const length = val . length ;
let debug = '[' ;
if ( length > 0 ) {
debug += debugString ( val [ 0 ] ) ;
}
for ( let i = 1 ; i < length ; i ++ ) {
debug += ', ' + debugString ( val [ i ] ) ;
}
debug += ']' ;
return debug ;
}
// Test for built-in
const builtInMatches = /\[object ([^\]]+)\]/ . exec ( toString . call ( val ) ) ;
let className ;
if ( builtInMatches . length > 1 ) {
className = builtInMatches [ 1 ] ;
} else {
// Failed to match the standard '[object ClassName]'
return toString . call ( val ) ;
}
if ( className == 'Object' ) {
// we're a user defined class or Object
// JSON.stringify avoids problems with cycles, and is generally much
// easier than looping through ownProperties of `val`.
try {
return 'Object(' + JSON . stringify ( val ) + ')' ;
} catch ( _ ) {
return 'Object' ;
}
}
// errors
if ( val instanceof Error ) {
return ` ${ val . name } : ${ val . message } \n ${ val . stack } ` ;
}
// TODO we could test for more things here, like `Set`s and `Map`s.
return className ;
}
function makeMutClosure ( arg0 , arg1 , dtor , f ) {
const state = { a : arg0 , b : arg1 , cnt : 1 , dtor } ;
const real = ( ... args ) => {
// First up with a closure we increment the internal reference
// count. This ensures that the Rust closure environment won't
// be deallocated while we're invoking it.
state . cnt ++ ;
const a = state . a ;
state . a = 0 ;
try {
return f ( a , state . b , ... args ) ;
} finally {
if ( -- state . cnt === 0 ) {
wasm . _ _wbindgen _export _2 . get ( state . dtor ) ( a , state . b ) ;
} else {
state . a = a ;
}
}
} ;
real . original = state ;
return real ;
}
function _ _wbg _adapter _32 ( arg0 , arg1 , arg2 ) {
2024-08-30 21:35:20 +02:00
wasm . _dyn _core _ _ops _ _function _ _FnMut _ _A _ _ _ _Output _ _ _R _as _wasm _bindgen _ _closure _ _WasmClosure _ _ _describe _ _invoke _ _h309b81ca7ab70b0c ( arg0 , arg1 , addHeapObject ( arg2 ) ) ;
2024-08-21 22:52:51 +02:00
}
2024-08-30 21:35:20 +02:00
function _ _wbg _adapter _35 ( arg0 , arg1 ) {
2024-08-21 22:52:51 +02:00
try {
const retptr = wasm . _ _wbindgen _add _to _stack _pointer ( - 16 ) ;
2024-08-30 21:35:20 +02:00
wasm . _dyn _core _ _ops _ _function _ _FnMut _ _ _ _ _Output _ _ _R _as _wasm _bindgen _ _closure _ _WasmClosure _ _ _describe _ _invoke _ _h974368912c762e3e ( retptr , arg0 , arg1 ) ;
2024-08-21 22:52:51 +02:00
var r0 = getInt32Memory0 ( ) [ retptr / 4 + 0 ] ;
var r1 = getInt32Memory0 ( ) [ retptr / 4 + 1 ] ;
if ( r1 ) {
throw takeObject ( r0 ) ;
}
} finally {
wasm . _ _wbindgen _add _to _stack _pointer ( 16 ) ;
}
}
function _ _wbg _adapter _40 ( arg0 , arg1 , arg2 ) {
2024-08-30 21:35:20 +02:00
wasm . _dyn _core _ _ops _ _function _ _FnMut _ _A _ _ _ _Output _ _ _R _as _wasm _bindgen _ _closure _ _WasmClosure _ _ _describe _ _invoke _ _hae16b182a3023ddf ( arg0 , arg1 , addHeapObject ( arg2 ) ) ;
2024-08-21 22:52:51 +02:00
}
function handleError ( f , args ) {
try {
return f . apply ( this , args ) ;
} catch ( e ) {
wasm . _ _wbindgen _exn _store ( addHeapObject ( e ) ) ;
}
}
async function _ _wbg _load ( module , imports ) {
if ( typeof Response === 'function' && module instanceof Response ) {
if ( typeof WebAssembly . instantiateStreaming === 'function' ) {
try {
return await WebAssembly . instantiateStreaming ( module , imports ) ;
} catch ( e ) {
if ( module . headers . get ( 'Content-Type' ) != 'application/wasm' ) {
console . warn ( "`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n" , e ) ;
} else {
throw e ;
}
}
}
const bytes = await module . arrayBuffer ( ) ;
return await WebAssembly . instantiate ( bytes , imports ) ;
} else {
const instance = await WebAssembly . instantiate ( module , imports ) ;
if ( instance instanceof WebAssembly . Instance ) {
return { instance , module } ;
} else {
return instance ;
}
}
}
function _ _wbg _get _imports ( ) {
const imports = { } ;
imports . wbg = { } ;
imports . wbg . _ _wbindgen _object _drop _ref = function ( arg0 ) {
takeObject ( arg0 ) ;
} ;
imports . wbg . _ _wbindgen _cb _drop = function ( arg0 ) {
const obj = takeObject ( arg0 ) . original ;
if ( obj . cnt -- == 1 ) {
obj . a = 0 ;
return true ;
}
const ret = false ;
return ret ;
} ;
imports . wbg . _ _wbindgen _string _new = function ( arg0 , arg1 ) {
const ret = getStringFromWasm0 ( arg0 , arg1 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _crypto _58f13aa23ffcb166 = function ( arg0 ) {
const ret = getObject ( arg0 ) . crypto ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbindgen _is _object = function ( arg0 ) {
const val = getObject ( arg0 ) ;
const ret = typeof ( val ) === 'object' && val !== null ;
return ret ;
} ;
imports . wbg . _ _wbg _process _5b786e71d465a513 = function ( arg0 ) {
const ret = getObject ( arg0 ) . process ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _versions _c2ab80650590b6a2 = function ( arg0 ) {
const ret = getObject ( arg0 ) . versions ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _node _523d7bd03ef69fba = function ( arg0 ) {
const ret = getObject ( arg0 ) . node ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbindgen _is _string = function ( arg0 ) {
const ret = typeof ( getObject ( arg0 ) ) === 'string' ;
return ret ;
} ;
imports . wbg . _ _wbg _require _2784e593a4674877 = function ( ) { return handleError ( function ( ) {
const ret = module . require ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbindgen _is _function = function ( arg0 ) {
const ret = typeof ( getObject ( arg0 ) ) === 'function' ;
return ret ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _msCrypto _abcb1295e768d1f2 = function ( arg0 ) {
const ret = getObject ( arg0 ) . msCrypto ;
return addHeapObject ( ret ) ;
} ;
2024-08-21 22:52:51 +02:00
imports . wbg . _ _wbg _randomFillSync _a0d98aa11c81fe89 = function ( ) { return handleError ( function ( arg0 , arg1 ) {
getObject ( arg0 ) . randomFillSync ( takeObject ( arg1 ) ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _getRandomValues _504510b5564925af = function ( ) { return handleError ( function ( arg0 , arg1 ) {
getObject ( arg0 ) . getRandomValues ( getObject ( arg1 ) ) ;
} , arguments ) } ;
imports . wbg . _ _wbindgen _string _get = function ( arg0 , arg1 ) {
const obj = getObject ( arg1 ) ;
const ret = typeof ( obj ) === 'string' ? obj : undefined ;
var ptr1 = isLikeNone ( ret ) ? 0 : passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
var len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbindgen _object _clone _ref = function ( arg0 ) {
const ret = getObject ( arg0 ) ;
return addHeapObject ( ret ) ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _warn _0afb9bcb860a1f3d = function ( arg0 , arg1 ) {
console . warn ( getStringFromWasm0 ( arg0 , arg1 ) ) ;
} ;
imports . wbg . _ _wbg _info _535f0260b8502756 = function ( arg0 , arg1 ) {
console . info ( getStringFromWasm0 ( arg0 , arg1 ) ) ;
} ;
imports . wbg . _ _wbg _debug _87e2d37683933102 = function ( arg0 , arg1 ) {
console . debug ( getStringFromWasm0 ( arg0 , arg1 ) ) ;
} ;
imports . wbg . _ _wbindgen _in = function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) in getObject ( arg1 ) ;
return ret ;
} ;
imports . wbg . _ _wbindgen _is _undefined = function ( arg0 ) {
const ret = getObject ( arg0 ) === undefined ;
return ret ;
} ;
2024-08-21 22:52:51 +02:00
imports . wbg . _ _wbg _error _37b69239d602b3ae = function ( arg0 , arg1 ) {
let deferred0 _0 ;
let deferred0 _1 ;
try {
deferred0 _0 = arg0 ;
deferred0 _1 = arg1 ;
console . error ( getStringFromWasm0 ( arg0 , arg1 ) ) ;
} finally {
wasm . _ _wbindgen _free ( deferred0 _0 , deferred0 _1 , 1 ) ;
}
} ;
imports . wbg . _ _wbg _new _f088d03d4e309c96 = function ( ) {
const ret = new Error ( ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _stack _b539686b1a859f8c = function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . stack ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbg _queueMicrotask _4d890031a6a5a50c = function ( arg0 ) {
queueMicrotask ( getObject ( arg0 ) ) ;
} ;
imports . wbg . _ _wbg _queueMicrotask _adae4bc085237231 = function ( arg0 ) {
const ret = getObject ( arg0 ) . queueMicrotask ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _performance _eeefc685c9bc38b4 = function ( arg0 ) {
const ret = getObject ( arg0 ) . performance ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _now _e0d8ec93dd25766a = function ( arg0 ) {
const ret = getObject ( arg0 ) . now ( ) ;
return ret ;
} ;
imports . wbg . _ _wbindgen _boolean _get = function ( arg0 ) {
const v = getObject ( arg0 ) ;
const ret = typeof ( v ) === 'boolean' ? ( v ? 1 : 0 ) : 2 ;
return ret ;
} ;
imports . wbg . _ _wbindgen _number _get = function ( arg0 , arg1 ) {
const obj = getObject ( arg1 ) ;
const ret = typeof ( obj ) === 'number' ? obj : undefined ;
getFloat64Memory0 ( ) [ arg0 / 8 + 1 ] = isLikeNone ( ret ) ? 0 : ret ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ! isLikeNone ( ret ) ;
} ;
imports . wbg . _ _wbg _instanceof _WebGl2RenderingContext _2a0a9b7be3acc66a = function ( arg0 ) {
let result ;
try {
result = getObject ( arg0 ) instanceof WebGL2RenderingContext ;
} catch ( _ ) {
result = false ;
}
const ret = result ;
return ret ;
} ;
imports . wbg . _ _wbg _bindVertexArray _7b37e9d04dfd27d9 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . bindVertexArray ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _bufferData _a05a44a5492e757f = function ( arg0 , arg1 , arg2 , arg3 ) {
getObject ( arg0 ) . bufferData ( arg1 >>> 0 , getObject ( arg2 ) , arg3 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _createVertexArray _7466a685c3b93a65 = function ( arg0 ) {
const ret = getObject ( arg0 ) . createVertexArray ( ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _texImage2D _7900fb999e467869 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8 , arg9 ) {
getObject ( arg0 ) . texImage2D ( arg1 >>> 0 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 >>> 0 , arg8 >>> 0 , getObject ( arg9 ) ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _texSubImage2D _be9f61a79f57b819 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8 , arg9 ) {
getObject ( arg0 ) . texSubImage2D ( arg1 >>> 0 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 >>> 0 , arg8 >>> 0 , getObject ( arg9 ) ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _texSubImage2D _8694c2fdf6ffae77 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8 , arg9 ) {
getObject ( arg0 ) . texSubImage2D ( arg1 >>> 0 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 >>> 0 , arg8 >>> 0 , arg9 ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _activeTexture _713ce7d3e753740f = function ( arg0 , arg1 ) {
getObject ( arg0 ) . activeTexture ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _attachShader _184a61d345c20d42 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . attachShader ( getObject ( arg1 ) , getObject ( arg2 ) ) ;
} ;
imports . wbg . _ _wbg _bindBuffer _a0055fe364603e72 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . bindBuffer ( arg1 >>> 0 , getObject ( arg2 ) ) ;
} ;
imports . wbg . _ _wbg _bindTexture _ba764bb08be120f7 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . bindTexture ( arg1 >>> 0 , getObject ( arg2 ) ) ;
} ;
imports . wbg . _ _wbg _blendEquationSeparate _821c15a65234ac9e = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . blendEquationSeparate ( arg1 >>> 0 , arg2 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _blendFuncSeparate _285a70ec8276ccab = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . blendFuncSeparate ( arg1 >>> 0 , arg2 >>> 0 , arg3 >>> 0 , arg4 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _clear _1621e0405dedb722 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . clear ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _clearColor _0b26e6b243b514b3 = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . clearColor ( arg1 , arg2 , arg3 , arg4 ) ;
} ;
imports . wbg . _ _wbg _colorMask _048d9f7d86363300 = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . colorMask ( arg1 !== 0 , arg2 !== 0 , arg3 !== 0 , arg4 !== 0 ) ;
} ;
imports . wbg . _ _wbg _compileShader _710b082356f5014b = function ( arg0 , arg1 ) {
getObject ( arg0 ) . compileShader ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _createBuffer _210de590ff501232 = function ( arg0 ) {
const ret = getObject ( arg0 ) . createBuffer ( ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _createProgram _36349c11c5d787f1 = function ( arg0 ) {
const ret = getObject ( arg0 ) . createProgram ( ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _createShader _a56f470ffa1c92a5 = function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . createShader ( arg1 >>> 0 ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _createTexture _0a5d95233724c9fb = function ( arg0 ) {
const ret = getObject ( arg0 ) . createTexture ( ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _deleteBuffer _3129e4f30c465a14 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . deleteBuffer ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _deleteProgram _100d1c04b7f0f6ee = function ( arg0 , arg1 ) {
getObject ( arg0 ) . deleteProgram ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _deleteShader _40389978f329df9f = function ( arg0 , arg1 ) {
getObject ( arg0 ) . deleteShader ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _deleteTexture _ad998c535ddaaf67 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . deleteTexture ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _detachShader _297dda80dd5f185f = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . detachShader ( getObject ( arg1 ) , getObject ( arg2 ) ) ;
} ;
imports . wbg . _ _wbg _disable _483aff0769a6f791 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . disable ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _disableVertexAttribArray _0c9e77abfba9ee15 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . disableVertexAttribArray ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _drawElements _b5d8be50bbd1221c = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . drawElements ( arg1 >>> 0 , arg2 , arg3 >>> 0 , arg4 ) ;
} ;
imports . wbg . _ _wbg _enable _c5caba1636ec3c96 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . enable ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _enableVertexAttribArray _0424d3842911d8b6 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . enableVertexAttribArray ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _getAttribLocation _7d1c430e776fec76 = function ( arg0 , arg1 , arg2 , arg3 ) {
const ret = getObject ( arg0 ) . getAttribLocation ( getObject ( arg1 ) , getStringFromWasm0 ( arg2 , arg3 ) ) ;
return ret ;
} ;
imports . wbg . _ _wbg _getError _2a7bd3d31e0d4a22 = function ( arg0 ) {
const ret = getObject ( arg0 ) . getError ( ) ;
return ret ;
} ;
imports . wbg . _ _wbg _getExtension _b32d1f4b44a2464b = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . getExtension ( getStringFromWasm0 ( arg1 , arg2 ) ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _getParameter _92e1c06daec0a5db = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . getParameter ( arg1 >>> 0 ) ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _getProgramInfoLog _5caeb981d27a790c = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg1 ) . getProgramInfoLog ( getObject ( arg2 ) ) ;
var ptr1 = isLikeNone ( ret ) ? 0 : passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
var len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbg _getProgramParameter _69a29687a127f713 = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . getProgramParameter ( getObject ( arg1 ) , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _getShaderInfoLog _e78ccbd4507b9d0c = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg1 ) . getShaderInfoLog ( getObject ( arg2 ) ) ;
var ptr1 = isLikeNone ( ret ) ? 0 : passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
var len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbg _getShaderParameter _033044aa2910ba65 = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . getShaderParameter ( getObject ( arg1 ) , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _getSupportedExtensions _24ca3063e6cb52dc = function ( arg0 ) {
const ret = getObject ( arg0 ) . getSupportedExtensions ( ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _getUniformLocation _50b6838495678a49 = function ( arg0 , arg1 , arg2 , arg3 ) {
const ret = getObject ( arg0 ) . getUniformLocation ( getObject ( arg1 ) , getStringFromWasm0 ( arg2 , arg3 ) ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _linkProgram _79a9e7719a86a93e = function ( arg0 , arg1 ) {
getObject ( arg0 ) . linkProgram ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _pixelStorei _b4b6c5d89e9b5f96 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . pixelStorei ( arg1 >>> 0 , arg2 ) ;
} ;
imports . wbg . _ _wbg _scissor _c1bf95c48721deac = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . scissor ( arg1 , arg2 , arg3 , arg4 ) ;
} ;
imports . wbg . _ _wbg _shaderSource _f58b7f19ccf7f292 = function ( arg0 , arg1 , arg2 , arg3 ) {
getObject ( arg0 ) . shaderSource ( getObject ( arg1 ) , getStringFromWasm0 ( arg2 , arg3 ) ) ;
} ;
imports . wbg . _ _wbg _texParameteri _31d32c2b86548f8e = function ( arg0 , arg1 , arg2 , arg3 ) {
getObject ( arg0 ) . texParameteri ( arg1 >>> 0 , arg2 >>> 0 , arg3 ) ;
} ;
imports . wbg . _ _wbg _uniform1i _a949331c579124f5 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . uniform1i ( getObject ( arg1 ) , arg2 ) ;
} ;
imports . wbg . _ _wbg _uniform2f _3ecad549d55491f1 = function ( arg0 , arg1 , arg2 , arg3 ) {
getObject ( arg0 ) . uniform2f ( getObject ( arg1 ) , arg2 , arg3 ) ;
} ;
imports . wbg . _ _wbg _useProgram _45855699f032d49a = function ( arg0 , arg1 ) {
getObject ( arg0 ) . useProgram ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _vertexAttribPointer _7be57c972fbee1d0 = function ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 ) {
getObject ( arg0 ) . vertexAttribPointer ( arg1 >>> 0 , arg2 , arg3 >>> 0 , arg4 !== 0 , arg5 , arg6 ) ;
} ;
imports . wbg . _ _wbg _viewport _146f8499414eebc9 = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . viewport ( arg1 , arg2 , arg3 , arg4 ) ;
} ;
imports . wbg . _ _wbg _instanceof _Window _3e5cd1f48c152d01 = function ( arg0 ) {
let result ;
try {
result = getObject ( arg0 ) instanceof Window ;
} catch ( _ ) {
result = false ;
}
const ret = result ;
return ret ;
} ;
imports . wbg . _ _wbg _document _d609202d16c38224 = function ( arg0 ) {
const ret = getObject ( arg0 ) . document ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _location _176c34e89c2c9d80 = function ( arg0 ) {
const ret = getObject ( arg0 ) . location ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _navigator _96ba491902f8f083 = function ( arg0 ) {
const ret = getObject ( arg0 ) . navigator ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _devicePixelRatio _964a528c661f5575 = function ( arg0 ) {
const ret = getObject ( arg0 ) . devicePixelRatio ;
return ret ;
} ;
imports . wbg . _ _wbg _localStorage _8c507fd281456944 = function ( ) { return handleError ( function ( arg0 ) {
const ret = getObject ( arg0 ) . localStorage ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _performance _43f012c27bf6b283 = function ( arg0 ) {
const ret = getObject ( arg0 ) . performance ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _isSecureContext _4d5c40709f7f7559 = function ( arg0 ) {
const ret = getObject ( arg0 ) . isSecureContext ;
return ret ;
} ;
imports . wbg . _ _wbg _getComputedStyle _5143a3b6268394db = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . getComputedStyle ( getObject ( arg1 ) ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _matchMedia _7fbd33cb577fe4ad = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . matchMedia ( getStringFromWasm0 ( arg1 , arg2 ) ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _open _1526872b77d837c5 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
const ret = getObject ( arg0 ) . open ( getStringFromWasm0 ( arg1 , arg2 ) , getStringFromWasm0 ( arg3 , arg4 ) ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _cancelAnimationFrame _cb9c6f65eaa83d76 = function ( ) { return handleError ( function ( arg0 , arg1 ) {
getObject ( arg0 ) . cancelAnimationFrame ( arg1 ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _requestAnimationFrame _74309aadebde12fa = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . requestAnimationFrame ( getObject ( arg1 ) ) ;
return ret ;
} , arguments ) } ;
imports . wbg . _ _wbg _clearInterval _d246e34afa42bd5b = function ( arg0 , arg1 ) {
getObject ( arg0 ) . clearInterval ( arg1 ) ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _body _64abc9aba1891e91 = function ( arg0 ) {
const ret = getObject ( arg0 ) . body ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _activeElement _4faa878955c33f98 = function ( arg0 ) {
const ret = getObject ( arg0 ) . activeElement ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _createElement _fdd5c113cb84539e = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . createElement ( getStringFromWasm0 ( arg1 , arg2 ) ) ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _getElementById _65b9547a428b5eb4 = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . getElementById ( getStringFromWasm0 ( arg1 , arg2 ) ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
2024-08-21 22:52:51 +02:00
imports . wbg . _ _wbg _instanceof _Element _3f326a19cc457941 = function ( arg0 ) {
let result ;
try {
result = getObject ( arg0 ) instanceof Element ;
} catch ( _ ) {
result = false ;
}
const ret = result ;
return ret ;
} ;
imports . wbg . _ _wbg _id _ba8ed2468700af37 = function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . id ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbg _setinnerHTML _ce0d6527ce4086f2 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . innerHTML = getStringFromWasm0 ( arg1 , arg2 ) ;
} ;
imports . wbg . _ _wbg _getBoundingClientRect _4167ccfa40cf88fc = function ( arg0 ) {
const ret = getObject ( arg0 ) . getBoundingClientRect ( ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _remove _0d26d36fd4f25c4e = function ( arg0 ) {
getObject ( arg0 ) . remove ( ) ;
} ;
imports . wbg . _ _wbg _settabIndex _074658c89319b636 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . tabIndex = arg1 ;
} ;
imports . wbg . _ _wbg _style _97c680a5cbdf49cd = function ( arg0 ) {
const ret = getObject ( arg0 ) . style ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _blur _0f6854a1635dce70 = function ( ) { return handleError ( function ( arg0 ) {
getObject ( arg0 ) . blur ( ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _focus _6d3d2b6776d06f7f = function ( ) { return handleError ( function ( arg0 ) {
getObject ( arg0 ) . focus ( ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _instanceof _WebGlRenderingContext _275e63499db8b412 = function ( arg0 ) {
let result ;
try {
result = getObject ( arg0 ) instanceof WebGLRenderingContext ;
} catch ( _ ) {
result = false ;
}
const ret = result ;
return ret ;
} ;
imports . wbg . _ _wbg _bufferData _11f5ff31cb447750 = function ( arg0 , arg1 , arg2 , arg3 ) {
getObject ( arg0 ) . bufferData ( arg1 >>> 0 , getObject ( arg2 ) , arg3 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _texImage2D _50acf334022f586d = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8 , arg9 ) {
getObject ( arg0 ) . texImage2D ( arg1 >>> 0 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 >>> 0 , arg8 >>> 0 , getObject ( arg9 ) ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _texSubImage2D _1b4def2ea95bfb31 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8 , arg9 ) {
getObject ( arg0 ) . texSubImage2D ( arg1 >>> 0 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 >>> 0 , arg8 >>> 0 , getObject ( arg9 ) ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _activeTexture _123afbbc8970fe31 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . activeTexture ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _attachShader _289e2f1d24149257 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . attachShader ( getObject ( arg1 ) , getObject ( arg2 ) ) ;
} ;
imports . wbg . _ _wbg _bindBuffer _c71ed62c7c21bed0 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . bindBuffer ( arg1 >>> 0 , getObject ( arg2 ) ) ;
} ;
imports . wbg . _ _wbg _bindTexture _df13ba7e7ee5d984 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . bindTexture ( arg1 >>> 0 , getObject ( arg2 ) ) ;
} ;
imports . wbg . _ _wbg _blendEquationSeparate _68fd537772dc05eb = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . blendEquationSeparate ( arg1 >>> 0 , arg2 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _blendFuncSeparate _c3c9b0213697920c = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . blendFuncSeparate ( arg1 >>> 0 , arg2 >>> 0 , arg3 >>> 0 , arg4 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _clear _5e252567fe8f1763 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . clear ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _clearColor _253d33d2ea420d1a = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . clearColor ( arg1 , arg2 , arg3 , arg4 ) ;
} ;
imports . wbg . _ _wbg _colorMask _ee95cb90b5399c1d = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . colorMask ( arg1 !== 0 , arg2 !== 0 , arg3 !== 0 , arg4 !== 0 ) ;
} ;
imports . wbg . _ _wbg _compileShader _df38c9b4d109df2c = function ( arg0 , arg1 ) {
getObject ( arg0 ) . compileShader ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _createBuffer _993ecd2e92aabe3c = function ( arg0 ) {
const ret = getObject ( arg0 ) . createBuffer ( ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _createProgram _76ddcf5596a96a1a = function ( arg0 ) {
const ret = getObject ( arg0 ) . createProgram ( ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _createShader _25391a4dceb30291 = function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . createShader ( arg1 >>> 0 ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _createTexture _fc71efc6d11fdbcb = function ( arg0 ) {
const ret = getObject ( arg0 ) . createTexture ( ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _deleteBuffer _f4994a64cdd473a3 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . deleteBuffer ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _deleteProgram _ffe51c2159e56aeb = function ( arg0 , arg1 ) {
getObject ( arg0 ) . deleteProgram ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _deleteShader _c10a3e2a689f8115 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . deleteShader ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _deleteTexture _b8458a96b71a0a04 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . deleteTexture ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _detachShader _bef8220f8d13b6f7 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . detachShader ( getObject ( arg1 ) , getObject ( arg2 ) ) ;
} ;
imports . wbg . _ _wbg _disable _8938e1da156fa7d9 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . disable ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _disableVertexAttribArray _b196e82af1f9e794 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . disableVertexAttribArray ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _drawElements _44afd9c142d1e01f = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . drawElements ( arg1 >>> 0 , arg2 , arg3 >>> 0 , arg4 ) ;
} ;
imports . wbg . _ _wbg _enable _e39f53a946b9e3a0 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . enable ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _enableVertexAttribArray _f8678d164c294659 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . enableVertexAttribArray ( arg1 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _getAttribLocation _b08751ecb11d328d = function ( arg0 , arg1 , arg2 , arg3 ) {
const ret = getObject ( arg0 ) . getAttribLocation ( getObject ( arg1 ) , getStringFromWasm0 ( arg2 , arg3 ) ) ;
return ret ;
} ;
imports . wbg . _ _wbg _getError _33ddd6622c984b78 = function ( arg0 ) {
const ret = getObject ( arg0 ) . getError ( ) ;
return ret ;
} ;
imports . wbg . _ _wbg _getExtension _f109da65b46fbeb8 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . getExtension ( getStringFromWasm0 ( arg1 , arg2 ) ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _getParameter _fedfba9017d5fbcd = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . getParameter ( arg1 >>> 0 ) ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _getProgramInfoLog _99334d62bea10332 = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg1 ) . getProgramInfoLog ( getObject ( arg2 ) ) ;
var ptr1 = isLikeNone ( ret ) ? 0 : passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
var len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbg _getProgramParameter _ac16a850d3f251f3 = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . getProgramParameter ( getObject ( arg1 ) , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _getShaderInfoLog _207d91c9201acffa = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg1 ) . getShaderInfoLog ( getObject ( arg2 ) ) ;
var ptr1 = isLikeNone ( ret ) ? 0 : passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
var len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbg _getShaderParameter _d5af258ca8110f13 = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . getShaderParameter ( getObject ( arg1 ) , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _getSupportedExtensions _4b8ded535a18e392 = function ( arg0 ) {
const ret = getObject ( arg0 ) . getSupportedExtensions ( ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _getUniformLocation _29cc1018d110f9f0 = function ( arg0 , arg1 , arg2 , arg3 ) {
const ret = getObject ( arg0 ) . getUniformLocation ( getObject ( arg1 ) , getStringFromWasm0 ( arg2 , arg3 ) ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _linkProgram _1ab5d0990c565f87 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . linkProgram ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _pixelStorei _48bb580e625ac760 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . pixelStorei ( arg1 >>> 0 , arg2 ) ;
} ;
imports . wbg . _ _wbg _scissor _6691dacd4ecb8e80 = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . scissor ( arg1 , arg2 , arg3 , arg4 ) ;
} ;
imports . wbg . _ _wbg _shaderSource _8581035b723a56a7 = function ( arg0 , arg1 , arg2 , arg3 ) {
getObject ( arg0 ) . shaderSource ( getObject ( arg1 ) , getStringFromWasm0 ( arg2 , arg3 ) ) ;
} ;
imports . wbg . _ _wbg _texParameteri _fba016345d388fd9 = function ( arg0 , arg1 , arg2 , arg3 ) {
getObject ( arg0 ) . texParameteri ( arg1 >>> 0 , arg2 >>> 0 , arg3 ) ;
} ;
imports . wbg . _ _wbg _uniform1i _59bbe75ef84036ac = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . uniform1i ( getObject ( arg1 ) , arg2 ) ;
} ;
imports . wbg . _ _wbg _uniform2f _07d7d700bb962bb6 = function ( arg0 , arg1 , arg2 , arg3 ) {
getObject ( arg0 ) . uniform2f ( getObject ( arg1 ) , arg2 , arg3 ) ;
} ;
imports . wbg . _ _wbg _useProgram _667ebfb0fb0de4c0 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . useProgram ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _vertexAttribPointer _1241d48b9272fc9d = function ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 ) {
getObject ( arg0 ) . vertexAttribPointer ( arg1 >>> 0 , arg2 , arg3 >>> 0 , arg4 !== 0 , arg5 , arg6 ) ;
} ;
imports . wbg . _ _wbg _viewport _2464c396536924a3 = function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . viewport ( arg1 , arg2 , arg3 , arg4 ) ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _getPropertyValue _408b6ca56fae682f = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 ) {
const ret = getObject ( arg1 ) . getPropertyValue ( getStringFromWasm0 ( arg2 , arg3 ) ) ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
imports . wbg . _ _wbg _setProperty _ecf331459a4d3891 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . setProperty ( getStringFromWasm0 ( arg1 , arg2 ) , getStringFromWasm0 ( arg3 , arg4 ) ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _addEventListener _9bf60ea8a362e5e4 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 ) {
getObject ( arg0 ) . addEventListener ( getStringFromWasm0 ( arg1 , arg2 ) , getObject ( arg3 ) ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _removeEventListener _66ee1536a0b32c11 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 ) {
getObject ( arg0 ) . removeEventListener ( getStringFromWasm0 ( arg1 , arg2 ) , getObject ( arg3 ) ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _href _160af2ae1328d7b7 = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . href ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
imports . wbg . _ _wbg _origin _595edc88be6e66b8 = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . origin ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
imports . wbg . _ _wbg _protocol _51a4e630fff75abb = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . protocol ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
imports . wbg . _ _wbg _host _793ff88f2063bc10 = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . host ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
imports . wbg . _ _wbg _hostname _6a864c6261102cc7 = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . hostname ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
imports . wbg . _ _wbg _port _715b7b0dc92c5688 = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . port ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
imports . wbg . _ _wbg _search _9f7ca8896c2d0804 = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . search ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
imports . wbg . _ _wbg _hash _be2940ca236b5efc = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . hash ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
imports . wbg . _ _wbg _new _5ed51bb96391a5f0 = function ( ) { return handleError ( function ( arg0 ) {
const ret = new ResizeObserver ( getObject ( arg0 ) ) ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _disconnect _c3d9bc2e0432cc88 = function ( arg0 ) {
getObject ( arg0 ) . disconnect ( ) ;
2024-08-21 22:52:51 +02:00
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _observe _d77ba7c3e8862dc1 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . observe ( getObject ( arg1 ) , getObject ( arg2 ) ) ;
2024-08-21 22:52:51 +02:00
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _size _5c0f6bdb97c23ee9 = function ( arg0 ) {
const ret = getObject ( arg0 ) . size ;
return ret ;
} ;
imports . wbg . _ _wbg _type _7c5cca016a153969 = function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . type ;
2024-08-21 22:52:51 +02:00
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _arrayBuffer _a9d862b05aaee2f9 = function ( arg0 ) {
const ret = getObject ( arg0 ) . arrayBuffer ( ) ;
return addHeapObject ( ret ) ;
2024-08-21 22:52:51 +02:00
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _items _ebb6335fa98edc22 = function ( arg0 ) {
const ret = getObject ( arg0 ) . items ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _files _3defd8db0f04ee46 = function ( arg0 ) {
const ret = getObject ( arg0 ) . files ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _getData _9bb88de49d7a730d = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 ) {
const ret = getObject ( arg1 ) . getData ( getStringFromWasm0 ( arg2 , arg3 ) ) ;
2024-08-21 22:52:51 +02:00
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _width _ed767d067be03f5d = function ( arg0 ) {
const ret = getObject ( arg0 ) . width ;
2024-08-21 22:52:51 +02:00
return ret ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _height _89ae7cde2b7913cd = function ( arg0 ) {
const ret = getObject ( arg0 ) . height ;
2024-08-21 22:52:51 +02:00
return ret ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _top _da9f6cf2fb5b9968 = function ( arg0 ) {
const ret = getObject ( arg0 ) . top ;
2024-08-21 22:52:51 +02:00
return ret ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _right _6009c696fb0ca5b0 = function ( arg0 ) {
const ret = getObject ( arg0 ) . right ;
return ret ;
} ;
imports . wbg . _ _wbg _bottom _868db25842d5be38 = function ( arg0 ) {
const ret = getObject ( arg0 ) . bottom ;
return ret ;
} ;
imports . wbg . _ _wbg _left _253905e6c5050382 = function ( arg0 ) {
const ret = getObject ( arg0 ) . left ;
return ret ;
} ;
imports . wbg . _ _wbg _preventDefault _7f821f72e7c6b5d4 = function ( arg0 ) {
getObject ( arg0 ) . preventDefault ( ) ;
} ;
imports . wbg . _ _wbg _stopPropagation _b7a931152e09c2ab = function ( arg0 ) {
getObject ( arg0 ) . stopPropagation ( ) ;
} ;
imports . wbg . _ _wbg _matches _9502c0f8ac0be969 = function ( arg0 ) {
const ret = getObject ( arg0 ) . matches ;
2024-08-21 22:52:51 +02:00
return ret ;
} ;
imports . wbg . _ _wbg _clientX _1a01963cb1caa614 = function ( arg0 ) {
const ret = getObject ( arg0 ) . clientX ;
return ret ;
} ;
imports . wbg . _ _wbg _clientY _c370190d4150fba9 = function ( arg0 ) {
const ret = getObject ( arg0 ) . clientY ;
return ret ;
} ;
imports . wbg . _ _wbg _ctrlKey _643b17aaac67db50 = function ( arg0 ) {
const ret = getObject ( arg0 ) . ctrlKey ;
return ret ;
} ;
imports . wbg . _ _wbg _shiftKey _8fb7301f56e7e01c = function ( arg0 ) {
const ret = getObject ( arg0 ) . shiftKey ;
return ret ;
} ;
imports . wbg . _ _wbg _altKey _c6c2a7e797d9a669 = function ( arg0 ) {
const ret = getObject ( arg0 ) . altKey ;
return ret ;
} ;
imports . wbg . _ _wbg _metaKey _2a8dbd51a3f59e9c = function ( arg0 ) {
const ret = getObject ( arg0 ) . metaKey ;
return ret ;
} ;
imports . wbg . _ _wbg _button _cd87b6dabbde9631 = function ( arg0 ) {
const ret = getObject ( arg0 ) . button ;
return ret ;
} ;
imports . wbg . _ _wbg _identifier _8939f89f50c8fa6b = function ( arg0 ) {
const ret = getObject ( arg0 ) . identifier ;
return ret ;
} ;
imports . wbg . _ _wbg _clientX _fefe056975b5921c = function ( arg0 ) {
const ret = getObject ( arg0 ) . clientX ;
return ret ;
} ;
imports . wbg . _ _wbg _clientY _811d2153b4dbd9f9 = function ( arg0 ) {
const ret = getObject ( arg0 ) . clientY ;
return ret ;
} ;
imports . wbg . _ _wbg _force _c9599f2fa4a04bc2 = function ( arg0 ) {
const ret = getObject ( arg0 ) . force ;
return ret ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _appendChild _d30e6b83791d04c0 = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . appendChild ( getObject ( arg1 ) ) ;
2024-08-21 22:52:51 +02:00
return addHeapObject ( ret ) ;
} , arguments ) } ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _getItem _5395a7e200c31e89 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 ) {
const ret = getObject ( arg1 ) . getItem ( getStringFromWasm0 ( arg2 , arg3 ) ) ;
var ptr1 = isLikeNone ( ret ) ? 0 : passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
var len1 = WASM _VECTOR _LEN ;
2024-08-21 22:52:51 +02:00
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _setItem _3786c4c8dd0c9bd0 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 , arg3 , arg4 ) {
getObject ( arg0 ) . setItem ( getStringFromWasm0 ( arg1 , arg2 ) , getStringFromWasm0 ( arg3 , arg4 ) ) ;
2024-08-21 22:52:51 +02:00
} , arguments ) } ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _clipboardData _e265cdf86dee361a = function ( arg0 ) {
const ret = getObject ( arg0 ) . clipboardData ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
2024-08-21 22:52:51 +02:00
} ;
imports . wbg . _ _wbg _data _5d89389455680c67 = function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . data ;
var ptr1 = isLikeNone ( ret ) ? 0 : passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
var len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _isComposing _b0160c9b6d175eb7 = function ( arg0 ) {
const ret = getObject ( arg0 ) . isComposing ;
2024-08-21 22:52:51 +02:00
return ret ;
} ;
imports . wbg . _ _wbg _length _9c0dd0075317fa21 = function ( arg0 ) {
const ret = getObject ( arg0 ) . length ;
return ret ;
} ;
imports . wbg . _ _wbg _item _828cbc1b99e68116 = function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . item ( arg1 >>> 0 ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _get _7398eda896ed301e = function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) [ arg1 >>> 0 ] ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _length _19f098aef166f1f1 = function ( arg0 ) {
const ret = getObject ( arg0 ) . length ;
2024-08-21 22:52:51 +02:00
return ret ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _get _9243b518e58464da = function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) [ arg1 >>> 0 ] ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
2024-08-21 22:52:51 +02:00
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _instanceof _HtmlInputElement _e7869aaef9cbb0e6 = function ( arg0 ) {
2024-08-21 22:52:51 +02:00
let result ;
try {
2024-08-30 21:35:20 +02:00
result = getObject ( arg0 ) instanceof HTMLInputElement ;
2024-08-21 22:52:51 +02:00
} catch ( _ ) {
result = false ;
}
const ret = result ;
return ret ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _settype _e14774f24df5f349 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . type = getStringFromWasm0 ( arg1 , arg2 ) ;
2024-08-21 22:52:51 +02:00
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _value _e024243a9dae20bc = function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . value ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
2024-08-21 22:52:51 +02:00
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _setvalue _5b3442ff620b4a5d = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . value = getStringFromWasm0 ( arg1 , arg2 ) ;
2024-08-21 22:52:51 +02:00
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _writeText _ff00236e4aca4201 = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . writeText ( getStringFromWasm0 ( arg1 , arg2 ) ) ;
return addHeapObject ( ret ) ;
2024-08-21 22:52:51 +02:00
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _dataTransfer _86945596a7c803c5 = function ( arg0 ) {
const ret = getObject ( arg0 ) . dataTransfer ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
2024-08-21 22:52:51 +02:00
} ;
imports . wbg . _ _wbg _name _bbf9c43b9611377a = function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . name ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbg _lastModified _435cb62cf983296f = function ( arg0 ) {
const ret = getObject ( arg0 ) . lastModified ;
return ret ;
} ;
imports . wbg . _ _wbg _clipboard _45ab59b632e2c484 = function ( arg0 ) {
const ret = getObject ( arg0 ) . clipboard ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _userAgent _569b1cd728f0086d = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . userAgent ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} , arguments ) } ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _instanceof _ResizeObserverSize _c53707307bd4c403 = function ( arg0 ) {
let result ;
try {
result = getObject ( arg0 ) instanceof ResizeObserverSize ;
} catch ( _ ) {
result = false ;
}
const ret = result ;
return ret ;
} ;
imports . wbg . _ _wbg _inlineSize _1b33971efe2410df = function ( arg0 ) {
const ret = getObject ( arg0 ) . inlineSize ;
return ret ;
} ;
imports . wbg . _ _wbg _blockSize _e463e65a7f53bee8 = function ( arg0 ) {
const ret = getObject ( arg0 ) . blockSize ;
return ret ;
} ;
2024-08-21 22:52:51 +02:00
imports . wbg . _ _wbg _instanceof _ResizeObserverEntry _61c5f783b66151a9 = function ( arg0 ) {
let result ;
try {
result = getObject ( arg0 ) instanceof ResizeObserverEntry ;
} catch ( _ ) {
result = false ;
}
const ret = result ;
return ret ;
} ;
imports . wbg . _ _wbg _contentRect _a85fd1edd9df667c = function ( arg0 ) {
const ret = getObject ( arg0 ) . contentRect ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _contentBoxSize _9f809fbb15bf99c1 = function ( arg0 ) {
const ret = getObject ( arg0 ) . contentBoxSize ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _devicePixelContentBoxSize _2180a9af06aefa47 = function ( arg0 ) {
const ret = getObject ( arg0 ) . devicePixelContentBoxSize ;
return addHeapObject ( ret ) ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _instanceof _HtmlCanvasElement _fba0ac991170cc00 = function ( arg0 ) {
let result ;
try {
result = getObject ( arg0 ) instanceof HTMLCanvasElement ;
} catch ( _ ) {
result = false ;
}
const ret = result ;
return ret ;
} ;
imports . wbg . _ _wbg _width _cfc58d9656d60465 = function ( arg0 ) {
const ret = getObject ( arg0 ) . width ;
return ret ;
} ;
imports . wbg . _ _wbg _setwidth _7591ce24118fd14a = function ( arg0 , arg1 ) {
getObject ( arg0 ) . width = arg1 >>> 0 ;
} ;
imports . wbg . _ _wbg _height _1ba9072bd4001d19 = function ( arg0 ) {
const ret = getObject ( arg0 ) . height ;
return ret ;
} ;
imports . wbg . _ _wbg _setheight _f7ae862183d88bd5 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . height = arg1 >>> 0 ;
} ;
imports . wbg . _ _wbg _getContext _164dc98953ddbc68 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . getContext ( getStringFromWasm0 ( arg1 , arg2 ) ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _keyCode _48fe24f81bbcf215 = function ( arg0 ) {
const ret = getObject ( arg0 ) . keyCode ;
return ret ;
} ;
imports . wbg . _ _wbg _altKey _bf16cace6fb79198 = function ( arg0 ) {
const ret = getObject ( arg0 ) . altKey ;
return ret ;
} ;
imports . wbg . _ _wbg _ctrlKey _977280484bcead08 = function ( arg0 ) {
const ret = getObject ( arg0 ) . ctrlKey ;
return ret ;
} ;
imports . wbg . _ _wbg _shiftKey _55894418ec38c771 = function ( arg0 ) {
const ret = getObject ( arg0 ) . shiftKey ;
return ret ;
} ;
imports . wbg . _ _wbg _metaKey _16606958d932a374 = function ( arg0 ) {
const ret = getObject ( arg0 ) . metaKey ;
return ret ;
} ;
imports . wbg . _ _wbg _isComposing _c7e418f80e641f3b = function ( arg0 ) {
const ret = getObject ( arg0 ) . isComposing ;
return ret ;
} ;
imports . wbg . _ _wbg _key _cf8022c18f47869e = function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . key ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbg _bindVertexArrayOES _d0c90ddc7c6360d2 = function ( arg0 , arg1 ) {
getObject ( arg0 ) . bindVertexArrayOES ( getObject ( arg1 ) ) ;
} ;
imports . wbg . _ _wbg _createVertexArrayOES _528c4cd10c985d11 = function ( arg0 ) {
const ret = getObject ( arg0 ) . createVertexArrayOES ( ) ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _touches _87a0bcfa4c2fa447 = function ( arg0 ) {
const ret = getObject ( arg0 ) . touches ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _changedTouches _1032f6aefa8e23a6 = function ( arg0 ) {
const ret = getObject ( arg0 ) . changedTouches ;
2024-08-21 22:52:51 +02:00
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _type _97130f571e8d1d7c = function ( arg0 , arg1 ) {
const ret = getObject ( arg1 ) . type ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbg _length _c8f895dad5ec94df = function ( arg0 ) {
const ret = getObject ( arg0 ) . length ;
return ret ;
} ;
imports . wbg . _ _wbg _get _6756090dbec4b385 = function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) [ arg1 >>> 0 ] ;
return isLikeNone ( ret ) ? 0 : addHeapObject ( ret ) ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbg _matches _4cc0ff05af669dc3 = function ( arg0 ) {
const ret = getObject ( arg0 ) . matches ;
return ret ;
} ;
imports . wbg . _ _wbg _now _b724952e890dc703 = function ( arg0 ) {
const ret = getObject ( arg0 ) . now ( ) ;
return ret ;
} ;
imports . wbg . _ _wbg _deltaX _03d8f6dcd2e14b63 = function ( arg0 ) {
const ret = getObject ( arg0 ) . deltaX ;
return ret ;
} ;
imports . wbg . _ _wbg _deltaY _7d9a7eb25f83e193 = function ( arg0 ) {
const ret = getObject ( arg0 ) . deltaY ;
return ret ;
} ;
imports . wbg . _ _wbg _deltaMode _5f43eb63f3077df7 = function ( arg0 ) {
const ret = getObject ( arg0 ) . deltaMode ;
return ret ;
} ;
2024-08-21 22:52:51 +02:00
imports . wbg . _ _wbg _get _f01601b5a68d10e3 = function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) [ arg1 >>> 0 ] ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _length _1009b1af0c481d7b = function ( arg0 ) {
const ret = getObject ( arg0 ) . length ;
return ret ;
} ;
imports . wbg . _ _wbg _newnoargs _c62ea9419c21fbac = function ( arg0 , arg1 ) {
const ret = new Function ( getStringFromWasm0 ( arg0 , arg1 ) ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _call _90c26b09837aba1c = function ( ) { return handleError ( function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . call ( getObject ( arg1 ) ) ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _new _9fb8d994e1c0aaac = function ( ) {
const ret = new Object ( ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _self _f0e34d89f33b99fd = function ( ) { return handleError ( function ( ) {
const ret = self . self ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _window _d3b084224f4774d7 = function ( ) { return handleError ( function ( ) {
const ret = window . window ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _globalThis _9caa27ff917c6860 = function ( ) { return handleError ( function ( ) {
const ret = globalThis . globalThis ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _global _35dfdd59a4da3e74 = function ( ) { return handleError ( function ( ) {
const ret = global . global ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _at _52fa04dd29154681 = function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . at ( arg1 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _call _5da1969d7cd31ccd = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . call ( getObject ( arg1 ) , getObject ( arg2 ) ) ;
return addHeapObject ( ret ) ;
} , arguments ) } ;
imports . wbg . _ _wbg _is _ff7acd231c75c0e4 = function ( arg0 , arg1 ) {
const ret = Object . is ( getObject ( arg0 ) , getObject ( arg1 ) ) ;
return ret ;
} ;
imports . wbg . _ _wbg _resolve _6e1c6553a82f85b7 = function ( arg0 ) {
const ret = Promise . resolve ( getObject ( arg0 ) ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _then _3ab08cd4fbb91ae9 = function ( arg0 , arg1 ) {
const ret = getObject ( arg0 ) . then ( getObject ( arg1 ) ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _then _8371cc12cfedc5a2 = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . then ( getObject ( arg1 ) , getObject ( arg2 ) ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _buffer _a448f833075b71ba = function ( arg0 ) {
const ret = getObject ( arg0 ) . buffer ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _newwithbyteoffsetandlength _b2f5b737836be06b = function ( arg0 , arg1 , arg2 ) {
const ret = new Int8Array ( getObject ( arg0 ) , arg1 >>> 0 , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _newwithbyteoffsetandlength _c370f7b5f8986669 = function ( arg0 , arg1 , arg2 ) {
const ret = new Int16Array ( getObject ( arg0 ) , arg1 >>> 0 , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _newwithbyteoffsetandlength _be0a0b31d480f4b2 = function ( arg0 , arg1 , arg2 ) {
const ret = new Int32Array ( getObject ( arg0 ) , arg1 >>> 0 , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _newwithbyteoffsetandlength _d0482f893617af71 = function ( arg0 , arg1 , arg2 ) {
const ret = new Uint8Array ( getObject ( arg0 ) , arg1 >>> 0 , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _new _8f67e318f15d7254 = function ( arg0 ) {
const ret = new Uint8Array ( getObject ( arg0 ) ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _set _2357bf09366ee480 = function ( arg0 , arg1 , arg2 ) {
getObject ( arg0 ) . set ( getObject ( arg1 ) , arg2 >>> 0 ) ;
} ;
imports . wbg . _ _wbg _length _1d25fa9e4ac21ce7 = function ( arg0 ) {
const ret = getObject ( arg0 ) . length ;
return ret ;
} ;
imports . wbg . _ _wbg _newwithbyteoffsetandlength _099217381c451830 = function ( arg0 , arg1 , arg2 ) {
const ret = new Uint16Array ( getObject ( arg0 ) , arg1 >>> 0 , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _newwithbyteoffsetandlength _7a23ee7b263abe07 = function ( arg0 , arg1 , arg2 ) {
const ret = new Uint32Array ( getObject ( arg0 ) , arg1 >>> 0 , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _newwithbyteoffsetandlength _fa811509d2a67254 = function ( arg0 , arg1 , arg2 ) {
const ret = new Float32Array ( getObject ( arg0 ) , arg1 >>> 0 , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _newwithlength _6c2df9e2f3028c43 = function ( arg0 ) {
const ret = new Uint8Array ( arg0 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _subarray _2e940e41c0f5a1d9 = function ( arg0 , arg1 , arg2 ) {
const ret = getObject ( arg0 ) . subarray ( arg1 >>> 0 , arg2 >>> 0 ) ;
return addHeapObject ( ret ) ;
} ;
imports . wbg . _ _wbg _set _759f75cd92b612d2 = function ( ) { return handleError ( function ( arg0 , arg1 , arg2 ) {
const ret = Reflect . set ( getObject ( arg0 ) , getObject ( arg1 ) , getObject ( arg2 ) ) ;
return ret ;
} , arguments ) } ;
imports . wbg . _ _wbindgen _debug _string = function ( arg0 , arg1 ) {
const ret = debugString ( getObject ( arg1 ) ) ;
const ptr1 = passStringToWasm0 ( ret , wasm . _ _wbindgen _malloc , wasm . _ _wbindgen _realloc ) ;
const len1 = WASM _VECTOR _LEN ;
getInt32Memory0 ( ) [ arg0 / 4 + 1 ] = len1 ;
getInt32Memory0 ( ) [ arg0 / 4 + 0 ] = ptr1 ;
} ;
imports . wbg . _ _wbindgen _throw = function ( arg0 , arg1 ) {
throw new Error ( getStringFromWasm0 ( arg0 , arg1 ) ) ;
} ;
imports . wbg . _ _wbindgen _memory = function ( ) {
const ret = wasm . memory ;
return addHeapObject ( ret ) ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbindgen _closure _wrapper946 = function ( arg0 , arg1 , arg2 ) {
const ret = makeMutClosure ( arg0 , arg1 , 243 , _ _wbg _adapter _32 ) ;
2024-08-21 22:52:51 +02:00
return addHeapObject ( ret ) ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbindgen _closure _wrapper948 = function ( arg0 , arg1 , arg2 ) {
const ret = makeMutClosure ( arg0 , arg1 , 243 , _ _wbg _adapter _35 ) ;
2024-08-21 22:52:51 +02:00
return addHeapObject ( ret ) ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbindgen _closure _wrapper950 = function ( arg0 , arg1 , arg2 ) {
const ret = makeMutClosure ( arg0 , arg1 , 243 , _ _wbg _adapter _32 ) ;
2024-08-21 22:52:51 +02:00
return addHeapObject ( ret ) ;
} ;
2024-08-30 21:35:20 +02:00
imports . wbg . _ _wbindgen _closure _wrapper1046 = function ( arg0 , arg1 , arg2 ) {
const ret = makeMutClosure ( arg0 , arg1 , 270 , _ _wbg _adapter _40 ) ;
2024-08-21 22:52:51 +02:00
return addHeapObject ( ret ) ;
} ;
return imports ;
}
function _ _wbg _init _memory ( imports , maybe _memory ) {
}
function _ _wbg _finalize _init ( instance , module ) {
wasm = instance . exports ;
_ _wbg _init . _ _wbindgen _wasm _module = module ;
cachedFloat64Memory0 = null ;
cachedInt32Memory0 = null ;
cachedUint8Memory0 = null ;
wasm . _ _wbindgen _start ( ) ;
return wasm ;
}
function initSync ( module ) {
if ( wasm !== undefined ) return wasm ;
const imports = _ _wbg _get _imports ( ) ;
_ _wbg _init _memory ( imports ) ;
if ( ! ( module instanceof WebAssembly . Module ) ) {
module = new WebAssembly . Module ( module ) ;
}
const instance = new WebAssembly . Instance ( module , imports ) ;
return _ _wbg _finalize _init ( instance , module ) ;
}
async function _ _wbg _init ( input ) {
if ( wasm !== undefined ) return wasm ;
if ( typeof input === 'undefined' ) {
input = new URL ( 'egui_circles_bg.wasm' , import . meta . url ) ;
}
const imports = _ _wbg _get _imports ( ) ;
if ( typeof input === 'string' || ( typeof Request === 'function' && input instanceof Request ) || ( typeof URL === 'function' && input instanceof URL ) ) {
input = fetch ( input ) ;
}
_ _wbg _init _memory ( imports ) ;
const { instance , module } = await _ _wbg _load ( await input , imports ) ;
return _ _wbg _finalize _init ( instance , module ) ;
}
export { initSync }
export default _ _wbg _init ;