x_ite 8.6.24 → 8.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/README.md +2 -0
  2. package/dist/assets/components/Annotation.js +13 -13
  3. package/dist/assets/components/Annotation.min.js +1 -1
  4. package/dist/assets/components/CADGeometry.js +13 -13
  5. package/dist/assets/components/CADGeometry.min.js +1 -1
  6. package/dist/assets/components/CubeMapTexturing.js +34 -39
  7. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  8. package/dist/assets/components/DIS.js +13 -13
  9. package/dist/assets/components/DIS.min.js +1 -1
  10. package/dist/assets/components/EventUtilities.js +9 -9
  11. package/dist/assets/components/EventUtilities.min.js +1 -1
  12. package/dist/assets/components/Geometry2D.js +19 -19
  13. package/dist/assets/components/Geometry2D.min.js +1 -1
  14. package/dist/assets/components/Geospatial.js +33 -33
  15. package/dist/assets/components/Geospatial.min.js +1 -1
  16. package/dist/assets/components/HAnim.js +18 -18
  17. package/dist/assets/components/HAnim.min.js +1 -1
  18. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  19. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  20. package/dist/assets/components/Layout.js +27 -27
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +32 -32
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +22 -22
  25. package/dist/assets/components/ParticleSystems.min.js +1 -1
  26. package/dist/assets/components/Picking.js +26 -26
  27. package/dist/assets/components/Picking.min.js +1 -1
  28. package/dist/assets/components/RigidBodyPhysics.js +20 -20
  29. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  30. package/dist/assets/components/Scripting.js +28 -28
  31. package/dist/assets/components/Scripting.min.js +1 -1
  32. package/dist/assets/components/Text.js +24 -24
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjector.js +14 -14
  35. package/dist/assets/components/TextureProjector.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +30 -30
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +25 -25
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +9 -9
  41. package/dist/assets/components/X_ITE.min.js +1 -1
  42. package/dist/x_ite.css +1 -1
  43. package/dist/x_ite.js +297 -257
  44. package/dist/x_ite.min.js +1 -1
  45. package/dist/x_ite.zip +0 -0
  46. package/docs/_config.yml +1 -1
  47. package/docs/_posts/accessing-the-external-browser.md +1 -1
  48. package/docs/_posts/components/Geospatial/GeoViewpoint.md +41 -0
  49. package/docs/_posts/components/Navigation/OrthoViewpoint.md +41 -0
  50. package/docs/_posts/components/Navigation/Viewpoint.md +41 -0
  51. package/docs/_posts/components/Networking/Inline.md +1 -1
  52. package/docs/_posts/components/X_ITE/BlendMode.md +1 -1
  53. package/docs/_posts/getting-started.md +4 -1
  54. package/docs/_posts/glossary.md +3 -3
  55. package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
  56. package/docs/_posts/reference/browser-services.md +48 -20
  57. package/docs/_posts/reference/field-services-and-objects.md +23 -23
  58. package/docs/_posts/reference/scene-services.md +1 -1
  59. package/docs/_posts/supported-nodes.md +1 -1
  60. package/docs/_posts/tutorials/basic-nodes.md +1 -1
  61. package/docs/_posts/tutorials/building-a-x3d-world.md +1 -1
  62. package/docs/_posts/tutorials/building-primitive-shapes.md +1 -1
  63. package/docs/_posts/tutorials/increasing-rendering-speed.md +1 -1
  64. package/docs/_posts/tutorials/introducing-x3d.md +1 -1
  65. package/docs/_posts/tutorials/overview.md +1 -1
  66. package/docs/_posts/what's-new.md +11 -1
  67. package/package.json +4 -4
  68. package/src/x_ite/Base/X3DBaseNode.js +2 -2
  69. package/src/x_ite/Base/X3DField.js +4 -4
  70. package/src/x_ite/Browser/Core/BrowserOptions.js +12 -4
  71. package/src/x_ite/Browser/Core/X3DCoreContext.js +79 -31
  72. package/src/x_ite/Browser/Legacy.js +1 -1
  73. package/src/x_ite/Browser/NURBS/NURBS.js +3 -3
  74. package/src/x_ite/Browser/Shaders/X3DShadersContext.js +2 -2
  75. package/src/x_ite/Browser/Texturing/X3DTexturingContext.js +10 -11
  76. package/src/x_ite/Browser/VERSION.js +1 -1
  77. package/src/x_ite/Browser/X3DBrowser.js +52 -28
  78. package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +9 -14
  79. package/src/x_ite/Components/EnvironmentalEffects/Background.js +6 -6
  80. package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +14 -34
  81. package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +9 -36
  82. package/src/x_ite/Components/NURBS/NurbsCurve.js +1 -1
  83. package/src/x_ite/Components/NURBS/NurbsCurve2D.js +1 -1
  84. package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +1 -1
  85. package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +1 -1
  86. package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +1 -1
  87. package/src/x_ite/Components/Picking/LinePickSensor.js +2 -2
  88. package/src/x_ite/Components/Picking/PointPickSensor.js +2 -2
  89. package/src/x_ite/Components/Picking/PrimitivePickSensor.js +2 -2
  90. package/src/x_ite/Components/Picking/VolumePickSensor.js +2 -2
  91. package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +1 -1
  92. package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +1 -1
  93. package/src/x_ite/Components/Shape/Material.js +10 -10
  94. package/src/x_ite/Components/Shape/PhysicalMaterial.js +6 -6
  95. package/src/x_ite/Components/Shape/X3DMaterialNode.js +1 -1
  96. package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +5 -5
  97. package/src/x_ite/Components/Sound/ListenerPointSource.js +2 -1
  98. package/src/x_ite/Components/Sound/MicrophoneSource.js +2 -1
  99. package/src/x_ite/Components/Sound/OscillatorSource.js +2 -1
  100. package/src/x_ite/Components/Sound/StreamAudioSource.js +2 -1
  101. package/src/x_ite/Components/Sound/X3DSoundProcessingNode.js +3 -0
  102. package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +2 -2
  103. package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +2 -2
  104. package/src/x_ite/Components/VolumeRendering/VolumeData.js +2 -2
  105. package/src/x_ite/Fields/SFNode.js +5 -5
  106. package/src/x_ite/Fields.js +5 -4
  107. package/src/x_ite/Parser/X3DParser.js +1 -1
  108. package/src/x_ite/X3DCanvasElement.js +4 -4
  109. package/src/x_ite.html +1 -1
  110. package/x_ite.min.html +1 -1
package/README.md CHANGED
@@ -26,6 +26,8 @@ If you are a developer or you always wanna be up to date:
26
26
  <script src="https://create3000.github.io/code/x_ite/latest/x_ite.min.js"></script>
27
27
  ```
28
28
 
29
+ >**Info:** It is no longer necessary to include the CSS file.
30
+
29
31
  ## NPM Usage
30
32
 
31
33
  ```sh
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.6.24 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.7.1 */(() => { // 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.6.24")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Components/Layering/X3DLayerNode");
54
+ const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Components/Navigation/Viewpoint");
57
+ const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Components/Grouping/Group");
60
+ const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Base/X3DConstants");
63
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Namespace");
66
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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
  /*******************************************************************************
@@ -169,7 +169,7 @@ const __default__ = AnnotationLayer;
169
169
  Namespace_default().set ("x_ite/Components/Annotation/AnnotationLayer", __default__);
170
170
  /* harmony default export */ const Annotation_AnnotationLayer = (__default__);
171
171
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
172
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Components/Core/X3DChildNode");
172
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Components/Core/X3DChildNode");
173
173
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
174
174
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationTarget.js
175
175
  /*******************************************************************************
@@ -270,7 +270,7 @@ const AnnotationTarget_default_ = AnnotationTarget;
270
270
  Namespace_default().set ("x_ite/Components/Annotation/AnnotationTarget", AnnotationTarget_default_);
271
271
  /* harmony default export */ const Annotation_AnnotationTarget = (AnnotationTarget_default_);
272
272
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
273
- const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
273
+ const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
274
274
  var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
275
275
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/X3DAnnotationNode.js
276
276
  /*******************************************************************************
@@ -458,7 +458,7 @@ const GroupAnnotation_default_ = GroupAnnotation;
458
458
  Namespace_default().set ("x_ite/Components/Annotation/GroupAnnotation", GroupAnnotation_default_);
459
459
  /* harmony default export */ const Annotation_GroupAnnotation = (GroupAnnotation_default_);
460
460
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
461
- const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Components/Networking/X3DUrlObject");
461
+ const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Components/Networking/X3DUrlObject");
462
462
  var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
463
463
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/IconAnnotation.js
464
464
  /*******************************************************************************
@@ -1 +1 @@
1
- /* X_ITE v8.6.24 */(()=>{"use strict";var n={n:t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},d:(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},o:(n,t)=>Object.prototype.hasOwnProperty.call(n,t)};const t=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components");var e=n.n(t);const o=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Fields");var i=n.n(o);const r=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/X3DFieldDefinition");var a=n.n(r);const u=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/FieldDefinitionArray");var p=n.n(u);const c=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Layering/X3DLayerNode");var s=n.n(c);const l=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Navigation/Viewpoint");var w=n.n(l);const d=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Grouping/Group");var y=n.n(d);const f=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/X3DConstants");var S=n.n(f);const m=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Namespace");var g=n.n(m);function O(n){s().call(this,n,new(w())(n),new(y())(n)),this.addType(S().AnnotationLayer)}O.prototype=Object.assign(Object.create(s().prototype),{constructor:O,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"isPickable",new(i().SFBool)(!0)),new(a())(S().inputOutput,"layoutPolicy",new(i().MFString)),new(a())(S().inputOutput,"shownGroupID",new(i().MFString)),new(a())(S().inputOutput,"viewport",new(i().SFNode))]),getTypeName:function(){return"AnnotationLayer"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"layers"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){s().prototype.initialize.call(this)}});const b=O;g().set("x_ite/Components/Annotation/AnnotationLayer",b);const F=b,X=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Core/X3DChildNode");var N=n.n(X);function T(n){N().call(this,n),this.addType(S().AnnotationTarget)}T.prototype=Object.assign(Object.create(N().prototype),{constructor:T,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"referencePoint",new(i().SFVec3f)(0,0,0)),new(a())(S().inputOutput,"leadLineStyle",new(i().SFNode)),new(a())(S().inputOutput,"marker",new(i().SFNode)),new(a())(S().inputOutput,"annotations",new(i().MFNode))]),getTypeName:function(){return"AnnotationTarget"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){N().prototype.initialize.call(this)}});const A=T;g().set("x_ite/Components/Annotation/AnnotationTarget",A);const h=A,D=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=n.n(D);function I(n){N().call(this,n),this.addType(S().X3DAnnotationNode)}I.prototype=Object.assign(Object.create(N().prototype),{constructor:I,initialize:function(){N().prototype.initialize.call(this)}});const C=I;g().set("x_ite/Components/Annotation/X3DAnnotationNode",C);const x=C;function E(n){_().call(this,n),x.call(this,n),this.addType(S().GroupAnnotation)}E.prototype=Object.assign(Object.create(_().prototype),x.prototype,{constructor:E,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(S().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(S().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(S().inputOutput,"visible",new(i().SFBool)(!0)),new(a())(S().inputOutput,"bboxDisplay",new(i().SFBool)),new(a())(S().initializeOnly,"bboxCenter",new(i().SFVec3f)(0,0,0)),new(a())(S().initializeOnly,"bboxSize",new(i().SFVec3f)(-1,-1,-1)),new(a())(S().inputOnly,"addChildren",new(i().MFNode)),new(a())(S().inputOnly,"removeChildren",new(i().MFNode)),new(a())(S().inputOutput,"children",new(i().MFNode))]),getTypeName:function(){return"GroupAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){_().prototype.initialize.call(this),x.prototype.initialize.call(this)},dispose:function(){x.prototype.dispose.call(this),_().prototype.dispose.call(this)}});const v=E;g().set("x_ite/Components/Annotation/GroupAnnotation",v);const z=v,j=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Networking/X3DUrlObject");var B=n.n(j);function R(n){x.call(this,n),B().call(this,n),this.addType(S().IconAnnotation)}R.prototype=Object.assign(Object.create(x.prototype),B().prototype,{constructor:R,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(S().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(S().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(S().inputOutput,"url",new(i().MFString)),new(a())(S().inputOutput,"autoRefresh",new(i().SFTime)),new(a())(S().inputOutput,"autoRefreshTimeLimit",new(i().SFTime)(3600))]),getTypeName:function(){return"IconAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){x.prototype.initialize.call(this),B().prototype.initialize.call(this)},requestImmediateLoad:function(n=!0){},dispose:function(){B().prototype.dispose.call(this),x.prototype.dispose.call(this)}});const q=R;g().set("x_ite/Components/Annotation/IconAnnotation",q);const G=q;function L(n){x.call(this,n),this.addType(S().TextAnnotation)}L.prototype=Object.assign(Object.create(x.prototype),{constructor:L,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(S().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(S().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(S().inputOutput,"contentType",new(i().SFString)("text/plain")),new(a())(S().inputOutput,"text",new(i().SFString))]),getTypeName:function(){return"TextAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){x.prototype.initialize.call(this)}});const M=L;g().set("x_ite/Components/Annotation/TextAnnotation",M);const P=M;function V(n){x.call(this,n),this.addType(S().URLAnnotation)}V.prototype=Object.assign(Object.create(x.prototype),{constructor:V,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(S().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(S().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(S().inputOutput,"url",new(i().MFString))]),getTypeName:function(){return"URLAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){x.prototype.initialize.call(this)}});const U=V;g().set("x_ite/Components/Annotation/URLAnnotation",U);const k=U;e().addComponent({name:"Annotation",types:{AnnotationLayer:F,AnnotationTarget:h,GroupAnnotation:z,IconAnnotation:G,TextAnnotation:P,URLAnnotation:k},abstractTypes:{X3DAnnotationNode:x}});const H=void 0;g().set("assets/components/Annotation",H)})();
1
+ /* X_ITE v8.7.1 */(()=>{"use strict";var n={n:t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},d:(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},o:(n,t)=>Object.prototype.hasOwnProperty.call(n,t)};const t=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components");var e=n.n(t);const o=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Fields");var i=n.n(o);const r=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/X3DFieldDefinition");var a=n.n(r);const u=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/FieldDefinitionArray");var p=n.n(u);const c=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Layering/X3DLayerNode");var s=n.n(c);const l=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Navigation/Viewpoint");var w=n.n(l);const d=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Grouping/Group");var y=n.n(d);const f=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/X3DConstants");var S=n.n(f);const m=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Namespace");var g=n.n(m);function O(n){s().call(this,n,new(w())(n),new(y())(n)),this.addType(S().AnnotationLayer)}O.prototype=Object.assign(Object.create(s().prototype),{constructor:O,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"isPickable",new(i().SFBool)(!0)),new(a())(S().inputOutput,"layoutPolicy",new(i().MFString)),new(a())(S().inputOutput,"shownGroupID",new(i().MFString)),new(a())(S().inputOutput,"viewport",new(i().SFNode))]),getTypeName:function(){return"AnnotationLayer"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"layers"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){s().prototype.initialize.call(this)}});const b=O;g().set("x_ite/Components/Annotation/AnnotationLayer",b);const F=b,X=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Core/X3DChildNode");var N=n.n(X);function T(n){N().call(this,n),this.addType(S().AnnotationTarget)}T.prototype=Object.assign(Object.create(N().prototype),{constructor:T,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"referencePoint",new(i().SFVec3f)(0,0,0)),new(a())(S().inputOutput,"leadLineStyle",new(i().SFNode)),new(a())(S().inputOutput,"marker",new(i().SFNode)),new(a())(S().inputOutput,"annotations",new(i().MFNode))]),getTypeName:function(){return"AnnotationTarget"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){N().prototype.initialize.call(this)}});const A=T;g().set("x_ite/Components/Annotation/AnnotationTarget",A);const h=A,D=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=n.n(D);function I(n){N().call(this,n),this.addType(S().X3DAnnotationNode)}I.prototype=Object.assign(Object.create(N().prototype),{constructor:I,initialize:function(){N().prototype.initialize.call(this)}});const C=I;g().set("x_ite/Components/Annotation/X3DAnnotationNode",C);const x=C;function E(n){_().call(this,n),x.call(this,n),this.addType(S().GroupAnnotation)}E.prototype=Object.assign(Object.create(_().prototype),x.prototype,{constructor:E,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(S().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(S().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(S().inputOutput,"visible",new(i().SFBool)(!0)),new(a())(S().inputOutput,"bboxDisplay",new(i().SFBool)),new(a())(S().initializeOnly,"bboxCenter",new(i().SFVec3f)(0,0,0)),new(a())(S().initializeOnly,"bboxSize",new(i().SFVec3f)(-1,-1,-1)),new(a())(S().inputOnly,"addChildren",new(i().MFNode)),new(a())(S().inputOnly,"removeChildren",new(i().MFNode)),new(a())(S().inputOutput,"children",new(i().MFNode))]),getTypeName:function(){return"GroupAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){_().prototype.initialize.call(this),x.prototype.initialize.call(this)},dispose:function(){x.prototype.dispose.call(this),_().prototype.dispose.call(this)}});const v=E;g().set("x_ite/Components/Annotation/GroupAnnotation",v);const z=v,j=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Networking/X3DUrlObject");var B=n.n(j);function R(n){x.call(this,n),B().call(this,n),this.addType(S().IconAnnotation)}R.prototype=Object.assign(Object.create(x.prototype),B().prototype,{constructor:R,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(S().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(S().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(S().inputOutput,"url",new(i().MFString)),new(a())(S().inputOutput,"autoRefresh",new(i().SFTime)),new(a())(S().inputOutput,"autoRefreshTimeLimit",new(i().SFTime)(3600))]),getTypeName:function(){return"IconAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){x.prototype.initialize.call(this),B().prototype.initialize.call(this)},requestImmediateLoad:function(n=!0){},dispose:function(){B().prototype.dispose.call(this),x.prototype.dispose.call(this)}});const q=R;g().set("x_ite/Components/Annotation/IconAnnotation",q);const G=q;function L(n){x.call(this,n),this.addType(S().TextAnnotation)}L.prototype=Object.assign(Object.create(x.prototype),{constructor:L,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(S().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(S().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(S().inputOutput,"contentType",new(i().SFString)("text/plain")),new(a())(S().inputOutput,"text",new(i().SFString))]),getTypeName:function(){return"TextAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){x.prototype.initialize.call(this)}});const M=L;g().set("x_ite/Components/Annotation/TextAnnotation",M);const P=M;function V(n){x.call(this,n),this.addType(S().URLAnnotation)}V.prototype=Object.assign(Object.create(x.prototype),{constructor:V,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(p())([new(a())(S().inputOutput,"metadata",new(i().SFNode)),new(a())(S().inputOutput,"enabled",new(i().SFBool)(!0)),new(a())(S().inputOutput,"annotationGroupID",new(i().SFString)),new(a())(S().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(a())(S().inputOutput,"url",new(i().MFString))]),getTypeName:function(){return"URLAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["4.0","Infinity"]},initialize:function(){x.prototype.initialize.call(this)}});const U=V;g().set("x_ite/Components/Annotation/URLAnnotation",U);const k=U;e().addComponent({name:"Annotation",types:{AnnotationLayer:F,AnnotationTarget:h,GroupAnnotation:z,IconAnnotation:G,TextAnnotation:P,URLAnnotation:k},abstractTypes:{X3DAnnotationNode:x}});const H=void 0;g().set("assets/components/Annotation",H)})();
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.6.24 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.7.1 */(() => { // 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.6.24")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
54
+ const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Components/Core/X3DChildNode");
57
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Base/X3DConstants");
60
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Namespace");
63
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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
  /*******************************************************************************
@@ -232,10 +232,10 @@ const CADAssembly_default_ = CADAssembly;
232
232
  Namespace_default().set ("x_ite/Components/CADGeometry/CADAssembly", CADAssembly_default_);
233
233
  /* harmony default export */ const CADGeometry_CADAssembly = (CADAssembly_default_);
234
234
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
235
- const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
235
+ const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
236
236
  var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
237
237
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
238
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Rendering/TraverseType");
238
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Rendering/TraverseType");
239
239
  var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
240
240
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADFace.js
241
241
  /*******************************************************************************
@@ -582,7 +582,7 @@ const CADLayer_default_ = CADLayer;
582
582
  Namespace_default().set ("x_ite/Components/CADGeometry/CADLayer", CADLayer_default_);
583
583
  /* harmony default export */ const CADGeometry_CADLayer = (CADLayer_default_);
584
584
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformNode\")"
585
- const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Components/Grouping/X3DTransformNode");
585
+ const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Components/Grouping/X3DTransformNode");
586
586
  var X3DTransformNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformNode_namespaceObject);
587
587
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADPart.js
588
588
  /*******************************************************************************
@@ -691,7 +691,7 @@ const CADPart_default_ = CADPart;
691
691
  Namespace_default().set ("x_ite/Components/CADGeometry/CADPart", CADPart_default_);
692
692
  /* harmony default export */ const CADGeometry_CADPart = (CADPart_default_);
693
693
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DComposedGeometryNode\")"
694
- const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Components/Rendering/X3DComposedGeometryNode");
694
+ const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Components/Rendering/X3DComposedGeometryNode");
695
695
  var X3DComposedGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DComposedGeometryNode_namespaceObject);
696
696
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/IndexedQuadSet.js
697
697
  /*******************************************************************************
@@ -1 +1 @@
1
- /* X_ITE v8.6.24 */(()=>{"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.6.24")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/X3DFieldDefinition");var s=e.n(r);const u=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/FieldDefinitionArray");var a=e.n(u);const l=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Grouping/X3DGroupingNode");var c=e.n(l);const d=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Core/X3DChildNode");var p=e.n(d);const w=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/X3DConstants");var b=e.n(w);const h=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Namespace");var y=e.n(h);function f(e){p().call(this,e),this.addType(b().X3DProductStructureChildNode)}f.prototype=Object.assign(Object.create(p().prototype),{constructor:f});const _=f;y().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",_);const m=_;function S(e){c().call(this,e),m.call(this,e),this.addType(b().CADAssembly)}S.prototype=Object.assign(Object.create(c().prototype),{constructor:S,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADAssembly"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.1","Infinity"]}});const O=S;y().set("x_ite/Components/CADGeometry/CADAssembly",O);const C=O,N=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Grouping/X3DBoundedObject");var D=e.n(N);const F=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Rendering/TraverseType");var g=e.n(F);function x(e){m.call(this,e),D().call(this,e),this.addType(b().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}x.prototype=Object.assign(Object.create(m.prototype),D().prototype,{constructor:x,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOutput,"shape",new(o().SFNode))]),getTypeName:function(){return"CADFace"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.1","Infinity"]},initialize:function(){m.prototype.initialize.call(this),D().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox:function(e,t){return this._bboxSize.getValue().equals(this.getDefaultBBoxSize())?this.visibleNode?.getBBox(e,t)??e.set():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 b().LOD:case b().Transform:case b().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_visible__(),this.set_bboxDisplay__()},set_cameraObject__:function(){this.setCameraObject(!!this.visibleNode?.isCameraObject())},set_transformSensors__:function(){this.setPickableObject(!!this.visibleNode?.isPickableObject())},set_visible__:function(){this.childNode?this.visibleNode=this.childNode._visible.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__(),this.set_transformSensors__()},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:return void this.visibleNode?.traverse(e,t);case g().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case g().COLLISION:return void this.visibleNode?.traverse(e,t);case g().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose:function(){D().prototype.dispose.call(this),m.prototype.dispose.call(this)}});const v=x;y().set("x_ite/Components/CADGeometry/CADFace",v);const I=v;function X(e){c().call(this,e),this.addType(b().CADLayer)}X.prototype=Object.assign(Object.create(c().prototype),{constructor:X,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADLayer"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.1","Infinity"]}});const A=X;y().set("x_ite/Components/CADGeometry/CADLayer",A);const T=A,B=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Grouping/X3DTransformNode");var j=e.n(B);function z(e){j().call(this,e),m.call(this,e),this.addType(b().CADPart)}z.prototype=Object.assign(Object.create(j().prototype),{constructor:z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"translation",new(o().SFVec3f)),new(s())(b().inputOutput,"rotation",new(o().SFRotation)),new(s())(b().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(s())(b().inputOutput,"scaleOrientation",new(o().SFRotation)),new(s())(b().inputOutput,"center",new(o().SFVec3f)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADPart"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.1","Infinity"]}});const P=z;y().set("x_ite/Components/CADGeometry/CADPart",P);const G=P,V=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var E=e.n(V);function M(e){E().call(this,e),this.addType(b().IndexedQuadSet)}M.prototype=Object.assign(Object.create(E().prototype),{constructor:M,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOnly,"set_index",new(o().MFInt32)),new(s())(b().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"index",new(o().MFInt32)),new(s())(b().inputOutput,"attrib",new(o().MFNode)),new(s())(b().inputOutput,"fogCoord",new(o().SFNode)),new(s())(b().inputOutput,"color",new(o().SFNode)),new(s())(b().inputOutput,"texCoord",new(o().SFNode)),new(s())(b().inputOutput,"normal",new(o().SFNode)),new(s())(b().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"IndexedQuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},getSpecificationRange:function(){return["3.1","Infinity"]},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 R=q;function L(e){E().call(this,e),this.addType(b().QuadSet)}L.prototype=Object.assign(Object.create(E().prototype),{constructor:L,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(b().inputOutput,"attrib",new(o().MFNode)),new(s())(b().inputOutput,"fogCoord",new(o().SFNode)),new(s())(b().inputOutput,"color",new(o().SFNode)),new(s())(b().inputOutput,"texCoord",new(o().SFNode)),new(s())(b().inputOutput,"normal",new(o().SFNode)),new(s())(b().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"QuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},getSpecificationRange:function(){return["3.1","Infinity"]},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 Q=L;y().set("x_ite/Components/CADGeometry/QuadSet",Q);const k=Q;n().addComponent({name:"CADGeometry",types:{CADAssembly:C,CADFace:I,CADLayer:T,CADPart:G,IndexedQuadSet:R,QuadSet:k},abstractTypes:{X3DProductStructureChildNode:m}});const H=void 0;y().set("assets/components/CADGeometry",H)})();
1
+ /* X_ITE v8.7.1 */(()=>{"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.7.1")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/X3DFieldDefinition");var s=e.n(r);const u=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/FieldDefinitionArray");var a=e.n(u);const l=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Grouping/X3DGroupingNode");var c=e.n(l);const d=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Core/X3DChildNode");var p=e.n(d);const w=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/X3DConstants");var b=e.n(w);const h=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Namespace");var y=e.n(h);function f(e){p().call(this,e),this.addType(b().X3DProductStructureChildNode)}f.prototype=Object.assign(Object.create(p().prototype),{constructor:f});const _=f;y().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",_);const m=_;function S(e){c().call(this,e),m.call(this,e),this.addType(b().CADAssembly)}S.prototype=Object.assign(Object.create(c().prototype),{constructor:S,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADAssembly"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.1","Infinity"]}});const O=S;y().set("x_ite/Components/CADGeometry/CADAssembly",O);const C=O,N=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Grouping/X3DBoundedObject");var D=e.n(N);const F=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Rendering/TraverseType");var g=e.n(F);function x(e){m.call(this,e),D().call(this,e),this.addType(b().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}x.prototype=Object.assign(Object.create(m.prototype),D().prototype,{constructor:x,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOutput,"shape",new(o().SFNode))]),getTypeName:function(){return"CADFace"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.1","Infinity"]},initialize:function(){m.prototype.initialize.call(this),D().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox:function(e,t){return this._bboxSize.getValue().equals(this.getDefaultBBoxSize())?this.visibleNode?.getBBox(e,t)??e.set():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 b().LOD:case b().Transform:case b().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_visible__(),this.set_bboxDisplay__()},set_cameraObject__:function(){this.setCameraObject(!!this.visibleNode?.isCameraObject())},set_transformSensors__:function(){this.setPickableObject(!!this.visibleNode?.isPickableObject())},set_visible__:function(){this.childNode?this.visibleNode=this.childNode._visible.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__(),this.set_transformSensors__()},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:return void this.visibleNode?.traverse(e,t);case g().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case g().COLLISION:return void this.visibleNode?.traverse(e,t);case g().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose:function(){D().prototype.dispose.call(this),m.prototype.dispose.call(this)}});const v=x;y().set("x_ite/Components/CADGeometry/CADFace",v);const I=v;function X(e){c().call(this,e),this.addType(b().CADLayer)}X.prototype=Object.assign(Object.create(c().prototype),{constructor:X,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADLayer"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.1","Infinity"]}});const A=X;y().set("x_ite/Components/CADGeometry/CADLayer",A);const T=A,B=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Grouping/X3DTransformNode");var j=e.n(B);function z(e){j().call(this,e),m.call(this,e),this.addType(b().CADPart)}z.prototype=Object.assign(Object.create(j().prototype),{constructor:z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOutput,"name",new(o().SFString)),new(s())(b().inputOutput,"translation",new(o().SFVec3f)),new(s())(b().inputOutput,"rotation",new(o().SFRotation)),new(s())(b().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(s())(b().inputOutput,"scaleOrientation",new(o().SFRotation)),new(s())(b().inputOutput,"center",new(o().SFVec3f)),new(s())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(s())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(s())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(s())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(s())(b().inputOnly,"addChildren",new(o().MFNode)),new(s())(b().inputOnly,"removeChildren",new(o().MFNode)),new(s())(b().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"CADPart"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.1","Infinity"]}});const P=z;y().set("x_ite/Components/CADGeometry/CADPart",P);const G=P,V=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var E=e.n(V);function M(e){E().call(this,e),this.addType(b().IndexedQuadSet)}M.prototype=Object.assign(Object.create(E().prototype),{constructor:M,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().inputOnly,"set_index",new(o().MFInt32)),new(s())(b().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"index",new(o().MFInt32)),new(s())(b().inputOutput,"attrib",new(o().MFNode)),new(s())(b().inputOutput,"fogCoord",new(o().SFNode)),new(s())(b().inputOutput,"color",new(o().SFNode)),new(s())(b().inputOutput,"texCoord",new(o().SFNode)),new(s())(b().inputOutput,"normal",new(o().SFNode)),new(s())(b().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"IndexedQuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},getSpecificationRange:function(){return["3.1","Infinity"]},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 R=q;function L(e){E().call(this,e),this.addType(b().QuadSet)}L.prototype=Object.assign(Object.create(E().prototype),{constructor:L,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(s())(b().inputOutput,"metadata",new(o().SFNode)),new(s())(b().initializeOnly,"solid",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"ccw",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(s())(b().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(s())(b().inputOutput,"attrib",new(o().MFNode)),new(s())(b().inputOutput,"fogCoord",new(o().SFNode)),new(s())(b().inputOutput,"color",new(o().SFNode)),new(s())(b().inputOutput,"texCoord",new(o().SFNode)),new(s())(b().inputOutput,"normal",new(o().SFNode)),new(s())(b().inputOutput,"coord",new(o().SFNode))]),getTypeName:function(){return"QuadSet"},getComponentName:function(){return"CADGeometry"},getContainerField:function(){return"geometry"},getSpecificationRange:function(){return["3.1","Infinity"]},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 Q=L;y().set("x_ite/Components/CADGeometry/QuadSet",Q);const k=Q;n().addComponent({name:"CADGeometry",types:{CADAssembly:C,CADFace:I,CADLayer:T,CADPart:G,IndexedQuadSet:R,QuadSet:k},abstractTypes:{X3DProductStructureChildNode:m}});const H=void 0;y().set("assets/components/CADGeometry",H)})();
@@ -1,11 +1,11 @@
1
- /* X_ITE v8.6.24 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.7.1 */(() => { // 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.6.24")] .require ("lib/jquery");
8
+ module.exports = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Components");
76
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Fields");
79
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Base/X3DFieldDefinition");
82
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Base/FieldDefinitionArray");
85
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Components/Texturing/X3DSingleTextureNode");
88
+ const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Base/X3DConstants");
91
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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.6.24")] .require ("x_ite/Namespace");
94
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .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
  /*******************************************************************************
@@ -227,10 +227,10 @@ const __default__ = X3DEnvironmentTextureNode;
227
227
  Namespace_default().set ("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode", __default__);
228
228
  /* harmony default export */ const CubeMapTexturing_X3DEnvironmentTextureNode = (__default__);
229
229
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
230
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Base/X3DCast");
230
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Base/X3DCast");
231
231
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
232
232
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Utility/BitSet\")"
233
- const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("standard/Utility/BitSet");
233
+ const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("standard/Utility/BitSet");
234
234
  var BitSet_default = /*#__PURE__*/__webpack_require__.n(BitSet_namespaceObject);
235
235
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js
236
236
  /*******************************************************************************
@@ -306,8 +306,8 @@ function ComposedCubeMapTexture (executionContext)
306
306
 
307
307
  this .addChildObjects ("update", new (Fields_default()).SFTime ());
308
308
 
309
- this .textureNodes = [null, null, null, null, null, null];
310
- this .loadStateBits = new (BitSet_default()) ();
309
+ this .textureNodes = [null, null, null, null, null, null];
310
+ this .textureBits = new (BitSet_default()) ();
311
311
  }
312
312
 
313
313
  ComposedCubeMapTexture .prototype = Object .assign (Object .create (CubeMapTexturing_X3DEnvironmentTextureNode.prototype),
@@ -373,32 +373,27 @@ ComposedCubeMapTexture .prototype = Object .assign (Object .create (CubeMapTextu
373
373
  {
374
374
  let textureNode = this .textureNodes [index];
375
375
 
376
- if (textureNode)
377
- textureNode .removeInterest ("set_loadState__", this);
376
+ textureNode ?.removeInterest ("set_loadState__", this);
378
377
 
379
378
  textureNode = this .textureNodes [index] = X3DCast_default() ((X3DConstants_default()).X3DTexture2DNode, node);
380
379
 
381
- if (textureNode)
382
- textureNode .addInterest ("set_loadState__", this, textureNode, index);
380
+ textureNode ?.addInterest ("set_loadState__", this, textureNode, index);
383
381
 
384
382
  this .set_loadState__ (textureNode, index);
385
383
  },
386
384
  set_loadState__: function (textureNode, index)
387
385
  {
388
- if (textureNode)
389
- this .setLoadStateBit (index, textureNode, textureNode .checkLoadState ());
390
- else
391
- this .setLoadStateBit (index, textureNode, (X3DConstants_default()).NOT_STARTED);
386
+ this .setTextureBit (index, textureNode, textureNode ?.checkLoadState () ?? (X3DConstants_default()).NOT_STARTED);
392
387
 
393
388
  this ._update .addEvent ();
394
389
  },
395
- setLoadStateBit: function (bit, textureNode, loadState)
390
+ setTextureBit: function (bit, textureNode, loadState)
396
391
  {
397
- this .loadStateBits .set (bit, loadState === (X3DConstants_default()).COMPLETE_STATE || textureNode .getWidth ());
392
+ this .textureBits .set (bit, loadState === (X3DConstants_default()).COMPLETE_STATE || textureNode ?.getWidth ());
398
393
  },
399
394
  isComplete: function ()
400
395
  {
401
- if (+this .loadStateBits !== 0b111111)
396
+ if (+this .textureBits !== 0b111111)
402
397
  return false;
403
398
 
404
399
  const
@@ -447,7 +442,7 @@ ComposedCubeMapTexture .prototype = Object .assign (Object .create (CubeMapTextu
447
442
  gl .texImage2D (this .getTargets () [i], 0, gl .RGBA, width, height, 0, gl .RGBA, gl .UNSIGNED_BYTE, textureNode .getElement ());
448
443
  else
449
444
  gl .texImage2D (this .getTargets () [i], 0, gl .RGBA, gl .RGBA, gl .UNSIGNED_BYTE, textureNode .getElement ());
450
-
445
+
451
446
  break;
452
447
  }
453
448
  default:
@@ -482,13 +477,13 @@ const ComposedCubeMapTexture_default_ = ComposedCubeMapTexture;
482
477
  Namespace_default().set ("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture", ComposedCubeMapTexture_default_);
483
478
  /* harmony default export */ const CubeMapTexturing_ComposedCubeMapTexture = (ComposedCubeMapTexture_default_);
484
479
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DBaseNode\")"
485
- const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Base/X3DBaseNode");
480
+ const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Base/X3DBaseNode");
486
481
  var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
487
482
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/X3DRenderObject\")"
488
- const X3DRenderObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Rendering/X3DRenderObject");
483
+ const X3DRenderObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Rendering/X3DRenderObject");
489
484
  var X3DRenderObject_default = /*#__PURE__*/__webpack_require__.n(X3DRenderObject_namespaceObject);
490
485
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
491
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Rendering/TraverseType");
486
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Rendering/TraverseType");
492
487
  var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
493
488
  ;// CONCATENATED MODULE: ./src/x_ite/Rendering/DependentRenderer.js
494
489
  /*******************************************************************************
@@ -629,28 +624,28 @@ const DependentRenderer_default_ = DependentRenderer;
629
624
  Namespace_default().set ("x_ite/Rendering/DependentRenderer", DependentRenderer_default_);
630
625
  /* harmony default export */ const Rendering_DependentRenderer = (DependentRenderer_default_);
631
626
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TextureBuffer\")"
632
- const TextureBuffer_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Rendering/TextureBuffer");
627
+ const TextureBuffer_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Rendering/TextureBuffer");
633
628
  var TextureBuffer_default = /*#__PURE__*/__webpack_require__.n(TextureBuffer_namespaceObject);
634
629
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Camera\")"
635
- const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("standard/Math/Geometry/Camera");
630
+ const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("standard/Math/Geometry/Camera");
636
631
  var Camera_default = /*#__PURE__*/__webpack_require__.n(Camera_namespaceObject);
637
632
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/ViewVolume\")"
638
- const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("standard/Math/Geometry/ViewVolume");
633
+ const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("standard/Math/Geometry/ViewVolume");
639
634
  var ViewVolume_default = /*#__PURE__*/__webpack_require__.n(ViewVolume_namespaceObject);
640
635
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
641
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("standard/Math/Numbers/Rotation4");
636
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("standard/Math/Numbers/Rotation4");
642
637
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
643
638
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
644
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("standard/Math/Numbers/Vector3");
639
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("standard/Math/Numbers/Vector3");
645
640
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
646
641
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
647
- const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("standard/Math/Numbers/Vector4");
642
+ const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("standard/Math/Numbers/Vector4");
648
643
  var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject);
649
644
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
650
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("standard/Math/Numbers/Matrix4");
645
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("standard/Math/Numbers/Matrix4");
651
646
  var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
652
647
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
653
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("standard/Math/Algorithm");
648
+ const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("standard/Math/Algorithm");
654
649
  var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
655
650
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js
656
651
  /*******************************************************************************
@@ -942,13 +937,13 @@ const GeneratedCubeMapTexture_default_ = GeneratedCubeMapTexture;
942
937
  Namespace_default().set ("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture", GeneratedCubeMapTexture_default_);
943
938
  /* harmony default export */ const CubeMapTexturing_GeneratedCubeMapTexture = (GeneratedCubeMapTexture_default_);
944
939
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
945
- const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/Components/Networking/X3DUrlObject");
940
+ const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/Components/Networking/X3DUrlObject");
946
941
  var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
947
942
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
948
- const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("standard/Math/Numbers/Vector2");
943
+ const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("standard/Math/Numbers/Vector2");
949
944
  var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
950
945
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/DEBUG\")"
951
- const DEBUG_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.24")] .require ("x_ite/DEBUG");
946
+ const DEBUG_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.7.1")] .require ("x_ite/DEBUG");
952
947
  var DEBUG_default = /*#__PURE__*/__webpack_require__.n(DEBUG_namespaceObject);
953
948
  ;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js
954
949
  /* provided dependency */ var $ = __webpack_require__(355);
@@ -1 +1 @@
1
- /* X_ITE v8.6.24 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.6.24")].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.6.24")].require("x_ite/Components");var t=r.n(e);const i=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Fields");var n=r.n(i);const o=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/X3DFieldDefinition");var s=r.n(o);const a=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/FieldDefinitionArray");var u=r.n(a);const d=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var h=r.n(d);const c=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/X3DConstants");var g=r.n(c);const p=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Namespace");var l=r.n(p);function T(e){h().call(this,e),this.addType(g().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]}T.prototype=Object.assign(Object.create(h().prototype),{constructor:T,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);this.setTransparent(!1)}}(),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=T;l().set("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode",x);const f=x,_=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/X3DCast");var w=r.n(_);const m=window[Symbol.for("X_ITE.X3D-8.6.24")].require("standard/Utility/BitSet");var b=r.n(m);function E(e){f.call(this,e),this.addType(g().ComposedCubeMapTexture),e.getSpecificationVersion()<4&&(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.addChildObjects("update",new(n().SFTime)),this.textureNodes=[null,null,null,null,null,null],this.loadStateBits=new(b())}E.prototype=Object.assign(Object.create(f.prototype),{constructor:E,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(g().inputOutput,"metadata",new(n().SFNode)),new(s())(g().inputOutput,"description",new(n().SFString)),new(s())(g().inputOutput,"frontTexture",new(n().SFNode)),new(s())(g().inputOutput,"backTexture",new(n().SFNode)),new(s())(g().inputOutput,"leftTexture",new(n().SFNode)),new(s())(g().inputOutput,"rightTexture",new(n().SFNode)),new(s())(g().inputOutput,"bottomTexture",new(n().SFNode)),new(s())(g().inputOutput,"topTexture",new(n().SFNode)),new(s())(g().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ComposedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},getSpecificationRange:function(){return["3.1","Infinity"]},initialize:function(){f.prototype.initialize.call(this);const e=this.getBrowser().getContext();this.frameBuffer=e.createFramebuffer(),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._update.addInterest("update",this),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.textureNodes[t];r&&r.removeInterest("set_loadState__",this),r=this.textureNodes[t]=w()(g().X3DTexture2DNode,e),r&&r.addInterest("set_loadState__",this,r,t),this.set_loadState__(r,t)},set_loadState__:function(e,t){e?this.setLoadStateBit(t,e,e.checkLoadState()):this.setLoadStateBit(t,e,g().NOT_STARTED),this._update.addEvent()},setLoadStateBit:function(e,t,r){this.loadStateBits.set(e,r===g().COMPLETE_STATE||t.getWidth())},isComplete:function(){if(63!=+this.loadStateBits)return!1;const e=this.textureNodes,t=e[0].getWidth();for(const r of e){if(r.getWidth()!==t)return!1;if(r.getHeight()!==t)return!1}return!0},update:function(){if(this.isComplete()){const e=this.getBrowser().getContext(),t=this.textureNodes,r=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,this.frameBuffer);for(let r=0;r<6;++r){const i=t[r],n=i.getWidth(),o=i.getHeight();switch(i.getType().at(-1)){case g().ImageTexture:case g().MovieTexture:e.bindTexture(this.getTarget(),this.getTexture()),e.getVersion()>=2?e.texImage2D(this.getTargets()[r],0,e.RGBA,n,o,0,e.RGBA,e.UNSIGNED_BYTE,i.getElement()):e.texImage2D(this.getTargets()[r],0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,i.getElement());break;default:e.bindTexture(e.TEXTURE_2D,i.getTexture()),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i.getTexture(),0),e.bindTexture(this.getTarget(),this.getTexture()),e.texImage2D(this.getTargets()[r],0,e.RGBA,n,o,0,e.RGBA,e.UNSIGNED_BYTE,null),e.copyTexSubImage2D(this.getTargets()[r],0,0,0,0,0,n,o)}}e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),e.bindFramebuffer(e.FRAMEBUFFER,r),this.setTransparent(t.some((e=>e.isTransparent()))),this.updateTextureParameters()}else this.clearTexture()}});const S=E;l().set("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture",S);const y=S,I=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Base/X3DBaseNode");var M=r.n(I);const C=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Rendering/X3DRenderObject");var B=r.n(C);const X=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Rendering/TraverseType");var N=r.n(X);function D(e){M().call(this,e),B().call(this,e),this.renderObject=null}D.prototype=Object.assign(Object.create(M().prototype),B().prototype,{constructor:D,initialize:function(){M().prototype.initialize.call(this),B().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:B().prototype.render.call(this,e,t,r);break;case N().DISPLAY:this.lightIndex=0,B().prototype.render.call(this,e,t,r);for(const e of this.renderObject.getLights())e.modelViewMatrix.pop()}}});for(const e of Reflect.ownKeys(D.prototype))Object.defineProperty(D.prototype,e,{enumerable:!1});const R=D;l().set("x_ite/Rendering/DependentRenderer",R);const O=R,A=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Rendering/TextureBuffer");var v=r.n(A);const U=window[Symbol.for("X_ITE.X3D-8.6.24")].require("standard/Math/Geometry/Camera");var F=r.n(U);const V=window[Symbol.for("X_ITE.X3D-8.6.24")].require("standard/Math/Geometry/ViewVolume");var P=r.n(V);const L=window[Symbol.for("X_ITE.X3D-8.6.24")].require("standard/Math/Numbers/Rotation4");var G=r.n(L);const j=window[Symbol.for("X_ITE.X3D-8.6.24")].require("standard/Math/Numbers/Vector3");var q=r.n(j);const z=window[Symbol.for("X_ITE.X3D-8.6.24")].require("standard/Math/Numbers/Vector4");var k=r.n(z);const Y=window[Symbol.for("X_ITE.X3D-8.6.24")].require("standard/Math/Numbers/Matrix4");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-8.6.24")].require("standard/Math/Algorithm");var K=r.n(H);function Z(e){f.call(this,e),this.addType(g().GeneratedCubeMapTexture),this.dependentRenderer=new O(e),this.projectionMatrix=new(W()),this.modelMatrix=new(W()),this.viewVolume=new(P())}Z.prototype=Object.assign(Object.create(f.prototype),{constructor:Z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(g().inputOutput,"metadata",new(n().SFNode)),new(s())(g().inputOutput,"description",new(n().SFString)),new(s())(g().inputOutput,"update",new(n().SFString)("NONE")),new(s())(g().initializeOnly,"size",new(n().SFInt32)(128)),new(s())(g().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"GeneratedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){f.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.updateTextureParameters(),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(),c=o.getHeadlight(),g=d._headlight.getValue(),p=d.getNearValue(),l=d.getFarValue(h),T=F().perspective(K().radians(90),p,l,1,1,this.projectionMatrix),x=this.frameBuffer.getWidth(),f=this.frameBuffer.getHeight();this.setTransparent(u.isTransparent()),this.frameBuffer.bind(),n.getViewVolumes().push(this.viewVolume.set(T,this.viewport,this.viewport)),n.getProjectionMatrix().pushMatrix(T),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),g&&(c.modelViewMatrix.pushMatrix(r),c.modelViewMatrix.multLeft(h.getCameraSpaceMatrix())),s.traverse(N().DISPLAY,n),g&&c.modelViewMatrix.pop(),n.getModelViewMatrix().pop(),n.getCameraSpaceMatrix().pop(),n.getViewMatrix().pop(),a.bindTexture(this.getTarget(),this.getTexture()),a.copyTexSubImage2D(this.getTargets()[i],0,0,0,0,0,x,f);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){f.prototype.setShaderUniforms.call(this,t,r,i,n),i===this.dependentRenderer&&t.uniformMatrix4fv(r.x3d_ModelViewMatrix,!1,e)}}()});const $=Z;l().set("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture",$);const J=$,Q=window[Symbol.for("X_ITE.X3D-8.6.24")].require("x_ite/Components/Networking/X3DUrlObject");var ee=r.n(Q);const te=window[Symbol.for("X_ITE.X3D-8.6.24")].require("standard/Math/Numbers/Vector2");var re=r.n(te);const ie=window[Symbol.for("X_ITE.X3D-8.6.24")].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){f.call(this,e),ee().call(this,e),this.addType(g().ImageCubeMapTexture),this.image=oe("<img></img>"),this.canvas=oe("<canvas></canvas>"),this.urlStack=new(n().MFString)}ue.prototype=Object.assign(Object.create(f.prototype),ee().prototype,{constructor:ue,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(g().inputOutput,"metadata",new(n().SFNode)),new(s())(g().inputOutput,"description",new(n().SFString)),new(s())(g().inputOutput,"load",new(n().SFBool)(!0)),new(s())(g().inputOutput,"url",new(n().MFString)),new(s())(g().inputOutput,"autoRefresh",new(n().SFTime)),new(s())(g().inputOutput,"autoRefreshTimeLimit",new(n().SFTime)(3600)),new(s())(g().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ImageCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){f.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.prop("crossOrigin","Anonymous"),this.requestImmediateLoad().catch(Function.prototype)},unloadData:function(){this.clearTexture()},loadData:function(){this.urlStack.setValue(this._url),this.loadNext()},loadNext:function(){if(0===this.urlStack.length)return this.clearTexture(),void this.setLoadState(g().FAILED_STATE);this.URL=new URL(this.urlStack.shift(),this.getExecutionContext().getWorldURL()),"data:"!==this.URL.protocol&&(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(g().COMPLETE_STATE)}catch(e){console.log(e.message),this.setError()}},dispose:function(){ee().prototype.dispose.call(this),f.prototype.dispose.call(this)}});const de=ue;l().set("x_ite/Components/CubeMapTexturing/ImageCubeMapTexture",de);const he=de;t().addComponent({name:"CubeMapTexturing",types:{ComposedCubeMapTexture:y,GeneratedCubeMapTexture:J,ImageCubeMapTexture:he},abstractTypes:{X3DEnvironmentTextureNode:f}});const ce=void 0;l().set("assets/components/CubeMapTexturing",ce)})()})();
1
+ /* X_ITE v8.7.1 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.7.1")].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.7.1")].require("x_ite/Components");var t=r.n(e);const i=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Fields");var n=r.n(i);const o=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/X3DFieldDefinition");var s=r.n(o);const a=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/FieldDefinitionArray");var u=r.n(a);const d=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var h=r.n(d);const c=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/X3DConstants");var g=r.n(c);const p=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Namespace");var l=r.n(p);function T(e){h().call(this,e),this.addType(g().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]}T.prototype=Object.assign(Object.create(h().prototype),{constructor:T,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);this.setTransparent(!1)}}(),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=T;l().set("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode",x);const f=x,_=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/X3DCast");var w=r.n(_);const m=window[Symbol.for("X_ITE.X3D-8.7.1")].require("standard/Utility/BitSet");var b=r.n(m);function E(e){f.call(this,e),this.addType(g().ComposedCubeMapTexture),e.getSpecificationVersion()<4&&(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.addChildObjects("update",new(n().SFTime)),this.textureNodes=[null,null,null,null,null,null],this.textureBits=new(b())}E.prototype=Object.assign(Object.create(f.prototype),{constructor:E,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(g().inputOutput,"metadata",new(n().SFNode)),new(s())(g().inputOutput,"description",new(n().SFString)),new(s())(g().inputOutput,"frontTexture",new(n().SFNode)),new(s())(g().inputOutput,"backTexture",new(n().SFNode)),new(s())(g().inputOutput,"leftTexture",new(n().SFNode)),new(s())(g().inputOutput,"rightTexture",new(n().SFNode)),new(s())(g().inputOutput,"bottomTexture",new(n().SFNode)),new(s())(g().inputOutput,"topTexture",new(n().SFNode)),new(s())(g().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ComposedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},getSpecificationRange:function(){return["3.1","Infinity"]},initialize:function(){f.prototype.initialize.call(this);const e=this.getBrowser().getContext();this.frameBuffer=e.createFramebuffer(),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._update.addInterest("update",this),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.textureNodes[t];r?.removeInterest("set_loadState__",this),r=this.textureNodes[t]=w()(g().X3DTexture2DNode,e),r?.addInterest("set_loadState__",this,r,t),this.set_loadState__(r,t)},set_loadState__:function(e,t){this.setTextureBit(t,e,e?.checkLoadState()??g().NOT_STARTED),this._update.addEvent()},setTextureBit:function(e,t,r){this.textureBits.set(e,r===g().COMPLETE_STATE||t?.getWidth())},isComplete:function(){if(63!=+this.textureBits)return!1;const e=this.textureNodes,t=e[0].getWidth();for(const r of e){if(r.getWidth()!==t)return!1;if(r.getHeight()!==t)return!1}return!0},update:function(){if(this.isComplete()){const e=this.getBrowser().getContext(),t=this.textureNodes,r=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,this.frameBuffer);for(let r=0;r<6;++r){const i=t[r],n=i.getWidth(),o=i.getHeight();switch(i.getType().at(-1)){case g().ImageTexture:case g().MovieTexture:e.bindTexture(this.getTarget(),this.getTexture()),e.getVersion()>=2?e.texImage2D(this.getTargets()[r],0,e.RGBA,n,o,0,e.RGBA,e.UNSIGNED_BYTE,i.getElement()):e.texImage2D(this.getTargets()[r],0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,i.getElement());break;default:e.bindTexture(e.TEXTURE_2D,i.getTexture()),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i.getTexture(),0),e.bindTexture(this.getTarget(),this.getTexture()),e.texImage2D(this.getTargets()[r],0,e.RGBA,n,o,0,e.RGBA,e.UNSIGNED_BYTE,null),e.copyTexSubImage2D(this.getTargets()[r],0,0,0,0,0,n,o)}}e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),e.bindFramebuffer(e.FRAMEBUFFER,r),this.setTransparent(t.some((e=>e.isTransparent()))),this.updateTextureParameters()}else this.clearTexture()}});const S=E;l().set("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture",S);const y=S,I=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Base/X3DBaseNode");var M=r.n(I);const C=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Rendering/X3DRenderObject");var X=r.n(C);const B=window[Symbol.for("X_ITE.X3D-8.7.1")].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.modelViewMatrix.pop()}}});for(const e of Reflect.ownKeys(D.prototype))Object.defineProperty(D.prototype,e,{enumerable:!1});const R=D;l().set("x_ite/Rendering/DependentRenderer",R);const O=R,A=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Rendering/TextureBuffer");var v=r.n(A);const U=window[Symbol.for("X_ITE.X3D-8.7.1")].require("standard/Math/Geometry/Camera");var F=r.n(U);const V=window[Symbol.for("X_ITE.X3D-8.7.1")].require("standard/Math/Geometry/ViewVolume");var P=r.n(V);const G=window[Symbol.for("X_ITE.X3D-8.7.1")].require("standard/Math/Numbers/Rotation4");var L=r.n(G);const j=window[Symbol.for("X_ITE.X3D-8.7.1")].require("standard/Math/Numbers/Vector3");var q=r.n(j);const z=window[Symbol.for("X_ITE.X3D-8.7.1")].require("standard/Math/Numbers/Vector4");var k=r.n(z);const Y=window[Symbol.for("X_ITE.X3D-8.7.1")].require("standard/Math/Numbers/Matrix4");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-8.7.1")].require("standard/Math/Algorithm");var K=r.n(H);function Z(e){f.call(this,e),this.addType(g().GeneratedCubeMapTexture),this.dependentRenderer=new O(e),this.projectionMatrix=new(W()),this.modelMatrix=new(W()),this.viewVolume=new(P())}Z.prototype=Object.assign(Object.create(f.prototype),{constructor:Z,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(g().inputOutput,"metadata",new(n().SFNode)),new(s())(g().inputOutput,"description",new(n().SFString)),new(s())(g().inputOutput,"update",new(n().SFString)("NONE")),new(s())(g().initializeOnly,"size",new(n().SFInt32)(128)),new(s())(g().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"GeneratedCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){f.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.updateTextureParameters(),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(L())(q().zAxis,new(q())(0,0,-1)),new(L())(q().zAxis,new(q())(0,0,1)),new(L())(q().zAxis,new(q())(1,0,0)),new(L())(q().zAxis,new(q())(-1,0,0)),new(L())(q().zAxis,new(q())(0,-1,0)),new(L())(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(),c=o.getHeadlight(),g=d._headlight.getValue(),p=d.getNearValue(),l=d.getFarValue(h),T=F().perspective(K().radians(90),p,l,1,1,this.projectionMatrix),x=this.frameBuffer.getWidth(),f=this.frameBuffer.getHeight();this.setTransparent(u.isTransparent()),this.frameBuffer.bind(),n.getViewVolumes().push(this.viewVolume.set(T,this.viewport,this.viewport)),n.getProjectionMatrix().pushMatrix(T),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),g&&(c.modelViewMatrix.pushMatrix(r),c.modelViewMatrix.multLeft(h.getCameraSpaceMatrix())),s.traverse(N().DISPLAY,n),g&&c.modelViewMatrix.pop(),n.getModelViewMatrix().pop(),n.getCameraSpaceMatrix().pop(),n.getViewMatrix().pop(),a.bindTexture(this.getTarget(),this.getTexture()),a.copyTexSubImage2D(this.getTargets()[i],0,0,0,0,0,x,f);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){f.prototype.setShaderUniforms.call(this,t,r,i,n),i===this.dependentRenderer&&t.uniformMatrix4fv(r.x3d_ModelViewMatrix,!1,e)}}()});const $=Z;l().set("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture",$);const J=$,Q=window[Symbol.for("X_ITE.X3D-8.7.1")].require("x_ite/Components/Networking/X3DUrlObject");var ee=r.n(Q);const te=window[Symbol.for("X_ITE.X3D-8.7.1")].require("standard/Math/Numbers/Vector2");var re=r.n(te);const ie=window[Symbol.for("X_ITE.X3D-8.7.1")].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){f.call(this,e),ee().call(this,e),this.addType(g().ImageCubeMapTexture),this.image=oe("<img></img>"),this.canvas=oe("<canvas></canvas>"),this.urlStack=new(n().MFString)}ue.prototype=Object.assign(Object.create(f.prototype),ee().prototype,{constructor:ue,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(u())([new(s())(g().inputOutput,"metadata",new(n().SFNode)),new(s())(g().inputOutput,"description",new(n().SFString)),new(s())(g().inputOutput,"load",new(n().SFBool)(!0)),new(s())(g().inputOutput,"url",new(n().MFString)),new(s())(g().inputOutput,"autoRefresh",new(n().SFTime)),new(s())(g().inputOutput,"autoRefreshTimeLimit",new(n().SFTime)(3600)),new(s())(g().initializeOnly,"textureProperties",new(n().SFNode))]),getTypeName:function(){return"ImageCubeMapTexture"},getComponentName:function(){return"CubeMapTexturing"},getContainerField:function(){return"texture"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){f.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.prop("crossOrigin","Anonymous"),this.requestImmediateLoad().catch(Function.prototype)},unloadData:function(){this.clearTexture()},loadData:function(){this.urlStack.setValue(this._url),this.loadNext()},loadNext:function(){if(0===this.urlStack.length)return this.clearTexture(),void this.setLoadState(g().FAILED_STATE);this.URL=new URL(this.urlStack.shift(),this.getExecutionContext().getWorldURL()),"data:"!==this.URL.protocol&&(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(g().COMPLETE_STATE)}catch(e){console.log(e.message),this.setError()}},dispose:function(){ee().prototype.dispose.call(this),f.prototype.dispose.call(this)}});const de=ue;l().set("x_ite/Components/CubeMapTexturing/ImageCubeMapTexture",de);const he=de;t().addComponent({name:"CubeMapTexturing",types:{ComposedCubeMapTexture:y,GeneratedCubeMapTexture:J,ImageCubeMapTexture:he},abstractTypes:{X3DEnvironmentTextureNode:f}});const ce=void 0;l().set("assets/components/CubeMapTexturing",ce)})()})();