@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, '8_1_33', 'php_8_1.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 31514637;
11
+ export const dependenciesTotalSize = 31648487;
12
+ const phpVersionString = '8.1.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 = 13228928;
834
+ var ___heap_base = 14257088;
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: 15723,
998
+ initial: 15836,
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 = 13228928;
1857
+ var ___stack_high = 14257088;
1859
1858
 
1860
- var ___stack_low = 13163392;
1859
+ var ___stack_low = 13208512;
1861
1860
 
1862
1861
  var ___stack_pointer = new WebAssembly.Global(
1863
1862
  { value: 'i32', mutable: true },
1864
- 13228928
1863
+ 14257088
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
  );
@@ -19476,11 +19469,8 @@ export function init(RuntimeName, PHPLoader) {
19476
19469
  var trace = getCallstack();
19477
19470
  var parts = trace.split('\n');
19478
19471
  for (var i = 0; i < parts.length; i++) {
19479
- var ret = ((
19480
- a1,
19481
- a2
19482
- ) => {}) /* 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. */(
19483
- 0,
19472
+ var ret = ((a1, a2) => {})(
19473
+ /* 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,
19484
19474
  arg
19485
19475
  );
19486
19476
  if (ret !== 0) return;
@@ -19612,7 +19602,7 @@ export function init(RuntimeName, PHPLoader) {
19612
19602
 
19613
19603
  var addOnExit = (cb) => onExits.unshift(cb);
19614
19604
 
19615
- var STACK_SIZE = 65536;
19605
+ var STACK_SIZE = 1048576;
19616
19606
 
19617
19607
  var STACK_ALIGN = 16;
19618
19608
 
@@ -20056,12 +20046,8 @@ export function init(RuntimeName, PHPLoader) {
20056
20046
  stringToUTF8(e.locale || '', keyEventData + 128, 32);
20057
20047
 
20058
20048
  if (
20059
- ((
20060
- a1,
20061
- a2,
20062
- a3
20063
- ) => {}) /* 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. */(
20064
- eventTypeId,
20049
+ ((a1, a2, a3) => {})(
20050
+ /* 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,
20065
20051
  keyEventData,
20066
20052
  userData
20067
20053
  )
@@ -20179,12 +20165,8 @@ export function init(RuntimeName, PHPLoader) {
20179
20165
  fillMouseEventData(JSEvents.mouseEvent, e, target);
20180
20166
 
20181
20167
  if (
20182
- ((
20183
- a1,
20184
- a2,
20185
- a3
20186
- ) => {}) /* 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. */(
20187
- eventTypeId,
20168
+ ((a1, a2, a3) => {})(
20169
+ /* 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,
20188
20170
  JSEvents.mouseEvent,
20189
20171
  userData
20190
20172
  )
@@ -20398,12 +20380,8 @@ export function init(RuntimeName, PHPLoader) {
20398
20380
  HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
20399
20381
  HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
20400
20382
  if (
20401
- ((
20402
- a1,
20403
- a2,
20404
- a3
20405
- ) => {}) /* 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. */(
20406
- eventTypeId,
20383
+ ((a1, a2, a3) => {})(
20384
+ /* 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,
20407
20385
  wheelEvent,
20408
20386
  userData
20409
20387
  )
@@ -20484,12 +20462,8 @@ export function init(RuntimeName, PHPLoader) {
20484
20462
  HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
20485
20463
  HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
20486
20464
  if (
20487
- ((
20488
- a1,
20489
- a2,
20490
- a3
20491
- ) => {}) /* 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. */(
20492
- eventTypeId,
20465
+ ((a1, a2, a3) => {})(
20466
+ /* 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,
20493
20467
  uiEvent,
20494
20468
  userData
20495
20469
  )
@@ -20563,12 +20537,8 @@ export function init(RuntimeName, PHPLoader) {
20563
20537
  stringToUTF8(id, focusEvent + 128, 128);
20564
20538
 
20565
20539
  if (
20566
- ((
20567
- a1,
20568
- a2,
20569
- a3
20570
- ) => {}) /* 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. */(
20571
- eventTypeId,
20540
+ ((a1, a2, a3) => {})(
20541
+ /* 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,
20572
20542
  focusEvent,
20573
20543
  userData
20574
20544
  )
@@ -20684,12 +20654,8 @@ export function init(RuntimeName, PHPLoader) {
20684
20654
  ); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
20685
20655
 
20686
20656
  if (
20687
- ((
20688
- a1,
20689
- a2,
20690
- a3
20691
- ) => {}) /* 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. */(
20692
- eventTypeId,
20657
+ ((a1, a2, a3) => {})(
20658
+ /* 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,
20693
20659
  JSEvents.deviceOrientationEvent,
20694
20660
  userData
20695
20661
  )
@@ -20772,12 +20738,8 @@ export function init(RuntimeName, PHPLoader) {
20772
20738
  fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
20773
20739
 
20774
20740
  if (
20775
- ((
20776
- a1,
20777
- a2,
20778
- a3
20779
- ) => {}) /* 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. */(
20780
- eventTypeId,
20741
+ ((a1, a2, a3) => {})(
20742
+ /* 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,
20781
20743
  JSEvents.deviceMotionEvent,
20782
20744
  userData
20783
20745
  )
@@ -20887,12 +20849,8 @@ export function init(RuntimeName, PHPLoader) {
20887
20849
  fillOrientationChangeEventData(orientationChangeEvent);
20888
20850
 
20889
20851
  if (
20890
- ((
20891
- a1,
20892
- a2,
20893
- a3
20894
- ) => {}) /* 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. */(
20895
- eventTypeId,
20852
+ ((a1, a2, a3) => {})(
20853
+ /* 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,
20896
20854
  orientationChangeEvent,
20897
20855
  userData
20898
20856
  )
@@ -21025,12 +20983,8 @@ export function init(RuntimeName, PHPLoader) {
21025
20983
  fillFullscreenChangeEventData(fullscreenChangeEvent);
21026
20984
 
21027
20985
  if (
21028
- ((
21029
- a1,
21030
- a2,
21031
- a3
21032
- ) => {}) /* 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. */(
21033
- eventTypeId,
20986
+ ((a1, a2, a3) => {})(
20987
+ /* 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,
21034
20988
  fullscreenChangeEvent,
21035
20989
  userData
21036
20990
  )
@@ -21194,12 +21148,8 @@ export function init(RuntimeName, PHPLoader) {
21194
21148
  );
21195
21149
 
21196
21150
  if (currentFullscreenStrategy.canvasResizedCallback) {
21197
- ((
21198
- a1,
21199
- a2,
21200
- a3
21201
- ) => {}) /* 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. */(
21202
- 37,
21151
+ ((a1, a2, a3) => {})(
21152
+ /* 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,
21203
21153
  0,
21204
21154
  currentFullscreenStrategy.canvasResizedCallbackUserData
21205
21155
  );
@@ -21305,12 +21255,8 @@ export function init(RuntimeName, PHPLoader) {
21305
21255
  currentFullscreenStrategy = strategy;
21306
21256
 
21307
21257
  if (strategy.canvasResizedCallback) {
21308
- ((
21309
- a1,
21310
- a2,
21311
- a3
21312
- ) => {}) /* 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. */(
21313
- 37,
21258
+ ((a1, a2, a3) => {})(
21259
+ /* 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,
21314
21260
  0,
21315
21261
  strategy.canvasResizedCallbackUserData
21316
21262
  );
@@ -21412,12 +21358,8 @@ export function init(RuntimeName, PHPLoader) {
21412
21358
  !inCenteredWithoutScalingFullscreenMode &&
21413
21359
  currentFullscreenStrategy.canvasResizedCallback
21414
21360
  ) {
21415
- ((
21416
- a1,
21417
- a2,
21418
- a3
21419
- ) => {}) /* 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. */(
21420
- 37,
21361
+ ((a1, a2, a3) => {})(
21362
+ /* 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,
21421
21363
  0,
21422
21364
  currentFullscreenStrategy.canvasResizedCallbackUserData
21423
21365
  );
@@ -21516,12 +21458,8 @@ export function init(RuntimeName, PHPLoader) {
21516
21458
  softFullscreenResizeWebGLRenderTarget
21517
21459
  );
21518
21460
  if (strategy.canvasResizedCallback) {
21519
- ((
21520
- a1,
21521
- a2,
21522
- a3
21523
- ) => {}) /* 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. */(
21524
- 37,
21461
+ ((a1, a2, a3) => {})(
21462
+ /* 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,
21525
21463
  0,
21526
21464
  strategy.canvasResizedCallbackUserData
21527
21465
  );
@@ -21534,12 +21472,8 @@ export function init(RuntimeName, PHPLoader) {
21534
21472
 
21535
21473
  // Inform the caller that the canvas size has changed.
21536
21474
  if (strategy.canvasResizedCallback) {
21537
- ((
21538
- a1,
21539
- a2,
21540
- a3
21541
- ) => {}) /* 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. */(
21542
- 37,
21475
+ ((a1, a2, a3) => {})(
21476
+ /* 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,
21543
21477
  0,
21544
21478
  strategy.canvasResizedCallbackUserData
21545
21479
  );
@@ -21607,12 +21541,8 @@ export function init(RuntimeName, PHPLoader) {
21607
21541
  fillPointerlockChangeEventData(pointerlockChangeEvent);
21608
21542
 
21609
21543
  if (
21610
- ((
21611
- a1,
21612
- a2,
21613
- a3
21614
- ) => {}) /* 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. */(
21615
- eventTypeId,
21544
+ ((a1, a2, a3) => {})(
21545
+ /* 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,
21616
21546
  pointerlockChangeEvent,
21617
21547
  userData
21618
21548
  )
@@ -21702,12 +21632,8 @@ export function init(RuntimeName, PHPLoader) {
21702
21632
  ) => {
21703
21633
  var pointerlockErrorEventHandlerFunc = (e = event) => {
21704
21634
  if (
21705
- ((
21706
- a1,
21707
- a2,
21708
- a3
21709
- ) => {}) /* 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. */(
21710
- eventTypeId,
21635
+ ((a1, a2, a3) => {})(
21636
+ /* 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,
21711
21637
  0,
21712
21638
  userData
21713
21639
  )
@@ -21907,12 +21833,8 @@ export function init(RuntimeName, PHPLoader) {
21907
21833
  fillVisibilityChangeEventData(visibilityChangeEvent);
21908
21834
 
21909
21835
  if (
21910
- ((
21911
- a1,
21912
- a2,
21913
- a3
21914
- ) => {}) /* 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. */(
21915
- eventTypeId,
21836
+ ((a1, a2, a3) => {})(
21837
+ /* 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,
21916
21838
  visibilityChangeEvent,
21917
21839
  userData
21918
21840
  )
@@ -22032,12 +21954,8 @@ export function init(RuntimeName, PHPLoader) {
22032
21954
  HEAP32[(touchEvent + 8) >> 2] = numTouches;
22033
21955
 
22034
21956
  if (
22035
- ((
22036
- a1,
22037
- a2,
22038
- a3
22039
- ) => {}) /* 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. */(
22040
- eventTypeId,
21957
+ ((a1, a2, a3) => {})(
21958
+ /* 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,
22041
21959
  touchEvent,
22042
21960
  userData
22043
21961
  )
@@ -22175,12 +22093,8 @@ export function init(RuntimeName, PHPLoader) {
22175
22093
  fillGamepadEventData(gamepadEvent, e['gamepad']);
22176
22094
 
22177
22095
  if (
22178
- ((
22179
- a1,
22180
- a2,
22181
- a3
22182
- ) => {}) /* 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. */(
22183
- eventTypeId,
22096
+ ((a1, a2, a3) => {})(
22097
+ /* 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,
22184
22098
  gamepadEvent,
22185
22099
  userData
22186
22100
  )
@@ -22282,12 +22196,8 @@ export function init(RuntimeName, PHPLoader) {
22282
22196
  ) => {
22283
22197
  var beforeUnloadEventHandlerFunc = (e = event) => {
22284
22198
  // Note: This is always called on the main browser thread, since it needs synchronously return a value!
22285
- var confirmationMessage = ((
22286
- a1,
22287
- a2,
22288
- a3
22289
- ) => {}) /* 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. */(
22290
- eventTypeId,
22199
+ var confirmationMessage = ((a1, a2, a3) => {})(
22200
+ /* 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,
22291
22201
  0,
22292
22202
  userData
22293
22203
  );
@@ -22358,12 +22268,8 @@ export function init(RuntimeName, PHPLoader) {
22358
22268
  fillBatteryEventData(batteryEvent, battery());
22359
22269
 
22360
22270
  if (
22361
- ((
22362
- a1,
22363
- a2,
22364
- a3
22365
- ) => {}) /* 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. */(
22366
- eventTypeId,
22271
+ ((a1, a2, a3) => {})(
22272
+ /* 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,
22367
22273
  batteryEvent,
22368
22274
  userData
22369
22275
  )
@@ -22453,11 +22359,8 @@ export function init(RuntimeName, PHPLoader) {
22453
22359
 
22454
22360
  var _emscripten_request_animation_frame = (cb, userData) =>
22455
22361
  requestAnimationFrame((timeStamp) =>
22456
- ((
22457
- a1,
22458
- a2
22459
- ) => {}) /* 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. */(
22460
- timeStamp,
22362
+ ((a1, a2) => {})(
22363
+ /* 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,
22461
22364
  userData
22462
22365
  )
22463
22366
  );
@@ -22469,11 +22372,8 @@ export function init(RuntimeName, PHPLoader) {
22469
22372
  var _emscripten_request_animation_frame_loop = (cb, userData) => {
22470
22373
  function tick(timeStamp) {
22471
22374
  if (
22472
- ((
22473
- a1,
22474
- a2
22475
- ) => {}) /* 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. */(
22476
- timeStamp,
22375
+ ((a1, a2) => {})(
22376
+ /* 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,
22477
22377
  userData
22478
22378
  )
22479
22379
  ) {
@@ -22698,10 +22598,8 @@ export function init(RuntimeName, PHPLoader) {
22698
22598
  return emSetImmediate(() => {
22699
22599
  runtimeKeepalivePop();
22700
22600
  callUserCallback(() =>
22701
- ((
22702
- a1
22703
- ) => {}) /* 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. */(
22704
- userData
22601
+ ((a1) => {})(
22602
+ /* 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
22705
22603
  )
22706
22604
  );
22707
22605
  });
@@ -22718,10 +22616,8 @@ export function init(RuntimeName, PHPLoader) {
22718
22616
  function tick() {
22719
22617
  callUserCallback(() => {
22720
22618
  if (
22721
- ((
22722
- a1
22723
- ) => {}) /* 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. */(
22724
- userData
22619
+ ((a1) => {})(
22620
+ /* 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
22725
22621
  )
22726
22622
  ) {
22727
22623
  emSetImmediate(tick);
@@ -22738,10 +22634,8 @@ export function init(RuntimeName, PHPLoader) {
22738
22634
  var _emscripten_set_timeout = (cb, msecs, userData) =>
22739
22635
  safeSetTimeout(
22740
22636
  () =>
22741
- ((
22742
- a1
22743
- ) => {}) /* 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. */(
22744
- userData
22637
+ ((a1) => {})(
22638
+ /* 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
22745
22639
  ),
22746
22640
  msecs
22747
22641
  );
@@ -22757,11 +22651,8 @@ export function init(RuntimeName, PHPLoader) {
22757
22651
  runtimeKeepalivePop();
22758
22652
  callUserCallback(() => {
22759
22653
  if (
22760
- ((
22761
- a1,
22762
- a2
22763
- ) => {}) /* 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. */(
22764
- t,
22654
+ ((a1, a2) => {})(
22655
+ /* 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,
22765
22656
  userData
22766
22657
  )
22767
22658
  ) {
@@ -22785,10 +22676,8 @@ export function init(RuntimeName, PHPLoader) {
22785
22676
  runtimeKeepalivePush();
22786
22677
  return setInterval(() => {
22787
22678
  callUserCallback(() =>
22788
- ((
22789
- a1
22790
- ) => {}) /* 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. */(
22791
- userData
22679
+ ((a1) => {})(
22680
+ /* 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
22792
22681
  )
22793
22682
  );
22794
22683
  }, msecs);
@@ -22803,10 +22692,8 @@ export function init(RuntimeName, PHPLoader) {
22803
22692
 
22804
22693
  var _emscripten_async_call = (func, arg, millis) => {
22805
22694
  var wrapper = () =>
22806
- ((
22807
- a1
22808
- ) => {}) /* 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. */(
22809
- arg
22695
+ ((a1) => {})(
22696
+ /* 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
22810
22697
  );
22811
22698
 
22812
22699
  if (
@@ -22839,7 +22726,7 @@ export function init(RuntimeName, PHPLoader) {
22839
22726
 
22840
22727
  var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
22841
22728
  var iterFunc =
22842
- () => {} /* 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. */;
22729
+ () => {}; /* 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. */
22843
22730
  setMainLoop(iterFunc, fps, simulateInfiniteLoop);
22844
22731
  };
22845
22732
  _emscripten_set_main_loop.sig = 'vpii';
@@ -22851,10 +22738,8 @@ export function init(RuntimeName, PHPLoader) {
22851
22738
  simulateInfiniteLoop
22852
22739
  ) => {
22853
22740
  var iterFunc = () =>
22854
- ((
22855
- a1
22856
- ) => {}) /* 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. */(
22857
- arg
22741
+ ((a1) => {})(
22742
+ /* 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
22858
22743
  );
22859
22744
  setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
22860
22745
  };
@@ -22875,10 +22760,8 @@ export function init(RuntimeName, PHPLoader) {
22875
22760
  var __emscripten_push_main_loop_blocker = (func, arg, name) => {
22876
22761
  MainLoop.queue.push({
22877
22762
  func: () => {
22878
- ((
22879
- a1
22880
- ) => {}) /* 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. */(
22881
- arg
22763
+ ((a1) => {})(
22764
+ /* 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
22882
22765
  );
22883
22766
  },
22884
22767
  name: UTF8ToString(name),
@@ -22891,10 +22774,8 @@ export function init(RuntimeName, PHPLoader) {
22891
22774
  var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
22892
22775
  MainLoop.queue.push({
22893
22776
  func: () => {
22894
- ((
22895
- a1
22896
- ) => {}) /* 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. */(
22897
- arg
22777
+ ((a1) => {})(
22778
+ /* 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
22898
22779
  );
22899
22780
  },
22900
22781
  name: UTF8ToString(name),
@@ -22928,12 +22809,8 @@ export function init(RuntimeName, PHPLoader) {
22928
22809
  var resultPtr = stackAlloc(POINTER_SIZE);
22929
22810
  HEAPU32[resultPtr >> 2] = 0;
22930
22811
  try {
22931
- var result = ((
22932
- a1,
22933
- a2,
22934
- a3
22935
- ) => {}) /* 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. */(
22936
- resultPtr,
22812
+ var result = ((a1, a2, a3) => {})(
22813
+ /* 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,
22937
22814
  userData,
22938
22815
  value
22939
22816
  );
@@ -23869,19 +23746,15 @@ export function init(RuntimeName, PHPLoader) {
23869
23746
  () => {
23870
23747
  runtimeKeepalivePop();
23871
23748
  if (onload)
23872
- ((
23873
- a1
23874
- ) => {}) /* 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. */(
23875
- file
23749
+ ((a1) => {})(
23750
+ /* 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
23876
23751
  );
23877
23752
  },
23878
23753
  () => {
23879
23754
  runtimeKeepalivePop();
23880
23755
  if (onerror)
23881
- ((
23882
- a1
23883
- ) => {}) /* 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. */(
23884
- file
23756
+ ((a1) => {})(
23757
+ /* 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
23885
23758
  );
23886
23759
  },
23887
23760
  true // don'tCreateFile - it's already there
@@ -23915,21 +23788,16 @@ export function init(RuntimeName, PHPLoader) {
23915
23788
  () => {
23916
23789
  runtimeKeepalivePop();
23917
23790
  if (onload)
23918
- ((
23919
- a1,
23920
- a2
23921
- ) => {}) /* 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. */(
23922
- arg,
23791
+ ((a1, a2) => {})(
23792
+ /* 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,
23923
23793
  cname
23924
23794
  );
23925
23795
  },
23926
23796
  () => {
23927
23797
  runtimeKeepalivePop();
23928
23798
  if (onerror)
23929
- ((
23930
- a1
23931
- ) => {}) /* 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. */(
23932
- arg
23799
+ ((a1) => {})(
23800
+ /* 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
23933
23801
  );
23934
23802
  },
23935
23803
  true // don'tCreateFile - it's already there
@@ -24202,10 +24070,10 @@ export function init(RuntimeName, PHPLoader) {
24202
24070
  runtimeKeepalivePop();
24203
24071
  callUserCallback(() => {
24204
24072
  var sp = stackSave();
24205
- ((
24206
- a1
24207
- ) => {}) /* 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. */(
24208
- stringToUTF8OnStack(_file)
24073
+ ((a1) => {})(
24074
+ /* 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(
24075
+ _file
24076
+ )
24209
24077
  );
24210
24078
  stackRestore(sp);
24211
24079
  });
@@ -24249,12 +24117,8 @@ export function init(RuntimeName, PHPLoader) {
24249
24117
  callUserCallback(() => {
24250
24118
  var buffer = _malloc(byteArray.length);
24251
24119
  HEAPU8.set(byteArray, buffer);
24252
- ((
24253
- a1,
24254
- a2,
24255
- a3
24256
- ) => {}) /* 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. */(
24257
- userdata,
24120
+ ((a1, a2, a3) => {})(
24121
+ /* 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,
24258
24122
  buffer,
24259
24123
  byteArray.length
24260
24124
  );
@@ -24264,10 +24128,8 @@ export function init(RuntimeName, PHPLoader) {
24264
24128
  if (onerror) {
24265
24129
  runtimeKeepalivePop();
24266
24130
  callUserCallback(() => {
24267
- ((
24268
- a1
24269
- ) => {}) /* 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. */(
24270
- userdata
24131
+ ((a1) => {})(
24132
+ /* 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
24271
24133
  );
24272
24134
  });
24273
24135
  }
@@ -24324,12 +24186,8 @@ export function init(RuntimeName, PHPLoader) {
24324
24186
  );
24325
24187
  if (onload) {
24326
24188
  var sp = stackSave();
24327
- ((
24328
- a1,
24329
- a2,
24330
- a3
24331
- ) => {}) /* 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. */(
24332
- handle,
24189
+ ((a1, a2, a3) => {})(
24190
+ /* 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,
24333
24191
  userdata,
24334
24192
  stringToUTF8OnStack(_file)
24335
24193
  );
@@ -24337,12 +24195,8 @@ export function init(RuntimeName, PHPLoader) {
24337
24195
  }
24338
24196
  } else {
24339
24197
  if (onerror)
24340
- ((
24341
- a1,
24342
- a2,
24343
- a3
24344
- ) => {}) /* 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. */(
24345
- handle,
24198
+ ((a1, a2, a3) => {})(
24199
+ /* 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,
24346
24200
  userdata,
24347
24201
  http.status
24348
24202
  );
@@ -24355,12 +24209,8 @@ export function init(RuntimeName, PHPLoader) {
24355
24209
  http.onerror = (e) => {
24356
24210
  runtimeKeepalivePop();
24357
24211
  if (onerror)
24358
- ((
24359
- a1,
24360
- a2,
24361
- a3
24362
- ) => {}) /* 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. */(
24363
- handle,
24212
+ ((a1, a2, a3) => {})(
24213
+ /* 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,
24364
24214
  userdata,
24365
24215
  http.status
24366
24216
  );
@@ -24375,12 +24225,8 @@ export function init(RuntimeName, PHPLoader) {
24375
24225
  ) {
24376
24226
  var percentComplete = (e.loaded / e.total) * 100;
24377
24227
  if (onprogress)
24378
- ((
24379
- a1,
24380
- a2,
24381
- a3
24382
- ) => {}) /* 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. */(
24383
- handle,
24228
+ ((a1, a2, a3) => {})(
24229
+ /* 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,
24384
24230
  userdata,
24385
24231
  percentComplete
24386
24232
  );
@@ -24437,13 +24283,8 @@ export function init(RuntimeName, PHPLoader) {
24437
24283
  if (http.statusText) {
24438
24284
  statusText = stringToUTF8OnStack(http.statusText);
24439
24285
  }
24440
- ((
24441
- a1,
24442
- a2,
24443
- a3,
24444
- a4
24445
- ) => {}) /* 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. */(
24446
- handle,
24286
+ ((a1, a2, a3, a4) => {})(
24287
+ /* 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,
24447
24288
  userdata,
24448
24289
  http.status,
24449
24290
  statusText
@@ -24464,13 +24305,8 @@ export function init(RuntimeName, PHPLoader) {
24464
24305
  var buffer = _malloc(byteArray.length);
24465
24306
  HEAPU8.set(byteArray, buffer);
24466
24307
  if (onload)
24467
- ((
24468
- a1,
24469
- a2,
24470
- a3,
24471
- a4
24472
- ) => {}) /* 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. */(
24473
- handle,
24308
+ ((a1, a2, a3, a4) => {})(
24309
+ /* 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,
24474
24310
  userdata,
24475
24311
  buffer,
24476
24312
  byteArray.length
@@ -24491,13 +24327,8 @@ export function init(RuntimeName, PHPLoader) {
24491
24327
  // PROGRESS
24492
24328
  http.onprogress = (e) => {
24493
24329
  if (onprogress)
24494
- ((
24495
- a1,
24496
- a2,
24497
- a3,
24498
- a4
24499
- ) => {}) /* 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. */(
24500
- handle,
24330
+ ((a1, a2, a3, a4) => {})(
24331
+ /* 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,
24501
24332
  userdata,
24502
24333
  e.loaded,
24503
24334
  e.lengthComputable || e.lengthComputable === undefined
@@ -24617,24 +24448,16 @@ export function init(RuntimeName, PHPLoader) {
24617
24448
  if (event === 'error') {
24618
24449
  withStackSave(() => {
24619
24450
  var msg = stringToUTF8OnStack(data[2]);
24620
- ((
24621
- a1,
24622
- a2,
24623
- a3,
24624
- a4
24625
- ) => {}) /* 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. */(
24626
- data[0],
24451
+ ((a1, a2, a3, a4) => {})(
24452
+ /* 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],
24627
24453
  data[1],
24628
24454
  msg,
24629
24455
  userData
24630
24456
  );
24631
24457
  });
24632
24458
  } else {
24633
- ((
24634
- a1,
24635
- a2
24636
- ) => {}) /* 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. */(
24637
- data,
24459
+ ((a1, a2) => {})(
24460
+ /* 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,
24638
24461
  userData
24639
24462
  );
24640
24463
  }
@@ -25100,12 +24923,8 @@ export function init(RuntimeName, PHPLoader) {
25100
24923
  ) => {
25101
24924
  var webGlEventHandlerFunc = (e = event) => {
25102
24925
  if (
25103
- ((
25104
- a1,
25105
- a2,
25106
- a3
25107
- ) => {}) /* 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. */(
25108
- eventTypeId,
24926
+ ((a1, a2, a3) => {})(
24927
+ /* 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,
25109
24928
  0,
25110
24929
  userData
25111
24930
  )
@@ -25324,21 +25143,15 @@ export function init(RuntimeName, PHPLoader) {
25324
25143
  ) {
25325
25144
  event.preventDefault();
25326
25145
  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,
25146
+ ((a1, a2) => {})(
25147
+ /* 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
25148
  lastY
25333
25149
  );
25334
25150
  } else if (GLUT.buttons != 0 && GLUT.motionFunc) {
25335
25151
  event.preventDefault();
25336
25152
  GLUT.saveModifiers(event);
25337
- ((
25338
- a1,
25339
- a2
25340
- ) => {}) /* 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. */(
25341
- lastX,
25153
+ ((a1, a2) => {})(
25154
+ /* 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,
25342
25155
  lastY
25343
25156
  );
25344
25157
  }
@@ -25499,12 +25312,8 @@ export function init(RuntimeName, PHPLoader) {
25499
25312
  if (GLUT.specialFunc) {
25500
25313
  event.preventDefault();
25501
25314
  GLUT.saveModifiers(event);
25502
- ((
25503
- a1,
25504
- a2,
25505
- a3
25506
- ) => {}) /* 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. */(
25507
- key,
25315
+ ((a1, a2, a3) => {})(
25316
+ /* 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,
25508
25317
  Browser.mouseX,
25509
25318
  Browser.mouseY
25510
25319
  );
@@ -25514,12 +25323,8 @@ export function init(RuntimeName, PHPLoader) {
25514
25323
  if (key !== null && GLUT.keyboardFunc) {
25515
25324
  event.preventDefault();
25516
25325
  GLUT.saveModifiers(event);
25517
- ((
25518
- a1,
25519
- a2,
25520
- a3
25521
- ) => {}) /* 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. */(
25522
- key,
25326
+ ((a1, a2, a3) => {})(
25327
+ /* 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,
25523
25328
  Browser.mouseX,
25524
25329
  Browser.mouseY
25525
25330
  );
@@ -25534,12 +25339,8 @@ export function init(RuntimeName, PHPLoader) {
25534
25339
  if (GLUT.specialUpFunc) {
25535
25340
  event.preventDefault();
25536
25341
  GLUT.saveModifiers(event);
25537
- ((
25538
- a1,
25539
- a2,
25540
- a3
25541
- ) => {}) /* 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. */(
25542
- key,
25342
+ ((a1, a2, a3) => {})(
25343
+ /* 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,
25543
25344
  Browser.mouseX,
25544
25345
  Browser.mouseY
25545
25346
  );
@@ -25549,12 +25350,8 @@ export function init(RuntimeName, PHPLoader) {
25549
25350
  if (key !== null && GLUT.keyboardUpFunc) {
25550
25351
  event.preventDefault();
25551
25352
  GLUT.saveModifiers(event);
25552
- ((
25553
- a1,
25554
- a2,
25555
- a3
25556
- ) => {}) /* 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. */(
25557
- key,
25353
+ ((a1, a2, a3) => {})(
25354
+ /* 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,
25558
25355
  Browser.mouseX,
25559
25356
  Browser.mouseY
25560
25357
  );
@@ -25618,13 +25415,10 @@ export function init(RuntimeName, PHPLoader) {
25618
25415
  } catch (e) {}
25619
25416
  event.preventDefault();
25620
25417
  GLUT.saveModifiers(event);
25621
- ((
25622
- a1,
25623
- a2,
25624
- a3,
25625
- a4
25626
- ) => {}) /* 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. */(
25627
- event['button'],
25418
+ ((a1, a2, a3, a4) => {})(
25419
+ /* 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[
25420
+ 'button'
25421
+ ],
25628
25422
  0 /*GLUT_DOWN*/,
25629
25423
  Browser.mouseX,
25630
25424
  Browser.mouseY
@@ -25639,13 +25433,10 @@ export function init(RuntimeName, PHPLoader) {
25639
25433
  if (GLUT.mouseFunc) {
25640
25434
  event.preventDefault();
25641
25435
  GLUT.saveModifiers(event);
25642
- ((
25643
- a1,
25644
- a2,
25645
- a3,
25646
- a4
25647
- ) => {}) /* 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. */(
25648
- event['button'],
25436
+ ((a1, a2, a3, a4) => {})(
25437
+ /* 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[
25438
+ 'button'
25439
+ ],
25649
25440
  1 /*GLUT_UP*/,
25650
25441
  Browser.mouseX,
25651
25442
  Browser.mouseY
@@ -25674,13 +25465,8 @@ export function init(RuntimeName, PHPLoader) {
25674
25465
  if (GLUT.mouseFunc) {
25675
25466
  event.preventDefault();
25676
25467
  GLUT.saveModifiers(event);
25677
- ((
25678
- a1,
25679
- a2,
25680
- a3,
25681
- a4
25682
- ) => {}) /* 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. */(
25683
- button,
25468
+ ((a1, a2, a3, a4) => {})(
25469
+ /* 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,
25684
25470
  0 /*GLUT_DOWN*/,
25685
25471
  Browser.mouseX,
25686
25472
  Browser.mouseY
@@ -25723,11 +25509,8 @@ export function init(RuntimeName, PHPLoader) {
25723
25509
  /* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
25724
25510
  if (GLUT.reshapeFunc) {
25725
25511
  // out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
25726
- ((
25727
- a1,
25728
- a2
25729
- ) => {}) /* 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. */(
25730
- width,
25512
+ ((a1, a2) => {})(
25513
+ /* 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,
25731
25514
  height
25732
25515
  );
25733
25516
  }
@@ -25770,11 +25553,8 @@ export function init(RuntimeName, PHPLoader) {
25770
25553
 
25771
25554
  Browser.resizeListeners.push((width, height) => {
25772
25555
  if (GLUT.reshapeFunc) {
25773
- ((
25774
- a1,
25775
- a2
25776
- ) => {}) /* 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. */(
25777
- width,
25556
+ ((a1, a2) => {})(
25557
+ /* 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,
25778
25558
  height
25779
25559
  );
25780
25560
  }
@@ -25887,10 +25667,8 @@ export function init(RuntimeName, PHPLoader) {
25887
25667
  var _glutTimerFunc = (msec, func, value) =>
25888
25668
  safeSetTimeout(
25889
25669
  () =>
25890
- ((
25891
- a1
25892
- ) => {}) /* 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. */(
25893
- value
25670
+ ((a1) => {})(
25671
+ /* 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
25894
25672
  ),
25895
25673
  msec
25896
25674
  );
@@ -26050,11 +25828,8 @@ export function init(RuntimeName, PHPLoader) {
26050
25828
  Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
26051
25829
  // Just call it once here.
26052
25830
  if (GLUT.reshapeFunc) {
26053
- ((
26054
- a1,
26055
- a2
26056
- ) => {}) /* 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. */(
26057
- width,
25831
+ ((a1, a2) => {})(
25832
+ /* 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,
26058
25833
  height
26059
25834
  );
26060
25835
  }
@@ -27116,21 +26891,15 @@ export function init(RuntimeName, PHPLoader) {
27116
26891
  callUserCallback(() => {
27117
26892
  if (error) {
27118
26893
  if (onerror)
27119
- ((
27120
- a1
27121
- ) => {}) /* 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. */(
27122
- arg
26894
+ ((a1) => {})(
26895
+ /* 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
27123
26896
  );
27124
26897
  return;
27125
26898
  }
27126
26899
  var buffer = _malloc(byteArray.length);
27127
26900
  HEAPU8.set(byteArray, buffer);
27128
- ((
27129
- a1,
27130
- a2,
27131
- a3
27132
- ) => {}) /* 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. */(
27133
- arg,
26901
+ ((a1, a2, a3) => {})(
26902
+ /* 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,
27134
26903
  buffer,
27135
26904
  byteArray.length
27136
26905
  );
@@ -27162,18 +26931,14 @@ export function init(RuntimeName, PHPLoader) {
27162
26931
  callUserCallback(() => {
27163
26932
  if (error) {
27164
26933
  if (onerror)
27165
- ((
27166
- a1
27167
- ) => {}) /* 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. */(
27168
- arg
26934
+ ((a1) => {})(
26935
+ /* 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
27169
26936
  );
27170
26937
  return;
27171
26938
  }
27172
26939
  if (onstore)
27173
- ((
27174
- a1
27175
- ) => {}) /* 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. */(
27176
- arg
26940
+ ((a1) => {})(
26941
+ /* 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
27177
26942
  );
27178
26943
  });
27179
26944
  }
@@ -27188,18 +26953,14 @@ export function init(RuntimeName, PHPLoader) {
27188
26953
  callUserCallback(() => {
27189
26954
  if (error) {
27190
26955
  if (onerror)
27191
- ((
27192
- a1
27193
- ) => {}) /* 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. */(
27194
- arg
26956
+ ((a1) => {})(
26957
+ /* 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
27195
26958
  );
27196
26959
  return;
27197
26960
  }
27198
26961
  if (ondelete)
27199
- ((
27200
- a1
27201
- ) => {}) /* 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. */(
27202
- arg
26962
+ ((a1) => {})(
26963
+ /* 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
27203
26964
  );
27204
26965
  });
27205
26966
  });
@@ -27216,19 +26977,14 @@ export function init(RuntimeName, PHPLoader) {
27216
26977
  callUserCallback(() => {
27217
26978
  if (error) {
27218
26979
  if (onerror)
27219
- ((
27220
- a1
27221
- ) => {}) /* 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. */(
27222
- arg
26980
+ ((a1) => {})(
26981
+ /* 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
27223
26982
  );
27224
26983
  return;
27225
26984
  }
27226
26985
  if (oncheck)
27227
- ((
27228
- a1,
27229
- a2
27230
- ) => {}) /* 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. */(
27231
- arg,
26986
+ ((a1, a2) => {})(
26987
+ /* 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,
27232
26988
  exists
27233
26989
  );
27234
26990
  });
@@ -27244,18 +27000,14 @@ export function init(RuntimeName, PHPLoader) {
27244
27000
  callUserCallback(() => {
27245
27001
  if (error) {
27246
27002
  if (onerror)
27247
- ((
27248
- a1
27249
- ) => {}) /* 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. */(
27250
- arg
27003
+ ((a1) => {})(
27004
+ /* 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
27251
27005
  );
27252
27006
  return;
27253
27007
  }
27254
27008
  if (onclear)
27255
- ((
27256
- a1
27257
- ) => {}) /* 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. */(
27258
- arg
27009
+ ((a1) => {})(
27010
+ /* 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
27259
27011
  );
27260
27012
  });
27261
27013
  });
@@ -27412,11 +27164,8 @@ export function init(RuntimeName, PHPLoader) {
27412
27164
  safeSetTimeout(() => {
27413
27165
  var stackBegin = Asyncify.currData + 12;
27414
27166
  var stackEnd = HEAPU32[Asyncify.currData >> 2];
27415
- ((
27416
- a1,
27417
- a2
27418
- ) => {}) /* 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. */(
27419
- stackBegin,
27167
+ ((a1, a2) => {})(
27168
+ /* 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,
27420
27169
  stackEnd
27421
27170
  );
27422
27171
  wakeUp();
@@ -27477,10 +27226,8 @@ export function init(RuntimeName, PHPLoader) {
27477
27226
  HEAPU32[(newFiber + 12) >> 2] = 0;
27478
27227
 
27479
27228
  var userData = HEAPU32[(newFiber + 16) >> 2];
27480
- ((
27481
- a1
27482
- ) => {}) /* 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. */(
27483
- userData
27229
+ ((a1) => {})(
27230
+ /* 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
27484
27231
  );
27485
27232
  } else {
27486
27233
  var asyncifyData = newFiber + 20;
@@ -28492,11 +28239,8 @@ export function init(RuntimeName, PHPLoader) {
28492
28239
  if (!SDL.eventHandler) return;
28493
28240
 
28494
28241
  while (SDL.pollEvent(SDL.eventHandlerTemp)) {
28495
- ((
28496
- a1,
28497
- a2
28498
- ) => {}) /* 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. */(
28499
- SDL.eventHandlerContext,
28242
+ ((a1, a2) => {})(
28243
+ /* 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,
28500
28244
  SDL.eventHandlerTemp
28501
28245
  );
28502
28246
  }
@@ -30129,12 +29873,9 @@ export function init(RuntimeName, PHPLoader) {
30129
29873
  return;
30130
29874
 
30131
29875
  // Ask SDL audio data from the user code.
30132
- ((
30133
- a1,
30134
- a2,
30135
- a3
30136
- ) => {}) /* 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. */(
30137
- SDL.audio.userdata,
29876
+ ((a1, a2, a3) => {})(
29877
+ /* 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
29878
+ .audio.userdata,
30138
29879
  SDL.audio.buffer,
30139
29880
  SDL.audio.bufferSize
30140
29881
  );
@@ -30592,10 +30333,8 @@ export function init(RuntimeName, PHPLoader) {
30592
30333
  info.audio = null;
30593
30334
  }
30594
30335
  if (SDL.channelFinished) {
30595
- ((
30596
- a1
30597
- ) => {}) /* 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. */(
30598
- channel
30336
+ ((a1) => {})(
30337
+ /* 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
30599
30338
  );
30600
30339
  }
30601
30340
  }
@@ -30664,10 +30403,8 @@ export function init(RuntimeName, PHPLoader) {
30664
30403
  channelInfo.audio = null;
30665
30404
  }
30666
30405
  if (SDL.channelFinished)
30667
- ((
30668
- a1
30669
- ) => {}) /* 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. */(
30670
- channel
30406
+ ((a1) => {})(
30407
+ /* 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
30671
30408
  );
30672
30409
  };
30673
30410
  if (channelInfo.audio) {
@@ -31415,11 +31152,8 @@ export function init(RuntimeName, PHPLoader) {
31415
31152
  var _SDL_AddTimer = (interval, callback, param) =>
31416
31153
  safeSetTimeout(
31417
31154
  () =>
31418
- ((
31419
- a1,
31420
- a2
31421
- ) => {}) /* 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. */(
31422
- interval,
31155
+ ((a1, a2) => {})(
31156
+ /* 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,
31423
31157
  param
31424
31158
  ),
31425
31159
  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
- 12234061: ($0) => {
31811
+ 12241821: ($0) => {
32094
31812
  if (!$0) {
32095
31813
  AL.alcErr = 0xa004;
32096
31814
  return 1;
32097
31815
  }
32098
31816
  },
32099
- 12234109: ($0) => {
31817
+ 12241869: ($0) => {
32100
31818
  if (!AL.currentCtx) {
32101
31819
  err('alGetProcAddress() called without a valid context');
32102
31820
  return 1;
@@ -34859,6 +34577,10 @@ export function init(RuntimeName, PHPLoader) {
34859
34577
  /** @export */
34860
34578
  invoke_iijiji,
34861
34579
  /** @export */
34580
+ invoke_iijj,
34581
+ /** @export */
34582
+ invoke_ji,
34583
+ /** @export */
34862
34584
  invoke_jii,
34863
34585
  /** @export */
34864
34586
  invoke_jiii,
@@ -35015,6 +34737,11 @@ export function init(RuntimeName, PHPLoader) {
35015
34737
  var _wasm_sleep = (Module['_wasm_sleep'] = (a0) =>
35016
34738
  (_wasm_sleep = Module['_wasm_sleep'] = wasmExports['wasm_sleep'])(a0));
35017
34739
  var _calloc = (a0, a1) => (_calloc = wasmExports['calloc'])(a0, a1);
34740
+ var _initgroups = (Module['_initgroups'] = (a0, a1) =>
34741
+ (_initgroups = Module['_initgroups'] = wasmExports['initgroups'])(
34742
+ a0,
34743
+ a1
34744
+ ));
35018
34745
  var ___wrap_usleep = (Module['___wrap_usleep'] = (a0) =>
35019
34746
  (___wrap_usleep = Module['___wrap_usleep'] =
35020
34747
  wasmExports['__wrap_usleep'])(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_iijj(index, a1, a2, a3) {
35370
35090
  var sp = stackSave();
35371
35091
  try {
35372
- Module['dynCall_v'](index);
35092
+ return Module['dynCall_iijj'](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_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35131
+ function invoke_iiji(index, a1, a2, a3) {
35403
35132
  var sp = stackSave();
35404
35133
  try {
35405
- Module['dynCall_viiiiii'](index, a1, a2, a3, a4, a5, a6);
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_viijii(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_viijii'](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_viidii(index, a1, a2, a3, a4, a5) {
35153
+ function invoke_iijiji(index, a1, a2, a3, a4, a5) {
35425
35154
  var sp = stackSave();
35426
35155
  try {
35427
- Module['dynCall_viidii'](index, a1, a2, a3, a4, a5);
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_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35448
35176
  var sp = stackSave();
35449
35177
  try {
35450
- return Module['dynCall_jii'](index, a1, a2);
35178
+ Module['dynCall_viiiiii'](index, a1, a2, a3, a4, a5, a6);
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_viijii(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_viijii'](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_viidii(index, a1, a2, a3, a4, a5) {
35198
+ var sp = stackSave();
35199
+ try {
35200
+ Module['dynCall_viidii'](index, a1, a2, a3, a4, a5);
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: