fl-web-component 1.2.2 → 1.2.4

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.
@@ -202,12 +202,12 @@ module.exports =
202
202
  /************************************************************************/
203
203
  /******/ ({
204
204
 
205
- /***/ "0011":
205
+ /***/ "03e8":
206
206
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
207
207
 
208
208
  "use strict";
209
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_2733ad2c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8122");
210
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_2733ad2c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_2733ad2c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
209
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_pid_vue_vue_type_style_index_0_id_0ec35ee4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("aae3");
210
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_pid_vue_vue_type_style_index_0_id_0ec35ee4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_pid_vue_vue_type_style_index_0_id_0ec35ee4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
211
211
  /* unused harmony reexport * */
212
212
 
213
213
 
@@ -1181,17 +1181,6 @@ Factory_1.Factory.addGetterSetter(Layer, 'imageSmoothingEnabled', true);
1181
1181
  Factory_1.Factory.addGetterSetter(Layer, 'clearBeforeDraw', true);
1182
1182
  Factory_1.Factory.addGetterSetter(Layer, 'hitGraphEnabled', true, (0, Validators_1.getBooleanValidator)());
1183
1183
 
1184
- /***/ }),
1185
-
1186
- /***/ "106c":
1187
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1188
-
1189
- "use strict";
1190
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_3d926f5d_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fdfd");
1191
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_3d926f5d_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_3d926f5d_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
1192
- /* unused harmony reexport * */
1193
-
1194
-
1195
1184
  /***/ }),
1196
1185
 
1197
1186
  /***/ "122f":
@@ -8995,6 +8984,13 @@ exports.Sepia = Sepia;
8995
8984
 
8996
8985
  /***/ }),
8997
8986
 
8987
+ /***/ "7c10":
8988
+ /***/ (function(module, exports, __webpack_require__) {
8989
+
8990
+ // extracted by mini-css-extract-plugin
8991
+
8992
+ /***/ }),
8993
+
8998
8994
  /***/ "7cc1":
8999
8995
  /***/ (function(module, exports, __webpack_require__) {
9000
8996
 
@@ -9096,13 +9092,6 @@ module.exports = JSON.parse("{\"glyphs\":{\"0\":{\"x_min\":73,\"x_max\":715,\"ha
9096
9092
 
9097
9093
  /***/ }),
9098
9094
 
9099
- /***/ "8122":
9100
- /***/ (function(module, exports, __webpack_require__) {
9101
-
9102
- // extracted by mini-css-extract-plugin
9103
-
9104
- /***/ }),
9105
-
9106
9095
  /***/ "85b7":
9107
9096
  /***/ (function(module, exports, __webpack_require__) {
9108
9097
 
@@ -10092,6 +10081,17 @@ Factory_1.Factory.addGetterSetter(Arc, 'outerRadius', 0, (0, Validators_1.getNum
10092
10081
  Factory_1.Factory.addGetterSetter(Arc, 'angle', 0, (0, Validators_1.getNumberValidator)());
10093
10082
  Factory_1.Factory.addGetterSetter(Arc, 'clockwise', false, (0, Validators_1.getBooleanValidator)());
10094
10083
 
10084
+ /***/ }),
10085
+
10086
+ /***/ "861d":
10087
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10088
+
10089
+ "use strict";
10090
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_1eba8e28_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bcab");
10091
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_1eba8e28_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_1eba8e28_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
10092
+ /* unused harmony reexport * */
10093
+
10094
+
10095
10095
  /***/ }),
10096
10096
 
10097
10097
  /***/ "89c1":
@@ -23542,14 +23542,10 @@ Factory_1.Factory.backCompat(Sprite, {
23542
23542
 
23543
23543
  /***/ }),
23544
23544
 
23545
- /***/ "af55":
23546
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
23547
-
23548
- "use strict";
23549
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_pid_vue_vue_type_style_index_0_id_09d5c9d8_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bd9a");
23550
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_pid_vue_vue_type_style_index_0_id_09d5c9d8_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_pid_vue_vue_type_style_index_0_id_09d5c9d8_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
23551
- /* unused harmony reexport * */
23545
+ /***/ "aae3":
23546
+ /***/ (function(module, exports, __webpack_require__) {
23552
23547
 
23548
+ // extracted by mini-css-extract-plugin
23553
23549
 
23554
23550
  /***/ }),
23555
23551
 
@@ -23788,6 +23784,13 @@ Factory_1.Factory.addGetterSetter(Node_1.Node, 'noise', 0.2, (0, Validators_1.ge
23788
23784
 
23789
23785
  /***/ }),
23790
23786
 
23787
+ /***/ "bcab":
23788
+ /***/ (function(module, exports, __webpack_require__) {
23789
+
23790
+ // extracted by mini-css-extract-plugin
23791
+
23792
+ /***/ }),
23793
+
23791
23794
  /***/ "bcb1":
23792
23795
  /***/ (function(module, exports, __webpack_require__) {
23793
23796
 
@@ -23892,13 +23895,6 @@ Factory_1.Factory.addGetterSetter(Node_1.Node, 'enhance', 0, (0, Validators_1.ge
23892
23895
 
23893
23896
  /***/ }),
23894
23897
 
23895
- /***/ "bd9a":
23896
- /***/ (function(module, exports, __webpack_require__) {
23897
-
23898
- // extracted by mini-css-extract-plugin
23899
-
23900
- /***/ }),
23901
-
23902
23898
  /***/ "bdee":
23903
23899
  /***/ (function(module, exports, __webpack_require__) {
23904
23900
 
@@ -28220,6 +28216,17 @@ Animation.animations = [];
28220
28216
  Animation.animIdCounter = 0;
28221
28217
  Animation.animRunning = false;
28222
28218
 
28219
+ /***/ }),
28220
+
28221
+ /***/ "effe":
28222
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
28223
+
28224
+ "use strict";
28225
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_581c5bb4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c10");
28226
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_581c5bb4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_581c5bb4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
28227
+ /* unused harmony reexport * */
28228
+
28229
+
28223
28230
  /***/ }),
28224
28231
 
28225
28232
  /***/ "f0b4":
@@ -29234,8 +29241,8 @@ if (typeof window !== 'undefined') {
29234
29241
  // Indicate to webpack that this file can be concatenated
29235
29242
  /* harmony default export */ var setPublicPath = (null);
29236
29243
 
29237
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7865f371-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/index.vue?vue&type=template&id=3d926f5d&scoped=true
29238
- var com_graphicsvue_type_template_id_3d926f5d_scoped_true_render = function render() {
29244
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52a37ace-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/index.vue?vue&type=template&id=581c5bb4&scoped=true
29245
+ var com_graphicsvue_type_template_id_581c5bb4_scoped_true_render = function render() {
29239
29246
  var _vm = this,
29240
29247
  _c = _vm._self._c;
29241
29248
  return _c('div', {
@@ -29246,7 +29253,7 @@ var com_graphicsvue_type_template_id_3d926f5d_scoped_true_render = function rend
29246
29253
  };
29247
29254
  var staticRenderFns = [];
29248
29255
 
29249
- // CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=template&id=3d926f5d&scoped=true
29256
+ // CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=template&id=581c5bb4&scoped=true
29250
29257
 
29251
29258
  // CONCATENATED MODULE: ./node_modules/camera-controls/dist/camera-controls.module.js
29252
29259
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
@@ -31881,7 +31888,7 @@ var CameraControls = /*#__PURE__*/function (_EventDispatcher) {
31881
31888
  }(EventDispatcher);
31882
31889
 
31883
31890
  // CONCATENATED MODULE: ./node_modules/three/build/three.core.js
31884
- function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,three_core_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),three_core_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(three_core_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&three_core_setPrototypeOf(p,r.prototype),p;}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function three_core_superPropGet(t,o,e,r){var p=three_core_get(three_core_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function three_core_get(){return three_core_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=three_core_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},three_core_get.apply(null,arguments);}function three_core_superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=three_core_getPrototypeOf(t)););return t;}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_core_callSuper(t,o,e){return o=three_core_getPrototypeOf(o),three_core_possibleConstructorReturn(t,three_core_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_core_getPrototypeOf(t).constructor):o.apply(t,e));}function three_core_possibleConstructorReturn(t,e){if(e&&("object"==three_core_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_core_assertThisInitialized(t);}function three_core_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_core_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_core_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_core_getPrototypeOf(t){return three_core_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_core_getPrototypeOf(t);}function three_core_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_core_setPrototypeOf(t,e);}function three_core_setPrototypeOf(t,e){return three_core_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_core_setPrototypeOf(t,e);}function _defineProperty(e,r,t){return(r=three_core_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return r;};var t,r={},e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,r,e,n){return Object.defineProperty(t,r,{value:e,enumerable:!n,configurable:!n,writable:!n});}try{c({},"");}catch(t){c=function c(t,r,e){return t[r]=e;};}function h(r,e,n,o){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype);return c(a,"_invoke",function(r,e,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=d(u,n);if(c){if(c===f)continue;return c;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var h=s(r,e,n);if("normal"===h.type){if(o=n.done?4:2,h.arg===f)continue;return{value:h.arg,done:n.done};}"throw"===h.type&&(o=4,n.method="throw",n.arg=h.arg);}};}(r,n,new Context(o||[])),!0),a;}function s(t,r,e){try{return{type:"normal",arg:t.call(r,e)};}catch(t){return{type:"throw",arg:t};}}r.wrap=h;var f={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};c(l,i,function(){return this;});var p=Object.getPrototypeOf,y=p&&p(p(x([])));y&&y!==e&&n.call(y,i)&&(l=y);var v=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function g(t){["next","throw","return"].forEach(function(r){c(t,r,function(t){return this._invoke(r,t);});});}function AsyncIterator(t,r){function e(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var h=c.arg,f=h.value;return f&&"object"==three_core_typeof(f)&&n.call(f,"__await")?r.resolve(f.__await).then(function(t){e("next",t,a,u);},function(t){e("throw",t,a,u);}):r.resolve(f).then(function(t){h.value=t,a(h);},function(t){return e("throw",t,a,u);});}u(c.arg);}var o;c(this,"_invoke",function(t,n){function i(){return new r(function(r,o){e(t,n,r,o);});}return o=o?o.then(i,i):i();},!0);}function d(r,e){var n=e.method,o=r.i[n];if(o===t)return e.delegate=null,"throw"===n&&r.i.return&&(e.method="return",e.arg=t,d(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(o,r.i,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[r.r]=a.value,e.next=r.n,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f);}function w(t){this.tryEntries.push(t);}function m(r){var e=r[4]||{};e.type="normal",e.arg=t,r[4]=e;}function Context(t){this.tryEntries=[[-1]],t.forEach(w,this),this.reset(!0);}function x(r){if(null!=r){var e=r[i];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function e(){for(;++o<r.length;)if(n.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e;};return a.next=a;}}throw new TypeError(three_core_typeof(r)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(v,"constructor",GeneratorFunctionPrototype),c(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName=c(GeneratorFunctionPrototype,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===GeneratorFunction||"GeneratorFunction"===(r.displayName||r.name));},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,c(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t;},r.awrap=function(t){return{__await:t};},g(AsyncIterator.prototype),c(AsyncIterator.prototype,a,function(){return this;}),r.AsyncIterator=AsyncIterator,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next();});},g(v),c(v,u,"Generator"),c(v,i,function(){return this;}),c(v,"toString",function(){return"[object Generator]";}),r.keys=function(t){var r=Object(t),e=[];for(var n in r)e.unshift(n);return function t(){for(;e.length;)if((n=e.pop())in r)return t.value=n,t.done=!1,t;return t.done=!0,t;};},r.values=x,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(m),!r)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(r){if(this.done)throw r;var e=this;function n(t){a.type="throw",a.arg=r,e.next=t;}for(var o=e.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],u=this.prev,c=i[1],h=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!h)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=u){if(u<c)return this.method="next",this.arg=t,n(c),!0;if(u<h)return n(h),!1;}}},abrupt:function abrupt(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var o=n;break;}}o&&("break"===t||"continue"===t)&&o[0]<=r&&r<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o[2],f):this.complete(i);},complete:function complete(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),f;},finish:function finish(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e[2]===t)return this.complete(e[4],e[3]),m(e),f;}},catch:function _catch(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e[0]===t){var n=e[4];if("throw"===n.type){var o=n.arg;m(e);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(r,e,n){return this.delegate={i:x(r),r:e,n:n},"next"===this.method&&(this.arg=t),f;}},r;}function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only');}function three_core_typeof(o){"@babel/helpers - typeof";return three_core_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_core_typeof(o);}function three_core_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_core_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_core_toPropertyKey(o.key),o);}}function three_core_createClass(e,r,t){return r&&three_core_defineProperties(e.prototype,r),t&&three_core_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_core_toPropertyKey(t){var i=three_core_toPrimitive(t,"string");return"symbol"==three_core_typeof(i)?i:i+"";}function three_core_toPrimitive(t,r){if("object"!=three_core_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_core_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
31891
+ function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,three_core_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),three_core_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(three_core_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&three_core_setPrototypeOf(p,r.prototype),p;}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function three_core_superPropGet(t,o,e,r){var p=three_core_get(three_core_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function three_core_get(){return three_core_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=three_core_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},three_core_get.apply(null,arguments);}function three_core_superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=three_core_getPrototypeOf(t)););return t;}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_core_callSuper(t,o,e){return o=three_core_getPrototypeOf(o),three_core_possibleConstructorReturn(t,three_core_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_core_getPrototypeOf(t).constructor):o.apply(t,e));}function three_core_possibleConstructorReturn(t,e){if(e&&("object"==three_core_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_core_assertThisInitialized(t);}function three_core_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_core_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_core_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_core_getPrototypeOf(t){return three_core_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_core_getPrototypeOf(t);}function three_core_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_core_setPrototypeOf(t,e);}function three_core_setPrototypeOf(t,e){return three_core_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_core_setPrototypeOf(t,e);}function _defineProperty(e,r,t){return(r=three_core_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){if(r)i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n;else{function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}o("next",0),o("throw",1),o("return",2);}},_regeneratorDefine2(e,r,n,t);}function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only');}function three_core_typeof(o){"@babel/helpers - typeof";return three_core_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_core_typeof(o);}function three_core_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_core_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_core_toPropertyKey(o.key),o);}}function three_core_createClass(e,r,t){return r&&three_core_defineProperties(e.prototype,r),t&&three_core_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_core_toPropertyKey(t){var i=three_core_toPrimitive(t,"string");return"symbol"==three_core_typeof(i)?i:i+"";}function three_core_toPrimitive(t,r){if("object"!=three_core_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_core_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
31885
31892
  * @license
31886
31893
  * Copyright 2010-2025 Three.js Authors
31887
31894
  * SPDX-License-Identifier: MIT
@@ -33674,7 +33681,7 @@ return Math.acos(_clamp(theta,-1,1));}/**
33674
33681
  * `1`, excluding `1`.
33675
33682
  *
33676
33683
  * @return {Vector2} A reference to this vector.
33677
- */},{key:"random",value:function random(){this.x=Math.random();this.y=Math.random();return this;}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return this.x;case 2:_context2.next=4;return this.y;case 4:case"end":return _context2.stop();}},value,this);})}]);}();/**
33684
+ */},{key:"random",value:function random(){this.x=Math.random();this.y=Math.random();return this;}},{key:Symbol.iterator,value:/*#__PURE__*/_regenerator().m(function value(){return _regenerator().w(function(_context2){while(1)switch(_context2.n){case 0:_context2.n=1;return this.x;case 1:_context2.n=2;return this.y;case 2:return _context2.a(2);}},value,this);})}]);}();/**
33678
33685
  * Represents a 3x3 matrix.
33679
33686
  *
33680
33687
  * A Note on Row-Major and Column-Major Ordering:
@@ -34633,7 +34640,7 @@ this.x=_clamp(this.x,min.x,max.x);this.y=_clamp(this.y,min.y,max.y);this.z=_clam
34633
34640
  * `1`, excluding `1`.
34634
34641
  *
34635
34642
  * @return {Vector4} A reference to this vector.
34636
- */},{key:"random",value:function random(){this.x=Math.random();this.y=Math.random();this.z=Math.random();this.w=Math.random();return this;}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return this.x;case 2:_context3.next=4;return this.y;case 4:_context3.next=6;return this.z;case 6:_context3.next=8;return this.w;case 8:case"end":return _context3.stop();}},value,this);})}]);}();/**
34643
+ */},{key:"random",value:function random(){this.x=Math.random();this.y=Math.random();this.z=Math.random();this.w=Math.random();return this;}},{key:Symbol.iterator,value:/*#__PURE__*/_regenerator().m(function value(){return _regenerator().w(function(_context3){while(1)switch(_context3.n){case 0:_context3.n=1;return this.x;case 1:_context3.n=2;return this.y;case 2:_context3.n=3;return this.z;case 3:_context3.n=4;return this.w;case 4:return _context3.a(2);}},value,this);})}]);}();/**
34637
34644
  * A render target is a buffer where the video card draws pixels for a scene
34638
34645
  * that is being rendered in the background. It is used in different effects,
34639
34646
  * such as applying postprocessing to a rendered image before displaying it
@@ -35212,7 +35219,7 @@ var theta1=2*Math.PI*Math.random();var theta2=2*Math.PI*Math.random();var x0=Mat
35212
35219
  * numerical elements of this quaternion in an array of format `[x, y, z, w]`.
35213
35220
  *
35214
35221
  * @return {Array<number>} The serialized quaternion.
35215
- */},{key:"toJSON",value:function toJSON(){return this.toArray();}},{key:"_onChange",value:function _onChange(callback){this._onChangeCallback=callback;return this;}},{key:"_onChangeCallback",value:function _onChangeCallback(){}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return this._x;case 2:_context4.next=4;return this._y;case 4:_context4.next=6;return this._z;case 6:_context4.next=8;return this._w;case 8:case"end":return _context4.stop();}},value,this);})}],[{key:"slerpFlat",value:function slerpFlat(dst,dstOffset,src0,srcOffset0,src1,srcOffset1,t){// fuzz-free, array-based Quaternion SLERP operation
35222
+ */},{key:"toJSON",value:function toJSON(){return this.toArray();}},{key:"_onChange",value:function _onChange(callback){this._onChangeCallback=callback;return this;}},{key:"_onChangeCallback",value:function _onChangeCallback(){}},{key:Symbol.iterator,value:/*#__PURE__*/_regenerator().m(function value(){return _regenerator().w(function(_context4){while(1)switch(_context4.n){case 0:_context4.n=1;return this._x;case 1:_context4.n=2;return this._y;case 2:_context4.n=3;return this._z;case 3:_context4.n=4;return this._w;case 4:return _context4.a(2);}},value,this);})}],[{key:"slerpFlat",value:function slerpFlat(dst,dstOffset,src0,srcOffset0,src1,srcOffset1,t){// fuzz-free, array-based Quaternion SLERP operation
35216
35223
  var x0=src0[srcOffset0+0],y0=src0[srcOffset0+1],z0=src0[srcOffset0+2],w0=src0[srcOffset0+3];var x1=src1[srcOffset1+0],y1=src1[srcOffset1+1],z1=src1[srcOffset1+2],w1=src1[srcOffset1+3];if(t===0){dst[dstOffset+0]=x0;dst[dstOffset+1]=y0;dst[dstOffset+2]=z0;dst[dstOffset+3]=w0;return;}if(t===1){dst[dstOffset+0]=x1;dst[dstOffset+1]=y1;dst[dstOffset+2]=z1;dst[dstOffset+3]=w1;return;}if(w0!==w1||x0!==x1||y0!==y1||z0!==z1){var s=1-t;var cos=x0*x1+y0*y1+z0*z1+w0*w1,dir=cos>=0?1:-1,sqrSin=1-cos*cos;// Skip the Slerp for tiny steps to avoid numeric problems:
35217
35224
  if(sqrSin>Number.EPSILON){var sin=Math.sqrt(sqrSin),len=Math.atan2(sin,cos*dir);s=Math.sin(s*len)/sin;t=Math.sin(t*len)/sin;}var tDir=t*dir;x0=x0*s+x1*tDir;y0=y0*s+y1*tDir;z0=z0*s+z1*tDir;w0=w0*s+w1*tDir;// Normalize in case we just did a lerp:
35218
35225
  if(s===1-t){var f=1/Math.sqrt(x0*x0+y0*y0+z0*z0+w0*w0);x0*=f;y0*=f;z0*=f;w0*=f;}}dst[dstOffset]=x0;dst[dstOffset+1]=y0;dst[dstOffset+2]=z0;dst[dstOffset+3]=w0;}/**
@@ -35697,7 +35704,7 @@ return Math.acos(_clamp(theta,-1,1));}/**
35697
35704
  *
35698
35705
  * @return {Vector3} A reference to this vector.
35699
35706
  */},{key:"randomDirection",value:function randomDirection(){// https://mathworld.wolfram.com/SpherePointPicking.html
35700
- var theta=Math.random()*Math.PI*2;var u=Math.random()*2-1;var c=Math.sqrt(1-u*u);this.x=c*Math.cos(theta);this.y=u;this.z=c*Math.sin(theta);return this;}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return this.x;case 2:_context5.next=4;return this.y;case 4:_context5.next=6;return this.z;case 6:case"end":return _context5.stop();}},value,this);})}]);}();var _vector$c=/*@__PURE__*/new Vector3();var _quaternion$4=/*@__PURE__*/new Quaternion();/**
35707
+ var theta=Math.random()*Math.PI*2;var u=Math.random()*2-1;var c=Math.sqrt(1-u*u);this.x=c*Math.cos(theta);this.y=u;this.z=c*Math.sin(theta);return this;}},{key:Symbol.iterator,value:/*#__PURE__*/_regenerator().m(function value(){return _regenerator().w(function(_context5){while(1)switch(_context5.n){case 0:_context5.n=1;return this.x;case 1:_context5.n=2;return this.y;case 2:_context5.n=3;return this.z;case 3:return _context5.a(2);}},value,this);})}]);}();var _vector$c=/*@__PURE__*/new Vector3();var _quaternion$4=/*@__PURE__*/new Quaternion();/**
35701
35708
  * Represents an axis-aligned bounding box (AABB) in 3D space.
35702
35709
  */var Box3=/*#__PURE__*/function(){/**
35703
35710
  * Constructs a new bounding box.
@@ -36696,7 +36703,7 @@ _m1$2.copy(this);var invSX=1/sx;var invSY=1/sy;var invSZ=1/sz;_m1$2.elements[0]*
36696
36703
  * @param {Array<number,number,number,string>} [array=[]] - The target array holding the Euler components.
36697
36704
  * @param {number} [offset=0] - Index of the first element in the array.
36698
36705
  * @return {Array<number,number,number,string>} The Euler components.
36699
- */},{key:"toArray",value:function toArray(){var array=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var offset=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;array[offset]=this._x;array[offset+1]=this._y;array[offset+2]=this._z;array[offset+3]=this._order;return array;}},{key:"_onChange",value:function _onChange(callback){this._onChangeCallback=callback;return this;}},{key:"_onChangeCallback",value:function _onChangeCallback(){}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return this._x;case 2:_context6.next=4;return this._y;case 4:_context6.next=6;return this._z;case 6:_context6.next=8;return this._order;case 8:case"end":return _context6.stop();}},value,this);})}]);}();/**
36706
+ */},{key:"toArray",value:function toArray(){var array=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var offset=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;array[offset]=this._x;array[offset+1]=this._y;array[offset+2]=this._z;array[offset+3]=this._order;return array;}},{key:"_onChange",value:function _onChange(callback){this._onChangeCallback=callback;return this;}},{key:"_onChangeCallback",value:function _onChangeCallback(){}},{key:Symbol.iterator,value:/*#__PURE__*/_regenerator().m(function value(){return _regenerator().w(function(_context6){while(1)switch(_context6.n){case 0:_context6.n=1;return this._x;case 1:_context6.n=2;return this._y;case 2:_context6.n=3;return this._z;case 3:_context6.n=4;return this._order;case 4:return _context6.a(2);}},value,this);})}]);}();/**
36700
36707
  * The default Euler angle order.
36701
36708
  *
36702
36709
  * @static
@@ -37776,7 +37783,7 @@ return"color(".concat(colorSpace," ").concat(r.toFixed(3)," ").concat(g.toFixed(
37776
37783
  * as a hexadecimal value.
37777
37784
  *
37778
37785
  * @return {number} The hexadecimal value.
37779
- */},{key:"toJSON",value:function toJSON(){return this.getHex();}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_context7.next=2;return this.r;case 2:_context7.next=4;return this.g;case 4:_context7.next=6;return this.b;case 6:case"end":return _context7.stop();}},value,this);})}]);}();var _color=/*@__PURE__*/new Color();/**
37786
+ */},{key:"toJSON",value:function toJSON(){return this.getHex();}},{key:Symbol.iterator,value:/*#__PURE__*/_regenerator().m(function value(){return _regenerator().w(function(_context7){while(1)switch(_context7.n){case 0:_context7.n=1;return this.r;case 1:_context7.n=2;return this.g;case 2:_context7.n=3;return this.b;case 3:return _context7.a(2);}},value,this);})}]);}();var _color=/*@__PURE__*/new Color();/**
37780
37787
  * A dictionary with X11 color names.
37781
37788
  *
37782
37789
  * Note that multiple words such as Dark Orange become the string 'darkorange'.
@@ -47750,7 +47757,7 @@ return path+url;}}]);}();/**
47750
47757
  * @param {string} url - The path/URL of the file to be loaded. This can also be a data URI.
47751
47758
  * @param {onProgressCallback} onProgress - Executed while the loading is in progress.
47752
47759
  * @return {Promise<Object3D>} A Promise that resolves with the loaded 3D object.
47753
- */},{key:"loadAsync",value:(function(){var _loadAsync=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(url,onProgress){var scope,path,loader,text,json,metadata;return _regeneratorRuntime().wrap(function _callee$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:scope=this;path=this.path===''?LoaderUtils.extractUrlBase(url):this.path;this.resourcePath=this.resourcePath||path;loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);_context8.next=9;return loader.loadAsync(url,onProgress);case 9:text=_context8.sent;json=JSON.parse(text);metadata=json.metadata;if(!(metadata===undefined||metadata.type===undefined||metadata.type.toLowerCase()==='geometry')){_context8.next=14;break;}throw new Error('THREE.ObjectLoader: Can\'t load '+url);case 14:_context8.next=16;return scope.parseAsync(json);case 16:return _context8.abrupt("return",_context8.sent);case 17:case"end":return _context8.stop();}},_callee,this);}));function loadAsync(_x5,_x6){return _loadAsync.apply(this,arguments);}return loadAsync;}()/**
47760
+ */},{key:"loadAsync",value:(function(){var _loadAsync=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(url,onProgress){var scope,path,loader,text,json,metadata;return _regenerator().w(function(_context8){while(1)switch(_context8.n){case 0:scope=this;path=this.path===''?LoaderUtils.extractUrlBase(url):this.path;this.resourcePath=this.resourcePath||path;loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);_context8.n=1;return loader.loadAsync(url,onProgress);case 1:text=_context8.v;json=JSON.parse(text);metadata=json.metadata;if(!(metadata===undefined||metadata.type===undefined||metadata.type.toLowerCase()==='geometry')){_context8.n=2;break;}throw new Error('THREE.ObjectLoader: Can\'t load '+url);case 2:_context8.n=3;return scope.parseAsync(json);case 3:return _context8.a(2,_context8.v);}},_callee,this);}));function loadAsync(_x5,_x6){return _loadAsync.apply(this,arguments);}return loadAsync;}()/**
47754
47761
  * Parses the given JSON. This is used internally by {@link ObjectLoader#load}
47755
47762
  * but can also be used directly to parse a previously loaded JSON structure.
47756
47763
  *
@@ -47763,16 +47770,16 @@ if(onLoad!==undefined){var hasImages=false;for(var uuid in images){if(images[uui
47763
47770
  *
47764
47771
  * @param {Object} json - The serialized 3D object.
47765
47772
  * @return {Promise<Object3D>} A Promise that resolves with the parsed 3D object.
47766
- */},{key:"parseAsync",value:(function(){var _parseAsync=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(json){var animations,shapes,geometries,images,textures,materials,object,skeletons;return _regeneratorRuntime().wrap(function _callee2$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:animations=this.parseAnimations(json.animations);shapes=this.parseShapes(json.shapes);geometries=this.parseGeometries(json.geometries,shapes);_context9.next=5;return this.parseImagesAsync(json.images);case 5:images=_context9.sent;textures=this.parseTextures(json.textures,images);materials=this.parseMaterials(json.materials,textures);object=this.parseObject(json.object,geometries,materials,textures,animations);skeletons=this.parseSkeletons(json.skeletons,object);this.bindSkeletons(object,skeletons);this.bindLightTargets(object);return _context9.abrupt("return",object);case 13:case"end":return _context9.stop();}},_callee2,this);}));function parseAsync(_x7){return _parseAsync.apply(this,arguments);}return parseAsync;}()// internals
47773
+ */},{key:"parseAsync",value:(function(){var _parseAsync=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(json){var animations,shapes,geometries,images,textures,materials,object,skeletons;return _regenerator().w(function(_context9){while(1)switch(_context9.n){case 0:animations=this.parseAnimations(json.animations);shapes=this.parseShapes(json.shapes);geometries=this.parseGeometries(json.geometries,shapes);_context9.n=1;return this.parseImagesAsync(json.images);case 1:images=_context9.v;textures=this.parseTextures(json.textures,images);materials=this.parseMaterials(json.materials,textures);object=this.parseObject(json.object,geometries,materials,textures,animations);skeletons=this.parseSkeletons(json.skeletons,object);this.bindSkeletons(object,skeletons);this.bindLightTargets(object);return _context9.a(2,object);}},_callee2,this);}));function parseAsync(_x7){return _parseAsync.apply(this,arguments);}return parseAsync;}()// internals
47767
47774
  )},{key:"parseShapes",value:function parseShapes(json){var shapes={};if(json!==undefined){for(var i=0,l=json.length;i<l;i++){var shape=new Shape().fromJSON(json[i]);shapes[shape.uuid]=shape;}}return shapes;}},{key:"parseSkeletons",value:function parseSkeletons(json,object){var skeletons={};var bones={};// generate bone lookup table
47768
47775
  object.traverse(function(child){if(child.isBone)bones[child.uuid]=child;});// create skeletons
47769
47776
  if(json!==undefined){for(var i=0,l=json.length;i<l;i++){var skeleton=new Skeleton().fromJSON(json[i],bones);skeletons[skeleton.uuid]=skeleton;}}return skeletons;}},{key:"parseGeometries",value:function parseGeometries(json,shapes){var geometries={};if(json!==undefined){var bufferGeometryLoader=new BufferGeometryLoader();for(var i=0,l=json.length;i<l;i++){var geometry=void 0;var data=json[i];switch(data.type){case'BufferGeometry':case'InstancedBufferGeometry':geometry=bufferGeometryLoader.parse(data);break;default:if(data.type in Geometries){geometry=Geometries[data.type].fromJSON(data,shapes);}else{console.warn("THREE.ObjectLoader: Unsupported geometry type \"".concat(data.type,"\""));}}geometry.uuid=data.uuid;if(data.name!==undefined)geometry.name=data.name;if(data.userData!==undefined)geometry.userData=data.userData;geometries[data.uuid]=geometry;}}return geometries;}},{key:"parseMaterials",value:function parseMaterials(json,textures){var cache={};// MultiMaterial
47770
47777
  var materials={};if(json!==undefined){var loader=new MaterialLoader();loader.setTextures(textures);for(var i=0,l=json.length;i<l;i++){var data=json[i];if(cache[data.uuid]===undefined){cache[data.uuid]=loader.parse(data);}materials[data.uuid]=cache[data.uuid];}}return materials;}},{key:"parseAnimations",value:function parseAnimations(json){var animations={};if(json!==undefined){for(var i=0;i<json.length;i++){var data=json[i];var clip=AnimationClip.parse(data);animations[clip.uuid]=clip;}}return animations;}},{key:"parseImages",value:function parseImages(json,onLoad){var scope=this;var images={};var loader;function loadImage(url){scope.manager.itemStart(url);return loader.load(url,function(){scope.manager.itemEnd(url);},undefined,function(){scope.manager.itemError(url);scope.manager.itemEnd(url);});}function deserializeImage(image){if(typeof image==='string'){var url=image;var path=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(url)?url:scope.resourcePath+url;return loadImage(path);}else{if(image.data){return{data:getTypedArray(image.type,image.data),width:image.width,height:image.height};}else{return null;}}}if(json!==undefined&&json.length>0){var manager=new LoadingManager(onLoad);loader=new ImageLoader(manager);loader.setCrossOrigin(this.crossOrigin);for(var i=0,il=json.length;i<il;i++){var image=json[i];var url=image.url;if(Array.isArray(url)){// load array of images e.g CubeTexture
47771
47778
  var imageArray=[];for(var j=0,jl=url.length;j<jl;j++){var currentUrl=url[j];var deserializedImage=deserializeImage(currentUrl);if(deserializedImage!==null){if(deserializedImage instanceof HTMLImageElement){imageArray.push(deserializedImage);}else{// special case: handle array of data textures for cube textures
47772
47779
  imageArray.push(new DataTexture(deserializedImage.data,deserializedImage.width,deserializedImage.height));}}}images[image.uuid]=new Source(imageArray);}else{// load single image
47773
- var _deserializedImage=deserializeImage(image.url);images[image.uuid]=new Source(_deserializedImage);}}}return images;}},{key:"parseImagesAsync",value:function(){var _parseImagesAsync=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(json){var scope,images,loader,deserializeImage,_deserializeImage,i,il,image,url,imageArray,j,jl,currentUrl,deserializedImage,_deserializedImage2;return _regeneratorRuntime().wrap(function _callee4$(_context1){while(1)switch(_context1.prev=_context1.next){case 0:_deserializeImage=function _deserializeImage3(){_deserializeImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(image){var _url,path;return _regeneratorRuntime().wrap(function _callee3$(_context0){while(1)switch(_context0.prev=_context0.next){case 0:if(!(typeof image==='string')){_context0.next=8;break;}_url=image;path=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(_url)?_url:scope.resourcePath+_url;_context0.next=5;return loader.loadAsync(path);case 5:return _context0.abrupt("return",_context0.sent);case 8:if(!image.data){_context0.next=12;break;}return _context0.abrupt("return",{data:getTypedArray(image.type,image.data),width:image.width,height:image.height});case 12:return _context0.abrupt("return",null);case 13:case"end":return _context0.stop();}},_callee3);}));return _deserializeImage.apply(this,arguments);};deserializeImage=function _deserializeImage2(_x9){return _deserializeImage.apply(this,arguments);};scope=this;images={};if(!(json!==undefined&&json.length>0)){_context1.next=33;break;}loader=new ImageLoader(this.manager);loader.setCrossOrigin(this.crossOrigin);i=0,il=json.length;case 8:if(!(i<il)){_context1.next=33;break;}image=json[i];url=image.url;if(!Array.isArray(url)){_context1.next=26;break;}// load array of images e.g CubeTexture
47774
- imageArray=[];j=0,jl=url.length;case 14:if(!(j<jl)){_context1.next=23;break;}currentUrl=url[j];_context1.next=18;return deserializeImage(currentUrl);case 18:deserializedImage=_context1.sent;if(deserializedImage!==null){if(deserializedImage instanceof HTMLImageElement){imageArray.push(deserializedImage);}else{// special case: handle array of data textures for cube textures
47775
- imageArray.push(new DataTexture(deserializedImage.data,deserializedImage.width,deserializedImage.height));}}case 20:j++;_context1.next=14;break;case 23:images[image.uuid]=new Source(imageArray);_context1.next=30;break;case 26:_context1.next=28;return deserializeImage(image.url);case 28:_deserializedImage2=_context1.sent;images[image.uuid]=new Source(_deserializedImage2);case 30:i++;_context1.next=8;break;case 33:return _context1.abrupt("return",images);case 34:case"end":return _context1.stop();}},_callee4,this);}));function parseImagesAsync(_x8){return _parseImagesAsync.apply(this,arguments);}return parseImagesAsync;}()},{key:"parseTextures",value:function parseTextures(json,images){function parseConstant(value,type){if(typeof value==='number')return value;console.warn('THREE.ObjectLoader.parseTexture: Constant should be in numeric form.',value);return type[value];}var textures={};if(json!==undefined){for(var i=0,l=json.length;i<l;i++){var data=json[i];if(data.image===undefined){console.warn('THREE.ObjectLoader: No "image" specified for',data.uuid);}if(images[data.image]===undefined){console.warn('THREE.ObjectLoader: Undefined image',data.image);}var source=images[data.image];var image=source.data;var texture=void 0;if(Array.isArray(image)){texture=new CubeTexture();if(image.length===6)texture.needsUpdate=true;}else{if(image&&image.data){texture=new DataTexture();}else{texture=new Texture();}if(image)texture.needsUpdate=true;// textures can have undefined image data
47780
+ var _deserializedImage=deserializeImage(image.url);images[image.uuid]=new Source(_deserializedImage);}}}return images;}},{key:"parseImagesAsync",value:function(){var _parseImagesAsync=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(json){var scope,images,loader,deserializeImage,_deserializeImage,i,il,image,url,imageArray,j,jl,currentUrl,deserializedImage,_deserializedImage2;return _regenerator().w(function(_context1){while(1)switch(_context1.n){case 0:_deserializeImage=function _deserializeImage3(){_deserializeImage=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(image){var _url,path;return _regenerator().w(function(_context0){while(1)switch(_context0.n){case 0:if(!(typeof image==='string')){_context0.n=2;break;}_url=image;path=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(_url)?_url:scope.resourcePath+_url;_context0.n=1;return loader.loadAsync(path);case 1:return _context0.a(2,_context0.v);case 2:if(!image.data){_context0.n=3;break;}return _context0.a(2,{data:getTypedArray(image.type,image.data),width:image.width,height:image.height});case 3:return _context0.a(2,null);case 4:return _context0.a(2);}},_callee3);}));return _deserializeImage.apply(this,arguments);};deserializeImage=function _deserializeImage2(_x9){return _deserializeImage.apply(this,arguments);};scope=this;images={};if(!(json!==undefined&&json.length>0)){_context1.n=9;break;}loader=new ImageLoader(this.manager);loader.setCrossOrigin(this.crossOrigin);i=0,il=json.length;case 1:if(!(i<il)){_context1.n=9;break;}image=json[i];url=image.url;if(!Array.isArray(url)){_context1.n=6;break;}// load array of images e.g CubeTexture
47781
+ imageArray=[];j=0,jl=url.length;case 2:if(!(j<jl)){_context1.n=5;break;}currentUrl=url[j];_context1.n=3;return deserializeImage(currentUrl);case 3:deserializedImage=_context1.v;if(deserializedImage!==null){if(deserializedImage instanceof HTMLImageElement){imageArray.push(deserializedImage);}else{// special case: handle array of data textures for cube textures
47782
+ imageArray.push(new DataTexture(deserializedImage.data,deserializedImage.width,deserializedImage.height));}}case 4:j++;_context1.n=2;break;case 5:images[image.uuid]=new Source(imageArray);_context1.n=8;break;case 6:_context1.n=7;return deserializeImage(image.url);case 7:_deserializedImage2=_context1.v;images[image.uuid]=new Source(_deserializedImage2);case 8:i++;_context1.n=1;break;case 9:return _context1.a(2,images);}},_callee4,this);}));function parseImagesAsync(_x8){return _parseImagesAsync.apply(this,arguments);}return parseImagesAsync;}()},{key:"parseTextures",value:function parseTextures(json,images){function parseConstant(value,type){if(typeof value==='number')return value;console.warn('THREE.ObjectLoader.parseTexture: Constant should be in numeric form.',value);return type[value];}var textures={};if(json!==undefined){for(var i=0,l=json.length;i<l;i++){var data=json[i];if(data.image===undefined){console.warn('THREE.ObjectLoader: No "image" specified for',data.uuid);}if(images[data.image]===undefined){console.warn('THREE.ObjectLoader: Undefined image',data.image);}var source=images[data.image];var image=source.data;var texture=void 0;if(Array.isArray(image)){texture=new CubeTexture();if(image.length===6)texture.needsUpdate=true;}else{if(image&&image.data){texture=new DataTexture();}else{texture=new Texture();}if(image)texture.needsUpdate=true;// textures can have undefined image data
47776
47783
  }texture.source=source;texture.uuid=data.uuid;if(data.name!==undefined)texture.name=data.name;if(data.mapping!==undefined)texture.mapping=parseConstant(data.mapping,TEXTURE_MAPPING);if(data.channel!==undefined)texture.channel=data.channel;if(data.offset!==undefined)texture.offset.fromArray(data.offset);if(data.repeat!==undefined)texture.repeat.fromArray(data.repeat);if(data.center!==undefined)texture.center.fromArray(data.center);if(data.rotation!==undefined)texture.rotation=data.rotation;if(data.wrap!==undefined){texture.wrapS=parseConstant(data.wrap[0],TEXTURE_WRAPPING);texture.wrapT=parseConstant(data.wrap[1],TEXTURE_WRAPPING);}if(data.format!==undefined)texture.format=data.format;if(data.internalFormat!==undefined)texture.internalFormat=data.internalFormat;if(data.type!==undefined)texture.type=data.type;if(data.colorSpace!==undefined)texture.colorSpace=data.colorSpace;if(data.minFilter!==undefined)texture.minFilter=parseConstant(data.minFilter,TEXTURE_FILTER);if(data.magFilter!==undefined)texture.magFilter=parseConstant(data.magFilter,TEXTURE_FILTER);if(data.anisotropy!==undefined)texture.anisotropy=data.anisotropy;if(data.flipY!==undefined)texture.flipY=data.flipY;if(data.generateMipmaps!==undefined)texture.generateMipmaps=data.generateMipmaps;if(data.premultiplyAlpha!==undefined)texture.premultiplyAlpha=data.premultiplyAlpha;if(data.unpackAlignment!==undefined)texture.unpackAlignment=data.unpackAlignment;if(data.compareFunction!==undefined)texture.compareFunction=data.compareFunction;if(data.userData!==undefined)texture.userData=data.userData;textures[data.uuid]=texture;}}return textures;}},{key:"parseObject",value:function parseObject(data,geometries,materials,textures,animations){var object;function getGeometry(name){if(geometries[name]===undefined){console.warn('THREE.ObjectLoader: Undefined geometry',name);}return geometries[name];}function getMaterial(name){if(name===undefined)return undefined;if(Array.isArray(name)){var array=[];for(var i=0,l=name.length;i<l;i++){var uuid=name[i];if(materials[uuid]===undefined){console.warn('THREE.ObjectLoader: Undefined material',uuid);}array.push(materials[uuid]);}return array;}if(materials[name]===undefined){console.warn('THREE.ObjectLoader: Undefined material',name);}return materials[name];}function getTexture(uuid){if(textures[uuid]===undefined){console.warn('THREE.ObjectLoader: Undefined texture',uuid);}return textures[uuid];}var geometry,material;switch(data.type){case'Scene':object=new Scene();if(data.background!==undefined){if(Number.isInteger(data.background)){object.background=new Color(data.background);}else{object.background=getTexture(data.background);}}if(data.environment!==undefined){object.environment=getTexture(data.environment);}if(data.fog!==undefined){if(data.fog.type==='Fog'){object.fog=new Fog(data.fog.color,data.fog.near,data.fog.far);}else if(data.fog.type==='FogExp2'){object.fog=new FogExp2(data.fog.color,data.fog.density);}if(data.fog.name!==''){object.fog.name=data.fog.name;}}if(data.backgroundBlurriness!==undefined)object.backgroundBlurriness=data.backgroundBlurriness;if(data.backgroundIntensity!==undefined)object.backgroundIntensity=data.backgroundIntensity;if(data.backgroundRotation!==undefined)object.backgroundRotation.fromArray(data.backgroundRotation);if(data.environmentIntensity!==undefined)object.environmentIntensity=data.environmentIntensity;if(data.environmentRotation!==undefined)object.environmentRotation.fromArray(data.environmentRotation);break;case'PerspectiveCamera':object=new PerspectiveCamera(data.fov,data.aspect,data.near,data.far);if(data.focus!==undefined)object.focus=data.focus;if(data.zoom!==undefined)object.zoom=data.zoom;if(data.filmGauge!==undefined)object.filmGauge=data.filmGauge;if(data.filmOffset!==undefined)object.filmOffset=data.filmOffset;if(data.view!==undefined)object.view=Object.assign({},data.view);break;case'OrthographicCamera':object=new OrthographicCamera(data.left,data.right,data.top,data.bottom,data.near,data.far);if(data.zoom!==undefined)object.zoom=data.zoom;if(data.view!==undefined)object.view=Object.assign({},data.view);break;case'AmbientLight':object=new AmbientLight(data.color,data.intensity);break;case'DirectionalLight':object=new DirectionalLight(data.color,data.intensity);object.target=data.target||'';break;case'PointLight':object=new PointLight(data.color,data.intensity,data.distance,data.decay);break;case'RectAreaLight':object=new RectAreaLight(data.color,data.intensity,data.width,data.height);break;case'SpotLight':object=new SpotLight(data.color,data.intensity,data.distance,data.angle,data.penumbra,data.decay);object.target=data.target||'';break;case'HemisphereLight':object=new HemisphereLight(data.color,data.groundColor,data.intensity);break;case'LightProbe':object=new LightProbe().fromJSON(data);break;case'SkinnedMesh':geometry=getGeometry(data.geometry);material=getMaterial(data.material);object=new SkinnedMesh(geometry,material);if(data.bindMode!==undefined)object.bindMode=data.bindMode;if(data.bindMatrix!==undefined)object.bindMatrix.fromArray(data.bindMatrix);if(data.skeleton!==undefined)object.skeleton=data.skeleton;break;case'Mesh':geometry=getGeometry(data.geometry);material=getMaterial(data.material);object=new Mesh(geometry,material);break;case'InstancedMesh':geometry=getGeometry(data.geometry);material=getMaterial(data.material);var count=data.count;var instanceMatrix=data.instanceMatrix;var instanceColor=data.instanceColor;object=new InstancedMesh(geometry,material,count);object.instanceMatrix=new InstancedBufferAttribute(new Float32Array(instanceMatrix.array),16);if(instanceColor!==undefined)object.instanceColor=new InstancedBufferAttribute(new Float32Array(instanceColor.array),instanceColor.itemSize);break;case'BatchedMesh':geometry=getGeometry(data.geometry);material=getMaterial(data.material);object=new BatchedMesh(data.maxInstanceCount,data.maxVertexCount,data.maxIndexCount,material);object.geometry=geometry;object.perObjectFrustumCulled=data.perObjectFrustumCulled;object.sortObjects=data.sortObjects;object._drawRanges=data.drawRanges;object._reservedRanges=data.reservedRanges;object._geometryInfo=data.geometryInfo.map(function(info){var box=null;var sphere=null;if(info.boundingBox!==undefined){box=new Box3();box.min.fromArray(info.boundingBox.min);box.max.fromArray(info.boundingBox.max);}if(info.boundingSphere!==undefined){sphere=new Sphere();sphere.radius=info.boundingSphere.radius;sphere.center.fromArray(info.boundingSphere.center);}return _objectSpread(_objectSpread({},info),{},{boundingBox:box,boundingSphere:sphere});});object._instanceInfo=data.instanceInfo;object._availableInstanceIds=data._availableInstanceIds;object._availableGeometryIds=data._availableGeometryIds;object._nextIndexStart=data.nextIndexStart;object._nextVertexStart=data.nextVertexStart;object._geometryCount=data.geometryCount;object._maxInstanceCount=data.maxInstanceCount;object._maxVertexCount=data.maxVertexCount;object._maxIndexCount=data.maxIndexCount;object._geometryInitialized=data.geometryInitialized;object._matricesTexture=getTexture(data.matricesTexture.uuid);object._indirectTexture=getTexture(data.indirectTexture.uuid);if(data.colorsTexture!==undefined){object._colorsTexture=getTexture(data.colorsTexture.uuid);}if(data.boundingSphere!==undefined){object.boundingSphere=new Sphere();object.boundingSphere.center.fromArray(data.boundingSphere.center);object.boundingSphere.radius=data.boundingSphere.radius;}if(data.boundingBox!==undefined){object.boundingBox=new Box3();object.boundingBox.min.fromArray(data.boundingBox.min);object.boundingBox.max.fromArray(data.boundingBox.max);}break;case'LOD':object=new LOD();break;case'Line':object=new three_core_Line(getGeometry(data.geometry),getMaterial(data.material));break;case'LineLoop':object=new LineLoop(getGeometry(data.geometry),getMaterial(data.material));break;case'LineSegments':object=new LineSegments(getGeometry(data.geometry),getMaterial(data.material));break;case'PointCloud':case'Points':object=new Points(getGeometry(data.geometry),getMaterial(data.material));break;case'Sprite':object=new Sprite(getMaterial(data.material));break;case'Group':object=new Group();break;case'Bone':object=new Bone();break;default:object=new Object3D();}object.uuid=data.uuid;if(data.name!==undefined)object.name=data.name;if(data.matrix!==undefined){object.matrix.fromArray(data.matrix);if(data.matrixAutoUpdate!==undefined)object.matrixAutoUpdate=data.matrixAutoUpdate;if(object.matrixAutoUpdate)object.matrix.decompose(object.position,object.quaternion,object.scale);}else{if(data.position!==undefined)object.position.fromArray(data.position);if(data.rotation!==undefined)object.rotation.fromArray(data.rotation);if(data.quaternion!==undefined)object.quaternion.fromArray(data.quaternion);if(data.scale!==undefined)object.scale.fromArray(data.scale);}if(data.up!==undefined)object.up.fromArray(data.up);if(data.castShadow!==undefined)object.castShadow=data.castShadow;if(data.receiveShadow!==undefined)object.receiveShadow=data.receiveShadow;if(data.shadow){if(data.shadow.intensity!==undefined)object.shadow.intensity=data.shadow.intensity;if(data.shadow.bias!==undefined)object.shadow.bias=data.shadow.bias;if(data.shadow.normalBias!==undefined)object.shadow.normalBias=data.shadow.normalBias;if(data.shadow.radius!==undefined)object.shadow.radius=data.shadow.radius;if(data.shadow.mapSize!==undefined)object.shadow.mapSize.fromArray(data.shadow.mapSize);if(data.shadow.camera!==undefined)object.shadow.camera=this.parseObject(data.shadow.camera);}if(data.visible!==undefined)object.visible=data.visible;if(data.frustumCulled!==undefined)object.frustumCulled=data.frustumCulled;if(data.renderOrder!==undefined)object.renderOrder=data.renderOrder;if(data.userData!==undefined)object.userData=data.userData;if(data.layers!==undefined)object.layers.mask=data.layers;if(data.children!==undefined){var children=data.children;for(var i=0;i<children.length;i++){object.add(this.parseObject(children[i],geometries,materials,textures,animations));}}if(data.animations!==undefined){var objectAnimations=data.animations;for(var _i63=0;_i63<objectAnimations.length;_i63++){var uuid=objectAnimations[_i63];object.animations.push(animations[uuid]);}}if(data.type==='LOD'){if(data.autoUpdate!==undefined)object.autoUpdate=data.autoUpdate;var levels=data.levels;for(var l=0;l<levels.length;l++){var level=levels[l];var child=object.getObjectByProperty('uuid',level.object);if(child!==undefined){object.addLevel(child,level.distance,level.hysteresis);}}}return object;}},{key:"bindSkeletons",value:function bindSkeletons(object,skeletons){if(Object.keys(skeletons).length===0)return;object.traverse(function(child){if(child.isSkinnedMesh===true&&child.skeleton!==undefined){var skeleton=skeletons[child.skeleton];if(skeleton===undefined){console.warn('THREE.ObjectLoader: No skeleton found with UUID:',child.skeleton);}else{child.bind(skeleton,child.bindMatrix);}}});}},{key:"bindLightTargets",value:function bindLightTargets(object){object.traverse(function(child){if(child.isDirectionalLight||child.isSpotLight){var uuid=child.target;var target=object.getObjectByProperty('uuid',uuid);if(target!==undefined){child.target=target;}else{child.target=new Object3D();}}});}}]);}(Loader);var TEXTURE_MAPPING={UVMapping:UVMapping,CubeReflectionMapping:CubeReflectionMapping,CubeRefractionMapping:CubeRefractionMapping,EquirectangularReflectionMapping:EquirectangularReflectionMapping,EquirectangularRefractionMapping:EquirectangularRefractionMapping,CubeUVReflectionMapping:CubeUVReflectionMapping};var TEXTURE_WRAPPING={RepeatWrapping:RepeatWrapping,ClampToEdgeWrapping:ClampToEdgeWrapping,MirroredRepeatWrapping:MirroredRepeatWrapping};var TEXTURE_FILTER={NearestFilter:NearestFilter,NearestMipmapNearestFilter:NearestMipmapNearestFilter,NearestMipmapLinearFilter:NearestMipmapLinearFilter,LinearFilter:LinearFilter,LinearMipmapNearestFilter:LinearMipmapNearestFilter,LinearMipmapLinearFilter:LinearMipmapLinearFilter};/**
47777
47784
  * A loader for loading images as an [ImageBitmap]{@link https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap}.
47778
47785
  * An `ImageBitmap` provides an asynchronous and resource efficient pathway to prepare
@@ -57181,6 +57188,10 @@ function parseData(input) {
57181
57188
  linewidth: (material === null || material === void 0 ? void 0 : material.linewidth) !== undefined ? material === null || material === void 0 ? void 0 : material.linewidth : 1 // 默认值
57182
57189
  };
57183
57190
  geomList.push({
57191
+ matrix: {
57192
+ val: primitive.matrix
57193
+ },
57194
+ prmid: primitive.prmid,
57184
57195
  geomId: primitiveData.id,
57185
57196
  type: primitiveData.geomType,
57186
57197
  text: primitiveData.geomText,
@@ -57204,7 +57215,7 @@ function parseData(input) {
57204
57215
  drawObjs: Array.from(drawObjMap.values()),
57205
57216
  instances: formatInstances
57206
57217
  };
57207
- // console.log('parseData', map);
57218
+ console.log('parseData', map);
57208
57219
  return map;
57209
57220
  }
57210
57221
 
@@ -57509,7 +57520,7 @@ var TextGeometry = /*#__PURE__*/function (_ExtrudeGeometry) {
57509
57520
  var helvetiker_regular_typeface = __webpack_require__("7e1b");
57510
57521
 
57511
57522
  // CONCATENATED MODULE: ./node_modules/three/build/three.module.js
57512
- function three_module_regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */three_module_regeneratorRuntime=function _regeneratorRuntime(){return r;};var t,r={},e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,r,e,n){return Object.defineProperty(t,r,{value:e,enumerable:!n,configurable:!n,writable:!n});}try{c({},"");}catch(t){c=function c(t,r,e){return t[r]=e;};}function h(r,e,n,o){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype);return c(a,"_invoke",function(r,e,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=d(u,n);if(c){if(c===f)continue;return c;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var h=s(r,e,n);if("normal"===h.type){if(o=n.done?4:2,h.arg===f)continue;return{value:h.arg,done:n.done};}"throw"===h.type&&(o=4,n.method="throw",n.arg=h.arg);}};}(r,n,new Context(o||[])),!0),a;}function s(t,r,e){try{return{type:"normal",arg:t.call(r,e)};}catch(t){return{type:"throw",arg:t};}}r.wrap=h;var f={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};c(l,i,function(){return this;});var p=Object.getPrototypeOf,y=p&&p(p(x([])));y&&y!==e&&n.call(y,i)&&(l=y);var v=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function g(t){["next","throw","return"].forEach(function(r){c(t,r,function(t){return this._invoke(r,t);});});}function AsyncIterator(t,r){function e(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var h=c.arg,f=h.value;return f&&"object"==three_module_typeof(f)&&n.call(f,"__await")?r.resolve(f.__await).then(function(t){e("next",t,a,u);},function(t){e("throw",t,a,u);}):r.resolve(f).then(function(t){h.value=t,a(h);},function(t){return e("throw",t,a,u);});}u(c.arg);}var o;c(this,"_invoke",function(t,n){function i(){return new r(function(r,o){e(t,n,r,o);});}return o=o?o.then(i,i):i();},!0);}function d(r,e){var n=e.method,o=r.i[n];if(o===t)return e.delegate=null,"throw"===n&&r.i.return&&(e.method="return",e.arg=t,d(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(o,r.i,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[r.r]=a.value,e.next=r.n,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f);}function w(t){this.tryEntries.push(t);}function m(r){var e=r[4]||{};e.type="normal",e.arg=t,r[4]=e;}function Context(t){this.tryEntries=[[-1]],t.forEach(w,this),this.reset(!0);}function x(r){if(null!=r){var e=r[i];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function e(){for(;++o<r.length;)if(n.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e;};return a.next=a;}}throw new TypeError(three_module_typeof(r)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(v,"constructor",GeneratorFunctionPrototype),c(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName=c(GeneratorFunctionPrototype,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===GeneratorFunction||"GeneratorFunction"===(r.displayName||r.name));},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,c(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t;},r.awrap=function(t){return{__await:t};},g(AsyncIterator.prototype),c(AsyncIterator.prototype,a,function(){return this;}),r.AsyncIterator=AsyncIterator,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next();});},g(v),c(v,u,"Generator"),c(v,i,function(){return this;}),c(v,"toString",function(){return"[object Generator]";}),r.keys=function(t){var r=Object(t),e=[];for(var n in r)e.unshift(n);return function t(){for(;e.length;)if((n=e.pop())in r)return t.value=n,t.done=!1,t;return t.done=!0,t;};},r.values=x,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(m),!r)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(r){if(this.done)throw r;var e=this;function n(t){a.type="throw",a.arg=r,e.next=t;}for(var o=e.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],u=this.prev,c=i[1],h=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!h)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=u){if(u<c)return this.method="next",this.arg=t,n(c),!0;if(u<h)return n(h),!1;}}},abrupt:function abrupt(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var o=n;break;}}o&&("break"===t||"continue"===t)&&o[0]<=r&&r<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o[2],f):this.complete(i);},complete:function complete(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),f;},finish:function finish(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e[2]===t)return this.complete(e[4],e[3]),m(e),f;}},catch:function _catch(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e[0]===t){var n=e[4];if("throw"===n.type){var o=n.arg;m(e);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(r,e,n){return this.delegate={i:x(r),r:e,n:n},"next"===this.method&&(this.arg=t),f;}},r;}function three_module_asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function three_module_asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){three_module_asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){three_module_asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function three_module_callSuper(t,o,e){return o=three_module_getPrototypeOf(o),three_module_possibleConstructorReturn(t,three_module_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_module_getPrototypeOf(t).constructor):o.apply(t,e));}function three_module_possibleConstructorReturn(t,e){if(e&&("object"==three_module_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_module_assertThisInitialized(t);}function three_module_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_module_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_module_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_module_getPrototypeOf(t){return three_module_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_module_getPrototypeOf(t);}function three_module_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_module_setPrototypeOf(t,e);}function three_module_setPrototypeOf(t,e){return three_module_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_module_setPrototypeOf(t,e);}function three_module_defineProperty(e,r,t){return(r=three_module_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function three_module_createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=three_module_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function three_module_unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return three_module_arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?three_module_arrayLikeToArray(r,a):void 0;}}function three_module_arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_module_typeof(o){"@babel/helpers - typeof";return three_module_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_module_typeof(o);}function three_module_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_module_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_module_toPropertyKey(o.key),o);}}function three_module_createClass(e,r,t){return r&&three_module_defineProperties(e.prototype,r),t&&three_module_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_module_toPropertyKey(t){var i=three_module_toPrimitive(t,"string");return"symbol"==three_module_typeof(i)?i:i+"";}function three_module_toPrimitive(t,r){if("object"!=three_module_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_module_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
57523
+ function three_module_regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return three_module_regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(three_module_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,three_module_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,three_module_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),three_module_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",three_module_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),three_module_regeneratorDefine2(u),three_module_regeneratorDefine2(u,o,"Generator"),three_module_regeneratorDefine2(u,n,function(){return this;}),three_module_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(three_module_regenerator=function _regenerator(){return{w:i,m:f};})();}function three_module_regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}three_module_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){if(r)i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n;else{function o(r,n){three_module_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}o("next",0),o("throw",1),o("return",2);}},three_module_regeneratorDefine2(e,r,n,t);}function three_module_asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function three_module_asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){three_module_asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){three_module_asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function three_module_callSuper(t,o,e){return o=three_module_getPrototypeOf(o),three_module_possibleConstructorReturn(t,three_module_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_module_getPrototypeOf(t).constructor):o.apply(t,e));}function three_module_possibleConstructorReturn(t,e){if(e&&("object"==three_module_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_module_assertThisInitialized(t);}function three_module_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_module_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_module_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_module_getPrototypeOf(t){return three_module_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_module_getPrototypeOf(t);}function three_module_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_module_setPrototypeOf(t,e);}function three_module_setPrototypeOf(t,e){return three_module_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_module_setPrototypeOf(t,e);}function three_module_defineProperty(e,r,t){return(r=three_module_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function three_module_createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=three_module_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function three_module_unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return three_module_arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?three_module_arrayLikeToArray(r,a):void 0;}}function three_module_arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_module_typeof(o){"@babel/helpers - typeof";return three_module_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_module_typeof(o);}function three_module_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_module_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_module_toPropertyKey(o.key),o);}}function three_module_createClass(e,r,t){return r&&three_module_defineProperties(e.prototype,r),t&&three_module_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_module_toPropertyKey(t){var i=three_module_toPrimitive(t,"string");return"symbol"==three_module_typeof(i)?i:i+"";}function three_module_toPrimitive(t,r){if("object"!=three_module_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_module_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
57513
57524
  * @license
57514
57525
  * Copyright 2010-2025 Three.js Authors
57515
57526
  * SPDX-License-Identifier: MIT
@@ -58103,10 +58114,10 @@ animation.stop();scope.isPresenting=false;renderer.setPixelRatio(currentPixelRat
58103
58114
  * @async
58104
58115
  * @param {XRSession} value - The XR session to set.
58105
58116
  * @return {Promise} A Promise that resolves when the session has been set.
58106
- */_this2.setSession=/*#__PURE__*/function(){var _ref=three_module_asyncToGenerator(/*#__PURE__*/three_module_regeneratorRuntime().mark(function _callee(value){var useLayers,layerInit,depthFormat,depthType,glDepthFormat,projectionlayerInit;return three_module_regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:session=value;if(!(session!==null)){_context.next=28;break;}initialRenderTarget=renderer.getRenderTarget();session.addEventListener('select',onSessionEvent);session.addEventListener('selectstart',onSessionEvent);session.addEventListener('selectend',onSessionEvent);session.addEventListener('squeeze',onSessionEvent);session.addEventListener('squeezestart',onSessionEvent);session.addEventListener('squeezeend',onSessionEvent);session.addEventListener('end',onSessionEnd);session.addEventListener('inputsourceschange',onInputSourcesChange);if(!(attributes.xrCompatible!==true)){_context.next=14;break;}_context.next=14;return gl.makeXRCompatible();case 14:currentPixelRatio=renderer.getPixelRatio();renderer.getSize(currentSize);// Check that the browser implements the necessary APIs to use an
58117
+ */_this2.setSession=/*#__PURE__*/function(){var _ref=three_module_asyncToGenerator(/*#__PURE__*/three_module_regenerator().m(function _callee(value){var useLayers,layerInit,depthFormat,depthType,glDepthFormat,projectionlayerInit;return three_module_regenerator().w(function(_context){while(1)switch(_context.n){case 0:session=value;if(!(session!==null)){_context.n=3;break;}initialRenderTarget=renderer.getRenderTarget();session.addEventListener('select',onSessionEvent);session.addEventListener('selectstart',onSessionEvent);session.addEventListener('selectend',onSessionEvent);session.addEventListener('squeeze',onSessionEvent);session.addEventListener('squeezestart',onSessionEvent);session.addEventListener('squeezeend',onSessionEvent);session.addEventListener('end',onSessionEnd);session.addEventListener('inputsourceschange',onInputSourcesChange);if(!(attributes.xrCompatible!==true)){_context.n=1;break;}_context.n=1;return gl.makeXRCompatible();case 1:currentPixelRatio=renderer.getPixelRatio();renderer.getSize(currentSize);// Check that the browser implements the necessary APIs to use an
58107
58118
  // XRProjectionLayer rather than an XRWebGLLayer
58108
58119
  useLayers=typeof XRWebGLBinding!=='undefined'&&'createProjectionLayer'in XRWebGLBinding.prototype;if(!useLayers){layerInit={antialias:attributes.antialias,alpha:true,depth:attributes.depth,stencil:attributes.stencil,framebufferScaleFactor:framebufferScaleFactor};glBaseLayer=new XRWebGLLayer(session,gl,layerInit);session.updateRenderState({baseLayer:glBaseLayer});renderer.setPixelRatio(1);renderer.setSize(glBaseLayer.framebufferWidth,glBaseLayer.framebufferHeight,false);newRenderTarget=new WebGLRenderTarget(glBaseLayer.framebufferWidth,glBaseLayer.framebufferHeight,{format:RGBAFormat,type:UnsignedByteType,colorSpace:renderer.outputColorSpace,stencilBuffer:attributes.stencil,resolveDepthBuffer:glBaseLayer.ignoreDepthValues===false,resolveStencilBuffer:glBaseLayer.ignoreDepthValues===false});}else{depthFormat=null;depthType=null;glDepthFormat=null;if(attributes.depth){glDepthFormat=attributes.stencil?gl.DEPTH24_STENCIL8:gl.DEPTH_COMPONENT24;depthFormat=attributes.stencil?DepthStencilFormat:DepthFormat;depthType=attributes.stencil?UnsignedInt248Type:UnsignedIntType;}projectionlayerInit={colorFormat:gl.RGBA8,depthFormat:glDepthFormat,scaleFactor:framebufferScaleFactor};glBinding=new XRWebGLBinding(session,gl);glProjLayer=glBinding.createProjectionLayer(projectionlayerInit);session.updateRenderState({layers:[glProjLayer]});renderer.setPixelRatio(1);renderer.setSize(glProjLayer.textureWidth,glProjLayer.textureHeight,false);newRenderTarget=new WebGLRenderTarget(glProjLayer.textureWidth,glProjLayer.textureHeight,{format:RGBAFormat,type:UnsignedByteType,depthTexture:new DepthTexture(glProjLayer.textureWidth,glProjLayer.textureHeight,depthType,undefined,undefined,undefined,undefined,undefined,undefined,depthFormat),stencilBuffer:attributes.stencil,colorSpace:renderer.outputColorSpace,samples:attributes.antialias?4:0,resolveDepthBuffer:glProjLayer.ignoreDepthValues===false,resolveStencilBuffer:glProjLayer.ignoreDepthValues===false});}newRenderTarget.isXRRenderTarget=true;// TODO Remove this when possible, see #23278
58109
- this.setFoveation(foveation);customReferenceSpace=null;_context.next=23;return session.requestReferenceSpace(referenceSpaceType);case 23:referenceSpace=_context.sent;animation.setContext(session);animation.start();scope.isPresenting=true;scope.dispatchEvent({type:'sessionstart'});case 28:case"end":return _context.stop();}},_callee,this);}));return function(_x2){return _ref.apply(this,arguments);};}();/**
58120
+ this.setFoveation(foveation);customReferenceSpace=null;_context.n=2;return session.requestReferenceSpace(referenceSpaceType);case 2:referenceSpace=_context.v;animation.setContext(session);animation.start();scope.isPresenting=true;scope.dispatchEvent({type:'sessionstart'});case 3:return _context.a(2);}},_callee,this);}));return function(_x2){return _ref.apply(this,arguments);};}();/**
58110
58121
  * Returns the environment blend mode from the current XR session.
58111
58122
  *
58112
58123
  * @return {'opaque'|'additive'|'alpha-blend'|undefined} The environment blend mode. Returns `undefined` when used outside of a XR session.
@@ -58719,11 +58730,11 @@ var _framebuffer=_currentRenderTarget!==null?properties.get(_currentRenderTarget
58719
58730
  * @param {TypedArray} buffer - The result buffer.
58720
58731
  * @param {number} [activeCubeFaceIndex] - The active cube face index.
58721
58732
  * @return {Promise<TypedArray>} A Promise that resolves when the read has been finished. The resolve provides the read data as a typed array.
58722
- */this.readRenderTargetPixelsAsync=/*#__PURE__*/function(){var _ref2=three_module_asyncToGenerator(/*#__PURE__*/three_module_regeneratorRuntime().mark(function _callee2(renderTarget,x,y,width,height,buffer,activeCubeFaceIndex){var framebuffer,texture,textureFormat,textureType,glBuffer,currFramebuffer,sync;return three_module_regeneratorRuntime().wrap(function _callee2$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:if(renderTarget&&renderTarget.isWebGLRenderTarget){_context2.next=2;break;}throw new Error('THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.');case 2:framebuffer=properties.get(renderTarget).__webglFramebuffer;if(renderTarget.isWebGLCubeRenderTarget&&activeCubeFaceIndex!==undefined){framebuffer=framebuffer[activeCubeFaceIndex];}if(!framebuffer){_context2.next=32;break;}if(!(x>=0&&x<=renderTarget.width-width&&y>=0&&y<=renderTarget.height-height)){_context2.next=31;break;}// set the active frame buffer to the one we want to read
58723
- state.bindFramebuffer(_gl.FRAMEBUFFER,framebuffer);texture=renderTarget.texture;textureFormat=texture.format;textureType=texture.type;if(capabilities.textureFormatReadable(textureFormat)){_context2.next=12;break;}throw new Error('THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.');case 12:if(capabilities.textureTypeReadable(textureType)){_context2.next=14;break;}throw new Error('THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.');case 14:glBuffer=_gl.createBuffer();_gl.bindBuffer(_gl.PIXEL_PACK_BUFFER,glBuffer);_gl.bufferData(_gl.PIXEL_PACK_BUFFER,buffer.byteLength,_gl.STREAM_READ);_gl.readPixels(x,y,width,height,utils.convert(textureFormat),utils.convert(textureType),0);// reset the frame buffer to the currently set buffer before waiting
58733
+ */this.readRenderTargetPixelsAsync=/*#__PURE__*/function(){var _ref2=three_module_asyncToGenerator(/*#__PURE__*/three_module_regenerator().m(function _callee2(renderTarget,x,y,width,height,buffer,activeCubeFaceIndex){var framebuffer,texture,textureFormat,textureType,glBuffer,currFramebuffer,sync;return three_module_regenerator().w(function(_context2){while(1)switch(_context2.n){case 0:if(renderTarget&&renderTarget.isWebGLRenderTarget){_context2.n=1;break;}throw new Error('THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.');case 1:framebuffer=properties.get(renderTarget).__webglFramebuffer;if(renderTarget.isWebGLCubeRenderTarget&&activeCubeFaceIndex!==undefined){framebuffer=framebuffer[activeCubeFaceIndex];}if(!framebuffer){_context2.n=6;break;}if(!(x>=0&&x<=renderTarget.width-width&&y>=0&&y<=renderTarget.height-height)){_context2.n=5;break;}// set the active frame buffer to the one we want to read
58734
+ state.bindFramebuffer(_gl.FRAMEBUFFER,framebuffer);texture=renderTarget.texture;textureFormat=texture.format;textureType=texture.type;if(capabilities.textureFormatReadable(textureFormat)){_context2.n=2;break;}throw new Error('THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.');case 2:if(capabilities.textureTypeReadable(textureType)){_context2.n=3;break;}throw new Error('THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.');case 3:glBuffer=_gl.createBuffer();_gl.bindBuffer(_gl.PIXEL_PACK_BUFFER,glBuffer);_gl.bufferData(_gl.PIXEL_PACK_BUFFER,buffer.byteLength,_gl.STREAM_READ);_gl.readPixels(x,y,width,height,utils.convert(textureFormat),utils.convert(textureType),0);// reset the frame buffer to the currently set buffer before waiting
58724
58735
  currFramebuffer=_currentRenderTarget!==null?properties.get(_currentRenderTarget).__webglFramebuffer:null;state.bindFramebuffer(_gl.FRAMEBUFFER,currFramebuffer);// check if the commands have finished every 8 ms
58725
- sync=_gl.fenceSync(_gl.SYNC_GPU_COMMANDS_COMPLETE,0);_gl.flush();_context2.next=24;return probeAsync(_gl,sync,4);case 24:// read the data and delete the buffer
58726
- _gl.bindBuffer(_gl.PIXEL_PACK_BUFFER,glBuffer);_gl.getBufferSubData(_gl.PIXEL_PACK_BUFFER,0,buffer);_gl.deleteBuffer(glBuffer);_gl.deleteSync(sync);return _context2.abrupt("return",buffer);case 31:throw new Error('THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.');case 32:case"end":return _context2.stop();}},_callee2);}));return function(_x3,_x4,_x5,_x6,_x7,_x8,_x9){return _ref2.apply(this,arguments);};}();/**
58736
+ sync=_gl.fenceSync(_gl.SYNC_GPU_COMMANDS_COMPLETE,0);_gl.flush();_context2.n=4;return probeAsync(_gl,sync,4);case 4:// read the data and delete the buffer
58737
+ _gl.bindBuffer(_gl.PIXEL_PACK_BUFFER,glBuffer);_gl.getBufferSubData(_gl.PIXEL_PACK_BUFFER,0,buffer);_gl.deleteBuffer(glBuffer);_gl.deleteSync(sync);return _context2.a(2,buffer);case 5:throw new Error('THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.');case 6:return _context2.a(2);}},_callee2);}));return function(_x3,_x4,_x5,_x6,_x7,_x8,_x9){return _ref2.apply(this,arguments);};}();/**
58727
58738
  * Copies pixels from the current bound framebuffer into the given texture.
58728
58739
  *
58729
58740
  * @param {FramebufferTexture} texture - The texture.
@@ -59456,12 +59467,17 @@ function handleInstancedMeshModel(instances, drawObjs, type, scene, customColor,
59456
59467
  var _item$matrix;
59457
59468
  model.userData.instanceIndex = index;
59458
59469
  model.userData.instanceId = instances[_i].instanceId;
59470
+ model.userData.primId = mesh.prmid;
59459
59471
  model.name = meshName !== '' ? instances[_i].instanceId + meshName : instances[_i].instanceId;
59460
59472
  var matrixVal = (_item$matrix = item.matrix) === null || _item$matrix === void 0 ? void 0 : _item$matrix.val;
59461
59473
  if (matrixVal) {
59462
59474
  var m4 = new Matrix4();
59475
+ var meshMatrix = new Matrix4();
59476
+ var geomMatrix = new Matrix4();
59463
59477
  // m4.setPosition(new THREE.Vector3(9999999, 9999999, 9999999)); // TODO 临时隐藏方案
59464
- m4.elements = item.matrix.val;
59478
+ meshMatrix.elements = item.matrix.val;
59479
+ geomMatrix.elements = mesh.matrix.val;
59480
+ m4.multiplyMatrices(meshMatrix, geomMatrix);
59465
59481
  model.setMatrixAt(index, m4);
59466
59482
  var copyMatrix = new Matrix4().copy(m4);
59467
59483
  model.userData.copyMatrix = copyMatrix;
@@ -59482,8 +59498,8 @@ function handleInstancedMeshModel(instances, drawObjs, type, scene, customColor,
59482
59498
  for (var _i = 0; _i < instances.length; _i++) {
59483
59499
  _loop(_i);
59484
59500
  }
59485
- // console.log('modelGroup', modelGroup);
59486
- // console.log('drawObjMapInstance', drawObjMapInstance);
59501
+ console.log('modelGroup', modelGroup);
59502
+ console.log('drawObjMapInstance', drawObjMapInstance);
59487
59503
  return modelGroup;
59488
59504
  // timeRender();
59489
59505
  // console.log('scene', scene)
@@ -59664,8 +59680,9 @@ function draw3Dmodel(geom, instanceName, instanceCount, nColor, nOpacity) {
59664
59680
  };
59665
59681
  customMaterial && Object.assign(customMaterial, materialOptions);
59666
59682
  material = customMaterial || new MeshStandardMaterial(instance_parser_objectSpread(instance_parser_objectSpread({}, materialOptions), {}, {
59667
- roughness: 0.8,
59668
- envMapIntensity: 0.5 // 调低环境贴图的强度
59683
+ roughness: 0.6,
59684
+ metalness: 0.5,
59685
+ envMapIntensity: 1 // 调低环境贴图的强度
59669
59686
  // wireframe: true
59670
59687
  }));
59671
59688
 
@@ -60884,31 +60901,30 @@ var RenderPass_RenderPass = /*#__PURE__*/function (_Pass) {
60884
60901
  }(Pass);
60885
60902
 
60886
60903
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/index.vue?vue&type=script&lang=js
60887
- function com_graphicsvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return com_graphicsvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, com_graphicsvue_type_script_lang_js_typeof(o); }
60888
- function com_graphicsvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ com_graphicsvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == com_graphicsvue_type_script_lang_js_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(com_graphicsvue_type_script_lang_js_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
60904
+ function com_graphicsvue_type_script_lang_js_regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return com_graphicsvue_type_script_lang_js_regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (com_graphicsvue_type_script_lang_js_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, com_graphicsvue_type_script_lang_js_regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, com_graphicsvue_type_script_lang_js_regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), com_graphicsvue_type_script_lang_js_regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", com_graphicsvue_type_script_lang_js_regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), com_graphicsvue_type_script_lang_js_regeneratorDefine2(u), com_graphicsvue_type_script_lang_js_regeneratorDefine2(u, o, "Generator"), com_graphicsvue_type_script_lang_js_regeneratorDefine2(u, n, function () { return this; }), com_graphicsvue_type_script_lang_js_regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (com_graphicsvue_type_script_lang_js_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
60905
+ function com_graphicsvue_type_script_lang_js_regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } com_graphicsvue_type_script_lang_js_regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { if (r) i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n;else { function o(r, n) { com_graphicsvue_type_script_lang_js_regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } o("next", 0), o("throw", 1), o("return", 2); } }, com_graphicsvue_type_script_lang_js_regeneratorDefine2(e, r, n, t); }
60889
60906
  function com_graphicsvue_type_script_lang_js_slicedToArray(r, e) { return com_graphicsvue_type_script_lang_js_arrayWithHoles(r) || com_graphicsvue_type_script_lang_js_iterableToArrayLimit(r, e) || com_graphicsvue_type_script_lang_js_unsupportedIterableToArray(r, e) || com_graphicsvue_type_script_lang_js_nonIterableRest(); }
60890
60907
  function com_graphicsvue_type_script_lang_js_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
60891
60908
  function com_graphicsvue_type_script_lang_js_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return com_graphicsvue_type_script_lang_js_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? com_graphicsvue_type_script_lang_js_arrayLikeToArray(r, a) : void 0; } }
60892
60909
  function com_graphicsvue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
60893
60910
  function com_graphicsvue_type_script_lang_js_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
60894
60911
  function com_graphicsvue_type_script_lang_js_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
60895
- var com_graphicsvue_type_script_lang_js_ref = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regeneratorRuntime().mark(function _callee(v) {
60896
- return com_graphicsvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
60897
- while (1) switch (_context.prev = _context.next) {
60912
+ var com_graphicsvue_type_script_lang_js_ref = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regenerator().m(function _callee(v) {
60913
+ return com_graphicsvue_type_script_lang_js_regenerator().w(function (_context) {
60914
+ while (1) switch (_context.n) {
60898
60915
  case 0:
60899
60916
  if (false) {}
60900
- _context.next = 3;
60917
+ _context.n = 1;
60901
60918
  return v;
60902
- case 3:
60903
- _context.next = 0;
60919
+ case 1:
60920
+ _context.n = 0;
60904
60921
  break;
60905
- case 5:
60906
- case "end":
60907
- return _context.stop();
60922
+ case 2:
60923
+ return _context.a(2);
60908
60924
  }
60909
60925
  }, _callee);
60910
60926
  })(null),
60911
- com_graphicsvue_type_script_lang_js_ref2 = com_graphicsvue_type_script_lang_js_slicedToArray(com_graphicsvue_type_script_lang_js_ref, 23),
60927
+ com_graphicsvue_type_script_lang_js_ref2 = com_graphicsvue_type_script_lang_js_slicedToArray(com_graphicsvue_type_script_lang_js_ref, 24),
60912
60928
  com_graphicsvue_type_script_lang_js_renderer = com_graphicsvue_type_script_lang_js_ref2[0],
60913
60929
  com_graphicsvue_type_script_lang_js_scene = com_graphicsvue_type_script_lang_js_ref2[1],
60914
60930
  com_graphicsvue_type_script_lang_js_camera = com_graphicsvue_type_script_lang_js_ref2[2],
@@ -60931,20 +60947,20 @@ var com_graphicsvue_type_script_lang_js_ref = /*#__PURE__*/com_graphicsvue_type_
60931
60947
  scenePass = com_graphicsvue_type_script_lang_js_ref2[19],
60932
60948
  outlineComposer = com_graphicsvue_type_script_lang_js_ref2[20],
60933
60949
  com_graphicsvue_type_script_lang_js_renderTarget = com_graphicsvue_type_script_lang_js_ref2[21],
60934
- sceneClock = com_graphicsvue_type_script_lang_js_ref2[22];
60935
- var _ref3 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2(v) {
60936
- return com_graphicsvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
60937
- while (1) switch (_context2.prev = _context2.next) {
60950
+ sceneClock = com_graphicsvue_type_script_lang_js_ref2[22],
60951
+ mat4 = com_graphicsvue_type_script_lang_js_ref2[23];
60952
+ var _ref3 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regenerator().m(function _callee2(v) {
60953
+ return com_graphicsvue_type_script_lang_js_regenerator().w(function (_context2) {
60954
+ while (1) switch (_context2.n) {
60938
60955
  case 0:
60939
60956
  if (false) {}
60940
- _context2.next = 3;
60957
+ _context2.n = 1;
60941
60958
  return v;
60942
- case 3:
60943
- _context2.next = 0;
60959
+ case 1:
60960
+ _context2.n = 0;
60944
60961
  break;
60945
- case 5:
60946
- case "end":
60947
- return _context2.stop();
60962
+ case 2:
60963
+ return _context2.a(2);
60948
60964
  }
60949
60965
  }, _callee2);
60950
60966
  })(0),
@@ -60955,19 +60971,18 @@ var _ref3 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regeneratorRuntime(
60955
60971
  timeStamp = _ref4[3],
60956
60972
  progress = _ref4[4];
60957
60973
  var singleFrameTime = 1 / 30;
60958
- var _ref5 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3(v) {
60959
- return com_graphicsvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
60960
- while (1) switch (_context3.prev = _context3.next) {
60974
+ var _ref5 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regenerator().m(function _callee3(v) {
60975
+ return com_graphicsvue_type_script_lang_js_regenerator().w(function (_context3) {
60976
+ while (1) switch (_context3.n) {
60961
60977
  case 0:
60962
60978
  if (false) {}
60963
- _context3.next = 3;
60979
+ _context3.n = 1;
60964
60980
  return v;
60965
- case 3:
60966
- _context3.next = 0;
60981
+ case 1:
60982
+ _context3.n = 0;
60967
60983
  break;
60968
- case 5:
60969
- case "end":
60970
- return _context3.stop();
60984
+ case 2:
60985
+ return _context3.a(2);
60971
60986
  }
60972
60987
  }, _callee3);
60973
60988
  })(false),
@@ -60980,19 +60995,18 @@ var _ref5 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regeneratorRuntime(
60980
60995
  moveLeft = _ref6[5],
60981
60996
  moveRight = _ref6[6],
60982
60997
  measureFlag = _ref6[7];
60983
- var _ref7 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4(v) {
60984
- return com_graphicsvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
60985
- while (1) switch (_context4.prev = _context4.next) {
60998
+ var _ref7 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regenerator().m(function _callee4(v) {
60999
+ return com_graphicsvue_type_script_lang_js_regenerator().w(function (_context4) {
61000
+ while (1) switch (_context4.n) {
60986
61001
  case 0:
60987
61002
  if (false) {}
60988
- _context4.next = 3;
61003
+ _context4.n = 1;
60989
61004
  return v;
60990
- case 3:
60991
- _context4.next = 0;
61005
+ case 1:
61006
+ _context4.n = 0;
60992
61007
  break;
60993
- case 5:
60994
- case "end":
60995
- return _context4.stop();
61008
+ case 2:
61009
+ return _context4.a(2);
60996
61010
  }
60997
61011
  }, _callee4);
60998
61012
  })(true),
@@ -61049,6 +61063,8 @@ var guiParams = {
61049
61063
  CameraControls.install({
61050
61064
  THREE: this.THREE
61051
61065
  });
61066
+ mat4 = new this.THREE.Matrix4();
61067
+ mat4.makeRotationX(-Math.PI / 2);
61052
61068
  fpsClock = new this.THREE.Clock();
61053
61069
  com_graphicsvue_type_script_lang_js_raycaster = new this.THREE.Raycaster();
61054
61070
  sceneClock = new this.THREE.Clock();
@@ -61168,9 +61184,8 @@ var guiParams = {
61168
61184
  var modelWorldPs = new this.THREE.Vector3().addVectors(modelBox3.max, modelBox3.min).multiplyScalar(0.5);
61169
61185
  com_graphicsvue_type_script_lang_js_scene.add(com_graphicsvue_type_script_lang_js_modelGroup);
61170
61186
  // 适配客户端的坐标系,threejs坐标需绕x轴旋转90度
61171
- var mat4 = new this.THREE.Matrix4();
61172
- mat4.makeRotationX(-Math.PI / 2);
61173
61187
  com_graphicsvue_type_script_lang_js_modelGroup.applyMatrix4(mat4);
61188
+ com_graphicsvue_type_script_lang_js_modelGroup.updateMatrixWorld();
61174
61189
  com_graphicsvue_type_script_lang_js_modelGroup.traverse(function (child) {
61175
61190
  if (child.isMesh) {
61176
61191
  var json = _this.getMeshCenterAndVolume(child);
@@ -61448,10 +61463,9 @@ var guiParams = {
61448
61463
  if (obj.isGroup) {
61449
61464
  this.setModelCenter(obj);
61450
61465
  } else if (obj.isMesh) {
61451
- var box = this.getSize(obj);
61452
61466
  var center = this.getCenter(obj);
61453
- this.locateByCenterBox(center, box);
61454
- // this.setModelCenter(obj.parent);
61467
+ var size = this.getSize(obj);
61468
+ this.locateByCenterBox(center, size);
61455
61469
  }
61456
61470
  }
61457
61471
  },
@@ -61506,8 +61520,15 @@ var guiParams = {
61506
61520
  center: {x: 0, y: 0, z: 0},
61507
61521
  box: {x: 0, y: 0, z: 0}
61508
61522
  */
61509
- locateByCenterBox: function locateByCenterBox(center, box) {
61510
- var cameraCenter = new this.THREE.Vector3(center.x, center.y, center.z).addScalar(Math.max(box.x, box.y, box.z));
61523
+ locateByCenterBox: function locateByCenterBox(center, size) {
61524
+ var maxDim = Math.max(size.x, size.y, size.z);
61525
+ var fov = com_graphicsvue_type_script_lang_js_camera.fov * (Math.PI / 180);
61526
+ var distance = Math.min(maxDim * 100,
61527
+ // 最大距离限制
61528
+ Math.abs(maxDim * 1.0 / Math.sin(fov / 2)));
61529
+ var direction = new this.THREE.Vector3(1, 1, 1).normalize();
61530
+ var p = new this.THREE.Vector3().copy(center).add(direction.multiplyScalar(distance));
61531
+ var cameraCenter = new this.THREE.Vector3(p.x, p.y, p.z).addScalar(Math.max(size.x, size.y, size.z));
61511
61532
  cameraControls.setLookAt(cameraCenter.x, cameraCenter.y, cameraCenter.z, center.x, center.y, center.z, true);
61512
61533
  },
61513
61534
  // 添加广告牌
@@ -61523,10 +61544,6 @@ var guiParams = {
61523
61544
  var divLabel = new CSS2DRenderer_CSS2DObject(data.billboard);
61524
61545
  divLabel.name = data.labelClass; // 这个是用来清除广告牌用的
61525
61546
  divLabel.position.set(data.x, data.y, data.z);
61526
- // 由于场景做了翻转 所以要把它翻转回来
61527
- // const mat4 = new this.THREE.Matrix4();
61528
- // mat4.makeRotationX(Math.PI / 2);
61529
- // divLabel.applyMatrix4(mat4);
61530
61547
  com_graphicsvue_type_script_lang_js_scene.add(divLabel);
61531
61548
  return divLabel;
61532
61549
  },
@@ -62281,8 +62298,6 @@ var guiParams = {
62281
62298
  var center = new this.THREE.Vector3();
62282
62299
  obj.boundingBox.getCenter(center);
62283
62300
  if (obj.userData.is3D) {
62284
- var mat4 = new this.THREE.Matrix4();
62285
- mat4.makeRotationX(-Math.PI / 2);
62286
62301
  center.applyMatrix4(mat4);
62287
62302
  }
62288
62303
  return center;
@@ -62291,8 +62306,6 @@ var guiParams = {
62291
62306
  var size = new this.THREE.Vector3();
62292
62307
  obj.boundingBox.getSize(size);
62293
62308
  if (obj.userData.is3D) {
62294
- var mat4 = new this.THREE.Matrix4();
62295
- mat4.makeRotationX(-Math.PI / 2);
62296
62309
  size.applyMatrix4(mat4);
62297
62310
  }
62298
62311
  return size;
@@ -62324,8 +62337,8 @@ var guiParams = {
62324
62337
  });
62325
62338
  // CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=script&lang=js
62326
62339
  /* harmony default export */ var components_com_graphicsvue_type_script_lang_js = (com_graphicsvue_type_script_lang_js);
62327
- // EXTERNAL MODULE: ./packages/components/com-graphics/index.vue?vue&type=style&index=0&id=3d926f5d&prod&lang=scss&scoped=true
62328
- var com_graphicsvue_type_style_index_0_id_3d926f5d_prod_lang_scss_scoped_true = __webpack_require__("106c");
62340
+ // EXTERNAL MODULE: ./packages/components/com-graphics/index.vue?vue&type=style&index=0&id=581c5bb4&prod&lang=scss&scoped=true
62341
+ var com_graphicsvue_type_style_index_0_id_581c5bb4_prod_lang_scss_scoped_true = __webpack_require__("effe");
62329
62342
 
62330
62343
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
62331
62344
  /* globals __VUE_SSR_CONTEXT__ */
@@ -62436,18 +62449,18 @@ function normalizeComponent(
62436
62449
 
62437
62450
  var component = normalizeComponent(
62438
62451
  components_com_graphicsvue_type_script_lang_js,
62439
- com_graphicsvue_type_template_id_3d926f5d_scoped_true_render,
62452
+ com_graphicsvue_type_template_id_581c5bb4_scoped_true_render,
62440
62453
  staticRenderFns,
62441
62454
  false,
62442
62455
  null,
62443
- "3d926f5d",
62456
+ "581c5bb4",
62444
62457
  null
62445
62458
 
62446
62459
  )
62447
62460
 
62448
62461
  /* harmony default export */ var com_graphics = (component.exports);
62449
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7865f371-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-flcanvas/index.vue?vue&type=template&id=2733ad2c&scoped=true
62450
- var com_flcanvasvue_type_template_id_2733ad2c_scoped_true_render = function render() {
62462
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52a37ace-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-flcanvas/index.vue?vue&type=template&id=1eba8e28&scoped=true
62463
+ var com_flcanvasvue_type_template_id_1eba8e28_scoped_true_render = function render() {
62451
62464
  var _vm = this,
62452
62465
  _c = _vm._self._c;
62453
62466
  return _c('div', {
@@ -62460,9 +62473,9 @@ var com_flcanvasvue_type_template_id_2733ad2c_scoped_true_render = function rend
62460
62473
  }
62461
62474
  });
62462
62475
  };
62463
- var com_flcanvasvue_type_template_id_2733ad2c_scoped_true_staticRenderFns = [];
62476
+ var com_flcanvasvue_type_template_id_1eba8e28_scoped_true_staticRenderFns = [];
62464
62477
 
62465
- // CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=template&id=2733ad2c&scoped=true
62478
+ // CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=template&id=1eba8e28&scoped=true
62466
62479
 
62467
62480
  // EXTERNAL MODULE: ./node_modules/konva/lib/index.js
62468
62481
  var lib = __webpack_require__("362d");
@@ -64843,6 +64856,8 @@ function entityFormatting_centering(obj, container, konvaStage, scaleBy) {
64843
64856
  } else if (target[0].className === "Line") {
64844
64857
  var p = getAbsolutePoints(target[0].getPoints());
64845
64858
  computedCenter(p.x, p.y, container, konvaStage, scaleBy);
64859
+ } else {
64860
+ computedCenter(target[0].px, target[0].py, container, konvaStage, scaleBy);
64846
64861
  }
64847
64862
  }
64848
64863
  } else {
@@ -64854,6 +64869,8 @@ function entityFormatting_centering(obj, container, konvaStage, scaleBy) {
64854
64869
  } else if (_target[0].className === "Line") {
64855
64870
  var _p = getAbsolutePoints(_target[0].getPoints());
64856
64871
  computedCenter(_p.x, _p.y, container, konvaStage, scaleBy);
64872
+ } else {
64873
+ computedCenter(_target[0].px, _target[0].py, container, konvaStage, scaleBy);
64857
64874
  }
64858
64875
  }
64859
64876
  }
@@ -65377,6 +65394,7 @@ var konvaStage = null,
65377
65394
 
65378
65395
  methods: {
65379
65396
  loadDxf: function loadDxf(data) {
65397
+ var _this2 = this;
65380
65398
  var layerConfigs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
65381
65399
  konvaLayer.destroyChildren();
65382
65400
  konvaStage.scale({
@@ -65443,6 +65461,8 @@ var konvaStage = null,
65443
65461
  context.moveTo(x1, -parseFloat(y1));
65444
65462
  context.lineTo(x2, -parseFloat(y2));
65445
65463
  }
65464
+ shape.px = _entity.x1;
65465
+ shape.py = -_entity.y1;
65446
65466
  }
65447
65467
  if (_entity.type === 'polyline') {
65448
65468
  var flag = false;
@@ -65465,6 +65485,8 @@ var konvaStage = null,
65465
65485
  }
65466
65486
  }
65467
65487
  }
65488
+ shape.px = points[0];
65489
+ shape.py = points[1];
65468
65490
  }
65469
65491
  }
65470
65492
  // context.closePath();
@@ -65502,7 +65524,9 @@ var konvaStage = null,
65502
65524
  // });
65503
65525
  konvaStage.setX(x);
65504
65526
  konvaStage.setY(y); // 750
65505
- this.$emit('loaded');
65527
+ setTimeout(function () {
65528
+ _this2.$emit('loaded');
65529
+ }, 100);
65506
65530
  },
65507
65531
  toPdf: function toPdf(name) {
65508
65532
  // get data URL with default settings
@@ -65610,8 +65634,8 @@ var konvaStage = null,
65610
65634
  });
65611
65635
  // CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=script&lang=js
65612
65636
  /* harmony default export */ var components_com_flcanvasvue_type_script_lang_js = (com_flcanvasvue_type_script_lang_js);
65613
- // EXTERNAL MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=style&index=0&id=2733ad2c&prod&lang=scss&scoped=true
65614
- var com_flcanvasvue_type_style_index_0_id_2733ad2c_prod_lang_scss_scoped_true = __webpack_require__("0011");
65637
+ // EXTERNAL MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=style&index=0&id=1eba8e28&prod&lang=scss&scoped=true
65638
+ var com_flcanvasvue_type_style_index_0_id_1eba8e28_prod_lang_scss_scoped_true = __webpack_require__("861d");
65615
65639
 
65616
65640
  // CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue
65617
65641
 
@@ -65624,17 +65648,17 @@ var com_flcanvasvue_type_style_index_0_id_2733ad2c_prod_lang_scss_scoped_true =
65624
65648
 
65625
65649
  var com_flcanvas_component = normalizeComponent(
65626
65650
  components_com_flcanvasvue_type_script_lang_js,
65627
- com_flcanvasvue_type_template_id_2733ad2c_scoped_true_render,
65628
- com_flcanvasvue_type_template_id_2733ad2c_scoped_true_staticRenderFns,
65651
+ com_flcanvasvue_type_template_id_1eba8e28_scoped_true_render,
65652
+ com_flcanvasvue_type_template_id_1eba8e28_scoped_true_staticRenderFns,
65629
65653
  false,
65630
65654
  null,
65631
- "2733ad2c",
65655
+ "1eba8e28",
65632
65656
  null
65633
65657
 
65634
65658
  )
65635
65659
 
65636
65660
  /* harmony default export */ var com_flcanvas = (com_flcanvas_component.exports);
65637
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7865f371-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/per-control.vue?vue&type=template&id=f547d5c6&scoped=true
65661
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52a37ace-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/per-control.vue?vue&type=template&id=f547d5c6&scoped=true
65638
65662
  var per_controlvue_type_template_id_f547d5c6_scoped_true_render = function render() {
65639
65663
  var _vm = this,
65640
65664
  _c = _vm._self._c;
@@ -65742,8 +65766,8 @@ var per_control_component = normalizeComponent(
65742
65766
  )
65743
65767
 
65744
65768
  /* harmony default export */ var per_control = (per_control_component.exports);
65745
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7865f371-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/pid.vue?vue&type=template&id=09d5c9d8&scoped=true
65746
- var pidvue_type_template_id_09d5c9d8_scoped_true_render = function render() {
65769
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52a37ace-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/pid.vue?vue&type=template&id=0ec35ee4&scoped=true
65770
+ var pidvue_type_template_id_0ec35ee4_scoped_true_render = function render() {
65747
65771
  var _vm = this,
65748
65772
  _c = _vm._self._c;
65749
65773
  return _c('embed', {
@@ -65754,9 +65778,9 @@ var pidvue_type_template_id_09d5c9d8_scoped_true_render = function render() {
65754
65778
  }
65755
65779
  });
65756
65780
  };
65757
- var pidvue_type_template_id_09d5c9d8_scoped_true_staticRenderFns = [];
65781
+ var pidvue_type_template_id_0ec35ee4_scoped_true_staticRenderFns = [];
65758
65782
 
65759
- // CONCATENATED MODULE: ./packages/components/com-graphics/pid.vue?vue&type=template&id=09d5c9d8&scoped=true
65783
+ // CONCATENATED MODULE: ./packages/components/com-graphics/pid.vue?vue&type=template&id=0ec35ee4&scoped=true
65760
65784
 
65761
65785
  // EXTERNAL MODULE: ./node_modules/svg-pan-zoom/src/browserify.js
65762
65786
  var browserify = __webpack_require__("f8f9");
@@ -65874,7 +65898,6 @@ var pidvue_type_script_lang_js_inspectionRect = null,
65874
65898
  highLight: function highLight(svgIds) {
65875
65899
  var flag = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
65876
65900
  var color = arguments.length > 2 ? arguments[2] : undefined;
65877
- console.log(svgIds);
65878
65901
  if (svgIds === null || svgIds === undefined) {
65879
65902
  throw new Error('svgIds should be an array');
65880
65903
  } else {
@@ -65939,8 +65962,8 @@ var pidvue_type_script_lang_js_inspectionRect = null,
65939
65962
  });
65940
65963
  // CONCATENATED MODULE: ./packages/components/com-graphics/pid.vue?vue&type=script&lang=js
65941
65964
  /* harmony default export */ var com_graphics_pidvue_type_script_lang_js = (pidvue_type_script_lang_js);
65942
- // EXTERNAL MODULE: ./packages/components/com-graphics/pid.vue?vue&type=style&index=0&id=09d5c9d8&prod&lang=scss&scoped=true
65943
- var pidvue_type_style_index_0_id_09d5c9d8_prod_lang_scss_scoped_true = __webpack_require__("af55");
65965
+ // EXTERNAL MODULE: ./packages/components/com-graphics/pid.vue?vue&type=style&index=0&id=0ec35ee4&prod&lang=scss&scoped=true
65966
+ var pidvue_type_style_index_0_id_0ec35ee4_prod_lang_scss_scoped_true = __webpack_require__("03e8");
65944
65967
 
65945
65968
  // CONCATENATED MODULE: ./packages/components/com-graphics/pid.vue
65946
65969
 
@@ -65953,11 +65976,11 @@ var pidvue_type_style_index_0_id_09d5c9d8_prod_lang_scss_scoped_true = __webpack
65953
65976
 
65954
65977
  var pid_component = normalizeComponent(
65955
65978
  com_graphics_pidvue_type_script_lang_js,
65956
- pidvue_type_template_id_09d5c9d8_scoped_true_render,
65957
- pidvue_type_template_id_09d5c9d8_scoped_true_staticRenderFns,
65979
+ pidvue_type_template_id_0ec35ee4_scoped_true_render,
65980
+ pidvue_type_template_id_0ec35ee4_scoped_true_staticRenderFns,
65958
65981
  false,
65959
65982
  null,
65960
- "09d5c9d8",
65983
+ "0ec35ee4",
65961
65984
  null
65962
65985
 
65963
65986
  )
@@ -66679,13 +66702,6 @@ exports.Konva = _CoreInternals_1.Konva.Util._assign(_CoreInternals_1.Konva, {
66679
66702
  }
66680
66703
  });
66681
66704
 
66682
- /***/ }),
66683
-
66684
- /***/ "fdfd":
66685
- /***/ (function(module, exports, __webpack_require__) {
66686
-
66687
- // extracted by mini-css-extract-plugin
66688
-
66689
66705
  /***/ })
66690
66706
 
66691
66707
  /******/ });