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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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)
@@ -155778,9 +155814,12 @@ class BingMapsImageryLayerProvider extends _internal__WEBPACK_IMPORTED_MODULE_3_
155778
155814
  for (const tile of tiles) {
155779
155815
  if (tile instanceof _internal__WEBPACK_IMPORTED_MODULE_3__.MapTile) {
155780
155816
  // compare to the set of Bing attributions that we have not yet matched.
155781
- for (const attribution of unmatchedSet) {
155782
- if (attribution && attribution.matchesTile(tile, this._mapTilingScheme)) {
155817
+ for (let iAttr = 0; iAttr < unmatchedSet.length; iAttr++) {
155818
+ const attribution = unmatchedSet[iAttr];
155819
+ if (attribution.matchesTile(tile, this._mapTilingScheme)) {
155783
155820
  matchingAttributions.push(attribution);
155821
+ unmatchedSet.splice(iAttr, 1);
155822
+ break;
155784
155823
  }
155785
155824
  }
155786
155825
  }
@@ -188433,6 +188472,7 @@ __webpack_require__.r(__webpack_exports__);
188433
188472
  /* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
188434
188473
  /* harmony import */ var _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../geometry3d/AngleSweep */ "../../core/geometry/lib/esm/geometry3d/AngleSweep.js");
188435
188474
  /* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
188475
+ /* harmony import */ var _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../geometry3d/Plane3dByOriginAndUnitNormal */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndUnitNormal.js");
188436
188476
  /* harmony import */ var _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../geometry3d/Plane3dByOriginAndVectors */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndVectors.js");
188437
188477
  /* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
188438
188478
  /* harmony import */ var _geometry3d_Range__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../geometry3d/Range */ "../../core/geometry/lib/esm/geometry3d/Range.js");
@@ -188442,13 +188482,13 @@ __webpack_require__.r(__webpack_exports__);
188442
188482
  /* harmony import */ var _CurveExtendMode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./CurveExtendMode */ "../../core/geometry/lib/esm/curve/CurveExtendMode.js");
188443
188483
  /* harmony import */ var _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./CurveLocationDetail */ "../../core/geometry/lib/esm/curve/CurveLocationDetail.js");
188444
188484
  /* 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");
188485
+ /* harmony import */ var _internalContexts_CurveOffsetXYHandler__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./internalContexts/CurveOffsetXYHandler */ "../../core/geometry/lib/esm/curve/internalContexts/CurveOffsetXYHandler.js");
188486
+ /* harmony import */ var _internalContexts_EllipticalArcApproximationContext__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./internalContexts/EllipticalArcApproximationContext */ "../../core/geometry/lib/esm/curve/internalContexts/EllipticalArcApproximationContext.js");
188487
+ /* harmony import */ var _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./internalContexts/PlaneAltitudeRangeContext */ "../../core/geometry/lib/esm/curve/internalContexts/PlaneAltitudeRangeContext.js");
188448
188488
  /* harmony import */ var _LineSegment3d__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./LineSegment3d */ "../../core/geometry/lib/esm/curve/LineSegment3d.js");
188449
188489
  /* 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");
188490
+ /* harmony import */ var _OffsetOptions__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./OffsetOptions */ "../../core/geometry/lib/esm/curve/OffsetOptions.js");
188491
+ /* harmony import */ var _Path__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Path */ "../../core/geometry/lib/esm/curve/Path.js");
188452
188492
  /* harmony import */ var _StrokeOptions__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./StrokeOptions */ "../../core/geometry/lib/esm/curve/StrokeOptions.js");
188453
188493
  /*---------------------------------------------------------------------------------------------
188454
188494
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -188474,6 +188514,7 @@ __webpack_require__.r(__webpack_exports__);
188474
188514
 
188475
188515
 
188476
188516
 
188517
+
188477
188518
 
188478
188519
 
188479
188520
  /**
@@ -189212,7 +189253,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189212
189253
  const axy = this._matrix.columnXDotColumnY();
189213
189254
  return _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_8__.Angle.isPerpendicularDotSet(axx, ayy, axy) && _Geometry__WEBPACK_IMPORTED_MODULE_5__.Geometry.isSameCoordinateSquared(axx, ayy);
189214
189255
  }
189215
- /** Return radius if the vector0 and vector90 are of equal length and perpendicular. */
189256
+ /** Return radius if the vector0 and vector90 are of equal length and perpendicular. Ignores z. */
189216
189257
  circularRadiusXY() {
189217
189258
  const ux = this._matrix.at(0, 0);
189218
189259
  const uy = this._matrix.at(1, 0);
@@ -189354,7 +189395,12 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189354
189395
  setVector0Vector90(vector0, vector90) {
189355
189396
  this._matrix.setColumns(vector0, vector90, vector0.unitCrossProductWithDefault(vector90, 0, 0, 0));
189356
189397
  }
189357
- /** Return the arc definition with rigid matrix form with axis radii. */
189398
+ /**
189399
+ * Return the symmetric definition of the arc, with rigid axes and radii.
189400
+ * * The caller can send the returned data into [[createScaledXYColumns]] to construct the major-minor axis
189401
+ * version of the instance arc. This formulation of the arc has the same shape, but has perpendicular axes,
189402
+ * from which the arc's symmetry is readily apparent.
189403
+ */
189358
189404
  toScaledMatrix3d() {
189359
189405
  const angleData = _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_8__.Angle.dotProductsToHalfAngleTrigValues(this._matrix.columnXMagnitudeSquared(), this._matrix.columnYMagnitudeSquared(), this._matrix.columnXDotColumnY(), true);
189360
189406
  const vector0A = this._matrix.multiplyXY(angleData.c, angleData.s);
@@ -189494,9 +189540,9 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189494
189540
  }
189495
189541
  /**
189496
189542
  * 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.
189543
+ * * The returned arc will have `vector0 = this.vector0 * cos(theta) + this.vector90 * sin(theta)`.
189544
+ * * The returned arc has the same shape as the instance.
189545
+ * * In other words, the arc's sweep is adjusted so that all fractional parameters evaluate to the same points.
189500
189546
  * * Specifically, theta is subtracted from the original start and end angles.
189501
189547
  * @param theta the angle (in the input arc space) which is to become the 0-degree point in the new arc.
189502
189548
  */
@@ -189509,6 +189555,39 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189509
189555
  const arcB = Arc3d.create(this._center.clone(), vector0, vector90, newSweep);
189510
189556
  return arcB;
189511
189557
  }
189558
+ /**
189559
+ * Return a cloned arc with basis rotated to align with the global axes. The arc's shape is unchanged.
189560
+ * * This method is most useful when the instance is an xy-circular arc, for then the aligned arc's stored sweep
189561
+ * angles can be understood as being measured from the global positive x-axis to the arc's start/end. This is *not*
189562
+ * the case for xy-elliptical arcs: the parameter angle difference between two points on an ellipse is in general
189563
+ * not the same as the angle measured between their radials.
189564
+ * * For an xy instance, the output arc will have:
189565
+ * * vector0 is in the same direction as the positive x-axis
189566
+ * * perpendicularVector is in the same direction as the positive z-axis
189567
+ * * For a general instance, the output arc will have:
189568
+ * * vector0 is in the same direction as the projection of the positive x-axis vector onto the arc plane
189569
+ * * perpendicularVector lies in the halfspace z >= 0
189570
+ * @returns cloned arc, or undefined (if the instance normal is parallel to the x-axis, or its matrix is singular)
189571
+ */
189572
+ cloneAxisAligned() {
189573
+ const plane = _geometry3d_Plane3dByOriginAndUnitNormal__WEBPACK_IMPORTED_MODULE_17__.Plane3dByOriginAndUnitNormal.create(this.center, this.perpendicularVector.crossProduct(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.unitX()));
189574
+ if (!plane)
189575
+ return undefined;
189576
+ const axisPts = [];
189577
+ if (2 !== this.appendPlaneIntersectionPoints(plane, axisPts))
189578
+ return undefined;
189579
+ const iAxisPt = plane.getNormalRef().dotProduct(this.perpendicularVector.crossProductStartEnd(this.center, axisPts[0].point)) > 0.0 ? 0 : 1;
189580
+ const toUnitX = this.sweep.fractionToAngle(axisPts[iAxisPt].fraction);
189581
+ const arc1 = this.cloneInRotatedBasis(toUnitX); // rotate in arc's plane
189582
+ if (this.perpendicularVector.dotProduct(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_4__.Vector3d.unitZ()) < -_Geometry__WEBPACK_IMPORTED_MODULE_5__.Geometry.smallAngleRadians) {
189583
+ if (this.matrixRef.isSingular())
189584
+ return undefined;
189585
+ 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
189586
+ arc1.matrixRef.multiplyMatrixMatrix(flip, arc1.matrixRef);
189587
+ arc1.sweep.setStartEndDegrees(-arc1.sweep.startDegrees, -arc1.sweep.endDegrees); // rotation alone is insufficient to flip
189588
+ }
189589
+ return arc1;
189590
+ }
189512
189591
  /**
189513
189592
  * Find intervals of this CurvePrimitive that are interior to a clipper.
189514
189593
  * @param clipper clip structure (e.g.clip planes).
@@ -189608,7 +189687,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189608
189687
  * @param offsetDistanceOrOptions offset distance (positive to left of the instance curve), or options object.
189609
189688
  */
189610
189689
  constructOffsetXY(offsetDistanceOrOptions) {
189611
- const options = _OffsetOptions__WEBPACK_IMPORTED_MODULE_17__.OffsetOptions.create(offsetDistanceOrOptions);
189690
+ const options = _OffsetOptions__WEBPACK_IMPORTED_MODULE_18__.OffsetOptions.create(offsetDistanceOrOptions);
189612
189691
  if (this.isCircular || options.preserveEllipticalArcs) {
189613
189692
  const arcXY = this.cloneAtZ();
189614
189693
  const sign = arcXY.sweep.sweepRadians * arcXY.matrixRef.coffs[8] >= 0.0 ? 1.0 : -1.0;
@@ -189630,7 +189709,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189630
189709
  }
189631
189710
  }
189632
189711
  // default impl
189633
- const handler = new _internalContexts_CurveOffsetXYHandler__WEBPACK_IMPORTED_MODULE_18__.CurveOffsetXYHandler(this, options.leftOffsetDistance);
189712
+ const handler = new _internalContexts_CurveOffsetXYHandler__WEBPACK_IMPORTED_MODULE_19__.CurveOffsetXYHandler(this, options.leftOffsetDistance);
189634
189713
  this.emitStrokableParts(handler, options.strokeOptions);
189635
189714
  return handler.claimResult();
189636
189715
  }
@@ -189641,7 +189720,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189641
189720
  * @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
189721
  */
189643
189722
  projectedParameterRange(ray, lowHigh) {
189644
- return _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_19__.PlaneAltitudeRangeContext.findExtremeFractionsAlongDirection(this, ray, lowHigh);
189723
+ return _internalContexts_PlaneAltitudeRangeContext__WEBPACK_IMPORTED_MODULE_20__.PlaneAltitudeRangeContext.findExtremeFractionsAlongDirection(this, ray, lowHigh);
189645
189724
  }
189646
189725
  /**
189647
189726
  * Construct a circular arc chain approximation to the instance elliptical arc.
@@ -189651,10 +189730,10 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
189651
189730
  constructCircularArcChainApproximation(options) {
189652
189731
  if (!options)
189653
189732
  options = EllipticalArcApproximationOptions.create();
189654
- const context = _internalContexts_EllipticalArcApproximationContext__WEBPACK_IMPORTED_MODULE_20__.EllipticalArcApproximationContext.create(this);
189733
+ const context = _internalContexts_EllipticalArcApproximationContext__WEBPACK_IMPORTED_MODULE_21__.EllipticalArcApproximationContext.create(this);
189655
189734
  const result = context.constructCircularArcChainApproximation(options);
189656
189735
  if (!result && this.isCircular)
189657
- return (this.sweep.isFullCircle && options.forcePath) ? _Path__WEBPACK_IMPORTED_MODULE_21__.Path.create(this) : this;
189736
+ return (this.sweep.isFullCircle && options.forcePath) ? _Path__WEBPACK_IMPORTED_MODULE_22__.Path.create(this) : this;
189658
189737
  return result;
189659
189738
  }
189660
189739
  }
@@ -190820,6 +190899,11 @@ class CurveCollection extends _GeometryQuery__WEBPACK_IMPORTED_MODULE_0__.Geomet
190820
190899
  }
190821
190900
  return detailA;
190822
190901
  }
190902
+ /** Reverse the collection's data so that each child curve's fractional stroking moves in the opposite direction. */
190903
+ reverseInPlace() {
190904
+ for (const curve of this.children)
190905
+ curve.reverseInPlace();
190906
+ }
190823
190907
  /**
190824
190908
  * Return the max gap between adjacent primitives in Path and Loop collections.
190825
190909
  * * In a Path, gaps are computed between consecutive primitives.
@@ -191059,14 +191143,18 @@ class CurveChain extends CurveCollection {
191059
191143
  curve.extendRange(range, transform);
191060
191144
  }
191061
191145
  /**
191062
- * Reverse each child curve (in place)
191063
- * Reverse the order of the children in the CurveChain array.
191146
+ * Reverse each child curve (in place).
191147
+ * Reverse the order of the children array.
191064
191148
  */
191065
191149
  reverseChildrenInPlace() {
191066
191150
  for (const curve of this._curves)
191067
191151
  curve.reverseInPlace();
191068
191152
  this._curves.reverse();
191069
191153
  }
191154
+ /** Same as [[reverseChildrenInPlace]]. */
191155
+ reverseInPlace() {
191156
+ this.reverseChildrenInPlace();
191157
+ }
191070
191158
  /**
191071
191159
  * Return the index where target is found in the array of children.
191072
191160
  * @param alsoSearchProxies whether to also check proxy curves of the children
@@ -194331,34 +194419,34 @@ class LineString3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePri
194331
194419
  }
194332
194420
  /**
194333
194421
  * Return array of fraction parameters.
194334
- * * These Are only present during certain constructions such as faceting.
194422
+ * * These are only present during certain constructions such as faceting.
194335
194423
  * * When present, these fractions are fractions of some other curve being stroked, and are NOT related to the
194336
194424
  * linestring fraction parameters.
194337
194425
  */
194338
194426
  get fractions() {
194339
194427
  return this._fractions;
194340
194428
  }
194341
- /** Return the (optional) array of derivatives. These Are only present during certain constructions such as faceting. */
194429
+ /** Return the (optional) array of derivatives. These are only present during certain constructions such as faceting. */
194342
194430
  get packedDerivatives() {
194343
194431
  return this._derivatives;
194344
194432
  }
194345
- /** Return the (optional) array of uv params. These Are only present during certain constructions such as faceting. */
194433
+ /** Return the (optional) array of uv parameters. These are only present during certain constructions such as faceting. */
194346
194434
  get packedUVParams() {
194347
194435
  return this._uvParams;
194348
194436
  }
194349
- /** Return the (optional) array of surface normals. These Are only present during certain constructions such as faceting. */
194437
+ /** Return the (optional) array of surface normals. These are only present during certain constructions such as faceting. */
194350
194438
  get packedSurfaceNormals() {
194351
194439
  return this._surfaceNormals;
194352
194440
  }
194353
- /** Return the (optional) array of normal indices. These Are only present during certain constructions such as faceting. */
194441
+ /** Return the (optional) array of normal indices. These are only present during certain constructions such as faceting. */
194354
194442
  get normalIndices() {
194355
194443
  return this._normalIndices;
194356
194444
  }
194357
- /** Return the (optional) array of param indices. These Are only present during certain constructions such as faceting. */
194445
+ /** Return the (optional) array of uv parameter indices. These are only present during certain constructions such as faceting. */
194358
194446
  get paramIndices() {
194359
194447
  return this._uvIndices;
194360
194448
  }
194361
- /** Return the (optional) array of point indices. These Are only present during certain constructions such as faceting. */
194449
+ /** Return the (optional) array of point indices. These are only present during certain constructions such as faceting. */
194362
194450
  get pointIndices() {
194363
194451
  return this._pointIndices;
194364
194452
  }
@@ -194940,11 +195028,32 @@ class LineString3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePri
194940
195028
  reverseInPlace() {
194941
195029
  if (this._points.length >= 2) {
194942
195030
  this._points.reverseInPlace();
195031
+ if (this._fractions) {
195032
+ this._fractions.reverseInPlace();
195033
+ for (let i = 0; i < this._fractions.length; ++i)
195034
+ this._fractions.reassign(i, 1.0 - this._fractions.atUncheckedIndex(i));
195035
+ }
194943
195036
  if (this._uvParams)
194944
195037
  this._uvParams.reverseInPlace();
195038
+ if (this._derivatives) {
195039
+ this._derivatives.reverseInPlace();
195040
+ this._derivatives.scaleInPlace(-1.0);
195041
+ }
195042
+ if (this._surfaceNormals)
195043
+ this._surfaceNormals.reverseInPlace();
195044
+ if (this._pointIndices)
195045
+ this._pointIndices.reverseInPlace();
195046
+ if (this._uvIndices)
195047
+ this._uvIndices.reverseInPlace();
195048
+ if (this._normalIndices)
195049
+ this._normalIndices.reverseInPlace();
194945
195050
  }
194946
195051
  }
194947
- /** Apply `transform` to each point of this linestring. */
195052
+ /**
195053
+ * Apply `transform` to each point of this linestring.
195054
+ * * Note that this method always returns true. If transforming the surface normals fails (due to singular matrix or zero
195055
+ * normal), the original normal(s) are left unchanged.
195056
+ */
194948
195057
  tryTransformInPlace(transform) {
194949
195058
  this._points.multiplyTransformInPlace(transform);
194950
195059
  if (this._derivatives)
@@ -195770,7 +195879,6 @@ class Loop extends _CurveCollection__WEBPACK_IMPORTED_MODULE_0__.CurveChain {
195770
195879
  isSameGeometryClass(other) {
195771
195880
  return other instanceof Loop;
195772
195881
  }
195773
- /** Test if `other` is an instance of `Loop` */
195774
195882
  constructor() {
195775
195883
  super();
195776
195884
  /** String name for schema properties */
@@ -195779,8 +195887,10 @@ class Loop extends _CurveCollection__WEBPACK_IMPORTED_MODULE_0__.CurveChain {
195779
195887
  this.isInner = false;
195780
195888
  }
195781
195889
  /**
195782
- * Create a loop from variable length list of CurvePrimitives
195783
- * @param curves array of individual curve primitives
195890
+ * Create a loop from a variable length list of [[CurvePrimitive]]s.
195891
+ * * A significant gap between the end of one curve and the start of the next, or between chain start and end,
195892
+ * is not bridged and may cause unexpected behavior.
195893
+ * @param curves array of individual curve primitives, assumed to form a closed planar loop.
195784
195894
  */
195785
195895
  static create(...curves) {
195786
195896
  const result = new Loop();
@@ -195793,13 +195903,18 @@ class Loop extends _CurveCollection__WEBPACK_IMPORTED_MODULE_0__.CurveChain {
195793
195903
  return result;
195794
195904
  }
195795
195905
  /**
195796
- * Create a loop from an array of curve primitives
195797
- * @param curves array of individual curve primitives
195906
+ * Create a loop from an array of [[CurvePrimitive]]s.
195907
+ * * A significant gap between the end of one curve and the start of the next, or between chain start and end,
195908
+ * is not bridged and may cause unexpected behavior.
195909
+ * @param curves array of individual curve primitives, assumed to form a closed planar loop.
195798
195910
  */
195799
195911
  static createArray(curves) {
195800
195912
  return this.create(...curves);
195801
195913
  }
195802
- /** Create a loop from an array of points */
195914
+ /**
195915
+ * Create a loop from an array of coplanar points.
195916
+ * @param points vertices of polygon, closure point optional.
195917
+ */
195803
195918
  static createPolygon(points) {
195804
195919
  const linestring = _LineString3d__WEBPACK_IMPORTED_MODULE_2__.LineString3d.create(points);
195805
195920
  linestring.addClosurePoint();
@@ -196964,14 +197079,16 @@ class CylindricalRangeQuery extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
196964
197079
  return accumulator._perpVector.clone();
196965
197080
  }
196966
197081
  /**
196967
- * Recurse through geometry.children to find linestrings.
196968
- * In each linestring, compute the surface normal annotation from
197082
+ * Recurse through `geometry.children` to find linestrings.
197083
+ * For each linestring, compute and store the normal of the rotational surface resulting from sweeping the
197084
+ * geometry around `axis` through a positive angle, using:
196969
197085
  * * the curve tangent stored in the linestring
196970
197086
  * * 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
197087
+ * * a default V vector to be used when the linestring point is close to the axis
197088
+ * @param geometry profile curve (e.g., linestring, parity region). The orientation of the curve should be such that
197089
+ * the computed normal lies in the same half-space as the rotational sweep direction.
197090
+ * @param axis rotational axis
197091
+ * @param defaultVectorFromAxis default vector perpendicular to `axis` (e.g., sweepVector)
196975
197092
  */
196976
197093
  static buildRotationalNormalsInLineStrings(geometry, axis, defaultVectorFromAxis) {
196977
197094
  if (geometry instanceof _LineString3d__WEBPACK_IMPORTED_MODULE_3__.LineString3d) {
@@ -196980,18 +197097,20 @@ class CylindricalRangeQuery extends _geometry3d_GeometryHandler__WEBPACK_IMPORTE
196980
197097
  const normals = geometry.ensureEmptySurfaceNormals();
196981
197098
  if (derivatives && normals) {
196982
197099
  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.
197100
+ const vectorV = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create();
196984
197101
  const xyz = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create();
196985
197102
  const n = points.length;
196986
197103
  for (let i = 0; i < n; i++) {
196987
197104
  points.getPoint3dAtUncheckedPointIndex(i, xyz);
196988
197105
  axis.perpendicularPartOfVectorToTarget(xyz, vectorU);
197106
+ // compute the positive sweep direction. ASSUME: the rotational sweep angle is positive!
196989
197107
  if (vectorU.isAlmostZero)
196990
197108
  axis.direction.crossProduct(defaultVectorFromAxis, vectorV);
196991
197109
  else
196992
197110
  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!
197111
+ // ASSUME: orientation-based profile normal is in the same half-space as vectorV
197112
+ geometry.packedDerivatives.getVector3dAtCheckedVectorIndex(i, vectorU); // reuse vectorU
197113
+ vectorU.crossProduct(vectorV, vectorV); // reuse vectorV
196995
197114
  vectorV.normalizeInPlace();
196996
197115
  normals.push(vectorV);
196997
197116
  }
@@ -204005,16 +204124,19 @@ class ArcChainErrorProcessor extends QuadrantFractionsProcessor {
204005
204124
  }
204006
204125
  }
204007
204126
  /**
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.
204127
+ * Processor for computing an optimal refinement of a single Q1 ordered interval [f0,f1] by perturbing an interior
204128
+ * seed fraction f.
204129
+ * * Typically the caller (cf. [[AdaptiveSubdivisionQ1ErrorProcessor.announceArc]] processes a
204130
+ * QuadrantFractions `q` with `q.quadrant` = 1 until convergence. The `q.fractions` array is expected to have
204131
+ * one of two forms:
204132
+ * * [fPrev, f0, f, f1], where fPrev is from the adjacent interval (possibly just refined), or
204133
+ * * [f0, f, f1], if `q.interpolateStartTangent === true`.
204134
+ * * This processor implements a bisection algorithm that iteratively shrinks a sub-interval that brackets f,
204135
+ * starting with [f0,f1]:
204136
+ * * During processing, `announceArc` will be called twice to compute the approximation errors of the circular
204137
+ * arcs on either side of f in the current bracket.
204138
+ * * In `announceQuadrantEnd` if these two errors are almost equal, we are done refining [f0,f1]. Otherwise,
204139
+ * we move f halfway to the endpoint of the bracket that decreases the error delta, and shrink our bracket.
204018
204140
  * @internal
204019
204141
  */
204020
204142
  class AdaptiveSubdivisionQ1IntervalErrorProcessor extends QuadrantFractionsProcessor {
@@ -204086,14 +204208,17 @@ class AdaptiveSubdivisionQ1IntervalErrorProcessor extends QuadrantFractionsProce
204086
204208
  /**
204087
204209
  * Processor for computing samples in Q1 for a subdivision-based arc chain approximation.
204088
204210
  * * 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.
204211
+ * * In `announceQuadrantBegin` we start off the refinement with a copy of `q.fractions`.
204212
+ * * In `announceArc` we are called to process the interval [f0,f1] in `q.fractions`. First we test if the
204213
+ * announced arc's approximation error over [f0,f1] exceeds maxError.
204214
+ * * If so, we employ [[AdaptiveSubdivisionQ1IntervalErrorProcessor]] to compute an interior fraction f
204215
+ * that best refines the interval, which becomes [f0,f,f1].
204216
+ * * Otherwise, the fraction span [f0,f1] is unchanged---no additional samples are needed to decrease the
204217
+ * approximation error.
204218
+ * * In `announceQuadrantEnd`, `q.fractions` is updated in place with the computed refinement.
204219
+ * * The caller (e.g., [[AdaptiveSubdivisionSampler.computeRadiansStrictlyInsideQuadrant1]]) typically
204220
+ * re-processes `q` until `isRefined` returns false, at which point construction of an approximation that is
204221
+ * guaranteed not to exceed the desired error can commence.
204097
204222
  * @internal
204098
204223
  */
204099
204224
  class AdaptiveSubdivisionQ1ErrorProcessor extends QuadrantFractionsProcessor {
@@ -210245,16 +210370,22 @@ class BarycentricTriangle {
210245
210370
  }
210246
210371
  /**
210247
210372
  * Compute the intersection of a line (parameterized as a ray) with the plane of this triangle.
210248
- * * This method is slower than `Ray3d.intersectionWithTriangle`.
210373
+ * * Intersection data is returned for the line-plane intersection.
210374
+ * * No intersection is returned if the line is parallel to the plane.
210375
+ * * As for the *ray*, it intersects this triangle if and only if the returned detail `d` has
210376
+ * `d.isValid === true` and `d.a >= 0` and `d.isInsideOrOn === true`.
210377
+ * * This method is slower than `Ray3d.intersectionWithTriangle` but returns more information about the intersection.
210249
210378
  * @param ray infinite line to intersect, as a ray
210250
210379
  * @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.
210380
+ * @returns details `d` of the intersection point `p` of the line and the plane of this triangle:
210381
+ * * `d.isValid`: false if and only if `ray.direction` is parallel to the plane, or the ray or triangle is degenerate.
210382
+ * * `d.world`: coordinates of `p`.
210383
+ * * `d.local`: barycentric coordinates of `p`.
210384
+ * * `d.a`: the intersection parameter of `p` along the ray. Negative means `p` is behind the ray origin.
210385
+ * * `d.classify`: where `p` lies with respect to the triangle.
210386
+ * * `d.isInsideOrOn`: whether `p` is inside or on the triangle.
210387
+ * * `d.closestEdgeIndex`: the index of the triangle edge `e` onto which `p` projects.
210388
+ * * `d.closestEdgeParam`: the edge parameter at which `p` projects onto `e`.
210258
210389
  * * Visualization can be found at https://www.itwinjs.org/sandbox/SaeedTorabi/RayTriangleIntersection
210259
210390
  * @see [[pointToFraction]]
210260
210391
  */
@@ -210271,6 +210402,9 @@ class BarycentricTriangle {
210271
210402
  const d = ray.direction;
210272
210403
  const u = BarycentricTriangle._workVector0 = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createStartEnd(this.points[0], this.points[1], BarycentricTriangle._workVector0);
210273
210404
  const v = BarycentricTriangle._workVector1 = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createStartEnd(this.points[0], this.points[2], BarycentricTriangle._workVector1);
210405
+ const scaledVolume = d.tripleProduct(u, v);
210406
+ if (scaledVolume * scaledVolume <= u.dotProduct(u) * v.dotProduct(v) * d.dotProduct(d) * _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.smallAngleRadiansSquared)
210407
+ return result; // parallel (no solution)
210274
210408
  const M = BarycentricTriangle._workMatrix = _Matrix3d__WEBPACK_IMPORTED_MODULE_4__.Matrix3d.createColumns(u, v, d, BarycentricTriangle._workMatrix);
210275
210409
  const c = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createStartEnd(this.points[0], r0, BarycentricTriangle._workVector0); // reuse workVector0
210276
210410
  const solution = BarycentricTriangle._workVector1; // reuse workVector1
@@ -213312,6 +213446,10 @@ class GrowableFloat64Array {
213312
213446
  }
213313
213447
  this._inUse = numAccepted;
213314
213448
  }
213449
+ /** reverse the order of values. */
213450
+ reverseInPlace() {
213451
+ this._data.reverse();
213452
+ }
213315
213453
  }
213316
213454
 
213317
213455
 
@@ -215587,9 +215725,9 @@ __webpack_require__.r(__webpack_exports__);
215587
215725
  /* harmony export */ });
215588
215726
  /* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
215589
215727
  /* 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");
215728
+ /* harmony import */ var _Angle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
215591
215729
  /* 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");
215730
+ /* harmony import */ var _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
215593
215731
  /* harmony import */ var _Transform__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Transform */ "../../core/geometry/lib/esm/geometry3d/Transform.js");
215594
215732
  /*---------------------------------------------------------------------------------------------
215595
215733
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -215889,32 +216027,35 @@ class Matrix3d {
215889
216027
  return _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isDistanceWithinTol(max, tol);
215890
216028
  }
215891
216029
  /**
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
216030
+ * A matrix equivalence test, returning true if and only if the matrices are almost equal,
216031
+ * or all of the following column comparisons hold:
216032
+ * * z columns are almost equal, and
216033
+ * * x columns differ only by a rotation of angle t around the z column, and
216034
+ * * y columns differ only by a rotation of the same angle t around the z column.
216035
+ * @param other matrix to compare
216036
+ * @param tol optional distance tolerance, for comparisons by Geometry.isDistanceWithinTol
216037
+ * @return whether matrices are almost equal modulo a rotation around their common nonzero z-column.
215896
216038
  */
215897
216039
  isAlmostEqualAllowZRotation(other, tol) {
215898
216040
  if (this.isAlmostEqual(other, tol))
215899
216041
  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;
216042
+ if (!this.isAlmostEqualColumn(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, other, tol))
216043
+ return false;
216044
+ const columnX = this.columnX();
216045
+ const columnY = this.columnY();
216046
+ const columnZ = this.columnZ();
216047
+ const toOtherColumnX = columnX.signedAngleTo(other.columnX(), columnZ);
216048
+ let testColumn = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createRotateVectorAroundVector(columnX, columnZ, toOtherColumnX);
216049
+ if (!testColumn)
216050
+ return false; // columnZ is zero length
216051
+ if (!other.isAlmostEqualColumnXYZ(0, testColumn.x, testColumn.y, testColumn.z, tol))
216052
+ return false; // columnX rotated around columnZ by angle doesn't end up at other.columnX
216053
+ testColumn = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createRotateVectorAroundVector(columnY, columnZ, toOtherColumnX);
216054
+ if (!testColumn)
216055
+ return false;
216056
+ if (!other.isAlmostEqualColumnXYZ(1, testColumn.x, testColumn.y, testColumn.z, tol))
216057
+ return false; // columnY rotated around columnZ by angle doesn't end up at other.columnY
216058
+ return true;
215918
216059
  }
215919
216060
  /** Test for exact (bitwise) equality with other. */
215920
216061
  isExactEqual(other) {
@@ -216190,10 +216331,10 @@ class Matrix3d {
216190
216331
  const b = a / scale;
216191
216332
  // if vectorA is close to the Z axis
216192
216333
  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);
216334
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createCrossProduct(vectorA.x, vectorA.y, vectorA.z, 0, -1, 0, result);
216194
216335
  }
216195
216336
  // 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);
216337
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.createCrossProduct(0, 0, 1, vectorA.x, vectorA.y, vectorA.z, result);
216197
216338
  }
216198
216339
  /**
216199
216340
  * Return a vector that is perpendicular to the input `vectorA`.
@@ -216414,7 +216555,7 @@ class Matrix3d {
216414
216555
  let c = Math.sqrt(0.5);
216415
216556
  let s = leftNoneRight < 0.0 ? -c : c;
216416
216557
  if (Math.abs(leftNoneRight) !== 1.0) {
216417
- const radians = _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.degreesToRadians(45.0 * leftNoneRight);
216558
+ const radians = _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.degreesToRadians(45.0 * leftNoneRight);
216418
216559
  c = Math.cos(radians);
216419
216560
  s = Math.sin(radians);
216420
216561
  }
@@ -216508,7 +216649,7 @@ class Matrix3d {
216508
216649
  const sij = lambda.at(i, j);
216509
216650
  if (Math.abs(sij) < _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallFloatingPoint * (sii + sjj))
216510
216651
  return 0.0;
216511
- const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.trigValuesToHalfAngleTrigValues(sii - sjj, 2.0 * sij);
216652
+ const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.trigValuesToHalfAngleTrigValues(sii - sjj, 2.0 * sij);
216512
216653
  const c = jacobi.c;
216513
216654
  const s = jacobi.s;
216514
216655
  /**
@@ -216588,7 +216729,7 @@ class Matrix3d {
216588
216729
  const sij = this.coffs[indexIJ];
216589
216730
  if (Math.abs(sij) < _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallFloatingPoint * (sii + sjj))
216590
216731
  return 0.0;
216591
- const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.trigValuesToHalfAngleTrigValues(sii - sjj, 2.0 * sij);
216732
+ const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.trigValuesToHalfAngleTrigValues(sii - sjj, 2.0 * sij);
216592
216733
  const c = jacobi.c;
216593
216734
  const s = jacobi.s;
216594
216735
  const cc = c * c;
@@ -216652,12 +216793,12 @@ class Matrix3d {
216652
216793
  const e = c * c + s * s - 1.0; // s^2 + c^2 = 1
216653
216794
  // if s^2 + c^2 != 1 then we have a bad matrix so return false
216654
216795
  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 };
216796
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(0), ok: false };
216656
216797
  }
216657
216798
  // sin is close to 0 then we got to special cases (angle 0 or 180) which needs to be handled differently
216658
216799
  if (Math.abs(s) < _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.smallAngleRadians) {
216659
216800
  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 };
216801
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(0), ok: true };
216661
216802
  /**
216662
216803
  * If sin = 0 and cos = -1 then angle = 180 (i.e., 180 degree rotation around some axis)
216663
216804
  * then the rotation matrix becomes
@@ -216675,34 +216816,34 @@ class Matrix3d {
216675
216816
  const azz = this.coffs[8];
216676
216817
  // Look for a pair of "-1" entries on the diagonal (for rotation around the basis X,Y,Z axis)
216677
216818
  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 };
216819
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(1, 0, 0), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createDegrees(180), ok: true };
216679
216820
  }
216680
216821
  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 };
216822
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 1, 0), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createDegrees(180), ok: true };
216682
216823
  }
216683
216824
  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 };
216825
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createDegrees(180), ok: true };
216685
216826
  }
216686
216827
  // Look for eigenvector with eigenvalue = 1
216687
216828
  const eigenvectors = Matrix3d.createIdentity();
216688
- const eigenvalues = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(0, 0, 0);
216829
+ const eigenvalues = _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 0);
216689
216830
  if (this.fastSymmetricEigenvalues(eigenvectors, eigenvalues)) { // note: this matrix is "symmetric"
216690
216831
  for (let axisIndex = 0; axisIndex < 2; axisIndex++) {
216691
216832
  const lambda = eigenvalues.at(axisIndex);
216692
216833
  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 };
216834
+ return { axis: eigenvectors.getColumn(axisIndex), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createDegrees(180), ok: true };
216694
216835
  }
216695
216836
  // 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 };
216837
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(0), ok: false };
216697
216838
  }
216698
216839
  // 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 };
216840
+ return { axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(0, 0, 1), angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(0), ok: false };
216700
216841
  }
216701
216842
  // good matrix and non-zero sine
216702
216843
  const a = 1.0 / (2.0 * s);
216703
216844
  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),
216845
+ axis: _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(skewYZ * a, skewZX * a, skewXY * a),
216846
+ angle: _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createAtan2(s, c),
216706
216847
  ok: true,
216707
216848
  };
216708
216849
  return result;
@@ -216726,7 +216867,7 @@ class Matrix3d {
216726
216867
  const uDotV = this.coffs[i] * this.coffs[j]
216727
216868
  + this.coffs[i + 3] * this.coffs[j + 3]
216728
216869
  + this.coffs[i + 6] * this.coffs[j + 6];
216729
- const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.trigValuesToHalfAngleTrigValues(uDotU - vDotV, 2.0 * uDotV);
216870
+ const jacobi = _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.trigValuesToHalfAngleTrigValues(uDotU - vDotV, 2.0 * uDotV);
216730
216871
  const c = jacobi.c;
216731
216872
  const s = jacobi.s;
216732
216873
  if (Math.abs(s) < 2.0e-15)
@@ -216814,7 +216955,7 @@ class Matrix3d {
216814
216955
  let upVector = vectorA.unitCrossProduct(vectorB);
216815
216956
  // the usual case (both vectors and also their cross product is non-zero)
216816
216957
  if (upVector) {
216817
- return Matrix3d.createRotationAroundVector(upVector, _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(fraction * vectorA.planarAngleTo(vectorB, upVector).radians));
216958
+ return Matrix3d.createRotationAroundVector(upVector, _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(fraction * vectorA.planarAngleTo(vectorB, upVector).radians));
216818
216959
  }
216819
216960
  // if either vector is zero
216820
216961
  if (_Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.isSmallMetricDistance(vectorA.magnitude())
@@ -216825,7 +216966,7 @@ class Matrix3d {
216825
216966
  return Matrix3d.createIdentity(result);
216826
216967
  // opposing vectors (cross product = 0, dot product < 0)
216827
216968
  upVector = Matrix3d.createPerpendicularVectorFavorPlaneContainingZ(vectorA, upVector);
216828
- return Matrix3d.createRotationAroundVector(upVector, _Angle__WEBPACK_IMPORTED_MODULE_1__.Angle.createRadians(fraction * Math.PI));
216969
+ return Matrix3d.createRotationAroundVector(upVector, _Angle__WEBPACK_IMPORTED_MODULE_2__.Angle.createRadians(fraction * Math.PI));
216829
216970
  }
216830
216971
  /** Returns a matrix that rotates from vectorA to vectorB. */
216831
216972
  static createRotationVectorToVector(vectorA, vectorB, result) {
@@ -216852,15 +216993,15 @@ class Matrix3d {
216852
216993
  }
216853
216994
  /** Return (a copy of) the X column */
216854
216995
  columnX(result) {
216855
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[0], this.coffs[3], this.coffs[6], result);
216996
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[0], this.coffs[3], this.coffs[6], result);
216856
216997
  }
216857
216998
  /** Return (a copy of) the Y column */
216858
216999
  columnY(result) {
216859
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[1], this.coffs[4], this.coffs[7], result);
217000
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[1], this.coffs[4], this.coffs[7], result);
216860
217001
  }
216861
217002
  /** Return (a copy of) the Z column */
216862
217003
  columnZ(result) {
216863
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[2], this.coffs[5], this.coffs[8], result);
217004
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[2], this.coffs[5], this.coffs[8], result);
216864
217005
  }
216865
217006
  /** Return the X column magnitude squared */
216866
217007
  columnXMagnitudeSquared() {
@@ -216932,15 +217073,15 @@ class Matrix3d {
216932
217073
  }
216933
217074
  /** Return (a copy of) the X row */
216934
217075
  rowX(result) {
216935
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[0], this.coffs[1], this.coffs[2], result);
217076
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[0], this.coffs[1], this.coffs[2], result);
216936
217077
  }
216937
217078
  /** Return (a copy of) the Y row */
216938
217079
  rowY(result) {
216939
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[3], this.coffs[4], this.coffs[5], result);
217080
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[3], this.coffs[4], this.coffs[5], result);
216940
217081
  }
216941
217082
  /** Return (a copy of) the Z row */
216942
217083
  rowZ(result) {
216943
- return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d.create(this.coffs[6], this.coffs[7], this.coffs[8], result);
217084
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[6], this.coffs[7], this.coffs[8], result);
216944
217085
  }
216945
217086
  /** Return the dot product of the vector parameter with the X column. */
216946
217087
  dotColumnX(vector) {
@@ -217037,7 +217178,7 @@ class Matrix3d {
217037
217178
  */
217038
217179
  getColumn(columnIndex, result) {
217039
217180
  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);
217181
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[index], this.coffs[index + 3], this.coffs[index + 6], result);
217041
217182
  }
217042
217183
  /**
217043
217184
  * Return a (copy of) a row of the matrix.
@@ -217046,7 +217187,7 @@ class Matrix3d {
217046
217187
  */
217047
217188
  getRow(columnIndex, result) {
217048
217189
  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);
217190
+ return _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d.create(this.coffs[index], this.coffs[index + 1], this.coffs[index + 2], result);
217050
217191
  }
217051
217192
  /**
217052
217193
  * Create a matrix from row vectors.
@@ -217128,7 +217269,7 @@ class Matrix3d {
217128
217269
  const x = point.x;
217129
217270
  const y = point.y;
217130
217271
  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);
217272
+ 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
217273
  }
217133
217274
  /**
217134
217275
  * Multiply `matrix * vector`, treating the vector is a column vector on the right.
@@ -217142,7 +217283,7 @@ class Matrix3d {
217142
217283
  const x = vectorU.x;
217143
217284
  const y = vectorU.y;
217144
217285
  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);
217286
+ 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
217287
  }
217147
217288
  /**
217148
217289
  * Multiply `matrix * vector` in place for vector in the array, i.e. treating the vector is a column
@@ -217158,7 +217299,7 @@ class Matrix3d {
217158
217299
  const x = vector.x;
217159
217300
  const y = vector.y;
217160
217301
  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);
217302
+ 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
217303
  }
217163
217304
  /** Compute `origin + matrix * vector` using only the xy parts of the inputs. */
217164
217305
  static xyPlusMatrixTimesXY(origin, matrix, vector, result) {
@@ -217171,7 +217312,7 @@ class Matrix3d {
217171
217312
  const x = vector.x;
217172
217313
  const y = vector.y;
217173
217314
  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);
217315
+ 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
217316
  }
217176
217317
  /** Updates vector to be `origin + matrix * vector` using all xyz parts of the inputs. */
217177
217318
  static xyzPlusMatrixTimesXYZInPlace(origin, matrix, vector) {
@@ -217184,7 +217325,7 @@ class Matrix3d {
217184
217325
  }
217185
217326
  /** Compute `origin + matrix * vector` where the final vector is given as direct x,y,z coordinates */
217186
217327
  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);
217328
+ 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
217329
  }
217189
217330
  /**
217190
217331
  * Treat the 3x3 matrix and origin as upper 3x4 part of a 4x4 matrix, with 0001 as the final row.
@@ -217263,7 +217404,7 @@ class Matrix3d {
217263
217404
  * @param result the vector result (optional)
217264
217405
  */
217265
217406
  multiplyTransposeVector(vector, result) {
217266
- result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
217407
+ result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
217267
217408
  const x = vector.x;
217268
217409
  const y = vector.y;
217269
217410
  const z = vector.z;
@@ -217277,7 +217418,7 @@ class Matrix3d {
217277
217418
  * @param result the vector result (optional)
217278
217419
  */
217279
217420
  multiplyXYZ(x, y, z, result) {
217280
- result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
217421
+ result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
217281
217422
  result.x = this.coffs[0] * x + this.coffs[1] * y + this.coffs[2] * z;
217282
217423
  result.y = this.coffs[3] * x + this.coffs[4] * y + this.coffs[5] * z;
217283
217424
  result.z = this.coffs[6] * x + this.coffs[7] * y + this.coffs[8] * z;
@@ -217302,7 +217443,7 @@ class Matrix3d {
217302
217443
  * @param result the vector result (optional)
217303
217444
  */
217304
217445
  multiplyXY(x, y, result) {
217305
- result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
217446
+ result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
217306
217447
  result.x = this.coffs[0] * x + this.coffs[1] * y;
217307
217448
  result.y = this.coffs[3] * x + this.coffs[4] * y;
217308
217449
  result.z = this.coffs[6] * x + this.coffs[7] * y;
@@ -217313,7 +217454,7 @@ class Matrix3d {
217313
217454
  * @param result the Point3d result (optional)
217314
217455
  */
217315
217456
  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);
217457
+ 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
217458
  }
217318
217459
  /**
217319
217460
  * 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 +217497,7 @@ class Matrix3d {
217356
217497
  * @param result the vector result (optional)
217357
217498
  */
217358
217499
  multiplyTransposeXYZ(x, y, z, result) {
217359
- result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_2__.Vector3d();
217500
+ result = result ? result : new _Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Vector3d();
217360
217501
  result.x = this.coffs[0] * x + this.coffs[3] * y + this.coffs[6] * z;
217361
217502
  result.y = this.coffs[1] * x + this.coffs[4] * y + this.coffs[7] * z;
217362
217503
  result.z = this.coffs[2] * x + this.coffs[5] * y + this.coffs[8] * z;
@@ -217373,7 +217514,7 @@ class Matrix3d {
217373
217514
  const x = vector.x;
217374
217515
  const y = vector.y;
217375
217516
  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);
217517
+ 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
217518
  }
217378
217519
  return undefined;
217379
217520
  }
@@ -217388,7 +217529,7 @@ class Matrix3d {
217388
217529
  const x = vector.x;
217389
217530
  const y = vector.y;
217390
217531
  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);
217532
+ 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
217533
  }
217393
217534
  return undefined;
217394
217535
  }
@@ -217401,7 +217542,7 @@ class Matrix3d {
217401
217542
  multiplyInverseXYZAsVector3d(x, y, z, result) {
217402
217543
  this.computeCachedInverse(true);
217403
217544
  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);
217545
+ 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
217546
  }
217406
217547
  return undefined;
217407
217548
  }
@@ -217426,7 +217567,7 @@ class Matrix3d {
217426
217567
  multiplyInverseXYZAsPoint3d(x, y, z, result) {
217427
217568
  this.computeCachedInverse(true);
217428
217569
  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);
217570
+ 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
217571
  }
217431
217572
  return undefined;
217432
217573
  }
@@ -224319,7 +224460,10 @@ class PolygonOps {
224319
224460
  * * Compare to [[closestPoint]].
224320
224461
  * @param polygon points of the polygon, closure point optional
224321
224462
  * @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.
224463
+ * @param tolerance optional tolerance(s) to determine point-vertex and point-edge coincidence. A single number
224464
+ * is interpreted as distance tolerance. If an array is given, the first number is interpreted as distance tolerance;
224465
+ * the second, as parametric tolerance. Default values are [[Geometry.smallMetricDistance]] for distance tolerance
224466
+ * and 0.0 for parameter tolerance.
224323
224467
  * @param result optional pre-allocated object to fill and return
224324
224468
  * @returns details d of the closest point `d.point`:
224325
224469
  * * `d.isValid()` returns true if and only if the polygon is nontrivial.
@@ -224331,7 +224475,9 @@ class PolygonOps {
224331
224475
  static closestPointOnBoundary(polygon, testPoint, tolerance = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.smallMetricDistance, result) {
224332
224476
  if (!(polygon instanceof _IndexedXYZCollection__WEBPACK_IMPORTED_MODULE_5__.IndexedXYZCollection))
224333
224477
  return this.closestPointOnBoundary(new _Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_4__.Point3dArrayCarrier(polygon), testPoint, tolerance, result);
224334
- const distTol2 = tolerance * tolerance;
224478
+ const distTol = Array.isArray(tolerance) ? tolerance[0] : tolerance;
224479
+ const paramTol = Array.isArray(tolerance) ? Math.abs(tolerance[1]) : 0.0;
224480
+ const distTol2 = distTol * distTol;
224335
224481
  let numPoints = polygon.length;
224336
224482
  while (numPoints > 1) {
224337
224483
  if (polygon.distanceSquaredIndexIndex(0, numPoints - 1) > distTol2)
@@ -224341,29 +224487,59 @@ class PolygonOps {
224341
224487
  result = PolygonLocationDetail.create(result);
224342
224488
  if (0 === numPoints)
224343
224489
  return result; // invalid
224344
- if (1 === numPoints) {
224345
- polygon.getPoint3dAtUncheckedPointIndex(0, result.point);
224490
+ const constructSingletonPoint = (index) => {
224491
+ polygon.getPoint3dAtUncheckedPointIndex(index, result.point);
224346
224492
  result.a = result.point.distance(testPoint);
224347
224493
  result.v.setZero();
224348
224494
  result.code = _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonVertex;
224349
- result.closestEdgeIndex = 0;
224495
+ result.closestEdgeIndex = index;
224350
224496
  result.closestEdgeParam = 0.0;
224351
224497
  return result;
224352
- }
224498
+ };
224499
+ if (1 === numPoints)
224500
+ return constructSingletonPoint(0);
224501
+ // lambda for computing edge parameter at which testPoint projects onto the edge starting at iEdgeStart
224502
+ const projectToEdge = (iEdgeStart) => {
224503
+ let isValid = false;
224504
+ let edgeParam = 0.0;
224505
+ let uDotU = 0.0;
224506
+ let vDotV = 0.0;
224507
+ if (iEdgeStart >= 0 && iEdgeStart < numPoints) {
224508
+ let iEdgeEnd = iEdgeStart + 1;
224509
+ if (iEdgeEnd === numPoints)
224510
+ iEdgeEnd = 0;
224511
+ uDotU = polygon.distanceSquaredIndexIndex(iEdgeStart, iEdgeEnd);
224512
+ if (uDotU > distTol2) { // nontrivial edge
224513
+ vDotV = polygon.distanceSquaredIndexXYAndZ(iEdgeStart, testPoint);
224514
+ const uDotV = polygon.dotProductIndexIndexXYAndZ(iEdgeStart, iEdgeEnd, testPoint);
224515
+ edgeParam = uDotV / uDotU; // param of projection of testPoint onto edge [iEdgeStart, iEdgeEnd]
224516
+ isValid = true;
224517
+ }
224518
+ }
224519
+ return { isValid, edgeParam, uDotU, vDotV };
224520
+ };
224521
+ // find the previous nontrivial edge's projection status before processing the first edge
224522
+ let projBeyondPrevEdge = false;
224353
224523
  let iPrev = numPoints - 1;
224524
+ for (; iPrev > 0; --iPrev) {
224525
+ const projData = projectToEdge(iPrev);
224526
+ if (projData.isValid) {
224527
+ projBeyondPrevEdge = projData.edgeParam > 1.0 + paramTol;
224528
+ break;
224529
+ }
224530
+ }
224531
+ if (iPrev <= 0) // all segments trivial, so treat like single point case
224532
+ return constructSingletonPoint(0);
224354
224533
  let minDist2 = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.largeCoordinateResult;
224355
224534
  for (let iBase = 0; iBase < numPoints; ++iBase) {
224356
224535
  let iNext = iBase + 1;
224357
224536
  if (iNext === numPoints)
224358
224537
  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;
224538
+ const projData = projectToEdge(iBase);
224539
+ if (!projData.isValid)
224540
+ continue; // ignore trivial polygon edge (keep iPrev, projBeyondPrevEdge)
224541
+ if (projData.edgeParam <= paramTol) { // testPoint projects to/before edge start
224542
+ const distToStart2 = projData.vDotV;
224367
224543
  if (distToStart2 <= distTol2) {
224368
224544
  // testPoint is at edge start; we are done
224369
224545
  polygon.getPoint3dAtUncheckedPointIndex(iBase, result.point);
@@ -224374,25 +224550,25 @@ class PolygonOps {
224374
224550
  result.closestEdgeParam = 0.0;
224375
224551
  return result;
224376
224552
  }
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
- }
224553
+ if (distToStart2 < minDist2 && projBeyondPrevEdge) {
224554
+ // update candidate (to edge start) only if testPoint projected beyond previous edge end
224555
+ polygon.getPoint3dAtUncheckedPointIndex(iBase, result.point);
224556
+ result.a = Math.sqrt(distToStart2);
224557
+ polygon.crossProductIndexIndexIndex(iBase, iPrev, iNext, result.v);
224558
+ result.code = _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonVertex;
224559
+ result.closestEdgeIndex = iBase;
224560
+ result.closestEdgeParam = 0.0;
224561
+ minDist2 = distToStart2;
224388
224562
  }
224563
+ projBeyondPrevEdge = false;
224389
224564
  }
224390
- else if (edgeParam <= 1.0) { // testPoint projects inside edge, or to edge end
224391
- const projDist2 = vDotV - edgeParam * edgeParam * uDotU;
224565
+ else if (projData.edgeParam <= 1.0 + paramTol) { // testPoint projects inside edge, or to edge end
224566
+ projData.edgeParam = _Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.clamp(projData.edgeParam, 0.0, 1.0);
224567
+ const projDist2 = projData.vDotV - projData.edgeParam * projData.edgeParam * projData.uDotU;
224392
224568
  if (projDist2 <= distTol2) {
224393
224569
  // testPoint is on edge; we are done
224394
- const distToStart2 = vDotV;
224395
- if (edgeParam <= 0.5 && distToStart2 <= distTol2) {
224570
+ const distToStart2 = projData.vDotV;
224571
+ if (projData.edgeParam <= 0.5 && distToStart2 <= distTol2) {
224396
224572
  // testPoint is at edge start
224397
224573
  polygon.getPoint3dAtUncheckedPointIndex(iBase, result.point);
224398
224574
  result.a = Math.sqrt(distToStart2);
@@ -224402,8 +224578,8 @@ class PolygonOps {
224402
224578
  result.closestEdgeParam = 0.0;
224403
224579
  return result;
224404
224580
  }
224405
- const distToEnd2 = projDist2 + (1.0 - edgeParam) * (1.0 - edgeParam) * uDotU;
224406
- if (edgeParam > 0.5 && distToEnd2 <= distTol2) {
224581
+ const distToEnd2 = projDist2 + (1.0 - projData.edgeParam) * (1.0 - projData.edgeParam) * projData.uDotU;
224582
+ if (projData.edgeParam > 0.5 && distToEnd2 <= distTol2) {
224407
224583
  // testPoint is at edge end
224408
224584
  polygon.getPoint3dAtUncheckedPointIndex(iNext, result.point);
224409
224585
  result.a = Math.sqrt(distToEnd2);
@@ -224414,27 +224590,29 @@ class PolygonOps {
224414
224590
  return result;
224415
224591
  }
224416
224592
  // testPoint is on edge interior
224417
- polygon.interpolateIndexIndex(iBase, edgeParam, iNext, result.point);
224593
+ polygon.interpolateIndexIndex(iBase, projData.edgeParam, iNext, result.point);
224418
224594
  result.a = Math.sqrt(projDist2);
224419
224595
  result.v.setZero();
224420
224596
  result.code = _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonEdgeInterior;
224421
224597
  result.closestEdgeIndex = iBase;
224422
- result.closestEdgeParam = edgeParam;
224598
+ result.closestEdgeParam = projData.edgeParam;
224423
224599
  return result;
224424
224600
  }
224425
224601
  if (projDist2 < minDist2) {
224426
- // update candidate (to edge interior)
224427
- polygon.interpolateIndexIndex(iBase, edgeParam, iNext, result.point);
224602
+ // update candidate
224603
+ polygon.interpolateIndexIndex(iBase, projData.edgeParam, iNext, result.point);
224428
224604
  result.a = Math.sqrt(projDist2);
224429
224605
  polygon.crossProductIndexIndexXYAndZ(iBase, iNext, testPoint, result.v);
224430
- result.code = _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonEdgeInterior;
224606
+ result.code = projData.edgeParam < 1.0 ? _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonEdgeInterior : _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonVertex;
224607
+ ;
224431
224608
  result.closestEdgeIndex = iBase;
224432
- result.closestEdgeParam = edgeParam;
224609
+ result.closestEdgeParam = projData.edgeParam;
224433
224610
  minDist2 = projDist2;
224434
224611
  }
224612
+ projBeyondPrevEdge = false;
224435
224613
  }
224436
- else { // edgeParam > 1.0
224437
- // NOOP: testPoint projects beyond edge end, handled by next edge
224614
+ else {
224615
+ projBeyondPrevEdge = true; // to be handled by next edge
224438
224616
  }
224439
224617
  iPrev = iBase;
224440
224618
  }
@@ -224478,7 +224656,10 @@ class PolygonOps {
224478
224656
  /** Compute the intersection of a line (parameterized as a ray) with the plane of this polygon.
224479
224657
  * @param polygon points of the polygon, closure point optional
224480
224658
  * @param ray infinite line to intersect, as a ray
224481
- * @param tolerance optional distance tolerance to determine point-vertex and point-edge coincidence.
224659
+ * @param tolerance optional tolerance(s) to determine point-vertex and point-edge coincidence. A single number
224660
+ * is interpreted as distance tolerance. If an array is given, the first number is interpreted as distance tolerance;
224661
+ * the second, as parametric tolerance. Default values are [[Geometry.smallMetricDistance]] for distance tolerance
224662
+ * and 0.0 for parameter tolerance.
224482
224663
  * @param result optional pre-allocated object to fill and return
224483
224664
  * @returns details d of the line-plane intersection `d.point`:
224484
224665
  * * `d.isValid()` returns true if and only if the line intersects the plane.
@@ -224505,11 +224686,18 @@ class PolygonOps {
224505
224686
  // NOOP: intersectionPoint is on the polygon, so result.code already classifies it
224506
224687
  }
224507
224688
  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;
224689
+ // intersectionPoint is not on the polygon, so result.code refers to the closest point;
224690
+ // update it to refer to intersectionPoint.
224691
+ if (_Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonVertex === result.code) {
224692
+ result.code = (dot > 0.0)
224693
+ ? _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.InsidePolygonProjectsToVertex
224694
+ : _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OutsidePolygonProjectsToVertex;
224695
+ }
224696
+ else if (_Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OnPolygonEdgeInterior === result.code) {
224697
+ result.code = (dot > 0.0)
224698
+ ? _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.InsidePolygonProjectsToEdgeInterior
224699
+ : _Geometry__WEBPACK_IMPORTED_MODULE_2__.PolygonLocation.OutsidePolygonProjectsToEdgeInterior;
224700
+ }
224513
224701
  }
224514
224702
  }
224515
224703
  return result;
@@ -235828,11 +236016,11 @@ class AnalyticRoots {
235828
236016
  * * -1 -- beta, gamma are zero, alpha is not.There is no line defined.There are no solutions.
235829
236017
  * * 0 -- the line is well defined, but passes completely outside the unit circle.
235830
236018
  * * 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.
236019
+ * * 1 -- the line is tangent to the unit circle.
236020
+ * * Tangency is determined by tolerances, which calls a "close approach" point a tangency.
236021
+ * * (c1, s1) is the closest circle point
236022
+ * * (c2, s2) is the line point.
236023
+ * * 2 -- two simple intersections.
235836
236024
  * @param alpha constant coefficient on line
235837
236025
  * @param beta x cosine coefficient on line
235838
236026
  * @param gamma y sine coefficient on line
@@ -235964,7 +236152,7 @@ class TrigPolynomial {
235964
236152
  degree--;
235965
236153
  const roots = new _geometry3d_GrowableFloat64Array__WEBPACK_IMPORTED_MODULE_6__.GrowableFloat64Array();
235966
236154
  if (degree === -1) {
235967
- // do nothing
236155
+ // p(t) is identically zero (degenerate); do nothing.
235968
236156
  }
235969
236157
  else {
235970
236158
  if (degree === 0) {
@@ -237843,8 +238031,8 @@ var AuxChannelDataType;
237843
238031
  * When the host Polyface is transformed the displacements are rotated and scaled accordingly.
237844
238032
  */
237845
238033
  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.
238034
+ /** (X, Y, Z) unit normal vectors that replace the host [[Polyface]]'s own normals.
238035
+ * When the Polyface is transformed the normals are rotated and renormalized accordingly.
237848
238036
  */
237849
238037
  AuxChannelDataType[AuxChannelDataType["Normal"] = 3] = "Normal";
237850
238038
  })(AuxChannelDataType || (AuxChannelDataType = {}));
@@ -238033,7 +238221,15 @@ class PolyfaceAuxData {
238033
238221
  inverseRot = inverseRot ?? rot.inverse();
238034
238222
  if (!inverseRot)
238035
238223
  return false;
238036
- transformPoints(data.values, (point) => inverseRot.multiplyTransposeVectorInPlace(point));
238224
+ transformPoints(data.values, (point) => {
238225
+ inverseRot.multiplyTransposeVectorInPlace(point);
238226
+ const dot = point.magnitudeSquared();
238227
+ const tol = 1.0e-15; // cf. GrowableXYZArray.multiplyAndRenormalizeMatrix3dInverseTransposeInPlace
238228
+ if (dot > tol && Math.abs(dot - 1.0) > tol) { // only renormalize if magnitude is not near 0 or 1
238229
+ const mag = 1.0 / Math.sqrt(dot);
238230
+ point.scaleInPlace(mag);
238231
+ }
238232
+ });
238037
238233
  break;
238038
238234
  }
238039
238235
  case AuxChannelDataType.Vector: {
@@ -239882,20 +240078,14 @@ class IndexedPolyface extends Polyface {
239882
240078
  }
239883
240079
  /**
239884
240080
  * 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.
240081
+ * * If `transform` is a mirror, also reverse the index order around each facet.
240082
+ * * Note that this method always returns true. If transforming the normals fails (due to singular matrix or zero
240083
+ * normal), the original normal(s) are left unchanged.
239890
240084
  */
239891
240085
  tryTransformInPlace(transform) {
239892
- if (!this.data.tryTransformInPlace(transform))
239893
- return false;
239894
- const determinant = transform.matrix.determinant();
239895
- if (determinant < 0) {
240086
+ this.data.tryTransformInPlace(transform);
240087
+ if (transform.matrix.determinant() < 0)
239896
240088
  this.reverseIndices();
239897
- this.reverseNormals();
239898
- }
239899
240089
  return true;
239900
240090
  }
239901
240091
  /** Reverse indices for a single facet. */
@@ -239904,8 +240094,7 @@ class IndexedPolyface extends Polyface {
239904
240094
  }
239905
240095
  /** Return a deep clone. */
239906
240096
  clone() {
239907
- const result = new IndexedPolyface(this.data.clone(), this._facetStart.slice(), this._facetToFaceData.slice());
239908
- return result;
240097
+ return new IndexedPolyface(this.data.clone(), this._facetStart.slice(), this._facetToFaceData.slice());
239909
240098
  }
239910
240099
  /**
239911
240100
  * Return a deep clone with transformed points and normals.
@@ -241486,17 +241675,28 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
241486
241675
  }
241487
241676
  /** Construct facets for a rotational sweep. */
241488
241677
  addRotationalSweep(surface) {
241489
- const contour = surface.getCurves();
241490
- const section0 = _curve_Query_StrokeCountChain__WEBPACK_IMPORTED_MODULE_16__.StrokeCountSection.createForParityRegionOrChain(contour, this._options);
241678
+ const contour = surface.getSweepContourRef();
241679
+ const section0 = _curve_Query_StrokeCountChain__WEBPACK_IMPORTED_MODULE_16__.StrokeCountSection.createForParityRegionOrChain(contour.getCurves(), this._options);
241491
241680
  const baseStrokes = section0.getStrokes();
241681
+ // ensure sweep is positive for buildRotationalNormalsInLineStrings
241492
241682
  const axis = surface.cloneAxisRay();
241683
+ const sweepAngle = surface.getSweep();
241684
+ if (sweepAngle.radians < 0.0) {
241685
+ axis.direction.scaleInPlace(-1);
241686
+ sweepAngle.setRadians(-sweepAngle.radians);
241687
+ }
241688
+ // swingVector points in the direction of positive sweep
241493
241689
  const perpendicularVector = _curve_Query_CylindricalRange__WEBPACK_IMPORTED_MODULE_17__.CylindricalRangeQuery.computeMaxVectorFromRay(axis, baseStrokes);
241494
241690
  const swingVector = axis.direction.crossProduct(perpendicularVector);
241691
+ // ensure contour computed normal is aligned with swingVector for buildRotationalNormalsInLineStrings
241692
+ const contourNormalAgreesWithSwingDir = contour.localToWorld.matrix.dotColumnZ(swingVector) > 0;
241693
+ if (!contourNormalAgreesWithSwingDir)
241694
+ baseStrokes.reverseInPlace();
241495
241695
  if (this._options.needNormals)
241496
241696
  _curve_Query_CylindricalRange__WEBPACK_IMPORTED_MODULE_17__.CylindricalRangeQuery.buildRotationalNormalsInLineStrings(baseStrokes, axis, swingVector);
241497
241697
  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);
241698
+ const maxPath = Math.abs(maxDistance * sweepAngle.radians);
241699
+ let numStep = _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_4__.StrokeOptions.applyAngleTol(this._options, 1, sweepAngle.radians, undefined);
241500
241700
  numStep = _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_4__.StrokeOptions.applyMaxEdgeLength(this._options, numStep, maxPath);
241501
241701
  for (let i = 1; i <= numStep; i++) {
241502
241702
  const transformA = surface.getFractionalRotationTransform((i - 1) / numStep);
@@ -241504,11 +241704,10 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
241504
241704
  this.addBetweenRotatedStrokeSets(baseStrokes, transformA, i - 1, transformB, i);
241505
241705
  }
241506
241706
  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));
241707
+ contour.purgeFacets();
241708
+ const reverseNearCap = contourNormalAgreesWithSwingDir;
241709
+ contour.emitFacets(this, reverseNearCap, undefined);
241710
+ contour.emitFacets(this, !reverseNearCap, surface.getFractionalRotationTransform(1.0));
241512
241711
  }
241513
241712
  }
241514
241713
  /** Construct facets for any planar region. */
@@ -241572,9 +241771,9 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
241572
241771
  const normalIndices = ls.ensureEmptyNormalIndices();
241573
241772
  const normalIndex0 = this.findOrAddNormalInLineString(ls, 0, transform);
241574
241773
  normalIndices.push(normalIndex0);
241575
- let normalIndexA = normalIndex0;
241576
- let normalIndexB;
241577
241774
  if (n > 1) {
241775
+ let normalIndexA = normalIndex0;
241776
+ let normalIndexB;
241578
241777
  for (let i = 1; i + 1 < n; i++) {
241579
241778
  normalIndexB = this.findOrAddNormalInLineString(ls, i, transform, normalIndexA);
241580
241779
  normalIndices.push(normalIndexB);
@@ -241589,9 +241788,9 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
241589
241788
  const uvIndices = ls.ensureEmptyUVIndices();
241590
241789
  const uvIndex0 = this.findOrAddParamInLineString(ls, 0, vParam);
241591
241790
  uvIndices.push(uvIndex0);
241592
- let uvIndexA = uvIndex0;
241593
- let uvIndexB;
241594
241791
  if (n > 1) {
241792
+ let uvIndexA = uvIndex0;
241793
+ let uvIndexB;
241595
241794
  for (let i = 1; i + 1 < n; i++) {
241596
241795
  uvIndexB = this.findOrAddParamInLineString(ls, i, vParam, uvIndexA);
241597
241796
  uvIndices.push(uvIndexB);
@@ -243520,15 +243719,32 @@ class PolyfaceData {
243520
243719
  return result;
243521
243720
  }
243522
243721
  /**
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.
243722
+ * Apply a transform to the mesh data.
243723
+ * * Transform the data as follows:
243724
+ * * apply `transform` to points.
243725
+ * * apply inverse transpose of `transform` to normals and renormalize. This preserves normals perpendicular
243726
+ * to transformed facets, and keeps them pointing outward, e.g, if the mesh is closed. If the transform is not
243727
+ * invertible or a normal has zero length, the normal(s) are left unchanged, and this error is silently ignored.
243728
+ * * apply `transform` to auxData.
243729
+ * * scale faceData distances by the cube root of the absolute value of the determinant of `transform.matrix`.
243730
+ * * Note that if the transform is a mirror, this method does NOT reverse index order. This is the caller's
243731
+ * responsibility. This base class is just a data carrier: PolyfaceData does not know if the index order has
243732
+ * special meaning.
243733
+ * * Note that this method always returns true. If transforming normals fails (due to singular matrix or zero
243734
+ * normal), the original normal(s) are left unchanged.
243526
243735
  */
243527
243736
  tryTransformInPlace(transform) {
243528
243737
  this.point.multiplyTransformInPlace(transform);
243529
243738
  if (this.normal && !transform.matrix.isIdentity)
243530
243739
  this.normal.multiplyAndRenormalizeMatrix3dInverseTransposeInPlace(transform.matrix);
243531
- return undefined === this.auxData || this.auxData.tryTransformInPlace(transform);
243740
+ if (this.face.length > 0) {
243741
+ const distScale = Math.cbrt(Math.abs(transform.matrix.determinant()));
243742
+ for (const faceData of this.face)
243743
+ faceData.scaleDistances(distScale);
243744
+ }
243745
+ if (this.auxData)
243746
+ this.auxData.tryTransformInPlace(transform);
243747
+ return true;
243532
243748
  }
243533
243749
  /**
243534
243750
  * Compress the instance by equating duplicate data.
@@ -245464,8 +245680,8 @@ class PolyfaceQuery {
245464
245680
  /**
245465
245681
  * Search facets for the first one that intersects the infinite line.
245466
245682
  * * 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.
245683
+ * returns `false`. In this case, `intersectRay3d` will return `undefined`, but the callback will be invoked for
245684
+ * each intersection.
245469
245685
  * * Example callback logic:
245470
245686
  * * Accept the first found facet that intersects the half-line specified by the ray: `return detail.a >= 0.0;`
245471
245687
  * * Collect all intersections: `myIntersections.push(detail.clone()); return false;` Then after `intersectRay3d`
@@ -245483,6 +245699,7 @@ class PolyfaceQuery {
245483
245699
  if (visitor instanceof _Polyface__WEBPACK_IMPORTED_MODULE_7__.Polyface)
245484
245700
  return PolyfaceQuery.intersectRay3d(visitor.createVisitor(0), ray, options);
245485
245701
  let detail;
245702
+ const tol = options ? [options.distanceTolerance, options.parameterTolerance] : undefined;
245486
245703
  visitor.setNumWrap(0);
245487
245704
  while (visitor.moveToNextFacet()) {
245488
245705
  const numEdges = visitor.pointCount; // #vertices = #edges since numWrap is zero
@@ -245494,7 +245711,7 @@ class PolyfaceQuery {
245494
245711
  detail = this._workFacetDetail3 = _FacetLocationDetail__WEBPACK_IMPORTED_MODULE_37__.TriangularFacetLocationDetail.create(visitor.currentReadIndex(), detail3, this._workFacetDetail3);
245495
245712
  }
245496
245713
  else {
245497
- const detailN = this._workPolyDetail = _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_8__.PolygonOps.intersectRay3d(vertices, ray, options?.distanceTolerance, this._workPolyDetail);
245714
+ const detailN = this._workPolyDetail = _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_8__.PolygonOps.intersectRay3d(vertices, ray, tol, this._workPolyDetail);
245498
245715
  if (_geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_8__.PolygonOps.isConvex(vertices))
245499
245716
  detail = this._workFacetDetailC = _FacetLocationDetail__WEBPACK_IMPORTED_MODULE_37__.ConvexFacetLocationDetail.create(visitor.currentReadIndex(), numEdges, detailN, this._workFacetDetailC);
245500
245717
  else
@@ -261157,8 +261374,10 @@ class Box extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
261157
261374
  getConstructiveFrame() {
261158
261375
  return this._localToWorld.cloneRigid();
261159
261376
  }
261160
- /** Apply the transform to the box's `localToWorld` frame.
261377
+ /**
261378
+ * Apply the transform to the box's `localToWorld` frame.
261161
261379
  * * Note that this may make the frame nonrigid.
261380
+ * * This fails if the transformation is singular.
261162
261381
  */
261163
261382
  tryTransformInPlace(transform) {
261164
261383
  if (transform.matrix.isSingular())
@@ -261166,11 +261385,14 @@ class Box extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
261166
261385
  transform.multiplyTransformTransform(this._localToWorld, this._localToWorld);
261167
261386
  return true;
261168
261387
  }
261169
- /** Clone the box and immediately apply `transform` to the local frame of the clone. */
261388
+ /**
261389
+ * Clone the box and immediately apply `transform` to the local frame of the clone.
261390
+ * * Note that this may make the frame nonrigid.
261391
+ * * This fails if the transformation is singular.
261392
+ */
261170
261393
  cloneTransformed(transform) {
261171
261394
  const result = this.clone();
261172
- transform.multiplyTransformTransform(result._localToWorld, result._localToWorld);
261173
- return result;
261395
+ return result.tryTransformInPlace(transform) ? result : undefined;
261174
261396
  }
261175
261397
  /**
261176
261398
  * Create a new box from vector and size daa.
@@ -261205,7 +261427,7 @@ class Box extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
261205
261427
  }
261206
261428
  /**
261207
261429
  * Create an axis-aligned `Box` primitive for a range.
261208
- * @param range range corners Origin of base rectangle
261430
+ * @param range range low point is origin of base rectangle, range extents are box extents
261209
261431
  * @param capped true to define top and bottom closure caps
261210
261432
  */
261211
261433
  static createRange(range, capped) {
@@ -261413,7 +261635,7 @@ class Cone extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
261413
261635
  getConstructiveFrame() {
261414
261636
  return this._localToWorld.cloneRigid();
261415
261637
  }
261416
- /** Apply the transform to this cone's locla to world coordinates.
261638
+ /** Apply the transform to this cone's local to world coordinates.
261417
261639
  * * Note that the radii are not changed. Scaling is absorbed into the frame.
261418
261640
  * * This fails if the transformation is singular.
261419
261641
  */
@@ -261425,11 +261647,11 @@ class Cone extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive {
261425
261647
  }
261426
261648
  /**
261427
261649
  * Create a clone and immediately transform the clone.
261650
+ * * This fails if the transformation is singular.
261428
261651
  */
261429
261652
  cloneTransformed(transform) {
261430
261653
  const result = this.clone();
261431
- transform.multiplyTransformTransform(result._localToWorld, result._localToWorld);
261432
- return result;
261654
+ return result.tryTransformInPlace(transform) ? result : undefined;
261433
261655
  }
261434
261656
  /** create a cylinder or cone from two endpoints and their radii. The circular cross sections are perpendicular to the axis line
261435
261657
  * from start to end point.
@@ -261728,7 +261950,10 @@ class LinearSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrim
261728
261950
  clone() {
261729
261951
  return new LinearSweep(this._contour.clone(), this._direction.clone(), this.capped);
261730
261952
  }
261731
- /** apply a transform to the curves and sweep vector */
261953
+ /**
261954
+ * Apply a transform to the curves and sweep vector
261955
+ * * This fails if the transformation is singular.
261956
+ */
261732
261957
  tryTransformInPlace(transform) {
261733
261958
  if (transform.matrix.isSingular())
261734
261959
  return false;
@@ -261746,11 +261971,13 @@ class LinearSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrim
261746
261971
  getConstructiveFrame() {
261747
261972
  return this._contour.localToWorld.cloneRigid();
261748
261973
  }
261749
- /** Return a transformed clone */
261974
+ /**
261975
+ * Return a transformed clone.
261976
+ * * This fails if the transformation is singular.
261977
+ */
261750
261978
  cloneTransformed(transform) {
261751
261979
  const result = this.clone();
261752
- result.tryTransformInPlace(transform);
261753
- return result;
261980
+ return result.tryTransformInPlace(transform) ? result : undefined;
261754
261981
  }
261755
261982
  /** Test for near-equality of coordinates in `other` */
261756
261983
  isAlmostEqual(other) {
@@ -261849,7 +262076,12 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
261849
262076
  this.capped = capped;
261850
262077
  this._sweepAngle = sweepAngle;
261851
262078
  }
261852
- /** Create a rotational sweep. */
262079
+ /** Create a rotational sweep.
262080
+ * @param contour profile to sweep, coplanar with axis. CAPTURED
262081
+ * @param axis rotation axis
262082
+ * @param sweepAngle signed angular sweep
262083
+ * @param capped whether to cap the surface to make a solid
262084
+ */
261853
262085
  static create(contour, axis, sweepAngle, capped) {
261854
262086
  if (!axis.direction.normalizeInPlace())
261855
262087
  return undefined;
@@ -261894,20 +262126,28 @@ class RotationalSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.Solid
261894
262126
  clone() {
261895
262127
  return new RotationalSweep(this._contour.clone(), this._normalizedAxis.clone(), this._sweepAngle.clone(), this.capped);
261896
262128
  }
261897
- /** Transform the contour and axis */
262129
+ /**
262130
+ * Transform the contour and axis.
262131
+ * * This fails if the transformation is singular.
262132
+ */
261898
262133
  tryTransformInPlace(transform) {
261899
- if (!transform.matrix.isSingular()
261900
- && this._contour.tryTransformInPlace(transform)) {
262134
+ if (transform.matrix.isSingular())
262135
+ return false;
262136
+ if (this._contour.tryTransformInPlace(transform)) {
261901
262137
  this._normalizedAxis.transformInPlace(transform);
262138
+ if (transform.matrix.determinant() < 0.0)
262139
+ this._sweepAngle.setRadians(-this._sweepAngle.radians);
261902
262140
  return this._normalizedAxis.direction.normalizeInPlace();
261903
262141
  }
261904
262142
  return false;
261905
262143
  }
261906
- /** return a cloned transform. */
262144
+ /**
262145
+ * Return a transformed clone.
262146
+ * * This fails if the transformation is singular.
262147
+ */
261907
262148
  cloneTransformed(transform) {
261908
262149
  const result = this.clone();
261909
- result.tryTransformInPlace(transform);
261910
- return result;
262150
+ return result.tryTransformInPlace(transform) ? result : undefined;
261911
262151
  }
261912
262152
  /** Dispatch to strongly typed handler `handler.handleRotationalSweep(this)` */
261913
262153
  dispatchToGeometryHandler(handler) {
@@ -262043,20 +262283,26 @@ class RuledSweep extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimi
262043
262283
  clone() {
262044
262284
  return new RuledSweep(this.cloneSweepContours(), this.capped);
262045
262285
  }
262046
- /** Transform all contours in place. */
262286
+ /**
262287
+ * Transform all contours in place.
262288
+ * * This fails if the transformation is singular.
262289
+ */
262047
262290
  tryTransformInPlace(transform) {
262048
262291
  if (transform.matrix.isSingular())
262049
262292
  return false;
262050
262293
  for (const contour of this._contours) {
262051
- contour.tryTransformInPlace(transform);
262294
+ if (!contour.tryTransformInPlace(transform))
262295
+ return false;
262052
262296
  }
262053
262297
  return true;
262054
262298
  }
262055
- /** Return a cloned transform. */
262299
+ /**
262300
+ * Return a transformed clone.
262301
+ * * This fails if the transformation is singular.
262302
+ */
262056
262303
  cloneTransformed(transform) {
262057
262304
  const result = this.clone();
262058
- result.tryTransformInPlace(transform);
262059
- return result;
262305
+ return result.tryTransformInPlace(transform) ? result : undefined;
262060
262306
  }
262061
262307
  /** Return a coordinate frame (right handed unit vectors)
262062
262308
  * * origin on base contour
@@ -262237,12 +262483,12 @@ __webpack_require__.r(__webpack_exports__);
262237
262483
  /* harmony import */ var _curve_Loop__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../curve/Loop */ "../../core/geometry/lib/esm/curve/Loop.js");
262238
262484
  /* harmony import */ var _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../curve/StrokeOptions */ "../../core/geometry/lib/esm/curve/StrokeOptions.js");
262239
262485
  /* 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");
262486
+ /* harmony import */ var _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/AngleSweep */ "../../core/geometry/lib/esm/geometry3d/AngleSweep.js");
262487
+ /* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
262242
262488
  /* harmony import */ var _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../geometry3d/Plane3dByOriginAndVectors */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndVectors.js");
262243
262489
  /* harmony import */ var _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../geometry3d/Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
262244
262490
  /* 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");
262491
+ /* harmony import */ var _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../geometry3d/Transform */ "../../core/geometry/lib/esm/geometry3d/Transform.js");
262246
262492
  /* harmony import */ var _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SolidPrimitive */ "../../core/geometry/lib/esm/solid/SolidPrimitive.js");
262247
262493
  /*---------------------------------------------------------------------------------------------
262248
262494
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -262286,32 +262532,32 @@ class Sphere extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive
262286
262532
  /** String name for schema properties */
262287
262533
  this.solidPrimitiveType = "sphere";
262288
262534
  this._localToWorld = localToWorld;
262289
- this._latitudeSweep = latitudeSweep ? latitudeSweep : _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_1__.AngleSweep.createFullLatitude();
262535
+ this._latitudeSweep = latitudeSweep;
262290
262536
  this._latitudeSweep.capLatitudeInPlace();
262291
262537
  }
262292
262538
  /** return a deep clone */
262293
262539
  clone() {
262294
262540
  return new Sphere(this._localToWorld.clone(), this._latitudeSweep.clone(), this.capped);
262295
262541
  }
262296
- /** Transform the sphere in place.
262542
+ /**
262543
+ * Transform the sphere in place.
262297
262544
  * * Fails if the transform is singular.
262298
262545
  */
262299
262546
  tryTransformInPlace(transform) {
262300
262547
  if (transform.matrix.isSingular())
262301
262548
  return false;
262302
262549
  transform.multiplyTransformTransform(this._localToWorld, this._localToWorld);
262550
+ if (transform.matrix.determinant() < 0.0)
262551
+ this._latitudeSweep.reverseInPlace();
262303
262552
  return true;
262304
262553
  }
262305
- /** Return a transformed clone. */
262554
+ /**
262555
+ * Return a transformed clone.
262556
+ * * Fails if the transform is singular.
262557
+ */
262306
262558
  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;
262559
+ const result = this.clone();
262560
+ return result.tryTransformInPlace(transform) ? result : undefined;
262315
262561
  }
262316
262562
  /** Return a coordinate frame (right handed, unit axes)
262317
262563
  * * origin at sphere center
@@ -262325,8 +262571,8 @@ class Sphere extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive
262325
262571
  get latitudeSweepFraction() { return this._latitudeSweep.sweepRadians / Math.PI; }
262326
262572
  /** Create from center and radius, with optional restricted latitudes. */
262327
262573
  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);
262574
+ const localToWorld = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_1__.Transform.createOriginAndMatrix(center, _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_2__.Matrix3d.createUniformScale(radius));
262575
+ return new Sphere(localToWorld, latitudeSweep ? latitudeSweep.clone() : _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_3__.AngleSweep.createFullLatitude(), false);
262330
262576
  }
262331
262577
  /** Create an ellipsoid which is a unit sphere mapped to position by an (arbitrary, possibly skewed and scaled) transform. */
262332
262578
  static createEllipsoid(localToWorld, latitudeSweep, capped) {
@@ -262336,18 +262582,18 @@ class Sphere extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive
262336
262582
  static createDgnSphere(center, vectorX, vectorZ, radiusXY, radiusZ, latitudeSweep, capped) {
262337
262583
  const vectorY = vectorX.rotate90Around(vectorZ);
262338
262584
  if (vectorY && !vectorX.isParallelTo(vectorZ)) {
262339
- const matrix = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_3__.Matrix3d.createColumns(vectorX, vectorY, vectorZ);
262585
+ const matrix = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_2__.Matrix3d.createColumns(vectorX, vectorY, vectorZ);
262340
262586
  matrix.scaleColumns(radiusXY, radiusXY, radiusZ, matrix);
262341
- const frame = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_2__.Transform.createOriginAndMatrix(center, matrix);
262587
+ const frame = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_1__.Transform.createOriginAndMatrix(center, matrix);
262342
262588
  return new Sphere(frame, latitudeSweep.clone(), capped);
262343
262589
  }
262344
262590
  return undefined;
262345
262591
  }
262346
262592
  /** Create a sphere from the typical parameters of the Dgn file */
262347
262593
  static createFromAxesAndScales(center, axes, radiusX, radiusY, radiusZ, latitudeSweep, capped) {
262348
- const localToWorld = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_2__.Transform.createOriginAndMatrix(center, axes);
262594
+ const localToWorld = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_1__.Transform.createOriginAndMatrix(center, axes);
262349
262595
  localToWorld.matrix.scaleColumnsInPlace(radiusX, radiusY, radiusZ);
262350
- return new Sphere(localToWorld, latitudeSweep ? latitudeSweep.clone() : _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_1__.AngleSweep.createFullLatitude(), capped);
262596
+ return new Sphere(localToWorld, latitudeSweep ? latitudeSweep.clone() : _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_3__.AngleSweep.createFullLatitude(), capped);
262351
262597
  }
262352
262598
  /** return (copy of) sphere center */
262353
262599
  cloneCenter() { return this._localToWorld.getOrigin(); }
@@ -262393,10 +262639,16 @@ class Sphere extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive
262393
262639
  return false;
262394
262640
  }
262395
262641
  /**
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.
262642
+ * Return strokes for the elliptical arc cross-section at latitude sweep fraction v.
262643
+ * * Optional inputs control the number of strokes along the cross-section:
262644
+ * * If `fixedStrokeCount` is supplied, it is taken as the cross-section stroke count.
262645
+ * * If `fixedStrokeCount` is undefined, stroke count is computed by applying `options` to the cross-section.
262646
+ * * If neither input is supplied, the stroke count default is 16.
262647
+ * * In any case, stroke count is clamped to the interval [4,64].
262648
+ * @param v fractional position along the sphere axis
262649
+ * @param fixedStrokeCount optional stroke count in u-direction
262650
+ * @param options optional stroke options in u-direction
262651
+ * @return strokes as line string
262400
262652
  */
262401
262653
  strokeConstantVSection(v, fixedStrokeCount, options) {
262402
262654
  let strokeCount = 16;
@@ -262412,7 +262664,7 @@ class Sphere extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimitive
262412
262664
  const c1 = Math.cos(phi);
262413
262665
  const s1 = Math.sin(phi);
262414
262666
  let c0, s0;
262415
- const result = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_6__.LineString3d.createForStrokes(fixedStrokeCount, options);
262667
+ const result = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_6__.LineString3d.createForStrokes(strokeCount, options);
262416
262668
  const deltaRadians = Math.PI * 2.0 / strokeCount;
262417
262669
  const fractions = result.fractions; // possibly undefined !!!
262418
262670
  const derivatives = result.packedDerivatives; // possibly undefined !!!
@@ -262639,7 +262891,7 @@ class SweepContour {
262639
262891
  return undefined;
262640
262892
  }
262641
262893
  /** Create for rotational sweep.
262642
- * @param contour curve to sweep, CAPTURED. For best results, contour should be planar.
262894
+ * @param contour curve to sweep, CAPTURED. For best results, contour should be coplanar with axis.
262643
262895
  * @param axis rotation axis
262644
262896
  */
262645
262897
  static createForRotation(contour, axis) {
@@ -262897,19 +263149,23 @@ class TorusPipe extends _SolidPrimitive__WEBPACK_IMPORTED_MODULE_0__.SolidPrimit
262897
263149
  result._isReversed = this._isReversed;
262898
263150
  return result;
262899
263151
  }
262900
- /** Apply `transform` to the local coordinate system. */
263152
+ /**
263153
+ * Apply `transform` to the local coordinate system.
263154
+ * * Fails if the transformation is singular.
263155
+ */
262901
263156
  tryTransformInPlace(transform) {
262902
263157
  if (transform.matrix.isSingular())
262903
263158
  return false;
262904
263159
  transform.multiplyTransformTransform(this._localToWorld, this._localToWorld);
262905
263160
  return true;
262906
263161
  }
262907
- /** Clone this TorusPipe and transform the clone */
263162
+ /**
263163
+ * Clone this TorusPipe and transform the clone.
263164
+ * * Fails if the transformation is singular.
263165
+ */
262908
263166
  cloneTransformed(transform) {
262909
263167
  const result = this.clone();
262910
- if (!result.tryTransformInPlace(transform))
262911
- return undefined;
262912
- return result;
263168
+ return result.tryTransformInPlace(transform) ? result : undefined;
262913
263169
  }
262914
263170
  /** Create a new `TorusPipe`
262915
263171
  * @param frame local to world transformation. For best results, the matrix part should be a pure rotation.
@@ -290386,7 +290642,7 @@ exports.getRpcInterfaces = getRpcInterfaces;
290386
290642
  *--------------------------------------------------------------------------------------------*/
290387
290643
  const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
290388
290644
  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");
290645
+ const ecschema_rpcinterface_common_1 = __webpack_require__(/*! @itwin/ecschema-rpcinterface-common */ "../../core/ecschema-rpc/common/lib/esm/ecschema-rpc-interface.js");
290390
290646
  function getRpcInterfaces() {
290391
290647
  const rpcInterfaces = [];
290392
290648
  rpcInterfaces.push(core_common_1.IModelReadRpcInterface);
@@ -296142,9 +296398,9 @@ const gBase64 = {
296142
296398
 
296143
296399
  /***/ }),
296144
296400
 
296145
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
296401
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
296146
296402
  /*!******************************************************************************************************************************!*\
296147
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
296403
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
296148
296404
  \******************************************************************************************************************************/
296149
296405
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296150
296406
 
@@ -296162,9 +296418,9 @@ function _arrayLikeToArray(r, a) {
296162
296418
 
296163
296419
  /***/ }),
296164
296420
 
296165
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
296421
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
296166
296422
  /*!****************************************************************************************************************************!*\
296167
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
296423
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
296168
296424
  \****************************************************************************************************************************/
296169
296425
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296170
296426
 
@@ -296180,9 +296436,9 @@ function _arrayWithHoles(r) {
296180
296436
 
296181
296437
  /***/ }),
296182
296438
 
296183
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
296439
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
296184
296440
  /*!***********************************************************************************************************************************!*\
296185
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
296441
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
296186
296442
  \***********************************************************************************************************************************/
296187
296443
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296188
296444
 
@@ -296199,9 +296455,9 @@ function _assertThisInitialized(e) {
296199
296455
 
296200
296456
  /***/ }),
296201
296457
 
296202
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
296458
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
296203
296459
  /*!****************************************************************************************************************************!*\
296204
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
296460
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
296205
296461
  \****************************************************************************************************************************/
296206
296462
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296207
296463
 
@@ -296217,9 +296473,9 @@ function _classCallCheck(a, n) {
296217
296473
 
296218
296474
  /***/ }),
296219
296475
 
296220
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
296476
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
296221
296477
  /*!*************************************************************************************************************************!*\
296222
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
296478
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
296223
296479
  \*************************************************************************************************************************/
296224
296480
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296225
296481
 
@@ -296228,7 +296484,7 @@ __webpack_require__.r(__webpack_exports__);
296228
296484
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296229
296485
  /* harmony export */ "default": () => (/* binding */ _createClass)
296230
296486
  /* 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");
296487
+ /* 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
296488
 
296233
296489
  function _defineProperties(e, r) {
296234
296490
  for (var t = 0; t < r.length; t++) {
@@ -296245,9 +296501,9 @@ function _createClass(e, r, t) {
296245
296501
 
296246
296502
  /***/ }),
296247
296503
 
296248
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
296504
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
296249
296505
  /*!****************************************************************************************************************************!*\
296250
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
296506
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
296251
296507
  \****************************************************************************************************************************/
296252
296508
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296253
296509
 
@@ -296256,7 +296512,7 @@ __webpack_require__.r(__webpack_exports__);
296256
296512
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296257
296513
  /* harmony export */ "default": () => (/* binding */ _defineProperty)
296258
296514
  /* 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");
296515
+ /* 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
296516
 
296261
296517
  function _defineProperty(e, r, t) {
296262
296518
  return (r = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r)) in e ? Object.defineProperty(e, r, {
@@ -296270,9 +296526,9 @@ function _defineProperty(e, r, t) {
296270
296526
 
296271
296527
  /***/ }),
296272
296528
 
296273
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
296529
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
296274
296530
  /*!****************************************************************************************************************************!*\
296275
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
296531
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
296276
296532
  \****************************************************************************************************************************/
296277
296533
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296278
296534
 
@@ -296290,9 +296546,9 @@ function _getPrototypeOf(t) {
296290
296546
 
296291
296547
  /***/ }),
296292
296548
 
296293
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
296549
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
296294
296550
  /*!**********************************************************************************************************************!*\
296295
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
296551
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
296296
296552
  \**********************************************************************************************************************/
296297
296553
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296298
296554
 
@@ -296301,7 +296557,7 @@ __webpack_require__.r(__webpack_exports__);
296301
296557
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296302
296558
  /* harmony export */ "default": () => (/* binding */ _inherits)
296303
296559
  /* 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");
296560
+ /* 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
296561
 
296306
296562
  function _inherits(t, e) {
296307
296563
  if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
@@ -296319,9 +296575,9 @@ function _inherits(t, e) {
296319
296575
 
296320
296576
  /***/ }),
296321
296577
 
296322
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
296578
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
296323
296579
  /*!*****************************************************************************************************************************!*\
296324
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
296580
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
296325
296581
  \*****************************************************************************************************************************/
296326
296582
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296327
296583
 
@@ -296337,9 +296593,9 @@ function _iterableToArray(r) {
296337
296593
 
296338
296594
  /***/ }),
296339
296595
 
296340
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
296596
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
296341
296597
  /*!*****************************************************************************************************************************!*\
296342
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
296598
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
296343
296599
  \*****************************************************************************************************************************/
296344
296600
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296345
296601
 
@@ -296355,9 +296611,9 @@ function _nonIterableRest() {
296355
296611
 
296356
296612
  /***/ }),
296357
296613
 
296358
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
296614
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
296359
296615
  /*!***************************************************************************************************************************************!*\
296360
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
296616
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
296361
296617
  \***************************************************************************************************************************************/
296362
296618
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296363
296619
 
@@ -296366,8 +296622,8 @@ __webpack_require__.r(__webpack_exports__);
296366
296622
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296367
296623
  /* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
296368
296624
  /* 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");
296625
+ /* 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");
296626
+ /* 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
296627
 
296372
296628
 
296373
296629
  function _possibleConstructorReturn(t, e) {
@@ -296379,9 +296635,9 @@ function _possibleConstructorReturn(t, e) {
296379
296635
 
296380
296636
  /***/ }),
296381
296637
 
296382
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
296638
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
296383
296639
  /*!****************************************************************************************************************************!*\
296384
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
296640
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
296385
296641
  \****************************************************************************************************************************/
296386
296642
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296387
296643
 
@@ -296399,9 +296655,9 @@ function _setPrototypeOf(t, e) {
296399
296655
 
296400
296656
  /***/ }),
296401
296657
 
296402
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
296658
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
296403
296659
  /*!*********************************************************************************************************************!*\
296404
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
296660
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
296405
296661
  \*********************************************************************************************************************/
296406
296662
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296407
296663
 
@@ -296410,10 +296666,10 @@ __webpack_require__.r(__webpack_exports__);
296410
296666
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296411
296667
  /* harmony export */ "default": () => (/* binding */ _toArray)
296412
296668
  /* 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");
296669
+ /* 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");
296670
+ /* 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");
296671
+ /* 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");
296672
+ /* 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
296673
 
296418
296674
 
296419
296675
 
@@ -296425,9 +296681,9 @@ function _toArray(r) {
296425
296681
 
296426
296682
  /***/ }),
296427
296683
 
296428
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
296684
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
296429
296685
  /*!*************************************************************************************************************************!*\
296430
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
296686
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
296431
296687
  \*************************************************************************************************************************/
296432
296688
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296433
296689
 
@@ -296436,7 +296692,7 @@ __webpack_require__.r(__webpack_exports__);
296436
296692
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296437
296693
  /* harmony export */ "default": () => (/* binding */ toPrimitive)
296438
296694
  /* 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");
296695
+ /* 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
296696
 
296441
296697
  function toPrimitive(t, r) {
296442
296698
  if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
@@ -296452,9 +296708,9 @@ function toPrimitive(t, r) {
296452
296708
 
296453
296709
  /***/ }),
296454
296710
 
296455
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
296711
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
296456
296712
  /*!***************************************************************************************************************************!*\
296457
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
296713
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
296458
296714
  \***************************************************************************************************************************/
296459
296715
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296460
296716
 
@@ -296463,8 +296719,8 @@ __webpack_require__.r(__webpack_exports__);
296463
296719
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296464
296720
  /* harmony export */ "default": () => (/* binding */ toPropertyKey)
296465
296721
  /* 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");
296722
+ /* 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");
296723
+ /* 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
296724
 
296469
296725
 
296470
296726
  function toPropertyKey(t) {
@@ -296475,9 +296731,9 @@ function toPropertyKey(t) {
296475
296731
 
296476
296732
  /***/ }),
296477
296733
 
296478
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
296734
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
296479
296735
  /*!********************************************************************************************************************!*\
296480
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
296736
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
296481
296737
  \********************************************************************************************************************/
296482
296738
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296483
296739
 
@@ -296499,9 +296755,9 @@ function _typeof(o) {
296499
296755
 
296500
296756
  /***/ }),
296501
296757
 
296502
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
296758
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
296503
296759
  /*!****************************************************************************************************************************************!*\
296504
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
296760
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
296505
296761
  \****************************************************************************************************************************************/
296506
296762
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296507
296763
 
@@ -296510,7 +296766,7 @@ __webpack_require__.r(__webpack_exports__);
296510
296766
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296511
296767
  /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
296512
296768
  /* 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");
296769
+ /* 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
296770
 
296515
296771
  function _unsupportedIterableToArray(r, a) {
296516
296772
  if (r) {
@@ -296523,9 +296779,9 @@ function _unsupportedIterableToArray(r, a) {
296523
296779
 
296524
296780
  /***/ }),
296525
296781
 
296526
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js":
296782
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js":
296527
296783
  /*!************************************************************************************!*\
296528
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js ***!
296784
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js ***!
296529
296785
  \************************************************************************************/
296530
296786
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296531
296787
 
@@ -296550,7 +296806,7 @@ __webpack_require__.r(__webpack_exports__);
296550
296806
  /* harmony export */ "spread": () => (/* binding */ spread),
296551
296807
  /* harmony export */ "toFormData": () => (/* binding */ toFormData)
296552
296808
  /* 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");
296809
+ /* 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
296810
 
296555
296811
 
296556
296812
  // This module is intended to unwrap Axios default export as named.
@@ -296580,9 +296836,9 @@ const {
296580
296836
 
296581
296837
  /***/ }),
296582
296838
 
296583
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js":
296839
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js":
296584
296840
  /*!****************************************************************************************************!*\
296585
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js ***!
296841
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js ***!
296586
296842
  \****************************************************************************************************/
296587
296843
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296588
296844
 
@@ -296591,11 +296847,11 @@ __webpack_require__.r(__webpack_exports__);
296591
296847
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296592
296848
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
296593
296849
  /* 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");
296850
+ /* 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");
296851
+ /* 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");
296852
+ /* 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");
296853
+ /* 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");
296854
+ /* 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
296855
 
296600
296856
 
296601
296857
 
@@ -296679,9 +296935,9 @@ const isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_3__["de
296679
296935
 
296680
296936
  /***/ }),
296681
296937
 
296682
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js":
296938
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js":
296683
296939
  /*!*************************************************************************************************!*\
296684
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js ***!
296940
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js ***!
296685
296941
  \*************************************************************************************************/
296686
296942
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296687
296943
 
@@ -296690,15 +296946,15 @@ __webpack_require__.r(__webpack_exports__);
296690
296946
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296691
296947
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
296692
296948
  /* 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");
296949
+ /* 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");
296950
+ /* 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");
296951
+ /* 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");
296952
+ /* 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");
296953
+ /* 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");
296954
+ /* 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");
296955
+ /* 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");
296956
+ /* 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");
296957
+ /* 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
296958
 
296703
296959
 
296704
296960
 
@@ -296770,7 +297026,11 @@ const getBodyLength = async (body) => {
296770
297026
  }
296771
297027
 
296772
297028
  if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isSpecCompliantForm(body)) {
296773
- return (await new Request(body).arrayBuffer()).byteLength;
297029
+ const _request = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, {
297030
+ method: 'POST',
297031
+ body,
297032
+ });
297033
+ return (await _request.arrayBuffer()).byteLength;
296774
297034
  }
296775
297035
 
296776
297036
  if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBufferView(body) || _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBuffer(body)) {
@@ -296810,18 +297070,13 @@ const resolveBodyLength = async (headers, body) => {
296810
297070
 
296811
297071
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
296812
297072
 
296813
- let [composedSignal, stopTimeout] = (signal || cancelToken || timeout) ?
296814
- (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken], timeout) : [];
297073
+ let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
296815
297074
 
296816
- let finished, request;
297075
+ let request;
296817
297076
 
296818
- const onFinish = () => {
296819
- !finished && setTimeout(() => {
296820
- composedSignal && composedSignal.unsubscribe();
296821
- });
296822
-
296823
- finished = true;
296824
- }
297077
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
297078
+ composedSignal.unsubscribe();
297079
+ });
296825
297080
 
296826
297081
  let requestContentLength;
296827
297082
 
@@ -296848,7 +297103,7 @@ const resolveBodyLength = async (headers, body) => {
296848
297103
  (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onUploadProgress))
296849
297104
  );
296850
297105
 
296851
- data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
297106
+ data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
296852
297107
  }
296853
297108
  }
296854
297109
 
@@ -296856,6 +297111,9 @@ const resolveBodyLength = async (headers, body) => {
296856
297111
  withCredentials = withCredentials ? 'include' : 'omit';
296857
297112
  }
296858
297113
 
297114
+ // Cloudflare Workers throws when credentials are defined
297115
+ // see https://github.com/cloudflare/workerd/issues/902
297116
+ const isCredentialsSupported = "credentials" in Request.prototype;
296859
297117
  request = new Request(url, {
296860
297118
  ...fetchOptions,
296861
297119
  signal: composedSignal,
@@ -296863,14 +297121,14 @@ const resolveBodyLength = async (headers, body) => {
296863
297121
  headers: headers.normalize().toJSON(),
296864
297122
  body: data,
296865
297123
  duplex: "half",
296866
- credentials: withCredentials
297124
+ credentials: isCredentialsSupported ? withCredentials : undefined
296867
297125
  });
296868
297126
 
296869
297127
  let response = await fetch(request);
296870
297128
 
296871
297129
  const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
296872
297130
 
296873
- if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
297131
+ if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
296874
297132
  const options = {};
296875
297133
 
296876
297134
  ['status', 'statusText', 'headers'].forEach(prop => {
@@ -296887,8 +297145,8 @@ const resolveBodyLength = async (headers, body) => {
296887
297145
  response = new Response(
296888
297146
  (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
296889
297147
  flush && flush();
296890
- isStreamResponse && onFinish();
296891
- }, encodeText),
297148
+ unsubscribe && unsubscribe();
297149
+ }),
296892
297150
  options
296893
297151
  );
296894
297152
  }
@@ -296897,9 +297155,7 @@ const resolveBodyLength = async (headers, body) => {
296897
297155
 
296898
297156
  let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].findKey(resolvers, responseType) || 'text'](response, config);
296899
297157
 
296900
- !isStreamResponse && onFinish();
296901
-
296902
- stopTimeout && stopTimeout();
297158
+ !isStreamResponse && unsubscribe && unsubscribe();
296903
297159
 
296904
297160
  return await new Promise((resolve, reject) => {
296905
297161
  (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_7__["default"])(resolve, reject, {
@@ -296912,7 +297168,7 @@ const resolveBodyLength = async (headers, body) => {
296912
297168
  })
296913
297169
  })
296914
297170
  } catch (err) {
296915
- onFinish();
297171
+ unsubscribe && unsubscribe();
296916
297172
 
296917
297173
  if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
296918
297174
  throw Object.assign(
@@ -296932,9 +297188,9 @@ const resolveBodyLength = async (headers, body) => {
296932
297188
 
296933
297189
  /***/ }),
296934
297190
 
296935
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js":
297191
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js":
296936
297192
  /*!***********************************************************************************************!*\
296937
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js ***!
297193
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js ***!
296938
297194
  \***********************************************************************************************/
296939
297195
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
296940
297196
 
@@ -296943,16 +297199,16 @@ __webpack_require__.r(__webpack_exports__);
296943
297199
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
296944
297200
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
296945
297201
  /* 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");
297202
+ /* 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");
297203
+ /* 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");
297204
+ /* 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");
297205
+ /* 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");
297206
+ /* 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");
297207
+ /* 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");
297208
+ /* 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");
297209
+ /* 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");
297210
+ /* 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");
297211
+ /* 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
297212
 
296957
297213
 
296958
297214
 
@@ -297154,9 +297410,9 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
297154
297410
 
297155
297411
  /***/ }),
297156
297412
 
297157
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js":
297413
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js":
297158
297414
  /*!****************************************************************************************!*\
297159
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js ***!
297415
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js ***!
297160
297416
  \****************************************************************************************/
297161
297417
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297162
297418
 
@@ -297165,23 +297421,23 @@ __webpack_require__.r(__webpack_exports__);
297165
297421
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297166
297422
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297167
297423
  /* 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");
297424
+ /* 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");
297425
+ /* 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");
297426
+ /* 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");
297427
+ /* 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");
297428
+ /* 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");
297429
+ /* 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");
297430
+ /* 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");
297431
+ /* 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");
297432
+ /* 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");
297433
+ /* 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");
297434
+ /* 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");
297435
+ /* 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");
297436
+ /* 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");
297437
+ /* 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");
297438
+ /* 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");
297439
+ /* 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");
297440
+ /* 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
297441
 
297186
297442
 
297187
297443
 
@@ -297275,9 +297531,9 @@ axios.default = axios;
297275
297531
 
297276
297532
  /***/ }),
297277
297533
 
297278
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js":
297534
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js":
297279
297535
  /*!*****************************************************************************************************!*\
297280
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js ***!
297536
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js ***!
297281
297537
  \*****************************************************************************************************/
297282
297538
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297283
297539
 
@@ -297286,7 +297542,7 @@ __webpack_require__.r(__webpack_exports__);
297286
297542
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297287
297543
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297288
297544
  /* 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");
297545
+ /* 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
297546
 
297291
297547
 
297292
297548
 
@@ -297391,6 +297647,20 @@ class CancelToken {
297391
297647
  }
297392
297648
  }
297393
297649
 
297650
+ toAbortSignal() {
297651
+ const controller = new AbortController();
297652
+
297653
+ const abort = (err) => {
297654
+ controller.abort(err);
297655
+ };
297656
+
297657
+ this.subscribe(abort);
297658
+
297659
+ controller.signal.unsubscribe = () => this.unsubscribe(abort);
297660
+
297661
+ return controller.signal;
297662
+ }
297663
+
297394
297664
  /**
297395
297665
  * Returns an object that contains a new `CancelToken` and a function that, when called,
297396
297666
  * cancels the `CancelToken`.
@@ -297412,9 +297682,9 @@ class CancelToken {
297412
297682
 
297413
297683
  /***/ }),
297414
297684
 
297415
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js":
297685
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js":
297416
297686
  /*!*******************************************************************************************************!*\
297417
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js ***!
297687
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js ***!
297418
297688
  \*******************************************************************************************************/
297419
297689
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297420
297690
 
@@ -297423,8 +297693,8 @@ __webpack_require__.r(__webpack_exports__);
297423
297693
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297424
297694
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297425
297695
  /* 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");
297696
+ /* 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");
297697
+ /* 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
297698
 
297429
297699
 
297430
297700
 
@@ -297454,9 +297724,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].inherits(CanceledError, _core_
297454
297724
 
297455
297725
  /***/ }),
297456
297726
 
297457
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js":
297727
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js":
297458
297728
  /*!**************************************************************************************************!*\
297459
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js ***!
297729
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js ***!
297460
297730
  \**************************************************************************************************/
297461
297731
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297462
297732
 
@@ -297474,9 +297744,9 @@ function isCancel(value) {
297474
297744
 
297475
297745
  /***/ }),
297476
297746
 
297477
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js":
297747
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js":
297478
297748
  /*!*********************************************************************************************!*\
297479
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js ***!
297749
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js ***!
297480
297750
  \*********************************************************************************************/
297481
297751
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297482
297752
 
@@ -297485,14 +297755,14 @@ __webpack_require__.r(__webpack_exports__);
297485
297755
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297486
297756
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297487
297757
  /* 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");
297758
+ /* 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");
297759
+ /* 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");
297760
+ /* 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");
297761
+ /* 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");
297762
+ /* 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");
297763
+ /* 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");
297764
+ /* 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");
297765
+ /* 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
297766
 
297497
297767
 
297498
297768
 
@@ -297725,9 +297995,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
297725
297995
 
297726
297996
  /***/ }),
297727
297997
 
297728
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js":
297998
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js":
297729
297999
  /*!**************************************************************************************************!*\
297730
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js ***!
298000
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js ***!
297731
298001
  \**************************************************************************************************/
297732
298002
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297733
298003
 
@@ -297736,7 +298006,7 @@ __webpack_require__.r(__webpack_exports__);
297736
298006
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297737
298007
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297738
298008
  /* 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");
298009
+ /* 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
298010
 
297741
298011
 
297742
298012
 
@@ -297766,7 +298036,10 @@ function AxiosError(message, code, config, request, response) {
297766
298036
  code && (this.code = code);
297767
298037
  config && (this.config = config);
297768
298038
  request && (this.request = request);
297769
- response && (this.response = response);
298039
+ if (response) {
298040
+ this.response = response;
298041
+ this.status = response.status ? response.status : null;
298042
+ }
297770
298043
  }
297771
298044
 
297772
298045
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].inherits(AxiosError, Error, {
@@ -297786,7 +298059,7 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].inherits(AxiosError, Error, {
297786
298059
  // Axios
297787
298060
  config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config),
297788
298061
  code: this.code,
297789
- status: this.response && this.response.status ? this.response.status : null
298062
+ status: this.status
297790
298063
  };
297791
298064
  }
297792
298065
  });
@@ -297841,9 +298114,9 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
297841
298114
 
297842
298115
  /***/ }),
297843
298116
 
297844
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js":
298117
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js":
297845
298118
  /*!****************************************************************************************************!*\
297846
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js ***!
298119
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js ***!
297847
298120
  \****************************************************************************************************/
297848
298121
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
297849
298122
 
@@ -297852,8 +298125,8 @@ __webpack_require__.r(__webpack_exports__);
297852
298125
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
297853
298126
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
297854
298127
  /* 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");
298128
+ /* 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");
298129
+ /* 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
298130
 
297858
298131
 
297859
298132
 
@@ -298160,9 +298433,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
298160
298433
 
298161
298434
  /***/ }),
298162
298435
 
298163
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js":
298436
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js":
298164
298437
  /*!**********************************************************************************************************!*\
298165
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js ***!
298438
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js ***!
298166
298439
  \**********************************************************************************************************/
298167
298440
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298168
298441
 
@@ -298171,7 +298444,7 @@ __webpack_require__.r(__webpack_exports__);
298171
298444
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298172
298445
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
298173
298446
  /* 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");
298447
+ /* 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
298448
 
298176
298449
 
298177
298450
 
@@ -298247,9 +298520,9 @@ class InterceptorManager {
298247
298520
 
298248
298521
  /***/ }),
298249
298522
 
298250
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js":
298523
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js":
298251
298524
  /*!*****************************************************************************************************!*\
298252
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js ***!
298525
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js ***!
298253
298526
  \*****************************************************************************************************/
298254
298527
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298255
298528
 
@@ -298258,8 +298531,8 @@ __webpack_require__.r(__webpack_exports__);
298258
298531
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298259
298532
  /* harmony export */ "default": () => (/* binding */ buildFullPath)
298260
298533
  /* 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");
298534
+ /* 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");
298535
+ /* 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
298536
 
298264
298537
 
298265
298538
 
@@ -298285,9 +298558,9 @@ function buildFullPath(baseURL, requestedURL) {
298285
298558
 
298286
298559
  /***/ }),
298287
298560
 
298288
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js":
298561
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js":
298289
298562
  /*!*******************************************************************************************************!*\
298290
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js ***!
298563
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js ***!
298291
298564
  \*******************************************************************************************************/
298292
298565
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298293
298566
 
@@ -298296,12 +298569,12 @@ __webpack_require__.r(__webpack_exports__);
298296
298569
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298297
298570
  /* harmony export */ "default": () => (/* binding */ dispatchRequest)
298298
298571
  /* 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");
298572
+ /* 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");
298573
+ /* 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");
298574
+ /* 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");
298575
+ /* 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");
298576
+ /* 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");
298577
+ /* 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
298578
 
298306
298579
 
298307
298580
 
@@ -298387,9 +298660,9 @@ function dispatchRequest(config) {
298387
298660
 
298388
298661
  /***/ }),
298389
298662
 
298390
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js":
298663
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js":
298391
298664
  /*!***************************************************************************************************!*\
298392
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js ***!
298665
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js ***!
298393
298666
  \***************************************************************************************************/
298394
298667
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298395
298668
 
@@ -298398,8 +298671,8 @@ __webpack_require__.r(__webpack_exports__);
298398
298671
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298399
298672
  /* harmony export */ "default": () => (/* binding */ mergeConfig)
298400
298673
  /* 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");
298674
+ /* 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");
298675
+ /* 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
298676
 
298404
298677
 
298405
298678
 
@@ -298510,9 +298783,9 @@ function mergeConfig(config1, config2) {
298510
298783
 
298511
298784
  /***/ }),
298512
298785
 
298513
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js":
298786
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js":
298514
298787
  /*!**********************************************************************************************!*\
298515
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js ***!
298788
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js ***!
298516
298789
  \**********************************************************************************************/
298517
298790
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298518
298791
 
@@ -298521,7 +298794,7 @@ __webpack_require__.r(__webpack_exports__);
298521
298794
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298522
298795
  /* harmony export */ "default": () => (/* binding */ settle)
298523
298796
  /* 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");
298797
+ /* 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
298798
 
298526
298799
 
298527
298800
 
@@ -298553,9 +298826,9 @@ function settle(resolve, reject, response) {
298553
298826
 
298554
298827
  /***/ }),
298555
298828
 
298556
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js":
298829
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js":
298557
298830
  /*!*****************************************************************************************************!*\
298558
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js ***!
298831
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js ***!
298559
298832
  \*****************************************************************************************************/
298560
298833
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298561
298834
 
@@ -298564,9 +298837,9 @@ __webpack_require__.r(__webpack_exports__);
298564
298837
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298565
298838
  /* harmony export */ "default": () => (/* binding */ transformData)
298566
298839
  /* 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");
298840
+ /* 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");
298841
+ /* 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");
298842
+ /* 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
298843
 
298571
298844
 
298572
298845
 
@@ -298599,9 +298872,9 @@ function transformData(fns, response) {
298599
298872
 
298600
298873
  /***/ }),
298601
298874
 
298602
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js":
298875
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js":
298603
298876
  /*!*************************************************************************************************!*\
298604
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js ***!
298877
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js ***!
298605
298878
  \*************************************************************************************************/
298606
298879
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298607
298880
 
@@ -298610,13 +298883,13 @@ __webpack_require__.r(__webpack_exports__);
298610
298883
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298611
298884
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
298612
298885
  /* 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");
298886
+ /* 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");
298887
+ /* 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");
298888
+ /* 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");
298889
+ /* 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");
298890
+ /* 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");
298891
+ /* 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");
298892
+ /* 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
298893
 
298621
298894
 
298622
298895
 
@@ -298782,9 +299055,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
298782
299055
 
298783
299056
  /***/ }),
298784
299057
 
298785
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js":
299058
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js":
298786
299059
  /*!********************************************************************************************************!*\
298787
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js ***!
299060
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js ***!
298788
299061
  \********************************************************************************************************/
298789
299062
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298790
299063
 
@@ -298804,9 +299077,9 @@ __webpack_require__.r(__webpack_exports__);
298804
299077
 
298805
299078
  /***/ }),
298806
299079
 
298807
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js":
299080
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js":
298808
299081
  /*!*******************************************************************************************!*\
298809
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js ***!
299082
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js ***!
298810
299083
  \*******************************************************************************************/
298811
299084
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298812
299085
 
@@ -298815,13 +299088,13 @@ __webpack_require__.r(__webpack_exports__);
298815
299088
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298816
299089
  /* harmony export */ "VERSION": () => (/* binding */ VERSION)
298817
299090
  /* harmony export */ });
298818
- const VERSION = "1.7.4";
299091
+ const VERSION = "1.7.7";
298819
299092
 
298820
299093
  /***/ }),
298821
299094
 
298822
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
299095
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
298823
299096
  /*!***************************************************************************************************************!*\
298824
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
299097
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
298825
299098
  \***************************************************************************************************************/
298826
299099
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298827
299100
 
@@ -298830,7 +299103,7 @@ __webpack_require__.r(__webpack_exports__);
298830
299103
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
298831
299104
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
298832
299105
  /* 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");
299106
+ /* 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
299107
 
298835
299108
 
298836
299109
 
@@ -298893,9 +299166,9 @@ prototype.toString = function toString(encoder) {
298893
299166
 
298894
299167
  /***/ }),
298895
299168
 
298896
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js":
299169
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js":
298897
299170
  /*!*********************************************************************************************************!*\
298898
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
299171
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
298899
299172
  \*********************************************************************************************************/
298900
299173
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298901
299174
 
@@ -298979,9 +299252,9 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
298979
299252
 
298980
299253
  /***/ }),
298981
299254
 
298982
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js":
299255
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js":
298983
299256
  /*!***********************************************************************************************!*\
298984
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js ***!
299257
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js ***!
298985
299258
  \***********************************************************************************************/
298986
299259
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
298987
299260
 
@@ -299001,9 +299274,9 @@ function bind(fn, thisArg) {
299001
299274
 
299002
299275
  /***/ }),
299003
299276
 
299004
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js":
299277
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js":
299005
299278
  /*!***************************************************************************************************!*\
299006
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js ***!
299279
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js ***!
299007
299280
  \***************************************************************************************************/
299008
299281
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299009
299282
 
@@ -299012,8 +299285,8 @@ __webpack_require__.r(__webpack_exports__);
299012
299285
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299013
299286
  /* harmony export */ "default": () => (/* binding */ buildURL)
299014
299287
  /* 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");
299288
+ /* 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");
299289
+ /* 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
299290
 
299018
299291
 
299019
299292
 
@@ -299081,9 +299354,9 @@ function buildURL(url, params, options) {
299081
299354
 
299082
299355
  /***/ }),
299083
299356
 
299084
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js":
299357
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js":
299085
299358
  /*!******************************************************************************************************!*\
299086
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js ***!
299359
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js ***!
299087
299360
  \******************************************************************************************************/
299088
299361
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299089
299362
 
@@ -299111,9 +299384,9 @@ function combineURLs(baseURL, relativeURL) {
299111
299384
 
299112
299385
  /***/ }),
299113
299386
 
299114
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js":
299387
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js":
299115
299388
  /*!*********************************************************************************************************!*\
299116
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js ***!
299389
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js ***!
299117
299390
  \*********************************************************************************************************/
299118
299391
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299119
299392
 
@@ -299122,51 +299395,54 @@ __webpack_require__.r(__webpack_exports__);
299122
299395
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299123
299396
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299124
299397
  /* 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");
299398
+ /* 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");
299399
+ /* 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");
299400
+ /* 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");
299401
+
299127
299402
 
299128
299403
 
299129
299404
 
299130
299405
  const composeSignals = (signals, timeout) => {
299131
- let controller = new AbortController();
299406
+ const {length} = (signals = signals ? signals.filter(Boolean) : []);
299132
299407
 
299133
- let aborted;
299408
+ if (timeout || length) {
299409
+ let controller = new AbortController();
299134
299410
 
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
- }
299411
+ let aborted;
299143
299412
 
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)
299413
+ const onabort = function (reason) {
299414
+ if (!aborted) {
299415
+ aborted = true;
299416
+ unsubscribe();
299417
+ const err = reason instanceof Error ? reason : this.reason;
299418
+ 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));
299419
+ }
299420
+ }
299147
299421
 
299148
- const unsubscribe = () => {
299149
- if (signals) {
299150
- timer && clearTimeout(timer);
299422
+ let timer = timeout && setTimeout(() => {
299151
299423
  timer = null;
299152
- signals.forEach(signal => {
299153
- signal &&
299154
- (signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort));
299155
- });
299156
- signals = null;
299424
+ onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout ${timeout} of ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT))
299425
+ }, timeout)
299426
+
299427
+ const unsubscribe = () => {
299428
+ if (signals) {
299429
+ timer && clearTimeout(timer);
299430
+ timer = null;
299431
+ signals.forEach(signal => {
299432
+ signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
299433
+ });
299434
+ signals = null;
299435
+ }
299157
299436
  }
299158
- }
299159
299437
 
299160
- signals.forEach((signal) => signal && signal.addEventListener && signal.addEventListener('abort', onabort));
299438
+ signals.forEach((signal) => signal.addEventListener('abort', onabort));
299161
299439
 
299162
- const {signal} = controller;
299440
+ const {signal} = controller;
299163
299441
 
299164
- signal.unsubscribe = unsubscribe;
299442
+ signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
299165
299443
 
299166
- return [signal, () => {
299167
- timer && clearTimeout(timer);
299168
- timer = null;
299169
- }];
299444
+ return signal;
299445
+ }
299170
299446
  }
299171
299447
 
299172
299448
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
@@ -299174,9 +299450,9 @@ const composeSignals = (signals, timeout) => {
299174
299450
 
299175
299451
  /***/ }),
299176
299452
 
299177
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js":
299453
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js":
299178
299454
  /*!**************************************************************************************************!*\
299179
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js ***!
299455
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js ***!
299180
299456
  \**************************************************************************************************/
299181
299457
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299182
299458
 
@@ -299185,8 +299461,8 @@ __webpack_require__.r(__webpack_exports__);
299185
299461
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299186
299462
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299187
299463
  /* 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");
299464
+ /* 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");
299465
+ /* 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
299466
 
299191
299467
 
299192
299468
 
@@ -299233,9 +299509,9 @@ __webpack_require__.r(__webpack_exports__);
299233
299509
 
299234
299510
  /***/ }),
299235
299511
 
299236
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js":
299512
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js":
299237
299513
  /*!*********************************************************************************************************!*\
299238
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js ***!
299514
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js ***!
299239
299515
  \*********************************************************************************************************/
299240
299516
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299241
299517
 
@@ -299244,7 +299520,7 @@ __webpack_require__.r(__webpack_exports__);
299244
299520
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299245
299521
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299246
299522
  /* 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");
299523
+ /* 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
299524
 
299249
299525
 
299250
299526
 
@@ -299344,9 +299620,9 @@ function formDataToJSON(formData) {
299344
299620
 
299345
299621
  /***/ }),
299346
299622
 
299347
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js":
299623
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js":
299348
299624
  /*!********************************************************************************************************!*\
299349
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
299625
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
299350
299626
  \********************************************************************************************************/
299351
299627
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299352
299628
 
@@ -299374,9 +299650,9 @@ function isAbsoluteURL(url) {
299374
299650
 
299375
299651
  /***/ }),
299376
299652
 
299377
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js":
299653
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js":
299378
299654
  /*!*******************************************************************************************************!*\
299379
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js ***!
299655
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js ***!
299380
299656
  \*******************************************************************************************************/
299381
299657
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299382
299658
 
@@ -299385,7 +299661,7 @@ __webpack_require__.r(__webpack_exports__);
299385
299661
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299386
299662
  /* harmony export */ "default": () => (/* binding */ isAxiosError)
299387
299663
  /* 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");
299664
+ /* 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
299665
 
299390
299666
 
299391
299667
 
@@ -299404,9 +299680,9 @@ function isAxiosError(payload) {
299404
299680
 
299405
299681
  /***/ }),
299406
299682
 
299407
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js":
299683
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js":
299408
299684
  /*!**********************************************************************************************************!*\
299409
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
299685
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
299410
299686
  \**********************************************************************************************************/
299411
299687
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299412
299688
 
@@ -299415,8 +299691,8 @@ __webpack_require__.r(__webpack_exports__);
299415
299691
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299416
299692
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299417
299693
  /* 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");
299694
+ /* 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");
299695
+ /* 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
299696
 
299421
299697
 
299422
299698
 
@@ -299427,7 +299703,7 @@ __webpack_require__.r(__webpack_exports__);
299427
299703
  // Standard browser envs have full support of the APIs needed to test
299428
299704
  // whether the request URL is of the same origin as current location.
299429
299705
  (function standardBrowserEnv() {
299430
- const msie = /(msie|trident)/i.test(navigator.userAgent);
299706
+ 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
299707
  const urlParsingNode = document.createElement('a');
299432
299708
  let originURL;
299433
299709
 
@@ -299488,9 +299764,9 @@ __webpack_require__.r(__webpack_exports__);
299488
299764
 
299489
299765
  /***/ }),
299490
299766
 
299491
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js":
299767
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js":
299492
299768
  /*!***********************************************************************************************!*\
299493
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js ***!
299769
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js ***!
299494
299770
  \***********************************************************************************************/
299495
299771
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299496
299772
 
@@ -299505,9 +299781,9 @@ __webpack_require__.r(__webpack_exports__);
299505
299781
 
299506
299782
  /***/ }),
299507
299783
 
299508
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js":
299784
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js":
299509
299785
  /*!*******************************************************************************************************!*\
299510
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js ***!
299786
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js ***!
299511
299787
  \*******************************************************************************************************/
299512
299788
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299513
299789
 
@@ -299516,7 +299792,7 @@ __webpack_require__.r(__webpack_exports__);
299516
299792
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299517
299793
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299518
299794
  /* 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");
299795
+ /* 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
299796
 
299521
299797
 
299522
299798
 
@@ -299576,9 +299852,9 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
299576
299852
 
299577
299853
  /***/ }),
299578
299854
 
299579
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js":
299855
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js":
299580
299856
  /*!********************************************************************************************************!*\
299581
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js ***!
299857
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js ***!
299582
299858
  \********************************************************************************************************/
299583
299859
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299584
299860
 
@@ -299597,9 +299873,9 @@ function parseProtocol(url) {
299597
299873
 
299598
299874
  /***/ }),
299599
299875
 
299600
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js":
299876
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js":
299601
299877
  /*!***************************************************************************************************************!*\
299602
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js ***!
299878
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js ***!
299603
299879
  \***************************************************************************************************************/
299604
299880
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299605
299881
 
@@ -299610,9 +299886,9 @@ __webpack_require__.r(__webpack_exports__);
299610
299886
  /* harmony export */ "progressEventDecorator": () => (/* binding */ progressEventDecorator),
299611
299887
  /* harmony export */ "progressEventReducer": () => (/* binding */ progressEventReducer)
299612
299888
  /* 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");
299889
+ /* 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");
299890
+ /* 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");
299891
+ /* 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
299892
 
299617
299893
 
299618
299894
 
@@ -299661,9 +299937,9 @@ const asyncDecorator = (fn) => (...args) => _utils_js__WEBPACK_IMPORTED_MODULE_2
299661
299937
 
299662
299938
  /***/ }),
299663
299939
 
299664
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js":
299940
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js":
299665
299941
  /*!********************************************************************************************************!*\
299666
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js ***!
299942
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js ***!
299667
299943
  \********************************************************************************************************/
299668
299944
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299669
299945
 
@@ -299672,14 +299948,14 @@ __webpack_require__.r(__webpack_exports__);
299672
299948
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299673
299949
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299674
299950
  /* 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");
299951
+ /* 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");
299952
+ /* 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");
299953
+ /* 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");
299954
+ /* 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");
299955
+ /* 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");
299956
+ /* 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");
299957
+ /* 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");
299958
+ /* 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
299959
 
299684
299960
 
299685
299961
 
@@ -299741,9 +300017,9 @@ __webpack_require__.r(__webpack_exports__);
299741
300017
 
299742
300018
  /***/ }),
299743
300019
 
299744
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js":
300020
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js":
299745
300021
  /*!******************************************************************************************************!*\
299746
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js ***!
300022
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js ***!
299747
300023
  \******************************************************************************************************/
299748
300024
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299749
300025
 
@@ -299811,9 +300087,9 @@ function speedometer(samplesCount, min) {
299811
300087
 
299812
300088
  /***/ }),
299813
300089
 
299814
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js":
300090
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js":
299815
300091
  /*!*************************************************************************************************!*\
299816
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js ***!
300092
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js ***!
299817
300093
  \*************************************************************************************************/
299818
300094
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299819
300095
 
@@ -299854,9 +300130,9 @@ function spread(callback) {
299854
300130
 
299855
300131
  /***/ }),
299856
300132
 
299857
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js":
300133
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js":
299858
300134
  /*!***************************************************************************************************!*\
299859
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js ***!
300135
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js ***!
299860
300136
  \***************************************************************************************************/
299861
300137
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299862
300138
 
@@ -299913,9 +300189,9 @@ function throttle(fn, freq) {
299913
300189
 
299914
300190
  /***/ }),
299915
300191
 
299916
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js":
300192
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js":
299917
300193
  /*!*****************************************************************************************************!*\
299918
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js ***!
300194
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js ***!
299919
300195
  \*****************************************************************************************************/
299920
300196
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
299921
300197
 
@@ -299924,9 +300200,9 @@ __webpack_require__.r(__webpack_exports__);
299924
300200
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
299925
300201
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
299926
300202
  /* 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");
300203
+ /* 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");
300204
+ /* 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");
300205
+ /* 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
300206
 
299931
300207
 
299932
300208
 
@@ -300150,9 +300426,9 @@ function toFormData(obj, formData, options) {
300150
300426
 
300151
300427
  /***/ }),
300152
300428
 
300153
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js":
300429
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js":
300154
300430
  /*!***********************************************************************************************************!*\
300155
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
300431
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
300156
300432
  \***********************************************************************************************************/
300157
300433
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300158
300434
 
@@ -300161,9 +300437,9 @@ __webpack_require__.r(__webpack_exports__);
300161
300437
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300162
300438
  /* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
300163
300439
  /* 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");
300440
+ /* 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");
300441
+ /* 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");
300442
+ /* 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
300443
 
300168
300444
 
300169
300445
 
@@ -300186,9 +300462,9 @@ function toURLEncodedForm(data, options) {
300186
300462
 
300187
300463
  /***/ }),
300188
300464
 
300189
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js":
300465
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js":
300190
300466
  /*!******************************************************************************************************!*\
300191
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js ***!
300467
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js ***!
300192
300468
  \******************************************************************************************************/
300193
300469
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300194
300470
 
@@ -300218,14 +300494,34 @@ const streamChunk = function* (chunk, chunkSize) {
300218
300494
  }
300219
300495
  }
300220
300496
 
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);
300497
+ const readBytes = async function* (iterable, chunkSize) {
300498
+ for await (const chunk of readStream(iterable)) {
300499
+ yield* streamChunk(chunk, chunkSize);
300500
+ }
300501
+ }
300502
+
300503
+ const readStream = async function* (stream) {
300504
+ if (stream[Symbol.asyncIterator]) {
300505
+ yield* stream;
300506
+ return;
300507
+ }
300508
+
300509
+ const reader = stream.getReader();
300510
+ try {
300511
+ for (;;) {
300512
+ const {done, value} = await reader.read();
300513
+ if (done) {
300514
+ break;
300515
+ }
300516
+ yield value;
300517
+ }
300518
+ } finally {
300519
+ await reader.cancel();
300224
300520
  }
300225
300521
  }
300226
300522
 
300227
- const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => {
300228
- const iterator = readBytes(stream, chunkSize, encode);
300523
+ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
300524
+ const iterator = readBytes(stream, chunkSize);
300229
300525
 
300230
300526
  let bytes = 0;
300231
300527
  let done;
@@ -300270,9 +300566,9 @@ const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => {
300270
300566
 
300271
300567
  /***/ }),
300272
300568
 
300273
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js":
300569
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js":
300274
300570
  /*!****************************************************************************************************!*\
300275
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js ***!
300571
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js ***!
300276
300572
  \****************************************************************************************************/
300277
300573
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300278
300574
 
@@ -300281,8 +300577,8 @@ __webpack_require__.r(__webpack_exports__);
300281
300577
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300282
300578
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300283
300579
  /* 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");
300580
+ /* 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");
300581
+ /* 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
300582
 
300287
300583
 
300288
300584
 
@@ -300378,9 +300674,9 @@ function assertOptions(options, schema, allowUnknown) {
300378
300674
 
300379
300675
  /***/ }),
300380
300676
 
300381
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js":
300677
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js":
300382
300678
  /*!****************************************************************************************************************!*\
300383
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
300679
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
300384
300680
  \****************************************************************************************************************/
300385
300681
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300386
300682
 
@@ -300396,9 +300692,9 @@ __webpack_require__.r(__webpack_exports__);
300396
300692
 
300397
300693
  /***/ }),
300398
300694
 
300399
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js":
300695
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js":
300400
300696
  /*!********************************************************************************************************************!*\
300401
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
300697
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
300402
300698
  \********************************************************************************************************************/
300403
300699
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300404
300700
 
@@ -300414,9 +300710,9 @@ __webpack_require__.r(__webpack_exports__);
300414
300710
 
300415
300711
  /***/ }),
300416
300712
 
300417
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
300713
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
300418
300714
  /*!***************************************************************************************************************************!*\
300419
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
300715
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
300420
300716
  \***************************************************************************************************************************/
300421
300717
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300422
300718
 
@@ -300425,7 +300721,7 @@ __webpack_require__.r(__webpack_exports__);
300425
300721
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300426
300722
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300427
300723
  /* 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");
300724
+ /* 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
300725
 
300430
300726
 
300431
300727
 
@@ -300434,9 +300730,9 @@ __webpack_require__.r(__webpack_exports__);
300434
300730
 
300435
300731
  /***/ }),
300436
300732
 
300437
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js":
300733
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js":
300438
300734
  /*!*********************************************************************************************************!*\
300439
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js ***!
300735
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js ***!
300440
300736
  \*********************************************************************************************************/
300441
300737
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300442
300738
 
@@ -300445,9 +300741,9 @@ __webpack_require__.r(__webpack_exports__);
300445
300741
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300446
300742
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300447
300743
  /* 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");
300744
+ /* 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");
300745
+ /* 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");
300746
+ /* 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
300747
 
300452
300748
 
300453
300749
 
@@ -300465,9 +300761,9 @@ __webpack_require__.r(__webpack_exports__);
300465
300761
 
300466
300762
  /***/ }),
300467
300763
 
300468
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js":
300764
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js":
300469
300765
  /*!********************************************************************************************************!*\
300470
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js ***!
300766
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js ***!
300471
300767
  \********************************************************************************************************/
300472
300768
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300473
300769
 
@@ -300477,10 +300773,13 @@ __webpack_require__.r(__webpack_exports__);
300477
300773
  /* harmony export */ "hasBrowserEnv": () => (/* binding */ hasBrowserEnv),
300478
300774
  /* harmony export */ "hasStandardBrowserEnv": () => (/* binding */ hasStandardBrowserEnv),
300479
300775
  /* harmony export */ "hasStandardBrowserWebWorkerEnv": () => (/* binding */ hasStandardBrowserWebWorkerEnv),
300776
+ /* harmony export */ "navigator": () => (/* binding */ _navigator),
300480
300777
  /* harmony export */ "origin": () => (/* binding */ origin)
300481
300778
  /* harmony export */ });
300482
300779
  const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
300483
300780
 
300781
+ const _navigator = typeof navigator === 'object' && navigator || undefined;
300782
+
300484
300783
  /**
300485
300784
  * Determine if we're running in a standard browser environment
300486
300785
  *
@@ -300498,10 +300797,8 @@ const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'unde
300498
300797
  *
300499
300798
  * @returns {boolean}
300500
300799
  */
300501
- const hasStandardBrowserEnv = (
300502
- (product) => {
300503
- return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0
300504
- })(typeof navigator !== 'undefined' && navigator.product);
300800
+ const hasStandardBrowserEnv = hasBrowserEnv &&
300801
+ (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
300505
300802
 
300506
300803
  /**
300507
300804
  * Determine if we're running in a standard browser webWorker environment
@@ -300528,9 +300825,9 @@ const origin = hasBrowserEnv && window.location.href || 'http://localhost';
300528
300825
 
300529
300826
  /***/ }),
300530
300827
 
300531
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js":
300828
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js":
300532
300829
  /*!*************************************************************************************************!*\
300533
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js ***!
300830
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js ***!
300534
300831
  \*************************************************************************************************/
300535
300832
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300536
300833
 
@@ -300539,8 +300836,8 @@ __webpack_require__.r(__webpack_exports__);
300539
300836
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300540
300837
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300541
300838
  /* 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");
300839
+ /* 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");
300840
+ /* 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
300841
 
300545
300842
 
300546
300843
 
@@ -300552,9 +300849,9 @@ __webpack_require__.r(__webpack_exports__);
300552
300849
 
300553
300850
  /***/ }),
300554
300851
 
300555
- /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js":
300852
+ /***/ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js":
300556
300853
  /*!****************************************************************************************!*\
300557
- !*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js ***!
300854
+ !*** ../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js ***!
300558
300855
  \****************************************************************************************/
300559
300856
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
300560
300857
 
@@ -300563,7 +300860,7 @@ __webpack_require__.r(__webpack_exports__);
300563
300860
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
300564
300861
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
300565
300862
  /* 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");
300863
+ /* 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
300864
 
300568
300865
 
300569
300866
 
@@ -301813,15 +302110,15 @@ __webpack_require__.r(__webpack_exports__);
301813
302110
  /* harmony export */ "t": () => (/* binding */ t),
301814
302111
  /* harmony export */ "use": () => (/* binding */ use)
301815
302112
  /* 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");
302113
+ /* 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");
302114
+ /* 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");
302115
+ /* 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");
302116
+ /* 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");
302117
+ /* 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");
302118
+ /* 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");
302119
+ /* 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");
302120
+ /* 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");
302121
+ /* 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
302122
 
301826
302123
 
301827
302124
 
@@ -304638,7 +304935,7 @@ var loadLanguages = instance.loadLanguages;
304638
304935
  /***/ ((module) => {
304639
304936
 
304640
304937
  "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"}}');
304938
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.11","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.11","@itwin/core-bentley":"workspace:^5.0.0-dev.11","@itwin/core-common":"workspace:^5.0.0-dev.11","@itwin/core-geometry":"workspace:^5.0.0-dev.11","@itwin/core-orbitgt":"workspace:^5.0.0-dev.11","@itwin/core-quantity":"workspace:^5.0.0-dev.11"},"//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
304939
 
304643
304940
  /***/ })
304644
304941
 
@@ -304947,7 +305244,7 @@ var exports = __webpack_exports__;
304947
305244
  *--------------------------------------------------------------------------------------------*/
304948
305245
  Object.defineProperty(exports, "__esModule", ({ value: true }));
304949
305246
  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");
305247
+ const ecschema_rpcinterface_common_1 = __webpack_require__(/*! @itwin/ecschema-rpcinterface-common */ "../../core/ecschema-rpc/common/lib/esm/ecschema-rpc-interface.js");
304951
305248
  const TestContext_1 = __webpack_require__(/*! ./setup/TestContext */ "./lib/frontend/setup/TestContext.js");
304952
305249
  const ecschema_metadata_1 = __webpack_require__(/*! @itwin/ecschema-metadata */ "../../core/ecschema-metadata/lib/esm/ecschema-metadata.js");
304953
305250
  describe("Schema RPC Interface", () => {