x_ite 8.3.0 → 8.3.2

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 (77) hide show
  1. package/README.md +5 -2
  2. package/build/bin/tests.pl +2 -0
  3. package/dist/assets/components/Annotation.js +13 -13
  4. package/dist/assets/components/Annotation.min.js +1 -1
  5. package/dist/assets/components/CADGeometry.js +13 -13
  6. package/dist/assets/components/CADGeometry.min.js +1 -1
  7. package/dist/assets/components/CubeMapTexturing.js +25 -25
  8. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  9. package/dist/assets/components/DIS.js +13 -13
  10. package/dist/assets/components/DIS.min.js +1 -1
  11. package/dist/assets/components/EventUtilities.js +9 -9
  12. package/dist/assets/components/EventUtilities.min.js +1 -1
  13. package/dist/assets/components/Geometry2D.js +19 -19
  14. package/dist/assets/components/Geometry2D.min.js +1 -1
  15. package/dist/assets/components/Geospatial.js +33 -33
  16. package/dist/assets/components/Geospatial.min.js +1 -1
  17. package/dist/assets/components/HAnim.js +18 -18
  18. package/dist/assets/components/HAnim.min.js +1 -1
  19. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  20. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  21. package/dist/assets/components/Layout.js +27 -27
  22. package/dist/assets/components/Layout.min.js +1 -1
  23. package/dist/assets/components/NURBS.js +24 -24
  24. package/dist/assets/components/NURBS.min.js +1 -1
  25. package/dist/assets/components/ParticleSystems.js +23 -23
  26. package/dist/assets/components/ParticleSystems.min.js +1 -1
  27. package/dist/assets/components/Picking.js +19 -19
  28. package/dist/assets/components/Picking.min.js +1 -1
  29. package/dist/assets/components/ProjectiveTextureMapping.js +14 -14
  30. package/dist/assets/components/ProjectiveTextureMapping.min.js +1 -1
  31. package/dist/assets/components/RigidBodyPhysics.js +17 -17
  32. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  33. package/dist/assets/components/Scripting.js +28 -28
  34. package/dist/assets/components/Scripting.min.js +1 -1
  35. package/dist/assets/components/Text.js +24 -24
  36. package/dist/assets/components/Text.min.js +1 -1
  37. package/dist/assets/components/Texturing3D.js +46 -46
  38. package/dist/assets/components/Texturing3D.min.js +1 -1
  39. package/dist/assets/components/VolumeRendering.js +19 -19
  40. package/dist/assets/components/VolumeRendering.min.js +1 -1
  41. package/dist/assets/components/X_ITE.js +9 -9
  42. package/dist/assets/components/X_ITE.min.js +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.js +445 -294
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.zip +0 -0
  47. package/docs/_config.yml +2 -1
  48. package/docs/_posts/custom-shaders.md +1 -1
  49. package/docs/_posts/dom-integration.md +52 -25
  50. package/docs/_posts/getting-started.md +6 -3
  51. package/docs/_posts/reference/field-services-and-objects.md +2 -34
  52. package/docs/_posts/tutorials/basic-nodes.md +2 -2
  53. package/docs/_posts/tutorials/building-a-x3d-world.md +20 -4
  54. package/docs/_posts/tutorials/building-primitive-shapes.md +4 -4
  55. package/docs/_posts/tutorials/creating-new-node-types.md +22 -0
  56. package/docs/_posts/tutorials/hello-world.md +6 -6
  57. package/docs/_posts/tutorials/improving-performance.md +2 -2
  58. package/docs/_posts/tutorials/writing-program-scripts-with-ecmascript.md +2 -2
  59. package/docs/_tabs/playground.html +74 -17
  60. package/docs/assets/css/style.scss +7 -1
  61. package/package.json +2 -2
  62. package/src/x_ite/Base/X3DArrayField.js +3 -0
  63. package/src/x_ite/Base/X3DBaseNode.js +4 -0
  64. package/src/x_ite/Base/X3DInfoArray.js +7 -3
  65. package/src/x_ite/Browser/Core/ContextMenu.js +5 -7
  66. package/src/x_ite/Browser/DOMIntegration.js +62 -55
  67. package/src/x_ite/Browser/VERSION.js +1 -1
  68. package/src/x_ite/Browser/X3DBrowser.js +1 -1
  69. package/src/x_ite/Browser/X3DBrowserContext.js +3 -0
  70. package/src/x_ite/Components/Core/X3DPrototypeInstance.js +1 -1
  71. package/src/x_ite/Components/Networking/Inline.js +21 -2
  72. package/src/x_ite/Configuration/SupportedNodes.js +1 -5
  73. package/src/x_ite/Execution/X3DScene.js +74 -58
  74. package/src/x_ite/Parser/JSONParser.js +1 -1
  75. package/src/x_ite/Parser/XMLParser.js +151 -49
  76. package/src/x_ite.html +2 -2
  77. package/webpack.config.js +2 -2
package/README.md CHANGED
@@ -32,10 +32,13 @@ If you are a developer or you always wanna be up to date:
32
32
  $ npm install x_ite
33
33
  ```
34
34
 
35
- It can be used in [Electron](https://www.electronjs.org) apps in the **renderer process** like this:
35
+ It can be used in [Electron](https://www.electronjs.org) apps in a preload script of the **renderer process** like this:
36
36
 
37
37
  ```js
38
- const X3D = require ("x_ite")
38
+ window .addEventListener ("DOMContentLoaded", () =>
39
+ {
40
+ const X3D = require ("x_ite")
41
+ })
39
42
  ```
40
43
 
41
44
  Make sure that contextIsolation is set to **false** when creating a BrowserWindow instance.
@@ -51,6 +51,8 @@ sub tests
51
51
 
52
52
  for my $file (@files)
53
53
  {
54
+ next unless $file =~ /Components/;
55
+
54
56
  $file =~ s|/Volumes/Home/Projekte/Library/Tests/Components/||;
55
57
  $file =~ m|^([^/]+)|;
56
58
 
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.3.0 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.3.2 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ // The require scope
4
4
  /******/ var __webpack_require__ = {};
@@ -39,31 +39,31 @@ var __webpack_exports__ = {};
39
39
  // UNUSED EXPORTS: default
40
40
 
41
41
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
42
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components");
43
43
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
44
44
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
45
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Fields");
46
46
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
47
47
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
48
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/X3DFieldDefinition");
49
49
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
50
50
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
51
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/FieldDefinitionArray");
52
52
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
53
53
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Layering/X3DLayerNode\")"
54
- const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Layering/X3DLayerNode");
54
+ const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Layering/X3DLayerNode");
55
55
  var X3DLayerNode_default = /*#__PURE__*/__webpack_require__.n(X3DLayerNode_namespaceObject);
56
56
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
57
- const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Navigation/Viewpoint");
57
+ const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Navigation/Viewpoint");
58
58
  var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
59
59
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
60
- const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Grouping/Group");
60
+ const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Grouping/Group");
61
61
  var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
62
62
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
63
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DConstants");
63
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/X3DConstants");
64
64
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
65
65
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
66
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Namespace");
66
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Namespace");
67
67
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
68
68
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationLayer.js
69
69
  /*******************************************************************************
@@ -165,7 +165,7 @@ const __default__ = AnnotationLayer;
165
165
  Namespace_default().set ("x_ite/Components/Annotation/AnnotationLayer", __default__);
166
166
  /* harmony default export */ const Annotation_AnnotationLayer = (__default__);
167
167
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
168
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Core/X3DChildNode");
168
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Core/X3DChildNode");
169
169
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
170
170
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationTarget.js
171
171
  /*******************************************************************************
@@ -262,7 +262,7 @@ const AnnotationTarget_default_ = AnnotationTarget;
262
262
  Namespace_default().set ("x_ite/Components/Annotation/AnnotationTarget", AnnotationTarget_default_);
263
263
  /* harmony default export */ const Annotation_AnnotationTarget = (AnnotationTarget_default_);
264
264
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
265
- const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
265
+ const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
266
266
  var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
267
267
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/X3DAnnotationNode.js
268
268
  /*******************************************************************************
@@ -446,7 +446,7 @@ const GroupAnnotation_default_ = GroupAnnotation;
446
446
  Namespace_default().set ("x_ite/Components/Annotation/GroupAnnotation", GroupAnnotation_default_);
447
447
  /* harmony default export */ const Annotation_GroupAnnotation = (GroupAnnotation_default_);
448
448
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
449
- const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
449
+ const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Networking/X3DUrlObject");
450
450
  var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
451
451
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/IconAnnotation.js
452
452
  /*******************************************************************************
@@ -1 +1 @@
1
- /* X_ITE v8.3.0 */(()=>{"use strict";var t={n:n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return t.d(e,{a:e}),e},d:(n,e)=>{for(var o in e)t.o(e,o)&&!t.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n)};const n=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components");var e=t.n(n);const o=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Fields");var i=t.n(o);const r=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DFieldDefinition");var a=t.n(r);const u=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/FieldDefinitionArray");var p=t.n(u);const s=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Layering/X3DLayerNode");var c=t.n(s);const l=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Navigation/Viewpoint");var w=t.n(l);const d=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Grouping/Group");var y=t.n(d);const f=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DConstants");var m=t.n(f);const S=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Namespace");var O=t.n(S);function g(t){c().call(this,t,new(w())(t),new(y())(t)),this.addType(m().AnnotationLayer)}g.prototype=Object.assign(Object.create(c().prototype),{constructor:g,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"isPickable",new(i().SFBool)(!0)),new(a())(m().inputOutput,"layoutPolicy",new(i().MFString)),new(a())(m().inputOutput,"shownGroupID",new(i().MFString)),new(a())(m().inputOutput,"viewport",new(i().SFNode))]),getTypeName:function(){return"AnnotationLayer"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"layers"},initialize:function(){c().prototype.initialize.call(this)}});const b=g;O().set("x_ite/Components/Annotation/AnnotationLayer",b);const F=b,X=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Core/X3DChildNode");var N=t.n(X);function T(t){N().call(this,t),this.addType(m().AnnotationTarget)}T.prototype=Object.assign(Object.create(N().prototype),{constructor:T,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"referencePoint",new(i().SFVec3f)(0,0,0)),new(a())(m().inputOutput,"leadLineStyle",new(i().SFNode)),new(a())(m().inputOutput,"marker",new(i().SFNode)),new(a())(m().inputOutput,"annotations",new(i().MFNode))]),getTypeName:function(){return"AnnotationTarget"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){N().prototype.initialize.call(this)}});const A=T;O().set("x_ite/Components/Annotation/AnnotationTarget",A);const h=A,D=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=t.n(D);function C(t){N().call(this,t),this.addType(m().X3DAnnotationNode)}C.prototype=Object.assign(Object.create(N().prototype),{constructor:C,initialize:function(){N().prototype.initialize.call(this)}});const x=C;O().set("x_ite/Components/Annotation/X3DAnnotationNode",x);const I=x;function E(t){_().call(this,t),I.call(this,t),this.addType(m().GroupAnnotation)}E.prototype=Object.assign(Object.create(_().prototype),I.prototype,{constructor:E,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"visible",new(i().SFBool)(!0)),new(a())(m().inputOutput,"bboxDisplay",new(i().SFBool)),new(a())(m().initializeOnly,"bboxCenter",new(i().SFVec3f)(0,0,0)),new(a())(m().initializeOnly,"bboxSize",new(i().SFVec3f)(-1,-1,-1)),new(a())(m().inputOnly,"addChildren",new(i().MFNode)),new(a())(m().inputOnly,"removeChildren",new(i().MFNode)),new(a())(m().inputOutput,"children",new(i().MFNode))]),getTypeName:function(){return"GroupAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){_().prototype.initialize.call(this),I.prototype.initialize.call(this)},dispose:function(){I.prototype.dispose.call(this),_().prototype.dispose.call(this)}});const v=E;O().set("x_ite/Components/Annotation/GroupAnnotation",v);const z=v,j=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Networking/X3DUrlObject");var B=t.n(j);function q(t){I.call(this,t),B().call(this,t),this.addType(m().IconAnnotation)}q.prototype=Object.assign(Object.create(I.prototype),B().prototype,{constructor:q,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"url",new(i().MFString)),new(a())(m().inputOutput,"autoRefresh",new(i().SFTime)),new(a())(m().inputOutput,"autoRefreshTimeLimit",new(i().SFTime)(3600))]),getTypeName:function(){return"IconAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this),B().prototype.initialize.call(this)},requestImmediateLoad:function(t=!0){},dispose:function(){B().prototype.dispose.call(this),I.prototype.dispose.call(this)}});const G=q;O().set("x_ite/Components/Annotation/IconAnnotation",G);const L=G;function R(t){I.call(this,t),this.addType(m().TextAnnotation)}R.prototype=Object.assign(Object.create(I.prototype),{constructor:R,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"contentType",new(i().SFString)("text/plain")),new(a())(m().inputOutput,"text",new(i().SFString))]),getTypeName:function(){return"TextAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this)}});const M=R;O().set("x_ite/Components/Annotation/TextAnnotation",M);const P=M;function V(t){I.call(this,t),this.addType(m().URLAnnotation)}V.prototype=Object.assign(Object.create(I.prototype),{constructor:V,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"url",new(i().MFString))]),getTypeName:function(){return"URLAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this)}});const U=V;O().set("x_ite/Components/Annotation/URLAnnotation",U);const k=U;e().addComponent({name:"Annotation",types:{AnnotationLayer:F,AnnotationTarget:h,GroupAnnotation:z,IconAnnotation:L,TextAnnotation:P,URLAnnotation:k},abstractTypes:{X3DAnnotationNode:I}});const H=void 0;O().set("assets/components/Annotation",H)})();
1
+ /* X_ITE v8.3.2 */(()=>{"use strict";var t={n:n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return t.d(e,{a:e}),e},d:(n,e)=>{for(var o in e)t.o(e,o)&&!t.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n)};const n=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components");var e=t.n(n);const o=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Fields");var i=t.n(o);const r=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DFieldDefinition");var a=t.n(r);const u=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/FieldDefinitionArray");var p=t.n(u);const s=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Layering/X3DLayerNode");var c=t.n(s);const l=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Navigation/Viewpoint");var w=t.n(l);const d=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Grouping/Group");var y=t.n(d);const f=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DConstants");var m=t.n(f);const S=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Namespace");var O=t.n(S);function g(t){c().call(this,t,new(w())(t),new(y())(t)),this.addType(m().AnnotationLayer)}g.prototype=Object.assign(Object.create(c().prototype),{constructor:g,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"isPickable",new(i().SFBool)(!0)),new(a())(m().inputOutput,"layoutPolicy",new(i().MFString)),new(a())(m().inputOutput,"shownGroupID",new(i().MFString)),new(a())(m().inputOutput,"viewport",new(i().SFNode))]),getTypeName:function(){return"AnnotationLayer"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"layers"},initialize:function(){c().prototype.initialize.call(this)}});const b=g;O().set("x_ite/Components/Annotation/AnnotationLayer",b);const F=b,X=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Core/X3DChildNode");var N=t.n(X);function T(t){N().call(this,t),this.addType(m().AnnotationTarget)}T.prototype=Object.assign(Object.create(N().prototype),{constructor:T,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"referencePoint",new(i().SFVec3f)(0,0,0)),new(a())(m().inputOutput,"leadLineStyle",new(i().SFNode)),new(a())(m().inputOutput,"marker",new(i().SFNode)),new(a())(m().inputOutput,"annotations",new(i().MFNode))]),getTypeName:function(){return"AnnotationTarget"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){N().prototype.initialize.call(this)}});const A=T;O().set("x_ite/Components/Annotation/AnnotationTarget",A);const h=A,D=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=t.n(D);function C(t){N().call(this,t),this.addType(m().X3DAnnotationNode)}C.prototype=Object.assign(Object.create(N().prototype),{constructor:C,initialize:function(){N().prototype.initialize.call(this)}});const x=C;O().set("x_ite/Components/Annotation/X3DAnnotationNode",x);const I=x;function E(t){_().call(this,t),I.call(this,t),this.addType(m().GroupAnnotation)}E.prototype=Object.assign(Object.create(_().prototype),I.prototype,{constructor:E,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"visible",new(i().SFBool)(!0)),new(a())(m().inputOutput,"bboxDisplay",new(i().SFBool)),new(a())(m().initializeOnly,"bboxCenter",new(i().SFVec3f)(0,0,0)),new(a())(m().initializeOnly,"bboxSize",new(i().SFVec3f)(-1,-1,-1)),new(a())(m().inputOnly,"addChildren",new(i().MFNode)),new(a())(m().inputOnly,"removeChildren",new(i().MFNode)),new(a())(m().inputOutput,"children",new(i().MFNode))]),getTypeName:function(){return"GroupAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){_().prototype.initialize.call(this),I.prototype.initialize.call(this)},dispose:function(){I.prototype.dispose.call(this),_().prototype.dispose.call(this)}});const v=E;O().set("x_ite/Components/Annotation/GroupAnnotation",v);const z=v,j=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Networking/X3DUrlObject");var B=t.n(j);function q(t){I.call(this,t),B().call(this,t),this.addType(m().IconAnnotation)}q.prototype=Object.assign(Object.create(I.prototype),B().prototype,{constructor:q,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"url",new(i().MFString)),new(a())(m().inputOutput,"autoRefresh",new(i().SFTime)),new(a())(m().inputOutput,"autoRefreshTimeLimit",new(i().SFTime)(3600))]),getTypeName:function(){return"IconAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this),B().prototype.initialize.call(this)},requestImmediateLoad:function(t=!0){},dispose:function(){B().prototype.dispose.call(this),I.prototype.dispose.call(this)}});const G=q;O().set("x_ite/Components/Annotation/IconAnnotation",G);const L=G;function R(t){I.call(this,t),this.addType(m().TextAnnotation)}R.prototype=Object.assign(Object.create(I.prototype),{constructor:R,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"contentType",new(i().SFString)("text/plain")),new(a())(m().inputOutput,"text",new(i().SFString))]),getTypeName:function(){return"TextAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this)}});const M=R;O().set("x_ite/Components/Annotation/TextAnnotation",M);const P=M;function V(t){I.call(this,t),this.addType(m().URLAnnotation)}V.prototype=Object.assign(Object.create(I.prototype),{constructor:V,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(m().inputOutput,"metadata",new(i().SFNode)),new(a())(m().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(m().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(m().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(m().inputOutput,"url",new(i().MFString))]),getTypeName:function(){return"URLAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){I.prototype.initialize.call(this)}});const U=V;O().set("x_ite/Components/Annotation/URLAnnotation",U);const k=U;e().addComponent({name:"Annotation",types:{AnnotationLayer:F,AnnotationTarget:h,GroupAnnotation:z,IconAnnotation:L,TextAnnotation:P,URLAnnotation:k},abstractTypes:{X3DAnnotationNode:I}});const H=void 0;O().set("assets/components/Annotation",H)})();
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.3.0 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.3.2 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ // The require scope
4
4
  /******/ var __webpack_require__ = {};
@@ -39,28 +39,28 @@ var __webpack_exports__ = {};
39
39
  // UNUSED EXPORTS: default
40
40
 
41
41
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
42
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components");
43
43
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
44
44
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
45
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Fields");
46
46
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
47
47
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
48
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/X3DFieldDefinition");
49
49
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
50
50
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
51
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/FieldDefinitionArray");
52
52
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
53
53
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
54
- const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
54
+ const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
55
55
  var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
56
56
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
57
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Core/X3DChildNode");
57
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Core/X3DChildNode");
58
58
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
59
59
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
60
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DConstants");
60
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/X3DConstants");
61
61
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
62
62
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
63
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Namespace");
63
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Namespace");
64
64
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
65
65
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js
66
66
  /*******************************************************************************
@@ -228,10 +228,10 @@ const CADAssembly_default_ = CADAssembly;
228
228
  Namespace_default().set ("x_ite/Components/CADGeometry/CADAssembly", CADAssembly_default_);
229
229
  /* harmony default export */ const CADGeometry_CADAssembly = (CADAssembly_default_);
230
230
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
231
- const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
231
+ const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
232
232
  var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
233
233
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
234
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Rendering/TraverseType");
234
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Rendering/TraverseType");
235
235
  var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
236
236
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADFace.js
237
237
  /*******************************************************************************
@@ -603,7 +603,7 @@ const CADLayer_default_ = CADLayer;
603
603
  Namespace_default().set ("x_ite/Components/CADGeometry/CADLayer", CADLayer_default_);
604
604
  /* harmony default export */ const CADGeometry_CADLayer = (CADLayer_default_);
605
605
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformNode\")"
606
- const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Grouping/X3DTransformNode");
606
+ const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Grouping/X3DTransformNode");
607
607
  var X3DTransformNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformNode_namespaceObject);
608
608
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADPart.js
609
609
  /*******************************************************************************
@@ -708,7 +708,7 @@ const CADPart_default_ = CADPart;
708
708
  Namespace_default().set ("x_ite/Components/CADGeometry/CADPart", CADPart_default_);
709
709
  /* harmony default export */ const CADGeometry_CADPart = (CADPart_default_);
710
710
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DComposedGeometryNode\")"
711
- const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Rendering/X3DComposedGeometryNode");
711
+ const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Rendering/X3DComposedGeometryNode");
712
712
  var X3DComposedGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DComposedGeometryNode_namespaceObject);
713
713
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/IndexedQuadSet.js
714
714
  /*******************************************************************************
@@ -1 +1 @@
1
- /* X_ITE v8.3.0 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DFieldDefinition");var s=e.n(r);const u=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/FieldDefinitionArray");var a=e.n(u);const l=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(l);const c=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Core/X3DChildNode");var p=e.n(c);const w=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DConstants");var h=e.n(w);const b=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Namespace");var y=e.n(b);function _(e){p().call(this,e),this.addType(h().X3DProductStructureChildNode)}_.prototype=Object.assign(Object.create(p().prototype),{constructor:_});const m=_;y().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",m);const O=m;function f(e){d().call(this,e),O.call(this,e),this.addType(h().CADAssembly)}f.prototype=Object.assign(Object.create(d().prototype),{constructor:f,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().inputOutput,"name",new(o().SFString)),new(s())(h().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(h().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(h().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(h().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(h().inputOnly,"addChildren",new(o().MFNode)),new(s())(h().inputOnly,"removeChildren",new(o().MFNode)),new(s())(h().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADAssembly"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const S=f;y().set("x_ite/Components/CADGeometry/CADAssembly",S);const C=S,N=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Grouping/X3DBoundedObject");var D=e.n(N);const F=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Rendering/TraverseType");var g=e.n(F);function x(e){O.call(this,e),D().call(this,e),this.addType(h().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}x.prototype=Object.assign(Object.create(O.prototype),D().prototype,{constructor:x,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().inputOutput,"name",new(o().SFString)),new(s())(h().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(h().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(h().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(h().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(h().inputOutput,"shape",new(o().SFNode))]),getTypeName:function(){return"CADFace"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},initialize:function(){O.prototype.initialize.call(this),D().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox:function(e,t){if(this._bboxSize.getValue().equals(this.getDefaultBBoxSize())){const n=this.visibleNode;return n?n.getBBox(e,t):e.set()}return e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_shape__:function(){this.childNode&&(this.childNode._isCameraObject.removeInterest("set_cameraObject__",this),this.childNode._isPickableObject.removeInterest("set_transformSensors__",this),this.childNode._visible.removeInterest("set_visible__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;try{const e=this._shape.getValue().getInnerNode(),t=e.getType();for(let n=t.length-1;n>=0;--n){switch(t[n]){case h().LOD:case h().Transform:case h().X3DShapeNode:e._isCameraObject.addInterest("set_cameraObject__",this),e._isPickableObject.addInterest("set_transformSensors__",this),e._visible.addInterest("set_visible__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}catch(e){}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_transformSensors__(),this.set_visible__(),this.set_bboxDisplay__()},set_cameraObject__:function(){this.childNode&&this.childNode.getCameraObject()?this.setCameraObject(this.childNode._visible.getValue()):this.setCameraObject(!1)},set_transformSensors__:function(){this.setPickableObject(Boolean(this.childNode&&this.childNode.getPickableObject()))},set_visible__:function(){this.childNode?this.visibleNode=this.childNode._visible.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__()},set_bboxDisplay__:function(){this.childNode?this.boundedObject=this.childNode._bboxDisplay.getValue()?this.childNode:null:this.boundedObject=null},traverse:function(e,t){switch(e){case g().POINTER:case g().CAMERA:case g().SHADOW:{const n=this.visibleNode;return void(n&&n.traverse(e,t))}case g().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.childNode.traverse(e,t),void n.pop()}case g().COLLISION:return void this.childNode.traverse(e,t);case g().DISPLAY:{const n=this.visibleNode;n&&n.traverse(e,t);const i=this.boundedObject;return void(i&&i.displayBBox(e,t))}}},dispose:function(){D().prototype.dispose.call(this),O.prototype.dispose.call(this)}});const v=x;y().set("x_ite/Components/CADGeometry/CADFace",v);const X=v;function I(e){d().call(this,e),this.addType(h().CADLayer)}I.prototype=Object.assign(Object.create(d().prototype),{constructor:I,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().inputOutput,"name",new(o().SFString)),new(s())(h().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(h().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(h().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(h().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(h().inputOnly,"addChildren",new(o().MFNode)),new(s())(h().inputOnly,"removeChildren",new(o().MFNode)),new(s())(h().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADLayer"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const A=I;y().set("x_ite/Components/CADGeometry/CADLayer",A);const T=A,B=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Grouping/X3DTransformNode");var j=e.n(B);function z(e){j().call(this,e),O.call(this,e),this.addType(h().CADPart)}z.prototype=Object.assign(Object.create(j().prototype),{constructor:z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().inputOutput,"name",new(o().SFString)),new(s())(h().inputOutput,"translation",new(o().SFVec3f)),new(s())(h().inputOutput,"rotation",new(o().SFRotation)),new(s())(h().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(s())(h().inputOutput,"scaleOrientation",new(o().SFRotation)),new(s())(h().inputOutput,"center",new(o().SFVec3f)),new(s())(h().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(h().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(h().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(h().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(h().inputOnly,"addChildren",new(o().MFNode)),new(s())(h().inputOnly,"removeChildren",new(o().MFNode)),new(s())(h().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADPart"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const P=z;y().set("x_ite/Components/CADGeometry/CADPart",P);const V=P,G=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var E=e.n(G);function M(e){E().call(this,e),this.addType(h().IndexedQuadSet)}M.prototype=Object.assign(Object.create(E().prototype),{constructor:M,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().inputOnly,"set_index",new(o().MFInt32)),new(s())(h().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"index",new(o().MFInt32)),new(s())(h().inputOutput,"attrib",new(o().MFNode)),new(s())(h().inputOutput,"fogCoord",new(o().SFNode)),new(s())(h().inputOutput,"color",new(o().SFNode)),new(s())(h().inputOutput,"texCoord",new(o().SFNode)),new(s())(h().inputOutput,"normal",new(o().SFNode)),new(s())(h().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"IndexedQuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},initialize:function(){E().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex:function(){const e=[0,1,2,0,2,3];return function(t){const n=t%6;return(t-n)/6*4+e[n]}}(),getPolygonIndex:function(e){return this._index[e]},build:function(){let e=this._index.length;e-=e%4,E().prototype.build.call(this,4,e,6,e/4*6)}});const q=M;y().set("x_ite/Components/CADGeometry/IndexedQuadSet",q);const L=q;function Q(e){E().call(this,e),this.addType(h().QuadSet)}Q.prototype=Object.assign(Object.create(E().prototype),{constructor:Q,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(h().inputOutput,"attrib",new(o().MFNode)),new(s())(h().inputOutput,"fogCoord",new(o().SFNode)),new(s())(h().inputOutput,"color",new(o().SFNode)),new(s())(h().inputOutput,"texCoord",new(o().SFNode)),new(s())(h().inputOutput,"normal",new(o().SFNode)),new(s())(h().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"QuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},getTriangleIndex:function(){const e=[0,1,2,0,2,3];return function(t){const n=t%6;return(t-n)/6*4+e[n]}}(),build:function(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,E().prototype.build.call(this,4,e,6,e/4*6)},createNormals:function(e,t){return this.createFaceNormals(e,t)}});const k=Q;y().set("x_ite/Components/CADGeometry/QuadSet",k);const R=k;n().addComponent({name:"CADGeometry",types:{CADAssembly:C,CADFace:X,CADLayer:T,CADPart:V,IndexedQuadSet:L,QuadSet:R},abstractTypes:{X3DProductStructureChildNode:O}});const H=void 0;y().set("assets/components/CADGeometry",H)})();
1
+ /* X_ITE v8.3.2 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DFieldDefinition");var s=e.n(r);const u=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/FieldDefinitionArray");var a=e.n(u);const l=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(l);const c=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Core/X3DChildNode");var p=e.n(c);const w=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DConstants");var h=e.n(w);const b=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Namespace");var y=e.n(b);function _(e){p().call(this,e),this.addType(h().X3DProductStructureChildNode)}_.prototype=Object.assign(Object.create(p().prototype),{constructor:_});const m=_;y().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",m);const O=m;function f(e){d().call(this,e),O.call(this,e),this.addType(h().CADAssembly)}f.prototype=Object.assign(Object.create(d().prototype),{constructor:f,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().inputOutput,"name",new(o().SFString)),new(s())(h().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(h().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(h().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(h().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(h().inputOnly,"addChildren",new(o().MFNode)),new(s())(h().inputOnly,"removeChildren",new(o().MFNode)),new(s())(h().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADAssembly"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const S=f;y().set("x_ite/Components/CADGeometry/CADAssembly",S);const C=S,N=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Grouping/X3DBoundedObject");var D=e.n(N);const F=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Rendering/TraverseType");var g=e.n(F);function x(e){O.call(this,e),D().call(this,e),this.addType(h().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}x.prototype=Object.assign(Object.create(O.prototype),D().prototype,{constructor:x,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().inputOutput,"name",new(o().SFString)),new(s())(h().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(h().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(h().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(h().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(h().inputOutput,"shape",new(o().SFNode))]),getTypeName:function(){return"CADFace"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},initialize:function(){O.prototype.initialize.call(this),D().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox:function(e,t){if(this._bboxSize.getValue().equals(this.getDefaultBBoxSize())){const n=this.visibleNode;return n?n.getBBox(e,t):e.set()}return e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_shape__:function(){this.childNode&&(this.childNode._isCameraObject.removeInterest("set_cameraObject__",this),this.childNode._isPickableObject.removeInterest("set_transformSensors__",this),this.childNode._visible.removeInterest("set_visible__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;try{const e=this._shape.getValue().getInnerNode(),t=e.getType();for(let n=t.length-1;n>=0;--n){switch(t[n]){case h().LOD:case h().Transform:case h().X3DShapeNode:e._isCameraObject.addInterest("set_cameraObject__",this),e._isPickableObject.addInterest("set_transformSensors__",this),e._visible.addInterest("set_visible__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}catch(e){}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_transformSensors__(),this.set_visible__(),this.set_bboxDisplay__()},set_cameraObject__:function(){this.childNode&&this.childNode.getCameraObject()?this.setCameraObject(this.childNode._visible.getValue()):this.setCameraObject(!1)},set_transformSensors__:function(){this.setPickableObject(Boolean(this.childNode&&this.childNode.getPickableObject()))},set_visible__:function(){this.childNode?this.visibleNode=this.childNode._visible.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__()},set_bboxDisplay__:function(){this.childNode?this.boundedObject=this.childNode._bboxDisplay.getValue()?this.childNode:null:this.boundedObject=null},traverse:function(e,t){switch(e){case g().POINTER:case g().CAMERA:case g().SHADOW:{const n=this.visibleNode;return void(n&&n.traverse(e,t))}case g().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.childNode.traverse(e,t),void n.pop()}case g().COLLISION:return void this.childNode.traverse(e,t);case g().DISPLAY:{const n=this.visibleNode;n&&n.traverse(e,t);const i=this.boundedObject;return void(i&&i.displayBBox(e,t))}}},dispose:function(){D().prototype.dispose.call(this),O.prototype.dispose.call(this)}});const v=x;y().set("x_ite/Components/CADGeometry/CADFace",v);const X=v;function I(e){d().call(this,e),this.addType(h().CADLayer)}I.prototype=Object.assign(Object.create(d().prototype),{constructor:I,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().inputOutput,"name",new(o().SFString)),new(s())(h().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(h().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(h().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(h().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(h().inputOnly,"addChildren",new(o().MFNode)),new(s())(h().inputOnly,"removeChildren",new(o().MFNode)),new(s())(h().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADLayer"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const A=I;y().set("x_ite/Components/CADGeometry/CADLayer",A);const T=A,B=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Grouping/X3DTransformNode");var j=e.n(B);function z(e){j().call(this,e),O.call(this,e),this.addType(h().CADPart)}z.prototype=Object.assign(Object.create(j().prototype),{constructor:z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().inputOutput,"name",new(o().SFString)),new(s())(h().inputOutput,"translation",new(o().SFVec3f)),new(s())(h().inputOutput,"rotation",new(o().SFRotation)),new(s())(h().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(s())(h().inputOutput,"scaleOrientation",new(o().SFRotation)),new(s())(h().inputOutput,"center",new(o().SFVec3f)),new(s())(h().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(h().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(h().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(h().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(h().inputOnly,"addChildren",new(o().MFNode)),new(s())(h().inputOnly,"removeChildren",new(o().MFNode)),new(s())(h().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADPart"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"}});const P=z;y().set("x_ite/Components/CADGeometry/CADPart",P);const V=P,G=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var E=e.n(G);function M(e){E().call(this,e),this.addType(h().IndexedQuadSet)}M.prototype=Object.assign(Object.create(E().prototype),{constructor:M,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().inputOnly,"set_index",new(o().MFInt32)),new(s())(h().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"index",new(o().MFInt32)),new(s())(h().inputOutput,"attrib",new(o().MFNode)),new(s())(h().inputOutput,"fogCoord",new(o().SFNode)),new(s())(h().inputOutput,"color",new(o().SFNode)),new(s())(h().inputOutput,"texCoord",new(o().SFNode)),new(s())(h().inputOutput,"normal",new(o().SFNode)),new(s())(h().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"IndexedQuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},initialize:function(){E().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex:function(){const e=[0,1,2,0,2,3];return function(t){const n=t%6;return(t-n)/6*4+e[n]}}(),getPolygonIndex:function(e){return this._index[e]},build:function(){let e=this._index.length;e-=e%4,E().prototype.build.call(this,4,e,6,e/4*6)}});const q=M;y().set("x_ite/Components/CADGeometry/IndexedQuadSet",q);const L=q;function Q(e){E().call(this,e),this.addType(h().QuadSet)}Q.prototype=Object.assign(Object.create(E().prototype),{constructor:Q,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(h().inputOutput,"metadata",new(o().SFNode)),new(s())(h().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(h().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(h().inputOutput,"attrib",new(o().MFNode)),new(s())(h().inputOutput,"fogCoord",new(o().SFNode)),new(s())(h().inputOutput,"color",new(o().SFNode)),new(s())(h().inputOutput,"texCoord",new(o().SFNode)),new(s())(h().inputOutput,"normal",new(o().SFNode)),new(s())(h().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"QuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},getTriangleIndex:function(){const e=[0,1,2,0,2,3];return function(t){const n=t%6;return(t-n)/6*4+e[n]}}(),build:function(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,E().prototype.build.call(this,4,e,6,e/4*6)},createNormals:function(e,t){return this.createFaceNormals(e,t)}});const k=Q;y().set("x_ite/Components/CADGeometry/QuadSet",k);const R=k;n().addComponent({name:"CADGeometry",types:{CADAssembly:C,CADFace:X,CADLayer:T,CADPart:V,IndexedQuadSet:L,QuadSet:R},abstractTypes:{X3DProductStructureChildNode:O}});const H=void 0;y().set("assets/components/CADGeometry",H)})();
@@ -1,11 +1,11 @@
1
- /* X_ITE v8.3.0 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.3.2 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ var __webpack_modules__ = ({
4
4
 
5
5
  /***/ 355:
6
6
  /***/ ((module) => {
7
7
 
8
- module.exports = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("lib/jquery");
8
+ module.exports = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("lib/jquery");
9
9
 
10
10
  /***/ })
11
11
 
@@ -73,25 +73,25 @@ var __webpack_exports__ = {};
73
73
  // UNUSED EXPORTS: default
74
74
 
75
75
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
76
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components");
76
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components");
77
77
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
78
78
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
79
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Fields");
79
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Fields");
80
80
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
81
81
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
82
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DFieldDefinition");
82
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/X3DFieldDefinition");
83
83
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
84
84
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
85
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/FieldDefinitionArray");
85
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/FieldDefinitionArray");
86
86
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
87
87
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/X3DSingleTextureNode\")"
88
- const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Texturing/X3DSingleTextureNode");
88
+ const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Texturing/X3DSingleTextureNode");
89
89
  var X3DSingleTextureNode_default = /*#__PURE__*/__webpack_require__.n(X3DSingleTextureNode_namespaceObject);
90
90
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
91
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DConstants");
91
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/X3DConstants");
92
92
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
93
93
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
94
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Namespace");
94
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Namespace");
95
95
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
96
96
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js
97
97
  /*******************************************************************************
@@ -225,10 +225,10 @@ const __default__ = X3DEnvironmentTextureNode;
225
225
  Namespace_default().set ("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode", __default__);
226
226
  /* harmony default export */ const CubeMapTexturing_X3DEnvironmentTextureNode = (__default__);
227
227
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
228
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DCast");
228
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/X3DCast");
229
229
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
230
230
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Utility/BitSet\")"
231
- const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Utility/BitSet");
231
+ const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("standard/Utility/BitSet");
232
232
  var BitSet_default = /*#__PURE__*/__webpack_require__.n(BitSet_namespaceObject);
233
233
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js
234
234
  /*******************************************************************************
@@ -474,13 +474,13 @@ const ComposedCubeMapTexture_default_ = ComposedCubeMapTexture;
474
474
  Namespace_default().set ("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture", ComposedCubeMapTexture_default_);
475
475
  /* harmony default export */ const CubeMapTexturing_ComposedCubeMapTexture = (ComposedCubeMapTexture_default_);
476
476
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DBaseNode\")"
477
- const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DBaseNode");
477
+ const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/X3DBaseNode");
478
478
  var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
479
479
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/X3DRenderObject\")"
480
- const X3DRenderObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Rendering/X3DRenderObject");
480
+ const X3DRenderObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Rendering/X3DRenderObject");
481
481
  var X3DRenderObject_default = /*#__PURE__*/__webpack_require__.n(X3DRenderObject_namespaceObject);
482
482
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
483
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Rendering/TraverseType");
483
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Rendering/TraverseType");
484
484
  var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
485
485
  ;// CONCATENATED MODULE: ./src/x_ite/Rendering/DependentRenderer.js
486
486
  /*******************************************************************************
@@ -621,28 +621,28 @@ const DependentRenderer_default_ = DependentRenderer;
621
621
  Namespace_default().set ("x_ite/Rendering/DependentRenderer", DependentRenderer_default_);
622
622
  /* harmony default export */ const Rendering_DependentRenderer = (DependentRenderer_default_);
623
623
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TextureBuffer\")"
624
- const TextureBuffer_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Rendering/TextureBuffer");
624
+ const TextureBuffer_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Rendering/TextureBuffer");
625
625
  var TextureBuffer_default = /*#__PURE__*/__webpack_require__.n(TextureBuffer_namespaceObject);
626
626
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Camera\")"
627
- const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Geometry/Camera");
627
+ const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("standard/Math/Geometry/Camera");
628
628
  var Camera_default = /*#__PURE__*/__webpack_require__.n(Camera_namespaceObject);
629
629
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/ViewVolume\")"
630
- const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Geometry/ViewVolume");
630
+ const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("standard/Math/Geometry/ViewVolume");
631
631
  var ViewVolume_default = /*#__PURE__*/__webpack_require__.n(ViewVolume_namespaceObject);
632
632
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
633
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Numbers/Rotation4");
633
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("standard/Math/Numbers/Rotation4");
634
634
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
635
635
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
636
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Numbers/Vector3");
636
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("standard/Math/Numbers/Vector3");
637
637
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
638
638
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
639
- const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Numbers/Vector4");
639
+ const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("standard/Math/Numbers/Vector4");
640
640
  var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject);
641
641
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
642
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Numbers/Matrix4");
642
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("standard/Math/Numbers/Matrix4");
643
643
  var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
644
644
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
645
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Algorithm");
645
+ const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("standard/Math/Algorithm");
646
646
  var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
647
647
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js
648
648
  /*******************************************************************************
@@ -931,13 +931,13 @@ const GeneratedCubeMapTexture_default_ = GeneratedCubeMapTexture;
931
931
  Namespace_default().set ("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture", GeneratedCubeMapTexture_default_);
932
932
  /* harmony default export */ const CubeMapTexturing_GeneratedCubeMapTexture = (GeneratedCubeMapTexture_default_);
933
933
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
934
- const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
934
+ const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Networking/X3DUrlObject");
935
935
  var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
936
936
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
937
- const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("standard/Math/Numbers/Vector2");
937
+ const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("standard/Math/Numbers/Vector2");
938
938
  var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
939
939
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/DEBUG\")"
940
- const DEBUG_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/DEBUG");
940
+ const DEBUG_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/DEBUG");
941
941
  var DEBUG_default = /*#__PURE__*/__webpack_require__.n(DEBUG_namespaceObject);
942
942
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js
943
943
  /* provided dependency */ var $ = __webpack_require__(355);
@@ -1 +1 @@
1
- /* X_ITE v8.3.0 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.3.0")].require("lib/jquery")}},t={};function r(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components");var t=r.n(e);const i=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Fields");var n=r.n(i);const o=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DFieldDefinition");var s=r.n(o);const a=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/FieldDefinitionArray");var u=r.n(a);const d=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var h=r.n(d);const l=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DConstants");var c=r.n(l);const p=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Namespace");var g=r.n(p);function x(e){h().call(this,e),this.addType(c().X3DEnvironmentTextureNode);const t=this.getBrowser().getContext();this.target=t.TEXTURE_CUBE_MAP,this.targets=[t.TEXTURE_CUBE_MAP_POSITIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_Y,t.TEXTURE_CUBE_MAP_NEGATIVE_Y]}x.prototype=Object.assign(Object.create(h().prototype),{constructor:x,getTarget:function(){return this.target},getTextureType:function(){return 4},getTextureTypeString:function(){return"CUBE"},getTargets:function(){return this.targets},clearTexture:function(){const e=new Uint8Array([255,255,255,255]);return function(){const t=this.getBrowser().getContext();t.bindTexture(this.getTarget(),this.getTexture());for(const r of this.getTargets())t.texImage2D(r,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,e)}}(),updateTextureParameters:function(){h().prototype.updateTextureParameters.call(this,this.target,this._textureProperties.getValue(),this.texturePropertiesNode,128,128,!1,!1,!1)},setShaderUniforms:function(e,t,r,i=t.x3d_Texture[0]){const n=this.getBrowser().getTextureCubeUnit();e.activeTexture(e.TEXTURE0+n),e.bindTexture(e.TEXTURE_CUBE_MAP,this.getTexture()),e.uniform1i(i.textureCube,n)}});const _=x;g().set("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode",_);const T=_,w=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DCast");var f=r.n(w);const m=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Utility/BitSet");var b=r.n(m);function S(e){T.call(this,e),this.addType(c().ComposedCubeMapTexture),this.addAlias("front",this._frontTexture),this.addAlias("back",this._backTexture),this.addAlias("left",this._leftTexture),this.addAlias("right",this._rightTexture),this.addAlias("bottom",this._bottomTexture),this.addAlias("top",this._topTexture),this.textures=[null,null,null,null,null,null],this.symbols=[Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol()],this.loadStateBits=new(b())}S.prototype=Object.assign(Object.create(T.prototype),{constructor:S,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(c().inputOutput,"metadata",new(n().SFNode)),new(s())(c().inputOutput,"description",new(n().SFString)),new(s())(c().inputOutput,"frontTexture",new(n().SFNode)),new(s())(c().inputOutput,"backTexture",new(n().SFNode)),new(s())(c().inputOutput,"leftTexture",new(n().SFNode)),new(s())(c().inputOutput,"rightTexture",new(n().SFNode)),new(s())(c().inputOutput,"bottomTexture",new(n().SFNode)),new(s())(c().inputOutput,"topTexture",new(n().SFNode)),new(s())(c().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ComposedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},initialize:function(){T.prototype.initialize.call(this),this.clearTexture(),this._frontTexture.addInterest("set_texture__",this,0),this._backTexture.addInterest("set_texture__",this,1),this._leftTexture.addInterest("set_texture__",this,2),this._rightTexture.addInterest("set_texture__",this,3),this._topTexture.addInterest("set_texture__",this,5),this._bottomTexture.addInterest("set_texture__",this,4),this.set_texture__(this._frontTexture,0),this.set_texture__(this._backTexture,1),this.set_texture__(this._leftTexture,2),this.set_texture__(this._rightTexture,3),this.set_texture__(this._topTexture,4),this.set_texture__(this._bottomTexture,5)},set_texture__:function(e,t){let r=this.textures[t];r&&(r.removeInterest("set_loadState__",this),r._loadState.removeFieldCallback(this.symbols[t])),r=this.textures[t]=f()(c().X3DTexture2DNode,e),r&&(r.addInterest("set_loadState__",this,r,t),r._loadState.addFieldCallback(this.symbols[t],this.set_loadState__.bind(this,r,t))),this.set_loadState__(r,t)},set_loadState__:function(e,t){e?this.setLoadStateBit(t,e.checkLoadState(),e.getData()):this.setLoadStateBit(t,c().NOT_STARTED,null),this.updateTextures()},setLoadStateBit:function(e,t,r){this.loadStateBits.set(e,t===c().COMPLETE_STATE||r)},isComplete:function(){if(63!=+this.loadStateBits)return!1;const e=this.textures,t=e[0].getWidth();for(const r of e){if(r.getWidth()!==t)return!1;if(r.getHeight()!==t)return!1}return!0},updateTextures:function(){const e=this.getBrowser().getContext();if(e.bindTexture(this.getTarget(),this.getTexture()),this.isComplete()){const t=this.textures;for(let r=0;r<6;++r){const i=t[r],n=i.getWidth(),o=i.getHeight(),s=i.getData();e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!i.getFlipY()),s instanceof Uint8Array?e.texImage2D(this.getTargets()[r],0,e.RGBA,n,o,!1,e.RGBA,e.UNSIGNED_BYTE,s):e.texImage2D(this.getTargets()[r],0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,s)}e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),this.updateTextureParameters()}else this.clearTexture();this.set_transparent__()},set_transparent__:function(){const e=!1;if(this.isComplete())for(const t of this.textures)if(t._transparent.getValue()){e=!0;break}this.setTransparent(e)}});const E=S;g().set("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture",E);const y=E,I=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Base/X3DBaseNode");var M=r.n(I);const C=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Rendering/X3DRenderObject");var X=r.n(C);const B=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Rendering/TraverseType");var N=r.n(B);function D(e){M().call(this,e),X().call(this,e),this.renderObject=null}D.prototype=Object.assign(Object.create(M().prototype),X().prototype,{constructor:D,initialize:function(){M().prototype.initialize.call(this),X().prototype.initialize.call(this)},isIndependent:function(){return!1},setRenderer:function(e){this.renderObject=e},getLayer:function(){return this.renderObject.getLayer()},getBackground:function(){return this.renderObject.getBackground()},getFog:function(){return this.renderObject.getFog()},getNavigationInfo:function(){return this.renderObject.getNavigationInfo()},getViewpoint:function(){return this.renderObject.getViewpoint()},getLightContainer:function(){return this.renderObject.getLights()[this.lightIndex++]},render:function(e,t,r){switch(e){case N().COLLISION:case N().SHADOW:X().prototype.render.call(this,e,t,r);break;case N().DISPLAY:this.lightIndex=0,X().prototype.render.call(this,e,t,r);for(const e of this.renderObject.getLights())e.getModelViewMatrix().pop()}}});for(const e of Reflect.ownKeys(D.prototype))Object.defineProperty(D.prototype,e,{enumerable:!1});const O=D;g().set("x_ite/Rendering/DependentRenderer",O);const R=O,A=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Rendering/TextureBuffer");var v=r.n(A);const U=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Geometry/Camera");var F=r.n(U);const P=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Geometry/ViewVolume");var V=r.n(P);const L=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Numbers/Rotation4");var G=r.n(L);const j=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Numbers/Vector3");var q=r.n(j);const z=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Numbers/Vector4");var k=r.n(z);const Y=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Numbers/Matrix4");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Algorithm");var K=r.n(H);function Z(e){T.call(this,e),this.addType(c().GeneratedCubeMapTexture),this.dependentRenderer=new R(e),this.projectionMatrix=new(W()),this.modelMatrix=new(W()),this.viewVolume=new(V())}Z.prototype=Object.assign(Object.create(T.prototype),{constructor:Z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(c().inputOutput,"metadata",new(n().SFNode)),new(s())(c().inputOutput,"description",new(n().SFString)),new(s())(c().inputOutput,"update",new(n().SFString)("NONE")),new(s())(c().initializeOnly,"size",new(n().SFInt32)(128)),new(s())(c().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"GeneratedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},initialize:function(){T.prototype.initialize.call(this),this._size.addInterest("set_size__",this),this.dependentRenderer.setup(),this.set_size__()},set_size__:function(){const e=this.getBrowser().getContext(),t=e.getVersion()>=2?this._size.getValue():K().nextPowerOfTwo(this._size.getValue());if(t>0){const r=new Uint8Array(t*t*4);e.bindTexture(this.getTarget(),this.getTexture());for(const i of this.getTargets())e.texImage2D(i,0,e.RGBA,t,t,0,e.RGBA,e.UNSIGNED_BYTE,r);this.viewport=new(k())(0,0,t,t),this.frameBuffer=new(v())(this.getBrowser(),t,t)}else this.frameBuffer=null},traverse:function(e,t){"NONE"!==this._update.getValue()&&t.isIndependent()&&this.frameBuffer&&(t.getGeneratedCubeMapTextures().push(this),this.modelMatrix.assign(t.getModelViewMatrix().get()).multRight(t.getCameraSpaceMatrix().get()))},renderTexture:function(){const e=[new(G())(q().zAxis,new(q())(0,0,-1)),new(G())(q().zAxis,new(q())(0,0,1)),new(G())(q().zAxis,new(q())(1,0,0)),new(G())(q().zAxis,new(q())(-1,0,0)),new(G())(q().zAxis,new(q())(0,-1,0)),new(G())(q().zAxis,new(q())(0,1,0))],t=[new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(1,1,1),new(q())(1,1,1)],r=new(W());return function(i){this.dependentRenderer.setRenderer(i);const n=this.dependentRenderer,o=this.getBrowser(),s=i.getLayer(),a=o.getContext(),u=n.getBackground(),d=n.getNavigationInfo(),h=n.getViewpoint(),l=o.getHeadlight(),c=d._headlight.getValue(),p=d.getNearValue(),g=d.getFarValue(h),x=F().perspective(K().radians(90),p,g,1,1,this.projectionMatrix);this.setTransparent(u.getTransparent()),this.frameBuffer.bind(),n.getViewVolumes().push(this.viewVolume.set(x,this.viewport,this.viewport)),n.getProjectionMatrix().pushMatrix(x),a.bindTexture(this.getTarget(),this.getTexture());for(let i=0;i<6;++i){a.clear(a.COLOR_BUFFER_BIT),n.getCameraSpaceMatrix().pushMatrix(this.modelMatrix),n.getCameraSpaceMatrix().rotate(e[i]),n.getCameraSpaceMatrix().scale(t[i]),n.getViewMatrix().pushMatrix(r.assign(n.getCameraSpaceMatrix().get()).inverse()),n.getModelViewMatrix().pushMatrix(r),c&&(l.getModelViewMatrix().pushMatrix(r),l.getModelViewMatrix().multLeft(h.getCameraSpaceMatrix())),s.traverse(N().DISPLAY,n),c&&l.getModelViewMatrix().pop(),n.getModelViewMatrix().pop(),n.getCameraSpaceMatrix().pop(),n.getViewMatrix().pop();const o=this.frameBuffer.readPixels(),u=this.frameBuffer.getWidth(),d=this.frameBuffer.getHeight();a.bindTexture(this.getTarget(),this.getTexture()),a.texImage2D(this.getTargets()[i],0,a.RGBA,u,d,!1,a.RGBA,a.UNSIGNED_BYTE,o)}this.updateTextureParameters(),n.getProjectionMatrix().pop(),n.getViewVolumes().pop(),this.frameBuffer.unbind(),"NEXT_FRAME_ONLY"===this._update.getValue()&&(this._update="NONE")}}(),setShaderUniforms:function(){const e=new Float32Array(16);return function(t,r,i,n){T.prototype.setShaderUniforms.call(this,t,r,i,n),i===this.dependentRenderer&&t.uniformMatrix4fv(r.x3d_ModelViewMatrix,!1,e)}}()});const J=Z;g().set("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture",J);const Q=J,$=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/Components/Networking/X3DUrlObject");var ee=r.n($);const te=window[Symbol.for("X_ITE.X3D-8.3.0")].require("standard/Math/Numbers/Vector2");var re=r.n(te);const ie=window[Symbol.for("X_ITE.X3D-8.3.0")].require("x_ite/DEBUG");var ne=r.n(ie),oe=r(355);const se=new Uint8Array([255,255,255,255]),ae=[new(re())(1,1),new(re())(3,1),new(re())(0,1),new(re())(2,1),new(re())(1,0),new(re())(1,2)];function ue(e){T.call(this,e),ee().call(this,e),this.addType(c().ImageCubeMapTexture),this.image=oe("<img></img>"),this.canvas=oe("<canvas></canvas>"),this.urlStack=new(n().MFString)}ue.prototype=Object.assign(Object.create(T.prototype),ee().prototype,{constructor:ue,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(c().inputOutput,"metadata",new(n().SFNode)),new(s())(c().inputOutput,"description",new(n().SFString)),new(s())(c().inputOutput,"load",new(n().SFBool)(!0)),new(s())(c().inputOutput,"url",new(n().MFString)),new(s())(c().inputOutput,"autoRefresh",new(n().SFTime)),new(s())(c().inputOutput,"autoRefreshTimeLimit",new(n().SFTime)(3600)),new(s())(c().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ImageCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},initialize:function(){T.prototype.initialize.call(this),ee().prototype.initialize.call(this);const e=this.getBrowser().getContext();e.bindTexture(this.getTarget(),this.getTexture());for(let t=0;t<6;++t)e.texImage2D(this.getTargets()[t],0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,se);this.image.on("load",this.setImage.bind(this)),this.image.on("abort error",this.setError.bind(this)),this.image[0].crossOrigin="Anonymous",this.requestImmediateLoad()},unLoadNow:function(){this.clearTexture()},loadNow:function(){this.urlStack.setValue(this._url),this.loadNext()},loadNext:function(){if(0===this.urlStack.length)return this.clearTexture(),void this.setLoadState(c().FAILED_STATE);this.URL=new URL(this.urlStack.shift(),this.getExecutionContext().getWorldURL()),"data:"!==this.URL.protocol&&(this.getBrowser().getBrowserOptions().getCache()&&this.getCache()||this.URL.searchParams.set("_",Date.now())),this.image.attr("src",this.URL.href)},setError:function(){"data:"!==this.URL.protocol&&console.warn("Error loading image:",decodeURI(this.URL.href)),this.loadNext()},setImage:function(){ne()&&"data:"!==this.URL.protocol&&console.info("Done loading image cube map texture:",decodeURI(this.URL.href));try{const e=this.image[0],t=this.canvas[0],r=t.getContext("2d",{willReadFrequently:!0});let i=e.width,n=e.height,o=Math.floor(i/4),s=Math.floor(n/3);K().isPowerOfTwo(o)&&K().isPowerOfTwo(s)&&4*o===i&&3*s===n?(t.width=i,t.height=n,r.drawImage(e,0,0)):(o=K().nextPowerOfTwo(o),s=K().nextPowerOfTwo(s),i=4*o,n=3*s,t.width=i,t.height=n,r.drawImage(e,0,0,e.width,e.height,0,0,i,n));const a=this.getBrowser().getContext();let u=!0;a.bindTexture(this.getTarget(),this.getTexture());for(let e=0;e<6;++e){const t=r.getImageData(ae[e].x*o,ae[e].y*s,o,s).data;if(u)for(let e=3;e<t.length;e+=4)if(255!==t[e]){u=!1;break}a.texImage2D(this.getTargets()[e],0,a.RGBA,o,s,!1,a.RGBA,a.UNSIGNED_BYTE,new Uint8Array(t.buffer))}this.updateTextureParameters(),this.setTransparent(!u),this.setLoadState(c().COMPLETE_STATE)}catch(e){console.log(e.message),this.setError()}},dispose:function(){ee().prototype.dispose.call(this),T.prototype.dispose.call(this)}});const de=ue;g().set("x_ite/Components/CubeMapTexturing/ImageCubeMapTexture",de);const he=de;t().addComponent({name:"CubeMapTexturing",types:{ComposedCubeMapTexture:y,GeneratedCubeMapTexture:Q,ImageCubeMapTexture:he},abstractTypes:{X3DEnvironmentTextureNode:T}});const le=void 0;g().set("assets/components/CubeMapTexturing",le)})()})();
1
+ /* X_ITE v8.3.2 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.3.2")].require("lib/jquery")}},t={};function r(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components");var t=r.n(e);const i=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Fields");var n=r.n(i);const o=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DFieldDefinition");var s=r.n(o);const a=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/FieldDefinitionArray");var u=r.n(a);const d=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var h=r.n(d);const l=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DConstants");var c=r.n(l);const p=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Namespace");var g=r.n(p);function x(e){h().call(this,e),this.addType(c().X3DEnvironmentTextureNode);const t=this.getBrowser().getContext();this.target=t.TEXTURE_CUBE_MAP,this.targets=[t.TEXTURE_CUBE_MAP_POSITIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_Y,t.TEXTURE_CUBE_MAP_NEGATIVE_Y]}x.prototype=Object.assign(Object.create(h().prototype),{constructor:x,getTarget:function(){return this.target},getTextureType:function(){return 4},getTextureTypeString:function(){return"CUBE"},getTargets:function(){return this.targets},clearTexture:function(){const e=new Uint8Array([255,255,255,255]);return function(){const t=this.getBrowser().getContext();t.bindTexture(this.getTarget(),this.getTexture());for(const r of this.getTargets())t.texImage2D(r,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,e)}}(),updateTextureParameters:function(){h().prototype.updateTextureParameters.call(this,this.target,this._textureProperties.getValue(),this.texturePropertiesNode,128,128,!1,!1,!1)},setShaderUniforms:function(e,t,r,i=t.x3d_Texture[0]){const n=this.getBrowser().getTextureCubeUnit();e.activeTexture(e.TEXTURE0+n),e.bindTexture(e.TEXTURE_CUBE_MAP,this.getTexture()),e.uniform1i(i.textureCube,n)}});const _=x;g().set("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode",_);const T=_,w=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DCast");var f=r.n(w);const m=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Utility/BitSet");var b=r.n(m);function S(e){T.call(this,e),this.addType(c().ComposedCubeMapTexture),this.addAlias("front",this._frontTexture),this.addAlias("back",this._backTexture),this.addAlias("left",this._leftTexture),this.addAlias("right",this._rightTexture),this.addAlias("bottom",this._bottomTexture),this.addAlias("top",this._topTexture),this.textures=[null,null,null,null,null,null],this.symbols=[Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol()],this.loadStateBits=new(b())}S.prototype=Object.assign(Object.create(T.prototype),{constructor:S,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(c().inputOutput,"metadata",new(n().SFNode)),new(s())(c().inputOutput,"description",new(n().SFString)),new(s())(c().inputOutput,"frontTexture",new(n().SFNode)),new(s())(c().inputOutput,"backTexture",new(n().SFNode)),new(s())(c().inputOutput,"leftTexture",new(n().SFNode)),new(s())(c().inputOutput,"rightTexture",new(n().SFNode)),new(s())(c().inputOutput,"bottomTexture",new(n().SFNode)),new(s())(c().inputOutput,"topTexture",new(n().SFNode)),new(s())(c().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ComposedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},initialize:function(){T.prototype.initialize.call(this),this.clearTexture(),this._frontTexture.addInterest("set_texture__",this,0),this._backTexture.addInterest("set_texture__",this,1),this._leftTexture.addInterest("set_texture__",this,2),this._rightTexture.addInterest("set_texture__",this,3),this._topTexture.addInterest("set_texture__",this,5),this._bottomTexture.addInterest("set_texture__",this,4),this.set_texture__(this._frontTexture,0),this.set_texture__(this._backTexture,1),this.set_texture__(this._leftTexture,2),this.set_texture__(this._rightTexture,3),this.set_texture__(this._topTexture,4),this.set_texture__(this._bottomTexture,5)},set_texture__:function(e,t){let r=this.textures[t];r&&(r.removeInterest("set_loadState__",this),r._loadState.removeFieldCallback(this.symbols[t])),r=this.textures[t]=f()(c().X3DTexture2DNode,e),r&&(r.addInterest("set_loadState__",this,r,t),r._loadState.addFieldCallback(this.symbols[t],this.set_loadState__.bind(this,r,t))),this.set_loadState__(r,t)},set_loadState__:function(e,t){e?this.setLoadStateBit(t,e.checkLoadState(),e.getData()):this.setLoadStateBit(t,c().NOT_STARTED,null),this.updateTextures()},setLoadStateBit:function(e,t,r){this.loadStateBits.set(e,t===c().COMPLETE_STATE||r)},isComplete:function(){if(63!=+this.loadStateBits)return!1;const e=this.textures,t=e[0].getWidth();for(const r of e){if(r.getWidth()!==t)return!1;if(r.getHeight()!==t)return!1}return!0},updateTextures:function(){const e=this.getBrowser().getContext();if(e.bindTexture(this.getTarget(),this.getTexture()),this.isComplete()){const t=this.textures;for(let r=0;r<6;++r){const i=t[r],n=i.getWidth(),o=i.getHeight(),s=i.getData();e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!i.getFlipY()),s instanceof Uint8Array?e.texImage2D(this.getTargets()[r],0,e.RGBA,n,o,!1,e.RGBA,e.UNSIGNED_BYTE,s):e.texImage2D(this.getTargets()[r],0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,s)}e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),this.updateTextureParameters()}else this.clearTexture();this.set_transparent__()},set_transparent__:function(){const e=!1;if(this.isComplete())for(const t of this.textures)if(t._transparent.getValue()){e=!0;break}this.setTransparent(e)}});const E=S;g().set("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture",E);const y=E,I=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Base/X3DBaseNode");var M=r.n(I);const C=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Rendering/X3DRenderObject");var X=r.n(C);const B=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Rendering/TraverseType");var N=r.n(B);function D(e){M().call(this,e),X().call(this,e),this.renderObject=null}D.prototype=Object.assign(Object.create(M().prototype),X().prototype,{constructor:D,initialize:function(){M().prototype.initialize.call(this),X().prototype.initialize.call(this)},isIndependent:function(){return!1},setRenderer:function(e){this.renderObject=e},getLayer:function(){return this.renderObject.getLayer()},getBackground:function(){return this.renderObject.getBackground()},getFog:function(){return this.renderObject.getFog()},getNavigationInfo:function(){return this.renderObject.getNavigationInfo()},getViewpoint:function(){return this.renderObject.getViewpoint()},getLightContainer:function(){return this.renderObject.getLights()[this.lightIndex++]},render:function(e,t,r){switch(e){case N().COLLISION:case N().SHADOW:X().prototype.render.call(this,e,t,r);break;case N().DISPLAY:this.lightIndex=0,X().prototype.render.call(this,e,t,r);for(const e of this.renderObject.getLights())e.getModelViewMatrix().pop()}}});for(const e of Reflect.ownKeys(D.prototype))Object.defineProperty(D.prototype,e,{enumerable:!1});const O=D;g().set("x_ite/Rendering/DependentRenderer",O);const R=O,A=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Rendering/TextureBuffer");var v=r.n(A);const U=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Geometry/Camera");var F=r.n(U);const P=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Geometry/ViewVolume");var V=r.n(P);const L=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Numbers/Rotation4");var G=r.n(L);const j=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Numbers/Vector3");var q=r.n(j);const z=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Numbers/Vector4");var k=r.n(z);const Y=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Numbers/Matrix4");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Algorithm");var K=r.n(H);function Z(e){T.call(this,e),this.addType(c().GeneratedCubeMapTexture),this.dependentRenderer=new R(e),this.projectionMatrix=new(W()),this.modelMatrix=new(W()),this.viewVolume=new(V())}Z.prototype=Object.assign(Object.create(T.prototype),{constructor:Z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(c().inputOutput,"metadata",new(n().SFNode)),new(s())(c().inputOutput,"description",new(n().SFString)),new(s())(c().inputOutput,"update",new(n().SFString)("NONE")),new(s())(c().initializeOnly,"size",new(n().SFInt32)(128)),new(s())(c().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"GeneratedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},initialize:function(){T.prototype.initialize.call(this),this._size.addInterest("set_size__",this),this.dependentRenderer.setup(),this.set_size__()},set_size__:function(){const e=this.getBrowser().getContext(),t=e.getVersion()>=2?this._size.getValue():K().nextPowerOfTwo(this._size.getValue());if(t>0){const r=new Uint8Array(t*t*4);e.bindTexture(this.getTarget(),this.getTexture());for(const i of this.getTargets())e.texImage2D(i,0,e.RGBA,t,t,0,e.RGBA,e.UNSIGNED_BYTE,r);this.viewport=new(k())(0,0,t,t),this.frameBuffer=new(v())(this.getBrowser(),t,t)}else this.frameBuffer=null},traverse:function(e,t){"NONE"!==this._update.getValue()&&t.isIndependent()&&this.frameBuffer&&(t.getGeneratedCubeMapTextures().push(this),this.modelMatrix.assign(t.getModelViewMatrix().get()).multRight(t.getCameraSpaceMatrix().get()))},renderTexture:function(){const e=[new(G())(q().zAxis,new(q())(0,0,-1)),new(G())(q().zAxis,new(q())(0,0,1)),new(G())(q().zAxis,new(q())(1,0,0)),new(G())(q().zAxis,new(q())(-1,0,0)),new(G())(q().zAxis,new(q())(0,-1,0)),new(G())(q().zAxis,new(q())(0,1,0))],t=[new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(-1,-1,1),new(q())(1,1,1),new(q())(1,1,1)],r=new(W());return function(i){this.dependentRenderer.setRenderer(i);const n=this.dependentRenderer,o=this.getBrowser(),s=i.getLayer(),a=o.getContext(),u=n.getBackground(),d=n.getNavigationInfo(),h=n.getViewpoint(),l=o.getHeadlight(),c=d._headlight.getValue(),p=d.getNearValue(),g=d.getFarValue(h),x=F().perspective(K().radians(90),p,g,1,1,this.projectionMatrix);this.setTransparent(u.getTransparent()),this.frameBuffer.bind(),n.getViewVolumes().push(this.viewVolume.set(x,this.viewport,this.viewport)),n.getProjectionMatrix().pushMatrix(x),a.bindTexture(this.getTarget(),this.getTexture());for(let i=0;i<6;++i){a.clear(a.COLOR_BUFFER_BIT),n.getCameraSpaceMatrix().pushMatrix(this.modelMatrix),n.getCameraSpaceMatrix().rotate(e[i]),n.getCameraSpaceMatrix().scale(t[i]),n.getViewMatrix().pushMatrix(r.assign(n.getCameraSpaceMatrix().get()).inverse()),n.getModelViewMatrix().pushMatrix(r),c&&(l.getModelViewMatrix().pushMatrix(r),l.getModelViewMatrix().multLeft(h.getCameraSpaceMatrix())),s.traverse(N().DISPLAY,n),c&&l.getModelViewMatrix().pop(),n.getModelViewMatrix().pop(),n.getCameraSpaceMatrix().pop(),n.getViewMatrix().pop();const o=this.frameBuffer.readPixels(),u=this.frameBuffer.getWidth(),d=this.frameBuffer.getHeight();a.bindTexture(this.getTarget(),this.getTexture()),a.texImage2D(this.getTargets()[i],0,a.RGBA,u,d,!1,a.RGBA,a.UNSIGNED_BYTE,o)}this.updateTextureParameters(),n.getProjectionMatrix().pop(),n.getViewVolumes().pop(),this.frameBuffer.unbind(),"NEXT_FRAME_ONLY"===this._update.getValue()&&(this._update="NONE")}}(),setShaderUniforms:function(){const e=new Float32Array(16);return function(t,r,i,n){T.prototype.setShaderUniforms.call(this,t,r,i,n),i===this.dependentRenderer&&t.uniformMatrix4fv(r.x3d_ModelViewMatrix,!1,e)}}()});const J=Z;g().set("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture",J);const Q=J,$=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/Components/Networking/X3DUrlObject");var ee=r.n($);const te=window[Symbol.for("X_ITE.X3D-8.3.2")].require("standard/Math/Numbers/Vector2");var re=r.n(te);const ie=window[Symbol.for("X_ITE.X3D-8.3.2")].require("x_ite/DEBUG");var ne=r.n(ie),oe=r(355);const se=new Uint8Array([255,255,255,255]),ae=[new(re())(1,1),new(re())(3,1),new(re())(0,1),new(re())(2,1),new(re())(1,0),new(re())(1,2)];function ue(e){T.call(this,e),ee().call(this,e),this.addType(c().ImageCubeMapTexture),this.image=oe("<img></img>"),this.canvas=oe("<canvas></canvas>"),this.urlStack=new(n().MFString)}ue.prototype=Object.assign(Object.create(T.prototype),ee().prototype,{constructor:ue,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(c().inputOutput,"metadata",new(n().SFNode)),new(s())(c().inputOutput,"description",new(n().SFString)),new(s())(c().inputOutput,"load",new(n().SFBool)(!0)),new(s())(c().inputOutput,"url",new(n().MFString)),new(s())(c().inputOutput,"autoRefresh",new(n().SFTime)),new(s())(c().inputOutput,"autoRefreshTimeLimit",new(n().SFTime)(3600)),new(s())(c().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ImageCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},initialize:function(){T.prototype.initialize.call(this),ee().prototype.initialize.call(this);const e=this.getBrowser().getContext();e.bindTexture(this.getTarget(),this.getTexture());for(let t=0;t<6;++t)e.texImage2D(this.getTargets()[t],0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,se);this.image.on("load",this.setImage.bind(this)),this.image.on("abort error",this.setError.bind(this)),this.image[0].crossOrigin="Anonymous",this.requestImmediateLoad()},unLoadNow:function(){this.clearTexture()},loadNow:function(){this.urlStack.setValue(this._url),this.loadNext()},loadNext:function(){if(0===this.urlStack.length)return this.clearTexture(),void this.setLoadState(c().FAILED_STATE);this.URL=new URL(this.urlStack.shift(),this.getExecutionContext().getWorldURL()),"data:"!==this.URL.protocol&&(this.getBrowser().getBrowserOptions().getCache()&&this.getCache()||this.URL.searchParams.set("_",Date.now())),this.image.attr("src",this.URL.href)},setError:function(){"data:"!==this.URL.protocol&&console.warn("Error loading image:",decodeURI(this.URL.href)),this.loadNext()},setImage:function(){ne()&&"data:"!==this.URL.protocol&&console.info("Done loading image cube map texture:",decodeURI(this.URL.href));try{const e=this.image[0],t=this.canvas[0],r=t.getContext("2d",{willReadFrequently:!0});let i=e.width,n=e.height,o=Math.floor(i/4),s=Math.floor(n/3);K().isPowerOfTwo(o)&&K().isPowerOfTwo(s)&&4*o===i&&3*s===n?(t.width=i,t.height=n,r.drawImage(e,0,0)):(o=K().nextPowerOfTwo(o),s=K().nextPowerOfTwo(s),i=4*o,n=3*s,t.width=i,t.height=n,r.drawImage(e,0,0,e.width,e.height,0,0,i,n));const a=this.getBrowser().getContext();let u=!0;a.bindTexture(this.getTarget(),this.getTexture());for(let e=0;e<6;++e){const t=r.getImageData(ae[e].x*o,ae[e].y*s,o,s).data;if(u)for(let e=3;e<t.length;e+=4)if(255!==t[e]){u=!1;break}a.texImage2D(this.getTargets()[e],0,a.RGBA,o,s,!1,a.RGBA,a.UNSIGNED_BYTE,new Uint8Array(t.buffer))}this.updateTextureParameters(),this.setTransparent(!u),this.setLoadState(c().COMPLETE_STATE)}catch(e){console.log(e.message),this.setError()}},dispose:function(){ee().prototype.dispose.call(this),T.prototype.dispose.call(this)}});const de=ue;g().set("x_ite/Components/CubeMapTexturing/ImageCubeMapTexture",de);const he=de;t().addComponent({name:"CubeMapTexturing",types:{ComposedCubeMapTexture:y,GeneratedCubeMapTexture:Q,ImageCubeMapTexture:he},abstractTypes:{X3DEnvironmentTextureNode:T}});const le=void 0;g().set("assets/components/CubeMapTexturing",le)})()})();
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.3.0 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.3.2 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ // The require scope
4
4
  /******/ var __webpack_require__ = {};
@@ -39,25 +39,25 @@ var __webpack_exports__ = {};
39
39
  // UNUSED EXPORTS: default
40
40
 
41
41
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
42
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components");
43
43
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
44
44
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
45
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Fields");
46
46
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
47
47
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
48
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/X3DFieldDefinition");
49
49
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
50
50
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
51
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/FieldDefinitionArray");
52
52
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
53
53
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
54
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Core/X3DChildNode");
54
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Core/X3DChildNode");
55
55
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
56
56
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
57
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Base/X3DConstants");
57
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Base/X3DConstants");
58
58
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
59
59
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
60
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Namespace");
60
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Namespace");
61
61
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
62
62
  ;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/DISEntityManager.js
63
63
  /*******************************************************************************
@@ -153,10 +153,10 @@ const __default__ = DISEntityManager;
153
153
  Namespace_default().set ("x_ite/Components/DIS/DISEntityManager", __default__);
154
154
  /* harmony default export */ const DIS_DISEntityManager = (__default__);
155
155
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DInfoNode\")"
156
- const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Core/X3DInfoNode");
156
+ const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Core/X3DInfoNode");
157
157
  var X3DInfoNode_default = /*#__PURE__*/__webpack_require__.n(X3DInfoNode_namespaceObject);
158
158
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
159
- const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
159
+ const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Networking/X3DUrlObject");
160
160
  var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
161
161
  ;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/DISEntityTypeMapping.js
162
162
  /*******************************************************************************
@@ -277,10 +277,10 @@ const DISEntityTypeMapping_default_ = DISEntityTypeMapping;
277
277
  Namespace_default().set ("x_ite/Components/DIS/DISEntityTypeMapping", DISEntityTypeMapping_default_);
278
278
  /* harmony default export */ const DIS_DISEntityTypeMapping = (DISEntityTypeMapping_default_);
279
279
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
280
- const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
280
+ const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
281
281
  var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
282
282
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DSensorNode\")"
283
- const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Core/X3DSensorNode");
283
+ const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Core/X3DSensorNode");
284
284
  var X3DSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DSensorNode_namespaceObject);
285
285
  ;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/EspduTransform.js
286
286
  /*******************************************************************************
@@ -467,7 +467,7 @@ const EspduTransform_default_ = EspduTransform;
467
467
  Namespace_default().set ("x_ite/Components/DIS/EspduTransform", EspduTransform_default_);
468
468
  /* harmony default export */ const DIS_EspduTransform = (EspduTransform_default_);
469
469
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
470
- const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
470
+ const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.3.2")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
471
471
  var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
472
472
  ;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/ReceiverPdu.js
473
473
  /*******************************************************************************