@react-hive/honey-layout 18.2.0 → 18.4.0

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.
@@ -2438,9 +2438,9 @@ module.exports = throttle;
2438
2438
 
2439
2439
  /***/ },
2440
2440
 
2441
- /***/ "./node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/cjs/react-dom.development.js"
2441
+ /***/ "./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.development.js"
2442
2442
  /*!**************************************************************************************************************!*\
2443
- !*** ./node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/cjs/react-dom.development.js ***!
2443
+ !*** ./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.development.js ***!
2444
2444
  \**************************************************************************************************************/
2445
2445
  (__unused_webpack_module, exports, __webpack_require__) {
2446
2446
 
@@ -2863,7 +2863,7 @@ module.exports = throttle;
2863
2863
  exports.useFormStatus = function () {
2864
2864
  return resolveDispatcher().useHostTransitionStatus();
2865
2865
  };
2866
- exports.version = "19.2.7";
2866
+ exports.version = "19.2.8";
2867
2867
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2868
2868
  "function" ===
2869
2869
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -2873,9 +2873,9 @@ module.exports = throttle;
2873
2873
 
2874
2874
  /***/ },
2875
2875
 
2876
- /***/ "./node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/index.js"
2876
+ /***/ "./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.js"
2877
2877
  /*!******************************************************************************************!*\
2878
- !*** ./node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/index.js ***!
2878
+ !*** ./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.js ***!
2879
2879
  \******************************************************************************************/
2880
2880
  (module, __unused_webpack_exports, __webpack_require__) {
2881
2881
 
@@ -2906,15 +2906,15 @@ function checkDCE() {
2906
2906
 
2907
2907
  if (false) // removed by dead control flow
2908
2908
  {} else {
2909
- module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ "./node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/cjs/react-dom.development.js");
2909
+ module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ "./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.development.js");
2910
2910
  }
2911
2911
 
2912
2912
 
2913
2913
  /***/ },
2914
2914
 
2915
- /***/ "./node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js"
2915
+ /***/ "./node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.development.js"
2916
2916
  /*!*************************************************************************************************!*\
2917
- !*** ./node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js ***!
2917
+ !*** ./node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.development.js ***!
2918
2918
  \*************************************************************************************************/
2919
2919
  (__unused_webpack_module, exports, __webpack_require__) {
2920
2920
 
@@ -3275,9 +3275,9 @@ if (false) // removed by dead control flow
3275
3275
 
3276
3276
  /***/ },
3277
3277
 
3278
- /***/ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js"
3278
+ /***/ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js"
3279
3279
  /*!***************************************************************************!*\
3280
- !*** ./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js ***!
3280
+ !*** ./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js ***!
3281
3281
  \***************************************************************************/
3282
3282
  (module, __unused_webpack_exports, __webpack_require__) {
3283
3283
 
@@ -3286,7 +3286,7 @@ if (false) // removed by dead control flow
3286
3286
 
3287
3287
  if (false) // removed by dead control flow
3288
3288
  {} else {
3289
- module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js");
3289
+ module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/cjs/react-jsx-runtime.development.js");
3290
3290
  }
3291
3291
 
3292
3292
 
@@ -3960,14 +3960,17 @@ __webpack_require__.r(__webpack_exports__);
3960
3960
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3961
3961
  /* harmony export */ HoneyContextMenu: () => (/* binding */ HoneyContextMenu)
3962
3962
  /* harmony export */ });
3963
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
3963
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
3964
3964
  /* harmony import */ var _HoneyPopup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../HoneyPopup */ "./src/components/HoneyPopup/index.ts");
3965
3965
  /* harmony import */ var _HoneyContextMenuContent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HoneyContextMenuContent */ "./src/components/HoneyContextMenu/HoneyContextMenuContent.tsx");
3966
3966
 
3967
3967
 
3968
3968
 
3969
- const HoneyContextMenu = ({ options, renderOption, optionProps, roleOptions, optionsProps, context, ...props }) => {
3970
- return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyPopup__WEBPACK_IMPORTED_MODULE_1__.HoneyPopup, { context: context, content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyContextMenuContent__WEBPACK_IMPORTED_MODULE_2__.HoneyContextMenuContent, { options: options, renderOption: renderOption, optionProps: optionProps, popupProps: props, ...optionsProps }), roleOptions: {
3969
+ const HoneyContextMenu = ({ options, renderOption, optionProps, referenceUserProps, roleOptions, optionsProps, context, ...props }) => {
3970
+ return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyPopup__WEBPACK_IMPORTED_MODULE_1__.HoneyPopup, { context: context, referenceUserProps: {
3971
+ onClick: e => e.stopPropagation(),
3972
+ ...referenceUserProps,
3973
+ }, content: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_HoneyContextMenuContent__WEBPACK_IMPORTED_MODULE_2__.HoneyContextMenuContent, { options: options, renderOption: renderOption, optionProps: optionProps, popupProps: props, ...optionsProps }), roleOptions: {
3971
3974
  role: 'menu',
3972
3975
  ...roleOptions,
3973
3976
  }, useArrow: true, "data-testid": "honey-context-menu", ...props }));
@@ -4000,7 +4003,7 @@ __webpack_require__.r(__webpack_exports__);
4000
4003
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4001
4004
  /* harmony export */ HoneyContextMenuContent: () => (/* binding */ HoneyContextMenuContent)
4002
4005
  /* harmony export */ });
4003
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
4006
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
4004
4007
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
4005
4008
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
4006
4009
  /* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
@@ -4041,7 +4044,7 @@ __webpack_require__.r(__webpack_exports__);
4041
4044
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4042
4045
  /* harmony export */ HoneyContextMenuContentOption: () => (/* binding */ HoneyContextMenuContentOption)
4043
4046
  /* harmony export */ });
4044
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
4047
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
4045
4048
  /* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
4046
4049
  /* harmony import */ var _HoneyPopup__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../HoneyPopup */ "./src/components/HoneyPopup/index.ts");
4047
4050
  /* harmony import */ var _HoneyContextMenuContentOptionStyled__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./HoneyContextMenuContentOptionStyled */ "./src/components/HoneyContextMenu/HoneyContextMenuContentOptionStyled.ts");
@@ -4263,7 +4266,7 @@ __webpack_require__.r(__webpack_exports__);
4263
4266
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4264
4267
  /* harmony export */ HoneyGrid: () => (/* binding */ HoneyGrid)
4265
4268
  /* harmony export */ });
4266
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
4269
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
4267
4270
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
4268
4271
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
4269
4272
  /* harmony import */ var _HoneyGridContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HoneyGridContext */ "./src/components/HoneyGrid/HoneyGridContext.ts");
@@ -4414,7 +4417,7 @@ __webpack_require__.r(__webpack_exports__);
4414
4417
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4415
4418
  /* harmony export */ HoneyGridColumn: () => (/* binding */ HoneyGridColumn)
4416
4419
  /* harmony export */ });
4417
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
4420
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
4418
4421
  /* harmony import */ var _HoneyGrid_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../HoneyGrid/hooks */ "./src/components/HoneyGrid/hooks/index.ts");
4419
4422
  /* harmony import */ var _HoneyGridColumnStyled__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HoneyGridColumnStyled */ "./src/components/HoneyGridColumn/HoneyGridColumnStyled.ts");
4420
4423
 
@@ -4521,7 +4524,7 @@ __webpack_require__.r(__webpack_exports__);
4521
4524
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4522
4525
  /* harmony export */ HoneyLayerRegistry: () => (/* binding */ HoneyLayerRegistry)
4523
4526
  /* harmony export */ });
4524
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
4527
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
4525
4528
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
4526
4529
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
4527
4530
  /* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
@@ -4771,7 +4774,7 @@ __webpack_require__.r(__webpack_exports__);
4771
4774
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4772
4775
  /* harmony export */ HoneyList: () => (/* binding */ HoneyList)
4773
4776
  /* harmony export */ });
4774
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
4777
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
4775
4778
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
4776
4779
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
4777
4780
  /* harmony import */ var _HoneyStatusContent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../HoneyStatusContent */ "./src/components/HoneyStatusContent.tsx");
@@ -4869,11 +4872,11 @@ __webpack_require__.r(__webpack_exports__);
4869
4872
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4870
4873
  /* harmony export */ HoneyOverlay: () => (/* binding */ HoneyOverlay)
4871
4874
  /* harmony export */ });
4872
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
4875
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
4873
4876
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
4874
4877
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
4875
4878
  /* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
4876
- /* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.7/node_modules/@react-hive/honey-hooks/dist/index.mjs");
4879
+ /* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.8/node_modules/@react-hive/honey-hooks/dist/index.mjs");
4877
4880
  /* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hooks */ "./src/hooks/index.ts");
4878
4881
  /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers */ "./src/helpers/index.ts");
4879
4882
  /* harmony import */ var _HoneyFlex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./HoneyFlex */ "./src/components/HoneyFlex/index.ts");
@@ -4963,7 +4966,7 @@ __webpack_require__.r(__webpack_exports__);
4963
4966
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4964
4967
  /* harmony export */ HoneyPopup: () => (/* binding */ HoneyPopup)
4965
4968
  /* harmony export */ });
4966
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
4969
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
4967
4970
  /* harmony import */ var _HoneyPopupTree__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./HoneyPopupTree */ "./src/components/HoneyPopup/HoneyPopupTree.tsx");
4968
4971
  /* harmony import */ var _HoneyPopupContent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./HoneyPopupContent */ "./src/components/HoneyPopup/HoneyPopupContent.tsx");
4969
4972
 
@@ -5007,12 +5010,12 @@ __webpack_require__.r(__webpack_exports__);
5007
5010
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5008
5011
  /* harmony export */ HoneyPopupContent: () => (/* binding */ HoneyPopupContent)
5009
5012
  /* harmony export */ });
5010
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
5013
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
5011
5014
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
5012
5015
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
5013
- /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
5016
+ /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
5014
5017
  /* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
5015
- /* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.7/node_modules/@react-hive/honey-hooks/dist/index.mjs");
5018
+ /* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.8/node_modules/@react-hive/honey-hooks/dist/index.mjs");
5016
5019
  /* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components */ "./src/components/index.ts");
5017
5020
  /* harmony import */ var _HoneyPopupStyled__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./HoneyPopupStyled */ "./src/components/HoneyPopup/HoneyPopupStyled.ts");
5018
5021
  /* harmony import */ var _HoneyPopupPortal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./HoneyPopupPortal */ "./src/components/HoneyPopup/HoneyPopupPortal.tsx");
@@ -5081,8 +5084,8 @@ __webpack_require__.r(__webpack_exports__);
5081
5084
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5082
5085
  /* harmony export */ HoneyPopupPortal: () => (/* binding */ HoneyPopupPortal)
5083
5086
  /* harmony export */ });
5084
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
5085
- /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
5087
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
5088
+ /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
5086
5089
 
5087
5090
 
5088
5091
  const HoneyPopupPortal = ({ children, enabled = true, ...props }) => {
@@ -5126,8 +5129,8 @@ __webpack_require__.r(__webpack_exports__);
5126
5129
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5127
5130
  /* harmony export */ HoneyPopupTree: () => (/* binding */ HoneyPopupTree)
5128
5131
  /* harmony export */ });
5129
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
5130
- /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
5132
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
5133
+ /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
5131
5134
 
5132
5135
 
5133
5136
  /**
@@ -5204,7 +5207,7 @@ __webpack_require__.r(__webpack_exports__);
5204
5207
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5205
5208
  /* harmony export */ useHoneyPopupInteractions: () => (/* binding */ useHoneyPopupInteractions)
5206
5209
  /* harmony export */ });
5207
- /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
5210
+ /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
5208
5211
 
5209
5212
  const useHoneyPopupInteractions = (context, { enabled = true, event = 'click', dismissOptions, clickOptions, hoverOptions, focusOptions, clientPointsOptions, roleOptions, extraInteractions = [], }) => {
5210
5213
  const dismiss = (0,_floating_ui_react__WEBPACK_IMPORTED_MODULE_0__.useDismiss)(context, {
@@ -5249,11 +5252,11 @@ __webpack_require__.r(__webpack_exports__);
5249
5252
  /* harmony export */ });
5250
5253
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
5251
5254
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
5252
- /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
5253
- /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
5254
- /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs");
5255
+ /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs");
5256
+ /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
5257
+ /* harmony import */ var _floating_ui_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @floating-ui/react */ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.9_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs");
5255
5258
  /* harmony import */ var _react_hive_honey_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @react-hive/honey-utils */ "./node_modules/.pnpm/@react-hive+honey-utils@4.0.0/node_modules/@react-hive/honey-utils/dist/index.mjs");
5256
- /* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.7/node_modules/@react-hive/honey-hooks/dist/index.mjs");
5259
+ /* harmony import */ var _react_hive_honey_hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @react-hive/honey-hooks */ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.8/node_modules/@react-hive/honey-hooks/dist/index.mjs");
5257
5260
  /* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../hooks */ "./src/hooks/index.ts");
5258
5261
  /* harmony import */ var _use_honey_popup_interactions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./use-honey-popup-interactions */ "./src/components/HoneyPopup/hooks/use-honey-popup-interactions.ts");
5259
5262
 
@@ -5457,7 +5460,7 @@ __webpack_require__.r(__webpack_exports__);
5457
5460
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5458
5461
  /* harmony export */ HoneyStatusContent: () => (/* binding */ HoneyStatusContent)
5459
5462
  /* harmony export */ });
5460
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
5463
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
5461
5464
 
5462
5465
  /**
5463
5466
  * A component that conditionally renders blocks based on specified boolean flags.
@@ -6133,7 +6136,7 @@ __webpack_require__.r(__webpack_exports__);
6133
6136
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6134
6137
  /* harmony export */ HoneyLayoutProvider: () => (/* binding */ HoneyLayoutProvider)
6135
6138
  /* harmony export */ });
6136
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
6139
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
6137
6140
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
6138
6141
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
6139
6142
  /* harmony import */ var _react_hive_honey_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @react-hive/honey-style */ "@react-hive/honey-style");
@@ -6197,7 +6200,7 @@ __webpack_require__.r(__webpack_exports__);
6197
6200
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6198
6201
  /* harmony export */ HoneyLayoutThemeOverride: () => (/* binding */ HoneyLayoutThemeOverride)
6199
6202
  /* harmony export */ });
6200
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
6203
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
6201
6204
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
6202
6205
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
6203
6206
  /* harmony import */ var lodash_merge__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash.merge */ "./node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.js");
@@ -6620,9 +6623,9 @@ module.exports = require("react");
6620
6623
 
6621
6624
  /***/ },
6622
6625
 
6623
- /***/ "./node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs"
6626
+ /***/ "./node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs"
6624
6627
  /*!*************************************************************************************************************!*\
6625
- !*** ./node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs ***!
6628
+ !*** ./node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs ***!
6626
6629
  \*************************************************************************************************************/
6627
6630
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6628
6631
 
@@ -6642,7 +6645,7 @@ __webpack_require__.r(__webpack_exports__);
6642
6645
  /* harmony export */ shift: () => (/* binding */ shift),
6643
6646
  /* harmony export */ size: () => (/* binding */ size)
6644
6647
  /* harmony export */ });
6645
- /* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
6648
+ /* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
6646
6649
 
6647
6650
 
6648
6651
 
@@ -6691,13 +6694,9 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
6691
6694
  y: reference.y
6692
6695
  };
6693
6696
  }
6694
- switch ((0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignment)(placement)) {
6695
- case 'start':
6696
- coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
6697
- break;
6698
- case 'end':
6699
- coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
6700
- break;
6697
+ const alignment = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignment)(placement);
6698
+ if (alignment) {
6699
+ coords[alignmentAxis] += commonAlign * (alignment === 'end' ? 1 : -1) * (rtl && isVertical ? -1 : 1);
6701
6700
  }
6702
6701
  return coords;
6703
6702
  }
@@ -6746,10 +6745,7 @@ async function detectOverflow(state, options) {
6746
6745
  height: rects.floating.height
6747
6746
  } : rects.reference;
6748
6747
  const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
6749
- const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
6750
- x: 1,
6751
- y: 1
6752
- } : {
6748
+ const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) && (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
6753
6749
  x: 1,
6754
6750
  y: 1
6755
6751
  };
@@ -6922,17 +6918,16 @@ const arrow = options => ({
6922
6918
 
6923
6919
  // Make sure the arrow doesn't overflow the floating element if the center
6924
6920
  // point is outside the floating element's bounds.
6925
- const min$1 = minPadding;
6926
6921
  const max = clientSize - arrowDimensions[length] - maxPadding;
6927
6922
  const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
6928
- const offset = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.clamp)(min$1, center, max);
6923
+ const offset = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.clamp)(minPadding, center, max);
6929
6924
 
6930
6925
  // If the reference is small enough that the arrow's padding causes it to
6931
6926
  // to point to nothing for an aligned placement, adjust the offset of the
6932
6927
  // floating element itself. To ensure `shift()` continues to take action,
6933
6928
  // a single reset is performed when this is true.
6934
- const shouldAddOffset = !middlewareData.arrow && (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignment)(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
6935
- const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
6929
+ const shouldAddOffset = !middlewareData.arrow && (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignment)(placement) != null && center !== offset && rects.reference[length] / 2 - (center < minPadding ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
6930
+ const alignmentOffset = shouldAddOffset ? center < minPadding ? center - minPadding : center - max : 0;
6936
6931
  return {
6937
6932
  [axis]: coords[axis] + alignmentOffset,
6938
6933
  data: {
@@ -6986,13 +6981,11 @@ const autoPlacement = function (options) {
6986
6981
  ...detectOverflowOptions
6987
6982
  } = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.evaluate)(options, state);
6988
6983
  const placements$1 = alignment !== undefined || allowedPlacements === _floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
6989
- const overflow = await platform.detectOverflow(state, detectOverflowOptions);
6990
6984
  const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
6991
6985
  const currentPlacement = placements$1[currentIndex];
6992
6986
  if (currentPlacement == null) {
6993
6987
  return {};
6994
6988
  }
6995
- const alignmentSides = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignmentSides)(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
6996
6989
 
6997
6990
  // Make `computeCoords` start from the right place.
6998
6991
  if (placement !== currentPlacement) {
@@ -7002,6 +6995,8 @@ const autoPlacement = function (options) {
7002
6995
  }
7003
6996
  };
7004
6997
  }
6998
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
6999
+ const alignmentSides = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getAlignmentSides)(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
7005
7000
  const currentOverflows = [overflow[(0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getSide)(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
7006
7001
  const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
7007
7002
  placement: currentPlacement,
@@ -7308,12 +7303,19 @@ const inline = function (options) {
7308
7303
  y
7309
7304
  } = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.evaluate)(options, state);
7310
7305
  const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);
7306
+
7307
+ // No rects (e.g. a hidden or detached reference, or a collapsed range) —
7308
+ // keep the existing reference rect rather than resetting to an invalid
7309
+ // one with non-finite values.
7310
+ if (!nativeClientRects.length) {
7311
+ return {};
7312
+ }
7311
7313
  const clientRects = getRectsByLine(nativeClientRects);
7312
7314
  const fallback = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.rectToClientRect)(getBoundingRect(nativeClientRects));
7313
7315
  const paddingObject = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getPaddingObject)(padding);
7314
7316
  function getBoundingClientRect() {
7315
7317
  // There are two rects and they are disjoined.
7316
- if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {
7318
+ if (clientRects.length === 2 && (clientRects[0].left > clientRects[1].right || clientRects[1].left > clientRects[0].right) && x != null && y != null) {
7317
7319
  // Find the first rect in which the point is fully inside.
7318
7320
  return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
7319
7321
  }
@@ -7328,18 +7330,12 @@ const inline = function (options) {
7328
7330
  const bottom = lastRect.bottom;
7329
7331
  const left = isTop ? firstRect.left : lastRect.left;
7330
7332
  const right = isTop ? firstRect.right : lastRect.right;
7331
- const width = right - left;
7332
- const height = bottom - top;
7333
- return {
7334
- top,
7335
- bottom,
7336
- left,
7337
- right,
7338
- width,
7339
- height,
7333
+ return (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.rectToClientRect)({
7340
7334
  x: left,
7341
- y: top
7342
- };
7335
+ y: top,
7336
+ width: right - left,
7337
+ height: bottom - top
7338
+ });
7343
7339
  }
7344
7340
  const isLeftSide = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getSide)(placement) === 'left';
7345
7341
  const maxRight = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(...clientRects.map(rect => rect.right));
@@ -7347,20 +7343,12 @@ const inline = function (options) {
7347
7343
  const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
7348
7344
  const top = measureRects[0].top;
7349
7345
  const bottom = measureRects[measureRects.length - 1].bottom;
7350
- const left = minLeft;
7351
- const right = maxRight;
7352
- const width = right - left;
7353
- const height = bottom - top;
7354
- return {
7355
- top,
7356
- bottom,
7357
- left,
7358
- right,
7359
- width,
7360
- height,
7361
- x: left,
7362
- y: top
7363
- };
7346
+ return (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.rectToClientRect)({
7347
+ x: minLeft,
7348
+ y: top,
7349
+ width: maxRight - minLeft,
7350
+ height: bottom - top
7351
+ });
7364
7352
  }
7365
7353
  return fallback;
7366
7354
  }
@@ -7510,23 +7498,16 @@ const shift = function (options) {
7510
7498
  y
7511
7499
  };
7512
7500
  const overflow = await platform.detectOverflow(state, detectOverflowOptions);
7513
- const crossAxis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getSideAxis)((0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getSide)(placement));
7501
+ const crossAxis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getSideAxis)(placement);
7514
7502
  const mainAxis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.getOppositeAxis)(crossAxis);
7515
7503
  let mainAxisCoord = coords[mainAxis];
7516
7504
  let crossAxisCoord = coords[crossAxis];
7505
+ const clampCoord = (axis, coord) => (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.clamp)(coord + overflow[axis === 'y' ? 'top' : 'left'], coord, coord - overflow[axis === 'y' ? 'bottom' : 'right']);
7517
7506
  if (checkMainAxis) {
7518
- const minSide = mainAxis === 'y' ? 'top' : 'left';
7519
- const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
7520
- const min = mainAxisCoord + overflow[minSide];
7521
- const max = mainAxisCoord - overflow[maxSide];
7522
- mainAxisCoord = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.clamp)(min, mainAxisCoord, max);
7507
+ mainAxisCoord = clampCoord(mainAxis, mainAxisCoord);
7523
7508
  }
7524
7509
  if (checkCrossAxis) {
7525
- const minSide = crossAxis === 'y' ? 'top' : 'left';
7526
- const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
7527
- const min = crossAxisCoord + overflow[minSide];
7528
- const max = crossAxisCoord - overflow[maxSide];
7529
- crossAxisCoord = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.clamp)(min, crossAxisCoord, max);
7510
+ crossAxisCoord = clampCoord(crossAxis, crossAxisCoord);
7530
7511
  }
7531
7512
  const limitedCoords = limiter.fn({
7532
7513
  ...state,
@@ -7557,6 +7538,7 @@ const limitShift = function (options) {
7557
7538
  return {
7558
7539
  options,
7559
7540
  fn(state) {
7541
+ var _rawOffset$mainAxis, _rawOffset$crossAxis;
7560
7542
  const {
7561
7543
  x,
7562
7544
  y,
@@ -7582,9 +7564,8 @@ const limitShift = function (options) {
7582
7564
  mainAxis: rawOffset,
7583
7565
  crossAxis: 0
7584
7566
  } : {
7585
- mainAxis: 0,
7586
- crossAxis: 0,
7587
- ...rawOffset
7567
+ mainAxis: (_rawOffset$mainAxis = rawOffset.mainAxis) != null ? _rawOffset$mainAxis : 0,
7568
+ crossAxis: (_rawOffset$crossAxis = rawOffset.crossAxis) != null ? _rawOffset$crossAxis : 0
7588
7569
  };
7589
7570
  if (checkMainAxis) {
7590
7571
  const len = mainAxis === 'y' ? 'height' : 'width';
@@ -7616,6 +7597,12 @@ const limitShift = function (options) {
7616
7597
  };
7617
7598
  };
7618
7599
 
7600
+ // Method syntax keeps callback parameters bivariant, but expressing the
7601
+ // explicit `| undefined` required by `exactOptionalPropertyTypes` needs
7602
+ // property syntax, which is contravariant under `strictFunctionTypes`.
7603
+ // Extracting the function from a method position restores that bivariance so
7604
+ // consumers can still assign callbacks with narrower parameter types.
7605
+
7619
7606
  /**
7620
7607
  * Provides data that allows you to change the size of the floating element —
7621
7608
  * for instance, prevent it from overflowing the clipping boundary or match the
@@ -7630,7 +7617,6 @@ const size = function (options) {
7630
7617
  name: 'size',
7631
7618
  options,
7632
7619
  async fn(state) {
7633
- var _state$middlewareData, _state$middlewareData2;
7634
7620
  const {
7635
7621
  placement,
7636
7622
  rects,
@@ -7662,24 +7648,21 @@ const size = function (options) {
7662
7648
  const maximumClippingWidth = width - overflow.left - overflow.right;
7663
7649
  const overflowAvailableHeight = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.min)(height - overflow[heightSide], maximumClippingHeight);
7664
7650
  const overflowAvailableWidth = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.min)(width - overflow[widthSide], maximumClippingWidth);
7665
- const noShift = !state.middlewareData.shift;
7651
+ const shiftData = state.middlewareData.shift;
7652
+ const noShift = !shiftData;
7666
7653
  let availableHeight = overflowAvailableHeight;
7667
7654
  let availableWidth = overflowAvailableWidth;
7668
- if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
7655
+ if (shiftData != null && shiftData.enabled.x) {
7669
7656
  availableWidth = maximumClippingWidth;
7670
7657
  }
7671
- if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
7658
+ if (shiftData != null && shiftData.enabled.y) {
7672
7659
  availableHeight = maximumClippingHeight;
7673
7660
  }
7674
7661
  if (noShift && !alignment) {
7675
- const xMin = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.left, 0);
7676
- const xMax = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.right, 0);
7677
- const yMin = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.top, 0);
7678
- const yMax = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.bottom, 0);
7679
7662
  if (isYAxis) {
7680
- availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.left, overflow.right));
7663
+ availableWidth = width - 2 * (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.left, overflow.right);
7681
7664
  } else {
7682
- availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.top, overflow.bottom));
7665
+ availableHeight = height - 2 * (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__.max)(overflow.top, overflow.bottom);
7683
7666
  }
7684
7667
  }
7685
7668
  await apply({
@@ -7705,9 +7688,9 @@ const size = function (options) {
7705
7688
 
7706
7689
  /***/ },
7707
7690
 
7708
- /***/ "./node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"
7691
+ /***/ "./node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"
7709
7692
  /*!**********************************************************************************************************!*\
7710
- !*** ./node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs ***!
7693
+ !*** ./node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs ***!
7711
7694
  \**********************************************************************************************************/
7712
7695
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
7713
7696
 
@@ -7729,9 +7712,9 @@ __webpack_require__.r(__webpack_exports__);
7729
7712
  /* harmony export */ shift: () => (/* binding */ shift),
7730
7713
  /* harmony export */ size: () => (/* binding */ size)
7731
7714
  /* harmony export */ });
7732
- /* harmony import */ var _floating_ui_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/core */ "./node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs");
7733
- /* harmony import */ var _floating_ui_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
7734
- /* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/utils/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
7715
+ /* harmony import */ var _floating_ui_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/core */ "./node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs");
7716
+ /* harmony import */ var _floating_ui_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
7717
+ /* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/utils/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
7735
7718
 
7736
7719
 
7737
7720
 
@@ -7805,10 +7788,7 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
7805
7788
  if (isFixed === void 0) {
7806
7789
  isFixed = false;
7807
7790
  }
7808
- if (!floatingOffsetParent || isFixed && floatingOffsetParent !== (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(element)) {
7809
- return false;
7810
- }
7811
- return isFixed;
7791
+ return !!floatingOffsetParent && isFixed && floatingOffsetParent === (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(element);
7812
7792
  }
7813
7793
 
7814
7794
  function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
@@ -7835,12 +7815,12 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
7835
7815
  let y = (clientRect.top + visualOffsets.y) / scale.y;
7836
7816
  let width = clientRect.width / scale.x;
7837
7817
  let height = clientRect.height / scale.y;
7838
- if (domElement) {
7818
+ if (domElement && offsetParent) {
7839
7819
  const win = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(domElement);
7840
- const offsetWin = offsetParent && (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(offsetParent) ? (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(offsetParent) : offsetParent;
7820
+ const offsetWin = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(offsetParent) ? (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(offsetParent) : offsetParent;
7841
7821
  let currentWin = win;
7842
7822
  let currentIFrame = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getFrameElement)(currentWin);
7843
- while (currentIFrame && offsetParent && offsetWin !== currentWin) {
7823
+ while (currentIFrame && offsetWin !== currentWin) {
7844
7824
  const iframeScale = getScale(currentIFrame);
7845
7825
  const iframeRect = currentIFrame.getBoundingClientRect();
7846
7826
  const css = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getComputedStyle)(currentIFrame);
@@ -7904,7 +7884,7 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
7904
7884
  let scale = (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.createCoords)(1);
7905
7885
  const offsets = (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.createCoords)(0);
7906
7886
  const isOffsetParentAnElement = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isHTMLElement)(offsetParent);
7907
- if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
7887
+ if (isOffsetParentAnElement || !isFixed) {
7908
7888
  if ((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeName)(offsetParent) !== 'body' || (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isOverflowElement)(documentElement)) {
7909
7889
  scroll = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeScroll)(offsetParent);
7910
7890
  }
@@ -7925,18 +7905,17 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
7925
7905
  }
7926
7906
 
7927
7907
  function getClientRects(element) {
7928
- return Array.from(element.getClientRects());
7908
+ return element.getClientRects ? Array.from(element.getClientRects()) : [];
7929
7909
  }
7930
7910
 
7931
7911
  // Gets the entire size of the scrollable document area, even extending outside
7932
7912
  // of the `<html>` and `<body>` rect bounds if horizontally scrollable.
7933
- function getDocumentRect(element) {
7934
- const html = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getDocumentElement)(element);
7935
- const scroll = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeScroll)(element);
7936
- const body = element.ownerDocument.body;
7913
+ function getDocumentRect(html) {
7914
+ const scroll = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeScroll)(html);
7915
+ const body = html.ownerDocument.body;
7937
7916
  const width = (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.max)(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
7938
7917
  const height = (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.max)(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
7939
- let x = -scroll.scrollLeft + getWindowScrollBarX(element);
7918
+ let x = -scroll.scrollLeft + getWindowScrollBarX(html);
7940
7919
  const y = -scroll.scrollTop;
7941
7920
  if ((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getComputedStyle)(body).direction === 'rtl') {
7942
7921
  x += (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.max)(html.clientWidth, body.clientWidth) - width;
@@ -7953,7 +7932,11 @@ function getDocumentRect(element) {
7953
7932
  // calculation is affected by unusual styles.
7954
7933
  // Most scrollbars leave 15-18px of space.
7955
7934
  const SCROLLBAR_MAX = 25;
7956
- function getViewportRect(element, strategy) {
7935
+ function getViewportRect(element, strategy, rootBoundary) {
7936
+ if (rootBoundary === void 0) {
7937
+ rootBoundary = 'viewport';
7938
+ }
7939
+ const isLayoutViewport = rootBoundary === 'layoutViewport';
7957
7940
  const win = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(element);
7958
7941
  const html = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getDocumentElement)(element);
7959
7942
  const visualViewport = win.visualViewport;
@@ -7962,31 +7945,42 @@ function getViewportRect(element, strategy) {
7962
7945
  let x = 0;
7963
7946
  let y = 0;
7964
7947
  if (visualViewport) {
7965
- width = visualViewport.width;
7966
- height = visualViewport.height;
7967
- const visualViewportBased = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isWebKit)();
7968
- if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
7969
- x = visualViewport.offsetLeft;
7970
- y = visualViewport.offsetTop;
7948
+ // Client coordinates are relative to the layout viewport, except in
7949
+ // WebKit with an `absolute` strategy, where they are relative to the
7950
+ // visual viewport.
7951
+ const layoutRelativeClientCoords = !(0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isWebKit)() || strategy === 'fixed';
7952
+ if (isLayoutViewport) {
7953
+ if (!layoutRelativeClientCoords) {
7954
+ x = -visualViewport.offsetLeft;
7955
+ y = -visualViewport.offsetTop;
7956
+ }
7957
+ } else {
7958
+ width = visualViewport.width;
7959
+ height = visualViewport.height;
7960
+ if (layoutRelativeClientCoords) {
7961
+ x = visualViewport.offsetLeft;
7962
+ y = visualViewport.offsetTop;
7963
+ }
7971
7964
  }
7972
7965
  }
7973
7966
  const windowScrollbarX = getWindowScrollBarX(html);
7974
- // <html> `overflow: hidden` + `scrollbar-gutter: stable` reduces the
7975
- // visual width of the <html> but this is not considered in the size
7976
- // of `html.clientWidth`.
7967
+ // `scrollbar-gutter: stable` on the <html> reserves gutter space that shrinks
7968
+ // the visual width but isn't reflected in `html.clientWidth`, so subtract it.
7969
+ // Only the inline-end (right) gutter can hold the scrollbar; `both-edges` also
7970
+ // reserves an empty inline-start gutter that clips nothing, so exclude just
7971
+ // the one scrollbar-side gutter — halve the measured (two-gutter) total. A
7972
+ // left-side scrollbar (`windowScrollbarX > 0`) is already handled by
7973
+ // `getHTMLOffset`/`visualViewport.width`; skip it here.
7977
7974
  if (windowScrollbarX <= 0) {
7978
7975
  const doc = html.ownerDocument;
7979
7976
  const body = doc.body;
7980
7977
  const bodyStyles = getComputedStyle(body);
7981
7978
  const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
7982
- const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
7983
- if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
7984
- width -= clippingStableScrollbarWidth;
7979
+ const reservedWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
7980
+ const gutter = getComputedStyle(html).scrollbarGutter === 'stable both-edges' ? reservedWidth / 2 : reservedWidth;
7981
+ if (gutter <= SCROLLBAR_MAX) {
7982
+ width -= gutter;
7985
7983
  }
7986
- } else if (windowScrollbarX <= SCROLLBAR_MAX) {
7987
- // If the <body> scrollbar is on the left, the width needs to be extended
7988
- // by the scrollbar amount so there isn't extra space on the right.
7989
- width += windowScrollbarX;
7990
7984
  }
7991
7985
  return {
7992
7986
  width,
@@ -8001,7 +7995,7 @@ function getInnerBoundingClientRect(element, strategy) {
8001
7995
  const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
8002
7996
  const top = clientRect.top + element.clientTop;
8003
7997
  const left = clientRect.left + element.clientLeft;
8004
- const scale = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isHTMLElement)(element) ? getScale(element) : (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.createCoords)(1);
7998
+ const scale = getScale(element);
8005
7999
  const width = element.clientWidth * scale.x;
8006
8000
  const height = element.clientHeight * scale.y;
8007
8001
  const x = left * scale.x;
@@ -8015,8 +8009,8 @@ function getInnerBoundingClientRect(element, strategy) {
8015
8009
  }
8016
8010
  function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
8017
8011
  let rect;
8018
- if (clippingAncestor === 'viewport') {
8019
- rect = getViewportRect(element, strategy);
8012
+ if (clippingAncestor === 'viewport' || clippingAncestor === 'layoutViewport') {
8013
+ rect = getViewportRect(element, strategy, clippingAncestor);
8020
8014
  } else if (clippingAncestor === 'document') {
8021
8015
  rect = getDocumentRect((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getDocumentElement)(element));
8022
8016
  } else if ((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(clippingAncestor)) {
@@ -8032,13 +8026,6 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
8032
8026
  }
8033
8027
  return (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.rectToClientRect)(rect);
8034
8028
  }
8035
- function hasFixedPositionAncestor(element, stopNode) {
8036
- const parentNode = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getParentNode)(element);
8037
- if (parentNode === stopNode || !(0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(parentNode) || (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isLastTraversableNode)(parentNode)) {
8038
- return false;
8039
- }
8040
- return (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getComputedStyle)(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
8041
- }
8042
8029
 
8043
8030
  // A "clipping ancestor" is an `overflow` element with the characteristic of
8044
8031
  // clipping (or hiding) child elements. This returns all clipping ancestors
@@ -8049,7 +8036,7 @@ function getClippingElementAncestors(element, cache) {
8049
8036
  return cachedResult;
8050
8037
  }
8051
8038
  let result = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getOverflowAncestors)(element, [], false).filter(el => (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(el) && (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeName)(el) !== 'body');
8052
- let currentContainingBlockComputedStyle = null;
8039
+ let lastKeptComputedStyle = null;
8053
8040
  const elementIsFixed = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getComputedStyle)(element).position === 'fixed';
8054
8041
  let currentNode = elementIsFixed ? (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getParentNode)(element) : element;
8055
8042
 
@@ -8057,16 +8044,20 @@ function getClippingElementAncestors(element, cache) {
8057
8044
  while ((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isElement)(currentNode) && !(0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isLastTraversableNode)(currentNode)) {
8058
8045
  const computedStyle = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getComputedStyle)(currentNode);
8059
8046
  const currentNodeIsContaining = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isContainingBlock)(currentNode);
8060
- if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
8061
- currentContainingBlockComputedStyle = null;
8062
- }
8063
- const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === 'absolute' || currentContainingBlockComputedStyle.position === 'fixed') || (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isOverflowElement)(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
8047
+ // Position of the containing block chain below the current node. A fixed
8048
+ // element whose containing block hasn't been found yet is a fixed chain.
8049
+ const lastPosition = lastKeptComputedStyle ? lastKeptComputedStyle.position : elementIsFixed ? 'fixed' : '';
8050
+
8051
+ // A non-containing ancestor does not clip the element when the chain
8052
+ // below it escapes it: a fixed chain escapes all ancestors up to the
8053
+ // next containing block, an absolute chain escapes static ancestors.
8054
+ const shouldDropCurrentNode = !currentNodeIsContaining && (lastPosition === 'fixed' || lastPosition === 'absolute' && computedStyle.position === 'static');
8064
8055
  if (shouldDropCurrentNode) {
8065
8056
  // Drop non-containing blocks.
8066
8057
  result = result.filter(ancestor => ancestor !== currentNode);
8067
8058
  } else {
8068
- // Record last containing block for next iteration.
8069
- currentContainingBlockComputedStyle = computedStyle;
8059
+ // The kept node carries the chain position for the next iteration.
8060
+ lastKeptComputedStyle = computedStyle;
8070
8061
  }
8071
8062
  currentNode = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getParentNode)(currentNode);
8072
8063
  }
@@ -8126,13 +8117,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
8126
8117
  scrollTop: 0
8127
8118
  };
8128
8119
  const offsets = (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.createCoords)(0);
8129
-
8130
- // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
8131
- // Firefox with layout.scrollbar.side = 3 in about:config to test this.
8132
- function setLeftRTLScrollbarOffset() {
8133
- offsets.x = getWindowScrollBarX(documentElement);
8134
- }
8135
- if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
8120
+ if (isOffsetParentAnElement || !isFixed) {
8136
8121
  if ((0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeName)(offsetParent) !== 'body' || (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.isOverflowElement)(documentElement)) {
8137
8122
  scroll = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getNodeScroll)(offsetParent);
8138
8123
  }
@@ -8140,12 +8125,13 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
8140
8125
  const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
8141
8126
  offsets.x = offsetRect.x + offsetParent.clientLeft;
8142
8127
  offsets.y = offsetRect.y + offsetParent.clientTop;
8143
- } else if (documentElement) {
8144
- setLeftRTLScrollbarOffset();
8145
8128
  }
8146
8129
  }
8147
- if (isFixed && !isOffsetParentAnElement && documentElement) {
8148
- setLeftRTLScrollbarOffset();
8130
+
8131
+ // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
8132
+ // Firefox with layout.scrollbar.side = 3 in about:config to test this.
8133
+ if (!isOffsetParentAnElement && documentElement) {
8134
+ offsets.x = getWindowScrollBarX(documentElement);
8149
8135
  }
8150
8136
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : (0,_floating_ui_core__WEBPACK_IMPORTED_MODULE_1__.createCoords)(0);
8151
8137
  const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
@@ -8245,7 +8231,7 @@ function rectsAreEqual(a, b) {
8245
8231
  }
8246
8232
 
8247
8233
  // https://samthor.au/2021/observing-dom/
8248
- function observeMove(element, onMove) {
8234
+ function observeMove(element, onMove, ancestorResize) {
8249
8235
  let io = null;
8250
8236
  let timeoutId;
8251
8237
  const root = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getDocumentElement)(element);
@@ -8288,13 +8274,22 @@ function observeMove(element, onMove) {
8288
8274
  let isFirstUpdate = true;
8289
8275
  function handleObserve(entries) {
8290
8276
  const ratio = entries[0].intersectionRatio;
8277
+
8278
+ // The entry is a snapshot, so the reference may have moved since the
8279
+ // intersection was computed (under performance constraints, or between
8280
+ // consecutive frames of a multi-frame layout shift). The reported ratio
8281
+ // and the observed area are stale in that case and cannot be trusted to
8282
+ // detect subsequent movement, so refresh regardless of the ratio.
8283
+ if (!rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
8284
+ return refresh();
8285
+ }
8291
8286
  if (ratio !== threshold) {
8292
8287
  if (!isFirstUpdate) {
8293
8288
  return refresh();
8294
8289
  }
8295
8290
  if (!ratio) {
8296
- // If the reference is clipped, the ratio is 0. Throttle the refresh
8297
- // to prevent an infinite loop of updates.
8291
+ // If the reference is clipped in place, the ratio is 0. Throttle
8292
+ // the refresh to prevent an infinite loop of updates.
8298
8293
  timeoutId = setTimeout(() => {
8299
8294
  refresh(false, 1e-7);
8300
8295
  }, 1000);
@@ -8302,16 +8297,6 @@ function observeMove(element, onMove) {
8302
8297
  refresh(false, ratio);
8303
8298
  }
8304
8299
  }
8305
- if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
8306
- // It's possible that even though the ratio is reported as 1, the
8307
- // element is not actually fully within the IntersectionObserver's root
8308
- // area anymore. This can happen under performance constraints. This may
8309
- // be a bug in the browser's IntersectionObserver implementation. To
8310
- // work around this, we compare the element's bounding rect now with
8311
- // what it was at the time we created the IntersectionObserver. If they
8312
- // are not equal then the element moved, so we refresh.
8313
- refresh();
8314
- }
8315
8300
  isFirstUpdate = false;
8316
8301
  }
8317
8302
 
@@ -8328,8 +8313,18 @@ function observeMove(element, onMove) {
8328
8313
  }
8329
8314
  io.observe(element);
8330
8315
  }
8316
+ const win = (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getWindow)(element);
8317
+ // The window is a resize ancestor, so when `ancestorResize` is enabled its
8318
+ // listener already runs the update on resize. Here we only need to rebuild
8319
+ // the `IntersectionObserver` for the new root size, skipping a redundant
8320
+ // update. When `ancestorResize` is disabled, this becomes the sole update.
8321
+ const handleResize = () => refresh(ancestorResize);
8322
+ win.addEventListener('resize', handleResize);
8331
8323
  refresh(true);
8332
- return cleanup;
8324
+ return () => {
8325
+ win.removeEventListener('resize', handleResize);
8326
+ cleanup();
8327
+ };
8333
8328
  }
8334
8329
 
8335
8330
  /**
@@ -8354,12 +8349,10 @@ function autoUpdate(reference, floating, update, options) {
8354
8349
  const referenceEl = unwrapElement(reference);
8355
8350
  const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getOverflowAncestors)(referenceEl) : []), ...(floating ? (0,_floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_2__.getOverflowAncestors)(floating) : [])] : [];
8356
8351
  ancestors.forEach(ancestor => {
8357
- ancestorScroll && ancestor.addEventListener('scroll', update, {
8358
- passive: true
8359
- });
8352
+ ancestorScroll && ancestor.addEventListener('scroll', update);
8360
8353
  ancestorResize && ancestor.addEventListener('resize', update);
8361
8354
  });
8362
- const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
8355
+ const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update, ancestorResize) : null;
8363
8356
  let reobserveFrame = -1;
8364
8357
  let resizeObserver = null;
8365
8358
  if (elementResize) {
@@ -8498,11 +8491,9 @@ const computePosition = (reference, floating, options) => {
8498
8491
  // multiple lifecycle resets re-use the same result. It only lives for a
8499
8492
  // single call. If other functions become expensive, we can add them as well.
8500
8493
  const cache = new Map();
8501
- const mergedOptions = {
8502
- platform,
8503
- ...options
8504
- };
8494
+ const mergedOptions = options != null ? options : {};
8505
8495
  const platformWithCache = {
8496
+ ...platform,
8506
8497
  ...mergedOptions.platform,
8507
8498
  _c: cache
8508
8499
  };
@@ -8517,9 +8508,9 @@ const computePosition = (reference, floating, options) => {
8517
8508
 
8518
8509
  /***/ },
8519
8510
 
8520
- /***/ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"
8511
+ /***/ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.9_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"
8521
8512
  /*!************************************************************************************************************************************************************************!*\
8522
- !*** ./node_modules/.pnpm/@floating-ui+react-dom@2.1.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs ***!
8513
+ !*** ./node_modules/.pnpm/@floating-ui+react-dom@2.1.9_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs ***!
8523
8514
  \************************************************************************************************************************************************************************/
8524
8515
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
8525
8516
 
@@ -8542,10 +8533,10 @@ __webpack_require__.r(__webpack_exports__);
8542
8533
  /* harmony export */ size: () => (/* binding */ size),
8543
8534
  /* harmony export */ useFloating: () => (/* binding */ useFloating)
8544
8535
  /* harmony export */ });
8545
- /* harmony import */ var _floating_ui_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/dom */ "./node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
8546
- /* harmony import */ var _floating_ui_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
8536
+ /* harmony import */ var _floating_ui_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/dom */ "./node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
8537
+ /* harmony import */ var _floating_ui_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
8547
8538
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
8548
- /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/index.js");
8539
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.js");
8549
8540
 
8550
8541
 
8551
8542
 
@@ -8696,7 +8687,7 @@ function useFloating(options) {
8696
8687
  if (platformRef.current) {
8697
8688
  config.platform = platformRef.current;
8698
8689
  }
8699
- (0,_floating_ui_dom__WEBPACK_IMPORTED_MODULE_0__.computePosition)(referenceRef.current, floatingRef.current, config).then(data => {
8690
+ ;(0,_floating_ui_dom__WEBPACK_IMPORTED_MODULE_0__.computePosition)(referenceRef.current, floatingRef.current, config).then(data => {
8700
8691
  const fullData = {
8701
8692
  ...data,
8702
8693
  // The floating element's position may be recomputed while it's closed
@@ -8956,9 +8947,9 @@ const arrow = (options, deps) => {
8956
8947
 
8957
8948
  /***/ },
8958
8949
 
8959
- /***/ "./node_modules/.pnpm/@floating-ui+react@0.27.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.mjs"
8950
+ /***/ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs"
8960
8951
  /*!**************************************************************************************************************************************************************!*\
8961
- !*** ./node_modules/.pnpm/@floating-ui+react@0.27.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.mjs ***!
8952
+ !*** ./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.mjs ***!
8962
8953
  \**************************************************************************************************************************************************************/
8963
8954
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
8964
8955
 
@@ -9019,14 +9010,14 @@ __webpack_require__.r(__webpack_exports__);
9019
9010
  /* harmony export */ useTypeahead: () => (/* binding */ useTypeahead)
9020
9011
  /* harmony export */ });
9021
9012
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
9022
- /* harmony import */ var _floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react/utils */ "./node_modules/.pnpm/@floating-ui+react@0.27.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs");
9023
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js");
9024
- /* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
9013
+ /* harmony import */ var _floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @floating-ui/react/utils */ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs");
9014
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/.pnpm/react@19.2.8/node_modules/react/jsx-runtime.js");
9015
+ /* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
9025
9016
  /* harmony import */ var tabbable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tabbable */ "./node_modules/.pnpm/tabbable@6.5.0/node_modules/tabbable/dist/index.esm.js");
9026
- /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/index.js");
9027
- /* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs");
9028
- /* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
9029
- /* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
9017
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-dom */ "./node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/index.js");
9018
+ /* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+react-dom@2.1.9_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs");
9019
+ /* harmony import */ var _floating_ui_react_dom__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @floating-ui/react-dom */ "./node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs");
9020
+ /* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
9030
9021
 
9031
9022
 
9032
9023
 
@@ -11832,9 +11823,7 @@ function useDismiss(context, props) {
11832
11823
  return ancestor !== ((_doc$defaultView = doc.defaultView) == null ? void 0 : _doc$defaultView.visualViewport);
11833
11824
  });
11834
11825
  ancestors.forEach(ancestor => {
11835
- ancestor.addEventListener('scroll', onScroll, {
11836
- passive: true
11837
- });
11826
+ ancestor.addEventListener('scroll', onScroll);
11838
11827
  });
11839
11828
  return () => {
11840
11829
  if (escapeKey) {
@@ -11937,19 +11926,20 @@ function useFloatingRootContext(options) {
11937
11926
  * Provides data to position a floating element and context to add interactions.
11938
11927
  * @see https://floating-ui.com/docs/useFloating
11939
11928
  */
11940
- function useFloating(options) {
11941
- if (options === void 0) {
11942
- options = {};
11943
- }
11929
+ function useFloating(_temp) {
11930
+ var _elementsOption$refer, _elementsOption$float;
11931
+ let {
11932
+ elements: elementsOption,
11933
+ ...options
11934
+ } = _temp === void 0 ? {} : _temp;
11944
11935
  const {
11945
11936
  nodeId
11946
11937
  } = options;
11947
11938
  const internalRootContext = useFloatingRootContext({
11948
11939
  ...options,
11949
11940
  elements: {
11950
- reference: null,
11951
- floating: null,
11952
- ...options.elements
11941
+ reference: (_elementsOption$refer = elementsOption == null ? void 0 : elementsOption.reference) != null ? _elementsOption$refer : null,
11942
+ floating: (_elementsOption$float = elementsOption == null ? void 0 : elementsOption.floating) != null ? _elementsOption$float : null
11953
11943
  }
11954
11944
  });
11955
11945
  const rootContext = options.rootContext || internalRootContext;
@@ -12806,7 +12796,7 @@ function useListNavigation(context, props) {
12806
12796
  if (selectedIndex != null) {
12807
12797
  indexRef.current = selectedIndex;
12808
12798
  }
12809
- (0,_floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__.stopEvent)(event);
12799
+ ;(0,_floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__.stopEvent)(event);
12810
12800
  if (!open && openOnArrowKeyDown) {
12811
12801
  onOpenChange(true, event.nativeEvent, 'list-navigation');
12812
12802
  } else {
@@ -12986,7 +12976,7 @@ function useTransitionStatus(context, props) {
12986
12976
  if (!isMounted && status === 'close') {
12987
12977
  setStatus('unmounted');
12988
12978
  }
12989
- (0,_floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__.useModernLayoutEffect)(() => {
12979
+ ;(0,_floating_ui_react_utils__WEBPACK_IMPORTED_MODULE_1__.useModernLayoutEffect)(() => {
12990
12980
  if (!floating) return;
12991
12981
  if (open) {
12992
12982
  setStatus('initial');
@@ -13639,9 +13629,9 @@ function safePolygon(options) {
13639
13629
 
13640
13630
  /***/ },
13641
13631
 
13642
- /***/ "./node_modules/.pnpm/@floating-ui+react@0.27.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs"
13632
+ /***/ "./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs"
13643
13633
  /*!********************************************************************************************************************************************************************!*\
13644
- !*** ./node_modules/.pnpm/@floating-ui+react@0.27.19_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs ***!
13634
+ !*** ./node_modules/.pnpm/@floating-ui+react@0.27.20_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs ***!
13645
13635
  \********************************************************************************************************************************************************************/
13646
13636
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
13647
13637
 
@@ -13693,9 +13683,9 @@ __webpack_require__.r(__webpack_exports__);
13693
13683
  /* harmony export */ useLatestRef: () => (/* binding */ useLatestRef),
13694
13684
  /* harmony export */ useModernLayoutEffect: () => (/* binding */ index)
13695
13685
  /* harmony export */ });
13696
- /* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/utils/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
13686
+ /* harmony import */ var _floating_ui_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @floating-ui/utils/dom */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs");
13697
13687
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
13698
- /* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
13688
+ /* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @floating-ui/utils */ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs");
13699
13689
  /* harmony import */ var tabbable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tabbable */ "./node_modules/.pnpm/tabbable@6.5.0/node_modules/tabbable/dist/index.esm.js");
13700
13690
 
13701
13691
 
@@ -14238,9 +14228,9 @@ function enableFocusInside(container) {
14238
14228
 
14239
14229
  /***/ },
14240
14230
 
14241
- /***/ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"
14231
+ /***/ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"
14242
14232
  /*!*********************************************************************************************************************!*\
14243
- !*** ./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs ***!
14233
+ !*** ./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs ***!
14244
14234
  \*********************************************************************************************************************/
14245
14235
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
14246
14236
 
@@ -14403,7 +14393,7 @@ function getParentNode(node) {
14403
14393
  function getNearestOverflowAncestor(node) {
14404
14394
  const parentNode = getParentNode(node);
14405
14395
  if (isLastTraversableNode(parentNode)) {
14406
- return node.ownerDocument ? node.ownerDocument.body : node.body;
14396
+ return (node.ownerDocument || node).body;
14407
14397
  }
14408
14398
  if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
14409
14399
  return parentNode;
@@ -14437,9 +14427,9 @@ function getFrameElement(win) {
14437
14427
 
14438
14428
  /***/ },
14439
14429
 
14440
- /***/ "./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"
14430
+ /***/ "./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"
14441
14431
  /*!*****************************************************************************************************************!*\
14442
- !*** ./node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs ***!
14432
+ !*** ./node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs ***!
14443
14433
  \*****************************************************************************************************************/
14444
14434
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
14445
14435
 
@@ -14571,12 +14561,12 @@ function getOppositePlacement(placement) {
14571
14561
  return oppositeSideMap[side] + placement.slice(side.length);
14572
14562
  }
14573
14563
  function expandPaddingObject(padding) {
14564
+ var _padding$top, _padding$right, _padding$bottom, _padding$left;
14574
14565
  return {
14575
- top: 0,
14576
- right: 0,
14577
- bottom: 0,
14578
- left: 0,
14579
- ...padding
14566
+ top: (_padding$top = padding.top) != null ? _padding$top : 0,
14567
+ right: (_padding$right = padding.right) != null ? _padding$right : 0,
14568
+ bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,
14569
+ left: (_padding$left = padding.left) != null ? _padding$left : 0
14580
14570
  };
14581
14571
  }
14582
14572
  function getPaddingObject(padding) {
@@ -14611,9 +14601,9 @@ function rectToClientRect(rect) {
14611
14601
 
14612
14602
  /***/ },
14613
14603
 
14614
- /***/ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.7/node_modules/@react-hive/honey-hooks/dist/index.mjs"
14604
+ /***/ "./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.8/node_modules/@react-hive/honey-hooks/dist/index.mjs"
14615
14605
  /*!***************************************************************************************************************************!*\
14616
- !*** ./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.7/node_modules/@react-hive/honey-hooks/dist/index.mjs ***!
14606
+ !*** ./node_modules/.pnpm/@react-hive+honey-hooks@3.1.0_react@19.2.8/node_modules/@react-hive/honey-hooks/dist/index.mjs ***!
14617
14607
  \***************************************************************************************************************************/
14618
14608
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
14619
14609