@pfct/purple 1.7.0-next.3 → 1.7.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/index.9fap07Gq.js +60 -0
- package/dist/chunks/index.B-Bfcjo7.js +1 -0
- package/dist/chunks/index.BfjI33ZB.js +41 -0
- package/dist/chunks/{index.Dud5PpT2.js → index.BmifSqQX.js} +26 -26
- package/dist/chunks/{index.BRcoZnsL.js → index.BngGCpBd.js} +1 -1
- package/dist/chunks/{index.B04X8ryw.js → index.BtGja8CI.js} +1 -1
- package/dist/chunks/{index.BKkcGVEJ.js → index.C1WOc90r.js} +81 -81
- package/dist/chunks/index.C3oZfEx6.js +283 -0
- package/dist/chunks/{index.CtswiKeA.js → index.CDVf4iB0.js} +1 -1
- package/dist/chunks/{index.DrALxeqy.js → index.CIUK7hO2.js} +23 -23
- package/dist/chunks/{index.DIsmU7qE.js → index.CVogEmtp.js} +1 -1
- package/dist/chunks/index.CqHp_goI.js +1 -0
- package/dist/chunks/{index.B3rAhBCw.js → index.CskkVMdK.js} +1 -1
- package/dist/chunks/{index.93u2Cu_l.js → index.DIaW0faE.js} +1 -1
- package/dist/chunks/{index.-8MfVPUU.js → index.DVHp5IZe.js} +47 -47
- package/dist/chunks/index.QJBZMz2E.js +5 -0
- package/dist/chunks/index.eYfYnSCV.js +1 -0
- package/dist/chunks/index.ps14_l3u.js +1 -0
- package/dist/components/Accordion/index.cjs.js +1 -1
- package/dist/components/Accordion/index.es.js +176 -176
- package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.es.js +10 -10
- package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
- package/dist/components/Badge/BaseBadge/index.styled.es.js +1 -1
- package/dist/components/Badge/IconBadge/index.cjs.js +1 -1
- package/dist/components/Badge/IconBadge/index.es.js +6 -6
- package/dist/components/Badge/TextBadge/index.cjs.js +1 -1
- package/dist/components/Badge/TextBadge/index.es.js +7 -7
- package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +32 -32
- package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/NavBottomSheet/index.es.js +8 -8
- package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
- package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +15 -15
- package/dist/components/Button/BaseButton/index.cjs.js +1 -1
- package/dist/components/Button/BaseButton/index.es.js +4 -4
- package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/DoubleButton/index.es.js +6 -6
- package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatBaseButton/index.es.js +16 -16
- package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatDoubleButton/index.es.js +13 -13
- package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
- package/dist/components/Button/FloatSingleButton/index.es.js +8 -8
- package/dist/components/Button/SingleButton/index.cjs.js +1 -1
- package/dist/components/Button/SingleButton/index.es.js +3 -3
- package/dist/components/Button/TestButton/index.cjs.js +1 -1
- package/dist/components/Button/TestButton/index.es.js +2 -2
- package/dist/components/Card/index.cjs.js +1 -1
- package/dist/components/Card/index.es.js +7 -7
- package/dist/components/Chips/BasicChips/index.cjs.js +1 -1
- package/dist/components/Chips/BasicChips/index.es.js +8 -8
- package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
- package/dist/components/Chips/BasicChips/index.styled.es.js +1 -1
- package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
- package/dist/components/Chips/ChipItem/index.es.js +31 -34
- package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.es.js +14 -14
- package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
- package/dist/components/Chips/ChipsFrame/index.styled.es.js +1 -1
- package/dist/components/Comment/Group/index.cjs.js +1 -1
- package/dist/components/Comment/Group/index.es.js +3 -3
- package/dist/components/Comment/Item/index.cjs.js +1 -1
- package/dist/components/Comment/Item/index.es.js +6 -6
- package/dist/components/Control/CheckMark/CheckMark.cjs.js +1 -1
- package/dist/components/Control/CheckMark/CheckMark.es.js +3 -3
- package/dist/components/Control/CheckMark/index.cjs.js +1 -1
- package/dist/components/Control/CheckMark/index.es.js +7 -7
- package/dist/components/Control/RadioButton/index.cjs.js +1 -1
- package/dist/components/Control/RadioButton/index.es.js +11 -11
- package/dist/components/Control/Switch/index.cjs.js +1 -1
- package/dist/components/Control/Switch/index.es.js +71 -71
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +12 -12
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +12 -12
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +14 -14
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +18 -18
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +13 -13
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/Month/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/Month/index.es.js +4 -4
- package/dist/components/DatePicker/BaseDatePicker/Week/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/Week/index.es.js +3 -3
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +16 -16
- package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/BaseDatePicker/index.es.js +31 -31
- package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +27 -27
- package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
- package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +14 -14
- package/dist/components/Divider/index.cjs.js +1 -1
- package/dist/components/Divider/index.es.js +17 -17
- package/dist/components/Input/BaseInput/index.cjs.js +1 -1
- package/dist/components/Input/BaseInput/index.es.js +44 -44
- package/dist/components/Input/NumberInput/index.cjs.js +1 -1
- package/dist/components/Input/NumberInput/index.es.js +23 -23
- package/dist/components/Input/PostfixInput/index.cjs.js +1 -1
- package/dist/components/Input/PostfixInput/index.es.js +61 -61
- package/dist/components/Input/ResidentNumberInput/index.cjs.js +1 -1
- package/dist/components/Input/ResidentNumberInput/index.es.js +65 -65
- package/dist/components/Input/TextField/index.cjs.js +1 -1
- package/dist/components/Input/TextField/index.es.js +32 -32
- package/dist/components/Input/common/InputFrame/index.cjs.js +1 -1
- package/dist/components/Input/common/InputFrame/index.es.js +17 -17
- package/dist/components/Input/index.cjs.js +1 -1
- package/dist/components/Input/index.es.js +1 -1
- package/dist/components/LegacyModal/BaseModal/index.cjs.js +1 -1
- package/dist/components/LegacyModal/BaseModal/index.es.js +8 -8
- package/dist/components/LegacyModal/index.cjs.js +1 -1
- package/dist/components/LegacyModal/index.es.js +19 -19
- package/dist/components/List/index.cjs.js +1 -1
- package/dist/components/List/index.es.js +11 -11
- package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
- package/dist/components/Loading/ProgressBar/index.es.js +3 -3
- package/dist/components/Loading/Skeleton/index.cjs.js +1 -1
- package/dist/components/Loading/Skeleton/index.es.js +5 -5
- package/dist/components/Loading/Spinner/index.cjs.js +1 -1
- package/dist/components/Loading/Spinner/index.es.js +3 -3
- package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/BoxMiniButton/index.es.js +4 -4
- package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/IconMiniButton/index.es.js +27 -30
- package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
- package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +40 -43
- package/dist/components/MiniButton/common/ButtonTag.cjs.js +1 -1
- package/dist/components/MiniButton/common/ButtonTag.es.js +3 -3
- package/dist/components/Modal/index.cjs.js +1 -1
- package/dist/components/Modal/index.es.js +42 -42
- package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
- package/dist/components/Navigation/BaseNavigation/index.es.js +14 -14
- package/dist/components/Navigation/BottomNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/BottomNavigationBar/index.es.js +10 -10
- package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/PageNavigationBar/index.es.js +21 -21
- package/dist/components/Navigation/TitleNavigationBar/index.cjs.js +1 -1
- package/dist/components/Navigation/TitleNavigationBar/index.es.js +12 -12
- package/dist/components/Navigation/index.cjs.js +1 -1
- package/dist/components/Navigation/index.es.js +21 -21
- package/dist/components/OverlayRoot/index.cjs.js +1 -1
- package/dist/components/OverlayRoot/index.es.js +6 -6
- package/dist/components/Segment/BaseSegment/index.cjs.js +1 -1
- package/dist/components/Segment/BaseSegment/index.es.js +16 -16
- package/dist/components/Segment/ExtendSegment/index.cjs.js +1 -1
- package/dist/components/Segment/ExtendSegment/index.es.js +18 -18
- package/dist/components/SelectBox/index.cjs.js +1 -1
- package/dist/components/SelectBox/index.es.js +42 -42
- package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/FillTabs/index.es.js +11 -11
- package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
- package/dist/components/Tabs/TextTabs/index.es.js +18 -18
- package/dist/components/Tag/index.cjs.js +1 -1
- package/dist/components/Tag/index.es.js +7 -8
- package/dist/components/Terms/index.cjs.js +1 -1
- package/dist/components/Terms/index.es.js +26 -26
- package/dist/components/TextArea/index.cjs.js +1 -1
- package/dist/components/TextArea/index.es.js +17 -17
- package/dist/components/Title/index.cjs.js +1 -1
- package/dist/components/Title/index.es.js +12 -12
- package/dist/components/Toast/index.cjs.js +1 -1
- package/dist/components/Toast/index.es.js +4 -4
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +1 -1
- package/dist/components/ui/bottomSheet.cjs.js +1 -1
- package/dist/components/ui/bottomSheet.es.js +92 -92
- package/dist/components/ui/button.cjs.js +1 -1
- package/dist/components/ui/button.es.js +13 -14
- package/dist/components/ui/checkbox.cjs.js +1 -1
- package/dist/components/ui/checkbox.es.js +88 -88
- package/dist/components/ui/dialog.cjs.js +1 -1
- package/dist/components/ui/dialog.es.js +48 -48
- package/dist/components/ui/drawer.cjs.js +2 -2
- package/dist/components/ui/drawer.es.js +159 -159
- package/dist/components/ui/impact-tooltip.cjs.js +1 -1
- package/dist/components/ui/impact-tooltip.es.js +133 -133
- package/dist/components/ui/share-ui.cjs.js +1 -1
- package/dist/components/ui/share-ui.es.js +34 -34
- package/dist/components/ui/tooltip.cjs.js +1 -1
- package/dist/components/ui/tooltip.es.js +138 -138
- package/dist/components/ui/typography.cjs.js +1 -1
- package/dist/components/ui/typography.es.js +3 -3
- package/dist/core/Display/Mobile.cjs.js +1 -1
- package/dist/core/Display/Mobile.es.js +4 -4
- package/dist/core/Display/Pc.cjs.js +1 -1
- package/dist/core/Display/Pc.es.js +4 -4
- package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
- package/dist/core/Typography/BaseTypography/index.es.js +3 -3
- package/dist/core/Typography/index.cjs.js +1 -1
- package/dist/core/Typography/index.es.js +19 -19
- package/dist/icons/src/icons/index.cjs.js +1 -1
- package/dist/icons/src/icons/index.d.ts +1 -1
- package/dist/icons/src/icons/index.d.ts.map +1 -1
- package/dist/icons/src/icons/index.es.js +4 -4
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/library/BasicForm/index.cjs.js +1 -1
- package/dist/library/BasicForm/index.es.js +10 -10
- package/dist/library/BasicLayout/Body.cjs.js +1 -1
- package/dist/library/BasicLayout/Body.es.js +7 -7
- package/dist/library/BasicLayout/Footer.cjs.js +1 -1
- package/dist/library/BasicLayout/Footer.es.js +71 -71
- package/dist/library/BasicLayout/index.cjs.js +1 -1
- package/dist/library/BasicLayout/index.es.js +35 -35
- package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
- package/dist/library/BasicLayout/index.styled.es.js +1 -1
- package/dist/library/IconWithImage/index.cjs.js +1 -1
- package/dist/library/IconWithImage/index.es.js +4 -4
- package/dist/library/List/BottomSheetItemList/index.cjs.js +1 -1
- package/dist/library/List/BottomSheetItemList/index.es.js +5 -5
- package/dist/library/Lottie/index.cjs.js +1 -1
- package/dist/library/Lottie/index.es.js +47 -47
- package/dist/library/Spacing/index.cjs.js +1 -1
- package/dist/library/Spacing/index.es.js +3 -3
- package/package.json +1 -1
- package/dist/chunks/index.9yN3bH7k.js +0 -283
- package/dist/chunks/index.BTUe9yKh.js +0 -1
- package/dist/chunks/index.Beaq4T1c.js +0 -1
- package/dist/chunks/index.BspO8Abs.js +0 -41
- package/dist/chunks/index.CtIpJqp4.js +0 -5
- package/dist/chunks/index.DcvrUsoU.js +0 -1
- package/dist/chunks/index._MxrBNop.js +0 -60
- package/dist/chunks/index.mCMIO9lL.js +0 -1
- package/dist/chunks/jsx-runtime.B0Vkbtvx.js +0 -14
- package/dist/chunks/jsx-runtime.C63F304d.js +0 -615
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
import { c as S } from "./index.DLcqcWxM.js";
|
|
3
|
-
import { j as y } from "./jsx-runtime.C63F304d.js";
|
|
4
|
-
var E = /* @__PURE__ */ Symbol.for("react.lazy"), p = e[" use ".trim().toString()];
|
|
5
|
-
function g(t) {
|
|
6
|
-
return typeof t == "object" && t !== null && "then" in t;
|
|
7
|
-
}
|
|
8
|
-
function d(t) {
|
|
9
|
-
return t != null && typeof t == "object" && "$$typeof" in t && t.$$typeof === E && "_payload" in t && g(t._payload);
|
|
10
|
-
}
|
|
11
|
-
// @__NO_SIDE_EFFECTS__
|
|
12
|
-
function C(t) {
|
|
13
|
-
const n = /* @__PURE__ */ R(t), o = e.forwardRef((i, r) => {
|
|
14
|
-
let { children: l, ...a } = i;
|
|
15
|
-
d(l) && typeof p == "function" && (l = p(l._payload));
|
|
16
|
-
const s = e.Children.toArray(l), f = s.find(b);
|
|
17
|
-
if (f) {
|
|
18
|
-
const c = f.props.children, m = s.map((u) => u === f ? e.Children.count(c) > 1 ? e.Children.only(null) : e.isValidElement(c) ? c.props.children : null : u);
|
|
19
|
-
return /* @__PURE__ */ y.jsx(n, { ...a, ref: r, children: e.isValidElement(c) ? e.cloneElement(c, void 0, m) : null });
|
|
20
|
-
}
|
|
21
|
-
return /* @__PURE__ */ y.jsx(n, { ...a, ref: r, children: l });
|
|
22
|
-
});
|
|
23
|
-
return o.displayName = `${t}.Slot`, o;
|
|
24
|
-
}
|
|
25
|
-
var A = /* @__PURE__ */ C("Slot");
|
|
26
|
-
// @__NO_SIDE_EFFECTS__
|
|
27
|
-
function R(t) {
|
|
28
|
-
const n = e.forwardRef((o, i) => {
|
|
29
|
-
let { children: r, ...l } = o;
|
|
30
|
-
if (d(r) && typeof p == "function" && (r = p(r._payload)), e.isValidElement(r)) {
|
|
31
|
-
const a = j(r), s = h(l, r.props);
|
|
32
|
-
return r.type !== e.Fragment && (s.ref = i ? S(i, a) : a), e.cloneElement(r, s);
|
|
33
|
-
}
|
|
34
|
-
return e.Children.count(r) > 1 ? e.Children.only(null) : null;
|
|
35
|
-
});
|
|
36
|
-
return n.displayName = `${t}.SlotClone`, n;
|
|
37
|
-
}
|
|
38
|
-
var _ = /* @__PURE__ */ Symbol("radix.slottable");
|
|
39
|
-
function b(t) {
|
|
40
|
-
return e.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === _;
|
|
41
|
-
}
|
|
42
|
-
function h(t, n) {
|
|
43
|
-
const o = { ...n };
|
|
44
|
-
for (const i in n) {
|
|
45
|
-
const r = t[i], l = n[i];
|
|
46
|
-
/^on[A-Z]/.test(i) ? r && l ? o[i] = (...s) => {
|
|
47
|
-
const f = l(...s);
|
|
48
|
-
return r(...s), f;
|
|
49
|
-
} : r && (o[i] = r) : i === "style" ? o[i] = { ...r, ...l } : i === "className" && (o[i] = [r, l].filter(Boolean).join(" "));
|
|
50
|
-
}
|
|
51
|
-
return { ...t, ...o };
|
|
52
|
-
}
|
|
53
|
-
function j(t) {
|
|
54
|
-
let n = Object.getOwnPropertyDescriptor(t.props, "ref")?.get, o = n && "isReactWarning" in n && n.isReactWarning;
|
|
55
|
-
return o ? t.ref : (n = Object.getOwnPropertyDescriptor(t, "ref")?.get, o = n && "isReactWarning" in n && n.isReactWarning, o ? t.props.ref : t.props.ref || t.ref);
|
|
56
|
-
}
|
|
57
|
-
export {
|
|
58
|
-
A as S,
|
|
59
|
-
C as c
|
|
60
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const It=require("react"),Re=require("react-dom"),J=require("./index.BTUe9yKh.js"),Y=require("./jsx-runtime.B0Vkbtvx.js"),Xt=require("./index.BIcga6m3.js"),Oe=require("./index.DcvrUsoU.js"),Pe=require("./index.B3rAhBCw.js");function Yt(t){if(t&&typeof t=="object"&&"default"in t)return t;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const R=Yt(It),Ce=Yt(Re),Se=["top","right","bottom","left"],Z=Math.min,_=Math.max,ft=Math.round,lt=Math.floor,z=t=>({x:t,y:t}),Ee={left:"right",right:"left",bottom:"top",top:"bottom"},De={start:"end",end:"start"};function vt(t,e,n){return _(t,Z(e,n))}function q(t,e){return typeof t=="function"?t(e):t}function U(t){return t.split("-")[0]}function et(t){return t.split("-")[1]}function Rt(t){return t==="x"?"y":"x"}function Ot(t){return t==="y"?"height":"width"}const Le=new Set(["top","bottom"]);function V(t){return Le.has(U(t))?"y":"x"}function Pt(t){return Rt(V(t))}function Me(t,e,n){n===void 0&&(n=!1);const o=et(t),r=Pt(t),i=Ot(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ut(s)),[s,ut(s)]}function Te(t){const e=ut(t);return[bt(t),e,bt(e)]}function bt(t){return t.replace(/start|end/g,e=>De[e])}const $t=["left","right"],kt=["right","left"],$e=["top","bottom"],ke=["bottom","top"];function Fe(t,e,n){switch(t){case"top":case"bottom":return n?e?kt:$t:e?$t:kt;case"left":case"right":return e?$e:ke;default:return[]}}function Ne(t,e,n,o){const r=et(t);let i=Fe(U(t),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),e&&(i=i.concat(i.map(bt)))),i}function ut(t){return t.replace(/left|right|bottom|top/g,e=>Ee[e])}function _e(t){return{top:0,right:0,bottom:0,left:0,...t}}function qt(t){return typeof t!="number"?_e(t):{top:t,right:t,bottom:t,left:t}}function dt(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function Ft(t,e,n){let{reference:o,floating:r}=t;const i=V(e),s=Pt(e),c=Ot(s),l=U(e),a=i==="y",f=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,m=o[c]/2-r[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-r.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-r.width,y:u};break;default:d={x:o.x,y:o.y}}switch(et(e)){case"start":d[s]-=m*(n&&a?-1:1);break;case"end":d[s]+=m*(n&&a?-1:1);break}return d}const je=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:u}=Ft(a,o,l),m=o,d={},p=0;for(let h=0;h<c.length;h++){const{name:w,fn:g}=c[h],{x,y:b,data:y,reset:v}=await g({x:f,y:u,initialPlacement:o,placement:m,strategy:r,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=x??f,u=b??u,d={...d,[w]:{...d[w],...y}},v&&p<=50&&(p++,typeof v=="object"&&(v.placement&&(m=v.placement),v.rects&&(a=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:r}):v.rects),{x:f,y:u}=Ft(a,m,l)),h=-1)}return{x:f,y:u,placement:m,strategy:r,middlewareData:d}};async function rt(t,e){var n;e===void 0&&(e={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:d=0}=q(e,t),p=qt(d),w=c[m?u==="floating"?"reference":"floating":u],g=dt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),x=u==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),y=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},v=dt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:b,strategy:l}):x);return{top:(g.top-v.top+p.top)/y.y,bottom:(v.bottom-g.bottom+p.bottom)/y.y,left:(g.left-v.left+p.left)/y.x,right:(v.right-g.right+p.right)/y.x}}const We=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=q(t,e)||{};if(a==null)return{};const u=qt(f),m={x:n,y:o},d=Pt(r),p=Ot(d),h=await s.getDimensions(a),w=d==="y",g=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[d]-m[d]-i.floating[p],v=m[d]-i.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=P?P[b]:0;(!O||!await(s.isElement==null?void 0:s.isElement(P)))&&(O=c.floating[b]||i.floating[p]);const M=y/2-v/2,F=O/2-h[p]/2-1,L=Z(u[g],F),$=Z(u[x],F),k=L,S=O-h[p]-$,C=O/2-h[p]/2+M,N=vt(k,C,S),E=!l.arrow&&et(r)!=null&&C!==N&&i.reference[p]/2-(C<k?L:$)-h[p]/2<0,D=E?C<k?C-k:C-S:0;return{[d]:m[d]+D,data:{[d]:N,centerOffset:C-N-D,...E&&{alignmentOffset:D}},reset:E}}}),He=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...w}=q(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=U(r),x=V(c),b=U(c)===c,y=await(l.isRTL==null?void 0:l.isRTL(a.floating)),v=m||(b||!h?[ut(c)]:Te(c)),P=p!=="none";!m&&P&&v.push(...Ne(c,h,p,y));const O=[c,...v],M=await rt(e,w),F=[];let L=((o=i.flip)==null?void 0:o.overflows)||[];if(f&&F.push(M[g]),u){const C=Me(r,s,y);F.push(M[C[0]],M[C[1]])}if(L=[...L,{placement:r,overflows:F}],!F.every(C=>C<=0)){var $,k;const C=((($=i.flip)==null?void 0:$.index)||0)+1,N=O[C];if(N&&(!(u==="alignment"?x!==V(N):!1)||L.every(A=>V(A.placement)===x?A.overflows[0]>0:!0)))return{data:{index:C,overflows:L},reset:{placement:N}};let E=(k=L.filter(D=>D.overflows[0]<=0).sort((D,A)=>D.overflows[1]-A.overflows[1])[0])==null?void 0:k.placement;if(!E)switch(d){case"bestFit":{var S;const D=(S=L.filter(A=>{if(P){const T=V(A.placement);return T===x||T==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(T=>T>0).reduce((T,B)=>T+B,0)]).sort((A,T)=>A[1]-T[1])[0])==null?void 0:S[0];D&&(E=D);break}case"initialPlacement":E=c;break}if(r!==E)return{reset:{placement:E}}}return{}}}};function Nt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function _t(t){return Se.some(e=>t[e]>=0)}const Be=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...r}=q(t,e);switch(o){case"referenceHidden":{const i=await rt(e,{...r,elementContext:"reference"}),s=Nt(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:_t(s)}}}case"escaped":{const i=await rt(e,{...r,altBoundary:!0}),s=Nt(i,n.floating);return{data:{escapedOffsets:s,escaped:_t(s)}}}default:return{}}}}},Ut=new Set(["left","top"]);async function Ve(t,e){const{placement:n,platform:o,elements:r}=t,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=U(n),c=et(n),l=V(n)==="y",a=Ut.has(s)?-1:1,f=i&&l?-1:1,u=q(e,t);let{mainAxis:m,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:m*a}:{x:m*a,y:d*f}}const ze=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:c}=e,l=await Ve(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:s}}}}},Ie=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:x}=w;return{x:g,y:x}}},...l}=q(t,e),a={x:n,y:o},f=await rt(e,l),u=V(U(r)),m=Rt(u);let d=a[m],p=a[u];if(i){const w=m==="y"?"top":"left",g=m==="y"?"bottom":"right",x=d+f[w],b=d-f[g];d=vt(x,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",x=p+f[w],b=p-f[g];p=vt(x,p,b)}const h=c.fn({...e,[m]:d,[u]:p});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[m]:i,[u]:s}}}}}},Xe=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=q(t,e),f={x:n,y:o},u=V(r),m=Rt(u);let d=f[m],p=f[u];const h=q(c,e),w=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const b=m==="y"?"height":"width",y=i.reference[m]-i.floating[b]+w.mainAxis,v=i.reference[m]+i.reference[b]-w.mainAxis;d<y?d=y:d>v&&(d=v)}if(a){var g,x;const b=m==="y"?"width":"height",y=Ut.has(U(r)),v=i.reference[u]-i.floating[b]+(y&&((g=s.offset)==null?void 0:g[u])||0)+(y?0:w.crossAxis),P=i.reference[u]+i.reference[b]+(y?0:((x=s.offset)==null?void 0:x[u])||0)-(y?w.crossAxis:0);p<v?p=v:p>P&&(p=P)}return{[m]:d,[u]:p}}}},Ye=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:i,platform:s,elements:c}=e,{apply:l=()=>{},...a}=q(t,e),f=await rt(e,a),u=U(r),m=et(r),d=V(r)==="y",{width:p,height:h}=i.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=m==="end"?"top":"bottom");const x=h-f.top-f.bottom,b=p-f.left-f.right,y=Z(h-f[w],x),v=Z(p-f[g],b),P=!e.middlewareData.shift;let O=y,M=v;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(M=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(O=x),P&&!m){const L=_(f.left,0),$=_(f.right,0),k=_(f.top,0),S=_(f.bottom,0);d?M=p-2*(L!==0||$!==0?L+$:_(f.left,f.right)):O=h-2*(k!==0||S!==0?k+S:_(f.top,f.bottom))}await l({...e,availableWidth:M,availableHeight:O});const F=await s.getDimensions(c.floating);return p!==F.width||h!==F.height?{reset:{rects:!0}}:{}}}};function mt(){return typeof window<"u"}function nt(t){return Zt(t)?(t.nodeName||"").toLowerCase():"#document"}function j(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function X(t){var e;return(e=(Zt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Zt(t){return mt()?t instanceof Node||t instanceof j(t).Node:!1}function W(t){return mt()?t instanceof Element||t instanceof j(t).Element:!1}function I(t){return mt()?t instanceof HTMLElement||t instanceof j(t).HTMLElement:!1}function jt(t){return!mt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof j(t).ShadowRoot}const qe=new Set(["inline","contents"]);function st(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=H(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!qe.has(r)}const Ue=new Set(["table","td","th"]);function Ze(t){return Ue.has(nt(t))}const Ke=[":popover-open",":modal"];function ht(t){return Ke.some(e=>{try{return t.matches(e)}catch{return!1}})}const Ge=["transform","translate","scale","rotate","perspective"],Je=["transform","translate","scale","rotate","perspective","filter"],Qe=["paint","layout","strict","content"];function Ct(t){const e=St(),n=W(t)?H(t):t;return Ge.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Je.some(o=>(n.willChange||"").includes(o))||Qe.some(o=>(n.contain||"").includes(o))}function tn(t){let e=K(t);for(;I(e)&&!tt(e);){if(Ct(e))return e;if(ht(e))return null;e=K(e)}return null}function St(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const en=new Set(["html","body","#document"]);function tt(t){return en.has(nt(t))}function H(t){return j(t).getComputedStyle(t)}function gt(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(nt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||jt(t)&&t.host||X(t);return jt(e)?e.host:e}function Kt(t){const e=K(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&st(e)?e:Kt(e)}function it(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=Kt(t),i=r===((o=t.ownerDocument)==null?void 0:o.body),s=j(r);if(i){const c=At(s);return e.concat(s,s.visualViewport||[],st(r)?r:[],c&&n?it(c):[])}return e.concat(r,it(r,[],n))}function At(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Gt(t){const e=H(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=I(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,c=ft(n)!==i||ft(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function Et(t){return W(t)?t:t.contextElement}function Q(t){const e=Et(t);if(!I(e))return z(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=Gt(e);let s=(i?ft(n.width):n.width)/o,c=(i?ft(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const nn=z(0);function Jt(t){const e=j(t);return!St()||!e.visualViewport?nn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function on(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==j(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=t.getBoundingClientRect(),i=Et(t);let s=z(1);e&&(o?W(o)&&(s=Q(o)):s=Q(t));const c=on(i,n,o)?Jt(i):z(0);let l=(r.left+c.x)/s.x,a=(r.top+c.y)/s.y,f=r.width/s.x,u=r.height/s.y;if(i){const m=j(i),d=o&&W(o)?j(o):o;let p=m,h=At(p);for(;h&&o&&d!==p;){const w=Q(h),g=h.getBoundingClientRect(),x=H(h),b=g.left+(h.clientLeft+parseFloat(x.paddingLeft))*w.x,y=g.top+(h.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=y,p=j(h),h=At(p)}}return dt({width:f,height:u,x:l,y:a})}function wt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:G(X(t)).left+n}function Qt(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-wt(t,n),r=n.top+e.scrollTop;return{x:o,y:r}}function rn(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i=r==="fixed",s=X(o),c=e?ht(e.floating):!1;if(o===s||c&&i)return n;let l={scrollLeft:0,scrollTop:0},a=z(1);const f=z(0),u=I(o);if((u||!u&&!i)&&((nt(o)!=="body"||st(s))&&(l=gt(o)),I(o))){const d=G(o);a=Q(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const m=s&&!u&&!i?Qt(s,l):z(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+m.x,y:n.y*a.y-l.scrollTop*a.y+f.y+m.y}}function sn(t){return Array.from(t.getClientRects())}function cn(t){const e=X(t),n=gt(t),o=t.ownerDocument.body,r=_(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=_(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+wt(t);const c=-n.scrollTop;return H(o).direction==="rtl"&&(s+=_(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}const Wt=25;function ln(t,e){const n=j(t),o=X(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,l=0;if(r){i=r.width,s=r.height;const f=St();(!f||f&&e==="fixed")&&(c=r.offsetLeft,l=r.offsetTop)}const a=wt(o);if(a<=0){const f=o.ownerDocument,u=f.body,m=getComputedStyle(u),d=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,p=Math.abs(o.clientWidth-u.clientWidth-d);p<=Wt&&(i-=p)}else a<=Wt&&(i+=a);return{width:i,height:s,x:c,y:l}}const an=new Set(["absolute","fixed"]);function fn(t,e){const n=G(t,!0,e==="fixed"),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=I(t)?Q(t):z(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,l=r*i.x,a=o*i.y;return{width:s,height:c,x:l,y:a}}function Ht(t,e,n){let o;if(e==="viewport")o=ln(t,n);else if(e==="document")o=cn(X(t));else if(W(e))o=fn(e,n);else{const r=Jt(t);o={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return dt(o)}function te(t,e){const n=K(t);return n===e||!W(n)||tt(n)?!1:H(n).position==="fixed"||te(n,e)}function un(t,e){const n=e.get(t);if(n)return n;let o=it(t,[],!1).filter(c=>W(c)&&nt(c)!=="body"),r=null;const i=H(t).position==="fixed";let s=i?K(t):t;for(;W(s)&&!tt(s);){const c=H(s),l=Ct(s);!l&&c.position==="fixed"&&(r=null),(i?!l&&!r:!l&&c.position==="static"&&!!r&&an.has(r.position)||st(s)&&!l&&te(t,s))?o=o.filter(f=>f!==s):r=c,s=K(s)}return e.set(t,o),o}function dn(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const s=[...n==="clippingAncestors"?ht(e)?[]:un(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Ht(e,f,r);return a.top=_(u.top,a.top),a.right=Z(u.right,a.right),a.bottom=Z(u.bottom,a.bottom),a.left=_(u.left,a.left),a},Ht(e,c,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function pn(t){const{width:e,height:n}=Gt(t);return{width:e,height:n}}function mn(t,e,n){const o=I(e),r=X(e),i=n==="fixed",s=G(t,!0,i,e);let c={scrollLeft:0,scrollTop:0};const l=z(0);function a(){l.x=wt(r)}if(o||!o&&!i)if((nt(e)!=="body"||st(r))&&(c=gt(e)),o){const d=G(e,!0,i,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else r&&a();i&&!o&&r&&a();const f=r&&!o&&!i?Qt(r,c):z(0),u=s.left+c.scrollLeft-l.x-f.x,m=s.top+c.scrollTop-l.y-f.y;return{x:u,y:m,width:s.width,height:s.height}}function xt(t){return H(t).position==="static"}function Bt(t,e){if(!I(t)||H(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return X(t)===n&&(n=n.ownerDocument.body),n}function ee(t,e){const n=j(t);if(ht(t))return n;if(!I(t)){let r=K(t);for(;r&&!tt(r);){if(W(r)&&!xt(r))return r;r=K(r)}return n}let o=Bt(t,e);for(;o&&Ze(o)&&xt(o);)o=Bt(o,e);return o&&tt(o)&&xt(o)&&!Ct(o)?n:o||tn(t)||n}const hn=async function(t){const e=this.getOffsetParent||ee,n=this.getDimensions,o=await n(t.floating);return{reference:mn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function gn(t){return H(t).direction==="rtl"}const wn={convertOffsetParentRelativeRectToViewportRelativeRect:rn,getDocumentElement:X,getClippingRect:dn,getOffsetParent:ee,getElementRects:hn,getClientRects:sn,getDimensions:pn,getScale:Q,isElement:W,isRTL:gn};function ne(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function xn(t,e){let n=null,o;const r=X(t);function i(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),i();const a=t.getBoundingClientRect(),{left:f,top:u,width:m,height:d}=a;if(c||e(),!m||!d)return;const p=lt(u),h=lt(r.clientWidth-(f+m)),w=lt(r.clientHeight-(u+d)),g=lt(f),b={rootMargin:-p+"px "+-h+"px "+-w+"px "+-g+"px",threshold:_(0,Z(1,l))||1};let y=!0;function v(P){const O=P[0].intersectionRatio;if(O!==l){if(!y)return s();O?s(!1,O):o=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!ne(a,t.getBoundingClientRect())&&s(),y=!1}try{n=new IntersectionObserver(v,{...b,root:r.ownerDocument})}catch{n=new IntersectionObserver(v,b)}n.observe(t)}return s(!0),i}function yn(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Et(t),f=r||i?[...a?it(a):[],...it(e)]:[];f.forEach(g=>{r&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const u=a&&c?xn(a,n):null;let m=-1,d=null;s&&(d=new ResizeObserver(g=>{let[x]=g;x&&x.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,h=l?G(t):null;l&&w();function w(){const g=G(t);h&&!ne(h,g)&&n(),h=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(x=>{r&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const vn=ze,bn=Ie,An=He,Rn=Ye,On=Be,Vt=We,Pn=Xe,Cn=(t,e,n)=>{const o=new Map,r={platform:wn,...n},i={...r.platform,_c:o};return je(t,e,{...r,platform:i})};var Sn=typeof document<"u",En=function(){},at=Sn?It.useLayoutEffect:En;function pt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,r;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!pt(t[o],e[o]))return!1;return!0}if(r=Object.keys(t),n=r.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&t.$$typeof)&&!pt(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function oe(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function zt(t,e){const n=oe(t);return Math.round(e*n)/n}function yt(t){const e=R.useRef(t);return at(()=>{e.current=t}),e}function Dn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=R.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,d]=R.useState(o);pt(m,o)||d(o);const[p,h]=R.useState(null),[w,g]=R.useState(null),x=R.useCallback(A=>{A!==P.current&&(P.current=A,h(A))},[]),b=R.useCallback(A=>{A!==O.current&&(O.current=A,g(A))},[]),y=i||p,v=s||w,P=R.useRef(null),O=R.useRef(null),M=R.useRef(f),F=l!=null,L=yt(l),$=yt(r),k=yt(a),S=R.useCallback(()=>{if(!P.current||!O.current)return;const A={placement:e,strategy:n,middleware:m};$.current&&(A.platform=$.current),Cn(P.current,O.current,A).then(T=>{const B={...T,isPositioned:k.current!==!1};C.current&&!pt(M.current,B)&&(M.current=B,Ce.flushSync(()=>{u(B)}))})},[m,e,n,$,k]);at(()=>{a===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const C=R.useRef(!1);at(()=>(C.current=!0,()=>{C.current=!1}),[]),at(()=>{if(y&&(P.current=y),v&&(O.current=v),y&&v){if(L.current)return L.current(y,v,S);S()}},[y,v,S,L,F]);const N=R.useMemo(()=>({reference:P,floating:O,setReference:x,setFloating:b}),[x,b]),E=R.useMemo(()=>({reference:y,floating:v}),[y,v]),D=R.useMemo(()=>{const A={position:n,left:0,top:0};if(!E.floating)return A;const T=zt(E.floating,f.x),B=zt(E.floating,f.y);return c?{...A,transform:"translate("+T+"px, "+B+"px)",...oe(E.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:T,top:B}},[n,c,E.floating,f.x,f.y]);return R.useMemo(()=>({...f,update:S,refs:N,elements:E,floatingStyles:D}),[f,S,N,E,D])}const Ln=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:r}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?Vt({element:o.current,padding:r}).fn(n):{}:o?Vt({element:o,padding:r}).fn(n):{}}}},Mn=(t,e)=>({...vn(t),options:[t,e]}),Tn=(t,e)=>({...bn(t),options:[t,e]}),$n=(t,e)=>({...Pn(t),options:[t,e]}),kn=(t,e)=>({...An(t),options:[t,e]}),Fn=(t,e)=>({...Rn(t),options:[t,e]}),Nn=(t,e)=>({...On(t),options:[t,e]}),_n=(t,e)=>({...Ln(t),options:[t,e]});var jn="Arrow",re=R.forwardRef((t,e)=>{const{children:n,width:o=10,height:r=5,...i}=t;return Y.jsxRuntimeExports.jsx(J.Primitive.svg,{...i,ref:e,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:Y.jsxRuntimeExports.jsx("polygon",{points:"0,0 30,0 15,10"})})});re.displayName=jn;var Wn=re,Dt="Popper",[ie,Hn]=J.createContextScope(Dt),[Bn,se]=ie(Dt),ce=t=>{const{__scopePopper:e,children:n}=t,[o,r]=R.useState(null);return Y.jsxRuntimeExports.jsx(Bn,{scope:e,anchor:o,onAnchorChange:r,children:n})};ce.displayName=Dt;var le="PopperAnchor",ae=R.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:o,...r}=t,i=se(le,n),s=R.useRef(null),c=Xt.useComposedRefs(e,s),l=R.useRef(null);return R.useEffect(()=>{const a=l.current;l.current=o?.current||s.current,a!==l.current&&i.onAnchorChange(l.current)}),o?null:Y.jsxRuntimeExports.jsx(J.Primitive.div,{...r,ref:c})});ae.displayName=le;var Lt="PopperContent",[Vn,zn]=ie(Lt),fe=R.forwardRef((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:i="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:m=!1,updatePositionStrategy:d="optimized",onPlaced:p,...h}=t,w=se(Lt,n),[g,x]=R.useState(null),b=Xt.useComposedRefs(e,ot=>x(ot)),[y,v]=R.useState(null),P=Pe.useSize(y),O=P?.width??0,M=P?.height??0,F=o+(i!=="center"?"-"+i:""),L=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},$=Array.isArray(a)?a:[a],k=$.length>0,S={padding:L,boundary:$.filter(Xn),altBoundary:k},{refs:C,floatingStyles:N,placement:E,isPositioned:D,middlewareData:A}=Dn({strategy:"fixed",placement:F,whileElementsMounted:(...ot)=>yn(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[Mn({mainAxis:r+M,alignmentAxis:s}),l&&Tn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?$n():void 0,...S}),l&&kn({...S}),Fn({...S,apply:({elements:ot,rects:Tt,availableWidth:ye,availableHeight:ve})=>{const{width:be,height:Ae}=Tt.reference,ct=ot.floating.style;ct.setProperty("--radix-popper-available-width",`${ye}px`),ct.setProperty("--radix-popper-available-height",`${ve}px`),ct.setProperty("--radix-popper-anchor-width",`${be}px`),ct.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),y&&_n({element:y,padding:c}),Yn({arrowWidth:O,arrowHeight:M}),m&&Nn({strategy:"referenceHidden",...S})]}),[T,B]=pe(E),Mt=Oe.useCallbackRef(p);J.useLayoutEffect2(()=>{D&&Mt?.()},[D,Mt]);const me=A.arrow?.x,he=A.arrow?.y,ge=A.arrow?.centerOffset!==0,[we,xe]=R.useState();return J.useLayoutEffect2(()=>{g&&xe(window.getComputedStyle(g).zIndex)},[g]),Y.jsxRuntimeExports.jsx("div",{ref:C.setFloating,"data-radix-popper-content-wrapper":"",style:{...N,transform:D?N.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:Y.jsxRuntimeExports.jsx(Vn,{scope:n,placedSide:T,onArrowChange:v,arrowX:me,arrowY:he,shouldHideArrow:ge,children:Y.jsxRuntimeExports.jsx(J.Primitive.div,{"data-side":T,"data-align":B,...h,ref:b,style:{...h.style,animation:D?void 0:"none"}})})})});fe.displayName=Lt;var ue="PopperArrow",In={top:"bottom",right:"left",bottom:"top",left:"right"},de=R.forwardRef(function(e,n){const{__scopePopper:o,...r}=e,i=zn(ue,o),s=In[i.placedSide];return Y.jsxRuntimeExports.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:Y.jsxRuntimeExports.jsx(Wn,{...r,ref:n,style:{...r.style,display:"block"}})})});de.displayName=ue;function Xn(t){return t!==null}var Yn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:r}=e,s=r.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=pe(n),u={start:"0%",center:"50%",end:"100%"}[f],m=(r.arrow?.x??0)+c/2,d=(r.arrow?.y??0)+l/2;let p="",h="";return a==="bottom"?(p=s?u:`${m}px`,h=`${-l}px`):a==="top"?(p=s?u:`${m}px`,h=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,h=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,h=s?u:`${d}px`),{data:{x:p,y:h}}}});function pe(t){const[e,n="center"]=t.split("-");return[e,n]}var qn=ce,Un=ae,Zn=fe,Kn=de;exports.Anchor=Un;exports.Arrow=Kn;exports.Content=Zn;exports.Root2=qn;exports.createPopperScope=Hn;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";const lr=require("react"),cr=R=>R&&typeof R=="object"&&"default"in R?R:{default:R},Ce=cr(lr);var M={exports:{}},D={};var Te;function dr(){if(Te)return D;Te=1;var R=Ce.default,w=Symbol.for("react.element"),U=Symbol.for("react.fragment"),T=Object.prototype.hasOwnProperty,A=R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,I={key:!0,ref:!0,__self:!0,__source:!0};function j(y,l,O){var p,_={},b=null,W=null;O!==void 0&&(b=""+O),l.key!==void 0&&(b=""+l.key),l.ref!==void 0&&(W=l.ref);for(p in l)T.call(l,p)&&!I.hasOwnProperty(p)&&(_[p]=l[p]);if(y&&y.defaultProps)for(p in l=y.defaultProps,l)_[p]===void 0&&(_[p]=l[p]);return{$$typeof:w,type:y,key:b,ref:W,props:_,_owner:A.current}}return D.Fragment=U,D.jsx=j,D.jsxs=j,D}var F={};var Oe;function vr(){return Oe||(Oe=1,process.env.NODE_ENV!=="production"&&(function(){var R=Ce.default,w=Symbol.for("react.element"),U=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),y=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),H=Symbol.iterator,Pe="@@iterator";function we(e){if(e===null||typeof e!="object")return null;var r=H&&e[H]||e[Pe];return typeof r=="function"?r:null}var S=R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];je("error",e,t)}}function je(e,r,t){{var n=S.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var xe=!1,ke=!1,De=!1,Fe=!1,Ae=!1,Z;Z=Symbol.for("react.module.reference");function Ie(e){return!!(typeof e=="string"||typeof e=="function"||e===T||e===I||Ae||e===A||e===O||e===p||Fe||e===W||xe||ke||De||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===_||e.$$typeof===j||e.$$typeof===y||e.$$typeof===l||e.$$typeof===Z||e.getModuleId!==void 0))}function We(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function Q(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case T:return"Fragment";case U:return"Portal";case I:return"Profiler";case A:return"StrictMode";case O:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case y:var r=e;return Q(r)+".Consumer";case j:var t=e;return Q(t._context)+".Provider";case l:return We(e,e.render,"ForwardRef");case _:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case b:{var o=e,u=o._payload,i=o._init;try{return E(i(u))}catch{return null}}}return null}var h=Object.assign,x=0,ee,re,te,ne,ae,ie,oe;function ue(){}ue.__reactDisabledLog=!0;function Ye(){{if(x===0){ee=console.log,re=console.info,te=console.warn,ne=console.error,ae=console.group,ie=console.groupCollapsed,oe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ue,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}x++}}function $e(){{if(x--,x===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:h({},e,{value:ee}),info:h({},e,{value:re}),warn:h({},e,{value:te}),error:h({},e,{value:ne}),group:h({},e,{value:ae}),groupCollapsed:h({},e,{value:ie}),groupEnd:h({},e,{value:oe})})}x<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var N=S.ReactCurrentDispatcher,J;function Y(e,r,t){{if(J===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);J=n&&n[1]||""}return`
|
|
2
|
-
`+J+e}}var q=!1,$;{var Le=typeof WeakMap=="function"?WeakMap:Map;$=new Le}function se(e,r){if(!e||q)return"";{var t=$.get(e);if(t!==void 0)return t}var n;q=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=N.current,N.current=null,Ye();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(v){n=v}Reflect.construct(e,[],i)}else{try{i.call()}catch(v){n=v}e.call(i.prototype)}}else{try{throw Error()}catch(v){n=v}e()}}catch(v){if(v&&n&&typeof v.stack=="string"){for(var a=v.stack.split(`
|
|
3
|
-
`),d=n.stack.split(`
|
|
4
|
-
`),s=a.length-1,f=d.length-1;s>=1&&f>=0&&a[s]!==d[f];)f--;for(;s>=1&&f>=0;s--,f--)if(a[s]!==d[f]){if(s!==1||f!==1)do if(s--,f--,f<0||a[s]!==d[f]){var g=`
|
|
5
|
-
`+a[s].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&$.set(e,g),g}while(s>=1&&f>=0);break}}}finally{q=!1,N.current=u,$e(),Error.prepareStackTrace=o}var P=e?e.displayName||e.name:"",m=P?Y(P):"";return typeof e=="function"&&$.set(e,m),m}function Ve(e,r,t){return se(e,!1)}function Me(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function L(e,r,t){if(e==null)return"";if(typeof e=="function")return se(e,Me(e));if(typeof e=="string")return Y(e);switch(e){case O:return Y("Suspense");case p:return Y("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case l:return Ve(e.render);case _:return L(e.type,r,t);case b:{var n=e,o=n._payload,u=n._init;try{return L(u(o),r,t)}catch{}}}return""}var k=Object.prototype.hasOwnProperty,fe={},le=S.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);le.setExtraStackFrame(t)}else le.setExtraStackFrame(null)}function Ue(e,r,t,n,o){{var u=Function.call.bind(k);for(var i in e)if(u(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var d=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){a=s}a&&!(a instanceof Error)&&(V(o),c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,i,typeof a),V(null)),a instanceof Error&&!(a.message in fe)&&(fe[a.message]=!0,V(o),c("Failed %s type: %s",t,a.message),V(null))}}}var Ne=Array.isArray;function B(e){return Ne(e)}function Je(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function qe(e){try{return ce(e),!1}catch{return!0}}function ce(e){return""+e}function de(e){if(qe(e))return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),ce(e)}var ve=S.ReactCurrentOwner,Be={key:!0,ref:!0,__self:!0,__source:!0},pe,ge;function Ke(e){if(k.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ge(e){if(k.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ze(e,r){typeof e.ref=="string"&&ve.current}function Xe(e,r){{var t=function(){pe||(pe=!0,c("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function He(e,r){{var t=function(){ge||(ge=!0,c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Ze=function(e,r,t,n,o,u,i){var a={$$typeof:w,type:e,key:r,ref:t,props:i,_owner:u};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function Qe(e,r,t,n,o){{var u,i={},a=null,d=null;t!==void 0&&(de(t),a=""+t),Ge(r)&&(de(r.key),a=""+r.key),Ke(r)&&(d=r.ref,ze(r,o));for(u in r)k.call(r,u)&&!Be.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var s=e.defaultProps;for(u in s)i[u]===void 0&&(i[u]=s[u])}if(a||d){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&Xe(i,f),d&&He(i,f)}return Ze(e,a,d,o,n,ve.current,i)}}var K=S.ReactCurrentOwner,Re=S.ReactDebugCurrentFrame;function C(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);Re.setExtraStackFrame(t)}else Re.setExtraStackFrame(null)}var G;G=!1;function z(e){return typeof e=="object"&&e!==null&&e.$$typeof===w}function _e(){{if(K.current){var e=E(K.current.type);if(e)return`
|
|
6
|
-
|
|
7
|
-
Check the render method of \``+e+"`."}return""}}function er(e){return""}var Ee={};function rr(e){{var r=_e();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
8
|
-
|
|
9
|
-
Check the top-level render call using <`+t+">.")}return r}}function ye(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=rr(r);if(Ee[t])return;Ee[t]=!0;var n="";e&&e._owner&&e._owner!==K.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),C(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),C(null)}}function be(e,r){{if(typeof e!="object")return;if(B(e))for(var t=0;t<e.length;t++){var n=e[t];z(n)&&ye(n,r)}else if(z(e))e._store&&(e._store.validated=!0);else if(e){var o=we(e);if(typeof o=="function"&&o!==e.entries)for(var u=o.call(e),i;!(i=u.next()).done;)z(i.value)&&ye(i.value,r)}}}function tr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===l||r.$$typeof===_))t=r.propTypes;else return;if(t){var n=E(r);Ue(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!G){G=!0;var o=E(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function nr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){C(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),C(null);break}}e.ref!==null&&(C(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),C(null))}}var he={};function me(e,r,t,n,o,u){{var i=Ie(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var d=er();d?a+=d:a+=_e();var s;e===null?s="null":B(e)?s="array":e!==void 0&&e.$$typeof===w?(s="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var f=Qe(e,r,t,o,u);if(f==null)return f;if(i){var g=r.children;if(g!==void 0)if(n)if(B(g)){for(var P=0;P<g.length;P++)be(g[P],e);Object.freeze&&Object.freeze(g)}else c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else be(g,e)}if(k.call(r,"key")){var m=E(e),v=Object.keys(r).filter(function(fr){return fr!=="key"}),X=v.length>0?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}";if(!he[m+X]){var sr=v.length>0?"{"+v.join(": ..., ")+": ...}":"{}";c(`A props object containing a "key" prop is being spread into JSX:
|
|
10
|
-
let props = %s;
|
|
11
|
-
<%s {...props} />
|
|
12
|
-
React keys must be passed directly to JSX without using spread:
|
|
13
|
-
let props = %s;
|
|
14
|
-
<%s key={someKey} {...props} />`,X,m,sr,m),he[m+X]=!0}}return e===T?nr(f):tr(f),f}}function ar(e,r,t){return me(e,r,t,!0)}function ir(e,r,t){return me(e,r,t,!1)}var or=ir,ur=ar;F.Fragment=T,F.jsx=or,F.jsxs=ur})()),F}var Se;function pr(){return Se||(Se=1,process.env.NODE_ENV==="production"?M.exports=dr():M.exports=vr()),M.exports}var gr=pr();exports.jsxRuntimeExports=gr;
|