@php-wasm/node 1.2.3 → 2.0.0

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, '7_3_33', 'php_7_3.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 29284159;
11
+ export const dependenciesTotalSize = 29695998;
12
+ const phpVersionString = '7.3.33';
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 = 11704064;
834
+ var ___heap_base = 12759296;
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: 15715,
998
+ initial: 15819,
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 = 11704064;
1857
+ var ___stack_high = 12759296;
1859
1858
 
1860
- var ___stack_low = 11638528;
1859
+ var ___stack_low = 11710720;
1861
1860
 
1862
1861
  var ___stack_pointer = new WebAssembly.Global(
1863
1862
  { value: 'i32', mutable: true },
1864
- 11704064
1863
+ 12759296
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
  );
@@ -19466,11 +19459,8 @@ export function init(RuntimeName, PHPLoader) {
19466
19459
  var trace = getCallstack();
19467
19460
  var parts = trace.split('\n');
19468
19461
  for (var i = 0; i < parts.length; i++) {
19469
- var ret = ((
19470
- a1,
19471
- a2
19472
- ) => {}) /* 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. */(
19473
- 0,
19462
+ var ret = ((a1, a2) => {})(
19463
+ /* 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,
19474
19464
  arg
19475
19465
  );
19476
19466
  if (ret !== 0) return;
@@ -19602,7 +19592,7 @@ export function init(RuntimeName, PHPLoader) {
19602
19592
 
19603
19593
  var addOnExit = (cb) => onExits.unshift(cb);
19604
19594
 
19605
- var STACK_SIZE = 65536;
19595
+ var STACK_SIZE = 1048576;
19606
19596
 
19607
19597
  var STACK_ALIGN = 16;
19608
19598
 
@@ -20046,12 +20036,8 @@ export function init(RuntimeName, PHPLoader) {
20046
20036
  stringToUTF8(e.locale || '', keyEventData + 128, 32);
20047
20037
 
20048
20038
  if (
20049
- ((
20050
- a1,
20051
- a2,
20052
- a3
20053
- ) => {}) /* 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. */(
20054
- eventTypeId,
20039
+ ((a1, a2, a3) => {})(
20040
+ /* 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,
20055
20041
  keyEventData,
20056
20042
  userData
20057
20043
  )
@@ -20169,12 +20155,8 @@ export function init(RuntimeName, PHPLoader) {
20169
20155
  fillMouseEventData(JSEvents.mouseEvent, e, target);
20170
20156
 
20171
20157
  if (
20172
- ((
20173
- a1,
20174
- a2,
20175
- a3
20176
- ) => {}) /* 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. */(
20177
- eventTypeId,
20158
+ ((a1, a2, a3) => {})(
20159
+ /* 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,
20178
20160
  JSEvents.mouseEvent,
20179
20161
  userData
20180
20162
  )
@@ -20388,12 +20370,8 @@ export function init(RuntimeName, PHPLoader) {
20388
20370
  HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
20389
20371
  HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
20390
20372
  if (
20391
- ((
20392
- a1,
20393
- a2,
20394
- a3
20395
- ) => {}) /* 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. */(
20396
- eventTypeId,
20373
+ ((a1, a2, a3) => {})(
20374
+ /* 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,
20397
20375
  wheelEvent,
20398
20376
  userData
20399
20377
  )
@@ -20474,12 +20452,8 @@ export function init(RuntimeName, PHPLoader) {
20474
20452
  HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
20475
20453
  HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
20476
20454
  if (
20477
- ((
20478
- a1,
20479
- a2,
20480
- a3
20481
- ) => {}) /* 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. */(
20482
- eventTypeId,
20455
+ ((a1, a2, a3) => {})(
20456
+ /* 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,
20483
20457
  uiEvent,
20484
20458
  userData
20485
20459
  )
@@ -20553,12 +20527,8 @@ export function init(RuntimeName, PHPLoader) {
20553
20527
  stringToUTF8(id, focusEvent + 128, 128);
20554
20528
 
20555
20529
  if (
20556
- ((
20557
- a1,
20558
- a2,
20559
- a3
20560
- ) => {}) /* 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. */(
20561
- eventTypeId,
20530
+ ((a1, a2, a3) => {})(
20531
+ /* 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,
20562
20532
  focusEvent,
20563
20533
  userData
20564
20534
  )
@@ -20674,12 +20644,8 @@ export function init(RuntimeName, PHPLoader) {
20674
20644
  ); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
20675
20645
 
20676
20646
  if (
20677
- ((
20678
- a1,
20679
- a2,
20680
- a3
20681
- ) => {}) /* 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. */(
20682
- eventTypeId,
20647
+ ((a1, a2, a3) => {})(
20648
+ /* 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,
20683
20649
  JSEvents.deviceOrientationEvent,
20684
20650
  userData
20685
20651
  )
@@ -20762,12 +20728,8 @@ export function init(RuntimeName, PHPLoader) {
20762
20728
  fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
20763
20729
 
20764
20730
  if (
20765
- ((
20766
- a1,
20767
- a2,
20768
- a3
20769
- ) => {}) /* 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. */(
20770
- eventTypeId,
20731
+ ((a1, a2, a3) => {})(
20732
+ /* 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,
20771
20733
  JSEvents.deviceMotionEvent,
20772
20734
  userData
20773
20735
  )
@@ -20877,12 +20839,8 @@ export function init(RuntimeName, PHPLoader) {
20877
20839
  fillOrientationChangeEventData(orientationChangeEvent);
20878
20840
 
20879
20841
  if (
20880
- ((
20881
- a1,
20882
- a2,
20883
- a3
20884
- ) => {}) /* 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. */(
20885
- eventTypeId,
20842
+ ((a1, a2, a3) => {})(
20843
+ /* 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,
20886
20844
  orientationChangeEvent,
20887
20845
  userData
20888
20846
  )
@@ -21015,12 +20973,8 @@ export function init(RuntimeName, PHPLoader) {
21015
20973
  fillFullscreenChangeEventData(fullscreenChangeEvent);
21016
20974
 
21017
20975
  if (
21018
- ((
21019
- a1,
21020
- a2,
21021
- a3
21022
- ) => {}) /* 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. */(
21023
- eventTypeId,
20976
+ ((a1, a2, a3) => {})(
20977
+ /* 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,
21024
20978
  fullscreenChangeEvent,
21025
20979
  userData
21026
20980
  )
@@ -21184,12 +21138,8 @@ export function init(RuntimeName, PHPLoader) {
21184
21138
  );
21185
21139
 
21186
21140
  if (currentFullscreenStrategy.canvasResizedCallback) {
21187
- ((
21188
- a1,
21189
- a2,
21190
- a3
21191
- ) => {}) /* 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. */(
21192
- 37,
21141
+ ((a1, a2, a3) => {})(
21142
+ /* 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,
21193
21143
  0,
21194
21144
  currentFullscreenStrategy.canvasResizedCallbackUserData
21195
21145
  );
@@ -21295,12 +21245,8 @@ export function init(RuntimeName, PHPLoader) {
21295
21245
  currentFullscreenStrategy = strategy;
21296
21246
 
21297
21247
  if (strategy.canvasResizedCallback) {
21298
- ((
21299
- a1,
21300
- a2,
21301
- a3
21302
- ) => {}) /* 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. */(
21303
- 37,
21248
+ ((a1, a2, a3) => {})(
21249
+ /* 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,
21304
21250
  0,
21305
21251
  strategy.canvasResizedCallbackUserData
21306
21252
  );
@@ -21402,12 +21348,8 @@ export function init(RuntimeName, PHPLoader) {
21402
21348
  !inCenteredWithoutScalingFullscreenMode &&
21403
21349
  currentFullscreenStrategy.canvasResizedCallback
21404
21350
  ) {
21405
- ((
21406
- a1,
21407
- a2,
21408
- a3
21409
- ) => {}) /* 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. */(
21410
- 37,
21351
+ ((a1, a2, a3) => {})(
21352
+ /* 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,
21411
21353
  0,
21412
21354
  currentFullscreenStrategy.canvasResizedCallbackUserData
21413
21355
  );
@@ -21506,12 +21448,8 @@ export function init(RuntimeName, PHPLoader) {
21506
21448
  softFullscreenResizeWebGLRenderTarget
21507
21449
  );
21508
21450
  if (strategy.canvasResizedCallback) {
21509
- ((
21510
- a1,
21511
- a2,
21512
- a3
21513
- ) => {}) /* 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. */(
21514
- 37,
21451
+ ((a1, a2, a3) => {})(
21452
+ /* 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,
21515
21453
  0,
21516
21454
  strategy.canvasResizedCallbackUserData
21517
21455
  );
@@ -21524,12 +21462,8 @@ export function init(RuntimeName, PHPLoader) {
21524
21462
 
21525
21463
  // Inform the caller that the canvas size has changed.
21526
21464
  if (strategy.canvasResizedCallback) {
21527
- ((
21528
- a1,
21529
- a2,
21530
- a3
21531
- ) => {}) /* 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. */(
21532
- 37,
21465
+ ((a1, a2, a3) => {})(
21466
+ /* 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,
21533
21467
  0,
21534
21468
  strategy.canvasResizedCallbackUserData
21535
21469
  );
@@ -21597,12 +21531,8 @@ export function init(RuntimeName, PHPLoader) {
21597
21531
  fillPointerlockChangeEventData(pointerlockChangeEvent);
21598
21532
 
21599
21533
  if (
21600
- ((
21601
- a1,
21602
- a2,
21603
- a3
21604
- ) => {}) /* 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. */(
21605
- eventTypeId,
21534
+ ((a1, a2, a3) => {})(
21535
+ /* 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,
21606
21536
  pointerlockChangeEvent,
21607
21537
  userData
21608
21538
  )
@@ -21692,12 +21622,8 @@ export function init(RuntimeName, PHPLoader) {
21692
21622
  ) => {
21693
21623
  var pointerlockErrorEventHandlerFunc = (e = event) => {
21694
21624
  if (
21695
- ((
21696
- a1,
21697
- a2,
21698
- a3
21699
- ) => {}) /* 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. */(
21700
- eventTypeId,
21625
+ ((a1, a2, a3) => {})(
21626
+ /* 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,
21701
21627
  0,
21702
21628
  userData
21703
21629
  )
@@ -21897,12 +21823,8 @@ export function init(RuntimeName, PHPLoader) {
21897
21823
  fillVisibilityChangeEventData(visibilityChangeEvent);
21898
21824
 
21899
21825
  if (
21900
- ((
21901
- a1,
21902
- a2,
21903
- a3
21904
- ) => {}) /* 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. */(
21905
- eventTypeId,
21826
+ ((a1, a2, a3) => {})(
21827
+ /* 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,
21906
21828
  visibilityChangeEvent,
21907
21829
  userData
21908
21830
  )
@@ -22022,12 +21944,8 @@ export function init(RuntimeName, PHPLoader) {
22022
21944
  HEAP32[(touchEvent + 8) >> 2] = numTouches;
22023
21945
 
22024
21946
  if (
22025
- ((
22026
- a1,
22027
- a2,
22028
- a3
22029
- ) => {}) /* 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. */(
22030
- eventTypeId,
21947
+ ((a1, a2, a3) => {})(
21948
+ /* 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,
22031
21949
  touchEvent,
22032
21950
  userData
22033
21951
  )
@@ -22165,12 +22083,8 @@ export function init(RuntimeName, PHPLoader) {
22165
22083
  fillGamepadEventData(gamepadEvent, e['gamepad']);
22166
22084
 
22167
22085
  if (
22168
- ((
22169
- a1,
22170
- a2,
22171
- a3
22172
- ) => {}) /* 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. */(
22173
- eventTypeId,
22086
+ ((a1, a2, a3) => {})(
22087
+ /* 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,
22174
22088
  gamepadEvent,
22175
22089
  userData
22176
22090
  )
@@ -22272,12 +22186,8 @@ export function init(RuntimeName, PHPLoader) {
22272
22186
  ) => {
22273
22187
  var beforeUnloadEventHandlerFunc = (e = event) => {
22274
22188
  // Note: This is always called on the main browser thread, since it needs synchronously return a value!
22275
- var confirmationMessage = ((
22276
- a1,
22277
- a2,
22278
- a3
22279
- ) => {}) /* 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. */(
22280
- eventTypeId,
22189
+ var confirmationMessage = ((a1, a2, a3) => {})(
22190
+ /* 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,
22281
22191
  0,
22282
22192
  userData
22283
22193
  );
@@ -22348,12 +22258,8 @@ export function init(RuntimeName, PHPLoader) {
22348
22258
  fillBatteryEventData(batteryEvent, battery());
22349
22259
 
22350
22260
  if (
22351
- ((
22352
- a1,
22353
- a2,
22354
- a3
22355
- ) => {}) /* 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. */(
22356
- eventTypeId,
22261
+ ((a1, a2, a3) => {})(
22262
+ /* 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,
22357
22263
  batteryEvent,
22358
22264
  userData
22359
22265
  )
@@ -22443,11 +22349,8 @@ export function init(RuntimeName, PHPLoader) {
22443
22349
 
22444
22350
  var _emscripten_request_animation_frame = (cb, userData) =>
22445
22351
  requestAnimationFrame((timeStamp) =>
22446
- ((
22447
- a1,
22448
- a2
22449
- ) => {}) /* 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. */(
22450
- timeStamp,
22352
+ ((a1, a2) => {})(
22353
+ /* 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,
22451
22354
  userData
22452
22355
  )
22453
22356
  );
@@ -22459,11 +22362,8 @@ export function init(RuntimeName, PHPLoader) {
22459
22362
  var _emscripten_request_animation_frame_loop = (cb, userData) => {
22460
22363
  function tick(timeStamp) {
22461
22364
  if (
22462
- ((
22463
- a1,
22464
- a2
22465
- ) => {}) /* 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. */(
22466
- timeStamp,
22365
+ ((a1, a2) => {})(
22366
+ /* 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,
22467
22367
  userData
22468
22368
  )
22469
22369
  ) {
@@ -22688,10 +22588,8 @@ export function init(RuntimeName, PHPLoader) {
22688
22588
  return emSetImmediate(() => {
22689
22589
  runtimeKeepalivePop();
22690
22590
  callUserCallback(() =>
22691
- ((
22692
- a1
22693
- ) => {}) /* 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. */(
22694
- userData
22591
+ ((a1) => {})(
22592
+ /* 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
22695
22593
  )
22696
22594
  );
22697
22595
  });
@@ -22708,10 +22606,8 @@ export function init(RuntimeName, PHPLoader) {
22708
22606
  function tick() {
22709
22607
  callUserCallback(() => {
22710
22608
  if (
22711
- ((
22712
- a1
22713
- ) => {}) /* 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. */(
22714
- userData
22609
+ ((a1) => {})(
22610
+ /* 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
22715
22611
  )
22716
22612
  ) {
22717
22613
  emSetImmediate(tick);
@@ -22728,10 +22624,8 @@ export function init(RuntimeName, PHPLoader) {
22728
22624
  var _emscripten_set_timeout = (cb, msecs, userData) =>
22729
22625
  safeSetTimeout(
22730
22626
  () =>
22731
- ((
22732
- a1
22733
- ) => {}) /* 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. */(
22734
- userData
22627
+ ((a1) => {})(
22628
+ /* 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
22735
22629
  ),
22736
22630
  msecs
22737
22631
  );
@@ -22747,11 +22641,8 @@ export function init(RuntimeName, PHPLoader) {
22747
22641
  runtimeKeepalivePop();
22748
22642
  callUserCallback(() => {
22749
22643
  if (
22750
- ((
22751
- a1,
22752
- a2
22753
- ) => {}) /* 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. */(
22754
- t,
22644
+ ((a1, a2) => {})(
22645
+ /* 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,
22755
22646
  userData
22756
22647
  )
22757
22648
  ) {
@@ -22775,10 +22666,8 @@ export function init(RuntimeName, PHPLoader) {
22775
22666
  runtimeKeepalivePush();
22776
22667
  return setInterval(() => {
22777
22668
  callUserCallback(() =>
22778
- ((
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. */(
22781
- userData
22669
+ ((a1) => {})(
22670
+ /* 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
22782
22671
  )
22783
22672
  );
22784
22673
  }, msecs);
@@ -22793,10 +22682,8 @@ export function init(RuntimeName, PHPLoader) {
22793
22682
 
22794
22683
  var _emscripten_async_call = (func, arg, millis) => {
22795
22684
  var wrapper = () =>
22796
- ((
22797
- a1
22798
- ) => {}) /* 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. */(
22799
- arg
22685
+ ((a1) => {})(
22686
+ /* 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
22800
22687
  );
22801
22688
 
22802
22689
  if (
@@ -22829,7 +22716,7 @@ export function init(RuntimeName, PHPLoader) {
22829
22716
 
22830
22717
  var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
22831
22718
  var iterFunc =
22832
- () => {} /* 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. */;
22719
+ () => {}; /* 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. */
22833
22720
  setMainLoop(iterFunc, fps, simulateInfiniteLoop);
22834
22721
  };
22835
22722
  _emscripten_set_main_loop.sig = 'vpii';
@@ -22841,10 +22728,8 @@ export function init(RuntimeName, PHPLoader) {
22841
22728
  simulateInfiniteLoop
22842
22729
  ) => {
22843
22730
  var iterFunc = () =>
22844
- ((
22845
- a1
22846
- ) => {}) /* 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. */(
22847
- arg
22731
+ ((a1) => {})(
22732
+ /* 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
22848
22733
  );
22849
22734
  setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
22850
22735
  };
@@ -22865,10 +22750,8 @@ export function init(RuntimeName, PHPLoader) {
22865
22750
  var __emscripten_push_main_loop_blocker = (func, arg, name) => {
22866
22751
  MainLoop.queue.push({
22867
22752
  func: () => {
22868
- ((
22869
- a1
22870
- ) => {}) /* 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. */(
22871
- arg
22753
+ ((a1) => {})(
22754
+ /* 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
22872
22755
  );
22873
22756
  },
22874
22757
  name: UTF8ToString(name),
@@ -22881,10 +22764,8 @@ export function init(RuntimeName, PHPLoader) {
22881
22764
  var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
22882
22765
  MainLoop.queue.push({
22883
22766
  func: () => {
22884
- ((
22885
- a1
22886
- ) => {}) /* 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. */(
22887
- arg
22767
+ ((a1) => {})(
22768
+ /* 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
22888
22769
  );
22889
22770
  },
22890
22771
  name: UTF8ToString(name),
@@ -22918,12 +22799,8 @@ export function init(RuntimeName, PHPLoader) {
22918
22799
  var resultPtr = stackAlloc(POINTER_SIZE);
22919
22800
  HEAPU32[resultPtr >> 2] = 0;
22920
22801
  try {
22921
- var result = ((
22922
- a1,
22923
- a2,
22924
- a3
22925
- ) => {}) /* 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. */(
22926
- resultPtr,
22802
+ var result = ((a1, a2, a3) => {})(
22803
+ /* 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,
22927
22804
  userData,
22928
22805
  value
22929
22806
  );
@@ -23859,19 +23736,15 @@ export function init(RuntimeName, PHPLoader) {
23859
23736
  () => {
23860
23737
  runtimeKeepalivePop();
23861
23738
  if (onload)
23862
- ((
23863
- a1
23864
- ) => {}) /* 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. */(
23865
- file
23739
+ ((a1) => {})(
23740
+ /* 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
23866
23741
  );
23867
23742
  },
23868
23743
  () => {
23869
23744
  runtimeKeepalivePop();
23870
23745
  if (onerror)
23871
- ((
23872
- a1
23873
- ) => {}) /* 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. */(
23874
- file
23746
+ ((a1) => {})(
23747
+ /* 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
23875
23748
  );
23876
23749
  },
23877
23750
  true // don'tCreateFile - it's already there
@@ -23905,21 +23778,16 @@ export function init(RuntimeName, PHPLoader) {
23905
23778
  () => {
23906
23779
  runtimeKeepalivePop();
23907
23780
  if (onload)
23908
- ((
23909
- a1,
23910
- a2
23911
- ) => {}) /* 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. */(
23912
- arg,
23781
+ ((a1, a2) => {})(
23782
+ /* 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,
23913
23783
  cname
23914
23784
  );
23915
23785
  },
23916
23786
  () => {
23917
23787
  runtimeKeepalivePop();
23918
23788
  if (onerror)
23919
- ((
23920
- a1
23921
- ) => {}) /* 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. */(
23922
- arg
23789
+ ((a1) => {})(
23790
+ /* 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
23923
23791
  );
23924
23792
  },
23925
23793
  true // don'tCreateFile - it's already there
@@ -24192,10 +24060,10 @@ export function init(RuntimeName, PHPLoader) {
24192
24060
  runtimeKeepalivePop();
24193
24061
  callUserCallback(() => {
24194
24062
  var sp = stackSave();
24195
- ((
24196
- a1
24197
- ) => {}) /* 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. */(
24198
- stringToUTF8OnStack(_file)
24063
+ ((a1) => {})(
24064
+ /* 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(
24065
+ _file
24066
+ )
24199
24067
  );
24200
24068
  stackRestore(sp);
24201
24069
  });
@@ -24239,12 +24107,8 @@ export function init(RuntimeName, PHPLoader) {
24239
24107
  callUserCallback(() => {
24240
24108
  var buffer = _malloc(byteArray.length);
24241
24109
  HEAPU8.set(byteArray, buffer);
24242
- ((
24243
- a1,
24244
- a2,
24245
- a3
24246
- ) => {}) /* 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. */(
24247
- userdata,
24110
+ ((a1, a2, a3) => {})(
24111
+ /* 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,
24248
24112
  buffer,
24249
24113
  byteArray.length
24250
24114
  );
@@ -24254,10 +24118,8 @@ export function init(RuntimeName, PHPLoader) {
24254
24118
  if (onerror) {
24255
24119
  runtimeKeepalivePop();
24256
24120
  callUserCallback(() => {
24257
- ((
24258
- a1
24259
- ) => {}) /* 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. */(
24260
- userdata
24121
+ ((a1) => {})(
24122
+ /* 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
24261
24123
  );
24262
24124
  });
24263
24125
  }
@@ -24314,12 +24176,8 @@ export function init(RuntimeName, PHPLoader) {
24314
24176
  );
24315
24177
  if (onload) {
24316
24178
  var sp = stackSave();
24317
- ((
24318
- a1,
24319
- a2,
24320
- a3
24321
- ) => {}) /* 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. */(
24322
- handle,
24179
+ ((a1, a2, a3) => {})(
24180
+ /* 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,
24323
24181
  userdata,
24324
24182
  stringToUTF8OnStack(_file)
24325
24183
  );
@@ -24327,12 +24185,8 @@ export function init(RuntimeName, PHPLoader) {
24327
24185
  }
24328
24186
  } else {
24329
24187
  if (onerror)
24330
- ((
24331
- a1,
24332
- a2,
24333
- a3
24334
- ) => {}) /* 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. */(
24335
- handle,
24188
+ ((a1, a2, a3) => {})(
24189
+ /* 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,
24336
24190
  userdata,
24337
24191
  http.status
24338
24192
  );
@@ -24345,12 +24199,8 @@ export function init(RuntimeName, PHPLoader) {
24345
24199
  http.onerror = (e) => {
24346
24200
  runtimeKeepalivePop();
24347
24201
  if (onerror)
24348
- ((
24349
- a1,
24350
- a2,
24351
- a3
24352
- ) => {}) /* 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. */(
24353
- handle,
24202
+ ((a1, a2, a3) => {})(
24203
+ /* 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,
24354
24204
  userdata,
24355
24205
  http.status
24356
24206
  );
@@ -24365,12 +24215,8 @@ export function init(RuntimeName, PHPLoader) {
24365
24215
  ) {
24366
24216
  var percentComplete = (e.loaded / e.total) * 100;
24367
24217
  if (onprogress)
24368
- ((
24369
- a1,
24370
- a2,
24371
- a3
24372
- ) => {}) /* 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. */(
24373
- handle,
24218
+ ((a1, a2, a3) => {})(
24219
+ /* 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,
24374
24220
  userdata,
24375
24221
  percentComplete
24376
24222
  );
@@ -24427,13 +24273,8 @@ export function init(RuntimeName, PHPLoader) {
24427
24273
  if (http.statusText) {
24428
24274
  statusText = stringToUTF8OnStack(http.statusText);
24429
24275
  }
24430
- ((
24431
- a1,
24432
- a2,
24433
- a3,
24434
- a4
24435
- ) => {}) /* 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. */(
24436
- handle,
24276
+ ((a1, a2, a3, a4) => {})(
24277
+ /* 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,
24437
24278
  userdata,
24438
24279
  http.status,
24439
24280
  statusText
@@ -24454,13 +24295,8 @@ export function init(RuntimeName, PHPLoader) {
24454
24295
  var buffer = _malloc(byteArray.length);
24455
24296
  HEAPU8.set(byteArray, buffer);
24456
24297
  if (onload)
24457
- ((
24458
- a1,
24459
- a2,
24460
- a3,
24461
- a4
24462
- ) => {}) /* 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. */(
24463
- handle,
24298
+ ((a1, a2, a3, a4) => {})(
24299
+ /* 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,
24464
24300
  userdata,
24465
24301
  buffer,
24466
24302
  byteArray.length
@@ -24481,13 +24317,8 @@ export function init(RuntimeName, PHPLoader) {
24481
24317
  // PROGRESS
24482
24318
  http.onprogress = (e) => {
24483
24319
  if (onprogress)
24484
- ((
24485
- a1,
24486
- a2,
24487
- a3,
24488
- a4
24489
- ) => {}) /* 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. */(
24490
- handle,
24320
+ ((a1, a2, a3, a4) => {})(
24321
+ /* 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,
24491
24322
  userdata,
24492
24323
  e.loaded,
24493
24324
  e.lengthComputable || e.lengthComputable === undefined
@@ -24607,24 +24438,16 @@ export function init(RuntimeName, PHPLoader) {
24607
24438
  if (event === 'error') {
24608
24439
  withStackSave(() => {
24609
24440
  var msg = stringToUTF8OnStack(data[2]);
24610
- ((
24611
- a1,
24612
- a2,
24613
- a3,
24614
- a4
24615
- ) => {}) /* 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. */(
24616
- data[0],
24441
+ ((a1, a2, a3, a4) => {})(
24442
+ /* 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],
24617
24443
  data[1],
24618
24444
  msg,
24619
24445
  userData
24620
24446
  );
24621
24447
  });
24622
24448
  } else {
24623
- ((
24624
- a1,
24625
- a2
24626
- ) => {}) /* 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. */(
24627
- data,
24449
+ ((a1, a2) => {})(
24450
+ /* 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,
24628
24451
  userData
24629
24452
  );
24630
24453
  }
@@ -25090,12 +24913,8 @@ export function init(RuntimeName, PHPLoader) {
25090
24913
  ) => {
25091
24914
  var webGlEventHandlerFunc = (e = event) => {
25092
24915
  if (
25093
- ((
25094
- a1,
25095
- a2,
25096
- a3
25097
- ) => {}) /* 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. */(
25098
- eventTypeId,
24916
+ ((a1, a2, a3) => {})(
24917
+ /* 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,
25099
24918
  0,
25100
24919
  userData
25101
24920
  )
@@ -25314,21 +25133,15 @@ export function init(RuntimeName, PHPLoader) {
25314
25133
  ) {
25315
25134
  event.preventDefault();
25316
25135
  GLUT.saveModifiers(event);
25317
- ((
25318
- a1,
25319
- a2
25320
- ) => {}) /* 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. */(
25321
- lastX,
25136
+ ((a1, a2) => {})(
25137
+ /* 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,
25322
25138
  lastY
25323
25139
  );
25324
25140
  } else if (GLUT.buttons != 0 && GLUT.motionFunc) {
25325
25141
  event.preventDefault();
25326
25142
  GLUT.saveModifiers(event);
25327
- ((
25328
- a1,
25329
- a2
25330
- ) => {}) /* 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. */(
25331
- lastX,
25143
+ ((a1, a2) => {})(
25144
+ /* 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,
25332
25145
  lastY
25333
25146
  );
25334
25147
  }
@@ -25489,12 +25302,8 @@ export function init(RuntimeName, PHPLoader) {
25489
25302
  if (GLUT.specialFunc) {
25490
25303
  event.preventDefault();
25491
25304
  GLUT.saveModifiers(event);
25492
- ((
25493
- a1,
25494
- a2,
25495
- a3
25496
- ) => {}) /* 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. */(
25497
- key,
25305
+ ((a1, a2, a3) => {})(
25306
+ /* 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,
25498
25307
  Browser.mouseX,
25499
25308
  Browser.mouseY
25500
25309
  );
@@ -25504,12 +25313,8 @@ export function init(RuntimeName, PHPLoader) {
25504
25313
  if (key !== null && GLUT.keyboardFunc) {
25505
25314
  event.preventDefault();
25506
25315
  GLUT.saveModifiers(event);
25507
- ((
25508
- a1,
25509
- a2,
25510
- a3
25511
- ) => {}) /* 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. */(
25512
- key,
25316
+ ((a1, a2, a3) => {})(
25317
+ /* 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,
25513
25318
  Browser.mouseX,
25514
25319
  Browser.mouseY
25515
25320
  );
@@ -25524,12 +25329,8 @@ export function init(RuntimeName, PHPLoader) {
25524
25329
  if (GLUT.specialUpFunc) {
25525
25330
  event.preventDefault();
25526
25331
  GLUT.saveModifiers(event);
25527
- ((
25528
- a1,
25529
- a2,
25530
- a3
25531
- ) => {}) /* 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. */(
25532
- key,
25332
+ ((a1, a2, a3) => {})(
25333
+ /* 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,
25533
25334
  Browser.mouseX,
25534
25335
  Browser.mouseY
25535
25336
  );
@@ -25539,12 +25340,8 @@ export function init(RuntimeName, PHPLoader) {
25539
25340
  if (key !== null && GLUT.keyboardUpFunc) {
25540
25341
  event.preventDefault();
25541
25342
  GLUT.saveModifiers(event);
25542
- ((
25543
- a1,
25544
- a2,
25545
- a3
25546
- ) => {}) /* 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. */(
25547
- key,
25343
+ ((a1, a2, a3) => {})(
25344
+ /* 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,
25548
25345
  Browser.mouseX,
25549
25346
  Browser.mouseY
25550
25347
  );
@@ -25608,13 +25405,10 @@ export function init(RuntimeName, PHPLoader) {
25608
25405
  } catch (e) {}
25609
25406
  event.preventDefault();
25610
25407
  GLUT.saveModifiers(event);
25611
- ((
25612
- a1,
25613
- a2,
25614
- a3,
25615
- a4
25616
- ) => {}) /* 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. */(
25617
- event['button'],
25408
+ ((a1, a2, a3, a4) => {})(
25409
+ /* 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[
25410
+ 'button'
25411
+ ],
25618
25412
  0 /*GLUT_DOWN*/,
25619
25413
  Browser.mouseX,
25620
25414
  Browser.mouseY
@@ -25629,13 +25423,10 @@ export function init(RuntimeName, PHPLoader) {
25629
25423
  if (GLUT.mouseFunc) {
25630
25424
  event.preventDefault();
25631
25425
  GLUT.saveModifiers(event);
25632
- ((
25633
- a1,
25634
- a2,
25635
- a3,
25636
- a4
25637
- ) => {}) /* 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. */(
25638
- event['button'],
25426
+ ((a1, a2, a3, a4) => {})(
25427
+ /* 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[
25428
+ 'button'
25429
+ ],
25639
25430
  1 /*GLUT_UP*/,
25640
25431
  Browser.mouseX,
25641
25432
  Browser.mouseY
@@ -25664,13 +25455,8 @@ export function init(RuntimeName, PHPLoader) {
25664
25455
  if (GLUT.mouseFunc) {
25665
25456
  event.preventDefault();
25666
25457
  GLUT.saveModifiers(event);
25667
- ((
25668
- a1,
25669
- a2,
25670
- a3,
25671
- a4
25672
- ) => {}) /* 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. */(
25673
- button,
25458
+ ((a1, a2, a3, a4) => {})(
25459
+ /* 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,
25674
25460
  0 /*GLUT_DOWN*/,
25675
25461
  Browser.mouseX,
25676
25462
  Browser.mouseY
@@ -25713,11 +25499,8 @@ export function init(RuntimeName, PHPLoader) {
25713
25499
  /* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
25714
25500
  if (GLUT.reshapeFunc) {
25715
25501
  // out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
25716
- ((
25717
- a1,
25718
- a2
25719
- ) => {}) /* 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. */(
25720
- width,
25502
+ ((a1, a2) => {})(
25503
+ /* 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,
25721
25504
  height
25722
25505
  );
25723
25506
  }
@@ -25760,11 +25543,8 @@ export function init(RuntimeName, PHPLoader) {
25760
25543
 
25761
25544
  Browser.resizeListeners.push((width, height) => {
25762
25545
  if (GLUT.reshapeFunc) {
25763
- ((
25764
- a1,
25765
- a2
25766
- ) => {}) /* 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. */(
25767
- width,
25546
+ ((a1, a2) => {})(
25547
+ /* 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,
25768
25548
  height
25769
25549
  );
25770
25550
  }
@@ -25877,10 +25657,8 @@ export function init(RuntimeName, PHPLoader) {
25877
25657
  var _glutTimerFunc = (msec, func, value) =>
25878
25658
  safeSetTimeout(
25879
25659
  () =>
25880
- ((
25881
- a1
25882
- ) => {}) /* 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. */(
25883
- value
25660
+ ((a1) => {})(
25661
+ /* 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
25884
25662
  ),
25885
25663
  msec
25886
25664
  );
@@ -26040,11 +25818,8 @@ export function init(RuntimeName, PHPLoader) {
26040
25818
  Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
26041
25819
  // Just call it once here.
26042
25820
  if (GLUT.reshapeFunc) {
26043
- ((
26044
- a1,
26045
- a2
26046
- ) => {}) /* 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. */(
26047
- width,
25821
+ ((a1, a2) => {})(
25822
+ /* 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,
26048
25823
  height
26049
25824
  );
26050
25825
  }
@@ -27106,21 +26881,15 @@ export function init(RuntimeName, PHPLoader) {
27106
26881
  callUserCallback(() => {
27107
26882
  if (error) {
27108
26883
  if (onerror)
27109
- ((
27110
- a1
27111
- ) => {}) /* 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. */(
27112
- arg
26884
+ ((a1) => {})(
26885
+ /* 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
27113
26886
  );
27114
26887
  return;
27115
26888
  }
27116
26889
  var buffer = _malloc(byteArray.length);
27117
26890
  HEAPU8.set(byteArray, buffer);
27118
- ((
27119
- a1,
27120
- a2,
27121
- a3
27122
- ) => {}) /* 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. */(
27123
- arg,
26891
+ ((a1, a2, a3) => {})(
26892
+ /* 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,
27124
26893
  buffer,
27125
26894
  byteArray.length
27126
26895
  );
@@ -27152,18 +26921,14 @@ export function init(RuntimeName, PHPLoader) {
27152
26921
  callUserCallback(() => {
27153
26922
  if (error) {
27154
26923
  if (onerror)
27155
- ((
27156
- a1
27157
- ) => {}) /* 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. */(
27158
- arg
26924
+ ((a1) => {})(
26925
+ /* 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
27159
26926
  );
27160
26927
  return;
27161
26928
  }
27162
26929
  if (onstore)
27163
- ((
27164
- a1
27165
- ) => {}) /* 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. */(
27166
- arg
26930
+ ((a1) => {})(
26931
+ /* 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
27167
26932
  );
27168
26933
  });
27169
26934
  }
@@ -27178,18 +26943,14 @@ export function init(RuntimeName, PHPLoader) {
27178
26943
  callUserCallback(() => {
27179
26944
  if (error) {
27180
26945
  if (onerror)
27181
- ((
27182
- a1
27183
- ) => {}) /* 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. */(
27184
- arg
26946
+ ((a1) => {})(
26947
+ /* 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
27185
26948
  );
27186
26949
  return;
27187
26950
  }
27188
26951
  if (ondelete)
27189
- ((
27190
- a1
27191
- ) => {}) /* 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. */(
27192
- arg
26952
+ ((a1) => {})(
26953
+ /* 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
27193
26954
  );
27194
26955
  });
27195
26956
  });
@@ -27206,19 +26967,14 @@ export function init(RuntimeName, PHPLoader) {
27206
26967
  callUserCallback(() => {
27207
26968
  if (error) {
27208
26969
  if (onerror)
27209
- ((
27210
- a1
27211
- ) => {}) /* 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. */(
27212
- arg
26970
+ ((a1) => {})(
26971
+ /* 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
27213
26972
  );
27214
26973
  return;
27215
26974
  }
27216
26975
  if (oncheck)
27217
- ((
27218
- a1,
27219
- a2
27220
- ) => {}) /* 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. */(
27221
- arg,
26976
+ ((a1, a2) => {})(
26977
+ /* 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,
27222
26978
  exists
27223
26979
  );
27224
26980
  });
@@ -27234,18 +26990,14 @@ export function init(RuntimeName, PHPLoader) {
27234
26990
  callUserCallback(() => {
27235
26991
  if (error) {
27236
26992
  if (onerror)
27237
- ((
27238
- a1
27239
- ) => {}) /* 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. */(
27240
- arg
26993
+ ((a1) => {})(
26994
+ /* 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
27241
26995
  );
27242
26996
  return;
27243
26997
  }
27244
26998
  if (onclear)
27245
- ((
27246
- a1
27247
- ) => {}) /* 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. */(
27248
- arg
26999
+ ((a1) => {})(
27000
+ /* 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
27249
27001
  );
27250
27002
  });
27251
27003
  });
@@ -27402,11 +27154,8 @@ export function init(RuntimeName, PHPLoader) {
27402
27154
  safeSetTimeout(() => {
27403
27155
  var stackBegin = Asyncify.currData + 12;
27404
27156
  var stackEnd = HEAPU32[Asyncify.currData >> 2];
27405
- ((
27406
- a1,
27407
- a2
27408
- ) => {}) /* 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. */(
27409
- stackBegin,
27157
+ ((a1, a2) => {})(
27158
+ /* 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,
27410
27159
  stackEnd
27411
27160
  );
27412
27161
  wakeUp();
@@ -27467,10 +27216,8 @@ export function init(RuntimeName, PHPLoader) {
27467
27216
  HEAPU32[(newFiber + 12) >> 2] = 0;
27468
27217
 
27469
27218
  var userData = HEAPU32[(newFiber + 16) >> 2];
27470
- ((
27471
- a1
27472
- ) => {}) /* 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. */(
27473
- userData
27219
+ ((a1) => {})(
27220
+ /* 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
27474
27221
  );
27475
27222
  } else {
27476
27223
  var asyncifyData = newFiber + 20;
@@ -28482,11 +28229,8 @@ export function init(RuntimeName, PHPLoader) {
28482
28229
  if (!SDL.eventHandler) return;
28483
28230
 
28484
28231
  while (SDL.pollEvent(SDL.eventHandlerTemp)) {
28485
- ((
28486
- a1,
28487
- a2
28488
- ) => {}) /* 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. */(
28489
- SDL.eventHandlerContext,
28232
+ ((a1, a2) => {})(
28233
+ /* 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,
28490
28234
  SDL.eventHandlerTemp
28491
28235
  );
28492
28236
  }
@@ -30119,12 +29863,9 @@ export function init(RuntimeName, PHPLoader) {
30119
29863
  return;
30120
29864
 
30121
29865
  // Ask SDL audio data from the user code.
30122
- ((
30123
- a1,
30124
- a2,
30125
- a3
30126
- ) => {}) /* 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. */(
30127
- SDL.audio.userdata,
29866
+ ((a1, a2, a3) => {})(
29867
+ /* 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
29868
+ .audio.userdata,
30128
29869
  SDL.audio.buffer,
30129
29870
  SDL.audio.bufferSize
30130
29871
  );
@@ -30582,10 +30323,8 @@ export function init(RuntimeName, PHPLoader) {
30582
30323
  info.audio = null;
30583
30324
  }
30584
30325
  if (SDL.channelFinished) {
30585
- ((
30586
- a1
30587
- ) => {}) /* 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. */(
30588
- channel
30326
+ ((a1) => {})(
30327
+ /* 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
30589
30328
  );
30590
30329
  }
30591
30330
  }
@@ -30654,10 +30393,8 @@ export function init(RuntimeName, PHPLoader) {
30654
30393
  channelInfo.audio = null;
30655
30394
  }
30656
30395
  if (SDL.channelFinished)
30657
- ((
30658
- a1
30659
- ) => {}) /* 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. */(
30660
- channel
30396
+ ((a1) => {})(
30397
+ /* 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
30661
30398
  );
30662
30399
  };
30663
30400
  if (channelInfo.audio) {
@@ -31405,11 +31142,8 @@ export function init(RuntimeName, PHPLoader) {
31405
31142
  var _SDL_AddTimer = (interval, callback, param) =>
31406
31143
  safeSetTimeout(
31407
31144
  () =>
31408
- ((
31409
- a1,
31410
- a2
31411
- ) => {}) /* 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. */(
31412
- interval,
31145
+ ((a1, a2) => {})(
31146
+ /* 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,
31413
31147
  param
31414
31148
  ),
31415
31149
  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
- 10780141: ($0) => {
31811
+ 10814813: ($0) => {
32094
31812
  if (!$0) {
32095
31813
  AL.alcErr = 0xa004;
32096
31814
  return 1;
32097
31815
  }
32098
31816
  },
32099
- 10780189: ($0) => {
31817
+ 10814861: ($0) => {
32100
31818
  if (!AL.currentCtx) {
32101
31819
  err('alGetProcAddress() called without a valid context');
32102
31820
  return 1;
@@ -34857,6 +34575,8 @@ export function init(RuntimeName, PHPLoader) {
34857
34575
  /** @export */
34858
34576
  invoke_iijiji,
34859
34577
  /** @export */
34578
+ invoke_ji,
34579
+ /** @export */
34860
34580
  invoke_jii,
34861
34581
  /** @export */
34862
34582
  invoke_jiii,
@@ -35094,6 +34814,11 @@ export function init(RuntimeName, PHPLoader) {
35094
34814
  a0,
35095
34815
  a1
35096
34816
  ));
34817
+ var _initgroups = (Module['_initgroups'] = (a0, a1) =>
34818
+ (_initgroups = Module['_initgroups'] = wasmExports['initgroups'])(
34819
+ a0,
34820
+ a1
34821
+ ));
35097
34822
  var _memcpy = (a0, a1, a2) => (_memcpy = wasmExports['memcpy'])(a0, a1, a2);
35098
34823
  var ___funcs_on_exit = () =>
35099
34824
  (___funcs_on_exit = wasmExports['__funcs_on_exit'])();
@@ -35309,19 +35034,10 @@ export function init(RuntimeName, PHPLoader) {
35309
35034
  }
35310
35035
  }
35311
35036
 
35312
- function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
35037
+ function invoke_vji(index, a1, a2) {
35313
35038
  var sp = stackSave();
35314
35039
  try {
35315
- return Module['dynCall_iiiiiiii'](
35316
- index,
35317
- a1,
35318
- a2,
35319
- a3,
35320
- a4,
35321
- a5,
35322
- a6,
35323
- a7
35324
- );
35040
+ Module['dynCall_vji'](index, a1, a2);
35325
35041
  } catch (e) {
35326
35042
  stackRestore(sp);
35327
35043
  if (e !== e + 0) throw e;
@@ -35329,32 +35045,34 @@ export function init(RuntimeName, PHPLoader) {
35329
35045
  }
35330
35046
  }
35331
35047
 
35332
- function invoke_iiji(index, a1, a2, a3) {
35048
+ function invoke_jii(index, a1, a2) {
35333
35049
  var sp = stackSave();
35334
35050
  try {
35335
- return Module['dynCall_iiji'](index, a1, a2, a3);
35051
+ return Module['dynCall_jii'](index, a1, a2);
35336
35052
  } catch (e) {
35337
35053
  stackRestore(sp);
35338
35054
  if (e !== e + 0) throw e;
35339
35055
  _setThrew(1, 0);
35056
+ return 0n;
35340
35057
  }
35341
35058
  }
35342
35059
 
35343
- function invoke_iijii(index, a1, a2, a3, a4) {
35060
+ function invoke_ji(index, a1) {
35344
35061
  var sp = stackSave();
35345
35062
  try {
35346
- return Module['dynCall_iijii'](index, a1, a2, a3, a4);
35063
+ return Module['dynCall_ji'](index, a1);
35347
35064
  } catch (e) {
35348
35065
  stackRestore(sp);
35349
35066
  if (e !== e + 0) throw e;
35350
35067
  _setThrew(1, 0);
35068
+ return 0n;
35351
35069
  }
35352
35070
  }
35353
35071
 
35354
- function invoke_iijiji(index, a1, a2, a3, a4, a5) {
35072
+ function invoke_v(index) {
35355
35073
  var sp = stackSave();
35356
35074
  try {
35357
- return Module['dynCall_iijiji'](index, a1, a2, a3, a4, a5);
35075
+ Module['dynCall_v'](index);
35358
35076
  } catch (e) {
35359
35077
  stackRestore(sp);
35360
35078
  if (e !== e + 0) throw e;
@@ -35362,10 +35080,19 @@ export function init(RuntimeName, PHPLoader) {
35362
35080
  }
35363
35081
  }
35364
35082
 
35365
- function invoke_v(index) {
35083
+ function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
35366
35084
  var sp = stackSave();
35367
35085
  try {
35368
- Module['dynCall_v'](index);
35086
+ return Module['dynCall_iiiiiiii'](
35087
+ index,
35088
+ a1,
35089
+ a2,
35090
+ a3,
35091
+ a4,
35092
+ a5,
35093
+ a6,
35094
+ a7
35095
+ );
35369
35096
  } catch (e) {
35370
35097
  stackRestore(sp);
35371
35098
  if (e !== e + 0) throw e;
@@ -35373,10 +35100,10 @@ export function init(RuntimeName, PHPLoader) {
35373
35100
  }
35374
35101
  }
35375
35102
 
35376
- function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
35103
+ function invoke_iiji(index, a1, a2, a3) {
35377
35104
  var sp = stackSave();
35378
35105
  try {
35379
- return Module['dynCall_iiiiiii'](index, a1, a2, a3, a4, a5, a6);
35106
+ return Module['dynCall_iiji'](index, a1, a2, a3);
35380
35107
  } catch (e) {
35381
35108
  stackRestore(sp);
35382
35109
  if (e !== e + 0) throw e;
@@ -35384,10 +35111,10 @@ export function init(RuntimeName, PHPLoader) {
35384
35111
  }
35385
35112
  }
35386
35113
 
35387
- function invoke_vji(index, a1, a2) {
35114
+ function invoke_iijii(index, a1, a2, a3, a4) {
35388
35115
  var sp = stackSave();
35389
35116
  try {
35390
- Module['dynCall_vji'](index, a1, a2);
35117
+ return Module['dynCall_iijii'](index, a1, a2, a3, a4);
35391
35118
  } catch (e) {
35392
35119
  stackRestore(sp);
35393
35120
  if (e !== e + 0) throw e;
@@ -35395,10 +35122,10 @@ export function init(RuntimeName, PHPLoader) {
35395
35122
  }
35396
35123
  }
35397
35124
 
35398
- function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35125
+ function invoke_iijiji(index, a1, a2, a3, a4, a5) {
35399
35126
  var sp = stackSave();
35400
35127
  try {
35401
- Module['dynCall_viiiiii'](index, a1, a2, a3, a4, a5, a6);
35128
+ return Module['dynCall_iijiji'](index, a1, a2, a3, a4, a5);
35402
35129
  } catch (e) {
35403
35130
  stackRestore(sp);
35404
35131
  if (e !== e + 0) throw e;
@@ -35406,10 +35133,10 @@ export function init(RuntimeName, PHPLoader) {
35406
35133
  }
35407
35134
  }
35408
35135
 
35409
- function invoke_viijii(index, a1, a2, a3, a4, a5) {
35136
+ function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
35410
35137
  var sp = stackSave();
35411
35138
  try {
35412
- Module['dynCall_viijii'](index, a1, a2, a3, a4, a5);
35139
+ return Module['dynCall_iiiiiii'](index, a1, a2, a3, a4, a5, a6);
35413
35140
  } catch (e) {
35414
35141
  stackRestore(sp);
35415
35142
  if (e !== e + 0) throw e;
@@ -35417,10 +35144,10 @@ export function init(RuntimeName, PHPLoader) {
35417
35144
  }
35418
35145
  }
35419
35146
 
35420
- function invoke_viidii(index, a1, a2, a3, a4, a5) {
35147
+ function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35421
35148
  var sp = stackSave();
35422
35149
  try {
35423
- Module['dynCall_viidii'](index, a1, a2, a3, a4, a5);
35150
+ Module['dynCall_viiiiii'](index, a1, a2, a3, a4, a5, a6);
35424
35151
  } catch (e) {
35425
35152
  stackRestore(sp);
35426
35153
  if (e !== e + 0) throw e;
@@ -35428,22 +35155,32 @@ export function init(RuntimeName, PHPLoader) {
35428
35155
  }
35429
35156
  }
35430
35157
 
35431
- function invoke_jiii(index, a1, a2, a3) {
35158
+ function invoke_viijii(index, a1, a2, a3, a4, a5) {
35432
35159
  var sp = stackSave();
35433
35160
  try {
35434
- return Module['dynCall_jiii'](index, a1, a2, a3);
35161
+ Module['dynCall_viijii'](index, a1, a2, a3, a4, a5);
35435
35162
  } catch (e) {
35436
35163
  stackRestore(sp);
35437
35164
  if (e !== e + 0) throw e;
35438
35165
  _setThrew(1, 0);
35439
- return 0n;
35440
35166
  }
35441
35167
  }
35442
35168
 
35443
- function invoke_jii(index, a1, a2) {
35169
+ function invoke_viidii(index, a1, a2, a3, a4, a5) {
35444
35170
  var sp = stackSave();
35445
35171
  try {
35446
- return Module['dynCall_jii'](index, a1, a2);
35172
+ Module['dynCall_viidii'](index, a1, a2, a3, a4, a5);
35173
+ } catch (e) {
35174
+ stackRestore(sp);
35175
+ if (e !== e + 0) throw e;
35176
+ _setThrew(1, 0);
35177
+ }
35178
+ }
35179
+
35180
+ function invoke_jiii(index, a1, a2, a3) {
35181
+ var sp = stackSave();
35182
+ try {
35183
+ return Module['dynCall_jiii'](index, a1, a2, a3);
35447
35184
  } catch (e) {
35448
35185
  stackRestore(sp);
35449
35186
  if (e !== e + 0) throw e;
@@ -35637,6 +35374,15 @@ export function init(RuntimeName, PHPLoader) {
35637
35374
  };
35638
35375
  }
35639
35376
 
35377
+ /**
35378
+ * Expose the PHP version so the PHP class can make version-specific
35379
+ * adjustments to `php.ini`.
35380
+ */
35381
+ PHPLoader['phpVersion'] = (() => {
35382
+ const [major, minor, patch] = phpVersionString.split('.').map(Number);
35383
+ return { major, minor, patch };
35384
+ })();
35385
+
35640
35386
  return PHPLoader;
35641
35387
 
35642
35388
  // Close the opening bracket from esm-prefix.js: