x_ite 8.11.12 → 8.11.13

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 (45) hide show
  1. package/dist/assets/components/Annotation.js +13 -13
  2. package/dist/assets/components/Annotation.min.js +1 -1
  3. package/dist/assets/components/CADGeometry.js +13 -13
  4. package/dist/assets/components/CADGeometry.min.js +1 -1
  5. package/dist/assets/components/CubeMapTexturing.js +38 -45
  6. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  7. package/dist/assets/components/DIS.js +13 -13
  8. package/dist/assets/components/DIS.min.js +1 -1
  9. package/dist/assets/components/EventUtilities.js +9 -9
  10. package/dist/assets/components/EventUtilities.min.js +1 -1
  11. package/dist/assets/components/Geometry2D.js +19 -19
  12. package/dist/assets/components/Geometry2D.min.js +1 -1
  13. package/dist/assets/components/Geospatial.js +33 -33
  14. package/dist/assets/components/Geospatial.min.js +1 -1
  15. package/dist/assets/components/HAnim.js +23 -23
  16. package/dist/assets/components/HAnim.min.js +1 -1
  17. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  18. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  19. package/dist/assets/components/Layout.js +26 -26
  20. package/dist/assets/components/Layout.min.js +1 -1
  21. package/dist/assets/components/NURBS.js +24 -24
  22. package/dist/assets/components/NURBS.min.js +1 -1
  23. package/dist/assets/components/ParticleSystems.js +23 -23
  24. package/dist/assets/components/ParticleSystems.min.js +1 -1
  25. package/dist/assets/components/Picking.js +18 -18
  26. package/dist/assets/components/Picking.min.js +1 -1
  27. package/dist/assets/components/RigidBodyPhysics.js +17 -17
  28. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  29. package/dist/assets/components/Scripting.js +37 -37
  30. package/dist/assets/components/Scripting.min.js +1 -1
  31. package/dist/assets/components/Text.js +35 -42
  32. package/dist/assets/components/Text.min.js +1 -1
  33. package/dist/assets/components/TextureProjector.js +14 -14
  34. package/dist/assets/components/TextureProjector.min.js +1 -1
  35. package/dist/assets/components/Texturing3D.js +43 -50
  36. package/dist/assets/components/Texturing3D.min.js +1 -1
  37. package/dist/assets/components/VolumeRendering.js +18 -18
  38. package/dist/assets/components/VolumeRendering.min.js +1 -1
  39. package/dist/assets/components/X_ITE.js +9 -9
  40. package/dist/assets/components/X_ITE.min.js +1 -1
  41. package/dist/x_ite.css +1 -1
  42. package/dist/x_ite.js +115 -132
  43. package/dist/x_ite.min.js +1 -1
  44. package/dist/x_ite.zip +0 -0
  45. package/package.json +1 -1
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.11.12 */(function webpackUniversalModuleDefinition(root, factory) {
1
+ /* X_ITE v8.11.13 */(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
- /***/ 833:
14
+ /***/ 954:
15
15
  /***/ (function(module, exports, __webpack_require__) {
16
16
 
17
17
  "use strict";
18
- /* provided dependency */ var jQuery = __webpack_require__(993);
18
+ /* provided dependency */ var jQuery = __webpack_require__(826);
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
- /***/ 464:
390
+ /***/ 329:
391
391
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
392
392
 
393
- /* provided dependency */ var jQuery = __webpack_require__(993);
393
+ /* provided dependency */ var jQuery = __webpack_require__(826);
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
- /***/ 218:
589
+ /***/ 900:
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__(993)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
603
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(826)], __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
- /***/ 993:
814
+ /***/ 826:
815
815
  /***/ (function(module, exports) {
816
816
 
817
817
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11523,7 +11523,7 @@ return jQuery;
11523
11523
 
11524
11524
  /***/ }),
11525
11525
 
11526
- /***/ 29:
11526
+ /***/ 239:
11527
11527
  /***/ ((module) => {
11528
11528
 
11529
11529
  /**
@@ -16302,7 +16302,7 @@ if (true) {
16302
16302
 
16303
16303
  /***/ }),
16304
16304
 
16305
- /***/ 737:
16305
+ /***/ 348:
16306
16306
  /***/ (function(__unused_webpack_module, exports) {
16307
16307
 
16308
16308
 
@@ -19547,7 +19547,7 @@ if (true) {
19547
19547
 
19548
19548
  /***/ }),
19549
19549
 
19550
- /***/ 435:
19550
+ /***/ 612:
19551
19551
  /***/ (function(module, exports) {
19552
19552
 
19553
19553
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -34481,7 +34481,7 @@ x_ite_Namespace .set ("x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34481
34481
  *
34482
34482
  ******************************************************************************/
34483
34483
 
34484
- const VERSION_default_ = "8.11.12";
34484
+ const VERSION_default_ = "8.11.13";
34485
34485
  ;
34486
34486
 
34487
34487
  x_ite_Namespace .set ("x_ite/Browser/VERSION", VERSION_default_);
@@ -38271,7 +38271,7 @@ const X3DProtoDeclarationNode_default_ = X3DProtoDeclarationNode;
38271
38271
  x_ite_Namespace .set ("x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarationNode_default_);
38272
38272
  /* harmony default export */ const Prototype_X3DProtoDeclarationNode = (X3DProtoDeclarationNode_default_);
38273
38273
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
38274
- /* provided dependency */ var $ = __webpack_require__(993);
38274
+ /* provided dependency */ var $ = __webpack_require__(826);
38275
38275
  /*******************************************************************************
38276
38276
  *
38277
38277
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39095,7 +39095,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39095
39095
  x_ite_Namespace .set ("x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
39096
39096
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
39097
39097
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39098
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(993);
39098
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(826);
39099
39099
  /*******************************************************************************
39100
39100
  *
39101
39101
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -41649,7 +41649,7 @@ const VRMLParser_default_ = VRMLParser;
41649
41649
  x_ite_Namespace .set ("x_ite/Parser/VRMLParser", VRMLParser_default_);
41650
41650
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41651
41651
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41652
- /* provided dependency */ var XMLParser_$ = __webpack_require__(993);
41652
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(826);
41653
41653
  /*******************************************************************************
41654
41654
  *
41655
41655
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43660,7 +43660,7 @@ const URLs_default_ = URLs;
43660
43660
  x_ite_Namespace .set ("x_ite/Browser/Networking/URLs", URLs_default_);
43661
43661
  /* harmony default export */ const Networking_URLs = (URLs_default_);
43662
43662
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
43663
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(993);
43663
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(826);
43664
43664
  /*******************************************************************************
43665
43665
  *
43666
43666
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -46681,7 +46681,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
46681
46681
  x_ite_Namespace .set ("x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
46682
46682
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
46683
46683
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
46684
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(993);
46684
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(826);
46685
46685
  /*******************************************************************************
46686
46686
  *
46687
46687
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -46833,7 +46833,7 @@ const GLB2Parser_default_ = GLB2Parser;
46833
46833
  x_ite_Namespace .set ("x_ite/Parser/GLB2Parser", GLB2Parser_default_);
46834
46834
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
46835
46835
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
46836
- /* provided dependency */ var OBJParser_$ = __webpack_require__(993);
46836
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(826);
46837
46837
  /*******************************************************************************
46838
46838
  *
46839
46839
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50188,8 +50188,8 @@ const MatrixStack_default_ = MatrixStack;
50188
50188
  x_ite_Namespace .set ("standard/Math/Utility/MatrixStack", MatrixStack_default_);
50189
50189
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50190
50190
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50191
- /* provided dependency */ var SVGParser_$ = __webpack_require__(993);
50192
- /* provided dependency */ var libtess = __webpack_require__(29);
50191
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(826);
50192
+ /* provided dependency */ var libtess = __webpack_require__(239);
50193
50193
  /*******************************************************************************
50194
50194
  *
50195
50195
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -52957,7 +52957,7 @@ const SVGParser_default_ = SVGParser;
52957
52957
  x_ite_Namespace .set ("x_ite/Parser/SVGParser", SVGParser_default_);
52958
52958
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
52959
52959
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
52960
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(993);
52960
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(826);
52961
52961
  /*******************************************************************************
52962
52962
  *
52963
52963
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53294,7 +53294,7 @@ const Plane3_default_ = Plane3;
53294
53294
  x_ite_Namespace .set ("standard/Math/Geometry/Plane3", Plane3_default_);
53295
53295
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53296
53296
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53297
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(29);
53297
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(239);
53298
53298
  /*******************************************************************************
53299
53299
  *
53300
53300
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -60669,7 +60669,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
60669
60669
  x_ite_Namespace .set ("x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
60670
60670
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
60671
60671
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
60672
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(993);
60672
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(826);
60673
60673
  /*******************************************************************************
60674
60674
  *
60675
60675
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -60766,35 +60766,28 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
60766
60766
  },
60767
60767
  loadNext ()
60768
60768
  {
60769
- try
60769
+ if (this .urlStack .length === 0)
60770
60770
  {
60771
- if (this .urlStack .length === 0)
60772
- {
60773
- this .clearTexture ();
60774
- this .setLoadState (Base_X3DConstants .FAILED_STATE);
60775
- return;
60776
- }
60777
-
60778
- // Get URL.
60771
+ this .clearTexture ();
60772
+ this .setLoadState (Base_X3DConstants .FAILED_STATE);
60773
+ return;
60774
+ }
60779
60775
 
60780
- this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
60776
+ // Get URL.
60781
60777
 
60782
- if (this .URL .protocol !== "data:")
60783
- {
60784
- if (!this .getCache ())
60785
- this .URL .searchParams .set ("_", Date .now ());
60786
- }
60778
+ this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
60787
60779
 
60788
- this .image .attr ("src", this .URL .href);
60789
- }
60790
- catch (error)
60780
+ if (this .URL .protocol !== "data:")
60791
60781
  {
60792
- this .setError ({ type: error .message });
60782
+ if (!this .getCache ())
60783
+ this .URL .searchParams .set ("_", Date .now ());
60793
60784
  }
60785
+
60786
+ this .image .attr ("src", this .URL .href);
60794
60787
  },
60795
60788
  setError (event)
60796
60789
  {
60797
- if (this .URL ?.protocol !== "data:")
60790
+ if (this .URL .protocol !== "data:")
60798
60791
  console .warn (`Error loading image '${decodeURI (this .URL ?.href)}'`, event .type);
60799
60792
 
60800
60793
  this .loadNext ();
@@ -65218,7 +65211,7 @@ const X3DWorld_default_ = X3DWorld;
65218
65211
  x_ite_Namespace .set ("x_ite/Execution/X3DWorld", X3DWorld_default_);
65219
65212
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
65220
65213
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
65221
- /* provided dependency */ var FileLoader_$ = __webpack_require__(993);
65214
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(826);
65222
65215
  /*******************************************************************************
65223
65216
  *
65224
65217
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66676,6 +66669,10 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
66676
66669
  {
66677
66670
  return this .getExecutionContext () .getWorldURL ();
66678
66671
  },
66672
+ getBaseURL ()
66673
+ {
66674
+ return this .getExecutionContext () .getBaseURL ();
66675
+ },
66679
66676
  getProfile ()
66680
66677
  {
66681
66678
  return this .getExecutionContext () .getProfile ();
@@ -88826,7 +88823,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
88826
88823
  x_ite_Namespace .set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
88827
88824
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
88828
88825
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
88829
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(993);
88826
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(826);
88830
88827
  /*******************************************************************************
88831
88828
  *
88832
88829
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -94213,7 +94210,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
94213
94210
  x_ite_Namespace .set ("x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
94214
94211
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
94215
94212
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
94216
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(993);
94213
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(826);
94217
94214
  /*******************************************************************************
94218
94215
  *
94219
94216
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -94870,7 +94867,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
94870
94867
  x_ite_Namespace .set ("x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
94871
94868
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
94872
94869
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
94873
- /* provided dependency */ var Appearance_$ = __webpack_require__(993);
94870
+ /* provided dependency */ var Appearance_$ = __webpack_require__(826);
94874
94871
  /*******************************************************************************
94875
94872
  *
94876
94873
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -98599,7 +98596,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
98599
98596
  x_ite_Namespace .set ("x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
98600
98597
  /* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
98601
98598
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
98602
- /* provided dependency */ var AudioClip_$ = __webpack_require__(993);
98599
+ /* provided dependency */ var AudioClip_$ = __webpack_require__(826);
98603
98600
  /*******************************************************************************
98604
98601
  *
98605
98602
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -98707,33 +98704,26 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
98707
98704
  },
98708
98705
  loadNext ()
98709
98706
  {
98710
- try
98707
+ if (this .urlStack .length === 0)
98711
98708
  {
98712
- if (this .urlStack .length === 0)
98713
- {
98714
- this .audio .off ("canplaythrough");
98715
- this ._duration_changed = -1;
98716
- this .setLoadState (Base_X3DConstants .FAILED_STATE);
98717
- return;
98718
- }
98709
+ this .audio .off ("canplaythrough");
98710
+ this ._duration_changed = -1;
98711
+ this .setLoadState (Base_X3DConstants .FAILED_STATE);
98712
+ return;
98713
+ }
98719
98714
 
98720
- // Get URL.
98715
+ // Get URL.
98721
98716
 
98722
- this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
98717
+ this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
98723
98718
 
98724
- if (this .URL .protocol !== "data:")
98725
- {
98726
- if (!this .getCache ())
98727
- this .URL .searchParams .set ("_", Date .now ());
98728
- }
98729
-
98730
- this .audio .attr ("src", this .URL .href);
98731
- this .audio .get (0) .load ();
98732
- }
98733
- catch (error)
98719
+ if (this .URL .protocol !== "data:")
98734
98720
  {
98735
- this .setError ({ type: error .message });
98721
+ if (!this .getCache ())
98722
+ this .URL .searchParams .set ("_", Date .now ());
98736
98723
  }
98724
+
98725
+ this .audio .attr ("src", this .URL .href);
98726
+ this .audio .get (0) .load ();
98737
98727
  },
98738
98728
  setTimeout (event)
98739
98729
  {
@@ -98746,7 +98736,7 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
98746
98736
  },
98747
98737
  setError (event)
98748
98738
  {
98749
- if (this .URL ?.protocol !== "data:")
98739
+ if (this .URL .protocol !== "data:")
98750
98740
  console .warn (`Error loading audio '${decodeURI (this .URL ?.href)}'`, event .type);
98751
98741
 
98752
98742
  this .loadNext ();
@@ -101717,8 +101707,8 @@ const GIFMedia_default_ = GifMedia;
101717
101707
  x_ite_Namespace .set ("x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
101718
101708
  /* harmony default export */ const GIFMedia = (GIFMedia_default_);
101719
101709
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
101720
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(993);
101721
- /* provided dependency */ var SuperGif = __webpack_require__(435);
101710
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(826);
101711
+ /* provided dependency */ var SuperGif = __webpack_require__(612);
101722
101712
  /*******************************************************************************
101723
101713
  *
101724
101714
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -101831,46 +101821,39 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
101831
101821
  },
101832
101822
  loadNext ()
101833
101823
  {
101834
- try
101824
+ if (this .urlStack .length === 0)
101835
101825
  {
101836
- if (this .urlStack .length === 0)
101837
- {
101838
- this .video .off ("canplaythrough");
101839
- this ._duration_changed = -1;
101840
- this .clearTexture ();
101841
- this .setLoadState (Base_X3DConstants .FAILED_STATE);
101842
- return;
101843
- }
101826
+ this .video .off ("canplaythrough");
101827
+ this ._duration_changed = -1;
101828
+ this .clearTexture ();
101829
+ this .setLoadState (Base_X3DConstants .FAILED_STATE);
101830
+ return;
101831
+ }
101844
101832
 
101845
- // Get URL.
101833
+ // Get URL.
101846
101834
 
101847
- this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
101835
+ this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
101848
101836
 
101849
- if (this .URL .protocol !== "data:")
101850
- {
101851
- if (!this .getCache ())
101852
- this .URL .searchParams .set ("_", Date .now ());
101853
- }
101837
+ if (this .URL .protocol !== "data:")
101838
+ {
101839
+ if (!this .getCache ())
101840
+ this .URL .searchParams .set ("_", Date .now ());
101841
+ }
101854
101842
 
101855
- if (this .URL .pathname .endsWith (".gif"))
101856
- {
101857
- const
101858
- img = MovieTexture_$("<img></img>") .appendTo (MovieTexture_$("<div></div>")),
101859
- gif = new SuperGif ({ gif: img [0], on_error: type => this .setError ({ type: type }) });
101843
+ if (this .URL .pathname .endsWith (".gif"))
101844
+ {
101845
+ const
101846
+ img = MovieTexture_$("<img></img>") .appendTo (MovieTexture_$("<div></div>")),
101847
+ gif = new SuperGif ({ gif: img [0], on_error: type => this .setError ({ type: type }) });
101860
101848
 
101861
- gif .load_url (this .URL, this .setGif .bind (this, gif));
101849
+ gif .load_url (this .URL, this .setGif .bind (this, gif));
101862
101850
 
101863
- this .setTimeout ({ type: "timeout" });
101864
- }
101865
- else
101866
- {
101867
- this .video .attr ("src", this .URL .href);
101868
- this .video .get (0) .load ();
101869
- }
101851
+ this .setTimeout ({ type: "timeout" });
101870
101852
  }
101871
- catch (error)
101853
+ else
101872
101854
  {
101873
- this .setError ({ type: error .message });
101855
+ this .video .attr ("src", this .URL .href);
101856
+ this .video .get (0) .load ();
101874
101857
  }
101875
101858
  },
101876
101859
  setTimeout (event)
@@ -101884,7 +101867,7 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
101884
101867
  },
101885
101868
  setError (event)
101886
101869
  {
101887
- if (this .URL ?.protocol !== "data:")
101870
+ if (this .URL .protocol !== "data:")
101888
101871
  console .warn (`Error loading movie '${decodeURI (this .URL ?.href)}'`, event .type);
101889
101872
 
101890
101873
  this .loadNext ();
@@ -102883,7 +102866,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
102883
102866
  x_ite_Namespace .set ("x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
102884
102867
  /* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
102885
102868
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
102886
- /* provided dependency */ var PixelTexture_$ = __webpack_require__(993);
102869
+ /* provided dependency */ var PixelTexture_$ = __webpack_require__(826);
102887
102870
  /*******************************************************************************
102888
102871
  *
102889
102872
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105046,7 +105029,7 @@ const gettext_default_ = gettext;
105046
105029
  x_ite_Namespace .set ("locale/gettext", gettext_default_);
105047
105030
  /* harmony default export */ const locale_gettext = (gettext_default_);
105048
105031
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
105049
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(993);
105032
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(826);
105050
105033
  /*******************************************************************************
105051
105034
  *
105052
105035
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105476,7 +105459,7 @@ const TextureQuality_default_ = TextureQuality;
105476
105459
  x_ite_Namespace .set ("x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
105477
105460
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
105478
105461
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
105479
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(993);
105462
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(826);
105480
105463
  /*******************************************************************************
105481
105464
  *
105482
105465
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -106068,7 +106051,7 @@ const RenderingProperties_default_ = RenderingProperties;
106068
106051
  x_ite_Namespace .set ("x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
106069
106052
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
106070
106053
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
106071
- /* provided dependency */ var Notification_$ = __webpack_require__(993);
106054
+ /* provided dependency */ var Notification_$ = __webpack_require__(826);
106072
106055
  /*******************************************************************************
106073
106056
  *
106074
106057
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -106191,8 +106174,8 @@ const Notification_default_ = Notification;
106191
106174
  x_ite_Namespace .set ("x_ite/Browser/Core/Notification", Notification_default_);
106192
106175
  /* harmony default export */ const Core_Notification = (Notification_default_);
106193
106176
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
106194
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(464);
106195
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(993);
106177
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(329);
106178
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(826);
106196
106179
  /*******************************************************************************
106197
106180
  *
106198
106181
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108927,7 +108910,7 @@ const DataStorage_default_ = DataStorage;
108927
108910
  x_ite_Namespace .set ("standard/Utility/DataStorage", DataStorage_default_);
108928
108911
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
108929
108912
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
108930
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(993);
108913
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(826);
108931
108914
  /*******************************************************************************
108932
108915
  *
108933
108916
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110960,8 +110943,8 @@ const X3DViewer_default_ = X3DViewer;
110960
110943
  x_ite_Namespace .set ("x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
110961
110944
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
110962
110945
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
110963
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(218);
110964
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(993);
110946
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(900);
110947
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(826);
110965
110948
  /*******************************************************************************
110966
110949
  *
110967
110950
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -111833,8 +111816,8 @@ const ExamineViewer_default_ = ExamineViewer;
111833
111816
  x_ite_Namespace .set ("x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
111834
111817
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
111835
111818
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
111836
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(218);
111837
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(993);
111819
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(900);
111820
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(826);
111838
111821
  /*******************************************************************************
111839
111822
  *
111840
111823
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112838,8 +112821,8 @@ const FlyViewer_default_ = FlyViewer;
112838
112821
  x_ite_Namespace .set ("x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
112839
112822
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
112840
112823
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
112841
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(218);
112842
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(993);
112824
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(900);
112825
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(826);
112843
112826
  /*******************************************************************************
112844
112827
  *
112845
112828
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -113170,8 +113153,8 @@ const NoneViewer_default_ = NoneViewer;
113170
113153
  x_ite_Namespace .set ("x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
113171
113154
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
113172
113155
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
113173
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(218);
113174
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(993);
113156
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(900);
113157
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(826);
113175
113158
  /*******************************************************************************
113176
113159
  *
113177
113160
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114310,8 +114293,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
114310
114293
  x_ite_Namespace .set ("x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
114311
114294
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
114312
114295
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
114313
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(218);
114314
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(993);
114296
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(900);
114297
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(826);
114315
114298
  /*******************************************************************************
114316
114299
  *
114317
114300
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115589,8 +115572,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
115589
115572
  x_ite_Namespace .set ("x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
115590
115573
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
115591
115574
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
115592
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(993);
115593
- /* provided dependency */ var ResizeSensor = __webpack_require__(833);
115575
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(826);
115576
+ /* provided dependency */ var ResizeSensor = __webpack_require__(954);
115594
115577
  /*******************************************************************************
115595
115578
  *
115596
115579
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117818,7 +117801,7 @@ const Components_default_ = Components;
117818
117801
  x_ite_Namespace .set ("x_ite/Components", Components_default_);
117819
117802
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
117820
117803
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
117821
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(993);
117804
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(826);
117822
117805
  /*******************************************************************************
117823
117806
  * MIT License
117824
117807
  *
@@ -118207,7 +118190,7 @@ const DOMIntegration_default_ = DOMIntegration;
118207
118190
  x_ite_Namespace .set ("x_ite/Browser/DOMIntegration", DOMIntegration_default_);
118208
118191
  /* harmony default export */ const Browser_DOMIntegration = (DOMIntegration_default_);
118209
118192
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
118210
- /* provided dependency */ var Legacy_$ = __webpack_require__(993);
118193
+ /* provided dependency */ var Legacy_$ = __webpack_require__(826);
118211
118194
  /*******************************************************************************
118212
118195
  *
118213
118196
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119046,7 +119029,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
119046
119029
  x_ite_Namespace .set ("x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
119047
119030
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
119048
119031
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
119049
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(993);
119032
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(826);
119050
119033
  /*******************************************************************************
119051
119034
  *
119052
119035
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120122,8 +120105,8 @@ const X3DBrowser_default_ = X3DBrowser;
120122
120105
  x_ite_Namespace .set ("x_ite/Browser/X3DBrowser", X3DBrowser_default_);
120123
120106
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
120124
120107
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
120125
- /* provided dependency */ var jquery_$ = __webpack_require__(993);
120126
- /* provided dependency */ var pako = __webpack_require__(737);
120108
+ /* provided dependency */ var jquery_$ = __webpack_require__(826);
120109
+ /* provided dependency */ var pako = __webpack_require__(348);
120127
120110
  Object .assign (jquery_$,
120128
120111
  {
120129
120112
  decodeText (input)
@@ -120188,14 +120171,14 @@ const jquery_default_ = jquery_$;
120188
120171
  x_ite_Namespace .set ("lib/jquery", jquery_default_);
120189
120172
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
120190
120173
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
120191
- /* provided dependency */ var libtess_libtess = __webpack_require__(29);
120174
+ /* provided dependency */ var libtess_libtess = __webpack_require__(239);
120192
120175
  const libtess_default_ = libtess_libtess;
120193
120176
  ;
120194
120177
 
120195
120178
  x_ite_Namespace .set ("lib/libtess", libtess_default_);
120196
120179
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
120197
120180
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
120198
- /* provided dependency */ var X3D_$ = __webpack_require__(993);
120181
+ /* provided dependency */ var X3D_$ = __webpack_require__(826);
120199
120182
  /*******************************************************************************
120200
120183
  *
120201
120184
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120451,7 +120434,7 @@ const X3D_default_ = X3D;
120451
120434
  x_ite_Namespace .set ("x_ite/X3D", X3D_default_);
120452
120435
  /* harmony default export */ const x_ite_X3D = (X3D_default_);
120453
120436
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
120454
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(993);
120437
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(826);
120455
120438
  /*******************************************************************************
120456
120439
  *
120457
120440
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120722,7 +120705,7 @@ x_ite_Namespace .set ("shim", shim_default_);
120722
120705
 
120723
120706
  // Assign X3D to global namespace.
120724
120707
 
120725
- window [Symbol .for ("X_ITE.X3D-8.11.12")] = x_ite_X3D;
120708
+ window [Symbol .for ("X_ITE.X3D-8.11.13")] = x_ite_X3D;
120726
120709
 
120727
120710
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
120728
120711