@php-wasm/node 1.2.3 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,8 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '8_3_23', 'php_8_3.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 32986917;
11
+ export const dependenciesTotalSize = 33145262;
12
+ const phpVersionString = '8.3.23';
12
13
  export function init(RuntimeName, PHPLoader) {
13
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
14
15
  // include: shell.js
@@ -830,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
830
831
  },
831
832
  };
832
833
 
833
- var ___heap_base = 14217728;
834
+ var ___heap_base = 15213312;
834
835
 
835
836
  var alignMemory = (size, alignment) => {
836
837
  return Math.ceil(size / alignment) * alignment;
@@ -994,7 +995,7 @@ export function init(RuntimeName, PHPLoader) {
994
995
 
995
996
  /** @type {WebAssembly.Table} */
996
997
  var wasmTable = new WebAssembly.Table({
997
- initial: 16017,
998
+ initial: 16130,
998
999
  element: 'anyfunc',
999
1000
  });
1000
1001
  var getWasmTableEntry = (funcPtr) => {
@@ -1773,10 +1774,8 @@ export function init(RuntimeName, PHPLoader) {
1773
1774
  );
1774
1775
 
1775
1776
  var ___call_sighandler = (fp, sig) =>
1776
- ((
1777
- a1
1778
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
1779
- sig
1777
+ ((a1) => {})(
1778
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ sig
1780
1779
  );
1781
1780
  ___call_sighandler.sig = 'vpi';
1782
1781
 
@@ -1855,13 +1854,13 @@ export function init(RuntimeName, PHPLoader) {
1855
1854
  1024
1856
1855
  );
1857
1856
 
1858
- var ___stack_high = 14217728;
1857
+ var ___stack_high = 15213312;
1859
1858
 
1860
- var ___stack_low = 14152192;
1859
+ var ___stack_low = 14164736;
1861
1860
 
1862
1861
  var ___stack_pointer = new WebAssembly.Global(
1863
1862
  { value: 'i32', mutable: true },
1864
- 14217728
1863
+ 15213312
1865
1864
  );
1866
1865
 
1867
1866
  var PATH = {
@@ -8792,11 +8791,8 @@ export function init(RuntimeName, PHPLoader) {
8792
8791
  dlSetError(`'Could not load dynamic lib: ${filename}\n${e}`);
8793
8792
  runtimeKeepalivePop();
8794
8793
  callUserCallback(() =>
8795
- ((
8796
- a1,
8797
- a2
8798
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
8799
- handle,
8794
+ ((a1, a2) => {})(
8795
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
8800
8796
  user_data
8801
8797
  )
8802
8798
  );
@@ -8804,11 +8800,8 @@ export function init(RuntimeName, PHPLoader) {
8804
8800
  function successCallback() {
8805
8801
  runtimeKeepalivePop();
8806
8802
  callUserCallback(() =>
8807
- ((
8808
- a1,
8809
- a2
8810
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
8811
- handle,
8803
+ ((a1, a2) => {})(
8804
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
8812
8805
  user_data
8813
8806
  )
8814
8807
  );
@@ -19478,11 +19471,8 @@ export function init(RuntimeName, PHPLoader) {
19478
19471
  var trace = getCallstack();
19479
19472
  var parts = trace.split('\n');
19480
19473
  for (var i = 0; i < parts.length; i++) {
19481
- var ret = ((
19482
- a1,
19483
- a2
19484
- ) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
19485
- 0,
19474
+ var ret = ((a1, a2) => {})(
19475
+ /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0,
19486
19476
  arg
19487
19477
  );
19488
19478
  if (ret !== 0) return;
@@ -19614,7 +19604,7 @@ export function init(RuntimeName, PHPLoader) {
19614
19604
 
19615
19605
  var addOnExit = (cb) => onExits.unshift(cb);
19616
19606
 
19617
- var STACK_SIZE = 65536;
19607
+ var STACK_SIZE = 1048576;
19618
19608
 
19619
19609
  var STACK_ALIGN = 16;
19620
19610
 
@@ -20058,12 +20048,8 @@ export function init(RuntimeName, PHPLoader) {
20058
20048
  stringToUTF8(e.locale || '', keyEventData + 128, 32);
20059
20049
 
20060
20050
  if (
20061
- ((
20062
- a1,
20063
- a2,
20064
- a3
20065
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20066
- eventTypeId,
20051
+ ((a1, a2, a3) => {})(
20052
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20067
20053
  keyEventData,
20068
20054
  userData
20069
20055
  )
@@ -20181,12 +20167,8 @@ export function init(RuntimeName, PHPLoader) {
20181
20167
  fillMouseEventData(JSEvents.mouseEvent, e, target);
20182
20168
 
20183
20169
  if (
20184
- ((
20185
- a1,
20186
- a2,
20187
- a3
20188
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20189
- eventTypeId,
20170
+ ((a1, a2, a3) => {})(
20171
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20190
20172
  JSEvents.mouseEvent,
20191
20173
  userData
20192
20174
  )
@@ -20400,12 +20382,8 @@ export function init(RuntimeName, PHPLoader) {
20400
20382
  HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
20401
20383
  HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
20402
20384
  if (
20403
- ((
20404
- a1,
20405
- a2,
20406
- a3
20407
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20408
- eventTypeId,
20385
+ ((a1, a2, a3) => {})(
20386
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20409
20387
  wheelEvent,
20410
20388
  userData
20411
20389
  )
@@ -20486,12 +20464,8 @@ export function init(RuntimeName, PHPLoader) {
20486
20464
  HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
20487
20465
  HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
20488
20466
  if (
20489
- ((
20490
- a1,
20491
- a2,
20492
- a3
20493
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20494
- eventTypeId,
20467
+ ((a1, a2, a3) => {})(
20468
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20495
20469
  uiEvent,
20496
20470
  userData
20497
20471
  )
@@ -20565,12 +20539,8 @@ export function init(RuntimeName, PHPLoader) {
20565
20539
  stringToUTF8(id, focusEvent + 128, 128);
20566
20540
 
20567
20541
  if (
20568
- ((
20569
- a1,
20570
- a2,
20571
- a3
20572
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20573
- eventTypeId,
20542
+ ((a1, a2, a3) => {})(
20543
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20574
20544
  focusEvent,
20575
20545
  userData
20576
20546
  )
@@ -20686,12 +20656,8 @@ export function init(RuntimeName, PHPLoader) {
20686
20656
  ); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
20687
20657
 
20688
20658
  if (
20689
- ((
20690
- a1,
20691
- a2,
20692
- a3
20693
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20694
- eventTypeId,
20659
+ ((a1, a2, a3) => {})(
20660
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20695
20661
  JSEvents.deviceOrientationEvent,
20696
20662
  userData
20697
20663
  )
@@ -20774,12 +20740,8 @@ export function init(RuntimeName, PHPLoader) {
20774
20740
  fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
20775
20741
 
20776
20742
  if (
20777
- ((
20778
- a1,
20779
- a2,
20780
- a3
20781
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20782
- eventTypeId,
20743
+ ((a1, a2, a3) => {})(
20744
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20783
20745
  JSEvents.deviceMotionEvent,
20784
20746
  userData
20785
20747
  )
@@ -20889,12 +20851,8 @@ export function init(RuntimeName, PHPLoader) {
20889
20851
  fillOrientationChangeEventData(orientationChangeEvent);
20890
20852
 
20891
20853
  if (
20892
- ((
20893
- a1,
20894
- a2,
20895
- a3
20896
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20897
- eventTypeId,
20854
+ ((a1, a2, a3) => {})(
20855
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20898
20856
  orientationChangeEvent,
20899
20857
  userData
20900
20858
  )
@@ -21027,12 +20985,8 @@ export function init(RuntimeName, PHPLoader) {
21027
20985
  fillFullscreenChangeEventData(fullscreenChangeEvent);
21028
20986
 
21029
20987
  if (
21030
- ((
21031
- a1,
21032
- a2,
21033
- a3
21034
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21035
- eventTypeId,
20988
+ ((a1, a2, a3) => {})(
20989
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21036
20990
  fullscreenChangeEvent,
21037
20991
  userData
21038
20992
  )
@@ -21196,12 +21150,8 @@ export function init(RuntimeName, PHPLoader) {
21196
21150
  );
21197
21151
 
21198
21152
  if (currentFullscreenStrategy.canvasResizedCallback) {
21199
- ((
21200
- a1,
21201
- a2,
21202
- a3
21203
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21204
- 37,
21153
+ ((a1, a2, a3) => {})(
21154
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21205
21155
  0,
21206
21156
  currentFullscreenStrategy.canvasResizedCallbackUserData
21207
21157
  );
@@ -21307,12 +21257,8 @@ export function init(RuntimeName, PHPLoader) {
21307
21257
  currentFullscreenStrategy = strategy;
21308
21258
 
21309
21259
  if (strategy.canvasResizedCallback) {
21310
- ((
21311
- a1,
21312
- a2,
21313
- a3
21314
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21315
- 37,
21260
+ ((a1, a2, a3) => {})(
21261
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21316
21262
  0,
21317
21263
  strategy.canvasResizedCallbackUserData
21318
21264
  );
@@ -21414,12 +21360,8 @@ export function init(RuntimeName, PHPLoader) {
21414
21360
  !inCenteredWithoutScalingFullscreenMode &&
21415
21361
  currentFullscreenStrategy.canvasResizedCallback
21416
21362
  ) {
21417
- ((
21418
- a1,
21419
- a2,
21420
- a3
21421
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21422
- 37,
21363
+ ((a1, a2, a3) => {})(
21364
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21423
21365
  0,
21424
21366
  currentFullscreenStrategy.canvasResizedCallbackUserData
21425
21367
  );
@@ -21518,12 +21460,8 @@ export function init(RuntimeName, PHPLoader) {
21518
21460
  softFullscreenResizeWebGLRenderTarget
21519
21461
  );
21520
21462
  if (strategy.canvasResizedCallback) {
21521
- ((
21522
- a1,
21523
- a2,
21524
- a3
21525
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21526
- 37,
21463
+ ((a1, a2, a3) => {})(
21464
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21527
21465
  0,
21528
21466
  strategy.canvasResizedCallbackUserData
21529
21467
  );
@@ -21536,12 +21474,8 @@ export function init(RuntimeName, PHPLoader) {
21536
21474
 
21537
21475
  // Inform the caller that the canvas size has changed.
21538
21476
  if (strategy.canvasResizedCallback) {
21539
- ((
21540
- a1,
21541
- a2,
21542
- a3
21543
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21544
- 37,
21477
+ ((a1, a2, a3) => {})(
21478
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21545
21479
  0,
21546
21480
  strategy.canvasResizedCallbackUserData
21547
21481
  );
@@ -21609,12 +21543,8 @@ export function init(RuntimeName, PHPLoader) {
21609
21543
  fillPointerlockChangeEventData(pointerlockChangeEvent);
21610
21544
 
21611
21545
  if (
21612
- ((
21613
- a1,
21614
- a2,
21615
- a3
21616
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21617
- eventTypeId,
21546
+ ((a1, a2, a3) => {})(
21547
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21618
21548
  pointerlockChangeEvent,
21619
21549
  userData
21620
21550
  )
@@ -21704,12 +21634,8 @@ export function init(RuntimeName, PHPLoader) {
21704
21634
  ) => {
21705
21635
  var pointerlockErrorEventHandlerFunc = (e = event) => {
21706
21636
  if (
21707
- ((
21708
- a1,
21709
- a2,
21710
- a3
21711
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21712
- eventTypeId,
21637
+ ((a1, a2, a3) => {})(
21638
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21713
21639
  0,
21714
21640
  userData
21715
21641
  )
@@ -21909,12 +21835,8 @@ export function init(RuntimeName, PHPLoader) {
21909
21835
  fillVisibilityChangeEventData(visibilityChangeEvent);
21910
21836
 
21911
21837
  if (
21912
- ((
21913
- a1,
21914
- a2,
21915
- a3
21916
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21917
- eventTypeId,
21838
+ ((a1, a2, a3) => {})(
21839
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21918
21840
  visibilityChangeEvent,
21919
21841
  userData
21920
21842
  )
@@ -22034,12 +21956,8 @@ export function init(RuntimeName, PHPLoader) {
22034
21956
  HEAP32[(touchEvent + 8) >> 2] = numTouches;
22035
21957
 
22036
21958
  if (
22037
- ((
22038
- a1,
22039
- a2,
22040
- a3
22041
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22042
- eventTypeId,
21959
+ ((a1, a2, a3) => {})(
21960
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22043
21961
  touchEvent,
22044
21962
  userData
22045
21963
  )
@@ -22177,12 +22095,8 @@ export function init(RuntimeName, PHPLoader) {
22177
22095
  fillGamepadEventData(gamepadEvent, e['gamepad']);
22178
22096
 
22179
22097
  if (
22180
- ((
22181
- a1,
22182
- a2,
22183
- a3
22184
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22185
- eventTypeId,
22098
+ ((a1, a2, a3) => {})(
22099
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22186
22100
  gamepadEvent,
22187
22101
  userData
22188
22102
  )
@@ -22284,12 +22198,8 @@ export function init(RuntimeName, PHPLoader) {
22284
22198
  ) => {
22285
22199
  var beforeUnloadEventHandlerFunc = (e = event) => {
22286
22200
  // Note: This is always called on the main browser thread, since it needs synchronously return a value!
22287
- var confirmationMessage = ((
22288
- a1,
22289
- a2,
22290
- a3
22291
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22292
- eventTypeId,
22201
+ var confirmationMessage = ((a1, a2, a3) => {})(
22202
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22293
22203
  0,
22294
22204
  userData
22295
22205
  );
@@ -22360,12 +22270,8 @@ export function init(RuntimeName, PHPLoader) {
22360
22270
  fillBatteryEventData(batteryEvent, battery());
22361
22271
 
22362
22272
  if (
22363
- ((
22364
- a1,
22365
- a2,
22366
- a3
22367
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22368
- eventTypeId,
22273
+ ((a1, a2, a3) => {})(
22274
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22369
22275
  batteryEvent,
22370
22276
  userData
22371
22277
  )
@@ -22455,11 +22361,8 @@ export function init(RuntimeName, PHPLoader) {
22455
22361
 
22456
22362
  var _emscripten_request_animation_frame = (cb, userData) =>
22457
22363
  requestAnimationFrame((timeStamp) =>
22458
- ((
22459
- a1,
22460
- a2
22461
- ) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22462
- timeStamp,
22364
+ ((a1, a2) => {})(
22365
+ /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ timeStamp,
22463
22366
  userData
22464
22367
  )
22465
22368
  );
@@ -22471,11 +22374,8 @@ export function init(RuntimeName, PHPLoader) {
22471
22374
  var _emscripten_request_animation_frame_loop = (cb, userData) => {
22472
22375
  function tick(timeStamp) {
22473
22376
  if (
22474
- ((
22475
- a1,
22476
- a2
22477
- ) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22478
- timeStamp,
22377
+ ((a1, a2) => {})(
22378
+ /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ timeStamp,
22479
22379
  userData
22480
22380
  )
22481
22381
  ) {
@@ -22700,10 +22600,8 @@ export function init(RuntimeName, PHPLoader) {
22700
22600
  return emSetImmediate(() => {
22701
22601
  runtimeKeepalivePop();
22702
22602
  callUserCallback(() =>
22703
- ((
22704
- a1
22705
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22706
- userData
22603
+ ((a1) => {})(
22604
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22707
22605
  )
22708
22606
  );
22709
22607
  });
@@ -22720,10 +22618,8 @@ export function init(RuntimeName, PHPLoader) {
22720
22618
  function tick() {
22721
22619
  callUserCallback(() => {
22722
22620
  if (
22723
- ((
22724
- a1
22725
- ) => {}) /* a dynamic function call to signature ii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22726
- userData
22621
+ ((a1) => {})(
22622
+ /* a dynamic function call to signature ii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22727
22623
  )
22728
22624
  ) {
22729
22625
  emSetImmediate(tick);
@@ -22740,10 +22636,8 @@ export function init(RuntimeName, PHPLoader) {
22740
22636
  var _emscripten_set_timeout = (cb, msecs, userData) =>
22741
22637
  safeSetTimeout(
22742
22638
  () =>
22743
- ((
22744
- a1
22745
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22746
- userData
22639
+ ((a1) => {})(
22640
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22747
22641
  ),
22748
22642
  msecs
22749
22643
  );
@@ -22759,11 +22653,8 @@ export function init(RuntimeName, PHPLoader) {
22759
22653
  runtimeKeepalivePop();
22760
22654
  callUserCallback(() => {
22761
22655
  if (
22762
- ((
22763
- a1,
22764
- a2
22765
- ) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22766
- t,
22656
+ ((a1, a2) => {})(
22657
+ /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ t,
22767
22658
  userData
22768
22659
  )
22769
22660
  ) {
@@ -22787,10 +22678,8 @@ export function init(RuntimeName, PHPLoader) {
22787
22678
  runtimeKeepalivePush();
22788
22679
  return setInterval(() => {
22789
22680
  callUserCallback(() =>
22790
- ((
22791
- a1
22792
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22793
- userData
22681
+ ((a1) => {})(
22682
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22794
22683
  )
22795
22684
  );
22796
22685
  }, msecs);
@@ -22805,10 +22694,8 @@ export function init(RuntimeName, PHPLoader) {
22805
22694
 
22806
22695
  var _emscripten_async_call = (func, arg, millis) => {
22807
22696
  var wrapper = () =>
22808
- ((
22809
- a1
22810
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22811
- arg
22697
+ ((a1) => {})(
22698
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22812
22699
  );
22813
22700
 
22814
22701
  if (
@@ -22841,7 +22728,7 @@ export function init(RuntimeName, PHPLoader) {
22841
22728
 
22842
22729
  var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
22843
22730
  var iterFunc =
22844
- () => {} /* a dynamic function call to signature v, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */;
22731
+ () => {}; /* a dynamic function call to signature v, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */
22845
22732
  setMainLoop(iterFunc, fps, simulateInfiniteLoop);
22846
22733
  };
22847
22734
  _emscripten_set_main_loop.sig = 'vpii';
@@ -22853,10 +22740,8 @@ export function init(RuntimeName, PHPLoader) {
22853
22740
  simulateInfiniteLoop
22854
22741
  ) => {
22855
22742
  var iterFunc = () =>
22856
- ((
22857
- a1
22858
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22859
- arg
22743
+ ((a1) => {})(
22744
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22860
22745
  );
22861
22746
  setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
22862
22747
  };
@@ -22877,10 +22762,8 @@ export function init(RuntimeName, PHPLoader) {
22877
22762
  var __emscripten_push_main_loop_blocker = (func, arg, name) => {
22878
22763
  MainLoop.queue.push({
22879
22764
  func: () => {
22880
- ((
22881
- a1
22882
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22883
- arg
22765
+ ((a1) => {})(
22766
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22884
22767
  );
22885
22768
  },
22886
22769
  name: UTF8ToString(name),
@@ -22893,10 +22776,8 @@ export function init(RuntimeName, PHPLoader) {
22893
22776
  var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
22894
22777
  MainLoop.queue.push({
22895
22778
  func: () => {
22896
- ((
22897
- a1
22898
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22899
- arg
22779
+ ((a1) => {})(
22780
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22900
22781
  );
22901
22782
  },
22902
22783
  name: UTF8ToString(name),
@@ -22930,12 +22811,8 @@ export function init(RuntimeName, PHPLoader) {
22930
22811
  var resultPtr = stackAlloc(POINTER_SIZE);
22931
22812
  HEAPU32[resultPtr >> 2] = 0;
22932
22813
  try {
22933
- var result = ((
22934
- a1,
22935
- a2,
22936
- a3
22937
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22938
- resultPtr,
22814
+ var result = ((a1, a2, a3) => {})(
22815
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ resultPtr,
22939
22816
  userData,
22940
22817
  value
22941
22818
  );
@@ -23871,19 +23748,15 @@ export function init(RuntimeName, PHPLoader) {
23871
23748
  () => {
23872
23749
  runtimeKeepalivePop();
23873
23750
  if (onload)
23874
- ((
23875
- a1
23876
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23877
- file
23751
+ ((a1) => {})(
23752
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ file
23878
23753
  );
23879
23754
  },
23880
23755
  () => {
23881
23756
  runtimeKeepalivePop();
23882
23757
  if (onerror)
23883
- ((
23884
- a1
23885
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23886
- file
23758
+ ((a1) => {})(
23759
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ file
23887
23760
  );
23888
23761
  },
23889
23762
  true // don'tCreateFile - it's already there
@@ -23917,21 +23790,16 @@ export function init(RuntimeName, PHPLoader) {
23917
23790
  () => {
23918
23791
  runtimeKeepalivePop();
23919
23792
  if (onload)
23920
- ((
23921
- a1,
23922
- a2
23923
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23924
- arg,
23793
+ ((a1, a2) => {})(
23794
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg,
23925
23795
  cname
23926
23796
  );
23927
23797
  },
23928
23798
  () => {
23929
23799
  runtimeKeepalivePop();
23930
23800
  if (onerror)
23931
- ((
23932
- a1
23933
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23934
- arg
23801
+ ((a1) => {})(
23802
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
23935
23803
  );
23936
23804
  },
23937
23805
  true // don'tCreateFile - it's already there
@@ -24204,10 +24072,10 @@ export function init(RuntimeName, PHPLoader) {
24204
24072
  runtimeKeepalivePop();
24205
24073
  callUserCallback(() => {
24206
24074
  var sp = stackSave();
24207
- ((
24208
- a1
24209
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24210
- stringToUTF8OnStack(_file)
24075
+ ((a1) => {})(
24076
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ stringToUTF8OnStack(
24077
+ _file
24078
+ )
24211
24079
  );
24212
24080
  stackRestore(sp);
24213
24081
  });
@@ -24251,12 +24119,8 @@ export function init(RuntimeName, PHPLoader) {
24251
24119
  callUserCallback(() => {
24252
24120
  var buffer = _malloc(byteArray.length);
24253
24121
  HEAPU8.set(byteArray, buffer);
24254
- ((
24255
- a1,
24256
- a2,
24257
- a3
24258
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24259
- userdata,
24122
+ ((a1, a2, a3) => {})(
24123
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userdata,
24260
24124
  buffer,
24261
24125
  byteArray.length
24262
24126
  );
@@ -24266,10 +24130,8 @@ export function init(RuntimeName, PHPLoader) {
24266
24130
  if (onerror) {
24267
24131
  runtimeKeepalivePop();
24268
24132
  callUserCallback(() => {
24269
- ((
24270
- a1
24271
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24272
- userdata
24133
+ ((a1) => {})(
24134
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userdata
24273
24135
  );
24274
24136
  });
24275
24137
  }
@@ -24326,12 +24188,8 @@ export function init(RuntimeName, PHPLoader) {
24326
24188
  );
24327
24189
  if (onload) {
24328
24190
  var sp = stackSave();
24329
- ((
24330
- a1,
24331
- a2,
24332
- a3
24333
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24334
- handle,
24191
+ ((a1, a2, a3) => {})(
24192
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24335
24193
  userdata,
24336
24194
  stringToUTF8OnStack(_file)
24337
24195
  );
@@ -24339,12 +24197,8 @@ export function init(RuntimeName, PHPLoader) {
24339
24197
  }
24340
24198
  } else {
24341
24199
  if (onerror)
24342
- ((
24343
- a1,
24344
- a2,
24345
- a3
24346
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24347
- handle,
24200
+ ((a1, a2, a3) => {})(
24201
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24348
24202
  userdata,
24349
24203
  http.status
24350
24204
  );
@@ -24357,12 +24211,8 @@ export function init(RuntimeName, PHPLoader) {
24357
24211
  http.onerror = (e) => {
24358
24212
  runtimeKeepalivePop();
24359
24213
  if (onerror)
24360
- ((
24361
- a1,
24362
- a2,
24363
- a3
24364
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24365
- handle,
24214
+ ((a1, a2, a3) => {})(
24215
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24366
24216
  userdata,
24367
24217
  http.status
24368
24218
  );
@@ -24377,12 +24227,8 @@ export function init(RuntimeName, PHPLoader) {
24377
24227
  ) {
24378
24228
  var percentComplete = (e.loaded / e.total) * 100;
24379
24229
  if (onprogress)
24380
- ((
24381
- a1,
24382
- a2,
24383
- a3
24384
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24385
- handle,
24230
+ ((a1, a2, a3) => {})(
24231
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24386
24232
  userdata,
24387
24233
  percentComplete
24388
24234
  );
@@ -24439,13 +24285,8 @@ export function init(RuntimeName, PHPLoader) {
24439
24285
  if (http.statusText) {
24440
24286
  statusText = stringToUTF8OnStack(http.statusText);
24441
24287
  }
24442
- ((
24443
- a1,
24444
- a2,
24445
- a3,
24446
- a4
24447
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24448
- handle,
24288
+ ((a1, a2, a3, a4) => {})(
24289
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24449
24290
  userdata,
24450
24291
  http.status,
24451
24292
  statusText
@@ -24466,13 +24307,8 @@ export function init(RuntimeName, PHPLoader) {
24466
24307
  var buffer = _malloc(byteArray.length);
24467
24308
  HEAPU8.set(byteArray, buffer);
24468
24309
  if (onload)
24469
- ((
24470
- a1,
24471
- a2,
24472
- a3,
24473
- a4
24474
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24475
- handle,
24310
+ ((a1, a2, a3, a4) => {})(
24311
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24476
24312
  userdata,
24477
24313
  buffer,
24478
24314
  byteArray.length
@@ -24493,13 +24329,8 @@ export function init(RuntimeName, PHPLoader) {
24493
24329
  // PROGRESS
24494
24330
  http.onprogress = (e) => {
24495
24331
  if (onprogress)
24496
- ((
24497
- a1,
24498
- a2,
24499
- a3,
24500
- a4
24501
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24502
- handle,
24332
+ ((a1, a2, a3, a4) => {})(
24333
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24503
24334
  userdata,
24504
24335
  e.loaded,
24505
24336
  e.lengthComputable || e.lengthComputable === undefined
@@ -24619,24 +24450,16 @@ export function init(RuntimeName, PHPLoader) {
24619
24450
  if (event === 'error') {
24620
24451
  withStackSave(() => {
24621
24452
  var msg = stringToUTF8OnStack(data[2]);
24622
- ((
24623
- a1,
24624
- a2,
24625
- a3,
24626
- a4
24627
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24628
- data[0],
24453
+ ((a1, a2, a3, a4) => {})(
24454
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ data[0],
24629
24455
  data[1],
24630
24456
  msg,
24631
24457
  userData
24632
24458
  );
24633
24459
  });
24634
24460
  } else {
24635
- ((
24636
- a1,
24637
- a2
24638
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24639
- data,
24461
+ ((a1, a2) => {})(
24462
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ data,
24640
24463
  userData
24641
24464
  );
24642
24465
  }
@@ -25102,12 +24925,8 @@ export function init(RuntimeName, PHPLoader) {
25102
24925
  ) => {
25103
24926
  var webGlEventHandlerFunc = (e = event) => {
25104
24927
  if (
25105
- ((
25106
- a1,
25107
- a2,
25108
- a3
25109
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25110
- eventTypeId,
24928
+ ((a1, a2, a3) => {})(
24929
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
25111
24930
  0,
25112
24931
  userData
25113
24932
  )
@@ -25326,21 +25145,15 @@ export function init(RuntimeName, PHPLoader) {
25326
25145
  ) {
25327
25146
  event.preventDefault();
25328
25147
  GLUT.saveModifiers(event);
25329
- ((
25330
- a1,
25331
- a2
25332
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25333
- lastX,
25148
+ ((a1, a2) => {})(
25149
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ lastX,
25334
25150
  lastY
25335
25151
  );
25336
25152
  } else if (GLUT.buttons != 0 && GLUT.motionFunc) {
25337
25153
  event.preventDefault();
25338
25154
  GLUT.saveModifiers(event);
25339
- ((
25340
- a1,
25341
- a2
25342
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25343
- lastX,
25155
+ ((a1, a2) => {})(
25156
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ lastX,
25344
25157
  lastY
25345
25158
  );
25346
25159
  }
@@ -25501,12 +25314,8 @@ export function init(RuntimeName, PHPLoader) {
25501
25314
  if (GLUT.specialFunc) {
25502
25315
  event.preventDefault();
25503
25316
  GLUT.saveModifiers(event);
25504
- ((
25505
- a1,
25506
- a2,
25507
- a3
25508
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25509
- key,
25317
+ ((a1, a2, a3) => {})(
25318
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25510
25319
  Browser.mouseX,
25511
25320
  Browser.mouseY
25512
25321
  );
@@ -25516,12 +25325,8 @@ export function init(RuntimeName, PHPLoader) {
25516
25325
  if (key !== null && GLUT.keyboardFunc) {
25517
25326
  event.preventDefault();
25518
25327
  GLUT.saveModifiers(event);
25519
- ((
25520
- a1,
25521
- a2,
25522
- a3
25523
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25524
- key,
25328
+ ((a1, a2, a3) => {})(
25329
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25525
25330
  Browser.mouseX,
25526
25331
  Browser.mouseY
25527
25332
  );
@@ -25536,12 +25341,8 @@ export function init(RuntimeName, PHPLoader) {
25536
25341
  if (GLUT.specialUpFunc) {
25537
25342
  event.preventDefault();
25538
25343
  GLUT.saveModifiers(event);
25539
- ((
25540
- a1,
25541
- a2,
25542
- a3
25543
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25544
- key,
25344
+ ((a1, a2, a3) => {})(
25345
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25545
25346
  Browser.mouseX,
25546
25347
  Browser.mouseY
25547
25348
  );
@@ -25551,12 +25352,8 @@ export function init(RuntimeName, PHPLoader) {
25551
25352
  if (key !== null && GLUT.keyboardUpFunc) {
25552
25353
  event.preventDefault();
25553
25354
  GLUT.saveModifiers(event);
25554
- ((
25555
- a1,
25556
- a2,
25557
- a3
25558
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25559
- key,
25355
+ ((a1, a2, a3) => {})(
25356
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25560
25357
  Browser.mouseX,
25561
25358
  Browser.mouseY
25562
25359
  );
@@ -25620,13 +25417,10 @@ export function init(RuntimeName, PHPLoader) {
25620
25417
  } catch (e) {}
25621
25418
  event.preventDefault();
25622
25419
  GLUT.saveModifiers(event);
25623
- ((
25624
- a1,
25625
- a2,
25626
- a3,
25627
- a4
25628
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25629
- event['button'],
25420
+ ((a1, a2, a3, a4) => {})(
25421
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ event[
25422
+ 'button'
25423
+ ],
25630
25424
  0 /*GLUT_DOWN*/,
25631
25425
  Browser.mouseX,
25632
25426
  Browser.mouseY
@@ -25641,13 +25435,10 @@ export function init(RuntimeName, PHPLoader) {
25641
25435
  if (GLUT.mouseFunc) {
25642
25436
  event.preventDefault();
25643
25437
  GLUT.saveModifiers(event);
25644
- ((
25645
- a1,
25646
- a2,
25647
- a3,
25648
- a4
25649
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25650
- event['button'],
25438
+ ((a1, a2, a3, a4) => {})(
25439
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ event[
25440
+ 'button'
25441
+ ],
25651
25442
  1 /*GLUT_UP*/,
25652
25443
  Browser.mouseX,
25653
25444
  Browser.mouseY
@@ -25676,13 +25467,8 @@ export function init(RuntimeName, PHPLoader) {
25676
25467
  if (GLUT.mouseFunc) {
25677
25468
  event.preventDefault();
25678
25469
  GLUT.saveModifiers(event);
25679
- ((
25680
- a1,
25681
- a2,
25682
- a3,
25683
- a4
25684
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25685
- button,
25470
+ ((a1, a2, a3, a4) => {})(
25471
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ button,
25686
25472
  0 /*GLUT_DOWN*/,
25687
25473
  Browser.mouseX,
25688
25474
  Browser.mouseY
@@ -25725,11 +25511,8 @@ export function init(RuntimeName, PHPLoader) {
25725
25511
  /* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
25726
25512
  if (GLUT.reshapeFunc) {
25727
25513
  // out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
25728
- ((
25729
- a1,
25730
- a2
25731
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25732
- width,
25514
+ ((a1, a2) => {})(
25515
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ width,
25733
25516
  height
25734
25517
  );
25735
25518
  }
@@ -25772,11 +25555,8 @@ export function init(RuntimeName, PHPLoader) {
25772
25555
 
25773
25556
  Browser.resizeListeners.push((width, height) => {
25774
25557
  if (GLUT.reshapeFunc) {
25775
- ((
25776
- a1,
25777
- a2
25778
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25779
- width,
25558
+ ((a1, a2) => {})(
25559
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ width,
25780
25560
  height
25781
25561
  );
25782
25562
  }
@@ -25889,10 +25669,8 @@ export function init(RuntimeName, PHPLoader) {
25889
25669
  var _glutTimerFunc = (msec, func, value) =>
25890
25670
  safeSetTimeout(
25891
25671
  () =>
25892
- ((
25893
- a1
25894
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25895
- value
25672
+ ((a1) => {})(
25673
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ value
25896
25674
  ),
25897
25675
  msec
25898
25676
  );
@@ -26052,11 +25830,8 @@ export function init(RuntimeName, PHPLoader) {
26052
25830
  Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
26053
25831
  // Just call it once here.
26054
25832
  if (GLUT.reshapeFunc) {
26055
- ((
26056
- a1,
26057
- a2
26058
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
26059
- width,
25833
+ ((a1, a2) => {})(
25834
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ width,
26060
25835
  height
26061
25836
  );
26062
25837
  }
@@ -27118,21 +26893,15 @@ export function init(RuntimeName, PHPLoader) {
27118
26893
  callUserCallback(() => {
27119
26894
  if (error) {
27120
26895
  if (onerror)
27121
- ((
27122
- a1
27123
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27124
- arg
26896
+ ((a1) => {})(
26897
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27125
26898
  );
27126
26899
  return;
27127
26900
  }
27128
26901
  var buffer = _malloc(byteArray.length);
27129
26902
  HEAPU8.set(byteArray, buffer);
27130
- ((
27131
- a1,
27132
- a2,
27133
- a3
27134
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27135
- arg,
26903
+ ((a1, a2, a3) => {})(
26904
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg,
27136
26905
  buffer,
27137
26906
  byteArray.length
27138
26907
  );
@@ -27164,18 +26933,14 @@ export function init(RuntimeName, PHPLoader) {
27164
26933
  callUserCallback(() => {
27165
26934
  if (error) {
27166
26935
  if (onerror)
27167
- ((
27168
- a1
27169
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27170
- arg
26936
+ ((a1) => {})(
26937
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27171
26938
  );
27172
26939
  return;
27173
26940
  }
27174
26941
  if (onstore)
27175
- ((
27176
- a1
27177
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27178
- arg
26942
+ ((a1) => {})(
26943
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27179
26944
  );
27180
26945
  });
27181
26946
  }
@@ -27190,18 +26955,14 @@ export function init(RuntimeName, PHPLoader) {
27190
26955
  callUserCallback(() => {
27191
26956
  if (error) {
27192
26957
  if (onerror)
27193
- ((
27194
- a1
27195
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27196
- arg
26958
+ ((a1) => {})(
26959
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27197
26960
  );
27198
26961
  return;
27199
26962
  }
27200
26963
  if (ondelete)
27201
- ((
27202
- a1
27203
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27204
- arg
26964
+ ((a1) => {})(
26965
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27205
26966
  );
27206
26967
  });
27207
26968
  });
@@ -27218,19 +26979,14 @@ export function init(RuntimeName, PHPLoader) {
27218
26979
  callUserCallback(() => {
27219
26980
  if (error) {
27220
26981
  if (onerror)
27221
- ((
27222
- a1
27223
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27224
- arg
26982
+ ((a1) => {})(
26983
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27225
26984
  );
27226
26985
  return;
27227
26986
  }
27228
26987
  if (oncheck)
27229
- ((
27230
- a1,
27231
- a2
27232
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27233
- arg,
26988
+ ((a1, a2) => {})(
26989
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg,
27234
26990
  exists
27235
26991
  );
27236
26992
  });
@@ -27246,18 +27002,14 @@ export function init(RuntimeName, PHPLoader) {
27246
27002
  callUserCallback(() => {
27247
27003
  if (error) {
27248
27004
  if (onerror)
27249
- ((
27250
- a1
27251
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27252
- arg
27005
+ ((a1) => {})(
27006
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27253
27007
  );
27254
27008
  return;
27255
27009
  }
27256
27010
  if (onclear)
27257
- ((
27258
- a1
27259
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27260
- arg
27011
+ ((a1) => {})(
27012
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27261
27013
  );
27262
27014
  });
27263
27015
  });
@@ -27414,11 +27166,8 @@ export function init(RuntimeName, PHPLoader) {
27414
27166
  safeSetTimeout(() => {
27415
27167
  var stackBegin = Asyncify.currData + 12;
27416
27168
  var stackEnd = HEAPU32[Asyncify.currData >> 2];
27417
- ((
27418
- a1,
27419
- a2
27420
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27421
- stackBegin,
27169
+ ((a1, a2) => {})(
27170
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ stackBegin,
27422
27171
  stackEnd
27423
27172
  );
27424
27173
  wakeUp();
@@ -27479,10 +27228,8 @@ export function init(RuntimeName, PHPLoader) {
27479
27228
  HEAPU32[(newFiber + 12) >> 2] = 0;
27480
27229
 
27481
27230
  var userData = HEAPU32[(newFiber + 16) >> 2];
27482
- ((
27483
- a1
27484
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27485
- userData
27231
+ ((a1) => {})(
27232
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
27486
27233
  );
27487
27234
  } else {
27488
27235
  var asyncifyData = newFiber + 20;
@@ -28494,11 +28241,8 @@ export function init(RuntimeName, PHPLoader) {
28494
28241
  if (!SDL.eventHandler) return;
28495
28242
 
28496
28243
  while (SDL.pollEvent(SDL.eventHandlerTemp)) {
28497
- ((
28498
- a1,
28499
- a2
28500
- ) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
28501
- SDL.eventHandlerContext,
28244
+ ((a1, a2) => {})(
28245
+ /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ SDL.eventHandlerContext,
28502
28246
  SDL.eventHandlerTemp
28503
28247
  );
28504
28248
  }
@@ -30131,12 +29875,9 @@ export function init(RuntimeName, PHPLoader) {
30131
29875
  return;
30132
29876
 
30133
29877
  // Ask SDL audio data from the user code.
30134
- ((
30135
- a1,
30136
- a2,
30137
- a3
30138
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
30139
- SDL.audio.userdata,
29878
+ ((a1, a2, a3) => {})(
29879
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ SDL
29880
+ .audio.userdata,
30140
29881
  SDL.audio.buffer,
30141
29882
  SDL.audio.bufferSize
30142
29883
  );
@@ -30594,10 +30335,8 @@ export function init(RuntimeName, PHPLoader) {
30594
30335
  info.audio = null;
30595
30336
  }
30596
30337
  if (SDL.channelFinished) {
30597
- ((
30598
- a1
30599
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
30600
- channel
30338
+ ((a1) => {})(
30339
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ channel
30601
30340
  );
30602
30341
  }
30603
30342
  }
@@ -30666,10 +30405,8 @@ export function init(RuntimeName, PHPLoader) {
30666
30405
  channelInfo.audio = null;
30667
30406
  }
30668
30407
  if (SDL.channelFinished)
30669
- ((
30670
- a1
30671
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
30672
- channel
30408
+ ((a1) => {})(
30409
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ channel
30673
30410
  );
30674
30411
  };
30675
30412
  if (channelInfo.audio) {
@@ -31417,11 +31154,8 @@ export function init(RuntimeName, PHPLoader) {
31417
31154
  var _SDL_AddTimer = (interval, callback, param) =>
31418
31155
  safeSetTimeout(
31419
31156
  () =>
31420
- ((
31421
- a1,
31422
- a2
31423
- ) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31424
- interval,
31157
+ ((a1, a2) => {})(
31158
+ /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ interval,
31425
31159
  param
31426
31160
  ),
31427
31161
  interval
@@ -31792,12 +31526,8 @@ export function init(RuntimeName, PHPLoader) {
31792
31526
 
31793
31527
  socket.onopen = function (e) {
31794
31528
  var eventPtr = WS.getSocketEvent(socketId);
31795
- ((
31796
- a1,
31797
- a2,
31798
- a3
31799
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31800
- 0 /*TODO*/,
31529
+ ((a1, a2, a3) => {})(
31530
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31801
31531
  eventPtr,
31802
31532
  userData
31803
31533
  );
@@ -31819,12 +31549,8 @@ export function init(RuntimeName, PHPLoader) {
31819
31549
 
31820
31550
  socket.onerror = function (e) {
31821
31551
  var eventPtr = WS.getSocketEvent(socketId);
31822
- ((
31823
- a1,
31824
- a2,
31825
- a3
31826
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31827
- 0 /*TODO*/,
31552
+ ((a1, a2, a3) => {})(
31553
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31828
31554
  eventPtr,
31829
31555
  userData
31830
31556
  );
@@ -31849,12 +31575,8 @@ export function init(RuntimeName, PHPLoader) {
31849
31575
  (HEAP8[eventPtr + 4] = e.wasClean),
31850
31576
  (HEAP16[(eventPtr + 6) >> 1] = e.code),
31851
31577
  stringToUTF8(e.reason, eventPtr + 8, 512);
31852
- ((
31853
- a1,
31854
- a2,
31855
- a3
31856
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31857
- 0 /*TODO*/,
31578
+ ((a1, a2, a3) => {})(
31579
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31858
31580
  eventPtr,
31859
31581
  userData
31860
31582
  );
@@ -31888,12 +31610,8 @@ export function init(RuntimeName, PHPLoader) {
31888
31610
  (HEAPU32[(eventPtr + 4) >> 2] = buf),
31889
31611
  (HEAP32[(eventPtr + 8) >> 2] = len),
31890
31612
  (HEAP8[eventPtr + 12] = isText),
31891
- ((
31892
- a1,
31893
- a2,
31894
- a3
31895
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31896
- 0 /*TODO*/,
31613
+ ((a1, a2, a3) => {})(
31614
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31897
31615
  eventPtr,
31898
31616
  userData
31899
31617
  );
@@ -32090,13 +31808,13 @@ export function init(RuntimeName, PHPLoader) {
32090
31808
  // End JS library code
32091
31809
 
32092
31810
  var ASM_CONSTS = {
32093
- 13224061: ($0) => {
31811
+ 13232061: ($0) => {
32094
31812
  if (!$0) {
32095
31813
  AL.alcErr = 0xa004;
32096
31814
  return 1;
32097
31815
  }
32098
31816
  },
32099
- 13224109: ($0) => {
31817
+ 13232109: ($0) => {
32100
31818
  if (!AL.currentCtx) {
32101
31819
  err('alGetProcAddress() called without a valid context');
32102
31820
  return 1;
@@ -34859,6 +34577,8 @@ export function init(RuntimeName, PHPLoader) {
34859
34577
  /** @export */
34860
34578
  invoke_iijiji,
34861
34579
  /** @export */
34580
+ invoke_ji,
34581
+ /** @export */
34862
34582
  invoke_jii,
34863
34583
  /** @export */
34864
34584
  invoke_jiii,
@@ -34885,6 +34605,8 @@ export function init(RuntimeName, PHPLoader) {
34885
34605
  /** @export */
34886
34606
  invoke_viijii,
34887
34607
  /** @export */
34608
+ invoke_vijj,
34609
+ /** @export */
34888
34610
  invoke_vji,
34889
34611
  /** @export */
34890
34612
  js_fd_read,
@@ -35009,6 +34731,11 @@ export function init(RuntimeName, PHPLoader) {
35009
34731
  var _calloc = (a0, a1) => (_calloc = wasmExports['calloc'])(a0, a1);
35010
34732
  var _flock = (Module['_flock'] = (a0, a1) =>
35011
34733
  (_flock = Module['_flock'] = wasmExports['flock'])(a0, a1));
34734
+ var _initgroups = (Module['_initgroups'] = (a0, a1) =>
34735
+ (_initgroups = Module['_initgroups'] = wasmExports['initgroups'])(
34736
+ a0,
34737
+ a1
34738
+ ));
35012
34739
  var _wasm_read = (Module['_wasm_read'] = (a0, a1, a2) =>
35013
34740
  (_wasm_read = Module['_wasm_read'] = wasmExports['wasm_read'])(
35014
34741
  a0,
@@ -35313,19 +35040,10 @@ export function init(RuntimeName, PHPLoader) {
35313
35040
  }
35314
35041
  }
35315
35042
 
35316
- function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
35043
+ function invoke_vji(index, a1, a2) {
35317
35044
  var sp = stackSave();
35318
35045
  try {
35319
- return Module['dynCall_iiiiiiii'](
35320
- index,
35321
- a1,
35322
- a2,
35323
- a3,
35324
- a4,
35325
- a5,
35326
- a6,
35327
- a7
35328
- );
35046
+ Module['dynCall_vji'](index, a1, a2);
35329
35047
  } catch (e) {
35330
35048
  stackRestore(sp);
35331
35049
  if (e !== e + 0) throw e;
@@ -35333,21 +35051,22 @@ export function init(RuntimeName, PHPLoader) {
35333
35051
  }
35334
35052
  }
35335
35053
 
35336
- function invoke_iiji(index, a1, a2, a3) {
35054
+ function invoke_jii(index, a1, a2) {
35337
35055
  var sp = stackSave();
35338
35056
  try {
35339
- return Module['dynCall_iiji'](index, a1, a2, a3);
35057
+ return Module['dynCall_jii'](index, a1, a2);
35340
35058
  } catch (e) {
35341
35059
  stackRestore(sp);
35342
35060
  if (e !== e + 0) throw e;
35343
35061
  _setThrew(1, 0);
35062
+ return 0n;
35344
35063
  }
35345
35064
  }
35346
35065
 
35347
- function invoke_iijii(index, a1, a2, a3, a4) {
35066
+ function invoke_v(index) {
35348
35067
  var sp = stackSave();
35349
35068
  try {
35350
- return Module['dynCall_iijii'](index, a1, a2, a3, a4);
35069
+ Module['dynCall_v'](index);
35351
35070
  } catch (e) {
35352
35071
  stackRestore(sp);
35353
35072
  if (e !== e + 0) throw e;
@@ -35355,21 +35074,22 @@ export function init(RuntimeName, PHPLoader) {
35355
35074
  }
35356
35075
  }
35357
35076
 
35358
- function invoke_iijiji(index, a1, a2, a3, a4, a5) {
35077
+ function invoke_ji(index, a1) {
35359
35078
  var sp = stackSave();
35360
35079
  try {
35361
- return Module['dynCall_iijiji'](index, a1, a2, a3, a4, a5);
35080
+ return Module['dynCall_ji'](index, a1);
35362
35081
  } catch (e) {
35363
35082
  stackRestore(sp);
35364
35083
  if (e !== e + 0) throw e;
35365
35084
  _setThrew(1, 0);
35085
+ return 0n;
35366
35086
  }
35367
35087
  }
35368
35088
 
35369
- function invoke_v(index) {
35089
+ function invoke_vijj(index, a1, a2, a3) {
35370
35090
  var sp = stackSave();
35371
35091
  try {
35372
- Module['dynCall_v'](index);
35092
+ Module['dynCall_vijj'](index, a1, a2, a3);
35373
35093
  } catch (e) {
35374
35094
  stackRestore(sp);
35375
35095
  if (e !== e + 0) throw e;
@@ -35377,10 +35097,10 @@ export function init(RuntimeName, PHPLoader) {
35377
35097
  }
35378
35098
  }
35379
35099
 
35380
- function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
35100
+ function invoke_iij(index, a1, a2) {
35381
35101
  var sp = stackSave();
35382
35102
  try {
35383
- return Module['dynCall_iiiiiii'](index, a1, a2, a3, a4, a5, a6);
35103
+ return Module['dynCall_iij'](index, a1, a2);
35384
35104
  } catch (e) {
35385
35105
  stackRestore(sp);
35386
35106
  if (e !== e + 0) throw e;
@@ -35388,10 +35108,19 @@ export function init(RuntimeName, PHPLoader) {
35388
35108
  }
35389
35109
  }
35390
35110
 
35391
- function invoke_vji(index, a1, a2) {
35111
+ function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
35392
35112
  var sp = stackSave();
35393
35113
  try {
35394
- Module['dynCall_vji'](index, a1, a2);
35114
+ return Module['dynCall_iiiiiiii'](
35115
+ index,
35116
+ a1,
35117
+ a2,
35118
+ a3,
35119
+ a4,
35120
+ a5,
35121
+ a6,
35122
+ a7
35123
+ );
35395
35124
  } catch (e) {
35396
35125
  stackRestore(sp);
35397
35126
  if (e !== e + 0) throw e;
@@ -35399,10 +35128,10 @@ export function init(RuntimeName, PHPLoader) {
35399
35128
  }
35400
35129
  }
35401
35130
 
35402
- function invoke_viijii(index, a1, a2, a3, a4, a5) {
35131
+ function invoke_iiji(index, a1, a2, a3) {
35403
35132
  var sp = stackSave();
35404
35133
  try {
35405
- Module['dynCall_viijii'](index, a1, a2, a3, a4, a5);
35134
+ return Module['dynCall_iiji'](index, a1, a2, a3);
35406
35135
  } catch (e) {
35407
35136
  stackRestore(sp);
35408
35137
  if (e !== e + 0) throw e;
@@ -35410,10 +35139,10 @@ export function init(RuntimeName, PHPLoader) {
35410
35139
  }
35411
35140
  }
35412
35141
 
35413
- function invoke_viidii(index, a1, a2, a3, a4, a5) {
35142
+ function invoke_iijii(index, a1, a2, a3, a4) {
35414
35143
  var sp = stackSave();
35415
35144
  try {
35416
- Module['dynCall_viidii'](index, a1, a2, a3, a4, a5);
35145
+ return Module['dynCall_iijii'](index, a1, a2, a3, a4);
35417
35146
  } catch (e) {
35418
35147
  stackRestore(sp);
35419
35148
  if (e !== e + 0) throw e;
@@ -35421,10 +35150,10 @@ export function init(RuntimeName, PHPLoader) {
35421
35150
  }
35422
35151
  }
35423
35152
 
35424
- function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35153
+ function invoke_iijiji(index, a1, a2, a3, a4, a5) {
35425
35154
  var sp = stackSave();
35426
35155
  try {
35427
- Module['dynCall_viiiiii'](index, a1, a2, a3, a4, a5, a6);
35156
+ return Module['dynCall_iijiji'](index, a1, a2, a3, a4, a5);
35428
35157
  } catch (e) {
35429
35158
  stackRestore(sp);
35430
35159
  if (e !== e + 0) throw e;
@@ -35432,34 +35161,43 @@ export function init(RuntimeName, PHPLoader) {
35432
35161
  }
35433
35162
  }
35434
35163
 
35435
- function invoke_jiii(index, a1, a2, a3) {
35164
+ function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
35436
35165
  var sp = stackSave();
35437
35166
  try {
35438
- return Module['dynCall_jiii'](index, a1, a2, a3);
35167
+ return Module['dynCall_iiiiiii'](index, a1, a2, a3, a4, a5, a6);
35439
35168
  } catch (e) {
35440
35169
  stackRestore(sp);
35441
35170
  if (e !== e + 0) throw e;
35442
35171
  _setThrew(1, 0);
35443
- return 0n;
35444
35172
  }
35445
35173
  }
35446
35174
 
35447
- function invoke_jii(index, a1, a2) {
35175
+ function invoke_viijii(index, a1, a2, a3, a4, a5) {
35448
35176
  var sp = stackSave();
35449
35177
  try {
35450
- return Module['dynCall_jii'](index, a1, a2);
35178
+ Module['dynCall_viijii'](index, a1, a2, a3, a4, a5);
35451
35179
  } catch (e) {
35452
35180
  stackRestore(sp);
35453
35181
  if (e !== e + 0) throw e;
35454
35182
  _setThrew(1, 0);
35455
- return 0n;
35456
35183
  }
35457
35184
  }
35458
35185
 
35459
- function invoke_iij(index, a1, a2) {
35186
+ function invoke_viidii(index, a1, a2, a3, a4, a5) {
35460
35187
  var sp = stackSave();
35461
35188
  try {
35462
- return Module['dynCall_iij'](index, a1, a2);
35189
+ Module['dynCall_viidii'](index, a1, a2, a3, a4, a5);
35190
+ } catch (e) {
35191
+ stackRestore(sp);
35192
+ if (e !== e + 0) throw e;
35193
+ _setThrew(1, 0);
35194
+ }
35195
+ }
35196
+
35197
+ function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35198
+ var sp = stackSave();
35199
+ try {
35200
+ Module['dynCall_viiiiii'](index, a1, a2, a3, a4, a5, a6);
35463
35201
  } catch (e) {
35464
35202
  stackRestore(sp);
35465
35203
  if (e !== e + 0) throw e;
@@ -35467,6 +35205,18 @@ export function init(RuntimeName, PHPLoader) {
35467
35205
  }
35468
35206
  }
35469
35207
 
35208
+ function invoke_jiii(index, a1, a2, a3) {
35209
+ var sp = stackSave();
35210
+ try {
35211
+ return Module['dynCall_jiii'](index, a1, a2, a3);
35212
+ } catch (e) {
35213
+ stackRestore(sp);
35214
+ if (e !== e + 0) throw e;
35215
+ _setThrew(1, 0);
35216
+ return 0n;
35217
+ }
35218
+ }
35219
+
35470
35220
  function invoke_viiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
35471
35221
  var sp = stackSave();
35472
35222
  try {
@@ -35663,6 +35413,15 @@ export function init(RuntimeName, PHPLoader) {
35663
35413
  };
35664
35414
  }
35665
35415
 
35416
+ /**
35417
+ * Expose the PHP version so the PHP class can make version-specific
35418
+ * adjustments to `php.ini`.
35419
+ */
35420
+ PHPLoader['phpVersion'] = (() => {
35421
+ const [major, minor, patch] = phpVersionString.split('.').map(Number);
35422
+ return { major, minor, patch };
35423
+ })();
35424
+
35666
35425
  return PHPLoader;
35667
35426
 
35668
35427
  // Close the opening bracket from esm-prefix.js: