react-bootstrap 2.2.2 → 2.2.3
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.
- package/dist/react-bootstrap.js +221 -36
- package/dist/react-bootstrap.min.js +1 -1
- package/package.json +2 -2
package/dist/react-bootstrap.js
CHANGED
|
@@ -3144,7 +3144,7 @@ function useEventCallback(fn) {
|
|
|
3144
3144
|
return ref.current && ref.current.apply(ref, arguments);
|
|
3145
3145
|
}, [ref]);
|
|
3146
3146
|
}
|
|
3147
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useCallbackRef.js
|
|
3147
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useCallbackRef.js
|
|
3148
3148
|
|
|
3149
3149
|
/**
|
|
3150
3150
|
* A convenience hook around `useState` designed to be paired with
|
|
@@ -3174,7 +3174,37 @@ function useEventCallback(fn) {
|
|
|
3174
3174
|
function useCallbackRef() {
|
|
3175
3175
|
return (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(null);
|
|
3176
3176
|
}
|
|
3177
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/
|
|
3177
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useCommittedRef.js
|
|
3178
|
+
|
|
3179
|
+
/**
|
|
3180
|
+
* Creates a `Ref` whose value is updated in an effect, ensuring the most recent
|
|
3181
|
+
* value is the one rendered with. Generally only required for Concurrent mode usage
|
|
3182
|
+
* where previous work in `render()` may be discarded before being used.
|
|
3183
|
+
*
|
|
3184
|
+
* This is safe to access in an event handler.
|
|
3185
|
+
*
|
|
3186
|
+
* @param value The `Ref` value
|
|
3187
|
+
*/
|
|
3188
|
+
|
|
3189
|
+
function esm_useCommittedRef_useCommittedRef(value) {
|
|
3190
|
+
var ref = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(value);
|
|
3191
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
3192
|
+
ref.current = value;
|
|
3193
|
+
}, [value]);
|
|
3194
|
+
return ref;
|
|
3195
|
+
}
|
|
3196
|
+
|
|
3197
|
+
/* harmony default export */ const hooks_esm_useCommittedRef = (esm_useCommittedRef_useCommittedRef);
|
|
3198
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useEventCallback.js
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
function useEventCallback_useEventCallback(fn) {
|
|
3202
|
+
var ref = hooks_esm_useCommittedRef(fn);
|
|
3203
|
+
return (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useCallback)(function () {
|
|
3204
|
+
return ref.current && ref.current.apply(ref, arguments);
|
|
3205
|
+
}, [ref]);
|
|
3206
|
+
}
|
|
3207
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useEventListener.js
|
|
3178
3208
|
|
|
3179
3209
|
|
|
3180
3210
|
/**
|
|
@@ -3192,7 +3222,7 @@ function useEventListener_useEventListener(eventTarget, event, listener, capture
|
|
|
3192
3222
|
capture = false;
|
|
3193
3223
|
}
|
|
3194
3224
|
|
|
3195
|
-
var handler =
|
|
3225
|
+
var handler = useEventCallback_useEventCallback(listener);
|
|
3196
3226
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
3197
3227
|
var target = typeof eventTarget === 'function' ? eventTarget() : eventTarget;
|
|
3198
3228
|
target.addEventListener(event, handler, capture);
|
|
@@ -3201,7 +3231,7 @@ function useEventListener_useEventListener(eventTarget, event, listener, capture
|
|
|
3201
3231
|
};
|
|
3202
3232
|
}, [eventTarget]);
|
|
3203
3233
|
}
|
|
3204
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useGlobalListener.js
|
|
3234
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useGlobalListener.js
|
|
3205
3235
|
|
|
3206
3236
|
|
|
3207
3237
|
/**
|
|
@@ -3229,7 +3259,7 @@ function useGlobalListener(event, handler, capture) {
|
|
|
3229
3259
|
}, []);
|
|
3230
3260
|
return useEventListener(documentTarget, event, handler, capture);
|
|
3231
3261
|
}
|
|
3232
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useInterval.js
|
|
3262
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useInterval.js
|
|
3233
3263
|
|
|
3234
3264
|
|
|
3235
3265
|
/**
|
|
@@ -3288,7 +3318,7 @@ function useInterval(fn, ms, paused, runImmediately) {
|
|
|
3288
3318
|
}
|
|
3289
3319
|
|
|
3290
3320
|
/* harmony default export */ const esm_useInterval = ((/* unused pure expression or super */ null && (useInterval)));
|
|
3291
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useRafInterval.js
|
|
3321
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useRafInterval.js
|
|
3292
3322
|
|
|
3293
3323
|
|
|
3294
3324
|
|
|
@@ -3327,7 +3357,7 @@ function useRafInterval(fn, ms, paused) {
|
|
|
3327
3357
|
}
|
|
3328
3358
|
|
|
3329
3359
|
/* harmony default export */ const esm_useRafInterval = ((/* unused pure expression or super */ null && (useRafInterval)));
|
|
3330
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMergeState.js
|
|
3360
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMergeState.js
|
|
3331
3361
|
function useMergeState_extends() {
|
|
3332
3362
|
useMergeState_extends = Object.assign || function (target) {
|
|
3333
3363
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -3384,7 +3414,7 @@ function useMergeState_useMergeState(initialState) {
|
|
|
3384
3414
|
}, [setState]);
|
|
3385
3415
|
return [state, updater];
|
|
3386
3416
|
}
|
|
3387
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMergeStateFromProps.js
|
|
3417
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMergeStateFromProps.js
|
|
3388
3418
|
|
|
3389
3419
|
function useMergeStateFromProps(props, gDSFP, initialState) {
|
|
3390
3420
|
var _useMergeState = useMergeState(initialState),
|
|
@@ -3395,7 +3425,7 @@ function useMergeStateFromProps(props, gDSFP, initialState) {
|
|
|
3395
3425
|
if (nextState !== null) setState(nextState);
|
|
3396
3426
|
return [state, setState];
|
|
3397
3427
|
}
|
|
3398
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMounted.js
|
|
3428
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMounted.js
|
|
3399
3429
|
|
|
3400
3430
|
/**
|
|
3401
3431
|
* Track whether a component is current mounted. Generally less preferable than
|
|
@@ -3430,7 +3460,7 @@ function useMounted() {
|
|
|
3430
3460
|
}, []);
|
|
3431
3461
|
return isMounted.current;
|
|
3432
3462
|
}
|
|
3433
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/usePrevious.js
|
|
3463
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/usePrevious.js
|
|
3434
3464
|
|
|
3435
3465
|
/**
|
|
3436
3466
|
* Store the last of some value. Tracked via a `Ref` only updating it
|
|
@@ -3457,7 +3487,7 @@ function usePrevious(value) {
|
|
|
3457
3487
|
});
|
|
3458
3488
|
return ref.current;
|
|
3459
3489
|
}
|
|
3460
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useImage.js
|
|
3490
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useImage.js
|
|
3461
3491
|
|
|
3462
3492
|
/**
|
|
3463
3493
|
* Fetch and load an image for programatic use such as in a `<canvas>` element.
|
|
@@ -3536,7 +3566,7 @@ function useImage(imageOrUrl, crossOrigin) {
|
|
|
3536
3566
|
}, [imageOrUrl, crossOrigin]);
|
|
3537
3567
|
return state;
|
|
3538
3568
|
}
|
|
3539
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useIsomorphicEffect.js
|
|
3569
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useIsomorphicEffect.js
|
|
3540
3570
|
|
|
3541
3571
|
var isReactNative = typeof __webpack_require__.g !== 'undefined' && // @ts-ignore
|
|
3542
3572
|
__webpack_require__.g.navigator && // @ts-ignore
|
|
@@ -3552,7 +3582,7 @@ var isDOM = typeof document !== 'undefined';
|
|
|
3552
3582
|
*/
|
|
3553
3583
|
|
|
3554
3584
|
/* harmony default export */ const useIsomorphicEffect = (isDOM || isReactNative ? external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect : external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect);
|
|
3555
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useResizeObserver.js
|
|
3585
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useResizeObserver.js
|
|
3556
3586
|
|
|
3557
3587
|
|
|
3558
3588
|
var targetMap = new WeakMap();
|
|
@@ -3605,7 +3635,7 @@ function useResizeObserver(element) {
|
|
|
3605
3635
|
}, [element]);
|
|
3606
3636
|
return rect;
|
|
3607
3637
|
}
|
|
3608
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/index.js
|
|
3638
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/index.js
|
|
3609
3639
|
|
|
3610
3640
|
|
|
3611
3641
|
|
|
@@ -3779,7 +3809,7 @@ const Anchor = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_a
|
|
|
3779
3809
|
const [buttonProps] = useButtonProps(Object.assign({
|
|
3780
3810
|
tagName: 'a'
|
|
3781
3811
|
}, props));
|
|
3782
|
-
const handleKeyDown =
|
|
3812
|
+
const handleKeyDown = useEventCallback_useEventCallback(e => {
|
|
3783
3813
|
buttonProps.onKeyDown(e);
|
|
3784
3814
|
onKeyDown == null ? void 0 : onKeyDown(e);
|
|
3785
3815
|
});
|
|
@@ -4818,6 +4848,42 @@ function useUpdateEffect(fn, deps) {
|
|
|
4818
4848
|
}
|
|
4819
4849
|
|
|
4820
4850
|
/* harmony default export */ const esm_useUpdateEffect = (useUpdateEffect);
|
|
4851
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMounted.js
|
|
4852
|
+
|
|
4853
|
+
/**
|
|
4854
|
+
* Track whether a component is current mounted. Generally less preferable than
|
|
4855
|
+
* properlly canceling effects so they don't run after a component is unmounted,
|
|
4856
|
+
* but helpful in cases where that isn't feasible, such as a `Promise` resolution.
|
|
4857
|
+
*
|
|
4858
|
+
* @returns a function that returns the current isMounted state of the component
|
|
4859
|
+
*
|
|
4860
|
+
* ```ts
|
|
4861
|
+
* const [data, setData] = useState(null)
|
|
4862
|
+
* const isMounted = useMounted()
|
|
4863
|
+
*
|
|
4864
|
+
* useEffect(() => {
|
|
4865
|
+
* fetchdata().then((newData) => {
|
|
4866
|
+
* if (isMounted()) {
|
|
4867
|
+
* setData(newData);
|
|
4868
|
+
* }
|
|
4869
|
+
* })
|
|
4870
|
+
* })
|
|
4871
|
+
* ```
|
|
4872
|
+
*/
|
|
4873
|
+
|
|
4874
|
+
function useMounted_useMounted() {
|
|
4875
|
+
var mounted = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(true);
|
|
4876
|
+
var isMounted = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(function () {
|
|
4877
|
+
return mounted.current;
|
|
4878
|
+
});
|
|
4879
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
4880
|
+
mounted.current = true;
|
|
4881
|
+
return function () {
|
|
4882
|
+
mounted.current = false;
|
|
4883
|
+
};
|
|
4884
|
+
}, []);
|
|
4885
|
+
return isMounted.current;
|
|
4886
|
+
}
|
|
4821
4887
|
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useUpdatedRef.js
|
|
4822
4888
|
|
|
4823
4889
|
/**
|
|
@@ -4892,7 +4958,7 @@ function setChainedTimeout(handleRef, fn, timeoutAtMs) {
|
|
|
4892
4958
|
|
|
4893
4959
|
|
|
4894
4960
|
function useTimeout() {
|
|
4895
|
-
var isMounted =
|
|
4961
|
+
var isMounted = useMounted_useMounted(); // types are confused between node and web here IDK
|
|
4896
4962
|
|
|
4897
4963
|
var handleRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)();
|
|
4898
4964
|
useWillUnmount(function () {
|
|
@@ -5673,7 +5739,7 @@ var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
|
|
|
5673
5739
|
function qsa(element, selector) {
|
|
5674
5740
|
return toArray(element.querySelectorAll(selector));
|
|
5675
5741
|
}
|
|
5676
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useForceUpdate.js
|
|
5742
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useForceUpdate.js
|
|
5677
5743
|
|
|
5678
5744
|
/**
|
|
5679
5745
|
* Returns a function that triggers a component update. the hook equivalent to
|
|
@@ -5792,7 +5858,7 @@ function dequal(foo, bar) {
|
|
|
5792
5858
|
return foo !== foo && bar !== bar;
|
|
5793
5859
|
}
|
|
5794
5860
|
|
|
5795
|
-
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useSafeState.js
|
|
5861
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useSafeState.js
|
|
5796
5862
|
|
|
5797
5863
|
|
|
5798
5864
|
|
|
@@ -7895,14 +7961,14 @@ function useClickOutside(ref, onClickOutside = useClickOutside_noop, {
|
|
|
7895
7961
|
preventMouseClickOutsideRef.current = !currentTarget || isModifiedEvent(e) || !isLeftClickEvent(e) || !!contains_contains(currentTarget, e.target) || waitingForTrigger.current;
|
|
7896
7962
|
waitingForTrigger.current = false;
|
|
7897
7963
|
}, [ref]);
|
|
7898
|
-
const handleInitialMouse =
|
|
7964
|
+
const handleInitialMouse = useEventCallback_useEventCallback(e => {
|
|
7899
7965
|
const currentTarget = getRefTarget(ref);
|
|
7900
7966
|
|
|
7901
7967
|
if (currentTarget && contains_contains(currentTarget, e.target)) {
|
|
7902
7968
|
waitingForTrigger.current = true;
|
|
7903
7969
|
}
|
|
7904
7970
|
});
|
|
7905
|
-
const handleMouse =
|
|
7971
|
+
const handleMouse = useEventCallback_useEventCallback(e => {
|
|
7906
7972
|
if (!preventMouseClickOutsideRef.current) {
|
|
7907
7973
|
onClickOutside(e);
|
|
7908
7974
|
}
|
|
@@ -8349,7 +8415,7 @@ function useDropdownItem({
|
|
|
8349
8415
|
} = navContext || {};
|
|
8350
8416
|
const eventKey = makeEventKey(key, href);
|
|
8351
8417
|
const isActive = active == null && key != null ? makeEventKey(activeKey) === eventKey : active;
|
|
8352
|
-
const handleClick =
|
|
8418
|
+
const handleClick = useEventCallback_useEventCallback(event => {
|
|
8353
8419
|
if (disabled) return;
|
|
8354
8420
|
onClick == null ? void 0 : onClick(event);
|
|
8355
8421
|
|
|
@@ -8468,7 +8534,7 @@ function Dropdown({
|
|
|
8468
8534
|
source
|
|
8469
8535
|
});
|
|
8470
8536
|
}, [onToggle]);
|
|
8471
|
-
const handleSelect =
|
|
8537
|
+
const handleSelect = useEventCallback_useEventCallback((key, event) => {
|
|
8472
8538
|
onSelect == null ? void 0 : onSelect(key, event);
|
|
8473
8539
|
toggle(false, event, 'select');
|
|
8474
8540
|
|
|
@@ -8490,12 +8556,12 @@ function Dropdown({
|
|
|
8490
8556
|
focusInDropdown.current = menuElement.contains(menuElement.ownerDocument.activeElement);
|
|
8491
8557
|
}
|
|
8492
8558
|
|
|
8493
|
-
const focusToggle =
|
|
8559
|
+
const focusToggle = useEventCallback_useEventCallback(() => {
|
|
8494
8560
|
if (toggleElement && toggleElement.focus) {
|
|
8495
8561
|
toggleElement.focus();
|
|
8496
8562
|
}
|
|
8497
8563
|
});
|
|
8498
|
-
const maybeFocusFirst =
|
|
8564
|
+
const maybeFocusFirst = useEventCallback_useEventCallback(() => {
|
|
8499
8565
|
const type = lastSourceEvent.current;
|
|
8500
8566
|
let focusType = focusFirstItemOnShow;
|
|
8501
8567
|
|
|
@@ -8697,6 +8763,22 @@ const DropdownItem_DropdownItem = /*#__PURE__*/external_root_React_commonjs2_rea
|
|
|
8697
8763
|
DropdownItem_DropdownItem.displayName = 'DropdownItem';
|
|
8698
8764
|
DropdownItem_DropdownItem.propTypes = DropdownItem_propTypes;
|
|
8699
8765
|
/* harmony default export */ const src_DropdownItem = (DropdownItem_DropdownItem);
|
|
8766
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useIsomorphicEffect.js
|
|
8767
|
+
|
|
8768
|
+
var useIsomorphicEffect_isReactNative = typeof __webpack_require__.g !== 'undefined' && // @ts-ignore
|
|
8769
|
+
__webpack_require__.g.navigator && // @ts-ignore
|
|
8770
|
+
__webpack_require__.g.navigator.product === 'ReactNative';
|
|
8771
|
+
var useIsomorphicEffect_isDOM = typeof document !== 'undefined';
|
|
8772
|
+
/**
|
|
8773
|
+
* Is `useLayoutEffect` in a DOM or React Native environment, otherwise resolves to useEffect
|
|
8774
|
+
* Only useful to avoid the console warning.
|
|
8775
|
+
*
|
|
8776
|
+
* PREFER `useEffect` UNLESS YOU KNOW WHAT YOU ARE DOING.
|
|
8777
|
+
*
|
|
8778
|
+
* @category effects
|
|
8779
|
+
*/
|
|
8780
|
+
|
|
8781
|
+
/* harmony default export */ const esm_useIsomorphicEffect = (useIsomorphicEffect_isDOM || useIsomorphicEffect_isReactNative ? external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect : external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect);
|
|
8700
8782
|
;// CONCATENATED MODULE: ./src/InputGroupContext.tsx
|
|
8701
8783
|
|
|
8702
8784
|
const InputGroupContext_context = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_.createContext(null);
|
|
@@ -8885,7 +8967,7 @@ const DropdownMenu_DropdownMenu = /*#__PURE__*/external_root_React_commonjs2_rea
|
|
|
8885
8967
|
placement
|
|
8886
8968
|
});
|
|
8887
8969
|
menuProps.ref = esm_useMergedRefs(useWrappedRefWithWarning(ref, 'DropdownMenu'), menuProps.ref);
|
|
8888
|
-
|
|
8970
|
+
esm_useIsomorphicEffect(() => {
|
|
8889
8971
|
// Popper's initial position for the menu is incorrect when
|
|
8890
8972
|
// renderOnMount=true. Need to call update() to correct it.
|
|
8891
8973
|
if (show) popper == null ? void 0 : popper.update();
|
|
@@ -10520,6 +10602,47 @@ InputGroup.displayName = 'InputGroup';
|
|
|
10520
10602
|
Radio: InputGroupRadio,
|
|
10521
10603
|
Checkbox: InputGroupCheckbox
|
|
10522
10604
|
}));
|
|
10605
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMergedRefs.js
|
|
10606
|
+
|
|
10607
|
+
|
|
10608
|
+
var useMergedRefs_toFnRef = function toFnRef(ref) {
|
|
10609
|
+
return !ref || typeof ref === 'function' ? ref : function (value) {
|
|
10610
|
+
ref.current = value;
|
|
10611
|
+
};
|
|
10612
|
+
};
|
|
10613
|
+
|
|
10614
|
+
function useMergedRefs_mergeRefs(refA, refB) {
|
|
10615
|
+
var a = useMergedRefs_toFnRef(refA);
|
|
10616
|
+
var b = useMergedRefs_toFnRef(refB);
|
|
10617
|
+
return function (value) {
|
|
10618
|
+
if (a) a(value);
|
|
10619
|
+
if (b) b(value);
|
|
10620
|
+
};
|
|
10621
|
+
}
|
|
10622
|
+
/**
|
|
10623
|
+
* Create and returns a single callback ref composed from two other Refs.
|
|
10624
|
+
*
|
|
10625
|
+
* ```tsx
|
|
10626
|
+
* const Button = React.forwardRef((props, ref) => {
|
|
10627
|
+
* const [element, attachRef] = useCallbackRef<HTMLButtonElement>();
|
|
10628
|
+
* const mergedRef = useMergedRefs(ref, attachRef);
|
|
10629
|
+
*
|
|
10630
|
+
* return <button ref={mergedRef} {...props}/>
|
|
10631
|
+
* })
|
|
10632
|
+
* ```
|
|
10633
|
+
*
|
|
10634
|
+
* @param refA A Callback or mutable Ref
|
|
10635
|
+
* @param refB A Callback or mutable Ref
|
|
10636
|
+
* @category refs
|
|
10637
|
+
*/
|
|
10638
|
+
|
|
10639
|
+
function useMergedRefs_useMergedRefs(refA, refB) {
|
|
10640
|
+
return (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
|
|
10641
|
+
return useMergedRefs_mergeRefs(refA, refB);
|
|
10642
|
+
}, [refA, refB]);
|
|
10643
|
+
}
|
|
10644
|
+
|
|
10645
|
+
/* harmony default export */ const hooks_esm_useMergedRefs = (useMergedRefs_useMergedRefs);
|
|
10523
10646
|
;// CONCATENATED MODULE: ./node_modules/@restart/ui/esm/TabContext.js
|
|
10524
10647
|
|
|
10525
10648
|
const TabContext = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_.createContext(null);
|
|
@@ -10601,7 +10724,7 @@ function useNavItem({
|
|
|
10601
10724
|
}
|
|
10602
10725
|
}
|
|
10603
10726
|
|
|
10604
|
-
props.onClick =
|
|
10727
|
+
props.onClick = useEventCallback_useEventCallback(e => {
|
|
10605
10728
|
if (disabled) return;
|
|
10606
10729
|
onClick == null ? void 0 : onClick(e);
|
|
10607
10730
|
|
|
@@ -10758,7 +10881,7 @@ const Nav = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_
|
|
|
10758
10881
|
|
|
10759
10882
|
needsRefocusRef.current = false;
|
|
10760
10883
|
});
|
|
10761
|
-
const mergedRef =
|
|
10884
|
+
const mergedRef = hooks_esm_useMergedRefs(ref, listNode);
|
|
10762
10885
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(esm_SelectableContext.Provider, {
|
|
10763
10886
|
value: handleSelect,
|
|
10764
10887
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(esm_NavContext.Provider, {
|
|
@@ -10979,6 +11102,36 @@ function scrollbarSize(recalc) {
|
|
|
10979
11102
|
|
|
10980
11103
|
return size;
|
|
10981
11104
|
}
|
|
11105
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useCallbackRef.js
|
|
11106
|
+
|
|
11107
|
+
/**
|
|
11108
|
+
* A convenience hook around `useState` designed to be paired with
|
|
11109
|
+
* the component [callback ref](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) api.
|
|
11110
|
+
* Callback refs are useful over `useRef()` when you need to respond to the ref being set
|
|
11111
|
+
* instead of lazily accessing it in an effect.
|
|
11112
|
+
*
|
|
11113
|
+
* ```ts
|
|
11114
|
+
* const [element, attachRef] = useCallbackRef<HTMLDivElement>()
|
|
11115
|
+
*
|
|
11116
|
+
* useEffect(() => {
|
|
11117
|
+
* if (!element) return
|
|
11118
|
+
*
|
|
11119
|
+
* const calendar = new FullCalendar.Calendar(element)
|
|
11120
|
+
*
|
|
11121
|
+
* return () => {
|
|
11122
|
+
* calendar.destroy()
|
|
11123
|
+
* }
|
|
11124
|
+
* }, [element])
|
|
11125
|
+
*
|
|
11126
|
+
* return <div ref={attachRef} />
|
|
11127
|
+
* ```
|
|
11128
|
+
*
|
|
11129
|
+
* @category refs
|
|
11130
|
+
*/
|
|
11131
|
+
|
|
11132
|
+
function useCallbackRef_useCallbackRef() {
|
|
11133
|
+
return (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(null);
|
|
11134
|
+
}
|
|
10982
11135
|
;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/activeElement.js
|
|
10983
11136
|
|
|
10984
11137
|
/**
|
|
@@ -11005,6 +11158,38 @@ function activeElement(doc) {
|
|
|
11005
11158
|
return doc.body;
|
|
11006
11159
|
}
|
|
11007
11160
|
}
|
|
11161
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useUpdatedRef.js
|
|
11162
|
+
|
|
11163
|
+
/**
|
|
11164
|
+
* Returns a ref that is immediately updated with the new value
|
|
11165
|
+
*
|
|
11166
|
+
* @param value The Ref value
|
|
11167
|
+
* @category refs
|
|
11168
|
+
*/
|
|
11169
|
+
|
|
11170
|
+
function useUpdatedRef_useUpdatedRef(value) {
|
|
11171
|
+
var valueRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(value);
|
|
11172
|
+
valueRef.current = value;
|
|
11173
|
+
return valueRef;
|
|
11174
|
+
}
|
|
11175
|
+
;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useWillUnmount.js
|
|
11176
|
+
|
|
11177
|
+
|
|
11178
|
+
/**
|
|
11179
|
+
* Attach a callback that fires when a component unmounts
|
|
11180
|
+
*
|
|
11181
|
+
* @param fn Handler to run when the component unmounts
|
|
11182
|
+
* @category effects
|
|
11183
|
+
*/
|
|
11184
|
+
|
|
11185
|
+
function useWillUnmount_useWillUnmount(fn) {
|
|
11186
|
+
var onUnmount = useUpdatedRef_useUpdatedRef(fn);
|
|
11187
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
11188
|
+
return function () {
|
|
11189
|
+
return onUnmount.current();
|
|
11190
|
+
};
|
|
11191
|
+
}, []);
|
|
11192
|
+
}
|
|
11008
11193
|
;// CONCATENATED MODULE: ./node_modules/@restart/ui/esm/getScrollbarWidth.js
|
|
11009
11194
|
/**
|
|
11010
11195
|
* Get the width of the vertical window scrollbar if it's visible
|
|
@@ -11287,7 +11472,7 @@ const Modal = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react
|
|
|
11287
11472
|
setExited(false);
|
|
11288
11473
|
}
|
|
11289
11474
|
|
|
11290
|
-
const handleShow =
|
|
11475
|
+
const handleShow = useEventCallback_useEventCallback(() => {
|
|
11291
11476
|
modal.add();
|
|
11292
11477
|
removeKeydownListenerRef.current = esm_listen(document, 'keydown', handleDocumentKeyDown);
|
|
11293
11478
|
removeFocusListenerRef.current = esm_listen(document, 'focus', // the timeout is necessary b/c this will run before the new modal is mounted
|
|
@@ -11309,7 +11494,7 @@ const Modal = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react
|
|
|
11309
11494
|
}
|
|
11310
11495
|
}
|
|
11311
11496
|
});
|
|
11312
|
-
const handleHide =
|
|
11497
|
+
const handleHide = useEventCallback_useEventCallback(() => {
|
|
11313
11498
|
modal.remove();
|
|
11314
11499
|
removeKeydownListenerRef.current == null ? void 0 : removeKeydownListenerRef.current();
|
|
11315
11500
|
removeFocusListenerRef.current == null ? void 0 : removeFocusListenerRef.current();
|
|
@@ -11338,11 +11523,11 @@ const Modal = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react
|
|
|
11338
11523
|
if (!exited) return;
|
|
11339
11524
|
handleHide();
|
|
11340
11525
|
}, [exited, handleHide]);
|
|
11341
|
-
|
|
11526
|
+
useWillUnmount_useWillUnmount(() => {
|
|
11342
11527
|
handleHide();
|
|
11343
11528
|
}); // --------------------------------
|
|
11344
11529
|
|
|
11345
|
-
const handleEnforceFocus =
|
|
11530
|
+
const handleEnforceFocus = useEventCallback_useEventCallback(() => {
|
|
11346
11531
|
if (!enforceFocus || !isMounted() || !modal.isTopModal()) {
|
|
11347
11532
|
return;
|
|
11348
11533
|
}
|
|
@@ -11353,7 +11538,7 @@ const Modal = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react
|
|
|
11353
11538
|
modal.dialog.focus();
|
|
11354
11539
|
}
|
|
11355
11540
|
});
|
|
11356
|
-
const handleBackdropClick =
|
|
11541
|
+
const handleBackdropClick = useEventCallback_useEventCallback(e => {
|
|
11357
11542
|
if (e.target !== e.currentTarget) {
|
|
11358
11543
|
return;
|
|
11359
11544
|
}
|
|
@@ -11364,7 +11549,7 @@ const Modal = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react
|
|
|
11364
11549
|
onHide();
|
|
11365
11550
|
}
|
|
11366
11551
|
});
|
|
11367
|
-
const handleDocumentKeyDown =
|
|
11552
|
+
const handleDocumentKeyDown = useEventCallback_useEventCallback(e => {
|
|
11368
11553
|
if (keyboard && e.keyCode === 27 && modal.isTopModal()) {
|
|
11369
11554
|
onEscapeKeyDown == null ? void 0 : onEscapeKeyDown(e);
|
|
11370
11555
|
|
|
@@ -12047,7 +12232,7 @@ const Modal_Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
|
|
|
12047
12232
|
const waitingForMouseUpRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(false);
|
|
12048
12233
|
const ignoreBackdropClickRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(false);
|
|
12049
12234
|
const removeStaticModalAnimationRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
|
|
12050
|
-
const [modal, setModalRef] =
|
|
12235
|
+
const [modal, setModalRef] = useCallbackRef_useCallbackRef();
|
|
12051
12236
|
const mergedRef = esm_useMergedRefs(ref, setModalRef);
|
|
12052
12237
|
const handleHide = useEventCallback(onHide);
|
|
12053
12238
|
const isRTL = useIsRTL();
|
|
@@ -13488,7 +13673,7 @@ function useRootClose(ref, onRootClose, {
|
|
|
13488
13673
|
disabled,
|
|
13489
13674
|
clickTrigger
|
|
13490
13675
|
});
|
|
13491
|
-
const handleKeyUp =
|
|
13676
|
+
const handleKeyUp = useEventCallback_useEventCallback(e => {
|
|
13492
13677
|
if (e.keyCode === escapeKeyCode) {
|
|
13493
13678
|
onClose(e);
|
|
13494
13679
|
}
|
|
@@ -13542,7 +13727,7 @@ const Overlay = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_
|
|
|
13542
13727
|
} = props;
|
|
13543
13728
|
const [rootElement, attachRef] = useCallbackRef();
|
|
13544
13729
|
const [arrowElement, attachArrowRef] = useCallbackRef();
|
|
13545
|
-
const mergedRef =
|
|
13730
|
+
const mergedRef = hooks_esm_useMergedRefs(attachRef, outerRef);
|
|
13546
13731
|
const container = useWaitForDOMRef(props.container);
|
|
13547
13732
|
const target = useWaitForDOMRef(props.target);
|
|
13548
13733
|
const [exited, setExited] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(!props.show);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see react-bootstrap.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react"),require("react-dom")):e.ReactBootstrap=t(e.React,e.ReactDOM)}(self,(function(e,t){return(()=>{var n={814:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var s=o.apply(null,n);s&&e.push(s)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var i in n)r.call(n,i)&&n[i]&&e.push(i);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},286:e=>{"use strict";e.exports=function(e,t,n,r,o,a,s,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,s,i],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},946:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];function r(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=null;return t.forEach((function(e){if(null==o){var t=e.apply(void 0,n);null!=t&&(o=t)}})),o}return(0,o.default)(r)};var r,o=(r=n(844))&&r.__esModule?r:{default:r};e.exports=t.default},844:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,o,a,s){var i=o||"<<anonymous>>",l=s||r;if(null==n[r])return t?new Error("Required "+a+" `"+l+"` was not specified in `"+i+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[n,r,i,a,l].concat(u))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},428:(e,t,n)=>{"use strict";var r=n(134);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,s){if(s!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},526:(e,t,n)=>{e.exports=n(428)()},134:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},356:(e,t,n)=>{"use strict";var r=n(787),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),t.Fragment=a("react.fragment")}var s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,a={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:s.current}}t.jsx=c,t.jsxs=c},373:(e,t,n)=>{"use strict";e.exports=n(356)},459:e=>{"use strict";e.exports=function(){}},787:t=>{"use strict";t.exports=e},156:e=>{"use strict";e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.r(a),o.d(a,{Accordion:()=>Oe,AccordionButton:()=>ye,AccordionCollapse:()=>pe,AccordionContext:()=>de,Alert:()=>ot,Anchor:()=>at,Badge:()=>it,Breadcrumb:()=>dt,BreadcrumbItem:()=>ct,Button:()=>pt,ButtonGroup:()=>vt,ButtonToolbar:()=>bt,Card:()=>Dt,CardGroup:()=>It,CardImg:()=>xt,Carousel:()=>qt,CarouselItem:()=>_t,CloseButton:()=>Ge,Col:()=>Yt,Collapse:()=>le,Container:()=>ta,Dropdown:()=>go,DropdownButton:()=>No,Fade:()=>We,Figure:()=>ca,FloatingLabel:()=>Yo,Form:()=>Qo,FormCheck:()=>Mo,FormControl:()=>Io,FormFloating:()=>Lo,FormGroup:()=>Bo,FormLabel:()=>Ko,FormSelect:()=>zo,FormText:()=>Uo,Image:()=>oa,InputGroup:()=>fa,ListGroup:()=>Oa,ListGroupItem:()=>Ca,Modal:()=>is,ModalBody:()=>qa,ModalDialog:()=>Ya,ModalFooter:()=>Za,ModalHeader:()=>ts,ModalTitle:()=>ns,Nav:()=>fs,NavDropdown:()=>Ls,NavItem:()=>ls,NavLink:()=>us,Navbar:()=>Ds,NavbarBrand:()=>ms,Offcanvas:()=>Rs,OffcanvasBody:()=>xs,OffcanvasHeader:()=>Cs,OffcanvasTitle:()=>js,Overlay:()=>qs,OverlayTrigger:()=>Ys,PageItem:()=>Js,Pagination:()=>si,Placeholder:()=>di,PlaceholderButton:()=>ci,Popover:()=>zs,PopoverBody:()=>Hs,PopoverHeader:()=>Ks,ProgressBar:()=>vi,Ratio:()=>bi,Row:()=>xi,SSRProvider:()=>ji,Spinner:()=>wi,SplitButton:()=>Ci,Stack:()=>ki,Tab:()=>Ui,TabContainer:()=>Ki,TabContent:()=>Hi,TabPane:()=>Wi,Table:()=>qi,Tabs:()=>Zi,ThemeProvider:()=>E,Toast:()=>sl,ToastBody:()=>ol,ToastContainer:()=>cl,ToastHeader:()=>rl,ToggleButton:()=>fl,ToggleButtonGroup:()=>ml,Tooltip:()=>hl,useAccordionButton:()=>ge});var e=o(814),t=o.n(e),n=o(787),r=o.n(n);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var l=o(286),c=o.n(l);function u(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function d(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function f(e,t,r){var o=(0,n.useRef)(void 0!==e),a=(0,n.useState)(t),s=a[0],i=a[1],l=void 0!==e,c=o.current;return o.current=l,!l&&c&&s!==t&&i(t),[l?e:s,(0,n.useCallback)((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];r&&r.apply(void 0,[e].concat(n)),i(e)}),[r])]}function p(e,t){return Object.keys(t).reduce((function(n,r){var o,a=n,l=a[u(r)],c=a[r],p=i(a,[u(r),r].map(d)),m=t[r],v=f(c,l,e[m]),h=v[0],b=v[1];return s({},p,((o={})[r]=h,o[m]=b,o))}),e)}var m=o(373);const v=["xxl","xl","lg","md","sm","xs"],h=n.createContext({prefixes:{},breakpoints:v}),{Consumer:b,Provider:g}=h;function x(e,t){const{prefixes:r}=(0,n.useContext)(h);return e||r[t]||t}function y(){const{breakpoints:e}=(0,n.useContext)(h);return e}function w(){const{dir:e}=(0,n.useContext)(h);return"rtl"===e}const E=function({prefixes:e={},breakpoints:t=v,dir:r,children:o}){const a=(0,n.useMemo)((()=>({prefixes:{...e},breakpoints:t,dir:r})),[e,t,r]);return(0,m.jsx)(g,{value:a,children:o})};function N(e){return e&&e.ownerDocument||document}var C=/([A-Z])/g,j=/^ms-/;function O(e){return function(e){return e.replace(C,"-$1").toLowerCase()}(e).replace(j,"-ms-")}var P=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const k=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(O(t))||function(e,t){return function(e){var t=N(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}(e).getPropertyValue(O(t));Object.keys(t).forEach((function(o){var a=t[o];a||0===a?function(e){return!(!e||!P.test(e))}(o)?r+=o+"("+a+") ":n+=O(o)+": "+a+";":e.style.removeProperty(O(o))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=o(156),$=o.n(T);const S=r().createContext(null);var M="unmounted",D="exited",I="entering",L="entered",A="exiting",B=function(e){var t,n;function o(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=D,r.appearStatus=I):o=L:o=t.unmountOnExit||t.mountOnEnter?M:D,r.state={status:o},r.nextCallback=null,r}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===M?{status:D}:null};var a=o.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==I&&n!==L&&(t=I):n!==I&&n!==L||(t=A)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},a.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===I?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===D&&this.setState({status:M})},a.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[$().findDOMNode(this),r],a=o[0],s=o[1],i=this.getTimeouts(),l=r?i.appear:i.enter;e||n?(this.props.onEnter(a,s),this.safeSetState({status:I},(function(){t.props.onEntering(a,s),t.onTransitionEnd(l,(function(){t.safeSetState({status:L},(function(){t.props.onEntered(a,s)}))}))}))):this.safeSetState({status:L},(function(){t.props.onEntered(a)}))},a.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:$().findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:A},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:D},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:D},(function(){e.props.onExited(r)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:$().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],s=o[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if(e===M)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,i(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r().createElement(S.Provider,{value:null},"function"==typeof n?n(e,o):r().cloneElement(r().Children.only(n),o))},o}(r().Component);function F(){}B.contextType=S,B.propTypes={},B.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:F,onEntering:F,onEntered:F,onExit:F,onExiting:F,onExited:F},B.UNMOUNTED=M,B.EXITED=D,B.ENTERING=I,B.ENTERED=L,B.EXITING=A;const K=B,H=!("undefined"==typeof window||!window.document||!window.document.createElement);var _=!1,W=!1;try{var z={get passive(){return _=!0},get once(){return W=_=!0}};H&&(window.addEventListener("test",z,z),window.removeEventListener("test",z,!0))}catch(e){}const V=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!W){var o=r.once,a=r.capture,s=n;!W&&o&&(s=n.__once||function e(r){this.removeEventListener(t,e,a),n.call(this,r)},n.__once=s),e.addEventListener(t,s,_?r:a)}e.addEventListener(t,n,r)},U=function(e,t,n,r){var o=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)},q=function(e,t,n,r){return V(e,t,n,r),function(){U(e,t,n,r)}};function G(e,t,n,r){var o,a;null==n&&(a=-1===(o=k(e,"transitionDuration")||"").indexOf("ms")?1e3:1,n=parseFloat(o)*a||0);var s=function(e,t,n){void 0===n&&(n=5);var r=!1,o=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent("transitionend",n,r),e.dispatchEvent(o)}}(e,0,!0)}),t+n),a=q(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(o),a()}}(e,n,r),i=q(e,"transitionend",t);return function(){s(),i()}}function X(e,t){const n=k(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function Y(e,t){const n=X(e,"transitionDuration"),r=X(e,"transitionDelay"),o=G(e,(n=>{n.target===e&&(o(),t(n))}),n+r)}const Z=function(...e){return e.filter((e=>null!=e)).reduce(((e,t)=>{if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(...n){e.apply(this,n),t.apply(this,n)}}),null)};function J(e){e.offsetHeight}var Q=function(e){return e&&"function"!=typeof e?function(t){e.current=t}:e};const ee=function(e,t){return(0,n.useMemo)((function(){return function(e,t){var n=Q(e),r=Q(t);return function(e){n&&n(e),r&&r(e)}}(e,t)}),[e,t])};function te(e){return e&&"setState"in e?$().findDOMNode(e):null!=e?e:null}const ne=r().forwardRef((({onEnter:e,onEntering:t,onEntered:o,onExit:a,onExiting:s,onExited:i,addEndListener:l,children:c,childRef:u,...d},f)=>{const p=(0,n.useRef)(null),v=ee(p,u),h=e=>{v(te(e))},b=e=>t=>{e&&p.current&&e(p.current,t)},g=(0,n.useCallback)(b(e),[e]),x=(0,n.useCallback)(b(t),[t]),y=(0,n.useCallback)(b(o),[o]),w=(0,n.useCallback)(b(a),[a]),E=(0,n.useCallback)(b(s),[s]),N=(0,n.useCallback)(b(i),[i]),C=(0,n.useCallback)(b(l),[l]);return(0,m.jsx)(K,{ref:f,...d,onEnter:g,onEntered:y,onEntering:x,onExit:w,onExited:N,onExiting:E,addEndListener:C,nodeRef:p,children:"function"==typeof c?(e,t)=>c(e,{...t,ref:h}):r().cloneElement(c,{ref:h})})})),re={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function oe(e,t){const n=t[`offset${e[0].toUpperCase()}${e.slice(1)}`],r=re[e];return n+parseInt(k(t,r[0]),10)+parseInt(k(t,r[1]),10)}const ae={[D]:"collapse",[A]:"collapsing",[I]:"collapsing",[L]:"collapse show"},se={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:oe},ie=r().forwardRef((({onEnter:e,onEntering:o,onEntered:a,onExit:s,onExiting:i,className:l,children:c,dimension:u="height",getDimensionValue:d=oe,...f},p)=>{const v="function"==typeof u?u():u,h=(0,n.useMemo)((()=>Z((e=>{e.style[v]="0"}),e)),[v,e]),b=(0,n.useMemo)((()=>Z((e=>{const t=`scroll${v[0].toUpperCase()}${v.slice(1)}`;e.style[v]=`${e[t]}px`}),o)),[v,o]),g=(0,n.useMemo)((()=>Z((e=>{e.style[v]=null}),a)),[v,a]),x=(0,n.useMemo)((()=>Z((e=>{e.style[v]=`${d(v,e)}px`,J(e)}),s)),[s,d,v]),y=(0,n.useMemo)((()=>Z((e=>{e.style[v]=null}),i)),[v,i]);return(0,m.jsx)(ne,{ref:p,addEndListener:Y,...f,"aria-expanded":f.role?f.in:null,onEnter:h,onEntering:b,onEntered:g,onExit:x,onExiting:y,childRef:c.ref,children:(e,n)=>r().cloneElement(c,{...n,className:t()(l,c.props.className,ae[e],"width"===v&&"collapse-horizontal")})})}));ie.defaultProps=se;const le=ie;function ce(e,t){return Array.isArray(e)?e.includes(t):e===t}const ue=n.createContext({});ue.displayName="AccordionContext";const de=ue,fe=n.forwardRef((({as:e="div",bsPrefix:r,className:o,children:a,eventKey:s,...i},l)=>{const{activeEventKey:c}=(0,n.useContext)(de);return r=x(r,"accordion-collapse"),(0,m.jsx)(le,{ref:l,in:ce(c,s),...i,className:t()(o,r),children:(0,m.jsx)(e,{children:n.Children.only(a)})})}));fe.displayName="AccordionCollapse";const pe=fe,me=n.createContext({eventKey:""});me.displayName="AccordionItemContext";const ve=me,he=n.forwardRef((({as:e="div",bsPrefix:r,className:o,...a},s)=>{r=x(r,"accordion-body");const{eventKey:i}=(0,n.useContext)(ve);return(0,m.jsx)(pe,{eventKey:i,children:(0,m.jsx)(e,{ref:s,...a,className:t()(o,r)})})}));he.displayName="AccordionBody";const be=he;function ge(e,t){const{activeEventKey:r,onSelect:o,alwaysOpen:a}=(0,n.useContext)(de);return n=>{let s=e===r?null:e;a&&(s=Array.isArray(r)?r.includes(e)?r.filter((t=>t!==e)):[...r,e]:[e]),null==o||o(s,n),null==t||t(n)}}const xe=n.forwardRef((({as:e="button",bsPrefix:r,className:o,onClick:a,...s},i)=>{r=x(r,"accordion-button");const{eventKey:l}=(0,n.useContext)(ve),c=ge(l,a),{activeEventKey:u}=(0,n.useContext)(de);return"button"===e&&(s.type="button"),(0,m.jsx)(e,{ref:i,onClick:c,...s,"aria-expanded":l===u,className:t()(o,r,!ce(u,l)&&"collapsed")})}));xe.displayName="AccordionButton";const ye=xe,we=n.forwardRef((({as:e="h2",bsPrefix:n,className:r,children:o,onClick:a,...s},i)=>(n=x(n,"accordion-header"),(0,m.jsx)(e,{ref:i,...s,className:t()(r,n),children:(0,m.jsx)(ye,{onClick:a,children:o})}))));we.displayName="AccordionHeader";const Ee=we,Ne=n.forwardRef((({as:e="div",bsPrefix:r,className:o,eventKey:a,...s},i)=>{r=x(r,"accordion-item");const l=(0,n.useMemo)((()=>({eventKey:a})),[a]);return(0,m.jsx)(ve.Provider,{value:l,children:(0,m.jsx)(e,{ref:i,...s,className:t()(o,r)})})}));Ne.displayName="AccordionItem";const Ce=Ne,je=n.forwardRef(((e,r)=>{const{as:o="div",activeKey:a,bsPrefix:s,className:i,onSelect:l,flush:c,alwaysOpen:u,...d}=p(e,{activeKey:"onSelect"}),f=x(s,"accordion"),v=(0,n.useMemo)((()=>({activeEventKey:a,onSelect:l,alwaysOpen:u})),[a,l,u]);return(0,m.jsx)(de.Provider,{value:v,children:(0,m.jsx)(o,{ref:r,...d,className:t()(i,f,c&&`${f}-flush`)})})}));je.displayName="Accordion";const Oe=Object.assign(je,{Button:ye,Collapse:pe,Item:Ce,Header:Ee,Body:be}),Pe=function(e){var t=(0,n.useRef)(e);return(0,n.useEffect)((function(){t.current=e}),[e]),t};function ke(e){var t=Pe(e);return(0,n.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}function Re(){return(0,n.useState)(null)}function Te(){var e=(0,n.useRef)(!0),t=(0,n.useRef)((function(){return e.current}));return(0,n.useEffect)((function(){return function(){e.current=!1}}),[]),t.current}function $e(e){var t=(0,n.useRef)(null);return(0,n.useEffect)((function(){t.current=e})),t.current}var Se=void 0!==o.g&&o.g.navigator&&"ReactNative"===o.g.navigator.product;const Me="undefined"!=typeof document||Se?n.useLayoutEffect:n.useEffect;new WeakMap;const De=["as","disabled"];function Ie({tagName:e,disabled:t,href:n,target:r,rel:o,onClick:a,tabIndex:s=0,type:i}){e||(e=null!=n||null!=r||null!=o?"a":"button");const l={tagName:e};if("button"===e)return[{type:i||"button",disabled:t},l];const c=r=>{(t||"a"===e&&function(e){return!e||"#"===e.trim()}(n))&&r.preventDefault(),t?r.stopPropagation():null==a||a(r)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:"button",disabled:void 0,tabIndex:t?void 0:s,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?o:void 0,onClick:c,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),c(e))}},l]}const Le=n.forwardRef(((e,t)=>{let{as:n,disabled:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,De);const[a,{tagName:s}]=Ie(Object.assign({tagName:n,disabled:r},o));return(0,m.jsx)(s,Object.assign({},o,a,{ref:t}))}));Le.displayName="Button";const Ae=Le,Be=["onKeyDown"],Fe=n.forwardRef(((e,t)=>{let{onKeyDown:n}=e,r=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Be);const[o]=Ie(Object.assign({tagName:"a"},r)),a=ke((e=>{o.onKeyDown(e),null==n||n(e)}));return((s=r.href)&&"#"!==s.trim()||r.role)&&"button"!==r.role?(0,m.jsx)("a",Object.assign({ref:t},r,{onKeyDown:n})):(0,m.jsx)("a",Object.assign({ref:t},r,o,{onKeyDown:a}));var s}));Fe.displayName="Anchor";const Ke=Fe,He={[I]:"show",[L]:"show"},_e=n.forwardRef((({className:e,children:r,transitionClasses:o={},...a},s)=>{const i=(0,n.useCallback)(((e,t)=>{J(e),null==a.onEnter||a.onEnter(e,t)}),[a]);return(0,m.jsx)(ne,{ref:s,addEndListener:Y,...a,onEnter:i,childRef:r.ref,children:(a,s)=>n.cloneElement(r,{...s,className:t()("fade",e,r.props.className,He[a],o[a])})})}));_e.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},_e.displayName="Fade";const We=_e;var ze=o(526),Ve=o.n(ze);const Ue={"aria-label":Ve().string,onClick:Ve().func,variant:Ve().oneOf(["white"])},qe=n.forwardRef((({className:e,variant:n,...r},o)=>(0,m.jsx)("button",{ref:o,type:"button",className:t()("btn-close",n&&`btn-close-${n}`,e),...r})));qe.displayName="CloseButton",qe.propTypes=Ue,qe.defaultProps={"aria-label":"Close"};const Ge=qe,Xe=e=>n.forwardRef(((n,r)=>(0,m.jsx)("div",{...n,ref:r,className:t()(n.className,e)})));var Ye=/-(.)/g;const Ze=e=>{return e[0].toUpperCase()+(t=e,t.replace(Ye,(function(e,t){return t.toUpperCase()}))).slice(1);var t};function Je(e,{displayName:r=Ze(e),Component:o,defaultProps:a}={}){const s=n.forwardRef((({className:n,bsPrefix:r,as:a=o||"div",...s},i)=>{const l=x(r,e);return(0,m.jsx)(a,{ref:i,className:t()(n,l),...s})}));return s.defaultProps=a,s.displayName=r,s}const Qe=Xe("h4");Qe.displayName="DivStyledAsH4";const et=Je("alert-heading",{Component:Qe}),tt=Je("alert-link",{Component:Ke}),nt={variant:"primary",show:!0,transition:We,closeLabel:"Close alert"},rt=n.forwardRef(((e,n)=>{const{bsPrefix:r,show:o,closeLabel:a,closeVariant:s,className:i,children:l,variant:c,onClose:u,dismissible:d,transition:f,...v}=p(e,{show:"onClose"}),h=x(r,"alert"),b=ke((e=>{u&&u(!1,e)})),g=!0===f?We:f,y=(0,m.jsxs)("div",{role:"alert",...g?void 0:v,ref:n,className:t()(i,h,c&&`${h}-${c}`,d&&`${h}-dismissible`),children:[d&&(0,m.jsx)(Ge,{onClick:b,"aria-label":a,variant:s}),l]});return g?(0,m.jsx)(g,{unmountOnExit:!0,...v,ref:void 0,in:o,children:y}):o?y:null}));rt.displayName="Alert",rt.defaultProps=nt;const ot=Object.assign(rt,{Link:tt,Heading:et}),at=Ke,st=n.forwardRef((({bsPrefix:e,bg:n,pill:r,text:o,className:a,as:s="span",...i},l)=>{const c=x(e,"badge");return(0,m.jsx)(s,{ref:l,...i,className:t()(a,c,r&&"rounded-pill",o&&`text-${o}`,n&&`bg-${n}`)})}));st.displayName="Badge",st.defaultProps={bg:"primary",pill:!1};const it=st,lt=n.forwardRef((({bsPrefix:e,active:n,children:r,className:o,as:a="li",linkAs:s=Ke,linkProps:i,href:l,title:c,target:u,...d},f)=>{const p=x(e,"breadcrumb-item");return(0,m.jsx)(a,{ref:f,...d,className:t()(p,o,{active:n}),"aria-current":n?"page":void 0,children:n?r:(0,m.jsx)(s,{...i,href:l,title:c,target:u,children:r})})}));lt.displayName="BreadcrumbItem",lt.defaultProps={active:!1,linkProps:{}};const ct=lt,ut=n.forwardRef((({bsPrefix:e,className:n,listProps:r,children:o,label:a,as:s="nav",...i},l)=>{const c=x(e,"breadcrumb");return(0,m.jsx)(s,{"aria-label":a,className:n,ref:l,...i,children:(0,m.jsx)("ol",{...r,className:t()(c,null==r?void 0:r.className),children:o})})}));ut.displayName="Breadcrumb",ut.defaultProps={label:"breadcrumb",listProps:{}};const dt=Object.assign(ut,{Item:ct}),ft=n.forwardRef((({as:e,bsPrefix:n,variant:r,size:o,active:a,className:s,...i},l)=>{const c=x(n,"btn"),[u,{tagName:d}]=Ie({tagName:e,...i}),f=d;return(0,m.jsx)(f,{...u,...i,ref:l,className:t()(s,c,a&&"active",r&&`${c}-${r}`,o&&`${c}-${o}`,i.href&&i.disabled&&"disabled")})}));ft.displayName="Button",ft.defaultProps={variant:"primary",active:!1,disabled:!1};const pt=ft,mt=n.forwardRef((({bsPrefix:e,size:n,vertical:r,className:o,as:a="div",...s},i)=>{const l=x(e,"btn-group");let c=l;return r&&(c=`${l}-vertical`),(0,m.jsx)(a,{...s,ref:i,className:t()(o,c,n&&`${l}-${n}`)})}));mt.displayName="ButtonGroup",mt.defaultProps={vertical:!1,role:"group"};const vt=mt,ht=n.forwardRef((({bsPrefix:e,className:n,...r},o)=>{const a=x(e,"btn-toolbar");return(0,m.jsx)("div",{...r,ref:o,className:t()(n,a)})}));ht.displayName="ButtonToolbar",ht.defaultProps={role:"toolbar"};const bt=ht,gt=n.forwardRef((({bsPrefix:e,className:n,variant:r,as:o="img",...a},s)=>{const i=x(e,"card-img");return(0,m.jsx)(o,{ref:s,className:t()(r?`${i}-${r}`:i,n),...a})}));gt.displayName="CardImg";const xt=gt,yt=n.createContext(null);yt.displayName="CardHeaderContext";const wt=yt,Et=n.forwardRef((({bsPrefix:e,className:r,as:o="div",...a},s)=>{const i=x(e,"card-header"),l=(0,n.useMemo)((()=>({cardHeaderBsPrefix:i})),[i]);return(0,m.jsx)(wt.Provider,{value:l,children:(0,m.jsx)(o,{ref:s,...a,className:t()(r,i)})})}));Et.displayName="CardHeader";const Nt=Et,Ct=Xe("h5"),jt=Xe("h6"),Ot=Je("card-body"),Pt=Je("card-title",{Component:Ct}),kt=Je("card-subtitle",{Component:jt}),Rt=Je("card-link",{Component:"a"}),Tt=Je("card-text",{Component:"p"}),$t=Je("card-footer"),St=Je("card-img-overlay"),Mt=n.forwardRef((({bsPrefix:e,className:n,bg:r,text:o,border:a,body:s,children:i,as:l="div",...c},u)=>{const d=x(e,"card");return(0,m.jsx)(l,{ref:u,...c,className:t()(n,d,r&&`bg-${r}`,o&&`text-${o}`,a&&`border-${a}`),children:s?(0,m.jsx)(Ot,{children:i}):i})}));Mt.displayName="Card",Mt.defaultProps={body:!1};const Dt=Object.assign(Mt,{Img:xt,Title:Pt,Subtitle:kt,Body:Ot,Link:Rt,Text:Tt,Header:Nt,Footer:$t,ImgOverlay:St}),It=Je("card-group");function Lt(e){var t,r,o=(t=e,(r=(0,n.useRef)(t)).current=t,r);(0,n.useEffect)((function(){return function(){return o.current()}}),[])}var At=Math.pow(2,31)-1;function Bt(e,t,n){var r=n-Date.now();e.current=r<=At?setTimeout(t,r):setTimeout((function(){return Bt(e,t,n)}),At)}function Ft(){var e=Te(),t=(0,n.useRef)();return Lt((function(){return clearTimeout(t.current)})),(0,n.useMemo)((function(){var n=function(){return clearTimeout(t.current)};return{set:function(r,o){void 0===o&&(o=0),e()&&(n(),o<=At?t.current=setTimeout(r,o):Bt(t,r,Date.now()+o))},clear:n}}),[])}const Kt=Je("carousel-caption"),Ht=n.forwardRef((({as:e="div",bsPrefix:n,className:r,...o},a)=>{const s=t()(r,x(n,"carousel-item"));return(0,m.jsx)(e,{ref:a,...o,className:s})}));Ht.displayName="CarouselItem";const _t=Ht;function Wt(e,t){let r=0;return n.Children.map(e,(e=>n.isValidElement(e)?t(e,r++):e))}function zt(e,t){let r=0;n.Children.forEach(e,(e=>{n.isValidElement(e)&&t(e,r++)}))}const Vt={slide:!0,fade:!1,controls:!0,indicators:!0,indicatorLabels:[],defaultActiveIndex:0,interval:5e3,keyboard:!0,pause:"hover",wrap:!0,touch:!0,prevIcon:(0,m.jsx)("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:"Previous",nextIcon:(0,m.jsx)("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:"Next"},Ut=n.forwardRef(((e,r)=>{const{as:o="div",bsPrefix:a,slide:s,fade:i,controls:l,indicators:c,indicatorLabels:u,activeIndex:d,onSelect:f,onSlide:v,onSlid:h,interval:b,keyboard:g,onKeyDown:y,pause:E,onMouseOver:N,onMouseOut:C,wrap:j,touch:O,onTouchStart:P,onTouchMove:k,onTouchEnd:R,prevIcon:T,prevLabel:$,nextIcon:S,nextLabel:M,variant:D,className:I,children:L,...A}=p(e,{activeIndex:"onSelect"}),B=x(a,"carousel"),F=w(),K=(0,n.useRef)(null),[H,_]=(0,n.useState)("next"),[W,z]=(0,n.useState)(!1),[V,U]=(0,n.useState)(!1),[q,G]=(0,n.useState)(d||0);(0,n.useEffect)((()=>{V||d===q||(K.current?_(K.current):_((d||0)>q?"next":"prev"),s&&U(!0),G(d||0))}),[d,V,q,s]),(0,n.useEffect)((()=>{K.current&&(K.current=null)}));let X,Z=0;zt(L,((e,t)=>{++Z,t===d&&(X=e.props.interval)}));const Q=Pe(X),ee=(0,n.useCallback)((e=>{if(V)return;let t=q-1;if(t<0){if(!j)return;t=Z-1}K.current="prev",null==f||f(t,e)}),[V,q,f,j,Z]),te=ke((e=>{if(V)return;let t=q+1;if(t>=Z){if(!j)return;t=0}K.current="next",null==f||f(t,e)})),re=(0,n.useRef)();(0,n.useImperativeHandle)(r,(()=>({element:re.current,prev:ee,next:te})));const oe=ke((()=>{!document.hidden&&function(e){if(!(e&&e.style&&e.parentNode&&e.parentNode.style))return!1;const t=getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&"none"!==getComputedStyle(e.parentNode).display}(re.current)&&(F?ee():te())})),ae="next"===H?"start":"end";var se,ie,le;se=()=>{s||(null==v||v(q,ae),null==h||h(q,ae))},ie=[q],le=(0,n.useRef)(!0),(0,n.useEffect)((function(){if(!le.current)return se();le.current=!1}),ie);const ce=`${B}-item-${H}`,ue=`${B}-item-${ae}`,de=(0,n.useCallback)((e=>{J(e),null==v||v(q,ae)}),[v,q,ae]),fe=(0,n.useCallback)((()=>{U(!1),null==h||h(q,ae)}),[h,q,ae]),pe=(0,n.useCallback)((e=>{if(g&&!/input|textarea/i.test(e.target.tagName))switch(e.key){case"ArrowLeft":return e.preventDefault(),void(F?te(e):ee(e));case"ArrowRight":return e.preventDefault(),void(F?ee(e):te(e))}null==y||y(e)}),[g,y,ee,te,F]),me=(0,n.useCallback)((e=>{"hover"===E&&z(!0),null==N||N(e)}),[E,N]),ve=(0,n.useCallback)((e=>{z(!1),null==C||C(e)}),[C]),he=(0,n.useRef)(0),be=(0,n.useRef)(0),ge=Ft(),xe=(0,n.useCallback)((e=>{he.current=e.touches[0].clientX,be.current=0,"hover"===E&&z(!0),null==P||P(e)}),[E,P]),ye=(0,n.useCallback)((e=>{e.touches&&e.touches.length>1?be.current=0:be.current=e.touches[0].clientX-he.current,null==k||k(e)}),[k]),we=(0,n.useCallback)((e=>{if(O){const t=be.current;Math.abs(t)>40&&(t>0?ee(e):te(e))}"hover"===E&&ge.set((()=>{z(!1)}),b||void 0),null==R||R(e)}),[O,E,ee,te,ge,b,R]),Ee=null!=b&&!W&&!V,Ne=(0,n.useRef)();(0,n.useEffect)((()=>{var e,t;if(!Ee)return;const n=F?ee:te;return Ne.current=window.setInterval(document.visibilityState?oe:n,null!=(e=null!=(t=Q.current)?t:b)?e:void 0),()=>{null!==Ne.current&&clearInterval(Ne.current)}}),[Ee,ee,te,Q,b,oe,F]);const Ce=(0,n.useMemo)((()=>c&&Array.from({length:Z},((e,t)=>e=>{null==f||f(t,e)}))),[c,Z,f]);return(0,m.jsxs)(o,{ref:re,...A,onKeyDown:pe,onMouseOver:me,onMouseOut:ve,onTouchStart:xe,onTouchMove:ye,onTouchEnd:we,className:t()(I,B,s&&"slide",i&&`${B}-fade`,D&&`${B}-${D}`),children:[c&&(0,m.jsx)("div",{className:`${B}-indicators`,children:Wt(L,((e,t)=>(0,m.jsx)("button",{type:"button","data-bs-target":"","aria-label":null!=u&&u.length?u[t]:`Slide ${t+1}`,className:t===q?"active":void 0,onClick:Ce?Ce[t]:void 0,"aria-current":t===q},t)))}),(0,m.jsx)("div",{className:`${B}-inner`,children:Wt(L,((e,r)=>{const o=r===q;return s?(0,m.jsx)(ne,{in:o,onEnter:o?de:void 0,onEntered:o?fe:void 0,addEndListener:Y,children:(r,a)=>n.cloneElement(e,{...a,className:t()(e.props.className,o&&"entered"!==r&&ce,("entered"===r||"exiting"===r)&&"active",("entering"===r||"exiting"===r)&&ue)})}):n.cloneElement(e,{className:t()(e.props.className,o&&"active")})}))}),l&&(0,m.jsxs)(m.Fragment,{children:[(j||0!==d)&&(0,m.jsxs)(Ke,{className:`${B}-control-prev`,onClick:ee,children:[T,$&&(0,m.jsx)("span",{className:"visually-hidden",children:$})]}),(j||d!==Z-1)&&(0,m.jsxs)(Ke,{className:`${B}-control-next`,onClick:te,children:[S,M&&(0,m.jsx)("span",{className:"visually-hidden",children:M})]})]})]})}));Ut.displayName="Carousel",Ut.defaultProps=Vt;const qt=Object.assign(Ut,{Caption:Kt,Item:_t});function Gt({as:e,bsPrefix:n,className:r,...o}){n=x(n,"col");const a=y(),s=[],i=[];return a.forEach((e=>{const t=o[e];let r,a,l;delete o[e],"object"==typeof t&&null!=t?({span:r,offset:a,order:l}=t):r=t;const c="xs"!==e?`-${e}`:"";r&&s.push(!0===r?`${n}${c}`:`${n}${c}-${r}`),null!=l&&i.push(`order${c}-${l}`),null!=a&&i.push(`offset${c}-${a}`)})),[{...o,className:t()(r,...s,...i)},{as:e,bsPrefix:n,spans:s}]}const Xt=n.forwardRef(((e,n)=>{const[{className:r,...o},{as:a="div",bsPrefix:s,spans:i}]=Gt(e);return(0,m.jsx)(a,{...o,ref:n,className:t()(r,!i.length&&s)})}));Xt.displayName="Col";const Yt=Xt;var Zt=Function.prototype.bind.call(Function.prototype.call,[].slice);function Jt(e,t){return Zt(e.querySelectorAll(t))}function Qt(){return(0,n.useReducer)((function(e){return!e}),!1)[1]}const en=n.createContext(null);var tn=Object.prototype.hasOwnProperty;function nn(e,t,n){for(n of e.keys())if(rn(n,t))return n}function rn(e,t){var n,r,o;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&rn(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e){if((o=r)&&"object"==typeof o&&!(o=nn(t,o)))return!1;if(!t.has(o))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e){if((o=r[0])&&"object"==typeof o&&!(o=nn(t,o)))return!1;if(!rn(r[1],t.get(o)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"==typeof e){for(n in r=0,e){if(tn.call(e,n)&&++r&&!tn.call(t,n))return!1;if(!(n in t)||!rn(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!=e&&t!=t}function on(e){return e.split("-")[0]}function an(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function sn(e){return e instanceof an(e).Element||e instanceof Element}function ln(e){return e instanceof an(e).HTMLElement||e instanceof HTMLElement}function cn(e){return"undefined"!=typeof ShadowRoot&&(e instanceof an(e).ShadowRoot||e instanceof ShadowRoot)}var un=Math.round;function dn(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(ln(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(r=n.width/s||1),a>0&&(o=n.height/a||1)}return{width:un(n.width/r),height:un(n.height/o),top:un(n.top/o),right:un(n.right/r),bottom:un(n.bottom/o),left:un(n.left/r),x:un(n.left/r),y:un(n.top/o)}}function fn(e){var t=dn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function pn(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&cn(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function mn(e){return e?(e.nodeName||"").toLowerCase():null}function vn(e){return an(e).getComputedStyle(e)}function hn(e){return["table","td","th"].indexOf(mn(e))>=0}function bn(e){return((sn(e)?e.ownerDocument:e.document)||window.document).documentElement}function gn(e){return"html"===mn(e)?e:e.assignedSlot||e.parentNode||(cn(e)?e.host:null)||bn(e)}function xn(e){return ln(e)&&"fixed"!==vn(e).position?e.offsetParent:null}function yn(e){for(var t=an(e),n=xn(e);n&&hn(n)&&"static"===vn(n).position;)n=xn(n);return n&&("html"===mn(n)||"body"===mn(n)&&"static"===vn(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&ln(e)&&"fixed"===vn(e).position)return null;for(var n=gn(e);ln(n)&&["html","body"].indexOf(mn(n))<0;){var r=vn(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function wn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var En=Math.max,Nn=Math.min,Cn=Math.round;function jn(e,t,n){return En(e,Nn(t,n))}function On(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Pn(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var kn="top",Rn="bottom",Tn="right",$n="left",Sn="auto",Mn=[kn,Rn,Tn,$n],Dn="start",In="end",Ln="viewport",An="popper",Bn=Mn.reduce((function(e,t){return e.concat([t+"-"+Dn,t+"-"+In])}),[]),Fn=[].concat(Mn,[Sn]).reduce((function(e,t){return e.concat([t,t+"-"+Dn,t+"-"+In])}),[]),Kn=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Hn(e){return e.split("-")[1]}var _n={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wn(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,i=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Cn(Cn(t*r)/r)||0,y:Cn(Cn(n*r)/r)||0}}(s):"function"==typeof u?u(s):s,f=d.x,p=void 0===f?0:f,m=d.y,v=void 0===m?0:m,h=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),g=$n,x=kn,y=window;if(c){var w=yn(n),E="clientHeight",N="clientWidth";w===an(n)&&"static"!==vn(w=bn(n)).position&&"absolute"===i&&(E="scrollHeight",N="scrollWidth"),w=w,o!==kn&&(o!==$n&&o!==Tn||a!==In)||(x=Rn,v-=w[E]-r.height,v*=l?1:-1),o!==$n&&(o!==kn&&o!==Rn||a!==In)||(g=Tn,p-=w[N]-r.width,p*=l?1:-1)}var C,j=Object.assign({position:i},c&&_n);return l?Object.assign({},j,((C={})[x]=b?"0":"",C[g]=h?"0":"",C.transform=(y.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",C)):Object.assign({},j,((t={})[x]=b?v+"px":"",t[g]=h?p+"px":"",t.transform="",t))}var zn={passive:!0},Vn={left:"right",right:"left",bottom:"top",top:"bottom"};function Un(e){return e.replace(/left|right|bottom|top/g,(function(e){return Vn[e]}))}var qn={start:"end",end:"start"};function Gn(e){return e.replace(/start|end/g,(function(e){return qn[e]}))}function Xn(e){var t=an(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Yn(e){return dn(bn(e)).left+Xn(e).scrollLeft}function Zn(e){var t=vn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Jn(e){return["html","body","#document"].indexOf(mn(e))>=0?e.ownerDocument.body:ln(e)&&Zn(e)?e:Jn(gn(e))}function Qn(e,t){var n;void 0===t&&(t=[]);var r=Jn(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=an(r),s=o?[a].concat(a.visualViewport||[],Zn(r)?r:[]):r,i=t.concat(s);return o?i:i.concat(Qn(gn(s)))}function er(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tr(e,t){return t===Ln?er(function(e){var t=an(e),n=bn(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,i=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,i=r.offsetTop)),{width:o,height:a,x:s+Yn(e),y:i}}(e)):ln(t)?function(e){var t=dn(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):er(function(e){var t,n=bn(e),r=Xn(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=En(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=En(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),i=-r.scrollLeft+Yn(e),l=-r.scrollTop;return"rtl"===vn(o||n).direction&&(i+=En(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:i,y:l}}(bn(e)))}function nr(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?on(o):null,s=o?Hn(o):null,i=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case kn:t={x:i,y:n.y-r.height};break;case Rn:t={x:i,y:n.y+n.height};break;case Tn:t={x:n.x+n.width,y:l};break;case $n:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?wn(a):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case Dn:t[c]=t[c]-(n[u]/2-r[u]/2);break;case In:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function rr(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,s=void 0===a?"clippingParents":a,i=n.rootBoundary,l=void 0===i?Ln:i,c=n.elementContext,u=void 0===c?An:c,d=n.altBoundary,f=void 0!==d&&d,p=n.padding,m=void 0===p?0:p,v=On("number"!=typeof m?m:Pn(m,Mn)),h=u===An?"reference":An,b=e.rects.popper,g=e.elements[f?h:u],x=function(e,t,n){var r="clippingParents"===t?function(e){var t=Qn(gn(e)),n=["absolute","fixed"].indexOf(vn(e).position)>=0&&ln(e)?yn(e):e;return sn(n)?t.filter((function(e){return sn(e)&&pn(e,n)&&"body"!==mn(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],s=o.reduce((function(t,n){var r=tr(e,n);return t.top=En(r.top,t.top),t.right=Nn(r.right,t.right),t.bottom=Nn(r.bottom,t.bottom),t.left=En(r.left,t.left),t}),tr(e,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(sn(g)?g:g.contextElement||bn(e.elements.popper),s,l),y=dn(e.elements.reference),w=nr({reference:y,element:b,strategy:"absolute",placement:o}),E=er(Object.assign({},b,w)),N=u===An?E:y,C={top:x.top-N.top+v.top,bottom:N.bottom-x.bottom+v.bottom,left:x.left-N.left+v.left,right:N.right-x.right+v.right},j=e.modifiersData.offset;if(u===An&&j){var O=j[o];Object.keys(C).forEach((function(e){var t=[Tn,Rn].indexOf(e)>=0?1:-1,n=[kn,Rn].indexOf(e)>=0?"y":"x";C[e]+=O[n]*t}))}return C}function or(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ar(e){return[kn,Tn,Rn,$n].some((function(t){return e[t]>=0}))}function sr(e,t,n){void 0===n&&(n=!1);var r,o,a=ln(t),s=ln(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return 1!==n||1!==r}(t),i=bn(t),l=dn(e,s),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==mn(t)||Zn(i))&&(c=(r=t)!==an(r)&&ln(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Xn(r)),ln(t)?((u=dn(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Yn(i))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ir(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var lr={placement:"bottom",modifiers:[],strategy:"absolute"};function cr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}const ur=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?lr:o;return function(e,t,n){void 0===n&&(n=a);var o,s,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},lr,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:i,setOptions:function(n){var o="function"==typeof n?n(i.options):n;d(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:sn(e)?Qn(e):e.contextElement?Qn(e.contextElement):[],popper:Qn(t)};var s,c,f=function(e){var t=ir(e);return Kn.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(r,i.options.modifiers),c=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return i.orderedModifiers=f.filter((function(e){return e.enabled})),i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:i,name:t,instance:u,options:r});l.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=i.elements,t=e.reference,n=e.popper;if(cr(t,n)){i.rects={reference:sr(t,yn(n),"fixed"===i.options.strategy),popper:fn(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],a=o.fn,s=o.options,l=void 0===s?{}:s,d=o.name;"function"==typeof a&&(i=a({state:i,options:l,name:d,instance:u})||i)}else i.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(i)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){d(),c=!0}};if(!cr(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}({defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,s=rr(t,{elementContext:"reference"}),i=rr(t,{altBoundary:!0}),l=or(s,r),c=or(i,o,a),u=ar(l),d=ar(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=nr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,s=void 0===a||a,i=n.roundOffsets,l=void 0===i||i,c={placement:on(t.placement),variation:Hn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Wn(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Wn(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,s=r.resize,i=void 0===s||s,l=an(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,zn)})),i&&l.addEventListener("resize",n.update,zn),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,zn)})),i&&l.removeEventListener("resize",n.update,zn)}},data:{}},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,s=Fn.reduce((function(e,n){return e[n]=function(e,t,n){var r=on(e),o=[$n,kn].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=a[0],i=a[1];return s=s||0,i=(i||0)*o,[$n,Tn].indexOf(r)>=0?{x:i,y:s}:{x:s,y:i}}(n,t.rects,a),e}),{}),i=s[t.placement],l=i.x,c=i.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,s=n.altAxis,i=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=void 0===p||p,v=n.allowedAutoPlacements,h=t.options.placement,b=on(h),g=l||(b!==h&&m?function(e){if(on(e)===Sn)return[];var t=Un(e);return[Gn(e),t,Gn(t)]}(h):[Un(h)]),x=[h].concat(g).reduce((function(e,n){return e.concat(on(n)===Sn?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,s=n.padding,i=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Fn:l,u=Hn(r),d=u?i?Bn:Bn.filter((function(e){return Hn(e)===u})):Mn,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=rr(e,{placement:n,boundary:o,rootBoundary:a,padding:s})[on(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)}),[]),y=t.rects.reference,w=t.rects.popper,E=new Map,N=!0,C=x[0],j=0;j<x.length;j++){var O=x[j],P=on(O),k=Hn(O)===Dn,R=[kn,Rn].indexOf(P)>=0,T=R?"width":"height",$=rr(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),S=R?k?Tn:$n:k?Rn:kn;y[T]>w[T]&&(S=Un(S));var M=Un(S),D=[];if(a&&D.push($[P]<=0),i&&D.push($[S]<=0,$[M]<=0),D.every((function(e){return e}))){C=O,N=!1;break}E.set(O,D)}if(N)for(var I=function(e){var t=x.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},L=m?3:1;L>0&&"break"!==I(L);L--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,s=n.altAxis,i=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,m=n.tetherOffset,v=void 0===m?0:m,h=rr(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=on(t.placement),g=Hn(t.placement),x=!g,y=wn(b),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,N=t.rects.reference,C=t.rects.popper,j="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,O={x:0,y:0};if(E){if(a||i){var P="y"===y?kn:$n,k="y"===y?Rn:Tn,R="y"===y?"height":"width",T=E[y],$=E[y]+h[P],S=E[y]-h[k],M=p?-C[R]/2:0,D=g===Dn?N[R]:C[R],I=g===Dn?-C[R]:-N[R],L=t.elements.arrow,A=p&&L?fn(L):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=B[P],K=B[k],H=jn(0,N[R],A[R]),_=x?N[R]/2-M-H-F-j:D-H-F-j,W=x?-N[R]/2+M+H+K+j:I+H+K+j,z=t.elements.arrow&&yn(t.elements.arrow),V=z?"y"===y?z.clientTop||0:z.clientLeft||0:0,U=t.modifiersData.offset?t.modifiersData.offset[t.placement][y]:0,q=E[y]+_-U-V,G=E[y]+W-U;if(a){var X=jn(p?Nn($,q):$,T,p?En(S,G):S);E[y]=X,O[y]=X-T}if(i){var Y="x"===y?kn:$n,Z="x"===y?Rn:Tn,J=E[w],Q=J+h[Y],ee=J-h[Z],te=jn(p?Nn(Q,q):Q,J,p?En(ee,G):ee);E[w]=te,O[w]=te-J}}t.modifiersData[r]=O}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,i=on(n.placement),l=wn(i),c=[$n,Tn].indexOf(i)>=0?"height":"width";if(a&&s){var u=function(e,t){return On("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Pn(e,Mn))}(o.padding,n),d=fn(a),f="y"===l?kn:$n,p="y"===l?Rn:Tn,m=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],v=s[l]-n.rects.reference[l],h=yn(a),b=h?"y"===l?h.clientHeight||0:h.clientWidth||0:0,g=m/2-v/2,x=u[f],y=b-d[c]-u[p],w=b/2-d[c]/2+g,E=jn(x,w,y),N=l;n.modifiersData[r]=((t={})[N]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&pn(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}]}),dr=["enabled","placement","strategy","modifiers"],fr={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},pr={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const e=(t.getAttribute("aria-describedby")||"").split(",").filter((e=>e.trim()!==n.id));e.length?t.setAttribute("aria-describedby",e.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:r}=e.elements,o=null==(t=n.getAttribute("role"))?void 0:t.toLowerCase();if(n.id&&"tooltip"===o&&"setAttribute"in r){const e=r.getAttribute("aria-describedby");if(e&&-1!==e.split(",").indexOf(n.id))return;r.setAttribute("aria-describedby",e?`${e},${n.id}`:n.id)}}},mr=[],vr=function(e,t,r={}){let{enabled:o=!0,placement:a="bottom",strategy:s="absolute",modifiers:i=mr}=r,l=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(r,dr);const c=(0,n.useRef)(i),u=(0,n.useRef)(),d=(0,n.useCallback)((()=>{var e;null==(e=u.current)||e.update()}),[]),f=(0,n.useCallback)((()=>{var e;null==(e=u.current)||e.forceUpdate()}),[]),[p,m]=(b=(0,n.useState)({placement:a,update:d,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}}),g=Te(),[b[0],(0,n.useCallback)((function(e){if(g())return b[1](e)}),[g,b[1]])]),v=(0,n.useMemo)((()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{const t={},n={};Object.keys(e.elements).forEach((r=>{t[r]=e.styles[r],n[r]=e.attributes[r]})),m({state:e,styles:t,attributes:n,update:d,forceUpdate:f,placement:e.placement})}})),[d,f,m]),h=(0,n.useMemo)((()=>(rn(c.current,i)||(c.current=i),c.current)),[i]);var b,g;return(0,n.useEffect)((()=>{u.current&&o&&u.current.setOptions({placement:a,strategy:s,modifiers:[...h,v,fr]})}),[s,a,v,o,h]),(0,n.useEffect)((()=>{if(o&&null!=e&&null!=t)return u.current=ur(e,t,Object.assign({},l,{placement:a,strategy:s,modifiers:[...h,pr,v]})),()=>{null!=u.current&&(u.current.destroy(),u.current=void 0,m((e=>Object.assign({},e,{attributes:{},styles:{popper:{}}}))))}}),[o,e,t]),p};function hr(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}var br=o(459),gr=o.n(br);const xr=()=>{},yr=e=>e&&("current"in e?e.current:e),wr={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"},Er=function(e,t=xr,{disabled:r,clickTrigger:o="click"}={}){const a=(0,n.useRef)(!1),s=(0,n.useRef)(!1),i=(0,n.useCallback)((t=>{const n=yr(e);var r;gr()(!!n,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),a.current=!n||!!((r=t).metaKey||r.altKey||r.ctrlKey||r.shiftKey)||!function(e){return 0===e.button}(t)||!!hr(n,t.target)||s.current,s.current=!1}),[e]),l=ke((t=>{const n=yr(e);n&&hr(n,t.target)&&(s.current=!0)})),c=ke((e=>{a.current||t(e)}));(0,n.useEffect)((()=>{if(r||null==e)return;const t=N(yr(e));let n=(t.defaultView||window).event,a=null;wr[o]&&(a=q(t,wr[o],l,!0));const s=q(t,o,i,!0),u=q(t,o,(e=>{e!==n?c(e):n=void 0}));let d=[];return"ontouchstart"in t.documentElement&&(d=[].slice.call(t.body.children).map((e=>q(e,"mousemove",xr)))),()=>{null==a||a(),s(),u(),d.forEach((e=>e()))}}),[e,r,o,i,l,c])};function Nr(e={}){return Array.isArray(e)?e:Object.keys(e).map((t=>(e[t].name=t,e[t])))}function Cr({enabled:e,enableEvents:t,placement:n,flip:r,offset:o,fixed:a,containerPadding:s,arrowElement:i,popperConfig:l={}}){var c,u,d,f;const p=function(e){const t={};return Array.isArray(e)?(null==e||e.forEach((e=>{t[e.name]=e})),t):e||t}(l.modifiers);return Object.assign({},l,{placement:n,enabled:e,strategy:a?"fixed":l.strategy,modifiers:Nr(Object.assign({},p,{eventListeners:{enabled:t},preventOverflow:Object.assign({},p.preventOverflow,{options:s?Object.assign({padding:s},null==(c=p.preventOverflow)?void 0:c.options):null==(u=p.preventOverflow)?void 0:u.options}),offset:{options:Object.assign({offset:o},null==(d=p.offset)?void 0:d.options)},arrow:Object.assign({},p.arrow,{enabled:!!i,options:Object.assign({},null==(f=p.arrow)?void 0:f.options,{element:i})}),flip:Object.assign({enabled:!!r},p.flip)}))})}const jr=["children"],Or=()=>{};function Pr(e={}){const t=(0,n.useContext)(en),[r,o]=Re(),a=(0,n.useRef)(!1),{flip:s,offset:i,rootCloseEvent:l,fixed:c=!1,placement:u,popperConfig:d={},enableEventListeners:f=!0,usePopper:p=!!t}=e,m=null==(null==t?void 0:t.show)?!!e.show:t.show;m&&!a.current&&(a.current=!0);const{placement:v,setMenu:h,menuElement:b,toggleElement:g}=t||{},x=vr(g,b,Cr({placement:u||v||"bottom-start",enabled:p,enableEvents:null==f?m:f,offset:i,flip:s,fixed:c,arrowElement:r,popperConfig:d})),y=Object.assign({ref:h||Or,"aria-labelledby":null==g?void 0:g.id},x.attributes.popper,{style:x.styles.popper}),w={show:m,placement:v,hasShown:a.current,toggle:null==t?void 0:t.toggle,popper:p?x:null,arrowProps:p?Object.assign({ref:o},x.attributes.arrow,{style:x.styles.arrow}):{}};return Er(b,(e=>{null==t||t.toggle(!1,e)}),{clickTrigger:l,disabled:!m}),[y,w]}function kr(e){let{children:t}=e,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,jr);const[r,o]=Pr(n);return(0,m.jsx)(m.Fragment,{children:t(r,o)})}kr.displayName="DropdownMenu",kr.defaultProps={usePopper:!0};const Rr=kr,Tr={prefix:Math.round(1e10*Math.random()),current:0},$r=r().createContext(Tr);let Sr=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function Mr(e){let t=(0,n.useContext)($r);return t!==Tr||Sr||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),(0,n.useMemo)((()=>e||"react-aria-"+t.prefix+"-"+ ++t.current),[e])}const Dr=e=>{var t;return"menu"===(null==(t=e.getAttribute("role"))?void 0:t.toLowerCase())},Ir=()=>{};function Lr(){const e=Mr(),{show:t=!1,toggle:r=Ir,setToggle:o,menuElement:a}=(0,n.useContext)(en)||{},s=(0,n.useCallback)((e=>{r(!t,e)}),[t,r]),i={id:e,ref:o||Ir,onClick:s,"aria-expanded":!!t};return a&&Dr(a)&&(i["aria-haspopup"]=!0),[i,{show:t,toggle:r}]}function Ar({children:e}){const[t,n]=Lr();return(0,m.jsx)(m.Fragment,{children:e(t,n)})}Ar.displayName="DropdownToggle";const Br=Ar,Fr=(e,t=null)=>null!=e?String(e):t||null,Kr=n.createContext(null),Hr=n.createContext(null);Hr.displayName="NavContext";const _r=Hr;function Wr(e){return`data-rr-ui-${e}`}const zr=["eventKey","disabled","onClick","active","as"];function Vr({key:e,href:t,active:r,disabled:o,onClick:a}){const s=(0,n.useContext)(Kr),i=(0,n.useContext)(_r),{activeKey:l}=i||{},c=Fr(e,t),u=null==r&&null!=e?Fr(l)===c:r;return[{onClick:ke((e=>{o||(null==a||a(e),s&&!e.isPropagationStopped()&&s(c,e))})),"aria-disabled":o||void 0,"aria-selected":u,[Wr("dropdown-item")]:""},{isActive:u}]}const Ur=n.forwardRef(((e,t)=>{let{eventKey:n,disabled:r,onClick:o,active:a,as:s=Ae}=e,i=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,zr);const[l]=Vr({key:n,href:i.href,disabled:r,onClick:o,active:a});return(0,m.jsx)(s,Object.assign({},i,{ref:t},l))}));Ur.displayName="DropdownItem";const qr=Ur,Gr=(0,n.createContext)(H?window:void 0);function Xr(){return(0,n.useContext)(Gr)}function Yr(){const e=Qt(),t=(0,n.useRef)(null),r=(0,n.useCallback)((n=>{t.current=n,e()}),[e]);return[t,r]}function Zr({defaultShow:e,show:t,onSelect:r,onToggle:o,itemSelector:a=`* [${Wr("dropdown-item")}]`,focusFirstItemOnShow:s,placement:i="bottom-start",children:l}){const c=Xr(),[u,d]=f(t,e,o),[p,v]=Yr(),h=p.current,[b,g]=Yr(),x=b.current,y=$e(u),w=(0,n.useRef)(null),E=(0,n.useRef)(!1),N=(0,n.useContext)(Kr),C=(0,n.useCallback)(((e,t,n=(null==t?void 0:t.type))=>{d(e,{originalEvent:t,source:n})}),[d]),j=ke(((e,t)=>{null==r||r(e,t),C(!1,t,"select"),t.isPropagationStopped()||null==N||N(e,t)})),O=(0,n.useMemo)((()=>({toggle:C,placement:i,show:u,menuElement:h,toggleElement:x,setMenu:v,setToggle:g})),[C,i,u,h,x,v,g]);h&&y&&!u&&(E.current=h.contains(h.ownerDocument.activeElement));const P=ke((()=>{x&&x.focus&&x.focus()})),k=ke((()=>{const e=w.current;let t=s;if(null==t&&(t=!(!p.current||!Dr(p.current))&&"keyboard"),!1===t||"keyboard"===t&&!/^key.+$/.test(e))return;const n=Jt(p.current,a)[0];n&&n.focus&&n.focus()}));(0,n.useEffect)((()=>{u?k():E.current&&(E.current=!1,P())}),[u,E,P,k]),(0,n.useEffect)((()=>{w.current=null}));const R=(e,t)=>{if(!p.current)return null;const n=Jt(p.current,a);let r=n.indexOf(e)+t;return r=Math.max(0,Math.min(r,n.length)),n[r]};return function(e,t,r,o){void 0===o&&(o=!1);var a=ke((e=>{var t,n;const{key:r}=e,o=e.target,a=null==(t=p.current)?void 0:t.contains(o),s=null==(n=b.current)?void 0:n.contains(o);if(/input|textarea/i.test(o.tagName)&&(" "===r||"Escape"!==r&&a||"Escape"===r&&"search"===o.type))return;if(!a&&!s)return;if(!("Tab"!==r||p.current&&u))return;w.current=e.type;const i={originalEvent:e,source:e.type};switch(r){case"ArrowUp":{const t=R(o,-1);return t&&t.focus&&t.focus(),void e.preventDefault()}case"ArrowDown":if(e.preventDefault(),u){const e=R(o,1);e&&e.focus&&e.focus()}else d(!0,i);return;case"Tab":V(o.ownerDocument,"keyup",(e=>{var t;("Tab"!==e.key||e.target)&&null!=(t=p.current)&&t.contains(e.target)||d(!1,i)}),{once:!0});break;case"Escape":"Escape"===r&&(e.preventDefault(),e.stopPropagation()),d(!1,i)}}));(0,n.useEffect)((function(){var n="function"==typeof e?e():e;return n.addEventListener(t,a,o),function(){return n.removeEventListener(t,a,o)}}),[e])}((0,n.useCallback)((()=>c.document),[c]),"keydown"),(0,m.jsx)(Kr.Provider,{value:j,children:(0,m.jsx)(en.Provider,{value:O,children:l})})}Gr.Provider,Zr.displayName="Dropdown",Zr.Menu=Rr,Zr.Toggle=Br,Zr.Item=qr;const Jr=Zr,Qr=n.createContext({});Qr.displayName="DropdownContext";const eo=Qr,to=n.forwardRef((({bsPrefix:e,className:n,eventKey:r,disabled:o=!1,onClick:a,active:s,as:i=Ke,...l},c)=>{const u=x(e,"dropdown-item"),[d,f]=Vr({key:r,href:l.href,disabled:o,onClick:a,active:s});return(0,m.jsx)(i,{...l,...d,ref:c,className:t()(n,u,f.isActive&&"active",o&&"disabled")})}));to.displayName="DropdownItem";const no=to,ro=n.createContext(null);ro.displayName="InputGroupContext";const oo=ro,ao=n.createContext(null);ao.displayName="NavbarContext";const so=ao;function io(e,t){return e}function lo(e,t,n){let r=e?n?"bottom-start":"bottom-end":n?"bottom-end":"bottom-start";return"up"===t?r=e?n?"top-start":"top-end":n?"top-end":"top-start":"end"===t?r=e?n?"left-end":"right-end":n?"left-start":"right-start":"start"===t&&(r=e?n?"right-end":"left-end":n?"right-start":"left-start"),r}const co=n.forwardRef((({bsPrefix:e,className:r,align:o,rootCloseEvent:a,flip:s,show:i,renderOnMount:l,as:c="div",popperConfig:u,variant:d,...f},p)=>{let v=!1;const h=(0,n.useContext)(so),b=x(e,"dropdown-menu"),{align:g,drop:y,isRTL:w}=(0,n.useContext)(eo);o=o||g;const E=(0,n.useContext)(oo),N=[];if(o)if("object"==typeof o){const e=Object.keys(o);if(e.length){const t=e[0],n=o[t];v="start"===n,N.push(`${b}-${t}-${n}`)}}else"end"===o&&(v=!0);const C=lo(v,y,w),[j,{hasShown:O,popper:P,show:k,toggle:R}]=Pr({flip:s,rootCloseEvent:a,show:i,usePopper:!h&&0===N.length,offset:[0,2],popperConfig:u,placement:C});if(j.ref=ee(io(p),j.ref),Me((()=>{k&&(null==P||P.update())}),[k]),!O&&!l&&!E)return null;"string"!=typeof c&&(j.show=k,j.close=()=>null==R?void 0:R(!1),j.align=o);let T=f.style;return null!=P&&P.placement&&(T={...f.style,...j.style},f["x-placement"]=P.placement),(0,m.jsx)(c,{...f,...j,style:T,...(N.length||h)&&{"data-bs-popper":"static"},className:t()(r,b,k&&"show",v&&`${b}-end`,d&&`${b}-${d}`,...N)})}));co.displayName="DropdownMenu",co.defaultProps={flip:!0};const uo=co,fo=n.forwardRef((({bsPrefix:e,split:r,className:o,childBsPrefix:a,as:s=pt,...i},l)=>{const c=x(e,"dropdown-toggle"),u=(0,n.useContext)(en),d=(0,n.useContext)(oo);void 0!==a&&(i.bsPrefix=a);const[f]=Lr();return f.ref=ee(f.ref,io(l)),(0,m.jsx)(s,{className:t()(o,c,r&&`${c}-split`,!!d&&(null==u?void 0:u.show)&&"show"),...f,...i})}));fo.displayName="DropdownToggle";const po=fo,mo=Je("dropdown-header",{defaultProps:{role:"heading"}}),vo=Je("dropdown-divider",{Component:"hr",defaultProps:{role:"separator"}}),ho=Je("dropdown-item-text",{Component:"span"}),bo=n.forwardRef(((e,r)=>{const{bsPrefix:o,drop:a,show:s,className:i,align:l,onSelect:c,onToggle:u,focusFirstItemOnShow:d,as:f="div",navbar:v,autoClose:h,...b}=p(e,{show:"onToggle"}),g=(0,n.useContext)(oo),y=x(o,"dropdown"),E=w(),N=ke(((e,t)=>{var n;t.originalEvent.currentTarget!==document||"keydown"===t.source&&"Escape"!==t.originalEvent.key||(t.source="rootClose"),n=t.source,(!1===h?"click"===n:"inside"===h?"rootClose"!==n:"outside"!==h||"select"!==n)&&(null==u||u(e,t))})),C=lo("end"===l,a,E),j=(0,n.useMemo)((()=>({align:l,drop:a,isRTL:E})),[l,a,E]);return(0,m.jsx)(eo.Provider,{value:j,children:(0,m.jsx)(Jr,{placement:C,show:s,onSelect:c,onToggle:N,focusFirstItemOnShow:d,itemSelector:`.${y}-item:not(.disabled):not(:disabled)`,children:g?b.children:(0,m.jsx)(f,{...b,ref:r,className:t()(i,s&&"show",(!a||"down"===a)&&y,"up"===a&&"dropup","end"===a&&"dropend","start"===a&&"dropstart")})})})}));bo.displayName="Dropdown",bo.defaultProps={navbar:!1,align:"start",autoClose:!0};const go=Object.assign(bo,{Toggle:po,Menu:uo,Item:no,ItemText:ho,Divider:vo,Header:mo}),xo=Ve().oneOf(["start","end"]),yo=Ve().oneOfType([xo,Ve().shape({sm:xo}),Ve().shape({md:xo}),Ve().shape({lg:xo}),Ve().shape({xl:xo}),Ve().shape({xxl:xo}),Ve().object]),wo={id:Ve().string,href:Ve().string,onClick:Ve().func,title:Ve().node.isRequired,disabled:Ve().bool,align:yo,menuRole:Ve().string,renderMenuOnMount:Ve().bool,rootCloseEvent:Ve().string,menuVariant:Ve().oneOf(["dark"]),bsPrefix:Ve().string,variant:Ve().string,size:Ve().string},Eo=n.forwardRef((({title:e,children:t,bsPrefix:n,rootCloseEvent:r,variant:o,size:a,menuRole:s,renderMenuOnMount:i,disabled:l,href:c,id:u,menuVariant:d,...f},p)=>(0,m.jsxs)(go,{ref:p,...f,children:[(0,m.jsx)(po,{id:u,href:c,size:a,variant:o,disabled:l,childBsPrefix:n,children:e}),(0,m.jsx)(uo,{role:s,renderOnMount:i,rootCloseEvent:r,variant:d,children:t})]})));Eo.displayName="DropdownButton",Eo.propTypes=wo;const No=Eo,Co={type:Ve().string,tooltip:Ve().bool,as:Ve().elementType},jo=n.forwardRef((({as:e="div",className:n,type:r="valid",tooltip:o=!1,...a},s)=>(0,m.jsx)(e,{...a,ref:s,className:t()(n,`${r}-${o?"tooltip":"feedback"}`)})));jo.displayName="Feedback",jo.propTypes=Co;const Oo=jo,Po=n.createContext({}),ko=n.forwardRef((({id:e,bsPrefix:r,className:o,type:a="checkbox",isValid:s=!1,isInvalid:i=!1,as:l="input",...c},u)=>{const{controlId:d}=(0,n.useContext)(Po);return r=x(r,"form-check-input"),(0,m.jsx)(l,{...c,ref:u,type:a,id:e||d,className:t()(o,r,s&&"is-valid",i&&"is-invalid")})}));ko.displayName="FormCheckInput";const Ro=ko,To=n.forwardRef((({bsPrefix:e,className:r,htmlFor:o,...a},s)=>{const{controlId:i}=(0,n.useContext)(Po);return e=x(e,"form-check-label"),(0,m.jsx)("label",{...a,ref:s,htmlFor:o||i,className:t()(r,e)})}));To.displayName="FormCheckLabel";const $o=To,So=n.forwardRef((({id:e,bsPrefix:r,bsSwitchPrefix:o,inline:a=!1,disabled:s=!1,isValid:i=!1,isInvalid:l=!1,feedbackTooltip:c=!1,feedback:u,feedbackType:d,className:f,style:p,title:v="",type:h="checkbox",label:b,children:g,as:y="input",...w},E)=>{r=x(r,"form-check"),o=x(o,"form-switch");const{controlId:N}=(0,n.useContext)(Po),C=(0,n.useMemo)((()=>({controlId:e||N})),[N,e]),j=!g&&null!=b&&!1!==b||function(e,t){return n.Children.toArray(e).some((e=>n.isValidElement(e)&&e.type===t))}(g,$o),O=(0,m.jsx)(Ro,{...w,type:"switch"===h?"checkbox":h,ref:E,isValid:i,isInvalid:l,disabled:s,as:y});return(0,m.jsx)(Po.Provider,{value:C,children:(0,m.jsx)("div",{style:p,className:t()(f,j&&r,a&&`${r}-inline`,"switch"===h&&o),children:g||(0,m.jsxs)(m.Fragment,{children:[O,j&&(0,m.jsx)($o,{title:v,children:b}),u&&(0,m.jsx)(Oo,{type:d,tooltip:c,children:u})]})})})}));So.displayName="FormCheck";const Mo=Object.assign(So,{Input:Ro,Label:$o}),Do=n.forwardRef((({bsPrefix:e,type:r,size:o,htmlSize:a,id:s,className:i,isValid:l=!1,isInvalid:c=!1,plaintext:u,readOnly:d,as:f="input",...p},v)=>{const{controlId:h}=(0,n.useContext)(Po);let b;return e=x(e,"form-control"),b=u?{[`${e}-plaintext`]:!0}:{[e]:!0,[`${e}-${o}`]:o},(0,m.jsx)(f,{...p,type:r,size:a,ref:v,readOnly:d,id:s||h,className:t()(i,b,l&&"is-valid",c&&"is-invalid","color"===r&&`${e}-color`)})}));Do.displayName="FormControl";const Io=Object.assign(Do,{Feedback:Oo}),Lo=Je("form-floating"),Ao=n.forwardRef((({controlId:e,as:t="div",...r},o)=>{const a=(0,n.useMemo)((()=>({controlId:e})),[e]);return(0,m.jsx)(Po.Provider,{value:a,children:(0,m.jsx)(t,{...r,ref:o})})}));Ao.displayName="FormGroup";const Bo=Ao,Fo=n.forwardRef((({as:e="label",bsPrefix:r,column:o,visuallyHidden:a,className:s,htmlFor:i,...l},c)=>{const{controlId:u}=(0,n.useContext)(Po);r=x(r,"form-label");let d="col-form-label";"string"==typeof o&&(d=`${d} ${d}-${o}`);const f=t()(s,r,a&&"visually-hidden",o&&d);return i=i||u,o?(0,m.jsx)(Yt,{ref:c,as:"label",className:f,htmlFor:i,...l}):(0,m.jsx)(e,{ref:c,className:f,htmlFor:i,...l})}));Fo.displayName="FormLabel",Fo.defaultProps={column:!1,visuallyHidden:!1};const Ko=Fo,Ho=n.forwardRef((({bsPrefix:e,className:r,id:o,...a},s)=>{const{controlId:i}=(0,n.useContext)(Po);return e=x(e,"form-range"),(0,m.jsx)("input",{...a,type:"range",ref:s,className:t()(r,e),id:o||i})}));Ho.displayName="FormRange";const _o=Ho,Wo=n.forwardRef((({bsPrefix:e,size:r,htmlSize:o,className:a,isValid:s=!1,isInvalid:i=!1,id:l,...c},u)=>{const{controlId:d}=(0,n.useContext)(Po);return e=x(e,"form-select"),(0,m.jsx)("select",{...c,size:o,ref:u,className:t()(a,e,r&&`${e}-${r}`,s&&"is-valid",i&&"is-invalid"),id:l||d})}));Wo.displayName="FormSelect";const zo=Wo,Vo=n.forwardRef((({bsPrefix:e,className:n,as:r="small",muted:o,...a},s)=>(e=x(e,"form-text"),(0,m.jsx)(r,{...a,ref:s,className:t()(n,e,o&&"text-muted")}))));Vo.displayName="FormText";const Uo=Vo,qo=n.forwardRef(((e,t)=>(0,m.jsx)(Mo,{...e,ref:t,type:"switch"})));qo.displayName="Switch";const Go=Object.assign(qo,{Input:Mo.Input,Label:Mo.Label}),Xo=n.forwardRef((({bsPrefix:e,className:n,children:r,controlId:o,label:a,...s},i)=>(e=x(e,"form-floating"),(0,m.jsxs)(Bo,{ref:i,className:t()(n,e),controlId:o,...s,children:[r,(0,m.jsx)("label",{htmlFor:o,children:a})]}))));Xo.displayName="FloatingLabel";const Yo=Xo,Zo={_ref:Ve().any,validated:Ve().bool,as:Ve().elementType},Jo=n.forwardRef((({className:e,validated:n,as:r="form",...o},a)=>(0,m.jsx)(r,{...o,ref:a,className:t()(e,n&&"was-validated")})));Jo.displayName="Form",Jo.propTypes=Zo;const Qo=Object.assign(Jo,{Group:Bo,Control:Io,Floating:Lo,Check:Mo,Switch:Go,Label:Ko,Text:Uo,Range:_o,Select:zo,FloatingLabel:Yo}),ea=n.forwardRef((({bsPrefix:e,fluid:n,as:r="div",className:o,...a},s)=>{const i=x(e,"container"),l="string"==typeof n?`-${n}`:"-fluid";return(0,m.jsx)(r,{ref:s,...a,className:t()(o,n?`${i}${l}`:i)})}));ea.displayName="Container",ea.defaultProps={fluid:!1};const ta=ea,na={bsPrefix:Ve().string,fluid:Ve().bool,rounded:Ve().bool,roundedCircle:Ve().bool,thumbnail:Ve().bool},ra=n.forwardRef((({bsPrefix:e,className:n,fluid:r,rounded:o,roundedCircle:a,thumbnail:s,...i},l)=>(e=x(e,"img"),(0,m.jsx)("img",{ref:l,...i,className:t()(n,r&&`${e}-fluid`,o&&"rounded",a&&"rounded-circle",s&&`${e}-thumbnail`)}))));ra.displayName="Image",ra.defaultProps={fluid:!1,rounded:!1,roundedCircle:!1,thumbnail:!1};const oa=ra,aa=n.forwardRef((({className:e,...n},r)=>(0,m.jsx)(oa,{ref:r,...n,className:t()(e,"figure-img")})));aa.displayName="FigureImage",aa.propTypes=na,aa.defaultProps={fluid:!0};const sa=aa,ia=Je("figure-caption",{Component:"figcaption"}),la=Je("figure",{Component:"figure"}),ca=Object.assign(la,{Image:sa,Caption:ia}),ua=Je("input-group-text",{Component:"span"}),da=n.forwardRef((({bsPrefix:e,size:r,hasValidation:o,className:a,as:s="div",...i},l)=>{e=x(e,"input-group");const c=(0,n.useMemo)((()=>({})),[]);return(0,m.jsx)(oo.Provider,{value:c,children:(0,m.jsx)(s,{ref:l,...i,className:t()(a,e,r&&`${e}-${r}`,o&&"has-validation")})})}));da.displayName="InputGroup";const fa=Object.assign(da,{Text:ua,Radio:e=>(0,m.jsx)(ua,{children:(0,m.jsx)(Ro,{type:"radio",...e})}),Checkbox:e=>(0,m.jsx)(ua,{children:(0,m.jsx)(Ro,{type:"checkbox",...e})})}),pa=n.createContext(null),ma=["as","active","eventKey"];function va({key:e,onClick:t,active:r,id:o,role:a,disabled:s}){const i=(0,n.useContext)(Kr),l=(0,n.useContext)(_r),c=(0,n.useContext)(pa);let u=r;const d={role:a};if(l){a||"tablist"!==l.role||(d.role="tab");const t=l.getControllerId(null!=e?e:null),n=l.getControlledId(null!=e?e:null);d[Wr("event-key")]=e,d.id=t||o,u=null==r&&null!=e?l.activeKey===e:r,!u&&(null!=c&&c.unmountOnExit||null!=c&&c.mountOnEnter)||(d["aria-controls"]=n)}return"tab"===d.role&&(s&&(d.tabIndex=-1,d["aria-disabled"]=!0),u?d["aria-selected"]=u:d.tabIndex=-1),d.onClick=ke((n=>{s||(null==t||t(n),null!=e&&i&&!n.isPropagationStopped()&&i(e,n))})),[d,{isActive:u}]}const ha=n.forwardRef(((e,t)=>{let{as:n=Ae,active:r,eventKey:o}=e,a=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,ma);const[s,i]=va(Object.assign({key:Fr(o,a.href),active:r},a));return s[Wr("active")]=i.isActive,(0,m.jsx)(n,Object.assign({},a,s,{ref:t}))}));ha.displayName="NavItem";const ba=ha,ga=["as","onSelect","activeKey","role","onKeyDown"],xa=()=>{},ya=Wr("event-key"),wa=n.forwardRef(((e,t)=>{let{as:r="div",onSelect:o,activeKey:a,role:s,onKeyDown:i}=e,l=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,ga);const c=Qt(),u=(0,n.useRef)(!1),d=(0,n.useContext)(Kr),f=(0,n.useContext)(pa);let p,v;f&&(s=s||"tablist",a=f.activeKey,p=f.getControlledId,v=f.getControllerId);const h=(0,n.useRef)(null),b=e=>{const t=h.current;if(!t)return null;const n=Jt(t,`[${ya}]:not([aria-disabled=true])`),r=t.querySelector("[aria-selected=true]");if(!r||r!==document.activeElement)return null;const o=n.indexOf(r);if(-1===o)return null;let a=o+e;return a>=n.length&&(a=0),a<0&&(a=n.length-1),n[a]},g=(e,t)=>{null!=e&&(null==o||o(e,t),null==d||d(e,t))};(0,n.useEffect)((()=>{if(h.current&&u.current){const e=h.current.querySelector(`[${ya}][aria-selected=true]`);null==e||e.focus()}u.current=!1}));const x=ee(t,h);return(0,m.jsx)(Kr.Provider,{value:g,children:(0,m.jsx)(_r.Provider,{value:{role:s,activeKey:Fr(a),getControlledId:p||xa,getControllerId:v||xa},children:(0,m.jsx)(r,Object.assign({},l,{onKeyDown:e=>{if(null==i||i(e),!f)return;let t;switch(e.key){case"ArrowLeft":case"ArrowUp":t=b(-1);break;case"ArrowRight":case"ArrowDown":t=b(1);break;default:return}t&&(e.preventDefault(),g(t.dataset[("EventKey","rrUiEventKey")]||null,e),u.current=!0,c())},ref:x,role:s}))})})}));wa.displayName="Nav";const Ea=Object.assign(wa,{Item:ba}),Na=n.forwardRef((({bsPrefix:e,active:n,disabled:r,eventKey:o,className:a,variant:s,action:i,as:l,...c},u)=>{e=x(e,"list-group-item");const[d,f]=va({key:Fr(o,c.href),active:n,...c}),p=ke((e=>{if(r)return e.preventDefault(),void e.stopPropagation();d.onClick(e)}));r&&void 0===c.tabIndex&&(c.tabIndex=-1,c["aria-disabled"]=!0);const v=l||(i?c.href?"a":"button":"div");return(0,m.jsx)(v,{ref:u,...c,...d,onClick:p,className:t()(a,e,f.isActive&&"active",r&&"disabled",s&&`${e}-${s}`,i&&`${e}-action`)})}));Na.displayName="ListGroupItem";const Ca=Na,ja=n.forwardRef(((e,n)=>{const{className:r,bsPrefix:o,variant:a,horizontal:s,numbered:i,as:l="div",...c}=p(e,{activeKey:"onSelect"}),u=x(o,"list-group");let d;return s&&(d=!0===s?"horizontal":`horizontal-${s}`),(0,m.jsx)(Ea,{ref:n,...c,as:l,className:t()(r,u,a&&`${u}-${a}`,d&&`${u}-${d}`,i&&`${u}-numbered`)})}));ja.displayName="ListGroup";const Oa=Object.assign(ja,{Item:Ca});var Pa;function ka(e){if((!Pa&&0!==Pa||e)&&H){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),Pa=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Pa}function Ra(e){void 0===e&&(e=N());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(t){return e.body}}const Ta=Wr("modal-open"),$a=class{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}={}){this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style={overflow:r.style.overflow,[n]:r.style[n]},e.scrollBarWidth&&(t[n]=`${parseInt(k(r,n)||"0",10)+e.scrollBarWidth}px`),r.setAttribute(Ta,""),k(r,t)}reset(){[...this.modals].forEach((e=>this.remove(e)))}removeContainerStyle(e){const t=this.getElement();t.removeAttribute(Ta),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return-1!==t||(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state))),t}remove(e){const t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},Sa=(e,t)=>{var n;return H?null==e?(t||N()).body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),null!=(n=e)&&n.nodeType&&e||null):null};function Ma(e,t){const r=Xr(),[o,a]=(0,n.useState)((()=>Sa(e,null==r?void 0:r.document)));if(!o){const t=Sa(e);t&&a(t)}return(0,n.useEffect)((()=>{t&&o&&t(o)}),[t,o]),(0,n.useEffect)((()=>{const t=Sa(e);t!==o&&a(t)}),[e,o]),o}const Da=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];let Ia;const La=(0,n.forwardRef)(((e,t)=>{let{show:r=!1,role:o="dialog",className:a,style:s,children:i,backdrop:l=!0,keyboard:c=!0,onBackdropClick:u,onEscapeKeyDown:d,transition:f,backdropTransition:p,autoFocus:v=!0,enforceFocus:h=!0,restoreFocus:b=!0,restoreFocusOptions:g,renderDialog:x,renderBackdrop:y=(e=>(0,m.jsx)("div",Object.assign({},e))),manager:w,container:E,onShow:N,onHide:C=(()=>{}),onExit:j,onExited:O,onExiting:P,onEnter:k,onEntering:R,onEntered:T}=e,S=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Da);const M=Ma(E),D=function(e){const t=Xr(),r=e||function(e){return Ia||(Ia=new $a({ownerDocument:null==e?void 0:e.document})),Ia}(t),o=(0,n.useRef)({dialog:null,backdrop:null});return Object.assign(o.current,{add:()=>r.add(o.current),remove:()=>r.remove(o.current),isTopModal:()=>r.isTopModal(o.current),setDialogRef:(0,n.useCallback)((e=>{o.current.dialog=e}),[]),setBackdropRef:(0,n.useCallback)((e=>{o.current.backdrop=e}),[])})}(w),I=Te(),L=$e(r),[A,B]=(0,n.useState)(!r),F=(0,n.useRef)(null);(0,n.useImperativeHandle)(t,(()=>D),[D]),H&&!L&&r&&(F.current=Ra()),f||r||A?r&&A&&B(!1):B(!0);const K=ke((()=>{if(D.add(),G.current=q(document,"keydown",V),U.current=q(document,"focus",(()=>setTimeout(W)),!0),N&&N(),v){const e=Ra(document);D.dialog&&e&&!hr(D.dialog,e)&&(F.current=e,D.dialog.focus())}})),_=ke((()=>{var e;D.remove(),null==G.current||G.current(),null==U.current||U.current(),b&&(null==(e=F.current)||null==e.focus||e.focus(g),F.current=null)}));(0,n.useEffect)((()=>{r&&M&&K()}),[r,M,K]),(0,n.useEffect)((()=>{A&&_()}),[A,_]),Lt((()=>{_()}));const W=ke((()=>{if(!h||!I()||!D.isTopModal())return;const e=Ra();D.dialog&&e&&!hr(D.dialog,e)&&D.dialog.focus()})),z=ke((e=>{e.target===e.currentTarget&&(null==u||u(e),!0===l&&C())})),V=ke((e=>{c&&27===e.keyCode&&D.isTopModal()&&(null==d||d(e),e.defaultPrevented||C())})),U=(0,n.useRef)(),G=(0,n.useRef)(),X=f;if(!M||!(r||X&&!A))return null;const Y=Object.assign({role:o,ref:D.setDialogRef,"aria-modal":"dialog"===o||void 0},S,{style:s,className:a,tabIndex:-1});let Z=x?x(Y):(0,m.jsx)("div",Object.assign({},Y,{children:n.cloneElement(i,{role:"document"})}));X&&(Z=(0,m.jsx)(X,{appear:!0,unmountOnExit:!0,in:!!r,onExit:j,onExiting:P,onExited:(...e)=>{B(!0),null==O||O(...e)},onEnter:k,onEntering:R,onEntered:T,children:Z}));let J=null;if(l){const e=p;J=y({ref:D.setBackdropRef,onClick:z}),e&&(J=(0,m.jsx)(e,{appear:!0,in:!!r,children:J}))}return(0,m.jsx)(m.Fragment,{children:$().createPortal((0,m.jsxs)(m.Fragment,{children:[J,Z]}),M)})}));La.displayName="Modal";const Aa=Object.assign(La,{Manager:$a});function Ba(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}function Fa(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const Ka=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ha=".sticky-top",_a=".navbar-toggler";class Wa extends $a{adjustAndStore(e,t,n){const r=t.style[e];t.dataset[e]=r,k(t,{[e]:`${parseFloat(k(t,e))+n}px`})}restore(e,t){const n=t.dataset[e];void 0!==n&&(delete t.dataset[e],k(t,{[e]:n}))}setContainerStyle(e){super.setContainerStyle(e);const t=this.getElement();var n,r;if(r="modal-open",(n=t).classList?n.classList.add(r):Ba(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)),!e.scrollBarWidth)return;const o=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";Jt(t,Ka).forEach((t=>this.adjustAndStore(o,t,e.scrollBarWidth))),Jt(t,Ha).forEach((t=>this.adjustAndStore(a,t,-e.scrollBarWidth))),Jt(t,_a).forEach((t=>this.adjustAndStore(a,t,e.scrollBarWidth)))}removeContainerStyle(e){super.removeContainerStyle(e);const t=this.getElement();var n,r;r="modal-open",(n=t).classList?n.classList.remove(r):"string"==typeof n.className?n.className=Fa(n.className,r):n.setAttribute("class",Fa(n.className&&n.className.baseVal||"",r));const o=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";Jt(t,Ka).forEach((e=>this.restore(o,e))),Jt(t,Ha).forEach((e=>this.restore(a,e))),Jt(t,_a).forEach((e=>this.restore(a,e)))}}let za;function Va(e){return za||(za=new Wa(e)),za}const Ua=Wa,qa=Je("modal-body"),Ga=n.createContext({onHide(){}}),Xa=n.forwardRef((({bsPrefix:e,className:n,contentClassName:r,centered:o,size:a,fullscreen:s,children:i,scrollable:l,...c},u)=>{const d=`${e=x(e,"modal")}-dialog`,f="string"==typeof s?`${e}-fullscreen-${s}`:`${e}-fullscreen`;return(0,m.jsx)("div",{...c,ref:u,className:t()(d,n,a&&`${e}-${a}`,o&&`${d}-centered`,l&&`${d}-scrollable`,s&&f),children:(0,m.jsx)("div",{className:t()(`${e}-content`,r),children:i})})}));Xa.displayName="ModalDialog";const Ya=Xa,Za=Je("modal-footer"),Ja=n.forwardRef((({closeLabel:e,closeVariant:t,closeButton:r,onHide:o,children:a,...s},i)=>{const l=(0,n.useContext)(Ga),c=ke((()=>{null==l||l.onHide(),null==o||o()}));return(0,m.jsxs)("div",{ref:i,...s,children:[a,r&&(0,m.jsx)(Ge,{"aria-label":e,variant:t,onClick:c})]})}));Ja.defaultProps={closeLabel:"Close",closeButton:!1};const Qa=Ja,es=n.forwardRef((({bsPrefix:e,className:n,...r},o)=>(e=x(e,"modal-header"),(0,m.jsx)(Qa,{ref:o,...r,className:t()(n,e)}))));es.displayName="ModalHeader",es.defaultProps={closeLabel:"Close",closeButton:!1};const ts=es,ns=Je("modal-title",{Component:Xe("h4")}),rs={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:Ya};function os(e){return(0,m.jsx)(We,{...e,timeout:null})}function as(e){return(0,m.jsx)(We,{...e,timeout:null})}const ss=n.forwardRef((({bsPrefix:e,className:r,style:o,dialogClassName:a,contentClassName:s,children:i,dialogAs:l,"aria-labelledby":c,"aria-describedby":u,"aria-label":d,show:f,animation:p,backdrop:v,keyboard:h,onEscapeKeyDown:b,onShow:g,onHide:y,container:E,autoFocus:C,enforceFocus:j,restoreFocus:O,restoreFocusOptions:P,onEntered:k,onExit:R,onExiting:T,onEnter:$,onEntering:S,onExited:M,backdropClassName:D,manager:I,...L},A)=>{const[B,F]=(0,n.useState)({}),[K,_]=(0,n.useState)(!1),W=(0,n.useRef)(!1),z=(0,n.useRef)(!1),q=(0,n.useRef)(null),[X,Y]=Re(),Z=ee(A,Y),J=ke(y),Q=w();e=x(e,"modal");const te=(0,n.useMemo)((()=>({onHide:J})),[J]);function ne(){return I||Va({isRTL:Q})}function re(e){if(!H)return;const t=ne().getScrollbarWidth()>0,n=e.scrollHeight>N(e).documentElement.clientHeight;F({paddingRight:t&&!n?ka():void 0,paddingLeft:!t&&n?ka():void 0})}const oe=ke((()=>{X&&re(X.dialog)}));Lt((()=>{U(window,"resize",oe),null==q.current||q.current()}));const ae=()=>{W.current=!0},se=e=>{W.current&&X&&e.target===X.dialog&&(z.current=!0),W.current=!1},ie=()=>{_(!0),q.current=G(X.dialog,(()=>{_(!1)}))},le=e=>{"static"!==v?z.current||e.target!==e.currentTarget?z.current=!1:null==y||y():(e=>{e.target===e.currentTarget&&ie()})(e)},ce=(0,n.useCallback)((n=>(0,m.jsx)("div",{...n,className:t()(`${e}-backdrop`,D,!p&&"show")})),[p,D,e]),ue={...o,...B};return ue.display="block",(0,m.jsx)(Ga.Provider,{value:te,children:(0,m.jsx)(Aa,{show:f,ref:Z,backdrop:v,container:E,keyboard:!0,autoFocus:C,enforceFocus:j,restoreFocus:O,restoreFocusOptions:P,onEscapeKeyDown:e=>{h||"static"!==v?h&&b&&b(e):(e.preventDefault(),ie())},onShow:g,onHide:y,onEnter:(e,t)=>{e&&re(e),null==$||$(e,t)},onEntering:(e,t)=>{null==S||S(e,t),V(window,"resize",oe)},onEntered:k,onExit:e=>{null==q.current||q.current(),null==R||R(e)},onExiting:T,onExited:e=>{e&&(e.style.display=""),null==M||M(e),U(window,"resize",oe)},manager:ne(),transition:p?os:void 0,backdropTransition:p?as:void 0,renderBackdrop:ce,renderDialog:n=>(0,m.jsx)("div",{role:"dialog",...n,style:ue,className:t()(r,e,K&&`${e}-static`),onClick:v?le:void 0,onMouseUp:se,"aria-label":d,"aria-labelledby":c,"aria-describedby":u,children:(0,m.jsx)(l,{...L,onMouseDown:ae,className:a,contentClassName:s,children:i})})})})}));ss.displayName="Modal",ss.defaultProps=rs;const is=Object.assign(ss,{Body:qa,Header:ts,Title:ns,Footer:Za,Dialog:Ya,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150});o(946);const ls=Je("nav-item"),cs=n.forwardRef((({bsPrefix:e,className:n,as:r=Ke,active:o,eventKey:a,...s},i)=>{e=x(e,"nav-link");const[l,c]=va({key:Fr(a,s.href),active:o,...s});return(0,m.jsx)(r,{...s,...l,ref:i,className:t()(n,e,s.disabled&&"disabled",c.isActive&&"active")})}));cs.displayName="NavLink",cs.defaultProps={disabled:!1};const us=cs,ds=n.forwardRef(((e,r)=>{const{as:o="div",bsPrefix:a,variant:s,fill:i,justify:l,navbar:c,navbarScroll:u,className:d,activeKey:f,...v}=p(e,{activeKey:"onSelect"}),h=x(a,"nav");let b,g,y=!1;const w=(0,n.useContext)(so),E=(0,n.useContext)(wt);return w?(b=w.bsPrefix,y=null==c||c):E&&({cardHeaderBsPrefix:g}=E),(0,m.jsx)(Ea,{as:o,ref:r,activeKey:f,className:t()(d,{[h]:!y,[`${b}-nav`]:y,[`${b}-nav-scroll`]:y&&u,[`${g}-${s}`]:!!g,[`${h}-${s}`]:!!s,[`${h}-fill`]:i,[`${h}-justified`]:l}),...v})}));ds.displayName="Nav",ds.defaultProps={justify:!1,fill:!1};const fs=Object.assign(ds,{Item:ls,Link:us}),ps=n.forwardRef((({bsPrefix:e,className:n,as:r,...o},a)=>{e=x(e,"navbar-brand");const s=r||(o.href?"a":"span");return(0,m.jsx)(s,{...o,ref:a,className:t()(n,e)})}));ps.displayName="NavbarBrand";const ms=ps,vs=n.forwardRef((({children:e,bsPrefix:t,...r},o)=>{t=x(t,"navbar-collapse");const a=(0,n.useContext)(so);return(0,m.jsx)(le,{in:!(!a||!a.expanded),...r,children:(0,m.jsx)("div",{ref:o,className:t,children:e})})}));vs.displayName="NavbarCollapse";const hs=vs,bs=n.forwardRef((({bsPrefix:e,className:r,children:o,label:a,as:s="button",onClick:i,...l},c)=>{e=x(e,"navbar-toggler");const{onToggle:u,expanded:d}=(0,n.useContext)(so)||{},f=ke((e=>{i&&i(e),u&&u()}));return"button"===s&&(l.type="button"),(0,m.jsx)(s,{...l,ref:c,onClick:f,"aria-label":a,className:t()(r,e,!d&&"collapsed"),children:o||(0,m.jsx)("span",{className:`${e}-icon`})})}));bs.displayName="NavbarToggle",bs.defaultProps={label:"Toggle navigation"};const gs=bs,xs=Je("offcanvas-body"),ys={[I]:"show",[L]:"show"},ws=n.forwardRef((({bsPrefix:e,className:r,children:o,...a},s)=>(e=x(e,"offcanvas"),(0,m.jsx)(ne,{ref:s,addEndListener:Y,...a,childRef:o.ref,children:(a,s)=>n.cloneElement(o,{...s,className:t()(r,o.props.className,(a===I||a===A)&&`${e}-toggling`,ys[a])})}))));ws.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1},ws.displayName="OffcanvasToggling";const Es=ws,Ns=n.forwardRef((({bsPrefix:e,className:n,...r},o)=>(e=x(e,"offcanvas-header"),(0,m.jsx)(Qa,{ref:o,...r,className:t()(n,e)}))));Ns.displayName="OffcanvasHeader",Ns.defaultProps={closeLabel:"Close",closeButton:!1};const Cs=Ns,js=Je("offcanvas-title",{Component:Xe("h5")});function Os(e){return(0,m.jsx)(Es,{...e})}function Ps(e){return(0,m.jsx)(We,{...e})}const ks=n.forwardRef((({bsPrefix:e,className:r,children:o,"aria-labelledby":a,placement:s,show:i,backdrop:l,keyboard:c,scroll:u,onEscapeKeyDown:d,onShow:f,onHide:p,container:v,autoFocus:h,enforceFocus:b,restoreFocus:g,restoreFocusOptions:y,onEntered:w,onExit:E,onExiting:N,onEnter:C,onEntering:j,onExited:O,backdropClassName:P,manager:k,...R},T)=>{const $=(0,n.useRef)();e=x(e,"offcanvas");const{onToggle:S}=(0,n.useContext)(so)||{},M=ke((()=>{null==S||S(),null==p||p()})),D=(0,n.useMemo)((()=>({onHide:M})),[M]),I=(0,n.useCallback)((n=>(0,m.jsx)("div",{...n,className:t()(`${e}-backdrop`,P)})),[P,e]);return(0,m.jsx)(Ga.Provider,{value:D,children:(0,m.jsx)(Aa,{show:i,ref:T,backdrop:l,container:v,keyboard:c,autoFocus:h,enforceFocus:b&&!u,restoreFocus:g,restoreFocusOptions:y,onEscapeKeyDown:d,onShow:f,onHide:M,onEnter:(e,...t)=>{e&&(e.style.visibility="visible"),null==C||C(e,...t)},onEntering:j,onEntered:w,onExit:E,onExiting:N,onExited:(e,...t)=>{e&&(e.style.visibility=""),null==O||O(...t)},manager:k||(u?($.current||($.current=new Ua({handleContainerOverflow:!1})),$.current):Va()),transition:Os,backdropTransition:Ps,renderBackdrop:I,renderDialog:n=>(0,m.jsx)("div",{role:"dialog",...n,...R,className:t()(r,e,`${e}-${s}`),"aria-labelledby":a,children:o})})})}));ks.displayName="Offcanvas",ks.defaultProps={show:!1,backdrop:!0,keyboard:!0,scroll:!1,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,placement:"start"};const Rs=Object.assign(ks,{Body:xs,Header:Cs,Title:js}),Ts=n.forwardRef(((e,t)=>{const r=(0,n.useContext)(so);return(0,m.jsx)(Rs,{ref:t,show:!(null==r||!r.expanded),...e})}));Ts.displayName="NavbarOffcanvas";const $s=Ts,Ss=Je("navbar-text",{Component:"span"}),Ms=n.forwardRef(((e,r)=>{const{bsPrefix:o,expand:a,variant:s,bg:i,fixed:l,sticky:c,className:u,as:d="nav",expanded:f,onToggle:v,onSelect:h,collapseOnSelect:b,...g}=p(e,{expanded:"onToggle"}),y=x(o,"navbar"),w=(0,n.useCallback)(((...e)=>{null==h||h(...e),b&&f&&(null==v||v(!1))}),[h,b,f,v]);void 0===g.role&&"nav"!==d&&(g.role="navigation");let E=`${y}-expand`;"string"==typeof a&&(E=`${E}-${a}`);const N=(0,n.useMemo)((()=>({onToggle:()=>null==v?void 0:v(!f),bsPrefix:y,expanded:!!f})),[y,f,v]);return(0,m.jsx)(so.Provider,{value:N,children:(0,m.jsx)(Kr.Provider,{value:w,children:(0,m.jsx)(d,{ref:r,...g,className:t()(u,y,a&&E,s&&`${y}-${s}`,i&&`bg-${i}`,c&&`sticky-${c}`,l&&`fixed-${l}`)})})})}));Ms.defaultProps={expand:!0,variant:"light",collapseOnSelect:!1},Ms.displayName="Navbar";const Ds=Object.assign(Ms,{Brand:ms,Collapse:hs,Offcanvas:$s,Text:Ss,Toggle:gs}),Is=n.forwardRef((({id:e,title:n,children:r,bsPrefix:o,className:a,rootCloseEvent:s,menuRole:i,disabled:l,active:c,renderMenuOnMount:u,menuVariant:d,...f},p)=>{const v=x(void 0,"nav-item");return(0,m.jsxs)(go,{ref:p,...f,className:t()(a,v),children:[(0,m.jsx)(go.Toggle,{id:e,eventKey:null,active:c,disabled:l,childBsPrefix:o,as:us,children:n}),(0,m.jsx)(go.Menu,{role:i,renderOnMount:u,rootCloseEvent:s,variant:d,children:r})]})}));Is.displayName="NavDropdown";const Ls=Object.assign(Is,{Item:go.Item,ItemText:go.ItemText,Divider:go.Divider,Header:go.Header}),As=()=>{},Bs=n.forwardRef(((e,t)=>{const{flip:r,offset:o,placement:a,containerPadding:s,popperConfig:i={},transition:l}=e,[c,u]=Re(),[d,f]=Re(),p=ee(u,t),v=Ma(e.container),h=Ma(e.target),[b,g]=(0,n.useState)(!e.show),x=vr(h,c,Cr({placement:a,enableEvents:!!e.show,containerPadding:s||5,flip:r,offset:o,arrowElement:d,popperConfig:i}));e.show?b&&g(!1):e.transition||b||g(!0);const y=(...t)=>{g(!0),e.onExited&&e.onExited(...t)},w=e.show||l&&!b;if(function(e,t,{disabled:r,clickTrigger:o}={}){const a=t||As;Er(e,a,{disabled:r,clickTrigger:o});const s=ke((e=>{27===e.keyCode&&a(e)}));(0,n.useEffect)((()=>{if(r||null==e)return;const t=N(yr(e));let n=(t.defaultView||window).event;const o=q(t,"keyup",(e=>{e!==n?s(e):n=void 0}));return()=>{o()}}),[e,r,s])}(c,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!w)return null;let E=e.children(Object.assign({},x.attributes.popper,{style:x.styles.popper,ref:p}),{popper:x,placement:a,show:!!e.show,arrowProps:Object.assign({},x.attributes.arrow,{style:x.styles.arrow,ref:f})});if(l){const{onExit:t,onExiting:n,onEnter:r,onEntering:o,onEntered:a}=e;E=(0,m.jsx)(l,{in:e.show,appear:!0,onExit:t,onExiting:n,onExited:y,onEnter:r,onEntering:o,onEntered:a,children:E})}return v?$().createPortal(E,v):null}));Bs.displayName="Overlay";const Fs=Bs,Ks=Je("popover-header"),Hs=Je("popover-body");function _s(e,t){let n=e;return"left"===e?n=t?"end":"start":"right"===e&&(n=t?"start":"end"),n}n.Component;const Ws=n.forwardRef((({bsPrefix:e,placement:n,className:r,style:o,children:a,body:s,arrowProps:i,popper:l,show:c,...u},d)=>{const f=x(e,"popover"),p=w(),[v]=(null==n?void 0:n.split("-"))||[],h=_s(v,p);return(0,m.jsxs)("div",{ref:d,role:"tooltip",style:o,"x-placement":v,className:t()(r,f,v&&`bs-popover-${h}`),...u,children:[(0,m.jsx)("div",{className:"popover-arrow",...i}),s?(0,m.jsx)(Hs,{children:a}):a]})}));Ws.defaultProps={placement:"right"};const zs=Object.assign(Ws,{Header:Ks,Body:Hs,POPPER_OFFSET:[0,8]}),Vs={transition:We,rootClose:!1,show:!1,placement:"top"},Us=n.forwardRef((({children:e,transition:r,popperConfig:o={},...a},s)=>{const i=(0,n.useRef)({}),[l,c]=function(e){const t=(0,n.useRef)(null),r=x(void 0,"popover"),o=(0,n.useMemo)((()=>({name:"offset",options:{offset:()=>t.current&&Ba(t.current,r)?e||zs.POPPER_OFFSET:e||[0,0]}})),[e,r]);return[t,[o]]}(a.offset),u=ee(s,l),d=!0===r?We:r||void 0;return(0,m.jsx)(Fs,{...a,ref:u,popperConfig:{...o,modifiers:c.concat(o.modifiers||[])},transition:d,children:(o,{arrowProps:a,popper:s,show:l})=>{var c,u;!function(e,t){const{ref:n}=e,{ref:r}=t;e.ref=n.__wrapped||(n.__wrapped=e=>n(te(e))),t.ref=r.__wrapped||(r.__wrapped=e=>r(te(e)))}(o,a);const d=null==s?void 0:s.placement,f=Object.assign(i.current,{state:null==s?void 0:s.state,scheduleUpdate:null==s?void 0:s.update,placement:d,outOfBoundaries:(null==s||null==(c=s.state)||null==(u=c.modifiersData.hide)?void 0:u.isReferenceHidden)||!1});return"function"==typeof e?e({...o,placement:d,show:l,...!r&&l&&{className:"show"},popper:f,arrowProps:a}):n.cloneElement(e,{...o,placement:d,arrowProps:a,popper:f,className:t()(e.props.className,!r&&l&&"show"),style:{...e.props.style,...o.style}})}})}));Us.displayName="Overlay",Us.defaultProps=Vs;const qs=Us;function Gs(e,t,n){const[r]=t,o=r.currentTarget,a=r.relatedTarget||r.nativeEvent[n];a&&a===o||hr(o,a)||e(...t)}function Xs({trigger:e,overlay:t,children:r,popperConfig:o={},show:a,defaultShow:s=!1,onToggle:i,delay:l,placement:c,flip:u=c&&-1!==c.indexOf("auto"),...d}){const p=(0,n.useRef)(null),v=ee(p,r.ref),h=Ft(),b=(0,n.useRef)(""),[g,x]=f(a,s,i),y=function(e){return e&&"object"==typeof e?e:{show:e,hide:e}}(l),{onFocus:w,onBlur:E,onClick:N}="function"!=typeof r?n.Children.only(r).props:{},C=(0,n.useCallback)((()=>{h.clear(),b.current="show",y.show?h.set((()=>{"show"===b.current&&x(!0)}),y.show):x(!0)}),[y.show,x,h]),j=(0,n.useCallback)((()=>{h.clear(),b.current="hide",y.hide?h.set((()=>{"hide"===b.current&&x(!1)}),y.hide):x(!1)}),[y.hide,x,h]),O=(0,n.useCallback)(((...e)=>{C(),null==w||w(...e)}),[C,w]),P=(0,n.useCallback)(((...e)=>{j(),null==E||E(...e)}),[j,E]),k=(0,n.useCallback)(((...e)=>{x(!g),null==N||N(...e)}),[N,x,g]),R=(0,n.useCallback)(((...e)=>{Gs(C,e,"fromElement")}),[C]),T=(0,n.useCallback)(((...e)=>{Gs(j,e,"toElement")}),[j]),$=null==e?[]:[].concat(e),S={ref:e=>{v(te(e))}};return-1!==$.indexOf("click")&&(S.onClick=k),-1!==$.indexOf("focus")&&(S.onFocus=O,S.onBlur=P),-1!==$.indexOf("hover")&&(S.onMouseOver=R,S.onMouseOut=T),(0,m.jsxs)(m.Fragment,{children:["function"==typeof r?r(S):(0,n.cloneElement)(r,S),(0,m.jsx)(qs,{...d,show:g,onHide:j,flip:u,placement:c,popperConfig:o,target:p.current,children:t})]})}Xs.defaultProps={defaultShow:!1,trigger:["hover","focus"]};const Ys=Xs,Zs=n.forwardRef((({active:e,disabled:n,className:r,style:o,activeLabel:a,children:s,...i},l)=>{const c=e||n?"span":Ke;return(0,m.jsx)("li",{ref:l,style:o,className:t()(r,"page-item",{active:e,disabled:n}),children:(0,m.jsxs)(c,{className:"page-link",disabled:n,...i,children:[s,e&&a&&(0,m.jsx)("span",{className:"visually-hidden",children:a})]})})}));Zs.defaultProps={active:!1,disabled:!1,activeLabel:"(current)"},Zs.displayName="PageItem";const Js=Zs;function Qs(e,t,n=e){function r({children:e,...r}){return(0,m.jsxs)(Zs,{...r,children:[(0,m.jsx)("span",{"aria-hidden":"true",children:e||t}),(0,m.jsx)("span",{className:"visually-hidden",children:n})]})}return r.displayName=e,r}const ei=Qs("First","«"),ti=Qs("Prev","‹","Previous"),ni=Qs("Ellipsis","…","More"),ri=Qs("Next","›"),oi=Qs("Last","»"),ai=n.forwardRef((({bsPrefix:e,className:n,size:r,...o},a)=>{const s=x(e,"pagination");return(0,m.jsx)("ul",{ref:a,...o,className:t()(n,s,r&&`${s}-${r}`)})}));ai.displayName="Pagination";const si=Object.assign(ai,{First:ei,Prev:ti,Ellipsis:ni,Item:Js,Next:ri,Last:oi});function ii({animation:e,bg:n,bsPrefix:r,size:o,...a}){r=x(r,"placeholder");const[{className:s,...i}]=Gt(a);return{...i,className:t()(s,e?`${r}-${e}`:r,o&&`${r}-${o}`,n&&`bg-${n}`)}}const li=n.forwardRef(((e,t)=>{const n=ii(e);return(0,m.jsx)(pt,{...n,ref:t,disabled:!0,tabIndex:-1})}));li.displayName="PlaceholderButton";const ci=li,ui=n.forwardRef((({as:e="span",...t},n)=>{const r=ii(t);return(0,m.jsx)(e,{...r,ref:n})}));ui.displayName="Placeholder";const di=Object.assign(ui,{Button:ci});function fi(e,t,n){const r=(e-t)/(n-t)*100;return Math.round(1e3*r)/1e3}function pi({min:e,now:n,max:r,label:o,visuallyHidden:a,striped:s,animated:i,className:l,style:c,variant:u,bsPrefix:d,...f},p){return(0,m.jsx)("div",{ref:p,...f,role:"progressbar",className:t()(l,`${d}-bar`,{[`bg-${u}`]:u,[`${d}-bar-animated`]:i,[`${d}-bar-striped`]:i||s}),style:{width:`${fi(n,e,r)}%`,...c},"aria-valuenow":n,"aria-valuemin":e,"aria-valuemax":r,children:a?(0,m.jsx)("span",{className:"visually-hidden",children:o}):o})}const mi=n.forwardRef((({isChild:e,...r},o)=>{if(r.bsPrefix=x(r.bsPrefix,"progress"),e)return pi(r,o);const{min:a,now:s,max:i,label:l,visuallyHidden:c,striped:u,animated:d,bsPrefix:f,variant:p,className:v,children:h,...b}=r;return(0,m.jsx)("div",{ref:o,...b,className:t()(v,f),children:h?Wt(h,(e=>(0,n.cloneElement)(e,{isChild:!0}))):pi({min:a,now:s,max:i,label:l,visuallyHidden:c,striped:u,animated:d,bsPrefix:f,variant:p},o)})}));mi.displayName="ProgressBar",mi.defaultProps={min:0,max:100,animated:!1,isChild:!1,visuallyHidden:!1,striped:!1};const vi=mi,hi=n.forwardRef((({bsPrefix:e,className:r,children:o,aspectRatio:a,style:s,...i},l)=>{e=x(e,"ratio");const c="number"==typeof a;return(0,m.jsx)("div",{ref:l,...i,style:{...s,...c&&{"--bs-aspect-ratio":(u=a,u<=0||u>100?"100%":u<1?100*u+"%":`${u}%`)}},className:t()(e,r,!c&&`${e}-${a}`),children:n.Children.only(o)});var u}));hi.defaultProps={aspectRatio:"1x1"};const bi=hi,gi=n.forwardRef((({bsPrefix:e,className:n,as:r="div",...o},a)=>{const s=x(e,"row"),i=y(),l=`${s}-cols`,c=[];return i.forEach((e=>{const t=o[e];let n;delete o[e],null!=t&&"object"==typeof t?({cols:n}=t):n=t;const r="xs"!==e?`-${e}`:"";null!=n&&c.push(`${l}${r}-${n}`)})),(0,m.jsx)(r,{ref:a,...o,className:t()(n,s,...c)})}));gi.displayName="Row";const xi=gi,yi=n.forwardRef((({bsPrefix:e,variant:n,animation:r,size:o,as:a="div",className:s,...i},l)=>{const c=`${e=x(e,"spinner")}-${r}`;return(0,m.jsx)(a,{ref:l,...i,className:t()(s,c,o&&`${c}-${o}`,n&&`text-${n}`)})}));yi.displayName="Spinner";const wi=yi,Ei={id:Ve().string,toggleLabel:Ve().string,href:Ve().string,target:Ve().string,onClick:Ve().func,title:Ve().node.isRequired,type:Ve().string,disabled:Ve().bool,align:yo,menuRole:Ve().string,renderMenuOnMount:Ve().bool,rootCloseEvent:Ve().string,bsPrefix:Ve().string,variant:Ve().string,size:Ve().string},Ni=n.forwardRef((({id:e,bsPrefix:t,size:n,variant:r,title:o,type:a,toggleLabel:s,children:i,onClick:l,href:c,target:u,menuRole:d,renderMenuOnMount:f,rootCloseEvent:p,...v},h)=>(0,m.jsxs)(go,{ref:h,...v,as:vt,children:[(0,m.jsx)(pt,{size:n,variant:r,disabled:v.disabled,bsPrefix:t,href:c,target:u,onClick:l,type:a,children:o}),(0,m.jsx)(go.Toggle,{split:!0,id:e,size:n,variant:r,disabled:v.disabled,childBsPrefix:t,children:(0,m.jsx)("span",{className:"visually-hidden",children:s})}),(0,m.jsx)(go.Menu,{role:d,renderOnMount:f,rootCloseEvent:p,children:i})]})));Ni.propTypes=Ei,Ni.defaultProps={toggleLabel:"Toggle dropdown",type:"button"},Ni.displayName="SplitButton";const Ci=Ni,ji=function(e){let t=(0,n.useContext)($r),o=(0,n.useMemo)((()=>({prefix:t===Tr?0:++t.prefix,current:0})),[t]);return r().createElement($r.Provider,{value:o},e.children)};function Oi(e,t=v){const n=[];return Object.entries(e).forEach((([e,r])=>{null!=r&&("object"==typeof r?t.forEach((t=>{const o=r[t];if(null!=o){const r="xs"!==t?`-${t}`:"";n.push(`${e}${r}-${o}`)}})):n.push(`${e}-${r}`))})),n}const Pi=n.forwardRef((({as:e="div",bsPrefix:n,className:r,direction:o,gap:a,...s},i)=>{n=x(n,"horizontal"===o?"hstack":"vstack");const l=y();return(0,m.jsx)(e,{...s,ref:i,className:t()(r,n,...Oi({gap:a,breakpoints:l}))})}));Pi.displayName="Stack";const ki=Pi,Ri=function({children:e,in:t,mountOnEnter:r,unmountOnExit:o}){const a=(0,n.useRef)(t);return(0,n.useEffect)((()=>{t&&(a.current=!0)}),[t]),t?e:o||!a.current&&r?null:e},Ti=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],$i=["activeKey","getControlledId","getControllerId"],Si=["as"];function Mi(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Di(e){let{active:t,eventKey:r,mountOnEnter:o,transition:a,unmountOnExit:s,role:i="tabpanel",onEnter:l,onEntering:c,onEntered:u,onExit:d,onExiting:f,onExited:p}=e,m=Mi(e,Ti);const v=(0,n.useContext)(pa);if(!v)return[Object.assign({},m,{role:i}),{eventKey:r,isActive:t,mountOnEnter:o,transition:a,unmountOnExit:s,onEnter:l,onEntering:c,onEntered:u,onExit:d,onExiting:f,onExited:p}];const{activeKey:h,getControlledId:b,getControllerId:g}=v,x=Mi(v,$i),y=Fr(r);return[Object.assign({},m,{role:i,id:b(r),"aria-labelledby":g(r)}),{eventKey:r,isActive:null==t&&null!=y?Fr(h)===y:t,transition:a||x.transition,mountOnEnter:null!=o?o:x.mountOnEnter,unmountOnExit:null!=s?s:x.unmountOnExit,onEnter:l,onEntering:c,onEntered:u,onExit:d,onExiting:f,onExited:p}]}const Ii=n.forwardRef(((e,t)=>{let{as:n="div"}=e,r=Mi(e,Si);const[o,{isActive:a,onEnter:s,onEntering:i,onEntered:l,onExit:c,onExiting:u,onExited:d,mountOnEnter:f,unmountOnExit:p,transition:v=Ri}]=Di(r);return(0,m.jsx)(pa.Provider,{value:null,children:(0,m.jsx)(Kr.Provider,{value:null,children:(0,m.jsx)(v,{in:a,onEnter:s,onEntering:i,onEntered:l,onExit:c,onExiting:u,onExited:d,mountOnEnter:f,unmountOnExit:p,children:(0,m.jsx)(n,Object.assign({},o,{ref:t,hidden:!a,"aria-hidden":!a}))})})})}));Ii.displayName="TabPanel";const Li=e=>{const{id:t,generateChildId:r,onSelect:o,activeKey:a,defaultActiveKey:s,transition:i,mountOnEnter:l,unmountOnExit:c,children:u}=e,[d,p]=f(a,s,o),v=Mr(t),h=(0,n.useMemo)((()=>r||((e,t)=>v?`${v}-${t}-${e}`:null)),[v,r]),b=(0,n.useMemo)((()=>({onSelect:p,activeKey:d,transition:i,mountOnEnter:l||!1,unmountOnExit:c||!1,getControlledId:e=>h(e,"tabpane"),getControllerId:e=>h(e,"tab")})),[p,d,i,l,c,h]);return(0,m.jsx)(pa.Provider,{value:b,children:(0,m.jsx)(Kr.Provider,{value:p||null,children:u})})};Li.Panel=Ii;const Ai=Li;function Bi(e){return"boolean"==typeof e?e?We:void 0:e}const Fi=({transition:e,...t})=>(0,m.jsx)(Ai,{...t,transition:Bi(e)});Fi.displayName="TabContainer";const Ki=Fi,Hi=Je("tab-content"),_i=n.forwardRef((({bsPrefix:e,transition:n,...r},o)=>{const[{className:a,as:s="div",...i},{isActive:l,onEnter:c,onEntering:u,onEntered:d,onExit:f,onExiting:p,onExited:v,mountOnEnter:h,unmountOnExit:b,transition:g=We}]=Di({...r,transition:Bi(n)}),y=x(e,"tab-pane");return(0,m.jsx)(pa.Provider,{value:null,children:(0,m.jsx)(Kr.Provider,{value:null,children:(0,m.jsx)(g,{in:l,onEnter:c,onEntering:u,onEntered:d,onExit:f,onExiting:p,onExited:v,mountOnEnter:h,unmountOnExit:b,children:(0,m.jsx)(s,{...i,ref:o,className:t()(a,y,l&&"active")})})})})}));_i.displayName="TabPane";const Wi=_i,zi={eventKey:Ve().oneOfType([Ve().string,Ve().number]),title:Ve().node.isRequired,disabled:Ve().bool,tabClassName:Ve().string,tabAttrs:Ve().object},Vi=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};Vi.propTypes=zi;const Ui=Object.assign(Vi,{Container:Ki,Content:Hi,Pane:Wi}),qi=n.forwardRef((({bsPrefix:e,className:n,striped:r,bordered:o,borderless:a,hover:s,size:i,variant:l,responsive:c,...u},d)=>{const f=x(e,"table"),p=t()(n,f,l&&`${f}-${l}`,i&&`${f}-${i}`,r&&`${f}-striped`,o&&`${f}-bordered`,a&&`${f}-borderless`,s&&`${f}-hover`),v=(0,m.jsx)("table",{...u,className:p,ref:d});if(c){let e=`${f}-responsive`;return"string"==typeof c&&(e=`${e}-${c}`),(0,m.jsx)("div",{className:e,children:v})}return v}));function Gi(e){let t;return zt(e,(e=>{null==t&&(t=e.props.eventKey)})),t}function Xi(e){const{title:t,eventKey:n,disabled:r,tabClassName:o,tabAttrs:a,id:s}=e.props;return null==t?null:(0,m.jsx)(ls,{as:"li",role:"presentation",children:(0,m.jsx)(us,{as:"button",type:"button",eventKey:n,disabled:r,id:s,className:o,...a,children:t})})}const Yi=e=>{const{id:t,onSelect:n,transition:r,mountOnEnter:o,unmountOnExit:a,children:s,activeKey:i=Gi(s),...l}=p(e,{activeKey:"onSelect"});return(0,m.jsxs)(Ai,{id:t,activeKey:i,onSelect:n,transition:Bi(r),mountOnEnter:o,unmountOnExit:a,children:[(0,m.jsx)(fs,{...l,role:"tablist",as:"ul",children:Wt(s,Xi)}),(0,m.jsx)(Hi,{children:Wt(s,(e=>{const t={...e.props};return delete t.title,delete t.disabled,delete t.tabClassName,delete t.tabAttrs,(0,m.jsx)(Wi,{...t})}))})]})};Yi.defaultProps={variant:"tabs",mountOnEnter:!1,unmountOnExit:!1},Yi.displayName="Tabs";const Zi=Yi,Ji={[I]:"showing",[A]:"showing show"},Qi=n.forwardRef(((e,t)=>(0,m.jsx)(We,{...e,ref:t,transitionClasses:Ji})));Qi.displayName="ToastFade";const el=Qi,tl=n.createContext({onClose(){}}),nl=n.forwardRef((({bsPrefix:e,closeLabel:r,closeVariant:o,closeButton:a,className:s,children:i,...l},c)=>{e=x(e,"toast-header");const u=(0,n.useContext)(tl),d=ke((e=>{null==u||null==u.onClose||u.onClose(e)}));return(0,m.jsxs)("div",{ref:c,...l,className:t()(e,s),children:[i,a&&(0,m.jsx)(Ge,{"aria-label":r,variant:o,onClick:d,"data-dismiss":"toast"})]})}));nl.displayName="ToastHeader",nl.defaultProps={closeLabel:"Close",closeButton:!0};const rl=nl,ol=Je("toast-body"),al=n.forwardRef((({bsPrefix:e,className:r,transition:o=el,show:a=!0,animation:s=!0,delay:i=5e3,autohide:l=!1,onClose:c,bg:u,...d},f)=>{e=x(e,"toast");const p=(0,n.useRef)(i),v=(0,n.useRef)(c);(0,n.useEffect)((()=>{p.current=i,v.current=c}),[i,c]);const h=Ft(),b=!(!l||!a),g=(0,n.useCallback)((()=>{b&&(null==v.current||v.current())}),[b]);(0,n.useEffect)((()=>{h.set(g,p.current)}),[h,g]);const y=(0,n.useMemo)((()=>({onClose:c})),[c]),w=!(!o||!s),E=(0,m.jsx)("div",{...d,ref:f,className:t()(e,r,u&&`bg-${u}`,!w&&(a?"show":"hide")),role:"alert","aria-live":"assertive","aria-atomic":"true"});return(0,m.jsx)(tl.Provider,{value:y,children:w&&o?(0,m.jsx)(o,{in:a,unmountOnExit:!0,children:E}):E})}));al.displayName="Toast";const sl=Object.assign(al,{Body:ol,Header:rl}),il={"top-start":"top-0 start-0","top-center":"top-0 start-50 translate-middle-x","top-end":"top-0 end-0","middle-start":"top-50 start-0 translate-middle-y","middle-center":"top-50 start-50 translate-middle","middle-end":"top-50 end-0 translate-middle-y","bottom-start":"bottom-0 start-0","bottom-center":"bottom-0 start-50 translate-middle-x","bottom-end":"bottom-0 end-0"},ll=n.forwardRef((({bsPrefix:e,position:n,className:r,as:o="div",...a},s)=>(e=x(e,"toast-container"),(0,m.jsx)(o,{ref:s,...a,className:t()(e,n&&`position-absolute ${il[n]}`,r)}))));ll.displayName="ToastContainer";const cl=ll,ul=()=>{},dl=n.forwardRef((({bsPrefix:e,name:n,className:r,checked:o,type:a,onChange:s,value:i,disabled:l,id:c,inputRef:u,...d},f)=>(e=x(e,"btn-check"),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("input",{className:e,name:n,type:a,value:i,ref:u,autoComplete:"off",checked:!!o,disabled:!!l,onChange:s||ul,id:c}),(0,m.jsx)(pt,{...d,ref:f,className:t()(r,l&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:c})]}))));dl.displayName="ToggleButton";const fl=dl,pl=n.forwardRef(((e,t)=>{const{children:r,type:o,name:a,value:s,onChange:i,...l}=p(e,{value:"onChange"}),u=()=>null==s?[]:[].concat(s);return"radio"!==o||a||c()(!1),(0,m.jsx)(vt,{...l,ref:t,children:Wt(r,(e=>{const t=u(),{value:r,onChange:s}=e.props;return n.cloneElement(e,{type:o,name:e.name||a,checked:-1!==t.indexOf(r),onChange:Z(s,(e=>((e,t)=>{if(!i)return;const n=u(),r=-1!==n.indexOf(e);"radio"!==o?i(r?n.filter((t=>t!==e)):[...n,e],t):!r&&i&&i(e,t)})(r,e)))})}))})}));pl.defaultProps={type:"radio",vertical:!1};const ml=Object.assign(pl,{Button:fl}),vl=n.forwardRef((({bsPrefix:e,placement:n,className:r,style:o,children:a,arrowProps:s,popper:i,show:l,...c},u)=>{e=x(e,"tooltip");const d=w(),[f]=(null==n?void 0:n.split("-"))||[],p=_s(f,d);return(0,m.jsxs)("div",{ref:u,style:o,role:"tooltip","x-placement":f,className:t()(r,e,`bs-tooltip-${p}`),...c,children:[(0,m.jsx)("div",{className:"tooltip-arrow",...s}),(0,m.jsx)("div",{className:`${e}-inner`,children:a})]})}));vl.defaultProps={placement:"right"},vl.displayName="Tooltip";const hl=vl})(),a})()}));
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react"),require("react-dom")):e.ReactBootstrap=t(e.React,e.ReactDOM)}(self,(function(e,t){return(()=>{var n={814:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var s=o.apply(null,n);s&&e.push(s)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var i in n)r.call(n,i)&&n[i]&&e.push(i);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},286:e=>{"use strict";e.exports=function(e,t,n,r,o,a,s,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,s,i],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},946:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];function r(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=null;return t.forEach((function(e){if(null==o){var t=e.apply(void 0,n);null!=t&&(o=t)}})),o}return(0,o.default)(r)};var r,o=(r=n(844))&&r.__esModule?r:{default:r};e.exports=t.default},844:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,o,a,s){var i=o||"<<anonymous>>",l=s||r;if(null==n[r])return t?new Error("Required "+a+" `"+l+"` was not specified in `"+i+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[n,r,i,a,l].concat(u))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},428:(e,t,n)=>{"use strict";var r=n(134);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,s){if(s!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},526:(e,t,n)=>{e.exports=n(428)()},134:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},356:(e,t,n)=>{"use strict";var r=n(787),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),t.Fragment=a("react.fragment")}var s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,a={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:s.current}}t.jsx=c,t.jsxs=c},373:(e,t,n)=>{"use strict";e.exports=n(356)},459:e=>{"use strict";e.exports=function(){}},787:t=>{"use strict";t.exports=e},156:e=>{"use strict";e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.r(a),o.d(a,{Accordion:()=>Oe,AccordionButton:()=>ye,AccordionCollapse:()=>pe,AccordionContext:()=>de,Alert:()=>ot,Anchor:()=>at,Badge:()=>it,Breadcrumb:()=>dt,BreadcrumbItem:()=>ct,Button:()=>pt,ButtonGroup:()=>vt,ButtonToolbar:()=>bt,Card:()=>Dt,CardGroup:()=>It,CardImg:()=>xt,Carousel:()=>qt,CarouselItem:()=>_t,CloseButton:()=>Ge,Col:()=>Yt,Collapse:()=>le,Container:()=>ra,Dropdown:()=>yo,DropdownButton:()=>jo,Fade:()=>We,Figure:()=>da,FloatingLabel:()=>Jo,Form:()=>ta,FormCheck:()=>Io,FormControl:()=>Ao,FormFloating:()=>Bo,FormGroup:()=>Ko,FormLabel:()=>_o,FormSelect:()=>Uo,FormText:()=>Go,Image:()=>sa,InputGroup:()=>ma,ListGroup:()=>Ta,ListGroupItem:()=>ka,Modal:()=>ds,ModalBody:()=>Za,ModalDialog:()=>es,ModalFooter:()=>ts,ModalHeader:()=>as,ModalTitle:()=>ss,Nav:()=>hs,NavDropdown:()=>Ks,NavItem:()=>fs,NavLink:()=>ms,Navbar:()=>Bs,NavbarBrand:()=>gs,Offcanvas:()=>Ms,OffcanvasBody:()=>Ns,OffcanvasHeader:()=>ks,OffcanvasTitle:()=>Rs,Overlay:()=>Zs,OverlayTrigger:()=>ei,PageItem:()=>ni,Pagination:()=>ui,Placeholder:()=>vi,PlaceholderButton:()=>pi,Popover:()=>Gs,PopoverBody:()=>Vs,PopoverHeader:()=>zs,ProgressBar:()=>xi,Ratio:()=>wi,Row:()=>Ni,SSRProvider:()=>Ri,Spinner:()=>ji,SplitButton:()=>ki,Stack:()=>Si,Tab:()=>Yi,TabContainer:()=>zi,TabContent:()=>Vi,TabPane:()=>qi,Table:()=>Zi,Tabs:()=>tl,ThemeProvider:()=>E,Toast:()=>ul,ToastBody:()=>ll,ToastContainer:()=>pl,ToastHeader:()=>il,ToggleButton:()=>hl,ToggleButtonGroup:()=>gl,Tooltip:()=>yl,useAccordionButton:()=>ge});var e=o(814),t=o.n(e),n=o(787),r=o.n(n);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var l=o(286),c=o.n(l);function u(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function d(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function f(e,t,r){var o=(0,n.useRef)(void 0!==e),a=(0,n.useState)(t),s=a[0],i=a[1],l=void 0!==e,c=o.current;return o.current=l,!l&&c&&s!==t&&i(t),[l?e:s,(0,n.useCallback)((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];r&&r.apply(void 0,[e].concat(n)),i(e)}),[r])]}function p(e,t){return Object.keys(t).reduce((function(n,r){var o,a=n,l=a[u(r)],c=a[r],p=i(a,[u(r),r].map(d)),m=t[r],v=f(c,l,e[m]),h=v[0],b=v[1];return s({},p,((o={})[r]=h,o[m]=b,o))}),e)}var m=o(373);const v=["xxl","xl","lg","md","sm","xs"],h=n.createContext({prefixes:{},breakpoints:v}),{Consumer:b,Provider:g}=h;function x(e,t){const{prefixes:r}=(0,n.useContext)(h);return e||r[t]||t}function y(){const{breakpoints:e}=(0,n.useContext)(h);return e}function w(){const{dir:e}=(0,n.useContext)(h);return"rtl"===e}const E=function({prefixes:e={},breakpoints:t=v,dir:r,children:o}){const a=(0,n.useMemo)((()=>({prefixes:{...e},breakpoints:t,dir:r})),[e,t,r]);return(0,m.jsx)(g,{value:a,children:o})};function N(e){return e&&e.ownerDocument||document}var C=/([A-Z])/g,j=/^ms-/;function O(e){return function(e){return e.replace(C,"-$1").toLowerCase()}(e).replace(j,"-ms-")}var P=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const k=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(O(t))||function(e,t){return function(e){var t=N(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}(e).getPropertyValue(O(t));Object.keys(t).forEach((function(o){var a=t[o];a||0===a?function(e){return!(!e||!P.test(e))}(o)?r+=o+"("+a+") ":n+=O(o)+": "+a+";":e.style.removeProperty(O(o))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var T=o(156),$=o.n(T);const S=r().createContext(null);var M="unmounted",D="exited",I="entering",L="entered",A="exiting",B=function(e){var t,n;function o(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=D,r.appearStatus=I):o=L:o=t.unmountOnExit||t.mountOnEnter?M:D,r.state={status:o},r.nextCallback=null,r}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===M?{status:D}:null};var a=o.prototype;return a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==I&&n!==L&&(t=I):n!==I&&n!==L||(t=A)}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},a.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===I?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===D&&this.setState({status:M})},a.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[$().findDOMNode(this),r],a=o[0],s=o[1],i=this.getTimeouts(),l=r?i.appear:i.enter;e||n?(this.props.onEnter(a,s),this.safeSetState({status:I},(function(){t.props.onEntering(a,s),t.onTransitionEnd(l,(function(){t.safeSetState({status:L},(function(){t.props.onEntered(a,s)}))}))}))):this.safeSetState({status:L},(function(){t.props.onEntered(a)}))},a.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:$().findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:A},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:D},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:D},(function(){e.props.onExited(r)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:$().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],s=o[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if(e===M)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,i(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r().createElement(S.Provider,{value:null},"function"==typeof n?n(e,o):r().cloneElement(r().Children.only(n),o))},o}(r().Component);function F(){}B.contextType=S,B.propTypes={},B.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:F,onEntering:F,onEntered:F,onExit:F,onExiting:F,onExited:F},B.UNMOUNTED=M,B.EXITED=D,B.ENTERING=I,B.ENTERED=L,B.EXITING=A;const K=B,H=!("undefined"==typeof window||!window.document||!window.document.createElement);var _=!1,W=!1;try{var z={get passive(){return _=!0},get once(){return W=_=!0}};H&&(window.addEventListener("test",z,z),window.removeEventListener("test",z,!0))}catch(e){}const V=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!W){var o=r.once,a=r.capture,s=n;!W&&o&&(s=n.__once||function e(r){this.removeEventListener(t,e,a),n.call(this,r)},n.__once=s),e.addEventListener(t,s,_?r:a)}e.addEventListener(t,n,r)},U=function(e,t,n,r){var o=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)},q=function(e,t,n,r){return V(e,t,n,r),function(){U(e,t,n,r)}};function G(e,t,n,r){var o,a;null==n&&(a=-1===(o=k(e,"transitionDuration")||"").indexOf("ms")?1e3:1,n=parseFloat(o)*a||0);var s=function(e,t,n){void 0===n&&(n=5);var r=!1,o=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent("transitionend",n,r),e.dispatchEvent(o)}}(e,0,!0)}),t+n),a=q(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(o),a()}}(e,n,r),i=q(e,"transitionend",t);return function(){s(),i()}}function X(e,t){const n=k(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function Y(e,t){const n=X(e,"transitionDuration"),r=X(e,"transitionDelay"),o=G(e,(n=>{n.target===e&&(o(),t(n))}),n+r)}const Z=function(...e){return e.filter((e=>null!=e)).reduce(((e,t)=>{if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(...n){e.apply(this,n),t.apply(this,n)}}),null)};function J(e){e.offsetHeight}var Q=function(e){return e&&"function"!=typeof e?function(t){e.current=t}:e};const ee=function(e,t){return(0,n.useMemo)((function(){return function(e,t){var n=Q(e),r=Q(t);return function(e){n&&n(e),r&&r(e)}}(e,t)}),[e,t])};function te(e){return e&&"setState"in e?$().findDOMNode(e):null!=e?e:null}const ne=r().forwardRef((({onEnter:e,onEntering:t,onEntered:o,onExit:a,onExiting:s,onExited:i,addEndListener:l,children:c,childRef:u,...d},f)=>{const p=(0,n.useRef)(null),v=ee(p,u),h=e=>{v(te(e))},b=e=>t=>{e&&p.current&&e(p.current,t)},g=(0,n.useCallback)(b(e),[e]),x=(0,n.useCallback)(b(t),[t]),y=(0,n.useCallback)(b(o),[o]),w=(0,n.useCallback)(b(a),[a]),E=(0,n.useCallback)(b(s),[s]),N=(0,n.useCallback)(b(i),[i]),C=(0,n.useCallback)(b(l),[l]);return(0,m.jsx)(K,{ref:f,...d,onEnter:g,onEntered:y,onEntering:x,onExit:w,onExited:N,onExiting:E,addEndListener:C,nodeRef:p,children:"function"==typeof c?(e,t)=>c(e,{...t,ref:h}):r().cloneElement(c,{ref:h})})})),re={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function oe(e,t){const n=t[`offset${e[0].toUpperCase()}${e.slice(1)}`],r=re[e];return n+parseInt(k(t,r[0]),10)+parseInt(k(t,r[1]),10)}const ae={[D]:"collapse",[A]:"collapsing",[I]:"collapsing",[L]:"collapse show"},se={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:oe},ie=r().forwardRef((({onEnter:e,onEntering:o,onEntered:a,onExit:s,onExiting:i,className:l,children:c,dimension:u="height",getDimensionValue:d=oe,...f},p)=>{const v="function"==typeof u?u():u,h=(0,n.useMemo)((()=>Z((e=>{e.style[v]="0"}),e)),[v,e]),b=(0,n.useMemo)((()=>Z((e=>{const t=`scroll${v[0].toUpperCase()}${v.slice(1)}`;e.style[v]=`${e[t]}px`}),o)),[v,o]),g=(0,n.useMemo)((()=>Z((e=>{e.style[v]=null}),a)),[v,a]),x=(0,n.useMemo)((()=>Z((e=>{e.style[v]=`${d(v,e)}px`,J(e)}),s)),[s,d,v]),y=(0,n.useMemo)((()=>Z((e=>{e.style[v]=null}),i)),[v,i]);return(0,m.jsx)(ne,{ref:p,addEndListener:Y,...f,"aria-expanded":f.role?f.in:null,onEnter:h,onEntering:b,onEntered:g,onExit:x,onExiting:y,childRef:c.ref,children:(e,n)=>r().cloneElement(c,{...n,className:t()(l,c.props.className,ae[e],"width"===v&&"collapse-horizontal")})})}));ie.defaultProps=se;const le=ie;function ce(e,t){return Array.isArray(e)?e.includes(t):e===t}const ue=n.createContext({});ue.displayName="AccordionContext";const de=ue,fe=n.forwardRef((({as:e="div",bsPrefix:r,className:o,children:a,eventKey:s,...i},l)=>{const{activeEventKey:c}=(0,n.useContext)(de);return r=x(r,"accordion-collapse"),(0,m.jsx)(le,{ref:l,in:ce(c,s),...i,className:t()(o,r),children:(0,m.jsx)(e,{children:n.Children.only(a)})})}));fe.displayName="AccordionCollapse";const pe=fe,me=n.createContext({eventKey:""});me.displayName="AccordionItemContext";const ve=me,he=n.forwardRef((({as:e="div",bsPrefix:r,className:o,...a},s)=>{r=x(r,"accordion-body");const{eventKey:i}=(0,n.useContext)(ve);return(0,m.jsx)(pe,{eventKey:i,children:(0,m.jsx)(e,{ref:s,...a,className:t()(o,r)})})}));he.displayName="AccordionBody";const be=he;function ge(e,t){const{activeEventKey:r,onSelect:o,alwaysOpen:a}=(0,n.useContext)(de);return n=>{let s=e===r?null:e;a&&(s=Array.isArray(r)?r.includes(e)?r.filter((t=>t!==e)):[...r,e]:[e]),null==o||o(s,n),null==t||t(n)}}const xe=n.forwardRef((({as:e="button",bsPrefix:r,className:o,onClick:a,...s},i)=>{r=x(r,"accordion-button");const{eventKey:l}=(0,n.useContext)(ve),c=ge(l,a),{activeEventKey:u}=(0,n.useContext)(de);return"button"===e&&(s.type="button"),(0,m.jsx)(e,{ref:i,onClick:c,...s,"aria-expanded":l===u,className:t()(o,r,!ce(u,l)&&"collapsed")})}));xe.displayName="AccordionButton";const ye=xe,we=n.forwardRef((({as:e="h2",bsPrefix:n,className:r,children:o,onClick:a,...s},i)=>(n=x(n,"accordion-header"),(0,m.jsx)(e,{ref:i,...s,className:t()(r,n),children:(0,m.jsx)(ye,{onClick:a,children:o})}))));we.displayName="AccordionHeader";const Ee=we,Ne=n.forwardRef((({as:e="div",bsPrefix:r,className:o,eventKey:a,...s},i)=>{r=x(r,"accordion-item");const l=(0,n.useMemo)((()=>({eventKey:a})),[a]);return(0,m.jsx)(ve.Provider,{value:l,children:(0,m.jsx)(e,{ref:i,...s,className:t()(o,r)})})}));Ne.displayName="AccordionItem";const Ce=Ne,je=n.forwardRef(((e,r)=>{const{as:o="div",activeKey:a,bsPrefix:s,className:i,onSelect:l,flush:c,alwaysOpen:u,...d}=p(e,{activeKey:"onSelect"}),f=x(s,"accordion"),v=(0,n.useMemo)((()=>({activeEventKey:a,onSelect:l,alwaysOpen:u})),[a,l,u]);return(0,m.jsx)(de.Provider,{value:v,children:(0,m.jsx)(o,{ref:r,...d,className:t()(i,f,c&&`${f}-flush`)})})}));je.displayName="Accordion";const Oe=Object.assign(je,{Button:ye,Collapse:pe,Item:Ce,Header:Ee,Body:be}),Pe=function(e){var t=(0,n.useRef)(e);return(0,n.useEffect)((function(){t.current=e}),[e]),t};function ke(e){var t=Pe(e);return(0,n.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}function Re(){return(0,n.useState)(null)}function Te(e){var t=function(e){var t=(0,n.useRef)(e);return(0,n.useEffect)((function(){t.current=e}),[e]),t}(e);return(0,n.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}function $e(){var e=(0,n.useRef)(!0),t=(0,n.useRef)((function(){return e.current}));return(0,n.useEffect)((function(){return function(){e.current=!1}}),[]),t.current}function Se(e){var t=(0,n.useRef)(null);return(0,n.useEffect)((function(){t.current=e})),t.current}var Me=void 0!==o.g&&o.g.navigator&&"ReactNative"===o.g.navigator.product;"undefined"!=typeof document||Me?n.useLayoutEffect:n.useEffect,new WeakMap;const De=["as","disabled"];function Ie({tagName:e,disabled:t,href:n,target:r,rel:o,onClick:a,tabIndex:s=0,type:i}){e||(e=null!=n||null!=r||null!=o?"a":"button");const l={tagName:e};if("button"===e)return[{type:i||"button",disabled:t},l];const c=r=>{(t||"a"===e&&function(e){return!e||"#"===e.trim()}(n))&&r.preventDefault(),t?r.stopPropagation():null==a||a(r)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:"button",disabled:void 0,tabIndex:t?void 0:s,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?o:void 0,onClick:c,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),c(e))}},l]}const Le=n.forwardRef(((e,t)=>{let{as:n,disabled:r}=e,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,De);const[a,{tagName:s}]=Ie(Object.assign({tagName:n,disabled:r},o));return(0,m.jsx)(s,Object.assign({},o,a,{ref:t}))}));Le.displayName="Button";const Ae=Le,Be=["onKeyDown"],Fe=n.forwardRef(((e,t)=>{let{onKeyDown:n}=e,r=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Be);const[o]=Ie(Object.assign({tagName:"a"},r)),a=Te((e=>{o.onKeyDown(e),null==n||n(e)}));return((s=r.href)&&"#"!==s.trim()||r.role)&&"button"!==r.role?(0,m.jsx)("a",Object.assign({ref:t},r,{onKeyDown:n})):(0,m.jsx)("a",Object.assign({ref:t},r,o,{onKeyDown:a}));var s}));Fe.displayName="Anchor";const Ke=Fe,He={[I]:"show",[L]:"show"},_e=n.forwardRef((({className:e,children:r,transitionClasses:o={},...a},s)=>{const i=(0,n.useCallback)(((e,t)=>{J(e),null==a.onEnter||a.onEnter(e,t)}),[a]);return(0,m.jsx)(ne,{ref:s,addEndListener:Y,...a,onEnter:i,childRef:r.ref,children:(a,s)=>n.cloneElement(r,{...s,className:t()("fade",e,r.props.className,He[a],o[a])})})}));_e.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},_e.displayName="Fade";const We=_e;var ze=o(526),Ve=o.n(ze);const Ue={"aria-label":Ve().string,onClick:Ve().func,variant:Ve().oneOf(["white"])},qe=n.forwardRef((({className:e,variant:n,...r},o)=>(0,m.jsx)("button",{ref:o,type:"button",className:t()("btn-close",n&&`btn-close-${n}`,e),...r})));qe.displayName="CloseButton",qe.propTypes=Ue,qe.defaultProps={"aria-label":"Close"};const Ge=qe,Xe=e=>n.forwardRef(((n,r)=>(0,m.jsx)("div",{...n,ref:r,className:t()(n.className,e)})));var Ye=/-(.)/g;const Ze=e=>{return e[0].toUpperCase()+(t=e,t.replace(Ye,(function(e,t){return t.toUpperCase()}))).slice(1);var t};function Je(e,{displayName:r=Ze(e),Component:o,defaultProps:a}={}){const s=n.forwardRef((({className:n,bsPrefix:r,as:a=o||"div",...s},i)=>{const l=x(r,e);return(0,m.jsx)(a,{ref:i,className:t()(n,l),...s})}));return s.defaultProps=a,s.displayName=r,s}const Qe=Xe("h4");Qe.displayName="DivStyledAsH4";const et=Je("alert-heading",{Component:Qe}),tt=Je("alert-link",{Component:Ke}),nt={variant:"primary",show:!0,transition:We,closeLabel:"Close alert"},rt=n.forwardRef(((e,n)=>{const{bsPrefix:r,show:o,closeLabel:a,closeVariant:s,className:i,children:l,variant:c,onClose:u,dismissible:d,transition:f,...v}=p(e,{show:"onClose"}),h=x(r,"alert"),b=ke((e=>{u&&u(!1,e)})),g=!0===f?We:f,y=(0,m.jsxs)("div",{role:"alert",...g?void 0:v,ref:n,className:t()(i,h,c&&`${h}-${c}`,d&&`${h}-dismissible`),children:[d&&(0,m.jsx)(Ge,{onClick:b,"aria-label":a,variant:s}),l]});return g?(0,m.jsx)(g,{unmountOnExit:!0,...v,ref:void 0,in:o,children:y}):o?y:null}));rt.displayName="Alert",rt.defaultProps=nt;const ot=Object.assign(rt,{Link:tt,Heading:et}),at=Ke,st=n.forwardRef((({bsPrefix:e,bg:n,pill:r,text:o,className:a,as:s="span",...i},l)=>{const c=x(e,"badge");return(0,m.jsx)(s,{ref:l,...i,className:t()(a,c,r&&"rounded-pill",o&&`text-${o}`,n&&`bg-${n}`)})}));st.displayName="Badge",st.defaultProps={bg:"primary",pill:!1};const it=st,lt=n.forwardRef((({bsPrefix:e,active:n,children:r,className:o,as:a="li",linkAs:s=Ke,linkProps:i,href:l,title:c,target:u,...d},f)=>{const p=x(e,"breadcrumb-item");return(0,m.jsx)(a,{ref:f,...d,className:t()(p,o,{active:n}),"aria-current":n?"page":void 0,children:n?r:(0,m.jsx)(s,{...i,href:l,title:c,target:u,children:r})})}));lt.displayName="BreadcrumbItem",lt.defaultProps={active:!1,linkProps:{}};const ct=lt,ut=n.forwardRef((({bsPrefix:e,className:n,listProps:r,children:o,label:a,as:s="nav",...i},l)=>{const c=x(e,"breadcrumb");return(0,m.jsx)(s,{"aria-label":a,className:n,ref:l,...i,children:(0,m.jsx)("ol",{...r,className:t()(c,null==r?void 0:r.className),children:o})})}));ut.displayName="Breadcrumb",ut.defaultProps={label:"breadcrumb",listProps:{}};const dt=Object.assign(ut,{Item:ct}),ft=n.forwardRef((({as:e,bsPrefix:n,variant:r,size:o,active:a,className:s,...i},l)=>{const c=x(n,"btn"),[u,{tagName:d}]=Ie({tagName:e,...i}),f=d;return(0,m.jsx)(f,{...u,...i,ref:l,className:t()(s,c,a&&"active",r&&`${c}-${r}`,o&&`${c}-${o}`,i.href&&i.disabled&&"disabled")})}));ft.displayName="Button",ft.defaultProps={variant:"primary",active:!1,disabled:!1};const pt=ft,mt=n.forwardRef((({bsPrefix:e,size:n,vertical:r,className:o,as:a="div",...s},i)=>{const l=x(e,"btn-group");let c=l;return r&&(c=`${l}-vertical`),(0,m.jsx)(a,{...s,ref:i,className:t()(o,c,n&&`${l}-${n}`)})}));mt.displayName="ButtonGroup",mt.defaultProps={vertical:!1,role:"group"};const vt=mt,ht=n.forwardRef((({bsPrefix:e,className:n,...r},o)=>{const a=x(e,"btn-toolbar");return(0,m.jsx)("div",{...r,ref:o,className:t()(n,a)})}));ht.displayName="ButtonToolbar",ht.defaultProps={role:"toolbar"};const bt=ht,gt=n.forwardRef((({bsPrefix:e,className:n,variant:r,as:o="img",...a},s)=>{const i=x(e,"card-img");return(0,m.jsx)(o,{ref:s,className:t()(r?`${i}-${r}`:i,n),...a})}));gt.displayName="CardImg";const xt=gt,yt=n.createContext(null);yt.displayName="CardHeaderContext";const wt=yt,Et=n.forwardRef((({bsPrefix:e,className:r,as:o="div",...a},s)=>{const i=x(e,"card-header"),l=(0,n.useMemo)((()=>({cardHeaderBsPrefix:i})),[i]);return(0,m.jsx)(wt.Provider,{value:l,children:(0,m.jsx)(o,{ref:s,...a,className:t()(r,i)})})}));Et.displayName="CardHeader";const Nt=Et,Ct=Xe("h5"),jt=Xe("h6"),Ot=Je("card-body"),Pt=Je("card-title",{Component:Ct}),kt=Je("card-subtitle",{Component:jt}),Rt=Je("card-link",{Component:"a"}),Tt=Je("card-text",{Component:"p"}),$t=Je("card-footer"),St=Je("card-img-overlay"),Mt=n.forwardRef((({bsPrefix:e,className:n,bg:r,text:o,border:a,body:s,children:i,as:l="div",...c},u)=>{const d=x(e,"card");return(0,m.jsx)(l,{ref:u,...c,className:t()(n,d,r&&`bg-${r}`,o&&`text-${o}`,a&&`border-${a}`),children:s?(0,m.jsx)(Ot,{children:i}):i})}));Mt.displayName="Card",Mt.defaultProps={body:!1};const Dt=Object.assign(Mt,{Img:xt,Title:Pt,Subtitle:kt,Body:Ot,Link:Rt,Text:Tt,Header:Nt,Footer:$t,ImgOverlay:St}),It=Je("card-group");function Lt(e){var t,r,o=(t=e,(r=(0,n.useRef)(t)).current=t,r);(0,n.useEffect)((function(){return function(){return o.current()}}),[])}var At=Math.pow(2,31)-1;function Bt(e,t,n){var r=n-Date.now();e.current=r<=At?setTimeout(t,r):setTimeout((function(){return Bt(e,t,n)}),At)}function Ft(){var e=function(){var e=(0,n.useRef)(!0),t=(0,n.useRef)((function(){return e.current}));return(0,n.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),t.current}(),t=(0,n.useRef)();return Lt((function(){return clearTimeout(t.current)})),(0,n.useMemo)((function(){var n=function(){return clearTimeout(t.current)};return{set:function(r,o){void 0===o&&(o=0),e()&&(n(),o<=At?t.current=setTimeout(r,o):Bt(t,r,Date.now()+o))},clear:n}}),[])}const Kt=Je("carousel-caption"),Ht=n.forwardRef((({as:e="div",bsPrefix:n,className:r,...o},a)=>{const s=t()(r,x(n,"carousel-item"));return(0,m.jsx)(e,{ref:a,...o,className:s})}));Ht.displayName="CarouselItem";const _t=Ht;function Wt(e,t){let r=0;return n.Children.map(e,(e=>n.isValidElement(e)?t(e,r++):e))}function zt(e,t){let r=0;n.Children.forEach(e,(e=>{n.isValidElement(e)&&t(e,r++)}))}const Vt={slide:!0,fade:!1,controls:!0,indicators:!0,indicatorLabels:[],defaultActiveIndex:0,interval:5e3,keyboard:!0,pause:"hover",wrap:!0,touch:!0,prevIcon:(0,m.jsx)("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:"Previous",nextIcon:(0,m.jsx)("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:"Next"},Ut=n.forwardRef(((e,r)=>{const{as:o="div",bsPrefix:a,slide:s,fade:i,controls:l,indicators:c,indicatorLabels:u,activeIndex:d,onSelect:f,onSlide:v,onSlid:h,interval:b,keyboard:g,onKeyDown:y,pause:E,onMouseOver:N,onMouseOut:C,wrap:j,touch:O,onTouchStart:P,onTouchMove:k,onTouchEnd:R,prevIcon:T,prevLabel:$,nextIcon:S,nextLabel:M,variant:D,className:I,children:L,...A}=p(e,{activeIndex:"onSelect"}),B=x(a,"carousel"),F=w(),K=(0,n.useRef)(null),[H,_]=(0,n.useState)("next"),[W,z]=(0,n.useState)(!1),[V,U]=(0,n.useState)(!1),[q,G]=(0,n.useState)(d||0);(0,n.useEffect)((()=>{V||d===q||(K.current?_(K.current):_((d||0)>q?"next":"prev"),s&&U(!0),G(d||0))}),[d,V,q,s]),(0,n.useEffect)((()=>{K.current&&(K.current=null)}));let X,Z=0;zt(L,((e,t)=>{++Z,t===d&&(X=e.props.interval)}));const Q=Pe(X),ee=(0,n.useCallback)((e=>{if(V)return;let t=q-1;if(t<0){if(!j)return;t=Z-1}K.current="prev",null==f||f(t,e)}),[V,q,f,j,Z]),te=ke((e=>{if(V)return;let t=q+1;if(t>=Z){if(!j)return;t=0}K.current="next",null==f||f(t,e)})),re=(0,n.useRef)();(0,n.useImperativeHandle)(r,(()=>({element:re.current,prev:ee,next:te})));const oe=ke((()=>{!document.hidden&&function(e){if(!(e&&e.style&&e.parentNode&&e.parentNode.style))return!1;const t=getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&"none"!==getComputedStyle(e.parentNode).display}(re.current)&&(F?ee():te())})),ae="next"===H?"start":"end";var se,ie,le;se=()=>{s||(null==v||v(q,ae),null==h||h(q,ae))},ie=[q],le=(0,n.useRef)(!0),(0,n.useEffect)((function(){if(!le.current)return se();le.current=!1}),ie);const ce=`${B}-item-${H}`,ue=`${B}-item-${ae}`,de=(0,n.useCallback)((e=>{J(e),null==v||v(q,ae)}),[v,q,ae]),fe=(0,n.useCallback)((()=>{U(!1),null==h||h(q,ae)}),[h,q,ae]),pe=(0,n.useCallback)((e=>{if(g&&!/input|textarea/i.test(e.target.tagName))switch(e.key){case"ArrowLeft":return e.preventDefault(),void(F?te(e):ee(e));case"ArrowRight":return e.preventDefault(),void(F?ee(e):te(e))}null==y||y(e)}),[g,y,ee,te,F]),me=(0,n.useCallback)((e=>{"hover"===E&&z(!0),null==N||N(e)}),[E,N]),ve=(0,n.useCallback)((e=>{z(!1),null==C||C(e)}),[C]),he=(0,n.useRef)(0),be=(0,n.useRef)(0),ge=Ft(),xe=(0,n.useCallback)((e=>{he.current=e.touches[0].clientX,be.current=0,"hover"===E&&z(!0),null==P||P(e)}),[E,P]),ye=(0,n.useCallback)((e=>{e.touches&&e.touches.length>1?be.current=0:be.current=e.touches[0].clientX-he.current,null==k||k(e)}),[k]),we=(0,n.useCallback)((e=>{if(O){const t=be.current;Math.abs(t)>40&&(t>0?ee(e):te(e))}"hover"===E&&ge.set((()=>{z(!1)}),b||void 0),null==R||R(e)}),[O,E,ee,te,ge,b,R]),Ee=null!=b&&!W&&!V,Ne=(0,n.useRef)();(0,n.useEffect)((()=>{var e,t;if(!Ee)return;const n=F?ee:te;return Ne.current=window.setInterval(document.visibilityState?oe:n,null!=(e=null!=(t=Q.current)?t:b)?e:void 0),()=>{null!==Ne.current&&clearInterval(Ne.current)}}),[Ee,ee,te,Q,b,oe,F]);const Ce=(0,n.useMemo)((()=>c&&Array.from({length:Z},((e,t)=>e=>{null==f||f(t,e)}))),[c,Z,f]);return(0,m.jsxs)(o,{ref:re,...A,onKeyDown:pe,onMouseOver:me,onMouseOut:ve,onTouchStart:xe,onTouchMove:ye,onTouchEnd:we,className:t()(I,B,s&&"slide",i&&`${B}-fade`,D&&`${B}-${D}`),children:[c&&(0,m.jsx)("div",{className:`${B}-indicators`,children:Wt(L,((e,t)=>(0,m.jsx)("button",{type:"button","data-bs-target":"","aria-label":null!=u&&u.length?u[t]:`Slide ${t+1}`,className:t===q?"active":void 0,onClick:Ce?Ce[t]:void 0,"aria-current":t===q},t)))}),(0,m.jsx)("div",{className:`${B}-inner`,children:Wt(L,((e,r)=>{const o=r===q;return s?(0,m.jsx)(ne,{in:o,onEnter:o?de:void 0,onEntered:o?fe:void 0,addEndListener:Y,children:(r,a)=>n.cloneElement(e,{...a,className:t()(e.props.className,o&&"entered"!==r&&ce,("entered"===r||"exiting"===r)&&"active",("entering"===r||"exiting"===r)&&ue)})}):n.cloneElement(e,{className:t()(e.props.className,o&&"active")})}))}),l&&(0,m.jsxs)(m.Fragment,{children:[(j||0!==d)&&(0,m.jsxs)(Ke,{className:`${B}-control-prev`,onClick:ee,children:[T,$&&(0,m.jsx)("span",{className:"visually-hidden",children:$})]}),(j||d!==Z-1)&&(0,m.jsxs)(Ke,{className:`${B}-control-next`,onClick:te,children:[S,M&&(0,m.jsx)("span",{className:"visually-hidden",children:M})]})]})]})}));Ut.displayName="Carousel",Ut.defaultProps=Vt;const qt=Object.assign(Ut,{Caption:Kt,Item:_t});function Gt({as:e,bsPrefix:n,className:r,...o}){n=x(n,"col");const a=y(),s=[],i=[];return a.forEach((e=>{const t=o[e];let r,a,l;delete o[e],"object"==typeof t&&null!=t?({span:r,offset:a,order:l}=t):r=t;const c="xs"!==e?`-${e}`:"";r&&s.push(!0===r?`${n}${c}`:`${n}${c}-${r}`),null!=l&&i.push(`order${c}-${l}`),null!=a&&i.push(`offset${c}-${a}`)})),[{...o,className:t()(r,...s,...i)},{as:e,bsPrefix:n,spans:s}]}const Xt=n.forwardRef(((e,n)=>{const[{className:r,...o},{as:a="div",bsPrefix:s,spans:i}]=Gt(e);return(0,m.jsx)(a,{...o,ref:n,className:t()(r,!i.length&&s)})}));Xt.displayName="Col";const Yt=Xt;var Zt=Function.prototype.bind.call(Function.prototype.call,[].slice);function Jt(e,t){return Zt(e.querySelectorAll(t))}function Qt(){return(0,n.useReducer)((function(e){return!e}),!1)[1]}const en=n.createContext(null);var tn=Object.prototype.hasOwnProperty;function nn(e,t,n){for(n of e.keys())if(rn(n,t))return n}function rn(e,t){var n,r,o;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&rn(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e){if((o=r)&&"object"==typeof o&&!(o=nn(t,o)))return!1;if(!t.has(o))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e){if((o=r[0])&&"object"==typeof o&&!(o=nn(t,o)))return!1;if(!rn(r[1],t.get(o)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"==typeof e){for(n in r=0,e){if(tn.call(e,n)&&++r&&!tn.call(t,n))return!1;if(!(n in t)||!rn(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!=e&&t!=t}function on(e){return e.split("-")[0]}function an(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function sn(e){return e instanceof an(e).Element||e instanceof Element}function ln(e){return e instanceof an(e).HTMLElement||e instanceof HTMLElement}function cn(e){return"undefined"!=typeof ShadowRoot&&(e instanceof an(e).ShadowRoot||e instanceof ShadowRoot)}var un=Math.round;function dn(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(ln(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(r=n.width/s||1),a>0&&(o=n.height/a||1)}return{width:un(n.width/r),height:un(n.height/o),top:un(n.top/o),right:un(n.right/r),bottom:un(n.bottom/o),left:un(n.left/r),x:un(n.left/r),y:un(n.top/o)}}function fn(e){var t=dn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function pn(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&cn(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function mn(e){return e?(e.nodeName||"").toLowerCase():null}function vn(e){return an(e).getComputedStyle(e)}function hn(e){return["table","td","th"].indexOf(mn(e))>=0}function bn(e){return((sn(e)?e.ownerDocument:e.document)||window.document).documentElement}function gn(e){return"html"===mn(e)?e:e.assignedSlot||e.parentNode||(cn(e)?e.host:null)||bn(e)}function xn(e){return ln(e)&&"fixed"!==vn(e).position?e.offsetParent:null}function yn(e){for(var t=an(e),n=xn(e);n&&hn(n)&&"static"===vn(n).position;)n=xn(n);return n&&("html"===mn(n)||"body"===mn(n)&&"static"===vn(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&ln(e)&&"fixed"===vn(e).position)return null;for(var n=gn(e);ln(n)&&["html","body"].indexOf(mn(n))<0;){var r=vn(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function wn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var En=Math.max,Nn=Math.min,Cn=Math.round;function jn(e,t,n){return En(e,Nn(t,n))}function On(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Pn(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var kn="top",Rn="bottom",Tn="right",$n="left",Sn="auto",Mn=[kn,Rn,Tn,$n],Dn="start",In="end",Ln="viewport",An="popper",Bn=Mn.reduce((function(e,t){return e.concat([t+"-"+Dn,t+"-"+In])}),[]),Fn=[].concat(Mn,[Sn]).reduce((function(e,t){return e.concat([t,t+"-"+Dn,t+"-"+In])}),[]),Kn=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Hn(e){return e.split("-")[1]}var _n={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wn(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,i=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Cn(Cn(t*r)/r)||0,y:Cn(Cn(n*r)/r)||0}}(s):"function"==typeof u?u(s):s,f=d.x,p=void 0===f?0:f,m=d.y,v=void 0===m?0:m,h=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),g=$n,x=kn,y=window;if(c){var w=yn(n),E="clientHeight",N="clientWidth";w===an(n)&&"static"!==vn(w=bn(n)).position&&"absolute"===i&&(E="scrollHeight",N="scrollWidth"),w=w,o!==kn&&(o!==$n&&o!==Tn||a!==In)||(x=Rn,v-=w[E]-r.height,v*=l?1:-1),o!==$n&&(o!==kn&&o!==Rn||a!==In)||(g=Tn,p-=w[N]-r.width,p*=l?1:-1)}var C,j=Object.assign({position:i},c&&_n);return l?Object.assign({},j,((C={})[x]=b?"0":"",C[g]=h?"0":"",C.transform=(y.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",C)):Object.assign({},j,((t={})[x]=b?v+"px":"",t[g]=h?p+"px":"",t.transform="",t))}var zn={passive:!0},Vn={left:"right",right:"left",bottom:"top",top:"bottom"};function Un(e){return e.replace(/left|right|bottom|top/g,(function(e){return Vn[e]}))}var qn={start:"end",end:"start"};function Gn(e){return e.replace(/start|end/g,(function(e){return qn[e]}))}function Xn(e){var t=an(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Yn(e){return dn(bn(e)).left+Xn(e).scrollLeft}function Zn(e){var t=vn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Jn(e){return["html","body","#document"].indexOf(mn(e))>=0?e.ownerDocument.body:ln(e)&&Zn(e)?e:Jn(gn(e))}function Qn(e,t){var n;void 0===t&&(t=[]);var r=Jn(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=an(r),s=o?[a].concat(a.visualViewport||[],Zn(r)?r:[]):r,i=t.concat(s);return o?i:i.concat(Qn(gn(s)))}function er(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tr(e,t){return t===Ln?er(function(e){var t=an(e),n=bn(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,i=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,i=r.offsetTop)),{width:o,height:a,x:s+Yn(e),y:i}}(e)):ln(t)?function(e){var t=dn(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):er(function(e){var t,n=bn(e),r=Xn(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=En(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=En(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),i=-r.scrollLeft+Yn(e),l=-r.scrollTop;return"rtl"===vn(o||n).direction&&(i+=En(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:i,y:l}}(bn(e)))}function nr(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?on(o):null,s=o?Hn(o):null,i=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case kn:t={x:i,y:n.y-r.height};break;case Rn:t={x:i,y:n.y+n.height};break;case Tn:t={x:n.x+n.width,y:l};break;case $n:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?wn(a):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case Dn:t[c]=t[c]-(n[u]/2-r[u]/2);break;case In:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function rr(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,s=void 0===a?"clippingParents":a,i=n.rootBoundary,l=void 0===i?Ln:i,c=n.elementContext,u=void 0===c?An:c,d=n.altBoundary,f=void 0!==d&&d,p=n.padding,m=void 0===p?0:p,v=On("number"!=typeof m?m:Pn(m,Mn)),h=u===An?"reference":An,b=e.rects.popper,g=e.elements[f?h:u],x=function(e,t,n){var r="clippingParents"===t?function(e){var t=Qn(gn(e)),n=["absolute","fixed"].indexOf(vn(e).position)>=0&&ln(e)?yn(e):e;return sn(n)?t.filter((function(e){return sn(e)&&pn(e,n)&&"body"!==mn(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],s=o.reduce((function(t,n){var r=tr(e,n);return t.top=En(r.top,t.top),t.right=Nn(r.right,t.right),t.bottom=Nn(r.bottom,t.bottom),t.left=En(r.left,t.left),t}),tr(e,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(sn(g)?g:g.contextElement||bn(e.elements.popper),s,l),y=dn(e.elements.reference),w=nr({reference:y,element:b,strategy:"absolute",placement:o}),E=er(Object.assign({},b,w)),N=u===An?E:y,C={top:x.top-N.top+v.top,bottom:N.bottom-x.bottom+v.bottom,left:x.left-N.left+v.left,right:N.right-x.right+v.right},j=e.modifiersData.offset;if(u===An&&j){var O=j[o];Object.keys(C).forEach((function(e){var t=[Tn,Rn].indexOf(e)>=0?1:-1,n=[kn,Rn].indexOf(e)>=0?"y":"x";C[e]+=O[n]*t}))}return C}function or(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ar(e){return[kn,Tn,Rn,$n].some((function(t){return e[t]>=0}))}function sr(e,t,n){void 0===n&&(n=!1);var r,o,a=ln(t),s=ln(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return 1!==n||1!==r}(t),i=bn(t),l=dn(e,s),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==mn(t)||Zn(i))&&(c=(r=t)!==an(r)&&ln(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Xn(r)),ln(t)?((u=dn(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Yn(i))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ir(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var lr={placement:"bottom",modifiers:[],strategy:"absolute"};function cr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}const ur=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?lr:o;return function(e,t,n){void 0===n&&(n=a);var o,s,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},lr,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:i,setOptions:function(n){var o="function"==typeof n?n(i.options):n;d(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:sn(e)?Qn(e):e.contextElement?Qn(e.contextElement):[],popper:Qn(t)};var s,c,f=function(e){var t=ir(e);return Kn.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(r,i.options.modifiers),c=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return i.orderedModifiers=f.filter((function(e){return e.enabled})),i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:i,name:t,instance:u,options:r});l.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=i.elements,t=e.reference,n=e.popper;if(cr(t,n)){i.rects={reference:sr(t,yn(n),"fixed"===i.options.strategy),popper:fn(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],a=o.fn,s=o.options,l=void 0===s?{}:s,d=o.name;"function"==typeof a&&(i=a({state:i,options:l,name:d,instance:u})||i)}else i.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(i)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){d(),c=!0}};if(!cr(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}({defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,s=rr(t,{elementContext:"reference"}),i=rr(t,{altBoundary:!0}),l=or(s,r),c=or(i,o,a),u=ar(l),d=ar(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=nr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,s=void 0===a||a,i=n.roundOffsets,l=void 0===i||i,c={placement:on(t.placement),variation:Hn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Wn(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Wn(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,s=r.resize,i=void 0===s||s,l=an(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,zn)})),i&&l.addEventListener("resize",n.update,zn),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,zn)})),i&&l.removeEventListener("resize",n.update,zn)}},data:{}},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,s=Fn.reduce((function(e,n){return e[n]=function(e,t,n){var r=on(e),o=[$n,kn].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=a[0],i=a[1];return s=s||0,i=(i||0)*o,[$n,Tn].indexOf(r)>=0?{x:i,y:s}:{x:s,y:i}}(n,t.rects,a),e}),{}),i=s[t.placement],l=i.x,c=i.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,s=n.altAxis,i=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=void 0===p||p,v=n.allowedAutoPlacements,h=t.options.placement,b=on(h),g=l||(b!==h&&m?function(e){if(on(e)===Sn)return[];var t=Un(e);return[Gn(e),t,Gn(t)]}(h):[Un(h)]),x=[h].concat(g).reduce((function(e,n){return e.concat(on(n)===Sn?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,s=n.padding,i=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Fn:l,u=Hn(r),d=u?i?Bn:Bn.filter((function(e){return Hn(e)===u})):Mn,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=rr(e,{placement:n,boundary:o,rootBoundary:a,padding:s})[on(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)}),[]),y=t.rects.reference,w=t.rects.popper,E=new Map,N=!0,C=x[0],j=0;j<x.length;j++){var O=x[j],P=on(O),k=Hn(O)===Dn,R=[kn,Rn].indexOf(P)>=0,T=R?"width":"height",$=rr(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),S=R?k?Tn:$n:k?Rn:kn;y[T]>w[T]&&(S=Un(S));var M=Un(S),D=[];if(a&&D.push($[P]<=0),i&&D.push($[S]<=0,$[M]<=0),D.every((function(e){return e}))){C=O,N=!1;break}E.set(O,D)}if(N)for(var I=function(e){var t=x.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},L=m?3:1;L>0&&"break"!==I(L);L--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,s=n.altAxis,i=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,m=n.tetherOffset,v=void 0===m?0:m,h=rr(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=on(t.placement),g=Hn(t.placement),x=!g,y=wn(b),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,N=t.rects.reference,C=t.rects.popper,j="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,O={x:0,y:0};if(E){if(a||i){var P="y"===y?kn:$n,k="y"===y?Rn:Tn,R="y"===y?"height":"width",T=E[y],$=E[y]+h[P],S=E[y]-h[k],M=p?-C[R]/2:0,D=g===Dn?N[R]:C[R],I=g===Dn?-C[R]:-N[R],L=t.elements.arrow,A=p&&L?fn(L):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=B[P],K=B[k],H=jn(0,N[R],A[R]),_=x?N[R]/2-M-H-F-j:D-H-F-j,W=x?-N[R]/2+M+H+K+j:I+H+K+j,z=t.elements.arrow&&yn(t.elements.arrow),V=z?"y"===y?z.clientTop||0:z.clientLeft||0:0,U=t.modifiersData.offset?t.modifiersData.offset[t.placement][y]:0,q=E[y]+_-U-V,G=E[y]+W-U;if(a){var X=jn(p?Nn($,q):$,T,p?En(S,G):S);E[y]=X,O[y]=X-T}if(i){var Y="x"===y?kn:$n,Z="x"===y?Rn:Tn,J=E[w],Q=J+h[Y],ee=J-h[Z],te=jn(p?Nn(Q,q):Q,J,p?En(ee,G):ee);E[w]=te,O[w]=te-J}}t.modifiersData[r]=O}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,i=on(n.placement),l=wn(i),c=[$n,Tn].indexOf(i)>=0?"height":"width";if(a&&s){var u=function(e,t){return On("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Pn(e,Mn))}(o.padding,n),d=fn(a),f="y"===l?kn:$n,p="y"===l?Rn:Tn,m=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],v=s[l]-n.rects.reference[l],h=yn(a),b=h?"y"===l?h.clientHeight||0:h.clientWidth||0:0,g=m/2-v/2,x=u[f],y=b-d[c]-u[p],w=b/2-d[c]/2+g,E=jn(x,w,y),N=l;n.modifiersData[r]=((t={})[N]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&pn(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}]}),dr=["enabled","placement","strategy","modifiers"],fr={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},pr={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const e=(t.getAttribute("aria-describedby")||"").split(",").filter((e=>e.trim()!==n.id));e.length?t.setAttribute("aria-describedby",e.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:r}=e.elements,o=null==(t=n.getAttribute("role"))?void 0:t.toLowerCase();if(n.id&&"tooltip"===o&&"setAttribute"in r){const e=r.getAttribute("aria-describedby");if(e&&-1!==e.split(",").indexOf(n.id))return;r.setAttribute("aria-describedby",e?`${e},${n.id}`:n.id)}}},mr=[],vr=function(e,t,r={}){let{enabled:o=!0,placement:a="bottom",strategy:s="absolute",modifiers:i=mr}=r,l=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(r,dr);const c=(0,n.useRef)(i),u=(0,n.useRef)(),d=(0,n.useCallback)((()=>{var e;null==(e=u.current)||e.update()}),[]),f=(0,n.useCallback)((()=>{var e;null==(e=u.current)||e.forceUpdate()}),[]),[p,m]=(b=(0,n.useState)({placement:a,update:d,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}}),g=$e(),[b[0],(0,n.useCallback)((function(e){if(g())return b[1](e)}),[g,b[1]])]),v=(0,n.useMemo)((()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{const t={},n={};Object.keys(e.elements).forEach((r=>{t[r]=e.styles[r],n[r]=e.attributes[r]})),m({state:e,styles:t,attributes:n,update:d,forceUpdate:f,placement:e.placement})}})),[d,f,m]),h=(0,n.useMemo)((()=>(rn(c.current,i)||(c.current=i),c.current)),[i]);var b,g;return(0,n.useEffect)((()=>{u.current&&o&&u.current.setOptions({placement:a,strategy:s,modifiers:[...h,v,fr]})}),[s,a,v,o,h]),(0,n.useEffect)((()=>{if(o&&null!=e&&null!=t)return u.current=ur(e,t,Object.assign({},l,{placement:a,strategy:s,modifiers:[...h,pr,v]})),()=>{null!=u.current&&(u.current.destroy(),u.current=void 0,m((e=>Object.assign({},e,{attributes:{},styles:{popper:{}}}))))}}),[o,e,t]),p};function hr(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}var br=o(459),gr=o.n(br);const xr=()=>{},yr=e=>e&&("current"in e?e.current:e),wr={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"},Er=function(e,t=xr,{disabled:r,clickTrigger:o="click"}={}){const a=(0,n.useRef)(!1),s=(0,n.useRef)(!1),i=(0,n.useCallback)((t=>{const n=yr(e);var r;gr()(!!n,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),a.current=!n||!!((r=t).metaKey||r.altKey||r.ctrlKey||r.shiftKey)||!function(e){return 0===e.button}(t)||!!hr(n,t.target)||s.current,s.current=!1}),[e]),l=Te((t=>{const n=yr(e);n&&hr(n,t.target)&&(s.current=!0)})),c=Te((e=>{a.current||t(e)}));(0,n.useEffect)((()=>{if(r||null==e)return;const t=N(yr(e));let n=(t.defaultView||window).event,a=null;wr[o]&&(a=q(t,wr[o],l,!0));const s=q(t,o,i,!0),u=q(t,o,(e=>{e!==n?c(e):n=void 0}));let d=[];return"ontouchstart"in t.documentElement&&(d=[].slice.call(t.body.children).map((e=>q(e,"mousemove",xr)))),()=>{null==a||a(),s(),u(),d.forEach((e=>e()))}}),[e,r,o,i,l,c])};function Nr(e={}){return Array.isArray(e)?e:Object.keys(e).map((t=>(e[t].name=t,e[t])))}function Cr({enabled:e,enableEvents:t,placement:n,flip:r,offset:o,fixed:a,containerPadding:s,arrowElement:i,popperConfig:l={}}){var c,u,d,f;const p=function(e){const t={};return Array.isArray(e)?(null==e||e.forEach((e=>{t[e.name]=e})),t):e||t}(l.modifiers);return Object.assign({},l,{placement:n,enabled:e,strategy:a?"fixed":l.strategy,modifiers:Nr(Object.assign({},p,{eventListeners:{enabled:t},preventOverflow:Object.assign({},p.preventOverflow,{options:s?Object.assign({padding:s},null==(c=p.preventOverflow)?void 0:c.options):null==(u=p.preventOverflow)?void 0:u.options}),offset:{options:Object.assign({offset:o},null==(d=p.offset)?void 0:d.options)},arrow:Object.assign({},p.arrow,{enabled:!!i,options:Object.assign({},null==(f=p.arrow)?void 0:f.options,{element:i})}),flip:Object.assign({enabled:!!r},p.flip)}))})}const jr=["children"],Or=()=>{};function Pr(e={}){const t=(0,n.useContext)(en),[r,o]=Re(),a=(0,n.useRef)(!1),{flip:s,offset:i,rootCloseEvent:l,fixed:c=!1,placement:u,popperConfig:d={},enableEventListeners:f=!0,usePopper:p=!!t}=e,m=null==(null==t?void 0:t.show)?!!e.show:t.show;m&&!a.current&&(a.current=!0);const{placement:v,setMenu:h,menuElement:b,toggleElement:g}=t||{},x=vr(g,b,Cr({placement:u||v||"bottom-start",enabled:p,enableEvents:null==f?m:f,offset:i,flip:s,fixed:c,arrowElement:r,popperConfig:d})),y=Object.assign({ref:h||Or,"aria-labelledby":null==g?void 0:g.id},x.attributes.popper,{style:x.styles.popper}),w={show:m,placement:v,hasShown:a.current,toggle:null==t?void 0:t.toggle,popper:p?x:null,arrowProps:p?Object.assign({ref:o},x.attributes.arrow,{style:x.styles.arrow}):{}};return Er(b,(e=>{null==t||t.toggle(!1,e)}),{clickTrigger:l,disabled:!m}),[y,w]}function kr(e){let{children:t}=e,n=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,jr);const[r,o]=Pr(n);return(0,m.jsx)(m.Fragment,{children:t(r,o)})}kr.displayName="DropdownMenu",kr.defaultProps={usePopper:!0};const Rr=kr,Tr={prefix:Math.round(1e10*Math.random()),current:0},$r=r().createContext(Tr);let Sr=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function Mr(e){let t=(0,n.useContext)($r);return t!==Tr||Sr||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),(0,n.useMemo)((()=>e||"react-aria-"+t.prefix+"-"+ ++t.current),[e])}const Dr=e=>{var t;return"menu"===(null==(t=e.getAttribute("role"))?void 0:t.toLowerCase())},Ir=()=>{};function Lr(){const e=Mr(),{show:t=!1,toggle:r=Ir,setToggle:o,menuElement:a}=(0,n.useContext)(en)||{},s=(0,n.useCallback)((e=>{r(!t,e)}),[t,r]),i={id:e,ref:o||Ir,onClick:s,"aria-expanded":!!t};return a&&Dr(a)&&(i["aria-haspopup"]=!0),[i,{show:t,toggle:r}]}function Ar({children:e}){const[t,n]=Lr();return(0,m.jsx)(m.Fragment,{children:e(t,n)})}Ar.displayName="DropdownToggle";const Br=Ar,Fr=(e,t=null)=>null!=e?String(e):t||null,Kr=n.createContext(null),Hr=n.createContext(null);Hr.displayName="NavContext";const _r=Hr;function Wr(e){return`data-rr-ui-${e}`}const zr=["eventKey","disabled","onClick","active","as"];function Vr({key:e,href:t,active:r,disabled:o,onClick:a}){const s=(0,n.useContext)(Kr),i=(0,n.useContext)(_r),{activeKey:l}=i||{},c=Fr(e,t),u=null==r&&null!=e?Fr(l)===c:r;return[{onClick:Te((e=>{o||(null==a||a(e),s&&!e.isPropagationStopped()&&s(c,e))})),"aria-disabled":o||void 0,"aria-selected":u,[Wr("dropdown-item")]:""},{isActive:u}]}const Ur=n.forwardRef(((e,t)=>{let{eventKey:n,disabled:r,onClick:o,active:a,as:s=Ae}=e,i=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,zr);const[l]=Vr({key:n,href:i.href,disabled:r,onClick:o,active:a});return(0,m.jsx)(s,Object.assign({},i,{ref:t},l))}));Ur.displayName="DropdownItem";const qr=Ur,Gr=(0,n.createContext)(H?window:void 0);function Xr(){return(0,n.useContext)(Gr)}function Yr(){const e=Qt(),t=(0,n.useRef)(null),r=(0,n.useCallback)((n=>{t.current=n,e()}),[e]);return[t,r]}function Zr({defaultShow:e,show:t,onSelect:r,onToggle:o,itemSelector:a=`* [${Wr("dropdown-item")}]`,focusFirstItemOnShow:s,placement:i="bottom-start",children:l}){const c=Xr(),[u,d]=f(t,e,o),[p,v]=Yr(),h=p.current,[b,g]=Yr(),x=b.current,y=Se(u),w=(0,n.useRef)(null),E=(0,n.useRef)(!1),N=(0,n.useContext)(Kr),C=(0,n.useCallback)(((e,t,n=(null==t?void 0:t.type))=>{d(e,{originalEvent:t,source:n})}),[d]),j=Te(((e,t)=>{null==r||r(e,t),C(!1,t,"select"),t.isPropagationStopped()||null==N||N(e,t)})),O=(0,n.useMemo)((()=>({toggle:C,placement:i,show:u,menuElement:h,toggleElement:x,setMenu:v,setToggle:g})),[C,i,u,h,x,v,g]);h&&y&&!u&&(E.current=h.contains(h.ownerDocument.activeElement));const P=Te((()=>{x&&x.focus&&x.focus()})),k=Te((()=>{const e=w.current;let t=s;if(null==t&&(t=!(!p.current||!Dr(p.current))&&"keyboard"),!1===t||"keyboard"===t&&!/^key.+$/.test(e))return;const n=Jt(p.current,a)[0];n&&n.focus&&n.focus()}));(0,n.useEffect)((()=>{u?k():E.current&&(E.current=!1,P())}),[u,E,P,k]),(0,n.useEffect)((()=>{w.current=null}));const R=(e,t)=>{if(!p.current)return null;const n=Jt(p.current,a);let r=n.indexOf(e)+t;return r=Math.max(0,Math.min(r,n.length)),n[r]};return function(e,t,r,o){void 0===o&&(o=!1);var a=Te((e=>{var t,n;const{key:r}=e,o=e.target,a=null==(t=p.current)?void 0:t.contains(o),s=null==(n=b.current)?void 0:n.contains(o);if(/input|textarea/i.test(o.tagName)&&(" "===r||"Escape"!==r&&a||"Escape"===r&&"search"===o.type))return;if(!a&&!s)return;if(!("Tab"!==r||p.current&&u))return;w.current=e.type;const i={originalEvent:e,source:e.type};switch(r){case"ArrowUp":{const t=R(o,-1);return t&&t.focus&&t.focus(),void e.preventDefault()}case"ArrowDown":if(e.preventDefault(),u){const e=R(o,1);e&&e.focus&&e.focus()}else d(!0,i);return;case"Tab":V(o.ownerDocument,"keyup",(e=>{var t;("Tab"!==e.key||e.target)&&null!=(t=p.current)&&t.contains(e.target)||d(!1,i)}),{once:!0});break;case"Escape":"Escape"===r&&(e.preventDefault(),e.stopPropagation()),d(!1,i)}}));(0,n.useEffect)((function(){var n="function"==typeof e?e():e;return n.addEventListener(t,a,o),function(){return n.removeEventListener(t,a,o)}}),[e])}((0,n.useCallback)((()=>c.document),[c]),"keydown"),(0,m.jsx)(Kr.Provider,{value:j,children:(0,m.jsx)(en.Provider,{value:O,children:l})})}Gr.Provider,Zr.displayName="Dropdown",Zr.Menu=Rr,Zr.Toggle=Br,Zr.Item=qr;const Jr=Zr,Qr=n.createContext({});Qr.displayName="DropdownContext";const eo=Qr,to=n.forwardRef((({bsPrefix:e,className:n,eventKey:r,disabled:o=!1,onClick:a,active:s,as:i=Ke,...l},c)=>{const u=x(e,"dropdown-item"),[d,f]=Vr({key:r,href:l.href,disabled:o,onClick:a,active:s});return(0,m.jsx)(i,{...l,...d,ref:c,className:t()(n,u,f.isActive&&"active",o&&"disabled")})}));to.displayName="DropdownItem";const no=to;var ro=void 0!==o.g&&o.g.navigator&&"ReactNative"===o.g.navigator.product;const oo="undefined"!=typeof document||ro?n.useLayoutEffect:n.useEffect,ao=n.createContext(null);ao.displayName="InputGroupContext";const so=ao,io=n.createContext(null);io.displayName="NavbarContext";const lo=io;function co(e,t){return e}function uo(e,t,n){let r=e?n?"bottom-start":"bottom-end":n?"bottom-end":"bottom-start";return"up"===t?r=e?n?"top-start":"top-end":n?"top-end":"top-start":"end"===t?r=e?n?"left-end":"right-end":n?"left-start":"right-start":"start"===t&&(r=e?n?"right-end":"left-end":n?"right-start":"left-start"),r}const fo=n.forwardRef((({bsPrefix:e,className:r,align:o,rootCloseEvent:a,flip:s,show:i,renderOnMount:l,as:c="div",popperConfig:u,variant:d,...f},p)=>{let v=!1;const h=(0,n.useContext)(lo),b=x(e,"dropdown-menu"),{align:g,drop:y,isRTL:w}=(0,n.useContext)(eo);o=o||g;const E=(0,n.useContext)(so),N=[];if(o)if("object"==typeof o){const e=Object.keys(o);if(e.length){const t=e[0],n=o[t];v="start"===n,N.push(`${b}-${t}-${n}`)}}else"end"===o&&(v=!0);const C=uo(v,y,w),[j,{hasShown:O,popper:P,show:k,toggle:R}]=Pr({flip:s,rootCloseEvent:a,show:i,usePopper:!h&&0===N.length,offset:[0,2],popperConfig:u,placement:C});if(j.ref=ee(co(p),j.ref),oo((()=>{k&&(null==P||P.update())}),[k]),!O&&!l&&!E)return null;"string"!=typeof c&&(j.show=k,j.close=()=>null==R?void 0:R(!1),j.align=o);let T=f.style;return null!=P&&P.placement&&(T={...f.style,...j.style},f["x-placement"]=P.placement),(0,m.jsx)(c,{...f,...j,style:T,...(N.length||h)&&{"data-bs-popper":"static"},className:t()(r,b,k&&"show",v&&`${b}-end`,d&&`${b}-${d}`,...N)})}));fo.displayName="DropdownMenu",fo.defaultProps={flip:!0};const po=fo,mo=n.forwardRef((({bsPrefix:e,split:r,className:o,childBsPrefix:a,as:s=pt,...i},l)=>{const c=x(e,"dropdown-toggle"),u=(0,n.useContext)(en),d=(0,n.useContext)(so);void 0!==a&&(i.bsPrefix=a);const[f]=Lr();return f.ref=ee(f.ref,co(l)),(0,m.jsx)(s,{className:t()(o,c,r&&`${c}-split`,!!d&&(null==u?void 0:u.show)&&"show"),...f,...i})}));mo.displayName="DropdownToggle";const vo=mo,ho=Je("dropdown-header",{defaultProps:{role:"heading"}}),bo=Je("dropdown-divider",{Component:"hr",defaultProps:{role:"separator"}}),go=Je("dropdown-item-text",{Component:"span"}),xo=n.forwardRef(((e,r)=>{const{bsPrefix:o,drop:a,show:s,className:i,align:l,onSelect:c,onToggle:u,focusFirstItemOnShow:d,as:f="div",navbar:v,autoClose:h,...b}=p(e,{show:"onToggle"}),g=(0,n.useContext)(so),y=x(o,"dropdown"),E=w(),N=ke(((e,t)=>{var n;t.originalEvent.currentTarget!==document||"keydown"===t.source&&"Escape"!==t.originalEvent.key||(t.source="rootClose"),n=t.source,(!1===h?"click"===n:"inside"===h?"rootClose"!==n:"outside"!==h||"select"!==n)&&(null==u||u(e,t))})),C=uo("end"===l,a,E),j=(0,n.useMemo)((()=>({align:l,drop:a,isRTL:E})),[l,a,E]);return(0,m.jsx)(eo.Provider,{value:j,children:(0,m.jsx)(Jr,{placement:C,show:s,onSelect:c,onToggle:N,focusFirstItemOnShow:d,itemSelector:`.${y}-item:not(.disabled):not(:disabled)`,children:g?b.children:(0,m.jsx)(f,{...b,ref:r,className:t()(i,s&&"show",(!a||"down"===a)&&y,"up"===a&&"dropup","end"===a&&"dropend","start"===a&&"dropstart")})})})}));xo.displayName="Dropdown",xo.defaultProps={navbar:!1,align:"start",autoClose:!0};const yo=Object.assign(xo,{Toggle:vo,Menu:po,Item:no,ItemText:go,Divider:bo,Header:ho}),wo=Ve().oneOf(["start","end"]),Eo=Ve().oneOfType([wo,Ve().shape({sm:wo}),Ve().shape({md:wo}),Ve().shape({lg:wo}),Ve().shape({xl:wo}),Ve().shape({xxl:wo}),Ve().object]),No={id:Ve().string,href:Ve().string,onClick:Ve().func,title:Ve().node.isRequired,disabled:Ve().bool,align:Eo,menuRole:Ve().string,renderMenuOnMount:Ve().bool,rootCloseEvent:Ve().string,menuVariant:Ve().oneOf(["dark"]),bsPrefix:Ve().string,variant:Ve().string,size:Ve().string},Co=n.forwardRef((({title:e,children:t,bsPrefix:n,rootCloseEvent:r,variant:o,size:a,menuRole:s,renderMenuOnMount:i,disabled:l,href:c,id:u,menuVariant:d,...f},p)=>(0,m.jsxs)(yo,{ref:p,...f,children:[(0,m.jsx)(vo,{id:u,href:c,size:a,variant:o,disabled:l,childBsPrefix:n,children:e}),(0,m.jsx)(po,{role:s,renderOnMount:i,rootCloseEvent:r,variant:d,children:t})]})));Co.displayName="DropdownButton",Co.propTypes=No;const jo=Co,Oo={type:Ve().string,tooltip:Ve().bool,as:Ve().elementType},Po=n.forwardRef((({as:e="div",className:n,type:r="valid",tooltip:o=!1,...a},s)=>(0,m.jsx)(e,{...a,ref:s,className:t()(n,`${r}-${o?"tooltip":"feedback"}`)})));Po.displayName="Feedback",Po.propTypes=Oo;const ko=Po,Ro=n.createContext({}),To=n.forwardRef((({id:e,bsPrefix:r,className:o,type:a="checkbox",isValid:s=!1,isInvalid:i=!1,as:l="input",...c},u)=>{const{controlId:d}=(0,n.useContext)(Ro);return r=x(r,"form-check-input"),(0,m.jsx)(l,{...c,ref:u,type:a,id:e||d,className:t()(o,r,s&&"is-valid",i&&"is-invalid")})}));To.displayName="FormCheckInput";const $o=To,So=n.forwardRef((({bsPrefix:e,className:r,htmlFor:o,...a},s)=>{const{controlId:i}=(0,n.useContext)(Ro);return e=x(e,"form-check-label"),(0,m.jsx)("label",{...a,ref:s,htmlFor:o||i,className:t()(r,e)})}));So.displayName="FormCheckLabel";const Mo=So,Do=n.forwardRef((({id:e,bsPrefix:r,bsSwitchPrefix:o,inline:a=!1,disabled:s=!1,isValid:i=!1,isInvalid:l=!1,feedbackTooltip:c=!1,feedback:u,feedbackType:d,className:f,style:p,title:v="",type:h="checkbox",label:b,children:g,as:y="input",...w},E)=>{r=x(r,"form-check"),o=x(o,"form-switch");const{controlId:N}=(0,n.useContext)(Ro),C=(0,n.useMemo)((()=>({controlId:e||N})),[N,e]),j=!g&&null!=b&&!1!==b||function(e,t){return n.Children.toArray(e).some((e=>n.isValidElement(e)&&e.type===t))}(g,Mo),O=(0,m.jsx)($o,{...w,type:"switch"===h?"checkbox":h,ref:E,isValid:i,isInvalid:l,disabled:s,as:y});return(0,m.jsx)(Ro.Provider,{value:C,children:(0,m.jsx)("div",{style:p,className:t()(f,j&&r,a&&`${r}-inline`,"switch"===h&&o),children:g||(0,m.jsxs)(m.Fragment,{children:[O,j&&(0,m.jsx)(Mo,{title:v,children:b}),u&&(0,m.jsx)(ko,{type:d,tooltip:c,children:u})]})})})}));Do.displayName="FormCheck";const Io=Object.assign(Do,{Input:$o,Label:Mo}),Lo=n.forwardRef((({bsPrefix:e,type:r,size:o,htmlSize:a,id:s,className:i,isValid:l=!1,isInvalid:c=!1,plaintext:u,readOnly:d,as:f="input",...p},v)=>{const{controlId:h}=(0,n.useContext)(Ro);let b;return e=x(e,"form-control"),b=u?{[`${e}-plaintext`]:!0}:{[e]:!0,[`${e}-${o}`]:o},(0,m.jsx)(f,{...p,type:r,size:a,ref:v,readOnly:d,id:s||h,className:t()(i,b,l&&"is-valid",c&&"is-invalid","color"===r&&`${e}-color`)})}));Lo.displayName="FormControl";const Ao=Object.assign(Lo,{Feedback:ko}),Bo=Je("form-floating"),Fo=n.forwardRef((({controlId:e,as:t="div",...r},o)=>{const a=(0,n.useMemo)((()=>({controlId:e})),[e]);return(0,m.jsx)(Ro.Provider,{value:a,children:(0,m.jsx)(t,{...r,ref:o})})}));Fo.displayName="FormGroup";const Ko=Fo,Ho=n.forwardRef((({as:e="label",bsPrefix:r,column:o,visuallyHidden:a,className:s,htmlFor:i,...l},c)=>{const{controlId:u}=(0,n.useContext)(Ro);r=x(r,"form-label");let d="col-form-label";"string"==typeof o&&(d=`${d} ${d}-${o}`);const f=t()(s,r,a&&"visually-hidden",o&&d);return i=i||u,o?(0,m.jsx)(Yt,{ref:c,as:"label",className:f,htmlFor:i,...l}):(0,m.jsx)(e,{ref:c,className:f,htmlFor:i,...l})}));Ho.displayName="FormLabel",Ho.defaultProps={column:!1,visuallyHidden:!1};const _o=Ho,Wo=n.forwardRef((({bsPrefix:e,className:r,id:o,...a},s)=>{const{controlId:i}=(0,n.useContext)(Ro);return e=x(e,"form-range"),(0,m.jsx)("input",{...a,type:"range",ref:s,className:t()(r,e),id:o||i})}));Wo.displayName="FormRange";const zo=Wo,Vo=n.forwardRef((({bsPrefix:e,size:r,htmlSize:o,className:a,isValid:s=!1,isInvalid:i=!1,id:l,...c},u)=>{const{controlId:d}=(0,n.useContext)(Ro);return e=x(e,"form-select"),(0,m.jsx)("select",{...c,size:o,ref:u,className:t()(a,e,r&&`${e}-${r}`,s&&"is-valid",i&&"is-invalid"),id:l||d})}));Vo.displayName="FormSelect";const Uo=Vo,qo=n.forwardRef((({bsPrefix:e,className:n,as:r="small",muted:o,...a},s)=>(e=x(e,"form-text"),(0,m.jsx)(r,{...a,ref:s,className:t()(n,e,o&&"text-muted")}))));qo.displayName="FormText";const Go=qo,Xo=n.forwardRef(((e,t)=>(0,m.jsx)(Io,{...e,ref:t,type:"switch"})));Xo.displayName="Switch";const Yo=Object.assign(Xo,{Input:Io.Input,Label:Io.Label}),Zo=n.forwardRef((({bsPrefix:e,className:n,children:r,controlId:o,label:a,...s},i)=>(e=x(e,"form-floating"),(0,m.jsxs)(Ko,{ref:i,className:t()(n,e),controlId:o,...s,children:[r,(0,m.jsx)("label",{htmlFor:o,children:a})]}))));Zo.displayName="FloatingLabel";const Jo=Zo,Qo={_ref:Ve().any,validated:Ve().bool,as:Ve().elementType},ea=n.forwardRef((({className:e,validated:n,as:r="form",...o},a)=>(0,m.jsx)(r,{...o,ref:a,className:t()(e,n&&"was-validated")})));ea.displayName="Form",ea.propTypes=Qo;const ta=Object.assign(ea,{Group:Ko,Control:Ao,Floating:Bo,Check:Io,Switch:Yo,Label:_o,Text:Go,Range:zo,Select:Uo,FloatingLabel:Jo}),na=n.forwardRef((({bsPrefix:e,fluid:n,as:r="div",className:o,...a},s)=>{const i=x(e,"container"),l="string"==typeof n?`-${n}`:"-fluid";return(0,m.jsx)(r,{ref:s,...a,className:t()(o,n?`${i}${l}`:i)})}));na.displayName="Container",na.defaultProps={fluid:!1};const ra=na,oa={bsPrefix:Ve().string,fluid:Ve().bool,rounded:Ve().bool,roundedCircle:Ve().bool,thumbnail:Ve().bool},aa=n.forwardRef((({bsPrefix:e,className:n,fluid:r,rounded:o,roundedCircle:a,thumbnail:s,...i},l)=>(e=x(e,"img"),(0,m.jsx)("img",{ref:l,...i,className:t()(n,r&&`${e}-fluid`,o&&"rounded",a&&"rounded-circle",s&&`${e}-thumbnail`)}))));aa.displayName="Image",aa.defaultProps={fluid:!1,rounded:!1,roundedCircle:!1,thumbnail:!1};const sa=aa,ia=n.forwardRef((({className:e,...n},r)=>(0,m.jsx)(sa,{ref:r,...n,className:t()(e,"figure-img")})));ia.displayName="FigureImage",ia.propTypes=oa,ia.defaultProps={fluid:!0};const la=ia,ca=Je("figure-caption",{Component:"figcaption"}),ua=Je("figure",{Component:"figure"}),da=Object.assign(ua,{Image:la,Caption:ca}),fa=Je("input-group-text",{Component:"span"}),pa=n.forwardRef((({bsPrefix:e,size:r,hasValidation:o,className:a,as:s="div",...i},l)=>{e=x(e,"input-group");const c=(0,n.useMemo)((()=>({})),[]);return(0,m.jsx)(so.Provider,{value:c,children:(0,m.jsx)(s,{ref:l,...i,className:t()(a,e,r&&`${e}-${r}`,o&&"has-validation")})})}));pa.displayName="InputGroup";const ma=Object.assign(pa,{Text:fa,Radio:e=>(0,m.jsx)(fa,{children:(0,m.jsx)($o,{type:"radio",...e})}),Checkbox:e=>(0,m.jsx)(fa,{children:(0,m.jsx)($o,{type:"checkbox",...e})})});var va=function(e){return e&&"function"!=typeof e?function(t){e.current=t}:e};const ha=function(e,t){return(0,n.useMemo)((function(){return function(e,t){var n=va(e),r=va(t);return function(e){n&&n(e),r&&r(e)}}(e,t)}),[e,t])},ba=n.createContext(null),ga=["as","active","eventKey"];function xa({key:e,onClick:t,active:r,id:o,role:a,disabled:s}){const i=(0,n.useContext)(Kr),l=(0,n.useContext)(_r),c=(0,n.useContext)(ba);let u=r;const d={role:a};if(l){a||"tablist"!==l.role||(d.role="tab");const t=l.getControllerId(null!=e?e:null),n=l.getControlledId(null!=e?e:null);d[Wr("event-key")]=e,d.id=t||o,u=null==r&&null!=e?l.activeKey===e:r,!u&&(null!=c&&c.unmountOnExit||null!=c&&c.mountOnEnter)||(d["aria-controls"]=n)}return"tab"===d.role&&(s&&(d.tabIndex=-1,d["aria-disabled"]=!0),u?d["aria-selected"]=u:d.tabIndex=-1),d.onClick=Te((n=>{s||(null==t||t(n),null!=e&&i&&!n.isPropagationStopped()&&i(e,n))})),[d,{isActive:u}]}const ya=n.forwardRef(((e,t)=>{let{as:n=Ae,active:r,eventKey:o}=e,a=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,ga);const[s,i]=xa(Object.assign({key:Fr(o,a.href),active:r},a));return s[Wr("active")]=i.isActive,(0,m.jsx)(n,Object.assign({},a,s,{ref:t}))}));ya.displayName="NavItem";const wa=ya,Ea=["as","onSelect","activeKey","role","onKeyDown"],Na=()=>{},Ca=Wr("event-key"),ja=n.forwardRef(((e,t)=>{let{as:r="div",onSelect:o,activeKey:a,role:s,onKeyDown:i}=e,l=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Ea);const c=Qt(),u=(0,n.useRef)(!1),d=(0,n.useContext)(Kr),f=(0,n.useContext)(ba);let p,v;f&&(s=s||"tablist",a=f.activeKey,p=f.getControlledId,v=f.getControllerId);const h=(0,n.useRef)(null),b=e=>{const t=h.current;if(!t)return null;const n=Jt(t,`[${Ca}]:not([aria-disabled=true])`),r=t.querySelector("[aria-selected=true]");if(!r||r!==document.activeElement)return null;const o=n.indexOf(r);if(-1===o)return null;let a=o+e;return a>=n.length&&(a=0),a<0&&(a=n.length-1),n[a]},g=(e,t)=>{null!=e&&(null==o||o(e,t),null==d||d(e,t))};(0,n.useEffect)((()=>{if(h.current&&u.current){const e=h.current.querySelector(`[${Ca}][aria-selected=true]`);null==e||e.focus()}u.current=!1}));const x=ha(t,h);return(0,m.jsx)(Kr.Provider,{value:g,children:(0,m.jsx)(_r.Provider,{value:{role:s,activeKey:Fr(a),getControlledId:p||Na,getControllerId:v||Na},children:(0,m.jsx)(r,Object.assign({},l,{onKeyDown:e=>{if(null==i||i(e),!f)return;let t;switch(e.key){case"ArrowLeft":case"ArrowUp":t=b(-1);break;case"ArrowRight":case"ArrowDown":t=b(1);break;default:return}t&&(e.preventDefault(),g(t.dataset[("EventKey","rrUiEventKey")]||null,e),u.current=!0,c())},ref:x,role:s}))})})}));ja.displayName="Nav";const Oa=Object.assign(ja,{Item:wa}),Pa=n.forwardRef((({bsPrefix:e,active:n,disabled:r,eventKey:o,className:a,variant:s,action:i,as:l,...c},u)=>{e=x(e,"list-group-item");const[d,f]=xa({key:Fr(o,c.href),active:n,...c}),p=ke((e=>{if(r)return e.preventDefault(),void e.stopPropagation();d.onClick(e)}));r&&void 0===c.tabIndex&&(c.tabIndex=-1,c["aria-disabled"]=!0);const v=l||(i?c.href?"a":"button":"div");return(0,m.jsx)(v,{ref:u,...c,...d,onClick:p,className:t()(a,e,f.isActive&&"active",r&&"disabled",s&&`${e}-${s}`,i&&`${e}-action`)})}));Pa.displayName="ListGroupItem";const ka=Pa,Ra=n.forwardRef(((e,n)=>{const{className:r,bsPrefix:o,variant:a,horizontal:s,numbered:i,as:l="div",...c}=p(e,{activeKey:"onSelect"}),u=x(o,"list-group");let d;return s&&(d=!0===s?"horizontal":`horizontal-${s}`),(0,m.jsx)(Oa,{ref:n,...c,as:l,className:t()(r,u,a&&`${u}-${a}`,d&&`${u}-${d}`,i&&`${u}-numbered`)})}));Ra.displayName="ListGroup";const Ta=Object.assign(Ra,{Item:ka});var $a;function Sa(e){if((!$a&&0!==$a||e)&&H){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),$a=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return $a}function Ma(e){void 0===e&&(e=N());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(t){return e.body}}const Da=Wr("modal-open"),Ia=class{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}={}){this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style={overflow:r.style.overflow,[n]:r.style[n]},e.scrollBarWidth&&(t[n]=`${parseInt(k(r,n)||"0",10)+e.scrollBarWidth}px`),r.setAttribute(Da,""),k(r,t)}reset(){[...this.modals].forEach((e=>this.remove(e)))}removeContainerStyle(e){const t=this.getElement();t.removeAttribute(Da),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return-1!==t||(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state))),t}remove(e){const t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},La=(e,t)=>{var n;return H?null==e?(t||N()).body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),null!=(n=e)&&n.nodeType&&e||null):null};function Aa(e,t){const r=Xr(),[o,a]=(0,n.useState)((()=>La(e,null==r?void 0:r.document)));if(!o){const t=La(e);t&&a(t)}return(0,n.useEffect)((()=>{t&&o&&t(o)}),[t,o]),(0,n.useEffect)((()=>{const t=La(e);t!==o&&a(t)}),[e,o]),o}const Ba=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];let Fa;const Ka=(0,n.forwardRef)(((e,t)=>{let{show:r=!1,role:o="dialog",className:a,style:s,children:i,backdrop:l=!0,keyboard:c=!0,onBackdropClick:u,onEscapeKeyDown:d,transition:f,backdropTransition:p,autoFocus:v=!0,enforceFocus:h=!0,restoreFocus:b=!0,restoreFocusOptions:g,renderDialog:x,renderBackdrop:y=(e=>(0,m.jsx)("div",Object.assign({},e))),manager:w,container:E,onShow:N,onHide:C=(()=>{}),onExit:j,onExited:O,onExiting:P,onEnter:k,onEntering:R,onEntered:T}=e,S=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,Ba);const M=Aa(E),D=function(e){const t=Xr(),r=e||function(e){return Fa||(Fa=new Ia({ownerDocument:null==e?void 0:e.document})),Fa}(t),o=(0,n.useRef)({dialog:null,backdrop:null});return Object.assign(o.current,{add:()=>r.add(o.current),remove:()=>r.remove(o.current),isTopModal:()=>r.isTopModal(o.current),setDialogRef:(0,n.useCallback)((e=>{o.current.dialog=e}),[]),setBackdropRef:(0,n.useCallback)((e=>{o.current.backdrop=e}),[])})}(w),I=$e(),L=Se(r),[A,B]=(0,n.useState)(!r),F=(0,n.useRef)(null);(0,n.useImperativeHandle)(t,(()=>D),[D]),H&&!L&&r&&(F.current=Ma()),f||r||A?r&&A&&B(!1):B(!0);const K=Te((()=>{if(D.add(),Z.current=q(document,"keydown",X),Y.current=q(document,"focus",(()=>setTimeout(U)),!0),N&&N(),v){const e=Ma(document);D.dialog&&e&&!hr(D.dialog,e)&&(F.current=e,D.dialog.focus())}})),_=Te((()=>{var e;D.remove(),null==Z.current||Z.current(),null==Y.current||Y.current(),b&&(null==(e=F.current)||null==e.focus||e.focus(g),F.current=null)}));var W,z,V;(0,n.useEffect)((()=>{r&&M&&K()}),[r,M,K]),(0,n.useEffect)((()=>{A&&_()}),[A,_]),W=()=>{_()},(z=(0,n.useRef)(W)).current=W,V=z,(0,n.useEffect)((function(){return function(){return V.current()}}),[]);const U=Te((()=>{if(!h||!I()||!D.isTopModal())return;const e=Ma();D.dialog&&e&&!hr(D.dialog,e)&&D.dialog.focus()})),G=Te((e=>{e.target===e.currentTarget&&(null==u||u(e),!0===l&&C())})),X=Te((e=>{c&&27===e.keyCode&&D.isTopModal()&&(null==d||d(e),e.defaultPrevented||C())})),Y=(0,n.useRef)(),Z=(0,n.useRef)(),J=f;if(!M||!(r||J&&!A))return null;const Q=Object.assign({role:o,ref:D.setDialogRef,"aria-modal":"dialog"===o||void 0},S,{style:s,className:a,tabIndex:-1});let ee=x?x(Q):(0,m.jsx)("div",Object.assign({},Q,{children:n.cloneElement(i,{role:"document"})}));J&&(ee=(0,m.jsx)(J,{appear:!0,unmountOnExit:!0,in:!!r,onExit:j,onExiting:P,onExited:(...e)=>{B(!0),null==O||O(...e)},onEnter:k,onEntering:R,onEntered:T,children:ee}));let te=null;if(l){const e=p;te=y({ref:D.setBackdropRef,onClick:G}),e&&(te=(0,m.jsx)(e,{appear:!0,in:!!r,children:te}))}return(0,m.jsx)(m.Fragment,{children:$().createPortal((0,m.jsxs)(m.Fragment,{children:[te,ee]}),M)})}));Ka.displayName="Modal";const Ha=Object.assign(Ka,{Manager:Ia});function _a(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}function Wa(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const za=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Va=".sticky-top",Ua=".navbar-toggler";class qa extends Ia{adjustAndStore(e,t,n){const r=t.style[e];t.dataset[e]=r,k(t,{[e]:`${parseFloat(k(t,e))+n}px`})}restore(e,t){const n=t.dataset[e];void 0!==n&&(delete t.dataset[e],k(t,{[e]:n}))}setContainerStyle(e){super.setContainerStyle(e);const t=this.getElement();var n,r;if(r="modal-open",(n=t).classList?n.classList.add(r):_a(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)),!e.scrollBarWidth)return;const o=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";Jt(t,za).forEach((t=>this.adjustAndStore(o,t,e.scrollBarWidth))),Jt(t,Va).forEach((t=>this.adjustAndStore(a,t,-e.scrollBarWidth))),Jt(t,Ua).forEach((t=>this.adjustAndStore(a,t,e.scrollBarWidth)))}removeContainerStyle(e){super.removeContainerStyle(e);const t=this.getElement();var n,r;r="modal-open",(n=t).classList?n.classList.remove(r):"string"==typeof n.className?n.className=Wa(n.className,r):n.setAttribute("class",Wa(n.className&&n.className.baseVal||"",r));const o=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";Jt(t,za).forEach((e=>this.restore(o,e))),Jt(t,Va).forEach((e=>this.restore(a,e))),Jt(t,Ua).forEach((e=>this.restore(a,e)))}}let Ga;function Xa(e){return Ga||(Ga=new qa(e)),Ga}const Ya=qa,Za=Je("modal-body"),Ja=n.createContext({onHide(){}}),Qa=n.forwardRef((({bsPrefix:e,className:n,contentClassName:r,centered:o,size:a,fullscreen:s,children:i,scrollable:l,...c},u)=>{const d=`${e=x(e,"modal")}-dialog`,f="string"==typeof s?`${e}-fullscreen-${s}`:`${e}-fullscreen`;return(0,m.jsx)("div",{...c,ref:u,className:t()(d,n,a&&`${e}-${a}`,o&&`${d}-centered`,l&&`${d}-scrollable`,s&&f),children:(0,m.jsx)("div",{className:t()(`${e}-content`,r),children:i})})}));Qa.displayName="ModalDialog";const es=Qa,ts=Je("modal-footer"),ns=n.forwardRef((({closeLabel:e,closeVariant:t,closeButton:r,onHide:o,children:a,...s},i)=>{const l=(0,n.useContext)(Ja),c=ke((()=>{null==l||l.onHide(),null==o||o()}));return(0,m.jsxs)("div",{ref:i,...s,children:[a,r&&(0,m.jsx)(Ge,{"aria-label":e,variant:t,onClick:c})]})}));ns.defaultProps={closeLabel:"Close",closeButton:!1};const rs=ns,os=n.forwardRef((({bsPrefix:e,className:n,...r},o)=>(e=x(e,"modal-header"),(0,m.jsx)(rs,{ref:o,...r,className:t()(n,e)}))));os.displayName="ModalHeader",os.defaultProps={closeLabel:"Close",closeButton:!1};const as=os,ss=Je("modal-title",{Component:Xe("h4")}),is={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:es};function ls(e){return(0,m.jsx)(We,{...e,timeout:null})}function cs(e){return(0,m.jsx)(We,{...e,timeout:null})}const us=n.forwardRef((({bsPrefix:e,className:r,style:o,dialogClassName:a,contentClassName:s,children:i,dialogAs:l,"aria-labelledby":c,"aria-describedby":u,"aria-label":d,show:f,animation:p,backdrop:v,keyboard:h,onEscapeKeyDown:b,onShow:g,onHide:y,container:E,autoFocus:C,enforceFocus:j,restoreFocus:O,restoreFocusOptions:P,onEntered:k,onExit:R,onExiting:T,onEnter:$,onEntering:S,onExited:M,backdropClassName:D,manager:I,...L},A)=>{const[B,F]=(0,n.useState)({}),[K,_]=(0,n.useState)(!1),W=(0,n.useRef)(!1),z=(0,n.useRef)(!1),q=(0,n.useRef)(null),[X,Y]=(0,n.useState)(null),Z=ee(A,Y),J=ke(y),Q=w();e=x(e,"modal");const te=(0,n.useMemo)((()=>({onHide:J})),[J]);function ne(){return I||Xa({isRTL:Q})}function re(e){if(!H)return;const t=ne().getScrollbarWidth()>0,n=e.scrollHeight>N(e).documentElement.clientHeight;F({paddingRight:t&&!n?Sa():void 0,paddingLeft:!t&&n?Sa():void 0})}const oe=ke((()=>{X&&re(X.dialog)}));Lt((()=>{U(window,"resize",oe),null==q.current||q.current()}));const ae=()=>{W.current=!0},se=e=>{W.current&&X&&e.target===X.dialog&&(z.current=!0),W.current=!1},ie=()=>{_(!0),q.current=G(X.dialog,(()=>{_(!1)}))},le=e=>{"static"!==v?z.current||e.target!==e.currentTarget?z.current=!1:null==y||y():(e=>{e.target===e.currentTarget&&ie()})(e)},ce=(0,n.useCallback)((n=>(0,m.jsx)("div",{...n,className:t()(`${e}-backdrop`,D,!p&&"show")})),[p,D,e]),ue={...o,...B};return ue.display="block",(0,m.jsx)(Ja.Provider,{value:te,children:(0,m.jsx)(Ha,{show:f,ref:Z,backdrop:v,container:E,keyboard:!0,autoFocus:C,enforceFocus:j,restoreFocus:O,restoreFocusOptions:P,onEscapeKeyDown:e=>{h||"static"!==v?h&&b&&b(e):(e.preventDefault(),ie())},onShow:g,onHide:y,onEnter:(e,t)=>{e&&re(e),null==$||$(e,t)},onEntering:(e,t)=>{null==S||S(e,t),V(window,"resize",oe)},onEntered:k,onExit:e=>{null==q.current||q.current(),null==R||R(e)},onExiting:T,onExited:e=>{e&&(e.style.display=""),null==M||M(e),U(window,"resize",oe)},manager:ne(),transition:p?ls:void 0,backdropTransition:p?cs:void 0,renderBackdrop:ce,renderDialog:n=>(0,m.jsx)("div",{role:"dialog",...n,style:ue,className:t()(r,e,K&&`${e}-static`),onClick:v?le:void 0,onMouseUp:se,"aria-label":d,"aria-labelledby":c,"aria-describedby":u,children:(0,m.jsx)(l,{...L,onMouseDown:ae,className:a,contentClassName:s,children:i})})})})}));us.displayName="Modal",us.defaultProps=is;const ds=Object.assign(us,{Body:Za,Header:as,Title:ss,Footer:ts,Dialog:es,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150});o(946);const fs=Je("nav-item"),ps=n.forwardRef((({bsPrefix:e,className:n,as:r=Ke,active:o,eventKey:a,...s},i)=>{e=x(e,"nav-link");const[l,c]=xa({key:Fr(a,s.href),active:o,...s});return(0,m.jsx)(r,{...s,...l,ref:i,className:t()(n,e,s.disabled&&"disabled",c.isActive&&"active")})}));ps.displayName="NavLink",ps.defaultProps={disabled:!1};const ms=ps,vs=n.forwardRef(((e,r)=>{const{as:o="div",bsPrefix:a,variant:s,fill:i,justify:l,navbar:c,navbarScroll:u,className:d,activeKey:f,...v}=p(e,{activeKey:"onSelect"}),h=x(a,"nav");let b,g,y=!1;const w=(0,n.useContext)(lo),E=(0,n.useContext)(wt);return w?(b=w.bsPrefix,y=null==c||c):E&&({cardHeaderBsPrefix:g}=E),(0,m.jsx)(Oa,{as:o,ref:r,activeKey:f,className:t()(d,{[h]:!y,[`${b}-nav`]:y,[`${b}-nav-scroll`]:y&&u,[`${g}-${s}`]:!!g,[`${h}-${s}`]:!!s,[`${h}-fill`]:i,[`${h}-justified`]:l}),...v})}));vs.displayName="Nav",vs.defaultProps={justify:!1,fill:!1};const hs=Object.assign(vs,{Item:fs,Link:ms}),bs=n.forwardRef((({bsPrefix:e,className:n,as:r,...o},a)=>{e=x(e,"navbar-brand");const s=r||(o.href?"a":"span");return(0,m.jsx)(s,{...o,ref:a,className:t()(n,e)})}));bs.displayName="NavbarBrand";const gs=bs,xs=n.forwardRef((({children:e,bsPrefix:t,...r},o)=>{t=x(t,"navbar-collapse");const a=(0,n.useContext)(lo);return(0,m.jsx)(le,{in:!(!a||!a.expanded),...r,children:(0,m.jsx)("div",{ref:o,className:t,children:e})})}));xs.displayName="NavbarCollapse";const ys=xs,ws=n.forwardRef((({bsPrefix:e,className:r,children:o,label:a,as:s="button",onClick:i,...l},c)=>{e=x(e,"navbar-toggler");const{onToggle:u,expanded:d}=(0,n.useContext)(lo)||{},f=ke((e=>{i&&i(e),u&&u()}));return"button"===s&&(l.type="button"),(0,m.jsx)(s,{...l,ref:c,onClick:f,"aria-label":a,className:t()(r,e,!d&&"collapsed"),children:o||(0,m.jsx)("span",{className:`${e}-icon`})})}));ws.displayName="NavbarToggle",ws.defaultProps={label:"Toggle navigation"};const Es=ws,Ns=Je("offcanvas-body"),Cs={[I]:"show",[L]:"show"},js=n.forwardRef((({bsPrefix:e,className:r,children:o,...a},s)=>(e=x(e,"offcanvas"),(0,m.jsx)(ne,{ref:s,addEndListener:Y,...a,childRef:o.ref,children:(a,s)=>n.cloneElement(o,{...s,className:t()(r,o.props.className,(a===I||a===A)&&`${e}-toggling`,Cs[a])})}))));js.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1},js.displayName="OffcanvasToggling";const Os=js,Ps=n.forwardRef((({bsPrefix:e,className:n,...r},o)=>(e=x(e,"offcanvas-header"),(0,m.jsx)(rs,{ref:o,...r,className:t()(n,e)}))));Ps.displayName="OffcanvasHeader",Ps.defaultProps={closeLabel:"Close",closeButton:!1};const ks=Ps,Rs=Je("offcanvas-title",{Component:Xe("h5")});function Ts(e){return(0,m.jsx)(Os,{...e})}function $s(e){return(0,m.jsx)(We,{...e})}const Ss=n.forwardRef((({bsPrefix:e,className:r,children:o,"aria-labelledby":a,placement:s,show:i,backdrop:l,keyboard:c,scroll:u,onEscapeKeyDown:d,onShow:f,onHide:p,container:v,autoFocus:h,enforceFocus:b,restoreFocus:g,restoreFocusOptions:y,onEntered:w,onExit:E,onExiting:N,onEnter:C,onEntering:j,onExited:O,backdropClassName:P,manager:k,...R},T)=>{const $=(0,n.useRef)();e=x(e,"offcanvas");const{onToggle:S}=(0,n.useContext)(lo)||{},M=ke((()=>{null==S||S(),null==p||p()})),D=(0,n.useMemo)((()=>({onHide:M})),[M]),I=(0,n.useCallback)((n=>(0,m.jsx)("div",{...n,className:t()(`${e}-backdrop`,P)})),[P,e]);return(0,m.jsx)(Ja.Provider,{value:D,children:(0,m.jsx)(Ha,{show:i,ref:T,backdrop:l,container:v,keyboard:c,autoFocus:h,enforceFocus:b&&!u,restoreFocus:g,restoreFocusOptions:y,onEscapeKeyDown:d,onShow:f,onHide:M,onEnter:(e,...t)=>{e&&(e.style.visibility="visible"),null==C||C(e,...t)},onEntering:j,onEntered:w,onExit:E,onExiting:N,onExited:(e,...t)=>{e&&(e.style.visibility=""),null==O||O(...t)},manager:k||(u?($.current||($.current=new Ya({handleContainerOverflow:!1})),$.current):Xa()),transition:Ts,backdropTransition:$s,renderBackdrop:I,renderDialog:n=>(0,m.jsx)("div",{role:"dialog",...n,...R,className:t()(r,e,`${e}-${s}`),"aria-labelledby":a,children:o})})})}));Ss.displayName="Offcanvas",Ss.defaultProps={show:!1,backdrop:!0,keyboard:!0,scroll:!1,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,placement:"start"};const Ms=Object.assign(Ss,{Body:Ns,Header:ks,Title:Rs}),Ds=n.forwardRef(((e,t)=>{const r=(0,n.useContext)(lo);return(0,m.jsx)(Ms,{ref:t,show:!(null==r||!r.expanded),...e})}));Ds.displayName="NavbarOffcanvas";const Is=Ds,Ls=Je("navbar-text",{Component:"span"}),As=n.forwardRef(((e,r)=>{const{bsPrefix:o,expand:a,variant:s,bg:i,fixed:l,sticky:c,className:u,as:d="nav",expanded:f,onToggle:v,onSelect:h,collapseOnSelect:b,...g}=p(e,{expanded:"onToggle"}),y=x(o,"navbar"),w=(0,n.useCallback)(((...e)=>{null==h||h(...e),b&&f&&(null==v||v(!1))}),[h,b,f,v]);void 0===g.role&&"nav"!==d&&(g.role="navigation");let E=`${y}-expand`;"string"==typeof a&&(E=`${E}-${a}`);const N=(0,n.useMemo)((()=>({onToggle:()=>null==v?void 0:v(!f),bsPrefix:y,expanded:!!f})),[y,f,v]);return(0,m.jsx)(lo.Provider,{value:N,children:(0,m.jsx)(Kr.Provider,{value:w,children:(0,m.jsx)(d,{ref:r,...g,className:t()(u,y,a&&E,s&&`${y}-${s}`,i&&`bg-${i}`,c&&`sticky-${c}`,l&&`fixed-${l}`)})})})}));As.defaultProps={expand:!0,variant:"light",collapseOnSelect:!1},As.displayName="Navbar";const Bs=Object.assign(As,{Brand:gs,Collapse:ys,Offcanvas:Is,Text:Ls,Toggle:Es}),Fs=n.forwardRef((({id:e,title:n,children:r,bsPrefix:o,className:a,rootCloseEvent:s,menuRole:i,disabled:l,active:c,renderMenuOnMount:u,menuVariant:d,...f},p)=>{const v=x(void 0,"nav-item");return(0,m.jsxs)(yo,{ref:p,...f,className:t()(a,v),children:[(0,m.jsx)(yo.Toggle,{id:e,eventKey:null,active:c,disabled:l,childBsPrefix:o,as:ms,children:n}),(0,m.jsx)(yo.Menu,{role:i,renderOnMount:u,rootCloseEvent:s,variant:d,children:r})]})}));Fs.displayName="NavDropdown";const Ks=Object.assign(Fs,{Item:yo.Item,ItemText:yo.ItemText,Divider:yo.Divider,Header:yo.Header}),Hs=()=>{},_s=n.forwardRef(((e,t)=>{const{flip:r,offset:o,placement:a,containerPadding:s,popperConfig:i={},transition:l}=e,[c,u]=Re(),[d,f]=Re(),p=ha(u,t),v=Aa(e.container),h=Aa(e.target),[b,g]=(0,n.useState)(!e.show),x=vr(h,c,Cr({placement:a,enableEvents:!!e.show,containerPadding:s||5,flip:r,offset:o,arrowElement:d,popperConfig:i}));e.show?b&&g(!1):e.transition||b||g(!0);const y=(...t)=>{g(!0),e.onExited&&e.onExited(...t)},w=e.show||l&&!b;if(function(e,t,{disabled:r,clickTrigger:o}={}){const a=t||Hs;Er(e,a,{disabled:r,clickTrigger:o});const s=Te((e=>{27===e.keyCode&&a(e)}));(0,n.useEffect)((()=>{if(r||null==e)return;const t=N(yr(e));let n=(t.defaultView||window).event;const o=q(t,"keyup",(e=>{e!==n?s(e):n=void 0}));return()=>{o()}}),[e,r,s])}(c,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!w)return null;let E=e.children(Object.assign({},x.attributes.popper,{style:x.styles.popper,ref:p}),{popper:x,placement:a,show:!!e.show,arrowProps:Object.assign({},x.attributes.arrow,{style:x.styles.arrow,ref:f})});if(l){const{onExit:t,onExiting:n,onEnter:r,onEntering:o,onEntered:a}=e;E=(0,m.jsx)(l,{in:e.show,appear:!0,onExit:t,onExiting:n,onExited:y,onEnter:r,onEntering:o,onEntered:a,children:E})}return v?$().createPortal(E,v):null}));_s.displayName="Overlay";const Ws=_s,zs=Je("popover-header"),Vs=Je("popover-body");function Us(e,t){let n=e;return"left"===e?n=t?"end":"start":"right"===e&&(n=t?"start":"end"),n}n.Component;const qs=n.forwardRef((({bsPrefix:e,placement:n,className:r,style:o,children:a,body:s,arrowProps:i,popper:l,show:c,...u},d)=>{const f=x(e,"popover"),p=w(),[v]=(null==n?void 0:n.split("-"))||[],h=Us(v,p);return(0,m.jsxs)("div",{ref:d,role:"tooltip",style:o,"x-placement":v,className:t()(r,f,v&&`bs-popover-${h}`),...u,children:[(0,m.jsx)("div",{className:"popover-arrow",...i}),s?(0,m.jsx)(Vs,{children:a}):a]})}));qs.defaultProps={placement:"right"};const Gs=Object.assign(qs,{Header:zs,Body:Vs,POPPER_OFFSET:[0,8]}),Xs={transition:We,rootClose:!1,show:!1,placement:"top"},Ys=n.forwardRef((({children:e,transition:r,popperConfig:o={},...a},s)=>{const i=(0,n.useRef)({}),[l,c]=function(e){const t=(0,n.useRef)(null),r=x(void 0,"popover"),o=(0,n.useMemo)((()=>({name:"offset",options:{offset:()=>t.current&&_a(t.current,r)?e||Gs.POPPER_OFFSET:e||[0,0]}})),[e,r]);return[t,[o]]}(a.offset),u=ee(s,l),d=!0===r?We:r||void 0;return(0,m.jsx)(Ws,{...a,ref:u,popperConfig:{...o,modifiers:c.concat(o.modifiers||[])},transition:d,children:(o,{arrowProps:a,popper:s,show:l})=>{var c,u;!function(e,t){const{ref:n}=e,{ref:r}=t;e.ref=n.__wrapped||(n.__wrapped=e=>n(te(e))),t.ref=r.__wrapped||(r.__wrapped=e=>r(te(e)))}(o,a);const d=null==s?void 0:s.placement,f=Object.assign(i.current,{state:null==s?void 0:s.state,scheduleUpdate:null==s?void 0:s.update,placement:d,outOfBoundaries:(null==s||null==(c=s.state)||null==(u=c.modifiersData.hide)?void 0:u.isReferenceHidden)||!1});return"function"==typeof e?e({...o,placement:d,show:l,...!r&&l&&{className:"show"},popper:f,arrowProps:a}):n.cloneElement(e,{...o,placement:d,arrowProps:a,popper:f,className:t()(e.props.className,!r&&l&&"show"),style:{...e.props.style,...o.style}})}})}));Ys.displayName="Overlay",Ys.defaultProps=Xs;const Zs=Ys;function Js(e,t,n){const[r]=t,o=r.currentTarget,a=r.relatedTarget||r.nativeEvent[n];a&&a===o||hr(o,a)||e(...t)}function Qs({trigger:e,overlay:t,children:r,popperConfig:o={},show:a,defaultShow:s=!1,onToggle:i,delay:l,placement:c,flip:u=c&&-1!==c.indexOf("auto"),...d}){const p=(0,n.useRef)(null),v=ee(p,r.ref),h=Ft(),b=(0,n.useRef)(""),[g,x]=f(a,s,i),y=function(e){return e&&"object"==typeof e?e:{show:e,hide:e}}(l),{onFocus:w,onBlur:E,onClick:N}="function"!=typeof r?n.Children.only(r).props:{},C=(0,n.useCallback)((()=>{h.clear(),b.current="show",y.show?h.set((()=>{"show"===b.current&&x(!0)}),y.show):x(!0)}),[y.show,x,h]),j=(0,n.useCallback)((()=>{h.clear(),b.current="hide",y.hide?h.set((()=>{"hide"===b.current&&x(!1)}),y.hide):x(!1)}),[y.hide,x,h]),O=(0,n.useCallback)(((...e)=>{C(),null==w||w(...e)}),[C,w]),P=(0,n.useCallback)(((...e)=>{j(),null==E||E(...e)}),[j,E]),k=(0,n.useCallback)(((...e)=>{x(!g),null==N||N(...e)}),[N,x,g]),R=(0,n.useCallback)(((...e)=>{Js(C,e,"fromElement")}),[C]),T=(0,n.useCallback)(((...e)=>{Js(j,e,"toElement")}),[j]),$=null==e?[]:[].concat(e),S={ref:e=>{v(te(e))}};return-1!==$.indexOf("click")&&(S.onClick=k),-1!==$.indexOf("focus")&&(S.onFocus=O,S.onBlur=P),-1!==$.indexOf("hover")&&(S.onMouseOver=R,S.onMouseOut=T),(0,m.jsxs)(m.Fragment,{children:["function"==typeof r?r(S):(0,n.cloneElement)(r,S),(0,m.jsx)(Zs,{...d,show:g,onHide:j,flip:u,placement:c,popperConfig:o,target:p.current,children:t})]})}Qs.defaultProps={defaultShow:!1,trigger:["hover","focus"]};const ei=Qs,ti=n.forwardRef((({active:e,disabled:n,className:r,style:o,activeLabel:a,children:s,...i},l)=>{const c=e||n?"span":Ke;return(0,m.jsx)("li",{ref:l,style:o,className:t()(r,"page-item",{active:e,disabled:n}),children:(0,m.jsxs)(c,{className:"page-link",disabled:n,...i,children:[s,e&&a&&(0,m.jsx)("span",{className:"visually-hidden",children:a})]})})}));ti.defaultProps={active:!1,disabled:!1,activeLabel:"(current)"},ti.displayName="PageItem";const ni=ti;function ri(e,t,n=e){function r({children:e,...r}){return(0,m.jsxs)(ti,{...r,children:[(0,m.jsx)("span",{"aria-hidden":"true",children:e||t}),(0,m.jsx)("span",{className:"visually-hidden",children:n})]})}return r.displayName=e,r}const oi=ri("First","«"),ai=ri("Prev","‹","Previous"),si=ri("Ellipsis","…","More"),ii=ri("Next","›"),li=ri("Last","»"),ci=n.forwardRef((({bsPrefix:e,className:n,size:r,...o},a)=>{const s=x(e,"pagination");return(0,m.jsx)("ul",{ref:a,...o,className:t()(n,s,r&&`${s}-${r}`)})}));ci.displayName="Pagination";const ui=Object.assign(ci,{First:oi,Prev:ai,Ellipsis:si,Item:ni,Next:ii,Last:li});function di({animation:e,bg:n,bsPrefix:r,size:o,...a}){r=x(r,"placeholder");const[{className:s,...i}]=Gt(a);return{...i,className:t()(s,e?`${r}-${e}`:r,o&&`${r}-${o}`,n&&`bg-${n}`)}}const fi=n.forwardRef(((e,t)=>{const n=di(e);return(0,m.jsx)(pt,{...n,ref:t,disabled:!0,tabIndex:-1})}));fi.displayName="PlaceholderButton";const pi=fi,mi=n.forwardRef((({as:e="span",...t},n)=>{const r=di(t);return(0,m.jsx)(e,{...r,ref:n})}));mi.displayName="Placeholder";const vi=Object.assign(mi,{Button:pi});function hi(e,t,n){const r=(e-t)/(n-t)*100;return Math.round(1e3*r)/1e3}function bi({min:e,now:n,max:r,label:o,visuallyHidden:a,striped:s,animated:i,className:l,style:c,variant:u,bsPrefix:d,...f},p){return(0,m.jsx)("div",{ref:p,...f,role:"progressbar",className:t()(l,`${d}-bar`,{[`bg-${u}`]:u,[`${d}-bar-animated`]:i,[`${d}-bar-striped`]:i||s}),style:{width:`${hi(n,e,r)}%`,...c},"aria-valuenow":n,"aria-valuemin":e,"aria-valuemax":r,children:a?(0,m.jsx)("span",{className:"visually-hidden",children:o}):o})}const gi=n.forwardRef((({isChild:e,...r},o)=>{if(r.bsPrefix=x(r.bsPrefix,"progress"),e)return bi(r,o);const{min:a,now:s,max:i,label:l,visuallyHidden:c,striped:u,animated:d,bsPrefix:f,variant:p,className:v,children:h,...b}=r;return(0,m.jsx)("div",{ref:o,...b,className:t()(v,f),children:h?Wt(h,(e=>(0,n.cloneElement)(e,{isChild:!0}))):bi({min:a,now:s,max:i,label:l,visuallyHidden:c,striped:u,animated:d,bsPrefix:f,variant:p},o)})}));gi.displayName="ProgressBar",gi.defaultProps={min:0,max:100,animated:!1,isChild:!1,visuallyHidden:!1,striped:!1};const xi=gi,yi=n.forwardRef((({bsPrefix:e,className:r,children:o,aspectRatio:a,style:s,...i},l)=>{e=x(e,"ratio");const c="number"==typeof a;return(0,m.jsx)("div",{ref:l,...i,style:{...s,...c&&{"--bs-aspect-ratio":(u=a,u<=0||u>100?"100%":u<1?100*u+"%":`${u}%`)}},className:t()(e,r,!c&&`${e}-${a}`),children:n.Children.only(o)});var u}));yi.defaultProps={aspectRatio:"1x1"};const wi=yi,Ei=n.forwardRef((({bsPrefix:e,className:n,as:r="div",...o},a)=>{const s=x(e,"row"),i=y(),l=`${s}-cols`,c=[];return i.forEach((e=>{const t=o[e];let n;delete o[e],null!=t&&"object"==typeof t?({cols:n}=t):n=t;const r="xs"!==e?`-${e}`:"";null!=n&&c.push(`${l}${r}-${n}`)})),(0,m.jsx)(r,{ref:a,...o,className:t()(n,s,...c)})}));Ei.displayName="Row";const Ni=Ei,Ci=n.forwardRef((({bsPrefix:e,variant:n,animation:r,size:o,as:a="div",className:s,...i},l)=>{const c=`${e=x(e,"spinner")}-${r}`;return(0,m.jsx)(a,{ref:l,...i,className:t()(s,c,o&&`${c}-${o}`,n&&`text-${n}`)})}));Ci.displayName="Spinner";const ji=Ci,Oi={id:Ve().string,toggleLabel:Ve().string,href:Ve().string,target:Ve().string,onClick:Ve().func,title:Ve().node.isRequired,type:Ve().string,disabled:Ve().bool,align:Eo,menuRole:Ve().string,renderMenuOnMount:Ve().bool,rootCloseEvent:Ve().string,bsPrefix:Ve().string,variant:Ve().string,size:Ve().string},Pi=n.forwardRef((({id:e,bsPrefix:t,size:n,variant:r,title:o,type:a,toggleLabel:s,children:i,onClick:l,href:c,target:u,menuRole:d,renderMenuOnMount:f,rootCloseEvent:p,...v},h)=>(0,m.jsxs)(yo,{ref:h,...v,as:vt,children:[(0,m.jsx)(pt,{size:n,variant:r,disabled:v.disabled,bsPrefix:t,href:c,target:u,onClick:l,type:a,children:o}),(0,m.jsx)(yo.Toggle,{split:!0,id:e,size:n,variant:r,disabled:v.disabled,childBsPrefix:t,children:(0,m.jsx)("span",{className:"visually-hidden",children:s})}),(0,m.jsx)(yo.Menu,{role:d,renderOnMount:f,rootCloseEvent:p,children:i})]})));Pi.propTypes=Oi,Pi.defaultProps={toggleLabel:"Toggle dropdown",type:"button"},Pi.displayName="SplitButton";const ki=Pi,Ri=function(e){let t=(0,n.useContext)($r),o=(0,n.useMemo)((()=>({prefix:t===Tr?0:++t.prefix,current:0})),[t]);return r().createElement($r.Provider,{value:o},e.children)};function Ti(e,t=v){const n=[];return Object.entries(e).forEach((([e,r])=>{null!=r&&("object"==typeof r?t.forEach((t=>{const o=r[t];if(null!=o){const r="xs"!==t?`-${t}`:"";n.push(`${e}${r}-${o}`)}})):n.push(`${e}-${r}`))})),n}const $i=n.forwardRef((({as:e="div",bsPrefix:n,className:r,direction:o,gap:a,...s},i)=>{n=x(n,"horizontal"===o?"hstack":"vstack");const l=y();return(0,m.jsx)(e,{...s,ref:i,className:t()(r,n,...Ti({gap:a,breakpoints:l}))})}));$i.displayName="Stack";const Si=$i,Mi=function({children:e,in:t,mountOnEnter:r,unmountOnExit:o}){const a=(0,n.useRef)(t);return(0,n.useEffect)((()=>{t&&(a.current=!0)}),[t]),t?e:o||!a.current&&r?null:e},Di=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],Ii=["activeKey","getControlledId","getControllerId"],Li=["as"];function Ai(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Bi(e){let{active:t,eventKey:r,mountOnEnter:o,transition:a,unmountOnExit:s,role:i="tabpanel",onEnter:l,onEntering:c,onEntered:u,onExit:d,onExiting:f,onExited:p}=e,m=Ai(e,Di);const v=(0,n.useContext)(ba);if(!v)return[Object.assign({},m,{role:i}),{eventKey:r,isActive:t,mountOnEnter:o,transition:a,unmountOnExit:s,onEnter:l,onEntering:c,onEntered:u,onExit:d,onExiting:f,onExited:p}];const{activeKey:h,getControlledId:b,getControllerId:g}=v,x=Ai(v,Ii),y=Fr(r);return[Object.assign({},m,{role:i,id:b(r),"aria-labelledby":g(r)}),{eventKey:r,isActive:null==t&&null!=y?Fr(h)===y:t,transition:a||x.transition,mountOnEnter:null!=o?o:x.mountOnEnter,unmountOnExit:null!=s?s:x.unmountOnExit,onEnter:l,onEntering:c,onEntered:u,onExit:d,onExiting:f,onExited:p}]}const Fi=n.forwardRef(((e,t)=>{let{as:n="div"}=e,r=Ai(e,Li);const[o,{isActive:a,onEnter:s,onEntering:i,onEntered:l,onExit:c,onExiting:u,onExited:d,mountOnEnter:f,unmountOnExit:p,transition:v=Mi}]=Bi(r);return(0,m.jsx)(ba.Provider,{value:null,children:(0,m.jsx)(Kr.Provider,{value:null,children:(0,m.jsx)(v,{in:a,onEnter:s,onEntering:i,onEntered:l,onExit:c,onExiting:u,onExited:d,mountOnEnter:f,unmountOnExit:p,children:(0,m.jsx)(n,Object.assign({},o,{ref:t,hidden:!a,"aria-hidden":!a}))})})})}));Fi.displayName="TabPanel";const Ki=e=>{const{id:t,generateChildId:r,onSelect:o,activeKey:a,defaultActiveKey:s,transition:i,mountOnEnter:l,unmountOnExit:c,children:u}=e,[d,p]=f(a,s,o),v=Mr(t),h=(0,n.useMemo)((()=>r||((e,t)=>v?`${v}-${t}-${e}`:null)),[v,r]),b=(0,n.useMemo)((()=>({onSelect:p,activeKey:d,transition:i,mountOnEnter:l||!1,unmountOnExit:c||!1,getControlledId:e=>h(e,"tabpane"),getControllerId:e=>h(e,"tab")})),[p,d,i,l,c,h]);return(0,m.jsx)(ba.Provider,{value:b,children:(0,m.jsx)(Kr.Provider,{value:p||null,children:u})})};Ki.Panel=Fi;const Hi=Ki;function _i(e){return"boolean"==typeof e?e?We:void 0:e}const Wi=({transition:e,...t})=>(0,m.jsx)(Hi,{...t,transition:_i(e)});Wi.displayName="TabContainer";const zi=Wi,Vi=Je("tab-content"),Ui=n.forwardRef((({bsPrefix:e,transition:n,...r},o)=>{const[{className:a,as:s="div",...i},{isActive:l,onEnter:c,onEntering:u,onEntered:d,onExit:f,onExiting:p,onExited:v,mountOnEnter:h,unmountOnExit:b,transition:g=We}]=Bi({...r,transition:_i(n)}),y=x(e,"tab-pane");return(0,m.jsx)(ba.Provider,{value:null,children:(0,m.jsx)(Kr.Provider,{value:null,children:(0,m.jsx)(g,{in:l,onEnter:c,onEntering:u,onEntered:d,onExit:f,onExiting:p,onExited:v,mountOnEnter:h,unmountOnExit:b,children:(0,m.jsx)(s,{...i,ref:o,className:t()(a,y,l&&"active")})})})})}));Ui.displayName="TabPane";const qi=Ui,Gi={eventKey:Ve().oneOfType([Ve().string,Ve().number]),title:Ve().node.isRequired,disabled:Ve().bool,tabClassName:Ve().string,tabAttrs:Ve().object},Xi=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};Xi.propTypes=Gi;const Yi=Object.assign(Xi,{Container:zi,Content:Vi,Pane:qi}),Zi=n.forwardRef((({bsPrefix:e,className:n,striped:r,bordered:o,borderless:a,hover:s,size:i,variant:l,responsive:c,...u},d)=>{const f=x(e,"table"),p=t()(n,f,l&&`${f}-${l}`,i&&`${f}-${i}`,r&&`${f}-striped`,o&&`${f}-bordered`,a&&`${f}-borderless`,s&&`${f}-hover`),v=(0,m.jsx)("table",{...u,className:p,ref:d});if(c){let e=`${f}-responsive`;return"string"==typeof c&&(e=`${e}-${c}`),(0,m.jsx)("div",{className:e,children:v})}return v}));function Ji(e){let t;return zt(e,(e=>{null==t&&(t=e.props.eventKey)})),t}function Qi(e){const{title:t,eventKey:n,disabled:r,tabClassName:o,tabAttrs:a,id:s}=e.props;return null==t?null:(0,m.jsx)(fs,{as:"li",role:"presentation",children:(0,m.jsx)(ms,{as:"button",type:"button",eventKey:n,disabled:r,id:s,className:o,...a,children:t})})}const el=e=>{const{id:t,onSelect:n,transition:r,mountOnEnter:o,unmountOnExit:a,children:s,activeKey:i=Ji(s),...l}=p(e,{activeKey:"onSelect"});return(0,m.jsxs)(Hi,{id:t,activeKey:i,onSelect:n,transition:_i(r),mountOnEnter:o,unmountOnExit:a,children:[(0,m.jsx)(hs,{...l,role:"tablist",as:"ul",children:Wt(s,Qi)}),(0,m.jsx)(Vi,{children:Wt(s,(e=>{const t={...e.props};return delete t.title,delete t.disabled,delete t.tabClassName,delete t.tabAttrs,(0,m.jsx)(qi,{...t})}))})]})};el.defaultProps={variant:"tabs",mountOnEnter:!1,unmountOnExit:!1},el.displayName="Tabs";const tl=el,nl={[I]:"showing",[A]:"showing show"},rl=n.forwardRef(((e,t)=>(0,m.jsx)(We,{...e,ref:t,transitionClasses:nl})));rl.displayName="ToastFade";const ol=rl,al=n.createContext({onClose(){}}),sl=n.forwardRef((({bsPrefix:e,closeLabel:r,closeVariant:o,closeButton:a,className:s,children:i,...l},c)=>{e=x(e,"toast-header");const u=(0,n.useContext)(al),d=ke((e=>{null==u||null==u.onClose||u.onClose(e)}));return(0,m.jsxs)("div",{ref:c,...l,className:t()(e,s),children:[i,a&&(0,m.jsx)(Ge,{"aria-label":r,variant:o,onClick:d,"data-dismiss":"toast"})]})}));sl.displayName="ToastHeader",sl.defaultProps={closeLabel:"Close",closeButton:!0};const il=sl,ll=Je("toast-body"),cl=n.forwardRef((({bsPrefix:e,className:r,transition:o=ol,show:a=!0,animation:s=!0,delay:i=5e3,autohide:l=!1,onClose:c,bg:u,...d},f)=>{e=x(e,"toast");const p=(0,n.useRef)(i),v=(0,n.useRef)(c);(0,n.useEffect)((()=>{p.current=i,v.current=c}),[i,c]);const h=Ft(),b=!(!l||!a),g=(0,n.useCallback)((()=>{b&&(null==v.current||v.current())}),[b]);(0,n.useEffect)((()=>{h.set(g,p.current)}),[h,g]);const y=(0,n.useMemo)((()=>({onClose:c})),[c]),w=!(!o||!s),E=(0,m.jsx)("div",{...d,ref:f,className:t()(e,r,u&&`bg-${u}`,!w&&(a?"show":"hide")),role:"alert","aria-live":"assertive","aria-atomic":"true"});return(0,m.jsx)(al.Provider,{value:y,children:w&&o?(0,m.jsx)(o,{in:a,unmountOnExit:!0,children:E}):E})}));cl.displayName="Toast";const ul=Object.assign(cl,{Body:ll,Header:il}),dl={"top-start":"top-0 start-0","top-center":"top-0 start-50 translate-middle-x","top-end":"top-0 end-0","middle-start":"top-50 start-0 translate-middle-y","middle-center":"top-50 start-50 translate-middle","middle-end":"top-50 end-0 translate-middle-y","bottom-start":"bottom-0 start-0","bottom-center":"bottom-0 start-50 translate-middle-x","bottom-end":"bottom-0 end-0"},fl=n.forwardRef((({bsPrefix:e,position:n,className:r,as:o="div",...a},s)=>(e=x(e,"toast-container"),(0,m.jsx)(o,{ref:s,...a,className:t()(e,n&&`position-absolute ${dl[n]}`,r)}))));fl.displayName="ToastContainer";const pl=fl,ml=()=>{},vl=n.forwardRef((({bsPrefix:e,name:n,className:r,checked:o,type:a,onChange:s,value:i,disabled:l,id:c,inputRef:u,...d},f)=>(e=x(e,"btn-check"),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("input",{className:e,name:n,type:a,value:i,ref:u,autoComplete:"off",checked:!!o,disabled:!!l,onChange:s||ml,id:c}),(0,m.jsx)(pt,{...d,ref:f,className:t()(r,l&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:c})]}))));vl.displayName="ToggleButton";const hl=vl,bl=n.forwardRef(((e,t)=>{const{children:r,type:o,name:a,value:s,onChange:i,...l}=p(e,{value:"onChange"}),u=()=>null==s?[]:[].concat(s);return"radio"!==o||a||c()(!1),(0,m.jsx)(vt,{...l,ref:t,children:Wt(r,(e=>{const t=u(),{value:r,onChange:s}=e.props;return n.cloneElement(e,{type:o,name:e.name||a,checked:-1!==t.indexOf(r),onChange:Z(s,(e=>((e,t)=>{if(!i)return;const n=u(),r=-1!==n.indexOf(e);"radio"!==o?i(r?n.filter((t=>t!==e)):[...n,e],t):!r&&i&&i(e,t)})(r,e)))})}))})}));bl.defaultProps={type:"radio",vertical:!1};const gl=Object.assign(bl,{Button:hl}),xl=n.forwardRef((({bsPrefix:e,placement:n,className:r,style:o,children:a,arrowProps:s,popper:i,show:l,...c},u)=>{e=x(e,"tooltip");const d=w(),[f]=(null==n?void 0:n.split("-"))||[],p=Us(f,d);return(0,m.jsxs)("div",{ref:u,style:o,role:"tooltip","x-placement":f,className:t()(r,e,`bs-tooltip-${p}`),...c,children:[(0,m.jsx)("div",{className:"tooltip-arrow",...s}),(0,m.jsx)("div",{className:`${e}-inner`,children:a})]})}));xl.defaultProps={placement:"right"},xl.displayName="Tooltip";const yl=xl})(),a})()}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-bootstrap",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"description": "Bootstrap 5 components built with React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bootstrap",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.17.2",
|
|
39
|
-
"@restart/hooks": "^0.4.
|
|
39
|
+
"@restart/hooks": "^0.4.6",
|
|
40
40
|
"@restart/ui": "^1.2.0",
|
|
41
41
|
"@types/invariant": "^2.2.35",
|
|
42
42
|
"@types/prop-types": "^15.7.4",
|