@itwin/ecschema-rpcinterface-tests 5.0.0-dev.1 → 5.0.0-dev.10

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.
@@ -662,7 +662,7 @@ __webpack_require__.r(__webpack_exports__);
662
662
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
663
663
  /* harmony export */ "AxiosRestClient": () => (/* binding */ AxiosRestClient)
664
664
  /* harmony export */ });
665
- /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js");
665
+ /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js");
666
666
  /* harmony import */ var _types_RestClient__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types/RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js");
667
667
  /* harmony import */ var _AxiosResponseHeadersAdapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosResponseHeadersAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/AxiosResponseHeadersAdapter.js");
668
668
  /* harmony import */ var _UtilityFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./UtilityFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/UtilityFunctions.js");
@@ -771,7 +771,7 @@ __webpack_require__.r(__webpack_exports__);
771
771
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
772
772
  /* harmony export */ "AxiosRetryPolicy": () => (/* binding */ AxiosRetryPolicy)
773
773
  /* harmony export */ });
774
- /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js");
774
+ /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js");
775
775
  /* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js");
776
776
  /*---------------------------------------------------------------------------------------------
777
777
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -18293,8 +18293,8 @@ __webpack_require__.r(__webpack_exports__);
18293
18293
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18294
18294
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
18295
18295
  /* harmony export */ });
18296
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
18297
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
18296
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
18297
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
18298
18298
 
18299
18299
 
18300
18300
 
@@ -32207,6 +32207,8 @@ class PropertyMetaDataMap {
32207
32207
  this._byJsonName = new Map();
32208
32208
  this._byNoCase = new Map();
32209
32209
  for (const property of this.properties) {
32210
+ property.extendType = property.extendedType !== undefined ? property.extendedType : ""; // eslint-disable-line @typescript-eslint/no-deprecated
32211
+ property.extendedType = property.extendedType === "" ? undefined : property.extendedType;
32210
32212
  this._byPropName.set(property.name, property.index);
32211
32213
  this._byJsonName.set(property.jsonName, property.index);
32212
32214
  this._byNoCase.set(property.name.toLowerCase(), property.index);
@@ -34729,12 +34731,12 @@ class FontMap {
34729
34731
  this.fonts.forEach((font) => fonts.push(font));
34730
34732
  return { fonts };
34731
34733
  }
34732
- /** look up a font by name or number and return its FontProps */
34734
+ /** look up a font by case insensitive name or number and return its FontProps */
34733
34735
  getFont(arg) {
34734
34736
  if (typeof arg === "number")
34735
34737
  return this.fonts.get(arg);
34736
34738
  for (const font of this.fonts.values())
34737
- if (font.name === arg)
34739
+ if (font.name.toLowerCase() === arg.toLowerCase())
34738
34740
  return font;
34739
34741
  return undefined;
34740
34742
  }
@@ -37077,7 +37079,7 @@ var InUseLocksError;
37077
37079
  return ITwinError.isITwinError(error) && error.namespace === "itwinjs-core" && error.errorKey === "in-use-locks";
37078
37080
  }
37079
37081
  InUseLocksError.isInUseLocksError = isInUseLocksError;
37080
- /** throws an error which passes the [[isInUseLocksError]] type guard function */
37082
+ /** throws an error which passes the [[InUseLocksError.isInUseLocksError]] type guard function */
37081
37083
  function throwInUseLocksError(inUseLocks, message, metadata) {
37082
37084
  const errorObject = new Error();
37083
37085
  errorObject.name = "InUseLocksError"; // optional but makes it so that when the error is thrown and not caught we see InUseLocksError: 'message' instead of Error: 'message'
@@ -45587,7 +45589,7 @@ __webpack_require__.r(__webpack_exports__);
45587
45589
  /* harmony export */ "AnalysisStyleThematic": () => (/* reexport safe */ _AnalysisStyle__WEBPACK_IMPORTED_MODULE_1__.AnalysisStyleThematic),
45588
45590
  /* harmony export */ "AreaPattern": () => (/* reexport safe */ _geometry_AreaPattern__WEBPACK_IMPORTED_MODULE_42__.AreaPattern),
45589
45591
  /* harmony export */ "Atmosphere": () => (/* reexport safe */ _Atmosphere__WEBPACK_IMPORTED_MODULE_7__.Atmosphere),
45590
- /* harmony export */ "B3dmHeader": () => (/* reexport safe */ _tile_B3dmTileIO__WEBPACK_IMPORTED_MODULE_149__.B3dmHeader),
45592
+ /* harmony export */ "B3dmHeader": () => (/* reexport safe */ _tile_B3dmTileIO__WEBPACK_IMPORTED_MODULE_148__.B3dmHeader),
45591
45593
  /* harmony export */ "BRepEntity": () => (/* reexport safe */ _geometry_GeometryStream__WEBPACK_IMPORTED_MODULE_50__.BRepEntity),
45592
45594
  /* harmony export */ "BRepGeometryOperation": () => (/* reexport safe */ _geometry_ElementGeometry__WEBPACK_IMPORTED_MODULE_46__.BRepGeometryOperation),
45593
45595
  /* harmony export */ "BackendError": () => (/* reexport safe */ _IModelError__WEBPACK_IMPORTED_MODULE_68__.BackendError),
@@ -45599,9 +45601,9 @@ __webpack_require__.r(__webpack_exports__);
45599
45601
  /* harmony export */ "BaseLayerSettings": () => (/* reexport safe */ _MapImagerySettings__WEBPACK_IMPORTED_MODULE_79__.BaseLayerSettings),
45600
45602
  /* harmony export */ "BaseMapLayerSettings": () => (/* reexport safe */ _MapLayerSettings__WEBPACK_IMPORTED_MODULE_80__.BaseMapLayerSettings),
45601
45603
  /* harmony export */ "BatchType": () => (/* reexport safe */ _FeatureTable__WEBPACK_IMPORTED_MODULE_36__.BatchType),
45602
- /* harmony export */ "BentleyCloudRpcConfiguration": () => (/* reexport safe */ _rpc_web_BentleyCloudRpcManager__WEBPACK_IMPORTED_MODULE_142__.BentleyCloudRpcConfiguration),
45603
- /* harmony export */ "BentleyCloudRpcManager": () => (/* reexport safe */ _rpc_web_BentleyCloudRpcManager__WEBPACK_IMPORTED_MODULE_142__.BentleyCloudRpcManager),
45604
- /* harmony export */ "BentleyCloudRpcProtocol": () => (/* reexport safe */ _rpc_web_BentleyCloudRpcProtocol__WEBPACK_IMPORTED_MODULE_143__.BentleyCloudRpcProtocol),
45604
+ /* harmony export */ "BentleyCloudRpcConfiguration": () => (/* reexport safe */ _rpc_web_BentleyCloudRpcManager__WEBPACK_IMPORTED_MODULE_141__.BentleyCloudRpcConfiguration),
45605
+ /* harmony export */ "BentleyCloudRpcManager": () => (/* reexport safe */ _rpc_web_BentleyCloudRpcManager__WEBPACK_IMPORTED_MODULE_141__.BentleyCloudRpcManager),
45606
+ /* harmony export */ "BentleyCloudRpcProtocol": () => (/* reexport safe */ _rpc_web_BentleyCloudRpcProtocol__WEBPACK_IMPORTED_MODULE_142__.BentleyCloudRpcProtocol),
45605
45607
  /* harmony export */ "BentleyError": () => (/* reexport safe */ _IModelError__WEBPACK_IMPORTED_MODULE_68__.BentleyError),
45606
45608
  /* harmony export */ "BentleyStatus": () => (/* reexport safe */ _IModelError__WEBPACK_IMPORTED_MODULE_68__.BentleyStatus),
45607
45609
  /* harmony export */ "BisCodeSpec": () => (/* reexport safe */ _Code__WEBPACK_IMPORTED_MODULE_18__.BisCodeSpec),
@@ -45629,11 +45631,11 @@ __webpack_require__.r(__webpack_exports__);
45629
45631
  /* harmony export */ "ColorDef": () => (/* reexport safe */ _ColorDef__WEBPACK_IMPORTED_MODULE_20__.ColorDef),
45630
45632
  /* harmony export */ "ColorIndex": () => (/* reexport safe */ _FeatureIndex__WEBPACK_IMPORTED_MODULE_34__.ColorIndex),
45631
45633
  /* harmony export */ "CommonLoggerCategory": () => (/* reexport safe */ _CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_21__.CommonLoggerCategory),
45632
- /* harmony export */ "CompositeTileHeader": () => (/* reexport safe */ _tile_CompositeTileIO__WEBPACK_IMPORTED_MODULE_150__.CompositeTileHeader),
45634
+ /* harmony export */ "CompositeTileHeader": () => (/* reexport safe */ _tile_CompositeTileIO__WEBPACK_IMPORTED_MODULE_149__.CompositeTileHeader),
45633
45635
  /* harmony export */ "ConcreteEntityTypes": () => (/* reexport safe */ _EntityReference__WEBPACK_IMPORTED_MODULE_32__.ConcreteEntityTypes),
45634
45636
  /* harmony export */ "ConflictingLocksError": () => (/* reexport safe */ _IModelError__WEBPACK_IMPORTED_MODULE_68__.ConflictingLocksError),
45635
- /* harmony export */ "ContentFlags": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.ContentFlags),
45636
- /* harmony export */ "ContentIdProvider": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.ContentIdProvider),
45637
+ /* harmony export */ "ContentFlags": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.ContentFlags),
45638
+ /* harmony export */ "ContentIdProvider": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.ContentIdProvider),
45637
45639
  /* harmony export */ "ContextRealityModel": () => (/* reexport safe */ _ContextRealityModel__WEBPACK_IMPORTED_MODULE_22__.ContextRealityModel),
45638
45640
  /* harmony export */ "ContextRealityModelProps": () => (/* reexport safe */ _ContextRealityModel__WEBPACK_IMPORTED_MODULE_22__.ContextRealityModelProps),
45639
45641
  /* harmony export */ "ContextRealityModels": () => (/* reexport safe */ _ContextRealityModel__WEBPACK_IMPORTED_MODULE_22__.ContextRealityModels),
@@ -45641,7 +45643,7 @@ __webpack_require__.r(__webpack_exports__);
45641
45643
  /* harmony export */ "ContourDisplay": () => (/* reexport safe */ _ContourDisplay__WEBPACK_IMPORTED_MODULE_113__.ContourDisplay),
45642
45644
  /* harmony export */ "ContourGroup": () => (/* reexport safe */ _ContourDisplay__WEBPACK_IMPORTED_MODULE_113__.ContourGroup),
45643
45645
  /* harmony export */ "ContourStyle": () => (/* reexport safe */ _ContourDisplay__WEBPACK_IMPORTED_MODULE_113__.ContourStyle),
45644
- /* harmony export */ "CurrentImdlVersion": () => (/* reexport safe */ _tile_IModelTileIO__WEBPACK_IMPORTED_MODULE_154__.CurrentImdlVersion),
45646
+ /* harmony export */ "CurrentImdlVersion": () => (/* reexport safe */ _tile_IModelTileIO__WEBPACK_IMPORTED_MODULE_153__.CurrentImdlVersion),
45645
45647
  /* harmony export */ "CutStyle": () => (/* reexport safe */ _ClipStyle__WEBPACK_IMPORTED_MODULE_17__.CutStyle),
45646
45648
  /* harmony export */ "DbQueryError": () => (/* reexport safe */ _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_87__.DbQueryError),
45647
45649
  /* harmony export */ "DbRequestKind": () => (/* reexport safe */ _ConcurrentQuery__WEBPACK_IMPORTED_MODULE_87__.DbRequestKind),
@@ -45678,7 +45680,7 @@ __webpack_require__.r(__webpack_exports__);
45678
45680
  /* harmony export */ "FeatureOverrideType": () => (/* reexport safe */ _EmphasizeElementsProps__WEBPACK_IMPORTED_MODULE_30__.FeatureOverrideType),
45679
45681
  /* harmony export */ "FeatureOverrides": () => (/* reexport safe */ _FeatureSymbology__WEBPACK_IMPORTED_MODULE_35__.FeatureOverrides),
45680
45682
  /* harmony export */ "FeatureTable": () => (/* reexport safe */ _FeatureTable__WEBPACK_IMPORTED_MODULE_36__.FeatureTable),
45681
- /* harmony export */ "FeatureTableHeader": () => (/* reexport safe */ _tile_IModelTileIO__WEBPACK_IMPORTED_MODULE_154__.FeatureTableHeader),
45683
+ /* harmony export */ "FeatureTableHeader": () => (/* reexport safe */ _tile_IModelTileIO__WEBPACK_IMPORTED_MODULE_153__.FeatureTableHeader),
45682
45684
  /* harmony export */ "FillDisplay": () => (/* reexport safe */ _GeometryParams__WEBPACK_IMPORTED_MODULE_57__.FillDisplay),
45683
45685
  /* harmony export */ "FillFlags": () => (/* reexport safe */ _GraphicParams__WEBPACK_IMPORTED_MODULE_60__.FillFlags),
45684
45686
  /* harmony export */ "FontMap": () => (/* reexport safe */ _Fonts__WEBPACK_IMPORTED_MODULE_37__.FontMap),
@@ -45702,10 +45704,10 @@ __webpack_require__.r(__webpack_exports__);
45702
45704
  /* harmony export */ "GeometryStreamFlags": () => (/* reexport safe */ _geometry_GeometryStream__WEBPACK_IMPORTED_MODULE_50__.GeometryStreamFlags),
45703
45705
  /* harmony export */ "GeometryStreamIterator": () => (/* reexport safe */ _geometry_GeometryStream__WEBPACK_IMPORTED_MODULE_50__.GeometryStreamIterator),
45704
45706
  /* harmony export */ "GeometrySummaryVerbosity": () => (/* reexport safe */ _GeometrySummary__WEBPACK_IMPORTED_MODULE_58__.GeometrySummaryVerbosity),
45705
- /* harmony export */ "GlbHeader": () => (/* reexport safe */ _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_152__.GlbHeader),
45707
+ /* harmony export */ "GlbHeader": () => (/* reexport safe */ _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_151__.GlbHeader),
45706
45708
  /* harmony export */ "GlobeMode": () => (/* reexport safe */ _BackgroundMapSettings__WEBPACK_IMPORTED_MODULE_10__.GlobeMode),
45707
- /* harmony export */ "GltfV2ChunkTypes": () => (/* reexport safe */ _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_152__.GltfV2ChunkTypes),
45708
- /* harmony export */ "GltfVersions": () => (/* reexport safe */ _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_152__.GltfVersions),
45709
+ /* harmony export */ "GltfV2ChunkTypes": () => (/* reexport safe */ _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_151__.GltfV2ChunkTypes),
45710
+ /* harmony export */ "GltfVersions": () => (/* reexport safe */ _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_151__.GltfVersions),
45709
45711
  /* harmony export */ "Gradient": () => (/* reexport safe */ _Gradient__WEBPACK_IMPORTED_MODULE_59__.Gradient),
45710
45712
  /* harmony export */ "GraphicParams": () => (/* reexport safe */ _GraphicParams__WEBPACK_IMPORTED_MODULE_60__.GraphicParams),
45711
45713
  /* harmony export */ "GridFileDefinition": () => (/* reexport safe */ _geometry_GeodeticDatum__WEBPACK_IMPORTED_MODULE_48__.GridFileDefinition),
@@ -45721,7 +45723,7 @@ __webpack_require__.r(__webpack_exports__);
45721
45723
  /* harmony export */ "Hilite": () => (/* reexport safe */ _Hilite__WEBPACK_IMPORTED_MODULE_63__.Hilite),
45722
45724
  /* harmony export */ "HorizontalCRS": () => (/* reexport safe */ _geometry_CoordinateReferenceSystem__WEBPACK_IMPORTED_MODULE_45__.HorizontalCRS),
45723
45725
  /* harmony export */ "HorizontalCRSExtent": () => (/* reexport safe */ _geometry_CoordinateReferenceSystem__WEBPACK_IMPORTED_MODULE_45__.HorizontalCRSExtent),
45724
- /* harmony export */ "I3dmHeader": () => (/* reexport safe */ _tile_I3dmTileIO__WEBPACK_IMPORTED_MODULE_153__.I3dmHeader),
45726
+ /* harmony export */ "I3dmHeader": () => (/* reexport safe */ _tile_I3dmTileIO__WEBPACK_IMPORTED_MODULE_152__.I3dmHeader),
45725
45727
  /* harmony export */ "IModel": () => (/* reexport safe */ _IModel__WEBPACK_IMPORTED_MODULE_67__.IModel),
45726
45728
  /* harmony export */ "IModelError": () => (/* reexport safe */ _IModelError__WEBPACK_IMPORTED_MODULE_68__.IModelError),
45727
45729
  /* harmony export */ "IModelNotFoundResponse": () => (/* reexport safe */ _rpc_IModelReadRpcInterface__WEBPACK_IMPORTED_MODULE_136__.IModelNotFoundResponse),
@@ -45738,8 +45740,8 @@ __webpack_require__.r(__webpack_exports__);
45738
45740
  /* harmony export */ "ImageMapLayerSettings": () => (/* reexport safe */ _MapLayerSettings__WEBPACK_IMPORTED_MODULE_80__.ImageMapLayerSettings),
45739
45741
  /* harmony export */ "ImageSource": () => (/* reexport safe */ _Image__WEBPACK_IMPORTED_MODULE_66__.ImageSource),
45740
45742
  /* harmony export */ "ImageSourceFormat": () => (/* reexport safe */ _Image__WEBPACK_IMPORTED_MODULE_66__.ImageSourceFormat),
45741
- /* harmony export */ "ImdlFlags": () => (/* reexport safe */ _tile_IModelTileIO__WEBPACK_IMPORTED_MODULE_154__.ImdlFlags),
45742
- /* harmony export */ "ImdlHeader": () => (/* reexport safe */ _tile_IModelTileIO__WEBPACK_IMPORTED_MODULE_154__.ImdlHeader),
45743
+ /* harmony export */ "ImdlFlags": () => (/* reexport safe */ _tile_IModelTileIO__WEBPACK_IMPORTED_MODULE_153__.ImdlFlags),
45744
+ /* harmony export */ "ImdlHeader": () => (/* reexport safe */ _tile_IModelTileIO__WEBPACK_IMPORTED_MODULE_153__.ImdlHeader),
45743
45745
  /* harmony export */ "InUseLocksError": () => (/* reexport safe */ _ITwinError__WEBPACK_IMPORTED_MODULE_70__.InUseLocksError),
45744
45746
  /* harmony export */ "InternetConnectivityStatus": () => (/* reexport safe */ _NativeAppProps__WEBPACK_IMPORTED_MODULE_85__.InternetConnectivityStatus),
45745
45747
  /* harmony export */ "Interpolation": () => (/* reexport safe */ _Tween__WEBPACK_IMPORTED_MODULE_116__.Interpolation),
@@ -45792,7 +45794,7 @@ __webpack_require__.r(__webpack_exports__);
45792
45794
  /* harmony export */ "PlanarClipMaskMode": () => (/* reexport safe */ _PlanarClipMask__WEBPACK_IMPORTED_MODULE_89__.PlanarClipMaskMode),
45793
45795
  /* harmony export */ "PlanarClipMaskPriority": () => (/* reexport safe */ _PlanarClipMask__WEBPACK_IMPORTED_MODULE_89__.PlanarClipMaskPriority),
45794
45796
  /* harmony export */ "PlanarClipMaskSettings": () => (/* reexport safe */ _PlanarClipMask__WEBPACK_IMPORTED_MODULE_89__.PlanarClipMaskSettings),
45795
- /* harmony export */ "PntsHeader": () => (/* reexport safe */ _tile_PntsTileIO__WEBPACK_IMPORTED_MODULE_155__.PntsHeader),
45797
+ /* harmony export */ "PntsHeader": () => (/* reexport safe */ _tile_PntsTileIO__WEBPACK_IMPORTED_MODULE_154__.PntsHeader),
45796
45798
  /* harmony export */ "PointCloudDisplaySettings": () => (/* reexport safe */ _RealityModelDisplaySettings__WEBPACK_IMPORTED_MODULE_95__.PointCloudDisplaySettings),
45797
45799
  /* harmony export */ "PolylineEdgeArgs": () => (/* reexport safe */ _Render__WEBPACK_IMPORTED_MODULE_96__.PolylineEdgeArgs),
45798
45800
  /* harmony export */ "PolylineTypeFlags": () => (/* reexport safe */ _Render__WEBPACK_IMPORTED_MODULE_96__.PolylineTypeFlags),
@@ -45838,13 +45840,13 @@ __webpack_require__.r(__webpack_exports__);
45838
45840
  /* harmony export */ "RpcDirectProtocol": () => (/* reexport safe */ _rpc_core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_134__.RpcDirectProtocol),
45839
45841
  /* harmony export */ "RpcDirectRequest": () => (/* reexport safe */ _rpc_core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_134__.RpcDirectRequest),
45840
45842
  /* harmony export */ "RpcEndpoint": () => (/* reexport safe */ _rpc_core_RpcConstants__WEBPACK_IMPORTED_MODULE_121__.RpcEndpoint),
45841
- /* harmony export */ "RpcInterface": () => (/* reexport safe */ _RpcInterface__WEBPACK_IMPORTED_MODULE_141__.RpcInterface),
45843
+ /* harmony export */ "RpcInterface": () => (/* reexport safe */ _RpcInterface__WEBPACK_IMPORTED_MODULE_140__.RpcInterface),
45842
45844
  /* harmony export */ "RpcInvocation": () => (/* reexport safe */ _rpc_core_RpcInvocation__WEBPACK_IMPORTED_MODULE_123__.RpcInvocation),
45843
45845
  /* harmony export */ "RpcManager": () => (/* reexport safe */ _RpcManager__WEBPACK_IMPORTED_MODULE_101__.RpcManager),
45844
45846
  /* harmony export */ "RpcMarshaling": () => (/* reexport safe */ _rpc_core_RpcMarshaling__WEBPACK_IMPORTED_MODULE_125__.RpcMarshaling),
45845
- /* harmony export */ "RpcMultipart": () => (/* reexport safe */ _rpc_web_RpcMultipart__WEBPACK_IMPORTED_MODULE_145__.RpcMultipart),
45847
+ /* harmony export */ "RpcMultipart": () => (/* reexport safe */ _rpc_web_RpcMultipart__WEBPACK_IMPORTED_MODULE_144__.RpcMultipart),
45846
45848
  /* harmony export */ "RpcNotFoundResponse": () => (/* reexport safe */ _rpc_core_RpcControl__WEBPACK_IMPORTED_MODULE_122__.RpcNotFoundResponse),
45847
- /* harmony export */ "RpcOpenAPIDescription": () => (/* reexport safe */ _rpc_web_OpenAPI__WEBPACK_IMPORTED_MODULE_144__.RpcOpenAPIDescription),
45849
+ /* harmony export */ "RpcOpenAPIDescription": () => (/* reexport safe */ _rpc_web_OpenAPI__WEBPACK_IMPORTED_MODULE_143__.RpcOpenAPIDescription),
45848
45850
  /* harmony export */ "RpcOperation": () => (/* reexport safe */ _rpc_core_RpcOperation__WEBPACK_IMPORTED_MODULE_126__.RpcOperation),
45849
45851
  /* harmony export */ "RpcOperationPolicy": () => (/* reexport safe */ _rpc_core_RpcOperation__WEBPACK_IMPORTED_MODULE_126__.RpcOperationPolicy),
45850
45852
  /* harmony export */ "RpcPendingQueue": () => (/* reexport safe */ _rpc_core_RpcPendingQueue__WEBPACK_IMPORTED_MODULE_127__.RpcPendingQueue),
@@ -45911,13 +45913,13 @@ __webpack_require__.r(__webpack_exports__);
45911
45913
  /* harmony export */ "ThematicGradientSettings": () => (/* reexport safe */ _ThematicDisplay__WEBPACK_IMPORTED_MODULE_112__.ThematicGradientSettings),
45912
45914
  /* harmony export */ "ThematicGradientTransparencyMode": () => (/* reexport safe */ _ThematicDisplay__WEBPACK_IMPORTED_MODULE_112__.ThematicGradientTransparencyMode),
45913
45915
  /* harmony export */ "TileContentSource": () => (/* reexport safe */ _TileProps__WEBPACK_IMPORTED_MODULE_115__.TileContentSource),
45914
- /* harmony export */ "TileFormat": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_156__.TileFormat),
45915
- /* harmony export */ "TileHeader": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_156__.TileHeader),
45916
- /* harmony export */ "TileMetadataReader": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.TileMetadataReader),
45917
- /* harmony export */ "TileOptions": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.TileOptions),
45918
- /* harmony export */ "TileReadError": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_156__.TileReadError),
45919
- /* harmony export */ "TileReadStatus": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_156__.TileReadStatus),
45920
- /* harmony export */ "TreeFlags": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.TreeFlags),
45916
+ /* harmony export */ "TileFormat": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_155__.TileFormat),
45917
+ /* harmony export */ "TileHeader": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_155__.TileHeader),
45918
+ /* harmony export */ "TileMetadataReader": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.TileMetadataReader),
45919
+ /* harmony export */ "TileOptions": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.TileOptions),
45920
+ /* harmony export */ "TileReadError": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_155__.TileReadError),
45921
+ /* harmony export */ "TileReadStatus": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_155__.TileReadStatus),
45922
+ /* harmony export */ "TreeFlags": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.TreeFlags),
45921
45923
  /* harmony export */ "Tween": () => (/* reexport safe */ _Tween__WEBPACK_IMPORTED_MODULE_116__.Tween),
45922
45924
  /* harmony export */ "Tweens": () => (/* reexport safe */ _Tween__WEBPACK_IMPORTED_MODULE_116__.Tweens),
45923
45925
  /* harmony export */ "TxnAction": () => (/* reexport safe */ _TxnAction__WEBPACK_IMPORTED_MODULE_117__.TxnAction),
@@ -45929,33 +45931,32 @@ __webpack_require__.r(__webpack_exports__);
45929
45931
  /* harmony export */ "ViewFlags": () => (/* reexport safe */ _ViewFlags__WEBPACK_IMPORTED_MODULE_119__.ViewFlags),
45930
45932
  /* harmony export */ "ViewStoreRpc": () => (/* reexport safe */ _ViewProps__WEBPACK_IMPORTED_MODULE_120__.ViewStoreRpc),
45931
45933
  /* harmony export */ "WEB_RPC_CONSTANTS": () => (/* reexport safe */ _rpc_core_RpcConstants__WEBPACK_IMPORTED_MODULE_121__.WEB_RPC_CONSTANTS),
45932
- /* harmony export */ "WebAppRpcLogging": () => (/* reexport safe */ _rpc_web_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_148__.WebAppRpcLogging),
45933
- /* harmony export */ "WebAppRpcProtocol": () => (/* reexport safe */ _rpc_web_WebAppRpcProtocol__WEBPACK_IMPORTED_MODULE_146__.WebAppRpcProtocol),
45934
- /* harmony export */ "WebAppRpcRequest": () => (/* reexport safe */ _rpc_web_WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_147__.WebAppRpcRequest),
45935
- /* harmony export */ "WhiteOnWhiteReversalSettings": () => (/* reexport safe */ _WhiteOnWhiteReversalSettings__WEBPACK_IMPORTED_MODULE_159__.WhiteOnWhiteReversalSettings),
45936
- /* harmony export */ "WipRpcInterface": () => (/* reexport safe */ _rpc_WipRpcInterface__WEBPACK_IMPORTED_MODULE_140__.WipRpcInterface),
45934
+ /* harmony export */ "WebAppRpcLogging": () => (/* reexport safe */ _rpc_web_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_147__.WebAppRpcLogging),
45935
+ /* harmony export */ "WebAppRpcProtocol": () => (/* reexport safe */ _rpc_web_WebAppRpcProtocol__WEBPACK_IMPORTED_MODULE_145__.WebAppRpcProtocol),
45936
+ /* harmony export */ "WebAppRpcRequest": () => (/* reexport safe */ _rpc_web_WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_146__.WebAppRpcRequest),
45937
+ /* harmony export */ "WhiteOnWhiteReversalSettings": () => (/* reexport safe */ _WhiteOnWhiteReversalSettings__WEBPACK_IMPORTED_MODULE_158__.WhiteOnWhiteReversalSettings),
45937
45938
  /* harmony export */ "XyzRotation": () => (/* reexport safe */ _geometry_GeodeticDatum__WEBPACK_IMPORTED_MODULE_48__.XyzRotation),
45938
45939
  /* harmony export */ "aggregateLoad": () => (/* reexport safe */ _rpc_core_RpcRequest__WEBPACK_IMPORTED_MODULE_130__.aggregateLoad),
45939
- /* harmony export */ "bisectTileRange2d": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.bisectTileRange2d),
45940
- /* harmony export */ "bisectTileRange3d": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.bisectTileRange3d),
45940
+ /* harmony export */ "bisectTileRange2d": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.bisectTileRange2d),
45941
+ /* harmony export */ "bisectTileRange3d": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.bisectTileRange3d),
45941
45942
  /* harmony export */ "calculateSolarAngles": () => (/* reexport safe */ _SolarCalculate__WEBPACK_IMPORTED_MODULE_104__.calculateSolarAngles),
45942
45943
  /* harmony export */ "calculateSolarDirection": () => (/* reexport safe */ _SolarCalculate__WEBPACK_IMPORTED_MODULE_104__.calculateSolarDirection),
45943
45944
  /* harmony export */ "calculateSolarDirectionFromAngles": () => (/* reexport safe */ _SolarCalculate__WEBPACK_IMPORTED_MODULE_104__.calculateSolarDirectionFromAngles),
45944
45945
  /* harmony export */ "calculateSunriseOrSunset": () => (/* reexport safe */ _SolarCalculate__WEBPACK_IMPORTED_MODULE_104__.calculateSunriseOrSunset),
45945
- /* harmony export */ "compareIModelTileTreeIds": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.compareIModelTileTreeIds),
45946
- /* harmony export */ "computeChildTileProps": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.computeChildTileProps),
45947
- /* harmony export */ "computeChildTileRanges": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.computeChildTileRanges),
45948
- /* harmony export */ "computeTileChordTolerance": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.computeTileChordTolerance),
45949
- /* harmony export */ "decodeTileContentDescription": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.decodeTileContentDescription),
45950
- /* harmony export */ "defaultTileOptions": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.defaultTileOptions),
45951
- /* harmony export */ "getMaximumMajorTileFormatVersion": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.getMaximumMajorTileFormatVersion),
45946
+ /* harmony export */ "compareIModelTileTreeIds": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.compareIModelTileTreeIds),
45947
+ /* harmony export */ "computeChildTileProps": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.computeChildTileProps),
45948
+ /* harmony export */ "computeChildTileRanges": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.computeChildTileRanges),
45949
+ /* harmony export */ "computeTileChordTolerance": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.computeTileChordTolerance),
45950
+ /* harmony export */ "decodeTileContentDescription": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.decodeTileContentDescription),
45951
+ /* harmony export */ "defaultTileOptions": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.defaultTileOptions),
45952
+ /* harmony export */ "getMaximumMajorTileFormatVersion": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.getMaximumMajorTileFormatVersion),
45952
45953
  /* harmony export */ "getPullChangesIpcChannel": () => (/* reexport safe */ _IpcAppProps__WEBPACK_IMPORTED_MODULE_75__.getPullChangesIpcChannel),
45953
45954
  /* harmony export */ "getTileObjectReference": () => (/* reexport safe */ _TileProps__WEBPACK_IMPORTED_MODULE_115__.getTileObjectReference),
45954
- /* harmony export */ "iModelTileTreeIdToString": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.iModelTileTreeIdToString),
45955
+ /* harmony export */ "iModelTileTreeIdToString": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.iModelTileTreeIdToString),
45955
45956
  /* harmony export */ "iTwinChannel": () => (/* reexport safe */ _ipc_IpcSocket__WEBPACK_IMPORTED_MODULE_71__.iTwinChannel),
45956
45957
  /* harmony export */ "initializeRpcRequest": () => (/* reexport safe */ _rpc_core_RpcRequest__WEBPACK_IMPORTED_MODULE_130__.initializeRpcRequest),
45957
45958
  /* harmony export */ "ipcAppChannels": () => (/* reexport safe */ _IpcAppProps__WEBPACK_IMPORTED_MODULE_75__.ipcAppChannels),
45958
- /* harmony export */ "isKnownTileFormat": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_156__.isKnownTileFormat),
45959
+ /* harmony export */ "isKnownTileFormat": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_155__.isKnownTileFormat),
45959
45960
  /* harmony export */ "isPlacement2dProps": () => (/* reexport safe */ _ElementProps__WEBPACK_IMPORTED_MODULE_29__.isPlacement2dProps),
45960
45961
  /* harmony export */ "isPlacement3dProps": () => (/* reexport safe */ _ElementProps__WEBPACK_IMPORTED_MODULE_29__.isPlacement3dProps),
45961
45962
  /* harmony export */ "isPowerOfTwo": () => (/* reexport safe */ _Image__WEBPACK_IMPORTED_MODULE_66__.isPowerOfTwo),
@@ -45963,12 +45964,12 @@ __webpack_require__.r(__webpack_exports__);
45963
45964
  /* harmony export */ "mapToGeoServiceStatus": () => (/* reexport safe */ _GeoCoordinateServices__WEBPACK_IMPORTED_MODULE_40__.mapToGeoServiceStatus),
45964
45965
  /* harmony export */ "nativeAppIpcStrings": () => (/* reexport safe */ _NativeAppProps__WEBPACK_IMPORTED_MODULE_85__.nativeAppIpcStrings),
45965
45966
  /* harmony export */ "nextHighestPowerOfTwo": () => (/* reexport safe */ _Image__WEBPACK_IMPORTED_MODULE_66__.nextHighestPowerOfTwo),
45966
- /* harmony export */ "nextPoint3d64FromByteStream": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_156__.nextPoint3d64FromByteStream),
45967
- /* harmony export */ "parseTileTreeIdAndContentId": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.parseTileTreeIdAndContentId),
45967
+ /* harmony export */ "nextPoint3d64FromByteStream": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_155__.nextPoint3d64FromByteStream),
45968
+ /* harmony export */ "parseTileTreeIdAndContentId": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.parseTileTreeIdAndContentId),
45968
45969
  /* harmony export */ "readElementMeshes": () => (/* reexport safe */ _ElementMesh__WEBPACK_IMPORTED_MODULE_28__.readElementMeshes),
45969
- /* harmony export */ "readTileContentDescription": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__.readTileContentDescription),
45970
+ /* harmony export */ "readTileContentDescription": () => (/* reexport safe */ _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__.readTileContentDescription),
45970
45971
  /* harmony export */ "rpcOverIpcStrings": () => (/* reexport safe */ _ipc_IpcSession__WEBPACK_IMPORTED_MODULE_74__.rpcOverIpcStrings),
45971
- /* harmony export */ "tileFormatFromNumber": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_156__.tileFormatFromNumber)
45972
+ /* harmony export */ "tileFormatFromNumber": () => (/* reexport safe */ _tile_TileIO__WEBPACK_IMPORTED_MODULE_155__.tileFormatFromNumber)
45972
45973
  /* harmony export */ });
45973
45974
  /* harmony import */ var _AmbientOcclusion__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AmbientOcclusion */ "../../core/common/lib/esm/AmbientOcclusion.js");
45974
45975
  /* harmony import */ var _AnalysisStyle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AnalysisStyle */ "../../core/common/lib/esm/AnalysisStyle.js");
@@ -46110,27 +46111,26 @@ __webpack_require__.r(__webpack_exports__);
46110
46111
  /* harmony import */ var _rpc_IModelTileRpcInterface__WEBPACK_IMPORTED_MODULE_137__ = __webpack_require__(/*! ./rpc/IModelTileRpcInterface */ "../../core/common/lib/esm/rpc/IModelTileRpcInterface.js");
46111
46112
  /* harmony import */ var _rpc_SnapshotIModelRpcInterface__WEBPACK_IMPORTED_MODULE_138__ = __webpack_require__(/*! ./rpc/SnapshotIModelRpcInterface */ "../../core/common/lib/esm/rpc/SnapshotIModelRpcInterface.js");
46112
46113
  /* harmony import */ var _rpc_TestRpcManager__WEBPACK_IMPORTED_MODULE_139__ = __webpack_require__(/*! ./rpc/TestRpcManager */ "../../core/common/lib/esm/rpc/TestRpcManager.js");
46113
- /* harmony import */ var _rpc_WipRpcInterface__WEBPACK_IMPORTED_MODULE_140__ = __webpack_require__(/*! ./rpc/WipRpcInterface */ "../../core/common/lib/esm/rpc/WipRpcInterface.js");
46114
- /* harmony import */ var _RpcInterface__WEBPACK_IMPORTED_MODULE_141__ = __webpack_require__(/*! ./RpcInterface */ "../../core/common/lib/esm/RpcInterface.js");
46115
- /* harmony import */ var _rpc_web_BentleyCloudRpcManager__WEBPACK_IMPORTED_MODULE_142__ = __webpack_require__(/*! ./rpc/web/BentleyCloudRpcManager */ "../../core/common/lib/esm/rpc/web/BentleyCloudRpcManager.js");
46116
- /* harmony import */ var _rpc_web_BentleyCloudRpcProtocol__WEBPACK_IMPORTED_MODULE_143__ = __webpack_require__(/*! ./rpc/web/BentleyCloudRpcProtocol */ "../../core/common/lib/esm/rpc/web/BentleyCloudRpcProtocol.js");
46117
- /* harmony import */ var _rpc_web_OpenAPI__WEBPACK_IMPORTED_MODULE_144__ = __webpack_require__(/*! ./rpc/web/OpenAPI */ "../../core/common/lib/esm/rpc/web/OpenAPI.js");
46118
- /* harmony import */ var _rpc_web_RpcMultipart__WEBPACK_IMPORTED_MODULE_145__ = __webpack_require__(/*! ./rpc/web/RpcMultipart */ "../../core/common/lib/esm/rpc/web/RpcMultipart.js");
46119
- /* harmony import */ var _rpc_web_WebAppRpcProtocol__WEBPACK_IMPORTED_MODULE_146__ = __webpack_require__(/*! ./rpc/web/WebAppRpcProtocol */ "../../core/common/lib/esm/rpc/web/WebAppRpcProtocol.js");
46120
- /* harmony import */ var _rpc_web_WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_147__ = __webpack_require__(/*! ./rpc/web/WebAppRpcRequest */ "../../core/common/lib/esm/rpc/web/WebAppRpcRequest.js");
46121
- /* harmony import */ var _rpc_web_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_148__ = __webpack_require__(/*! ./rpc/web/WebAppRpcLogging */ "../../core/common/lib/esm/rpc/web/WebAppRpcLogging.js");
46122
- /* harmony import */ var _tile_B3dmTileIO__WEBPACK_IMPORTED_MODULE_149__ = __webpack_require__(/*! ./tile/B3dmTileIO */ "../../core/common/lib/esm/tile/B3dmTileIO.js");
46123
- /* harmony import */ var _tile_CompositeTileIO__WEBPACK_IMPORTED_MODULE_150__ = __webpack_require__(/*! ./tile/CompositeTileIO */ "../../core/common/lib/esm/tile/CompositeTileIO.js");
46124
- /* harmony import */ var _tile_ElementGraphics__WEBPACK_IMPORTED_MODULE_151__ = __webpack_require__(/*! ./tile/ElementGraphics */ "../../core/common/lib/esm/tile/ElementGraphics.js");
46125
- /* harmony import */ var _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_152__ = __webpack_require__(/*! ./tile/GltfTileIO */ "../../core/common/lib/esm/tile/GltfTileIO.js");
46126
- /* harmony import */ var _tile_I3dmTileIO__WEBPACK_IMPORTED_MODULE_153__ = __webpack_require__(/*! ./tile/I3dmTileIO */ "../../core/common/lib/esm/tile/I3dmTileIO.js");
46127
- /* harmony import */ var _tile_IModelTileIO__WEBPACK_IMPORTED_MODULE_154__ = __webpack_require__(/*! ./tile/IModelTileIO */ "../../core/common/lib/esm/tile/IModelTileIO.js");
46128
- /* harmony import */ var _tile_PntsTileIO__WEBPACK_IMPORTED_MODULE_155__ = __webpack_require__(/*! ./tile/PntsTileIO */ "../../core/common/lib/esm/tile/PntsTileIO.js");
46129
- /* harmony import */ var _tile_TileIO__WEBPACK_IMPORTED_MODULE_156__ = __webpack_require__(/*! ./tile/TileIO */ "../../core/common/lib/esm/tile/TileIO.js");
46130
- /* harmony import */ var _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_157__ = __webpack_require__(/*! ./tile/TileMetadata */ "../../core/common/lib/esm/tile/TileMetadata.js");
46131
- /* harmony import */ var _tile_Tileset3dSchema__WEBPACK_IMPORTED_MODULE_158__ = __webpack_require__(/*! ./tile/Tileset3dSchema */ "../../core/common/lib/esm/tile/Tileset3dSchema.js");
46132
- /* harmony import */ var _WhiteOnWhiteReversalSettings__WEBPACK_IMPORTED_MODULE_159__ = __webpack_require__(/*! ./WhiteOnWhiteReversalSettings */ "../../core/common/lib/esm/WhiteOnWhiteReversalSettings.js");
46133
- /* harmony import */ var _internal_cross_package__WEBPACK_IMPORTED_MODULE_160__ = __webpack_require__(/*! ./internal/cross-package */ "../../core/common/lib/esm/internal/cross-package.js");
46114
+ /* harmony import */ var _RpcInterface__WEBPACK_IMPORTED_MODULE_140__ = __webpack_require__(/*! ./RpcInterface */ "../../core/common/lib/esm/RpcInterface.js");
46115
+ /* harmony import */ var _rpc_web_BentleyCloudRpcManager__WEBPACK_IMPORTED_MODULE_141__ = __webpack_require__(/*! ./rpc/web/BentleyCloudRpcManager */ "../../core/common/lib/esm/rpc/web/BentleyCloudRpcManager.js");
46116
+ /* harmony import */ var _rpc_web_BentleyCloudRpcProtocol__WEBPACK_IMPORTED_MODULE_142__ = __webpack_require__(/*! ./rpc/web/BentleyCloudRpcProtocol */ "../../core/common/lib/esm/rpc/web/BentleyCloudRpcProtocol.js");
46117
+ /* harmony import */ var _rpc_web_OpenAPI__WEBPACK_IMPORTED_MODULE_143__ = __webpack_require__(/*! ./rpc/web/OpenAPI */ "../../core/common/lib/esm/rpc/web/OpenAPI.js");
46118
+ /* harmony import */ var _rpc_web_RpcMultipart__WEBPACK_IMPORTED_MODULE_144__ = __webpack_require__(/*! ./rpc/web/RpcMultipart */ "../../core/common/lib/esm/rpc/web/RpcMultipart.js");
46119
+ /* harmony import */ var _rpc_web_WebAppRpcProtocol__WEBPACK_IMPORTED_MODULE_145__ = __webpack_require__(/*! ./rpc/web/WebAppRpcProtocol */ "../../core/common/lib/esm/rpc/web/WebAppRpcProtocol.js");
46120
+ /* harmony import */ var _rpc_web_WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_146__ = __webpack_require__(/*! ./rpc/web/WebAppRpcRequest */ "../../core/common/lib/esm/rpc/web/WebAppRpcRequest.js");
46121
+ /* harmony import */ var _rpc_web_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_147__ = __webpack_require__(/*! ./rpc/web/WebAppRpcLogging */ "../../core/common/lib/esm/rpc/web/WebAppRpcLogging.js");
46122
+ /* harmony import */ var _tile_B3dmTileIO__WEBPACK_IMPORTED_MODULE_148__ = __webpack_require__(/*! ./tile/B3dmTileIO */ "../../core/common/lib/esm/tile/B3dmTileIO.js");
46123
+ /* harmony import */ var _tile_CompositeTileIO__WEBPACK_IMPORTED_MODULE_149__ = __webpack_require__(/*! ./tile/CompositeTileIO */ "../../core/common/lib/esm/tile/CompositeTileIO.js");
46124
+ /* harmony import */ var _tile_ElementGraphics__WEBPACK_IMPORTED_MODULE_150__ = __webpack_require__(/*! ./tile/ElementGraphics */ "../../core/common/lib/esm/tile/ElementGraphics.js");
46125
+ /* harmony import */ var _tile_GltfTileIO__WEBPACK_IMPORTED_MODULE_151__ = __webpack_require__(/*! ./tile/GltfTileIO */ "../../core/common/lib/esm/tile/GltfTileIO.js");
46126
+ /* harmony import */ var _tile_I3dmTileIO__WEBPACK_IMPORTED_MODULE_152__ = __webpack_require__(/*! ./tile/I3dmTileIO */ "../../core/common/lib/esm/tile/I3dmTileIO.js");
46127
+ /* harmony import */ var _tile_IModelTileIO__WEBPACK_IMPORTED_MODULE_153__ = __webpack_require__(/*! ./tile/IModelTileIO */ "../../core/common/lib/esm/tile/IModelTileIO.js");
46128
+ /* harmony import */ var _tile_PntsTileIO__WEBPACK_IMPORTED_MODULE_154__ = __webpack_require__(/*! ./tile/PntsTileIO */ "../../core/common/lib/esm/tile/PntsTileIO.js");
46129
+ /* harmony import */ var _tile_TileIO__WEBPACK_IMPORTED_MODULE_155__ = __webpack_require__(/*! ./tile/TileIO */ "../../core/common/lib/esm/tile/TileIO.js");
46130
+ /* harmony import */ var _tile_TileMetadata__WEBPACK_IMPORTED_MODULE_156__ = __webpack_require__(/*! ./tile/TileMetadata */ "../../core/common/lib/esm/tile/TileMetadata.js");
46131
+ /* harmony import */ var _tile_Tileset3dSchema__WEBPACK_IMPORTED_MODULE_157__ = __webpack_require__(/*! ./tile/Tileset3dSchema */ "../../core/common/lib/esm/tile/Tileset3dSchema.js");
46132
+ /* harmony import */ var _WhiteOnWhiteReversalSettings__WEBPACK_IMPORTED_MODULE_158__ = __webpack_require__(/*! ./WhiteOnWhiteReversalSettings */ "../../core/common/lib/esm/WhiteOnWhiteReversalSettings.js");
46133
+ /* harmony import */ var _internal_cross_package__WEBPACK_IMPORTED_MODULE_159__ = __webpack_require__(/*! ./internal/cross-package */ "../../core/common/lib/esm/internal/cross-package.js");
46134
46134
  /*---------------------------------------------------------------------------------------------
46135
46135
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
46136
46136
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -46293,7 +46293,6 @@ __webpack_require__.r(__webpack_exports__);
46293
46293
 
46294
46294
 
46295
46295
 
46296
-
46297
46296
 
46298
46297
 
46299
46298
  /** @docs-package-description
@@ -55777,6 +55776,7 @@ const unknownIModelId = (req) => ({ iModelId: "undefined", key: req.parameters[0
55777
55776
  /** The RPC interface for working with *snapshot* iModels.
55778
55777
  * This interface is intended for desktop and mobile products. Web products are discouraged from registering this interface.
55779
55778
  * @internal
55779
+ * @deprecated in 5.0. Check [[IpcAppFunctions]] or [[CheckpointConnection]] for replacements.
55780
55780
  */
55781
55781
  class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.RpcInterface {
55782
55782
  /** Returns the SnapshotIModelRpcInterface client instance for the frontend. */
@@ -55787,11 +55787,17 @@ class SnapshotIModelRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_
55787
55787
  NOTE: Any add/remove/change to the methods below requires an update of the interface version.
55788
55788
  NOTE: Please consult the README in this folder for the semantic versioning rules.
55789
55789
  ===========================================================================================*/
55790
+ /**
55791
+ * @deprecated in 5.0. Use [[IpcAppFunctions.openSnapshot]] in IPC applications, no replacement for Web applications.
55792
+ */
55790
55793
  async openFile(_filePath, _opts) { return this.forward(arguments); }
55791
55794
  /**
55792
55795
  * @deprecated in 4.10. Use [[CheckpointConnection.openRemote]].
55793
55796
  */
55794
55797
  async openRemote(_key, _opts) { return this.forward(arguments); }
55798
+ /**
55799
+ * @deprecated in 5.0. Use [[IpcAppFunctions.closeIModel]] in IPC applications, no replacement for Web applications.
55800
+ */
55795
55801
  async close(_iModelRpcProps) { return this.forward(arguments); }
55796
55802
  }
55797
55803
  /** The immutable name of the interface. */
@@ -55857,60 +55863,6 @@ class TestRpcManager {
55857
55863
  }
55858
55864
 
55859
55865
 
55860
- /***/ }),
55861
-
55862
- /***/ "../../core/common/lib/esm/rpc/WipRpcInterface.js":
55863
- /*!********************************************************!*\
55864
- !*** ../../core/common/lib/esm/rpc/WipRpcInterface.js ***!
55865
- \********************************************************/
55866
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
55867
-
55868
- "use strict";
55869
- __webpack_require__.r(__webpack_exports__);
55870
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
55871
- /* harmony export */ "WipRpcInterface": () => (/* binding */ WipRpcInterface)
55872
- /* harmony export */ });
55873
- /* harmony import */ var _RpcInterface__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../RpcInterface */ "../../core/common/lib/esm/RpcInterface.js");
55874
- /* harmony import */ var _RpcManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../RpcManager */ "../../core/common/lib/esm/RpcManager.js");
55875
- /*---------------------------------------------------------------------------------------------
55876
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
55877
- * See LICENSE.md in the project root for license terms and full copyright notice.
55878
- *--------------------------------------------------------------------------------------------*/
55879
- /** @packageDocumentation
55880
- * @module RpcInterface
55881
- */
55882
-
55883
-
55884
- /** The purpose of this class is to house WIP RPC methods. For example:
55885
- * - WIP methods where signatures or behavior is still changing
55886
- * - Experimental methods that we may decide are a bad idea and never release
55887
- * The idea is to house these WIP RPC methods away from other RpcInterfaces that have stated compatibility goals.
55888
- * Once stable, the goal is to move methods out to their rightful home.
55889
- * Apps/services should understand the *flux* implied by registering this RpcInterface and should be in control of both the client and server before even considering using it.
55890
- * @internal
55891
- * @deprecated in 4.10. If any of these methods are needed in the frontend, they should be rewritten using IPC or HTTP protocol.
55892
- */
55893
- class WipRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_0__.RpcInterface {
55894
- /** Returns the IModelReadRpcInterface instance for the frontend. */
55895
- static getClient() { return _RpcManager__WEBPACK_IMPORTED_MODULE_1__.RpcManager.getClientForInterface(WipRpcInterface); } // eslint-disable-line @typescript-eslint/no-deprecated
55896
- /*===========================================================================================
55897
- NOTE: Any add/remove/change to the methods below requires an update of the interface version.
55898
- NOTE: Please consult the README in this folder for the semantic versioning rules.
55899
- ==========================================================================================*/
55900
- async placeholder(_iModelToken) { return this.forward(arguments); } // here to test that WipRpcInterface is configured properly
55901
- async isChangeCacheAttached(_iModelToken) { return this.forward(arguments); }
55902
- async attachChangeCache(_iModelToken) { return this.forward(arguments); }
55903
- async getChangedElements(_iModelToken, _startChangesetId, _endChangesetId) { return this.forward(arguments); }
55904
- async isChangesetProcessed(_iModelToken, _changesetId) { return this.forward(arguments); }
55905
- }
55906
- /** The immutable name of the interface. */
55907
- WipRpcInterface.interfaceName = "WipRpcInterface";
55908
- /** The semantic version of the interface.
55909
- * @note The WipRpcInterface will never progress to 1.0 since it is never intended to be public.
55910
- */
55911
- WipRpcInterface.interfaceVersion = "0.5.0";
55912
-
55913
-
55914
55866
  /***/ }),
55915
55867
 
55916
55868
  /***/ "../../core/common/lib/esm/rpc/core/RpcConfiguration.js":
@@ -71403,40 +71355,42 @@ class SchemaGraph {
71403
71355
 
71404
71356
  /***/ }),
71405
71357
 
71406
- /***/ "../../core/ecschema-rpc/common/lib/cjs/ECSchemaRpcInterface.js":
71358
+ /***/ "../../core/ecschema-rpc/common/lib/esm/ECSchemaRpcInterface.js":
71407
71359
  /*!**********************************************************************!*\
71408
- !*** ../../core/ecschema-rpc/common/lib/cjs/ECSchemaRpcInterface.js ***!
71360
+ !*** ../../core/ecschema-rpc/common/lib/esm/ECSchemaRpcInterface.js ***!
71409
71361
  \**********************************************************************/
71410
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
71362
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
71411
71363
 
71412
71364
  "use strict";
71413
-
71414
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
71365
+ __webpack_require__.r(__webpack_exports__);
71366
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
71367
+ /* harmony export */ "ECSchemaRpcInterface": () => (/* binding */ ECSchemaRpcInterface)
71368
+ /* harmony export */ });
71369
+ /* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
71370
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
71415
71371
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
71416
71372
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
71417
71373
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
71418
71374
  return c > 3 && r && Object.defineProperty(target, key, r), r;
71419
71375
  };
71420
- Object.defineProperty(exports, "__esModule", ({ value: true }));
71421
- exports.ECSchemaRpcInterface = void 0;
71422
71376
  /*---------------------------------------------------------------------------------------------
71423
71377
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
71424
71378
  * See LICENSE.md in the project root for license terms and full copyright notice.
71425
71379
  *--------------------------------------------------------------------------------------------*/
71426
- const core_common_1 = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
71380
+
71427
71381
  /***
71428
71382
  * Defines an RPC interface to get schema information from a given iModel context.
71429
71383
  * Method @see getSchemaNames will return the names of schemas that live in this iModel.
71430
71384
  * The actual schemas can be downloaded using @see getSchemaJSON to get the schema as JSON props.
71431
71385
  * @internal
71432
71386
  */
71433
- class ECSchemaRpcInterface extends core_common_1.RpcInterface {
71387
+ class ECSchemaRpcInterface extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcInterface {
71434
71388
  /**
71435
71389
  * Returns the RPC client instance for the frontend.
71436
71390
  * @returns A client to communicate with the RPC Interface.
71437
71391
  */
71438
71392
  static getClient() {
71439
- return core_common_1.RpcManager.getClientForInterface(ECSchemaRpcInterface);
71393
+ return _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcManager.getClientForInterface(ECSchemaRpcInterface);
71440
71394
  }
71441
71395
  /**
71442
71396
  * Returns an array of SchemaKeyProps that exists in the current iModel context. The client can call
@@ -71458,37 +71412,39 @@ class ECSchemaRpcInterface extends core_common_1.RpcInterface {
71458
71412
  return this.forward.apply(this, [arguments]);
71459
71413
  }
71460
71414
  }
71461
- exports.ECSchemaRpcInterface = ECSchemaRpcInterface;
71462
71415
  /** The version of the RPC Interface. */
71463
71416
  ECSchemaRpcInterface.version = "2.0.0";
71464
71417
  ECSchemaRpcInterface.interfaceName = "ECSchemaRpcInterface";
71465
71418
  ECSchemaRpcInterface.interfaceVersion = ECSchemaRpcInterface.version;
71466
71419
  __decorate([
71467
- core_common_1.RpcOperation.allowResponseCaching(core_common_1.RpcResponseCacheControl.Immutable)
71420
+ _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.allowResponseCaching(_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
71468
71421
  ], ECSchemaRpcInterface.prototype, "getSchemaKeys", null);
71469
71422
  __decorate([
71470
- core_common_1.RpcOperation.allowResponseCaching(core_common_1.RpcResponseCacheControl.Immutable)
71423
+ _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcOperation.allowResponseCaching(_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
71471
71424
  ], ECSchemaRpcInterface.prototype, "getSchemaJSON", null);
71472
71425
 
71473
71426
 
71474
71427
  /***/ }),
71475
71428
 
71476
- /***/ "../../core/ecschema-rpc/common/lib/cjs/ECSchemaRpcLocater.js":
71429
+ /***/ "../../core/ecschema-rpc/common/lib/esm/ECSchemaRpcLocater.js":
71477
71430
  /*!********************************************************************!*\
71478
- !*** ../../core/ecschema-rpc/common/lib/cjs/ECSchemaRpcLocater.js ***!
71431
+ !*** ../../core/ecschema-rpc/common/lib/esm/ECSchemaRpcLocater.js ***!
71479
71432
  \********************************************************************/
71480
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
71433
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
71481
71434
 
71482
71435
  "use strict";
71483
-
71484
- Object.defineProperty(exports, "__esModule", ({ value: true }));
71485
- exports.ECSchemaRpcLocater = void 0;
71436
+ __webpack_require__.r(__webpack_exports__);
71437
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
71438
+ /* harmony export */ "ECSchemaRpcLocater": () => (/* binding */ ECSchemaRpcLocater)
71439
+ /* harmony export */ });
71440
+ /* harmony import */ var _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/ecschema-metadata */ "../../core/ecschema-metadata/lib/esm/ecschema-metadata.js");
71441
+ /* harmony import */ var _ECSchemaRpcInterface__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ECSchemaRpcInterface */ "../../core/ecschema-rpc/common/lib/esm/ECSchemaRpcInterface.js");
71486
71442
  /*---------------------------------------------------------------------------------------------
71487
71443
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
71488
71444
  * See LICENSE.md in the project root for license terms and full copyright notice.
71489
71445
  *--------------------------------------------------------------------------------------------*/
71490
- const ecschema_metadata_1 = __webpack_require__(/*! @itwin/ecschema-metadata */ "../../core/ecschema-metadata/lib/esm/ecschema-metadata.js");
71491
- const ECSchemaRpcInterface_1 = __webpack_require__(/*! ./ECSchemaRpcInterface */ "../../core/ecschema-rpc/common/lib/cjs/ECSchemaRpcInterface.js");
71446
+
71447
+
71492
71448
  /**
71493
71449
  * Defines a schema locater that retrieves schemas using an RPC interface.
71494
71450
  * @beta
@@ -71513,8 +71469,8 @@ class ECSchemaRpcLocater {
71513
71469
  * @param matchType The match type to use when locating the schema
71514
71470
  */
71515
71471
  async getSchemaInfo(schemaKey, matchType, context) {
71516
- const schemaJson = await ECSchemaRpcInterface_1.ECSchemaRpcInterface.getClient().getSchemaJSON(this.token, schemaKey.name);
71517
- const schemaInfo = await ecschema_metadata_1.Schema.startLoadingFromJson(schemaJson, context || new ecschema_metadata_1.SchemaContext());
71472
+ const schemaJson = await _ECSchemaRpcInterface__WEBPACK_IMPORTED_MODULE_1__.ECSchemaRpcInterface.getClient().getSchemaJSON(this.token, schemaKey.name);
71473
+ const schemaInfo = await _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_0__.Schema.startLoadingFromJson(schemaJson, context || new _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_0__.SchemaContext());
71518
71474
  if (schemaInfo !== undefined && schemaInfo.schemaKey.matches(schemaKey, matchType)) {
71519
71475
  return schemaInfo;
71520
71476
  }
@@ -71527,50 +71483,40 @@ class ECSchemaRpcLocater {
71527
71483
  * @param context The SchemaContext that will control the lifetime of the schema and holds the schema's references, if they exist.
71528
71484
  */
71529
71485
  getSchemaSync(schemaKey, matchType, context) {
71530
- const schemaJson = ECSchemaRpcInterface_1.ECSchemaRpcInterface.getClient().getSchemaJSON(this.token, schemaKey.name).then((props) => {
71486
+ const schemaJson = _ECSchemaRpcInterface__WEBPACK_IMPORTED_MODULE_1__.ECSchemaRpcInterface.getClient().getSchemaJSON(this.token, schemaKey.name).then((props) => {
71531
71487
  return props;
71532
71488
  });
71533
- const schema = ecschema_metadata_1.Schema.fromJsonSync(schemaJson, context || new ecschema_metadata_1.SchemaContext());
71489
+ const schema = _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_0__.Schema.fromJsonSync(schemaJson, context || new _itwin_ecschema_metadata__WEBPACK_IMPORTED_MODULE_0__.SchemaContext());
71534
71490
  if (schema !== undefined && schema.schemaKey.matches(schemaKey, matchType)) {
71535
71491
  return schema;
71536
71492
  }
71537
71493
  return undefined;
71538
71494
  }
71539
71495
  }
71540
- exports.ECSchemaRpcLocater = ECSchemaRpcLocater;
71541
71496
 
71542
71497
 
71543
71498
  /***/ }),
71544
71499
 
71545
- /***/ "../../core/ecschema-rpc/common/lib/cjs/ecschema-rpc-interface.js":
71500
+ /***/ "../../core/ecschema-rpc/common/lib/esm/ecschema-rpc-interface.js":
71546
71501
  /*!************************************************************************!*\
71547
- !*** ../../core/ecschema-rpc/common/lib/cjs/ecschema-rpc-interface.js ***!
71502
+ !*** ../../core/ecschema-rpc/common/lib/esm/ecschema-rpc-interface.js ***!
71548
71503
  \************************************************************************/
71549
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
71504
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
71550
71505
 
71551
71506
  "use strict";
71552
-
71553
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
71554
- if (k2 === undefined) k2 = k;
71555
- var desc = Object.getOwnPropertyDescriptor(m, k);
71556
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
71557
- desc = { enumerable: true, get: function() { return m[k]; } };
71558
- }
71559
- Object.defineProperty(o, k2, desc);
71560
- }) : (function(o, m, k, k2) {
71561
- if (k2 === undefined) k2 = k;
71562
- o[k2] = m[k];
71563
- }));
71564
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
71565
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
71566
- };
71567
- Object.defineProperty(exports, "__esModule", ({ value: true }));
71507
+ __webpack_require__.r(__webpack_exports__);
71508
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
71509
+ /* harmony export */ "ECSchemaRpcInterface": () => (/* reexport safe */ _ECSchemaRpcInterface__WEBPACK_IMPORTED_MODULE_0__.ECSchemaRpcInterface),
71510
+ /* harmony export */ "ECSchemaRpcLocater": () => (/* reexport safe */ _ECSchemaRpcLocater__WEBPACK_IMPORTED_MODULE_1__.ECSchemaRpcLocater)
71511
+ /* harmony export */ });
71512
+ /* harmony import */ var _ECSchemaRpcInterface__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ECSchemaRpcInterface */ "../../core/ecschema-rpc/common/lib/esm/ECSchemaRpcInterface.js");
71513
+ /* harmony import */ var _ECSchemaRpcLocater__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ECSchemaRpcLocater */ "../../core/ecschema-rpc/common/lib/esm/ECSchemaRpcLocater.js");
71568
71514
  /*---------------------------------------------------------------------------------------------
71569
71515
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
71570
71516
  * See LICENSE.md in the project root for license terms and full copyright notice.
71571
71517
  *--------------------------------------------------------------------------------------------*/
71572
- __exportStar(__webpack_require__(/*! ./ECSchemaRpcInterface */ "../../core/ecschema-rpc/common/lib/cjs/ECSchemaRpcInterface.js"), exports);
71573
- __exportStar(__webpack_require__(/*! ./ECSchemaRpcLocater */ "../../core/ecschema-rpc/common/lib/cjs/ECSchemaRpcLocater.js"), exports);
71518
+
71519
+
71574
71520
 
71575
71521
 
71576
71522
  /***/ }),
@@ -82937,6 +82883,7 @@ __webpack_require__.r(__webpack_exports__);
82937
82883
  /* harmony import */ var _Tiles__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Tiles */ "../../core/frontend/lib/esm/Tiles.js");
82938
82884
  /* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ViewState */ "../../core/frontend/lib/esm/ViewState.js");
82939
82885
  /* harmony import */ var _common_internal_Symbols__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./common/internal/Symbols */ "../../core/frontend/lib/esm/common/internal/Symbols.js");
82886
+ /* harmony import */ var _IpcApp__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./IpcApp */ "../../core/frontend/lib/esm/IpcApp.js");
82940
82887
  /*---------------------------------------------------------------------------------------------
82941
82888
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
82942
82889
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -82958,6 +82905,7 @@ __webpack_require__.r(__webpack_exports__);
82958
82905
 
82959
82906
 
82960
82907
 
82908
+
82961
82909
  const loggerCategory = _common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_3__.FrontendLoggerCategory.IModelConnection;
82962
82910
  /** A connection to a [IModelDb]($backend) hosted on the backend.
82963
82911
  * @public
@@ -83547,15 +83495,14 @@ class SnapshotConnection extends IModelConnection {
83547
83495
  */
83548
83496
  get isRemote() { return this._isRemote ? true : false; }
83549
83497
  /** Open an IModelConnection to a read-only snapshot iModel from a file name.
83550
- * @note This method is intended for desktop or mobile applications and should not be used for web applications.
83498
+ * @note This method is intended for desktop or mobile applications and is not available for web applications.
83551
83499
  */
83552
83500
  static async openFile(filePath) {
83553
- const routingContext = _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext.current || _IModelRoutingContext__WEBPACK_IMPORTED_MODULE_6__.IModelRoutingContext["default"];
83554
- _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RpcManager.setIModel({ iModelId: "undefined", key: filePath });
83555
- const openResponse = await _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.SnapshotIModelRpcInterface.getClientForRouting(routingContext.token).openFile(filePath);
83501
+ if (!_IpcApp__WEBPACK_IMPORTED_MODULE_14__.IpcApp.isValid)
83502
+ throw new Error("IPC required to open a snapshot");
83556
83503
  _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logTrace(loggerCategory, "SnapshotConnection.openFile", () => ({ filePath }));
83557
- const connection = new SnapshotConnection(openResponse);
83558
- connection.routingContext = routingContext;
83504
+ const connectionProps = await _IpcApp__WEBPACK_IMPORTED_MODULE_14__.IpcApp.appFunctionIpc.openSnapshot(filePath);
83505
+ const connection = new SnapshotConnection(connectionProps);
83559
83506
  IModelConnection.onOpen.raiseEvent(connection);
83560
83507
  return connection;
83561
83508
  }
@@ -83585,7 +83532,7 @@ class SnapshotConnection extends IModelConnection {
83585
83532
  this.beforeClose();
83586
83533
  try {
83587
83534
  if (!this.isRemote) {
83588
- await _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.SnapshotIModelRpcInterface.getClientForRouting(this.routingContext.token).close(this.getRpcProps());
83535
+ await _IpcApp__WEBPACK_IMPORTED_MODULE_14__.IpcApp.appFunctionIpc.closeIModel(this.key);
83589
83536
  }
83590
83537
  }
83591
83538
  finally {
@@ -87104,6 +87051,8 @@ class RealityDataSourceTilesetUrlImpl {
87104
87051
  constructor(props) {
87105
87052
  /** For use by all Reality Data. For RD stored on PW Context Share, represents the portion from the root of the Azure Blob Container*/
87106
87053
  this._baseUrl = "";
87054
+ /** Need to be passed down to child tile requests when requesting from blob storage, e.g. a Cesium export from the Mesh Export Service*/
87055
+ this._searchParams = "";
87107
87056
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(props.sourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.TilesetUrl || props.sourceKey.provider === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.OrbitGtBlob);
87108
87057
  this.key = props.sourceKey;
87109
87058
  this._tilesetUrl = this.key.id;
@@ -87140,8 +87089,11 @@ class RealityDataSourceTilesetUrlImpl {
87140
87089
  // otherwise the full path to root document is given.
87141
87090
  // The base URL contains the base URL from which tile relative path are constructed.
87142
87091
  // The tile's path root will need to be reinserted for child tiles to return a 200
87092
+ // If the original url includes search paramaters, they are stored in _searchParams to be reinserted into child tile requests.
87143
87093
  setBaseUrl(url) {
87144
87094
  const urlParts = url.split("/");
87095
+ const newUrl = new URL(url);
87096
+ this._searchParams = newUrl.search;
87145
87097
  urlParts.pop();
87146
87098
  if (urlParts.length === 0)
87147
87099
  this._baseUrl = "";
@@ -87172,9 +87124,16 @@ class RealityDataSourceTilesetUrlImpl {
87172
87124
  }
87173
87125
  return true;
87174
87126
  }
87175
- /** Returns the tile URL. If the tile path is a full URL, it is returned as is. Otherwise, the base URL is prepended to the tile path. */
87127
+ /** Returns the tile URL.
87128
+ * If the tile path is a relative URL, the base URL is prepended to it.
87129
+ * For both absolute and relative tile path URLs, the search parameters are checked. If the search params are empty, the base URL's search params are appended to the tile path.
87130
+ */
87176
87131
  getTileUrl(tilePath) {
87177
- return this.isValidURL(tilePath) ? tilePath : this._baseUrl + tilePath;
87132
+ if (this.isValidURL(tilePath)) {
87133
+ const url = new URL(tilePath);
87134
+ return url.search === "" ? `${tilePath}${this._searchParams}` : tilePath;
87135
+ }
87136
+ return tilePath.includes("?") ? `${this._baseUrl}${tilePath}` : `${this._baseUrl}${tilePath}${this._searchParams}`;
87178
87137
  }
87179
87138
  /**
87180
87139
  * Returns the tile content. The path to the tile is relative to the base url of present reality data whatever the type.
@@ -142516,6 +142475,12 @@ class GltfReader {
142516
142475
  featureTable.insertWithIndex(this._instanceFeatures[instanceFeatureId], instanceFeatureId);
142517
142476
  }
142518
142477
  }
142478
+ if (this._meshFeatures.length > 0 && this._idMap) {
142479
+ featureTable = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.FeatureTable(this._meshFeatures.length, featureTableModelId);
142480
+ for (let meshFeatureId = 0; meshFeatureId < this._meshFeatures.length; meshFeatureId++) {
142481
+ featureTable.insertWithIndex(this._meshFeatures[meshFeatureId], meshFeatureId);
142482
+ }
142483
+ }
142519
142484
  if (0 === templateNodes.length)
142520
142485
  return { readStatus: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileReadStatus.InvalidTileData, isLeaf };
142521
142486
  // Compute range in tileset/world space.
@@ -142873,7 +142838,9 @@ class GltfReader {
142873
142838
  this._dracoMeshes = new Map();
142874
142839
  this._containsPointCloud = false;
142875
142840
  this._instanceFeatures = [];
142841
+ this._meshFeatures = [];
142876
142842
  this._instanceElementIdToFeatureId = new Map();
142843
+ this._meshElementIdToFeatureIndex = new Map();
142877
142844
  /** The glTF spec says that if GltfSampler.wrapS/T are omitted, they default to Repeat.
142878
142845
  * However, the reality data service serves tiles that lack any wrapS/T property, and we want those clamped to edge, not repeated.
142879
142846
  * (We also don't want to produce mip-maps for them, which is determined indirectly from the wrap mode).
@@ -143404,8 +143371,69 @@ class GltfReader {
143404
143371
  }
143405
143372
  readBatchTable(_mesh, _json) {
143406
143373
  }
143407
- readPrimitiveFeatures(_primitive) {
143408
- return undefined;
143374
+ readPrimitiveFeatures(primitive) {
143375
+ const ext = primitive.extensions?.EXT_mesh_features;
143376
+ if (!ext || !primitive.attributes || !this._structuralMetadata || !this._idMap) {
143377
+ return undefined;
143378
+ }
143379
+ let vertexCount = 0;
143380
+ const featureIdBuffers = new Map();
143381
+ for (const featureIdDesc of ext.featureIds) {
143382
+ if (featureIdDesc.attribute === undefined) {
143383
+ continue;
143384
+ }
143385
+ const bufferView = this.getBufferView(primitive.attributes, `_FEATURE_ID_${featureIdDesc.attribute}`);
143386
+ const bufferData = bufferView?.toBufferData(bufferView.type);
143387
+ const buffer = bufferData?.buffer;
143388
+ if (!bufferView || !buffer) {
143389
+ return undefined;
143390
+ }
143391
+ vertexCount = bufferData.count ?? 0;
143392
+ featureIdBuffers.set(featureIdDesc.attribute, { buffer, stride: bufferView.stride });
143393
+ }
143394
+ const itwinFeatureIndices = [];
143395
+ const vertexPropsMap = new Map();
143396
+ for (let vertexId = 0; vertexId < vertexCount; vertexId++) {
143397
+ let vertexUniqueId = "";
143398
+ for (const featureIdDesc of ext.featureIds) {
143399
+ if (featureIdDesc.attribute === undefined) {
143400
+ continue;
143401
+ }
143402
+ const { buffer, stride } = featureIdBuffers.get(featureIdDesc.attribute);
143403
+ const featureId = buffer[vertexId * stride];
143404
+ const propertyTableId = featureIdDesc.propertyTable ?? 0;
143405
+ vertexUniqueId = `${vertexUniqueId}-${featureId}-${propertyTableId}`;
143406
+ }
143407
+ let vertexElementId;
143408
+ if (!vertexPropsMap.has(vertexUniqueId)) {
143409
+ const vertexProps = {};
143410
+ for (const featureIdDesc of ext.featureIds) {
143411
+ if (featureIdDesc.attribute === undefined) {
143412
+ continue;
143413
+ }
143414
+ const { buffer, stride } = featureIdBuffers.get(featureIdDesc.attribute);
143415
+ const featureId = buffer[vertexId * stride];
143416
+ const table = this._structuralMetadata.tables[featureIdDesc.propertyTable ?? 0];
143417
+ vertexProps[table.name] = {};
143418
+ for (const entries of table.entries) {
143419
+ if (entries.values[featureId] !== undefined) {
143420
+ vertexProps[table.name][entries.name] = entries.values[featureId];
143421
+ }
143422
+ }
143423
+ }
143424
+ vertexElementId = this._idMap.getBatchId(vertexProps);
143425
+ vertexPropsMap.set(vertexUniqueId, vertexElementId);
143426
+ // If the element id is already assigned to a previous vertex,
143427
+ // reuse the previous feature id to avoid collision in the feature table
143428
+ if (!this._meshElementIdToFeatureIndex.has(vertexElementId)) {
143429
+ this._meshElementIdToFeatureIndex.set(vertexElementId, this._meshFeatures.length);
143430
+ this._meshFeatures.push(new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.Feature(vertexElementId));
143431
+ }
143432
+ }
143433
+ vertexElementId = vertexPropsMap.get(vertexUniqueId) ?? "";
143434
+ itwinFeatureIndices.push(this._meshElementIdToFeatureIndex.get(vertexElementId) ?? 0);
143435
+ }
143436
+ return itwinFeatureIndices;
143409
143437
  }
143410
143438
  readMeshIndices(mesh, json) {
143411
143439
  if (undefined !== json.indices) {
@@ -143842,6 +143870,14 @@ class GltfGraphicsReader extends GltfReader {
143842
143870
  renderMode: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.RenderMode.SmoothShade,
143843
143871
  };
143844
143872
  }
143873
+ get meshElementIdToFeatureIndex() {
143874
+ return this._meshElementIdToFeatureIndex;
143875
+ }
143876
+ readMeshPrimitive(primitive, featureTable, pseudoRtcBias) {
143877
+ const meshes = super.readMeshPrimitive(primitive, featureTable, pseudoRtcBias);
143878
+ this.meshes = meshes instanceof GltfMeshData ? meshes : undefined;
143879
+ return meshes;
143880
+ }
143845
143881
  getGltfStructuralMetadataBuffer(id, type) {
143846
143882
  const bufferView = this._bufferViews[id];
143847
143883
  if (!bufferView || undefined === bufferView.buffer)
@@ -188433,6 +188469,7 @@ __webpack_require__.r(__webpack_exports__);
188433
188469
  /* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
188434
188470
  /* harmony import */ var _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../geometry3d/AngleSweep */ "../../core/geometry/lib/esm/geometry3d/AngleSweep.js");
188435
188471
  /* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
188472
+ /* harmony import */ var _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../geometry3d/Plane3dByOriginAndUnitNormal */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js");
188436
188473
  /* harmony import */ var _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../geometry3d/Plane3dByOriginAndVectors */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndVectors.js");
188437
188474
  /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
188438
188475
  /* harmony import */ var _geometry3d_Range__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../geometry3d/Range */ "../../core/geometry/lib/esm/geometry3d/Range.js");
@@ -188442,13 +188479,13 @@ __webpack_require__.r(__webpack_exports__);
188442
188479
  /* harmony import */ var _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./CurveExtendMode */ "../../core/geometry/lib/esm/curve/CurveExtendMode.js");
188443
188480
  /* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
188444
188481
  /* harmony import */ var _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CurvePrimitive */ "../../core/geometry/lib/esm/curve/CurvePrimitive.js");
188445
- /* harmony import */ var _internalContexts_CurveOffsetXYHandler__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./internalContexts/CurveOffsetXYHandler */ "../../core/geometry/lib/esm/curve/internalContexts/CurveOffsetXYHandler.js");
188446
- /* harmony import */ var _internalContexts_EllipticalArcApproximationContext__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./internalContexts/EllipticalArcApproximationContext */ "../../core/geometry/lib/esm/curve/internalContexts/EllipticalArcApproximationContext.js");
188447
- /* harmony import */ var _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./internalContexts/PlaneAltitudeRangeContext */ "../../core/geometry/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js");
188482
+ /* harmony import */ var _internalContexts_CurveOffsetXYHandler__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./internalContexts/CurveOffsetXYHandler */ "../../core/geometry/lib/esm/curve/internalContexts/CurveOffsetXYHandler.js");
188483
+ /* harmony import */ var _internalContexts_EllipticalArcApproximationContext__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./internalContexts/EllipticalArcApproximationContext */ "../../core/geometry/lib/esm/curve/internalContexts/EllipticalArcApproximationContext.js");
188484
+ /* harmony import */ var _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./internalContexts/PlaneAltitudeRangeContext */ "../../core/geometry/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js");
188448
188485
  /* harmony import */ var _LineSegment3d__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./LineSegment3d */ "../../core/geometry/lib/esm/curve/LineSegment3d.js");
188449
188486
  /* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
188450
- /* harmony import */ var _OffsetOptions__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./OffsetOptions */ "../../core/geometry/lib/esm/curve/OffsetOptions.js");
188451
- /* harmony import */ var _Path__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./Path */ "../../core/geometry/lib/esm/curve/Path.js");
188487
+ /* harmony import */ var _OffsetOptions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./OffsetOptions */ "../../core/geometry/lib/esm/curve/OffsetOptions.js");
188488
+ /* harmony import */ var _Path__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Path */ "../../core/geometry/lib/esm/curve/Path.js");
188452
188489
  /* harmony import */ var _StrokeOptions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./StrokeOptions */ "../../core/geometry/lib/esm/curve/StrokeOptions.js");
188453
188490
  /*---------------------------------------------------------------------------------------------
188454
188491
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -188474,6 +188511,7 @@ __webpack_require__.r(__webpack_exports__);
188474
188511
 
188475
188512
 
188476
188513
 
188514
+
188477
188515
 
188478
188516
 
188479
188517
  /**
@@ -189212,7 +189250,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189212
189250
  const axy = this._matrix.columnXDotColumnY();
189213
189251
  return _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_8__.Angle.isPerpendicularDotSet(axx, ayy, axy) && _Geometry__WEBPACK_IMPORTED_MODULE_5__.Geometry.isSameCoordinateSquared(axx, ayy);
189214
189252
  }
189215
- /** Return radius if the vector0 and vector90 are of equal length and perpendicular. */
189253
+ /** Return radius if the vector0 and vector90 are of equal length and perpendicular. Ignores z. */
189216
189254
  circularRadiusXY() {
189217
189255
  const ux = this._matrix.at(0, 0);
189218
189256
  const uy = this._matrix.at(1, 0);
@@ -189354,7 +189392,12 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189354
189392
  setVector0Vector90(vector0, vector90) {
189355
189393
  this._matrix.setColumns(vector0, vector90, vector0.unitCrossProductWithDefault(vector90, 0, 0, 0));
189356
189394
  }
189357
- /** Return the arc definition with rigid matrix form with axis radii. */
189395
+ /**
189396
+ * Return the symmetric definition of the arc, with rigid axes and radii.
189397
+ * * The caller can send the returned data into [[createScaledXYColumns]] to construct the major-minor axis
189398
+ * version of the instance arc. This formulation of the arc has the same shape, but has perpendicular axes,
189399
+ * from which the arc's symmetry is readily apparent.
189400
+ */
189358
189401
  toScaledMatrix3d() {
189359
189402
  const angleData = _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_8__.Angle.dotProductsToHalfAngleTrigValues(this._matrix.columnXMagnitudeSquared(), this._matrix.columnYMagnitudeSquared(), this._matrix.columnXDotColumnY(), true);
189360
189403
  const vector0A = this._matrix.multiplyXY(angleData.c, angleData.s);
@@ -189494,9 +189537,9 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189494
189537
  }
189495
189538
  /**
189496
189539
  * Return an arc whose basis vectors are rotated by given angle within the current basis space.
189497
- * * the result arc will have its zero-degree point (new `vector0`) at the current.
189498
- * `vector0 * cos(theta) + vector90 * sin(theta)`.
189499
- * * the result sweep is adjusted so all fractional coordinates (e.g. start and end) evaluate to the same xyz.
189540
+ * * The returned arc will have `vector0 = this.vector0 * cos(theta) + this.vector90 * sin(theta)`.
189541
+ * * The returned arc has the same shape as the instance.
189542
+ * * In other words, the arc's sweep is adjusted so that all fractional parameters evaluate to the same points.
189500
189543
  * * Specifically, theta is subtracted from the original start and end angles.
189501
189544
  * @param theta the angle (in the input arc space) which is to become the 0-degree point in the new arc.
189502
189545
  */
@@ -189509,6 +189552,39 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189509
189552
  const arcB = Arc3d.create(this._center.clone(), vector0, vector90, newSweep);
189510
189553
  return arcB;
189511
189554
  }
189555
+ /**
189556
+ * Return a cloned arc with basis rotated to align with the global axes. The arc's shape is unchanged.
189557
+ * * This method is most useful when the instance is an xy-circular arc, for then the aligned arc's stored sweep
189558
+ * angles can be understood as being measured from the global positive x-axis to the arc's start/end. This is *not*
189559
+ * the case for xy-elliptical arcs: the parameter angle difference between two points on an ellipse is in general
189560
+ * not the same as the angle measured between their radials.
189561
+ * * For an xy instance, the output arc will have:
189562
+ * * vector0 is in the same direction as the positive x-axis
189563
+ * * perpendicularVector is in the same direction as the positive z-axis
189564
+ * * For a general instance, the output arc will have:
189565
+ * * vector0 is in the same direction as the projection of the positive x-axis vector onto the arc plane
189566
+ * * perpendicularVector lies in the halfspace z >= 0
189567
+ * @returns cloned arc, or undefined (if the instance normal is parallel to the x-axis, or its matrix is singular)
189568
+ */
189569
+ cloneAxisAligned() {
189570
+ const plane = _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_17__.Plane3dByOriginAndUnitNormal.create(this.center, this.perpendicularVector.crossProduct(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.unitX()));
189571
+ if (!plane)
189572
+ return undefined;
189573
+ const axisPts = [];
189574
+ if (2 !== this.appendPlaneIntersectionPoints(plane, axisPts))
189575
+ return undefined;
189576
+ const iAxisPt = plane.getNormalRef().dotProduct(this.perpendicularVector.crossProductStartEnd(this.center, axisPts[0].point)) > 0.0 ? 0 : 1;
189577
+ const toUnitX = this.sweep.fractionToAngle(axisPts[iAxisPt].fraction);
189578
+ const arc1 = this.cloneInRotatedBasis(toUnitX); // rotate in arc's plane
189579
+ if (this.perpendicularVector.dotProduct(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.unitZ()) < -_Geometry__WEBPACK_IMPORTED_MODULE_5__.Geometry.smallAngleRadians) {
189580
+ if (this.matrixRef.isSingular())
189581
+ return undefined;
189582
+ const flip = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createRowValues(1, 0, 0, 0, -1, 0, 0, 0, -1); // rotate 180 degrees around arc's local x-axis
189583
+ arc1.matrixRef.multiplyMatrixMatrix(flip, arc1.matrixRef);
189584
+ arc1.sweep.setStartEndDegrees(-arc1.sweep.startDegrees, -arc1.sweep.endDegrees); // rotation alone is insufficient to flip
189585
+ }
189586
+ return arc1;
189587
+ }
189512
189588
  /**
189513
189589
  * Find intervals of this CurvePrimitive that are interior to a clipper.
189514
189590
  * @param clipper clip structure (e.g.clip planes).
@@ -189608,7 +189684,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189608
189684
  * @param offsetDistanceOrOptions offset distance (positive to left of the instance curve), or options object.
189609
189685
  */
189610
189686
  constructOffsetXY(offsetDistanceOrOptions) {
189611
- const options = _OffsetOptions__WEBPACK_IMPORTED_MODULE_17__.OffsetOptions.create(offsetDistanceOrOptions);
189687
+ const options = _OffsetOptions__WEBPACK_IMPORTED_MODULE_18__.OffsetOptions.create(offsetDistanceOrOptions);
189612
189688
  if (this.isCircular || options.preserveEllipticalArcs) {
189613
189689
  const arcXY = this.cloneAtZ();
189614
189690
  const sign = arcXY.sweep.sweepRadians * arcXY.matrixRef.coffs[8] >= 0.0 ? 1.0 : -1.0;
@@ -189630,7 +189706,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189630
189706
  }
189631
189707
  }
189632
189708
  // default impl
189633
- const handler = new _internalContexts_CurveOffsetXYHandler__WEBPACK_IMPORTED_MODULE_18__.CurveOffsetXYHandler(this, options.leftOffsetDistance);
189709
+ const handler = new _internalContexts_CurveOffsetXYHandler__WEBPACK_IMPORTED_MODULE_19__.CurveOffsetXYHandler(this, options.leftOffsetDistance);
189634
189710
  this.emitStrokableParts(handler, options.strokeOptions);
189635
189711
  return handler.claimResult();
189636
189712
  }
@@ -189641,7 +189717,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189641
189717
  * @returns range of fractional projection parameters onto the ray, where 0.0 is start of the ray and 1.0 is the end of the ray.
189642
189718
  */
189643
189719
  projectedParameterRange(ray, lowHigh) {
189644
- return _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_19__.PlaneAltitudeRangeContext.findExtremeFractionsAlongDirection(this, ray, lowHigh);
189720
+ return _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_20__.PlaneAltitudeRangeContext.findExtremeFractionsAlongDirection(this, ray, lowHigh);
189645
189721
  }
189646
189722
  /**
189647
189723
  * Construct a circular arc chain approximation to the instance elliptical arc.
@@ -189651,10 +189727,10 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189651
189727
  constructCircularArcChainApproximation(options) {
189652
189728
  if (!options)
189653
189729
  options = EllipticalArcApproximationOptions.create();
189654
- const context = _internalContexts_EllipticalArcApproximationContext__WEBPACK_IMPORTED_MODULE_20__.EllipticalArcApproximationContext.create(this);
189730
+ const context = _internalContexts_EllipticalArcApproximationContext__WEBPACK_IMPORTED_MODULE_21__.EllipticalArcApproximationContext.create(this);
189655
189731
  const result = context.constructCircularArcChainApproximation(options);
189656
189732
  if (!result && this.isCircular)
189657
- return (this.sweep.isFullCircle && options.forcePath) ? _Path__WEBPACK_IMPORTED_MODULE_21__.Path.create(this) : this;
189733
+ return (this.sweep.isFullCircle && options.forcePath) ? _Path__WEBPACK_IMPORTED_MODULE_22__.Path.create(this) : this;
189658
189734
  return result;
189659
189735
  }
189660
189736
  }
@@ -190820,6 +190896,11 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geomet
190820
190896
  }
190821
190897
  return detailA;
190822
190898
  }
190899
+ /** Reverse the collection's data so that each child curve's fractional stroking moves in the opposite direction. */
190900
+ reverseInPlace() {
190901
+ for (const curve of this.children)
190902
+ curve.reverseInPlace();
190903
+ }
190823
190904
  /**
190824
190905
  * Return the max gap between adjacent primitives in Path and Loop collections.
190825
190906
  * * In a Path, gaps are computed between consecutive primitives.
@@ -191059,14 +191140,18 @@ class CurveChain extends CurveCollection {
191059
191140
  curve.extendRange(range, transform);
191060
191141
  }
191061
191142
  /**
191062
- * Reverse each child curve (in place)
191063
- * Reverse the order of the children in the CurveChain array.
191143
+ * Reverse each child curve (in place).
191144
+ * Reverse the order of the children array.
191064
191145
  */
191065
191146
  reverseChildrenInPlace() {
191066
191147
  for (const curve of this._curves)
191067
191148
  curve.reverseInPlace();
191068
191149
  this._curves.reverse();
191069
191150
  }
191151
+ /** Same as [[reverseChildrenInPlace]]. */
191152
+ reverseInPlace() {
191153
+ this.reverseChildrenInPlace();
191154
+ }
191070
191155
  /**
191071
191156
  * Return the index where target is found in the array of children.
191072
191157
  * @param alsoSearchProxies whether to also check proxy curves of the children
@@ -194331,34 +194416,34 @@ class LineString3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePri
194331
194416
  }
194332
194417
  /**
194333
194418
  * Return array of fraction parameters.
194334
- * * These Are only present during certain constructions such as faceting.
194419
+ * * These are only present during certain constructions such as faceting.
194335
194420
  * * When present, these fractions are fractions of some other curve being stroked, and are NOT related to the
194336
194421
  * linestring fraction parameters.
194337
194422
  */
194338
194423
  get fractions() {
194339
194424
  return this._fractions;
194340
194425
  }
194341
- /** Return the (optional) array of derivatives. These Are only present during certain constructions such as faceting. */
194426
+ /** Return the (optional) array of derivatives. These are only present during certain constructions such as faceting. */
194342
194427
  get packedDerivatives() {
194343
194428
  return this._derivatives;
194344
194429
  }
194345
- /** Return the (optional) array of uv params. These Are only present during certain constructions such as faceting. */
194430
+ /** Return the (optional) array of uv parameters. These are only present during certain constructions such as faceting. */
194346
194431
  get packedUVParams() {
194347
194432
  return this._uvParams;
194348
194433
  }
194349
- /** Return the (optional) array of surface normals. These Are only present during certain constructions such as faceting. */
194434
+ /** Return the (optional) array of surface normals. These are only present during certain constructions such as faceting. */
194350
194435
  get packedSurfaceNormals() {
194351
194436
  return this._surfaceNormals;
194352
194437
  }
194353
- /** Return the (optional) array of normal indices. These Are only present during certain constructions such as faceting. */
194438
+ /** Return the (optional) array of normal indices. These are only present during certain constructions such as faceting. */
194354
194439
  get normalIndices() {
194355
194440
  return this._normalIndices;
194356
194441
  }
194357
- /** Return the (optional) array of param indices. These Are only present during certain constructions such as faceting. */
194442
+ /** Return the (optional) array of uv parameter indices. These are only present during certain constructions such as faceting. */
194358
194443
  get paramIndices() {
194359
194444
  return this._uvIndices;
194360
194445
  }
194361
- /** Return the (optional) array of point indices. These Are only present during certain constructions such as faceting. */
194446
+ /** Return the (optional) array of point indices. These are only present during certain constructions such as faceting. */
194362
194447
  get pointIndices() {
194363
194448
  return this._pointIndices;
194364
194449
  }
@@ -194940,11 +195025,32 @@ class LineString3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePri
194940
195025
  reverseInPlace() {
194941
195026
  if (this._points.length >= 2) {
194942
195027
  this._points.reverseInPlace();
195028
+ if (this._fractions) {
195029
+ this._fractions.reverseInPlace();
195030
+ for (let i = 0; i < this._fractions.length; ++i)
195031
+ this._fractions.reassign(i, 1.0 - this._fractions.atUncheckedIndex(i));
195032
+ }
194943
195033
  if (this._uvParams)
194944
195034
  this._uvParams.reverseInPlace();
195035
+ if (this._derivatives) {
195036
+ this._derivatives.reverseInPlace();
195037
+ this._derivatives.scaleInPlace(-1.0);
195038
+ }
195039
+ if (this._surfaceNormals)
195040
+ this._surfaceNormals.reverseInPlace();
195041
+ if (this._pointIndices)
195042
+ this._pointIndices.reverseInPlace();
195043
+ if (this._uvIndices)
195044
+ this._uvIndices.reverseInPlace();
195045
+ if (this._normalIndices)
195046
+ this._normalIndices.reverseInPlace();
194945
195047
  }
194946
195048
  }
194947
- /** Apply `transform` to each point of this linestring. */
195049
+ /**
195050
+ * Apply `transform` to each point of this linestring.
195051
+ * * Note that this method always returns true. If transforming the surface normals fails (due to singular matrix or zero
195052
+ * normal), the original normal(s) are left unchanged.
195053
+ */
194948
195054
  tryTransformInPlace(transform) {
194949
195055
  this._points.multiplyTransformInPlace(transform);
194950
195056
  if (this._derivatives)
@@ -195770,7 +195876,6 @@ class Loop extends _CurveCollection__WEBPACK_IMPORTED_MODULE_0__.CurveChain {
195770
195876
  isSameGeometryClass(other) {
195771
195877
  return other instanceof Loop;
195772
195878
  }
195773
- /** Test if `other` is an instance of `Loop` */
195774
195879
  constructor() {
195775
195880
  super();
195776
195881
  /** String name for schema properties */
@@ -195779,8 +195884,10 @@ class Loop extends _CurveCollection__WEBPACK_IMPORTED_MODULE_0__.CurveChain {
195779
195884
  this.isInner = false;
195780
195885
  }
195781
195886
  /**
195782
- * Create a loop from variable length list of CurvePrimitives
195783
- * @param curves array of individual curve primitives
195887
+ * Create a loop from a variable length list of [[CurvePrimitive]]s.
195888
+ * * A significant gap between the end of one curve and the start of the next, or between chain start and end,
195889
+ * is not bridged and may cause unexpected behavior.
195890
+ * @param curves array of individual curve primitives, assumed to form a closed planar loop.
195784
195891
  */
195785
195892
  static create(...curves) {
195786
195893
  const result = new Loop();
@@ -195793,13 +195900,18 @@ class Loop extends _CurveCollection__WEBPACK_IMPORTED_MODULE_0__.CurveChain {
195793
195900
  return result;
195794
195901
  }
195795
195902
  /**
195796
- * Create a loop from an array of curve primitives
195797
- * @param curves array of individual curve primitives
195903
+ * Create a loop from an array of [[CurvePrimitive]]s.
195904
+ * * A significant gap between the end of one curve and the start of the next, or between chain start and end,
195905
+ * is not bridged and may cause unexpected behavior.
195906
+ * @param curves array of individual curve primitives, assumed to form a closed planar loop.
195798
195907
  */
195799
195908
  static createArray(curves) {
195800
195909
  return this.create(...curves);
195801
195910
  }
195802
- /** Create a loop from an array of points */
195911
+ /**
195912
+ * Create a loop from an array of coplanar points.
195913
+ * @param points vertices of polygon, closure point optional.
195914
+ */
195803
195915
  static createPolygon(points) {
195804
195916
  const linestring = _LineString3d__WEBPACK_IMPORTED_MODULE_2__.LineString3d.create(points);
195805
195917
  linestring.addClosurePoint();
@@ -196964,14 +197076,16 @@ class CylindricalRangeQuery extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
196964
197076
  return accumulator._perpVector.clone();
196965
197077
  }
196966
197078
  /**
196967
- * Recurse through geometry.children to find linestrings.
196968
- * In each linestring, compute the surface normal annotation from
197079
+ * Recurse through `geometry.children` to find linestrings.
197080
+ * For each linestring, compute and store the normal of the rotational surface resulting from sweeping the
197081
+ * geometry around `axis` through a positive angle, using:
196969
197082
  * * the curve tangent stored in the linestring
196970
197083
  * * the axis of rotation
196971
- * * a default V vector to be used when the linestring point is close to the axis.
196972
- * @param geometry
196973
- * @param axis
196974
- * @param defaultVectorV
197084
+ * * a default V vector to be used when the linestring point is close to the axis
197085
+ * @param geometry profile curve (e.g., linestring, parity region). The orientation of the curve should be such that
197086
+ * the computed normal lies in the same half-space as the rotational sweep direction.
197087
+ * @param axis rotational axis
197088
+ * @param defaultVectorFromAxis default vector perpendicular to `axis` (e.g., sweepVector)
196975
197089
  */
196976
197090
  static buildRotationalNormalsInLineStrings(geometry, axis, defaultVectorFromAxis) {
196977
197091
  if (geometry instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_3__.LineString3d) {
@@ -196980,18 +197094,20 @@ class CylindricalRangeQuery extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
196980
197094
  const normals = geometry.ensureEmptySurfaceNormals();
196981
197095
  if (derivatives && normals) {
196982
197096
  const vectorU = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create();
196983
- const vectorV = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(); // v direction (forwward along sweep) for surface of rotation.
197097
+ const vectorV = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create();
196984
197098
  const xyz = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create();
196985
197099
  const n = points.length;
196986
197100
  for (let i = 0; i < n; i++) {
196987
197101
  points.getPoint3dAtUncheckedPointIndex(i, xyz);
196988
197102
  axis.perpendicularPartOfVectorToTarget(xyz, vectorU);
197103
+ // compute the positive sweep direction. ASSUME: the rotational sweep angle is positive!
196989
197104
  if (vectorU.isAlmostZero)
196990
197105
  axis.direction.crossProduct(defaultVectorFromAxis, vectorV);
196991
197106
  else
196992
197107
  axis.direction.crossProduct(vectorU, vectorV);
196993
- geometry.packedDerivatives.getVector3dAtCheckedVectorIndex(i, vectorU); // reuse vector U as curve derivative
196994
- vectorU.crossProduct(vectorV, vectorV); // reuse vector V as normal!
197108
+ // ASSUME: orientation-based profile normal is in the same half-space as vectorV
197109
+ geometry.packedDerivatives.getVector3dAtCheckedVectorIndex(i, vectorU); // reuse vectorU
197110
+ vectorU.crossProduct(vectorV, vectorV); // reuse vectorV
196995
197111
  vectorV.normalizeInPlace();
196996
197112
  normals.push(vectorV);
196997
197113
  }
@@ -204005,16 +204121,19 @@ class ArcChainErrorProcessor extends QuadrantFractionsProcessor {
204005
204121
  }
204006
204122
  }
204007
204123
  /**
204008
- * Processor for refining a single Q1 ordered interval [f0,f1] by perturbing an interior fraction f.
204009
- * * This processor expects to repeatedly process a QuadrantFractions `q` with `q.quadrant` = 1 and fractions array
204010
- * [fPrev, f0, f, f1], where fPrev is from the previously processed (possibly refined) adjacent interval; however, if
204011
- * `q.interpolateStartTangent === true`, then no fPrev is necessary and [f0, f, f1] is expected.
204012
- * * This is enough info to compute the two circular arcs spanning [f0,f] and [f,f1] and compare their approximation
204013
- * errors.
204014
- * * The basic idea is to perturb f so that the difference in the two arcs' errors is minimized.
204015
- * * This processor keeps track of a bracket containing f so that when the caller repeatedly processes `q` via
204016
- * [[EllipticalArcApproximationContext.processQuadrantFractions]], a bisection algorithm plays out, informed by the
204017
- * heuristic that moving f toward one end of its bracket decreases the error of the approximating arc on that side of f.
204124
+ * Processor for computing an optimal refinement of a single Q1 ordered interval [f0,f1] by perturbing an interior
204125
+ * seed fraction f.
204126
+ * * Typically the caller (cf. [[AdaptiveSubdivisionQ1ErrorProcessor.announceArc]] processes a
204127
+ * QuadrantFractions `q` with `q.quadrant` = 1 until convergence. The `q.fractions` array is expected to have
204128
+ * one of two forms:
204129
+ * * [fPrev, f0, f, f1], where fPrev is from the adjacent interval (possibly just refined), or
204130
+ * * [f0, f, f1], if `q.interpolateStartTangent === true`.
204131
+ * * This processor implements a bisection algorithm that iteratively shrinks a sub-interval that brackets f,
204132
+ * starting with [f0,f1]:
204133
+ * * During processing, `announceArc` will be called twice to compute the approximation errors of the circular
204134
+ * arcs on either side of f in the current bracket.
204135
+ * * In `announceQuadrantEnd` if these two errors are almost equal, we are done refining [f0,f1]. Otherwise,
204136
+ * we move f halfway to the endpoint of the bracket that decreases the error delta, and shrink our bracket.
204018
204137
  * @internal
204019
204138
  */
204020
204139
  class AdaptiveSubdivisionQ1IntervalErrorProcessor extends QuadrantFractionsProcessor {
@@ -204086,14 +204205,17 @@ class AdaptiveSubdivisionQ1IntervalErrorProcessor extends QuadrantFractionsProce
204086
204205
  /**
204087
204206
  * Processor for computing samples in Q1 for a subdivision-based arc chain approximation.
204088
204207
  * * The basic idea is to build a refinement of `q.fractions` for a QuadrantFractions q with q.quadrant = 1.
204089
- * * Start off the refinement with a copy of `q.fractions`.
204090
- * * When an announced arc exceeds a given maximum approximation error, compute a fraction f in the span
204091
- * such that the error of arcs on either side of f would be almost equal, then add f to the refinement.
204092
- * * If the announced arc does not exceed the maxError, its associated fraction span remains unchanged---no
204093
- * additional samples are needed to decrease approximation error.
204094
- * * After `q` processing completes, `q.fractions` is updated in place with the computed refinement.
204095
- * * The caller typically re-processes `q` until `isRefined` returns false, at which point construction of an
204096
- * approximation that is guaranteed not to exceed the desired error can commence.
204208
+ * * In `announceQuadrantBegin` we start off the refinement with a copy of `q.fractions`.
204209
+ * * In `announceArc` we are called to process the interval [f0,f1] in `q.fractions`. First we test if the
204210
+ * announced arc's approximation error over [f0,f1] exceeds maxError.
204211
+ * * If so, we employ [[AdaptiveSubdivisionQ1IntervalErrorProcessor]] to compute an interior fraction f
204212
+ * that best refines the interval, which becomes [f0,f,f1].
204213
+ * * Otherwise, the fraction span [f0,f1] is unchanged---no additional samples are needed to decrease the
204214
+ * approximation error.
204215
+ * * In `announceQuadrantEnd`, `q.fractions` is updated in place with the computed refinement.
204216
+ * * The caller (e.g., [[AdaptiveSubdivisionSampler.computeRadiansStrictlyInsideQuadrant1]]) typically
204217
+ * re-processes `q` until `isRefined` returns false, at which point construction of an approximation that is
204218
+ * guaranteed not to exceed the desired error can commence.
204097
204219
  * @internal
204098
204220
  */
204099
204221
  class AdaptiveSubdivisionQ1ErrorProcessor extends QuadrantFractionsProcessor {
@@ -210245,16 +210367,22 @@ class BarycentricTriangle {
210245
210367
  }
210246
210368
  /**
210247
210369
  * Compute the intersection of a line (parameterized as a ray) with the plane of this triangle.
210248
- * * This method is slower than `Ray3d.intersectionWithTriangle`.
210370
+ * * Intersection data is returned for the line-plane intersection.
210371
+ * * No intersection is returned if the line is parallel to the plane.
210372
+ * * As for the *ray*, it intersects this triangle if and only if the returned detail `d` has
210373
+ * `d.isValid === true` and `d.a >= 0` and `d.isInsideOrOn === true`.
210374
+ * * This method is slower than `Ray3d.intersectionWithTriangle` but returns more information about the intersection.
210249
210375
  * @param ray infinite line to intersect, as a ray
210250
210376
  * @param result optional pre-allocated object to fill and return
210251
- * @returns details d of the line-plane intersection point `d.world`:
210252
- * * `d.a` is the intersection parameter along the ray.
210253
- * * The line intersects the plane of the triangle if and only if `d.isValid` returns true.
210254
- * * The ray intersects the plane of the triangle if and only if `d.isValid` returns true and `d.a` >= 0.
210255
- * * The ray intersects the triangle if and only if `d.isValid` returns true, `d.a` >= 0, and `d.isInsideOrOn`
210256
- * returns true.
210257
- * * `d.classify` can be used to determine where the intersection lies with respect to the triangle.
210377
+ * @returns details `d` of the intersection point `p` of the line and the plane of this triangle:
210378
+ * * `d.isValid`: false if and only if `ray.direction` is parallel to the plane, or the ray or triangle is degenerate.
210379
+ * * `d.world`: coordinates of `p`.
210380
+ * * `d.local`: barycentric coordinates of `p`.
210381
+ * * `d.a`: the intersection parameter of `p` along the ray. Negative means `p` is behind the ray origin.
210382
+ * * `d.classify`: where `p` lies with respect to the triangle.
210383
+ * * `d.isInsideOrOn`: whether `p` is inside or on the triangle.
210384
+ * * `d.closestEdgeIndex`: the index of the triangle edge `e` onto which `p` projects.
210385
+ * * `d.closestEdgeParam`: the edge parameter at which `p` projects onto `e`.
210258
210386
  * * Visualization can be found at https://www.itwinjs.org/sandbox/SaeedTorabi/RayTriangleIntersection
210259
210387
  * @see [[pointToFraction]]
210260
210388
  */
@@ -210271,6 +210399,9 @@ class BarycentricTriangle {
210271
210399
  const d = ray.direction;
210272
210400
  const u = BarycentricTriangle._workVector0 = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createStartEnd(this.points[0], this.points[1], BarycentricTriangle._workVector0);
210273
210401
  const v = BarycentricTriangle._workVector1 = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createStartEnd(this.points[0], this.points[2], BarycentricTriangle._workVector1);
210402
+ const scaledVolume = d.tripleProduct(u, v);
210403
+ if (scaledVolume * scaledVolume <= u.dotProduct(u) * v.dotProduct(v) * d.dotProduct(d) * _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.smallAngleRadiansSquared)
210404
+ return result; // parallel (no solution)
210274
210405
  const M = BarycentricTriangle._workMatrix = _Matrix3d__WEBPACK_IMPORTED_MODULE_4__.Matrix3d.createColumns(u, v, d, BarycentricTriangle._workMatrix);
210275
210406
  const c = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createStartEnd(this.points[0], r0, BarycentricTriangle._workVector0); // reuse workVector0
210276
210407
  const solution = BarycentricTriangle._workVector1; // reuse workVector1
@@ -213312,6 +213443,10 @@ class GrowableFloat64Array {
213312
213443
  }
213313
213444
  this._inUse = numAccepted;
213314
213445
  }
213446
+ /** reverse the order of values. */
213447
+ reverseInPlace() {
213448
+ this._data.reverse();
213449
+ }
213315
213450
  }
213316
213451
 
213317
213452
 
@@ -215587,9 +215722,9 @@ __webpack_require__.r(__webpack_exports__);
215587
215722
  /* harmony export */ });
215588
215723
  /* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
215589
215724
  /* harmony import */ var _geometry4d_Point4d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../geometry4d/Point4d */ "../../core/geometry/lib/esm/geometry4d/Point4d.js");
215590
- /* harmony import */ var _Angle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
215725
+ /* harmony import */ var _Angle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
215591
215726
  /* harmony import */ var _Point2dVector2d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
215592
- /* harmony import */ var _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
215727
+ /* harmony import */ var _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
215593
215728
  /* harmony import */ var _Transform__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Transform */ "../../core/geometry/lib/esm/geometry3d/Transform.js");
215594
215729
  /*---------------------------------------------------------------------------------------------
215595
215730
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -215889,32 +216024,35 @@ class Matrix3d {
215889
216024
  return _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isDistanceWithinTol(max, tol);
215890
216025
  }
215891
216026
  /**
215892
- * Test if `this` and `other` have almost equal Z column and have X and Y columns differing only by a
215893
- * rotation of the same angle around that Z.
215894
- * * **WARNING:** X and Y columns have to be perpendicular to Z column in both `this` and `other`.
215895
- * @param tol optional tolerance for comparisons by Geometry.isDistanceWithinTol
216027
+ * A matrix equivalence test, returning true if and only if the matrices are almost equal,
216028
+ * or all of the following column comparisons hold:
216029
+ * * z columns are almost equal, and
216030
+ * * x columns differ only by a rotation of angle t around the z column, and
216031
+ * * y columns differ only by a rotation of the same angle t around the z column.
216032
+ * @param other matrix to compare
216033
+ * @param tol optional distance tolerance, for comparisons by Geometry.isDistanceWithinTol
216034
+ * @return whether matrices are almost equal modulo a rotation around their common nonzero z-column.
215896
216035
  */
215897
216036
  isAlmostEqualAllowZRotation(other, tol) {
215898
216037
  if (this.isAlmostEqual(other, tol))
215899
216038
  return true;
215900
- if (this.isAlmostEqualColumn(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, other, tol)) {
215901
- const radians = _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.radiansBetweenVectorsXYZ(this.coffs[0], this.coffs[3], this.coffs[6], other.coffs[0], other.coffs[3], other.coffs[6]);
215902
- const angle = _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(radians); // angle between X columns in `this` and `other`
215903
- const columnX = this.columnX();
215904
- const columnY = this.columnY();
215905
- const columnZ = this.columnZ();
215906
- /**
215907
- * Here we rotate this.columnX() around this.columnZ() by "angle" and expect to get other.columnX().
215908
- * Then we rotate this.columnY() around this.columnZ() by the same "angle" and if we get other.columnY(),
215909
- * that means `this` and `other` have X and Y columns differing only by a rotation around column Z.
215910
- */
215911
- let column = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.createRotateVectorAroundVector(columnX, columnZ, angle);
215912
- if (other.isAlmostEqualColumnXYZ(0, column.x, column.y, column.z, tol)) {
215913
- column = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.createRotateVectorAroundVector(columnY, columnZ, angle);
215914
- return other.isAlmostEqualColumnXYZ(1, column.x, column.y, column.z, tol);
215915
- }
215916
- }
215917
- return false;
216039
+ if (!this.isAlmostEqualColumn(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, other, tol))
216040
+ return false;
216041
+ const columnX = this.columnX();
216042
+ const columnY = this.columnY();
216043
+ const columnZ = this.columnZ();
216044
+ const toOtherColumnX = columnX.signedAngleTo(other.columnX(), columnZ);
216045
+ let testColumn = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createRotateVectorAroundVector(columnX, columnZ, toOtherColumnX);
216046
+ if (!testColumn)
216047
+ return false; // columnZ is zero length
216048
+ if (!other.isAlmostEqualColumnXYZ(0, testColumn.x, testColumn.y, testColumn.z, tol))
216049
+ return false; // columnX rotated around columnZ by angle doesn't end up at other.columnX
216050
+ testColumn = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createRotateVectorAroundVector(columnY, columnZ, toOtherColumnX);
216051
+ if (!testColumn)
216052
+ return false;
216053
+ if (!other.isAlmostEqualColumnXYZ(1, testColumn.x, testColumn.y, testColumn.z, tol))
216054
+ return false; // columnY rotated around columnZ by angle doesn't end up at other.columnY
216055
+ return true;
215918
216056
  }
215919
216057
  /** Test for exact (bitwise) equality with other. */
215920
216058
  isExactEqual(other) {
@@ -216190,10 +216328,10 @@ class Matrix3d {
216190
216328
  const b = a / scale;
216191
216329
  // if vectorA is close to the Z axis
216192
216330
  if (Math.abs(vectorA.x) < b && Math.abs(vectorA.y) < b) {
216193
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.createCrossProduct(vectorA.x, vectorA.y, vectorA.z, 0, -1, 0, result);
216331
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createCrossProduct(vectorA.x, vectorA.y, vectorA.z, 0, -1, 0, result);
216194
216332
  }
216195
216333
  // if vectorA is NOT close to the Z axis
216196
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.createCrossProduct(0, 0, 1, vectorA.x, vectorA.y, vectorA.z, result);
216334
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createCrossProduct(0, 0, 1, vectorA.x, vectorA.y, vectorA.z, result);
216197
216335
  }
216198
216336
  /**
216199
216337
  * Return a vector that is perpendicular to the input `vectorA`.
@@ -216414,7 +216552,7 @@ class Matrix3d {
216414
216552
  let c = Math.sqrt(0.5);
216415
216553
  let s = leftNoneRight < 0.0 ? -c : c;
216416
216554
  if (Math.abs(leftNoneRight) !== 1.0) {
216417
- const radians = _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.degreesToRadians(45.0 * leftNoneRight);
216555
+ const radians = _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.degreesToRadians(45.0 * leftNoneRight);
216418
216556
  c = Math.cos(radians);
216419
216557
  s = Math.sin(radians);
216420
216558
  }
@@ -216508,7 +216646,7 @@ class Matrix3d {
216508
216646
  const sij = lambda.at(i, j);
216509
216647
  if (Math.abs(sij) < _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallFloatingPoint * (sii + sjj))
216510
216648
  return 0.0;
216511
- const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.trigValuesToHalfAngleTrigValues(sii - sjj, 2.0 * sij);
216649
+ const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.trigValuesToHalfAngleTrigValues(sii - sjj, 2.0 * sij);
216512
216650
  const c = jacobi.c;
216513
216651
  const s = jacobi.s;
216514
216652
  /**
@@ -216588,7 +216726,7 @@ class Matrix3d {
216588
216726
  const sij = this.coffs[indexIJ];
216589
216727
  if (Math.abs(sij) < _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallFloatingPoint * (sii + sjj))
216590
216728
  return 0.0;
216591
- const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.trigValuesToHalfAngleTrigValues(sii - sjj, 2.0 * sij);
216729
+ const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.trigValuesToHalfAngleTrigValues(sii - sjj, 2.0 * sij);
216592
216730
  const c = jacobi.c;
216593
216731
  const s = jacobi.s;
216594
216732
  const cc = c * c;
@@ -216652,12 +216790,12 @@ class Matrix3d {
216652
216790
  const e = c * c + s * s - 1.0; // s^2 + c^2 = 1
216653
216791
  // if s^2 + c^2 != 1 then we have a bad matrix so return false
216654
216792
  if (Math.abs(e) > _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallAngleRadians) {
216655
- return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(0), ok: false };
216793
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(0), ok: false };
216656
216794
  }
216657
216795
  // sin is close to 0 then we got to special cases (angle 0 or 180) which needs to be handled differently
216658
216796
  if (Math.abs(s) < _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallAngleRadians) {
216659
216797
  if (c > 0) // sin = 0 and cos = 1 so angle = 0 (i.e., no rotation)
216660
- return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(0), ok: true };
216798
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(0), ok: true };
216661
216799
  /**
216662
216800
  * If sin = 0 and cos = -1 then angle = 180 (i.e., 180 degree rotation around some axis)
216663
216801
  * then the rotation matrix becomes
@@ -216675,34 +216813,34 @@ class Matrix3d {
216675
216813
  const azz = this.coffs[8];
216676
216814
  // Look for a pair of "-1" entries on the diagonal (for rotation around the basis X,Y,Z axis)
216677
216815
  if (_Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isAlmostEqualNumber(-1.0, ayy) && _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isAlmostEqualNumber(-1, azz)) {
216678
- return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(1, 0, 0), angle: _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createDegrees(180), ok: true };
216816
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(1, 0, 0), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createDegrees(180), ok: true };
216679
216817
  }
216680
216818
  else if (_Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isAlmostEqualNumber(-1.0, axx) && _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isAlmostEqualNumber(-1, azz)) {
216681
- return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(0, 1, 0), angle: _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createDegrees(180), ok: true };
216819
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 1, 0), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createDegrees(180), ok: true };
216682
216820
  }
216683
216821
  else if (_Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isAlmostEqualNumber(-1.0, axx) && _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isAlmostEqualNumber(-1, ayy)) {
216684
- return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createDegrees(180), ok: true };
216822
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createDegrees(180), ok: true };
216685
216823
  }
216686
216824
  // Look for eigenvector with eigenvalue = 1
216687
216825
  const eigenvectors = Matrix3d.createIdentity();
216688
- const eigenvalues = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(0, 0, 0);
216826
+ const eigenvalues = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 0);
216689
216827
  if (this.fastSymmetricEigenvalues(eigenvectors, eigenvalues)) { // note: this matrix is "symmetric"
216690
216828
  for (let axisIndex = 0; axisIndex < 2; axisIndex++) {
216691
216829
  const lambda = eigenvalues.at(axisIndex);
216692
216830
  if (_Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isAlmostEqualNumber(1, lambda))
216693
- return { axis: eigenvectors.getColumn(axisIndex), angle: _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createDegrees(180), ok: true };
216831
+ return { axis: eigenvectors.getColumn(axisIndex), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createDegrees(180), ok: true };
216694
216832
  }
216695
216833
  // if no eigenvalue = 1 was found return false
216696
- return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(0), ok: false };
216834
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(0), ok: false };
216697
216835
  }
216698
216836
  // if no axis was found return false
216699
- return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(0), ok: false };
216837
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(0), ok: false };
216700
216838
  }
216701
216839
  // good matrix and non-zero sine
216702
216840
  const a = 1.0 / (2.0 * s);
216703
216841
  const result = {
216704
- axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(skewYZ * a, skewZX * a, skewXY * a),
216705
- angle: _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createAtan2(s, c),
216842
+ axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(skewYZ * a, skewZX * a, skewXY * a),
216843
+ angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createAtan2(s, c),
216706
216844
  ok: true,
216707
216845
  };
216708
216846
  return result;
@@ -216726,7 +216864,7 @@ class Matrix3d {
216726
216864
  const uDotV = this.coffs[i] * this.coffs[j]
216727
216865
  + this.coffs[i + 3] * this.coffs[j + 3]
216728
216866
  + this.coffs[i + 6] * this.coffs[j + 6];
216729
- const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.trigValuesToHalfAngleTrigValues(uDotU - vDotV, 2.0 * uDotV);
216867
+ const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.trigValuesToHalfAngleTrigValues(uDotU - vDotV, 2.0 * uDotV);
216730
216868
  const c = jacobi.c;
216731
216869
  const s = jacobi.s;
216732
216870
  if (Math.abs(s) < 2.0e-15)
@@ -216814,7 +216952,7 @@ class Matrix3d {
216814
216952
  let upVector = vectorA.unitCrossProduct(vectorB);
216815
216953
  // the usual case (both vectors and also their cross product is non-zero)
216816
216954
  if (upVector) {
216817
- return Matrix3d.createRotationAroundVector(upVector, _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(fraction * vectorA.planarAngleTo(vectorB, upVector).radians));
216955
+ return Matrix3d.createRotationAroundVector(upVector, _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(fraction * vectorA.planarAngleTo(vectorB, upVector).radians));
216818
216956
  }
216819
216957
  // if either vector is zero
216820
216958
  if (_Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isSmallMetricDistance(vectorA.magnitude())
@@ -216825,7 +216963,7 @@ class Matrix3d {
216825
216963
  return Matrix3d.createIdentity(result);
216826
216964
  // opposing vectors (cross product = 0, dot product < 0)
216827
216965
  upVector = Matrix3d.createPerpendicularVectorFavorPlaneContainingZ(vectorA, upVector);
216828
- return Matrix3d.createRotationAroundVector(upVector, _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(fraction * Math.PI));
216966
+ return Matrix3d.createRotationAroundVector(upVector, _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(fraction * Math.PI));
216829
216967
  }
216830
216968
  /** Returns a matrix that rotates from vectorA to vectorB. */
216831
216969
  static createRotationVectorToVector(vectorA, vectorB, result) {
@@ -216852,15 +216990,15 @@ class Matrix3d {
216852
216990
  }
216853
216991
  /** Return (a copy of) the X column */
216854
216992
  columnX(result) {
216855
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[0], this.coffs[3], this.coffs[6], result);
216993
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[0], this.coffs[3], this.coffs[6], result);
216856
216994
  }
216857
216995
  /** Return (a copy of) the Y column */
216858
216996
  columnY(result) {
216859
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[1], this.coffs[4], this.coffs[7], result);
216997
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[1], this.coffs[4], this.coffs[7], result);
216860
216998
  }
216861
216999
  /** Return (a copy of) the Z column */
216862
217000
  columnZ(result) {
216863
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[2], this.coffs[5], this.coffs[8], result);
217001
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[2], this.coffs[5], this.coffs[8], result);
216864
217002
  }
216865
217003
  /** Return the X column magnitude squared */
216866
217004
  columnXMagnitudeSquared() {
@@ -216932,15 +217070,15 @@ class Matrix3d {
216932
217070
  }
216933
217071
  /** Return (a copy of) the X row */
216934
217072
  rowX(result) {
216935
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[0], this.coffs[1], this.coffs[2], result);
217073
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[0], this.coffs[1], this.coffs[2], result);
216936
217074
  }
216937
217075
  /** Return (a copy of) the Y row */
216938
217076
  rowY(result) {
216939
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[3], this.coffs[4], this.coffs[5], result);
217077
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[3], this.coffs[4], this.coffs[5], result);
216940
217078
  }
216941
217079
  /** Return (a copy of) the Z row */
216942
217080
  rowZ(result) {
216943
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[6], this.coffs[7], this.coffs[8], result);
217081
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[6], this.coffs[7], this.coffs[8], result);
216944
217082
  }
216945
217083
  /** Return the dot product of the vector parameter with the X column. */
216946
217084
  dotColumnX(vector) {
@@ -217037,7 +217175,7 @@ class Matrix3d {
217037
217175
  */
217038
217176
  getColumn(columnIndex, result) {
217039
217177
  const index = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.cyclic3dAxis(columnIndex);
217040
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[index], this.coffs[index + 3], this.coffs[index + 6], result);
217178
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[index], this.coffs[index + 3], this.coffs[index + 6], result);
217041
217179
  }
217042
217180
  /**
217043
217181
  * Return a (copy of) a row of the matrix.
@@ -217046,7 +217184,7 @@ class Matrix3d {
217046
217184
  */
217047
217185
  getRow(columnIndex, result) {
217048
217186
  const index = 3 * _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.cyclic3dAxis(columnIndex);
217049
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[index], this.coffs[index + 1], this.coffs[index + 2], result);
217187
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[index], this.coffs[index + 1], this.coffs[index + 2], result);
217050
217188
  }
217051
217189
  /**
217052
217190
  * Create a matrix from row vectors.
@@ -217128,7 +217266,7 @@ class Matrix3d {
217128
217266
  const x = point.x;
217129
217267
  const y = point.y;
217130
217268
  const z = point.z;
217131
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(this.coffs[0] * x + this.coffs[1] * y + this.coffs[2] * z, this.coffs[3] * x + this.coffs[4] * y + this.coffs[5] * z, this.coffs[6] * x + this.coffs[7] * y + this.coffs[8] * z, result);
217269
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(this.coffs[0] * x + this.coffs[1] * y + this.coffs[2] * z, this.coffs[3] * x + this.coffs[4] * y + this.coffs[5] * z, this.coffs[6] * x + this.coffs[7] * y + this.coffs[8] * z, result);
217132
217270
  }
217133
217271
  /**
217134
217272
  * Multiply `matrix * vector`, treating the vector is a column vector on the right.
@@ -217142,7 +217280,7 @@ class Matrix3d {
217142
217280
  const x = vectorU.x;
217143
217281
  const y = vectorU.y;
217144
217282
  const z = vectorU.z;
217145
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[0] * x + this.coffs[1] * y + this.coffs[2] * z, this.coffs[3] * x + this.coffs[4] * y + this.coffs[5] * z, this.coffs[6] * x + this.coffs[7] * y + this.coffs[8] * z, result);
217283
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[0] * x + this.coffs[1] * y + this.coffs[2] * z, this.coffs[3] * x + this.coffs[4] * y + this.coffs[5] * z, this.coffs[6] * x + this.coffs[7] * y + this.coffs[8] * z, result);
217146
217284
  }
217147
217285
  /**
217148
217286
  * Multiply `matrix * vector` in place for vector in the array, i.e. treating the vector is a column
@@ -217158,7 +217296,7 @@ class Matrix3d {
217158
217296
  const x = vector.x;
217159
217297
  const y = vector.y;
217160
217298
  const z = vector.z;
217161
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(origin.x - (matrix.coffs[0] * x + matrix.coffs[1] * y + matrix.coffs[2] * z), origin.y - (matrix.coffs[3] * x + matrix.coffs[4] * y + matrix.coffs[5] * z), origin.z - (matrix.coffs[6] * x + matrix.coffs[7] * y + matrix.coffs[8] * z), result);
217299
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(origin.x - (matrix.coffs[0] * x + matrix.coffs[1] * y + matrix.coffs[2] * z), origin.y - (matrix.coffs[3] * x + matrix.coffs[4] * y + matrix.coffs[5] * z), origin.z - (matrix.coffs[6] * x + matrix.coffs[7] * y + matrix.coffs[8] * z), result);
217162
217300
  }
217163
217301
  /** Compute `origin + matrix * vector` using only the xy parts of the inputs. */
217164
217302
  static xyPlusMatrixTimesXY(origin, matrix, vector, result) {
@@ -217171,7 +217309,7 @@ class Matrix3d {
217171
217309
  const x = vector.x;
217172
217310
  const y = vector.y;
217173
217311
  const z = vector.z;
217174
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(origin.x + matrix.coffs[0] * x + matrix.coffs[1] * y + matrix.coffs[2] * z, origin.y + matrix.coffs[3] * x + matrix.coffs[4] * y + matrix.coffs[5] * z, origin.z + matrix.coffs[6] * x + matrix.coffs[7] * y + matrix.coffs[8] * z, result);
217312
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(origin.x + matrix.coffs[0] * x + matrix.coffs[1] * y + matrix.coffs[2] * z, origin.y + matrix.coffs[3] * x + matrix.coffs[4] * y + matrix.coffs[5] * z, origin.z + matrix.coffs[6] * x + matrix.coffs[7] * y + matrix.coffs[8] * z, result);
217175
217313
  }
217176
217314
  /** Updates vector to be `origin + matrix * vector` using all xyz parts of the inputs. */
217177
217315
  static xyzPlusMatrixTimesXYZInPlace(origin, matrix, vector) {
@@ -217184,7 +217322,7 @@ class Matrix3d {
217184
217322
  }
217185
217323
  /** Compute `origin + matrix * vector` where the final vector is given as direct x,y,z coordinates */
217186
217324
  static xyzPlusMatrixTimesCoordinates(origin, matrix, x, y, z, result) {
217187
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(origin.x + matrix.coffs[0] * x + matrix.coffs[1] * y + matrix.coffs[2] * z, origin.y + matrix.coffs[3] * x + matrix.coffs[4] * y + matrix.coffs[5] * z, origin.z + matrix.coffs[6] * x + matrix.coffs[7] * y + matrix.coffs[8] * z, result);
217325
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(origin.x + matrix.coffs[0] * x + matrix.coffs[1] * y + matrix.coffs[2] * z, origin.y + matrix.coffs[3] * x + matrix.coffs[4] * y + matrix.coffs[5] * z, origin.z + matrix.coffs[6] * x + matrix.coffs[7] * y + matrix.coffs[8] * z, result);
217188
217326
  }
217189
217327
  /**
217190
217328
  * Treat the 3x3 matrix and origin as upper 3x4 part of a 4x4 matrix, with 0001 as the final row.
@@ -217263,7 +217401,7 @@ class Matrix3d {
217263
217401
  * @param result the vector result (optional)
217264
217402
  */
217265
217403
  multiplyTransposeVector(vector, result) {
217266
- result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
217404
+ result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
217267
217405
  const x = vector.x;
217268
217406
  const y = vector.y;
217269
217407
  const z = vector.z;
@@ -217277,7 +217415,7 @@ class Matrix3d {
217277
217415
  * @param result the vector result (optional)
217278
217416
  */
217279
217417
  multiplyXYZ(x, y, z, result) {
217280
- result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
217418
+ result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
217281
217419
  result.x = this.coffs[0] * x + this.coffs[1] * y + this.coffs[2] * z;
217282
217420
  result.y = this.coffs[3] * x + this.coffs[4] * y + this.coffs[5] * z;
217283
217421
  result.z = this.coffs[6] * x + this.coffs[7] * y + this.coffs[8] * z;
@@ -217302,7 +217440,7 @@ class Matrix3d {
217302
217440
  * @param result the vector result (optional)
217303
217441
  */
217304
217442
  multiplyXY(x, y, result) {
217305
- result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
217443
+ result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
217306
217444
  result.x = this.coffs[0] * x + this.coffs[1] * y;
217307
217445
  result.y = this.coffs[3] * x + this.coffs[4] * y;
217308
217446
  result.z = this.coffs[6] * x + this.coffs[7] * y;
@@ -217313,7 +217451,7 @@ class Matrix3d {
217313
217451
  * @param result the Point3d result (optional)
217314
217452
  */
217315
217453
  originPlusMatrixTimesXY(origin, x, y, result) {
217316
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(origin.x + this.coffs[0] * x + this.coffs[1] * y, origin.y + this.coffs[3] * x + this.coffs[4] * y, origin.z + this.coffs[6] * x + this.coffs[7] * y, result);
217454
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(origin.x + this.coffs[0] * x + this.coffs[1] * y, origin.y + this.coffs[3] * x + this.coffs[4] * y, origin.z + this.coffs[6] * x + this.coffs[7] * y, result);
217317
217455
  }
217318
217456
  /**
217319
217457
  * Multiply the matrix * (x,y,z) in place, i.e. the vector (x,y,z) is a column vector on the right and
@@ -217356,7 +217494,7 @@ class Matrix3d {
217356
217494
  * @param result the vector result (optional)
217357
217495
  */
217358
217496
  multiplyTransposeXYZ(x, y, z, result) {
217359
- result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
217497
+ result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
217360
217498
  result.x = this.coffs[0] * x + this.coffs[3] * y + this.coffs[6] * z;
217361
217499
  result.y = this.coffs[1] * x + this.coffs[4] * y + this.coffs[7] * z;
217362
217500
  result.z = this.coffs[2] * x + this.coffs[5] * y + this.coffs[8] * z;
@@ -217373,7 +217511,7 @@ class Matrix3d {
217373
217511
  const x = vector.x;
217374
217512
  const y = vector.y;
217375
217513
  const z = vector.z;
217376
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[1] * y + this.inverseCoffs[2] * z, this.inverseCoffs[3] * x + this.inverseCoffs[4] * y + this.inverseCoffs[5] * z, this.inverseCoffs[6] * x + this.inverseCoffs[7] * y + this.inverseCoffs[8] * z, result);
217514
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[1] * y + this.inverseCoffs[2] * z, this.inverseCoffs[3] * x + this.inverseCoffs[4] * y + this.inverseCoffs[5] * z, this.inverseCoffs[6] * x + this.inverseCoffs[7] * y + this.inverseCoffs[8] * z, result);
217377
217515
  }
217378
217516
  return undefined;
217379
217517
  }
@@ -217388,7 +217526,7 @@ class Matrix3d {
217388
217526
  const x = vector.x;
217389
217527
  const y = vector.y;
217390
217528
  const z = vector.z;
217391
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[3] * y + this.inverseCoffs[6] * z, this.inverseCoffs[1] * x + this.inverseCoffs[4] * y + this.inverseCoffs[7] * z, this.inverseCoffs[2] * x + this.inverseCoffs[5] * y + this.inverseCoffs[8] * z, result);
217529
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[3] * y + this.inverseCoffs[6] * z, this.inverseCoffs[1] * x + this.inverseCoffs[4] * y + this.inverseCoffs[7] * z, this.inverseCoffs[2] * x + this.inverseCoffs[5] * y + this.inverseCoffs[8] * z, result);
217392
217530
  }
217393
217531
  return undefined;
217394
217532
  }
@@ -217401,7 +217539,7 @@ class Matrix3d {
217401
217539
  multiplyInverseXYZAsVector3d(x, y, z, result) {
217402
217540
  this.computeCachedInverse(true);
217403
217541
  if (this.inverseCoffs) {
217404
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[1] * y + this.inverseCoffs[2] * z, this.inverseCoffs[3] * x + this.inverseCoffs[4] * y + this.inverseCoffs[5] * z, this.inverseCoffs[6] * x + this.inverseCoffs[7] * y + this.inverseCoffs[8] * z, result);
217542
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[1] * y + this.inverseCoffs[2] * z, this.inverseCoffs[3] * x + this.inverseCoffs[4] * y + this.inverseCoffs[5] * z, this.inverseCoffs[6] * x + this.inverseCoffs[7] * y + this.inverseCoffs[8] * z, result);
217405
217543
  }
217406
217544
  return undefined;
217407
217545
  }
@@ -217426,7 +217564,7 @@ class Matrix3d {
217426
217564
  multiplyInverseXYZAsPoint3d(x, y, z, result) {
217427
217565
  this.computeCachedInverse(true);
217428
217566
  if (this.inverseCoffs) {
217429
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Point3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[1] * y + this.inverseCoffs[2] * z, this.inverseCoffs[3] * x + this.inverseCoffs[4] * y + this.inverseCoffs[5] * z, this.inverseCoffs[6] * x + this.inverseCoffs[7] * y + this.inverseCoffs[8] * z, result);
217567
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(this.inverseCoffs[0] * x + this.inverseCoffs[1] * y + this.inverseCoffs[2] * z, this.inverseCoffs[3] * x + this.inverseCoffs[4] * y + this.inverseCoffs[5] * z, this.inverseCoffs[6] * x + this.inverseCoffs[7] * y + this.inverseCoffs[8] * z, result);
217430
217568
  }
217431
217569
  return undefined;
217432
217570
  }
@@ -224319,7 +224457,10 @@ class PolygonOps {
224319
224457
  * * Compare to [[closestPoint]].
224320
224458
  * @param polygon points of the polygon, closure point optional
224321
224459
  * @param testPoint point p to project onto the polygon edges. Works best when p is in the plane of the polygon.
224322
- * @param tolerance optional distance tolerance to determine point-vertex and point-edge coincidence.
224460
+ * @param tolerance optional tolerance(s) to determine point-vertex and point-edge coincidence. A single number
224461
+ * is interpreted as distance tolerance. If an array is given, the first number is interpreted as distance tolerance;
224462
+ * the second, as parametric tolerance. Default values are [[Geometry.smallMetricDistance]] for distance tolerance
224463
+ * and 0.0 for parameter tolerance.
224323
224464
  * @param result optional pre-allocated object to fill and return
224324
224465
  * @returns details d of the closest point `d.point`:
224325
224466
  * * `d.isValid()` returns true if and only if the polygon is nontrivial.
@@ -224331,7 +224472,9 @@ class PolygonOps {
224331
224472
  static closestPointOnBoundary(polygon, testPoint, tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.smallMetricDistance, result) {
224332
224473
  if (!(polygon instanceof _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_5__.IndexedXYZCollection))
224333
224474
  return this.closestPointOnBoundary(new _Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_4__.Point3dArrayCarrier(polygon), testPoint, tolerance, result);
224334
- const distTol2 = tolerance * tolerance;
224475
+ const distTol = Array.isArray(tolerance) ? tolerance[0] : tolerance;
224476
+ const paramTol = Array.isArray(tolerance) ? Math.abs(tolerance[1]) : 0.0;
224477
+ const distTol2 = distTol * distTol;
224335
224478
  let numPoints = polygon.length;
224336
224479
  while (numPoints > 1) {
224337
224480
  if (polygon.distanceSquaredIndexIndex(0, numPoints - 1) > distTol2)
@@ -224341,29 +224484,59 @@ class PolygonOps {
224341
224484
  result = PolygonLocationDetail.create(result);
224342
224485
  if (0 === numPoints)
224343
224486
  return result; // invalid
224344
- if (1 === numPoints) {
224345
- polygon.getPoint3dAtUncheckedPointIndex(0, result.point);
224487
+ const constructSingletonPoint = (index) => {
224488
+ polygon.getPoint3dAtUncheckedPointIndex(index, result.point);
224346
224489
  result.a = result.point.distance(testPoint);
224347
224490
  result.v.setZero();
224348
224491
  result.code = _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonVertex;
224349
- result.closestEdgeIndex = 0;
224492
+ result.closestEdgeIndex = index;
224350
224493
  result.closestEdgeParam = 0.0;
224351
224494
  return result;
224352
- }
224495
+ };
224496
+ if (1 === numPoints)
224497
+ return constructSingletonPoint(0);
224498
+ // lambda for computing edge parameter at which testPoint projects onto the edge starting at iEdgeStart
224499
+ const projectToEdge = (iEdgeStart) => {
224500
+ let isValid = false;
224501
+ let edgeParam = 0.0;
224502
+ let uDotU = 0.0;
224503
+ let vDotV = 0.0;
224504
+ if (iEdgeStart >= 0 && iEdgeStart < numPoints) {
224505
+ let iEdgeEnd = iEdgeStart + 1;
224506
+ if (iEdgeEnd === numPoints)
224507
+ iEdgeEnd = 0;
224508
+ uDotU = polygon.distanceSquaredIndexIndex(iEdgeStart, iEdgeEnd);
224509
+ if (uDotU > distTol2) { // nontrivial edge
224510
+ vDotV = polygon.distanceSquaredIndexXYAndZ(iEdgeStart, testPoint);
224511
+ const uDotV = polygon.dotProductIndexIndexXYAndZ(iEdgeStart, iEdgeEnd, testPoint);
224512
+ edgeParam = uDotV / uDotU; // param of projection of testPoint onto edge [iEdgeStart, iEdgeEnd]
224513
+ isValid = true;
224514
+ }
224515
+ }
224516
+ return { isValid, edgeParam, uDotU, vDotV };
224517
+ };
224518
+ // find the previous nontrivial edge's projection status before processing the first edge
224519
+ let projBeyondPrevEdge = false;
224353
224520
  let iPrev = numPoints - 1;
224521
+ for (; iPrev > 0; --iPrev) {
224522
+ const projData = projectToEdge(iPrev);
224523
+ if (projData.isValid) {
224524
+ projBeyondPrevEdge = projData.edgeParam > 1.0 + paramTol;
224525
+ break;
224526
+ }
224527
+ }
224528
+ if (iPrev <= 0) // all segments trivial, so treat like single point case
224529
+ return constructSingletonPoint(0);
224354
224530
  let minDist2 = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.largeCoordinateResult;
224355
224531
  for (let iBase = 0; iBase < numPoints; ++iBase) {
224356
224532
  let iNext = iBase + 1;
224357
224533
  if (iNext === numPoints)
224358
224534
  iNext = 0;
224359
- const uDotU = polygon.distanceSquaredIndexIndex(iBase, iNext);
224360
- if (uDotU <= distTol2)
224361
- continue; // ignore trivial polygon edge (keep iPrev)
224362
- const vDotV = polygon.distanceSquaredIndexXYAndZ(iBase, testPoint);
224363
- const uDotV = polygon.dotProductIndexIndexXYAndZ(iBase, iNext, testPoint);
224364
- const edgeParam = uDotV / uDotU; // param of projection of testPoint onto this edge
224365
- if (edgeParam <= 0.0) { // testPoint projects to/before edge start
224366
- const distToStart2 = vDotV;
224535
+ const projData = projectToEdge(iBase);
224536
+ if (!projData.isValid)
224537
+ continue; // ignore trivial polygon edge (keep iPrev, projBeyondPrevEdge)
224538
+ if (projData.edgeParam <= paramTol) { // testPoint projects to/before edge start
224539
+ const distToStart2 = projData.vDotV;
224367
224540
  if (distToStart2 <= distTol2) {
224368
224541
  // testPoint is at edge start; we are done
224369
224542
  polygon.getPoint3dAtUncheckedPointIndex(iBase, result.point);
@@ -224374,25 +224547,25 @@ class PolygonOps {
224374
224547
  result.closestEdgeParam = 0.0;
224375
224548
  return result;
224376
224549
  }
224377
- if (distToStart2 < minDist2) {
224378
- if (polygon.dotProductIndexIndexXYAndZ(iBase, iPrev, testPoint) <= 0.0) {
224379
- // update candidate (to edge start) only if testPoint projected beyond previous edge end
224380
- polygon.getPoint3dAtUncheckedPointIndex(iBase, result.point);
224381
- result.a = Math.sqrt(distToStart2);
224382
- polygon.crossProductIndexIndexIndex(iBase, iPrev, iNext, result.v);
224383
- result.code = _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonVertex;
224384
- result.closestEdgeIndex = iBase;
224385
- result.closestEdgeParam = 0.0;
224386
- minDist2 = distToStart2;
224387
- }
224550
+ if (distToStart2 < minDist2 && projBeyondPrevEdge) {
224551
+ // update candidate (to edge start) only if testPoint projected beyond previous edge end
224552
+ polygon.getPoint3dAtUncheckedPointIndex(iBase, result.point);
224553
+ result.a = Math.sqrt(distToStart2);
224554
+ polygon.crossProductIndexIndexIndex(iBase, iPrev, iNext, result.v);
224555
+ result.code = _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonVertex;
224556
+ result.closestEdgeIndex = iBase;
224557
+ result.closestEdgeParam = 0.0;
224558
+ minDist2 = distToStart2;
224388
224559
  }
224560
+ projBeyondPrevEdge = false;
224389
224561
  }
224390
- else if (edgeParam <= 1.0) { // testPoint projects inside edge, or to edge end
224391
- const projDist2 = vDotV - edgeParam * edgeParam * uDotU;
224562
+ else if (projData.edgeParam <= 1.0 + paramTol) { // testPoint projects inside edge, or to edge end
224563
+ projData.edgeParam = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.clamp(projData.edgeParam, 0.0, 1.0);
224564
+ const projDist2 = projData.vDotV - projData.edgeParam * projData.edgeParam * projData.uDotU;
224392
224565
  if (projDist2 <= distTol2) {
224393
224566
  // testPoint is on edge; we are done
224394
- const distToStart2 = vDotV;
224395
- if (edgeParam <= 0.5 && distToStart2 <= distTol2) {
224567
+ const distToStart2 = projData.vDotV;
224568
+ if (projData.edgeParam <= 0.5 && distToStart2 <= distTol2) {
224396
224569
  // testPoint is at edge start
224397
224570
  polygon.getPoint3dAtUncheckedPointIndex(iBase, result.point);
224398
224571
  result.a = Math.sqrt(distToStart2);
@@ -224402,8 +224575,8 @@ class PolygonOps {
224402
224575
  result.closestEdgeParam = 0.0;
224403
224576
  return result;
224404
224577
  }
224405
- const distToEnd2 = projDist2 + (1.0 - edgeParam) * (1.0 - edgeParam) * uDotU;
224406
- if (edgeParam > 0.5 && distToEnd2 <= distTol2) {
224578
+ const distToEnd2 = projDist2 + (1.0 - projData.edgeParam) * (1.0 - projData.edgeParam) * projData.uDotU;
224579
+ if (projData.edgeParam > 0.5 && distToEnd2 <= distTol2) {
224407
224580
  // testPoint is at edge end
224408
224581
  polygon.getPoint3dAtUncheckedPointIndex(iNext, result.point);
224409
224582
  result.a = Math.sqrt(distToEnd2);
@@ -224414,27 +224587,29 @@ class PolygonOps {
224414
224587
  return result;
224415
224588
  }
224416
224589
  // testPoint is on edge interior
224417
- polygon.interpolateIndexIndex(iBase, edgeParam, iNext, result.point);
224590
+ polygon.interpolateIndexIndex(iBase, projData.edgeParam, iNext, result.point);
224418
224591
  result.a = Math.sqrt(projDist2);
224419
224592
  result.v.setZero();
224420
224593
  result.code = _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonEdgeInterior;
224421
224594
  result.closestEdgeIndex = iBase;
224422
- result.closestEdgeParam = edgeParam;
224595
+ result.closestEdgeParam = projData.edgeParam;
224423
224596
  return result;
224424
224597
  }
224425
224598
  if (projDist2 < minDist2) {
224426
- // update candidate (to edge interior)
224427
- polygon.interpolateIndexIndex(iBase, edgeParam, iNext, result.point);
224599
+ // update candidate
224600
+ polygon.interpolateIndexIndex(iBase, projData.edgeParam, iNext, result.point);
224428
224601
  result.a = Math.sqrt(projDist2);
224429
224602
  polygon.crossProductIndexIndexXYAndZ(iBase, iNext, testPoint, result.v);
224430
- result.code = _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonEdgeInterior;
224603
+ result.code = projData.edgeParam < 1.0 ? _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonEdgeInterior : _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonVertex;
224604
+ ;
224431
224605
  result.closestEdgeIndex = iBase;
224432
- result.closestEdgeParam = edgeParam;
224606
+ result.closestEdgeParam = projData.edgeParam;
224433
224607
  minDist2 = projDist2;
224434
224608
  }
224609
+ projBeyondPrevEdge = false;
224435
224610
  }
224436
- else { // edgeParam > 1.0
224437
- // NOOP: testPoint projects beyond edge end, handled by next edge
224611
+ else {
224612
+ projBeyondPrevEdge = true; // to be handled by next edge
224438
224613
  }
224439
224614
  iPrev = iBase;
224440
224615
  }
@@ -224478,7 +224653,10 @@ class PolygonOps {
224478
224653
  /** Compute the intersection of a line (parameterized as a ray) with the plane of this polygon.
224479
224654
  * @param polygon points of the polygon, closure point optional
224480
224655
  * @param ray infinite line to intersect, as a ray
224481
- * @param tolerance optional distance tolerance to determine point-vertex and point-edge coincidence.
224656
+ * @param tolerance optional tolerance(s) to determine point-vertex and point-edge coincidence. A single number
224657
+ * is interpreted as distance tolerance. If an array is given, the first number is interpreted as distance tolerance;
224658
+ * the second, as parametric tolerance. Default values are [[Geometry.smallMetricDistance]] for distance tolerance
224659
+ * and 0.0 for parameter tolerance.
224482
224660
  * @param result optional pre-allocated object to fill and return
224483
224661
  * @returns details d of the line-plane intersection `d.point`:
224484
224662
  * * `d.isValid()` returns true if and only if the line intersects the plane.
@@ -224505,11 +224683,18 @@ class PolygonOps {
224505
224683
  // NOOP: intersectionPoint is on the polygon, so result.code already classifies it
224506
224684
  }
224507
224685
  else {
224508
- // intersectionPoint is not on polygon, so result.code refers to the closest point. Update it to refer to intersectionPoint.
224509
- if (_Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonVertex === result.code)
224510
- result.code = (dot > 0.0) ? _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.InsidePolygonProjectsToVertex : _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OutsidePolygonProjectsToVertex;
224511
- else if (_Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonEdgeInterior === result.code)
224512
- result.code = (dot > 0.0) ? _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.InsidePolygonProjectsToEdgeInterior : _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OutsidePolygonProjectsToEdgeInterior;
224686
+ // intersectionPoint is not on the polygon, so result.code refers to the closest point;
224687
+ // update it to refer to intersectionPoint.
224688
+ if (_Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonVertex === result.code) {
224689
+ result.code = (dot > 0.0)
224690
+ ? _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.InsidePolygonProjectsToVertex
224691
+ : _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OutsidePolygonProjectsToVertex;
224692
+ }
224693
+ else if (_Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonEdgeInterior === result.code) {
224694
+ result.code = (dot > 0.0)
224695
+ ? _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.InsidePolygonProjectsToEdgeInterior
224696
+ : _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OutsidePolygonProjectsToEdgeInterior;
224697
+ }
224513
224698
  }
224514
224699
  }
224515
224700
  return result;
@@ -235828,11 +236013,11 @@ class AnalyticRoots {
235828
236013
  * * -1 -- beta, gamma are zero, alpha is not.There is no line defined.There are no solutions.
235829
236014
  * * 0 -- the line is well defined, but passes completely outside the unit circle.
235830
236015
  * * In this case, (c1, s1) is the circle point closest to the line and(c2, s2) is the line point closest to the circle.
235831
- * * 1 -- the line is tangent to the unit circle.
235832
- * * Tangency is determined by tolerances, which calls a "close approach" point a tangency.
235833
- * * (c1, s1) is the closest circle point
235834
- * * (c2, s2) is the line point.
235835
- * * 2 -- two simple intersections.
236016
+ * * 1 -- the line is tangent to the unit circle.
236017
+ * * Tangency is determined by tolerances, which calls a "close approach" point a tangency.
236018
+ * * (c1, s1) is the closest circle point
236019
+ * * (c2, s2) is the line point.
236020
+ * * 2 -- two simple intersections.
235836
236021
  * @param alpha constant coefficient on line
235837
236022
  * @param beta x cosine coefficient on line
235838
236023
  * @param gamma y sine coefficient on line
@@ -235964,7 +236149,7 @@ class TrigPolynomial {
235964
236149
  degree--;
235965
236150
  const roots = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_6__.GrowableFloat64Array();
235966
236151
  if (degree === -1) {
235967
- // do nothing
236152
+ // p(t) is identically zero (degenerate); do nothing.
235968
236153
  }
235969
236154
  else {
235970
236155
  if (degree === 0) {
@@ -237843,8 +238028,8 @@ var AuxChannelDataType;
237843
238028
  * When the host Polyface is transformed the displacements are rotated and scaled accordingly.
237844
238029
  */
237845
238030
  AuxChannelDataType[AuxChannelDataType["Vector"] = 2] = "Vector";
237846
- /** (X, Y, Z) normal vectors that replace the host [[Polyface]]'s own normals.
237847
- * When the Polyface is transformed the normals are rotated accordingly.
238031
+ /** (X, Y, Z) unit normal vectors that replace the host [[Polyface]]'s own normals.
238032
+ * When the Polyface is transformed the normals are rotated and renormalized accordingly.
237848
238033
  */
237849
238034
  AuxChannelDataType[AuxChannelDataType["Normal"] = 3] = "Normal";
237850
238035
  })(AuxChannelDataType || (AuxChannelDataType = {}));
@@ -238033,7 +238218,15 @@ class PolyfaceAuxData {
238033
238218
  inverseRot = inverseRot ?? rot.inverse();
238034
238219
  if (!inverseRot)
238035
238220
  return false;
238036
- transformPoints(data.values, (point) => inverseRot.multiplyTransposeVectorInPlace(point));
238221
+ transformPoints(data.values, (point) => {
238222
+ inverseRot.multiplyTransposeVectorInPlace(point);
238223
+ const dot = point.magnitudeSquared();
238224
+ const tol = 1.0e-15; // cf. GrowableXYZArray.multiplyAndRenormalizeMatrix3dInverseTransposeInPlace
238225
+ if (dot > tol && Math.abs(dot - 1.0) > tol) { // only renormalize if magnitude is not near 0 or 1
238226
+ const mag = 1.0 / Math.sqrt(dot);
238227
+ point.scaleInPlace(mag);
238228
+ }
238229
+ });
238037
238230
  break;
238038
238231
  }
238039
238232
  case AuxChannelDataType.Vector: {
@@ -239882,20 +240075,14 @@ class IndexedPolyface extends Polyface {
239882
240075
  }
239883
240076
  /**
239884
240077
  * Transform the mesh.
239885
- * * Apply the transform to points.
239886
- * * Apply the (inverse transpose of the) matrix part to normals.
239887
- * * If determinant of the transform matrix is negative, also
239888
- * * negate normals
239889
- * * reverse index order around each facet.
240078
+ * * If `transform` is a mirror, also reverse the index order around each facet.
240079
+ * * Note that this method always returns true. If transforming the normals fails (due to singular matrix or zero
240080
+ * normal), the original normal(s) are left unchanged.
239890
240081
  */
239891
240082
  tryTransformInPlace(transform) {
239892
- if (!this.data.tryTransformInPlace(transform))
239893
- return false;
239894
- const determinant = transform.matrix.determinant();
239895
- if (determinant < 0) {
240083
+ this.data.tryTransformInPlace(transform);
240084
+ if (transform.matrix.determinant() < 0)
239896
240085
  this.reverseIndices();
239897
- this.reverseNormals();
239898
- }
239899
240086
  return true;
239900
240087
  }
239901
240088
  /** Reverse indices for a single facet. */
@@ -239904,8 +240091,7 @@ class IndexedPolyface extends Polyface {
239904
240091
  }
239905
240092
  /** Return a deep clone. */
239906
240093
  clone() {
239907
- const result = new IndexedPolyface(this.data.clone(), this._facetStart.slice(), this._facetToFaceData.slice());
239908
- return result;
240094
+ return new IndexedPolyface(this.data.clone(), this._facetStart.slice(), this._facetToFaceData.slice());
239909
240095
  }
239910
240096
  /**
239911
240097
  * Return a deep clone with transformed points and normals.
@@ -241486,17 +241672,28 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
241486
241672
  }
241487
241673
  /** Construct facets for a rotational sweep. */
241488
241674
  addRotationalSweep(surface) {
241489
- const contour = surface.getCurves();
241490
- const section0 = _curve_Query_StrokeCountChain__WEBPACK_IMPORTED_MODULE_16__.StrokeCountSection.createForParityRegionOrChain(contour, this._options);
241675
+ const contour = surface.getSweepContourRef();
241676
+ const section0 = _curve_Query_StrokeCountChain__WEBPACK_IMPORTED_MODULE_16__.StrokeCountSection.createForParityRegionOrChain(contour.getCurves(), this._options);
241491
241677
  const baseStrokes = section0.getStrokes();
241678
+ // ensure sweep is positive for buildRotationalNormalsInLineStrings
241492
241679
  const axis = surface.cloneAxisRay();
241680
+ const sweepAngle = surface.getSweep();
241681
+ if (sweepAngle.radians < 0.0) {
241682
+ axis.direction.scaleInPlace(-1);
241683
+ sweepAngle.setRadians(-sweepAngle.radians);
241684
+ }
241685
+ // swingVector points in the direction of positive sweep
241493
241686
  const perpendicularVector = _curve_Query_CylindricalRange__WEBPACK_IMPORTED_MODULE_17__.CylindricalRangeQuery.computeMaxVectorFromRay(axis, baseStrokes);
241494
241687
  const swingVector = axis.direction.crossProduct(perpendicularVector);
241688
+ // ensure contour computed normal is aligned with swingVector for buildRotationalNormalsInLineStrings
241689
+ const contourNormalAgreesWithSwingDir = contour.localToWorld.matrix.dotColumnZ(swingVector) > 0;
241690
+ if (!contourNormalAgreesWithSwingDir)
241691
+ baseStrokes.reverseInPlace();
241495
241692
  if (this._options.needNormals)
241496
241693
  _curve_Query_CylindricalRange__WEBPACK_IMPORTED_MODULE_17__.CylindricalRangeQuery.buildRotationalNormalsInLineStrings(baseStrokes, axis, swingVector);
241497
241694
  const maxDistance = perpendicularVector.magnitude();
241498
- const maxPath = Math.abs(maxDistance * surface.getSweep().radians);
241499
- let numStep = _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_4__.StrokeOptions.applyAngleTol(this._options, 1, surface.getSweep().radians, undefined);
241695
+ const maxPath = Math.abs(maxDistance * sweepAngle.radians);
241696
+ let numStep = _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_4__.StrokeOptions.applyAngleTol(this._options, 1, sweepAngle.radians, undefined);
241500
241697
  numStep = _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_4__.StrokeOptions.applyMaxEdgeLength(this._options, numStep, maxPath);
241501
241698
  for (let i = 1; i <= numStep; i++) {
241502
241699
  const transformA = surface.getFractionalRotationTransform((i - 1) / numStep);
@@ -241504,11 +241701,10 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
241504
241701
  this.addBetweenRotatedStrokeSets(baseStrokes, transformA, i - 1, transformB, i);
241505
241702
  }
241506
241703
  if (surface.capped) {
241507
- const capContour = surface.getSweepContourRef();
241508
- capContour.purgeFacets();
241509
- capContour.emitFacets(this, true, undefined);
241510
- // final loop pass left transformA at end
241511
- capContour.emitFacets(this, false, surface.getFractionalRotationTransform(1.0));
241704
+ contour.purgeFacets();
241705
+ const reverseNearCap = contourNormalAgreesWithSwingDir;
241706
+ contour.emitFacets(this, reverseNearCap, undefined);
241707
+ contour.emitFacets(this, !reverseNearCap, surface.getFractionalRotationTransform(1.0));
241512
241708
  }
241513
241709
  }
241514
241710
  /** Construct facets for any planar region. */
@@ -241572,9 +241768,9 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
241572
241768
  const normalIndices = ls.ensureEmptyNormalIndices();
241573
241769
  const normalIndex0 = this.findOrAddNormalInLineString(ls, 0, transform);
241574
241770
  normalIndices.push(normalIndex0);
241575
- let normalIndexA = normalIndex0;
241576
- let normalIndexB;
241577
241771
  if (n > 1) {
241772
+ let normalIndexA = normalIndex0;
241773
+ let normalIndexB;
241578
241774
  for (let i = 1; i + 1 < n; i++) {
241579
241775
  normalIndexB = this.findOrAddNormalInLineString(ls, i, transform, normalIndexA);
241580
241776
  normalIndices.push(normalIndexB);
@@ -241589,9 +241785,9 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
241589
241785
  const uvIndices = ls.ensureEmptyUVIndices();
241590
241786
  const uvIndex0 = this.findOrAddParamInLineString(ls, 0, vParam);
241591
241787
  uvIndices.push(uvIndex0);
241592
- let uvIndexA = uvIndex0;
241593
- let uvIndexB;
241594
241788
  if (n > 1) {
241789
+ let uvIndexA = uvIndex0;
241790
+ let uvIndexB;
241595
241791
  for (let i = 1; i + 1 < n; i++) {
241596
241792
  uvIndexB = this.findOrAddParamInLineString(ls, i, vParam, uvIndexA);
241597
241793
  uvIndices.push(uvIndexB);
@@ -243520,15 +243716,32 @@ class PolyfaceData {
243520
243716
  return result;
243521
243717
  }
243522
243718
  /**
243523
- * Apply `transform` to point and normal arrays and to auxData.
243524
- * * IMPORTANT This base class is just a data carrier. It does not know if the index order and normal directions
243525
- * have special meaning, i.e., caller must separately reverse index order and normal direction if needed.
243719
+ * Apply a transform to the mesh data.
243720
+ * * Transform the data as follows:
243721
+ * * apply `transform` to points.
243722
+ * * apply inverse transpose of `transform` to normals and renormalize. This preserves normals perpendicular
243723
+ * to transformed facets, and keeps them pointing outward, e.g, if the mesh is closed. If the transform is not
243724
+ * invertible or a normal has zero length, the normal(s) are left unchanged, and this error is silently ignored.
243725
+ * * apply `transform` to auxData.
243726
+ * * scale faceData distances by the cube root of the absolute value of the determinant of `transform.matrix`.
243727
+ * * Note that if the transform is a mirror, this method does NOT reverse index order. This is the caller's
243728
+ * responsibility. This base class is just a data carrier: PolyfaceData does not know if the index order has
243729
+ * special meaning.
243730
+ * * Note that this method always returns true. If transforming normals fails (due to singular matrix or zero
243731
+ * normal), the original normal(s) are left unchanged.
243526
243732
  */
243527
243733
  tryTransformInPlace(transform) {
243528
243734
  this.point.multiplyTransformInPlace(transform);
243529
243735
  if (this.normal && !transform.matrix.isIdentity)
243530
243736
  this.normal.multiplyAndRenormalizeMatrix3dInverseTransposeInPlace(transform.matrix);
243531
- return undefined === this.auxData || this.auxData.tryTransformInPlace(transform);
243737
+ if (this.face.length > 0) {
243738
+ const distScale = Math.cbrt(Math.abs(transform.matrix.determinant()));
243739
+ for (const faceData of this.face)
243740
+ faceData.scaleDistances(distScale);
243741
+ }
243742
+ if (this.auxData)
243743
+ this.auxData.tryTransformInPlace(transform);
243744
+ return true;
243532
243745
  }
243533
243746
  /**
243534
243747
  * Compress the instance by equating duplicate data.
@@ -245464,8 +245677,8 @@ class PolyfaceQuery {
245464
245677
  /**
245465
245678
  * Search facets for the first one that intersects the infinite line.
245466
245679
  * * To process _all_ intersections, callers can supply an `options.acceptIntersection` callback that always
245467
- * returns `false`.
245468
- * In this case, `intersectRay3d` will return `undefined`, but the callback will be invoked for each intersection.
245680
+ * returns `false`. In this case, `intersectRay3d` will return `undefined`, but the callback will be invoked for
245681
+ * each intersection.
245469
245682
  * * Example callback logic:
245470
245683
  * * Accept the first found facet that intersects the half-line specified by the ray: `return detail.a >= 0.0;`
245471
245684
  * * Collect all intersections: `myIntersections.push(detail.clone()); return false;` Then after `intersectRay3d`
@@ -245483,6 +245696,7 @@ class PolyfaceQuery {
245483
245696
  if (visitor instanceof _Polyface__WEBPACK_IMPORTED_MODULE_7__.Polyface)
245484
245697
  return PolyfaceQuery.intersectRay3d(visitor.createVisitor(0), ray, options);
245485
245698
  let detail;
245699
+ const tol = options ? [options.distanceTolerance, options.parameterTolerance] : undefined;
245486
245700
  visitor.setNumWrap(0);
245487
245701
  while (visitor.moveToNextFacet()) {
245488
245702
  const numEdges = visitor.pointCount; // #vertices = #edges since numWrap is zero
@@ -245494,7 +245708,7 @@ class PolyfaceQuery {
245494
245708
  detail = this._workFacetDetail3 = _FacetLocationDetail__WEBPACK_IMPORTED_MODULE_37__.TriangularFacetLocationDetail.create(visitor.currentReadIndex(), detail3, this._workFacetDetail3);
245495
245709
  }
245496
245710
  else {
245497
- const detailN = this._workPolyDetail = _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_8__.PolygonOps.intersectRay3d(vertices, ray, options?.distanceTolerance, this._workPolyDetail);
245711
+ const detailN = this._workPolyDetail = _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_8__.PolygonOps.intersectRay3d(vertices, ray, tol, this._workPolyDetail);
245498
245712
  if (_geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_8__.PolygonOps.isConvex(vertices))
245499
245713
  detail = this._workFacetDetailC = _FacetLocationDetail__WEBPACK_IMPORTED_MODULE_37__.ConvexFacetLocationDetail.create(visitor.currentReadIndex(), numEdges, detailN, this._workFacetDetailC);
245500
245714
  else
@@ -261157,8 +261371,10 @@ class Box extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
261157
261371
  getConstructiveFrame() {
261158
261372
  return this._localToWorld.cloneRigid();
261159
261373
  }
261160
- /** Apply the transform to the box's `localToWorld` frame.
261374
+ /**
261375
+ * Apply the transform to the box's `localToWorld` frame.
261161
261376
  * * Note that this may make the frame nonrigid.
261377
+ * * This fails if the transformation is singular.
261162
261378
  */
261163
261379
  tryTransformInPlace(transform) {
261164
261380
  if (transform.matrix.isSingular())
@@ -261166,11 +261382,14 @@ class Box extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
261166
261382
  transform.multiplyTransformTransform(this._localToWorld, this._localToWorld);
261167
261383
  return true;
261168
261384
  }
261169
- /** Clone the box and immediately apply `transform` to the local frame of the clone. */
261385
+ /**
261386
+ * Clone the box and immediately apply `transform` to the local frame of the clone.
261387
+ * * Note that this may make the frame nonrigid.
261388
+ * * This fails if the transformation is singular.
261389
+ */
261170
261390
  cloneTransformed(transform) {
261171
261391
  const result = this.clone();
261172
- transform.multiplyTransformTransform(result._localToWorld, result._localToWorld);
261173
- return result;
261392
+ return result.tryTransformInPlace(transform) ? result : undefined;
261174
261393
  }
261175
261394
  /**
261176
261395
  * Create a new box from vector and size daa.
@@ -261205,7 +261424,7 @@ class Box extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
261205
261424
  }
261206
261425
  /**
261207
261426
  * Create an axis-aligned `Box` primitive for a range.
261208
- * @param range range corners Origin of base rectangle
261427
+ * @param range range low point is origin of base rectangle, range extents are box extents
261209
261428
  * @param capped true to define top and bottom closure caps
261210
261429
  */
261211
261430
  static createRange(range, capped) {
@@ -261413,7 +261632,7 @@ class Cone extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
261413
261632
  getConstructiveFrame() {
261414
261633
  return this._localToWorld.cloneRigid();
261415
261634
  }
261416
- /** Apply the transform to this cone's locla to world coordinates.
261635
+ /** Apply the transform to this cone's local to world coordinates.
261417
261636
  * * Note that the radii are not changed. Scaling is absorbed into the frame.
261418
261637
  * * This fails if the transformation is singular.
261419
261638
  */
@@ -261425,11 +261644,11 @@ class Cone extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
261425
261644
  }
261426
261645
  /**
261427
261646
  * Create a clone and immediately transform the clone.
261647
+ * * This fails if the transformation is singular.
261428
261648
  */
261429
261649
  cloneTransformed(transform) {
261430
261650
  const result = this.clone();
261431
- transform.multiplyTransformTransform(result._localToWorld, result._localToWorld);
261432
- return result;
261651
+ return result.tryTransformInPlace(transform) ? result : undefined;
261433
261652
  }
261434
261653
  /** create a cylinder or cone from two endpoints and their radii. The circular cross sections are perpendicular to the axis line
261435
261654
  * from start to end point.
@@ -261728,7 +261947,10 @@ class LinearSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrim
261728
261947
  clone() {
261729
261948
  return new LinearSweep(this._contour.clone(), this._direction.clone(), this.capped);
261730
261949
  }
261731
- /** apply a transform to the curves and sweep vector */
261950
+ /**
261951
+ * Apply a transform to the curves and sweep vector
261952
+ * * This fails if the transformation is singular.
261953
+ */
261732
261954
  tryTransformInPlace(transform) {
261733
261955
  if (transform.matrix.isSingular())
261734
261956
  return false;
@@ -261746,11 +261968,13 @@ class LinearSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrim
261746
261968
  getConstructiveFrame() {
261747
261969
  return this._contour.localToWorld.cloneRigid();
261748
261970
  }
261749
- /** Return a transformed clone */
261971
+ /**
261972
+ * Return a transformed clone.
261973
+ * * This fails if the transformation is singular.
261974
+ */
261750
261975
  cloneTransformed(transform) {
261751
261976
  const result = this.clone();
261752
- result.tryTransformInPlace(transform);
261753
- return result;
261977
+ return result.tryTransformInPlace(transform) ? result : undefined;
261754
261978
  }
261755
261979
  /** Test for near-equality of coordinates in `other` */
261756
261980
  isAlmostEqual(other) {
@@ -261849,7 +262073,12 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
261849
262073
  this.capped = capped;
261850
262074
  this._sweepAngle = sweepAngle;
261851
262075
  }
261852
- /** Create a rotational sweep. */
262076
+ /** Create a rotational sweep.
262077
+ * @param contour profile to sweep, coplanar with axis. CAPTURED
262078
+ * @param axis rotation axis
262079
+ * @param sweepAngle signed angular sweep
262080
+ * @param capped whether to cap the surface to make a solid
262081
+ */
261853
262082
  static create(contour, axis, sweepAngle, capped) {
261854
262083
  if (!axis.direction.normalizeInPlace())
261855
262084
  return undefined;
@@ -261894,20 +262123,28 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
261894
262123
  clone() {
261895
262124
  return new RotationalSweep(this._contour.clone(), this._normalizedAxis.clone(), this._sweepAngle.clone(), this.capped);
261896
262125
  }
261897
- /** Transform the contour and axis */
262126
+ /**
262127
+ * Transform the contour and axis.
262128
+ * * This fails if the transformation is singular.
262129
+ */
261898
262130
  tryTransformInPlace(transform) {
261899
- if (!transform.matrix.isSingular()
261900
- && this._contour.tryTransformInPlace(transform)) {
262131
+ if (transform.matrix.isSingular())
262132
+ return false;
262133
+ if (this._contour.tryTransformInPlace(transform)) {
261901
262134
  this._normalizedAxis.transformInPlace(transform);
262135
+ if (transform.matrix.determinant() < 0.0)
262136
+ this._sweepAngle.setRadians(-this._sweepAngle.radians);
261902
262137
  return this._normalizedAxis.direction.normalizeInPlace();
261903
262138
  }
261904
262139
  return false;
261905
262140
  }
261906
- /** return a cloned transform. */
262141
+ /**
262142
+ * Return a transformed clone.
262143
+ * * This fails if the transformation is singular.
262144
+ */
261907
262145
  cloneTransformed(transform) {
261908
262146
  const result = this.clone();
261909
- result.tryTransformInPlace(transform);
261910
- return result;
262147
+ return result.tryTransformInPlace(transform) ? result : undefined;
261911
262148
  }
261912
262149
  /** Dispatch to strongly typed handler `handler.handleRotationalSweep(this)` */
261913
262150
  dispatchToGeometryHandler(handler) {
@@ -262043,20 +262280,26 @@ class RuledSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimi
262043
262280
  clone() {
262044
262281
  return new RuledSweep(this.cloneSweepContours(), this.capped);
262045
262282
  }
262046
- /** Transform all contours in place. */
262283
+ /**
262284
+ * Transform all contours in place.
262285
+ * * This fails if the transformation is singular.
262286
+ */
262047
262287
  tryTransformInPlace(transform) {
262048
262288
  if (transform.matrix.isSingular())
262049
262289
  return false;
262050
262290
  for (const contour of this._contours) {
262051
- contour.tryTransformInPlace(transform);
262291
+ if (!contour.tryTransformInPlace(transform))
262292
+ return false;
262052
262293
  }
262053
262294
  return true;
262054
262295
  }
262055
- /** Return a cloned transform. */
262296
+ /**
262297
+ * Return a transformed clone.
262298
+ * * This fails if the transformation is singular.
262299
+ */
262056
262300
  cloneTransformed(transform) {
262057
262301
  const result = this.clone();
262058
- result.tryTransformInPlace(transform);
262059
- return result;
262302
+ return result.tryTransformInPlace(transform) ? result : undefined;
262060
262303
  }
262061
262304
  /** Return a coordinate frame (right handed unit vectors)
262062
262305
  * * origin on base contour
@@ -262237,12 +262480,12 @@ __webpack_require__.r(__webpack_exports__);
262237
262480
  /* harmony import */ var _curve_Loop__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../curve/Loop */ "../../core/geometry/lib/esm/curve/Loop.js");
262238
262481
  /* harmony import */ var _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../curve/StrokeOptions */ "../../core/geometry/lib/esm/curve/StrokeOptions.js");
262239
262482
  /* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
262240
- /* harmony import */ var _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../geometry3d/AngleSweep */ "../../core/geometry/lib/esm/geometry3d/AngleSweep.js");
262241
- /* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
262483
+ /* harmony import */ var _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/AngleSweep */ "../../core/geometry/lib/esm/geometry3d/AngleSweep.js");
262484
+ /* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
262242
262485
  /* harmony import */ var _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../geometry3d/Plane3dByOriginAndVectors */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndVectors.js");
262243
262486
  /* harmony import */ var _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../geometry3d/Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
262244
262487
  /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
262245
- /* harmony import */ var _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../geometry3d/Transform */ "../../core/geometry/lib/esm/geometry3d/Transform.js");
262488
+ /* harmony import */ var _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../geometry3d/Transform */ "../../core/geometry/lib/esm/geometry3d/Transform.js");
262246
262489
  /* harmony import */ var _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SolidPrimitive */ "../../core/geometry/lib/esm/solid/SolidPrimitive.js");
262247
262490
  /*---------------------------------------------------------------------------------------------
262248
262491
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -262286,32 +262529,32 @@ class Sphere extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive
262286
262529
  /** String name for schema properties */
262287
262530
  this.solidPrimitiveType = "sphere";
262288
262531
  this._localToWorld = localToWorld;
262289
- this._latitudeSweep = latitudeSweep ? latitudeSweep : _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_1__.AngleSweep.createFullLatitude();
262532
+ this._latitudeSweep = latitudeSweep;
262290
262533
  this._latitudeSweep.capLatitudeInPlace();
262291
262534
  }
262292
262535
  /** return a deep clone */
262293
262536
  clone() {
262294
262537
  return new Sphere(this._localToWorld.clone(), this._latitudeSweep.clone(), this.capped);
262295
262538
  }
262296
- /** Transform the sphere in place.
262539
+ /**
262540
+ * Transform the sphere in place.
262297
262541
  * * Fails if the transform is singular.
262298
262542
  */
262299
262543
  tryTransformInPlace(transform) {
262300
262544
  if (transform.matrix.isSingular())
262301
262545
  return false;
262302
262546
  transform.multiplyTransformTransform(this._localToWorld, this._localToWorld);
262547
+ if (transform.matrix.determinant() < 0.0)
262548
+ this._latitudeSweep.reverseInPlace();
262303
262549
  return true;
262304
262550
  }
262305
- /** Return a transformed clone. */
262551
+ /**
262552
+ * Return a transformed clone.
262553
+ * * Fails if the transform is singular.
262554
+ */
262306
262555
  cloneTransformed(transform) {
262307
- const sphere1 = this.clone();
262308
- transform.multiplyTransformTransform(sphere1._localToWorld, sphere1._localToWorld);
262309
- if (transform.matrix.determinant() < 0.0) {
262310
- if (sphere1._latitudeSweep !== undefined) {
262311
- sphere1._latitudeSweep.reverseInPlace();
262312
- }
262313
- }
262314
- return sphere1;
262556
+ const result = this.clone();
262557
+ return result.tryTransformInPlace(transform) ? result : undefined;
262315
262558
  }
262316
262559
  /** Return a coordinate frame (right handed, unit axes)
262317
262560
  * * origin at sphere center
@@ -262325,8 +262568,8 @@ class Sphere extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive
262325
262568
  get latitudeSweepFraction() { return this._latitudeSweep.sweepRadians / Math.PI; }
262326
262569
  /** Create from center and radius, with optional restricted latitudes. */
262327
262570
  static createCenterRadius(center, radius, latitudeSweep) {
262328
- const localToWorld = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_2__.Transform.createOriginAndMatrix(center, _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createUniformScale(radius));
262329
- return new Sphere(localToWorld, latitudeSweep ? latitudeSweep.clone() : _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_1__.AngleSweep.createFullLatitude(), false);
262571
+ const localToWorld = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_1__.Transform.createOriginAndMatrix(center, _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_2__.Matrix3d.createUniformScale(radius));
262572
+ return new Sphere(localToWorld, latitudeSweep ? latitudeSweep.clone() : _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_3__.AngleSweep.createFullLatitude(), false);
262330
262573
  }
262331
262574
  /** Create an ellipsoid which is a unit sphere mapped to position by an (arbitrary, possibly skewed and scaled) transform. */
262332
262575
  static createEllipsoid(localToWorld, latitudeSweep, capped) {
@@ -262336,18 +262579,18 @@ class Sphere extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive
262336
262579
  static createDgnSphere(center, vectorX, vectorZ, radiusXY, radiusZ, latitudeSweep, capped) {
262337
262580
  const vectorY = vectorX.rotate90Around(vectorZ);
262338
262581
  if (vectorY && !vectorX.isParallelTo(vectorZ)) {
262339
- const matrix = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createColumns(vectorX, vectorY, vectorZ);
262582
+ const matrix = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_2__.Matrix3d.createColumns(vectorX, vectorY, vectorZ);
262340
262583
  matrix.scaleColumns(radiusXY, radiusXY, radiusZ, matrix);
262341
- const frame = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_2__.Transform.createOriginAndMatrix(center, matrix);
262584
+ const frame = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_1__.Transform.createOriginAndMatrix(center, matrix);
262342
262585
  return new Sphere(frame, latitudeSweep.clone(), capped);
262343
262586
  }
262344
262587
  return undefined;
262345
262588
  }
262346
262589
  /** Create a sphere from the typical parameters of the Dgn file */
262347
262590
  static createFromAxesAndScales(center, axes, radiusX, radiusY, radiusZ, latitudeSweep, capped) {
262348
- const localToWorld = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_2__.Transform.createOriginAndMatrix(center, axes);
262591
+ const localToWorld = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_1__.Transform.createOriginAndMatrix(center, axes);
262349
262592
  localToWorld.matrix.scaleColumnsInPlace(radiusX, radiusY, radiusZ);
262350
- return new Sphere(localToWorld, latitudeSweep ? latitudeSweep.clone() : _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_1__.AngleSweep.createFullLatitude(), capped);
262593
+ return new Sphere(localToWorld, latitudeSweep ? latitudeSweep.clone() : _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_3__.AngleSweep.createFullLatitude(), capped);
262351
262594
  }
262352
262595
  /** return (copy of) sphere center */
262353
262596
  cloneCenter() { return this._localToWorld.getOrigin(); }
@@ -262393,10 +262636,16 @@ class Sphere extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive
262393
262636
  return false;
262394
262637
  }
262395
262638
  /**
262396
- * return strokes for a cross-section (elliptic arc) at specified fraction v along the axis.
262397
- * * if strokeOptions is supplied, it is applied to the equator radii.
262398
- * @param v fractional position along the cone axis
262399
- * @param strokes stroke count or options.
262639
+ * Return strokes for the elliptical arc cross-section at latitude sweep fraction v.
262640
+ * * Optional inputs control the number of strokes along the cross-section:
262641
+ * * If `fixedStrokeCount` is supplied, it is taken as the cross-section stroke count.
262642
+ * * If `fixedStrokeCount` is undefined, stroke count is computed by applying `options` to the cross-section.
262643
+ * * If neither input is supplied, the stroke count default is 16.
262644
+ * * In any case, stroke count is clamped to the interval [4,64].
262645
+ * @param v fractional position along the sphere axis
262646
+ * @param fixedStrokeCount optional stroke count in u-direction
262647
+ * @param options optional stroke options in u-direction
262648
+ * @return strokes as line string
262400
262649
  */
262401
262650
  strokeConstantVSection(v, fixedStrokeCount, options) {
262402
262651
  let strokeCount = 16;
@@ -262412,7 +262661,7 @@ class Sphere extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive
262412
262661
  const c1 = Math.cos(phi);
262413
262662
  const s1 = Math.sin(phi);
262414
262663
  let c0, s0;
262415
- const result = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_6__.LineString3d.createForStrokes(fixedStrokeCount, options);
262664
+ const result = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_6__.LineString3d.createForStrokes(strokeCount, options);
262416
262665
  const deltaRadians = Math.PI * 2.0 / strokeCount;
262417
262666
  const fractions = result.fractions; // possibly undefined !!!
262418
262667
  const derivatives = result.packedDerivatives; // possibly undefined !!!
@@ -262639,7 +262888,7 @@ class SweepContour {
262639
262888
  return undefined;
262640
262889
  }
262641
262890
  /** Create for rotational sweep.
262642
- * @param contour curve to sweep, CAPTURED. For best results, contour should be planar.
262891
+ * @param contour curve to sweep, CAPTURED. For best results, contour should be coplanar with axis.
262643
262892
  * @param axis rotation axis
262644
262893
  */
262645
262894
  static createForRotation(contour, axis) {
@@ -262897,19 +263146,23 @@ class TorusPipe extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimit
262897
263146
  result._isReversed = this._isReversed;
262898
263147
  return result;
262899
263148
  }
262900
- /** Apply `transform` to the local coordinate system. */
263149
+ /**
263150
+ * Apply `transform` to the local coordinate system.
263151
+ * * Fails if the transformation is singular.
263152
+ */
262901
263153
  tryTransformInPlace(transform) {
262902
263154
  if (transform.matrix.isSingular())
262903
263155
  return false;
262904
263156
  transform.multiplyTransformTransform(this._localToWorld, this._localToWorld);
262905
263157
  return true;
262906
263158
  }
262907
- /** Clone this TorusPipe and transform the clone */
263159
+ /**
263160
+ * Clone this TorusPipe and transform the clone.
263161
+ * * Fails if the transformation is singular.
263162
+ */
262908
263163
  cloneTransformed(transform) {
262909
263164
  const result = this.clone();
262910
- if (!result.tryTransformInPlace(transform))
262911
- return undefined;
262912
- return result;
263165
+ return result.tryTransformInPlace(transform) ? result : undefined;
262913
263166
  }
262914
263167
  /** Create a new `TorusPipe`
262915
263168
  * @param frame local to world transformation. For best results, the matrix part should be a pure rotation.
@@ -290386,7 +290639,7 @@ exports.getRpcInterfaces = getRpcInterfaces;
290386
290639
  *--------------------------------------------------------------------------------------------*/
290387
290640
  const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
290388
290641
  const core_common_1 = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
290389
- const ecschema_rpcinterface_common_1 = __webpack_require__(/*! @itwin/ecschema-rpcinterface-common */ "../../core/ecschema-rpc/common/lib/cjs/ecschema-rpc-interface.js");
290642
+ const ecschema_rpcinterface_common_1 = __webpack_require__(/*! @itwin/ecschema-rpcinterface-common */ "../../core/ecschema-rpc/common/lib/esm/ecschema-rpc-interface.js");
290390
290643
  function getRpcInterfaces() {
290391
290644
  const rpcInterfaces = [];
290392
290645
  rpcInterfaces.push(core_common_1.IModelReadRpcInterface);
@@ -296142,9 +296395,9 @@ const gBase64 = {
296142
296395
 
296143
296396
  /***/ }),
296144
296397
 
296145
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
296398
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
296146
296399
  /*!******************************************************************************************************************************!*\
296147
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
296400
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
296148
296401
  \******************************************************************************************************************************/
296149
296402
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296150
296403
 
@@ -296162,9 +296415,9 @@ function _arrayLikeToArray(r, a) {
296162
296415
 
296163
296416
  /***/ }),
296164
296417
 
296165
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
296418
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
296166
296419
  /*!****************************************************************************************************************************!*\
296167
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
296420
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
296168
296421
  \****************************************************************************************************************************/
296169
296422
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296170
296423
 
@@ -296180,9 +296433,9 @@ function _arrayWithHoles(r) {
296180
296433
 
296181
296434
  /***/ }),
296182
296435
 
296183
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
296436
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
296184
296437
  /*!***********************************************************************************************************************************!*\
296185
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
296438
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
296186
296439
  \***********************************************************************************************************************************/
296187
296440
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296188
296441
 
@@ -296199,9 +296452,9 @@ function _assertThisInitialized(e) {
296199
296452
 
296200
296453
  /***/ }),
296201
296454
 
296202
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
296455
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
296203
296456
  /*!****************************************************************************************************************************!*\
296204
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
296457
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
296205
296458
  \****************************************************************************************************************************/
296206
296459
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296207
296460
 
@@ -296217,9 +296470,9 @@ function _classCallCheck(a, n) {
296217
296470
 
296218
296471
  /***/ }),
296219
296472
 
296220
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
296473
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
296221
296474
  /*!*************************************************************************************************************************!*\
296222
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
296475
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
296223
296476
  \*************************************************************************************************************************/
296224
296477
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296225
296478
 
@@ -296228,7 +296481,7 @@ __webpack_require__.r(__webpack_exports__);
296228
296481
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296229
296482
  /* harmony export */ "default": () => (/* binding */ _createClass)
296230
296483
  /* harmony export */ });
296231
- /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
296484
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
296232
296485
 
296233
296486
  function _defineProperties(e, r) {
296234
296487
  for (var t = 0; t < r.length; t++) {
@@ -296245,9 +296498,9 @@ function _createClass(e, r, t) {
296245
296498
 
296246
296499
  /***/ }),
296247
296500
 
296248
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
296501
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
296249
296502
  /*!****************************************************************************************************************************!*\
296250
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
296503
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
296251
296504
  \****************************************************************************************************************************/
296252
296505
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296253
296506
 
@@ -296256,7 +296509,7 @@ __webpack_require__.r(__webpack_exports__);
296256
296509
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296257
296510
  /* harmony export */ "default": () => (/* binding */ _defineProperty)
296258
296511
  /* harmony export */ });
296259
- /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
296512
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
296260
296513
 
296261
296514
  function _defineProperty(e, r, t) {
296262
296515
  return (r = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r)) in e ? Object.defineProperty(e, r, {
@@ -296270,9 +296523,9 @@ function _defineProperty(e, r, t) {
296270
296523
 
296271
296524
  /***/ }),
296272
296525
 
296273
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
296526
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
296274
296527
  /*!****************************************************************************************************************************!*\
296275
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
296528
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
296276
296529
  \****************************************************************************************************************************/
296277
296530
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296278
296531
 
@@ -296290,9 +296543,9 @@ function _getPrototypeOf(t) {
296290
296543
 
296291
296544
  /***/ }),
296292
296545
 
296293
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
296546
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
296294
296547
  /*!**********************************************************************************************************************!*\
296295
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
296548
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
296296
296549
  \**********************************************************************************************************************/
296297
296550
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296298
296551
 
@@ -296301,7 +296554,7 @@ __webpack_require__.r(__webpack_exports__);
296301
296554
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296302
296555
  /* harmony export */ "default": () => (/* binding */ _inherits)
296303
296556
  /* harmony export */ });
296304
- /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
296557
+ /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
296305
296558
 
296306
296559
  function _inherits(t, e) {
296307
296560
  if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
@@ -296319,9 +296572,9 @@ function _inherits(t, e) {
296319
296572
 
296320
296573
  /***/ }),
296321
296574
 
296322
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
296575
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
296323
296576
  /*!*****************************************************************************************************************************!*\
296324
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
296577
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
296325
296578
  \*****************************************************************************************************************************/
296326
296579
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296327
296580
 
@@ -296337,9 +296590,9 @@ function _iterableToArray(r) {
296337
296590
 
296338
296591
  /***/ }),
296339
296592
 
296340
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
296593
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
296341
296594
  /*!*****************************************************************************************************************************!*\
296342
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
296595
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
296343
296596
  \*****************************************************************************************************************************/
296344
296597
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296345
296598
 
@@ -296355,9 +296608,9 @@ function _nonIterableRest() {
296355
296608
 
296356
296609
  /***/ }),
296357
296610
 
296358
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
296611
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
296359
296612
  /*!***************************************************************************************************************************************!*\
296360
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
296613
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
296361
296614
  \***************************************************************************************************************************************/
296362
296615
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296363
296616
 
@@ -296366,8 +296619,8 @@ __webpack_require__.r(__webpack_exports__);
296366
296619
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296367
296620
  /* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
296368
296621
  /* harmony export */ });
296369
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
296370
- /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
296622
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
296623
+ /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
296371
296624
 
296372
296625
 
296373
296626
  function _possibleConstructorReturn(t, e) {
@@ -296379,9 +296632,9 @@ function _possibleConstructorReturn(t, e) {
296379
296632
 
296380
296633
  /***/ }),
296381
296634
 
296382
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
296635
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
296383
296636
  /*!****************************************************************************************************************************!*\
296384
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
296637
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
296385
296638
  \****************************************************************************************************************************/
296386
296639
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296387
296640
 
@@ -296399,9 +296652,9 @@ function _setPrototypeOf(t, e) {
296399
296652
 
296400
296653
  /***/ }),
296401
296654
 
296402
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
296655
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
296403
296656
  /*!*********************************************************************************************************************!*\
296404
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
296657
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
296405
296658
  \*********************************************************************************************************************/
296406
296659
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296407
296660
 
@@ -296410,10 +296663,10 @@ __webpack_require__.r(__webpack_exports__);
296410
296663
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296411
296664
  /* harmony export */ "default": () => (/* binding */ _toArray)
296412
296665
  /* harmony export */ });
296413
- /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
296414
- /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
296415
- /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
296416
- /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
296666
+ /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
296667
+ /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
296668
+ /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
296669
+ /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
296417
296670
 
296418
296671
 
296419
296672
 
@@ -296425,9 +296678,9 @@ function _toArray(r) {
296425
296678
 
296426
296679
  /***/ }),
296427
296680
 
296428
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
296681
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
296429
296682
  /*!*************************************************************************************************************************!*\
296430
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
296683
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
296431
296684
  \*************************************************************************************************************************/
296432
296685
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296433
296686
 
@@ -296436,7 +296689,7 @@ __webpack_require__.r(__webpack_exports__);
296436
296689
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296437
296690
  /* harmony export */ "default": () => (/* binding */ toPrimitive)
296438
296691
  /* harmony export */ });
296439
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
296692
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
296440
296693
 
296441
296694
  function toPrimitive(t, r) {
296442
296695
  if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
@@ -296452,9 +296705,9 @@ function toPrimitive(t, r) {
296452
296705
 
296453
296706
  /***/ }),
296454
296707
 
296455
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
296708
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
296456
296709
  /*!***************************************************************************************************************************!*\
296457
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
296710
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
296458
296711
  \***************************************************************************************************************************/
296459
296712
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296460
296713
 
@@ -296463,8 +296716,8 @@ __webpack_require__.r(__webpack_exports__);
296463
296716
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296464
296717
  /* harmony export */ "default": () => (/* binding */ toPropertyKey)
296465
296718
  /* harmony export */ });
296466
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
296467
- /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
296719
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
296720
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
296468
296721
 
296469
296722
 
296470
296723
  function toPropertyKey(t) {
@@ -296475,9 +296728,9 @@ function toPropertyKey(t) {
296475
296728
 
296476
296729
  /***/ }),
296477
296730
 
296478
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
296731
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
296479
296732
  /*!********************************************************************************************************************!*\
296480
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
296733
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
296481
296734
  \********************************************************************************************************************/
296482
296735
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296483
296736
 
@@ -296499,9 +296752,9 @@ function _typeof(o) {
296499
296752
 
296500
296753
  /***/ }),
296501
296754
 
296502
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
296755
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
296503
296756
  /*!****************************************************************************************************************************************!*\
296504
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
296757
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
296505
296758
  \****************************************************************************************************************************************/
296506
296759
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296507
296760
 
@@ -296510,7 +296763,7 @@ __webpack_require__.r(__webpack_exports__);
296510
296763
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296511
296764
  /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
296512
296765
  /* harmony export */ });
296513
- /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
296766
+ /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
296514
296767
 
296515
296768
  function _unsupportedIterableToArray(r, a) {
296516
296769
  if (r) {
@@ -296523,9 +296776,9 @@ function _unsupportedIterableToArray(r, a) {
296523
296776
 
296524
296777
  /***/ }),
296525
296778
 
296526
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js":
296779
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js":
296527
296780
  /*!************************************************************************************!*\
296528
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js ***!
296781
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js ***!
296529
296782
  \************************************************************************************/
296530
296783
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296531
296784
 
@@ -296550,7 +296803,7 @@ __webpack_require__.r(__webpack_exports__);
296550
296803
  /* harmony export */ "spread": () => (/* binding */ spread),
296551
296804
  /* harmony export */ "toFormData": () => (/* binding */ toFormData)
296552
296805
  /* harmony export */ });
296553
- /* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js");
296806
+ /* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js");
296554
296807
 
296555
296808
 
296556
296809
  // This module is intended to unwrap Axios default export as named.
@@ -296580,9 +296833,9 @@ const {
296580
296833
 
296581
296834
  /***/ }),
296582
296835
 
296583
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js":
296836
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js":
296584
296837
  /*!****************************************************************************************************!*\
296585
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js ***!
296838
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js ***!
296586
296839
  \****************************************************************************************************/
296587
296840
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296588
296841
 
@@ -296591,11 +296844,11 @@ __webpack_require__.r(__webpack_exports__);
296591
296844
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296592
296845
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
296593
296846
  /* harmony export */ });
296594
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
296595
- /* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js");
296596
- /* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js");
296597
- /* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js");
296598
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
296847
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
296848
+ /* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js");
296849
+ /* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js");
296850
+ /* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js");
296851
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
296599
296852
 
296600
296853
 
296601
296854
 
@@ -296679,9 +296932,9 @@ const isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_3__["de
296679
296932
 
296680
296933
  /***/ }),
296681
296934
 
296682
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js":
296935
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js":
296683
296936
  /*!*************************************************************************************************!*\
296684
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js ***!
296937
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js ***!
296685
296938
  \*************************************************************************************************/
296686
296939
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296687
296940
 
@@ -296690,15 +296943,15 @@ __webpack_require__.r(__webpack_exports__);
296690
296943
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296691
296944
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
296692
296945
  /* harmony export */ });
296693
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
296694
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
296695
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
296696
- /* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js");
296697
- /* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js");
296698
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
296699
- /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js");
296700
- /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js");
296701
- /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js");
296946
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
296947
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
296948
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
296949
+ /* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js");
296950
+ /* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js");
296951
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
296952
+ /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js");
296953
+ /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js");
296954
+ /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js");
296702
296955
 
296703
296956
 
296704
296957
 
@@ -296770,7 +297023,11 @@ const getBodyLength = async (body) => {
296770
297023
  }
296771
297024
 
296772
297025
  if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isSpecCompliantForm(body)) {
296773
- return (await new Request(body).arrayBuffer()).byteLength;
297026
+ const _request = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, {
297027
+ method: 'POST',
297028
+ body,
297029
+ });
297030
+ return (await _request.arrayBuffer()).byteLength;
296774
297031
  }
296775
297032
 
296776
297033
  if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBufferView(body) || _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBuffer(body)) {
@@ -296810,18 +297067,13 @@ const resolveBodyLength = async (headers, body) => {
296810
297067
 
296811
297068
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
296812
297069
 
296813
- let [composedSignal, stopTimeout] = (signal || cancelToken || timeout) ?
296814
- (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken], timeout) : [];
297070
+ let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
296815
297071
 
296816
- let finished, request;
297072
+ let request;
296817
297073
 
296818
- const onFinish = () => {
296819
- !finished && setTimeout(() => {
296820
- composedSignal && composedSignal.unsubscribe();
296821
- });
296822
-
296823
- finished = true;
296824
- }
297074
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
297075
+ composedSignal.unsubscribe();
297076
+ });
296825
297077
 
296826
297078
  let requestContentLength;
296827
297079
 
@@ -296848,7 +297100,7 @@ const resolveBodyLength = async (headers, body) => {
296848
297100
  (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onUploadProgress))
296849
297101
  );
296850
297102
 
296851
- data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
297103
+ data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
296852
297104
  }
296853
297105
  }
296854
297106
 
@@ -296856,6 +297108,9 @@ const resolveBodyLength = async (headers, body) => {
296856
297108
  withCredentials = withCredentials ? 'include' : 'omit';
296857
297109
  }
296858
297110
 
297111
+ // Cloudflare Workers throws when credentials are defined
297112
+ // see https://github.com/cloudflare/workerd/issues/902
297113
+ const isCredentialsSupported = "credentials" in Request.prototype;
296859
297114
  request = new Request(url, {
296860
297115
  ...fetchOptions,
296861
297116
  signal: composedSignal,
@@ -296863,14 +297118,14 @@ const resolveBodyLength = async (headers, body) => {
296863
297118
  headers: headers.normalize().toJSON(),
296864
297119
  body: data,
296865
297120
  duplex: "half",
296866
- credentials: withCredentials
297121
+ credentials: isCredentialsSupported ? withCredentials : undefined
296867
297122
  });
296868
297123
 
296869
297124
  let response = await fetch(request);
296870
297125
 
296871
297126
  const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
296872
297127
 
296873
- if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
297128
+ if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
296874
297129
  const options = {};
296875
297130
 
296876
297131
  ['status', 'statusText', 'headers'].forEach(prop => {
@@ -296887,8 +297142,8 @@ const resolveBodyLength = async (headers, body) => {
296887
297142
  response = new Response(
296888
297143
  (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
296889
297144
  flush && flush();
296890
- isStreamResponse && onFinish();
296891
- }, encodeText),
297145
+ unsubscribe && unsubscribe();
297146
+ }),
296892
297147
  options
296893
297148
  );
296894
297149
  }
@@ -296897,9 +297152,7 @@ const resolveBodyLength = async (headers, body) => {
296897
297152
 
296898
297153
  let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].findKey(resolvers, responseType) || 'text'](response, config);
296899
297154
 
296900
- !isStreamResponse && onFinish();
296901
-
296902
- stopTimeout && stopTimeout();
297155
+ !isStreamResponse && unsubscribe && unsubscribe();
296903
297156
 
296904
297157
  return await new Promise((resolve, reject) => {
296905
297158
  (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_7__["default"])(resolve, reject, {
@@ -296912,7 +297165,7 @@ const resolveBodyLength = async (headers, body) => {
296912
297165
  })
296913
297166
  })
296914
297167
  } catch (err) {
296915
- onFinish();
297168
+ unsubscribe && unsubscribe();
296916
297169
 
296917
297170
  if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
296918
297171
  throw Object.assign(
@@ -296932,9 +297185,9 @@ const resolveBodyLength = async (headers, body) => {
296932
297185
 
296933
297186
  /***/ }),
296934
297187
 
296935
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js":
297188
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js":
296936
297189
  /*!***********************************************************************************************!*\
296937
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js ***!
297190
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js ***!
296938
297191
  \***********************************************************************************************/
296939
297192
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296940
297193
 
@@ -296943,16 +297196,16 @@ __webpack_require__.r(__webpack_exports__);
296943
297196
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296944
297197
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
296945
297198
  /* harmony export */ });
296946
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
296947
- /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js");
296948
- /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js");
296949
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
296950
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
296951
- /* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js");
296952
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
296953
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
296954
- /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js");
296955
- /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js");
297199
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
297200
+ /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js");
297201
+ /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js");
297202
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
297203
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js");
297204
+ /* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js");
297205
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
297206
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
297207
+ /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js");
297208
+ /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js");
296956
297209
 
296957
297210
 
296958
297211
 
@@ -297154,9 +297407,9 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
297154
297407
 
297155
297408
  /***/ }),
297156
297409
 
297157
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js":
297410
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js":
297158
297411
  /*!****************************************************************************************!*\
297159
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js ***!
297412
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js ***!
297160
297413
  \****************************************************************************************/
297161
297414
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297162
297415
 
@@ -297165,23 +297418,23 @@ __webpack_require__.r(__webpack_exports__);
297165
297418
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297166
297419
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297167
297420
  /* harmony export */ });
297168
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
297169
- /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js");
297170
- /* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js");
297171
- /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js");
297172
- /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js");
297173
- /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js");
297174
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
297175
- /* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js");
297176
- /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js");
297177
- /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js");
297178
- /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
297179
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
297180
- /* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js");
297181
- /* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js");
297182
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
297183
- /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js");
297184
- /* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js");
297421
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
297422
+ /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js");
297423
+ /* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js");
297424
+ /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js");
297425
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js");
297426
+ /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js");
297427
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js");
297428
+ /* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js");
297429
+ /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js");
297430
+ /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js");
297431
+ /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js");
297432
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
297433
+ /* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js");
297434
+ /* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js");
297435
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
297436
+ /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js");
297437
+ /* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js");
297185
297438
 
297186
297439
 
297187
297440
 
@@ -297275,9 +297528,9 @@ axios.default = axios;
297275
297528
 
297276
297529
  /***/ }),
297277
297530
 
297278
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js":
297531
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js":
297279
297532
  /*!*****************************************************************************************************!*\
297280
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js ***!
297533
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js ***!
297281
297534
  \*****************************************************************************************************/
297282
297535
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297283
297536
 
@@ -297286,7 +297539,7 @@ __webpack_require__.r(__webpack_exports__);
297286
297539
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297287
297540
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297288
297541
  /* harmony export */ });
297289
- /* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
297542
+ /* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js");
297290
297543
 
297291
297544
 
297292
297545
 
@@ -297391,6 +297644,20 @@ class CancelToken {
297391
297644
  }
297392
297645
  }
297393
297646
 
297647
+ toAbortSignal() {
297648
+ const controller = new AbortController();
297649
+
297650
+ const abort = (err) => {
297651
+ controller.abort(err);
297652
+ };
297653
+
297654
+ this.subscribe(abort);
297655
+
297656
+ controller.signal.unsubscribe = () => this.unsubscribe(abort);
297657
+
297658
+ return controller.signal;
297659
+ }
297660
+
297394
297661
  /**
297395
297662
  * Returns an object that contains a new `CancelToken` and a function that, when called,
297396
297663
  * cancels the `CancelToken`.
@@ -297412,9 +297679,9 @@ class CancelToken {
297412
297679
 
297413
297680
  /***/ }),
297414
297681
 
297415
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js":
297682
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js":
297416
297683
  /*!*******************************************************************************************************!*\
297417
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js ***!
297684
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js ***!
297418
297685
  \*******************************************************************************************************/
297419
297686
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297420
297687
 
@@ -297423,8 +297690,8 @@ __webpack_require__.r(__webpack_exports__);
297423
297690
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297424
297691
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297425
297692
  /* harmony export */ });
297426
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
297427
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
297693
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
297694
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
297428
297695
 
297429
297696
 
297430
297697
 
@@ -297454,9 +297721,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].inherits(CanceledError, _core_
297454
297721
 
297455
297722
  /***/ }),
297456
297723
 
297457
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js":
297724
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js":
297458
297725
  /*!**************************************************************************************************!*\
297459
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js ***!
297726
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js ***!
297460
297727
  \**************************************************************************************************/
297461
297728
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297462
297729
 
@@ -297474,9 +297741,9 @@ function isCancel(value) {
297474
297741
 
297475
297742
  /***/ }),
297476
297743
 
297477
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js":
297744
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js":
297478
297745
  /*!*********************************************************************************************!*\
297479
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js ***!
297746
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js ***!
297480
297747
  \*********************************************************************************************/
297481
297748
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297482
297749
 
@@ -297485,14 +297752,14 @@ __webpack_require__.r(__webpack_exports__);
297485
297752
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297486
297753
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297487
297754
  /* harmony export */ });
297488
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
297489
- /* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js");
297490
- /* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js");
297491
- /* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js");
297492
- /* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js");
297493
- /* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js");
297494
- /* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js");
297495
- /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
297755
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
297756
+ /* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js");
297757
+ /* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js");
297758
+ /* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js");
297759
+ /* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js");
297760
+ /* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js");
297761
+ /* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js");
297762
+ /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
297496
297763
 
297497
297764
 
297498
297765
 
@@ -297725,9 +297992,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
297725
297992
 
297726
297993
  /***/ }),
297727
297994
 
297728
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js":
297995
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js":
297729
297996
  /*!**************************************************************************************************!*\
297730
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js ***!
297997
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js ***!
297731
297998
  \**************************************************************************************************/
297732
297999
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297733
298000
 
@@ -297736,7 +298003,7 @@ __webpack_require__.r(__webpack_exports__);
297736
298003
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297737
298004
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297738
298005
  /* harmony export */ });
297739
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
298006
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
297740
298007
 
297741
298008
 
297742
298009
 
@@ -297766,7 +298033,10 @@ function AxiosError(message, code, config, request, response) {
297766
298033
  code && (this.code = code);
297767
298034
  config && (this.config = config);
297768
298035
  request && (this.request = request);
297769
- response && (this.response = response);
298036
+ if (response) {
298037
+ this.response = response;
298038
+ this.status = response.status ? response.status : null;
298039
+ }
297770
298040
  }
297771
298041
 
297772
298042
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].inherits(AxiosError, Error, {
@@ -297786,7 +298056,7 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].inherits(AxiosError, Error, {
297786
298056
  // Axios
297787
298057
  config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config),
297788
298058
  code: this.code,
297789
- status: this.response && this.response.status ? this.response.status : null
298059
+ status: this.status
297790
298060
  };
297791
298061
  }
297792
298062
  });
@@ -297841,9 +298111,9 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
297841
298111
 
297842
298112
  /***/ }),
297843
298113
 
297844
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js":
298114
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js":
297845
298115
  /*!****************************************************************************************************!*\
297846
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js ***!
298116
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js ***!
297847
298117
  \****************************************************************************************************/
297848
298118
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297849
298119
 
@@ -297852,8 +298122,8 @@ __webpack_require__.r(__webpack_exports__);
297852
298122
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297853
298123
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297854
298124
  /* harmony export */ });
297855
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
297856
- /* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js");
298125
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
298126
+ /* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js");
297857
298127
 
297858
298128
 
297859
298129
 
@@ -298160,9 +298430,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
298160
298430
 
298161
298431
  /***/ }),
298162
298432
 
298163
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js":
298433
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js":
298164
298434
  /*!**********************************************************************************************************!*\
298165
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js ***!
298435
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js ***!
298166
298436
  \**********************************************************************************************************/
298167
298437
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298168
298438
 
@@ -298171,7 +298441,7 @@ __webpack_require__.r(__webpack_exports__);
298171
298441
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298172
298442
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
298173
298443
  /* harmony export */ });
298174
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
298444
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
298175
298445
 
298176
298446
 
298177
298447
 
@@ -298247,9 +298517,9 @@ class InterceptorManager {
298247
298517
 
298248
298518
  /***/ }),
298249
298519
 
298250
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js":
298520
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js":
298251
298521
  /*!*****************************************************************************************************!*\
298252
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js ***!
298522
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js ***!
298253
298523
  \*****************************************************************************************************/
298254
298524
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298255
298525
 
@@ -298258,8 +298528,8 @@ __webpack_require__.r(__webpack_exports__);
298258
298528
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298259
298529
  /* harmony export */ "default": () => (/* binding */ buildFullPath)
298260
298530
  /* harmony export */ });
298261
- /* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js");
298262
- /* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js");
298531
+ /* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js");
298532
+ /* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js");
298263
298533
 
298264
298534
 
298265
298535
 
@@ -298285,9 +298555,9 @@ function buildFullPath(baseURL, requestedURL) {
298285
298555
 
298286
298556
  /***/ }),
298287
298557
 
298288
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js":
298558
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js":
298289
298559
  /*!*******************************************************************************************************!*\
298290
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js ***!
298560
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js ***!
298291
298561
  \*******************************************************************************************************/
298292
298562
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298293
298563
 
@@ -298296,12 +298566,12 @@ __webpack_require__.r(__webpack_exports__);
298296
298566
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298297
298567
  /* harmony export */ "default": () => (/* binding */ dispatchRequest)
298298
298568
  /* harmony export */ });
298299
- /* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js");
298300
- /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js");
298301
- /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js");
298302
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
298303
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
298304
- /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js");
298569
+ /* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js");
298570
+ /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js");
298571
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js");
298572
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js");
298573
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
298574
+ /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js");
298305
298575
 
298306
298576
 
298307
298577
 
@@ -298387,9 +298657,9 @@ function dispatchRequest(config) {
298387
298657
 
298388
298658
  /***/ }),
298389
298659
 
298390
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js":
298660
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js":
298391
298661
  /*!***************************************************************************************************!*\
298392
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js ***!
298662
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js ***!
298393
298663
  \***************************************************************************************************/
298394
298664
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298395
298665
 
@@ -298398,8 +298668,8 @@ __webpack_require__.r(__webpack_exports__);
298398
298668
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298399
298669
  /* harmony export */ "default": () => (/* binding */ mergeConfig)
298400
298670
  /* harmony export */ });
298401
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
298402
- /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
298671
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
298672
+ /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
298403
298673
 
298404
298674
 
298405
298675
 
@@ -298510,9 +298780,9 @@ function mergeConfig(config1, config2) {
298510
298780
 
298511
298781
  /***/ }),
298512
298782
 
298513
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js":
298783
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js":
298514
298784
  /*!**********************************************************************************************!*\
298515
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js ***!
298785
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js ***!
298516
298786
  \**********************************************************************************************/
298517
298787
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298518
298788
 
@@ -298521,7 +298791,7 @@ __webpack_require__.r(__webpack_exports__);
298521
298791
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298522
298792
  /* harmony export */ "default": () => (/* binding */ settle)
298523
298793
  /* harmony export */ });
298524
- /* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
298794
+ /* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
298525
298795
 
298526
298796
 
298527
298797
 
@@ -298553,9 +298823,9 @@ function settle(resolve, reject, response) {
298553
298823
 
298554
298824
  /***/ }),
298555
298825
 
298556
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js":
298826
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js":
298557
298827
  /*!*****************************************************************************************************!*\
298558
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js ***!
298828
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js ***!
298559
298829
  \*****************************************************************************************************/
298560
298830
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298561
298831
 
@@ -298564,9 +298834,9 @@ __webpack_require__.r(__webpack_exports__);
298564
298834
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298565
298835
  /* harmony export */ "default": () => (/* binding */ transformData)
298566
298836
  /* harmony export */ });
298567
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
298568
- /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js");
298569
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
298837
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
298838
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js");
298839
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
298570
298840
 
298571
298841
 
298572
298842
 
@@ -298599,9 +298869,9 @@ function transformData(fns, response) {
298599
298869
 
298600
298870
  /***/ }),
298601
298871
 
298602
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js":
298872
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js":
298603
298873
  /*!*************************************************************************************************!*\
298604
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js ***!
298874
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js ***!
298605
298875
  \*************************************************************************************************/
298606
298876
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298607
298877
 
@@ -298610,13 +298880,13 @@ __webpack_require__.r(__webpack_exports__);
298610
298880
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298611
298881
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
298612
298882
  /* harmony export */ });
298613
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
298614
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
298615
- /* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js");
298616
- /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
298617
- /* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js");
298618
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
298619
- /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js");
298883
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
298884
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
298885
+ /* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js");
298886
+ /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js");
298887
+ /* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js");
298888
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
298889
+ /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js");
298620
298890
 
298621
298891
 
298622
298892
 
@@ -298782,9 +299052,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
298782
299052
 
298783
299053
  /***/ }),
298784
299054
 
298785
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js":
299055
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js":
298786
299056
  /*!********************************************************************************************************!*\
298787
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js ***!
299057
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js ***!
298788
299058
  \********************************************************************************************************/
298789
299059
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298790
299060
 
@@ -298804,9 +299074,9 @@ __webpack_require__.r(__webpack_exports__);
298804
299074
 
298805
299075
  /***/ }),
298806
299076
 
298807
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js":
299077
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js":
298808
299078
  /*!*******************************************************************************************!*\
298809
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js ***!
299079
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js ***!
298810
299080
  \*******************************************************************************************/
298811
299081
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298812
299082
 
@@ -298815,13 +299085,13 @@ __webpack_require__.r(__webpack_exports__);
298815
299085
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298816
299086
  /* harmony export */ "VERSION": () => (/* binding */ VERSION)
298817
299087
  /* harmony export */ });
298818
- const VERSION = "1.7.4";
299088
+ const VERSION = "1.7.7";
298819
299089
 
298820
299090
  /***/ }),
298821
299091
 
298822
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
299092
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
298823
299093
  /*!***************************************************************************************************************!*\
298824
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
299094
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
298825
299095
  \***************************************************************************************************************/
298826
299096
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298827
299097
 
@@ -298830,7 +299100,7 @@ __webpack_require__.r(__webpack_exports__);
298830
299100
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298831
299101
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
298832
299102
  /* harmony export */ });
298833
- /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
299103
+ /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js");
298834
299104
 
298835
299105
 
298836
299106
 
@@ -298893,9 +299163,9 @@ prototype.toString = function toString(encoder) {
298893
299163
 
298894
299164
  /***/ }),
298895
299165
 
298896
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js":
299166
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js":
298897
299167
  /*!*********************************************************************************************************!*\
298898
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
299168
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
298899
299169
  \*********************************************************************************************************/
298900
299170
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298901
299171
 
@@ -298979,9 +299249,9 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
298979
299249
 
298980
299250
  /***/ }),
298981
299251
 
298982
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js":
299252
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js":
298983
299253
  /*!***********************************************************************************************!*\
298984
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js ***!
299254
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js ***!
298985
299255
  \***********************************************************************************************/
298986
299256
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298987
299257
 
@@ -299001,9 +299271,9 @@ function bind(fn, thisArg) {
299001
299271
 
299002
299272
  /***/ }),
299003
299273
 
299004
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js":
299274
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js":
299005
299275
  /*!***************************************************************************************************!*\
299006
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js ***!
299276
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js ***!
299007
299277
  \***************************************************************************************************/
299008
299278
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299009
299279
 
@@ -299012,8 +299282,8 @@ __webpack_require__.r(__webpack_exports__);
299012
299282
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299013
299283
  /* harmony export */ "default": () => (/* binding */ buildURL)
299014
299284
  /* harmony export */ });
299015
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299016
- /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
299285
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299286
+ /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
299017
299287
 
299018
299288
 
299019
299289
 
@@ -299081,9 +299351,9 @@ function buildURL(url, params, options) {
299081
299351
 
299082
299352
  /***/ }),
299083
299353
 
299084
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js":
299354
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js":
299085
299355
  /*!******************************************************************************************************!*\
299086
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js ***!
299356
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js ***!
299087
299357
  \******************************************************************************************************/
299088
299358
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299089
299359
 
@@ -299111,9 +299381,9 @@ function combineURLs(baseURL, relativeURL) {
299111
299381
 
299112
299382
  /***/ }),
299113
299383
 
299114
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js":
299384
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js":
299115
299385
  /*!*********************************************************************************************************!*\
299116
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js ***!
299386
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js ***!
299117
299387
  \*********************************************************************************************************/
299118
299388
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299119
299389
 
@@ -299122,51 +299392,54 @@ __webpack_require__.r(__webpack_exports__);
299122
299392
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299123
299393
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299124
299394
  /* harmony export */ });
299125
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
299126
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
299395
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js");
299396
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
299397
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299398
+
299127
299399
 
299128
299400
 
299129
299401
 
299130
299402
  const composeSignals = (signals, timeout) => {
299131
- let controller = new AbortController();
299403
+ const {length} = (signals = signals ? signals.filter(Boolean) : []);
299132
299404
 
299133
- let aborted;
299405
+ if (timeout || length) {
299406
+ let controller = new AbortController();
299134
299407
 
299135
- const onabort = function (cancel) {
299136
- if (!aborted) {
299137
- aborted = true;
299138
- unsubscribe();
299139
- const err = cancel instanceof Error ? cancel : this.reason;
299140
- controller.abort(err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? err : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err));
299141
- }
299142
- }
299408
+ let aborted;
299143
299409
 
299144
- let timer = timeout && setTimeout(() => {
299145
- onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout ${timeout} of ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT))
299146
- }, timeout)
299410
+ const onabort = function (reason) {
299411
+ if (!aborted) {
299412
+ aborted = true;
299413
+ unsubscribe();
299414
+ const err = reason instanceof Error ? reason : this.reason;
299415
+ controller.abort(err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? err : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err));
299416
+ }
299417
+ }
299147
299418
 
299148
- const unsubscribe = () => {
299149
- if (signals) {
299150
- timer && clearTimeout(timer);
299419
+ let timer = timeout && setTimeout(() => {
299151
299420
  timer = null;
299152
- signals.forEach(signal => {
299153
- signal &&
299154
- (signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort));
299155
- });
299156
- signals = null;
299421
+ onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout ${timeout} of ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT))
299422
+ }, timeout)
299423
+
299424
+ const unsubscribe = () => {
299425
+ if (signals) {
299426
+ timer && clearTimeout(timer);
299427
+ timer = null;
299428
+ signals.forEach(signal => {
299429
+ signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
299430
+ });
299431
+ signals = null;
299432
+ }
299157
299433
  }
299158
- }
299159
299434
 
299160
- signals.forEach((signal) => signal && signal.addEventListener && signal.addEventListener('abort', onabort));
299435
+ signals.forEach((signal) => signal.addEventListener('abort', onabort));
299161
299436
 
299162
- const {signal} = controller;
299437
+ const {signal} = controller;
299163
299438
 
299164
- signal.unsubscribe = unsubscribe;
299439
+ signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
299165
299440
 
299166
- return [signal, () => {
299167
- timer && clearTimeout(timer);
299168
- timer = null;
299169
- }];
299441
+ return signal;
299442
+ }
299170
299443
  }
299171
299444
 
299172
299445
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
@@ -299174,9 +299447,9 @@ const composeSignals = (signals, timeout) => {
299174
299447
 
299175
299448
  /***/ }),
299176
299449
 
299177
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js":
299450
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js":
299178
299451
  /*!**************************************************************************************************!*\
299179
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js ***!
299452
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js ***!
299180
299453
  \**************************************************************************************************/
299181
299454
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299182
299455
 
@@ -299185,8 +299458,8 @@ __webpack_require__.r(__webpack_exports__);
299185
299458
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299186
299459
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299187
299460
  /* harmony export */ });
299188
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299189
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
299461
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299462
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
299190
299463
 
299191
299464
 
299192
299465
 
@@ -299233,9 +299506,9 @@ __webpack_require__.r(__webpack_exports__);
299233
299506
 
299234
299507
  /***/ }),
299235
299508
 
299236
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js":
299509
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js":
299237
299510
  /*!*********************************************************************************************************!*\
299238
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js ***!
299511
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js ***!
299239
299512
  \*********************************************************************************************************/
299240
299513
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299241
299514
 
@@ -299244,7 +299517,7 @@ __webpack_require__.r(__webpack_exports__);
299244
299517
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299245
299518
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299246
299519
  /* harmony export */ });
299247
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299520
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299248
299521
 
299249
299522
 
299250
299523
 
@@ -299344,9 +299617,9 @@ function formDataToJSON(formData) {
299344
299617
 
299345
299618
  /***/ }),
299346
299619
 
299347
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js":
299620
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js":
299348
299621
  /*!********************************************************************************************************!*\
299349
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
299622
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
299350
299623
  \********************************************************************************************************/
299351
299624
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299352
299625
 
@@ -299374,9 +299647,9 @@ function isAbsoluteURL(url) {
299374
299647
 
299375
299648
  /***/ }),
299376
299649
 
299377
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js":
299650
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js":
299378
299651
  /*!*******************************************************************************************************!*\
299379
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js ***!
299652
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js ***!
299380
299653
  \*******************************************************************************************************/
299381
299654
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299382
299655
 
@@ -299385,7 +299658,7 @@ __webpack_require__.r(__webpack_exports__);
299385
299658
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299386
299659
  /* harmony export */ "default": () => (/* binding */ isAxiosError)
299387
299660
  /* harmony export */ });
299388
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299661
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299389
299662
 
299390
299663
 
299391
299664
 
@@ -299404,9 +299677,9 @@ function isAxiosError(payload) {
299404
299677
 
299405
299678
  /***/ }),
299406
299679
 
299407
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js":
299680
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js":
299408
299681
  /*!**********************************************************************************************************!*\
299409
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
299682
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
299410
299683
  \**********************************************************************************************************/
299411
299684
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299412
299685
 
@@ -299415,8 +299688,8 @@ __webpack_require__.r(__webpack_exports__);
299415
299688
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299416
299689
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299417
299690
  /* harmony export */ });
299418
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299419
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
299691
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299692
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
299420
299693
 
299421
299694
 
299422
299695
 
@@ -299427,7 +299700,7 @@ __webpack_require__.r(__webpack_exports__);
299427
299700
  // Standard browser envs have full support of the APIs needed to test
299428
299701
  // whether the request URL is of the same origin as current location.
299429
299702
  (function standardBrowserEnv() {
299430
- const msie = /(msie|trident)/i.test(navigator.userAgent);
299703
+ const msie = _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator && /(msie|trident)/i.test(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator.userAgent);
299431
299704
  const urlParsingNode = document.createElement('a');
299432
299705
  let originURL;
299433
299706
 
@@ -299488,9 +299761,9 @@ __webpack_require__.r(__webpack_exports__);
299488
299761
 
299489
299762
  /***/ }),
299490
299763
 
299491
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js":
299764
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js":
299492
299765
  /*!***********************************************************************************************!*\
299493
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js ***!
299766
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js ***!
299494
299767
  \***********************************************************************************************/
299495
299768
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299496
299769
 
@@ -299505,9 +299778,9 @@ __webpack_require__.r(__webpack_exports__);
299505
299778
 
299506
299779
  /***/ }),
299507
299780
 
299508
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js":
299781
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js":
299509
299782
  /*!*******************************************************************************************************!*\
299510
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js ***!
299783
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js ***!
299511
299784
  \*******************************************************************************************************/
299512
299785
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299513
299786
 
@@ -299516,7 +299789,7 @@ __webpack_require__.r(__webpack_exports__);
299516
299789
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299517
299790
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299518
299791
  /* harmony export */ });
299519
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299792
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299520
299793
 
299521
299794
 
299522
299795
 
@@ -299576,9 +299849,9 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
299576
299849
 
299577
299850
  /***/ }),
299578
299851
 
299579
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js":
299852
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js":
299580
299853
  /*!********************************************************************************************************!*\
299581
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js ***!
299854
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js ***!
299582
299855
  \********************************************************************************************************/
299583
299856
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299584
299857
 
@@ -299597,9 +299870,9 @@ function parseProtocol(url) {
299597
299870
 
299598
299871
  /***/ }),
299599
299872
 
299600
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js":
299873
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js":
299601
299874
  /*!***************************************************************************************************************!*\
299602
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js ***!
299875
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js ***!
299603
299876
  \***************************************************************************************************************/
299604
299877
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299605
299878
 
@@ -299610,9 +299883,9 @@ __webpack_require__.r(__webpack_exports__);
299610
299883
  /* harmony export */ "progressEventDecorator": () => (/* binding */ progressEventDecorator),
299611
299884
  /* harmony export */ "progressEventReducer": () => (/* binding */ progressEventReducer)
299612
299885
  /* harmony export */ });
299613
- /* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js");
299614
- /* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js");
299615
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299886
+ /* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js");
299887
+ /* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js");
299888
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299616
299889
 
299617
299890
 
299618
299891
 
@@ -299661,9 +299934,9 @@ const asyncDecorator = (fn) => (...args) => _utils_js__WEBPACK_IMPORTED_MODULE_2
299661
299934
 
299662
299935
  /***/ }),
299663
299936
 
299664
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js":
299937
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js":
299665
299938
  /*!********************************************************************************************************!*\
299666
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js ***!
299939
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js ***!
299667
299940
  \********************************************************************************************************/
299668
299941
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299669
299942
 
@@ -299672,14 +299945,14 @@ __webpack_require__.r(__webpack_exports__);
299672
299945
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299673
299946
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299674
299947
  /* harmony export */ });
299675
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
299676
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299677
- /* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js");
299678
- /* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js");
299679
- /* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js");
299680
- /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js");
299681
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
299682
- /* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js");
299948
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
299949
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
299950
+ /* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js");
299951
+ /* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js");
299952
+ /* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js");
299953
+ /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js");
299954
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js");
299955
+ /* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js");
299683
299956
 
299684
299957
 
299685
299958
 
@@ -299741,9 +300014,9 @@ __webpack_require__.r(__webpack_exports__);
299741
300014
 
299742
300015
  /***/ }),
299743
300016
 
299744
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js":
300017
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js":
299745
300018
  /*!******************************************************************************************************!*\
299746
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js ***!
300019
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js ***!
299747
300020
  \******************************************************************************************************/
299748
300021
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299749
300022
 
@@ -299811,9 +300084,9 @@ function speedometer(samplesCount, min) {
299811
300084
 
299812
300085
  /***/ }),
299813
300086
 
299814
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js":
300087
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js":
299815
300088
  /*!*************************************************************************************************!*\
299816
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js ***!
300089
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js ***!
299817
300090
  \*************************************************************************************************/
299818
300091
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299819
300092
 
@@ -299854,9 +300127,9 @@ function spread(callback) {
299854
300127
 
299855
300128
  /***/ }),
299856
300129
 
299857
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js":
300130
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js":
299858
300131
  /*!***************************************************************************************************!*\
299859
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js ***!
300132
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js ***!
299860
300133
  \***************************************************************************************************/
299861
300134
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299862
300135
 
@@ -299913,9 +300186,9 @@ function throttle(fn, freq) {
299913
300186
 
299914
300187
  /***/ }),
299915
300188
 
299916
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js":
300189
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js":
299917
300190
  /*!*****************************************************************************************************!*\
299918
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js ***!
300191
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js ***!
299919
300192
  \*****************************************************************************************************/
299920
300193
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299921
300194
 
@@ -299924,9 +300197,9 @@ __webpack_require__.r(__webpack_exports__);
299924
300197
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299925
300198
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299926
300199
  /* harmony export */ });
299927
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
299928
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
299929
- /* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js");
300200
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
300201
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
300202
+ /* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js");
299930
300203
 
299931
300204
 
299932
300205
 
@@ -300150,9 +300423,9 @@ function toFormData(obj, formData, options) {
300150
300423
 
300151
300424
  /***/ }),
300152
300425
 
300153
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js":
300426
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js":
300154
300427
  /*!***********************************************************************************************************!*\
300155
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
300428
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
300156
300429
  \***********************************************************************************************************/
300157
300430
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300158
300431
 
@@ -300161,9 +300434,9 @@ __webpack_require__.r(__webpack_exports__);
300161
300434
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300162
300435
  /* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
300163
300436
  /* harmony export */ });
300164
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
300165
- /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
300166
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
300437
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
300438
+ /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js");
300439
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js");
300167
300440
 
300168
300441
 
300169
300442
 
@@ -300186,9 +300459,9 @@ function toURLEncodedForm(data, options) {
300186
300459
 
300187
300460
  /***/ }),
300188
300461
 
300189
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js":
300462
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js":
300190
300463
  /*!******************************************************************************************************!*\
300191
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js ***!
300464
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js ***!
300192
300465
  \******************************************************************************************************/
300193
300466
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300194
300467
 
@@ -300218,14 +300491,34 @@ const streamChunk = function* (chunk, chunkSize) {
300218
300491
  }
300219
300492
  }
300220
300493
 
300221
- const readBytes = async function* (iterable, chunkSize, encode) {
300222
- for await (const chunk of iterable) {
300223
- yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : (await encode(String(chunk))), chunkSize);
300494
+ const readBytes = async function* (iterable, chunkSize) {
300495
+ for await (const chunk of readStream(iterable)) {
300496
+ yield* streamChunk(chunk, chunkSize);
300497
+ }
300498
+ }
300499
+
300500
+ const readStream = async function* (stream) {
300501
+ if (stream[Symbol.asyncIterator]) {
300502
+ yield* stream;
300503
+ return;
300504
+ }
300505
+
300506
+ const reader = stream.getReader();
300507
+ try {
300508
+ for (;;) {
300509
+ const {done, value} = await reader.read();
300510
+ if (done) {
300511
+ break;
300512
+ }
300513
+ yield value;
300514
+ }
300515
+ } finally {
300516
+ await reader.cancel();
300224
300517
  }
300225
300518
  }
300226
300519
 
300227
- const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => {
300228
- const iterator = readBytes(stream, chunkSize, encode);
300520
+ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
300521
+ const iterator = readBytes(stream, chunkSize);
300229
300522
 
300230
300523
  let bytes = 0;
300231
300524
  let done;
@@ -300270,9 +300563,9 @@ const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => {
300270
300563
 
300271
300564
  /***/ }),
300272
300565
 
300273
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js":
300566
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js":
300274
300567
  /*!****************************************************************************************************!*\
300275
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js ***!
300568
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js ***!
300276
300569
  \****************************************************************************************************/
300277
300570
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300278
300571
 
@@ -300281,8 +300574,8 @@ __webpack_require__.r(__webpack_exports__);
300281
300574
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300282
300575
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300283
300576
  /* harmony export */ });
300284
- /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js");
300285
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
300577
+ /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js");
300578
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js");
300286
300579
 
300287
300580
 
300288
300581
 
@@ -300378,9 +300671,9 @@ function assertOptions(options, schema, allowUnknown) {
300378
300671
 
300379
300672
  /***/ }),
300380
300673
 
300381
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js":
300674
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js":
300382
300675
  /*!****************************************************************************************************************!*\
300383
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
300676
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
300384
300677
  \****************************************************************************************************************/
300385
300678
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300386
300679
 
@@ -300396,9 +300689,9 @@ __webpack_require__.r(__webpack_exports__);
300396
300689
 
300397
300690
  /***/ }),
300398
300691
 
300399
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js":
300692
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js":
300400
300693
  /*!********************************************************************************************************************!*\
300401
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
300694
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
300402
300695
  \********************************************************************************************************************/
300403
300696
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300404
300697
 
@@ -300414,9 +300707,9 @@ __webpack_require__.r(__webpack_exports__);
300414
300707
 
300415
300708
  /***/ }),
300416
300709
 
300417
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
300710
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
300418
300711
  /*!***************************************************************************************************************************!*\
300419
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
300712
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
300420
300713
  \***************************************************************************************************************************/
300421
300714
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300422
300715
 
@@ -300425,7 +300718,7 @@ __webpack_require__.r(__webpack_exports__);
300425
300718
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300426
300719
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300427
300720
  /* harmony export */ });
300428
- /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
300721
+ /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
300429
300722
 
300430
300723
 
300431
300724
 
@@ -300434,9 +300727,9 @@ __webpack_require__.r(__webpack_exports__);
300434
300727
 
300435
300728
  /***/ }),
300436
300729
 
300437
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js":
300730
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js":
300438
300731
  /*!*********************************************************************************************************!*\
300439
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js ***!
300732
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js ***!
300440
300733
  \*********************************************************************************************************/
300441
300734
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300442
300735
 
@@ -300445,9 +300738,9 @@ __webpack_require__.r(__webpack_exports__);
300445
300738
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300446
300739
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300447
300740
  /* harmony export */ });
300448
- /* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
300449
- /* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js");
300450
- /* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js");
300741
+ /* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
300742
+ /* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js");
300743
+ /* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js");
300451
300744
 
300452
300745
 
300453
300746
 
@@ -300465,9 +300758,9 @@ __webpack_require__.r(__webpack_exports__);
300465
300758
 
300466
300759
  /***/ }),
300467
300760
 
300468
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js":
300761
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js":
300469
300762
  /*!********************************************************************************************************!*\
300470
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js ***!
300763
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js ***!
300471
300764
  \********************************************************************************************************/
300472
300765
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300473
300766
 
@@ -300477,10 +300770,13 @@ __webpack_require__.r(__webpack_exports__);
300477
300770
  /* harmony export */ "hasBrowserEnv": () => (/* binding */ hasBrowserEnv),
300478
300771
  /* harmony export */ "hasStandardBrowserEnv": () => (/* binding */ hasStandardBrowserEnv),
300479
300772
  /* harmony export */ "hasStandardBrowserWebWorkerEnv": () => (/* binding */ hasStandardBrowserWebWorkerEnv),
300773
+ /* harmony export */ "navigator": () => (/* binding */ _navigator),
300480
300774
  /* harmony export */ "origin": () => (/* binding */ origin)
300481
300775
  /* harmony export */ });
300482
300776
  const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
300483
300777
 
300778
+ const _navigator = typeof navigator === 'object' && navigator || undefined;
300779
+
300484
300780
  /**
300485
300781
  * Determine if we're running in a standard browser environment
300486
300782
  *
@@ -300498,10 +300794,8 @@ const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'unde
300498
300794
  *
300499
300795
  * @returns {boolean}
300500
300796
  */
300501
- const hasStandardBrowserEnv = (
300502
- (product) => {
300503
- return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0
300504
- })(typeof navigator !== 'undefined' && navigator.product);
300797
+ const hasStandardBrowserEnv = hasBrowserEnv &&
300798
+ (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
300505
300799
 
300506
300800
  /**
300507
300801
  * Determine if we're running in a standard browser webWorker environment
@@ -300528,9 +300822,9 @@ const origin = hasBrowserEnv && window.location.href || 'http://localhost';
300528
300822
 
300529
300823
  /***/ }),
300530
300824
 
300531
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js":
300825
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js":
300532
300826
  /*!*************************************************************************************************!*\
300533
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js ***!
300827
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js ***!
300534
300828
  \*************************************************************************************************/
300535
300829
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300536
300830
 
@@ -300539,8 +300833,8 @@ __webpack_require__.r(__webpack_exports__);
300539
300833
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300540
300834
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300541
300835
  /* harmony export */ });
300542
- /* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js");
300543
- /* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js");
300836
+ /* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js");
300837
+ /* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js");
300544
300838
 
300545
300839
 
300546
300840
 
@@ -300552,9 +300846,9 @@ __webpack_require__.r(__webpack_exports__);
300552
300846
 
300553
300847
  /***/ }),
300554
300848
 
300555
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js":
300849
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js":
300556
300850
  /*!****************************************************************************************!*\
300557
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js ***!
300851
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js ***!
300558
300852
  \****************************************************************************************/
300559
300853
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300560
300854
 
@@ -300563,7 +300857,7 @@ __webpack_require__.r(__webpack_exports__);
300563
300857
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300564
300858
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300565
300859
  /* harmony export */ });
300566
- /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js");
300860
+ /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js");
300567
300861
 
300568
300862
 
300569
300863
 
@@ -301813,15 +302107,15 @@ __webpack_require__.r(__webpack_exports__);
301813
302107
  /* harmony export */ "t": () => (/* binding */ t),
301814
302108
  /* harmony export */ "use": () => (/* binding */ use)
301815
302109
  /* harmony export */ });
301816
- /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
301817
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
301818
- /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
301819
- /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
301820
- /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js");
301821
- /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
301822
- /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
301823
- /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
301824
- /* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js");
302110
+ /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
302111
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
302112
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
302113
+ /* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302114
+ /* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/inherits.js");
302115
+ /* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
302116
+ /* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
302117
+ /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
302118
+ /* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toArray.js");
301825
302119
 
301826
302120
 
301827
302121
 
@@ -304638,7 +304932,7 @@ var loadLanguages = instance.loadLanguages;
304638
304932
  /***/ ((module) => {
304639
304933
 
304640
304934
  "use strict";
304641
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.1","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run --coverage","test:debug":"vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^5.0.0-dev.1","@itwin/core-bentley":"workspace:^5.0.0-dev.1","@itwin/core-common":"workspace:^5.0.0-dev.1","@itwin/core-geometry":"workspace:^5.0.0-dev.1","@itwin/core-orbitgt":"workspace:^5.0.0-dev.1","@itwin/core-quantity":"workspace:^5.0.0-dev.1"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^2.1.0","@vitest/coverage-v8":"^2.1.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^2.1.0","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","webpack":"^5.76.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"}}');
304935
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.10","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run --coverage","test:debug":"vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^5.0.0-dev.10","@itwin/core-bentley":"workspace:^5.0.0-dev.10","@itwin/core-common":"workspace:^5.0.0-dev.10","@itwin/core-geometry":"workspace:^5.0.0-dev.10","@itwin/core-orbitgt":"workspace:^5.0.0-dev.10","@itwin/core-quantity":"workspace:^5.0.0-dev.10"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^2.1.0","@vitest/coverage-v8":"^2.1.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^2.1.0","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","webpack":"^5.76.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"}}');
304642
304936
 
304643
304937
  /***/ })
304644
304938
 
@@ -304947,7 +305241,7 @@ var exports = __webpack_exports__;
304947
305241
  *--------------------------------------------------------------------------------------------*/
304948
305242
  Object.defineProperty(exports, "__esModule", ({ value: true }));
304949
305243
  const chai_1 = __webpack_require__(/*! chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.10/node_modules/chai/index.js");
304950
- const ecschema_rpcinterface_common_1 = __webpack_require__(/*! @itwin/ecschema-rpcinterface-common */ "../../core/ecschema-rpc/common/lib/cjs/ecschema-rpc-interface.js");
305244
+ const ecschema_rpcinterface_common_1 = __webpack_require__(/*! @itwin/ecschema-rpcinterface-common */ "../../core/ecschema-rpc/common/lib/esm/ecschema-rpc-interface.js");
304951
305245
  const TestContext_1 = __webpack_require__(/*! ./setup/TestContext */ "./lib/frontend/setup/TestContext.js");
304952
305246
  const ecschema_metadata_1 = __webpack_require__(/*! @itwin/ecschema-metadata */ "../../core/ecschema-metadata/lib/esm/ecschema-metadata.js");
304953
305247
  describe("Schema RPC Interface", () => {