x_ite 9.1.9 → 9.1.11

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 (47) hide show
  1. package/dist/assets/components/Annotation.js +13 -13
  2. package/dist/assets/components/Annotation.min.js +1 -1
  3. package/dist/assets/components/CADGeometry.js +14 -14
  4. package/dist/assets/components/CADGeometry.min.js +1 -1
  5. package/dist/assets/components/CubeMapTexturing.js +25 -25
  6. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  7. package/dist/assets/components/DIS.js +13 -13
  8. package/dist/assets/components/DIS.min.js +1 -1
  9. package/dist/assets/components/EventUtilities.js +9 -9
  10. package/dist/assets/components/EventUtilities.min.js +1 -1
  11. package/dist/assets/components/Geometry2D.js +19 -19
  12. package/dist/assets/components/Geometry2D.min.js +1 -1
  13. package/dist/assets/components/Geospatial.js +33 -33
  14. package/dist/assets/components/Geospatial.min.js +1 -1
  15. package/dist/assets/components/HAnim.js +23 -23
  16. package/dist/assets/components/HAnim.min.js +1 -1
  17. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  18. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  19. package/dist/assets/components/Layout.js +27 -27
  20. package/dist/assets/components/Layout.min.js +1 -1
  21. package/dist/assets/components/NURBS.js +23 -23
  22. package/dist/assets/components/NURBS.min.js +1 -1
  23. package/dist/assets/components/ParticleSystems.js +23 -23
  24. package/dist/assets/components/ParticleSystems.min.js +1 -1
  25. package/dist/assets/components/Picking.js +18 -18
  26. package/dist/assets/components/Picking.min.js +1 -1
  27. package/dist/assets/components/RigidBodyPhysics.js +17 -17
  28. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  29. package/dist/assets/components/Scripting.js +38 -38
  30. package/dist/assets/components/Scripting.min.js +1 -1
  31. package/dist/assets/components/Text.js +24 -24
  32. package/dist/assets/components/Text.min.js +1 -1
  33. package/dist/assets/components/TextureProjection.js +15 -15
  34. package/dist/assets/components/TextureProjection.min.js +1 -1
  35. package/dist/assets/components/Texturing3D.js +30 -30
  36. package/dist/assets/components/Texturing3D.min.js +1 -1
  37. package/dist/assets/components/VolumeRendering.js +19 -19
  38. package/dist/assets/components/VolumeRendering.min.js +1 -1
  39. package/dist/assets/components/X_ITE.js +8 -8
  40. package/dist/assets/components/X_ITE.min.js +1 -1
  41. package/dist/x_ite.css +1 -1
  42. package/dist/x_ite.js +797 -691
  43. package/dist/x_ite.min.js +1 -1
  44. package/dist/x_ite.min.mjs +1 -1
  45. package/dist/x_ite.mjs +797 -691
  46. package/dist/x_ite.zip +0 -0
  47. package/package.json +2 -2
package/dist/x_ite.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* X_ITE v9.1.9 */var __webpack_modules__ = ({
1
+ /* X_ITE v9.1.11 */var __webpack_modules__ = ({
2
2
 
3
- /***/ 323:
3
+ /***/ 561:
4
4
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
5
5
 
6
- /* provided dependency */ var jQuery = __webpack_require__(604);
6
+ /* provided dependency */ var jQuery = __webpack_require__(831);
7
7
  /**
8
8
  * @preserve jquery.fullscreen 1.1.5
9
9
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -199,7 +199,7 @@ installFullScreenHandlers();
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 674:
202
+ /***/ 471:
203
203
  /***/ ((module, exports, __webpack_require__) => {
204
204
 
205
205
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -213,7 +213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
213
213
  (function (factory) {
214
214
  if ( true ) {
215
215
  // AMD. Register as an anonymous module.
216
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(604)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
216
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(831)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
217
217
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
218
218
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
219
219
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -424,7 +424,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
424
424
 
425
425
  /***/ }),
426
426
 
427
- /***/ 604:
427
+ /***/ 831:
428
428
  /***/ (function(module, exports) {
429
429
 
430
430
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11148,7 +11148,7 @@ return jQuery;
11148
11148
 
11149
11149
  /***/ }),
11150
11150
 
11151
- /***/ 594:
11151
+ /***/ 864:
11152
11152
  /***/ ((module) => {
11153
11153
 
11154
11154
  /**
@@ -15927,7 +15927,7 @@ if (true) {
15927
15927
 
15928
15928
  /***/ }),
15929
15929
 
15930
- /***/ 960:
15930
+ /***/ 295:
15931
15931
  /***/ (function(__unused_webpack_module, exports) {
15932
15932
 
15933
15933
 
@@ -19172,7 +19172,7 @@ if (true) {
19172
19172
 
19173
19173
  /***/ }),
19174
19174
 
19175
- /***/ 767:
19175
+ /***/ 698:
19176
19176
  /***/ (function(module, exports) {
19177
19177
 
19178
19178
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20299,7 +20299,7 @@ Object .defineProperty (Namespace, "add",
20299
20299
  }
20300
20300
  else
20301
20301
  {
20302
- const X3D = window [Symbol .for ("X_ITE.X3D-9.1.9")];
20302
+ const X3D = window [Symbol .for ("X_ITE.X3D-9.1.11")];
20303
20303
 
20304
20304
  if (X3D)
20305
20305
  X3D [name] = module;
@@ -21211,27 +21211,27 @@ Object .assign (Generator .prototype,
21211
21211
  if (baseNode .hasRoutes ())
21212
21212
  return true;
21213
21213
 
21214
+ const executionContext = baseNode .getExecutionContext ();
21215
+
21216
+ if (this .importedNodesIndex .get (executionContext) ?.has (baseNode))
21217
+ return true;
21218
+
21219
+ if (this .exportedNodesIndex .get (executionContext) ?.has (baseNode))
21220
+ return true;
21221
+
21222
+ return false;
21223
+ },
21224
+ ImportedName (name)
21225
+ {
21214
21226
  const
21215
- executionContext = baseNode .getExecutionContext (),
21216
- index = this .importedNodesIndex .get (executionContext);
21227
+ names = this .names .get (this .ExecutionContext ()),
21228
+ newName = getUniqueName (names, name);
21217
21229
 
21218
- if (index)
21219
- {
21220
- if (index .has (baseNode))
21221
- return true;
21222
- }
21223
- else
21224
- {
21225
- const index = this .exportedNodesIndex .get (executionContext);
21230
+ // Add to indices.
21226
21231
 
21227
- if (index)
21228
- {
21229
- if (index .has (baseNode))
21230
- return true;
21231
- }
21232
+ names .add (newName);
21232
21233
 
21233
- return false;
21234
- }
21234
+ return newName;
21235
21235
  },
21236
21236
  LocalName (baseNode)
21237
21237
  {
@@ -30818,6 +30818,92 @@ const SFVec4_default_ = SFVec4;
30818
30818
 
30819
30819
  x_ite_Namespace .add ("SFVec4", "x_ite/Fields/SFVec4", SFVec4_default_);
30820
30820
  /* harmony default export */ const Fields_SFVec4 = (SFVec4_default_);
30821
+ ;// CONCATENATED MODULE: ./src/shim.js
30822
+ /*******************************************************************************
30823
+ *
30824
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
30825
+ *
30826
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
30827
+ *
30828
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
30829
+ *
30830
+ * The copyright notice above does not evidence any actual of intended
30831
+ * publication of such source code, and is an unpublished work by create3000.
30832
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
30833
+ * create3000.
30834
+ *
30835
+ * No permission is granted to copy, distribute, or create derivative works from
30836
+ * the contents of this software, in whole or in part, without the prior written
30837
+ * permission of create3000.
30838
+ *
30839
+ * NON-MILITARY USE ONLY
30840
+ *
30841
+ * All create3000 software are effectively free software with a non-military use
30842
+ * restriction. It is free. Well commented source is provided. You may reuse the
30843
+ * source in any way you please with the exception anything that uses it must be
30844
+ * marked to indicate is contains 'non-military use only' components.
30845
+ *
30846
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
30847
+ *
30848
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
30849
+ *
30850
+ * This file is part of the X_ITE Project.
30851
+ *
30852
+ * X_ITE is free software: you can redistribute it and/or modify it under the
30853
+ * terms of the GNU General Public License version 3 only, as published by the
30854
+ * Free Software Foundation.
30855
+ *
30856
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
30857
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
30858
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
30859
+ * details (a copy is included in the LICENSE file that accompanied this code).
30860
+ *
30861
+ * You should have received a copy of the GNU General Public License version 3
30862
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
30863
+ * copy of the GPLv3 License.
30864
+ *
30865
+ * For Silvio, Joy and Adi.
30866
+ *
30867
+ ******************************************************************************/
30868
+
30869
+ (() =>
30870
+ {
30871
+ // Added at February 2022
30872
+ // https://github.com/tc39/proposal-relative-indexing-method#polyfill
30873
+
30874
+ function at (n)
30875
+ {
30876
+ // ToInteger() abstract op
30877
+ n = Math.trunc(n) || 0;
30878
+ // Allow negative indexing from the end
30879
+ if (n < 0) n += this.length;
30880
+ // OOB access is guaranteed to return undefined
30881
+ if (n < 0 || n >= this.length) return undefined;
30882
+ // Otherwise, this is just normal property access
30883
+ return this[n];
30884
+ }
30885
+
30886
+ const TypedArray = Reflect .getPrototypeOf (Int8Array);
30887
+ for (const C of [Array, String, TypedArray])
30888
+ {
30889
+ if (C .prototype .at === undefined)
30890
+ {
30891
+ Object .defineProperty (C .prototype, "at",
30892
+ {
30893
+ value: at,
30894
+ writable: true,
30895
+ enumerable: false,
30896
+ configurable: true,
30897
+ });
30898
+ }
30899
+ }
30900
+ })();
30901
+
30902
+ const shim_default_ = undefined;
30903
+ ;
30904
+
30905
+ x_ite_Namespace .add ("shim", "shim", shim_default_);
30906
+ /* harmony default export */ const shim = ((/* unused pure expression or super */ null && (shim_default_)));
30821
30907
  ;// CONCATENATED MODULE: ./src/x_ite/Base/X3DArrayField.js
30822
30908
  /*******************************************************************************
30823
30909
  *
@@ -30868,6 +30954,7 @@ x_ite_Namespace .add ("SFVec4", "x_ite/Fields/SFVec4", SFVec4_default_);
30868
30954
 
30869
30955
 
30870
30956
 
30957
+
30871
30958
  function X3DArrayField (value)
30872
30959
  {
30873
30960
  Base_X3DField .call (this, value);
@@ -34244,7 +34331,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34244
34331
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34245
34332
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34246
34333
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34247
- /* provided dependency */ var $ = __webpack_require__(604);
34334
+ /* provided dependency */ var $ = __webpack_require__(831);
34248
34335
  /*******************************************************************************
34249
34336
  *
34250
34337
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34381,7 +34468,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34381
34468
  *
34382
34469
  ******************************************************************************/
34383
34470
 
34384
- const BROWSER_VERSION_default_ = "9.1.9";
34471
+ const BROWSER_VERSION_default_ = "9.1.11";
34385
34472
  ;
34386
34473
 
34387
34474
  x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
@@ -37201,31 +37288,36 @@ x_ite_Namespace .add ("NamedNodesArray", "x_ite/Execution/NamedNodesArray", Name
37201
37288
 
37202
37289
 
37203
37290
 
37204
-
37205
37291
  const
37206
- _inlineNode = Symbol (),
37207
- _exportedName = Symbol (),
37208
- _importedName = Symbol (),
37209
- _routes = Symbol ();
37292
+ X3DImportedNode_executionContext = Symbol (),
37293
+ _inlineNode = Symbol (),
37294
+ _exportedName = Symbol (),
37295
+ _importedName = Symbol (),
37296
+ _routes = Symbol (),
37297
+ _real = Symbol ();
37210
37298
 
37211
37299
  function X3DImportedNode (executionContext, inlineNode, exportedName, importedName)
37212
37300
  {
37213
- Core_X3DNode .call (this, executionContext);
37301
+ Base_X3DObject .call (this);
37214
37302
 
37215
- this [_inlineNode] = Fields_SFNodeCache .get (inlineNode);
37216
- this [_exportedName] = exportedName;
37217
- this [_importedName] = importedName;
37218
- this [_routes] = new Set ();
37303
+ this [X3DImportedNode_executionContext] = executionContext;
37304
+ this [_inlineNode] = inlineNode;
37305
+ this [_exportedName] = exportedName;
37306
+ this [_importedName] = importedName;
37307
+ this [_routes] = [ ];
37219
37308
 
37220
37309
  this .getInlineNode () ._loadState .addInterest ("set_loadState__", this);
37221
37310
  }
37222
37311
 
37223
- // Must be of type X3DNode, to get routes work.
37224
- Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode .prototype),
37312
+ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObject .prototype),
37225
37313
  {
37314
+ getExecutionContext ()
37315
+ {
37316
+ return this [X3DImportedNode_executionContext];
37317
+ },
37226
37318
  getInlineNode ()
37227
37319
  {
37228
- return this [_inlineNode] .getValue ();
37320
+ return this [_inlineNode];
37229
37321
  },
37230
37322
  getExportedName ()
37231
37323
  {
@@ -37241,29 +37333,21 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37241
37333
  },
37242
37334
  hasRoutes (baseNode)
37243
37335
  {
37244
- for (const route of this [_routes])
37245
- {
37246
- if (route .sourceNode === baseNode)
37247
- return true;
37248
-
37249
- if (route .destinationNode === baseNode)
37250
- return true;
37251
- }
37252
-
37253
- return false;
37336
+ return this [_routes]
37337
+ .some (route => route .sourceNode === baseNode || route .destinationNode === baseNode)
37254
37338
  },
37255
37339
  addRoute (sourceNode, sourceField, destinationNode, destinationField)
37256
37340
  {
37257
37341
  // Add route.
37258
37342
 
37259
37343
  const route = {
37260
- sourceNode: sourceNode,
37261
- sourceField: sourceField,
37262
- destinationNode: destinationNode,
37263
- destinationField: destinationField,
37344
+ sourceNode,
37345
+ sourceField,
37346
+ destinationNode,
37347
+ destinationField,
37264
37348
  };
37265
37349
 
37266
- this [_routes] .add (route);
37350
+ this [_routes] .push (route);
37267
37351
 
37268
37352
  // Try to resolve source or destination node routes.
37269
37353
 
@@ -37274,16 +37358,11 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37274
37358
  {
37275
37359
  try
37276
37360
  {
37277
- const
37278
- sourceField = route .sourceField,
37279
- destinationField = route .destinationField;
37361
+ const { sourceField, destinationField } = route;
37280
37362
 
37281
- let
37282
- sourceNode = route .sourceNode,
37283
- destinationNode = route .destinationNode;
37363
+ let { sourceNode, destinationNode } = route;
37284
37364
 
37285
- if (route .real)
37286
- route .real .dispose ();
37365
+ route [_real] ?.dispose ();
37287
37366
 
37288
37367
  if (sourceNode instanceof X3DImportedNode)
37289
37368
  sourceNode = sourceNode .getExportedNode ();
@@ -37291,7 +37370,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37291
37370
  if (destinationNode instanceof X3DImportedNode)
37292
37371
  destinationNode = destinationNode .getExportedNode ();
37293
37372
 
37294
- route .real = this .getExecutionContext () .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
37373
+ route [_real] = this .getExecutionContext () .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
37295
37374
  }
37296
37375
  catch (error)
37297
37376
  {
@@ -37300,25 +37379,38 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37300
37379
  },
37301
37380
  deleteRoute (real)
37302
37381
  {
37303
- for (const route of this [_routes])
37304
- {
37305
- if (route .real === real)
37306
- this [_routes] .delete (route);
37307
- }
37382
+ this [_routes] = this [_routes] .filter (route => route [_real] !== real);
37308
37383
  },
37309
- deleteRoutes ()
37384
+ deleteRealRoutes ()
37310
37385
  {
37311
37386
  for (const route of this [_routes])
37312
37387
  {
37313
- const real = route .real
37388
+ const real = route [_real]
37314
37389
 
37315
- if (real)
37316
- {
37317
- delete route .real;
37318
- this .getExecutionContext () .deleteSimpleRoute (real);
37319
- }
37390
+ if (!real)
37391
+ continue;
37392
+
37393
+ delete route [_real];
37394
+
37395
+ this .getExecutionContext () .deleteSimpleRoute (real);
37320
37396
  }
37321
37397
  },
37398
+ getRoutes ()
37399
+ {
37400
+ return this [_routes] .map (({ sourceNode, sourceField, destinationNode, destinationField }) =>
37401
+ {
37402
+ return {
37403
+ sourceNode: sourceNode instanceof X3DImportedNode
37404
+ ? sourceNode
37405
+ : Fields_SFNodeCache .get (sourceNode),
37406
+ sourceField,
37407
+ destinationNode: destinationNode instanceof X3DImportedNode
37408
+ ? destinationNode
37409
+ : Fields_SFNodeCache .get (destinationNode),
37410
+ destinationField,
37411
+ };
37412
+ });
37413
+ },
37322
37414
  set_loadState__ ()
37323
37415
  {
37324
37416
  switch (this .getInlineNode () .checkLoadState ())
@@ -37326,12 +37418,12 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37326
37418
  case Base_X3DConstants .NOT_STARTED_STATE:
37327
37419
  case Base_X3DConstants .FAILED_STATE:
37328
37420
  {
37329
- this .deleteRoutes ();
37421
+ this .deleteRealRoutes ();
37330
37422
  break;
37331
37423
  }
37332
37424
  case Base_X3DConstants .COMPLETE_STATE:
37333
37425
  {
37334
- this .deleteRoutes ();
37426
+ this .deleteRealRoutes ();
37335
37427
 
37336
37428
  for (const route of this [_routes])
37337
37429
  this .resolveRoute (route);
@@ -37340,14 +37432,12 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37340
37432
  }
37341
37433
  }
37342
37434
  },
37343
- toStream (generator)
37344
- {
37345
- Base_X3DObject .prototype .toStream .call (this, generator);
37346
- },
37347
37435
  toVRMLStream (generator)
37348
37436
  {
37349
37437
  if (generator .ExistsNode (this .getInlineNode ()))
37350
37438
  {
37439
+ const importedName = generator .ImportedName (this .getImportedName ());
37440
+
37351
37441
  generator .string += generator .Indent ();
37352
37442
  generator .string += "IMPORT";
37353
37443
  generator .string += generator .Space ();
@@ -37355,31 +37445,25 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37355
37445
  generator .string += ".";
37356
37446
  generator .string += this .getExportedName ();
37357
37447
 
37358
- if (this .getImportedName () !== this .getExportedName ())
37448
+ if (importedName !== this .getExportedName ())
37359
37449
  {
37360
37450
  generator .string += generator .Space ();
37361
37451
  generator .string += "AS";
37362
37452
  generator .string += generator .Space ();
37363
- generator .string += this .getImportedName ();
37453
+ generator .string += importedName;
37364
37454
  }
37365
37455
 
37366
37456
  try
37367
37457
  {
37368
37458
  generator .AddRouteNode (this);
37369
- generator .AddImportedNode (this .getExportedNode (), this .getImportedName ());
37459
+ generator .AddImportedNode (this .getExportedNode (), importedName);
37370
37460
  }
37371
37461
  catch
37372
37462
  {
37373
37463
  // Output unresolved routes.
37374
37464
 
37375
- for (const route of this [_routes])
37465
+ for (const { sourceNode, sourceField, destinationNode, destinationField } of this [_routes])
37376
37466
  {
37377
- const
37378
- sourceNode = route .sourceNode,
37379
- sourceField = route .sourceField,
37380
- destinationNode = route .destinationNode,
37381
- destinationField = route .destinationField;
37382
-
37383
37467
  if (generator .ExistsRouteNode (sourceNode) && generator .ExistsRouteNode (destinationNode))
37384
37468
  {
37385
37469
  const sourceNodeName = sourceNode instanceof X3DImportedNode
@@ -37416,6 +37500,8 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37416
37500
  {
37417
37501
  if (generator .ExistsNode (this .getInlineNode ()))
37418
37502
  {
37503
+ const importedName = generator .ImportedName (this .getImportedName ());
37504
+
37419
37505
  generator .string += generator .Indent ();
37420
37506
  generator .string += "<IMPORT";
37421
37507
  generator .string += generator .Space ();
@@ -37427,11 +37513,11 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37427
37513
  generator .string += generator .XMLEncode (this .getExportedName ());
37428
37514
  generator .string += "'";
37429
37515
 
37430
- if (this .getImportedName () !== this .getExportedName ())
37516
+ if (importedName !== this .getExportedName ())
37431
37517
  {
37432
37518
  generator .string += generator .Space ();
37433
37519
  generator .string += "AS='";
37434
- generator .string += generator .XMLEncode (this .getImportedName ());
37520
+ generator .string += generator .XMLEncode (importedName);
37435
37521
  generator .string += "'";
37436
37522
  }
37437
37523
 
@@ -37440,20 +37526,14 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37440
37526
  try
37441
37527
  {
37442
37528
  generator .AddRouteNode (this);
37443
- generator .AddImportedNode (this .getExportedNode (), this .getImportedName ());
37529
+ generator .AddImportedNode (this .getExportedNode (), importedName);
37444
37530
  }
37445
37531
  catch
37446
37532
  {
37447
37533
  // Output unresolved routes.
37448
37534
 
37449
- for (const route of this [_routes])
37535
+ for (const { sourceNode, sourceField, destinationNode, destinationField } of this [_routes])
37450
37536
  {
37451
- const
37452
- sourceNode = route .sourceNode,
37453
- sourceField = route .sourceField,
37454
- destinationNode = route .destinationNode,
37455
- destinationField = route .destinationField;
37456
-
37457
37537
  if (generator .ExistsRouteNode (sourceNode) && generator .ExistsRouteNode (destinationNode))
37458
37538
  {
37459
37539
  const sourceNodeName = sourceNode instanceof X3DImportedNode
@@ -37497,6 +37577,8 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37497
37577
  {
37498
37578
  if (generator .ExistsNode (this .getInlineNode ()))
37499
37579
  {
37580
+ const importedName = generator .ImportedName (this .getImportedName ());
37581
+
37500
37582
  generator .string += generator .Indent ();
37501
37583
  generator .string += '{';
37502
37584
  generator .string += generator .TidySpace ();
@@ -37533,7 +37615,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37533
37615
  generator .string += generator .JSONEncode (this .getExportedName ());
37534
37616
  generator .string += '"';
37535
37617
 
37536
- if (this .getImportedName () !== this .getExportedName ())
37618
+ if (importedName !== this .getExportedName ())
37537
37619
  {
37538
37620
  generator .string += ',';
37539
37621
  generator .string += generator .TidyBreak ();
@@ -37544,7 +37626,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37544
37626
  generator .string += ':';
37545
37627
  generator .string += generator .TidySpace ();
37546
37628
  generator .string += '"';
37547
- generator .string += generator .JSONEncode (this .getImportedName ());
37629
+ generator .string += generator .JSONEncode (importedName);
37548
37630
  generator .string += '"';
37549
37631
  generator .string += generator .TidyBreak ();
37550
37632
  }
@@ -37564,20 +37646,14 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37564
37646
  try
37565
37647
  {
37566
37648
  generator .AddRouteNode (this);
37567
- generator .AddImportedNode (this .getExportedNode (), this .getImportedName ());
37649
+ generator .AddImportedNode (this .getExportedNode (), importedName);
37568
37650
  }
37569
37651
  catch
37570
37652
  {
37571
37653
  // Output unresolved routes.
37572
37654
 
37573
- for (const route of this [_routes])
37655
+ for (const { sourceNode, sourceField, destinationNode, destinationField } of this [_routes])
37574
37656
  {
37575
- const
37576
- sourceNode = route .sourceNode,
37577
- sourceField = route .sourceField,
37578
- destinationNode = route .destinationNode,
37579
- destinationField = route .destinationField;
37580
-
37581
37657
  if (generator .ExistsRouteNode (sourceNode) && generator .ExistsRouteNode (destinationNode))
37582
37658
  {
37583
37659
  const sourceNodeName = sourceNode instanceof X3DImportedNode
@@ -37671,9 +37747,9 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37671
37747
  {
37672
37748
  this .getInlineNode () ._loadState .removeInterest ("set_loadState__", this);
37673
37749
 
37674
- this .deleteRoutes ();
37750
+ this .deleteRealRoutes ();
37675
37751
 
37676
- Core_X3DNode .prototype .dispose .call (this);
37752
+ Base_X3DObject .prototype .dispose .call (this);
37677
37753
  },
37678
37754
  });
37679
37755
 
@@ -37686,7 +37762,7 @@ Object .defineProperties (X3DImportedNode .prototype,
37686
37762
  {
37687
37763
  get ()
37688
37764
  {
37689
- return this [_inlineNode];
37765
+ return Fields_SFNodeCache .get (this [_inlineNode]);
37690
37766
  },
37691
37767
  enumerable: true,
37692
37768
  },
@@ -38231,254 +38307,6 @@ const X3DProtoDeclarationNode_default_ = X3DProtoDeclarationNode;
38231
38307
 
38232
38308
  x_ite_Namespace .add ("X3DProtoDeclarationNode", "x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarationNode_default_);
38233
38309
  /* harmony default export */ const Prototype_X3DProtoDeclarationNode = (X3DProtoDeclarationNode_default_);
38234
- ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
38235
- /* provided dependency */ var X3DParser_$ = __webpack_require__(604);
38236
- /*******************************************************************************
38237
- *
38238
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38239
- *
38240
- * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
38241
- *
38242
- * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
38243
- *
38244
- * The copyright notice above does not evidence any actual of intended
38245
- * publication of such source code, and is an unpublished work by create3000.
38246
- * This material contains CONFIDENTIAL INFORMATION that is the property of
38247
- * create3000.
38248
- *
38249
- * No permission is granted to copy, distribute, or create derivative works from
38250
- * the contents of this software, in whole or in part, without the prior written
38251
- * permission of create3000.
38252
- *
38253
- * NON-MILITARY USE ONLY
38254
- *
38255
- * All create3000 software are effectively free software with a non-military use
38256
- * restriction. It is free. Well commented source is provided. You may reuse the
38257
- * source in any way you please with the exception anything that uses it must be
38258
- * marked to indicate is contains 'non-military use only' components.
38259
- *
38260
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38261
- *
38262
- * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
38263
- *
38264
- * This file is part of the X_ITE Project.
38265
- *
38266
- * X_ITE is free software: you can redistribute it and/or modify it under the
38267
- * terms of the GNU General Public License version 3 only, as published by the
38268
- * Free Software Foundation.
38269
- *
38270
- * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
38271
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
38272
- * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
38273
- * details (a copy is included in the LICENSE file that accompanied this code).
38274
- *
38275
- * You should have received a copy of the GNU General Public License version 3
38276
- * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
38277
- * copy of the GPLv3 License.
38278
- *
38279
- * For Silvio, Joy and Adi.
38280
- *
38281
- ******************************************************************************/
38282
-
38283
- function X3DParser (scene)
38284
- {
38285
- this .scene = scene;
38286
- this .executionContexts = [ scene ];
38287
- this .prototypes = [ ];
38288
- }
38289
-
38290
- Object .assign (X3DParser .prototype,
38291
- {
38292
- getBrowser ()
38293
- {
38294
- return this .scene .getBrowser ();
38295
- },
38296
- getScene ()
38297
- {
38298
- return this .scene;
38299
- },
38300
- getExecutionContext ()
38301
- {
38302
- return this .executionContexts .at (-1);
38303
- },
38304
- pushExecutionContext (executionContext)
38305
- {
38306
- return this .executionContexts .push (executionContext);
38307
- },
38308
- popExecutionContext ()
38309
- {
38310
- this .executionContexts .pop ();
38311
- },
38312
- getPrototype ()
38313
- {
38314
- return this .prototypes .at (-1);
38315
- },
38316
- pushPrototype (prototype)
38317
- {
38318
- return this .prototypes .push (prototype);
38319
- },
38320
- popPrototype ()
38321
- {
38322
- this .prototypes .pop ();
38323
- },
38324
- isInsideProtoDefinition ()
38325
- {
38326
- return !! this .prototypes .length;
38327
- },
38328
- loadComponents ()
38329
- {
38330
- const
38331
- browser = this .getBrowser (),
38332
- scene = this .getScene ();
38333
-
38334
- return Promise .all ([
38335
- browser .loadComponents (scene .getProfile () || browser .getProfile ("Full")),
38336
- browser .loadComponents (scene .getComponents ()),
38337
- ]);
38338
- },
38339
- setUnits (units)
38340
- {
38341
- if (units)
38342
- delete this .fromUnit;
38343
- else
38344
- this .fromUnit = function (category, value) { return value; };
38345
- },
38346
- fromUnit (category, value)
38347
- {
38348
- return this .scene .fromUnit (category, value);
38349
- },
38350
- convertColor (value, defaultColor = "white")
38351
- {
38352
- const
38353
- wrap = X3DParser_$("<div></div>") .hide () .css ("color", defaultColor) .appendTo (X3DParser_$("body")),
38354
- div = X3DParser_$("<div></div>").css ("color", value) .appendTo (wrap),
38355
- rgb = window .getComputedStyle (div [0]) .color,
38356
- values = rgb .replace (/^rgba?\(|\)$/g, "") .split (/[\s,]+/) .map (s => parseFloat (s));
38357
-
38358
- wrap .remove ();
38359
-
38360
- values [0] /= 255;
38361
- values [1] /= 255;
38362
- values [2] /= 255;
38363
-
38364
- if (typeof values [3] !== "number")
38365
- values [3] = 1;
38366
-
38367
- return values;
38368
- },
38369
- sanitizeName (name = "")
38370
- {
38371
- // NonIdFirstChar
38372
- name = name .replace (/^[\x30-\x39\x00-\x20\x22\x23\x27\x2b\x2c\x2d\x2e\x5b\x5c\x5d\x7b\x7d\x7f]*/, "");
38373
-
38374
- // NonIdChars
38375
- name = name .replace (/[\x00-\x20\x22\x23\x27\x2c\x2e\x5b\x5c\x5d\x7b\x7d\x7f]+/g, "-");
38376
-
38377
- // Spaces
38378
- name = name .trim () .replace (/[\s_-]+/g, "-");
38379
-
38380
- // Trim
38381
- name = name .replace (/^-+|-+$/g, "");
38382
-
38383
- return name;
38384
- },
38385
- });
38386
-
38387
- const X3DParser_default_ = X3DParser;
38388
- ;
38389
-
38390
- x_ite_Namespace .add ("X3DParser", "x_ite/Parser/X3DParser", X3DParser_default_);
38391
- /* harmony default export */ const Parser_X3DParser = (X3DParser_default_);
38392
- ;// CONCATENATED MODULE: ./src/x_ite/Parser/Expressions.js
38393
- /*******************************************************************************
38394
- *
38395
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38396
- *
38397
- * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
38398
- *
38399
- * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
38400
- *
38401
- * The copyright notice above does not evidence any actual of intended
38402
- * publication of such source code, and is an unpublished work by create3000.
38403
- * This material contains CONFIDENTIAL INFORMATION that is the property of
38404
- * create3000.
38405
- *
38406
- * No permission is granted to copy, distribute, or create derivative works from
38407
- * the contents of this software, in whole or in part, without the prior written
38408
- * permission of create3000.
38409
- *
38410
- * NON-MILITARY USE ONLY
38411
- *
38412
- * All create3000 software are effectively free software with a non-military use
38413
- * restriction. It is free. Well commented source is provided. You may reuse the
38414
- * source in any way you please with the exception anything that uses it must be
38415
- * marked to indicate is contains 'non-military use only' components.
38416
- *
38417
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38418
- *
38419
- * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
38420
- *
38421
- * This file is part of the X_ITE Project.
38422
- *
38423
- * X_ITE is free software: you can redistribute it and/or modify it under the
38424
- * terms of the GNU General Public License version 3 only, as published by the
38425
- * Free Software Foundation.
38426
- *
38427
- * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
38428
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
38429
- * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
38430
- * details (a copy is included in the LICENSE file that accompanied this code).
38431
- *
38432
- * You should have received a copy of the GNU General Public License version 3
38433
- * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
38434
- * copy of the GPLv3 License.
38435
- *
38436
- * For Silvio, Joy and Adi.
38437
- *
38438
- ******************************************************************************/
38439
-
38440
- function parse (parser)
38441
- {
38442
- this .lastIndex = parser .lastIndex;
38443
-
38444
- parser .result = this .exec (parser .input);
38445
-
38446
- if (parser .result)
38447
- {
38448
- parser .lastIndex = this .lastIndex;
38449
- return true;
38450
- }
38451
-
38452
- return false;
38453
- }
38454
-
38455
- function lookahead (parser)
38456
- {
38457
- const
38458
- lastIndex = parser .lastIndex,
38459
- result = this .parse (parser);
38460
-
38461
- parser .lastIndex = lastIndex;
38462
-
38463
- return result;
38464
- }
38465
-
38466
- function Expressions (Grammar)
38467
- {
38468
- for (const value of Object .values (Grammar))
38469
- {
38470
- value .parse = parse;
38471
- value .lookahead = lookahead;
38472
- }
38473
-
38474
- return Grammar;
38475
- }
38476
-
38477
- const Expressions_default_ = Expressions;
38478
- ;
38479
-
38480
- x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
38481
- /* harmony default export */ const Parser_Expressions = (Expressions_default_);
38482
38310
  ;// CONCATENATED MODULE: ./src/x_ite/Prototype/X3DProtoDeclaration.js
38483
38311
  /*******************************************************************************
38484
38312
  *
@@ -39056,8 +38884,250 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39056
38884
 
39057
38885
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
39058
38886
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
38887
+ ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
38888
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(831);
38889
+ /*******************************************************************************
38890
+ *
38891
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38892
+ *
38893
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
38894
+ *
38895
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
38896
+ *
38897
+ * The copyright notice above does not evidence any actual of intended
38898
+ * publication of such source code, and is an unpublished work by create3000.
38899
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
38900
+ * create3000.
38901
+ *
38902
+ * No permission is granted to copy, distribute, or create derivative works from
38903
+ * the contents of this software, in whole or in part, without the prior written
38904
+ * permission of create3000.
38905
+ *
38906
+ * NON-MILITARY USE ONLY
38907
+ *
38908
+ * All create3000 software are effectively free software with a non-military use
38909
+ * restriction. It is free. Well commented source is provided. You may reuse the
38910
+ * source in any way you please with the exception anything that uses it must be
38911
+ * marked to indicate is contains 'non-military use only' components.
38912
+ *
38913
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38914
+ *
38915
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
38916
+ *
38917
+ * This file is part of the X_ITE Project.
38918
+ *
38919
+ * X_ITE is free software: you can redistribute it and/or modify it under the
38920
+ * terms of the GNU General Public License version 3 only, as published by the
38921
+ * Free Software Foundation.
38922
+ *
38923
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
38924
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
38925
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
38926
+ * details (a copy is included in the LICENSE file that accompanied this code).
38927
+ *
38928
+ * You should have received a copy of the GNU General Public License version 3
38929
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
38930
+ * copy of the GPLv3 License.
38931
+ *
38932
+ * For Silvio, Joy and Adi.
38933
+ *
38934
+ ******************************************************************************/
38935
+
38936
+
38937
+
38938
+ function X3DParser (scene)
38939
+ {
38940
+ this .scene = scene;
38941
+ this .executionContexts = [ scene ];
38942
+ this .prototypes = [ ];
38943
+ }
38944
+
38945
+ Object .assign (X3DParser .prototype,
38946
+ {
38947
+ getBrowser ()
38948
+ {
38949
+ return this .scene .getBrowser ();
38950
+ },
38951
+ getScene ()
38952
+ {
38953
+ return this .scene;
38954
+ },
38955
+ getExecutionContext ()
38956
+ {
38957
+ return this .executionContexts .at (-1);
38958
+ },
38959
+ pushExecutionContext (executionContext)
38960
+ {
38961
+ return this .executionContexts .push (executionContext);
38962
+ },
38963
+ popExecutionContext ()
38964
+ {
38965
+ this .executionContexts .pop ();
38966
+ },
38967
+ getOuterNode ()
38968
+ {
38969
+ return this .getExecutionContext () .getOuterNode ();
38970
+ },
38971
+ isInsideProtoDeclaration ()
38972
+ {
38973
+ return this .getExecutionContext () .getOuterNode () instanceof Prototype_X3DProtoDeclaration;
38974
+ },
38975
+ loadComponents ()
38976
+ {
38977
+ const
38978
+ browser = this .getBrowser (),
38979
+ scene = this .getScene ();
38980
+
38981
+ return Promise .all ([
38982
+ browser .loadComponents (scene .getProfile () || browser .getProfile ("Full")),
38983
+ browser .loadComponents (scene .getComponents ()),
38984
+ ]);
38985
+ },
38986
+ setUnits (units)
38987
+ {
38988
+ if (units)
38989
+ delete this .fromUnit;
38990
+ else
38991
+ this .fromUnit = function (category, value) { return value; };
38992
+ },
38993
+ fromUnit (category, value)
38994
+ {
38995
+ return this .scene .fromUnit (category, value);
38996
+ },
38997
+ convertColor (value, defaultColor = "white")
38998
+ {
38999
+ const
39000
+ wrap = X3DParser_$("<div></div>") .hide () .css ("color", defaultColor) .appendTo (X3DParser_$("body")),
39001
+ div = X3DParser_$("<div></div>").css ("color", value) .appendTo (wrap),
39002
+ rgb = window .getComputedStyle (div [0]) .color,
39003
+ values = rgb .replace (/^rgba?\(|\)$/g, "") .split (/[\s,]+/) .map (s => parseFloat (s));
39004
+
39005
+ wrap .remove ();
39006
+
39007
+ values [0] /= 255;
39008
+ values [1] /= 255;
39009
+ values [2] /= 255;
39010
+
39011
+ if (typeof values [3] !== "number")
39012
+ values [3] = 1;
39013
+
39014
+ return values;
39015
+ },
39016
+ sanitizeName (name = "")
39017
+ {
39018
+ // NonIdFirstChar
39019
+ name = name .replace (/^[\x30-\x39\x00-\x20\x22\x23\x27\x2b\x2c\x2d\x2e\x5b\x5c\x5d\x7b\x7d\x7f]*/, "");
39020
+
39021
+ // NonIdChars
39022
+ name = name .replace (/[\x00-\x20\x22\x23\x27\x2c\x2e\x5b\x5c\x5d\x7b\x7d\x7f]+/g, "-");
39023
+
39024
+ // Spaces
39025
+ name = name .trim () .replace (/[\s_-]+/g, "-");
39026
+
39027
+ // Trim
39028
+ name = name .replace (/^-+|-+$/g, "");
39029
+
39030
+ return name;
39031
+ },
39032
+ });
39033
+
39034
+ const X3DParser_default_ = X3DParser;
39035
+ ;
39036
+
39037
+ x_ite_Namespace .add ("X3DParser", "x_ite/Parser/X3DParser", X3DParser_default_);
39038
+ /* harmony default export */ const Parser_X3DParser = (X3DParser_default_);
39039
+ ;// CONCATENATED MODULE: ./src/x_ite/Parser/Expressions.js
39040
+ /*******************************************************************************
39041
+ *
39042
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
39043
+ *
39044
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
39045
+ *
39046
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
39047
+ *
39048
+ * The copyright notice above does not evidence any actual of intended
39049
+ * publication of such source code, and is an unpublished work by create3000.
39050
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
39051
+ * create3000.
39052
+ *
39053
+ * No permission is granted to copy, distribute, or create derivative works from
39054
+ * the contents of this software, in whole or in part, without the prior written
39055
+ * permission of create3000.
39056
+ *
39057
+ * NON-MILITARY USE ONLY
39058
+ *
39059
+ * All create3000 software are effectively free software with a non-military use
39060
+ * restriction. It is free. Well commented source is provided. You may reuse the
39061
+ * source in any way you please with the exception anything that uses it must be
39062
+ * marked to indicate is contains 'non-military use only' components.
39063
+ *
39064
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
39065
+ *
39066
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
39067
+ *
39068
+ * This file is part of the X_ITE Project.
39069
+ *
39070
+ * X_ITE is free software: you can redistribute it and/or modify it under the
39071
+ * terms of the GNU General Public License version 3 only, as published by the
39072
+ * Free Software Foundation.
39073
+ *
39074
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
39075
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
39076
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
39077
+ * details (a copy is included in the LICENSE file that accompanied this code).
39078
+ *
39079
+ * You should have received a copy of the GNU General Public License version 3
39080
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
39081
+ * copy of the GPLv3 License.
39082
+ *
39083
+ * For Silvio, Joy and Adi.
39084
+ *
39085
+ ******************************************************************************/
39086
+
39087
+ function parse (parser)
39088
+ {
39089
+ this .lastIndex = parser .lastIndex;
39090
+
39091
+ parser .result = this .exec (parser .input);
39092
+
39093
+ if (parser .result)
39094
+ {
39095
+ parser .lastIndex = this .lastIndex;
39096
+ return true;
39097
+ }
39098
+
39099
+ return false;
39100
+ }
39101
+
39102
+ function lookahead (parser)
39103
+ {
39104
+ const
39105
+ lastIndex = parser .lastIndex,
39106
+ result = this .parse (parser);
39107
+
39108
+ parser .lastIndex = lastIndex;
39109
+
39110
+ return result;
39111
+ }
39112
+
39113
+ function Expressions (Grammar)
39114
+ {
39115
+ for (const value of Object .values (Grammar))
39116
+ {
39117
+ value .parse = parse;
39118
+ value .lookahead = lookahead;
39119
+ }
39120
+
39121
+ return Grammar;
39122
+ }
39123
+
39124
+ const Expressions_default_ = Expressions;
39125
+ ;
39126
+
39127
+ x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
39128
+ /* harmony default export */ const Parser_Expressions = (Expressions_default_);
39059
39129
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39060
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(604);
39130
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(831);
39061
39131
  /*******************************************************************************
39062
39132
  *
39063
39133
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39247,6 +39317,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39247
39317
  SQRT1_2: Math .SQRT1_2,
39248
39318
  SQRT2: Math .SQRT2,
39249
39319
  },
39320
+ unknownLevel: 0,
39250
39321
  getEncoding ()
39251
39322
  {
39252
39323
  return "STRING";
@@ -39280,13 +39351,6 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39280
39351
  throw new Error (this .getError (error));
39281
39352
  }
39282
39353
  },
39283
- throwOrWarn (string)
39284
- {
39285
- if (this .getBrowser () .isStrict ())
39286
- throw new Error (string);
39287
-
39288
- console .warn (string);
39289
- },
39290
39354
  getError (error)
39291
39355
  {
39292
39356
  if (DEVELOPMENT)
@@ -39558,7 +39622,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39558
39622
  }
39559
39623
  catch (error)
39560
39624
  {
39561
- console .warn (error .message);
39625
+ console .warn (`Parser error at line ${this .lineNumber}: ${error .message}`);
39562
39626
  return true;
39563
39627
  }
39564
39628
  }
@@ -39804,13 +39868,11 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39804
39868
  for (const field of interfaceDeclarations)
39805
39869
  proto .addUserDefinedField (field .getAccessType (), field .getName (), field);
39806
39870
 
39807
- this .pushPrototype (proto);
39808
39871
  this .pushExecutionContext (proto .getBody ());
39809
39872
 
39810
39873
  this .protoBody (proto .getBody () .rootNodes);
39811
39874
 
39812
39875
  this .popExecutionContext ();
39813
- this .popPrototype ();
39814
39876
 
39815
39877
  this .comments ();
39816
39878
 
@@ -39923,7 +39985,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39923
39985
  throw new Error ("Expected a name for field.");
39924
39986
  }
39925
39987
 
39926
- this .Id ()
39988
+ this .Id ();
39927
39989
 
39928
39990
  throw new Error (`Unknown event or field type: '${this .result [1]}'.`);
39929
39991
  }
@@ -39948,7 +40010,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39948
40010
  throw new Error ("Expected a name for field.");
39949
40011
  }
39950
40012
 
39951
- this .Id ()
40013
+ this .Id ();
39952
40014
 
39953
40015
  throw new Error (`Unknown event or field type: '${this .result [1]}'.`);
39954
40016
  }
@@ -39978,7 +40040,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39978
40040
  throw new Error ("Expected a name for field.");
39979
40041
  }
39980
40042
 
39981
- this .Id ()
40043
+ this .Id ();
39982
40044
 
39983
40045
  throw new Error (`Unknown event or field type: '${this .result [1]}'.`);
39984
40046
  }
@@ -40248,7 +40310,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40248
40310
  }
40249
40311
  catch (error)
40250
40312
  {
40251
- this .throwOrWarn (error .message);
40313
+ console .warn (`Parser error at line ${this .lineNumber}: ${error .message}`);
40252
40314
 
40253
40315
  return true;
40254
40316
  }
@@ -40287,7 +40349,32 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40287
40349
  ?? this .getExecutionContext () .createProto (nodeTypeId, false);
40288
40350
 
40289
40351
  if (!baseNode)
40290
- throw new Error (`Unknown node type or proto '${nodeTypeId}', you probably have insufficient component/profile statements, and/or an inappropriate specification version.`);
40352
+ {
40353
+ // Parse unknown node.
40354
+
40355
+ if (!this .unknownLevel)
40356
+ {
40357
+ console .warn (`Parser error at line ${this .lineNumber}: Unknown node type or proto '${nodeTypeId}', you probably have insufficient component/profile statements, and/or an inappropriate specification version.`);
40358
+ }
40359
+
40360
+ this .comments ();
40361
+
40362
+ if (Grammar .OpenBrace .parse (this))
40363
+ {
40364
+ ++ this .unknownLevel;
40365
+
40366
+ this .nodeBody (this .getExecutionContext () .createNode ("WorldInfo", false));
40367
+
40368
+ -- this .unknownLevel;
40369
+
40370
+ this .comments ();
40371
+
40372
+ if (Grammar .CloseBrace .parse (this))
40373
+ return null;
40374
+ }
40375
+
40376
+ return false;
40377
+ }
40291
40378
 
40292
40379
  if (nodeNameId .length)
40293
40380
  {
@@ -40317,7 +40404,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40317
40404
 
40318
40405
  if (Grammar .CloseBrace .parse (this))
40319
40406
  {
40320
- if (!this .isInsideProtoDefinition ())
40407
+ if (!this .isInsideProtoDeclaration ())
40321
40408
  baseNode .setup ();
40322
40409
 
40323
40410
  return baseNode;
@@ -40360,7 +40447,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40360
40447
 
40361
40448
  if (Grammar .IS .parse (this))
40362
40449
  {
40363
- if (this .isInsideProtoDefinition ())
40450
+ if (this .isInsideProtoDeclaration ())
40364
40451
  {
40365
40452
  if (this .Id ())
40366
40453
  {
@@ -40368,11 +40455,11 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40368
40455
 
40369
40456
  try
40370
40457
  {
40371
- var reference = this .getPrototype () .getField (isId);
40458
+ var reference = this .getOuterNode () .getField (isId);
40372
40459
  }
40373
40460
  catch
40374
40461
  {
40375
- this .throwOrWarn (`No such event or field '${isId}' inside PROTO ${this .getPrototype () .getName ()} interface declaration.`);
40462
+ console .warn (`Parser error at line ${this .lineNumber}: No such event or field '${isId}' inside PROTO ${this .getOuterNode () .getName ()} interface declaration.`);
40376
40463
 
40377
40464
  return true;
40378
40465
  }
@@ -40399,10 +40486,10 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40399
40486
  throw new Error (`Couldn't add field '${fieldId}', field already exists with different access type or data type.`);
40400
40487
  }
40401
40488
 
40402
- throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .getPrototype () .getName ()}' are incompatible as an IS mapping.`);
40489
+ throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .getOuterNode () .getName ()}' are incompatible as an IS mapping.`);
40403
40490
  }
40404
40491
 
40405
- throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .getPrototype () .getName ()}' have different types.`);
40492
+ throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .getOuterNode () .getName ()}' have different types.`);
40406
40493
  }
40407
40494
 
40408
40495
  throw new Error ("No name give after IS statement.");
@@ -40464,6 +40551,20 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40464
40551
  }
40465
40552
  catch
40466
40553
  {
40554
+ // Parse unknown field value.
40555
+
40556
+ const lineNumber = this .lineNumber;
40557
+
40558
+ if (this .unknownValue ())
40559
+ {
40560
+ if (!this .unknownLevel)
40561
+ {
40562
+ console .warn (`Parser error at line ${lineNumber}: Unknown field '${fieldId}' in class '${baseNode .getTypeName ()}'.`);
40563
+ }
40564
+
40565
+ return true;
40566
+ }
40567
+
40467
40568
  throw new Error (`Unknown field '${fieldId}' in class '${baseNode .getTypeName ()}'.`);
40468
40569
  }
40469
40570
 
@@ -40471,7 +40572,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40471
40572
 
40472
40573
  if (Grammar .IS .parse (this))
40473
40574
  {
40474
- if (this .isInsideProtoDefinition ())
40575
+ if (this .isInsideProtoDeclaration ())
40475
40576
  {
40476
40577
  if (this .Id ())
40477
40578
  {
@@ -40479,11 +40580,11 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40479
40580
 
40480
40581
  try
40481
40582
  {
40482
- var reference = this .getPrototype () .getField (isId);
40583
+ var reference = this .getOuterNode () .getField (isId);
40483
40584
  }
40484
40585
  catch
40485
40586
  {
40486
- this .throwOrWarn (`No such event or field '${isId}' inside PROTO ${this .getPrototype () .getName ()}`);
40587
+ console .warn (`Parser error at line ${this .lineNumber}: No such event or field '${isId}' inside PROTO ${this .getOuterNode () .getName ()}`);
40487
40588
 
40488
40589
  return true;
40489
40590
  }
@@ -40496,10 +40597,10 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40496
40597
  return true;
40497
40598
  }
40498
40599
 
40499
- throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .getPrototype () .getName ()} are incompatible as an IS mapping.`);
40600
+ throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .getOuterNode () .getName ()} are incompatible as an IS mapping.`);
40500
40601
  }
40501
40602
 
40502
- throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .getPrototype () .getName ()} have different types.`);
40603
+ throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .getOuterNode () .getName ()} have different types.`);
40503
40604
  }
40504
40605
 
40505
40606
  throw new Error("No name give after IS statement.");
@@ -40657,10 +40758,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40657
40758
  sfboolValues (field)
40658
40759
  {
40659
40760
  field .length = 0;
40660
- field = field .getTarget ();
40761
+
40762
+ const target = field .getTarget ();
40661
40763
 
40662
40764
  while (this .bool ())
40663
- field .push (this .value);
40765
+ target .push (this .value);
40766
+
40767
+ return field .length !== 0;
40664
40768
  },
40665
40769
  sfcolorValue (field)
40666
40770
  {
@@ -40729,12 +40833,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40729
40833
  sfcolorValues (field)
40730
40834
  {
40731
40835
  field .length = 0;
40732
- field = field .getTarget ();
40733
40836
 
40734
- const value = this .Color3;
40837
+ const
40838
+ target = field .getTarget (),
40839
+ value = this .Color3;
40735
40840
 
40736
40841
  while (this .sfcolorValue (value))
40737
- field .push (value);
40842
+ target .push (value);
40843
+
40844
+ return field .length !== 0;
40738
40845
  },
40739
40846
  sfcolorrgbaValue (field)
40740
40847
  {
@@ -40810,12 +40917,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40810
40917
  sfcolorrgbaValues (field)
40811
40918
  {
40812
40919
  field .length = 0;
40813
- field = field .getTarget ();
40814
40920
 
40815
- const value = this .Color4;
40921
+ const
40922
+ target = field .getTarget (),
40923
+ value = this .Color4;
40816
40924
 
40817
40925
  while (this .sfcolorrgbaValue (value))
40818
- field .push (value);
40926
+ target .push (value);
40927
+
40928
+ return field .length !== 0;
40819
40929
  },
40820
40930
  sfdoubleValue (field)
40821
40931
  {
@@ -40852,12 +40962,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40852
40962
  sfdoubleValues (field)
40853
40963
  {
40854
40964
  field .length = 0;
40855
- field = field .getTarget ();
40856
40965
 
40857
- const unit = field .getUnit ();
40966
+ const
40967
+ target = field .getTarget (),
40968
+ unit = target .getUnit ();
40858
40969
 
40859
40970
  while (this .double ())
40860
- field .push (this .fromUnit (unit, this .value));
40971
+ target .push (this .fromUnit (unit, this .value));
40972
+
40973
+ return field .length !== 0;
40861
40974
  },
40862
40975
  sfimageValue (field)
40863
40976
  {
@@ -40924,12 +41037,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40924
41037
  sfimageValues (field)
40925
41038
  {
40926
41039
  field .length = 0;
40927
- field = field .getTarget ();
40928
41040
 
40929
- const value = this .SFImage;
41041
+ const
41042
+ target = field .getTarget (),
41043
+ value = this .SFImage;
40930
41044
 
40931
41045
  while (this .sfimageValue (value))
40932
- field .push (value);
41046
+ target .push (value);
41047
+
41048
+ return field .length !== 0;
40933
41049
  },
40934
41050
  sfint32Value (field)
40935
41051
  {
@@ -40966,10 +41082,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40966
41082
  sfint32Values (field)
40967
41083
  {
40968
41084
  field .length = 0;
40969
- field = field .getTarget ();
41085
+
41086
+ const target = field .getTarget ();
40970
41087
 
40971
41088
  while (this .int32 ())
40972
- field .push (this .value);
41089
+ target .push (this .value);
41090
+
41091
+ return field .length !== 0;
40973
41092
  },
40974
41093
  sfmatrix3Value (field)
40975
41094
  {
@@ -41057,12 +41176,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41057
41176
  sfmatrix3Values (field)
41058
41177
  {
41059
41178
  field .length = 0;
41060
- field = field .getTarget ();
41061
41179
 
41062
- const value = this .Matrix3;
41180
+ const
41181
+ target = field .getTarget (),
41182
+ value = this .Matrix3;
41063
41183
 
41064
41184
  while (this .sfmatrix3Value (value))
41065
- field .push (value);
41185
+ target .push (value);
41186
+
41187
+ return field .length !== 0;
41066
41188
  },
41067
41189
  sfmatrix4Value (field)
41068
41190
  {
@@ -41192,12 +41314,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41192
41314
  sfmatrix4Values (field)
41193
41315
  {
41194
41316
  field .length = 0;
41195
- field = field .getTarget ();
41196
41317
 
41197
- const value = this .Matrix4;
41318
+ const
41319
+ target = field .getTarget (),
41320
+ value = this .Matrix4;
41198
41321
 
41199
41322
  while (this .sfmatrix4Value (value))
41200
- field .push (value);
41323
+ target .push (value);
41324
+
41325
+ return field .length !== 0;
41201
41326
  },
41202
41327
  sfnodeValue (field)
41203
41328
  {
@@ -41304,12 +41429,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41304
41429
  sfrotationValues (field)
41305
41430
  {
41306
41431
  field .length = 0;
41307
- field = field .getTarget ();
41308
41432
 
41309
- const value = this .Rotation4;
41433
+ const
41434
+ target = field .getTarget (),
41435
+ value = this .Rotation4;
41310
41436
 
41311
41437
  while (this .sfrotationValue (value))
41312
- field .push (value);
41438
+ target .push (value);
41439
+
41440
+ return field .length !== 0;
41313
41441
  },
41314
41442
  sfstringValue (field)
41315
41443
  {
@@ -41346,10 +41474,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41346
41474
  sfstringValues (field)
41347
41475
  {
41348
41476
  field .length = 0;
41349
- field = field .getTarget ();
41477
+
41478
+ const target = field .getTarget ();
41350
41479
 
41351
41480
  while (this .string ())
41352
- field .push (this .value);
41481
+ target .push (this .value);
41482
+
41483
+ return field .length !== 0;
41353
41484
  },
41354
41485
  sfvec2Value (field, unit)
41355
41486
  {
@@ -41395,14 +41526,16 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41395
41526
  sfvec2Values (field)
41396
41527
  {
41397
41528
  field .length = 0;
41398
- field = field .getTarget ();
41399
41529
 
41400
41530
  const
41401
- value = this .Vector2,
41402
- unit = field .getUnit ();
41531
+ target = field .getTarget (),
41532
+ value = this .Vector2,
41533
+ unit = target .getUnit ();
41403
41534
 
41404
41535
  while (this .sfvec2Value (value, unit))
41405
- field .push (value);
41536
+ target .push (value);
41537
+
41538
+ return field .length !== 0;
41406
41539
  },
41407
41540
  sfvec3Value (field, unit)
41408
41541
  {
@@ -41454,14 +41587,16 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41454
41587
  sfvec3Values (field)
41455
41588
  {
41456
41589
  field .length = 0;
41457
- field = field .getTarget ();
41458
41590
 
41459
41591
  const
41460
- value = this .Vector3,
41461
- unit = field .getUnit ();
41592
+ target = field .getTarget (),
41593
+ value = this .Vector3,
41594
+ unit = target .getUnit ();
41462
41595
 
41463
41596
  while (this .sfvec3Value (value, unit))
41464
- field .push (value);
41597
+ target .push (value);
41598
+
41599
+ return field .length !== 0;
41465
41600
  },
41466
41601
  sfvec4Value (field, unit)
41467
41602
  {
@@ -41519,14 +41654,79 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41519
41654
  sfvec4Values (field)
41520
41655
  {
41521
41656
  field .length = 0;
41522
- field = field .getTarget ();
41523
41657
 
41524
41658
  const
41525
- value = this .Vector4,
41526
- unit = field .getUnit ();
41659
+ target = field .getTarget (),
41660
+ value = this .Vector4,
41661
+ unit = target .getUnit ();
41527
41662
 
41528
41663
  while (this .sfvec4Value (value, unit))
41529
- field .push (value);
41664
+ target .push (value);
41665
+
41666
+ return field .length !== 0;
41667
+ },
41668
+ unknownValue ()
41669
+ {
41670
+ try
41671
+ {
41672
+ ++ this .unknownLevel;
41673
+
41674
+ if (Grammar .IS .parse (this))
41675
+ {
41676
+ if (this .isInsideProtoDeclaration ())
41677
+ {
41678
+ if (this .Id ())
41679
+ return true;
41680
+ }
41681
+ }
41682
+
41683
+ if (this .mfunknownValue ())
41684
+ return true;
41685
+
41686
+ return false;
41687
+ }
41688
+ finally
41689
+ {
41690
+ -- this .unknownLevel;
41691
+ }
41692
+ },
41693
+ sfunknownValue ()
41694
+ {
41695
+ if (this .sfboolValue (new x_ite_Fields .SFBool ()))
41696
+ return true;
41697
+
41698
+ if (this .sfdoubleValues (new x_ite_Fields .MFFloat ()))
41699
+ return true;
41700
+
41701
+ if (this .sfstringValue (new x_ite_Fields .SFString ()))
41702
+ return true;
41703
+
41704
+ if (this .sfnodeValue (new x_ite_Fields .SFNode ()))
41705
+ return true;
41706
+
41707
+ return false;
41708
+ },
41709
+ mfunknownValue ()
41710
+ {
41711
+ if (this .sfunknownValue ())
41712
+ return true;
41713
+
41714
+ if (Grammar .OpenBracket .parse (this))
41715
+ {
41716
+ this .sfunknownValues ();
41717
+
41718
+ if (Grammar .CloseBracket .parse (this))
41719
+ return true;
41720
+
41721
+ throw new Error ("Expected ']'.");
41722
+ }
41723
+
41724
+ return false;
41725
+ },
41726
+ sfunknownValues ()
41727
+ {
41728
+ while (this .sfunknownValue ())
41729
+ ;
41530
41730
  },
41531
41731
  accessTypeToString (accessType)
41532
41732
  {
@@ -41610,7 +41810,7 @@ const VRMLParser_default_ = VRMLParser;
41610
41810
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
41611
41811
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41612
41812
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41613
- /* provided dependency */ var XMLParser_$ = __webpack_require__(604);
41813
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(831);
41614
41814
  /*******************************************************************************
41615
41815
  *
41616
41816
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42105,13 +42305,11 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42105
42305
  case "ProtoBody":
42106
42306
  case "PROTOBODY":
42107
42307
  {
42108
- this .pushPrototype (proto);
42109
42308
  this .pushExecutionContext (proto .getBody ());
42110
42309
  this .pushParent (proto);
42111
42310
  this .protoBodyElement (childNode);
42112
42311
  this .popParent ();
42113
42312
  this .popExecutionContext ();
42114
- this .popPrototype ();
42115
42313
  break;
42116
42314
  }
42117
42315
  default:
@@ -42203,7 +42401,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42203
42401
  },
42204
42402
  isElement (xmlElement)
42205
42403
  {
42206
- if (this .isInsideProtoDefinition ())
42404
+ if (this .isInsideProtoDeclaration ())
42207
42405
  {
42208
42406
  for (const childNode of xmlElement .childNodes)
42209
42407
  this .isElementChild (childNode);
@@ -42238,7 +42436,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42238
42436
 
42239
42437
  const
42240
42438
  node = this .getParent (),
42241
- proto = this .getPrototype ();
42439
+ proto = this .getOuterNode ();
42242
42440
 
42243
42441
  if (!(node instanceof Core_X3DNode))
42244
42442
  return;
@@ -42286,7 +42484,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42286
42484
  this .pushParent (node);
42287
42485
  this .childrenElements (xmlElement);
42288
42486
 
42289
- if (!this .isInsideProtoDefinition ())
42487
+ if (!this .isInsideProtoDeclaration ())
42290
42488
  node .setup ();
42291
42489
 
42292
42490
  this .popParent ();
@@ -42366,7 +42564,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42366
42564
  this .nodeAttributes (xmlElement, node);
42367
42565
  this .childrenElements (xmlElement);
42368
42566
 
42369
- if (!this .isInsideProtoDefinition ())
42567
+ if (!this .isInsideProtoDeclaration ())
42370
42568
  node .setup ();
42371
42569
 
42372
42570
  this .popParent ();
@@ -43703,7 +43901,7 @@ const URLs_default_ = URLs;
43703
43901
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
43704
43902
  /* harmony default export */ const Networking_URLs = (URLs_default_);
43705
43903
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
43706
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(604);
43904
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(831);
43707
43905
  /*******************************************************************************
43708
43906
  *
43709
43907
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47004,7 +47202,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
47004
47202
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
47005
47203
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
47006
47204
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
47007
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(604);
47205
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(831);
47008
47206
  /*******************************************************************************
47009
47207
  *
47010
47208
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47156,7 +47354,7 @@ const GLB2Parser_default_ = GLB2Parser;
47156
47354
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
47157
47355
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
47158
47356
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
47159
- /* provided dependency */ var OBJParser_$ = __webpack_require__(604);
47357
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(831);
47160
47358
  /*******************************************************************************
47161
47359
  *
47162
47360
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50511,8 +50709,8 @@ const MatrixStack_default_ = MatrixStack;
50511
50709
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
50512
50710
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50513
50711
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50514
- /* provided dependency */ var SVGParser_$ = __webpack_require__(604);
50515
- /* provided dependency */ var libtess = __webpack_require__(594);
50712
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(831);
50713
+ /* provided dependency */ var libtess = __webpack_require__(864);
50516
50714
  /*******************************************************************************
50517
50715
  *
50518
50716
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53280,7 +53478,7 @@ const SVGParser_default_ = SVGParser;
53280
53478
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
53281
53479
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
53282
53480
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
53283
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(604);
53481
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(831);
53284
53482
  /*******************************************************************************
53285
53483
  *
53286
53484
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53617,7 +53815,7 @@ const Plane3_default_ = Plane3;
53617
53815
  x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
53618
53816
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53619
53817
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53620
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(594);
53818
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(864);
53621
53819
  /*******************************************************************************
53622
53820
  *
53623
53821
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -61124,7 +61322,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
61124
61322
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
61125
61323
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
61126
61324
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
61127
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(604);
61325
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(831);
61128
61326
  /*******************************************************************************
61129
61327
  *
61130
61328
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -61265,7 +61463,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
61265
61463
 
61266
61464
  this .loadNext ();
61267
61465
  },
61268
- async setKTXTexture (texture)
61466
+ setKTXTexture (texture)
61269
61467
  {
61270
61468
  if (texture .target !== this .getTarget ())
61271
61469
  return this .setError ({ type: "Invalid KTX texture target, must be 'TEXTURE_2D'." });
@@ -61292,7 +61490,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
61292
61490
  this .setError ({ type: error .message });
61293
61491
  }
61294
61492
  },
61295
- async setImage ()
61493
+ setImage ()
61296
61494
  {
61297
61495
  if (DEVELOPMENT)
61298
61496
  {
@@ -61350,7 +61548,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
61350
61548
  // Upload image to GPU.
61351
61549
 
61352
61550
  this .setTextureFromData (width, height, this ._colorSpaceConversion .getValue (), this .isTransparent (), image);
61353
- this .setTransparent (this .isImageTransparent (await this .getTextureData (this .getTexture (), width, height)));
61551
+ this .setTransparent (this .isImageTransparent (this .getTextureData (this .getTexture (), width, height)));
61354
61552
  this .setLoadState (Base_X3DConstants .COMPLETE_STATE);
61355
61553
  this .addNodeEvent ();
61356
61554
  }
@@ -61361,7 +61559,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
61361
61559
  this .setError ({ type: error .message });
61362
61560
  }
61363
61561
  },
61364
- async getTextureData (texture, width, height)
61562
+ getTextureData (texture, width, height)
61365
61563
  {
61366
61564
  const
61367
61565
  gl = this .getBrowser () .getContext (),
@@ -61370,7 +61568,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
61370
61568
 
61371
61569
  gl .bindFramebuffer (gl .FRAMEBUFFER, framebuffer);
61372
61570
  gl .framebufferTexture2D (gl .FRAMEBUFFER, gl .COLOR_ATTACHMENT0, gl .TEXTURE_2D, texture, 0);
61373
- await gl .readPixelsAsync (0, 0, width, height, gl .RGBA, gl .UNSIGNED_BYTE, data);
61571
+ gl .readPixels (0, 0, width, height, gl .RGBA, gl .UNSIGNED_BYTE, data);
61374
61572
  gl .deleteFramebuffer (framebuffer);
61375
61573
 
61376
61574
  return data;
@@ -65711,7 +65909,7 @@ const X3DWorld_default_ = X3DWorld;
65711
65909
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
65712
65910
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
65713
65911
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
65714
- /* provided dependency */ var FileLoader_$ = __webpack_require__(604);
65912
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(831);
65715
65913
  /*******************************************************************************
65716
65914
  *
65717
65915
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66705,9 +66903,9 @@ function X3DRoute (executionContext, sourceNode, sourceField, destinationNode, d
66705
66903
  Base_X3DObject .call (this, executionContext);
66706
66904
 
66707
66905
  this [X3DRoute_executionContext] = executionContext;
66708
- this [_sourceNode] = Fields_SFNodeCache .get (sourceNode);
66906
+ this [_sourceNode] = sourceNode;
66709
66907
  this [_sourceField] = sourceField;
66710
- this [_destinationNode] = Fields_SFNodeCache .get (destinationNode);
66908
+ this [_destinationNode] = destinationNode;
66711
66909
  this [_destinationField] = destinationField;
66712
66910
 
66713
66911
  // Must connect in every context, to make X3DBaseNode.hasRoutes work.
@@ -66731,7 +66929,7 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
66731
66929
  getSourceNode ()
66732
66930
  {
66733
66931
  /// SAI
66734
- return this [_sourceNode] .getValue ();
66932
+ return this [_sourceNode];
66735
66933
  },
66736
66934
  getSourceField ()
66737
66935
  {
@@ -66741,7 +66939,7 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
66741
66939
  getDestinationNode ()
66742
66940
  {
66743
66941
  /// SAI
66744
- return this [_destinationNode] .getValue ();
66942
+ return this [_destinationNode];
66745
66943
  },
66746
66944
  getDestinationField ()
66747
66945
  {
@@ -66910,7 +67108,7 @@ Object .defineProperties (X3DRoute .prototype,
66910
67108
  {
66911
67109
  get ()
66912
67110
  {
66913
- return this [_sourceNode];
67111
+ return Fields_SFNodeCache .get (this [_sourceNode]);
66914
67112
  },
66915
67113
  enumerable: true,
66916
67114
  },
@@ -66926,7 +67124,7 @@ Object .defineProperties (X3DRoute .prototype,
66926
67124
  {
66927
67125
  get ()
66928
67126
  {
66929
- return this [_destinationNode];
67127
+ return Fields_SFNodeCache .get (this [_destinationNode]);
66930
67128
  },
66931
67129
  enumerable: true,
66932
67130
  },
@@ -67425,6 +67623,10 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67425
67623
  {
67426
67624
  return this [_importedNodes];
67427
67625
  },
67626
+ getUniqueImportName (name)
67627
+ {
67628
+ return getUniqueName (this [_importedNodes], name);
67629
+ },
67428
67630
  getLocalNode (name)
67429
67631
  {
67430
67632
  name = String (name);
@@ -67438,7 +67640,7 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67438
67640
  const importedNode = this [_importedNodes] .get (name);
67439
67641
 
67440
67642
  if (importedNode)
67441
- return Fields_SFNodeCache .get (importedNode);
67643
+ return importedNode;
67442
67644
 
67443
67645
  throw new Error (`Unknown named or imported node '${name}'.`);
67444
67646
  }
@@ -67619,28 +67821,28 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67619
67821
  },
67620
67822
  addRoute (sourceNode, sourceField, destinationNode, destinationField)
67621
67823
  {
67824
+ let
67825
+ importedSourceNode = sourceNode instanceof Execution_X3DImportedNode ? sourceNode : null,
67826
+ importedDestinationNode = destinationNode instanceof Execution_X3DImportedNode ? destinationNode : null;
67827
+
67622
67828
  sourceNode = Base_X3DCast (Base_X3DConstants .X3DNode, sourceNode, false);
67623
67829
  sourceField = String (sourceField);
67624
67830
  destinationNode = Base_X3DCast (Base_X3DConstants .X3DNode, destinationNode, false);
67625
67831
  destinationField = String (destinationField);
67626
67832
 
67627
- if (!sourceNode)
67833
+ if (!(sourceNode || importedSourceNode))
67628
67834
  throw new Error ("Bad ROUTE specification: source node must be of type X3DNode.");
67629
67835
 
67630
- if (!destinationNode)
67836
+ if (!(destinationNode || importedDestinationNode))
67631
67837
  throw new Error ("Bad ROUTE specification: destination node must be of type X3DNode.");
67632
67838
 
67633
67839
  // Imported nodes handling.
67634
67840
 
67635
- let
67636
- importedSourceNode = sourceNode instanceof Execution_X3DImportedNode ? sourceNode : null,
67637
- importedDestinationNode = destinationNode instanceof Execution_X3DImportedNode ? destinationNode : null;
67638
-
67639
67841
  try
67640
67842
  {
67641
67843
  // If sourceNode is shared node try to find the corresponding X3DImportedNode.
67642
- if (sourceNode .getExecutionContext () !== this)
67643
- importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode)) .getValue ();
67844
+ if (sourceNode && sourceNode .getExecutionContext () !== this)
67845
+ importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode));
67644
67846
  }
67645
67847
  catch
67646
67848
  {
@@ -67650,8 +67852,8 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67650
67852
  try
67651
67853
  {
67652
67854
  // If destinationNode is shared node try to find the corresponding X3DImportedNode.
67653
- if (destinationNode .getExecutionContext () !== this)
67654
- importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode)) .getValue ();
67855
+ if (destinationNode && destinationNode .getExecutionContext () !== this)
67856
+ importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode));
67655
67857
  }
67656
67858
  catch
67657
67859
  {
@@ -67671,21 +67873,17 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67671
67873
  {
67672
67874
  importedDestinationNode .addRoute (sourceNode, sourceField, importedDestinationNode, destinationField);
67673
67875
  }
67674
-
67675
- // If either sourceNode or destinationNode is an X3DImportedNode return here without value.
67676
- if (importedSourceNode === sourceNode || importedDestinationNode === destinationNode)
67677
- return;
67678
-
67679
- // Create route and return.
67680
-
67681
- return this .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
67876
+ else
67877
+ {
67878
+ // Create route and return.
67879
+ return this .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
67880
+ }
67682
67881
  },
67683
67882
  addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField)
67684
67883
  {
67685
- // Source and dest node are here X3DBaseNode.
67686
-
67687
67884
  try
67688
67885
  {
67886
+ // Source and dest node must be here X3DNode, no check here.
67689
67887
  // Private function.
67690
67888
  // Create route and return.
67691
67889
 
@@ -67756,7 +67954,7 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67756
67954
  {
67757
67955
  // If sourceNode is shared node try to find the corresponding X3DImportedNode.
67758
67956
  if (sourceNode .getValue () .getExecutionContext () !== this)
67759
- importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode)) .getValue ();
67957
+ importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode));
67760
67958
  }
67761
67959
  catch
67762
67960
  {
@@ -67767,7 +67965,7 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67767
67965
  {
67768
67966
  // If destinationNode is shared node try to find the corresponding X3DImportedNode.
67769
67967
  if (destinationNode .getValue () .getExecutionContext () !== this)
67770
- importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode)) .getValue ();
67968
+ importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode));
67771
67969
  }
67772
67970
  catch
67773
67971
  {
@@ -89401,7 +89599,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
89401
89599
  x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
89402
89600
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
89403
89601
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
89404
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(604);
89602
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(831);
89405
89603
  /*******************************************************************************
89406
89604
  *
89407
89605
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95042,7 +95240,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
95042
95240
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
95043
95241
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
95044
95242
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
95045
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(604);
95243
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(831);
95046
95244
  /*******************************************************************************
95047
95245
  *
95048
95246
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95699,7 +95897,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
95699
95897
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
95700
95898
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
95701
95899
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
95702
- /* provided dependency */ var Appearance_$ = __webpack_require__(604);
95900
+ /* provided dependency */ var Appearance_$ = __webpack_require__(831);
95703
95901
  /*******************************************************************************
95704
95902
  *
95705
95903
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -99117,7 +99315,7 @@ const Components_Shape_default_ = {
99117
99315
  x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
99118
99316
  /* harmony default export */ const Components_Shape = (Components_Shape_default_);
99119
99317
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
99120
- /* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(604);
99318
+ /* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(831);
99121
99319
  /*******************************************************************************
99122
99320
  *
99123
99321
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -99757,7 +99955,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
99757
99955
  x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
99758
99956
  /* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
99759
99957
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
99760
- /* provided dependency */ var AudioClip_$ = __webpack_require__(604);
99958
+ /* provided dependency */ var AudioClip_$ = __webpack_require__(831);
99761
99959
  /*******************************************************************************
99762
99960
  *
99763
99961
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -100059,7 +100257,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
100059
100257
  x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
100060
100258
  /* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
100061
100259
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
100062
- /* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(604);
100260
+ /* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(831);
100063
100261
  /*******************************************************************************
100064
100262
  *
100065
100263
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -101709,7 +101907,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
101709
101907
  x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
101710
101908
  /* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
101711
101909
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
101712
- /* provided dependency */ var MicrophoneSource_$ = __webpack_require__(604);
101910
+ /* provided dependency */ var MicrophoneSource_$ = __webpack_require__(831);
101713
101911
  /*******************************************************************************
101714
101912
  *
101715
101913
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -103378,8 +103576,8 @@ const GifMedia_default_ = GifMedia;
103378
103576
  x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
103379
103577
  /* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
103380
103578
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
103381
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(604);
103382
- /* provided dependency */ var SuperGif = __webpack_require__(767);
103579
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(831);
103580
+ /* provided dependency */ var SuperGif = __webpack_require__(698);
103383
103581
  /*******************************************************************************
103384
103582
  *
103385
103583
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -106077,74 +106275,74 @@ const Context =
106077
106275
  });
106078
106276
  }
106079
106277
 
106080
- // Async functions
106278
+ // // Async functions, DOES'NT WORK WELL WITH OPERA!!!
106081
106279
 
106082
- Object .assign (gl, gl .getVersion () === 1
106083
- ?
106084
- {
106085
- readPixelsAsync: gl .readPixels,
106086
- }
106087
- :
106088
- {
106089
- clientWaitAsync (sync, flags, timeout)
106090
- {
106091
- return new Promise ((resolve, reject) =>
106092
- {
106093
- const check = () =>
106094
- {
106095
- const result = this .clientWaitSync (sync, flags, 0);
106096
-
106097
- switch (result)
106098
- {
106099
- case this .WAIT_FAILED:
106100
- {
106101
- reject (new Error ("clientWaitSync: WAIT_FAILED"));
106102
- return;
106103
- }
106104
- case this .TIMEOUT_EXPIRED:
106105
- {
106106
- setTimeout (check, timeout);
106107
- return;
106108
- }
106109
- default:
106110
- {
106111
- resolve ();
106112
- return;
106113
- }
106114
- }
106115
- };
106116
-
106117
- setTimeout (check);
106118
- });
106119
- },
106120
- getBufferSubDataAsync: async function (target, buffer, srcByteOffset, dstBuffer, /* optional */ dstOffset, /* optional */ length)
106121
- {
106122
- const sync = this .fenceSync (this .SYNC_GPU_COMMANDS_COMPLETE, 0);
106123
-
106124
- this .flush ();
106125
-
106126
- await this .clientWaitAsync (sync, 0, 10);
106127
-
106128
- this .deleteSync (sync);
106129
-
106130
- this .bindBuffer (target, buffer);
106131
- this .getBufferSubData (target, srcByteOffset, dstBuffer, dstOffset, length);
106132
- this .bindBuffer (target, null);
106133
- },
106134
- readPixelsAsync: async function (x, y, w, h, format, type, dest, dstOffset)
106135
- {
106136
- const buffer = this .createBuffer ();
106137
-
106138
- this .bindBuffer (this .PIXEL_PACK_BUFFER, buffer);
106139
- this .bufferData (this .PIXEL_PACK_BUFFER, dest .byteLength, this .STREAM_READ);
106140
- this .readPixels (x, y, w, h, format, type, 0);
106141
- this .bindBuffer (this .PIXEL_PACK_BUFFER, null);
106142
-
106143
- await this .getBufferSubDataAsync (this .PIXEL_PACK_BUFFER, buffer, 0, dest, dstOffset);
106144
-
106145
- this .deleteBuffer (buffer);
106146
- },
106147
- });
106280
+ // Object .assign (gl, gl .getVersion () === 1
106281
+ // ?
106282
+ // {
106283
+ // readPixelsAsync: gl .readPixels,
106284
+ // }
106285
+ // :
106286
+ // {
106287
+ // clientWaitAsync (sync, flags, timeout)
106288
+ // {
106289
+ // return new Promise ((resolve, reject) =>
106290
+ // {
106291
+ // const check = () =>
106292
+ // {
106293
+ // const result = this .clientWaitSync (sync, flags, 0);
106294
+
106295
+ // switch (result)
106296
+ // {
106297
+ // case this .WAIT_FAILED:
106298
+ // {
106299
+ // reject (new Error ("clientWaitSync: WAIT_FAILED"));
106300
+ // return;
106301
+ // }
106302
+ // case this .TIMEOUT_EXPIRED:
106303
+ // {
106304
+ // setTimeout (check, timeout);
106305
+ // return;
106306
+ // }
106307
+ // default:
106308
+ // {
106309
+ // resolve ();
106310
+ // return;
106311
+ // }
106312
+ // }
106313
+ // };
106314
+
106315
+ // setTimeout (check);
106316
+ // });
106317
+ // },
106318
+ // getBufferSubDataAsync: async function (target, buffer, srcByteOffset, dstBuffer, /* optional */ dstOffset, /* optional */ length)
106319
+ // {
106320
+ // const sync = this .fenceSync (this .SYNC_GPU_COMMANDS_COMPLETE, 0);
106321
+
106322
+ // this .flush ();
106323
+
106324
+ // await this .clientWaitAsync (sync, 0, 10);
106325
+
106326
+ // this .deleteSync (sync);
106327
+
106328
+ // this .bindBuffer (target, buffer);
106329
+ // this .getBufferSubData (target, srcByteOffset, dstBuffer, dstOffset, length);
106330
+ // this .bindBuffer (target, null);
106331
+ // },
106332
+ // readPixelsAsync: async function (x, y, w, h, format, type, dest, dstOffset)
106333
+ // {
106334
+ // const buffer = this .createBuffer ();
106335
+
106336
+ // this .bindBuffer (this .PIXEL_PACK_BUFFER, buffer);
106337
+ // this .bufferData (this .PIXEL_PACK_BUFFER, dest .byteLength, this .STREAM_READ);
106338
+ // this .readPixels (x, y, w, h, format, type, 0);
106339
+ // this .bindBuffer (this .PIXEL_PACK_BUFFER, null);
106340
+
106341
+ // await this .getBufferSubDataAsync (this .PIXEL_PACK_BUFFER, buffer, 0, dest, dstOffset);
106342
+
106343
+ // this .deleteBuffer (buffer);
106344
+ // },
106345
+ // });
106148
106346
 
106149
106347
  // Return context.
106150
106348
 
@@ -106654,7 +106852,7 @@ const gettext_default_ = gettext;
106654
106852
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
106655
106853
  /* harmony default export */ const locale_gettext = (gettext_default_);
106656
106854
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
106657
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(604);
106855
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(831);
106658
106856
  /*******************************************************************************
106659
106857
  *
106660
106858
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107084,7 +107282,7 @@ const TextureQuality_default_ = TextureQuality;
107084
107282
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
107085
107283
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
107086
107284
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
107087
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(604);
107285
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(831);
107088
107286
  /*******************************************************************************
107089
107287
  *
107090
107288
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107674,7 +107872,7 @@ const RenderingProperties_default_ = RenderingProperties;
107674
107872
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
107675
107873
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
107676
107874
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
107677
- /* provided dependency */ var Notification_$ = __webpack_require__(604);
107875
+ /* provided dependency */ var Notification_$ = __webpack_require__(831);
107678
107876
  /*******************************************************************************
107679
107877
  *
107680
107878
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107797,8 +107995,8 @@ const Notification_default_ = Notification;
107797
107995
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
107798
107996
  /* harmony default export */ const Core_Notification = (Notification_default_);
107799
107997
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
107800
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(323);
107801
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(604);
107998
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(561);
107999
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(831);
107802
108000
  /*******************************************************************************
107803
108001
  *
107804
108002
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109042,26 +109240,32 @@ x_ite_Namespace .add ("UnitInfoArray", "x_ite/Configuration/UnitInfoArray", Unit
109042
109240
 
109043
109241
 
109044
109242
  const
109045
- X3DExportedNode_exportedName = Symbol (),
109046
- _localNode = Symbol ();
109243
+ X3DExportedNode_executionContext = Symbol (),
109244
+ X3DExportedNode_exportedName = Symbol (),
109245
+ _localNode = Symbol ();
109047
109246
 
109048
- function X3DExportedNode (exportedName, localNode)
109247
+ function X3DExportedNode (executionContext, exportedName, localNode)
109049
109248
  {
109050
109249
  Base_X3DObject .call (this);
109051
109250
 
109052
- this [X3DExportedNode_exportedName] = exportedName;
109053
- this [_localNode] = Fields_SFNodeCache .get (localNode);
109251
+ this [X3DExportedNode_executionContext] = executionContext;
109252
+ this [X3DExportedNode_exportedName] = exportedName;
109253
+ this [_localNode] = localNode;
109054
109254
  }
109055
109255
 
109056
109256
  Object .assign (Object .setPrototypeOf (X3DExportedNode .prototype, Base_X3DObject .prototype),
109057
109257
  {
109258
+ getExecutionContext ()
109259
+ {
109260
+ return this [X3DExportedNode_executionContext];
109261
+ },
109058
109262
  getExportedName ()
109059
109263
  {
109060
109264
  return this [X3DExportedNode_exportedName];
109061
109265
  },
109062
109266
  getLocalNode ()
109063
109267
  {
109064
- return this [_localNode] .getValue ();
109268
+ return this [_localNode];
109065
109269
  },
109066
109270
  toVRMLStream (generator)
109067
109271
  {
@@ -109176,7 +109380,7 @@ Object .defineProperties (X3DExportedNode .prototype,
109176
109380
  {
109177
109381
  get ()
109178
109382
  {
109179
- return this [_localNode];
109383
+ return Fields_SFNodeCache .get (this [_localNode]);
109180
109384
  },
109181
109385
  enumerable: true,
109182
109386
  },
@@ -109630,7 +109834,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
109630
109834
 
109631
109835
  this .removeExportedNode (exportedName);
109632
109836
 
109633
- const exportedNode = new Execution_X3DExportedNode (exportedName, node);
109837
+ const exportedNode = new Execution_X3DExportedNode (this, exportedName, node);
109634
109838
 
109635
109839
  this [_exportedNodes] .add (exportedName, exportedNode);
109636
109840
 
@@ -110546,7 +110750,7 @@ const DataStorage_default_ = DataStorage;
110546
110750
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
110547
110751
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
110548
110752
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
110549
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(604);
110753
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(831);
110550
110754
  /*******************************************************************************
110551
110755
  *
110552
110756
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110757,10 +110961,6 @@ Object .assign (X3DCoreContext .prototype,
110757
110961
  {
110758
110962
  return this [_instanceId];
110759
110963
  },
110760
- isStrict ()
110761
- {
110762
- return false;
110763
- },
110764
110964
  getElement ()
110765
110965
  {
110766
110966
  return this [_element];
@@ -113073,8 +113273,8 @@ const X3DViewer_default_ = X3DViewer;
113073
113273
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
113074
113274
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
113075
113275
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
113076
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(674);
113077
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(604);
113276
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(471);
113277
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(831);
113078
113278
  /*******************************************************************************
113079
113279
  *
113080
113280
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -113946,8 +114146,8 @@ const ExamineViewer_default_ = ExamineViewer;
113946
114146
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
113947
114147
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
113948
114148
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
113949
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(674);
113950
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(604);
114149
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(471);
114150
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(831);
113951
114151
  /*******************************************************************************
113952
114152
  *
113953
114153
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114956,8 +115156,8 @@ const FlyViewer_default_ = FlyViewer;
114956
115156
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
114957
115157
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
114958
115158
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
114959
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(674);
114960
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(604);
115159
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(471);
115160
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(831);
114961
115161
  /*******************************************************************************
114962
115162
  *
114963
115163
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115288,8 +115488,8 @@ const NoneViewer_default_ = NoneViewer;
115288
115488
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
115289
115489
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
115290
115490
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
115291
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(674);
115292
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(604);
115491
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(471);
115492
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(831);
115293
115493
  /*******************************************************************************
115294
115494
  *
115295
115495
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116428,8 +116628,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
116428
116628
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
116429
116629
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
116430
116630
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
116431
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(674);
116432
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(604);
116631
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(471);
116632
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(831);
116433
116633
  /*******************************************************************************
116434
116634
  *
116435
116635
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117708,7 +117908,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
117708
117908
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
117709
117909
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
117710
117910
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
117711
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(604);
117911
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(831);
117712
117912
  /*******************************************************************************
117713
117913
  *
117714
117914
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118611,7 +118811,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
118611
118811
  x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
118612
118812
  /* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
118613
118813
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
118614
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(604);
118814
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(831);
118615
118815
  const KTXDecoder_default_ = class KTXDecoder
118616
118816
  {
118617
118817
  constructor (gl, externalKtxlib, scriptDir)
@@ -120164,7 +120364,7 @@ const Components_default_ = Components;
120164
120364
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
120165
120365
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
120166
120366
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
120167
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(604);
120367
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(831);
120168
120368
  /*******************************************************************************
120169
120369
  * MIT License
120170
120370
  *
@@ -120602,13 +120802,14 @@ x_ite_Namespace .add ("DOMIntegration", "x_ite/Browser/DOMIntegration", DOMInteg
120602
120802
 
120603
120803
 
120604
120804
 
120805
+
120605
120806
  function ProfileInfo (name, title, providerURL, components)
120606
120807
  {
120607
120808
  Object .defineProperties (this,
120608
120809
  {
120609
120810
  name: { value: name, enumerable: true },
120610
120811
  title: { value: title, enumerable: true },
120611
- providerURL: { value: providerURL, enumerable: true },
120812
+ providerURL: { value: providerURL || Networking_URLs .getProviderURL (), enumerable: true },
120612
120813
  components: { value: components, enumerable: true },
120613
120814
  });
120614
120815
  }
@@ -121103,13 +121304,11 @@ x_ite_Namespace .add ("SupportedComponents", "x_ite/Configuration/SupportedCompo
121103
121304
 
121104
121305
 
121105
121306
 
121106
-
121107
121307
  const SupportedProfiles = new Configuration_ProfileInfoArray ();
121108
121308
 
121109
121309
  SupportedProfiles .add ("CADInterchange",
121110
121310
  {
121111
121311
  title: "Computer-Aided Design (CAD) interchange",
121112
- providerURL: Networking_URLs .getProviderURL (),
121113
121312
  components: [
121114
121313
  Configuration_SupportedComponents .get ("CADGeometry"),
121115
121314
  Configuration_SupportedComponents .get ("Core"),
@@ -121127,7 +121326,6 @@ SupportedProfiles .add ("CADInterchange",
121127
121326
  SupportedProfiles .add ("Core",
121128
121327
  {
121129
121328
  title: "Core",
121130
- providerURL: Networking_URLs .getProviderURL (),
121131
121329
  components: [
121132
121330
  Configuration_SupportedComponents .get ("Core"),
121133
121331
  ],
@@ -121136,7 +121334,6 @@ SupportedProfiles .add ("Core",
121136
121334
  SupportedProfiles .add ("Full",
121137
121335
  {
121138
121336
  title: "Full",
121139
- providerURL: Networking_URLs .getProviderURL (),
121140
121337
  components: [
121141
121338
  //SupportedComponents .get ("Annotation"),
121142
121339
  Configuration_SupportedComponents .get ("CADGeometry"),
@@ -121181,7 +121378,6 @@ SupportedProfiles .add ("Full",
121181
121378
  SupportedProfiles .add ("Immersive",
121182
121379
  {
121183
121380
  title: "Immersive",
121184
- providerURL: Networking_URLs .getProviderURL (),
121185
121381
  components: [
121186
121382
  Configuration_SupportedComponents .get ("Core"),
121187
121383
  Configuration_SupportedComponents .get ("EnvironmentalEffects"),
@@ -121209,7 +121405,6 @@ SupportedProfiles .add ("Immersive",
121209
121405
  SupportedProfiles .add ("Interactive",
121210
121406
  {
121211
121407
  title: "Interactive",
121212
- providerURL: Networking_URLs .getProviderURL (),
121213
121408
  components: [
121214
121409
  Configuration_SupportedComponents .get ("Core"),
121215
121410
  Configuration_SupportedComponents .get ("EnvironmentalEffects"),
@@ -121233,7 +121428,6 @@ SupportedProfiles .add ("Interactive",
121233
121428
  SupportedProfiles .add ("Interchange",
121234
121429
  {
121235
121430
  title: "Interchange",
121236
- providerURL: Networking_URLs .getProviderURL (),
121237
121431
  components: [
121238
121432
  Configuration_SupportedComponents .get ("Core"),
121239
121433
  Configuration_SupportedComponents .get ("EnvironmentalEffects"),
@@ -121253,7 +121447,6 @@ SupportedProfiles .add ("Interchange",
121253
121447
  SupportedProfiles .add ("MedicalInterchange",
121254
121448
  {
121255
121449
  title: "Medical interchange",
121256
- providerURL: Networking_URLs .getProviderURL (),
121257
121450
  components: [
121258
121451
  Configuration_SupportedComponents .get ("Core"),
121259
121452
  Configuration_SupportedComponents .get ("EnvironmentalEffects"),
@@ -121278,7 +121471,6 @@ SupportedProfiles .add ("MedicalInterchange",
121278
121471
  SupportedProfiles .add ("MPEG-4",
121279
121472
  {
121280
121473
  title: "MPEG-4 interactive",
121281
- providerURL: Networking_URLs .getProviderURL (),
121282
121474
  components: [
121283
121475
  Configuration_SupportedComponents .get ("Core"),
121284
121476
  Configuration_SupportedComponents .get ("EnvironmentalEffects"),
@@ -121303,7 +121495,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
121303
121495
  x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
121304
121496
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
121305
121497
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
121306
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(604);
121498
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(831);
121307
121499
  /*******************************************************************************
121308
121500
  *
121309
121501
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -122384,7 +122576,7 @@ const X3DBrowser_default_ = X3DBrowser;
122384
122576
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
122385
122577
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
122386
122578
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
122387
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(604);
122579
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(831);
122388
122580
  /*******************************************************************************
122389
122581
  *
122390
122582
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -122516,8 +122708,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
122516
122708
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
122517
122709
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
122518
122710
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
122519
- /* provided dependency */ var jquery_$ = __webpack_require__(604);
122520
- /* provided dependency */ var pako = __webpack_require__(960);
122711
+ /* provided dependency */ var jquery_$ = __webpack_require__(831);
122712
+ /* provided dependency */ var pako = __webpack_require__(295);
122521
122713
  Object .assign (jquery_$,
122522
122714
  {
122523
122715
  decodeText (input)
@@ -122594,14 +122786,14 @@ const jquery_default_ = jquery_$;
122594
122786
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
122595
122787
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
122596
122788
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
122597
- /* provided dependency */ var libtess_libtess = __webpack_require__(594);
122789
+ /* provided dependency */ var libtess_libtess = __webpack_require__(864);
122598
122790
  const libtess_default_ = libtess_libtess;
122599
122791
  ;
122600
122792
 
122601
122793
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
122602
122794
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
122603
122795
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
122604
- /* provided dependency */ var X3D_$ = __webpack_require__(604);
122796
+ /* provided dependency */ var X3D_$ = __webpack_require__(831);
122605
122797
  /*******************************************************************************
122606
122798
  *
122607
122799
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -122855,92 +123047,6 @@ Object .assign (X3D,
122855
123047
 
122856
123048
  /* harmony default export */ const x_ite_X3D = (X3D);
122857
123049
 
122858
- ;// CONCATENATED MODULE: ./src/shim.js
122859
- /*******************************************************************************
122860
- *
122861
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
122862
- *
122863
- * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
122864
- *
122865
- * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
122866
- *
122867
- * The copyright notice above does not evidence any actual of intended
122868
- * publication of such source code, and is an unpublished work by create3000.
122869
- * This material contains CONFIDENTIAL INFORMATION that is the property of
122870
- * create3000.
122871
- *
122872
- * No permission is granted to copy, distribute, or create derivative works from
122873
- * the contents of this software, in whole or in part, without the prior written
122874
- * permission of create3000.
122875
- *
122876
- * NON-MILITARY USE ONLY
122877
- *
122878
- * All create3000 software are effectively free software with a non-military use
122879
- * restriction. It is free. Well commented source is provided. You may reuse the
122880
- * source in any way you please with the exception anything that uses it must be
122881
- * marked to indicate is contains 'non-military use only' components.
122882
- *
122883
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
122884
- *
122885
- * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
122886
- *
122887
- * This file is part of the X_ITE Project.
122888
- *
122889
- * X_ITE is free software: you can redistribute it and/or modify it under the
122890
- * terms of the GNU General Public License version 3 only, as published by the
122891
- * Free Software Foundation.
122892
- *
122893
- * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
122894
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
122895
- * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
122896
- * details (a copy is included in the LICENSE file that accompanied this code).
122897
- *
122898
- * You should have received a copy of the GNU General Public License version 3
122899
- * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
122900
- * copy of the GPLv3 License.
122901
- *
122902
- * For Silvio, Joy and Adi.
122903
- *
122904
- ******************************************************************************/
122905
-
122906
- (() =>
122907
- {
122908
- // Added at February 2022
122909
- // https://github.com/tc39/proposal-relative-indexing-method#polyfill
122910
-
122911
- function at (n)
122912
- {
122913
- // ToInteger() abstract op
122914
- n = Math.trunc(n) || 0;
122915
- // Allow negative indexing from the end
122916
- if (n < 0) n += this.length;
122917
- // OOB access is guaranteed to return undefined
122918
- if (n < 0 || n >= this.length) return undefined;
122919
- // Otherwise, this is just normal property access
122920
- return this[n];
122921
- }
122922
-
122923
- const TypedArray = Reflect .getPrototypeOf (Int8Array);
122924
- for (const C of [Array, String, TypedArray])
122925
- {
122926
- if (C .prototype .at === undefined)
122927
- {
122928
- Object .defineProperty (C .prototype, "at",
122929
- {
122930
- value: at,
122931
- writable: true,
122932
- enumerable: false,
122933
- configurable: true,
122934
- });
122935
- }
122936
- }
122937
- })();
122938
-
122939
- const shim_default_ = undefined;
122940
- ;
122941
-
122942
- x_ite_Namespace .add ("shim", "shim", shim_default_);
122943
- /* harmony default export */ const shim = ((/* unused pure expression or super */ null && (shim_default_)));
122944
123050
  ;// CONCATENATED MODULE: ./src/x_ite.js
122945
123051
  /*******************************************************************************
122946
123052
  *
@@ -122995,7 +123101,7 @@ x_ite_Namespace .add ("shim", "shim", shim_default_);
122995
123101
 
122996
123102
  // Assign X3D to global namespace.
122997
123103
 
122998
- window [Symbol .for ("X_ITE.X3D-9.1.9")] = x_ite_X3D;
123104
+ window [Symbol .for ("X_ITE.X3D-9.1.11")] = x_ite_X3D;
122999
123105
 
123000
123106
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
123001
123107