;
! function() {
    try {
        var e = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof global ? global : "undefined" != typeof window ? window : "undefined" != typeof self ? self : {},
            n = (new e.Error).stack;
        n && ((e._debugIds || (e._debugIds = {}))[n] = "297aaa91-ec90-cc4e-4fe2-ba47c8f3c032")
    } catch (e) {}
}();
(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push(["object" == typeof document ? document.currentScript : void 0, 174617, e => {
    "use strict";
    "u" > typeof window && window.document && window.document.createElement, e.s(["composeEventHandlers", 0, function(e, t, {
        checkForDefaultPrevented: n = !0
    } = {}) {
        return function(r) {
            if (e ? .(r), !1 === n || !r.defaultPrevented) return t ? .(r)
        }
    }])
}, 78892, e => {
    "use strict";
    var t = e.i(416340);

    function n(e, t) {
        if ("function" == typeof e) return e(t);
        null != e && (e.current = t)
    }

    function r(...e) {
        return t => {
            let r = !1,
                o = e.map(e => {
                    let o = n(e, t);
                    return r || "function" != typeof o || (r = !0), o
                });
            if (r) return () => {
                for (let t = 0; t < o.length; t++) {
                    let r = o[t];
                    "function" == typeof r ? r() : n(e[t], null)
                }
            }
        }
    }
    e.s(["composeRefs", 0, r, "useComposedRefs", 0, function(...e) {
        return t.useCallback(r(...e), e)
    }])
}, 608652, e => {
    "use strict";
    var t = e.i(416340),
        n = e.i(221628);
    e.s(["createContext", 0, function(e, r) {
        let o = t.createContext(r),
            i = e => {
                let {
                    children: r,
                    ...i
                } = e, a = t.useMemo(() => i, Object.values(i));
                return (0, n.jsx)(o.Provider, {
                    value: a,
                    children: r
                })
            };
        return i.displayName = e + "Provider", [i, function(n) {
            let i = t.useContext(o);
            if (i) return i;
            if (void 0 !== r) return r;
            throw Error(`\`${n}\` must be used within \`${e}\``)
        }]
    }, "createContextScope", 0, function(e, r = []) {
        let o = [],
            i = () => {
                let n = o.map(e => t.createContext(e));
                return function(r) {
                    let o = r ? .[e] || n;
                    return t.useMemo(() => ({
                        [`__scope${e}`]: { ...r,
                            [e]: o
                        }
                    }), [r, o])
                }
            };
        return i.scopeName = e, [function(r, i) {
            let a = t.createContext(i),
                u = o.length;
            o = [...o, i];
            let s = r => {
                let {
                    scope: o,
                    children: i,
                    ...s
                } = r, c = o ? .[e] ? .[u] || a, l = t.useMemo(() => s, Object.values(s));
                return (0, n.jsx)(c.Provider, {
                    value: l,
                    children: i
                })
            };
            return s.displayName = r + "Provider", [s, function(n, o) {
                let s = o ? .[e] ? .[u] || a,
                    c = t.useContext(s);
                if (c) return c;
                if (void 0 !== i) return i;
                throw Error(`\`${n}\` must be used within \`${r}\``)
            }]
        }, function(...e) {
            let n = e[0];
            if (1 === e.length) return n;
            let r = () => {
                let r = e.map(e => ({
                    useScope: e(),
                    scopeName: e.scopeName
                }));
                return function(e) {
                    let o = r.reduce((t, {
                        useScope: n,
                        scopeName: r
                    }) => {
                        let o = n(e)[`__scope${r}`];
                        return { ...t,
                            ...o
                        }
                    }, {});
                    return t.useMemo(() => ({
                        [`__scope${n.scopeName}`]: o
                    }), [o])
                }
            };
            return r.scopeName = n.scopeName, r
        }(i, ...r)]
    }])
}, 723570, e => {
    "use strict";
    var t = e.i(416340),
        n = globalThis ? .document ? t.useLayoutEffect : () => {};
    e.s(["useLayoutEffect", 0, n])
}, 40266, e => {
    "use strict";
    var t = e.i(416340),
        n = e.i(723570),
        r = t[" useId ".trim().toString()] || (() => void 0),
        o = 0;
    e.s(["useId", 0, function(e) {
        let [i, a] = t.useState(r());
        return (0, n.useLayoutEffect)(() => {
            e || a(e => e ? ? String(o++))
        }, [e]), e || (i ? `radix-${i}` : "")
    }])
}, 199786, e => {
    "use strict";
    var t = e.i(416340),
        n = e.i(723570);
    t[" useEffectEvent ".trim().toString()], t[" useInsertionEffect ".trim().toString()];
    var r = t[" useInsertionEffect ".trim().toString()] || n.useLayoutEffect;
    Symbol("RADIX:SYNC_STATE"), e.s(["useControllableState", 0, function({
        prop: e,
        defaultProp: n,
        onChange: o = () => {},
        caller: i
    }) {
        let [a, u, s] = function({
            defaultProp: e,
            onChange: n
        }) {
            let [o, i] = t.useState(e), a = t.useRef(o), u = t.useRef(n);
            return r(() => {
                u.current = n
            }, [n]), t.useEffect(() => {
                a.current !== o && (u.current ? .(o), a.current = o)
            }, [o, a]), [o, i, u]
        }({
            defaultProp: n,
            onChange: o
        }), c = void 0 !== e, l = c ? e : a; {
            let n = t.useRef(void 0 !== e);
            t.useEffect(() => {
                let e = n.current;
                if (e !== c) {
                    let t = c ? "controlled" : "uncontrolled";
                    console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)
                }
                n.current = c
            }, [c, i])
        }
        return [l, t.useCallback(t => {
            if (c) {
                let n = "function" == typeof t ? t(e) : t;
                n !== e && s.current ? .(n)
            } else u(t)
        }, [c, e, u, s])]
    }], 199786)
}, 76992, e => {
    "use strict";
    var t = e.i(416340),
        n = e.i(78892),
        r = e.i(221628);

    function o(e) {
        var o;
        let i, a = (o = e, (i = t.forwardRef((e, r) => {
                let {
                    children: o,
                    ...i
                } = e;
                if (t.isValidElement(o)) {
                    var a;
                    let e, u, s = (a = o, (u = (e = Object.getOwnPropertyDescriptor(a.props, "ref") ? .get) && "isReactWarning" in e && e.isReactWarning) ? a.ref : (u = (e = Object.getOwnPropertyDescriptor(a, "ref") ? .get) && "isReactWarning" in e && e.isReactWarning) ? a.props.ref : a.props.ref || a.ref),
                        c = function(e, t) {
                            let n = { ...t
                            };
                            for (let r in t) {
                                let o = e[r],
                                    i = t[r];
                                /^on[A-Z]/.test(r) ? o && i ? n[r] = (...e) => {
                                    let t = i(...e);
                                    return o(...e), t
                                } : o && (n[r] = o) : "style" === r ? n[r] = { ...o,
                                    ...i
                                } : "className" === r && (n[r] = [o, i].filter(Boolean).join(" "))
                            }
                            return { ...e,
                                ...n
                            }
                        }(i, o.props);
                    return o.type !== t.Fragment && (c.ref = r ? (0, n.composeRefs)(r, s) : s), t.cloneElement(o, c)
                }
                return t.Children.count(o) > 1 ? t.Children.only(null) : null
            })).displayName = `${o}.SlotClone`, i),
            u = t.forwardRef((e, n) => {
                let {
                    children: o,
                    ...i
                } = e, u = t.Children.toArray(o), s = u.find(c);
                if (s) {
                    let e = s.props.children,
                        o = u.map(n => n !== s ? n : t.Children.count(e) > 1 ? t.Children.only(null) : t.isValidElement(e) ? e.props.children : null);
                    return (0, r.jsx)(a, { ...i,
                        ref: n,
                        children: t.isValidElement(e) ? t.cloneElement(e, void 0, o) : null
                    })
                }
                return (0, r.jsx)(a, { ...i,
                    ref: n,
                    children: o
                })
            });
        return u.displayName = `${e}.Slot`, u
    }
    var i = o("Slot"),
        a = Symbol("radix.slottable");

    function u(e) {
        let t = ({
            children: e
        }) => (0, r.jsx)(r.Fragment, {
            children: e
        });
        return t.displayName = `${e}.Slottable`, t.__radixId = a, t
    }
    var s = u("Slottable");

    function c(e) {
        return t.isValidElement(e) && "function" == typeof e.type && "__radixId" in e.type && e.type.__radixId === a
    }
    e.s(["Root", 0, i, "Slot", 0, i, "Slottable", 0, s, "createSlot", 0, o, "createSlottable", 0, u])
}, 600317, 886449, e => {
    "use strict";
    var t = e.i(416340),
        n = e.i(149285),
        r = e.i(76992),
        o = e.i(221628),
        i = ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "select", "span", "svg", "ul"].reduce((e, n) => {
            let i = (0, r.createSlot)(`Primitive.${n}`),
                a = t.forwardRef((e, t) => {
                    let {
                        asChild: r,
                        ...a
                    } = e;
                    return "u" > typeof window && (window[Symbol.for("radix-ui")] = !0), (0, o.jsx)(r ? i : n, { ...a,
                        ref: t
                    })
                });
            return a.displayName = `Primitive.${n}`, { ...e,
                [n]: a
            }
        }, {});
    e.s(["Primitive", 0, i, "dispatchDiscreteCustomEvent", 0, function(e, t) {
        e && n.flushSync(() => e.dispatchEvent(t))
    }], 600317), e.s(["useCallbackRef", 0, function(e) {
        let n = t.useRef(e);
        return t.useEffect(() => {
            n.current = e
        }), t.useMemo(() => (...e) => n.current ? .(...e), [])
    }], 886449)
}, 538469, e => {
    "use strict";
    var t, n = e.i(416340),
        r = e.i(174617),
        o = e.i(600317),
        i = e.i(78892),
        a = e.i(886449),
        u = e.i(221628),
        s = "dismissableLayer.update",
        c = n.createContext({
            layers: new Set,
            layersWithOutsidePointerEventsDisabled: new Set,
            branches: new Set
        }),
        l = n.forwardRef((e, l) => {
            let {
                disableOutsidePointerEvents: d = !1,
                onEscapeKeyDown: v,
                onPointerDownOutside: p,
                onFocusOutside: h,
                onInteractOutside: g,
                onDismiss: y,
                ...E
            } = e, b = n.useContext(c), [w, S] = n.useState(null), C = w ? .ownerDocument ? ? globalThis ? .document, [, R] = n.useState({}), N = (0, i.useComposedRefs)(l, e => S(e)), L = Array.from(b.layers), [T] = [...b.layersWithOutsidePointerEventsDisabled].slice(-1), x = L.indexOf(T), M = w ? L.indexOf(w) : -1, P = b.layersWithOutsidePointerEventsDisabled.size > 0, _ = M >= x, A = function(e, t = globalThis ? .document) {
                let r = (0, a.useCallbackRef)(e),
                    o = n.useRef(!1),
                    i = n.useRef(() => {});
                return n.useEffect(() => {
                    let e = e => {
                            if (e.target && !o.current) {
                                let n = function() {
                                        m("dismissableLayer.pointerDownOutside", r, o, {
                                            discrete: !0
                                        })
                                    },
                                    o = {
                                        originalEvent: e
                                    };
                                "touch" === e.pointerType ? (t.removeEventListener("click", i.current), i.current = n, t.addEventListener("click", i.current, {
                                    once: !0
                                })) : n()
                            } else t.removeEventListener("click", i.current);
                            o.current = !1
                        },
                        n = window.setTimeout(() => {
                            t.addEventListener("pointerdown", e)
                        }, 0);
                    return () => {
                        window.clearTimeout(n), t.removeEventListener("pointerdown", e), t.removeEventListener("click", i.current)
                    }
                }, [t, r]), {
                    onPointerDownCapture: () => o.current = !0
                }
            }(e => {
                let t = e.target,
                    n = [...b.branches].some(e => e.contains(t));
                _ && !n && (p ? .(e), g ? .(e), e.defaultPrevented || y ? .())
            }, C), k = function(e, t = globalThis ? .document) {
                let r = (0, a.useCallbackRef)(e),
                    o = n.useRef(!1);
                return n.useEffect(() => {
                    let e = e => {
                        e.target && !o.current && m("dismissableLayer.focusOutside", r, {
                            originalEvent: e
                        }, {
                            discrete: !1
                        })
                    };
                    return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e)
                }, [t, r]), {
                    onFocusCapture: () => o.current = !0,
                    onBlurCapture: () => o.current = !1
                }
            }(e => {
                let t = e.target;
                ![...b.branches].some(e => e.contains(t)) && (h ? .(e), g ? .(e), e.defaultPrevented || y ? .())
            }, C);
            return ! function(e, t = globalThis ? .document) {
                let r = (0, a.useCallbackRef)(e);
                n.useEffect(() => {
                    let e = e => {
                        "Escape" === e.key && r(e)
                    };
                    return t.addEventListener("keydown", e, {
                        capture: !0
                    }), () => t.removeEventListener("keydown", e, {
                        capture: !0
                    })
                }, [r, t])
            }(e => {
                M === b.layers.size - 1 && (v ? .(e), !e.defaultPrevented && y && (e.preventDefault(), y()))
            }, C), n.useEffect(() => {
                if (w) return d && (0 === b.layersWithOutsidePointerEventsDisabled.size && (t = C.body.style.pointerEvents, C.body.style.pointerEvents = "none"), b.layersWithOutsidePointerEventsDisabled.add(w)), b.layers.add(w), f(), () => {
                    d && 1 === b.layersWithOutsidePointerEventsDisabled.size && (C.body.style.pointerEvents = t)
                }
            }, [w, C, d, b]), n.useEffect(() => () => {
                w && (b.layers.delete(w), b.layersWithOutsidePointerEventsDisabled.delete(w), f())
            }, [w, b]), n.useEffect(() => {
                let e = () => R({});
                return document.addEventListener(s, e), () => document.removeEventListener(s, e)
            }, []), (0, u.jsx)(o.Primitive.div, { ...E,
                ref: N,
                style: {
                    pointerEvents: P ? _ ? "auto" : "none" : void 0,
                    ...e.style
                },
                onFocusCapture: (0, r.composeEventHandlers)(e.onFocusCapture, k.onFocusCapture),
                onBlurCapture: (0, r.composeEventHandlers)(e.onBlurCapture, k.onBlurCapture),
                onPointerDownCapture: (0, r.composeEventHandlers)(e.onPointerDownCapture, A.onPointerDownCapture)
            })
        });
    l.displayName = "DismissableLayer";
    var d = n.forwardRef((e, t) => {
        let r = n.useContext(c),
            a = n.useRef(null),
            s = (0, i.useComposedRefs)(t, a);
        return n.useEffect(() => {
            let e = a.current;
            if (e) return r.branches.add(e), () => {
                r.branches.delete(e)
            }
        }, [r.branches]), (0, u.jsx)(o.Primitive.div, { ...e,
            ref: s
        })
    });

    function f() {
        let e = new CustomEvent(s);
        document.dispatchEvent(e)
    }

    function m(e, t, n, {
        discrete: r
    }) {
        let i = n.originalEvent.target,
            a = new CustomEvent(e, {
                bubbles: !1,
                cancelable: !0,
                detail: n
            });
        t && i.addEventListener(e, t, {
            once: !0
        }), r ? (0, o.dispatchDiscreteCustomEvent)(i, a) : i.dispatchEvent(a)
    }
    d.displayName = "DismissableLayerBranch", e.s(["Branch", 0, d, "DismissableLayer", 0, l, "Root", 0, l], 538469)
}, 548163, e => {
    "use strict";
    let t;
    var n = e.i(416340),
        r = e.i(78892),
        o = e.i(600317),
        i = e.i(886449),
        a = e.i(221628),
        u = "focusScope.autoFocusOnMount",
        s = "focusScope.autoFocusOnUnmount",
        c = {
            bubbles: !1,
            cancelable: !0
        },
        l = n.forwardRef((e, t) => {
            let {
                loop: l = !1,
                trapped: p = !1,
                onMountAutoFocus: h,
                onUnmountAutoFocus: g,
                ...y
            } = e, [E, b] = n.useState(null), w = (0, i.useCallbackRef)(h), S = (0, i.useCallbackRef)(g), C = n.useRef(null), R = (0, r.useComposedRefs)(t, e => b(e)), N = n.useRef({
                paused: !1,
                pause() {
                    this.paused = !0
                },
                resume() {
                    this.paused = !1
                }
            }).current;
            n.useEffect(() => {
                if (p) {
                    let e = function(e) {
                            if (N.paused || !E) return;
                            let t = e.target;
                            E.contains(t) ? C.current = t : m(C.current, {
                                select: !0
                            })
                        },
                        t = function(e) {
                            if (N.paused || !E) return;
                            let t = e.relatedTarget;
                            null !== t && (E.contains(t) || m(C.current, {
                                select: !0
                            }))
                        };
                    document.addEventListener("focusin", e), document.addEventListener("focusout", t);
                    let n = new MutationObserver(function(e) {
                        if (document.activeElement === document.body)
                            for (let t of e) t.removedNodes.length > 0 && m(E)
                    });
                    return E && n.observe(E, {
                        childList: !0,
                        subtree: !0
                    }), () => {
                        document.removeEventListener("focusin", e), document.removeEventListener("focusout", t), n.disconnect()
                    }
                }
            }, [p, E, N.paused]), n.useEffect(() => {
                if (E) {
                    v.add(N);
                    let e = document.activeElement;
                    if (!E.contains(e)) {
                        let t = new CustomEvent(u, c);
                        E.addEventListener(u, w), E.dispatchEvent(t), t.defaultPrevented || (function(e, {
                            select: t = !1
                        } = {}) {
                            let n = document.activeElement;
                            for (let r of e)
                                if (m(r, {
                                        select: t
                                    }), document.activeElement !== n) return
                        }(d(E).filter(e => "A" !== e.tagName), {
                            select: !0
                        }), document.activeElement === e && m(E))
                    }
                    return () => {
                        E.removeEventListener(u, w), setTimeout(() => {
                            let t = new CustomEvent(s, c);
                            E.addEventListener(s, S), E.dispatchEvent(t), t.defaultPrevented || m(e ? ? document.body, {
                                select: !0
                            }), E.removeEventListener(s, S), v.remove(N)
                        }, 0)
                    }
                }
            }, [E, w, S, N]);
            let L = n.useCallback(e => {
                if (!l && !p || N.paused) return;
                let t = "Tab" === e.key && !e.altKey && !e.ctrlKey && !e.metaKey,
                    n = document.activeElement;
                if (t && n) {
                    var r;
                    let t, o = e.currentTarget,
                        [i, a] = [f(t = d(r = o), r), f(t.reverse(), r)];
                    i && a ? e.shiftKey || n !== a ? e.shiftKey && n === i && (e.preventDefault(), l && m(a, {
                        select: !0
                    })) : (e.preventDefault(), l && m(i, {
                        select: !0
                    })) : n === o && e.preventDefault()
                }
            }, [l, p, N.paused]);
            return (0, a.jsx)(o.Primitive.div, {
                tabIndex: -1,
                ...y,
                ref: R,
                onKeyDown: L
            })
        });

    function d(e) {
        let t = [],
            n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
                acceptNode: e => {
                    let t = "INPUT" === e.tagName && "hidden" === e.type;
                    return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP
                }
            });
        for (; n.nextNode();) t.push(n.currentNode);
        return t
    }

    function f(e, t) {
        for (let n of e)
            if (! function(e, {
                    upTo: t
                }) {
                    if ("hidden" === getComputedStyle(e).visibility) return !0;
                    for (; e && (void 0 === t || e !== t);) {
                        if ("none" === getComputedStyle(e).display) return !0;
                        e = e.parentElement
                    }
                    return !1
                }(n, {
                    upTo: t
                })) return n
    }

    function m(e, {
        select: t = !1
    } = {}) {
        if (e && e.focus) {
            var n;
            let r = document.activeElement;
            e.focus({
                preventScroll: !0
            }), e !== r && (n = e) instanceof HTMLInputElement && "select" in n && t && e.select()
        }
    }
    l.displayName = "FocusScope";
    var v = (t = [], {
        add(e) {
            let n = t[0];
            e !== n && n ? .pause(), (t = p(t, e)).unshift(e)
        },
        remove(e) {
            t = p(t, e), t[0] ? .resume()
        }
    });

    function p(e, t) {
        let n = [...e],
            r = n.indexOf(t);
        return -1 !== r && n.splice(r, 1), n
    }
    e.s(["FocusScope", 0, l])
}, 112466, e => {
    "use strict";
    var t = e.i(416340),
        n = e.i(149285),
        r = e.i(600317),
        o = e.i(723570),
        i = e.i(221628),
        a = t.forwardRef((e, a) => {
            let {
                container: u,
                ...s
            } = e, [c, l] = t.useState(!1);
            (0, o.useLayoutEffect)(() => l(!0), []);
            let d = u || c && globalThis ? .document ? .body;
            return d ? n.default.createPortal((0, i.jsx)(r.Primitive.div, { ...s,
                ref: a
            }), d) : null
        });
    a.displayName = "Portal", e.s(["Portal", 0, a])
}, 169525, e => {
    "use strict";
    var t = e.i(416340),
        n = e.i(78892),
        r = e.i(723570),
        o = e => {
            var o;
            let a, u, {
                    present: s,
                    children: c
                } = e,
                l = function(e) {
                    var n, o;
                    let [a, u] = t.useState(), s = t.useRef(null), c = t.useRef(e), l = t.useRef("none"), [d, f] = (n = e ? "mounted" : "unmounted", o = {
                        mounted: {
                            UNMOUNT: "unmounted",
                            ANIMATION_OUT: "unmountSuspended"
                        },
                        unmountSuspended: {
                            MOUNT: "mounted",
                            ANIMATION_END: "unmounted"
                        },
                        unmounted: {
                            MOUNT: "mounted"
                        }
                    }, t.useReducer((e, t) => o[e][t] ? ? e, n));
                    return t.useEffect(() => {
                        let e = i(s.current);
                        l.current = "mounted" === d ? e : "none"
                    }, [d]), (0, r.useLayoutEffect)(() => {
                        let t = s.current,
                            n = c.current;
                        if (n !== e) {
                            let r = l.current,
                                o = i(t);
                            e ? f("MOUNT") : "none" === o || t ? .display === "none" ? f("UNMOUNT") : n && r !== o ? f("ANIMATION_OUT") : f("UNMOUNT"), c.current = e
                        }
                    }, [e, f]), (0, r.useLayoutEffect)(() => {
                        if (a) {
                            let e, t = a.ownerDocument.defaultView ? ? window,
                                n = n => {
                                    let r = i(s.current).includes(CSS.escape(n.animationName));
                                    if (n.target === a && r && (f("ANIMATION_END"), !c.current)) {
                                        let n = a.style.animationFillMode;
                                        a.style.animationFillMode = "forwards", e = t.setTimeout(() => {
                                            "forwards" === a.style.animationFillMode && (a.style.animationFillMode = n)
                                        })
                                    }
                                },
                                r = e => {
                                    e.target === a && (l.current = i(s.current))
                                };
                            return a.addEventListener("animationstart", r), a.addEventListener("animationcancel", n), a.addEventListener("animationend", n), () => {
                                t.clearTimeout(e), a.removeEventListener("animationstart", r), a.removeEventListener("animationcancel", n), a.removeEventListener("animationend", n)
                            }
                        }
                        f("ANIMATION_END")
                    }, [a, f]), {
                        isPresent: ["mounted", "unmountSuspended"].includes(d),
                        ref: t.useCallback(e => {
                            s.current = e ? getComputedStyle(e) : null, u(e)
                        }, [])
                    }
                }(s),
                d = "function" == typeof c ? c({
                    present: l.isPresent
                }) : t.Children.only(c),
                f = (0, n.useComposedRefs)(l.ref, (o = d, (u = (a = Object.getOwnPropertyDescriptor(o.props, "ref") ? .get) && "isReactWarning" in a && a.isReactWarning) ? o.ref : (u = (a = Object.getOwnPropertyDescriptor(o, "ref") ? .get) && "isReactWarning" in a && a.isReactWarning) ? o.props.ref : o.props.ref || o.ref));
            return "function" == typeof c || l.isPresent ? t.cloneElement(d, {
                ref: f
            }) : null
        };

    function i(e) {
        return e ? .animationName || "none"
    }
    o.displayName = "Presence", e.s(["Presence", 0, o])
}, 203158, e => {
    "use strict";
    var t = e.i(416340),
        n = 0;

    function r() {
        let e = document.createElement("span");
        return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e
    }
    e.s(["useFocusGuards", 0, function() {
        t.useEffect(() => {
            let e = document.querySelectorAll("[data-radix-focus-guard]");
            return document.body.insertAdjacentElement("afterbegin", e[0] ? ? r()), document.body.insertAdjacentElement("beforeend", e[1] ? ? r()), n++, () => {
                1 === n && document.querySelectorAll("[data-radix-focus-guard]").forEach(e => e.remove()), n--
            }
        }, [])
    }])
}, 362420, 951161, 682438, e => {
    "use strict";
    e.s(["fullWidthClassName", 0, "width-before-scroll-bar", "noScrollbarsClassName", 0, "with-scroll-bars-hidden", "removedBarSizeVariable", 0, "--removed-body-scroll-bar-size", "zeroRightClassName", 0, "right-scroll-bar-position"], 362420);
    var t = e.i(416340);

    function n(e, t) {
        return "function" == typeof e ? e(t) : e && (e.current = t), e
    }
    var r = "u" > typeof window ? t.useLayoutEffect : t.useEffect,
        o = new WeakMap;
    e.s(["useMergeRefs", 0, function(e, i) {
        var a, u, s, c = (a = i || null, u = function(t) {
            return e.forEach(function(e) {
                return n(e, t)
            })
        }, (s = (0, t.useState)(function() {
            return {
                value: a,
                callback: u,
                facade: {
                    get current() {
                        return s.value
                    },
                    set current(value) {
                        var e = s.value;
                        e !== value && (s.value = value, s.callback(value, e))
                    }
                }
            }
        })[0]).callback = u, s.facade);
        return r(function() {
            var t = o.get(c);
            if (t) {
                var r = new Set(t),
                    i = new Set(e),
                    a = c.current;
                r.forEach(function(e) {
                    i.has(e) || n(e, null)
                }), i.forEach(function(e) {
                    r.has(e) || n(e, a)
                })
            }
            o.set(c, e)
        }, [e]), c
    }], 951161);
    var i = e.i(274466);

    function a(e) {
        return e
    }
    e.s(["createSidecarMedium", 0, function(e) {
        void 0 === e && (e = {});
        var t, n, r, o = (void 0 === t && (t = a), n = [], r = !1, {
            read: function() {
                if (r) throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
                return n.length ? n[n.length - 1] : null
            },
            useMedium: function(e) {
                var o = t(e, r);
                return n.push(o),
                    function() {
                        n = n.filter(function(e) {
                            return e !== o
                        })
                    }
            },
            assignSyncMedium: function(e) {
                for (r = !0; n.length;) {
                    var t = n;
                    n = [], t.forEach(e)
                }
                n = {
                    push: function(t) {
                        return e(t)
                    },
                    filter: function() {
                        return n
                    }
                }
            },
            assignMedium: function(e) {
                r = !0;
                var t = [];
                if (n.length) {
                    var o = n;
                    n = [], o.forEach(e), t = n
                }
                var i = function() {
                        var n = t;
                        t = [], n.forEach(e)
                    },
                    a = function() {
                        return Promise.resolve().then(i)
                    };
                a(), n = {
                    push: function(e) {
                        t.push(e), a()
                    },
                    filter: function(e) {
                        return t = t.filter(e), n
                    }
                }
            }
        });
        return o.options = (0, i.__assign)({
            async: !0,
            ssr: !1
        }, e), o
    }], 682438)
}, 911116, 928801, e => {
    "use strict";
    var t = e.i(274466),
        n = e.i(416340),
        r = e.i(362420),
        o = e.i(951161),
        i = (0, e.i(682438).createSidecarMedium)();
    e.s(["effectCar", 0, i], 928801);
    var a = function() {},
        u = n.forwardRef(function(e, r) {
            var u = n.useRef(null),
                s = n.useState({
                    onScrollCapture: a,
                    onWheelCapture: a,
                    onTouchMoveCapture: a
                }),
                c = s[0],
                l = s[1],
                d = e.forwardProps,
                f = e.children,
                m = e.className,
                v = e.removeScrollBar,
                p = e.enabled,
                h = e.shards,
                g = e.sideCar,
                y = e.noRelative,
                E = e.noIsolation,
                b = e.inert,
                w = e.allowPinchZoom,
                S = e.as,
                C = e.gapMode,
                R = (0, t.__rest)(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]),
                N = (0, o.useMergeRefs)([u, r]),
                L = (0, t.__assign)((0, t.__assign)({}, R), c);
            return n.createElement(n.Fragment, null, p && n.createElement(g, {
                sideCar: i,
                removeScrollBar: v,
                shards: h,
                noRelative: y,
                noIsolation: E,
                inert: b,
                setCallbacks: l,
                allowPinchZoom: !!w,
                lockRef: u,
                gapMode: C
            }), d ? n.cloneElement(n.Children.only(f), (0, t.__assign)((0, t.__assign)({}, L), {
                ref: N
            })) : n.createElement(void 0 === S ? "div" : S, (0, t.__assign)({}, L, {
                className: m,
                ref: N
            }), f))
        });
    u.defaultProps = {
        enabled: !0,
        removeScrollBar: !0,
        inert: !1
    }, u.classNames = {
        fullWidth: r.fullWidthClassName,
        zeroRight: r.zeroRightClassName
    }, e.s(["RemoveScroll", 0, u], 911116)
}, 941226, 178655, 278641, 609051, 796657, e => {
    "use strict";
    var t, n = e.i(274466),
        r = e.i(416340),
        o = function(e) {
            var t = e.sideCar,
                o = (0, n.__rest)(e, ["sideCar"]);
            if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
            var i = t.read();
            if (!i) throw Error("Sidecar medium not found");
            return r.createElement(i, (0, n.__assign)({}, o))
        };
    o.isSideCarExport = !0, e.s(["exportSidecar", 0, function(e, t) {
        return e.useMedium(t), o
    }], 941226);
    var i = function() {
            var e = 0,
                n = null;
            return {
                add: function(r) {
                    if (0 == e && (n = function() {
                            if (!document) return null;
                            var e = document.createElement("style");
                            e.type = "text/css";
                            var n = t || ("u" > typeof __webpack_nonce__ ? __webpack_nonce__ : void 0);
                            return n && e.setAttribute("nonce", n), e
                        }())) {
                        var o, i;
                        (o = n).styleSheet ? o.styleSheet.cssText = r : o.appendChild(document.createTextNode(r)), i = n, (document.head || document.getElementsByTagName("head")[0]).appendChild(i)
                    }
                    e++
                },
                remove: function() {
                    --e || !n || (n.parentNode && n.parentNode.removeChild(n), n = null)
                }
            }
        },
        a = function() {
            var e = i();
            return function(t, n) {
                r.useEffect(function() {
                    return e.add(t),
                        function() {
                            e.remove()
                        }
                }, [t && n])
            }
        },
        u = function() {
            var e = a();
            return function(t) {
                return e(t.styles, t.dynamic), null
            }
        };
    e.s(["styleSingleton", 0, u], 178655), e.s([], 278641);
    var s = e.i(362420),
        c = {
            left: 0,
            top: 0,
            right: 0,
            gap: 0
        },
        l = function(e) {
            return parseInt(e || "", 10) || 0
        },
        d = function(e) {
            var t = window.getComputedStyle(document.body),
                n = t["padding" === e ? "paddingLeft" : "marginLeft"],
                r = t["padding" === e ? "paddingTop" : "marginTop"],
                o = t["padding" === e ? "paddingRight" : "marginRight"];
            return [l(n), l(r), l(o)]
        },
        f = function(e) {
            if (void 0 === e && (e = "margin"), "u" < typeof window) return c;
            var t = d(e),
                n = document.documentElement.clientWidth,
                r = window.innerWidth;
            return {
                left: t[0],
                top: t[1],
                right: t[2],
                gap: Math.max(0, r - n + t[2] - t[0])
            }
        },
        m = u(),
        v = "data-scroll-locked",
        p = function(e, t, n, r) {
            var o = e.left,
                i = e.top,
                a = e.right,
                u = e.gap;
            return void 0 === n && (n = "margin"), "\n  .".concat(s.noScrollbarsClassName, " {\n   overflow: hidden ").concat(r, ";\n   padding-right: ").concat(u, "px ").concat(r, ";\n  }\n  body[").concat(v, "] {\n    overflow: hidden ").concat(r, ";\n    overscroll-behavior: contain;\n    ").concat([t && "position: relative ".concat(r, ";"), "margin" === n && "\n    padding-left: ".concat(o, "px;\n    padding-top: ").concat(i, "px;\n    padding-right: ").concat(a, "px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u, "px ").concat(r, ";\n    "), "padding" === n && "padding-right: ".concat(u, "px ").concat(r, ";")].filter(Boolean).join(""), "\n  }\n  \n  .").concat(s.zeroRightClassName, " {\n    right: ").concat(u, "px ").concat(r, ";\n  }\n  \n  .").concat(s.fullWidthClassName, " {\n    margin-right: ").concat(u, "px ").concat(r, ";\n  }\n  \n  .").concat(s.zeroRightClassName, " .").concat(s.zeroRightClassName, " {\n    right: 0 ").concat(r, ";\n  }\n  \n  .").concat(s.fullWidthClassName, " .").concat(s.fullWidthClassName, " {\n    margin-right: 0 ").concat(r, ";\n  }\n  \n  body[").concat(v, "] {\n    ").concat(s.removedBarSizeVariable, ": ").concat(u, "px;\n  }\n")
        },
        h = function() {
            var e = parseInt(document.body.getAttribute(v) || "0", 10);
            return isFinite(e) ? e : 0
        },
        g = function() {
            r.useEffect(function() {
                return document.body.setAttribute(v, (h() + 1).toString()),
                    function() {
                        var e = h() - 1;
                        e <= 0 ? document.body.removeAttribute(v) : document.body.setAttribute(v, e.toString())
                    }
            }, [])
        };
    e.s(["RemoveScrollBar", 0, function(e) {
        var t = e.noRelative,
            n = e.noImportant,
            o = e.gapMode,
            i = void 0 === o ? "margin" : o;
        g();
        var a = r.useMemo(function() {
            return f(i)
        }, [i]);
        return r.createElement(m, {
            styles: p(a, !t, i, n ? "" : "!important")
        })
    }], 609051), e.s([], 796657)
}, 235663, e => {
    "use strict";
    var t = e.i(274466),
        n = e.i(416340),
        r = e.i(911116),
        o = e.i(941226);
    e.i(796657);
    var i = e.i(609051);
    e.i(278641);
    var a = e.i(178655),
        u = !1;
    if ("u" > typeof window) try {
        var s = Object.defineProperty({}, "passive", {
            get: function() {
                return u = !0, !0
            }
        });
        window.addEventListener("test", s, s), window.removeEventListener("test", s, s)
    } catch (e) {
        u = !1
    }
    var c = !!u && {
            passive: !1
        },
        l = function(e, t) {
            if (!(e instanceof Element)) return !1;
            var n = window.getComputedStyle(e);
            return "hidden" !== n[t] && (n.overflowY !== n.overflowX || "TEXTAREA" === e.tagName || "visible" !== n[t])
        },
        d = function(e, t) {
            var n = t.ownerDocument,
                r = t;
            do {
                if ("u" > typeof ShadowRoot && r instanceof ShadowRoot && (r = r.host), f(e, r)) {
                    var o = m(e, r);
                    if (o[1] > o[2]) return !0
                }
                r = r.parentNode
            } while (r && r !== n.body) return !1
        },
        f = function(e, t) {
            return "v" === e ? l(t, "overflowY") : l(t, "overflowX")
        },
        m = function(e, t) {
            return "v" === e ? [t.scrollTop, t.scrollHeight, t.clientHeight] : [t.scrollLeft, t.scrollWidth, t.clientWidth]
        },
        v = function(e, t, n, r, o) {
            var i, a = (i = window.getComputedStyle(t).direction, "h" === e && "rtl" === i ? -1 : 1),
                u = a * r,
                s = n.target,
                c = t.contains(s),
                l = !1,
                d = u > 0,
                v = 0,
                p = 0;
            do {
                if (!s) break;
                var h = m(e, s),
                    g = h[0],
                    y = h[1] - h[2] - a * g;
                (g || y) && f(e, s) && (v += y, p += g);
                var E = s.parentNode;
                s = E && E.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? E.host : E
            } while (!c && s !== document.body || c && (t.contains(s) || t === s)) return d && (o && 1 > Math.abs(v) || !o && u > v) ? l = !0 : !d && (o && 1 > Math.abs(p) || !o && -u > p) && (l = !0), l
        },
        p = function(e) {
            return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0]
        },
        h = function(e) {
            return [e.deltaX, e.deltaY]
        },
        g = function(e) {
            return e && "current" in e ? e.current : e
        },
        y = 0,
        E = [],
        b = e.i(928801);
    let w = (0, o.exportSidecar)(b.effectCar, function(e) {
        var r = n.useRef([]),
            o = n.useRef([0, 0]),
            u = n.useRef(),
            s = n.useState(y++)[0],
            l = n.useState(a.styleSingleton)[0],
            f = n.useRef(e);
        n.useEffect(function() {
            f.current = e
        }, [e]), n.useEffect(function() {
            if (e.inert) {
                document.body.classList.add("block-interactivity-".concat(s));
                var n = (0, t.__spreadArray)([e.lockRef.current], (e.shards || []).map(g), !0).filter(Boolean);
                return n.forEach(function(e) {
                        return e.classList.add("allow-interactivity-".concat(s))
                    }),
                    function() {
                        document.body.classList.remove("block-interactivity-".concat(s)), n.forEach(function(e) {
                            return e.classList.remove("allow-interactivity-".concat(s))
                        })
                    }
            }
        }, [e.inert, e.lockRef.current, e.shards]);
        var m = n.useCallback(function(e, t) {
                if ("touches" in e && 2 === e.touches.length || "wheel" === e.type && e.ctrlKey) return !f.current.allowPinchZoom;
                var n, r = p(e),
                    i = o.current,
                    a = "deltaX" in e ? e.deltaX : i[0] - r[0],
                    s = "deltaY" in e ? e.deltaY : i[1] - r[1],
                    c = e.target,
                    l = Math.abs(a) > Math.abs(s) ? "h" : "v";
                if ("touches" in e && "h" === l && "range" === c.type) return !1;
                var m = d(l, c);
                if (!m) return !0;
                if (m ? n = l : (n = "v" === l ? "h" : "v", m = d(l, c)), !m) return !1;
                if (!u.current && "changedTouches" in e && (a || s) && (u.current = n), !n) return !0;
                var h = u.current || n;
                return v(h, t, e, "h" === h ? a : s, !0)
            }, []),
            b = n.useCallback(function(e) {
                if (E.length && E[E.length - 1] === l) {
                    var t = "deltaY" in e ? h(e) : p(e),
                        n = r.current.filter(function(n) {
                            var r;
                            return n.name === e.type && (n.target === e.target || e.target === n.shadowParent) && (r = n.delta, r[0] === t[0] && r[1] === t[1])
                        })[0];
                    if (n && n.should) {
                        e.cancelable && e.preventDefault();
                        return
                    }
                    if (!n) {
                        var o = (f.current.shards || []).map(g).filter(Boolean).filter(function(t) {
                            return t.contains(e.target)
                        });
                        (o.length > 0 ? m(e, o[0]) : !f.current.noIsolation) && e.cancelable && e.preventDefault()
                    }
                }
            }, []),
            w = n.useCallback(function(e, t, n, o) {
                var i = {
                    name: e,
                    delta: t,
                    target: n,
                    should: o,
                    shadowParent: function(e) {
                        for (var t = null; null !== e;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
                        return t
                    }(n)
                };
                r.current.push(i), setTimeout(function() {
                    r.current = r.current.filter(function(e) {
                        return e !== i
                    })
                }, 1)
            }, []),
            S = n.useCallback(function(e) {
                o.current = p(e), u.current = void 0
            }, []),
            C = n.useCallback(function(t) {
                w(t.type, h(t), t.target, m(t, e.lockRef.current))
            }, []),
            R = n.useCallback(function(t) {
                w(t.type, p(t), t.target, m(t, e.lockRef.current))
            }, []);
        n.useEffect(function() {
            return E.push(l), e.setCallbacks({
                    onScrollCapture: C,
                    onWheelCapture: C,
                    onTouchMoveCapture: R
                }), document.addEventListener("wheel", b, c), document.addEventListener("touchmove", b, c), document.addEventListener("touchstart", S, c),
                function() {
                    E = E.filter(function(e) {
                        return e !== l
                    }), document.removeEventListener("wheel", b, c), document.removeEventListener("touchmove", b, c), document.removeEventListener("touchstart", S, c)
                }
        }, []);
        var N = e.removeScrollBar,
            L = e.inert;
        return n.createElement(n.Fragment, null, L ? n.createElement(l, {
            styles: "\n  .block-interactivity-".concat(s, " {pointer-events: none;}\n  .allow-interactivity-").concat(s, " {pointer-events: all;}\n")
        }) : null, N ? n.createElement(i.RemoveScrollBar, {
            noRelative: e.noRelative,
            gapMode: e.gapMode
        }) : null)
    });
    var S = n.forwardRef(function(e, o) {
        return n.createElement(r.RemoveScroll, (0, t.__assign)({}, e, {
            ref: o,
            sideCar: w
        }))
    });
    S.classNames = r.RemoveScroll.classNames, e.s(["RemoveScroll", 0, S], 235663)
}, 3300, e => {
    "use strict";
    var t = new WeakMap,
        n = new WeakMap,
        r = {},
        o = 0,
        i = function(e) {
            return e && (e.host || i(e.parentNode))
        },
        a = function(e, a, u, s) {
            var c = (Array.isArray(e) ? e : [e]).map(function(e) {
                if (a.contains(e)) return e;
                var t = i(e);
                return t && a.contains(t) ? t : (console.error("aria-hidden", e, "in not contained inside", a, ". Doing nothing"), null)
            }).filter(function(e) {
                return !!e
            });
            r[u] || (r[u] = new WeakMap);
            var l = r[u],
                d = [],
                f = new Set,
                m = new Set(c),
                v = function(e) {
                    !e || f.has(e) || (f.add(e), v(e.parentNode))
                };
            c.forEach(v);
            var p = function(e) {
                !e || m.has(e) || Array.prototype.forEach.call(e.children, function(e) {
                    if (f.has(e)) p(e);
                    else try {
                        var r = e.getAttribute(s),
                            o = null !== r && "false" !== r,
                            i = (t.get(e) || 0) + 1,
                            a = (l.get(e) || 0) + 1;
                        t.set(e, i), l.set(e, a), d.push(e), 1 === i && o && n.set(e, !0), 1 === a && e.setAttribute(u, "true"), o || e.setAttribute(s, "true")
                    } catch (t) {
                        console.error("aria-hidden: cannot operate on ", e, t)
                    }
                })
            };
            return p(a), f.clear(), o++,
                function() {
                    d.forEach(function(e) {
                        var r = t.get(e) - 1,
                            o = l.get(e) - 1;
                        t.set(e, r), l.set(e, o), r || (n.has(e) || e.removeAttribute(s), n.delete(e)), o || e.removeAttribute(u)
                    }), --o || (t = new WeakMap, t = new WeakMap, n = new WeakMap, r = {})
                }
        };
    e.s(["hideOthers", 0, function(e, t, n) {
        void 0 === n && (n = "data-aria-hidden");
        var r = Array.from(Array.isArray(e) ? e : [e]),
            o = t || ("u" < typeof document ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body);
        return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), a(r, o, n, "aria-hidden")) : function() {
            return null
        }
    }])
}, 692166, e => {
    "use strict";
    var t = e.i(416340),
        n = e.i(723570);
    e.s(["useSize", 0, function(e) {
        let [r, o] = t.useState(void 0);
        return (0, n.useLayoutEffect)(() => {
            if (e) {
                o({
                    width: e.offsetWidth,
                    height: e.offsetHeight
                });
                let t = new ResizeObserver(t => {
                    let n, r;
                    if (!Array.isArray(t) || !t.length) return;
                    let i = t[0];
                    if ("borderBoxSize" in i) {
                        let e = i.borderBoxSize,
                            t = Array.isArray(e) ? e[0] : e;
                        n = t.inlineSize, r = t.blockSize
                    } else n = e.offsetWidth, r = e.offsetHeight;
                    o({
                        width: n,
                        height: r
                    })
                });
                return t.observe(e, {
                    box: "border-box"
                }), () => t.unobserve(e)
            }
            o(void 0)
        }, [e]), r
    }])
}]);

//# debugId=297aaa91-ec90-cc4e-4fe2-ba47c8f3c032