x_ite 8.6.24 → 8.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/README.md +2 -0
  2. package/dist/assets/components/Annotation.js +13 -13
  3. package/dist/assets/components/Annotation.min.js +1 -1
  4. package/dist/assets/components/CADGeometry.js +13 -13
  5. package/dist/assets/components/CADGeometry.min.js +1 -1
  6. package/dist/assets/components/CubeMapTexturing.js +34 -39
  7. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  8. package/dist/assets/components/DIS.js +13 -13
  9. package/dist/assets/components/DIS.min.js +1 -1
  10. package/dist/assets/components/EventUtilities.js +9 -9
  11. package/dist/assets/components/EventUtilities.min.js +1 -1
  12. package/dist/assets/components/Geometry2D.js +19 -19
  13. package/dist/assets/components/Geometry2D.min.js +1 -1
  14. package/dist/assets/components/Geospatial.js +33 -33
  15. package/dist/assets/components/Geospatial.min.js +1 -1
  16. package/dist/assets/components/HAnim.js +18 -18
  17. package/dist/assets/components/HAnim.min.js +1 -1
  18. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  19. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  20. package/dist/assets/components/Layout.js +27 -27
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +32 -32
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +22 -22
  25. package/dist/assets/components/ParticleSystems.min.js +1 -1
  26. package/dist/assets/components/Picking.js +26 -26
  27. package/dist/assets/components/Picking.min.js +1 -1
  28. package/dist/assets/components/RigidBodyPhysics.js +20 -20
  29. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  30. package/dist/assets/components/Scripting.js +28 -28
  31. package/dist/assets/components/Scripting.min.js +1 -1
  32. package/dist/assets/components/Text.js +24 -24
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjector.js +14 -14
  35. package/dist/assets/components/TextureProjector.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +30 -30
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +25 -25
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +9 -9
  41. package/dist/assets/components/X_ITE.min.js +1 -1
  42. package/dist/x_ite.css +1 -1
  43. package/dist/x_ite.js +297 -257
  44. package/dist/x_ite.min.js +1 -1
  45. package/dist/x_ite.zip +0 -0
  46. package/docs/_config.yml +1 -1
  47. package/docs/_posts/accessing-the-external-browser.md +1 -1
  48. package/docs/_posts/components/Geospatial/GeoViewpoint.md +41 -0
  49. package/docs/_posts/components/Navigation/OrthoViewpoint.md +41 -0
  50. package/docs/_posts/components/Navigation/Viewpoint.md +41 -0
  51. package/docs/_posts/components/Networking/Inline.md +1 -1
  52. package/docs/_posts/components/X_ITE/BlendMode.md +1 -1
  53. package/docs/_posts/getting-started.md +4 -1
  54. package/docs/_posts/glossary.md +3 -3
  55. package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
  56. package/docs/_posts/reference/browser-services.md +48 -20
  57. package/docs/_posts/reference/field-services-and-objects.md +23 -23
  58. package/docs/_posts/reference/scene-services.md +1 -1
  59. package/docs/_posts/supported-nodes.md +1 -1
  60. package/docs/_posts/tutorials/basic-nodes.md +1 -1
  61. package/docs/_posts/tutorials/building-a-x3d-world.md +1 -1
  62. package/docs/_posts/tutorials/building-primitive-shapes.md +1 -1
  63. package/docs/_posts/tutorials/increasing-rendering-speed.md +1 -1
  64. package/docs/_posts/tutorials/introducing-x3d.md +1 -1
  65. package/docs/_posts/tutorials/overview.md +1 -1
  66. package/docs/_posts/what's-new.md +11 -1
  67. package/package.json +4 -4
  68. package/src/x_ite/Base/X3DBaseNode.js +2 -2
  69. package/src/x_ite/Base/X3DField.js +4 -4
  70. package/src/x_ite/Browser/Core/BrowserOptions.js +12 -4
  71. package/src/x_ite/Browser/Core/X3DCoreContext.js +79 -31
  72. package/src/x_ite/Browser/Legacy.js +1 -1
  73. package/src/x_ite/Browser/NURBS/NURBS.js +3 -3
  74. package/src/x_ite/Browser/Shaders/X3DShadersContext.js +2 -2
  75. package/src/x_ite/Browser/Texturing/X3DTexturingContext.js +10 -11
  76. package/src/x_ite/Browser/VERSION.js +1 -1
  77. package/src/x_ite/Browser/X3DBrowser.js +52 -28
  78. package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +9 -14
  79. package/src/x_ite/Components/EnvironmentalEffects/Background.js +6 -6
  80. package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +14 -34
  81. package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +9 -36
  82. package/src/x_ite/Components/NURBS/NurbsCurve.js +1 -1
  83. package/src/x_ite/Components/NURBS/NurbsCurve2D.js +1 -1
  84. package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +1 -1
  85. package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +1 -1
  86. package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +1 -1
  87. package/src/x_ite/Components/Picking/LinePickSensor.js +2 -2
  88. package/src/x_ite/Components/Picking/PointPickSensor.js +2 -2
  89. package/src/x_ite/Components/Picking/PrimitivePickSensor.js +2 -2
  90. package/src/x_ite/Components/Picking/VolumePickSensor.js +2 -2
  91. package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +1 -1
  92. package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +1 -1
  93. package/src/x_ite/Components/Shape/Material.js +10 -10
  94. package/src/x_ite/Components/Shape/PhysicalMaterial.js +6 -6
  95. package/src/x_ite/Components/Shape/X3DMaterialNode.js +1 -1
  96. package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +5 -5
  97. package/src/x_ite/Components/Sound/ListenerPointSource.js +2 -1
  98. package/src/x_ite/Components/Sound/MicrophoneSource.js +2 -1
  99. package/src/x_ite/Components/Sound/OscillatorSource.js +2 -1
  100. package/src/x_ite/Components/Sound/StreamAudioSource.js +2 -1
  101. package/src/x_ite/Components/Sound/X3DSoundProcessingNode.js +3 -0
  102. package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +2 -2
  103. package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +2 -2
  104. package/src/x_ite/Components/VolumeRendering/VolumeData.js +2 -2
  105. package/src/x_ite/Fields/SFNode.js +5 -5
  106. package/src/x_ite/Fields.js +5 -4
  107. package/src/x_ite/Parser/X3DParser.js +1 -1
  108. package/src/x_ite/X3DCanvasElement.js +4 -4
  109. package/src/x_ite.html +1 -1
  110. package/x_ite.min.html +1 -1
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.6.24 */(function webpackUniversalModuleDefinition(root, factory) {
1
+ /* X_ITE v8.7.1 */(function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
3
  module.exports = factory();
4
4
  else if(typeof define === 'function' && define.amd)
@@ -11,11 +11,11 @@
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 747:
14
+ /***/ 527:
15
15
  /***/ (function(module, exports, __webpack_require__) {
16
16
 
17
17
  "use strict";
18
- /* provided dependency */ var jQuery = __webpack_require__(184);
18
+ /* provided dependency */ var jQuery = __webpack_require__(970);
19
19
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
20
20
 
21
21
  /**
@@ -387,10 +387,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
387
387
 
388
388
  /***/ }),
389
389
 
390
- /***/ 371:
390
+ /***/ 743:
391
391
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
392
392
 
393
- /* provided dependency */ var jQuery = __webpack_require__(184);
393
+ /* provided dependency */ var jQuery = __webpack_require__(970);
394
394
  /**
395
395
  * @preserve jquery.fullscreen 1.1.5
396
396
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -586,7 +586,7 @@ installFullScreenHandlers();
586
586
 
587
587
  /***/ }),
588
588
 
589
- /***/ 810:
589
+ /***/ 360:
590
590
  /***/ ((module, exports, __webpack_require__) => {
591
591
 
592
592
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -600,7 +600,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
600
600
  (function (factory) {
601
601
  if ( true ) {
602
602
  // AMD. Register as an anonymous module.
603
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(184)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
603
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(970)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
604
604
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
605
605
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
606
606
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -811,7 +811,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
811
811
 
812
812
  /***/ }),
813
813
 
814
- /***/ 184:
814
+ /***/ 970:
815
815
  /***/ (function(module, exports) {
816
816
 
817
817
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11784,7 +11784,7 @@ return jQuery;
11784
11784
 
11785
11785
  /***/ }),
11786
11786
 
11787
- /***/ 721:
11787
+ /***/ 323:
11788
11788
  /***/ ((module) => {
11789
11789
 
11790
11790
  /**
@@ -16563,7 +16563,7 @@ if (true) {
16563
16563
 
16564
16564
  /***/ }),
16565
16565
 
16566
- /***/ 629:
16566
+ /***/ 521:
16567
16567
  /***/ (function(__unused_webpack_module, exports) {
16568
16568
 
16569
16569
 
@@ -19808,7 +19808,7 @@ if (true) {
19808
19808
 
19809
19809
  /***/ }),
19810
19810
 
19811
- /***/ 872:
19811
+ /***/ 552:
19812
19812
  /***/ (function(module, exports) {
19813
19813
 
19814
19814
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -23341,15 +23341,15 @@ X3DField .prototype = Object .assign (Object .create (Base_X3DChildObject.protot
23341
23341
  },
23342
23342
  isInitializable: function ()
23343
23343
  {
23344
- return this [_accessType] & Base_X3DConstants.initializeOnly;
23344
+ return !! (this [_accessType] & Base_X3DConstants.initializeOnly);
23345
23345
  },
23346
23346
  isInput: function ()
23347
23347
  {
23348
- return this [_accessType] & Base_X3DConstants.inputOnly;
23348
+ return !! (this [_accessType] & Base_X3DConstants.inputOnly);
23349
23349
  },
23350
23350
  isOutput: function ()
23351
23351
  {
23352
- return this [_accessType] & Base_X3DConstants.outputOnly;
23352
+ return !! (this [_accessType] & Base_X3DConstants.outputOnly);
23353
23353
  },
23354
23354
  isReadable: function ()
23355
23355
  {
@@ -23357,7 +23357,7 @@ X3DField .prototype = Object .assign (Object .create (Base_X3DChildObject.protot
23357
23357
  },
23358
23358
  isWritable: function ()
23359
23359
  {
23360
- return this [_accessType] !== Base_X3DConstants.initializeOnly;
23360
+ return this [_accessType] !== Base_X3DConstants.outputOnly;
23361
23361
  },
23362
23362
  setUnit: function (value)
23363
23363
  {
@@ -30341,7 +30341,7 @@ const SFNode_handler =
30341
30341
  {
30342
30342
  try
30343
30343
  {
30344
- return Boolean (target .getValue () .getField (key));
30344
+ return !! target .getValue () .getField (key);
30345
30345
  }
30346
30346
  catch (error)
30347
30347
  {
@@ -30527,7 +30527,7 @@ SFNode .prototype = Object .assign (Object .create (Base_X3DField.prototype),
30527
30527
 
30528
30528
  throw new Error ("SFNode.getFieldDefinitions: node is null.");
30529
30529
  },
30530
- addFieldCallback: function (name, string, object)
30530
+ addFieldCallback: function (name, key, object)
30531
30531
  {
30532
30532
  const target = this [SFNode_target];
30533
30533
 
@@ -30542,13 +30542,13 @@ SFNode .prototype = Object .assign (Object .create (Base_X3DField.prototype),
30542
30542
  const value = target .getValue ();
30543
30543
 
30544
30544
  if (value)
30545
- return value .getField (name) .addFieldCallback (string, object);
30545
+ return value .getField (name) .addFieldCallback (key, object);
30546
30546
 
30547
30547
  throw new Error ("SFNode.addFieldCallback: node is null.");
30548
30548
  }
30549
30549
  }
30550
30550
  },
30551
- removeFieldCallback: function (name, string)
30551
+ removeFieldCallback: function (name, key)
30552
30552
  {
30553
30553
  const target = this [SFNode_target];
30554
30554
 
@@ -30563,7 +30563,7 @@ SFNode .prototype = Object .assign (Object .create (Base_X3DField.prototype),
30563
30563
  const value = target .getValue ();
30564
30564
 
30565
30565
  if (value)
30566
- return value .getField (name) .removeFieldCallback (string);
30566
+ return value .getField (name) .removeFieldCallback (key);
30567
30567
 
30568
30568
  throw new Error ("SFNode.removeFieldCallback: node is null.");
30569
30569
  }
@@ -34257,8 +34257,7 @@ x_ite_Namespace.set ("x_ite/Fields/SFImage", SFImage_default_);
34257
34257
 
34258
34258
 
34259
34259
 
34260
- const Fields = Object .assign (
34261
- {
34260
+ const Fields = {
34262
34261
  SFBool: Fields_SFBool,
34263
34262
  SFColor: Fields_SFColor,
34264
34263
  SFColorRGBA: Fields_SFColorRGBA,
@@ -34280,9 +34279,11 @@ const Fields = Object .assign (
34280
34279
  SFVec3f: Fields_SFVec3.SFVec3f,
34281
34280
  SFVec4d: Fields_SFVec4.SFVec4d,
34282
34281
  SFVec4f: Fields_SFVec4.SFVec4f,
34282
+
34283
34283
  VrmlMatrix: Fields_SFMatrix4.VrmlMatrix,
34284
- },
34285
- Fields_ArrayFields);
34284
+
34285
+ ... Fields_ArrayFields
34286
+ };
34286
34287
 
34287
34288
  const Fields_default_ = Fields;
34288
34289
  ;
@@ -34676,8 +34677,8 @@ X3DBaseNode .prototype = Object .assign (Object .create (Base_X3DEventObject.pro
34676
34677
  {
34677
34678
  get: function () { return field; },
34678
34679
  set: function (value) { field .setValue (value); },
34679
- configurable: true, // deletable
34680
- enumerable: true,
34680
+ configurable: true,
34681
+ enumerable: false,
34681
34682
  });
34682
34683
 
34683
34684
  if (!this .isPrivate ())
@@ -35002,7 +35003,7 @@ x_ite_Namespace.set ("x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
35002
35003
  *
35003
35004
  ******************************************************************************/
35004
35005
 
35005
- const VERSION_default_ = "8.6.24";
35006
+ const VERSION_default_ = "8.7.1";
35006
35007
  ;
35007
35008
 
35008
35009
  x_ite_Namespace.set ("x_ite/Browser/VERSION", VERSION_default_);
@@ -35921,7 +35922,7 @@ const gettext_default_ = gettext;
35921
35922
  x_ite_Namespace.set ("locale/gettext", gettext_default_);
35922
35923
  /* harmony default export */ const locale_gettext = (gettext_default_);
35923
35924
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
35924
- /* provided dependency */ var $ = __webpack_require__(184);
35925
+ /* provided dependency */ var $ = __webpack_require__(970);
35925
35926
  /*******************************************************************************
35926
35927
  *
35927
35928
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36419,7 +36420,7 @@ const TextureQuality_default_ = TextureQuality;
36419
36420
  x_ite_Namespace.set ("x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
36420
36421
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
36421
36422
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
36422
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(184);
36423
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(970);
36423
36424
  /*******************************************************************************
36424
36425
  *
36425
36426
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36502,7 +36503,7 @@ BrowserOptions .prototype = Object .assign (Object .create (Base_X3DBaseNode.pro
36502
36503
  new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "Antialiased", new x_ite_Fields.SFBool (true)),
36503
36504
  new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "TextureQuality", new x_ite_Fields.SFString ("MEDIUM")),
36504
36505
  new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "PrimitiveQuality", new x_ite_Fields.SFString ("MEDIUM")),
36505
- new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "QualityWhenMoving", new x_ite_Fields.SFString ("MEDIUM")),
36506
+ new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "QualityWhenMoving", new x_ite_Fields.SFString ("SAME")),
36506
36507
  new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "Shading", new x_ite_Fields.SFString ("GOURAUD")),
36507
36508
  new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "MotionBlur", new x_ite_Fields.SFBool ()),
36508
36509
  new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "Cache", new x_ite_Fields.SFBool (true)),
@@ -36553,6 +36554,12 @@ BrowserOptions .prototype = Object .assign (Object .create (Base_X3DBaseNode.pro
36553
36554
  this ._Multisampling .addInterest ("set_multisampling__", this);
36554
36555
  this ._Timings .addInterest ("set_timings__", this);
36555
36556
 
36557
+ this .set_antialiased__ (this ._Antialiased);
36558
+ this .set_shading__ (this ._Shading);
36559
+ this .set_contentScale__ (this ._ContentScale);
36560
+ this .set_logarithmicDepthBuffer__ (this ._LogarithmicDepthBuffer);
36561
+ this .set_multisampling__ (this ._Multisampling);
36562
+
36556
36563
  this .configure ();
36557
36564
  },
36558
36565
  configure: (function ()
@@ -36590,9 +36597,11 @@ BrowserOptions .prototype = Object .assign (Object .create (Base_X3DBaseNode.pro
36590
36597
  attribute = BrowserOptions_$.toLowerCaseFirst (name),
36591
36598
  value = browser .getElement () .attr (attribute);
36592
36599
 
36593
- browser .attributeChangedCallback (attribute, null, value);
36594
-
36595
- continue;
36600
+ if (value !== undefined)
36601
+ {
36602
+ browser .attributeChangedCallback (attribute, null, value);
36603
+ continue;
36604
+ }
36596
36605
  }
36597
36606
 
36598
36607
  if (restorable .has (name))
@@ -36955,7 +36964,7 @@ const RenderingProperties_default_ = RenderingProperties;
36955
36964
  x_ite_Namespace.set ("x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
36956
36965
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
36957
36966
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
36958
- /* provided dependency */ var Notification_$ = __webpack_require__(184);
36967
+ /* provided dependency */ var Notification_$ = __webpack_require__(970);
36959
36968
  /*******************************************************************************
36960
36969
  *
36961
36970
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -37077,8 +37086,8 @@ const Notification_default_ = Notification;
37077
37086
  x_ite_Namespace.set ("x_ite/Browser/Core/Notification", Notification_default_);
37078
37087
  /* harmony default export */ const Core_Notification = (Notification_default_);
37079
37088
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
37080
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(371);
37081
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(184);
37089
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(743);
37090
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(970);
37082
37091
  /*******************************************************************************
37083
37092
  *
37084
37093
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42133,7 +42142,7 @@ const X3DUrlObject_default_ = X3DUrlObject;
42133
42142
  x_ite_Namespace.set ("x_ite/Components/Networking/X3DUrlObject", X3DUrlObject_default_);
42134
42143
  /* harmony default export */ const Networking_X3DUrlObject = (X3DUrlObject_default_);
42135
42144
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
42136
- /* provided dependency */ var X3DParser_$ = __webpack_require__(184);
42145
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(970);
42137
42146
  /*******************************************************************************
42138
42147
  *
42139
42148
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42224,7 +42233,7 @@ X3DParser .prototype = {
42224
42233
  },
42225
42234
  isInsideProtoDefinition: function ()
42226
42235
  {
42227
- return Boolean (this .prototypes .length);
42236
+ return !! this .prototypes .length;
42228
42237
  },
42229
42238
  loadComponents: function ()
42230
42239
  {
@@ -45315,7 +45324,7 @@ const VRMLParser_default_ = VRMLParser;
45315
45324
  x_ite_Namespace.set ("x_ite/Parser/VRMLParser", VRMLParser_default_);
45316
45325
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
45317
45326
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
45318
- /* provided dependency */ var XMLParser_$ = __webpack_require__(184);
45327
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(970);
45319
45328
  /*******************************************************************************
45320
45329
  *
45321
45330
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47352,7 +47361,7 @@ const URLs_default_ = URLs;
47352
47361
  x_ite_Namespace.set ("x_ite/Browser/Networking/URLs", URLs_default_);
47353
47362
  /* harmony default export */ const Networking_URLs = (URLs_default_);
47354
47363
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
47355
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(184);
47364
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(970);
47356
47365
  /*******************************************************************************
47357
47366
  *
47358
47367
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49818,7 +49827,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
49818
49827
  x_ite_Namespace.set ("x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
49819
49828
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
49820
49829
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
49821
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(184);
49830
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(970);
49822
49831
  /*******************************************************************************
49823
49832
  *
49824
49833
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49971,7 +49980,7 @@ const GLB2Parser_default_ = GLB2Parser;
49971
49980
  x_ite_Namespace.set ("x_ite/Parser/GLB2Parser", GLB2Parser_default_);
49972
49981
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
49973
49982
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
49974
- /* provided dependency */ var OBJParser_$ = __webpack_require__(184);
49983
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(970);
49975
49984
  /*******************************************************************************
49976
49985
  *
49977
49986
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -52461,8 +52470,8 @@ const MatrixStack_default_ = MatrixStack;
52461
52470
  x_ite_Namespace.set ("standard/Math/Utility/MatrixStack", MatrixStack_default_);
52462
52471
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
52463
52472
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
52464
- /* provided dependency */ var SVGParser_$ = __webpack_require__(184);
52465
- /* provided dependency */ var libtess = __webpack_require__(721);
52473
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(970);
52474
+ /* provided dependency */ var libtess = __webpack_require__(323);
52466
52475
  /*******************************************************************************
52467
52476
  *
52468
52477
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55231,7 +55240,7 @@ const SVGParser_default_ = SVGParser;
55231
55240
  x_ite_Namespace.set ("x_ite/Parser/SVGParser", SVGParser_default_);
55232
55241
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
55233
55242
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
55234
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(184);
55243
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(970);
55235
55244
  /*******************************************************************************
55236
55245
  *
55237
55246
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55560,7 +55569,7 @@ const Plane3_default_ = Plane3;
55560
55569
  x_ite_Namespace.set ("standard/Math/Geometry/Plane3", Plane3_default_);
55561
55570
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
55562
55571
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
55563
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(721);
55572
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(323);
55564
55573
  /*******************************************************************************
55565
55574
  *
55566
55575
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -61805,50 +61814,23 @@ X3DBackgroundNode .prototype = Object .assign (Object .create (Core_X3DBindableN
61805
61814
 
61806
61815
  return false;
61807
61816
  },
61808
- set_frontTexture__: function (value)
61809
- {
61810
- this .updateTexture (0, value);
61811
- },
61812
- set_backTexture__: function (value)
61813
- {
61814
- this .updateTexture (1, value);
61815
- },
61816
- set_leftTexture__: function (value)
61817
+ set_texture__: function (textureNode, index)
61817
61818
  {
61818
- this .updateTexture (2, value);
61819
- },
61820
- set_rightTexture__: function (value)
61821
- {
61822
- this .updateTexture (3, value);
61823
- },
61824
- set_topTexture__: function (value)
61825
- {
61826
- this .updateTexture (4, value);
61827
- },
61828
- set_bottomTexture__: function (value)
61829
- {
61830
- this .updateTexture (5, value);
61831
- },
61832
- updateTexture: function (index, textureNode)
61833
- {
61834
- this .textureNodes [index] ?._loadState .removeInterest ("setTextureBit", this);
61819
+ this .textureNodes [index] ?._loadState .removeInterest ("set_loadState__", this);
61835
61820
 
61836
61821
  this .textureNodes [index] = textureNode;
61837
61822
 
61838
- if (textureNode)
61839
- {
61840
- textureNode ._loadState .addInterest ("setTextureBit", this, index, textureNode);
61823
+ textureNode ?._loadState .addInterest ("set_loadState__", this, textureNode, index);
61841
61824
 
61842
- this .setTextureBit (index, textureNode, textureNode ._loadState);
61843
- }
61844
- else
61845
- {
61846
- this .textureBits .set (index, false);
61847
- }
61825
+ this .set_loadState__ (textureNode, index);
61826
+ },
61827
+ set_loadState__: function (textureNode, index)
61828
+ {
61829
+ this .setTextureBit (index, textureNode, textureNode ?.checkLoadState () ?? Base_X3DConstants.NOT_STARTED);
61848
61830
  },
61849
61831
  setTextureBit: function (bit, textureNode, loadState)
61850
61832
  {
61851
- this .textureBits .set (bit, loadState .getValue () === Base_X3DConstants.COMPLETE_STATE || textureNode .getWidth ());
61833
+ this .textureBits .set (bit, loadState === Base_X3DConstants.COMPLETE_STATE || textureNode ?.getWidth ());
61852
61834
  },
61853
61835
  getColor: function (theta, color, angle)
61854
61836
  {
@@ -62871,7 +62853,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62871
62853
  x_ite_Namespace.set ("x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
62872
62854
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
62873
62855
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
62874
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(184);
62856
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(970);
62875
62857
  /*******************************************************************************
62876
62858
  *
62877
62859
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -63298,12 +63280,12 @@ Background .prototype = Object .assign (Object .create (EnvironmentalEffects_X3D
63298
63280
  topTexture .setup ();
63299
63281
  bottomTexture .setup ();
63300
63282
 
63301
- this .set_frontTexture__ (frontTexture);
63302
- this .set_backTexture__ (backTexture);
63303
- this .set_leftTexture__ (leftTexture);
63304
- this .set_rightTexture__ (rightTexture);
63305
- this .set_topTexture__ (topTexture);
63306
- this .set_bottomTexture__ (bottomTexture);
63283
+ this .set_texture__ (frontTexture, 0);
63284
+ this .set_texture__ (backTexture, 1);
63285
+ this .set_texture__ (leftTexture, 2);
63286
+ this .set_texture__ (rightTexture, 3);
63287
+ this .set_texture__ (topTexture, 4);
63288
+ this .set_texture__ (bottomTexture, 5);
63307
63289
  }
63308
63290
  });
63309
63291
 
@@ -67211,7 +67193,7 @@ const X3DWorld_default_ = X3DWorld;
67211
67193
  x_ite_Namespace.set ("x_ite/Execution/X3DWorld", X3DWorld_default_);
67212
67194
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
67213
67195
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
67214
- /* provided dependency */ var FileLoader_$ = __webpack_require__(184);
67196
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(970);
67215
67197
  /*******************************************************************************
67216
67198
  *
67217
67199
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -69388,7 +69370,7 @@ const X3DExecutionContext_default_ = X3DExecutionContext;
69388
69370
  x_ite_Namespace.set ("x_ite/Execution/X3DExecutionContext", X3DExecutionContext_default_);
69389
69371
  /* harmony default export */ const Execution_X3DExecutionContext = (X3DExecutionContext_default_);
69390
69372
  ;// CONCATENATED MODULE: ./src/x_ite/Configuration/ComponentInfo.js
69391
- /* provided dependency */ var ComponentInfo_$ = __webpack_require__(184);
69373
+ /* provided dependency */ var ComponentInfo_$ = __webpack_require__(970);
69392
69374
  /*******************************************************************************
69393
69375
  *
69394
69376
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -71405,7 +71387,7 @@ const DataStorage_default_ = DataStorage;
71405
71387
  x_ite_Namespace.set ("standard/Utility/DataStorage", DataStorage_default_);
71406
71388
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
71407
71389
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
71408
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(184);
71390
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(970);
71409
71391
  /*******************************************************************************
71410
71392
  *
71411
71393
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -71521,10 +71503,10 @@ function X3DCoreContext (element)
71521
71503
  this [_localStorage] = new Utility_DataStorage (localStorage, "X_ITE.X3DBrowser(" + this [_instanceId] + ").");
71522
71504
  this [_mobile] = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i .test (navigator .userAgent);
71523
71505
 
71524
- this [_browserTimings] = new Core_BrowserTimings (this .getPrivateScene ());
71506
+ this [_renderingProperties] = new Core_RenderingProperties (this .getPrivateScene ());
71525
71507
  this [_browserOptions] = new Core_BrowserOptions (this .getPrivateScene ());
71526
71508
  this [_browserProperties] = new Core_BrowserProperties (this .getPrivateScene ());
71527
- this [_renderingProperties] = new Core_RenderingProperties (this .getPrivateScene ());
71509
+ this [_browserTimings] = new Core_BrowserTimings (this .getPrivateScene ());
71528
71510
  this [_notification] = new Core_Notification (this .getPrivateScene ());
71529
71511
  this [_contextMenu] = new Core_ContextMenu (this .getPrivateScene ());
71530
71512
 
@@ -71544,45 +71526,53 @@ X3DCoreContext .prototype =
71544
71526
  {
71545
71527
  // Setup browser nodes.
71546
71528
 
71547
- this [_browserTimings] .setup ();
71529
+ this [_renderingProperties] .setup ();
71548
71530
  this [_browserOptions] .setup ();
71549
71531
  this [_browserProperties] .setup ();
71550
- this [_renderingProperties] .setup ();
71532
+ this [_browserTimings] .setup ();
71551
71533
  this [_notification] .setup ();
71552
71534
  this [_contextMenu] .setup ();
71553
71535
 
71554
- // Define src and url property.
71536
+ // Define properties of X3DCanvasElement.
71555
71537
 
71556
- Object .defineProperty (this .getElement () .get (0), "src",
71538
+ Object .defineProperties (this .getElement () .get (0),
71557
71539
  {
71558
- get: () =>
71540
+ browser:
71559
71541
  {
71560
- return this .getExecutionContext () .getWorldURL ();
71542
+ value: this,
71543
+ enumerable: true,
71561
71544
  },
71562
- set: (value) =>
71545
+ src:
71563
71546
  {
71564
- this .loadURL (new x_ite_Fields.MFString (value), new x_ite_Fields.MFString ());
71565
- },
71566
- enumerable: true,
71567
- });
71568
-
71569
- Object .defineProperty (this .getElement () .get (0), "url",
71570
- {
71571
- get: () =>
71572
- {
71573
- return new x_ite_Fields.MFString (this .getExecutionContext () .getWorldURL ());
71547
+ get: () =>
71548
+ {
71549
+ return this .getExecutionContext () .getWorldURL ();
71550
+ },
71551
+ set: (value) =>
71552
+ {
71553
+ this .loadURL (new x_ite_Fields.MFString (value), new x_ite_Fields.MFString ());
71554
+ },
71555
+ enumerable: true,
71574
71556
  },
71575
- set: (value) =>
71557
+ url:
71576
71558
  {
71577
- this .loadURL (value, new x_ite_Fields.MFString ());
71559
+ get: () =>
71560
+ {
71561
+ return new x_ite_Fields.MFString (this .getExecutionContext () .getWorldURL ());
71562
+ },
71563
+ set: (value) =>
71564
+ {
71565
+ this .loadURL (value, new x_ite_Fields.MFString ());
71566
+ },
71567
+ enumerable: true,
71578
71568
  },
71579
- enumerable: true,
71580
71569
  });
71581
71570
 
71582
71571
  // Configure browser event handlers.
71583
71572
 
71584
- this .getElement () .on ("keydown.X3DCoreContext", this [_keydown] .bind (this));
71585
- this .getElement () .on ("keyup.X3DCoreContext", this [_keyup] .bind (this));
71573
+ this .getElement ()
71574
+ .on ("keydown.X3DCoreContext", this [_keydown] .bind (this))
71575
+ .on ("keyup.X3DCoreContext", this [_keyup] .bind (this));
71586
71576
  },
71587
71577
  getInstanceId: function ()
71588
71578
  {
@@ -71718,6 +71708,21 @@ X3DCoreContext .prototype =
71718
71708
  this .setBrowserOption ("Notifications", this .parseBooleanAttribute (newValue, true));
71719
71709
  break;
71720
71710
  }
71711
+ case "onerror":
71712
+ case "oninitialized":
71713
+ case "onshutdown":
71714
+ {
71715
+ try
71716
+ {
71717
+ this .getElement () [0] [name] = new Function ("event", newValue);
71718
+ }
71719
+ catch (error)
71720
+ {
71721
+ console .error (error);
71722
+ }
71723
+
71724
+ break;
71725
+ }
71721
71726
  case "splashScreen":
71722
71727
  case "splashscreen":
71723
71728
  {
@@ -71733,7 +71738,9 @@ X3DCoreContext .prototype =
71733
71738
  }
71734
71739
  case "src":
71735
71740
  {
71736
- this .loadURL (new x_ite_Fields.MFString (newValue), new x_ite_Fields.MFString ());
71741
+ if (newValue)
71742
+ this .loadURL (new x_ite_Fields.MFString (newValue), new x_ite_Fields.MFString ());
71743
+
71737
71744
  break;
71738
71745
  }
71739
71746
  case "timings":
@@ -71743,7 +71750,9 @@ X3DCoreContext .prototype =
71743
71750
  }
71744
71751
  case "url":
71745
71752
  {
71746
- this .loadURL (this .parseUrlAttribute (newValue), new x_ite_Fields.MFString ());
71753
+ if (newValue)
71754
+ this .loadURL (this .parseUrlAttribute (newValue), new x_ite_Fields.MFString ());
71755
+
71747
71756
  break;
71748
71757
  }
71749
71758
  }
@@ -71766,13 +71775,34 @@ X3DCoreContext .prototype =
71766
71775
 
71767
71776
  return url;
71768
71777
  },
71769
- callBrowserEventHandler: function (events)
71778
+ callBrowserEventHandler: (function ()
71770
71779
  {
71771
- const element = this .getElement ();
71780
+ const build_in = new Set (["error", "load"]);
71772
71781
 
71773
- for (const event of events .split (" "))
71774
- element .trigger (event);
71775
- },
71782
+ return function (events)
71783
+ {
71784
+ const element = this .getElement () [0];
71785
+
71786
+ for (const name of events .split (" "))
71787
+ {
71788
+ // Order is attribute, then dispatch.
71789
+
71790
+ const event = new CustomEvent (name);
71791
+
71792
+ try
71793
+ {
71794
+ if (!build_in .has (name))
71795
+ element [`on${name}`] ?.(event);
71796
+ }
71797
+ catch (error)
71798
+ {
71799
+ console .error (error);
71800
+ }
71801
+
71802
+ element .dispatchEvent (event);
71803
+ }
71804
+ };
71805
+ })(),
71776
71806
  getShiftKey: function ()
71777
71807
  {
71778
71808
  return this ._shiftKey .getValue ();
@@ -77466,8 +77496,8 @@ const OrientationChaser_default_ = OrientationChaser;
77466
77496
  x_ite_Namespace.set ("x_ite/Components/Followers/OrientationChaser", OrientationChaser_default_);
77467
77497
  /* harmony default export */ const Followers_OrientationChaser = (OrientationChaser_default_);
77468
77498
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
77469
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(810);
77470
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(184);
77499
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(360);
77500
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(970);
77471
77501
  /*******************************************************************************
77472
77502
  *
77473
77503
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -78331,8 +78361,8 @@ const ExamineViewer_default_ = ExamineViewer;
78331
78361
  x_ite_Namespace.set ("x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
78332
78362
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
78333
78363
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
78334
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(810);
78335
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(184);
78364
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(360);
78365
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(970);
78336
78366
  /*******************************************************************************
78337
78367
  *
78338
78368
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -79280,8 +79310,8 @@ const FlyViewer_default_ = FlyViewer;
79280
79310
  x_ite_Namespace.set ("x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
79281
79311
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
79282
79312
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
79283
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(810);
79284
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(184);
79313
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(360);
79314
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(970);
79285
79315
  /*******************************************************************************
79286
79316
  *
79287
79317
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -79590,8 +79620,8 @@ const NoneViewer_default_ = NoneViewer;
79590
79620
  x_ite_Namespace.set ("x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
79591
79621
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
79592
79622
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
79593
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(810);
79594
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(184);
79623
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(360);
79624
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(970);
79595
79625
  /*******************************************************************************
79596
79626
  *
79597
79627
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -81223,8 +81253,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
81223
81253
  x_ite_Namespace.set ("x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
81224
81254
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
81225
81255
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
81226
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(810);
81227
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(184);
81256
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(360);
81257
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(970);
81228
81258
  /*******************************************************************************
81229
81259
  *
81230
81260
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -82262,8 +82292,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
82262
82292
  x_ite_Namespace.set ("x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
82263
82293
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
82264
82294
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
82265
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(184);
82266
- /* provided dependency */ var ResizeSensor = __webpack_require__(747);
82295
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(970);
82296
+ /* provided dependency */ var ResizeSensor = __webpack_require__(527);
82267
82297
  /*******************************************************************************
82268
82298
  *
82269
82299
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -88152,7 +88182,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
88152
88182
  x_ite_Namespace.set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
88153
88183
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
88154
88184
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
88155
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(184);
88185
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(970);
88156
88186
  /*******************************************************************************
88157
88187
  *
88158
88188
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -90929,7 +90959,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
90929
90959
  x_ite_Namespace.set ("x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
90930
90960
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
90931
90961
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
90932
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(184);
90962
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(970);
90933
90963
  /*******************************************************************************
90934
90964
  *
90935
90965
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -91324,7 +91354,7 @@ X3DShadersContext .prototype =
91324
91354
  version = gl .getVersion ();
91325
91355
 
91326
91356
  const vertexShader = new Shaders_ShaderPart (this .getPrivateScene ());
91327
- vertexShader ._url .push (vs .startsWith ("data:") ? vs : "data:x-shader/x-vertex," + Shaders_Shaders.vertex [version] [vs]);
91357
+ vertexShader ._url .push (encodeURI (vs .startsWith ("data:") ? vs : "data:x-shader/x-vertex," + Shaders_Shaders.vertex [version] [vs]));
91328
91358
  vertexShader .setPrivate (true);
91329
91359
  vertexShader .setName (name + "Vertex");
91330
91360
  vertexShader .setOptions (options);
@@ -91332,7 +91362,7 @@ X3DShadersContext .prototype =
91332
91362
 
91333
91363
  const fragmentShader = new Shaders_ShaderPart (this .getPrivateScene ());
91334
91364
  fragmentShader ._type = "FRAGMENT";
91335
- fragmentShader ._url .push (fs .startsWith ("data:") ? fs : "data:x-shader/x-fragment," + Shaders_Shaders.fragment [version] [fs]);
91365
+ fragmentShader ._url .push (encodeURI (fs .startsWith ("data:") ? fs : "data:x-shader/x-fragment," + Shaders_Shaders.fragment [version] [fs]));
91336
91366
  fragmentShader .setPrivate (true);
91337
91367
  fragmentShader .setName (name + "Fragment");
91338
91368
  fragmentShader .setOptions (options);
@@ -92379,7 +92409,7 @@ X3DMaterialNode .prototype = Object .assign (Object .create (Shape_X3DAppearance
92379
92409
  key += textureNode ? 1 : 0;
92380
92410
  }
92381
92411
 
92382
- return this .shaderNodes .get (key) || this .createShader (key, geometryContext, renderContext);
92412
+ return this .shaderNodes .get (key) ?? this .createShader (key, geometryContext, renderContext);
92383
92413
  },
92384
92414
  getShaderOptions: function (geometryContext, renderContext)
92385
92415
  {
@@ -92659,7 +92689,7 @@ X3DOneSidedMaterialNode .prototype = Object .assign (Object .create (Shape_X3DMa
92659
92689
  },
92660
92690
  set_transparent__: function ()
92661
92691
  {
92662
- this .setTransparent (Boolean (this .transparency));
92692
+ this .setTransparent (!! this .transparency);
92663
92693
  },
92664
92694
  getBaseTexture: function ()
92665
92695
  {
@@ -92723,8 +92753,8 @@ X3DOneSidedMaterialNode .prototype = Object .assign (Object .create (Shape_X3DMa
92723
92753
 
92724
92754
  this .emissiveTextureNode .setShaderUniforms (gl, shaderObject, renderObject, emissiveTexture);
92725
92755
 
92726
- gl .uniform1i (emissiveTexture .textureTransformMapping, textureTransformMapping .get (emissiveTextureMapping) || 0);
92727
- gl .uniform1i (emissiveTexture .textureCoordinateMapping, textureCoordinateMapping .get (emissiveTextureMapping) || 0);
92756
+ gl .uniform1i (emissiveTexture .textureTransformMapping, textureTransformMapping .get (emissiveTextureMapping) ?? 0);
92757
+ gl .uniform1i (emissiveTexture .textureCoordinateMapping, textureCoordinateMapping .get (emissiveTextureMapping) ?? 0);
92728
92758
  }
92729
92759
 
92730
92760
  // Normal parameters
@@ -92739,8 +92769,8 @@ X3DOneSidedMaterialNode .prototype = Object .assign (Object .create (Shape_X3DMa
92739
92769
 
92740
92770
  this .normalTextureNode .setShaderUniforms (gl, shaderObject, renderObject, normalTexture);
92741
92771
 
92742
- gl .uniform1i (normalTexture .textureTransformMapping, textureTransformMapping .get (normalTextureMapping) || 0);
92743
- gl .uniform1i (normalTexture .textureCoordinateMapping, textureCoordinateMapping .get (normalTextureMapping) || 0);
92772
+ gl .uniform1i (normalTexture .textureTransformMapping, textureTransformMapping .get (normalTextureMapping) ?? 0);
92773
+ gl .uniform1i (normalTexture .textureCoordinateMapping, textureCoordinateMapping .get (normalTextureMapping) ?? 0);
92744
92774
  }
92745
92775
  }
92746
92776
  },
@@ -93534,9 +93564,6 @@ x_ite_Namespace.set ("x_ite/Components/Texturing/TextureTransform", TextureTrans
93534
93564
 
93535
93565
  const
93536
93566
  _maxTextures = Symbol (),
93537
- _maxTextureSize = Symbol (),
93538
- _maxCombinedTextureUnits = Symbol (),
93539
- _textureMemory = Symbol (),
93540
93567
  _combinedTextureUnits = Symbol (),
93541
93568
  _texture2DUnits = Symbol (),
93542
93569
  _texture3DUnits = Symbol (),
@@ -93571,13 +93598,11 @@ X3DTexturingContext .prototype =
93571
93598
 
93572
93599
  gl .pixelStorei (gl .UNPACK_ALIGNMENT, 1);
93573
93600
 
93574
- this [_maxTextureSize] = gl .getParameter (gl .MAX_TEXTURE_SIZE);
93575
- this [_maxCombinedTextureUnits] = gl .getParameter (gl .MAX_COMBINED_TEXTURE_IMAGE_UNITS);
93576
- this [_textureMemory] = NaN;
93577
-
93578
93601
  // Get texture Units
93579
93602
 
93580
- this [_combinedTextureUnits] = [...Array (this [_maxCombinedTextureUnits]) .keys ()];
93603
+ const maxCombinedTextureUnits = gl .getParameter (gl .MAX_COMBINED_TEXTURE_IMAGE_UNITS);
93604
+
93605
+ this [_combinedTextureUnits] = [...Array (maxCombinedTextureUnits) .keys ()];
93581
93606
  this [_texture2DUnits] = [this [_combinedTextureUnits] .pop ()];
93582
93607
  this [_texture3DUnits] = [this [_combinedTextureUnits] .pop ()];
93583
93608
  this [_textureCubeUnits] = [this [_combinedTextureUnits] .pop ()];
@@ -93642,11 +93667,15 @@ X3DTexturingContext .prototype =
93642
93667
  },
93643
93668
  getMaxTextureSize: function ()
93644
93669
  {
93645
- return this [_maxTextureSize];
93670
+ const gl = this .getContext ();
93671
+
93672
+ return gl .getParameter (gl .MAX_TEXTURE_SIZE);
93646
93673
  },
93647
93674
  getMaxCombinedTextureUnits: function ()
93648
93675
  {
93649
- return this [_maxCombinedTextureUnits];
93676
+ const gl = this .getContext ();
93677
+
93678
+ return gl .getParameter (gl .MAX_COMBINED_TEXTURE_IMAGE_UNITS)
93650
93679
  },
93651
93680
  popTexture2DUnit: function ()
93652
93681
  {
@@ -93735,7 +93764,7 @@ X3DTexturingContext .prototype =
93735
93764
  },
93736
93765
  getTextureMemory: function ()
93737
93766
  {
93738
- return this [_textureMemory];
93767
+ return NaN;
93739
93768
  },
93740
93769
  getDefaultTextureProperties: function ()
93741
93770
  {
@@ -95814,43 +95843,23 @@ TextureBackground .prototype = Object .assign (Object .create (EnvironmentalEffe
95814
95843
  {
95815
95844
  EnvironmentalEffects_X3DBackgroundNode.prototype.initialize.call (this);
95816
95845
 
95817
- this ._frontTexture .addInterest ("set_frontTexture__", this);
95818
- this ._backTexture .addInterest ("set_backTexture__", this);
95819
- this ._leftTexture .addInterest ("set_leftTexture__", this);
95820
- this ._rightTexture .addInterest ("set_rightTexture__", this);
95821
- this ._topTexture .addInterest ("set_topTexture__", this);
95822
- this ._bottomTexture .addInterest ("set_bottomTexture__", this);
95846
+ this ._frontTexture .addInterest ("set_texture__", this, 0);
95847
+ this ._backTexture .addInterest ("set_texture__", this, 1);
95848
+ this ._leftTexture .addInterest ("set_texture__", this, 2);
95849
+ this ._rightTexture .addInterest ("set_texture__", this, 3);
95850
+ this ._topTexture .addInterest ("set_texture__", this, 4);
95851
+ this ._bottomTexture .addInterest ("set_texture__", this, 5);
95823
95852
 
95824
- this .set_frontTexture__ (this ._frontTexture);
95825
- this .set_backTexture__ (this ._backTexture);
95826
- this .set_leftTexture__ (this ._leftTexture);
95827
- this .set_rightTexture__ (this ._rightTexture);
95828
- this .set_topTexture__ (this ._topTexture);
95829
- this .set_bottomTexture__ (this ._bottomTexture);
95830
- },
95831
- set_frontTexture__: function ()
95832
- {
95833
- EnvironmentalEffects_X3DBackgroundNode.prototype.set_frontTexture__.call (this, Base_X3DCast (Base_X3DConstants.X3DTextureNode, this ._frontTexture));
95834
- },
95835
- set_backTexture__: function ()
95836
- {
95837
- EnvironmentalEffects_X3DBackgroundNode.prototype.set_backTexture__.call (this, Base_X3DCast (Base_X3DConstants.X3DTextureNode, this ._backTexture));
95838
- },
95839
- set_leftTexture__: function ()
95840
- {
95841
- EnvironmentalEffects_X3DBackgroundNode.prototype.set_leftTexture__.call (this, Base_X3DCast (Base_X3DConstants.X3DTextureNode, this ._leftTexture));
95842
- },
95843
- set_rightTexture__: function ()
95844
- {
95845
- EnvironmentalEffects_X3DBackgroundNode.prototype.set_rightTexture__.call (this, Base_X3DCast (Base_X3DConstants.X3DTextureNode, this ._rightTexture));
95853
+ this .set_texture__ (0, this ._frontTexture);
95854
+ this .set_texture__ (1, this ._backTexture);
95855
+ this .set_texture__ (2, this ._leftTexture);
95856
+ this .set_texture__ (3, this ._rightTexture);
95857
+ this .set_texture__ (4, this ._topTexture);
95858
+ this .set_texture__ (5, this ._bottomTexture);
95846
95859
  },
95847
- set_topTexture__: function ()
95860
+ set_texture__: function (index, textureNode)
95848
95861
  {
95849
- EnvironmentalEffects_X3DBackgroundNode.prototype.set_topTexture__.call (this, Base_X3DCast (Base_X3DConstants.X3DTextureNode, this ._topTexture));
95850
- },
95851
- set_bottomTexture__: function ()
95852
- {
95853
- EnvironmentalEffects_X3DBackgroundNode.prototype.set_bottomTexture__.call (this, Base_X3DCast (Base_X3DConstants.X3DTextureNode, this ._bottomTexture));
95862
+ EnvironmentalEffects_X3DBackgroundNode.prototype.set_texture__.call (this, Base_X3DCast (Base_X3DConstants.X3DTextureNode, textureNode), index);
95854
95863
  },
95855
95864
  });
95856
95865
 
@@ -112169,8 +112178,8 @@ Material .prototype = Object .assign (Object .create (Shape_X3DOneSidedMaterialN
112169
112178
 
112170
112179
  this .ambientTextureNode .setShaderUniforms (gl, shaderObject, renderObject, ambientTexture);
112171
112180
 
112172
- gl .uniform1i (ambientTexture .textureTransformMapping, textureTransformMapping .get (ambientTextureMapping) || 0);
112173
- gl .uniform1i (ambientTexture .textureCoordinateMapping, textureCoordinateMapping .get (ambientTextureMapping) || 0);
112181
+ gl .uniform1i (ambientTexture .textureTransformMapping, textureTransformMapping .get (ambientTextureMapping) ?? 0);
112182
+ gl .uniform1i (ambientTexture .textureCoordinateMapping, textureCoordinateMapping .get (ambientTextureMapping) ?? 0);
112174
112183
  }
112175
112184
 
112176
112185
  // Diffuse parameters
@@ -112183,8 +112192,8 @@ Material .prototype = Object .assign (Object .create (Shape_X3DOneSidedMaterialN
112183
112192
 
112184
112193
  this .diffuseTextureNode .setShaderUniforms (gl, shaderObject, renderObject, diffuseTexture);
112185
112194
 
112186
- gl .uniform1i (diffuseTexture .textureTransformMapping, textureTransformMapping .get (diffuseTextureMapping) || 0);
112187
- gl .uniform1i (diffuseTexture .textureCoordinateMapping, textureCoordinateMapping .get (diffuseTextureMapping) || 0);
112195
+ gl .uniform1i (diffuseTexture .textureTransformMapping, textureTransformMapping .get (diffuseTextureMapping) ?? 0);
112196
+ gl .uniform1i (diffuseTexture .textureCoordinateMapping, textureCoordinateMapping .get (diffuseTextureMapping) ?? 0);
112188
112197
  }
112189
112198
 
112190
112199
  // Specular parameters
@@ -112197,8 +112206,8 @@ Material .prototype = Object .assign (Object .create (Shape_X3DOneSidedMaterialN
112197
112206
 
112198
112207
  this .specularTextureNode .setShaderUniforms (gl, shaderObject, renderObject, specularTexture);
112199
112208
 
112200
- gl .uniform1i (specularTexture .textureTransformMapping, textureTransformMapping .get (specularTextureMapping) || 0);
112201
- gl .uniform1i (specularTexture .textureCoordinateMapping, textureCoordinateMapping .get (specularTextureMapping) || 0);
112209
+ gl .uniform1i (specularTexture .textureTransformMapping, textureTransformMapping .get (specularTextureMapping) ?? 0);
112210
+ gl .uniform1i (specularTexture .textureCoordinateMapping, textureCoordinateMapping .get (specularTextureMapping) ?? 0);
112202
112211
  }
112203
112212
 
112204
112213
  // Shininess parameters
@@ -112211,8 +112220,8 @@ Material .prototype = Object .assign (Object .create (Shape_X3DOneSidedMaterialN
112211
112220
 
112212
112221
  this .shininessTextureNode .setShaderUniforms (gl, shaderObject, renderObject, shininessTexture);
112213
112222
 
112214
- gl .uniform1i (shininessTexture .textureTransformMapping, textureTransformMapping .get (shininessTextureMapping) || 0);
112215
- gl .uniform1i (shininessTexture .textureCoordinateMapping, textureCoordinateMapping .get (shininessTextureMapping) || 0);
112223
+ gl .uniform1i (shininessTexture .textureTransformMapping, textureTransformMapping .get (shininessTextureMapping) ?? 0);
112224
+ gl .uniform1i (shininessTexture .textureCoordinateMapping, textureCoordinateMapping .get (shininessTextureMapping) ?? 0);
112216
112225
  }
112217
112226
 
112218
112227
  // Occlusion parameters
@@ -112227,8 +112236,8 @@ Material .prototype = Object .assign (Object .create (Shape_X3DOneSidedMaterialN
112227
112236
 
112228
112237
  this .occlusionTextureNode .setShaderUniforms (gl, shaderObject, renderObject, occlusionTexture);
112229
112238
 
112230
- gl .uniform1i (occlusionTexture .textureTransformMapping, textureTransformMapping .get (occlusionTextureMapping) || 0);
112231
- gl .uniform1i (occlusionTexture .textureCoordinateMapping, textureCoordinateMapping .get (occlusionTextureMapping) || 0);
112239
+ gl .uniform1i (occlusionTexture .textureTransformMapping, textureTransformMapping .get (occlusionTextureMapping) ?? 0);
112240
+ gl .uniform1i (occlusionTexture .textureCoordinateMapping, textureCoordinateMapping .get (occlusionTextureMapping) ?? 0);
112232
112241
  }
112233
112242
  }
112234
112243
  },
@@ -112517,8 +112526,8 @@ PhysicalMaterial .prototype = Object .assign (Object .create (Shape_X3DOneSidedM
112517
112526
 
112518
112527
  this .baseTextureNode .setShaderUniforms (gl, shaderObject, renderObject, baseTexture);
112519
112528
 
112520
- gl .uniform1i (baseTexture .textureTransformMapping, textureTransformMapping .get (baseTextureMapping) || 0);
112521
- gl .uniform1i (baseTexture .textureCoordinateMapping, textureCoordinateMapping .get (baseTextureMapping) || 0);
112529
+ gl .uniform1i (baseTexture .textureTransformMapping, textureTransformMapping .get (baseTextureMapping) ?? 0);
112530
+ gl .uniform1i (baseTexture .textureCoordinateMapping, textureCoordinateMapping .get (baseTextureMapping) ?? 0);
112522
112531
  }
112523
112532
 
112524
112533
  // Metallic roughness parameters
@@ -112531,8 +112540,8 @@ PhysicalMaterial .prototype = Object .assign (Object .create (Shape_X3DOneSidedM
112531
112540
 
112532
112541
  this .metallicRoughnessTextureNode .setShaderUniforms (gl, shaderObject, renderObject, metallicRoughnessTexture);
112533
112542
 
112534
- gl .uniform1i (metallicRoughnessTexture .textureTransformMapping, textureTransformMapping .get (metallicRoughnessTextureMapping) || 0);
112535
- gl .uniform1i (metallicRoughnessTexture .textureCoordinateMapping, textureCoordinateMapping .get (metallicRoughnessTextureMapping) || 0);
112543
+ gl .uniform1i (metallicRoughnessTexture .textureTransformMapping, textureTransformMapping .get (metallicRoughnessTextureMapping) ?? 0);
112544
+ gl .uniform1i (metallicRoughnessTexture .textureCoordinateMapping, textureCoordinateMapping .get (metallicRoughnessTextureMapping) ?? 0);
112536
112545
  }
112537
112546
 
112538
112547
  // Occlusion parameters
@@ -112547,8 +112556,8 @@ PhysicalMaterial .prototype = Object .assign (Object .create (Shape_X3DOneSidedM
112547
112556
 
112548
112557
  this .occlusionTextureNode .setShaderUniforms (gl, shaderObject, renderObject, occlusionTexture);
112549
112558
 
112550
- gl .uniform1i (occlusionTexture .textureTransformMapping, textureTransformMapping .get (occlusionTextureMapping) || 0);
112551
- gl .uniform1i (occlusionTexture .textureCoordinateMapping, textureCoordinateMapping .get (occlusionTextureMapping) || 0);
112559
+ gl .uniform1i (occlusionTexture .textureTransformMapping, textureTransformMapping .get (occlusionTextureMapping) ?? 0);
112560
+ gl .uniform1i (occlusionTexture .textureCoordinateMapping, textureCoordinateMapping .get (occlusionTextureMapping) ?? 0);
112552
112561
  }
112553
112562
  }
112554
112563
  },
@@ -112996,12 +113005,15 @@ x_ite_Namespace.set ("x_ite/Components/Shape", Components_Shape_default_);
112996
113005
 
112997
113006
 
112998
113007
 
113008
+
112999
113009
  function X3DSoundProcessingNode (executionContext)
113000
113010
  {
113001
113011
  Core_X3DChildNode.call (this, executionContext);
113002
113012
  Time_X3DTimeDependentNode.call (this, executionContext);
113003
113013
 
113004
113014
  this .addType (Base_X3DConstants.X3DSoundProcessingNode);
113015
+
113016
+ this .addChildObjects ("loop", new x_ite_Fields.SFBool ());
113005
113017
  }
113006
113018
 
113007
113019
  X3DSoundProcessingNode .prototype = Object .assign (Object .create (Core_X3DChildNode.prototype),
@@ -113359,7 +113371,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
113359
113371
  x_ite_Namespace.set ("x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
113360
113372
  /* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
113361
113373
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
113362
- /* provided dependency */ var AudioClip_$ = __webpack_require__(184);
113374
+ /* provided dependency */ var AudioClip_$ = __webpack_require__(970);
113363
113375
  /*******************************************************************************
113364
113376
  *
113365
113377
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114929,7 +114941,8 @@ function ListenerPointSource (executionContext)
114929
114941
 
114930
114942
  this .addType (Base_X3DConstants.ListenerPointSource);
114931
114943
 
114932
- this .addChildObjects ("speed", new x_ite_Fields.SFFloat (1));
114944
+ this .addChildObjects ("loop", new x_ite_Fields.SFBool (),
114945
+ "speed", new x_ite_Fields.SFFloat (1));
114933
114946
 
114934
114947
  this ._position .setUnit ("length");
114935
114948
  }
@@ -115040,7 +115053,8 @@ function MicrophoneSource (executionContext)
115040
115053
 
115041
115054
  this .addType (Base_X3DConstants.MicrophoneSource);
115042
115055
 
115043
- this .addChildObjects ("speed", new x_ite_Fields.SFFloat (1));
115056
+ this .addChildObjects ("loop", new x_ite_Fields.SFBool (),
115057
+ "speed", new x_ite_Fields.SFFloat (1));
115044
115058
  }
115045
115059
 
115046
115060
  MicrophoneSource .prototype = Object .assign (Object .create (Sound_X3DSoundSourceNode.prototype),
@@ -115145,7 +115159,8 @@ function OscillatorSource (executionContext)
115145
115159
 
115146
115160
  this .addType (Base_X3DConstants.OscillatorSource);
115147
115161
 
115148
- this .addChildObjects ("speed", new x_ite_Fields.SFFloat (1));
115162
+ this .addChildObjects ("loop", new x_ite_Fields.SFBool (),
115163
+ "speed", new x_ite_Fields.SFFloat (1));
115149
115164
  }
115150
115165
 
115151
115166
  OscillatorSource .prototype = Object .assign (Object .create (Sound_X3DSoundSourceNode.prototype),
@@ -115858,7 +115873,8 @@ function StreamAudioSource (executionContext)
115858
115873
 
115859
115874
  this .addType (Base_X3DConstants.StreamAudioSource);
115860
115875
 
115861
- this .addChildObjects ("speed", new x_ite_Fields.SFFloat (1));
115876
+ this .addChildObjects ("loop", new x_ite_Fields.SFBool (),
115877
+ "speed", new x_ite_Fields.SFFloat (1));
115862
115878
  }
115863
115879
 
115864
115880
  StreamAudioSource .prototype = Object .assign (Object .create (Sound_X3DSoundSourceNode.prototype),
@@ -116254,8 +116270,8 @@ const GIFMedia_default_ = GifMedia;
116254
116270
  x_ite_Namespace.set ("x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
116255
116271
  /* harmony default export */ const GIFMedia = (GIFMedia_default_);
116256
116272
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
116257
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(184);
116258
- /* provided dependency */ var SuperGif = __webpack_require__(872);
116273
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(970);
116274
+ /* provided dependency */ var SuperGif = __webpack_require__(552);
116259
116275
  /*******************************************************************************
116260
116276
  *
116261
116277
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117218,7 +117234,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
117218
117234
  x_ite_Namespace.set ("x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
117219
117235
  /* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
117220
117236
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
117221
- /* provided dependency */ var PixelTexture_$ = __webpack_require__(184);
117237
+ /* provided dependency */ var PixelTexture_$ = __webpack_require__(970);
117222
117238
  /*******************************************************************************
117223
117239
  *
117224
117240
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117929,7 +117945,7 @@ const Components_default_ = Components;
117929
117945
  x_ite_Namespace.set ("x_ite/Components", Components_default_);
117930
117946
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
117931
117947
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
117932
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(184);
117948
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(970);
117933
117949
  /*******************************************************************************
117934
117950
  * MIT License
117935
117951
  *
@@ -118387,7 +118403,7 @@ function legacy ()
118387
118403
  this .attributeChangedCallback ("url", undefined, element .attr ("url"));
118388
118404
 
118389
118405
  // Make element focusable.
118390
- element .attr ("tabindex", element .attr ("tabindex") || 0);
118406
+ element .attr ("tabindex", element .attr ("tabindex") ?? 0);
118391
118407
  }
118392
118408
 
118393
118409
  const Legacy_default_ = legacy;
@@ -119170,7 +119186,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
119170
119186
  x_ite_Namespace.set ("x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
119171
119187
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
119172
119188
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
119173
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(184);
119189
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(970);
119174
119190
  /*******************************************************************************
119175
119191
  *
119176
119192
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119298,31 +119314,36 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119298
119314
 
119299
119315
  // Print welcome message.
119300
119316
 
119301
- if (this .getInstanceId () > 1) return;
119302
-
119303
- X3DBrowser_$(() =>
119304
- {
119305
- this .print ("Welcome to " + this .name + " X3D Browser v" + this .version + ":\n" +
119306
- " Current Graphics Renderer\n" +
119307
- " Name: " + this .getVendor () + " " + this .getRenderer () + "\n" +
119308
- " WebGL version: " + this .getWebGLVersion () + "\n" +
119309
- " Shading language: " + this .getShadingLanguageVersion () + "\n" +
119310
- " Rendering Properties\n" +
119311
- " Antialiased: " + this .getAntialiased () + "\n" +
119312
- " Max samples: " + this .getMaxSamples () + "\n" +
119313
- " Depth size: " + this .getDepthSize () + " bits\n" +
119314
- " Color depth: " + this .getColorDepth () + " bits\n" +
119315
- " Max clip planes per shape: " + this .getMaxClipPlanes () + "\n" +
119316
- " Max lights per shape: " + this .getMaxLights () + "\n" +
119317
- " Max multi textures per shape: " + this .getMaxTextures () + "\n" +
119318
- " Texture units: " + this .getMaxCombinedTextureUnits () + "\n" +
119319
- " Max texture size: " + this .getMaxTextureSize () + " × " + this .getMaxTextureSize () + " pixels\n" +
119320
- " Texture memory: " + this .getTextureMemory () + "\n" +
119321
- " Max vertex uniform vectors: " + this .getMaxVertexUniformVectors () + "\n" +
119322
- " Max fragment uniform vectors: " + this .getMaxFragmentUniformVectors () + "\n" +
119323
- " Max vertex attribs: " + this .getMaxVertexAttribs () + "\n" +
119324
- " Max varying vectors: " + this .getMaxVaryingVectors () + "\n");
119325
- });
119317
+ if (this .getInstanceId () > 1)
119318
+ return;
119319
+
119320
+ if (!this .getBrowserOption ("Debug"))
119321
+ return;
119322
+
119323
+ this .printWelcomeMessage ();
119324
+ },
119325
+ printWelcomeMessage: function ()
119326
+ {
119327
+ this .print ("Welcome to " + this .name + " X3D Browser v" + this .version + ":\n" +
119328
+ " Current Graphics Renderer\n" +
119329
+ " Name: " + this .getVendor () + " " + this .getRenderer () + "\n" +
119330
+ " WebGL version: " + this .getWebGLVersion () + "\n" +
119331
+ " Shading language: " + this .getShadingLanguageVersion () + "\n" +
119332
+ " Rendering Properties\n" +
119333
+ " Antialiased: " + this .getAntialiased () + "\n" +
119334
+ " Max samples: " + this .getMaxSamples () + "\n" +
119335
+ " Depth size: " + this .getDepthSize () + " bits\n" +
119336
+ " Color depth: " + this .getColorDepth () + " bits\n" +
119337
+ " Max clip planes per shape: " + this .getMaxClipPlanes () + "\n" +
119338
+ " Max lights per shape: " + this .getMaxLights () + "\n" +
119339
+ " Max multi textures per shape: " + this .getMaxTextures () + "\n" +
119340
+ " Texture units: " + this .getMaxCombinedTextureUnits () + "\n" +
119341
+ " Max texture size: " + this .getMaxTextureSize () + " × " + this .getMaxTextureSize () + " pixels\n" +
119342
+ " Texture memory: " + this .getTextureMemory () + "\n" +
119343
+ " Max vertex uniform vectors: " + this .getMaxVertexUniformVectors () + "\n" +
119344
+ " Max fragment uniform vectors: " + this .getMaxFragmentUniformVectors () + "\n" +
119345
+ " Max vertex attribs: " + this .getMaxVertexAttribs () + "\n" +
119346
+ " Max varying vectors: " + this .getMaxVaryingVectors () + "\n");
119326
119347
  },
119327
119348
  getName: function ()
119328
119349
  {
@@ -119531,17 +119552,36 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119531
119552
  },
119532
119553
  createVrmlFromString: function (vrmlSyntax)
119533
119554
  {
119534
- return this .createX3DFromString (vrmlSyntax) .rootNodes;
119555
+ vrmlSyntax = String (vrmlSyntax);
119556
+
119557
+ const
119558
+ currentScene = this .currentScene,
119559
+ external = this .isExternal (),
119560
+ fileLoader = new InputOutput_FileLoader (this .getWorld ()),
119561
+ scene = fileLoader .createX3DFromString (currentScene .getWorldURL (), vrmlSyntax);
119562
+
119563
+ if (!external)
119564
+ {
119565
+ currentScene .getLive () .addInterest ("setLive", scene);
119566
+ scene .setExecutionContext (currentScene);
119567
+ scene .setLive (currentScene .isLive ());
119568
+ }
119569
+
119570
+ return scene .rootNodes;
119535
119571
  },
119536
- createX3DFromString: function (x3dSyntax)
119572
+ createX3DFromString: async function (x3dSyntax)
119537
119573
  {
119538
119574
  x3dSyntax = String (x3dSyntax);
119539
119575
 
119540
119576
  const
119541
119577
  currentScene = this .currentScene,
119542
119578
  external = this .isExternal (),
119543
- fileLoader = new InputOutput_FileLoader (this .getWorld ()),
119544
- scene = fileLoader .createX3DFromString (currentScene .getWorldURL (), x3dSyntax);
119579
+ fileLoader = new InputOutput_FileLoader (this .getWorld ());
119580
+
119581
+ const scene = await new Promise ((resolve, reject) =>
119582
+ {
119583
+ fileLoader .createX3DFromString (currentScene .getWorldURL (), x3dSyntax, resolve, reject);
119584
+ });
119545
119585
 
119546
119586
  if (!external)
119547
119587
  {
@@ -120077,7 +120117,7 @@ const X3DBrowser_default_ = X3DBrowser;
120077
120117
  x_ite_Namespace.set ("x_ite/Browser/X3DBrowser", X3DBrowser_default_);
120078
120118
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
120079
120119
  ;// CONCATENATED MODULE: ./src/x_ite/Fallback.js
120080
- /* provided dependency */ var Fallback_$ = __webpack_require__(184);
120120
+ /* provided dependency */ var Fallback_$ = __webpack_require__(970);
120081
120121
  /*******************************************************************************
120082
120122
  *
120083
120123
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120256,8 +120296,8 @@ const MicroTime_default_ = undefined;
120256
120296
  x_ite_Namespace.set ("standard/Time/MicroTime", MicroTime_default_);
120257
120297
  /* harmony default export */ const MicroTime = ((/* unused pure expression or super */ null && (MicroTime_default_)));
120258
120298
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
120259
- /* provided dependency */ var jquery_$ = __webpack_require__(184);
120260
- /* provided dependency */ var pako = __webpack_require__(629);
120299
+ /* provided dependency */ var jquery_$ = __webpack_require__(970);
120300
+ /* provided dependency */ var pako = __webpack_require__(521);
120261
120301
  jquery_$.decodeText = function (input)
120262
120302
  {
120263
120303
  if (typeof input === "string")
@@ -120289,14 +120329,14 @@ const jquery_default_ = jquery_$;
120289
120329
  x_ite_Namespace.set ("lib/jquery", jquery_default_);
120290
120330
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
120291
120331
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
120292
- /* provided dependency */ var libtess_libtess = __webpack_require__(721);
120332
+ /* provided dependency */ var libtess_libtess = __webpack_require__(323);
120293
120333
  const libtess_default_ = libtess_libtess;
120294
120334
  ;
120295
120335
 
120296
120336
  x_ite_Namespace.set ("lib/libtess", libtess_default_);
120297
120337
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
120298
120338
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
120299
- /* provided dependency */ var X3D_$ = __webpack_require__(184);
120339
+ /* provided dependency */ var X3D_$ = __webpack_require__(970);
120300
120340
  /*******************************************************************************
120301
120341
  *
120302
120342
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120552,7 +120592,7 @@ const X3D_default_ = X3D;
120552
120592
  x_ite_Namespace.set ("x_ite/X3D", X3D_default_);
120553
120593
  /* harmony default export */ const x_ite_X3D = (X3D_default_);
120554
120594
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
120555
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(184);
120595
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(970);
120556
120596
  /*******************************************************************************
120557
120597
  *
120558
120598
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120631,10 +120671,7 @@ class X3DCanvasElement extends HTMLElement
120631
120671
 
120632
120672
  shadow .appendChild (link);
120633
120673
 
120634
- Object .defineProperty (this, "browser",
120635
- {
120636
- value: new Browser_X3DBrowser (this),
120637
- })
120674
+ new Browser_X3DBrowser (this)
120638
120675
  }
120639
120676
 
120640
120677
  connectedCallback ()
@@ -120656,6 +120693,9 @@ class X3DCanvasElement extends HTMLElement
120656
120693
  "debug",
120657
120694
  "multisampling",
120658
120695
  "notifications",
120696
+ "onerror",
120697
+ "oninitialized",
120698
+ "onshutdown",
120659
120699
  "splashScreen",
120660
120700
  "splashscreen",
120661
120701
  "src",
@@ -120833,7 +120873,7 @@ x_ite_Namespace.set ("shim", shim_default_);
120833
120873
 
120834
120874
  // Assign X3D to global namespace.
120835
120875
 
120836
- window [Symbol .for ("X_ITE.X3D-8.6.24")] = x_ite_X3D;
120876
+ window [Symbol .for ("X_ITE.X3D-8.7.1")] = x_ite_X3D;
120837
120877
 
120838
120878
  x_ite_X3DCanvasElement.define ();
120839
120879